/*E-SCA - E-Serviços para o Cidadão Académico*/


/*DB@SQUAD/IncreaseTalent 11/2021*/

body {
    background: var(--es-light-bg);
    color: var(--es-dark-grey);
}


/*TYPE!*/


/* work-sans-regular - latin */

@font-face {
    font-family: 'Work Sans';
    font-style: normal;
    font-weight: 400;
    src: local(''), url('work-sans-v13-latin/work-sans-v13-latin-regular.woff2') format('woff2'),
        /* Chrome 26+, Opera 23+, Firefox 39+ */
        url('work-sans-v13-latin/work-sans-v13-latin-regular.woff') format('woff');
    /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


/* work-sans-700 - latin */

@font-face {
    font-family: 'Work Sans';
    font-style: normal;
    font-weight: 700;
    src: local(''), url('work-sans-v13-latin/work-sans-v13-latin-700.woff2') format('woff2'),
        /* Chrome 26+, Opera 23+, Firefox 39+ */
        url('work-sans-v13-latin/work-sans-v13-latin-700.woff') format('woff');
    /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


/* work-sans-italic - latin */

@font-face {
    font-family: 'Work Sans';
    font-style: italic;
    font-weight: 400;
    src: local(''), url('work-sans-v13-latin/work-sans-v13-latin-italic.woff2') format('woff2'),
        /* Chrome 26+, Opera 23+, Firefox 39+ */
        url('work-sans-v13-latin/work-sans-v13-latin-italic.woff') format('woff');
    /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

body,
h1,
h2,
h3,
h4,
a,
p,
span,
label,
select,
input,
strong {
    font-family: 'Work Sans', sans-serif;
}

label,
span.form-label {
    color: var(--es-light-color);
    font-weight: bold;
}

span.form-label {
    margin-bottom: 0.5rem;
    display: inline-block;
}

label.es-sec-label {
    font-weight: normal;
    color: var(--es-dark-color);
    display: block;
}


/*LOGIN*/

.es-login-page {
    padding-top: 10vh;
}

.es-recover-page {
    padding-top: 5vh;
}

.card.es-card.es-logininfo {
    background-image: url(img/02.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.card.es-card.es-logininfo:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    display: table;
    background: var(--es-dark-alpha);
    border-radius: 1rem;
    z-index: 0;
}

.card.es-card.es-logininfo .card-body {
    z-index: 2;
}

.card.es-card.es-logininfo p,
.card.es-card.es-logininfo h1,
.card.es-card.es-logininfo a {
    color: var(--es-white);
}

.card.es-card.es-logininfo img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(2%) saturate(7500%) hue-rotate(196deg) brightness(104%) contrast(100%);
    padding: 10px 20px 10px 0;
}

.es-copyright,
.es-copyright a {
    color: var(--es-dark-color);
}

.es-languages a {
    color: var(--es-dark-color);
    text-decoration: none;
    padding: 0.75rem;
    border: solid 1px var(--es-light-color);
    border-radius: 1rem;
}

.es-languages a.es-active,
.es-languages a.es-active:hover {
    background: var(--es-light-color);
    color: var(--es-white);
    border: solid 1px var(--es-light-color);
}

.es-languages a:hover {
    background: var(--es-dark-color);
    color: var(--es-white);
    border: solid 1px var(--es-dark-color);
}


/*SIDEBAR*/

.es-sidebar {
    height: 100vh;
}

.es-sidebar-cont {
    background: var(--es-white);
    position: sticky;
    top: 0;
    max-height: 100vh;
    border-right: solid 1px var(--es-grey-color);
}

.es-logos img {
    padding: 10px;
    height: 70px;
}

.es-logos {
    padding: 2px 0 3px 0;
}

span.es-useravatar {
    background: var(--es-grey-color);
    width: 40px;
    height: 40px;
    display: inline-block;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    line-height: 40px;
}

.es-usertexts {
    width: calc(100% - 65px);
    display: inline-block;
    padding-left: 10px;
    vertical-align: middle;
}

.es-usertexts strong,
.es-usertexts span {
    display: block;
    font-size: 1rem;
    white-space: normal;
}

.es-sidebar-menu {
    margin-top: 2rem;
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
    height: calc(100vh - 270px);
}

.es-sidebar-menu a.nav-link.active {
    background: transparent;
    color: var(--es-light-color);
    font-weight: bold;
}

.es-sidebar-menu a.nav-link.active img {
    filter: var(--es-filter-light);
}

.es-sidebar-menu a.nav-link.active img:after {
    content: "";
    width: 100%;
    height: 100%;
    filter: var(--es-filter-light);
}

.es-sidebar-menu a.nav-link {
    font-size: 1.25rem;
    color: var(--es-dark-color);
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    text-overflow: ellipsis;
}

.es-sidebar-menu a.nav-link.dropdown-toggle::after {
    position: absolute;
    top: calc(50% - 3px);
    right: 8px;
}

.es-sidebar-menu a.nav-link img {
    width: 2.5rem;
    margin-right: 1rem;
    filter: var(--es-filter-dark);
}

a.nav-link:hover {
    background: var(--es-lighter-color);
}

.dropdown.es-userdropdown:hover {
    background: var(--es-lighter-color);
    border-radius: 36px;
}

.es-userdropdown>a {
    display: block;
}

.dropdown-item.active,
.dropdown-item:active {
    background: var(--es-dark-color);
}

.dropdown.es-userdropdown {
    padding: 0 1rem;
}

.es-title h1,
h1.es-login-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--es-dark-color);
}

.es-title h1 {
    font-size: 1.5rem;
}

h1.es-login-title {
    font-size: 1.25rem;
}

.es-title {
    padding: 1.5rem 2rem 0.5rem 2rem;
    position: sticky;
    top: 0;
    background: var(--es-light-bg);
    z-index: 10;
    margin: 0 -2rem 1rem -2rem;
}

.es-title .breadcrumb {
    font-family: 'Work Sans';
    margin-bottom: 0;
}

.es-title .breadcrumb li,
.es-title .breadcrumb li a {
    color: var(--es-dark-color);
    text-decoration: none;
}

.card.es-card {
    border: none;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

span.es-homeicon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--es-light-alpha);
    display: inline-block;
    border-radius: 50%;
    text-align: center;
}

.es-homeicon img {
    width: 100%;
    padding: 0.5rem;
    filter: var(--es-filter-dark);
}

h4.es-small-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--es-light-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.es-card h2,
h2 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.es-cand-home h2 {
    margin-bottom: 0.4rem;
}

.es-carddetail i {
    color: var(--es-light-color);
}

.es-carddetail span {
    margin-right: 1rem;
    white-space: nowrap;
}

.es-carddetail span:last-child {
    margin: 0;
}

span.es-alert-detail,
span.es-alert-detail i {
    color: var(--es-danger-color);
}

span.es-success-detail,
span.es-success-detail i {
    color: var(--es-success-color);
}

span.es-warning-detail,
span.es-warning-detail i {
    color: var(--es-warning-color);
}

.es-linkcol a,
.es-link a {
    text-decoration: none;
    display: inline-block;
    font-weight: 700;
    color: var(--es-light-color);
}

.es-link {
    margin-bottom: 0.5rem;
}

a.es-sec-link {
    color: var(--es-dark-color);
    font-weight: normal;
}

.es-cand-document:first-child .es-link {
    margin-bottom: 0;
}

p.es-carddetail {
    margin: 0;
}

.es-linkcol {
    border-left: solid 1px var(--es-grey-color);
    padding-left: 1.5rem;
}

.es-linkcol a,
.es-link a {
    transition: ease 0.2s;
}

.es-linkcol a:hover,
.es-link a:hover {
    color: var(--es-dark-color);
    transition: ease 0.2s;
}

.es-card .card-body {
    padding: 1.5rem;
}

.es-content {
    padding: 0 2rem;
}

.es-valuetitle h2,
.es-valuetitle p {
    padding-right: 1rem;
}

.col-xl-12 .es-valuetitle h2,
.col-xl-12 .es-valuetitle p,
.col-12 .es-valuetitle h2,
.col-12 .es-valuetitle p {
    padding-right: 0;
}

.es-alert.alert {
    border: none;
    border-radius: 1rem;
    font-family: 'Work Sans', sans-serif;
    font-weight: bold;
}

.es-alert.alert-primary {
    color: var(--es-dark-grey);
    background: var(--es-lighter-color);
}

.es-alert.alert-warning {
    background: var(--es-warning-bg);
    color: var(--es-warning-color);
}

.es-alert.alert-danger {
    color: var(--es-danger-color);
    background: var(--es-danger-bg);
}

.es-success.alert-success {
    color: es-success-color;
    background: var(--es-success-bg);
}

.es-content .form-check-input,
.es-content .form-check-label,
.modal-body .form-check-input,
.modal-body .form-check-label,
.es-card .form-check-input,
.es-card .form-check-label {
    cursor: pointer;
}

.es-content .form-check-input:checked,
.es-card .form-check-input:checked,
.modal-body .form-check-input:checked {
    background-color: var(--es-light-color);
    border-color: var(--es-light-color);
}

.es-readonly-check .form-check-input:disabled~.form-check-label,
.es-readonly-check .form-check-input[disabled]~.form-check-label,
.es-readonly-check .form-check-input:disabled {
    opacity: 1;
    cursor: default;
}

.form-check.es-check-aslabel {
    margin-bottom: 0.5rem;
}

span.badge.es-success-label {
    background-color: var(--es-success-bg) !important;
    color: var(--es-success-color);
    margin-right: 0.5rem;
}

span.badge.bg-danger.es-danger-label,
span.badge.es-danger-label {
    color: var(--es-danger-color);
    background-color: var(--es-danger-bg) !important;
    margin-right: 0.5rem;
}

span.badge.es-badge-default {
    color: var(--es-dark-color);
    background: var(--es-lighter-color);
}

.es-carddetail span.badge.es-badge-default {
    margin-right: 0;
}

span.badge.es-processing-label,
span.badge.es-alert-label {
    background: var(--es-warning-bg);
    color: var(--es-warning-color);
    margin-right: 0.5rem;
}

.es-medium-grades {
    margin-top: -2px;
}

.es-gradename {
    margin-right: 0.5rem;
}


/*BUTTONS*/

.btn.es-btn-secondary {
    background: var(--es-white);
    border-color: var(--es-dark-color);
    color: var(--es-dark-color);
}

.btn.es-btn-secondary:hover,
.btn.es-btn-secondary:focus {
    background: var(--es-dark-color);
    color: #fff;
}

.btn.es-btn-primary {
    background: var(--es-dark-color);
    border-color: var(--es-dark-color);
    color: var(--es-white);
}

.btn.es-btn-primary:hover,
.btn.es-btn-primary:focus {
    background: var(--es-hover-color);
    color: var(--es-white);
}

.btn.es-btn-transparent {
    color: var(--es-dark-color);
}

.btn.es-btn-transparent:hover {
    border-color: var(--es-dark-color);
}


/*PAGINAÇÃO*/

.es-pagination-txt {
    position: relative;
    padding-top: 3px;
}

.es-pagination-container {
    position: sticky;
    top: 89px;
    z-index: 3;
    background: var(--es-light-bg);
    padding: 1px 0;
}

.es-pagination-container .es-link a {
    padding-top: 5px;
    margin-bottom: 0;
}

.es-pagination-container button.btn.es-btn-secondary {
    background: transparent;
    border-color: transparent;
}

.es-pagination-container button.btn.es-btn-secondary:hover {
    background: var(--es-dark-color);
    border-color: var(--es-dark-color);
}

.es-notification.es-card {
    background: var(--es-lighter-color);
}

.es-notification.es-readed-notification {
    background: var(--es-white);
}

.es-notification span.badge.es-badge-default {
    background: var(--es-white);
}

.es-notification.es-readed-notification span.badge.es-badge-default {
    background: var(--es-lighter-color);
}

.es-rooms-pagination {
    position: sticky;
    top: 92px;
    z-index: 11;
    background: var(--es-light-bg);
}


/*PG DADOS PESSOAIS*/

img.es-userdata-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}


/*PG SERVIÇOS*/

a.es-servicelink,
a.es-roomlink {
    background: var(--es-light-bg);
    display: block;
    padding: 1rem;
    height: 100%;
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    transition: ease 0.2s;
}

a.es-servicelink:hover,
a.es-roomlink:hover {
    background: var(--es-lighter-color);
    transition: ease 0.2s;
}

a.es-servicelink span {
    background: var(--es-white);
}

span.es-noresults {
    background: var(--es-lighter-color);
}

a.es-servicelink span,
span.es-noresults {
    width: 4rem;
    display: inline-block;
    height: 4rem;
    text-align: center;
    line-height: 4rem;
    font-size: 2rem;
    margin: 0 auto;
    border-radius: 50%;
    color: var(--es-dark-color);
}

a.es-servicelink span img {
    width: 2.5rem;
    margin-top: -0.3rem;
    filter: var(--es-filter-dark);
}

.es-servicelink p {
    text-align: left;
    margin: 1rem 0 0 0;
    color: var(--es-light-color);
    font-weight: bold;
}

a.es-roomlink p {
    color: var(--es-dark-color);
    text-align: left;
    margin-bottom: 0;
}

.es-accordion .accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px !important;
}

.es-accordion .accordion-item .accordion-button.collapsed {
    border-radius: 10px !important;
}

.es-accordion .accordion-button:not(.collapsed) {
    background: var(--es-white);
    color: var(--es-dark-color);
    border-radius: 10px 10px 0 0 !important;
}

.es-accordion .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem var(--es-light-alpha);
}

.accordion-button:not(.collapsed)::after {
    filter: var(--es-filter-light);
}

.es-dividertitle .es-small-title {
    margin-top: 0.5rem;
}


/*FORMS*/

.es-content .form-control:focus,
.es-card .form-control:focus,
.modal-body.form-select:focus,
.es-content .form-select:focus,
.es-card .form-select:focus,
.modal-body.form-select:focus {
    box-shadow: 0 0 0 0.25rem var(--es-light-alpha);
    border-color: var(--es-light-color);
}

p.es-p-edform {
    line-height: 38px;
    margin-bottom: 0;
}

.es-radio label {
    color: var(--es-dark-color);
    font-weight: normal;
}

.es-content .form-check input,
.es-card .form-check input,
.modal-body .form-check input {
    width: 1em;
    height: 1em;
    margin-top: 0.25em;
    vertical-align: top;
    background-color: var(--es-white);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid rgba(0, 0, 0, .25);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
}

.es-content .form-check input,
.es-card .form-check input,
.modal-body .form-check input {
    float: left;
    margin-left: -1.5em;
}

.es-content .form-check input[type="checkbox"],
.es-card .form-check input[type="checkbox"],
.modal-body .form-check input[type="checkbox"] {
    border-radius: 0.25em;
}

.es-content .form-check input[type="radio"],
.es-card .form-check input[type="radio"],
.modal-body .form-check input[type="radio"] {
    border-radius: 50%;
}

.es-content .form-check input:hover,
.es-card .form-check input:hover,
.form-check label:hover,
.modal-body .form-check input:hover {
    cursor: pointer;
}

.es-content .form-check input:checked,
.es-card .form-check input:checked,
.es-radio.form-check input:checked,
.modal-body .form-check input:checked {
    background-color: var(--es-light-color);
    border-color: var(--es-light-color);
}

.es-content .form-check input[type="checkbox"]:checked,
.es-card .form-check input[type="checkbox"]:checked,
.modal-body .form-check input[type="checkbox"]:checked {
    background-image: url(img/forms/check.svg);
}

.es-content .form-check input[type="radio"]:checked,
.es-card .form-check input[type="radio"]:checked,
.modal-body .form-check input[type="radio"]:checked {
    background-image: url(img/forms/radio.svg);
}

.es-content .form-check input:focus,
.es-card .form-check input:focus,
.modal-body .form-check input:focus {
    border-color: var(--es-light-color);
    outline: 0;
    box-shadow: 0 0 0 0.25rem var(--es-light-alpha);
}


/*HORÁRIOS*/

.es-timetable table {
    width: 100%;
    table-layout: fixed;
}

.es-timetable tr {
    height: 2.5rem;
}

.es-timetable td {
    background: transparent;
}

.es-timetable tr.es-hourrow,
.es-timetable tr.es-hour15 {
    background: var(--es-light-bg);
}

.es-timetable tr.es-hourrow {
    border-top: solid 1px var(--es-grey-color);
}

.es-timetable-year {
    margin-right: 1rem;
}

td.es-ttclass {
    position: relative;
    background: transparent;
}

.es-class-content {
    display: block;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    position: absolute;
    top: 0;
    left: 0;
    margin: 3px;
    border-radius: 10px;
    padding: 0.5rem;
}

.es-class-content p {
    margin-bottom: 0;
    font-size: 0.75rem;
    line-height: 1rem;
}


/*cores não alteradas nos vários temas - vêm do sophia*/

.es-class-teo .es-class-content,
.es-classtypeicon.es-class-teo {
    background: #FFE285;
}

.es-class-lab .es-class-content,
.es-classtypeicon.es-class-lab {
    background: #BFDBF7;
}

.es-class-flw .es-class-content,
.es-classtypeicon.es-class-flw {
    background: #91B693;
}

.es-class-otr .es-class-content,
.es-classtypeicon.es-class-otr {
    background: #ECB998;
}

.es-classtypeicon {
    padding: 0.3rem;
    display: inline-block;
    min-width: 2rem;
    text-align: center;
    height: 2rem;
    border-radius: 0.5rem;
    margin-right: 0.3rem;
}

th.es-daycol {
    text-transform: uppercase;
}

.es-hourcol {
    width: 3rem;
    font-size: 0.75rem;
    padding-left: 0.2rem;
    vertical-align: top;
    padding-top: 0.2rem;
}

p.es-class-name {
    font-weight: bold;
}

.es-inline-form p {
    margin-bottom: 0;
}


/*MAPA CAMPUS*/

.es-map-menu ul {
    padding-left: 0;
    list-style: none;
    margin-left: -0.75rem;
}

.es-map-menu ul li {
    margin-bottom: 0.5rem;
}

.es-map-menu ul li a {
    text-decoration: none;
    color: var(--es-dark-color);
    padding: 0.2rem 0.75rem;
    display: inline-block;
}

.es-map-menu ul li.es-active a {
    color: var(--es-light-color);
    font-weight: bold;
}

.es-map-menu ul li a:hover {
    background: var(--es-light-bg);
    border-radius: 3rem;
}

.es-campusmap {
    overflow-x: auto;
}


/*INSCRIÇÕES*/

span.es-stepnum {
    width: 3rem;
    height: 3rem;
    display: inline-block;
    text-align: center;
    background: var(--es-dark-color);
    color: var(--es-white);
    font-weight: bold;
    line-height: 3rem;
    border-radius: 1.5rem;
    font-size: 1.5rem;
    vertical-align: middle;
}

.es-step {
    display: inline-block;
    margin-right: 2rem;
    padding-bottom: 0.5rem;
}

.col-12.es-insc-steps {
    padding-top: 1rem;
    padding-bottom: 2rem;
}

span.es-stepname {
    font-weight: bold;
    padding-left: 0.5rem;
    color: var(--es-dark-color);
}

.es-step.es-stepactive .es-stepnum {
    background: var(--es-light-color);
}

.es-stepactive span.es-stepname {
    color: var(--es-light-color);
}

.es-card.es-uc-applied {
    background: var(--es-lighter-color);
}

.es-card.es-uc-applied .badge.es-success-label.rounded-pill {
    background-color: var(--es-white) !important;
    color: var(--es-dark-color);
}

a.es-collapse-link {
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--es-dark-color);
}

a.es-collapse-link:hover {
    color: var(--es-light-color);
}

.es-classes-container .card.es-card {
    height: calc(100% - 1.5rem);
}

.es-tabs.nav-pills .nav-link.active,
.es-tabs.nav-pills .show>.nav-link {
    background-color: var(--es-dark-color);
    color: var(--es-white);
}

.es-tabs.nav-pills .nav-link {
    color: var(--es-dark-color);
}

.es-tabs .nav-link:focus,
.es-tabs .nav-link:hover {
    color: var(--es-hover-color);
}


/*UTILIZADORES SOPHIA*/


/*GRIDS*/

.es-grid {
    border-radius: 1rem;
    overflow: hidden;
    background: var(--es-white);
    margin-bottom: 1.5rem;
}

.es-grid .table th {
    background: var(--es-lighter-color);
    font-size: 0.75rem;
    color: var(--es-dark-color);
    border-bottom-color: var(--es-light-color) !important;
}

.es-datecol {
    width: 110px;
}

.es-grid td {
    position: relative;
}

a.es-gridlink {
    width: 2rem;
    height: 2rem;
    display: inline-block;
    line-height: 2rem;
    background: var(--es-light-bg);
    text-align: center;
    border-radius: 1rem;
    border: solid 1px var(--es-lighter-color);
    color: var(--es-darker-color);
}

a.es-gridlink:hover {
    background: var(--es-lighter-color);
}

.es-grid table.table {
    margin-bottom: 0;
}

.es-grid .es-pagination-container {
    background: var(--es-lighter-color);
}

.es-grid .es-pagination-container .btn-toolbar {
    padding: 5px 0;
    justify-content: flex-end;
}

.es-grid p {
    margin-bottom: 0.5rem;
}

.es-grid p:last-child {
    margin-bottom: 0;
}

a.es-collapse-link.collapsed i {
    transform: rotate(0);
}

a.es-collapse-link i {
    transform: rotate(180deg);
}

.es-multipleaddress p {
    margin-bottom: 2px;
}

.es-multipleaddress p:last-child {
    margin-bottom: 1rem;
}

.es-medium-value {
    padding-top: 11px;
}

.btn-group>.btn.es-btn-primary:not(:first-child):not(.dropdown-toggle) {
    border-left-color: var(--es-hover-color);
}

.es-usophia-toolbar {
    margin-top: 0.5rem;
}


/*DOCENTES*/

.es-docgrad:after {
    content: "";
    display: block;
    height: 1px;
    background: var(--es-grey-color);
    width: 100%;
    margin: 1rem 0.75rem 2rem 0.75rem;
}

.es-docgrad:last-child::after {
    display: none;
}

input.form-control.es-gradeinput {
    width: 45px;
}

.es-grid tr.es-first-row th {
    border-bottom-width: 0.5px;
    border-left: solid 0.5px var(--es-light-color);
}

.es-grid tr.es-first-row th:first-child {
    border-left: none;
}

th.es-headseccol {
    border-left: solid 0.5px var(--es-light-color);
}

th.es-studentnamecol {
    width: 20%;
}

th.es-studentnamecol-finalgrade {
    width: 45%;
}
th.es-gradedate-col{
    width: 120px;
}
.es-grid input,
.es-grid select {
    font-size: 0.75rem;
}
select.form-select.es-classification-ddl {
   min-width: 140px;
}
.es-tooltip-alert.tooltip {
    opacity: 1;
    top: -53px;
}
input.es-gradedate-input{
    width: 100px;
}
select.es-attendance{
    width: 75px;
}
.es-tooltip-alert.tooltip.bs-tooltip-top .tooltip-inner {
    background: var(--es-warning-bg);
    color: var(--es-warning-color);
    font-family: 'Work Sans';
    max-width: inherit;
    width: 230px;
}

.es-tooltip-alert.tooltip.bs-tooltip-top .tooltip-arrow:before {
    border-top-color: var(--es-warning-bg);
}
input.es-editedgrade-field, select.es-editedgrade-field{
    background: var(--es-success-light);
}
.es-inlinefield-space{
    padding-left: 2rem;
}
/*MODALS*/

.es-modal .modal-header {
    background: var(--es-dark-color);
    color: #fff;
}

.es-modal.es-modal-bslayout {
    display: block;
}

.es-modal.es-modal-up {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1005;
    background: rgba(0, 0, 0, 0.5);
    height: 100vh;
    left: 0;
}
.modal-body.es-modalscroll {
    max-height: calc(100vh - 195px);
    overflow-y: auto;
}

@media(min-width:1900px) {
    .col-xl-3.es-sidebar-cont {
        width: 20%;
    }

    .es-content.col-xl-9 {
        width: 80%;
    }
}

@media(min-width:1400px) {
    .col-xl-3.es-sidebar-cont {
        width: 21%;
    }

    .es-content.col-xl-9 {
        width: 79%;
    }

    .es-cand-document {
        min-height: 140px;
    }

    .row.es-cand-docfooter {
        min-height: 3rem;
    }
}

@media(max-width:1399px) {
    .es-grid {
        font-size: 0.75rem;
    }

    .es-alert {
        font-size: 0.75rem;
    }

    span.es-stepnum {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.25rem;
        line-height: 2.5rem;
    }

    span.es-stepname {
        font-size: 0.75rem;
        padding-left: 0.25rem;
    }

    .es-rooms-pagination {
        top: 87px;
    }

    span.es-classtypeicon,
    span.es-classtypetext {
        font-size: 0.75rem;
    }

    .es-classtypeicon {
        min-width: 1.5rem;
        height: 1.5rem;
    }

    .es-logos img {
        padding: 10px;
        height: 70px;
    }

    a.es-collapse-link {
        font-size: 0.75rem
    }

    .es-usertexts strong,
    .es-usertexts span {
        font-size: 0.75rem
    }

    .es-sidebar-menu a.nav-link {
        font-size: 1rem;
        padding: 0.4rem 1rem;
    }

    .es-sidebar-menu a.nav-link img {
        width: 2rem;
    }

    .es-sidebar-menu hr {
        height: 1px;
    }

    .es-sidebar-menu {
        margin-top: 1rem;
        height: calc(100vh - 220px);
    }

    h4.es-small-title {
        font-size: 0.75rem;
        margin-bottom: 0.2rem;
    }

    p,
    p.es-carddetail {
        font-size: 0.75rem;
    }

    .es-card h2,
    h2 {
        font-size: 1.25rem;
    }

    .es-linkcol a,
    .es-link a {
        font-size: 0.75rem;
    }

    .es-link,
    .es-linkcol a {
        margin-bottom: 0.25rem;
    }

    .es-sidebar-cont hr {
        margin: 0.75rem 0;
    }

    .card.es-card {
        margin-bottom: 1rem;
    }

    label,
    .card-body p,
    span.form-label {
        font-size: 0.75rem;
        line-height: 1rem;
    }

    select.form-select,
    input.form-control {
        font-size: 0.75rem;
    }

    .es-title .breadcrumb {
        font-size: 0.75rem;
    }

    .es-inline-form label {
        padding-bottom: 6px;
    }

    .es-inline-form p {
        margin-bottom: 2px;
    }

    .es-servicelink p {
        font-size: 0.75rem;
    }

    .es-pagination-txt {
        font-size: 0.75rem;
        padding-top: 5px;
    }

    .es-pagination-container .es-link a {
        padding-top: 7px;
    }

    .btn.es-btn-primary,
    .btn.es-btn-secondary,
    .btn.es-btn-transparent {
        font-size: 0.75rem;
    }

    .es-tabs.nav-pills .nav-link {
        font-size: 0.75rem;
    }

    .es-cand-document {
        min-height: 130px;
    }

    .es-medium-value {
        padding-top: 6px;
    }
   
}

@media(max-width:1199px) {

    .es-map-menu,
    .es-map-menu h4.es-small-title {
        font-size: 0.75rem;
    }

    .card.es-card.es-logininfo {
        height: auto;
    }

    .es-login-page {
        padding-top: 5vh;
    }

    span.es-homeicon.es-homeicon-inline {
        width: 2rem;
        height: 2rem;
        margin-bottom: 0.5rem;
    }

    h4.es-small-title.es-homecard-title {
        display: inline-block;
        padding-left: 0.5rem;
        white-space: nowrap;
        max-width: calc(100% - 45px);
        text-overflow: ellipsis;
        overflow: hidden;
        vertical-align: middle;
    }

    .es-linkcol {
        padding-left: calc(var(--bs-gutter-x)/ 2);
        border-left: none;
        margin-top: 1rem;
    }

    .es-linkcol:before,
    .es-grade-value:before,
    .es-ects-value:before,
    .es-medium-value:before {
        content: "";
        display: block;
        border-top: solid 1px var(--es-grey-color);
        padding-bottom: 1rem;
    }

    .es-link {
        display: inline-block;
        padding-right: 1rem;
    }

    .es-pagination-container .es-link {
        padding-right: 0;
    }

    .es-valuetitle .es-carddetail span {
        margin-right: 0;
        padding-top: 4px;
        display: inline-block;
    }

    .es-valuetitle h2 {
        padding-right: 0;
    }

    footer.es-footer {
        background: var(--es-white);
        text-align: center;
        position: sticky;
        bottom: 0;
        z-index: 100;
    }

    .es-footer i {
        font-size: 35px;
        display: block;
        margin-bottom: 0.5rem;
    }

    footer.es-footer button {
        border: none;
        background: var(--es-white);
        width: 100%;
    }

    footer.es-footer a,
    footer.es-footer button {
        height: 85px;
        display: block;
        text-decoration: none;
        color: var(--es-dark-color);
        padding: 0.75rem;
    }

    footer.es-footer a:hover,
    footer.es-footer button:hover {
        background: var(--es-lighter-color);
        border-radius: 0.5rem;
    }

    footer.es-footer img {
        width: 25px;
        display: block;
        margin: 0 auto;
        padding-bottom: 0.5rem;
    }

    footer.es-footer label {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        line-height: 1rem;
        display: block;
        font-weight: normal;
        color: var(--es-dark-color);
    }

    footer.es-footer span.es-useravatar {
        width: 35px;
        height: 35px;
        line-height: 35px;
        margin-bottom: 0.5rem;
    }

    .es-sidebar-mobilemenu {
        position: fixed;
        top: 0;
        height: 100vh;
        width: 320px;
        background: var(--es-white);
        z-index: 11;
    }

    .es-sidebar-usermenu {
        position: fixed;
        top: 0;
        right: 0;
        height: calc(100vh - 85px);
        width: 280px;
        background: var(--es-white);
        z-index: 11;
    }

    .es-sidebar-mobilemenu.show {
        left: 0;
        transition: left ease 0.2s;
        border-right: solid 1px var(--es-grey-color);
        overflow-x: auto;
    }

    .es-sidebar-mobilemenu:not(.show) {
        left: -320px;
        transition: left ease 0.2s;
    }

    button.es-externalcollapselink {
        position: fixed;
        top: 0;
        height: calc(100vh - 85px);
        border: 0;
        background: transparent;
        width: 100vw;
        transition: ease 0.2s;
        z-index: 12;
    }

    .es-sidebar-mobilemenu button.es-externalcollapselink {
        left: 0;
    }

    .es-sidebar-mobilemenu.show button.es-externalcollapselink {
        left: 320px;
        width: calc(100vw - 320px);
        background: var(--es-dark-alpha);
        transition: ease 0.2s;
    }

    .es-sidebar-mobilemenu.es-sidebar-usermenu button.es-externalcollapselink {
        right: 0;
    }

    .es-sidebar-mobilemenu.es-sidebar-usermenu.show button.es-externalcollapselink {
        left: auto;
        right: 280px;
        width: calc(100vw - 280px);
        background: var(--es-dark-alpha);
        transition: ease 0.2s;
    }

    .es-sidebar-usermenu.show {
        left: auto;
        right: 0;
        transition: right ease 0.2s;
        z-index: 11;
        border-left: solid 1px var(--es-grey-color);
    }

    .es-sidebar-usermenu:not(.show) {
        left: auto;
        right: -280px;
        transition: right ease 0.2s;
    }

    .es-sidebar-usermenu button.es-externalcollapselink {
        position: fixed;
        top: 0;
        left: 0;
        height: calc(100vh - 85px);
        border: 0;
        background: transparent;
        width: 100vw;
        transition: ease 0.2s;
        z-index: 12;
    }

    .es-sidebar-mobilemenu.show button.es-externalcollapselink {
        left: 320px;
        width: calc(100vw - 320px);
        background: var(--es-dark-alpha);
        transition: ease 0.2s;
    }

    .es-sidebar-mobilemenu .es-sidebar-menu li {
        max-width: 100%;
    }

    .es-sidebar-mobilemenu .es-sidebar-menu a.nav-link {
        font-size: 1rem;
        max-width: 100%;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .es-sidebar-mobilemenu .es-sidebar-menu a.nav-link img {
        width: 2rem;
    }

    .es-grade-value,
    .es-ects-value,
    .es-medium-value {
        margin-top: 0.5rem;
        padding-top: 1rem;
    }

    .es-valuetitle h2,
    .es-valuetitle p {
        padding-right: 0;
    }

    .es-content {
        padding: 0 1rem;
        min-height: calc(100vh - 85px);
    }

    .es-hourcol {
        width: 2rem;
        font-size: 0.5rem;
    }

    th.es-daycol {
        font-size: 0.75rem;
    }

    .es-class-content p,
    .es-class-content a,
    .es-class-content a i {
        font-size: 0.5rem;
        line-height: 0.75rem;
    }

    .es-class-content {
        padding: 0.2rem;
    }

    .es-class-content i {
        font-size: 0.75rem;
    }

    .es-daily-timetable .es-class-content p {
        font-size: 0.75rem;
    }

    .es-daily-timetable .es-class-content {
        padding: 0.5rem;
    }

    .es-daily-timetable .es-hourcol {
        font-size: 0.75rem;
        width: 2rem;
    }

    .es-title {
        margin: 0;
        padding: 1.5rem 0 0.5rem 0;
    }

    .es-cand-document {
        min-height: auto;
    }

    .es-medium-value {
        padding-top: 0;
    }
}