html, body {
    height: 100%;
}
body {
    font-family: 'almoni', Arial, sans-serif;
    direction:rtl;
}

/* --------------------------------  CONTENT  -------------------------------- */
#page {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0 auto;
}
#main {
    position: absolute;
    top: 0;
    right: 0;
    width: 73%;
    height: 100%;
}

#main #bgs * {
    position: absolute;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
#main #bgs #bg1 {
    background-image: url('../images/bg-desktop-1.jpg');
}
#main #bgs #bg2 {
    background-image:url('../images/bg-desktop-2.png');
}

#main h1,
#main h2,
#main h3,
#main h4 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}
#main #title1-desktop {
    /*max-width: 100%;*/
    position: absolute;
    top: 5vh;
    left: 3vw;
    height: 38vw;
}

#main #title1-mobile,
#main #details-mobile,
#main #show_ctc{
    display: none;
}
#sidebar {
    position: absolute;
    top: 0;
    left: 0;
    background: #000000;
    width: 27.5%;
    height: 100%;
    z-index: 1;
    color: #ffffff;
}

#sidebar form {
    position: absolute;
    top: 13%;
    right: 9.5%;
    width: 81%;
}

#sidebar form legend {
    font-weight: 400;
    font-size: 2vw;
    margin: 0;
    text-align: center;
    line-height: 1.6vw;
    font-style: italic;
}
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
        color: #717171;
    opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
        color: #717171;
}

::-ms-input-placeholder { /* Microsoft Edge */
        color: #717171;
}
#sidebar form input[type="text"],
#sidebar form input[type="email"],
#sidebar form input[type="tel"],
#sidebar form select {
    font-family: 'almoni', Arial, sans-serif;
    width: calc(100% - 2vw);
    height: 7vh;
    margin-top: 2vh;
    background-color: transparent;
    background-image:url('../images/input-bg.png');
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 100% 100%;
    padding: 0 1vw;
    border: 0;
    color: #717171;
    font-weight: 900;
    font-size: 2.2vw;
}
#sidebar form select {
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image:url('../images/select-bg.png');
}
#sidebar form input[type="submit"] {
    font-family: 'almoni', Arial, sans-serif;
    background-color: transparent;
    background-image:url('../images/submit-bg.png');
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 100% 100%;
    width: calc(100%);
    height: 7vh;
    line-height: 7vh;
    text-align: center;
    font-size: 1.8vw;
    margin-top: 2vh;
    font-style: italic;
    cursor: pointer;
    border: 0;
    color: #fff;
    font-weight: 900;
}
#sidebar form .chk {
    margin-top: 1vw;
    font-size: 1.1vw;
}
#sidebar #client-logo {
    position: absolute;
    bottom: 60px;
    right: 2vw;
    font-size: 1vw;
    width: 35%;
}
#sidebar #client-logo-2 {
    position: absolute;
    bottom: 60px;
    left: 2vw;
    font-size: 1vw;
    width: 35%;
}
#footer {
    position: absolute;
    top: 45.5vw;
    right: 0;
    width: 100%;
    z-index: 1;
    color: #000000;
}
#footer #disclaimer {
    font-size: 3vw;
    padding: 0.5vw 1vw 0.8vw 0;
    font-weight: 100;
}
#footer #zihum {
    margin-right: 1vw;
    margin-bottom: 2vw;
    width: 25vw;
    margin-top: 2vw;
}

#preloader {
    width: 15vw;
    height: 15vw;
    position: absolute;
    top: 20vw;
    left: 0vw;
    color: #fff;
    font-weight: 600;
    font-size: 2.3vw;
    opacity: 0;
    display: none;
    z-index: 11;
}
#preloader img {
    width: 3vw;
    height: 3vw;
    position: absolute;
    top: 0vw;
    right: -4vw;
}


body.sending #preloader {
    display: block;
    opacity: 1;
}
body.sending form {
    display: none;
}

.thanks #sidebar h4 {
    position: absolute;
    color: #fff;
    text-align: center;
    top: 14vw;
    right: 1vw;
    font-size: 4vw;
    line-height: 3.4vw;
    width: 26vw;
}

.ketchup-error {
    position: absolute;
    z-index: 5;
}
.ketchup-error ul {
    margin: 0;
    font-size: 14px;
    text-align: right;
    color: #ffffff;
    background: rgba(255, 0, 0, 0.6);
    padding: 5px;
    -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px;
    list-style: none;
    line-height: 16px;
}
.ketchup-error span {
    display: block;
    width: 0;
    height: 0;
    border-right: 0 solid transparent;
    border-left: 15px solid transparent;
    border-top: 10px solid red;
    border-top: 10px solid rgba(255, 0, 0, 0.6);
    border-bottom: 0;
    margin-left: 10px;
    left: 10px;
    position: absolute;
}


@media screen and (max-width: 640px) {
    /* --------------------------------  CONTENT  -------------------------------- */
    html, body {
        height: auto;
    }
    #page {
        width: 100%;
        height: auto;
        position: relative;
        margin: 0 auto;
    }
    #main {
        position: static;
        width: 100%;
        height: 119vw;
    }
    #main #bgs * {
        width: 100%;
        height: 119vw;
    }
    #main #bgs #bg1 {
        background-image: url('../images/bg-mobile-1.jpg');
    }
    #main #bgs #bg2 {
        background-image:url('../images/bg-mobile-2.png');
    }

    #main #title1-desktop {
        display: none;
    }

    #main #title1-mobile {
        display: block;
        width: 100vw;
        top: 1vw;
        position: absolute;
    }
    #main #details-mobile {
        display: block;
        width: 30vw;
        top: 42vw;
        position: absolute;
    }
    #main #details-mobile img {
        max-width: 100%;
    }
    #main #show_ctc {
        display: block;
        width: 25vw;
        top: 35vw;
        left: 0;
        position: absolute;
    }
    #main #show_ctc img {
        max-width: 100%;
    }


    #sidebar {
        position: static;
        width: 100%;
        top: 102vw;
        height: auto;
    }
    #sidebar form {
        position: static;
        padding-top: 2%;
        padding-bottom: 105px;
        margin: 0 9.5%;
    }
    #sidebar form legend {
        font-size: 7.3vw;
        margin: auto;
        line-height: 6.5vw;
        width: 100%;
    }

    #sidebar form legend br {
        /* display: none; */
    }
    #sidebar form input[type="text"],
    #sidebar form input[type="email"],
    #sidebar form input[type="tel"],
    #sidebar form select {
        width: calc(100% - 10vw);
        height: 32px;
        margin-top: 15px;
        padding: 0 5vw;
        font-size: 25px;
    }
    #sidebar form select {
        width: 100%;
    }
    #sidebar form input[type="submit"] {
        height: 32px;
        line-height: 32px;
        font-size: 25px;
        margin-top: 15px;
    }
    #sidebar form .chk {
         margin-top: 15px;
         font-size: 3.5vw;
     }
    #sidebar #disclaimer {
        right: 3vw;
        font-size: 3.5vw;
    }
    #sidebar #client-logo {
        right: 3vw;
        bottom: 10px;
    }
    #sidebar #client-logo-2 {
        left: 3vw;
        bottom: 10px;
    }
    #preloader {
        position: static;
        width: 100%;
        height: auto;
        font-size: 10vw;
        margin-right: 6vw;
        padding-bottom: 100px;
        padding-top: 100px;
    }

    .thanks #details-mobile {
        display: none!important;
    }

    .thanks #sidebar h4 {
        position: static;
        font-size: 10vw;
        line-height: 8vw;
        width: 80vw;
        margin-right: 10vw;
        padding-bottom: 150px;
        padding-top: 100px;
    }

    #footer {
        width: calc(100% - 10px);
        height: 45px;
        padding-right: 10px;
        position: static!important;
        display: flex;
        flex-direction: column;
    }

    #footer *{
        font-size: 5.5vw!important;
        display: block;
        width: 85vw;
        position: static!important;
    }

    #footer #disclaimer {
        color: #000;
        margin: auto;
        order: 2;
        text-align: center;
    }
    #footer #zihum {
        width: 90%;
        margin-top: 6vw;
        margin-bottom: 6vw;
        order: 1;
        align-self: center;
    }
    .brMobile {
        display: none;
    }
}