:root {
    --cores-tlp-laranja: #f36525;
    --cores-tlp-amarelo: #fdb815;
    --cores-tlp-vinho: #bf222d;
    
    --cores-tlp-laranja-translucido: #f3652555;
    --cores-tlp-amarelo-translucido: #fdb81555;
    --cores-tlp-vinho-translucido:   #bf222d33;

    --cores-tim-azul: #003bd1;
    --cores-tim-azul-translucido: #003bd155;
    --cores-tim-vermelho: #eb0028;

    --cores-vivo-roxo-1: #9d75b1;
    --cores-vivo-roxo-2: #784f9d;
    --cores-vivo-roxo-3: #670097;
    --cores-vivo-roxo-4: #451c5e;
    --cores-vivo-roxo: var(--cores-vivo-roxo-3);
}
/*
body {
    height: 100%;
}


table {
    border-radius: 5px;
    box-shadow: 5px 5px #ccc;
}
table, table caption {
    background-color: #fcfcfc;
}
*/


table caption {
    padding-left: 2em;
    color: #333;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

.fill-div {
    width: 90%;
    height: 90%;
}

.pr-debug {
    border: red 1px inset;
    box-shadow: brown 2px;
    font-family: monospace;
}

table caption {
    caption-side: top;
    font-size: large;
}

.hidden {
    display: none;
}

.custom-small-font-size-1 {
    font-size: x-small;
}

a.agendado{
    color: darkgreen !important;
    text-decoration: none;
}

a.re-agendado{
    color:orange !important;
    text-decoration: none;
}

a.justificado{
    color: darkgreen !important;
}

a.perdido, .perdido {
    color: red !important;
}

.aguardando {
    color: cornflowerblue !important;
}
 
#atividades_coordenadores tbody tr {
    cursor: pointer;
}

.badge.badge-critica {
    background-color: none;
    color: red;
    text-shadow: 1 1 orangered;
}

.badge.badge-com-flag{
    background-color: none;
    color: orange;
    text-shadow: 1 1 orangered;
}

.badge.badge-associar{
    background-color: none;
    color: BlueViolet;
}

a span.text-transparent {
    color: transparent;
    background-color: transparent;
    text-decoration: none;
    text-shadow: none;
    font-size: 0px;
}

th.responsabilidade-TIM {
    background-color: var(--cores-tim-azul);
    color: white !important;
}

th.responsabilidade-TLP {
    background-color: var(--cores-tlp-amarelo);
    color: black !important;
}

td.responsabilidade-TIM {
    background-color: var(--cores-tim-azul-translucido);
    font-weight: 500;
}

td.responsabilidade-TLP {
    background-color: var(--cores-tlp-amarelo-translucido);
    font-weight: 500;
}

th.responsabilidade-Agendadas {
    background-color: var(--cores-tlp-laranja);
    color: white !important;
}

td.responsabilidade-Agendadas {
    background-color: var(--cores-tlp-laranja-translucido);
    font-weight: 500;
}


#dinamica-justificativas thead, #dinamica-justificativas tfoot{
    /* background-color: var(--cores-tlp-laranja); */
    background-color: var(--bs-gray-dark);
    color: white;
}

#dinamica-justificativas thead th.nao-tratadas, #dinamica-justificativas tfoot th.nao-tratadas{
    background-color: var(--cores-tlp-vinho);
}

#dinamica-justificativas tbody th.nao-tratadas-vertical {
    background-color: var(--cores-tlp-vinho-translucido);
}

#dinamica-justificativas th:nth-child(6),th:nth-child(7) {
    max-width: 86px;
}

#dinamica-justificativas th, #dinamica-justificativas td {
    padding: 8px 4px;
}

.btn-tim {
    background-color: var(--cores-tim-azul);
    color: white;
}
/*
.btn-tim:hover, .btn-tlp:hover {
    filter: brightness(0.9);
    color:white;
}*/

.btn-tlp {
    background-color: var(--cores-tlp-laranja);
    color:white;
}

td.total {
    font-weight: 800;
    border-bottom: 2px solid var(--cores-tlp-vinho-translucido);
}

table.dataTable tbody tr.suspeita-massiva td{
    background-color: var(--cores-tlp-vinho-translucido);
}

#projetos .btn, #gestao .btn, #coordenadores .btn {
    font-size: smaller;
    padding: 0.5em;
    margin: 2px;
}

.body-login {
    background-image: url('/images/bg-login.png');
    background-repeat: no-repeat;
    background-attachment: fixed; 
    background-size: cover;
}

form.login {
    min-width: 20em;
    width: 20%;
    border: var(--cores-tlp-laranja) 1px solid;
    padding: 1em;
    margin-left: 5%;
    margin-top: 50px;
    background: linear-gradient(145deg, var(--cores-tlp-laranja), var(--cores-tlp-amarelo));
    border-radius: 10px;
    box-shadow: 10px 10px 15px 5px var(--cores-tlp-amarelo-translucido),
        -10px -10px 15px 5px var(--cores-tlp-laranja-translucido);
    color: white;
    font-weight: 500;

    .btn {
        box-shadow:   2px 2px 5px gray,
          -2px -2px 5px color-mix(in lch,var(--bs-blue), #fff);
        width: 100%
    };

}

.imagem-status-::before {
    background-size: 2em 2em;
    display: inline-block;
    width: 2em; 
    height: 2em;
    content:"";
}

.imagem-status-alerta::before {
    background-size: 2em 2em;
    display: inline-block;
    width: 2em; 
    height: 2em;
    content:"";
    background-image: url('/images/alerta.png');
}

.imagem-status-atencao::before {
    background-size: 2em 2em;
    display: inline-block;
    width: 2em; 
    height: 2em;
    content:"";
    background-image:url('/images/atencao.png');
}

.imagem-status-certo::before {
    background-size: 1em 1em;
    display: inline-block;
    width: 1em; 
    height: 1em;
    content:"";
    background-image:url('/images/Certo.png');
}

.imagem-status-caveira::before {
    background-size: 2em 2em;
    display: inline-block;
    width: 2em; 
    height: 2em;
    content:"";    
    background-image:url('/images/caveira.png');
}

@media (min-width: 1200px) {
    .container {
      max-width: 1260px;
    }
  }

.input-obs {
    width: 96%;
}

.table .col-50 {
    width: 50%;
}

.full-width {
    width: 100%;
}

.rounded-mark {
    border-radius: 10px;
    padding: 0.3em;
}

#associar-controladores {
    display: block;
    width: 100%;
    height: 500px;
    overflow-y: scroll;
}


#tabela-tecnicos {
    height: 400px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.table {
    box-shadow: 5px 5px 20px #dadada;
    border-radius: 3px;
}

td select {
    width: 100%;
}

.col-nome {
    width: 25em;
}

.btn-very-small {
    font-size: xx-small;
}

td.checklist-bg-SIM {
    vertical-align: middle;
    span{
        margin: 0.8em;
        padding: 0.5em;
        color: #fcfcfc;
        text-align: center;
        vertical-align: middle;
        text-shadow: 1px 1px 1px #222;
        font-weight: 600;
        background-color: rgb(73, 139, 6);        
        border-radius: 3px;
    }
}

td.checklist-bg-NÃO {
    vertical-align: middle;
    span {
        margin: 0.8em;
        padding: 0.5em;
        color: #fcfcfc;
        text-align: center;
        vertical-align: middle;
        text-shadow: 1px 1px 1px #222;
        font-weight: 600;    
        background-color: rgb(196, 56, 41);        
        border-radius: 3px;
    }
}

.fake-table {
    border-radius: 3px;
    box-shadow: 0 0 5px 2px #dadada;
}

.fake-table .fake-thead {
    border-bottom: 1px groove var(--cores-tlp-laranja) ;
    padding-bottom: 2px;
}
#lista.fake-tbody {
    font-size: 0.8em;
    max-height: 420px;
    overflow-y: scroll;    
}

#lista.fake-tbody .fake-tr{
    padding-top: 0.1em;
    padding-bottom: 0.1em;
}

#lista.fake-tbody .fake-tr:nth-child(even){
    background-color: #ededed;
}

tbody tr th hr {
    color: purple;
    width: 50%;    
}

table#produtividade-fmo thead,
table#produtividade-fmo tfoot {
    position: sticky;
    background-color: #efefef;
}

table#produtividade-fmo thead {
    inset-block-start: 0; /* "top" */
}

table#produtividade-fmo tfoot {
    inset-block-end: 0; /* "bottom" */
}

table#produtividade-fmo tbody tr th:first-child {
    font-size: 0.8em;    
}

table#produtividade-fmo tbody tr {
    border-bottom: 1px solid orangered;
}

thead th.sabado, tfoot td.sabado {
    background-color: #dfdfdf;     
}

thead th.domingo, tfoot td.domingo {
    background-color: #cfcfcf;
}

tbody td.sabado {
    background-color: #eaeaea;
}

tbody td.domingo {
    background-color: #dadada;
}

/* usar caso seja necessário atrair atenção para um botão */
.draw-atention-to-me {
    animation-name: blink_button;
    animation-duration: 1.4s;
    animation-iteration-count: infinite;
    animation-timing-function: cubic-bezier(0,.46,.26,.99) alternate-reverse infinite
}

@keyframes blink_button{
    /*
    from {
        opacity: 10%;
    }
    */
    0% {
        background-color: hsl(0 100 40);        
    }
    25% {
        background-color: hsl(50 100 40);
    }
    75% {
        background-color: hsl(100 100 40);
    }
    100% {
        background-color: hsl(50 100 40);
    }
}

button#atualizar {
    margin: 0.5em;
}

#corpo-tabela {
    font-size: 12px;
}

#corpo-tabela tr td {
    vertical-align: middle; 
}

.btn-vivo {
    background-color: var(--cores-vivo-roxo);
    color: white;
}

tr.destaque {
    background-color: #eaeaea;
}

.btn-tim {
    background-color: var(cores-tim-azul);
    color: white;
}

h3.aviso {
    font-size: medium;
}

tr:has(:is(input:required, select:required, textarea:required)){
    font-weight: 700;
    color: red;
}

#aviso-login {
    font-size: 1.2em;
    text-shadow: 1px 1px 1px #333;
    padding: 1em;
    margin-right: 5%;
    margin-top: 30px;
    width: 25em;
    color: #efefef;
    border-radius: 5px;
    box-shadow: -5px -5px 15px 5px var(--cores-tlp-laranja), 5px 5px 15px 5px var(--cores-tlp-vinho);
    background: linear-gradient(145deg,var(--cores-tlp-amarelo), var(--cores-tlp-amarelo-translucido));
    a {
        color: #333;
        text-shadow: 1px 1px 1px #cfcfcf;
    }
}

.tlp-radio-button {
	padding: 0;
	display: inline-block;
	width: 30em;

    & label:first-of-type {
        border-radius: 10px 0 0 10px;
        margin-right:0;
    }

    & label:last-of-type {
        border-radius: 0 10px 10px 0 ;
        margin-left:0;
    }

    & input+label {
        background-color: #bbb;
        color: white;
        padding: 0.5em;
    }

    & input {
        position: fixed;
        opacity: 0;
        pointer-events: none;
    }

    & input:checked+label {
        background-color: var(--cores-tlp-laranja);
    }
}

.geo-black {
    color: black;
}

.geo-red {
    color: red;
}

.geo-green {
    color: green;
}

.geo-blue {
    color: dodgerblue;
}

.geo-yellow {
    color: gold;
}
.geo-tlp {
    color: var(--cores-tlp-laranja);
}

.geo-size {
    font-size: 32px;
}

.geo-very-small {
    font-size: 16px;
}


.geo-tlp-vinho {
    color: var(--cores-tlp-vinho);
}

div.atualizacao {
    width: 95%;
    border-radius: 5px;
    border: 1px solid var(--cores-tlp-vinho-translucido);
    box-shadow: 3px 3px 3px #bbb;
    padding: 0.5em;
    margin-top: 0.3em;    
}
