@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

/* Global Classes */
/* Font Sizes */
.fourteen-pixeled {
    font-size: 14px;
}

.twelve-pixeled {
    font-size: 12px;
}
/* Borders */
.bordered {
    border: 1px solid black;
}

.bottom-bordered {
    border-bottom: 1px solid black;
}

.gray-bordered {
    border: 1px solid #ccc;
}

.border-collapsed {
    border-collapse: collapse;
}
/* Foreground Colors */
.whited {
    color: #fff;
}

.tealed {
    color: #17828b;
}

.blued {
    color: #264d76;
}

.redded {
    color: red;
}

.greened {
    color: green;
}

.goldened {
    color: #F5BB2A
}

.oranged {
    color: orange;
}

.yellowed {
    color: yellow;
}
/* Background Colors */
.gold-bkg {
    background-color: #f5bb2a;
}
/* Font Styling */
.bolded {
    font-weight: bold;
}

.underlined {
    text-decoration: underline;
}
/* Alignment */
.left-aligned {
    text-align: left;
}

.centered {
    text-align: center;
}

.right-aligned {
    text-align: right;
}
/* Margin */
.no-margin {
    margin: 0;
}

.margin-zero-auto {
    margin: 0 auto;
}

.margin-5px {
    margin: 5px;
}
/* Padding */
.top-padding {
    margin-top: 15px;
}
/* Display */
.display-blocked {
    display: block;
}

.display-inline-flexed {
    display: inline-flex;
}
/* Widths */
.half-width {
    width: 50%;
}

.three-quarter-width {
    width: 75%;
}
/* Clickability */
.clickable {
    cursor: pointer;
}
/* Overflow */
.anywhere-overflow-wrap {
    overflow-wrap: anywhere;
}
/* Buttons */
.btn-blued {
    background-color: #264d76;
    color: white;
}

    .btn-blued:hover {
        background-color: #264d76;
        color: #F5BB2A;
    }

.btn-tealed {
    background-color: #12878b;
    color: white;
}

    .btn-tealed:hover {
        background-color: #12878b;
        color: #F5BB2A;
    }

.btn-goldened {
    background-color: #F5BB2A;
    color: white;
}

    .btn-goldened:hover {
        background-color: white;
        color: #F5BB2A;
        border: 1px solid #F5BB2A;
    }

.btn-lightest-blued {
    background-color: #264d76;
    color: #E0EAF5;
    border-color: #264d76;
}

    .btn-lightest-blued:hover {
        background-color: #264d76;
        color: #F5BB2A;
        border-color: #264d76;
    }
/* Icons */
.delete-remove:hover {
    color: #9e0402;
}
/* List Items */
.no-bullet {
    list-style-type: none;
}

html, body {
    font-family: 'Open Sans', sans-serif;
    height: 100%;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

a, .btn-link {
    color: #264d76;
    text-decoration: underline;
}

    .a:hover, .btn-link:hover {
        color: #f5bb2a;
    }
    
    .a:visited {
        color: #263676;
    }

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.header {
    background-color: #12878b;
    background-image: linear-gradient(#264d76 0%, #12878b 70%);
    color: white;
    height: 110px;
}

.agile-logo {
    height: 100%;
}

.site-logo {
    font-size: 2em;
    font-weight: bold;
}

.mobile-menu-button {
    width: 100px;
    height: 100%;
    vertical-align: middle;
    text-align: center;
    background-color: #264d76;
    color: #f5bb2a;
    cursor: pointer;
    display: none;
}

.oi-menu {
    padding-top: 45%;
}

.action-btn {
    margin: 5px;
}

.page {
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

body {
    background-color: white;
}


.main {
    flex: 1;
}

    .main .top-row {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
        }

        .main .top-row a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

.footer {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.card {
    padding: 5px;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
    list-style-type: none;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* Breadcrumb Overrides */
nav[aria-label='breadcrumb'] {
    margin: 0 20px;
}

.breadcrumb-item.active, .breadcrumb-item.previous {
    font-weight: bold;
}

.breadcrumb-item.active {
    color: #12878b;
}

.breadcrumb-item.previous {
    color: #264d76;
}


/* File Upload */
.dropzone {
    border: 3px dashed #f5bb2a;
    padding: 3rem;
    display: grid;
    align-items: center;
    justify-content: center;
    background-color: #eee;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.2);
    color: #444;
    font-size: 1.5rem;
    cursor: pointer;
    position: relative;
}

    .dropzone:hover {
        background-color: #f3f3f3;
        color: #333;
    }

    .dropzone input[type=file] {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
    }

.dropzone-drag {
    background-color: #f2e7cb;
}

.k-window-content {
    padding-block: 0;
}

/* Tabs */
.nav-link, .nav-link:hover {
    color: white;
    padding-left: 5px;
}

.tab-content {
    margin-top: -5px;
    color: white;
}

    .tab-content .tab-pane {
        padding: 15px;
        width: 99.7%;
        border-radius: 0 15px 15px 15px;
    }

/* Grid Overrides */
.grid-no-scroll .k-grid-content {
    overflow-y: auto;
}

.grid-no-scroll .k-grid-header,
.grid-no-scroll .k-grid-footer {
    padding-right: 0; /* version 2.26 and older requires !important here */
}

.grid-no-scroll .k-grid-header-wrap,
.grid-no-scroll .k-grid-footer-wrap {
    border-right-width: 0;
}

.k-button-flat-primary {
    color: #000;
}
/* Footer Styling */
.white-container {
    background-color: white;
}

.golden_top_line {
    border-top: 1px solid #F5BB2A;
}

.footer-text {
    font-size: .75rem
}

/* Responsive CSS */
@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}

@media (max-width: 1181.49px) {
    .header {
        display: none;
    }

    .menu-bar {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    select {
        width: 300px;
    }
}

@media (min-width: 1181.50px) {
    .page {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .sidebar {
        display: none;
    }
}
