html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    font-size: 14px;
}

.card-background-header {
    background-color: blue;
    color: white;
    font-weight: bold;
}

.card-padding-header {
    padding-top: 4px;
    padding-bottom: 4px;
}

.blue-pill .active a,
.blue-pill .active a:hover {
    background-color: blue;
    color: white;
}

.validation-summary-errors {
    margin: auto;
    width: 50%;
    border: 3px solid green;
    padding: 10px;
}

/* Don't show validation summary unless there are actual errors to display */
.validation-summary-valid {
    display: none;
}

/* Highlight form control when entry not valid */
.input-validation-error {
    border: 2px solid #ff0000;
    background-color: #ffeeee;
}

/* Highlight form control when entry may be invalid */
.input-validation-warning {
    border: 2px solid #ff0000;
    background-color: rgba(255, 191, 0, .5);
}

/* Format field validation notice */
.field-validation-error {
    background-color: white;
    border-radius: 4px;
    border: solid 1px #333;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    text-align: right;
}

/* Set width on the form input elements since they're 100% wide by default */
input[type=text], select, textarea {
    max-width: 280px;
}

/* Chrome, Safari, Edge, Opera */
input.mileage::-webkit-outer-spin-button,
input.mileage::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input.mileage[type=number] {
    -moz-appearance: textfield;
}

.spinner {
    position: fixed;
    z-index: 999;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: Black;
    filter: alpha(opacity = 60);
    opacity: 0.6;
    -moz-opacity: 0.8;
}

.center-div {
    width: 300px;
    height: 300px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -150px;
    margin-top: -150px;
}

.inner-div {
    background-color: white;
    border-radius: 15px;
    margin: auto;
    padding: 2%;
    width: 150px;
}

.loader {
    margin: auto;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #15a0ec;
    border-bottom: 16px solid #15a0ec;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

thead {
    background-color: #498AC7;
    color: white;
}

tfoot {
    background-color: #EBF6FF;
    color: black;
    font-weight: bold;
}

.thead {
    background-color: #498AC7 !important;
    color: white;
}

.disabled-link {
    pointer-events: none;
}

    .disabled-link > i {
        color: lightgray !important;
    }

.divMain {
    height: calc(100vh - 220px);
}

.button-pressed {
    border:inset;
}

/* START OF BOOTSTRAP MULTI-TIER CSS */
.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -6px;
        margin-left: -1px;
        -webkit-border-radius: 0 6px 6px 6px;
        -moz-border-radius: 0 6px 6px;
        border-radius: 0 6px 6px 6px;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu > a:after {
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: #ccc;
        margin-top: 5px;
        margin-right: 0px;
    }

    .dropdown-submenu:hover > a:after {
        border-left-color: #fff;
    }

    .dropdown-submenu.pull-left {
        float: none;
    }

        .dropdown-submenu.pull-left > .dropdown-menu {
            left: -100%;
            margin-left: 10px;
            -webkit-border-radius: 6px 0 6px 6px;
            -moz-border-radius: 6px 0 6px 6px;
            border-radius: 6px 0 6px 6px;
        }
/* END OF BOOTSTRAP MULTI-TIER CSS */

/* Start of banner slide css */
.hide-slide {
    opacity: 0;
/*    transform: translateY(calc(30px));
*/

}

.slide-in-div {
    /*animation: slideInOut 2.5s ease-in-out;*/ /* 1.5 seconds total animation duration */
    animation: showAndHide 2.5s ease-in-out; /* 1.5 seconds total animation duration */
}

@keyframes showAndHide {
    0% {
        opacity: 0;
    }
    25% {
        opacity: 1;
    }
    50% {
        opacity: .4;
    }
    75% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes slideInOut {
    0% {
        transform: translateX(100%);
    }
    /* Start off screen to the right */
    20% {
        transform: translateX(calc(100% - 150px));
    }
    /* Slide in */
    80% {
        transform: translateX(calc(100% - 150px));
    }
    /* Stay in view for 5 seconds */
    100% {
        transform: translateX(100%);
    }
    /* Slide out to the right */
}
/* End of banner slide css */
