﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* 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;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 100%;
}

div.hdrDiv {
    padding-left: 0px;
    padding-right: 0px;
}

#nyptiSeal {
    width: 80px;
    float: left;
    margin-left: 5px;
    margin-right: 10px;
}

.navbar-inverse .navbar-brand {
    font-size: 46px;
    margin-top: 13px;
    color: white;
    font-family: 'Playfair Display SC', serif;
}

    .navbar-inverse .navbar-brand:hover {
        color: rgba(145, 207, 255, 0.8);
    }

.search-form {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3em;
    margin-bottom: 2em;
}

.nav-tabs {
    border-bottom: 1px solid #949494;
}

.tabbable {
    border-right: 1px solid #949494;
    border-top: 1px solid #949494;
    border-bottom: none;
    border-left: none;
}

div.tab-content {
    padding: 1em 2em;
    border-left: 1px solid #949494;
    margin-left: -15px;
}

/* these are the tabs for each results source */
.nav-tabs > li > a {
    height: 90px;
    border: 1px solid #949494;
    color: #003a69 !important;
    font-size: medium;
    letter-spacing: .3px;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    border: 1px solid #949494;
    border-bottom-color: transparent;
}

.nav-tabs > li > a:hover {
    border-bottom-color: #949494;
}






footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    min-height: 115px;
    padding: 1.5em;
    background-color: #999999;
}
/* prevent the URL from printing */
@media print {
    a [href]:after {
        content: none !important;
    }
}

/* mobile size */
@media screen and (max-width: 550px) {
    .navbar-inverse .navbar-brand {
        font-size: 22px;
    }
}

#modalDeleteConfirmation,
#modalUnsaved,
.bootbox {
    margin-top: 0;
    overflow: visible;
    position: fixed;
    top: 20%;
}

    #modalDeleteConfirmation h3 {
        font-size: 20px;
        line-height: 1.2em;
    }

#ajaxIndicator {
    background: url('/Content/indicator.gif') no-repeat top left;
    display: block;
    height: 125px;
    left: 50%;
    margin: -62px 0 0 -62px;
    position: fixed;
    top: 50%;
    width: 125px;
    z-index: 9000;
}

.ui-widget-header {
    border-color: #003a69;
    background: #003a69;
    color: #fff;
}

    .ui-state-default,
    .ui-widget-content .ui-state-default,
    .ui-widget-header .ui-state-default {
        background: #fafafa;
        border-color: #dddddd;
        color: #333;
    }

    .ui-state-active,
    .ui-widget-content .ui-state-active,
    .ui-widget-header .ui-state-active {
        background: #003a69;
        color: #fff;
    }

.ui-widget-content {
    border: none;
}

.ui-datepicker-inline {
    width: 100%;
    padding: 0;
}

.clearable.x {
    background-position: right 5px center;
}

.clearable.onX {
    cursor: pointer;
}

.clearable::-ms-clear {
    display: none;
    width: 0;
    height: 0;
}

.tab-content > .tab-pane:not(.active) {
    display: block;
    height: 0;
    overflow-y: hidden;
}

.customHR {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #929292
}

@media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) {

    /* Force table to not be like tables anymore */
    table, thead, tbody, th, td, tr {
        display: block !important;
    }

        /* Hide table headers (but not display: none;, for accessibility) */
        thead tr {
            position: absolute !important;
            top: -9999px !important;
            left: -9999px !important;
        }

    tr {
        margin: 0 0 1rem 0 !important;
    }

        tr:nth-child(odd) {
            background: #ccc !important;
        }

    td {
        /* Behave  like a "row" */
        border: none !important;
        border-bottom: 1px solid #eee !important;
        position: relative !important;
        padding-left: 50% !important;
    }

        td:before {
            /* Now like a table header */
            position: absolute !important;
            /* Top/left values mimic padding */
            top: 0 !important;
            left: 6px !important;
            width: 45% !important;
            padding-right: 10px !important;
            white-space: nowrap !important;
        }

        td a:before {
            top: 0 !important;
            left: 6px !important;
            width: 45% !important;
            padding-right: 10px !important;
            white-space: nowrap !important;
        }

        td:nth-of-type(1):before {
            content: "Cite";
        }

        td:nth-of-type(2):before {
            content: "Name";
        }

        td:nth-of-type(3):before {
            content: "Level";
        }
}


.topnav {
    overflow: hidden;
}

    .topnav a {
        float: left;
        display: block;
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
        font-size: 17px;
    }

    .topnav .icon {
        display: none;
    }

@media screen and (max-width: 600px) {
    .topnav a:not(:first-child) {
        display: none;
    }

    .topnav a.icon {
        float: right;
        display: block;
    }
}

@media screen and (max-width: 600px) {
    .topnav.responsive {
        position: relative;
    }

        .topnav.responsive .icon {
            position: absolute;
            right: 0;
            top: 0;
        }

        .topnav.responsive a {
            float: none;
            display: block;
            text-align: left;
        }
}

td, th {
    border: 1px solid #ddd;
    padding: 4px;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

tr:hover {
    background-color: #ddd;
}

th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    color: white;
    background-color: #336699;
}

.tabs-below > .nav-tabs,
.tabs-right > .nav-tabs,
.tabs-left > .nav-tabs {
    border-bottom: 0;
}

.tab-content > .tab-pane,
.pill-content > .pill-pane {
    display: none;
}

.tab-content > .active,
.pill-content > .active {
    display: block;
}

.tabs-below > .nav-tabs {
    border-top: 1px solid #949494;
}

    .tabs-below > .nav-tabs > li {
        margin-top: -1px;
        margin-bottom: 0;
    }

        .tabs-below > .nav-tabs > li > a {
            -webkit-border-radius: 0 0 4px 4px;
            -moz-border-radius: 0 0 4px 4px;
            border-radius: 0 0 4px 4px;
        }

            .tabs-below > .nav-tabs > li > a:hover,
            .tabs-below > .nav-tabs > li > a:focus {
                border-top-color: #ddd;
                border-bottom-color: transparent;
            }

    .tabs-below > .nav-tabs > .active > a,
    .tabs-below > .nav-tabs > .active > a:hover,
    .tabs-below > .nav-tabs > .active > a:focus {
        border-color: transparent #949494 #949494 #949494;
    }

.tabs-left > .nav-tabs > li,
.tabs-right > .nav-tabs > li {
    float: none;
}

    .tabs-left > .nav-tabs > li > a,
    .tabs-right > .nav-tabs > li > a {
        min-width: 74px;
        margin-right: 0;
        margin-bottom: 3px;
    }

.tabs-left > .nav-tabs {
    float: left;
}

    .tabs-left > .nav-tabs > li > a {
        margin-right: -1px;
        -webkit-border-radius: 4px 0 0 4px;
        -moz-border-radius: 4px 0 0 4px;
        border-radius: 4px 0 0 4px;
    }

        .tabs-left > .nav-tabs > li > a:hover,
        .tabs-left > .nav-tabs > li > a:focus {
            border-color: #949494 #949494 #949494 #949494;
        }

    .tabs-left > .nav-tabs .active > a,
    .tabs-left > .nav-tabs .active > a:hover,
    .tabs-left > .nav-tabs .active > a:focus {
        border-color: #949494 transparent #949494 #949494;
        color: white !important;
        background-color: #003a68 !important;
    }

.tabs-right > .nav-tabs {
    float: right;
    margin-left: 19px;
    border-left: 1px solid #949494;
}

    .tabs-right > .nav-tabs > li > a {
        margin-left: -1px;
        -webkit-border-radius: 0 4px 4px 0;
        -moz-border-radius: 0 4px 4px 0;
        border-radius: 0 4px 4px 0;
    }

        .tabs-right > .nav-tabs > li > a:hover,
        .tabs-right > .nav-tabs > li > a:focus {
            border-color: #eeeeee #eeeeee #eeeeee #dddddd;
        }

    .tabs-right > .nav-tabs .active > a,
    .tabs-right > .nav-tabs .active > a:hover,
    .tabs-right > .nav-tabs .active > a:focus {
        border-color: #ddd #ddd #ddd transparent;
        *border-left-color: #ffffff;
    }

.btn-inverse {
    background: #3f4246;
    border: 1px solid #292a2c;
    color: #ffffff;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
}