.modal-title {
    margin-top:0;
}
.modal-body {
    max-height: 55vh;
    max-height: 55dvh;
    min-height: 13vh;
    min-height: 13dvh;
    min-height: -webkit-fill-available;
    overflow-y: auto;
}

span,
div,
p,
.ls-0 {
    letter-spacing: 0 !important;
}

.no-process-border .process .process-step:before {
    display: none !important;
}


/* form validation display */

.form-control.is-invalid,
.was-validated .form-control:invalid,
.form-control.is-valid,
.was-validated .form-control:valid {
    background-position: right calc(1em + 0.1875rem) center;
}

.ql-editor {
    max-height: 200px;
}

.ql-editor.ql-blank::before {
    color: #999 !important;
    font-style: normal !important;
    opacity: 1 !important;
}

::-moz-placeholder {
    color: #999 !important;
    font-style: normal !important;
    opacity: 1;
}

:-ms-input-placeholder {
    color: #999 !important;
    font-style: normal !important;
}

::-webkit-input-placeholder {
    color: #999;
    font-style: normal !important;
}

@media (min-width: 768px) {
    .modal-mt-15 {
        margin-top: 15%;
    }
    .tooltip.project-status-tooltip .tooltip-inner {
        max-width: 350px;
        width: 20vw;
        min-width: 200px;
    }

    .w-md-25 {
        width: 25% !important;
    }
    .border-md-0 {
        border: none !important;
    }
}

.mt-2_5 {
    margin-top: .75em;
}


.text-decoration-underline {
    text-decoration: underline;
}
/* Font Size */

.text-1, .fs-8 {
    font-size: 0.8em !important;
}

.text-2, .fs-7 {
    font-size: 0.9rem !important;
}

.text-3 {
    font-size: 1em !important;
}

.text-4 {
    font-size: 1.2em !important;
}

.text-5 {
    font-size: 1.5em !important;
}

.text-6 {
    font-size: 1.8em !important;
}

.text-7 {
    font-size: 2em !important;
}

.text-8 {
    font-size: 2.3em !important;
}

.text-9 {
    font-size: 2.5em !important;
}

.text-10 {
    font-size: 2.75em !important;
}

.text-11 {
    font-size: 3em !important;
}

.text-12 {
    font-size: 3.5em !important;
}

.text-13 {
    font-size: 4em !important;
}

.text-14 {
    font-size: 4.5em !important;
}

.text-15 {
    font-size: 5em !important;
}

.slash-behind {
    text-align: center;
    text-transform: uppercase;
    position: relative
}

.slash-behind:before {
    border-top: 2px solid #dfdfdf;
    content: "";
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    bottom: 0;
    width: 95%;
    z-index: -1;
}

.slash-behind span {
    background: #fff;
    padding: 0 15px;
}

.text-light-gray {
    color: #666;
}

.btn-hover-underline:hover {
    text-decoration: underline;
}

form .input-group-append .input-group-text {
    height: calc(1.5em + 0.75rem + 2px);
}

.nav-tabs .nav-link.disabled:hover {
    cursor: not-allowed;
}

button:disabled,
button.disabled,
a:disabled,
a.disabled {
    cursor: not-allowed;
    pointer-events: all !important;
}
.btn-link {
    text-decoration: none;
    color: #0b71e1!important;
}
.btn-link:hover {
    text-decoration: underline;
}
.link-alert-wrapper,
.btn-link,
.edit-handler,
.clickable {
    cursor: pointer;
}

.link-alert-wrapper:hover {
    color: #212529 !important;
}

.header-link {
    font-size: 13px !important;
}

.notes-limited {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.notes-limited p {
    margin: 0;
}

.hstack,
.vstack {
    align-self: stretch;
    display: flex;
}

.htstack {
    align-items: center;
    flex-direction: row;
}

.vstack {
    flex: 1 1 auto;
    flex-direction: column;
}

.gap-1 {
    gap: 0.25rem !important;
}

.gap-2 {
    gap: 0.50rem !important;
}

.gap-3 {
    gap: 0.75rem !important;
}

.gap-4 {
    gap: 1rem !important;
}

.gap-5 {
    gap: 3rem !important;
}

.institution_logo {
    max-width: 250px;
    max-height: 250px; 
    width: auto;
    margin: auto;
}
@media (max-width: 767px) {
    .modal {
        margin-top: 60px;
        max-height: calc(100% - 110px);
    }
    .modal .modal {
        margin-top: 0;
    }
    .shadow {
        box-shadow: none !important;
    }
    .card:not(.show-sm) {
        border: 0;
    }
    .notes-limited {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 50px;
    }
    .tooltip.project-status-tooltip .tooltip-inner {
        min-width: 250px;
    }
    .institution_logo {
        max-height: 200px;
        max-width: 200px;
    }
}

.filter_list_wrapper input:checked + label, .label-button input:checked + label {
    background-color: #0b71e1;
    border-color: #0b71e1 #0b71e1 #0959b0;
    color: #fff;
}
.project-status-display-wrapper {
    width: 140px;
}
.date-wrapper {
    width: 90px;
}

[data-notification-count] {
    position: relative;
}
[data-notification-count]::before {
    content: attr(data-notification-count);
    position: absolute;
    top: -0.75em;
    right: -0.75em;
    width: 1.5em;
    height: 1.5em;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 0.6em;
}
[data-notification-count][data-blip-left]::before {
    right: inherit;
    left: -1.1em;
}
[data-notification-count][data-blip-middle]::before {
    top: 0em
}

.img-thumbnail[data-notification-count]::before {
    top: 0;
    left: 0;
    z-index: 1;
}
.non-image[data-notification-count]::before {
    top: -0.75em;
    left: -0.75em;
    z-index: 1;
}
    
/** filtertable sorting **/
[data-sortkey] [data-th-header-label]::after {
    display : block;
    content : "";
    width: 19px;
    height: 19px;
    float:right;
    background: url("../img/filtertable/sort_both.9a6486086d09.png") no-repeat;
}
[data-sortkey][data-ordering="1"] [data-th-header-label]::after {
    background: url("../img/filtertable/sort_asc.9326ad44ae4b.png") no-repeat;
}
[data-sortkey][data-ordering="-1"] [data-th-header-label]::after {
    background: url("../img/filtertable/sort_desc.1fc418e33fd5.png") no-repeat;
}

/** color **/
[data-notification-count]::before{
    background-color: #333;
    color: white;
    border: 1px solid #fefefe;
}
[data-notification-count].danger::before {
    background-color: #dc3545;
}
[data-notification-count].primary::before {
    background-color: #007bff;
}
[data-notification-count].secondary::before {
    background-color: #6c757d;
}
[data-notification-count].success::before {
    background-color: #28a745;
}
[data-notification-count].warning::before {
    background-color: #ffc107;
}

/* remove historic zoom layout stored in db */
.img-thumbnail.s3-file span.zoom {
    display: none
}

.border-bottom-md-0 {
    border: none;
}

.badge-sm {
    height: 15px;
    width: 15px;
    border-radius: 50%;
    margin-top: 0.25em;
}
.logo--invoice {
    max-width: 200px;
    max-height: 200px;
    width: auto;
    height: auto;
    margin: auto;
    display: block;
}
.logo--invoice img {
    max-width: 200px;
    max-height: 200px;
}
.circular--portrait {
    width: 200px; 
    height: 200px; 
    overflow: hidden; 
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
}
.circular--portrait.sm {
    width: 70px;
    height: 70px;
}
.circular--portrait img { 
    max-width: 260px; 
    max-height: 260px; 
}

.circular--portrait.sm img {
    max-width: 120px;
    max-height: 120px;
}
.nav-tabs li .nav-link.active {
    border-color: #0a65c9;
    color: #0a65c9;
    border-radius:0;
    background: white;
    border-bottom: 0;
    background: #ffffff !important;
}


.text {
    color: #2F8D46;
    font-weight: normal
}
  
#progressbar {
    overflow: hidden;
    color: lightgrey
}
  
#progressbar .active {
    color: #009fe3
}
  
#progressbar li {
    list-style-type: none;
    font-size: 15px;
    width: 25%;
    float: left;
    position: relative;
    font-weight: 400;
    text-align: center;
}
  
#progressbar #step1:before {
    content: "1"
}
  
#progressbar #step2:before {
    content: "2"
}
  
#progressbar #step3:before {
    content: "3"
}
  
#progressbar #step4:before {
    content: "4"
}
  
#progressbar li:before {
    width: 50px;
    height: 50px;
    line-height: 45px;
    display: block;
    font-size: 20px;
    color: #ffffff;
    background: lightgray;
    border-radius: 50%;
    margin: 0 auto 10px auto;
    padding: 2px;
    z-index: 2;
    position:relative;
}
  
#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: lightgray;
    position: absolute;
    left: 0;
    top: 25px;
    z-index: 1;
}
  
#progressbar li.active:before,
#progressbar li.active:after {
    background: #009fe3
}
  
.progress {
    height: 20px
}
  
.progress-bar {
    background-color: #009fe3
}
.dataTables_length {
    margin-bottom: .5em;
}
.nav a { text-decoration:none;}

.container.unlimited-width,
.container.unlimited-width .container.shadow
 {
    max-width: 100% !important;
}

.mb-6 {
    margin-bottom: 6em;
}
.nav-pills .nav-link {
    border-radius:0;

}

.max-height-700 {
    max-height: 700px;
    overflow-y: auto;
}
.only-time th {
    visibility: hidden!important;
}
.only-time svg {
    display: none;
}
/* autocomplete */
.ui-menu.ui-widget.ui-widget-content.ui-autocomplete {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}
/* google autocomplete */
div.widget-container {
    background: #fff!important; 
}