body, html {
    font-family: 'Lato', sans-serif;
    line-height: 1.5em;
    color: #3a3a3a;
}

body {
    padding-top: 80px;
}

.hidden {
    display: none;
}

#lap .selected {
    font-weight: bold;
}

.p403 h1, .p404 h1 {
    text-align: center;
    font-size: 200px;
    color: #bbb;
}

.p403 h4, .p404 h4 {
    text-align: center;
    font-size: 50px;
    color: #999;
}

.p403 h4, .p403 h1 {
    color: #000333;
}

/*user list*/
.dh-block {
    font-size: 80%;
    color: #b24801;
}

.col-action {
    cursor: pointer;
}

.modal.loading .modal-content:before {
    content: 'A processar...';
    text-align: center;
    line-height: 155px;
    font-size: 20px;
    background: rgba(0, 0, 0, .8);
    position: absolute;
    top: 55px;
    bottom: 0;
    left: 0;
    right: 0;
    color: #EEE;
    z-index: 1000;
}

/*navbar*/
.navbar {
    border-bottom: solid 2px rgba(80, 80, 80, 0.3);
}

.navbar-brand {
    padding: 0;
    margin: -10px 1.5rem -10px -10px;
}

.navbar-brand img {
    height: 55px;
}

.pill-wrapper {
    position: relative;
    display: inline-block;
    margin-left: 7px;
}

.pill-container {
    position: absolute;
    top: -11px;
}

.pag-title {
    color: #369;
    font-size: 25px;
    font-weight: 700;
    padding-bottom: .4em;
    border-bottom: solid 2px #369;
}

.navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .show > .nav-link {
    color: #369;
    font-weight: 700;
}

.dropdown .user-blk img {
    cursor: pointer;
}

.dropdown .username {
    text-align: center;
    font-weight: normal;
    color: #369;
    padding: 0 1rem 0 0.25rem;
}

.dropdown-li img {
    display: inline-block;
    margin: 0.25rem 0.5rem;
}

.dropdown-li .dropdown-item {
    display: inline-block;
    padding: 0.25rem;
    width: auto;
}

.foto {
    width: 220px;
    height: 220px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 50%;
    margin: 0 auto .5em auto;
}

table th, table td {
    font-size: 90%;
}

.dashboard .card {
    margin-top: 2rem;
    /*e0fecb*/
    background: linear-gradient(to bottom, #fcdfdf, #ffffff 22%);
    border-radius: 0.5rem;
}

.dashboard .card.ciclo_1 {
    background: linear-gradient(to bottom, #feeecb, #ffffff 22%);
}

.dashboard .card.ciclo_2 {
    background: linear-gradient(to bottom, #d4ffb8, #ffffff 22%);
}

.dashboard .card.ciclo_3 {
    background: linear-gradient(to bottom, #aae5ff, #ffffff 22%);
}

.dashboard .card .card-header {
    background-repeat: no-repeat;
    background-color: transparent;
    background-size: 15%;
    background-position: 10px 110px;
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    opacity: 0.7;
}

.card .card-body {
    z-index: 10;
}

fieldset {
    border: 1px groove #ddd !important;
    padding: 0 1.5em 1.5em 1.5em !important;
    margin: 0 0 1.5em 0 !important;
    -webkit-box-shadow: 0 0 0 0 #444;
    box-shadow: 0 0 0 0 #444;
}

legend {
    width: auto; /* Or inherit */
    padding: 0 10px; /* To give a bit of padding on the left and right */
    border-bottom: none;
    font-size: 100%;
    background: #666;
    color: #fff;
    margin-left: -1.5em;
}

.form-check-input {
    margin-right: .5em;
    margin-bottom: .5em;
}

.dashboard .card .card-body::after {
    content: "1";
    position: absolute;
    left: 10px;
    bottom: 20px;
    opacity: 0.3;
    font-size: 60px;
    font-weight: bolder;
}


.dashboard .card.ciclo_1 .card-body::after {
    content: "1";
}

.dashboard .card.ciclo_2 .card-body::after {
    content: "2";
}

.dashboard .card.ciclo_3 .card-body::after {
    content: "3";
}

.dashboard .card.sec_cct .card-body::after {
    content: "CCT";
}

.dashboard .card.sec_ccs .card-body::after {
    content: "CCS";
}

.dashboard .card.sec_clh .card-body::after {
    content: "CLH";
}

.dashboard .card.sec_cav .card-body::after {
    content: "CAV";
}

.dashboard .card-footer {
    text-align: right;
    z-index: 10;
    background: transparent;
}

.dashboard .card-footer .linha a {
    display: inline-block;
    padding: 0 0 0 1rem;
    text-decoration: none;
    font-size: 90%;
    color: #007bc4;
    cursor: pointer;
}

.dashboard .card-footer .linha a:hover {
    font-size: 110%;
    font-weight: bold;
    color: #01436c;
}


.card a {
    text-decoration: none;
}

/*404*/
.logo_essmm {
    width: 100%;
}

.logo_essmm img {
    width: 350px;
}

.logo_essmm a {
    display: block;
    margin: 0 auto;
    width: 350px;
}

/*123ciclos*/
/*a[href="#"] {*/
/*    background: #ffe0c3;*/
/*}*/

.has-negas, .abaixo-meta {
    color: #C00 !important;
    font-weight: bold;
}

.has-boa-nota {
    color: #227733 !important;
    font-weight: bold;
}

.footer-sep {
    margin-top: 5em;
}

td.valign,
th.valign,
.col.valign {
    vertical-align: middle;
}

td.ctam-0,
th.ctam-0,
.col.ctam-0 {
    max-width: 30px;
    text-align: center;
}

td.ctam-1,
th.ctam-1,
.col.ctam-1 {
    max-width: 50px;
    text-align: center;
}

td.ctam-2,
th.ctam-2,
.col.ctam-2 {
    max-width: 70px;
    text-align: center;
}

td.ctam-3,
th.ctam-3,
.col.ctam-3 {
    max-width: 90px;
    text-align: center;
}

td.ctam-4,
th.ctam-4,
.col.ctam-4 {
    max-width: 110px;
    text-align: center;
}

.chart {
    width: 110%;
    min-height: 450px;
    margin-left: -5%;
}

.chart_title {
    text-align: center;
    background: #09F;
    font-size: 130%;
    margin: 2em 0 2px;
    padding: 10px 7px 12px;
    color: #FFF;
    border-radius: 5px;
}

.row.chart-row {
    margin: 0 !important;
}

/*-------- front-page --------*/
.front-page #title {
    font-size: 270%;
    font-weight: 700;
    color: #aaa;
}

/*-------- escala-notas --------*/
.escala-notas {
    margin: 2em 0;
}

.escala-notas table {
    width: 100%;
}

.escala-notas td {
    width: 23%;
}

.escala-notas td.nota {
    width: 2%;
    text-align: center;
}

/*-------- tbl-graf -> grafico e tbl.tpl --------*/
.tbl-graf {
    table-layout: fixed;
    width: 100%;
}

.tbl-graf th,
.tbl-graf td {
    vertical-align: middle;
}

.tbl-graf tr th {
    font-size: 85%;
    text-align: center;
}

.tbl-graf tr td {
    font-size: 85%;
    text-align: right;
}

.tbl-graf tr td:first-child {
    font-weight: bold;
}

.tbl-graf tr th:nth-child(even) {
    background: #fcfbfb;
}

.tbl-graf tr td:nth-child(even) {
    background: #fcfcfc;
}

.tbl-graf td.disc-sigla {
    width: 10%;
}

.tbl-graf td.disc-name {
    text-align: left;
}

.fs-small {
    font-size: 80%;
    /*font-weight: bold;*/
}

/* edição de professorAL */
/* aplicavel tb à dist de SE */
tr.cb-impedGD {
    background: #ffe1e4;
}

.table.imped-prof .anula-cb {
    cursor: pointer;
}

.table.imped-prof .anula-cb:hover {
    font-weight: bold;
}

.size-1 {
    display: inline-block;
    width: 30px;
    font-size: 90%;
    font-weight: bold;
}

.sel-pal input[type='checkbox']:enabled,
.select-imp-pessoais input[type='checkbox']:enabled {
    cursor: pointer;
}

/* edição de exame */
#bt-add-sala {
    background: #FFF;
    border-radius: 50%;
    padding: 0;
    display: inline-block;
    float: right;
    cursor: pointer;
}

.card.sala .card-body {
    padding: 7px;
}

.edit-exame .fase-ex,
.edit-exame .cod-ex {
    font-weight: bold;
    font-size: 30px;
    text-align: center;
    color: #777;
    line-height: 1;
}

.edit-exame .fase-ex {
}

.edit-exame .cod-ex {
    font-size: 32px;
    color: #06d;
}

.edit-exame .data-ex,
.edit-exame .hora-ex {
    font-weight: bold;
    font-size: 90%;
}

.edit-exame .data-ex {
}

.edit-exame .hora-ex {
}

.edit-exame .nome-ex {
    font-weight: bold;
}

.edit-exame .tipo-ex {
    font-size: 90%;
}

.edit-exame .duracao-ex,
.edit-exame .tolerancia-ex,
.td-dur-tol .duracao-ex,
.td-dur-tol .tolerancia-ex {
    font-weight: bold;
    font-size: 30px;
    width: 100%;
    display: inline-block;
    text-align: center;
    color: #777;
}

.td-dur-tol .tolerancia-ex,
.edit-exame .tolerancia-ex {
    font-size: 20px;
}


.pal-col-stats {
    background: #dcdcdc;
    padding: 1em;
}

/* páginas de distribuição de serviço */
.distrib-serv .relacao-designados span {
    border-radius: 50%;
    padding: 7px 14px;
    margin: 0 0 0 5px;
    font-weight: bold;
    font-size: 19px;
    line-height: 1em;
    text-align: center;
}

.distrib-serv .p_list {
    margin: 0;
}

.distrib-serv ul {
    list-style: none;
    margin-left: 0;
    padding-left: 1em;
    text-indent: -1em;
}

.distrib-serv li:before {
    content: "→";
    padding-right: 5px;
}

.sel-pal .imped-simb {
    font-size: 10px;
    font-weight: bold;
    display: inline-block;
    line-height: 9px;
    padding: 5px 3px;
    background: #c00;
    color: #fff;
    border-radius: 50%;
    margin: 0 0 0 2px;
    text-align: center;
}

.error-bagde {
    font-size: 10px;
}

.error-icon {
    font-size: 16px;
    font-weight: bold;
    color: #c00;
}

.colision-simb {
    font-size: 11px;
    font-weight: bold;
    display: inline-block;
    line-height: 9px;
    padding: 3px 4px;
    background: #000;
    color: #fc0;
    border: 2px solid #fC0;
    border-radius: 35%;
    margin: 0 0 0 4px;
    text-align: center;
}

.sel-pal .colision-funcao {
    font-size: 11px;
    font-weight: bold;
    display: inline-block;
    line-height: 9px;
    padding: 3px 4px;
    background: #ff9900;
    color: #fff;
    border: 2px solid #ff9900;
    border-radius: 35%;
    margin: 0 0 0 4px;
    text-align: center;
}


/*-----------------*/

.sala-wrapper .prof_data .badge.leitrans {
    margin-right: 9px;
}

.prof_gd {
    font-size: 85%;
    font-weight: bold;
    margin: 0 7px;
}

.prof_nome {
}

.prof-serv .erro-prof {
    padding-left: 75px;
    margin: -5px 0 9px 0;
}

/*-----------------*/
/*-----------------*/
/*-----------------*/
/*-----------------*/
/*-----------------*/
#gallery {
    float: left;
    width: 65%;
    min-height: 12em;
}

.gallery.custom-state-active {
    background: #eee;
}

.gallery li {
    float: left;
    width: 96px;
    padding: 0.4em;
    margin: 0 0.4em 0.4em 0;
    text-align: center;
}

.gallery li h5 {
    margin: 0 0 0.4em;
    cursor: move;
}

.gallery li a {
    float: right;
}

.gallery li a.ui-icon-zoomin {
    float: left;
}

.gallery li img {
    width: 100%;
    cursor: move;
}

#trash {
    float: right;
    width: 32%;
    min-height: 18em;
    padding: 1%;
}

#trash h4 {
    line-height: 16px;
    margin: 0 0 0.4em;
}

#trash h4 .ui-icon {
    float: left;
}

#trash .gallery h5 {
    display: none;
}

.table td.max-serv {
    background: #ff8529;
    color: #FFF !important;
}

.table td.assinala-qtd {
    font-weight: bold;
    font-size: 90%;
    color: #ff0000 !important;
}

div.sala-exame {
    font-size: 1.5rem;
}

tr.spal-grp-1 td.col-grp,
tr.spal-grp-10 td.col-grp {
    color: #000;
    background-color: #e0cffc
}

tr.spal-grp-2 td.col-grp,
tr.spal-grp-11 td.col-grp {
    color: #000;
    background-color: #cff4fc
}

tr.spal-grp-3 td.col-grp,
tr.spal-grp-12 td.col-grp {
    color: #000;
    background-color: #ffe5d0
}

tr.spal-grp-4 td.col-grp,
tr.spal-grp-13 td.col-grp {
    color: #000;
    background-color: #f8d7da
}

tr.spal-grp-5 td.col-grp,
tr.spal-grp-14 td.col-grp {
    color: #000;
    background-color: #f7d6e6
}

tr.spal-grp-6 td.col-grp ,
tr.spal-grp-15 td.col-grp {
    color: #000;
    background-color: #fff3cd
}

tr.spal-grp-7 td.col-grp {
    color: #000;
    background-color: #d1e7dd
}

tr.spal-grp-8 td.col-grp {
    color: #000;
    background-color: #d2f4ea
}

tr.spal-grp-9 td.col-grp {
    color: #000;
    background-color: #e2d9f3
}

li.select2-results__option,
.select2-selection--multiple .select2-selection__choice__display {
    font-size: 85%;
}
.cbox-filter-wrapper label{
    display: block;
}

table .cel-tempos-insuf{
    background-color: rgba(253,126,20, .1);
    font-size: 85%;
    font-weight: bold;
    color: rgba(253,126,20, 1);;
}
table .cel-soma{
    font-size: 80%;
    font-weight: bold;
}