/* GLOBAL STYLES -------------------------------------------------- */
/* lighter body text */
body {
    color: #5a5a5a;
}

/* height of sticky header*/
html {
    scroll-padding-top: 300px;
}

/* Remove setas 'up/down' dos inputs number (incluir botões -/+) -- */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/*input email - forçar minusculas*/
form input[type="email"] {
    text-transform: lowercase;
}

/*input do cupom força maiuscula*/
#idati_cupom {
    text-transform: uppercase;
}

/*em construção*/
#emconstrucao img {
    position: absolute;
    height: 50px;
    top: 5px;
    left: 15%;
}

@media (min-width: 992px) {
    #emconstrucao img {
        height: 95px;
        top: 10px;
        left: 1%;
    }
}

@media (min-width: 1200px) {
    #emconstrucao img {
        height: 120px;
        left: 4%;
    }
}

/*mudança na cor do checkbox*/
.form-check-input:checked {
    background-color: #6c757d;
    border-color: #6c757d;
}

/*tamanhos adicionais de fontes (classes)*/
.fs-7 {
    font-size: 0.9rem !important
}

.fs-8 {
    font-size: 0.8rem !important
}

.fs-9 {
    font-size: 0.7rem !important
}

/*Zoom on hover*/
.clati_zoom {
    transition: .25s linear;
}

.clati_zoom:hover {
    transform: scale(1.02);
}
/*Mudança da sombra on hover*/
.clati_shadow {
    transition: .25s linear;
}

.clati_shadow:hover {
    box-shadow: 0 .125rem 1rem rgba(0, 0, 0, .2) !important;
}

/*remove fundo light e contorno do header/footer dos cards*/
.clati_card-header, .clati_card-footer {
    border: none;
    background-color: #ffffff;
}

@media (min-width: 1200px) {
    .clati_card-footer a {
        font-size: 1rem !important
    }
}

/* Cores dos navpills---------------------------------*/
.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    background-color: #FFF;
}
.link-secondary:focus, .link-secondary:hover {
    background-color: #DDD;
}
.tab-pane:focus-visible, .nav-link:focus-visible {
    outline-color: transparent;
    outline-style: none;
    outline-width: 0;
}

/* muda a cor dos clati_sacola_count (round-pills/text-bg-warning)---------------------------*/
.clati_minha_sacola:hover > .clati_sacola_count, #idati_prod_comprado:hover {
    background-color:RGBA(255,163,7,var(--bs-bg-opacity,1))!important;
}

/* Whatsapp e backtotop icons------------------------------------------------------*/
.clati_btn-footer {
    bottom: 20px;
    z-index: 99;
}

#idati_btn-whatsicon {
    left: 20px;
    background: rgba(30, 160, 55, 1) linear-gradient(rgba(30, 210, 55, 1), rgba(30, 210, 55, 0));
    transition: background-color 200ms ease-in-out;
}

#idati_btn-whatsicon:hover {
    background-color: rgba(30, 130, 55, 1);
}

#idati_btn-backtotop {
    right: 20px;
    display: none;
}

@media (min-width: 992px) {
    .clati_btn-footer {
        bottom: 40px;
        width: 58px;
    }

    #idati_btn-whatsicon {
        left: 40px;
    }

    #idati_btn-backtotop {
        right: 40px;
    }
}

/* HEADER -------------------------------------------------- */
header {
    padding-bottom: 120px;
}

#idati_logoheader {
    height: 50px;
}

@media (min-width: 992px) {
    header {
        padding-bottom: 100px;
    }

    header nav {
        height: 100px;
    }

    #idati_logoheader {
        height: 70px
    }

    .offcanvas-body ul {
        font-size: 0.9rem !important
    }
}


@media (min-width: 1200px) {
    header {
        padding-bottom: 130px;
    }

    header nav {
        height: 130px;
    }

    #idati_logoheader {
        height: 100px
    }
}

/* Breadcrumb -------------------------------------------------- */
.breadcrumb {
    font-size: 0.8rem;
}

/* CARROSSEL -------------------------------------------------- */
/* Carousel base class */
/*.carousel {*/
    /*min-height: 250px;*/
/*}*/

/* Since positioning the image, we need to help out the caption */
/*.carousel-caption {*/
/*    bottom: 3rem;*/
/*    z-index: 10;*/
/*}*/

/* Declare heights because of positioning of img element */
/*.carousel-item {*/
/*    min-height: 250px;*/
/*}*/

.carousel-item > img {
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    min-width: 100%;*/
    min-height: 140px;
}

/* Bump up size of carousel content */
/*@media (min-width: 40em) {*/
/*    .carousel-caption p {*/
/*        margin-bottom: 1.25rem;*/
/*        font-size: 1.25rem;*/
/*        line-height: 1.4;*/
/*    }*/
/*}*/

/* DESTAQUES -------------------------------------------------- */
.destaque_item {
    margin-bottom: 1.5rem;
    text-align: center;
}

.destaque_item h2 {
    font-weight: 400;
}

.destaque_item p {
    margin-right: .75rem;
    margin-left: .75rem;
}

/* Imagens Home e pagina de pesquisa
--------------------------------------------------- */
.clati_produtoimg {
    height: 200px;
}

@media (min-width: 992px) {
    .clati_produtoimg {
        height: 270px;
    }
}

@media (min-width: 1200px) {
    .clati_produtoimg {
        height: 370px;
    }
}

.clati_produtoimg img {
    object-fit: contain;
    border-radius: 5px;
}

#idati_showsenha, #idati_btn_procurar {
    cursor: pointer;
}

/* Login / Cadastro / Endereço / Contato--------------------------------- */
#idati_login_main, #idati_cadastro_main, #idati_contato_main, #idati_endereco_main, #idati_admin_main, #idati_cupom_main {
    width: 100%;
    padding: 15px;
}
#idati_login_main {
    max-width: 400px;
}
#idati_cadastro_main, #idati_contato_main {
    max-width: 576px;
}
#idati_endereco_main {
    max-width: 800px;
}
#idati_admin_main {
    max-width: 700px;
}
#idati_cupom_main {
    max-width: 500px;
}
/*#idati_login_main .form-floating:focus-within {*/
/*    z-index: 2;*/
/*}*/

/* Produtos
--------------------------------------------------- */
.clati_prodcard {
    cursor: pointer;
    max-height: 127px;
}

.clati_prod_imagem {
    transition: all 200ms ease-in-out;
    opacity: 60%;
    object-fit: contain;
}

.clati_prod_imagem:hover {
    opacity: 100%;
}

.clati_activethumb {
    box-shadow: #555 0 0 5px;
    opacity: 100%;
}

.clati_prodcard_main {
    display: flex;
    justify-content: center;
}

.clati_prodcard_main img {
    object-fit: contain;
}

.clati_infoprod {
    font-family: Segoe UI, Verdana, Arial, Helvetica, sans-serif;
    font-size: 16px;
    white-space: pre-wrap;
    overflow-wrap: break-word;
}

/* Zoom styles */
.zoom, .original {
    position: relative;
}
.zoom {
    display: inline-block;
}
.original {
    cursor: crosshair;
    width: 80%;
}
.zoom .viewer {
    position: absolute;
    top: 0;
    left: 115%;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 99;
    box-shadow: #999 0 0 20px;
}
.zoom .viewer img {
    position: absolute;
}
.magnifier {
    position: absolute;
    background: #000;
    opacity: 0.6;
    top: 0;
    left: 0;
}
.magnifier, .viewer {
    display: none;
}
.original:hover ~ div {
    display: block;
}
.original::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/*Minha sacola entrega----------------------------------*/
#idati_end_entrega .card {
    cursor: pointer;
}

/* Paginação dos grids ---------------------------------*/
.pagination > li > a, .pagination > li > span{
    color: #5a5a5a !Important;
}
.page-link:hover {
    z-index: 2;
    border-color: #a6a6a6;
}
.page-item.active .page-link {
    z-index: 3;
    color: #ffffff !Important;
    background-color: #5c636a !important;
    border-color: #353535;
}
