
/*
Breakpoints
* X-Small 	            None 	<576px
* Small 	            sm  	≥576px
* Medium 	            md  	≥768px
* Large 	            lg  	≥992px
* Extra large 	        xl  	≥1200px
* Extra extra large 	xxl 	≥1400px
*
*/

body {
    background-color: #343a40;
}

/* Error Page */

@media(max-width: 767px) {

    div.error-page {
        text-align: center !important;
    }

}

/* Make table cell small */
td.min {
    width: 1%;
    white-space: nowrap;
}

.login-footer {
    position: fixed;
    width: 100%;
    left: 0;
    bottom: 0;
}

.login-page-center {
    padding-bottom: 80px;
}

@media(min-height: 769px) {
    .login-page-center {
        display: flex;
        display: -ms-flexbox;
        flex-direction: column;
        justify-content: center;
        -ms-flex-pack: center;
        min-height: 90vh;
        padding-bottom: 0px;
    }
}

@media (min-height: 577px) and (max-height: 768px) {
    .login-page-center {
        display: flex;
        display: -ms-flexbox;
        flex-direction: column;
        justify-content: center;
        min-height: 90vh;
        padding-bottom: 0px;
    }

    .padding-bottom-100 {
        padding-bottom: 100px;
    }
}

@media (max-height: 576px) {
    .login-page-center {
        justify-content: start;
        margin-top: 20px;
    }

    .padding-bottom-100 {
        padding-bottom: 100px;
    }
}

.style-footer {
    box-shadow: 0px 3px 10px 5px rgba(0, 0, 0, 0.3);
}

/*
 * Animations
 *
 */

 @keyframes pulse-not-zero {
    0% {
      transform: scale(0.5);
      opacity: 0.6;
    }
    33% {
      transform: scale(1);
      opacity: 1;
    }
    100% {
      transform: scale(0.5);
      opacity: 0.6;
    }
}

@keyframes pulse {
    0% {
      transform: scale(0.5);
      opacity: 0;
    }
    33% {
      transform: scale(1);
      opacity: 1;
    }
    100% {
      transform: scale(0.5);
      opacity: 0;
    }
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes jiggle {
    0% { transform: rotate(0deg); }
    5% { transform: rotate(5deg); }
    10% { transform: rotate(-5deg); }
    15% { transform: rotate(4deg); }
    20% { transform: rotate(-4deg); }
    25% { transform: rotate(2deg); }
    30%, 100% { transform: rotate(0deg); }
}

.jiggle {
    display: inline-block;
    animation: jiggle 2s infinite ease-in-out;
}

/* **************** */
/* Calendar Spinner */

#loading,
#loadingInvoiceTable {
    position: absolute;
    left: 0%;
    top: 0%;
    height: 100%;
    width: 100%;
    background: rgba(52, 58, 64, 0.6);
    -webkit-backdrop-filter: blur(3px);
            backdrop-filter: blur(3px);
    z-index: 99;
}

#spinner,
#spinnerInvoiceTable {
    background-image: url(/images/apronpilotspinner_square.png?7792828417b894a16d1d0db413374ff3);
    position: absolute;
    left: 50%;
    top: 150px;
    height: 60px;
    width: 60px;
    margin: 0px auto;
    margin-left: -30px;
    animation: pulse 1s ease-in-out infinite;
    z-index: 1000;
    box-shadow: 0px 0px 18px -5px #000;
    -moz-box-shadow: 0px 0px 18px -5px #000;
    -webkit-box-shadow: 0px 0px 18px -5px #000;
    overflow: hidden;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
}

#spinner-small-white,
#spinner-small-white-flights {
    background-image: url(/images/apronpilotspinner_square.png?7792828417b894a16d1d0db413374ff3);
    background-size: 16px;
    width: 16px;
    height: 16px;
    left: 0px;
    top: 0px;
    animation: pulse-not-zero 0.7s ease-in-out infinite;
    border-radius: 100%;
    -moz-border-radius: 100%;
    -webkit-border-radius: 100%;
    z-index: 1000;
}

#spinner-small-olive {
    background-image: url(/images/apronpilotspinner_square.png?7792828417b894a16d1d0db413374ff3);
    background-size: 16px;
    width: 16px;
    height: 16px;
    animation: pulse-not-zero 0.7s ease-in-out infinite;
    border-radius: 100%;
    -moz-border-radius: 100%;
    -webkit-border-radius: 100%;
    z-index: 1000;
}

#spinner-top {
    background-image: url(/images/apronpilotspinner_square.png?7792828417b894a16d1d0db413374ff3);
    position: absolute;
    left: 50%;
    top: 25%;
    height: 60px;
    width: 60px;
    margin: 0px auto;
    margin-left: -30px;
    animation: pulse 1s ease-in-out infinite;
    box-shadow: 0px 0px 18px -5px #000;
    -moz-box-shadow: 0px 0px 18px -5px #000;
    -webkit-box-shadow: 0px 0px 18px -5px #000;
    overflow: hidden;
    border-radius: 100%;
    -moz-border-radius: 100%;
    -webkit-border-radius: 100%;
    z-index: 1000;
}

#spinner-centered {
    background-image: url(/images/apronpilotspinner_square.png?7792828417b894a16d1d0db413374ff3);
    position: absolute;
    left: 50%;
    top: 50%;
    height: 60px;
    width: 60px;
    margin: 0px auto;
    margin-left: -30px;
    animation: pulse 1s ease-in-out infinite;
    box-shadow: 0px 0px 18px -5px #000;
    -moz-box-shadow: 0px 0px 18px -5px #000;
    -webkit-box-shadow: 0px 0px 18px -5px #000;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    z-index: 1000;
}

.progress-div  {
    position:absolute;
    z-index: 999;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: end;
    justify-content: center;
    padding-bottom: 5px;
}

/* ********************** */
/* User mail & name check */

.loading-user {
    width: 24px;
    height: 24px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #27835a;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin: 8px;
    position: absolute;
    right: 8px;
}

.loading-delete {
    width: 24px;
    height: 24px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #27835a;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin: 8px;
    right: 8px;
}

/* ********************** */

.dashed-underline {
    border-bottom: 1px dashed #6c757d;
}

.toasts-top-right.fixed {
    z-index: 999999 !important;
}

.pointer-cursor,
.cursor-pointer {
    cursor: pointer;
}

.CursorPointerOnEvent {
    cursor: pointer;
}

.info-box {
    min-height: 45px !important;
}

button.fc-next-button,
button.fc-prev-button,
button.fc-today-button,
button.fc-dayGridMonth-button,
button.fc-timeGridWeek-button,
button.fc-listWeek-button,
button.fc-listCustomYear-button {
    background-color: #6c757d;
    border-color: #6c757d;
}

@media (max-width: 576px) {

    /*
    Bugfix for iOS 14.7.1 problem
    These two classes define the view height and the overflow method for the iOS Safari better
    */
    .main-sidebar {
        height: 100vh !important;
        overflow-y: auto;
    }

    ul.nav-sidebar li:last-child {
        margin-bottom: 50px;
    }

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

    .fc-col-header-cell-cushion {
        font-size: 0.7rem;
    }

    .fc-toolbar-title {
        text-align: center;
    }

    .fc-daygrid-day-events .fc-daygrid-event-harness a {
        font-size: 0.7rem;
        overflow: hidden;
        line-height: 1rem;
    }

    .fc-timegrid-col > div > div > div > a div.fc-event-main {
        font-size: 0.7rem;
        overflow: hidden;
        line-height: 1rem;
    }

    ul.navbar-nav li.nav-item a[data-name="topnavbar-help"],
    ul.navbar-nav li.nav-item a[data-name="topnavbar-reportbug"] {
        display: none;
    }

    .fc-header-toolbar.fc-toolbar.fc-toolbar-ltr {
        padding: 0;
    }

    .fc-header-toolbar.fc-toolbar.fc-toolbar-ltr .fc-toolbar-chunk {
        margin-bottom: 15px;
        width: 100%;
    }

    .text-right-xs {
        text-align: right !important;
    }

    .fc-header-toolbar.fc-toolbar.fc-toolbar-ltr {
        padding: 0;
    }

    .fc-header-toolbar.fc-toolbar.fc-toolbar-ltr .fc-toolbar-chunk {
        margin-bottom: 15px;
    }

    .fc-header-toolbar.fc-toolbar.fc-toolbar-ltr
        button.fc-addNewRes-button:before {
        content: "\f055";
        font-family: FontAwesome;
    }

    button.fc-addNewRes-button {
        margin-bottom: 5px;
        width: 100%;
    }

    button.fc-today-button {
        margin-top: 5px;
        margin-left: 0 !important;
        width: 100%;
    }

    h2.fc-toolbar-title {
        font-size: 1.25em !important;
    }

    div.btn-group {
        flex: auto;
        display: flex;
        margin-left: 0 !important;
    }

    .button-text {
        display: none;
    }

    .btn-xs-block {
        display: block;
        width: 100%;
    }

    input[type="submit"].btn-xs-block,
    input[type="reset"].btn-xs-block,
    input[type="button"].btn-xs-block {
        width: 100%;
    }

    .btn-block + .btn-xs-block,
    .btn-xs-block + .btn-block,
    .btn-xs-block + .btn-xs-block {
        margin-top: 0.5rem;
    }

    /* Login Page Buttons */
    .w-sm-100 {
        width: 100% !important;
    }
}

@media (min-width: 577px) and (max-width: 767px) {

    .btn-xs-block {
        display: block;
        width: 100%;
    }

    input[type="submit"].btn-xs-block,
    input[type="reset"].btn-xs-block,
    input[type="button"].btn-xs-block {
        width: 100%;
    }

    .btn-block + .btn-xs-block,
    .btn-xs-block + .btn-block,
    .btn-xs-block + .btn-xs-block {
        margin-top: 0.5rem;
    }

    /*
    Bugfix for iOS 14.7.1 problem
    These two classes define the view height and the overflow method for the iOS Safari better
    */
    .main-sidebar {
        height: 100vh !important;
        height: calc(var(--vh, 1vh) * 100);
        overflow-y: auto;
    }

    ul.nav-sidebar li:last-child {
        margin-bottom: 50px;
    }

    .fc-daygrid-day-events .fc-daygrid-event-harness a {
        font-size: 0.7rem;
        overflow: hidden;
        line-height: 1rem;
    }

    .fc-timegrid-col > div > div > div > a div.fc-event-main {
        font-size: 0.7rem;
        overflow: hidden;
        line-height: 1rem;
    }

    button.dashboardWeatherShowMore_button {
        display: show;
    }

    ul.nav-pills li.nav-item a[data-name="sidenavbar-help"],
    ul.nav-pills li.nav-item a[data-name="sidenavbar-reportbug"] {
        display: none;
    }

    .fc-header-toolbar.fc-toolbar.fc-toolbar-ltr {
        padding: 0;
    }

    .fc-header-toolbar.fc-toolbar.fc-toolbar-ltr .fc-toolbar-chunk {
        margin-bottom: 15px;
    }

    .fc-header-toolbar.fc-toolbar.fc-toolbar-ltr
        button.fc-addNewRes-button:before {
        content: "\f055";
        font-family: FontAwesome;
    }

    button.fc-addNewRes-button {
        margin-bottom: 5px;
        width: 100%;
    }

    button.fc-today-button {
        margin-top: 5px;
        margin-left: 0 !important;
        width: 100%;
    }

    h2.fc-toolbar-title {
        font-size: 1.25em !important;
    }

    div.btn-group {
        flex: auto;
        display: flex;
        margin-left: 0 !important;
    }

    .button-text {
        display: none;
    }

    .w-sm-100 {
        width: 100% !important;
    }
}

@media (max-width: 767px) {

    .btn-sm-block {
        display: block;
        width: 100%;
    }

    /* Disable issues with buttons on file upload on some devices */
    .no-hover {
        pointer-events: none;
    }

}

@media(min-width: 768px) {
    .w-md-50 {
        width: 50% !important;
    }
}

@media (min-width: 768px) and (max-width: 992px) {

    .btn-sm-block {
        display: block;
        width: 100%;
    }

    input[type="submit"].btn-sm-block,
    input[type="reset"].btn-sm-block,
    input[type="button"].btn-sm-block {
        width: 100%;
    }

    .btn-block + .btn-sm-block,
    .btn-sm-block + .btn-block,
    .btn-sm-block + .btn-sm-block {
        margin-top: 0.5rem;
    }

    .main-sidebar {
        height: 100vh !important;
        height: calc(var(--vh, 1vh) * 100);
        overflow-y: auto;
    }

    ul.nav-sidebar li:last-child {
        margin-bottom: 50px;
    }

    h2.fc-toolbar-title {
        font-size: 1.5em !important;
    }

    .fc-header-toolbar.fc-toolbar.fc-toolbar-ltr {
        padding: 0;
    }

    .fc-header-toolbar.fc-toolbar.fc-toolbar-ltr .fc-toolbar-chunk {
        margin-bottom: 15px;
    }

    .fc-header-toolbar.fc-toolbar.fc-toolbar-ltr
        button.fc-addNewRes-button:before {
        content: "\f055";
        font-family: FontAwesome;
    }

    button.fc-addNewRes-button {
        margin-bottom: 5px;
        width: 100%;
    }

    button.fc-today-button {
        margin-top: 5px;
        margin-left: 0 !important;
        width: 100%;
    }

    h2.fc-toolbar-title {
        font-size: 1.25em !important;
    }

    div.btn-group {
        flex: auto;
        display: flex;
        width: 100%;
        margin-left: 0 !important;
    }

    ul.nav-pills li.nav-item a[data-name="sidenavbar-help"],
    ul.nav-pills li.nav-item a[data-name="sidenavbar-reportbug"] {
        display: none;
    }
}

@media (min-width: 993px) and (max-width: 1024px) {

    button.fc-today-button {
        margin-top: 5px;
        margin-left: 0 !important;
        width: 100%;
    }

    button.fc-addNewRes-button {
        margin-bottom: 5px;
        width: 100%;
    }

    div.fc-toolbar-chunk > div.btn-group {
        flex: auto;
        display: flex;
        width: 100%;
        margin-left: 0 !important;
    }

}

@media (min-width: 1025px) and (max-width: 1199px) {

    .btn-md-block {
        display: block;
        width: 100%;
    }

    input[type="submit"].btn-md-block,
    input[type="reset"].btn-md-block,
    input[type="button"].btn-md-block {
        width: 100%;
    }

    .btn-block + .btn-md-block,
    .btn-md-block + .btn-block,
    .btn-md-block + .btn-md-block {
        margin-top: 0.5rem;
    }

    .main-sidebar {
        height: 100vh !important;
        height: calc(var(--vh, 1vh) * 100);
        overflow-y: auto;
    }

    ul.nav-sidebar li:last-child {
        margin-bottom: 50px;
    }

    button.dashboardWeatherShowMore_button {
        display: show;
    }

    ul.nav-pills li.nav-item a[data-name="sidenavbar-help"],
    ul.nav-pills li.nav-item a[data-name="sidenavbar-reportbug"] {
        display: none;
    }

    .fc-header-toolbar.fc-toolbar.fc-toolbar-ltr
        button.fc-addNewRes-button:before {
        content: "\f055";
        font-family: FontAwesome;
    }

    ul.nav-pills li.nav-item a[data-name="sidenavbar-help"],
    ul.nav-pills li.nav-item a[data-name="sidenavbar-reportbug"] {
        display: none;
    }

    button.fc-addNewRes-button {
        margin-bottom: 5px;
        width: 100%;
    }

    button.fc-today-button {
        margin-top: 5px;
        margin-left: 0 !important;
        width: 100%;
    }

    h2.fc-toolbar-title {
        font-size: 1.25em !important;
    }

    div.btn-group {
        flex: auto;
        display: flex;
        width: 100%;
        margin-left: 0 !important;
    }
}

@media (min-width: 1200px) {

    .btn-lg-block {
        display: block;
        width: 100%;
    }

    input[type="submit"].btn-lg-block,
    input[type="reset"].btn-lg-block,
    input[type="button"].btn-lg-block {
        width: 100%;
    }

    .btn-block + .btn-lg-block,
    .btn-lg-block + .btn-block,
    .btn-lg-block + .btn-lg-block {
        margin-top: 0.5rem;
    }

    .fc-header-toolbar.fc-toolbar.fc-toolbar-ltr
    button.fc-addNewRes-button:before {
        content: "\f055";
        font-family: FontAwesome;
    }

}

/* for md */

/* Custom switches adapted in version 1.1.2 */

.custom-switch.custom-switch-md .custom-control-label {
    padding-left: 1em;
    padding-top: 0.2em;
    padding-bottom: 2.0em;
}

.custom-switch.custom-switch-md .custom-control-label::before {
    height: 1.5rem;
    width: calc(2rem + 0.75rem);
}

.custom-switch.custom-switch-md .custom-control-label::after {
    width: calc(1.5rem - 4px);
    height: calc(1.5rem - 4px);
}

.custom-switch .custom-control-label::after,
.custom-switch .custom-control-label::before {
    border-radius: 0px;
}

.custom-switch.custom-switch-md
    .custom-control-input:checked
    ~ .custom-control-label::after {
    transform: translateX(calc(1.5rem - 0.25rem));
}

.custom-switch.custom-switch-on-primary .custom-control-input:checked:disabled ~ .custom-control-label::before {

    background: #27835a75;
    border-color: #27835a00;

}

.custom-switch.custom-switch-on-primary .custom-control-input:checked:disabled ~ .custom-control-label::after {
    background: #fff;
}

.custom-control-label::before, .custom-file-label, .custom-select {
    transition: background-color .05s ease-in-out, border-color .05s ease-in-out,box-shadow .05s ease-in-out;
}

.custom-switch.custom-switch-on-primary .custom-control-input:checked ~ .custom-control-label::before {
    background: #3d9970;
    border-color: #3d9970;
}

.custom-switch.custom-switch-on-primary .custom-control-input:checked ~ .custom-control-label::after {
    background: #fff;
}

.custom-control-label::before {
    box-shadow: none;
}

.custom-switch.custom-switch-off-light .custom-control-input:disabled ~ .custom-control-label::before {

    background: #f8f9fa;
    border-color: #ddd;

}

.custom-switch.custom-switch-off-light .custom-control-input:disabled ~ .custom-control-label::after {
    background: #aeb9c563;
}

.custom-switch.custom-switch-on-danger .custom-control-input:checked:disabled ~ .custom-control-label::before {

    background: #dc354575;
    border-color: #dc354500;

}

.custom-switch.custom-switch-on-danger .custom-control-input:checked:disabled ~ .custom-control-label::after {
    background: #fff;
}

.custom-switch.custom-switch-on-danger .custom-control-input:checked ~ .custom-control-label::before {
    background: #dc3545;
    border-color: #dc3545;
}

.custom-switch.custom-switch-on-danger .custom-control-input:checked ~ .custom-control-label::after {
    background: #fff;
}

.custom-switch.custom-switch-md .custom-control-label::before {
    background: #fff;
}

/* Custom select borders */

.bootstrap-select.form-control {
    border: 1px solid #ced4da !important;
}

/* Custom Calendar Classes */

.highlight-a-day {
    animation:          fadeIt 5s ease;
    animation:          fadeIt 5s ease;
}

@-moz-keyframeskeyframes fadeIt {
    0%   { background-color: #ffc107; }
    50%  { background-color: #ffc107; }
    100% { background-color: #ffc10700; }
}

@-o-keyframeskeyframes fadeIt {
    0%   { background-color: #ffc107; }
    50%  { background-color: #ffc107; }
    100% { background-color: #ffc10700; }
}

@keyframes fadeIt {
    0%   { background-color: #ffc107; }
    50%  { background-color: #ffc107; }
    100% { background-color: #ffc10700; }
}

div.fc-toolbar-chunk > div.btn-group {
    flex-wrap: wrap !important;
}

.fc-timegrid-event,
.fc-event-main {
    overflow: hidden !important;
    border-radius: 0px;
}

.rounded-corners {
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

.fc-bg-event {
    background: none !important;
    opacity: 0.7 !important;
    border-color: #343a40 !important;
    color: #14442f;
    text-align: center;
    background-image: repeating-linear-gradient(-45deg, rgb(240, 240, 240) 0px, rgb(240, 240, 240) 5px, rgba(255,255,255,0.0) 5px, rgba(255,255,255,0.0) 10px, rgb(240, 240, 240) 10px) !important;
    z-index: -1111;
}

.fc-bg-event-aircraft {
    background: none !important;
    opacity: 1.0 !important;
    border-color: #343a40 !important;
    color: #000;
    background-image: repeating-linear-gradient(-45deg, rgb(215, 215, 215) 0px, rgb(215, 215, 215) 5px, rgba(255,255,255,0.0) 5px, rgba(255,255,255,0.0) 10px, rgb(215, 215, 215) 10px) !important;
}

/*
 Calendar - List View NEW styles
*/

.fc .fc-list-sticky .fc-list-day > th {
    z-index: 1000;
    background: var(--fc-page-bg-color, #fff);
}

.fc-list-event.custom-event-class-currentuser-white {
    background-image: repeating-linear-gradient(225deg, #ffc107 0px, #ffc107 15px, #FFFFFF00 15px, #FFFFFF00 100%);
    background-color: #ffc10711 !important;
}

.fc-list-event.custom-event-class-currentuser-white,
.fc-list-event.custom-event-class-currentuser,
.fc-list-event.custom-event-class-currentuser-req {
    background-color: #ffc10711 !important;
}
.fc-list-event.fc-event.custom-event-class-grounded > td > i.fas {
    color: #fff !important;
}

.fc-list-event.fc-event.custom-event-class-grounded:hover {
    color: #fff;
    background-color: #ffdd0022 !important;
    background-blend-mode: screen;
}

.fc-list-event:hover {
    background-color: #ffdd0022 !important;
    background-blend-mode: screen;
}

.fc .fc-list-event:hover td {
    background-color: #FFFFFF00 !important;
}

/* Week View - normal event*/
.fc-timegrid-col-events .fc-timegrid-event-harness a {
    background-color: #9fabb8;
    border: 1px solid #9fabb8;
}

/* Month View - normal event */
.fc-daygrid-day-events .fc-daygrid-event-harness a {
    background-color: #9fabb8;
    border: 1px solid #9fabb8;
    color: white !important;
    display: block;
    border-radius: 0px;
    padding: 2px 0;
    margin-bottom: 2px;
    text-align: center;
}

.fc .fc-daygrid-day.fc-day-today,
.fc .fc-timegrid-col.fc-day-today {
    background-color: rgba(255, 220, 40, 0.15);
}

.custom-event-class-grounded {
    border-color: #8a3939 !important;
    color: #FFFFFF;
    background-image: repeating-linear-gradient(-45deg, #450707 0px, #450707 5px, #a42f2f 5px, #a42f2f 10px, #450707 10px);
}

.custom-event-class-aircraft-maintenance {
    border-color: #ff9900 !important;
    background-color: #be8748 !important;
    border-width: 3px !important;
}

.fc-daygrid-day-events .fc-daygrid-event-harness a.custom-event-class-grounded {
    background-color: #8a3939 !important;
    border-color: #8a3939 !important;
    color: white !important;
    display: block;
    border-radius: 0px;
    padding: 2px 0;
    margin-bottom: 2px;
    text-align: center;
}

.custom-event-class-currentuser,
.custom-event-class-currentuser-req {
    border: 2px solid #ffc107 !important;
    border: 0;
    outline: 0;
    background-image: repeating-linear-gradient(225deg, #ffc107 0px, #ffc107 15px, #FFFFFF00 15px, #FFFFFF00 100%);
}

.custom-event-class-currentuser-white {
    border: 2px solid #ffc107 !important;
    outline: 0;
    background-image: repeating-linear-gradient(225deg, #ffffff 0px, #ffffff 15px, #FFFFFF00 15px, #FFFFFF00 100%);
}

/* Safari only ---------------------------- */
@supports (background: -webkit-named-image(i)) {

    .fc-list-event.custom-event-class-currentuser {
        background-image: none;
    }
    .fc-list-event.custom-event-class-currentuser > td:last-child {
        background-image: repeating-linear-gradient(225deg, #ffc107 0px, #ffc107 15px, #FFFFFF00 15px, #FFFFFF00 100%);
        background-color: #ffc10711 !important;
    }
}
/* ---------------------------------------- */

a.fc-v-event.custom-event-class-currentuser {
    border: 0;
}

.fc-timegrid-col-events.fc-timegrid-event-harness.custom-event-class-currentuser a {
    border: 0 !important;
}

.fc-daygrid-day-events
    .fc-daygrid-event-harness
    a.custom-event-class-currentuser {
    background-color: #27835a;
    border-color: #27835a;
    color: white !important;
    display: block;
    border-radius: 0px;
    padding: 2px 0;
    margin-bottom: 2px;
    text-align: center;
}

.fc-toolbar, .fc-toolbar.fc-header-toolbar {
    padding-right: 0 !important;
    padding-left: 0 !important;
    margin-bottom: 0px !important;
}

@-moz-document url-prefix() {

    .fc .fc-scrollgrid-liquid {
        max-height: 95%;
    }
}

.fc-highlight {
    background: #27835a59 !important;
}

.fc .fc-timegrid-now-indicator-line {
    border-width: 3px 0 0;
}

/* List View - Custom colors */

.fc-list-event {
    background-color: #fff !important;
}

.fc-list-event.fc-event.custom-event-class-grounded
    .fc-list-event-graphic
    span.fc-list-event-dot {
    border: calc(var(--fc-list-event-dot-width, 10px) / 2) solid
        var(--fc-event-border-color, #8a3939);
}

.fc-list-event.fc-event.custom-event-class-currentuser
    .fc-list-event-graphic
    span.fc-list-event-dot {
    border: calc(var(--fc-list-event-dot-width, 10px) / 2) solid
        var(--fc-event-border-color, #27835a);
}

.fc-list-event.fc-event .fc-list-event-graphic span.fc-list-event-dot {
    border: calc(var(--fc-list-event-dot-width, 10px) / 2) solid
        var(--fc-event-border-color, #9fabb8);
}

/* Flatpickr and general UI Colors and Styles */

.button-space
{
    margin-right: 5px;
    margin-bottom: 5px !important;
}

input[class*="flatpickr"].form-control[class*="editableByUser"][readonly],
input[type="text"][name*="time"][class*="activeTimeField"],
input[type="text"][class*="activeTimeField"] {
    background-color: #ffffff !important;
    cursor: pointer;
}

input[class*="flatpickr"].form-control[disabled],
input[type="text"][name*="time"][readonly]:not(.activeTimeField) {
    background-color: #e9ecef !important;
}

.dark-mode input[class*="flatpickr"].form-control[disabled],
.dark-mode input[type="text"][name*="time"][readonly]:not(.activeTimeField) {
    background-color: #343a40 !important;
}

.card-body td .locked-table-row {
    background-color: #fab9b9 !important;
}

span.flatpickr-day.selected {
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
    color: #000 !important;
}

span.flatpickr-day.startRange {
    border-color: #ffc107 !important;
    background-color: #ffc107 !important;
    color: #fff !important;
}

span.flatpickr-day.endRange {
    border-color: #ffc107 !important;
    background-color: #ffc107 !important;
    color: #fff !important;
}

a[data-donation-link="true"] {
    color: rgb(255, 193, 7) !important;
    margin-top: 30px;
}

a[data-name="sidenavbar-help"] {
    margin-top: 30px;
}

.mandatory-field {
    border-left: 4px solid #ffc107;
}

div#register.icheck-green > input:first-child:checked + label::before,
.icheck-green
    > input:first-child:checked
    + input[type="hidden"]
    + label::before {
    background-color: #27835a !important;
}

.icheck-green label::before {
    margin-left: -23px;
}

div#forgotten-password a:hover,
div#forgotten-password a:active {
    color: #aaa !important;
    text-decoration: none !important;
}

.custom-spectrum {
    border-radius: 0px !important;
    height: 100% !important;
    width: 4rem;
}

.custom-spectrum > .sp-dd {
    padding: 4px;
}

.custom-spectrum-container {
    border-radius: 0px !important;
}

button.btn-link:hover {
    text-decoration: none;
    color: #aaa;
}

.callout.callout-primary {
    border-left-color: #27835a;
}

.callout a {
    text-decoration: none !important;
}

.profile-user-img {
    background-color: #fff !important;
    aspect-ratio: 1;
}

.profile-user-img.normal {
    height: 64px;
    width: 64px;
}

.custom-login-page-logo {
    max-width: 300px;
    max-height: 100px;
}

.custom-login-page-logo-settings {
    max-width: 200px;
}

.invoice_logo_link_accountpage {
    max-width: 150px;
    max-height: 150px;
}

.move-pointer {
    cursor: ns-resize;
}

.drop-background {
    background: #ffffff;
}

.handle-dragger:hover {
    transform:          scale(1.25, 1.25);
}

.dragging {
    background: #ffdd003f;
}

.text-lightgrey {
    color: #dfdfdf;
}

.modal-connectorline-block {
    border-left: 1px solid #d5d5d5;
    height: 120px;
    position: absolute;
    top: 41px;
    z-index: 99999;
    left: 12px;
}

table#invoiceItemsTable tbody {
    border: 0;
}

@keyframes spin-price {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading-price {
    width: 12px;
    height: 12px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #27835a;
    border-radius: 50%;
    animation: spin-price 0.6s linear infinite;
    position: inherit;
    left: 50%;
    margin-top: 6px;
    margin-left: 5px;
}

.aircraft-list-dot {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    display: inline-block;
}

/* Register page styles */

hr.line {
    margin-top: 25px;
    margin-bottom: 25px;
    border: 2px solid#343a40;
}

/* CSS specific to iOS devices */

@supports (-webkit-overflow-scrolling: touch) {
    body {
        width: 100%;
        max-width: 100%;
        will-change: position;
    }

    body.modal-open {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
    }

    .modal {
        will-change: display;
    }

    .modal-dialog {
        will-change: transform;
    }

    .modal-dialog {
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }
}

.alert-success {
    background-color: #d4e6de !important;
    color: #14442f !important;
    border-color: #c3dcd1 !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.6) !important;
}

.bg-danger-light {
    background-color: #fab9b9 !important;
}

@keyframes loading {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

.progressloader {
    width: 100%;
    background-color: #27835a;
    height: 3px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    animation: 1s ease-out 0s 1 loading;
}

/* Styling of datatables */

div#availablePaymentRuns_wrapper > div.row,
div#availableInvoices_wrapper > div.row,
div#datatableUsers_wrapper > div.row,
div#datatableMembers_wrapper > div.row {
    margin-left: 10px;
    margin-right: 10px !important;
}

#availablePaymentRuns_wrapper div.col-pagination,
#availableInvoices_wrapper div.col-pagination,
#datatableMembers_wrapper div.col-pagination,
#datatableUsers_wrapper div.col-pagination {
    display: flex;
}

div#availableFlightsForPaymentRun_length.dataTables_length {
    margin-top: 0px;
}

div#availableFlightsForPaymentRun_length select {
    margin-top: 2px;
    margin-left: 10px;
}

.dataTables_length {
    margin-left: 10px;
    margin-top: 2px;
}

.dataTables_paginate {
    float: left !important;
}

div#availablePaymentRuns_wrapper .row-info > .dataTables_info,
div#availableInvoices_wrapper .row-info > .dataTables_info,
div#datatableMembers_wrapper .row-info > .dataTables_info,
div#datatableUsers_wrapper .row-info > .dataTables_info {
    margin-bottom: 10px;
    padding-top: 5px;
    text-align: left !important;
}

/* Select Dropdown Menu Styles */

ul.dropdown-menu > li.selected {
    background-color: #27835a11;
    color: #27835a;
}

/* Styling of input fields */

.input-icon {
    position: relative;
    color: #343a40;
    font-size: 1.5em;
}

.input-icon > i {
    position: absolute;
    display: block;
    transform: translate(0, -50%);
    top: 50%;
    pointer-events: none;
    width: 25px;
    text-align: center;
    font-style: normal;
}

.input-icon > input {
    padding-left: 1em;
    padding-right: 1em;
}

/*
 * Invoice Module
 */

.invoice-hr-spacer {
    border: 2px solid #ffc107;
    width: 30%;
}

.input-group-prepend,
.input-group-append  {
    display: block;
}

/* Stripe stuff */

.StripeElement {
    display: block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: 10px 12px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0rem;
    box-shadow: inset 0 0 0 transparent;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/*
    Circular graph stuff
*/

.circular-chart {
    max-height: 200px;
}

.circle-bg {
    fill: none;
    stroke: #eee;
    stroke-width: 3.8;
}

.circle {
    fill: none;
    stroke-width: 2.8;
    stroke-linecap: round;
    animation: progress 1s ease-out forwards;
}

@keyframes progress {
    0% {
        stroke-dasharray: 0 100;
    }
}

.circular-chart.orange .circle {
    stroke: #ffc107;
}

.percentage {
    fill: #666;
    font-family: sans-serif;
    font-size: 0.5em;
    text-anchor: middle;
}

.test-banner::before {
    color: #FF0000;
    font-size: 24pt;
    content: "TEST SERVER !!!";
    width: 95%;
    position: absolute;
    text-align: center;
}

/*
    Select2 theme adaptations
*/

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[aria-selected]:hover {
    background-color: #17a2b8;

    color: #FFFFFF;
}

.select2-container--default .select2-info .select2-selection--multiple .select2-selection__choice,
.select2-info .select2-container--default .select2-selection--multiple .select2-selection__choice {
    display: inline-block;
    padding: .25em .4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    padding-right: .6em;
    padding-left: .6em;
    border-radius: 0rem;
    margin-top: 0.75em;
    border: 0;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    padding-bottom: 0;
}

.whitespace-initial {
    white-space: initial;
}

@media (hover) {
    nav > ul > li > a:hover {
    }
}

@supports not (-webkit-overflow-scrolling: touch) {
    nav > ul > li > a:hover {
    }
}

.unknown {
    background-color: #27835a88 !important;
    border-color: #27835a88 !important;
}

  /* Invoice related */


  /* Load Awesome */

  .la-ball-beat,
.la-ball-beat > div {
    position: relative;
    box-sizing: border-box;
}
.la-ball-beat {
    display: block;
    font-size: 0;
    color: #fff;
}
.la-ball-beat.la-dark {
    color: #333;
}
.la-ball-beat > div {
    display: inline-block;
    float: none;
    background-color: currentColor;
    border: 0 solid currentColor;
}
.la-ball-beat {
    width: 54px;
    height: 18px;
}
.la-ball-beat > div {
    width: 10px;
    height: 10px;
    margin: 4px;
    border-radius: 100%;
    animation: ball-beat .7s -.15s infinite linear;
}
.la-ball-beat > div:nth-child(2n-1) {
    animation-delay: -.5s;
}
.la-ball-beat.la-sm {
    width: 26px;
    height: 8px;
}
.la-ball-beat.la-sm > div {
    width: 4px;
    height: 4px;
    margin: 2px;
}
.la-ball-beat.la-2x {
    width: 108px;
    height: 36px;
}
.la-ball-beat.la-2x > div {
    width: 20px;
    height: 20px;
    margin: 8px;
}
.la-ball-beat.la-3x {
    width: 162px;
    height: 54px;
}
.la-ball-beat.la-3x > div {
    width: 30px;
    height: 30px;
    margin: 12px;
}
/*
 * Animation
 */
@keyframes ball-beat {
    50% {
        opacity: .2;
        transform: scale(.75);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.icon-blinking,
.icon-logbookentry-missing {
    border: none;
    display: inline-block;
    animation: blink 2s ease-in infinite;
}

@keyframes blink {
    from, to { opacity: 0.9 }
    50% { opacity: 0.3 }
}

/*
 *  Custom Input Groups
 *
 *
*/

#details-link-text {
    display: none;
}

#details-link-text-xs {
    display: none;
}

@media (max-width: 700px) {

    /* Rating relevant stuff  */

    .custom-input-group-ratings.input-group .input-group-btn {
        width: 99%;
        display: block;
        margin-bottom: 5px;
    }

    .custom-input-group-ratings.input-group .input-group-btn .btn {
        width: 34%;
    }

    .custom-input-group-ratings.input-group .input-group-btn .btn:last-child {
        border-radius: 0px;
    }

    .custom-input-group-ratings {
        display: block
    }

    .custom-input-group-ratings.input-group input.form-control {
        border-radius: 0cqi;
    }

    .custom-input-group-ratings.input-group  .input-group-append .btn {
        clear: both;
        display: block;
        width: 100%;
        border-radius: 0px;
        margin-top: 0.5em;
    }

    .custom-input-group-ratings.input-group  .input-group-append span.input-group-text {
        margin-top: 0.25em;
        border-radius: 0px;
    }

    .custom-input-group-ratings .input-group-append span.input-group-text a.input-button {
        width: 100%;
    }

    /* General stuff */

    .custom-input-group.input-group .input-group-btn {
        width: 99%;
        display: block;
        margin-bottom: 5px;
    }

    .custom-input-group.input-group .input-group-btn .btn {
        width: 34%;
    }

    .custom-input-group.input-group .input-group-btn .btn:last-child {
        border-radius: 0px;
    }

    .custom-input-group {
        display: block
    }

    .custom-input-group.input-group input.form-control {
        border-radius: 0px;
    }

    .custom-input-group.input-group  .input-group-append .btn {
        clear: both;
        display: block;
        width: 100%;
        border-radius: 0px;
        margin-top: 0.5em;
    }

    .custom-input-group.input-group  .input-group-append span.input-group-text {
        margin-top: 0.25em;
        border-radius: 0px;
    }

    #details-link-text-xs {
        display: inline;
    }

    .btn-custom-block {
        display: block;
        width: 100%;
    }

}

@media (min-width: 701px) and (max-width: 991px) {

    .custom-input-group.input-group .input-group-btn {
        width: 99%;
        display: block;
        margin-bottom: 5px;
    }

    .custom-input-group.input-group .input-group-btn .btn {
        width: 34%;
    }

    .custom-input-group.input-group .input-group-btn .btn:last-child {
        border-radius: 0px;
    }

    .custom-input-group {
        display: block
    }

    .custom-input-group.input-group input.form-control {
        border-radius: 0px;
    }

    .custom-input-group.input-group  .input-group-append .btn {
        clear: both;
        display: block;
        width: 100%;
        border-radius: 0px;
        margin-top: 0.5em;
    }

    .custom-input-group.input-group  .input-group-append span.input-group-text {
        margin-top: 0.25em;
        border-radius: 0px;
    }

    .btn-custom-block {
        display: block;
        width: 100%;
    }
}

/*
 *
 *  No more tables!
 *
 *  If the screen is small, we will transform the tables to block items and show them
 *  as columns, instead of rows.
 *
*/

@media (max-width: 991px) {

    /* Force table to not be like tables anymore */
    #no-more-tables table,
    #no-more-tables thead,
    #no-more-tables tbody,
    #no-more-tables th,
    #no-more-tables td,
    #no-more-tables tr {
        display: block;
    }

    /* Add space to next table */
    #no-more-tables tbody {
        margin-bottom: 0.75em;
        border-top: none;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    #no-more-tables thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    #no-more-tables tfoot {
        display: block;
    }

    #no-more-tables tr {
        border: 1px solid #ccc;
    }

    #no-more-tables tr.margin-bottom {
        margin-bottom: 0.75em;
    }

    #no-more-tables td.resreq {
        padding-left: 35% !important;
    }

    #no-more-tables td:not(.no-more-tables-no-results) {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        white-space: normal;
        text-align:left;
        word-wrap: break-word;
        min-height: 3.35em;
    }

    #no-more-tables td:before {
        /* Now like a table header */
        position: absolute;
        left: 6px;
        top: 0;
        width: 45%;
        padding-right: 10px;
        height: 100%;
        font-weight: bold;
        display: flex;
        flex-direction: row;
        align-items: center;
        white-space: normal;
        word-wrap: break-word;
        text-align: left;
    }

    .profile-user-img.normal {
        height: 32px;
        width: 32px;
        border: 2px solid #adb5bd;
    }

    /*
    Label the data
    */
    #no-more-tables td:before {
        content: attr(data-title);
    }

    #details-link-text {
        display: inline;
    }

    #no-more-tables div.no-table-div-min-width {
        min-width: 0 !important;
    }

    #no-more-tables div.rating-text-left {
        text-align: center !important;
    }

}

@media (max-width: 768px) {

    /* Force table to not be like tables anymore */
    #no-more-tables-logbook table {
        margin-top: 2em;
    }

    #no-more-tables-logbook table,
    #no-more-tables-logbook thead,
    #no-more-tables-logbook tbody,
    #no-more-tables-logbook th,
    #no-more-tables-logbook td,
    #no-more-tables-logbook tr {
        display: block;
    }

    #no-more-tables-logbook tfoot {
        display: block;
    }

    /* Add space to next table */
    #no-more-tables-logbook tbody {
        border-top: none;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    #no-more-tables-logbook thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    #no-more-tables-logbook tr {
        border: 1px solid #ccc;
        margin-bottom: 0.75em;
    }

    #no-more-tables-logbook tr.margin-bottom {
        margin-bottom: 0.75em;
    }

    #no-more-tables-logbook td.resreq {
        padding-left: 35% !important;
    }

    #no-more-tables-logbook td.p-2 {
        padding: 0;
    }

    #no-more-tables-logbook td:not(.no-more-tables-logbook-no-results) {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50% !important;
        white-space: normal;
        text-align: left;
        word-wrap: break-word;
    }

    #no-more-tables-logbook td:before {
        /* Now like a table header */
        position: absolute;
        left: 6px;
        top: 0;
        width: 45%;
        padding-right: 10px;
        height: 100%;
        font-weight: bold;
        display: flex;
        flex-direction: row;
        align-items: center;
        white-space: normal;
        word-wrap: break-word;
        text-align: left;
    }

    #no-more-tables-logbook td.button-row-logbook {
        text-align: left !important;
    }

    #no-more-tables-logbook .button-text {
        display:inline;
    }

    #no-more-tables-logbook td.text-left-logbook {
        text-align: left !important;
    }

    #no-more-tables-logbook td.not-show {
        display: none;
    }

    #no-more-tables-logbook .no-more-tables-logbook-flex-column {
        flex-direction: column !important;
    }

    #no-more-tables-logbook .no-more-tables-logbook-flex-column ul.pagination {
        margin-bottom: 0.5em;
    }

    /*
    Label the data
    */
    #no-more-tables-logbook td:before {
        content: attr(data-title);
    }

    #no-more-tables-logbook div.no-table-div-min-width {
        min-width: 0 !important;
    }

    #no-more-tables-logbook div.rating-text-left {
        text-align: center !important;
    }

    /*
    Header & filter stuff
    */

}

@media(max-width: 991px ) {

    .w-100-small {
        width: 100% !important;
    }

}

/*
Toast Styling Adaptations
*/

.toast {
    border: 0;
    margin-right: 1.0rem !important;
    margin-left: 1.0rem !important;
    margin-top: 0.75rem !important;
}

.toast.bg-success,
.toast.bg-danger,
.toast.bg-warning,
.toast.bg-info,
.toast.bg-light {
    background: 0;
}

.toast.bg-success .toast-header {
    background: #3d997011 !important;
}

.toast.bg-danger .toast-header {
    background: #dc354511 !important;
}

.toast.bg-warning .toast-header {
    background: #ffc10711 !important;
}

.toast.bg-info .toast-header {
    background: #17a2b811 !important;
}

.toast.bg-light .toast-header {
    background: #f8f9fa11 !important;
}

.toast.bg-secondary .toast-header {
    background: #6c757d11 !important;
}

div.toast-header {
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 0;
}

div.toast-header > button.close {
    text-shadow: none !important;
}

.toast-header > button.close {
    text-shadow: none !important;
}

div.toast-header > span.close, div.toast-header > .close {
    text-shadow: none !important;
}

@media (max-width: 768px) {

    div#toastsContainerTopRight.toasts-top-right {
        width: 100%;
    }

    div.toast {
        max-width: 100% !important;
    }
}

/*
User Files Layout
*/

.box {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

@media (max-width: 1599px) {
    .box > * {
        flex: 0 0 100%;
    }
}

@media (min-width: 1600px) {
    .box > * {
        flex: 0 0 50%;
    }
}

@media (min-width: 2170px) {
    .box > * {
        flex: 0 0 33.333%;
    }
}

.box-narrow {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

@media (max-width: 1250px) {
    .box-narrow > * {
        flex: 0 0 100%;
    }
}

@media (min-width: 1251px) {
    .box-narrow > * {
        flex: 0 0 50%;
    }
}

@media (min-width: 1800px) {
    .box-narrow > * {
        flex: 0 0 33.333%;
    }
}

/*
File Upload Drag & Drop Box
*/

.file-drop-area-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    border-radius: 0px;
    border: 3px dashed #27835a55;
}

.file-drop-area {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding: 25px;
    border-radius: 0px;
    transition: 0.2s
}

.file-message {
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.file-input {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    cursor: pointer;
    opacity: 0
}

.highlight-dropzone {
    background-color: #ffd968b5;
}

/*
Dashboard Styles
*/

.aircraft-status-list-avatar {
    background-color: #ffffff;
    height: 32px !important;
    width: 32px !important;
}

@keyframes fa-blink {
    0% { color: #27835a; }
    50% { color: #ccc; }
}
.fa-blink {
    animation: fa-blink 1s step-end 0s infinite;
}

@keyframes fa-blink-rev {
    0% { color: #ccc; }
    50% { color: #27835a; }
}
.fa-blink-rev {
    animation: fa-blink-rev 1s step-end 0s infinite;
}

/*
Color Picker Styles
*/

.color-picker-short {
    width: 100px;
}

/*
HMI Improvements (Order & btn-sm-block added for various screen sizes
*/

@media (max-width: 576px) {

    .btn-sm-block {
        display: block;
        width: 100%;
    }

    .order-lg-1,
    .order-lg-2,
    .order-lg-3,
    .order-lg-4,
    .order-lg-5 {
        /* order: 0; */
    }

    .order-sm-1 {
        order: 1;
    }
    .order-sm-2 {
        order: 2;
    }

    .order-sm-3 {
        order: 3;
    }

    .order-sm-4 {
        order: 4;
    }

    .order-sm-5 {
        order: 5;
    }

    .timeline > div {
        margin-right: 0px;
    }

    .timeline > div > .timeline-item {
        margin-left: 0px;
        margin-top: 45px;
        margin-right: 0px;
    }

}

@media (min-width: 577px) {

    .order-sm-1 {
        order: 1;
    }
    .order-sm-2 {
        order: 2;
    }

    .order-sm-3 {
        order: 3;
    }

    .order-sm-4 {
        order: 4;
    }

    .order-sm-5 {
        order: 5;
    }

}

@media (min-width: 992px) {

    .order-lg-1 {
        order: 1;
    }
    .order-lg-2 {
        order: 2;
    }

    .order-lg-3 {
        order: 3;
    }

    .order-lg-4 {
        order: 4;
    }

    .order-lg-5 {
        order: 5;
    }

}

@media (min-width: 1200px) {

    .order-xl-1 {
        order: 1;
    }
    .order-xl-2 {
        order: 2;
    }

    .order-xl-3 {
        order: 3;
    }

    .order-xl-4 {
        order: 4;
    }

    .order-xl-5 {
        order: 5;
    }

}

.login-page-logo {
    width: 300px;
    max-width: 70%;
}

/*
 New avatar colors & styles
 */

.avatar-no-img {
    width: 64px;
    height: 64px;
    background-color: #fff;
    border-radius: 50%;
    border: 3px solid #adb5bd;
    padding: 3px;
    font-size: 1.5rem;
    margin-top: auto;
    margin-bottom: auto;
    text-align: center;
    line-height: 3.0rem;
    color: #FFF;
}

.avatar-no-img > .inner-circle-3 {
    padding: 2px;
    border-radius: 50%;
    background: linear-gradient(0deg, rgba(171,171,171,1) 0%, rgba(215,215,215,1) 100%);
}

/*
Form stuff
*/

.invalid-border {
    border-top: 1px solid #dc3545;
    border-right: 1px solid #dc3545;
    border-bottom: 1px solid #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.mandatory-field.invalid-border {
    border-left: 4px solid #dc3545;
}

.page-item:first-child .page-link {
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}

.page-item:last-child .page-link {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

/*
Text decoration stuff
*/

.text-underlined {
    text-decoration: underline !important;
}

/*
Darkmode stuff
*/
.dark-mode .navbar-white {
    background-color: #57616a;
}

.dark-mode .navbar-light .navbar-nav .nav-link {
    color: #dbdbdb;
}

.dark-mode input[class*="flatpickr"].form-control[class*="editableByUser"][readonly],
.dark-mode input[type="text"][name*="time"][class*="activeTimeField"],
.dark-mode input[type="text"][class*="activeTimeField"] {
    background-color: #343a40 !important;
    color: #FFF;
    cursor: pointer;
}

.dark-mode .mandatory-field {
    border-left: 4px solid #b58700 !important;
}

.dark-mode .flatpickr-innerContainer
{
    background-color: #343a40;
    border-bottom: 1px solid #5f6d7b;
}

.dark-mode .flatpickr-current-month .flatpickr-monthDropdown-months,
.dark-mode .flatpickr-current-month input.cur-year {
    background-color: #343a40;
    color: #ccc;
}

.dark-mode .flatpickr-months .flatpickr-month  {
    background-color: #5f6d7b;
}

.dark-mode .flatpickr-day:not(.flatpickr-disabled) {
    color: #ccc;
}

.dark-mode .flatpickr-day.flatpickr-disabled {
    color: #4f5357;
}

.dark-mode .flatpickr-weekdays,
.dark-mode span.flatpickr-weekday {
    background-color: #5f6d7b;
}

.dark-mode span.flatpickr-weekday {
    color: #fff;
}

.dark-mode .flatpickr-weekdays,
.dark-mode .flatpickr-days {
    border-left: 1px solid #5f6d7b;
    border-right: 1px solid #5f6d7b;
}

.dark-mode .flatpickr-months .flatpickr-prev-month,
.dark-mode .flatpickr-months .flatpickr-next-month {
    color: #ccc;
    fill: #ccc;
}
.dark-mode .flatpickr-current-month .numInputWrapper span.arrowUp::after,
.numInputWrapper span.arrowUp::after {
    border-bottom-color: #ccc;
}

.dark-mode .flatpickr-current-month .numInputWrapper span.arrowDown::after,
.numInputWrapper span.arrowDown::after {
    border-top-color: #ccc;
}

.dark-mode .bg-white {
    color: #FFFFFF !important;
    background-color: #343a40 !important;
}

.dark-mode .popover-header {
    background-color: #8491a2;
    border-bottom: 1px solid #8491a2;
}

.dark-mode .fc .fc-list-sticky .fc-list-day > th {
    background-color: #343a40;
}

.dark-mode .fc-list-event {
    background-color: #b7b7b7 !important;
    color: #343a40;
}

.dark-mode .custom-switch.custom-switch-on-primary .custom-control-input:checked ~ .custom-control-label::after {
    background-color: #34534a;
}

.dark-mode pre {
    color: #a29f9f;
}

.dark-mode .ts-control {
    background-color: #343a40;
    color: #939ba2;
}

.dark-mode .ts-control input {
    color: #939ba2;
}

.dark-mode .badge-light {
    border-color: #bfbfbf;
    background-color: #bfbfbf;
}

.dark-mode .usergroup-related {
    background: repeating-linear-gradient(
        -45deg,
        #bfbfbf22,
        #bfbfbf22 10px,
        #343a40 10px,
        #343a40 20px
    );
}

/* Statistics / graphs */
.dark-mode .apexcharts-title-text {
    color: #ffffff !important;
    fill: #ffffff;
}

.dark-mode .apexcharts-text {
    color: #ffffff !important;
    fill: #ffffff;
}

/* HMI - Pulsating Announcement Icon */
.announcement-pulsating {
    background: transparent;
    border-radius: 50%;
    height: 20px;
    width: 20px;

    box-shadow: 0 0 0 0 rgba(255, 255, 255, 1);
    transform: scale(1);
    animation: pulsating 2s infinite;
}

@keyframes pulsating {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 #27835a;
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px #ffffff00;
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 #ffffff00;
    }
}

