/*
    Roof Animation KNKS DEC 2019
*/

/*
    reset
*/
button, button:focus, button:active{
    outline: 0;
}
/*

/*
    animated section
*/
.animated {
    padding: 8rem 0;
    min-height: 540px;
}

.video-wrapper{
    position: relative;
}
.video-wrapper video{
    width: 100%;
    display: block;
}

.info-wrapper{
    padding-right: 5rem;
}
.info-text{
    display: none;
}
#default{
    opacity: 0;
    -webkit-transition: opacity 1s linear;
    transition: opacity 1s linear;
}
.info-text.active{
    display: block;
}
.info-title{
    font-size: 30px;
    margin-bottom: 1.5rem;
}
.info-description{
    margin-bottom: 2.5rem;
    color: #666;
    font-size: 16px;
}

.slider-buttons, .animation-slider-buttons{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
      margin-bottom: 1.5rem;
}
.slider-button, .animation-slider-button{
    display: -webkit-box;
    display: -ms-flexbox;
    display: inline-flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #333;
    background-color: transparent;
    cursor: pointer;
}
.slider-button.disabled, .animation-slider-button.disabled{
    border: 2px solid #999;
    color: #999;
}
.prev, #prev{
    margin-right: 0.8rem;
}

.caption-text{
    position: absolute;
    opacity: 0;
    -webkit-transition: opacity 0.3s ease-in;
    transition: opacity 0.3s ease-in;
    background-color: rgb(230, 63, 72);
    height: 2px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    white-space: nowrap;
}
.caption-text:after{
    position: absolute;
    content: '';
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    top: 50%;
    left: 100%;
    width: 14px;
    height: 14px;
    background-color: transparent;
    border: 2px solid rgb(230, 63, 72);
    border-radius: 50%;
}
.one{
    top: 78%;
    width: 57%;
    left: -20px;
}
.two{
    top: 55%;
    width: 45%;
    left: -20px;
}
.three{
    top: 35%;
    width: 40%;
    left: -20px;
}
.four{
    top: 35%;
    width: 45%;
    left: -20px;
}
.caption-text p{
    font-weight: 400;
    font-size: 16px;
    margin-bottom: 5px;
    /* padding-left: 5px; */
    color: #333;
}
.caption-text.active{
    opacity: 1;
}

/*slider buttons*/

.slider-buttons{
    opacity: 0;
    -webkit-transition: opacity 1s linear;
    transition: opacity 1s linear;
}
.slider-buttons.active{
    opacity: 1;
}

/*responsiveness*/
@media(max-width: 992px){
    .info-wrapper{
        padding-right: 0;
        text-align: center;
        position: relative;
        padding-top: 5rem;
    }
    .info-description{
        margin-bottom: 0;
    }
    .slider-buttons{
        /* position: absolute;
        top: 20px;
        left: 50%;
        -webkit-transform: translateX(-50%);
                transform: translateX(-50%); */
        justify-content: center;
    }
    .caption-text{
        left: 0;
    }
}
@media(max-width: 576px){
    .video-wrapper{
        margin-bottom: 4rem;
    }
    .caption-text{
        width: 1px;
    }
    .caption-text p {
        padding-left: 5px;
    }
    .one{
        height: 55%;
        left: 25%;
        top: 65%;
    }
    .two{
        height: 70%;
        left: 30%;
        top: 50%
    }
    .three{
        left: 40%;
        top: 35%;
        height: 85%;
    }
    .four{
        left: 40%;
        top: 38%;
        height: 82%;
    }
    .caption-text:after{
        border: 1px solid rgb(230, 63, 72);
        width: 6px;
        height: 6px;
        top: 0%;
        left: 50%;
        -webkit-transform: translate(-50%, -100%);
                transform: translate(-50%, -100%);
    }
}








/*
   3D Animation start>>>>>>>>>
*/



.animation-info-text{
    display: none;
}
.animation-info-text.active{
    display: block;
}
.section-animated{
  min-height: 550px;
    overflow: hidden;
}
.section-animated-left{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;

    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}
.section-animated-right{
  min-height: 550px;
    overflow: hidden;

}
.animation-slider-buttons{
    display: none;
}
.animation-info-title{
    margin-bottom: 0.6rem;
    font-size: 32px;
}
.animation-info-description{
    margin-bottom: 1rem;
}


/*
    media
*/

@media(max-width: 992px){
    .section-animated{
        display: block;
        min-height: 80vh;

    }
    .section-animated-left{
        text-align: center;
        min-height: 20vh;
    }
    .section-animated-right{
        min-height: 45vh;
    }
}

/*stop video button*/
#stop-video{
    color: rgb(85, 85, 85);
    background-color: transparent;
    border: none;
    outline: none;
    padding-left: 0;
    margin-top: 1rem;
    float: right;
    padding-right: 0 !important;
}
