@import "open-sans-fontface.css";

:root {
    --bg-primary: #0073AB;
    --text-primary: #0073AB;
    --link-primary: #0073AB;
    --bg-inverse: black;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.dropdown-item:active {
    background-color: var(--bg-primary) !important;
}

html, body {
    height: 100%;
}

.bg-primary {
    background-color: var(--bg-primary) !important;
}

.text-primary {
    color: var(--text-primary) !important;
}

.link-primary {
    color: var(--text-primary) !important;
}

.form-check-input:checked {
    background-color: var(--bg-primary) !important;
    border-color: var(--bg-primary) !important;
}

.active {
    color: var(--text-primary) !important;
    border-top-left-radius: 0 !important; 
    border-top-right-radius: 0 !important;
}

.dxtcLite_MaterialCompact > .dxtc-stripContainer .dxtc-tab, .dxbTSys, .dxtc-stripContainer .dxtc-activeTab, .dxeCalendarHeader_MaterialCompact, .dxeCalendarDayHeader_MaterialCompact, .dxeCalendarButton_MaterialCompact, .dxflGroupBoxCaption_MaterialCompact {
    text-transform: none !important;
}

.nav-tabs .nav-link:hover {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.nav-tabs .nav-link:focus {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.nav-tabs .nav-link:active {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.nav-tabs .nav-link {
    transition: none !important;
}

.btn-help-icon {
    border: none;
    background: none;
    width: 18px;
    height: 18px;
    margin: 0 !important;
    padding: 0 !important;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" style="color: rgb(154, 154, 154);"> <path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z" clip-rule="evenodd"/></svg>') !important;
}

    .btn-help-icon:hover {
        text-decoration: none !important;
    }

.main-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "header"
        "content";
    min-height: 100vh;
}

.main-grid-header {
    grid-area: header;
    width: 100%;
}

.main-grid-content {
    grid-area: content;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    flex-grow: 1;
    justify-content: center;
    overflow-y: auto;
    height: 100%;
}

    .main-grid-content .content {
        flex: 1 1 auto;
        justify-content: center;
        overflow-y: auto;
        padding: 1rem;
    }

    .main-grid-content .footer {
        grid-area: footer;
    }

.footer {
    background-color: var(--bg-inverse);
}

    .footer .footer-info {
        color: white;
        text-align: right;
    }

        .footer .footer-info a {
            color: white;
        }

.footer .footer-logo {
    padding: 25px;
}

/* Place on center DX controls to center them horizontally */
.place-content-center {
    display: grid;
    place-content: center;
}

.place-items-center {
    display: grid;
    place-content: center center;
}

/* Loading Panel Style */
.loading-panel {
    background-image: url('/images/TruckLoading.gif');
    background-position: center;
    background-repeat: no-repeat;
    filter: hue-rotate(161deg);
    height: 62px;
    width: 100%;
}

/* Back 2 Top Button Style */
#back2Top {
    width: 40px;
    line-height: 40px;
    overflow: hidden;
    z-index: 999;
    display: none;
    cursor: pointer;
    -moz-transform: rotate(270deg);
    -webkit-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
    position: fixed;
    bottom: 50px;
    right: 0;
    background-color: var(--bg-primary);
    color: white;
    text-align: center;
    font-size: 30px;
    text-decoration: none;
}
#back2Top:hover {
    background-color: var(--bg-inverse);
    color: white;
}

.dxbButton_MaterialCompact div.dxb {
    padding: 4px 13px 4px;
}

.dxpLite_MaterialCompact .dxp-num {
    padding: 8px 12px 8px;
}