﻿
/*******************************************************/
/******************** COMMON STYLES ********************/
/*******************************************************/

.FieldInvalid {
    background-color: #f5e7e7;
}

.dz-upload {
    height: 10px !important;
    background: linear-gradient(to bottom, #beebff 0, #a8e4ff 100%);
    width: 0%;
}

.dz-remove {
    display: none;
}

.discrete-red {
    color: #d3222a;
}

.testimonial-item {
    height: 300px;
}

.intro-carousel-item {
    height: 480px;
    padding: 30px;
}

.parallax-window {
    min-height: 550px;
    background: transparent;
}


.kitchen-plinth-section {
    min-height: 600px;
    width: 100%;
    position: relative;
    background-image: url('/images/commercial/kitchen-plinth.jpg');
    background-position: bottom right;
    background-size: cover;
    background-repeat: no-repeat;
}

.top-curve {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 150px;
    background-image: url('/images/redesign/bg/white-curve-top-flat.png');
    background-position: top left;
    background-size: 100% 100%;
}

.three-d-Tour {
    position: absolute;
    bottom: 40px;
    left: 10px;
    z-index: 99;
    height: 100px;
    cursor: pointer;
}

.give-us-a-call-section {
    background-color: #d3222a;
    color: #fff;
}

/* On screens that are 768px or less */
@media screen and (min-width: 768px) {
    .three-d-Tour {
        position: absolute;
        top: 10px;
        left: 10px;
        z-index: 98;
        height: 120px;
        cursor: pointer;
    }
}

.gradient-overlay {
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&1+0,0+100;White+to+Transparent */
    background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=0 ); /* IE6-9 */
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 4;
}

.contact-us-section .free-sample-window {
    margin-top: 30px;
    position: relative;
    z-index: 100;
    padding: 50px;
}

.free-sample-window-parent {
    z-index: 100;
    padding: 20px;
}

/*******************************************************/
/****************** HOMEPAGE SECTIONS ******************/
/*******************************************************/

/************* HOMEPAGE INTRO SECTION (TOP) ************/
.intro-section-flipper {
    position: absolute;
    top: 10%;
    left: 45%;
    min-height: 500px;
    z-index: 990;
    width: 30%;
    max-width: 650px;
}

.flippy-card {
    position: absolute;
    width: 100%;
    height: 100%;
}

.face {
    position: absolute;
    width: 100%;
    height: 100%;
}


.intro-section-flipper {
    perspective: 800px;
}

.flippy-card {
    transform-style: preserve-3d;
    transition: all 1.0s linear;
}

    .flippy-card.flip .front {
        transform: rotateY(-180deg);
    }

    .flippy-card.flip .back {
        transform: rotateY(0deg);
    }

.face {
    backface-visibility: hidden;
    transform-style: preserve-3d;
    transition: 0.8s;
}

    .face.front {
        transform: rotateY(0deg);
    }

    .face.back {
        transform: rotateY(180deg);
    }

.thermaskirt-logo-with-strapline {
/*    padding: 10px;*/
    max-height: 150px;
    width: 100%;
    margin-top: 10px;
}

.intro-bullet-list {
    list-style: none;
    padding-top: 20px;
    position: relative;
    z-index: 100;
}

.intro-bullets {
    font-weight: 200;
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 15px;
    position: relative;
}

.benefit-icon {
    max-width: 120px;
}

/* On screens that are 1200px or less */
@media screen and (max-width: 1200px) {
    .intro-section-flipper {
        top: 10%;
        left: 30%;
        width: 40%;
    }
}


/* On screens that are 992px or less */
@media screen and (max-width: 992px) {
    .intro-section-flipper {
        top: 10%;
        left: 20%;
        width: 60%;
    }

}

/* On screens that are 600px or less */
@media screen and (max-width: 600px) {
    .intro-section-flipper {
        top: 10%;
        left: 5%;
        width: 80%;
    }
}

.intro-section-flipper.requestquote .flip {
    height: 560px;
}

.intro-section-flipper.freesample .flip {
    height: 540px;
}


/* On screens that are 600px or less */
@media screen and (max-width: 600px) {
    .intro-section-flipper {
        top: 5%;
        right: 5%;
        width: 90%;
    }

    .benefit-icon {
        margin-top: 30px;
        max-width: 100px;
    }
}

/* On screens that are 500px or less */
@media screen and (max-width: 500px) {

    .intro-bullets {
        font-size: 18px;
        line-height: 24px;
    }

    .benefit-icon {
        max-width: 80px;
        margin-top: 20px;
    }

    .intro-section-flipper.requestquote .flip {
        height: 610px;
    }

}

/* On screens that are 400px or less */
@media screen and (max-width: 400px) {

    .intro-section-flipper.requestquote .flip {
        height: 630px;
    }

    .intro-section-flipper.freesample .flip {
        height: 580px;
    }
}

/* On screens that are 385px or less */
@media screen and (max-width: 385px) {

    .intro-bullets {
        font-size: 16px;
        line-height: 24px;
    }
}

.what-is-thermaskirt-section {
    width: 100%;
    position: relative;
    margin-top: 30px;
    margin-bottom: 50px;
}

.benefits-section {
    background: #fff;
    min-height: 600px;
    width: 100%;
    position: relative;
    margin-bottom: 50px;

    background-image: url('/images/redesign/bg/gray-curve-flat-top.jpg');
    background-position: top;
    background-repeat: no-repeat;
}

.install-section {
    min-height: 700px;
    width: 100%;
    position: relative;
    background: url('/images/redesign/bg/bg-installation.jpg') center;
}

.install-section-white-overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    background-image: url('/images/redesign/bg/white-curve-overlay-2.png');
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.contact-us-section {
    min-height: 700px;
    width: 100%;
    position: relative;
    background: url('/images/redesign/bg/bg-contact-us.jpg');
}

.free-quote-section {
    position: absolute;
    top: 10%;
    right: 10%;
    z-index: 990;
    width: 40%;
    background-color: #fff;
    opacity: 0.9;
    border-radius: 30px;
}


.get-a-quote-section {
    min-height: 500px;
    width: 100%;
    background-image: url('/images/redesign/bg/red-curve.jpg');
    background-position: top;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    overflow: hidden;
}

/*.quote-tool-splash {
    background-image: url('/images/redesign/home-page-slides/slide3.jpg');
    background-position: right;
    background-size: cover;
    overflow: visible;
}

.quote-tool-splash-inner {
    background-image: url('/images/redesign/white-overlay.png');
    background-repeat: repeat;
    width: 100%;
    padding-bottom: 80px;
}*/

.george-clarke {
    background-color: lightgray;
    min-height: 200px;
    background-image: url('/images/redesign/bg/white-curve-overlay.png');
    background-position: top;
    background-repeat: no-repeat;
}

.green-btn {
    background-color: #fff;
    border-color: darkgreen;
    border-radius: 10px;
    border: 1px solid darkgreen;
    color: darkgreen;
    font-weight: 400;
    font-size: 18px;
}


.parallax-section-2 {
    position: absolute;
    top: 20%;
    left: 10%;
    z-index: 990;
    width: 30%;
    background-color: #fff;
    opacity: 0.9;
    border-radius: 30px;
}

/* On screens that are 1200px or less */
@media screen and (max-width: 1200px) {
    .parallax-section-2 {
        top: 10%;
        width: 80%;
    }
}


/* On screens that are 992px or less */
@media screen and (max-width: 992px) {
    .free-quote-section {
        width: 80%;
    }
}

.ad-modal.in .modal-dialog {
    -webkit-transform: translate(0, calc(50vh - 50%));
    -ms-transform: translate(0, 50vh) translate(0, -50%);
    -o-transform: translate(0, calc(50vh - 50%));
    transform: translate(0, 50vh) translate(0, -50%);
}

/*******************************************************/
/*************** HOMEPAGE SLIDESHOW STUFF **************/
/*******************************************************/

/* On screens that are 768px or more */
@media screen and (min-width: 768px) {

    .slideshow {
        position: relative;
        width: 100%;
        height: 700px;
        overflow: hidden;
    }

    .slideshow-image {
        position: absolute;
        width: 100%;
        height: 100%;
        background: no-repeat 100% 100%;
        background-size: cover;

        -webkit-animation-timing-function: linear;
        animation-timing-function: linear;
        -webkit-animation-iteration-count: infinite;
        animation-iteration-count: infinite;
        -webkit-animation-duration: 30s;
        animation-duration: 30s;
        opacity: 1;
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }

        .slideshow-image:nth-child(1) {
            -webkit-animation-name: kenburns-1;
            animation-name: kenburns-1;
            z-index: 3;
        }

        .slideshow-image:nth-child(2) {
            -webkit-animation-name: kenburns-2;
            animation-name: kenburns-2;
            z-index: 2;
        }

        .slideshow-image:nth-child(3) {
            -webkit-animation-name: kenburns-3;
            animation-name: kenburns-3;
            z-index: 1;
        }

        .slideshow-image:nth-child(4) {
            -webkit-animation-name: kenburns-4;
            animation-name: kenburns-4;
            z-index: 0;
        }


    @-webkit-keyframes kenburns-1 {
        0% {
            opacity: 1;
            -webkit-transform: scale(1.2);
            transform: scale(1.2);
        }

        1.5625% {
            opacity: 1;
        }

        23.4375% {
            opacity: 1;
        }

        26.5625% {
            opacity: 0;
            -webkit-transform: scale(1);
            transform: scale(1);
        }

        100% {
            opacity: 0;
            -webkit-transform: scale(1.2);
            transform: scale(1.2);
        }

        98.4375% {
            opacity: 0;
            -webkit-transform: scale(1.21176);
            transform: scale(1.21176);
        }

        100% {
            opacity: 1;
        }
    }

    @keyframes kenburns-1 {
        0% {
            opacity: 1;
            -webkit-transform: scale(1.2);
            transform: scale(1.2);
        }

        1.5625% {
            opacity: 1;
        }

        23.4375% {
            opacity: 1;
        }

        26.5625% {
            opacity: 0;
            -webkit-transform: scale(1);
            transform: scale(1);
        }

        100% {
            opacity: 0;
            -webkit-transform: scale(1.2);
            transform: scale(1.2);
        }

        98.4375% {
            opacity: 0;
            -webkit-transform: scale(1.21176);
            transform: scale(1.21176);
        }

        100% {
            opacity: 1;
        }
    }

    @-webkit-keyframes kenburns-2 {
        23.4375% {
            opacity: 1;
            -webkit-transform: scale(1.2);
            transform: scale(1.2);
        }

        26.5625% {
            opacity: 1;
        }

        48.4375% {
            opacity: 1;
        }

        51.5625% {
            opacity: 0;
            -webkit-transform: scale(1);
            transform: scale(1);
        }

        100% {
            opacity: 0;
            -webkit-transform: scale(1.2);
            transform: scale(1.2);
        }
    }

    @keyframes kenburns-2 {
        23.4375% {
            opacity: 1;
            -webkit-transform: scale(1.2);
            transform: scale(1.2);
        }

        26.5625% {
            opacity: 1;
        }

        48.4375% {
            opacity: 1;
        }

        51.5625% {
            opacity: 0;
            -webkit-transform: scale(1);
            transform: scale(1);
        }

        100% {
            opacity: 0;
            -webkit-transform: scale(1.2);
            transform: scale(1.2);
        }
    }

    @-webkit-keyframes kenburns-3 {
        48.4375% {
            opacity: 1;
            -webkit-transform: scale(1.2);
            transform: scale(1.2);
        }

        51.5625% {
            opacity: 1;
        }

        73.4375% {
            opacity: 1;
        }

        76.5625% {
            opacity: 0;
            -webkit-transform: scale(1);
            transform: scale(1);
        }

        100% {
            opacity: 0;
            -webkit-transform: scale(1.2);
            transform: scale(1.2);
        }
    }

    @keyframes kenburns-3 {
        48.4375% {
            opacity: 1;
            -webkit-transform: scale(1.2);
            transform: scale(1.2);
        }

        51.5625% {
            opacity: 1;
        }

        73.4375% {
            opacity: 1;
        }

        76.5625% {
            opacity: 0;
            -webkit-transform: scale(1);
            transform: scale(1);
        }

        100% {
            opacity: 0;
            -webkit-transform: scale(1.2);
            transform: scale(1.2);
        }
    }

    @-webkit-keyframes kenburns-4 {
        73.4375% {
            opacity: 1;
            -webkit-transform: scale(1.2);
            transform: scale(1.2);
        }

        76.5625% {
            opacity: 1;
        }

        98.4375% {
            opacity: 1;
        }

        100% {
            opacity: 0;
            -webkit-transform: scale(1);
            transform: scale(1);
        }
    }

    @keyframes kenburns-4 {
        73.4375% {
            opacity: 1;
            -webkit-transform: scale(1.2);
            transform: scale(1.2);
        }

        76.5625% {
            opacity: 1;
        }

        98.4375% {
            opacity: 1;
        }

        100% {
            opacity: 0;
            -webkit-transform: scale(1);
            transform: scale(1);
        }
    }

}

/* On screens that are 768px or less */
@media screen and (max-width: 768px) {

    .slideshow {
        position: relative;
        width: 100%;
        height: 750px;
        overflow: hidden;
    }

    .slideshow-image {
        position: absolute;
        width: 100%;
        height: 100%;
        background: no-repeat 50% 50%;
        background-size: cover;
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }

        .slideshow-image:nth-child(1) {
            z-index: 5;
        }
}

/* On screens that are 1000px or less */
@media screen and (max-width: 1000px) {

    .get-a-quote-section {
        background-size: 200% 100%;
    }

    .kitchen-plinth-section {
        min-height: 400px;
    }

    .install-section-white-overlay {
        background-size: 150% 100%;
    }

    .top-curve {
        height: 150px;
        background-size: 200% 100%;
    }
}

/************************************************/
/*****      Styles for Small Tabs --->      *****/
/************************************************/

.small-tabs > li > a {
    position: relative;
    display: block;
    padding: 5px 10px;
}

.small-tabs > li {
    float: left;
    margin-bottom: -1px;
}

    .small-tabs > li > a {
        margin-right: 2px;
        line-height: 1.42857143;
        border: 1px solid #bbb9b9;
        border-bottom: 1px solid #ddd;
        border-radius: 4px 4px 0 0;
        color: #555;
        font-size: 12px;
    }

        .small-tabs > li > a:focus, .nav > li > a:hover {
            text-decoration: none;
            border-bottom-color: transparent;
        }


    .small-tabs > li.active > a, .small-tabs > li.active > a:focus, .small-tabs > li.active > a:hover {
        color: #000;
        cursor: default;
        background-color: transparent;
        border-bottom-color: transparent;
        font-weight: 600;
    }

.tab-content {
    border-top: none;
    min-height: 150px;
    padding: 0px;
}

/*****************************************************************************/
/************************* FAQ Video Carousel (Swiper) **********************/
/*****************************************************************************/

/* Wrapper around the entire FAQ video carousel */
.faq-video-wrapper {
    width: 100%;
    margin: 80px 0 50px;
}

/* Outer and inner carousel containers */
.faq-carousel-wrapper,
.faq-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.faq-carousel {
    visibility: hidden;
}

    .faq-carousel.swiper-ready {
        visibility: visible;
        transition: visibility 0s, opacity 0.3s ease;
        opacity: 1;
    }

    .faq-carousel.swiper-initializing {
        opacity: 0;
    }

/* Swiper base styling (padding above/below track) */
.swiper {
    padding: 10px 0;
}

/* Flex container for all slides */
.swiper-wrapper {
    display: flex;
}

/* Individual video tile */
.swiper-slide {
    background: black;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 9 / 16;
    max-width: 250px;
    width: 100%;
}

/* Image inside a slide */
.video-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Embedded video (iframe) positioned over the tile */
.video-slide iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Carousel navigation arrows (prev/next) */
.swiper-button-prev,
.swiper-button-next {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s ease;
    user-select: none;
}

    /* Remove default Swiper arrow content */
    .swiper-button-prev::after,
    .swiper-button-next::after {
        display: none !important;
    }

    /* SVG icon inside arrow buttons */
    .swiper-button-prev svg,
    .swiper-button-next svg {
        width: 16px;
        height: 16px;
        fill: white !important;
        display: block;
    }

    /* Darken arrow background on hover */
    .swiper-button-prev:hover,
    .swiper-button-next:hover {
        background-color: rgba(0, 0, 0, 0.7);
    }

/* Prevent text/image selection on swipe elements */
.faq-carousel-wrapper,
.swiper-slide {
    user-select: none;
}

/* Hide arrows on mobile */
@media screen and (max-width: 768px) {
    .swiper-button-prev,
    .swiper-button-next {
        display: none !important;
    }
}

/* Responsive sizing for different screen widths */
@media (max-width: 1024px) {
    .swiper-slide {
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .swiper-slide {
        max-width: 160px;
    }
}

@media (max-width: 480px) {
    .swiper-slide {
        max-width: 85%;
    }
}