﻿.dct-modal {
    position: fixed;
    z-index: 1000;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: none;
    background: rgba(255, 255, 255, 0.92);
}
.dct-modal-close {
    position: absolute;
    z-index: 1;
    top: 10px;
    right: 10px;
    cursor: pointer;
}
.dct-modal-close .close-alt {
    display: block;
}
.dct-modal-close .close-normal,
.close-alt {
    display: none;
}
.dct-modal .dct-modal-inner {
    position: relative;
    max-width: 1024px;
    margin: 0px auto;
    min-height: 640px;
    max-height: 640px;
    height: 100%;
    overflow: hidden;
    background: #fff;
    top: 50%;
    transform: translateY(-50%);
}
    /*.dct-modal > div:not(.dct-tabs) {*/
    .dct-modal .tab-sect {
        padding: 25px 25px 0px 25px;
        display: none;
        transition: 800s;
        position: relative;
        overflow-x: hidden;
        overflow-y: auto;
    }
    .dct-modal .tab-sect .img-responsive {
        width: 100%;
    }
    .dct-modal .better-sect .img-responsive {
        width: calc(100% - 50px);
    }
    .dct-modal .tab-sect.active {
        opacity: 1;
        display: block;
    }

.dct-tabs {
    background: #000;
    position: absolute;
    width: 100%;
    bottom: 0;
}
.dct-tabs .dct-tab {
    max-height: 50px;
    padding: 15px 15px;
    width: 33.33%;
    background: #000;
    color: #fff;
    display: inline-block;
    text-align: center;
    border: 3px solid #000;
    cursor: pointer;
    transition: 500ms;
    vertical-align: bottom;
    position: relative;
}
.dct-tabs .dct-tab:after {
    content: ' ';
    position: absolute;
    width: 1px;
    height: calc(100% - 8px);
    background: #fff;
    top: 50%;
    right: 102%;
    transform: translateY(-50%);
}
.dct-tabs .dct-tab:first-child:after,
.dct-tabs .dct-tab.active:after {
    display: none;
}
    .dct-tabs .dct-tab:hover,
    .dct-tabs .dct-tab.active {
        background: #fff;
        color: #000;
    }

.home-sect {

}
    .home-sect .dct-home-container {
        position: relative;
    }
    .home-sect .dct-home-content {
        position: absolute;
        top: 50%;
        right: 50px;
        transform: translateY(-50%);
        width: 100%;
        max-width: 360px;
        background: rgba(255, 255, 255, 0.9);
        padding: 30px;
    }
    .auto .home-sect h1 {
        font-size: 50px;
        line-height: 52px;
    }
    .auto .home-sect h2 {
        font-size: 24px;
        line-height: 24px;
    }
.works-sect {

}
    .works-sect .bg {
    }
    .works-sect .copy-overlay {
        position: absolute;
        z-index: 1;
        max-width: 420px;
        top: 10%;
        left: 5%;
        background: rgba(255, 255, 255, 0.9);
        padding: 40px;
        text-align: center;
    }
.better-sect {
    height: 100%;
}
.better-sect.negative {
    background: #fff;
}
    .better-sect .betterway-img {
        position: absolute;
        top: 25px;
    }
    .better-sect h2 {
        /*margin: 60px auto 60px;*/
        margin: 50px auto 40px;
        position: relative;
    }
    .better-sect .betterway-item p,
    .better-sect .betterway-item h3 {
        color: #000;
        text-align: center;
    }
    .better-sect .betterway-item h3 {
        white-space: nowrap;
    }
    .fr .better-sect .betterway-item .better-icon {
        max-width: 35px;
    }
    .fr .better-sect .betterway-item h3 {
        white-space: normal;
        font-size: 20px;
        line-height: 22px;
    }
    .fr .better-sect .betterway-item p {
        /*font-size: 18px;*/
        /*line-height: 22px;*/
    }
.better-sect .not-on-mobile,
.better-sect .not-on-mobile .col-md-4 {
    display: flex;
}
.better-sect .betterway-item {
    background: rgba(255, 255, 255, 0.9);
    /*padding: 30px 30px 0px 30px;*/
    padding: 30px 15px 30px 15px;
    width: 100%;
    margin-bottom: 60px;
}
.better-sect .better-icon {
    display: block;
    margin: 0px auto 20px;
}
    .better-sect h2,
    .better-sect h3 {
        text-align: center;
    }
    .better-sect .auto-gallery-controls .auto-gallery-left,
    .better-sect .auto-gallery-controls .auto-gallery-right {
        margin-top: -50px;
        width: 12px;
        height: 27px;
        background: url('/Public/img/2016-739165/ico/wide/negative/arrow-left.png') center center no-repeat;
        background-size: contain !important;
        opacity: 1 !important;
    }
    .better-sect .auto-gallery-controls .auto-gallery-right {
        background: url('/Public/img/2016-739165/ico/wide/negative/arrow-right.png') center center no-repeat;
    }
.faq-sect {
    overflow-y: auto;
    height: calc(100% - 50px);
    overflow: hidden !important;
}
        .faq-sect h2 {
            margin: 15px auto 40px;
            text-align: center;
        }
    .faq-sect .faq-o {
        position: relative;
        margin: 15px auto;
        padding: 20px 0px 15px 60px;
        background: #e5e5e5;
        cursor: pointer;
    }
    .faq-sect .faq-o:before {
        position: absolute;
        top: 50%;
        left: 20px;
        transform: translateY(-50%);
        content: ' ';
        width: 100%;
        height: 40px;
        background: url('/Public/img/2016-739165/ico/wide/positive/plus-hover.png') center left no-repeat;
    }
    .faq-sect .faq-o.active:before {
        background: url('/Public/img/2016-739165/ico/wide/positive/minus-hover.png') center left no-repeat;
    }
    .faq-sect .faq-o h3 {
        margin: 0px;
        text-transform: none;
    }
    .faq-sect .faq-o:before {

    }
    .faq-sect .faq-i {
        display: none;
    }
    .auto .faq-sect a.dct-details {
        font-family: "mini_sans-medium", "arial", sans-serif;
        font-size: 10px;
        text-decoration: underline;
    }

/*MEDIA QUERIES*/
@media (max-width: 768px) {
    .auto.dct-modal {
        padding-top: 0px !important;
        overflow: scroll;
    }
    .dct-modal-close {
        position: fixed;
        top: auto;
        right: 10px;
    }
    .dct-modal-close .close-alt {
        display: none;
    }
    .dct-modal-close .close-normal,
    .dct-modal .tab-sect {
        display: block;
    }
    .dct-modal .home-sect {
        text-align: center;
    }
    .dct-modal .dct-modal-inner {
        top: auto;
        transform: initial;
        overflow: scroll;
        max-height: none;
        height: auto;
    }
    .tab-sect.home-sect,
    .tab-sect.works-sect,
    .tab-sect.better-sect {
        height: 100%;
        min-height: 620px;
        padding: 30px 15px 10px 15px;
        background: url('/Public/img/2016-739165/content/dct/home-mobile.jpg') center center no-repeat;
        background-size: cover !important;
    }
    .auto .tab-sect.home-sect h1,
    .auto .tab-sect.home-sect h2,
    .auto .tab-sect.home-sect p {
        color: #fff;
    }
    .tab-sect.works-sect {
        background: url('/Public/img/2016-739165/content/dct/works-mobile.jpg') center center no-repeat;
    }
    .works-sect .copy-overlay {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: calc(100% - 30px);
    }
    .tab-sect.better-sect {
        background: url('/Public/img/2016-739165/content/dct/betterway-mobile.jpg') center center no-repeat;
    }
    .auto .better-sect .item {
        background: rgba(255, 255, 255, 0.9);
        padding: 20px 25px 40px;
    }
        .auto .better-sect .item h3 {
            margin-bottom: 15px;
        }
    .auto .better-sect .item h3,
    .auto .better-sect .item p {
        color: #000;
        text-align: center;
    }
    .fr .better-sect h2 {
        margin: 30px auto;
    }
    .faq-sect .faq-o h3 {
        margin: 0px;
        text-transform: none;
        font-size: 18px;
        line-height: 20px;
        padding-right: 10px;
    }
    .scroll-down {
        position: absolute;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        cursor: pointer;
        white-space: nowrap;
    }
    .scroll-down img {
        width: 35px;
        height: 35px;
    }
    .scroll-down p {
        color: #fff !important;
        margin-bottom: 10px;
    }

    /*CAROUSEL INDICATORS*/
    .auto #better-carousel .carousel-indicators li, 
    .auto .negative #better-carousel .carousel-indicators li,
    .auto #better-carousel .negative .carousel-indicators li {
        border-width: 4px;
        border-radius: 7px;
        height: 12px;
        width: 12px;
        margin-right: 10px;
        margin-left: 11px;
        line-height: 16px;
        top: 4px;
    }
    .auto #better-carousel .carousel-indicators li:hover, .auto #better-carousel .carousel-indicators li.active {
        border-width: 2px;
        height: 16px;
        width: 16px;
        margin-right: 8px;
        margin-left: 9px;
        top: 6px;
        margin-top: -1px;
    }
    .auto #better-carousel .auto-gallery-controls {
        position: relative;
        margin-top: 60px;
    }
    .auto #better-carousel .carousel-indicators li {
        border: 2px solid #fff;
        border-radius: 7px;
        margin: 0;
        background-color: #fff;
        height: 8px;
        width: 8px;
        position: relative;
        margin-right: 25px;
    }
    .auto #better-carousel .carousel-indicators li.active .auto-gallery-inner-circle {
        position: relative;
        top: 3px;
        left: 3px;
        width: 6px;
        height: 6px;
        background-color: #fff;
        border: 2px solid #FFF;
        border-radius: 7px;
    }
    .auto .negative #better-carousel .carousel-indicators li.active, .auto #better-carousel .negative .carousel-indicators li.active {
        border: 2px solid #FFF;
        background-color: transparent;
    }
}
