a{
    outline: none !important;
}

header{
    text-align: center;
}

#cabecalho_esq, #cabecalho_meio, #cabecalho_dir{
    display: inline-block;
    *display: inline;
}

#cabecalho{
    width: 90%;
    height: 140px;
    text-align: center;
    padding: 0px;
    color: #434343;
}

#cabecalho_esq{
    width: 20%;
    float: left;
    text-align: left;
}

#cabecalho_meio{  
    width: 60%;
    height: 140px;
    font-size: medium;  
    display: flex;
    align-items: center; /*centraliza verticalmente*/
    justify-content: center; /*centraliza horizontalmente*/
    float: left;
}

#cabecalho_dir{
    width: 20%;
    float: right;
    text-align: right;
}

.degrade-cabecalho{
    font-size: 24px;
    font-weight: bold;
    line-height: 1.4;
    background: linear-gradient(to bottom, #4eb170, #005b8e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: pre-line; /* mantém quebras de linha */
}

.bazooka{
    font: 24px bazooka;
}

.logo_unicamp{
    width: 130px;
    height: 130px;
}

.logo_ft{
    width: 200px;
    height: 125px;
}

#principal{
    width: 100%;
}

#conteudo{
    width: 90%;
    background-color: #FFFFFF;
    display: inline-block;
    color: #000;
    text-align: left;
    _text-align: left;
}

#conteudo a {
    color:#116FA2;
    text-decoration:none;
}

#conteudo a:hover {
    color:#333;
    text-decoration:none;
}

.dataTables_wrapper{
    width: 100%;
}

/* css form */
fieldset ol{
    margin-top: 5px;
    padding-left: 10px;
}

fieldset ul, fieldset li{
    border: 0;
    padding: 6px;
    list-style: none;
}

.materiais{
    padding-top: 1px;
    padding-bottom: 0px;
}

fieldset li{
    clear: both;
    list-style: none;   
    padding-bottom: 5px;
}

fieldset input{
    float: left;
}

fieldset textarea{
    float: left;
}

fieldset select{
    float: left;
}

fieldset label{
    float: left;
    height: 20px;
}

fieldset ol li label{
    margin-top: 2px;
}

fieldset ol li label:first-child, .azulNegrito{
    font-weight: bold;
    color: #36648B;
}

.negrito{
    font-weight: bold;
    color: #696969;
}

/* css form */

input.error, #error {
    background-color:#ffbcbc;
}

label.error{
    color: #FF0000;
    font-size: 12px;
    padding-left: 4px;
}

#msg{
    width: 100%;
    text-align: center;
    background-color: rgb(226, 228, 255);
    font-weight: bolder;
}

td{
    font-size: 14px;
}

a{
    cursor: pointer;
    color: #116FA2;
}

#frmLogin input{
    width: 150px;
    padding: 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}

#frmRastreio input{
    width: 60px;
    padding: 7px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}

#frmLoginError{
    color: #FF0000;
    font-size: 16px;
    text-align: center;
    font-weight: bolder;
}

#frmLoginInfo{
    color: #828282;
    font-size: 16px;
    text-align: center;
    font-weight: bolder;
}

#formAgenda{
    text-align: center;
}

.redondo{
    width: 150px;
    height: 150px;
    border-radius: 50%;
}

.linha{
    flex: 1;
    width: 100%;
    height: 135px;
    align-items: center;
    display: flex;
}

#liga{
    width: 100%;
    height: 10px;
    background-color: #528CE0;
}

.botao{
    padding: 5px !important;
}

#rastreio{
    border: 0px solid;
    width: 98%;
    margin-left: 1%;
    table-layout: fixed;
}

#inicio{
    width: 90%;
    background: #778899;
    text-align: center;    
    color: #FFFFFF;    
    height: 55px;
    display: flex;
    align-items: center; /*centraliza verticalmente*/
    justify-content: center; /*cetraliza horizontalmente*/
    font: 16px bazooka;
}

#abas{
    margin-top: 3px;
    width: 90%;
    background: #1C86EE;
    text-align: center;    
    height: 50px;
    list-style-type: none;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

#abas a{ 
    float: left;
    line-height: 50px;
    border-right: 1px solid;
    display: block;
    color: #fff;
    text-decoration: none;
}

#abas a:hover{ 
    position: relative;
    background: #b3d4fc;
    color: #045baf;
    border-right: none;
}

#menu{
    margin-top: 3px;
    width: 90%;
    background: #1C86EE;
    text-align: center;    
    height: 50px;
    list-style-type: none;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
}

#menu a{
    border-right: 1px solid;
}

#menu a, #menu li{
    color: #FFFAFA;
    line-height: 50px;
    text-decoration: none;
}

#menu li a{
    display: block;
    color: #fff;
    text-decoration: none;
}

#menu a:hover{ 
    background: #c0dcf9;
    color: #045baf;
    border-right: none;
}

#menu li:hover{ 
    position: relative;
    background: #c0dcf9;
    color: #045baf;
    border-right: none;
}

#menu ul{
    position: absolute;
    list-style-type: none;
    padding: 0px;
    visibility: hidden;
    margin: 0px;
}

#menu li:hover ul{
    left: 0px;
    top: 50px;
    padding: 0px;
    z-index: 1;
    visibility: visible;
}

#menu li:hover ul li a{
    padding: 0px;
    display: block;
    width: 11.45vw;  /*vw = viwepot = tamanho da janela*/
    background-color: #1C86EE;
    line-height: 50px;
}

#menu li:hover ul li a:hover {
    background: #c0dcf9;
    line-height: 50px;
    border-right: none;
}

#divIndex{
    /*padding-top: 100px;*/
    height: 500px;
    background-color: #E9E9E9;
    text-align: center;
}

#divIndex p{
    color: #1C86EE;
    margin-left: 5px;
    margin-right: 5px;
}

#divLogin{
    padding-top: 100px;
    width: 100%;
    float: left;
    background-color: #E9E9E9;
    text-align: center;
}

#agenda{
    width: 100%;
    border: 1px solid;
    background-color: #FFFAFA;
    text-align: center;
}

#agenda td{
    border: 1px solid;
    color: #1C86EE;
    border-color: #E9E9E9;
}

#etapas{
    width: auto;
    text-align: center;
    color: #708090;
}

#etapas table td{
    text-align: justify;
    vertical-align: top;
    padding-left: 20px;
}

.div_etapas{  
    font-size: 16px !important;
    text-align: left;
}

.wrap {
    max-width: 980px;
    margin: 0 auto;
}

.wrapMaior {
    max-width: 1500px;
    margin: 0 auto;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.title {
    font-size: 20px;
    font-weight: 600;
}

.controls {
    display: flex;
    gap: 8px;
    align-items: center;
}

button {
    background: #ffffff;
    border: 1px solid #e6e7eb;
    padding: 2px 5px; /* 8px 10px; */
    border-radius: 8px;
    cursor: pointer;
}

input, select, textarea{
    padding: 4px;
    border-radius: 4px;
    border: 1px solid #e6e7eb;
}

.calendar {
    background: #ffffff;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 6px 18px rgba(18, 24, 40, 0.03);
}

.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.weekdays div {
    font-weight: 700;
    text-align: center;
    color: #6b7280;
    padding: 6px 4px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px
}

.cell {
    min-height: 100px;
    border-radius: 8px;
    padding: 8px;
    background: linear-gradient(180deg, #fff, #fbfcff);
    border: 1px solid #eef2ff;
}

.cell.out {
    opacity: 0.45;
}

.cell .date {
    font-weight: 700;
    margin-bottom: 6px;
}

.res-item {
    display: flex;
    gap: 8px;
    border-radius: 6px;
    margin-bottom: 6px;
    font-size: 13px;
    background: #f9fafb;
}

.legend{
    display:flex;
    gap:12px;
    margin-top:12px;
    align-items:center
}

.legend span{
    display:flex;
    gap:6px;
    align-items:center;
    font-size:13px;
    color: #6b7280;
}

.badge {
    width: 9px;
    height: 9px;
    border-radius: 2px;
    flex: 0 0 9px;
}

.period-m {
    background: #ff0;
}

.period-t {
    background: #FFB74D;
}

.period-n {
    background: #045baf;
}

.period-mt {
    background: #b87e14;
}

.period-tn {
    background: #90CAF9;
}

/* Container principal com 2 colunas */
.painelLabs {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 colunas iguais */
    gap: 40px;
    margin-top: 20px;
}

/* Card de cada laboratório */
.colunaLab {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Título do laboratório */
.colunaLab h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 20px;
}

/* Espaçamento entre gráficos */
.colunaLab canvas {
    width: 70% !important;
    height: 250px !important;
    display: block;
    margin: 0 auto 40px auto; /* centraliza e adiciona espaço abaixo */
}

#ensaios {
    display: flex;
    align-items: flex-start; /* ESSENCIAL */
}

#divEnsaios {
    display: flex;
    flex-direction: column;
    flex: 1;
}

#divEnsaios label {
    display: block;
    line-height: 1;
}

#divEnsaios * {
    position: static !important; /* evita sobreposição */
    float: none !important;
    word-break: break-word;
    white-space: normal;
}

#divEnsaios label + label {
    margin-top: 10px;
}