﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

a, a:hover {
    color: firebrick;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

/* Move down content because we have a fixed navbar that is 50px tall */
body {
    /*padding-top: 50px;*/
    padding-bottom: 20px;
    min-width: 600px;
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

#divHeader {
    min-width: 600px;
    height: 64px;
}

/* Prevent navbar from wrapping in collapsed mode */
.dba-nav-header-issue {
    min-width: 600px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Bold navbar font for mouse over */
.navbar a:hover {
    font-weight: bold;
}

div.dba-form {
    min-width: 700px;
}

div.dba-form-wide {
    min-width: 900px;
}

/* Decrease vertical spacing between form groups */
div.dba-form-compact div.form-group {
    margin-bottom: 2px;
}

div.dba-scrollable {
    overflow-y: auto;
}

div.dba-user-history {
    max-height: 50px;
    padding-left: 0;
}

/* Override the default bootstrap behavior */
img.navbar-brand {
    padding: 8px;
    margin-top: 1px;
    margin-right: 5px;
}

/* Use with dba-apply to create an 'apply' arrow  */
.dba-img-container-32 {
    position: relative;
    display: inline-block;
    width: 32px;
}

/* Use with dba-img-container to create an 'apply' arrow */
.dba-apply {
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 0.9em;
    color: darkblue;
}

.dba-right {
    float: right !important;
}

.dba-margin-bottom {
    margin-bottom: 10px;
}

div.dba-bar {
    float: left;
}

div.dba-border {
    border: 1px solid #dddddd;
    padding-left: 1em;
}

div.dba-site-brand {
    position: absolute;
    margin: 0;
    left: 240px;
    top: 17px;
    font-family: Arial, sans-serif;
    font-size: 20px;
    /*font-stretch: condensed;*/
    font-weight: bold;
}

img.dba-site-logo {
    padding: 18px 30px;
}


li.dba-indent {
    padding-left: 150px;
}

.dba-bar-list {
    list-style: none;
}

    .dba-bar-list li {
        position: relative;
        display: block;
        float: left;
    }

        .dba-bar-list li a {
            position: relative;
            display: block;
            padding: 22px;
        }

            .dba-bar-list li a:hover {
                background-color: #eee;
            }

#divHeader {
    background-color: white;
}

.dba-main-navbar {
    position: fixed;
    top: 64px;
}

    .dba-main-navbar a {
        border: 1px solid transparent;
    }

        .dba-main-navbar a:hover {
            border: 1px solid rgba(255, 255, 255, 0.25);
            box-shadow: 0 0 5px rgba(255, 255, 255, 0.4) inset, 0 1px 0 rgba(255, 255, 255, 0.1);
        }

.dba-block {
    display: block;
}

.dba-center {
    text-align: center;
}

.dba-right {
    text-align: right;
}

.dba-hidden {
    visibility: hidden;
}

/* Override the default bootstrap behavior */
.dba-no-margin input[type="checkbox"] {
    margin-left: 0;
}

.dba-no-wrap {
    white-space: nowrap;
}

.dba-side-pad {
    padding: 1px 5px;
}

.dba-side-pad2 {
    padding: 1em;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="select"],
select {
    max-width: 280px;
}

/* For smaller text, such as a footnote */
.dba-small {
    font-size: smaller;
}

.dba-large {
    font-size: large;
}

/* Use to set small width controls (overrides previous style) */
.dba-small-width {
    max-width: 100px !important;
}

/* Use to set large width controls (overrides previous style) */
.dba-large-width {
    max-width: 400px !important;
}

/* Use to allow auto-sized input controls (overrides previous style) */
.dba-max-width {
    max-width: 100%;
}

.dba-max-width-forced {
    max-width: 100% !important;
}

/* Use to allow full-sized input controls (overrides previous style) */
.dba-auto-width {
    max-width: 600px;
    width: auto;
}

/* Modal Popups */
.dba-modal-background {
    background-color: #333;
    opacity: 0.6;
}

.dba-modal-header {
    background-color: #c9d7e8;
    border-radius: 6px 6px 0 0;
    color: #172536;
    cursor: move;
}

.dba-modal-body {
    margin-bottom: 0;
}


.dba-no-margin {
    margin: 0;
}


div.dba-validator-container {
    position: relative;
    height: 1.2em;
}

span.dba-validator {
    position: absolute;
    top: 0;
    left: 0;
}

.dba-pagination {
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

    /* Styles to make GridView pager footer look good with Bootstrap */
    .dba-pagination table > tbody > tr > td > a,
    .dba-pagination table > tbody > tr > td > span {
        margin-left: -1px;
        position: relative;
        float: left;
        padding: 8px 12px;
        line-height: 1em;
        text-decoration: none;
        background-color: #ffffff;
        border: 1px solid #dddddd;
    }

    .dba-pagination table > tbody > tr > td > span {
        z-index: 2;
        background-color: #f5f5f5;
        border: 1px solid #dddddd;
        cursor: default;
    }

    .dba-pagination table > tbody > tr > td:first-child > a,
    .dba-pagination table > tbody > tr > td:first-child > span {
        margin-left: 0;
        border-bottom-left-radius: 4px;
        border-top-left-radius: 4px;
    }

    .dba-pagination table > tbody > tr > td:last-child > a,
    .dba-pagination table > tbody > tr > td:last-child > span {
        border-bottom-right-radius: 4px;
        border-top-right-radius: 4px;
    }

    .dba-pagination table > tbody > tr > td > a:hover,
    .dba-pagination table > tbody > tr > td > span:hover,
    .dba-pagination table > tbody > tr > td > a:focus,
    .dba-pagination table > tbody > tr > td > span:focus {
        color: #97310e;
        background-color: #eeeeee;
        border-color: #dddddd;
    }

table.dba-fixed {
    table-layout: fixed;
}

div.dba-wide {
    min-width: 930px;
}

.dba-hyphenate {
    /* For IE and Edge, since hyphenate doesn't seem to work in table cells */
    /*word-wrap: break-word;*/
    overflow-wrap: break-word;
}

.dba-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dba-user-group-col {
    max-width: 400px;
}

.time-dateonly {
    display: none;
}

.time-utc {
    visibility: hidden;
}

/* Hide certain elements when width is narrow */
@media (max-width: 800px) {
    .dba-hide-narrow {
        display: none !important;
    }
}


/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }

    .body-content {
        padding: 0;
    }
}
