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: 76.094%;
    height: calc(100% - 0vw);
    /* background-image: url('../images/bg-desktop.png'); */
    /* background-repeat: no-repeat; */
    /* background-position: left top; */
    /* background-size: cover; */
}

#main #models {
    max-width: 100%;
    width: 99.5%;
    bottom: -10.8vw;
    right: 0%;
    position: absolute;
    display: none;
}
#main h1 {
    position: absolute;
    top: 3vw;
    right: 4vw;
    font-size: 6.5vw;
    line-height: 4.5vw;
    font-weight: 900;
    color: #ffffff;
    text-align: center;
    text-shadow: 2px 2px 5px rgba(0,0,0, 0.9);
}

#main .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

#main h2 {
    position: absolute;
    top: 29vw;
    right: 4.8vw;
    font-size: 2.9vw;
    line-height: 2.6vw;
    font-weight: 400;
    color: #FFFFFF;
    text-align: right;
    font-style: italic;
    text-shadow: 1px 1px 2px rgb(0 0 0 / 60%);
}

#main h3 {
    position: absolute;
    top: 17vw;
    right: 4vw;
    font-size: 3.8vw;
    line-height: 3.2vw;
    font-weight: 400;
    color: #FFFFFF;
    text-align: center;
    font-style: italic;
    text-shadow: 2px 2px 5px rgba(0,0,0, 0.9);
}

#main h4 {
    position: absolute;
    top: 19vw;
    right: 2.8vw;
    text-align: center;
    font-size: 2.4vw;
    font-style: italic;
    color: #000;
}
#main h4 b {
    font-weight: 600;
}

#main #details-mobile,
#main #models-slick,
#main #show_ctc{
    display: none;
}


#main #bgs * {
    position: absolute;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: right top;
    background-size: cover;
}

#main #bgs #bg1 {
    background-image: url('../images/bg-desktop.png');
}

#main #bgs #bg2 {
    background-image: url('../images/bg-desktop2.png');
}

#main #bgs #bg3 {
    background-image: url('../images/bg-desktop-3.png');
}

#main #bgs #bg4 {
    background-image: url('../images/bg-desktop-4.png');
}

#sidebar {
    position: absolute;
    top: 0;
    left: 0;
    background: #000000;
    width: 24.1%;
    height: 100%;
    color: #ffffff;
}

#sidebar #client-logo-top {
    position: absolute;
    bottom: 50px;
    left: 2vw;
    font-size: 1vw;
    width: 50%;
}


#sidebar form {
    position: absolute;
    top: 18.9%;
    right: 7.4%;
    width: 81%;
}

#sidebar form legend {
    font-size: 2.031vw;
    margin: 5% 3%;
    text-align: center;
    line-height: 0.89;
    font-style: italic;
}
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #58595b;
    opacity: 1; /* Firefox */
}

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

::-ms-input-placeholder { /* Microsoft Edge */
    color: #58595b;
}
#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% - 1vw);
    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: #58595b;
    font-weight: 300;
    font-size: 1.8vw;
    /* font-style: italic; */
}
#sidebar form select {
    width: 105%;
    -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(105%);
    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: 50px;
    right: 2vw;
    font-size: 1vw;
    width: 84%;
}

#footer {
    position: absolute;
    top: 50.2vw;
    right: 0;
    width: 97vw;
    background: #ffffff;
    padding: 0.5vw 1vw;
}

#footer #disclaimer {
    font-size: 1.99vw;
    font-weight: 100;
}
#footer #zihum {
    width: 20.583vw;
    /* position: absolute; */
    /* top: -2vw; */
    margin-bottom: 1vw;
    margin-top: 1vw;
}

#preloader {
    width: 19vw;
    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;
}

.mob {
    display: none !important;
}

@media screen and (max-width: 640px) {
    /* --------------------------------  CONTENT  -------------------------------- */
    html, body {
        height: auto;
    }
    .mob {
        display: block !important;
    }
    #page {
        width: 100%;
        height: auto;
        position: relative;
        margin: 0 auto;
    }
    #main {
        position: static;
        width: 100%;
        height: 125vw;
        /* background-image: url('../images/bg-mobile.png'); */
        /* background-size: 100%; */
        /* background-position: right top; */
    }
    #main #content {
        position: static;
    }
    #main #content #models {
        display: none   ;
    }
    #main #content #flex {
        display: block;
    }
    #main #content #text {
        width: 100%;
        padding-top: 45vw;
    }
    #main h1 {
        font-size: 12.5vw;
        line-height: 9vw;
        top: 4vw;
        right: 4vw;
    }

    #main #bgs * {
        width: 100%;
        height: 125vw;
        /* height: 100%; */
    }
    #main #bgs #bg1 {
        background-image: url('../images/bg-mobile.png');
    }
    #main #bgs #bg2 {
        background-image: url('../images/bg-mobile2.png');
    }
    #main #bgs #bg3 {
        background-image: url('../images/bg-mobile-3.png');
    }
    #main #bgs #bg4 {
        background-image: url('../images/bg-mobile-4.png');
    }

    #main h2 {
        font-size: 6vw;
        margin-top: 0vw;
        top: 30.5vw;
        right: 13vw;
        line-height: 5vw;
    }
    #main h2 br{
        display: block;
    }
    #main h3 {
        position: absolute;
        top: 26vw;
        right: 4vw;
        font-size: 6.0vw;
        line-height: 5.2vw;
        font-weight: 400;
        color: #FFFFFF;
        text-align: center;
        font-style: italic;
        text-shadow: 2px 2px 5px rgba(0,0,0, 0.9);
    }
    #main h4 {
        top: 41vw;
        /* width: 48vw; */
        font-size: 5.5vw;
    }
    #main #details-mobile {
        display: block;
        width: 25vw;
        right: 0;
        top: 80vw;
        position: absolute;
    }
    #main #details-mobile img {
        max-width: 100%;
    }
    #main #show_ctc {
        display: block;
        width: 30vw;
        top: 3vw;
        left: 0;
        position: absolute;
        /* display: none; */
    }
    #main #show_ctc img {
        max-width: 100%;
    }

    #main #models {
        display: none;
    }
    #main #models-slick-wrapper {
        width: 100%;
        top: 95vw;
        right: 0;
        position: absolute;
        background: transparent;
    }
    #main #models-slick{
       display: flex;
    }
    #main #models-slick .slick-arrow{
        width: 50vw;
        background-color: #fff;
        border: 0;
        /* border-color: #fff; */
        padding: 2vw;
    }
    #main #models-slick img {
        max-width: 100%;
        margin: 0 auto;
    }
    #sidebar {
        position: static;
        width: 100%;
        top: 102vw;
        height: auto;
    }
    #sidebar #client-logo-top {
        left: 7vw;
        bottom: 4vw;
        width: 50vw;
    }
    #sidebar form {
        position: static;
        padding-top: 3%;
        padding-bottom: 27vw;
        margin: 0 8%;
    }
    #sidebar form legend {
        font-size: 5.954vw;
        margin: 0 0;
    }
    #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% - 13.5vw);
        height: 9.688vw;
        margin-top: 4.375vw;
        padding: 1vw 5vw;
        font-size: 6.094vw;
        box-sizing: border-box;
        margin-right: 7vw;
    }
    #sidebar form select {
        /* width: 100%; */
        /* padding: 1vw 5vw; */
        /* height: 11vw; */
    }
    #sidebar form input[type="submit"] {
        height: 9.688vw;
        line-height: 10vw;
        font-size: 6.094vw;
        margin-top: 4.375vw;
        margin-right: 7vw;
        width: calc(100% - 13.5vw);
    }
    #sidebar form .chk {
         margin-top: 15px;
         font-size: 3.5vw;
         margin-right: 7vw;
     }
    #sidebar #disclaimer {
        right: 3vw;
        font-size: 3.5vw;
    }
    #sidebar #client-logo {
        right: 13vw;
        bottom: 5vw;
        width: 70%;
    }
    #preloader {
        position: static;
        width: 100%;
        height: auto;
        font-size: 10vw;
        margin-right: 6vw;
        padding-bottom: 180px;
        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: 180px;
        padding-top: 100px;
    }

    #footer {
       position: static;
       /* width: 80vw; */
    }
    #footer #disclaimer {
        font-size: 5.8vw;
        margin: 2vw;
    }
    #footer #zihum {
        width: 75vw;
        position: static;
        margin: 4vw 9vw;
    }

}


@media screen and (min-width: 641px) {
    #page {
        height: 50.156vw;
    }
    #sidebar form input[type="text"],
    #sidebar form input[type="email"],
    #sidebar form input[type="tel"],
    #sidebar form select {
        margin-top: 1.302vw;
        height: 2.865vw;
    }
    #sidebar form input[type="submit"] {
        height: 2.865vw;
        line-height: 2.465vw;
        margin-top: 1.302vw;
    }
    #sidebar #client-logo {
        bottom: 1.3vw;
    }
    #sidebar #client-logo-top {
        bottom: 1.2vw;
    }
}