/*

Theme Name: Gerard
Theme URI: #
Author: Gerard
Author URI: #
Description: Custom template for Gerard
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gerard
Tags: 

*/

body.dms-site{
    height: auto
}



body .dms-block-center__col-left{
    /*    padding-right: 0*/
}

body .dms-template-contact .dms-contact-form .dms-checks p{
    display: block;
    line-height: 1
}

body .dms-template-contact .dms-contact-form .dms-contact-footer{
    flex-wrap: nowrap
}


body .dms-template-contact .dms-contact-form .dms-contact-footer>div{
    flex: 0 0 auto
}

body .dms-template-contact .dms-contact-form .dms-contact-footer>div:first-child{
    flex: 1;
    padding-right: 10px
}

body .dms-template-contact .dms-contact-form .dms-content-field textarea{
    margin-top: 0
}




body > main > section > div .nicescroll-rails{
    /*margin-left: 20px*/
}


.dms-block-rental__box{
    height: calc(100% - 15px)
}

.dms-block-rental__box-price{
    position: relative;
    z-index: 999;
    padding-right: 15px;
    padding-left: 15px
}

.dms-boxed .nicescroll-rails{
    left: calc(100% - 15px)!important
}


.fixed {
    position: fixed;
    top: 0;
    bottom: auto;
}

.abs {
    position: absolute;
    bottom: 0;
    top: auto;
}

@media (min-width: 1200px){

    body .dms-sidebar__block{
        padding: 10px 0
    }

    body .dms-sidebar__list-item-link{
        font-size: 0.88em;
        line-height: 1.3
    }

    body .dms-block-content-social-languages .dms-block-socials{
        margin-top: 0
    }

    body .nav .menu-depth-0 .menu-item-depth-0>a{
        padding-top: 7px;
        padding-bottom: 7px
    }

    body .qts_lang_item{
        margin-top: 0
    }

    body header .dms-boxed{
        padding-bottom: 0
    }



    /*    .dms-template-single-post > .dms-boxed{
            overflow-y: auto;
            height: 100%;
        }
    
        body > main{
            flex: 1!important;
            overflow: hidden
        }
        body > main > section{
            height: 100%
        }
    
        body > main > section > div{
            height: 100%;
            overflow-y: auto
        }
    
    */

    html{
        overflow: hidden
    }
}

body .dms-block-center__content,
body .dms-block-about-us__content{
    min-height: auto;
    max-height: none
}

body .dms-block-primary__scrollable{
    height: auto
}

body .dms-block-primary__footer{
    margin-bottom: 10px
}


@media (min-width: 1440px){
    body .dms-boxed{
        width: 1500px;
        /*        overflow-x: hidden*/
    }

    .dms-row-footer > div:first-child {
        flex: 0 0 auto;
        width: 40%;
    }

    .dms-row-footer > div:last-child {
        flex: 0 0 auto;
        width: 60%;
    }

}


@media (min-width: 768px){
    .dms-row-footer > div{
        flex: 0 0 auto;
        width: 50%
    }
}


.dms-sidebar__border > .dms-sidebar__block li{
    line-height: 1;
    margin-bottom: 8px
}


body .dms-sidebar__block:first-child, .dms-sidebar__block:last-child{
    border-top: 1px solid #9D958C
}

.dms-footer-menu{
    justify-content: center
}

.text-center{
    text-align: center
}

.dms-block-primary.dms-animated--slow-1 {
    -webkit-animation-delay: 1.3s;
    -moz-animation-delay: 1.3s;
    animation-delay: 1.3s;
    -webkit-animation-duration: 1.5s;
    -moz-animation-duration: 1.5s;
    animation-duration: 1.5s
}

.dms-social-icons i{
    font-size: 17px
}


@keyframes fadeInUp2 {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0,20%,0);
        transform: translate3d(0,20%,0)
    }

    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none
    }
}

.fadeInUp2 {
    -webkit-animation-name: fadeInUp2;
    animation-name: fadeInUp2
}

@keyframes zoomIn {
    0% {
        opacity: 0;
        -webkit-transform: scale3d(.8,.8,.8);
        transform: scale3d(.8,.8,.8)
    }

    50% {
        opacity: 1
    }
}


@media (max-width: 1023px){

    .dms-template-contact .dms-contact-form .dms-contact-footer>div.dms-form-submit {
         width: auto;
        margin-top: 10px;
    }
    
    body .dms-template-contact .dms-contact-form .dms-contact-footer .dms-captcha{
        display: none
    }

}


.dms-privacy p{
    text-align: left!important
}