﻿/* -- MINIMUM VIEWPORT: 320px -- */
/* -- REMOVED MIN VIEWPORT FOR NOW --
@media screen and (max-width: 319px),
screen and (max-height: 319px)
{
    body > div {
        display: none !important;
    }

    body:before {
        background-color: #c00;
        color: #fff;
        content: "Your device is not supported.";
        display: block;
        font-size: 1.5rem;
        font-weight: bold;
        padding: 0.5em;
        text-align: center;
        text-transform: uppercase;
    }
}*/

/* renders a red asterisk as a label suffix */
label.required:after {
    content: "*";
    font-weight: bold;
    margin-left: 0.5em;
    color: #c00;
}


label[for] {
    cursor: pointer;
}

/* -- TEXT UTILITY - START -- */
.b { font-weight: bold; }
.u { text-decoration: underline; }
.i { font-style: italic; }
.n { font-weight: normal !important; }
.c { text-align: center; }
.l { text-align: left; }
.r { text-align: right; }
.text-black { color: #000; }
/* -- TEXT UTILITY - END -- */


h1.h0 {
    text-transform: uppercase;
    margin: 0;
    padding: 0;
    font-size: 1.5rem;
}

/* -- NAVBAR - START -- */
.nav-item {
    margin: 0.2em;
}

.nav-apply,
.nav-login {
    padding: 0 1em;
}

.nav-apply a,
.nav-login a {
    color: #000 !important;
}
/* -- NAVBAR - START -- */



footer {
    background-color: #39619F;
    color: #fff;
    padding: 1em;
    line-height: 2.25em;
}

footer i.fab,
.circled-icon
{
    background-color: #000;
    font-size: 1.5em;
    border-radius: 50%;
    width: 1.5em;
    line-height: 1.5em;
    text-align: center;
}



/* -- PAGE SPINNER - START -- */
#page-spinner {
    z-index: 10000;
    content: '';
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

#page-spinner > div {
    position: fixed;
    z-index: 1000;
    height: 124px;
    width: 124px;
    overflow: visible;
    border: 12px solid #eee;
    border-top: 12px solid #700;
    border-bottom: 12px solid #c00;
    border-radius: 52%;
    animation: spin 2s linear infinite;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

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

    100% {
        transform: rotate(360deg);
    }
}
/* -- PAGE SPINNER - END -- */



/* -- DATEPICKER - START -- */
.datepicker table {
    width: 16em;
}

.datepicker table thead th {
    height: 2em;
    border: solid 1px #777;
}

.datepicker td {
    width: 2em;
    height: 2em;
}

.datepicker tbody td {
    border: 1px solid #ccc;
}

.datepicker th.prev,
.datepicker th.next {
    width: 2em;
}

.datepicker .icon-arrow-left:before {
    content: "\f0a8";
    font-weight: 900;
    font-style: normal;
    font-family: 'Font Awesome 5 Free';
}

.datepicker .icon-arrow-right:before {
    content: "\f35a";
    font-weight: 900;
    font-style: normal;
    font-family: 'Font Awesome 5 Free';
}

/* -- DATEPICKER - END -- */



/* -- TOASTR - START -- */
#toast-container > div {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    opacity: 1;
    margin-top: 1em;
}
/* -- TOASTR - END -- */



/* -- MULTISELECT - START -- */
.multiselect-native-select {
    width: 100%;
}

.multiselect-native-select button.dropdown-toggle {
    width: 100%;
    text-align: left;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

.multiselect-container.dropdown-menu {
    width: 100%;
}

.multiselect-container > li {
    padding: 0 1em;
    margin: 0;
    line-height: 2rem;
    border-top: 1px solid #eee;
}

.multiselect-container input[type="checkbox"] {
    margin-top: 0 !important;
}

.multiselect-container > li > a > label {
    padding: 0;
    margin-top: 0;
    display: block;
}

.multiselect-container > li > a:hover {
    text-decoration: none;
}
/* -- MULTISELECT - END -- */



/* -- BOOTSTRAP TOGGLE: SHORT BUTTON - START */
.toggle.btn.short {
    min-height: 24px;
}

.toggle.short .btn {
    font-size: .8rem;
    line-height: 22px;
    padding-top: 0;
    padding-bottom: 0;
}

.toggle.short .toggle-handle {
    height: 24px;
    line-height: 10px;
}
/* -- BOOTSTRAP TOGGLE: SHORT BUTTON - END */



/* -- COREUI OVERRIDES - START -- */
* {
    line-height: 1.15;
}

header.navbar > .navbar-brand {
    background-image: none !important;
    line-height: 55px;
    font-weight: bold;
    font-size: 1.3rem;
    text-align: center;
    padding: 0 0 0 1.5rem !important;
}

.sidebar .nav-link.active {
    color: #fff;
    background: #20a8d8;
}

.sidebar .nav-link.active .nav-icon {
    color: #fff;
}

.app-header.navbar .ipc-profile-dropdown .nav-item .nav-link .badge {
    position: relative;
    margin-right: 1rem;
    margin-left: 0;
    left: 0;
}

.app-header .navbar-nav.ipc-profile-dropdown .dropdown-menu-right {
    margin-right: 1rem;
}

h1 {
    margin-bottom: 3rem;
}

.card {
    border-radius: 0px;
}

.card-block {
    margin: 1rem;
}

.card-body {
    margin: 0rem;
}

.card-accent-primary,
.card-accent-secondary,
.card-accent-success,
.card-accent-danger,
.card-accent-warning,
.card-accent-info,
.card-accent-light,
.card-accent-dark,
.card-accent-muted,
.card-accent-white {
    border-top-width: 5px;
}

.btn-dark {
    background-color: #777777;
    border-color: #777777;
}

.badge-dark,
.link-dark,
.bg-dark {
    background-color: #777777 !important;
}

table.table-hover tbody tr:hover {
    background-color: #c2e7f2;
}

.avatar {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 36px;
    overflow: hidden;
    text-align: center;
    border-radius: 50%;
    vertical-align: middle;
}

.avatar .img-avatar {
    width: 36px;
    max-width: none;
    height: 36px;
    zoom: 1.5;
    margin-left: -25%;
    margin-top: -25%;
}

.btn-group-toggle label {
    margin-right: 0.5px;
    margin-left: 0.5px !important;
}

.modal-dialog .modal-title {
    position: absolute;
}

a.bg-white:hover, a.bg-white:focus, button.bg-white:hover, button.bg-white:focus {
    background-color: #ccc !important
}
/* -- COREUI OVERRIDES - END -- */



form {
    margin-bottom: 0;
}

.no-underline:hover {
    text-decoration: none !important;
}

.pointer,
*[data-href] {
    cursor: pointer !important;
}



/* -- DATATABLES OVERRIDES - START -- */
table.dataTable {
    border-collapse: collapse !important;
}

table.dataTable th.sorting:before,
table.dataTable th.sorting_asc:before,
table.dataTable th.sorting_desc:before {
    content: "\25B2" !important;
    display: inline-block !important;
    left: 10px !important;
}

table.dataTable th.sorting:after,
table.dataTable th.sorting_asc:after,
table.dataTable th.sorting_desc:after {
    content: "\25BC" !important;
    display: inline-block !important;
    left: 20px !important;
}

table.dataTable th {
    padding-left: 35px;
    padding-right: 0px;
}
/* -- DATATABLES OVERRIDES - END -- */



table.anchored-rows tbody td:not(.not-anchored) {
    padding: 0px;
}

table.anchored-rows tbody td:not(.not-anchored) > a {
    padding: .75rem;
}



/* -- OUTLINES - START -- */
/* note: implement other classes if necessary */
.outline-success {
    outline: 2px solid #4dbd74;
}

.outline-warning {
    outline: 2px solid #ffc107;
}

.outline-primary {
    outline: 2px solid #20a8d8;
}
/* -- OUTLINES - END -- */



/* -- HOVER OUTLINES - START -- */
/* note: implement other classes if necessary */
.hover-outline-success:hover {
    outline: 2px solid #4dbd74;
}

.hover-outline-warning:hover {
    outline: 2px solid #ffc107;
}

.hover-outline-primary:hover {
    outline: 2px solid #20a8d8;
}
/* -- HOVER OUTLINES - END -- */



/* -- BOOTSTRAP OVERRIDE - START */
/*\
 * Restore Bootstrap 3 "hidden" utility classes.
\*/

/* Breakpoint XS */
@media (max-width: 575px) {
    .hidden-xs-down, .hidden-sm-down, .hidden-md-down, .hidden-lg-down, .hidden-xl-down,
    .hidden-xs-up,
    .hidden-unless-sm, .hidden-unless-md, .hidden-unless-lg, .hidden-unless-xl {
        display: none !important;
    }
}

/* Breakpoint SM */
@media (min-width: 576px) and (max-width: 767px) {
    .hidden-sm-down, .hidden-md-down, .hidden-lg-down, .hidden-xl-down,
    .hidden-xs-up, .hidden-sm-up,
    .hidden-unless-xs, .hidden-unless-md, .hidden-unless-lg, .hidden-unless-xl {
        display: none !important;
    }
}

/* Breakpoint MD */
@media (min-width: 768px) and (max-width: 991px) {
    .hidden-md-down, .hidden-lg-down, .hidden-xl-down,
    .hidden-xs-up, .hidden-sm-up, .hidden-md-up,
    .hidden-unless-xs, .hidden-unless-sm, .hidden-unless-lg, .hidden-unless-xl {
        display: none !important;
    }
}

/* Breakpoint LG */
@media (min-width: 992px) and (max-width: 1199px) {
    .hidden-lg-down, .hidden-xl-down,
    .hidden-xs-up, .hidden-sm-up, .hidden-md-up, .hidden-lg-up,
    .hidden-unless-xs, .hidden-unless-sm, .hidden-unless-md, .hidden-unless-xl {
        display: none !important;
    }
}

/* Breakpoint XL */
@media (min-width: 1200px) {
    .hidden-xl-down,
    .hidden-xs-up, .hidden-sm-up, .hidden-md-up, .hidden-lg-up, .hidden-xl-up,
    .hidden-unless-xs, .hidden-unless-sm, .hidden-unless-md, .hidden-unless-lg {
        display: none !important;
    }
}

.dropdown-menu {
    max-height: 80vh;
    overflow-y: auto;
}
/* -- BOOTSTRAP OVERRIDE - END -- */



/* -- MOBILE DATE DROPDOWNS - START -- */
@media (max-width: 767px) {
    .date-dropdowns select {
        padding-left: 4px;
        padding-right: 4px;
        width: 100% !important;
    }

    .date-dropdowns select.month {
        max-width: 39% !important;
        margin-right: 0 !important;
    }

    .date-dropdowns select.day {
        max-width: 30% !important;
        margin-left: 0.5% !important;
        margin-right: 0.5% !important;
    }

    .date-dropdowns select.year {
        max-width: 30% !important;
        margin-right: 0 !important;
    }
}
/* -- MOBILE DATE DROPDOWNS - END -- */

