/*
JQuery / Javascript
Tela: Cadastro de Fornecedor
Criação: 25/04/2020 by Alexandre Bredariol
Data Alteração: 
Versão: 1.01
Historico ultima alteraçao: 
*/

/* Layout ****************************************************************** */
html,
body,
.capa {
    height: 100%;
    overflow: auto;
    /*scroll-behavior: smooth; */
}

body {
    background-attachment: fixed;
    font-family: Segoe UI, SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif;
    /* Helvetica, Arial, sans-serif;*/
    overflow-x: hidden;
}

.tab-content {
    border: 1px #666666;
    border-style: solid;
}


/*--- Barra Navegacao ---*/
.img-logo {
    height: 40px;
    width: 132px;
    display: block;
    background: url('imagens/qualiclean-logo.png') no-repeat;
    background-size: contain;
    color: transparent;
    margin-left: 30px;
}

.img-logo-login{
    height: 92px;
    width: 180px;
    background: url('imagens/logo.png') no-repeat;
    background-size: contain;
    color: transparent;
    margin: 50px 190px 50px 190px;
    background-position: center center;
}

.foto-usuario {
    height: 100px;
    width: 100px;
    background-image: url('imagens/logo_180_92.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    /*border: 2px solid rgba(0, 0, 0, 0.6);*/
    border-radius: 60px;
    margin-top: 12px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

/*****  TEXTOS ****/
.texto-cpy-rgt {
    height: 30px;
    text-align: right;
    vertical-align: middle;
    font-size: 12px;
    color: #6E6E6E;
}

.texto-ref-titulo-tela {
    text-align: right;
    vertical-align: middle;
    font-size: 12px;
    color: #6E6E6E;
    margin-top: 10px;
    margin-bottom: -12px;
}

.texto-ref-titulo-tela-lg {
    text-align: right;
    vertical-align: middle;
    font-size: 30px;
    color: #6E6E6E;
    margin-top: 10px;
    margin-bottom: -12px;
}

.texto-titulo-sessao {
    text-align: left;
    vertical-align: middle;
    font-size: 12px;
    color: #6E6E6E;
    margin-bottom: 10px;
}

.texto-titulo-tela {
    text-align: right;
    vertical-align: middle;
    font-size: 30px;
    color: #6E6E6E;
}

.texto-titulo-tela-lg {
    text-align: right;
    vertical-align: middle;
    font-size: 50px;
    color: #6E6E6E;
}

.texto-titulo-grupo {
    text-align: left;
    vertical-align: middle;
    font-size: 20px;
    color: #151515;
    background-color: #BDBDBD;
    border-radius: 5px 5px 0px 0px;
    padding-left: 10px;
    border-bottom: 1px solid black;
}

.texto-padrao {
    text-align: left;
    vertical-align: middle;
    font-size: 12px;
}

.texto-padrao-md {
    text-align: left;
    vertical-align: middle;
    font-size: 28px;
}

.texto-padrao-lg {
    text-align: left;
    vertical-align: middle;
    font-size: 30px;
}

.num {
    text-align: right !important;
}

.img {
    text-align: center !important;
}

.grid-cabecalho {
    font-size: 13px !important;
}


.grid-rodape {
    font-weight: bold !important;
    background-color: #e9ecef !important;
}

.red {
    color: red !important;
}

.blue {
    color: blue !important;
}

.texto-pesquisa-popup {
    text-align: left;
    vertical-align: middle;
    font-size: 12px;
}

.texto-pesquisa-popup-lg {
    text-align: left;
    vertical-align: middle;
    font-size: 30px;
}

.texto-ref-titulo-tela-filtro {
    text-align: left;
    vertical-align: middle;
    font-size: 20px;
    color: #6E6E6E;
    margin-top: 80px;
    margin-bottom: -12px;
}

.texto-titulo-tela-pesquisa {
    text-align: left;
    vertical-align: middle;
    font-size: 16px;
    font-weight: bold;
    color: #004085;
    margin-bottom: 10px;
}

.texto-titulo-tela-pesquisa-lg {
    text-align: left;
    vertical-align: middle;
    font-size: 32px;
    font-weight: bold;
    color: #004085;
    margin-bottom: 10px;
}

/***** ajustes de tela bootstrap *****/

.dropdown-menu-login {
    width: 500px !important;
}

.navbar-transparente {
    padding: 15px 0px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
}

.navbar-transparente .nav-link {
    color: white !important;
}

.nav-tabs .nav-link.active {
    background: #ddd !important;
}

.nav-tabs .nav-link {
    color: black !important;
}


/***** tags padroes *****/
label {
    margin-bottom: 1px;

}


.img-principal {
    background: url('imagens/login_fundo_1.jpg') no-repeat;
    box-sizing: inherit;
    background-size: cover;
    width: 100%;
    height: 90%;
}

.img-start {
    background: url('imagens/start_01.jpg') no-repeat;
    box-sizing: inherit;
    background-size: cover;
    width: 100%;
    height: 100%;
}

.texto-capa {
    text-align: left;
    color: white;
    vertical-align: bottom;
    padding: 230px 0px 300px 10px;
    text-shadow: 1px 2px 2px rgba(150, 150, 150, 0.70);
}

.box-capa {
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 10px 10px 15px;
    border-radius: 5px;
}


/***** pesquisa *****/

.pesquisa-box-sm {
    width: 40%;
    height: 50%;
    margin: 0em;
    left: 30%;
    top: 30%;
    border: 1px solid gray;
    background: white;
    position: fixed;
    overflow: auto;
    z-index: 10;
}

.pesquisa-box {
    width: 70%;
    height: 50%;
    margin: 0em;
    left: 15%;
    top: 30%;
    border: 1px solid gray;
    background: white;
    position: fixed;
    overflow: auto;
    z-index: 10;
}

.pesquisa-box-n2 {
    width: 70%;
    height: 50%;
    margin: 0em;
    left: 17%;
    top: 35%;
    border: 1px solid gray;
    background: white;
    position: fixed;
    overflow: auto;
    z-index: 15;
}

.pesquisa-box-n3 {
    width: 70%;
    height: 60%;
    margin: 0em;
    left: 15%;
    top: 30%;
    border: 1px solid gray;
    background: white;
    position: fixed;
    overflow: auto;
    z-index: 10;
}

.pesquisa-box-lg {
    width: 70%;
    height: 70%;
    margin: 0em;
    left: 15%;
    top: 15%;
    border: 1px solid gray;
    background: white;
    position: fixed;
    overflow: auto;
    z-index: 10;
}

.pesquisa-box-mob {
    width: 86%;
    height: 50%;
    margin: 0em;
    left: 7%;
    top: 30%;
    border: 1px solid gray;
    background: white;
    position: fixed;
    overflow: auto;
    z-index: 10;
}

.pesquisa-box-mob-n2 {
    width: 85%;
    height: 50%;
    margin: 0em;
    left: 9%;
    top: 35%;
    border: 1px solid gray;
    background: white;
    position: fixed;
    overflow: auto;
    z-index: 15;
}

.pesquisa-box-mob-n3 {
    width: 85%;
    height: 60%;
    margin: 0em;
    left: 11%;
    top: 30%;
    border: 1px solid gray;
    background: white;
    position: fixed;
    overflow: auto;
    z-index: 10;
}

.pesquisa-box-mob-lg {
    width: 85%;
    height: 70%;
    margin: 0em;
    left: 15%;
    top: 15%;
    border: 1px solid gray;
    background: white;
    position: fixed;
    overflow: auto;
    z-index: 10;
}

/***** configuracoes de redimensionamento *****/
@media screen and (max-width: 992px) {

    .nav-link,
    .dropdown-item {
        font-size: 30px !important;
    }

    .texto-padrao {
        font-size: 20px;
    }

}

/***** Rodapé *****/

footer {
    background: #3c3d41;
    padding: 5px 0px 5px 0px;
    position: relative;
}

#footer-ini {
    background-color: #3c3d41;
    color: white;
    padding-top: 10px;
}

#footer-ini .footer-copyright {
    background-color: #333333;
    padding-top: 3px;
    padding-bottom: 3px;
    text-align: center;
}

#footer-ini .logo {
    background: url('imagens/focus-footer.png') no-repeat;
    box-sizing: inherit;
    background-size: contain;
    display: block;
    color: transparent;
    margin-top: 10px;
    width: 90%;
    height: 90%;
}

#footer-ini .row {
    margin-bottom: 15px;
}

#footer-ini .navbar-brand {
    margin-top: 45px;
    height: 65px;
}

#footer-ini .footer-copyright p {
    margin: 10px;
    color: #ccc;
}

#footer-ini ul {
    list-style-type: none;
    padding-left: 0;
    line-height: 1.7;
}

#footer-ini h5 {
    font-size: 18px;
    color: white;
    font-weight: bold;
    margin-top: 10px;
}

#footer-ini h2 a {
    font-size: 50px;
    text-align: center;
    color: #fff;
}

#footer-ini a {
    color: #d2d1d1;
    text-decoration: none;
}

#footer-ini a:hover,
#footer-ini a:focus {
    text-decoration: none;
    color: white;
}

#footer-ini .social-networks {
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

#footer-ini .social-networks a {
    font-size: 32px;
    color: #f9f9f9;
    padding: 10px;
    transition: 0.2s;
}

#footer-ini .social-networks a:hover {
    text-decoration: none;
}


#footer-ini .linkedin {
    background: url('imagens/linkedin.png') no-repeat;
    box-sizing: inherit;
    background-size: cover;
    display: block;
    color: transparent;
    margin-top: 0px;
    width: 32px;
    height: 32px;
}

#footer-ini .facebook {
    background: url('imagens/facebook.png') no-repeat;
    box-sizing: inherit;
    background-size: cover;
    display: block;
    color: transparent;
    margin-top: 0px;
    width: 32px;
    height: 32px;
}

#footer-ini .twitter {
    background: url('imagens/twitter.png') no-repeat;
    box-sizing: inherit;
    background-size: cover;
    display: block;
    color: transparent;
    margin-top: 0px;
    width: 32px;
    height: 32px;
}


#footer-ini .btn {
    color: white;
    background-color: #d84b6b;
    border-radius: 20px;
    border: none;
    width: 150px;
    display: block;
    margin: 0 auto;
    margin-top: 10px;
    line-height: 25px;
}

@media screen and (max-width: 767px) {
    #footer-ini {
        text-align: center;
    }
}

/* tables - ajuste para ficar com header fixa **********************/
/* --- 1 linha --- */
.tableFixHead thead th {
    position: sticky;
    top: -1px;
    z-index: 1;
    box-shadow: inset 1px 1px #E6E6E6, 0 1px #E6E6E6;
}

/* --- 2 linhas --- */
.tableFixHead2Lines thead tr.first th,
thead tr.first td {
    position: sticky;
    top: 0px;
    box-shadow: inset 1px 1px #E6E6E6, 0 1px #E6E6E6;
}

.tableFixHead2Lines thead tr.second th,
thead tr.second td {
    position: sticky;
    top: 42px;
    box-shadow: inset 1px 1px #E6E6E6, 0 1px #E6E6E6;
}

/* --- auto dimensiona colunas grid --- */
.table td.fit,
.table th.fit {
    white-space: nowrap;
    width: 1%;
}

/* --- alinha texto no meio da linha  --- */
.table tr th .form-check,
.table tr th .form-check-input,
.table tr td .form-check,
.table tr td .form-check-input {
    margin: 0;
}

.table tr th,
.table tr td {
    vertical-align: middle;
}

/* tables - células editáveis */
table.table-editable tr td[contenteditable|="true"] {
    background-color: #fdfacb;
}

table.table-editable tr td {
    position: relative;
}

table.table-editable tr td input,
table.table-editable tr td textarea {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    margin: 0;
    height: 100%;
    width: 100%;
    border: none;
    padding: 10px;
    box-sizing: border-box;
    background-color: #fdfacb;
}