﻿
* {
    box-sizing: border-box;
}

body {
    font-family: Arial,Verdana,Tahoma,sans-serif,Geneva,Helvetica;
}

body {
    margin: 0;
}

input {
    font-size: 14px;
}

.barratituloform {
    display: block;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
    border-bottom: 1px solid darkgray;
    width: 100%;
    background-color: #1e4962;
    color: white;
    font-size: 16px;
    font-weight: bold;
}
.tituloformAntigo {
    display: block;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 5px;
    border-bottom: 1px solid darkgray;
    width: 100%;
    background-color: #296282;
    color: white;
    font-size: 30px;
    font-weight: bold;
}
.tituloform {
    display: block;
    padding: 7px;
    width: 100%;
    background-color: #245269;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 1px solid white;
    /*opacity: 0.9;*/
}

.iconfecharform {
    color: white;
    float: right;
    padding-right: 10px;
    font-size: 18px;
    cursor: pointer;
}
.iconfecharform:hover {
    color: #1ab188;
}


.titulofiltros {
    font-size: 20px;
    font-weight: bold;
}

.posicaoform {
    position: absolute;
    top: 77px;
    width: 100%;
}

/*Classes padrao da Div Pesquisa*********************************************************************************/

.divopcoespesquisa {
    width: 20%;
    float: left;
    margin-bottom: 10px;
    padding-right: 5px;
}

.comboopcoespesquisa {
    float: left;
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    background-color: #f2f2f2;
    font-size: 14px;
}

.divcampospesquisa {
    width: 50%;
    float: left;
    margin-bottom: 10px;
    /*padding-left: 5px;*/
    padding-right: 5px;
}

.inputpesquisa {
    width: 80%;
    float: left;
    height: 40px;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    background-color: #f2f2f2;
}

.combospesquisa {
    float: left;
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    background-color: #f2f2f2;
    font-size: 14px;
}

.divbotoesadicionarfechar {
    width: 30%;
    display: block;
    float: left;
    margin-bottom: 10px;
}

.botoesadicionarfechar {
    width: 50%;
    float: left;
    height: 41px;
    padding: 10px;
    background-color: #296282;
    color: white;
    font-size: 14px;
    border: 1px solid #ccc;
    border-left: none;
    cursor: pointer;
    text-align: center;
}

.botoesadicionarfechar:hover {
    background: #245269;
}

.botaopesquisar {
    width:20%;
    float: left;
    height: 41px;
    padding: 10px;
    background-color: #296282;
    color: white;
    font-size: 14px;
    border: 1px solid #ccc;
    border-left: none;
    cursor: pointer;
    text-align: center;
}

.botaopesquisar:hover {
    background: #245269;
}

.botoesfiltros {
    width: 120px;
    height: 35px;
    background-color: #245269;
    border: none;
    color: white;
    padding: 5px;
    text-align: center;
    font-size: 14px;
    font-weight: normal;
    cursor: pointer;
    opacity: 0.9;
}

    .botoesfiltros:hover {
        color: #1ab188;
        opacity: 1;
    } 

/*PAGINACAO********************************************/
.alinhapaginacao {
    display:block;
    float:right;
    margin-top:10px;
    text-align: right;
}
.pagination {
    display: inline-block;
}
.pagination a {
    color: black;
    float: left;
    padding: 4px 10px;
    text-decoration: none;
    transition: background-color .3s;
    border: 1px solid #ddd;
    cursor: pointer;
}
.pagination a.active {
    background-color: #296282;
    color: white;
    text-decoration: none;
    border: 1px solid #ddd;
}
.pagination a:hover:not(.active) {
    background-color: #245269;
    color: white;
}

.BotaoEditarPesquisa {
    width: 40px;
    padding: 10px;
    background-color: #296282;
    color: white;
    font-size: 14px;
    border: 1px solid #ccc;
    cursor: pointer;
    opacity: 0.9;
}

.BotaoEditarPesquisa:hover {
    /*background: #245269;*/
    color: white;
    opacity: 1;
}

.BotaoExcluirPesquisa {
    width: 40px;
    padding: 10px;
    background-color: #f44336;
    color: white;
    font-size: 14px;
    border: 1px solid #ccc;
    cursor: pointer;
    opacity: 0.9;
}

.BotaoExcluirPesquisa:hover {
    /*background: #ff0000;*/
    color: white;
    opacity: 1;
}

.cabecalhograde {
    font-size: 14px;
    background-color: #296282;
    color:white;
    font-weight:bold;
    height:30px;
}

.GradeTabela {
    border-collapse: collapse;
    width: 100%;
}

.GradeTabela Tr:nth-child(even) {
    background-color: #ddd;
}

.botoesgrade {
    padding: 8px;
    font-size: 18px;
    /*color: #f2f2f2;*/
    /*color: #296282;*/
    color: #1ab188; 
    cursor: pointer;
    text-decoration: none;
}
.botoesgrade:hover {
    text-decoration: none;
    color: #296282;
}
.linhasgrade {
    /*background-color: #245269;*/
    /*color: #f2f2f2;*/
    font-size:14px;
    background-color:#f2f2f2;
    color:black;
}
.camposgrade {
    padding:5px;
}

.labeledicao {
    font-weight: bold;
}

.camposedicao {
    width: 100%;
    height: 35px;
    font-size: 16px;
    font-weight:normal;
    padding: 5px;
    border: 1px solid #ccc;
    background-color: #f2f2f2;
    border-radius: 5px;
}

.combosfiltros {
    height: 30px;
    padding: 2px;
    border: 1px solid #ccc;
    background-color: #f2f2f2;
    font-size: 14px;
    font-weight: normal;
}

.camposfiltros {
    /*display: inline;*/
    height: 35px;
    padding: 5px;
    font-size: 16px;
    border: 1px solid #ccc;
    background-color: #f2f2f2;
    font-weight: normal;
    border-radius: 5px;
}

/******************************************************************************************************/
.quadroedicao {
    display: none;
    position: fixed;
    z-index: 99;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(60, 60, 60, 0.8);
}
.quadroedicao-content {
    display:block;
    background-color: #fefefe;
    /*margin-top: 40px;*/
    margin-right: auto;
    margin-left: auto;
    /*border: 1px solid #888;*/
    /*width: 50%;*/
}

.quadromensagem {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 100; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(60, 60, 60, 0.8);
    /*padding-top: 30px;*/
}
.quadromensagem-content {
    display: block;
    background-color: #fefefe;
    margin-top: 10%;
    margin-right: auto;
    margin-left: auto;
    width: 50%;
    padding:16px;
}
.quadromensagem-container {
    font-size:16px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: left;
    border-radius: 5px;
}
.quadromensagem-fechar {
    position: absolute;
    right: 35px;
    top: 15px;
    font-size: 30px;
    font-weight: bold;
    color: #f1f1f1;
}
.quadromensagem-fechar:hover,
.quadromensagem-fechar:focus {
    color: #f44336;
    cursor: pointer;
}



.modaldadosgravados {
    display:none;
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(60, 60, 60, 0.8);
    /*padding-top: 30px;*/
}

.modaldadosgravados-content {
    background-color: #fefefe;
    /*margin: 7% auto 15% auto;*/ /* 5% from the top, 15% from the bottom and centered */
    margin-top: 20%;
    margin-right: auto;
    margin-left: auto;
    /*margin-bottom:10%;*/
    border: 1px solid #888;
    width: 30%; /* Could be more or less, depending on screen size */
}

.modaldadosgravados-container {
    padding: 16px;
    text-align: left;
}

.modaldadosgravados-fechar {
    position: absolute;
    right: 35px;
    top: 15px;
    font-size: 30px;
    font-weight: bold;
    color: #f1f1f1;
}

.modaldadosgravados-fechar:hover,
.modaldadosgravados-fechar:focus {
    color: #f44336;
    cursor: pointer;
}

.btnmodaldadosgravados {
    background-color: #4CAF50;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    opacity: 0.9;
    width: 100%;
}

.btnmodaldadosgravados:hover {
    opacity: 1;
}

.btncancelarconfexclusao, .btnexcluirconfexclusao, .btnexecutarconfirmacao, .btncancelarconfirmacao {
    background-color: #4CAF50;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    opacity: 0.9;
    float: left;
    width: 50%;
}
.btncancelarconfexclusao:hover, .btnexcluirconfexclusao:hover,.btnexecutarconfirmacao:hover,.btncancelarconfirmacao:hover {
    opacity: 1;
}
.btncancelarconfexclusao,.btncancelarconfirmacao {
    background-color: #ccc;
    color: black;
}
.btnexcluirconfexclusao,.btnexecutarconfirmacao {
    background-color: #f44336;
}


.btnconfirmargravar, .btncancelargravar{
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    opacity: 0.9;
    float: left;
    width: 50%;
}
.btnconfirmargravar:hover, .btncancelargravar:hover {
    opacity: 1;
}
.btncancelargravar {
    background-color: #f44336;
}
.btnconfirmargravar {
    background-color: #4CAF50;
}


.btngravaredicao, .btncancelaredicao {
    /*background-color: #4CAF50;*/
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    opacity: 0.9;
    float: left;
    width: 50%;
    font-size:16px;
}

.btngravaredicao:hover, .btncancelaredicao:hover {
    opacity: 1;
}

.btngravaredicao {
    background-color: #4CAF50; /*verde claro*/
}

.btncancelaredicao {
    background-color: #f44336;
}

/* Style the horizontal ruler */
hr {
    border: 1px solid #f1f1f1;
    margin-bottom: 25px;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.botaosalvar, .botaocancelar,.botaoalerta {
    width: 120px;
    border: none;
    color: #ffffff;
    padding: 14px;
    font-size: 17px;
    cursor: pointer;
    border-radius: 5px;
    opacity: 0.9;
}
.botaosalvar {
    background-color: #4CAF50;
}
.botaocancelar {
    background-color: #f44336;
}
.botaoalerta {
    background-color: #ff6a00;
}
.botaosalvar:hover,.botaocancelar:hover,.botaoalerta:hover {
    opacity: 1;
}

.switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}
.slider:before {
    position: absolute;
    content: "";
    height: 17px;
    width: 17px;
    left: 3px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}
input:checked + .slider {
    background-color: #2196F3;
}
input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}
input:checked + .slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
}
.slider.round {
    border-radius: 34px;
}
.slider.round:before {
    border-radius: 50%;
}

.botoesmenugrade {
    width: 120px;
    height: 36px;
    background-color: #245269;
    border: none;
    color: white;
    padding: 5px;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
    opacity: 0.9;
}

.botoesmenugrade:hover {
    color: #1ab188;
    opacity: 1;
}

.quadro {
    float: left;
    padding: 5px;
}

.w10 {
    width: 10%;
}

.w15 {
    width: 15%;
}

.w20 {
    width: 20%;
}

.w25 {
    width: 25%;
}

.w30 {
    width: 30%;
}

.w33 {
    width: 33.33%;
}

.w35 {
    width: 35%;
}

.w40 {
    width: 40%;
}

.w45 {
    width: 45%;
}

.w50 {
    width: 50%;
}

.w55 {
    width: 55%;
}

.w60 {
    width: 60%;
}

.w65 {
    width: 65%;
}

.w70 {
    width: 70%;
}

.w75 {
    width: 75%;
}

.w80 {
    width: 80%;
}

.w90 {
    width: 90%;
}

.w100 {
    width: 100%;
}

.tab_container {
    display: block;
    float: left;
    width: 100%;
    padding-top: 5px;
    padding-left: 5px;
    padding-right: 5px;
}

.labeltab {
    font-weight: 700;
    font-size: 14px;
    float: left;
    height: 50px;
    padding-top:18px;
    color: #296282;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    vertical-align: middle;
    background-color: #f2f2f2;
    border: 1px solid #ddd;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
    margin-bottom: 0;
}

.tabselecionada {
    background: #fff;
    border-top: 3px solid #1ab188;
    border-bottom: none;
    color: #296282;
}

.labeltab:hover {
    font-size: 16px;
}

.aviso {
    visibility: hidden;
    /*min-width: 250px;*/
    width:100%;
    /*margin-left: -125px;*/
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 20px;
    position: fixed;
    z-index: 99;
    /*left: 50%;*/
    /*bottom: 30px;*/
    bottom:0;
    font-size: 17px;
}
.exibiraviso {
    visibility:visible;
    /*-webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;*/
    /*animation: fadein 0.5s, fadeout 0.5s 2.5s;*/
    -webkit-animation: fadein 0.5s;
    animation: fadein 0.5s;
}
@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        /*bottom: 30px;*/
        bottom:0;
        opacity: 1;
    }
}
@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        /*bottom: 30px;*/
        bottom:0;
        opacity: 1;
    }
}
@-webkit-keyframes fadeout {
    from {
        /*bottom: 30px;*/
        bottom:1px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}
@keyframes fadeout {
    from {
        /*bottom: 30px;*/
        bottom:1px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

/**loaderbarra*******************************************************************************/
.modalloaderbarra {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(60, 60, 60, 0.8);
}
.loaderbarra {
    display: block;
    margin: 250px auto 0;
    width: 70px;
    height: 50px;
}
.loaderbarra div {
    background-color: #1ab188;
    height: 100%;
    width: 10px;
    display: inline-block;
    -webkit-animation: heightChange 1s infinite ease-in-out;
    animation: heightChange 1s infinite ease-in-out;
}
@keyframes myMove {
    0% {
        top: 0;
    }

    25% {
        top: 200px;
    }

    50% {
        top: 100px;
    }

    75% {
        top: 200px;
    }

    100% {
        top: 0;
    }
}
@-webkit-keyframes heightChange {
    0%, 40%, 100% {
        -webkit-transform: scaleY(0.4)
    }

    20% {
        -webkit-transform: scaleY(1.0)
    }
}
@keyframes heightChange {
    0%, 40%, 100% {
        transform: scaleY(0.4);
    }

    20% {
        transform: scaleY(1.0);
    }
}
.loaderbarra .barra2 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}
.loaderbarra .barra3 {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}
.loaderbarra .barra4 {
    -webkit-animation-delay: -0.7s;
    animation-delay: -0.7s;
}
.loaderbarra .barra5 {
    -webkit-animation-delay: -0.6s;
    animation-delay: -0.6s;
}

@media only screen and (max-width: 600px) {
    .btncancelarconfexclusao, .btnexcluirconfexclusao, .btngravaredicao, .btncancelaredicao, .btncancelargravar, .btnconfirmargravar, .btnexecutarconfirmacao, .btncancelarconfirmacao {
        width: 100%;
    }
    .labeltab span {
        display: none;
    }
}

@media only screen and (max-width: 700px) {
    .divbotoesadicionarfechar {
        width: 100%;
    }

    .divopcoespesquisa, .divcampospesquisa {
        width: 100%;
        float: left;
        padding-right:0;
    }

    .divcampospesquisa {
        padding-left: 0;
        padding-right:0;
    }

    .ocultar {
        display: none;
    }

}

@media only screen and (max-width: 800px) {
    .quadro, .bloco, .camposfiltros, .combosfiltros {
        width: 100%;
        float: left;
    }

    .botoesfiltros {
        margin-top: 5px;
    }

}
