/*ICONES*/
.ico-calendario{
    background-image: url(../../core/templates/v2/img/calendar.svg);
    background-position: 50% 50%;
    background-repeat: no-repeat;
}
.ico-voltar{
    background-image: url(../../app-files/img/ico-voltar.png);
    background-size: 25px 25px !important; 
    background-position: 50% 50%;
    background-repeat: no-repeat;
    width: 100% !important;
}

.detalheDemanda{
    cursor: context-menu;
}

/*MARCADORES*/
.PC{background-color: #819196 !important;}
.PO{background-color: #046686 !important;}
.RL{background-color: #FF9800 !important;}
.AT{background-color: #00b1eb !important;}
.PR{background-color: #013d50 !important;}
.DV{background-color: #bd2222 !important;}
.DC{background-color: #9e9c9c !important;}
.DR{background-color: #bd2222 !important;}
.DA{background-color: #41b977 !important;}
.RV{background-color: #ffff00 !important; color: black !important; }
.M {background-color: #ec7272 !important;}
.MANDATORIO {background-color: #ec7272 !important;
 border-radius: 14px;}
.ALTO{
    background-image: url(../../app-files/img/alto.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    width: 12px;
    height: 30px;
    border: none;
}
.MÉDIO{
    background-image: url(../../app-files/img/medio.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    width: 12px;
    height: 30px;
    border: none;
}
.BAIXO{
    background-image: url(../../app-files/img/baixo.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    width: 12px;
    height: 30px;
    border: none;
}
.classificacao{
    color:#fff;
    font-weight: bold;
    padding: 0.25rem 0.25rem 0.2rem 0.2rem;
    margin-right: 1rem;
    display: inline-block;
    position: absolute;
}
.badge{
    color:#fff;
    padding: 0.4rem;
    border-radius: 0.4rem;
}
/*Geral*/
.menor{
    font-size: 0.8em !important;
}
.esconde{
    display:none !important;
}
.inicial-maiuscula:first-letter{
    text-transform: capitalize;
}
/*Formulários*/
.form .radios input{
    margin-left: 1rem;
}
.form .radios input:first-child{
    margin-left:0;
}
/*background-image: url(/sgde/core/templates/v2/img/novo.png);*/
.form .controle a.nova {
    background-image: url(../../core/templates/v2/img/novo.png);
}
.form.leitura .controle{
    background-color: #f0f5f5;
    padding: 0.5rem;
    border-radius: 0.3rem;
    font-size: 0.8em;
}

input.nao-preenchido, select.nao-preenchido, textarea.nao-preenchido, .radios.nao-preenchido {
    background: #fcf8e3;
    border: 1px solid #faebcc;
}
/*Botões*/
.botoes > a.botao {
    background: #d2d3d4;
    color: #0d426b;
}
.botoes > a.botao-principal {
    background: #235f8e;
    color: white;

}
.botoes > a.botao:hover {
    background: #a5a5a5;
    text-decoration: none;
}
.botoes > a.botao-principal:hover {
    background: #092c47;
    text-decoration: none;
}
.botoes > a.botao:active,
.botoes > a.botao-principal:active{
    background-color: orange;
}    
/*Opções - Modal*/
.modal .form .radios input{
    margin-left: 0;
}
/*Grids*/
table.filas td{
    padding: 1rem;
    font-size: 0.9rem;
}
table th{
    background-color: #fff;
    color: #666;
    border-bottom: 1px solid #e6e6e5;
    border-top: 1px solid #e6e6e5;
    padding: 0.5rem 0.25rem 0.5rem 0;
    font-size: 0.9rem;
}
table th:first-child{
    padding: 0.25rem;
}

table td div.destaque{
    background-color: #00B1EB;
    color:#fff;
    font-weight: bold;
    padding: 0.25rem 0.5rem 0.25rem 0.5rem;
    margin-right: 1rem;
    display: inline-block;
}

table td div.destaque.funcionalidade{
    background-color: #9e9c9c;
}

table td div.destaque.devolucao{
    background-color: #bd2222;
}

table td div.destaque.dw{
    background-color: #ffd24c;
    color: #929191;
}

table td div.destaque.revalidacao{
    background-color: #ffff00;
    color: black;
}

table td {
    display: table-cell;
    padding: 0.25rem 1rem 0.25rem 0;
    color: #666;
    position: relative; /*Ajuste para o posicionamento dos termômetros*/
}
table.scroll{
    height: calc(100vh - 18.5rem);
    overflow-y: auto;
    overflow-x: hidden;
    display: block;
}
/*Fila*/
table.filas tr td div.destaque,
.resumo .destaque{
     border-radius: 12px;
}
table.filas tr.mandatoria{
    /*background-color: #cce6ff;*/
}
table.filas tr.priorizada{
    background-color: #ebfff4;
}
.gp-dispersao .elemento.priorizada{
    background-color: #41b977;
}
table.filas tr.mandatoria td div.destaque,
table.filas tr td div.destaque.mandatoria,
.mandatoria .resumo span.destaque
{
    background-color: #ec7272;
}
table.filas tr.mandatoria td div.priorizada, 
table.filas tr td div.priorizada
{
    background-color: #2cb775;
}
table.filas tr td div.destaque.posicao{
    background-color: #00B1EB;
}
table tr td div.destaque.posicao.empate{
    border:0.1rem solid #00B1EB;
    background-color: #fff;
    padding: 0.15rem 0.3rem 0.15rem 0.3rem;
    color:#00B1EB; 
}
/*Cabeçalho*/
body > header > #logo{
    margin-top: 0.5rem;
    margin-left: 0.7rem;
}

/*CARD - MODAL*/
#card{
    position: fixed;
    z-index: 999999;
    top:15vh;
    left: 15vw;
    width: 70vw;
    background-color: #fff;
    display: none;
    text-align: left;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
#card > .close{
    position: absolute;
    right: 20px;
    top:23px;
    color:#009999;
    background: transparent url("../img/close.png") 50% 50%;
    background-repeat: no-repeat;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 2rem;
    text-align: center;
    font-size: 2rem;
    display: none;
}
@keyframes show{
    0% {display: none;}
    100%{display: block;}
}
#card:hover > .close{
    display: block;
}
#card > .close:hover{
    border: 0.2rem solid #FFF;
    width: 2.1rem;
    height: 2.1rem;
}
#card .form{
    padding: 1rem;
}
#card > .destaque{
    background-color: #0d5575;
    color: #fff;
    font-size: 1.8em;
    padding: 1.6rem;
    height: 5rem;
    text-align: center;
}
#card > .destaque:first-letter{
    text-transform: capitalize;
}
#card > .dados{
    padding: 1rem;
}
#card > .dados .row{
    display: flex;
    flex-direction:row;
    margin: 6px 0;
}
#card > .dados .row div{
    padding-right: 45px;
}
#card > .dados .row div:last-child{
    padding-right: 0;
}
#card > .dados span{
    font-size: 1.3em;
    color: #55676b;
}    
#card > .dados div{
}
#card > .dados div label{
    display: block;
    color: #777;
}
#card .sistema{
    flex-grow:7;
}
#card .demanda{
    flex-grow:1;
}
#card .demanda span{
    font-weight: bold;
    font-size: 1.4em;
}
#card .pf{
    flex-grow:1;
}
#card .periodo{
    flex-grow:1;
}
#card .homologacao{
    flex-grow:1;
}

#card .andamento{
    background-color: #999;
    display: block;
    height: 0.4rem;
    overflow: hidden;
}
#card .andamento .barra{
    background-color: #555;
    position: relative;
    width: 0%;
    display: block;
    height: 0.4rem;
}

@media (min-width: 680px) {
    #card.p {
        width: 98vw;
        left:1vw;
    }

    #card.m {
        width: 98vw;
        left:1vw;
    }

    #card.g {
        width: 98vw;
        left:1vw;
    }
}
@media (min-width: 768px) {
    #card.p {
        width: 98%;
    }

    #card.m {
        width: 98%;
    }

    #card.g {
        width: 98%;
    }
}
@media (min-width: 1024px) {
    #card.p {
        width: 40vw;
        left: 30vw;
    }

    #card.m {
        width: 70vw;
        left:15vw;
    }

    #card.g {
        width: 98vw;
        left:1vw;
    }
}
/*FOOTER*/
footer p.versao{
    font-size: 0.8rem;
    text-align: center;
    color: #cc8706;
    padding-top:0.4rem;
    position: absolute;
    width: 100%;
}
footer p.roles{
    position: absolute;
    color: #ffc266;
}
footer p.versao a{
    color: #cc8706;
}
footer p.desenvolvido{
    text-align: right;
    font-size: 0.8rem;
    color: #cc8706;
    padding-top:0.4rem;
    position: absolute;
    width: 100%;
}

/* Abas */
.pp-abas-wizard{
    width: 100%;
}

.pp-abas-wizard ul.pp-abas-titulos{
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #bcb3aa;
}
.pp-abas-wizard ul.pp-abas-titulos li{
    padding: 1rem 1rem 1rem 1rem;
    list-style: none;
    position: relative;
    bottom: -1px;
    cursor: default;
    border:1px solid #fff;
    border-bottom:1px solid #bcb3aa;
}
.pp-abas-wizard ul.pp-abas-titulos li:hover{
    transition-timing-function: ease-in-out;
    transition-duration: 0.5s;
    background-color: #d0e6f3;
    border-bottom: 1px solid #d0e6f3 !important;
}
.pp-abas-wizard ul.pp-abas-titulos li.desabilitado:hover{
    background-color: transparent;
    border-bottom: transparent;
}
.pp-abas-wizard ul.pp-abas-titulos li.desabilitado,
.pp-abas-wizard ul.pp-abas-titulos li.concluido
{
    padding: 1rem 3rem 1rem 1rem;
    
}
.pp-abas-wizard ul.pp-abas-titulos li.ativo{
    border:1px solid #bcb3aa;
    border-bottom-color: #fff; 
}
.pp-abas-wizard ul.pp-abas-titulos li span.icon{
    background-repeat: no-repeat;
    background-position: center center;
    width: 26px;
    height: 26px;
    position: absolute;
    right: 9px;
    top: 12px;
}
.pp-abas-wizard ul.pp-abas-titulos li.desabilitado span.icon{
    background: url("../../core/templates/v2/img/ico-x-cinza.svg");
    background-repeat: no-repeat;
    background-size: 22px 22px;
}
.pp-abas-wizard ul.pp-abas-titulos li.ativo span.icon{
}
.pp-abas-wizard ul.pp-abas-titulos li.concluido span.icon{
    background: url("../../core/templates/v2/img/ico-visto.svg"); 
    background-repeat: no-repeat;
    background-size: 22px 22px;
}
.pp-abas-wizard .desabilitado{
    color:#bcb3aa;
    cursor: not-allowed !important;
}

.pp-abas-wizard ul.pp-abas-paginas{
    padding: 1rem;
}
.pp-abas-wizard ul.pp-abas-paginas li{
    width: 100%;
    list-style: none;
}

/*Animações*/

.btn-ico:hover,
.btn:hover,
.demanda .destaque:hover,
.detalheDemanda:hover
{
    transition-timing-function: ease-in-out;
    transition-duration: 0.1s;
    transform: scale(1.1,1.1);
    cursor: pointer;
}

/*Ajuste para tirar a evidência das mensagens de erro da aplicação que não são relavantes para os usuários finais*/

.menor-destaque{
    background-color: #f5f4f4 !important;
    border-color: #e2e2e2 !important;
}
.menor-destaque pre.printr{
    background-color: #f5f4f4;
    color:#e2e2e2;
}
textarea {
    height: 15rem;
}
pre{
   font-family: arial;
   padding-left: 3em;
   white-space: pre-line;

}
pre span{
    line-height: 1rem !important;
}
.S{
    color: red;
}
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}
.tooltip .tooltiptext {
    visibility: hidden;
    width: 420px;
    background-color: #00b1eb;
    color: #fff;
    text-align: justify;
    border-radius: 6px;
    padding: 5px 5px;

    /* Position the tooltip */
    position: absolute;
    z-index: 1;
}
.tooltip:hover .tooltiptext {
    visibility: visible;
}
.tooltip .tooltiptext::after {
    content: " ";
    position: absolute;
    bottom: 100%; /* At the bottom of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #00b1eb transparent;
}
tr:nth-child(even) {background: #FFF}
tr:nth-child(odd) {background: #EEE}

.marcado{
    background: #97F0F0;
}
