@import "a";
@import "helpers";

html{
    overflow-x: hidden;
}

body {
    font-family: $fontRegular;
}

#simplemodal-overlay{
    z-index: 2003 !important;
    opacity: 0.7 !important;
    background-color: rgba(255,255,255,1);
}
#simplemodal-container{z-index: 2004 !important;}

ul,p{ margin: 0px; }
#modal-produto { display: none; }
.overflow-hidden{ overflow: hidden; }
#con-banner-fixo { background-color: $dark; }
jdiv{  z-index: 1999 !important; }

#top-delimiter{
    display: block;
    width: 100%;
    height: 0px;
    margin-top: 74px;
    @include transicao(0.3s linear);

    @media(max-width:991px){
        margin-top: 62px;
    }
}

.prevent-load{
    display: flex !important;
    overflow: hidden !important;
}

img[data-assinc-image]{
    background-color: #f3f3f3;
    background-image: url(../img/icones/photo-loading.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: clamp(40px, 40%, 50px);
    opacity: 0.2;
    transition: visibility 0s 0.1s, opacity 0.1s linear;
}


img.data-assinc-show{
    visibility: visible;
    opacity: 1;
    transition: opacity 0.5s easy;
}

input[type=range]{
    display: block;
    outline: none;
    width: 100%;
    height: 2px;
    margin: 0.4em 0em;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 5px;
    background-color: $highlight;
}
input[type=range]::-webkit-slider-thumb{
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: $highlight;
    border: solid 3px $highlight;
}
input[type=range]::-ms-range-thumb{
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: $highlight; 
    border: solid 3px $highlight;
}
input[type=range]::-moz-range-thumb{ 
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: $highlight;
    border: solid 3px $highlight;
}

#btn-whatsapp{
    position: fixed;
    z-index: 900;
    outline: 0px;
    display: flex;
    width: 70px;
    height: 70px;
    left: 15px;
    bottom: 50px;
    align-items: center;
    justify-content: center;
}

.owl-dots{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 10px;

    .owl-dot{
        display: block;
        outline: 0px;
        width: 10px;
        height: 10px;
        border-radius: 100%;
        background-color: #F5F5F5 !important;
        @include transicao(0.4s ease-in-out);

        &.active{
            background-color: $highlight !important;
        }
    }
}

#con-breadcrumb {
    padding: 25px 0px;
    color: $textoMedium;
    font: normal 12px $fontRegular;
    text-transform: uppercase;

    @media(max-width:767px){
        display: none;
    }

    a {
        display: inline-block;
        margin: 0px 5px;
        color: $textoMedium;

        &:last-child {
            color: $textoDark;
            @include transicao(0.4s ease-in-out);
        }
    }
}

.title-lista{
    position: relative;
    display:block;
    color:$textoDark;
    font-size: 15px;
    font-weight: bold;
    margin: 60px 0px 30px 0px;
    text-align: center;
    border-bottom: solid 1px $borders;
}

.pagination {
    display: block;
    width: 100%;
    height: auto;
    padding-top: 60px;
    padding-bottom: 60px;

    @media (max-width: 450px) {
        margin: 15px 0px;
    }

    .paginas{
        display: flex;
        overflow: hidden;
        width: 100%;
        text-align: center;
        font-size: 0px;
        align-items: center;
        justify-content: center;

        .first,.last{
            display: none;
        }

        .prev,.next{
            outline: 0px;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
        }
        
        .numero-paginas{
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            
            a{
                outline: 0px;
                display: flex;
                align-items: center;
                justify-content: center;
                width: 40px;
                height: 40px;
                color: $textoDark;
                font: normal 14px $fontRegular;
                line-height: 21px;
                border: solid 1px transparent;

                @media(max-width:575px){
                    width: 30px;
                    height: 30px;
                }

                &.current{
                    border-color: $highlight;
                }
            }
        }
    }

    .ocorrencias{
        @media (max-width: 450px) {
            float: none;
        }
    }
}

#info-empresa {
    padding: 20px 0px;
    text-align: left;
    font-size: 14px;
    color: $textoLight;
    line-height: 24px;

    img{
        display: block;
        width: 100%;
        height: auto;
        margin: 15px auto;
        max-width: 172px;

        @media(max-width:767px){
            width: 40%;
            margin-bottom: 40px;
        }
    }
    .container-texto{
        color: $textoDark;
        font-size: 13px;
        font-family: $fontLight;
        text-align: justify;
        background-color: $dark;
        padding: 70px;
        h3{
            text-align: center;
            margin-bottom: 30px;
            color: $textoDark;
            font-size: 30px;
            font-weight: normal;
            font-family: $fontRegular;
        }
    }
}

#con-info-atendimento {
    position: relative;
    padding: 20px 0;
    margin-bottom: 30px;
    background-color: transparent;

    .atendimento{
        display: block;
        width:100%;
        padding: 0px;
        margin: 0px;
        text-align: center;

        .item{
            display: block;
            color: $textoDark;
            font-size: 15px;
            font-family: $fontMedium;
            text-align: center;

            &:before{
                @include sprite();
                content: "";
                margin-right: 5px;
                vertical-align: middle;
            }

            &.icon-whatsapp{
                &:before{
                    width: 27px;
                    height: 27px;
                    background-position: -88px -89px;
                }
            }
            &.icon-email{
                &:before{
                    width: 43px;
                    height: 27px;
                    background-position: -135px -89px;
                }
            }
            &.icon-telefone{
                &:before{
                    width: 27px;
                    height: 27px;
                    background-position: -198px -89px;
                }
            }
        }
    }
}

#con-newsletter {
    display: block;
    width:100%;
    max-width: 460px;

    @media(max-width:991px){
        margin: 0 auto;
    }

    .box-conteudo{
        display: block;
        width: 100%;

        .news-text{
            display: block;
            width: 100%;
            margin-bottom: 20px;

            .titulo{
                display: block;
                margin: 0px;
                margin-bottom: 10px;
                color: #313137;
                font: normal 22px $fontMedium;

                @media(max-width:991px){
                    text-align: center;
                }
            }

            .subtitulo{
                display: block;
                margin: 0px;
                color: #313137;
                font: normal 15px $fontRegular;

                @media(max-width:991px){
                    text-align: center;
                }
            }
        }

        #tnews{
            display: flex;
            width: 100%;
            align-items: stretch;
            justify-content: flex-start;

            @media(max-width:991px){
                justify-content: center;
            }

            #tnewsemail{
                outline: 0px;
                display: block;
                width: calc(100% - 120px);
                max-width: 340px;
                padding: 15px 0px;
                text-indent: 20px;
                color: #313137;
                font: normal 15px $fontRegular;
                line-height: 20px;
                border: solid 1px #E5E5E5;
                background-color: #FFFFFF;
            }

            #tnewss{
                outline: 0px;
                display: block;
                width: 100%;
                max-width: 110px;
                padding: 15px 10px;
                margin-left: 10px;
                color: $light;
                font: normal 15px $fontRegular;
                line-height: 20px;
                text-align: center;
                border: none;
                background-color: $highlight;
                @include transicao(0.4s ease-in-out);

                &:hover,&:focus{
                    background-color: $success;
                }
            }
        }

        .retorno{
            display: block;
            margin: 0px;
            margin-top: 10px;
            color: $textoDark;
            font: normal 13px $fontRegular;

            @media(max-width:991px){
                text-align: center;
            }
        }
    }

    .box-sucesso{
        display: none;
        width: 100%;

        .titulo{
            display: block;
            margin: 0px;
            color: $textoDark;
            font: normal 20px $fontRegular;
            text-align: center;

            &:before{
                display: block;
                content: "";
                width: 30px;
                height: 30px;
                margin: 0 auto;
                margin-bottom: 15px;
                background-image: url(../img/concluido.png);
                background-size: contain;
                background-repeat: no-repeat;
                background-position: center;
            }
        }
    }
}

.aviso{
    display: block;
    width:calc(100% + 30px);
    height: auto;
    padding: 15px;
    margin-left: -15px;
    margin-top: 30px;
    margin-bottom: 30px;
    //background-color: $dark;
    text-align:center;

    h3{
        display: block;
        color: $textoDark;
        font-size: 13px;
        font-weight:normal;
        text-align: center;
    }
}

.banners-home{
    .container-banners{
        .item{
            a{
                display: block;
                @include transicao(0.3s ease-in-out);

                img{
                    display: block;
                    width: 100%;
                    height: auto;
                }

                &:hover{
                    -webkit-filter: contrast(120%);
                    -moz-filter: contrast(120%);
                    -o-filter: contrast(120%);
                    -ms-filter: contrast(120%);
                    filter: contrast(120%);
                }
            }
        }
    }
}

#pagina-tabelaspreco{
    display: block;
    width: 100%;
    height: auto;
    padding: 100px 15px;

    @media(max-width:991px){
        padding-top: 50px;
        apdding-bottom: 50px;
    }

    .x_panel{
        display: block;
        width: 100%;
        height: auto;

        .x_title{
            display: block;
            margin: 0px;
            margin-bottom: 50px;
            color: $textoDark;
            font: normal 26px $fontBold;
            line-height: 31px;
            text-align: center;
        }

        .x_content{
            display: block;

            #tabela-preco-frm{
                .form-group{
                    display: flex;
                    margin-left: -15px;
                    margin-right: -15px;
                    flex-wrap: wrap;
                    align-items: flex-start;
                    justify-content: center;

                    .tb-row{
                        position: relative;
                        display: block;
                        cursor: pointer;
                        width: 100%;
                        max-width: 425px;
                        margin: 15px;
                        border: solid 2px transparent;
                        @include transicao(0.4s ease-in-out);

                        img{
                            display: block;
                            width: 100%;
                        }

                        input{
                            position: absolute;
                            width: 0px;
                            height: 0px;
                            visibility: hidden;
                        }

                        .box-texto{
                            position: absolute;
                            display: flex;
                            width: 100%;
                            height: 100%;
                            top: 0px;
                            left: 0px;
                            padding: 50px;
                            flex-direction: column;
                            align-items: flex-start;
                            justify-content: flex-end;
                            background-color: rgba(#000000, 0.2);

                            @media(max-width:991px){
                                padding: 50px 30px;
                            }

                            p{
                                display: block;
                                margin: 0px;
                                margin-bottom: -55px;
                                color: $textoLight;
                                font: normal 39px $fontBlack;
                                line-height: 46px;
                                text-align: left;
                                @include transicao(0.4s ease-in-out);

                                @media(max-width:1199px){
                                    font-size: 24px;
                                    line-height: 26px;
                                }
                            }

                            .btn-init{
                                display: block;
                                outline: 0px;
                                width: 100%;
                                max-width: 140px;
                                padding: 15px 10px;
                                color: $textoLight;
                                font: normal 15px $fontSemibold;
                                line-height: 23px;
                                text-align: center;
                                background-color: $highlight;
                                visibility: hidden;
                                pointer-events: none;
                                opacity: 0;
                                transition: visibility 0s 0.3s, opacity 0.3s linear, background-color 0.3s linear;

                                &:hover,&:focus{
                                    background-color: $success;
                                }
                            }
                        }

                        &:hover,&:focus, &.checked{
                            border-color: $highlight;
                        }

                        &.checked{
                            .box-texto{
                                p{
                                    margin-bottom: 20px;
                                }

                                .btn-init{
                                    visibility: visible;
                                    pointer-events: initial;
                                    opacity: 1;
                                    transition: opacity 0.3s linear, background-color 0.3s linear;
                                }
                            }
                        }
                    }
                }

                .btn-tabela{
                    display: block;
                    width: 100%;
                    max-width: 190px;
                    margin: 0 auto;
                    padding: 15px;
                    color: #FFFFFF;
                    font: normal 15px $fontRegular;
                    text-align: center;
                    background-color: #8C3C64;
                    border: none;
                    @include transicao(0.4s ease-in-out);

                    &:hover,&:focus{
                        background-color: #B96978;
                    }
                }
            }

            .tabela-aviso{
                display: block;
                margin: 0px;
                color: #1e1e1e;
                font-size: 20px;
                font-family: $fontRegular;
                font-weight: normal;
                text-align: center; 
            }
        }
    }
}

.modal{
    position: fixed;
    z-index: 2001;
    display: flex;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    padding: 15px;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transition: visibility 0s 0.3s, opacity 0.3s linear;

    .box-overlay{
        position: absolute;
        cursor: pointer;
        z-index: 1;
        width: 100%;
        height: 100%;
        top: 0px;
        left: 0px;
        background-color: rgba(0,0,0,0.7);
    }

    .box-conteudo{
        position: relative;
        z-index: 2;
        display: block;
        width: 100%;
        max-width: 840px;
        background-color: #FFFFFF;

        .fechar{
            position: absolute;
            display: flex;
            width: 40px;
            height: 40px;
            top: 0px;
            right: -40px;
            padding-right: 5px;
            border-radius: 0px 20px 20px 0px;
            background-color: #FFF;
            align-items: center;
            justify-content: center;

            &:before{
                @include sprite();
                display: flex;
                z-index: 2;
                content: "";
                width: 28px;
                height: 28px;
                align-items: center;
                justify-content: center;
                background-position: -40px -285px;
                background-color: #fff;
            }
        }

        .header{
            display: flex;
            height: 41px;
            padding: 0 4px;
            align-items: center;
            border-bottom: solid 1px #eee;

            ~ .conteudo{
                .body{
                    max-height: calc(80vh - 100px);

                    @media(max-height:300px){
                        max-height: calc(80vh - 120px);
                    }
                }

                &:last-child{
                    .body{
                        max-height: calc(80vh - 50px);

                        @media(max-height:300px){
                            max-height: calc(80vh - 70px);
                        }
                    }
                }
            }
        }

        .conteudo{
            width: 100%;
            height: 100%;

            .body{
                overflow: auto;
                padding: 30px 15px;
                max-height: calc(80vh - 50px);
            }

            &:last-child{
                .body{
                    max-height: 80vh;
                }
            }
        }

        .footer{
            display: flex;
            height: 65px;
            padding: 10px;
            align-items: center;
            border-top: solid 1px #eee;
        }
    }

    &.ativo{
        visibility: visible;
        pointer-events: initial;
        opacity: 1;
        transition: opacity 0.3s linear;
    }
}

#popup-cookies{
    position: fixed;
    z-index: 999;
    width: 100%;
    height: auto;
    left: 0px;
    bottom: 0px;
    padding: 5px;
    background-color: map-get($palletModalCookies, light);
    visibility: visible;
    pointer-events: initial;
    opacity: 1;
    transition: opacity 0.3s linear;

    .conteudo{
        display: block;
        width: 100%;
        padding: 15px;
        border: solid 1px map-get($palletModalCookies, borders);

        .texto{
            display: block;
            width: 100%;
            max-width: 650px;
            margin: 0px auto;
            margin-bottom: 15px;
            color: map-get($palletModalCookies, textDark);
            font: normal 15px $fontRegular;
            text-align: center;

            @media(max-width:575px){
                font-size: 14px;
            }
        }

        .opcoes{
            display: flex;
            width: 100%;
            align-items: center;
            justify-content: center;

            .opt{
                display: block;
                outline: 0px;
                width: 100%;
                padding: 10px;
                max-width: 215px;
                color: map-get($palletModalCookies, textDark);
                font: normal 15px $fontRegular;
                text-align: center;
                box-shadow: none;
                border-radius: map-get($palletModalCookies, borderRadius);
                border: solid 1px map-get($palletModalCookies, dark);
                background-color: map-get($palletModalCookies, light);
                @include transicao(0.4s ease-in-out);

                @media(max-width:575px){
                    font-size: 14px;
                    padding-left: 5px;
                    padding-right: 5px;
                }

                &.btn-aceitar{
                    margin-right: 15px;
                    color: map-get($palletModalCookies, textLight);
                    border-color: map-get($palletModalCookies, highlight);
                    background-color: map-get($palletModalCookies, highlight);
                }

                &:hover,&:focus{
                    color: map-get($palletModalCookies, textLight);
                    border-color: map-get($palletModalCookies, success);
                    background-color: map-get($palletModalCookies, success);
                }
            }
        }
    }

    &.inativo{
        visibility: hidden;
        pointer-events: none;
        opacity: 0;
        transition: visibility 0s 0.3s, opacity 0.3s linear;
    }
}

#saiba-mais-cookies{
    .box-conteudo{
        .fechar{
            display: none;
        }

        .conteudo{
            .body{
                .texto{
                    display: block;
                    width: 100%;
                    color: map-get($palletModalCookies, textDark);
                    font: normal 15px $fontRegular;

                    strong{
                        display: block;
                        margin: 0px;
                        margin-bottom: 10px;
                        font-weight: normal;
                        font-family: $fontBold;
                    }

                    p{
                        display: block;
                        margin: 0px;
                        margin-bottom: 10px;

                        &:last-of-type{
                            margin-bottom: 0px;
                        }
                    }
                }
            }

            .footer{
                display: flex;
                align-items: center;
                justify-content: flex-end;

                .btn-ok{
                    display: block;
                    outline: 0px;
                    width: 100%;
                    padding: 10px;
                    max-width: 215px;
                    color: map-get($palletModalCookies, textLight);
                    font: normal 15px $fontRegular;
                    text-align: center;
                    box-shadow: none;
                    border-radius: map-get($palletModalCookies, borderRadius);
                    border: solid 1px map-get($palletModalCookies, highlight);
                    background-color: map-get($palletModalCookies, highlight);
                    @include transicao(0.4s ease-in-out);

                    &:hover,&:focus{
                        color: map-get($palletModalCookies, textLight);
                        border-color: map-get($palletModalCookies, success);
                        background-color: map-get($palletModalCookies, success);
                    }
                }
            }
        }
    }
}

#whatsapp{
    position: fixed;
    z-index: 901;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 5px;
    bottom: 70px;
    right: 0px;
    transition: all .5s ease-in-out;

    .box-li{
        position: absolute;
        right: 48px;
        bottom: 0;
        min-width: 445px;
        border-radius: 5px;
        overflow: hidden;
        border: 1px solid #E5E5E5;
        background-color: #FFFFFF;
        transform: translateX(100%);
        visibility: hidden;
        pointer-events:none;
        opacity: 0;
        transition: visibility 0s 0.3s, opacity 0.3s linear, transform 0.3s linear;

        @media(max-width:575px){
            min-width: 350px;
        }
        
        .li{
            display: flex;
            width: 100%;
            padding: 14px 20px;
            color:#000000;
            font-size: 15px;
            font-family: $fontRegular;
            background-color: #fff;
    
            &:nth-child(odd){
                background-color: #EDEDED;
            }
        }
    }

    .box-hook{
        position: relative;
        width: 48px;

        .btn-hook{
            position: absolute;
            left: -29px;
            bottom: 36px;
            transform: rotate(-90deg);
            gap: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: none;
            background-color: #ededed;
            padding: 8px 16px;
            cursor: pointer;
            color: #737373;
            border: 1px solid #E5E5E5;
            border-radius: 5px 5px 0px 0px;
            
            
            .text{
                color: #737373;
                font-size: 15px;
                font-family: $fontSemibold;
            }
        }
    }

    &.active{
        .box-li{
            transform: translateX(0px);
            visibility: visible;
            pointer-events:initial;
            opacity: 1;
            transition: opacity 0.3s linear, transform 0.3s linear;
        }
    }

}

#popup-whatsapp{
    position: fixed;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    padding: 15px;
    visibility: hidden;
    pointer-events:none;
    opacity: 0;
    transition: visibility 0s 0.3s, opacity 0.3s linear;

    .box-overlay{
        position: absolute;
        z-index: 1;
        cursor: pointer;
        width: 100%;
        height: 100%;
        top: 0px;
        left: 0px;
        background-color: rgba(0,0,0,0.67);
    }

    .box-conteudo{
        position: relative;
        z-index: 2;
        display: block;
        width: 100%;
        max-width: 745px;
        max-height: 90vh;

        .fechar{
            position: absolute;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
            top: 12px;
            right: 12px;
            background-color: $highlight;
            border-radius: 100%;
        }

        .conteudo{
            display: flex;
            align-items: stretch;
            justify-content: center;
            width: 100%;

            .banner{
                display: flex;
                width: 100%;
                max-width: 300px;

                @media(max-width:767px){
                    display: none;
                }

                img{
                    display: block;
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }

            .content{
                position: relative;
                display: flex;
                flex-direction: column;
                width: 100%;
                max-width: 445px;
                padding: 75px 45px;
                background-color: #FFFFFF;

                @media(max-width:767px){
                    padding-left: 15px;
                    padding-right: 15px;
                }

                .title{
                    display: block;
                    margin: 0px;
                    margin-bottom: 20px;
                    color: $textoDark;
                    font: normal 31px $fontBlack;
                    line-height: 31px;
                }

                .subtitle{
                    display: block;
                    margin: 0px;
                    margin-bottom: 45px;
                    color: $textoDark;
                    font: normal 20px $fontMedium;
                    line-height: 27px;
                }

                .frmWhatsapp{
                    display: flex;
                    flex-direction: column;
                    width: 100%;
                    gap: 12px;

                    .frm-input{
                        display: flex;
                        flex-direction: column;
                        width: 100%;
                        gap: 12px;

                        input{
                            display: block;
                            outline: 0px;
                            width: 100%;
                            padding: 10px 15px;
                            border: 1px solid #CCCCCC;
                            background-color: #FFFFFF;
                            color: $textoDark;
                            font: normal 16px $fontMedium;
                            line-height: 22px;
                        }

                        .btn-form{
                            outline: 0px;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            width: 100%;
                            padding: 10px;
                            color: $textoLight;
                            font: normal 16px $fontBold;
                            line-height: 22px;
                            border: none;
                            background-color: $highlight;
                            @include transicao(0.4s ease-in-out);

                            &:hover,&:focus{
                                background-color: $success;
                            }
                        }

                        .text-form{
                            display: block;
                            margin: 0px;
                            color: $textoDark;
                            font: normal 12px $fontMedium;
                            line-height: 17px;
                        }
                    }
                }
            }
            
            &.has-banner{
                .content{
                    width: calc(100% - 300px);
                }
            }
        }
    }

    &.ativo{
        visibility: visible;
        pointer-events:initial;
        opacity: 1;
        transition: opacity 0.3s linear;
    }
}