* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/*
 * -- BASE STYLES --
 * Most of these are inherited from Base, but I want to change a few.
 */
body {
    line-height: 1.7em;
    color: #424d4e;
    font-size: 13px;
}

h1,
h2,
h3,
h4,
h5,
h6,
label {
    color: #34495e;
}

.pure-form legend {
    color: #424d4e !important;
}

.pure-img-responsive {
    max-width: 100%;
    height: auto;
}

/*
 * -- LAYOUT STYLES --
 * These are some useful classes which I will need
 */
.l-box {
    padding: 1em;
}

.l-box-lrg {
    padding: 2em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.is-center {
    text-align: center;
}

.center {
    justify-content: center;
}

/*
 * -- PURE FORM STYLES --
 * Style the form inputs and labels
 */
.pure-form label {
    margin: 1em 0 0;
    font-weight: bold;
    font-size: 100%;
}

/*
 * -- PURE BUTTON STYLES --
 * I want my pure-button elements to look a little different
 */
.pure-button {
    /*color: white;*/
    padding: 0.5em 2em;
    border-radius: 5px;
}

a.pure-button-primary {
    background: white;
    color: #1f8dd6;
    border-radius: 5px;
    font-size: 120%;
}

/*
 * -- MENU STYLES --
 * I want to customize how my .pure-menu looks at the top of the page
 */

.home-menu {
    padding: 0.5em;
    text-align: left;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.10);
}

.home-menu {
    /*background: #2d3e50;*/
    background: #292929;
}

.home-menu-logo {
    float: left;
    display: none;
}

img.home-menu-logo {
    height: 34px;
    padding-top: 8px;
}

img.home-menu-xmas-tree {
    height: 30px;
    padding-top: 8px;
    padding-left: 8px;
}

.home-menu-contacts {
    float: right;
    font-weight: 600;
}

/* .home-menu-contacts .fa-phone { */
    /* font-size: 12px; */
/* } */
/*  */
/* .home-menu-contacts .fa-whatsapp { */
    /* font-size: 15px; */
/* } */

.fa-solid {
    font-size: 0.9em;
}

.fa-brands {
    font-size: 1.1em;
}


.home-menu-user-request {
    float: right;
    margin: 8px;
}

.pure-menu.pure-menu-fixed {
    /* Fixed menus normally have a border at the bottom. */
    border-bottom: none;
    /* I need a higher z-index here because of the scroll-over effect. */
    z-index: 4;
}

.home-menu .pure-menu-heading {
    color: white;
}

.home-menu .pure-menu-heading span {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    -webkit-transform-origin: left center;
    -ms-transform-origin: left center;
    transform-origin: left center;
    /*background: #2D3845;*/
    background: white;
    margin: 8px 0 7px;
    display: block;
    height: 1px;
    width: 100%;
}

.home-menu .pure-menu-selected a {
    color: white;
}

.home-menu a {
    color: white;
    text-decoration: none;
}

.home-menu .pure-button-primary {
    color: red;
}

.home-menu li a:hover,
.home-menu li a:focus {
    background: none;
    border: none;
    color: #AECFE5;
}

.splash-container {
    background: url("images/splash.png") no-repeat;
    background-size: cover;
    z-index: 1;
    overflow: hidden;
    width: 100%;
    height: 380px;
    padding-top: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.splash-logo {
    padding: 2em 2em;
    border: 3px solid white;
    max-width: 75%;
}

.content-wrapper {
    /* These styles are required for the "scroll-over" effect */
    width: 100%;
    background: white;
}

.content {
    padding: 1em 1em 3em;
}

.content a {
    color: #7f522d;
}

.content-head {
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 2em 0 1em;
    line-height: 1.2;
}

.content-subhead {
    color: #1f8dd6;
}

.content-subhead i {
    margin-right: 7px;
}

.contact-sales ul {
    list-style-type:none;
    margin: 0;
    padding: 0;
}

.contact-sales ul a {
    text-decoration: none;
}

.contact-sales li img {
    width: 1em;
    height: 1em;
    vertical-align: middle;
}

.content ul.contacts .fa-solid {
    color: black;
}

.fa-whatsapp {
    color: #25D366;
}

.fa-telegram {
    color: #24A1DE;
}

.icon-max {
    width: 16px;
    height: 16px;
    margin-bottom: -3px;
}

.home-menu-contacts .fa-telegram {
    color: white;
}

.home-menu-contacts .fa-whatsapp {
    color: white;
}

.footer {
    color: #cecece;
    background: #292929;
    width: 100%;
    padding: 2em 5em;
}

.footer .sales {
    font-size: 1.3em;
    margin: 0;
}

.footer ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.footer a {
    color: #cecece;
    text-decoration: none;
}

.footer .sales img {
    width: 18px;
    height: 18px;
}

.footer .user-request-button {
    margin-top: 1em;
}

/*
 * Modal
 */

.modal {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: 48px;
    right: 0;
    bottom: 0;
    left: 0;
    text-align: left;
    background: rgba(0,0,0, .9);
    transition: opacity .25s ease;
}

.modal-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    cursor: pointer;
}

.modal-state {
    display: none;
}

.modal-state:checked + .modal {
    opacity: 1;
    visibility: visible;
}

.modal-state:checked + .modal .modal-inner {
    top: 60px;
}

.modal-inner {
    transition: top .25s ease;
    position: relative;
    top: -100%;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    overflow: auto;
    background: #fff;
    border-radius: 5px;
    padding: 1em 1.5em;
    width: 90%;
    /*height: 425px;*/
    min-height: 300px !important;
    max-height: 700px !important;
}

.modal-inner-dialog {
    min-height: 150px !important;
}

.modal-close {
    position: absolute;
    right: 1em;
    top: 1em;
    width: 1.1em;
    height: 1.1em;
    cursor: pointer;
}

.modal-close:after,
.modal-close:before {
    content: '';
    position: absolute;
    width: 2px;
    height: 1.5em;
    background: #ccc;
    display: block;
    transform: rotate(45deg);
    left: 50%;
    margin: -3px 0 0 -1px;
    top: 0;
}

.modal-close:hover:after,
.modal-close:hover:before {
    background: #aaa;
}

.modal-close:before {
    transform: rotate(-45deg);
}

.modal-error {
    color: #c41212;
}

.modal h2 {
    margin: 0 0 0.5em 0;
}

.modal-error h2 {
    color: #c41212;
}

.modal .pure-form label {
    margin: 0;
}

.modal-user-agreement {
    font-size: 0.75em;
    line-height: initial;
    margin-top: 10px;
}

/*
 * Menu
 */

.home-menu-hamburger {
    float: left;
    -webkit-user-select: none;
    user-select: none;
    margin: 8px;
}

.home-menu-hamburger input
{
    display: block;
    width: 32px;
    height: 24px;
    position: absolute;

    cursor: pointer;

    opacity: 0; /* hide this */
    z-index: 2; /* and place it over the hamburger */

    -webkit-touch-callout: none;
}

.home-menu-hamburger span
{
    display: block;
    width: 32px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;

    /*background: #cdcdcd;*/
    background: #dedede;
    border-radius: 3px;

    z-index: 1;
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
        background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
        opacity 0.55s ease;
}

.home-menu-hamburger input:checked ~ span
{
    opacity: 1;
    transform: rotate(45deg) translate(-2px, -1px);
    transform-origin: 21px 2px;
}

.home-menu-hamburger input:checked ~ span:nth-child(2)
{
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
    transform-origin: 21px 2px;
}

.home-menu-hamburger input:checked ~ span:nth-child(3)
{
    transform: rotate(-45deg) translate(0, -1px);
}

.home-menu-hamburger a
{
    text-decoration: none;
    color: #232323;
    transition: color 0.3s ease;
}

.home-menu-hamburger a:hover
{
    color: tomato;
}

.menu
{
    position: fixed;
    top: 57px;
    /*margin: 1.23em 0 0 -2em;*/
    /*padding: 25px;*/
    /*width: 300px;*/
    height: 100%;

    background: #ededed;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;

    transform-origin: 0 0;
    transform: translate(-100%, 0);

    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu.active
{
    transform: none;
}

.menu li
{
    padding: 10px 0;
    font-size: 22px;
}

/*
 * -- TABLET (AND UP) MEDIA QUERIES --
 * On tablets and other medium-sized devices, we want to customize some
 * of the mobile styles.
 */
@media (min-width: 48em) {
    body {
        font-size: 1em;
    }

    .menu {
        top: 70px;
    }

    .home-menu-logo {
        padding-top: 7px;
        display: block;
    }

    .splash-logo {
        max-width: 60%;
    }

    .modal .pure-form label {
        margin: 1em 0 0;
    }

    .modal-inner {
        width: 550px;
        /*height: 515px;*/
        box-sizing: border-box;
    }

    .home-menu-hamburger {
        margin: 16px 16px 0 16px;
    }

    .l-md-padding-left {
        padding-left: 2em;
    }

    .icon-max {
        width: 20px;
        height: 20px;
        margin-bottom: -3px;
    }

    .footer .sales img {
        width: 22px;
        height: 22px;
    }
}
