html,
body {
    height: 100%;
}

body.logged-in {
    background: #f2f7f8;
}

@font-face {
    font-family: 'H-Optima';
    font-style: normal;
    font-weight: normal;
    src: url(../webfonts/H-OptimaNormal.woff) format('woff'),
        url(../webfonts/h-optimanormal.ttf) format('truetype');
}

#site-slogan > a, #site-name > a{
    font-family: 'H-Optima', serif;
}

/*.wrap {*/
/*min-height: 100%;*/
/*height: auto;*/
/*margin: 0 auto -60px;*/
/*padding: 0 0 125px;*/
/*}*/

.site {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.site-content {
    flex: 1 1 auto;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding: 10px;
}

.input-spinner {
    position: absolute;
    right: 43px;
    width: 20px;
    height: 20px;
    display: none;
}

.input-spinner.horizontal {
    top: 9px;
}

.input-spinner.vertical {
    top: 41px;
}

.download-document-title {
    word-break: break-all;
    font-size: 12px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

.form-control.is-valid {
    background-image: none !important;
    border-color: #ced4da !important;
}

div.form-group.required > label:after, div.form-group.required > label.required:after {
    content: ' * ';
}

.btn-primary {
    background-color: #d6a429;
    border-color: #d6a429;
}

.btn-primary:hover {
    background-color: #d49c13;
    border-color: #d49c13;
}

.btn-primary:focus {
    background-color: #d49c13;
    border-color: #d49c13;
    box-shadow: 0 0 0 .2rem rgba(212,156,19,.5);
}

.btn-primary:active {
    background-color: #d49c13;
    border-color: #d49c13;
    box-shadow: 0 0 0 .2rem rgba(212,156,19,.5);
}

.btn-primary:not(:disabled):not(.disabled).active:focus, .btn-primary:not(:disabled):not(.disabled):active:focus, .show > .btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 .2rem rgba(212,156,19,.5);
}

.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #d49c13;
    border-color: #d49c13;
}

.btn-success {
    background-color: #d6a429;
    border-color: #d6a429;
}

.btn-success:hover {
    background-color: #d49c13;
    border-color: #d49c13;
}

.btn-success:focus {
    background-color: #d49c13;
    border-color: #d49c13;
    box-shadow: 0 0 0 .2rem rgba(212,156,19,.5);
}

.btn-success:active {
    background-color: #d49c13;
    border-color: #d49c13;
    box-shadow: 0 0 0 .2rem rgba(212,156,19,.5);
}

.btn-success:not(:disabled):not(.disabled).active:focus, .btn-success:not(:disabled):not(.disabled):active:focus, .show > .btn-success.dropdown-toggle:focus {
    box-shadow: 0 0 0 .2rem rgba(212,156,19,.5);
}

.btn-success:not(:disabled):not(.disabled).active, .btn-success:not(:disabled):not(.disabled):active, .show > .btn-success.dropdown-toggle {
    color: #fff;
    background-color: #d49c13;
    border-color: #d49c13;
}

a {
    color: #17a7bb;
}

a:hover {
    color: #0d7e8d;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    /*font-weight: normal;*/
    line-height: 1;
    padding-left: 5px;
    font-weight: 900;
}

a.asc:after {
    content: /*"\e113"*/ "\f15d";
}

a.desc:after {
    content: /*"\e114"*/ "\f15e";
}

.sort-numerical a.asc:after {
    content: "\f162";
}

.sort-numerical a.desc:after {
    content: "\f163";
}

.sort-orginal a.asc:after {
    content: "\f160";
}

.sort-orginal a.desc:after {
    content: "\f161";
}

.nowrap th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.help-block {
    color: #dc3545;
}

.has-error .help-block {
    font-size: 18px;
}

.counter-block {
    font-size: 0.75rem;
    margin-top: 0.375rem;
    color: #999
}

.tender-rating-form .hint-block {
    font-size:.75rem;
    margin-top:.375rem;
    color:#999
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media (max-width: 767px) {
    .nav li > form > button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.notify-text ul {
    list-style: none;
}

#main-menu ul > li.active, #main-menu ul > li.nav-item > a.active {
    text-decoration: none;
    background-color: #1a91a1;
}

#main-menu ul > li.active > a, #main-menu ul > li.nav-item > a.active {
    color: #fff !important;
}

#main-menu.fixed {
    position: fixed;
    top: 0;
    width: 100%;
}

.help-block-error {
    color: #dc3545;
}

.spinner-group {
    position: relative;
}

.sp {
    position: absolute;
    right: 38px;
    top: 11px;
    color: blue;
    display: none;
}

.login-container {
    margin-top: 2%;
    margin-bottom: 5%;
}

.form-control, .select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
    font-weight: 600;
    color: #333;
}

.select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
    padding-right: 16px;
}

.select2-container .select2-selection--single .select2-selection__clear {
    color: red;
    font-size: 20px;
    top: -5px;
    /*right: -27px;*/
}

.form-control:focus {
    color: #333;
}

::placeholder, .select2-selection__placeholder {
    font-weight: 400;
}

.middle-form {
    background: #fff;
}

.login-form-2, .registration-form, .middle-form {
    box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 9px 26px 0 rgba(0, 0, 0, 0.19);
}

.login-form-2 h3, .registration-form h3, .middle-form h3 {
    text-align: center;
    color: #333;
}

.login-form-1 {
    padding: 5%;
    background: #1a91a1;
    box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 9px 26px 0 rgba(0, 0, 0, 0.19);
}

.login-form-2, .registration-form {
    padding: 5%;
    background: #fff;
    box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 9px 26px 0 rgba(0, 0, 0, 0.19);
}

.login-form-2 {
    background: #f5f5f5;
}

.login-form-1 h3 {
    text-align: center;
    color: #fff;
}

.login-container form {
    padding: 10%;
}

.btnSubmit {
    width: 50%;
    border-radius: 1rem;
    padding: 1.5%;
    border: none;
    cursor: pointer;
    margin: 0 auto;
    display: block;
    margin-bottom: 20px;
}

.login-form-2 .btnSubmit, .registration-form .btnSubmit {
    font-weight: 600;
    color: #fff;
    background-color: #807d7d;
}

.login-form-1 .btnSubmit {
    font-weight: 600;
    color: #807d7d;
    background-color: #fff;
}

.login-form-1 .login-link {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.login-form-2 .login-link {
    color: #807d7d;
    font-weight: 600;
    text-decoration: none;
}

.registration-form, .middle-form {
    margin-top: 30px;
    margin-bottom: 30px;
    padding-top: 3%;
}

.registration-form h3, .middle-form h3 {
    margin-bottom: 20px;
}

.registration-form .btnSubmit, #reset-password-form .btnSubmit {
    display: block;
    margin: 0 auto;
}

.main-header {
    background: #807d7d;
    color: #fff;
    box-shadow: -11px 12px 23px rgba(0, 0, 0, .1);
    z-index: 905;
}

.logged-in .main-header {
    height: 198px;
}

#site_name_hr {
    background: #fff;
    margin: 0;
}

#pte_header {
    margin-left: 10px;
}

#pte_header a {
    color: #fff;
    text-transform: uppercase;
}

#pte_header a:hover {
    text-decoration: none;
}

.saml-login {
    margin-top: 52px;
    text-align: center;
}

.saml-login p {
    text-align: justify;
    color: #fff;
}

nav.breadcrumb {
    border-bottom: 1px solid #d2d3d4;
    border-radius: 0px;
}

#username {
    color: #fff;
}

#main-menu {
    padding: 0 25px;
}

#main-menu li.dropdown:hover > .dropdown-menu {
    display: block;
}

#main-menu .dropdown-toggle::after {
    display: inherit;
    width: 3px;
    margin: 0 auto;
}

#main-menu > ul > li {
    height: 64px;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: #17a7bb;
}

.nav-menu .nav-item {
    text-align: center;
}

.nav-menu .nav-item a > i {
    font-size: 24px;
    display: block;
}

.nav-menu .nav-item a > span {
    font-size: 12px;
}

.nav-menu li > a {
    color: #333 !important;
    display: block;
    padding: 8px;
}

.nav-menu li > a:hover {
    background: #0d7e8d;
    color: #fff !important;
    text-decoration: none;
}

.select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
    height: 23px;
}

select.is-invalid + span.select2 > .selection > span.select2-selection {
    border-color: #dc3545;
}

select.is-invalid + span.select2 + .invalid-feedback {
    display: block;
}

.invalid-container .invalid-feedback {
    display: block;
}

div[aria-invalid=true] + .invalid-feedback {
    display: block;
}

.invalid-container div.file-input {
    border: 1px solid #dc3545;
}

.invalid-feedback {
    font-size: 100%;
}

.reset-password-container {
    padding: 5%;
}

.page-icon {
    display: inline-block;
    float: left;
    font-size: 24px;
    margin-right: 10px;
}

.grid-view table {
    background: #fff;
}

@keyframes blink {
    50% {
        outline: 2px solid #ff0000;
    }
}

.blink { /*or other element you want*/
    animation: blink .5s step-end infinite alternate;
}

.index-icon {
    margin-right: 10px;
}

.active-icon {
    color: #43A047;
}

.inactive-icon, .invalid-icon {
    color: #F57C00;
}

.deleted-icon {
    color: #E53935;
}

div.toast {
    top: 130px;
}

.kv-treeview-alerts .alert {
    display: none;
}

.kv-detail-container {
    background: #fff;
}

input[name="kv-node-selected"] {
    display: none;
}

.dynamic-buttons {
    padding: 0px;
    margin-top: 14px;
    text-align: center;
}

.form-section {
    position: relative;
    background: #dedede;
    padding: 30px 15px 15px 15px;
    border: 1px solid #d2d3d4;
}

.section-title {
    display: block;
    position: absolute;
    top: -14px;
    background: #fff;
    padding: 3px 8px;
    border: 1px solid #d2d3d4;
}

.sub-section {
    margin-top: 30px;
}

.form-section .file-input {
    background: #fff;
    border-radius: 6px;
}

.document-update .field-document-document .kv-file-remove {
    display: none !important;
}

.file-box {
    padding: 10px;
}

.file-box > a {
    font-size: 38px;
}

.file-orig-name {
    word-break: break-word;
}

.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice {
    padding: 2px .75rem;
    background: #cce5ff;
}

.next-status {
    background: #fff;
    padding: 15px;
    border: 2px dashed #007bff;
}

.form-section .table {
    background: #fff;
}

.log-per-page {
    list-style: none;
    float: right;
}

.log-per-page > li {
    display: inline-block;
}

/*nav.development {*/
/*    background: #dc3545;*/
/*}*/

.env-title {
    margin-left: 20px;
}

.rating-table {
    margin-bottom: 30px;
}

#rating-tab-content {
    background: #fff;
    padding-top: 20px;
}

#researchattachment-attachmentids, #recipientstatementattachment-attachmentids, #applicantstatementattachment-attachmentids, #certificateattachment-attachmentids, #otherattachment-attachmentids, .field-tender-start_doctor_school, .field-tender-secondary_school_award
.field-tender-pro_scientia_year, .field-tender-pro_scientia_section,
.field-tender-otdk_year, .field-tender-otdk_section, .field-tender-other_won_period, .field-tender-other_won_money,
.field-tender-other_tendered_decision_date, .field-tender-other_tendered_period, .field-tender-other_tendered_money {
    display: none;
}

.download-file i {
    font-size: 40px;
}

.download-file .btn-kv {
    margin-top: 8px;
}

.download-file .file-preview-name {
    font-size: 13px;
    margin-top: 5px;
    margin-bottom: 0;
}

.download-file .file-drop-zone {
    border: none;
    margin: 0;
}

.download-file .file-preview {
    border: none;
    padding: 0;
}

.download-file .kv-file-content {
    margin: 0 auto;
}

.download-file .file-preview-frame {
    width: 248px;
    text-align: center;
}

.list-button {
    margin-bottom: 30px;
}

.rating-table thead th, .university-table thead th {
    vertical-align: top;
}

button[disabled] {
    cursor: not-allowed;
}

.datepicker-dropdown {
    z-index: 9999 !important;
}

#tender-relationship_faculty_id-wrapper li.kv-collapsed[data-lvl="2"] span.text-muted.kv-node-toggle {
    display: none;
}

#logo-content {
    justify-content: flex-end;
    display: flex;
    flex-basis: auto;
    flex-grow: 1;
}

.tender-title {
    text-transform: uppercase;
}

button.kv-file-remove[data-url="correction"] {
    display: none;
}

a[data-toggle="popover"] {
    cursor: pointer;
}

#page-loader {
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    top: 0;
    background-color: rgba(0, 0, 0, 0.8);
}

#page-loader .spinner-border {
    width: 6rem;
    height: 6rem;
}

.highlight-section-title {
    border-color: #f44336;
    color: #d32f2f;
}

.address-group {
    border: 1px solid #ced4da;
    padding: 5px 30px 0px 30px;
    margin: 20px 0;
}

h3.input-group-title {
    text-align: left;
    width: 100%;
}

.card {
    margin: 30px 0;
}

.card-section {
    padding: 22px 0;
    border-bottom: 1px solid #e5e5e5;
}

.card-section label {
    text-align: justify;
}

.card-section:last-of-type {
    border-bottom: none;
}

.ruskid-nouislider {
    margin: 10px 0;
}

.noUi-handle::before, .noUi-handle::after {
    background: #000;
}

.irs-handle.single {
    cursor: grab;
}

.irs-handle.single.state_hover {
    cursor: grabbing;
}

.irs-disable-mask {
    cursor: not-allowed;
}

#role_picker {
    width: 200px;
}

.grade-form .irs-disabled {
    opacity: unset;
}

.scroll-fixed {
    position: fixed;
    top: 59px;
}

#doc-upload-form .has-error div.file-input {
    border: 1px solid #dc3545;
}

.not-accept-section {
    display: none;
}

a.btn.disabled {
    pointer-events: auto;
    cursor: not-allowed;
}

.rating-text {
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    margin-bottom: 15px;
}

.not-allowed {
    cursor: not-allowed;
}

.fc-content .fc-title {
    font-size: 12px;
}

#conference-calendar {
    margin-bottom: 40px;
}

#conference-calendar .fc-view-container {
    background: #ffffff;
}

.fc-today.alert.alert-info {
    background: none !important;
}

.rating-section-title {
    background: #d6d9dc;
    padding: 3px;
    border: 1px solid;
    text-transform: uppercase;
}

.alert-primary {
    color: #444;
    background-color: #c6edf2;
    border-color: #aec6c9;
}

.pre-line {
    white-space: pre-line;
}

.view-text{
    padding: 10px;
    background-color: #fff;
}

.not-sent-response-container{
    max-height: 400px;
    overflow-x: auto;
}

.faculty-comment-popup{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.hidden{
    display: none;
}

.irs-disabled{
    opacity: 0.7;
}

@media screen and (max-width: 992px) {
    #main-menu ul {
        width: 100%;
        display: none;
    }

    #main-menu.open ul {
        display: block;
    }

    #main-menu ul > li {
        border-bottom: 1px solid #333;
    }

    .logged-in .main-header {
        height: auto;
    }

    .navbar-nav {
        width: 100%;
    }

    li > a#username {
        float: right;
    }

    li > a#hamburger-menu {
        float: left;
        margin-top: 10px;
    }
}

@media screen and (max-width: 599px) {
    nav.navbar > img {
        text-align: center;
        margin: 0 auto;
    }

    #pte_header, .env-title {
        width: 100%;
        text-align: center;
    }
}
