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: 32px;
    font-weight: 700;
    padding: .2em .4em .2em;
    border-bottom: solid 2px #369;
}

h1.pag-title {
    color: #369;
    font-size: 28px;
    font-weight: 700;
    padding: .2em;
    margin: 0;
    border: none;
}

.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 .es {
    background: linear-gradient(to bottom, rgba(188, 42, 36, 0.75), #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;
}

/*
.card.ciclo_1 .card-header {
    background-image: url("../imgs/essmm/ciclo_1.jpg");
}
.card.ciclo_2 .card-header {
    background-image: url("../imgs/essmm/ciclo_2.jpg");
}

.card.ciclo_3 .card-header {
    background-image: url("../imgs/essmm/ciclo_3.jpg");
}

.card.sec_cct .card-header {
    background-image: url("../imgs/essmm/sec_cct.jpg");
}

.card.sec_ccs .card-header {
    background-image: url("../imgs/essmm/sec_ccs.jpg");
}

.card.sec_clh .card-header {
    background-image: url("../imgs/essmm/sec_clh.jpg");
}

.card.sec_cav .card-header {
    background-image: url("../imgs/essmm/sec_cav.jpg");
}
*/
.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.es .card-body::after {
    content: "ES";
}

.dashboard .card.card_ep .card-header{
    background: linear-gradient(to bottom, #40B4BEFF, transparent 25%);
}
.dashboard .card.card_ep {
    background-image: url("../imgs/essmm/ep.png");
}

.dashboard .card.card_ep.ep_ta .card-body::after {    content: "TA";}
.dashboard .card.card_ep.ep_tgpsi .card-body::after {    content: "TGPSI";}
.dashboard .card.card_ep.ep_tmebe .card-body::after {    content: "TMEBE";}
.dashboard .card.card_ep.ep_tt .card-body::after {    content: "TT";}

.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-bottom: 5em;
}

.col.ctam-0 {
    max-width: 40px;
    text-align: center;
}

.col.ctext {
    text-align: left;
}

.col.ctam-1 {
    max-width: 80px;
    text-align: center;
}
.col.ctam-auto {
    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;
}