﻿@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400&display=swap');

/** Geral ********************************************************************************/
/*****************************************************************************************/
html, body{
    --bs-primary: #607c9c;
    --bs-secondary: #607c9c;
    --bs-success: #198754;
    --bs-warning: #D9A300;
	font-family: 'Open Sans', sans-serif;
    font-family: 'Lato', sans-serif;
    width: 100%;
    font-size: 1em;
}

.form-floating>.form-control, .form-floating>.form-select{
    height: calc(2.7rem) !important;
    line-height: 1.25;
}

.form-floating>label {
    padding: 0.7rem .75rem !important;
}

.font-bold{
    font-weight: bold;
}

.font-large{
    font-size: large;
}

.font-medium{
    font-size: medium;
}

.font-small{
    font-size: small;
}

.form-control, option, label, .form-select, a{
    cursor: pointer !important;
}

#dynamic-modal-produtos{
    z-index: 1062 !important;
}
/*****************************************************************************************/
/*****************************************************************************************/


/** Botões *******************************************************************************/
/*****************************************************************************************/
.btn-success, .btn-success:hover{
    background-color: var(--bs-success);
    border-color: var(--bs-success);
}

.btn-warning, .btn-warning:hover{
    background-color: var(--bs-warning);
    border-color: var(--bs-warning);
    color: #fff;
}

.btn-danger, .btn-danger:hover {
    background-color: var(--bs-danger);
    border-color: var(--bs-danger);
    color: #fff;
}

.btn-filtros{
    border: none;
    background-color: transparent;
}
/*****************************************************************************************/
/*****************************************************************************************/


/** Labels *******************************************************************************/
/*****************************************************************************************/
#lbl-cnpj, #lbl-senha{
    font-size: 0.8em;
}

#lbl-error{
    font-size: 0.8em;
    font-weight: 600;
    color: var(--bs-danger);
}

#lbl-success{
    font-size: 0.8em;
    font-weight: 600;
    color: var(--bs-primary);
}
/*****************************************************************************************/
/*****************************************************************************************/


/** Links ********************************************************************************/
/*****************************************************************************************/
a{
    color: #000;
}

#lnk-login, #lkn-back{
    text-decoration: underline;
    color: var(--bs-primary);
    font-size: 0.85em;
    font-weight: 600;
    border: none;
    background-color: transparent;
    cursor: pointer;
}
/*****************************************************************************************/
/*****************************************************************************************/


/** Componentes **************************************************************************/
/*****************************************************************************************/
/* Tooltip container */
.balloon {
    position: relative;
    display: inline-block;
}

/* Tooltip text */
.balloon .balloon {
    visibility: visible;
    width: 50px;
    background-color: var(--bs-danger);
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 10px;
    font-size: 0.8em;

    /* Position the tooltip text */
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -20px;
    opacity: 1;
}

/* arrow */
.balloon .balloon::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--bs-danger) transparent transparent transparent;
}

.select2-selection__rendered {
    padding-top: 0.5em;
    line-height: 2.7em !important;
}

.select2-container .select2-selection--single {
    height: 2.7em !important;
}

.select2-selection__arrow {
    height: 2.7em !important;
}

.form-floating>.form-select{
    padding-top: 1.2rem !important;
    padding-bottom: 0rem !important;
}

.form-floating>.form-control:focus, .form-floating>.form-control:not(:placeholder-shown){
    padding-top: 1.2rem !important;
    padding-bottom: 0rem !important;
}
/*****************************************************************************************/
/*****************************************************************************************/


/** Tabelas ******************************************************************************/
/*****************************************************************************************/
.bg-primary{
    background-color: var(--bs-primary) !important;
}

table td, table th{
    vertical-align: middle !important;
}

thead th{
    font-weight: 500;
}

tbody tr{
    font-size: 0.8em;
}

table tr:hover, table .text-blue:hover{
    background-color: var(--bs-primary) !important;
    color: #fff !important;
    cursor: pointer;
    --bs-table-striped-color: #fff;
}

.text-blue{
    color: #0080FF !important;
}

.table-striped>tbody>tr:nth-of-type(odd)>* {
    color: inherit;
}

.table>:not(caption)>*>* {
    padding: .1rem .5rem !important;
}


/*****************************************************************************************/
/*****************************************************************************************/


/** Pre-loader ***************************************************************************/
/*****************************************************************************************/
#preloader {
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-color: var(--bs-primary) !important; /* cor do background que vai ocupar o body */
    z-index: 99999; /* z-index para jogar para frente e sobrepor tudo */
}

#preloader .inner {
    position: absolute;
    top: 50%; /* centralizar a parte interna do preload (onde fica a animação)*/
    left: 50%;
    transform: translate(-50%, -50%);
}

.bolas > div {
    display: inline-block;
    background-color: #fff;
    width: 25px;
    height: 25px;
    border-radius: 100%;
    margin: 3px;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    animation-name: animarBola;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.bolas > div:nth-child(1) {
    animation-duration:0.75s ;
    animation-delay: 0;
}

.bolas > div:nth-child(2) {
    animation-duration: 0.75s ;
    animation-delay: 0.12s;
}

.bolas > div:nth-child(3) {
    animation-duration: 0.75s  ;
    animation-delay: 0.24s;
}

@keyframes animarBola {
    0% {
      -webkit-transform: scale(1);
      transform: scale(1);
      opacity: 1;
    }

    16% {
      -webkit-transform: scale(0.1);
      transform: scale(0.1);
      opacity: 0.7;
    }

    33% {
      -webkit-transform: scale(1);
      transform: scale(1);
      opacity: 1;
    }
}
/*****************************************************************************************/
/*****************************************************************************************/


/** Animation ****************************************************************************/
/*****************************************************************************************/
.text-load{
    font-size: 1.2em;
    color: var(--bs-primary);
    font-weight: 600;
}

.animation{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    transform: scale(1);
    z-index: 999;
    position: absolute;
    top: 0;
    background-color:rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

.div-hidden{
    visibility: hidden !important;
}

.image{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    transform: scale(0.8);
    z-index: 999;
    position: absolute;
    top: 0;
}

.c-loader {
    animation: is-rotating 1s infinite;
    border: 8px solid var(--bs-primary);
    border-radius: 50%;
    border-top-color: #e5e5e5;
    height: 300px;
    width: 300px;
}

@keyframes is-rotating {
    to { transform: rotate(1turn); }
}
/*****************************************************************************************/
/*****************************************************************************************/


/** Login ********************************************************************************/
/*****************************************************************************************/
#frm-login{
    width: 50%;
}

#home{
    height: 100%;
}

#home-img{
    background: url(../images/fundo.fw.png) no-repeat;
    background-size: cover;
}

#cnpj_cpf, #senha{
    color: #000;
    background-color: #ccc;
    border-color: 1px solid #ccc;
    font-size: 0.8em;
}
/*****************************************************************************************/
/*****************************************************************************************/


/** Menu *********************************************************************************/
/*****************************************************************************************/
.navbar{
    position: fixed;
    top:0%;
    width: 100%;
    z-index: 999;
    border-bottom: 1px solid var(--bs-primary);
    background-color: #fff;
    height: 70px;
}

.navbar-light .navbar-nav .nav-link:hover{
    color: var(--bs-primary);
}

.mn-cliente{
    font-size: 0.7em;
    white-space: nowrap;
    overflow: hidden;
}

.navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .show>.nav-link {
    color: var(--bs-primary);
}
/*****************************************************************************************/
/*****************************************************************************************/


/** Cabeçalho ****************************************************************************/
/*****************************************************************************************/
#catalogo{
    margin-top: 115px;
}

#catalogo-filter{
    background-color: #fff;
    border-bottom: 2px solid var(--bs-primary);
}

.row-img{
    width: 300px;
    height: 300px;
}

.cabecalho{
    position: relative;
    margin-top: 80px;
}

#valores{
    position: sticky !important;
    top: 80px;
    z-index: 998;
    background-color: #fff;
}
/*****************************************************************************************/
/*****************************************************************************************/


/** Pagination ***************************************************************************/
/*****************************************************************************************/
.page-item.active .page-link, .page-link:hover{
    color: #fff;
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.page-link{
    color: #000;
}
/*****************************************************************************************/
/*****************************************************************************************/


/** Mensagens ****************************************************************************/
/*****************************************************************************************/
.alert{
    position: fixed;
    top:30px;
    border-radius: 3px;
    width: 98%;
    padding:1%;
    margin: 1%;
    margin-right:1%;
    z-index: 1098;
}

.alert ul{
    padding:0 0 0 1%;
    margin: 0;
}

.btn-close-div{
    position: absolute;
    top: 20%;
    right: 1%;
    cursor: pointer;
}
/*****************************************************************************************/
/*****************************************************************************************/


/** Inicio enviado ***********************************************************************/
/*****************************************************************************************/
#enviado{
    color: #fff;
    background-color: #006600;
    height: 100%;
}

#enviado h1{
    font-weight: 600;
}

#enviado a{
    color: #fff;
    text-decoration: none;
}

#enviado .fa-check-circle{
    font-size: 600%;
}

#error{
    color: #fff;
    background-color: #f36565;
}
/*****************************************************************************************/
/*****************************************************************************************/


/** Slide Ofertas ************************************************************************/
/*****************************************************************************************/
@keyframes scroll {
	0% { transform: translateX(0); }
	100% { transform: translateX(calc(-250px * 7))}
}

.slider {
	background: white;
	box-shadow: 0 10px 20px -5px rgba(0, 0, 0, .125);
	height: 100px;
	margin: auto;
	overflow:hidden;
	position: relative;
	width: 100%;
}

.slide-track {
    animation: scroll 40s linear infinite;
    display: flex;
    width: calc(250px * 14);
}

.slide {
    height: 100px;
    width: 250px;
}
/*****************************************************************************************/
/*****************************************************************************************/


/** Mobile *******************************************************************************/
/*****************************************************************************************/
@media screen and (max-width: 600px){
    html, body{
        font-family: 'Arial';
        overflow-x: hidden !important;
    }

    #home-img, .pagination{
		display: none !important;
	}

    #valores, #filtros{
        display: hidden ;
    }

    .navbar>.container-fluid{
        background-color: #fff;
    }

    .navbar-collapse{
        border: 1px solid #ccc;
        padding: 2%;
    }

    .nav-fill .nav-item{
        text-align: left;
    }

    .balloon .balloon {
        bottom: 0%;
        left: 120%;
    }

    /* arrow */
    .balloon .balloon::after {
        border-color: transparent transparent transparent transparent;
    }

    #div-table{
        overflow-x:auto;
        padding-left: 0%;
    }

    .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12{
        margin-top: 2% !important;
    }

    #catalogo{
        margin-top: 110px;
    }

    #catalogo-filter{
        background-color: #fff;
        border-bottom: 2px solid var(--bs-primary);
    }

    .row-img{
        width: 250px;
        height: 250px;
    }

    #iframe{
        width: auto;
    }

    #img-banco{
        width: 150%;
    }
}
/*****************************************************************************************/
/*****************************************************************************************/


/** Print ********************************************************************************/
/*****************************************************************************************/
@media print
{
    @page {
        size: 21cm 29.7cm;
        display: block;
        margin: 0.5cm auto;
    }

    *{
        visibility: hidden;
        overflow-y: hidden;
    }

    #iframe, #iframe * {
        visibility: visible;
    }

    #iframe {
        position: fixed;
        top: 0px;
        margin-left: 0px;
        width: 21cm;
        height: 29.7cm;
    }
}
/*****************************************************************************************/
/*****************************************************************************************/

