/* 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;
}

/*------ Breadcrumb - removido do celular------------*/
#breadcrumb {
    display: none;
}
@media (min-width: 992px) {
    #breadcrumb {
        display: block;
    }
}

/* HEADER -------------------------------------------------- */
header {
    margin-bottom: 10px;
}
@media (min-width: 992px) {
    header {
        margin-bottom: 0;
    }
}

#idati_logoheader {
    max-width: 70px;
}

@media (min-width: 576px) {
    #idati_logoheader {
        max-width: 120px;
    }
}
@media (min-width: 992px) {
    #idati_logoheader {
        max-width: 150px;
    }
}

/*---------------- Grid -----------------------------*/
.label-grid {
    font-size: smaller;
    color: darkgrey;
}

/* Div dos botões -----------------------------------*/
.clati_div_buttons {
    z-index: 997;
}

.clati_div_buttons button {
    min-width: 130px;
}

/*Form-floatin label transparente*/
.form-floating > label::after {
    background-color: transparent !important;
}

#idati_overlay {
    position:fixed;
    top:0;
    left:0;
    height:100%;
    width:100%;
    z-index:1021;
    background-color: #f5f5f5;
    opacity: 0.5;
}

/*input do cupom força maiuscula*/
#idati_cupom {
    text-transform: uppercase;
}

/* SweetAlert - Evita a remoção da barra de rolagem da tela para não mudar o layout-*/
.swal2-shown {
    overflow: unset !important;
    padding-right: 0 !important;
}

/*Cores personalizasdas para area cooperado*/
/*.bg-light {*/
/*    background-color: #76a9c0 !important;*/
/*}*/

/*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;
}

/*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;
}

/* Footer -------------------------------------------*/
#idati_footer {
    z-index: 998;
}

/* Whatsapp e backtotop icons -----------------------*/
.clati_btn-footer {
    z-index: 999;
}

#idati_btn-whatsicon {
    right: 5px;
    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;
    bottom: 60px;
}

#idati_btn-whatsicon:hover {
    background-color: rgba(30, 130, 55, 1);
}

#idati_btn-backtotop {
    bottom: -100px;
    right: 5px;
    transition: bottom 500ms;
}

@media (min-width: 992px) {
    #idati_btn-whatsicon {
        right: 15px;
        width: 60px;
        height: 60px;
    }

    #idati_btn-backtotop {
        right: 20px;
    }
}

/* HEADER -------------------------------------------------- */
header {
    padding-bottom: 120px;
}

#idati_logoheader {
    max-height: 50px;
}

@media (min-width: 992px) {
    .offcanvas-body ul {
        font-size: 0.9rem !important
    }
}

/* 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 {
    max-width: 576px;
}

/* 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;
}

/*Altura da seleção de palavras dos Modelos de Exames-----*/
.clati_select_palavras {
    min-height: 305px;
    height: calc(100vh - 408px);
}

/*Altura dos grids admin-----*/
#idati_div_grid_adm {
    /*min-height: 305px;*/
    /*height: calc(100vh - 342px);*/
}

/*Novo painel administrador*/
.clati_bg_menu {
    background-color: var(--bs-primary-bg-subtle);
    /*background-color: #b6cffd;*/
}
.clati_bg_menu_title {
    background-color: var(--bs-info);
    /*background-color: #d7e6ff;*/
    color: var(--bs-primary);
    border-radius: 8px;
    padding: 2px;
}

.clati_painel_item:hover {
    background-color: var(--bs-light) !important;
}

.clati_bg_menu_opcao {
    font-size: 14px;
}

@media (min-width: 992px) {
    .clati_bg_menu_opcao {
        font-size: 18px;
    }
}

/* Offcanvas para inclusão produtos - Pedido de Vendas */
#win_produtos {
    height: 50vh !important;
}

/*offcanvas 100% height em mobiles*/
@media (max-width: 991px) {
    #win_produtos {
        height: 100vh !important;
    }
}

/*.clati_win_produtos {*/
/*    padding-left: 0;*/
/*    padding-right: 0;*/
/*}*/
#idati_div_grid_produtos {
    height: 50vh;
    overflow: scroll
}

@media (min-width: 768px) {
    /*.clati_win_produtos {*/
    /*    padding-left: 100px;*/
    /*    padding-right: 100px*/
    /*}*/
    #idati_div_grid_produtos {
        height: 25vh;
        overflow: scroll
    }
}
@media (min-width: 1024px) {
    /*.clati_win_produtos {*/
    /*    padding-left: 100px;*/
    /*    padding-right: 100px*/
    /*}*/
    #idati_div_grid_produtos {
        height: 25vh;
        overflow: scroll
    }
}
@media (min-width: 1440px) {
    /*.clati_win_produtos {*/
    /*    padding-left: 300px;*/
    /*    padding-right: 300px*/
    /*}*/
    #idati_div_grid_produtos {
        height: 25vh;
        overflow: scroll
    }
}
@media (min-width: 1880px) {
    /*.clati_win_produtos {*/
    /*    padding-left: 500px;*/
    /*    padding-right: 500px*/
    /*}*/
    #idati_div_grid_produtos {
        height: 25vh;
        overflow: scroll
    }
}

#idati_div_grid_pesquisa {
    height: 60vh;
    overflow: scroll;
}
#idati_div_grid_pesquisa a:focus, #idati_div_grid_pesquisa a:hover {
    background-color: var(--bs-secondary-bg-subtle);
}
@media (max-width: 576px) {
    #idati_div_grid_pesquisa a {
        border-bottom: 1px solid var(--bs-primary-bg-subtle);
    }
}
/* Upload de arquivos */
.container {
    /*width: 100%;*/
    /*margin-left: auto;*/
    /*margin-right: auto;*/
}
.upload-area {
    background: white;
    border: 1px dashed var(--bs-secondary);
    min-height: 150px;
    /*line-height: 150px;*/
    text-align: center;
    border-radius: 10px;
}
.upload-area-hover {
    /*background: #b8ffb8;*/
    background: var(--bs-success-bg-subtle);
    border-color:  var(--bs-success);
}

select[readonly] {
    background: #e7eaed; /*Simular campo inativo - Sugestão @GabrielRodrigues*/
    pointer-events: none;
    touch-action: none;
}