/*BODY*/
html
{
    position: relative;;
    min-height: 100%;
}

body
{
    padding: 0;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: 13pt;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 0.015em;
    margin: 0 0 60px;
}

body:before
{
    content: '';
    position: fixed;
    /* the faded background picture: behind the page and never in the way of a click. Without these it
       covered any content that is not positioned, e.g. the login form on short or narrow screens */
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
    width: 100vw;
    height: 100vh;
    background-image: url(../images/swirl3.jpg);
    background-position: center center;
    background-repeat:  no-repeat;
    background-attachment: fixed;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    opacity:0.2;
}

.display-3
{
    text-shadow: 2px 2px #98b5ca;
}

/*LOGIN FORM*/

#form-head
{
    font-family: 'Playfair Display', serif;
    font-size: 28pt;
    top:10%;
    left:50%;
    opacity:0.8;
    position:absolute;
    transform: translate(-50%, -50%);
}

.login-logo
{
    display:block;
    margin: 0 auto 20px auto;
}

.login-form
{
    /* fits narrow phones; the old opacity:0.8 faded all text below readable contrast */
    width: calc(100% - 2rem);
    max-width: 400px;
    top:50%;
    left:50%;
    position:absolute;
    transform: translate(-50%, -50%);
}

/* centering a card taller than the window pushes it under the header; there, use normal flow */
@media (max-width: 767.98px), (max-height: 760px) {
    .login-form {
        position: static;
        transform: none;
        margin: 2rem auto;
    }
}

.login-form form
{
    margin-bottom: 15px;
    background: rgba(247, 247, 247, .94);
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.3);
    padding: 30px;
}

.login-form h2
{
    margin: 0 0 15px;
}

.form-control, .btn
{
    min-height: 15px;
    border-radius: 2px;
}

.btn
{
    /*font-size: 18px;*/
    font-weight: bold;
    padding-right: 25px;
    padding-left: 25px;
}

/*TOOL TIP*/

/* Tooltip container */
.tooltip
{
    position: relative;
    display: inline-block;
}

/* Tooltip text */
.tooltip .tooltiptext
{

    width: 120px;
    background-color: #3399ff;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    /* Position the tooltip text */
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;

    /* Fade in tooltip */
    opacity: 0;
    transition: opacity 0.3s;
}

/* Remove weekends from date picker */
td.ui-datepicker-week-end {
    visibility: hidden;
}

#page_content table {
    font-size: 14px;
    font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
}

.form-signin {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
}
.form-signin .checkbox {
    font-weight: 400;
}
.form-signin .form-control {
    position: relative;
    box-sizing: border-box;
    height: auto;
    padding: 10px;
    font-size: 16px;
}
.form-signin .form-control:focus {
    z-index: 2;
}
.form-signin input[type="email"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.feather {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
}

/*
 * Sidebar
 */

.sidebar {
    position: fixed;
    top: 0;
    padding: 80px 0 0; /* Height of navbar */
    bottom: 0;
    left: 0;
    z-index: 1; /* Behind the navbar */
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
    /*height: calc(100vh - 48px);*/
    padding-top: 1rem;
    overflow-x: hidden;
    z-index: 1;
   /* overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
    /*font-weight: bold;*/
    color: #333;
}

.sidebar .nav-link .feather {
    margin-right: 4px;
    color: #999;
}

.sidebar .nav-link.active {
    color: #007bff;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather,
.sidebar .nav-link:hover
{
    color: #0056b3;
}

.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}

/*
 * Navbar
 */

.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: 1rem;
    background-color: rgba(0, 0, 0, .25);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .form-control {
    padding: .75rem 1rem;
    border-width: 0;
    border-radius: 0;
}

.form-control-dark {
    color: #fff;
    background-color: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

/*
 * Utilities
 */

.border-top { border-top: 1px solid #e5e5e5; }
.border-bottom { border-bottom: 1px solid #e5e5e5; }

.info-table td:nth-child(1){
    font-weight: bold;
}


section .section-title {
    text-align: center;
    color: #007b5e;
    margin-bottom: 50px;
    text-transform: uppercase;
}
/*#footer {
    background: #343a40 !important;
}
#footer h5{
    padding-left: 10px;
    border-left: 3px solid #eeeeee;
    padding-bottom: 6px;
    margin-bottom: 20px;
    color:#ffffff;
}
#footer a {
    color: #ffffff;
    text-decoration: none !important;
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
}
#footer ul.social li{
    padding: 3px 0;
}
#footer ul.social li a i {
    margin-right: 5px;
    font-size:25px;
    -webkit-transition: .5s all ease;
    -moz-transition: .5s all ease;
    transition: .5s all ease;
}
#footer ul.social li:hover a i {
    font-size:30px;
    margin-top:-10px;
}
#footer ul.social li a,
#footer ul.quick-links li a{
    color:#ffffff;
}
#footer ul.social li a:hover{
    color:#eeeeee;
}
#footer ul.quick-links li{
    padding: 3px 0;
    -webkit-transition: .5s all ease;
    -moz-transition: .5s all ease;
    transition: .5s all ease;
}
#footer ul.quick-links li:hover{
    padding: 3px 0;
    margin-left:5px;
    font-weight:700;
}
#footer ul.quick-links li a i{
    margin-right: 5px;
}
#footer ul.quick-links li:hover a i {
    font-weight: 700;
}*/

@media (max-width:767px){
    #footer h5 {
        padding-left: 0;
        border-left: transparent;
        padding-bottom: 0px;
        margin-bottom: 10px;
    }
}

@media screen and (-webkit-min-device-pixel-ratio: 0)
{
    @font-face
    {
        font-family: 'Roboto';
        font-style: normal;
        font-weight: 400;
        src: url(../fonts/Roboto-Regular.svg) format('svg');
    }

    @font-face
    {
        font-family: 'Roboto Light';
        font-style: normal;
        font-weight: 300;
        src: url(../fonts/Roboto-Light.svg) format('svg');
    }
}

.securityBanner-top{
    overflow: hidden;
    position: fixed;
    top: 0;
    width: 100%;
    height: 20px;
}

.securityBanner-bottom{
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    height: 20px;
}


div.unclassSecurityBanner {
    width: 100%;
    background-color: #009900;
    color: #FFFF00;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    padding: 0px 0px 0px 0px;
    margin-left: 0px 0px 0px 0px;
    z-index: 1000;
}

div.jwicsSecurityBanner {
    width: 100%;
    background-color: rgb(255,165,0);
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    padding: 0px 0px 0px 0px;
    margin-left: 0px 0px 0px 0px;
}

div.stoneGhostSecurityBanner {
    width: 100%;
    background-color: purple;
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    padding: 0px 0px 0px 0px;
    margin-left: 0px 0px 0px 0px;
}

/* FONTS */
@font-face
{
    font-family: 'Muli';
    font-style: normal;
    font-weight: 400;
    src: url(../fonts/Muli-Regular.ttf) format('truetype');
}

@font-face
{
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url(../fonts/Roboto-Regular.ttf) format('truetype'),
         url(../fonts/Roboto-Regular.svg) format('svg');
}

@font-face
{
    font-family: 'Roboto Light';
    font-style: normal;
    font-weight: 300;
    src: url(../fonts/Roboto-Light.ttf) format('truetype'),
         url(../fonts/Roboto-Light.svg) format('svg');
}

@font-face
{
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url(../fonts/Montserrat-Medium.ttf) format('truetype');
}

.body-font
{
    color:#2c2c2c;
    font-family: 'Roboto', sans-serif;
    font-size:14px;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

.no-underline
{
    text-decoration: none;
}

/*Main Content Header*/
.card-header-box
{
    border: 1px solid rgba(0,0,0,0.125);
    border-radius: 12px;
    box-shadow: 0 6px 10px -4px rgba(0,0,0,.15);
    background-color: #fff;
    width:520px;
}

.card-img
{
    display:block;
    width:150px;
    margin-left:auto;
    margin-right:auto;
    border: 0;
}

.header /*formally H2*/
{
    font-family:Muli,Helvetica,Arial,sans-serif;
    text-shadow: 2px 2px 8px #66615b;
    margin: 10px 0px 10px 10px;
    font-size: 2em;
    display: block;
}

.header-less-shadow /*formally H2*/
 {
     font-family:Muli,Helvetica,Arial,sans-serif;
     text-shadow: 1px 1px 4px #66615b;
     margin: 10px 0px 10px 10px;
     font-size: 2em;
     display: block;
 }

.card-header-footer
{
   padding: 0 15px 0px 15px;
   font-size: 1rem;
}

/*Class to create shadowed box effect*/
.shadow
{
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.3);
}

.shadow-light
{
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.3);
}

.shadow-box-rt
{
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.3);
    /*
    background: linear-gradient(to bottom, rgba(255,255,255,1) 47%,rgba(255,255,255,0.51) 73%,rgba(255,255,255,0) 100%);
    */

            /*#007bff40;*/

    /*Optional colors
     #f8f9fa
     background: linear-gradient(to bottom, rgba(161,219,255,1) 0%,rgba(203,235,255,1) 53%,rgba(240,249,255,1) 100%);
     background: linear-gradient(to bottom, rgba(255,255,255,1) 47%,rgba(255,255,255,0.51) 73%,rgba(255,255,255,0) 100%);
     */
}

.shadow-box
{
    box-shadow: 0px 6px 10px -4px rgba(0, 0, 0, 0.3);
}
/* FOOTER */

.site-footer
{
   /* background-color: #f2f2f2;
   opacity:0.7;*/
   /* background-color: #343a40;*/
    /*margin-top: 20px;*/
    height: 50px;
    margin-bottom: 20px;
    width: 100%;
    z-index: 2;
    padding: .75rem 1.25rem;
    border-top: 1px solid rgba(0,0,0,.125);
    position: absolute;
    bottom: 0;

}

.site-footer ul
{
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align:center;
    overflow: hidden;
}

.site-footer ul li
{
    display: inline;

}

.site-footer li a
{
    color: #fff;
    font-size: 11pt;
}


.site-footer li a:hover, a:focus
{
    /*background-color: #e2e2e2;*/
    font-size: 12pt;
    text-decoration: none;
    color: #007bff;
}

.v-bar
{
    margin-left: 10px;
    margin-right: 10px;
}
.center-me
{
    margin:auto;
}

.page-details-header {
    margin-right: 0;
    margin-left: 0;
    background: white;
}

.search-table td {
    vertical-align: middle;
}
/*Color Options for Top Nav Bar

background-color: #007bff*/

.imbedded-table-no-style td {
    border: 0;
    padding: 5px;
}
/* ---------------------------------------------------------------------------------------------
 * Accessibility and layout fixes (WCAG AA contrast, fixed banners, small screens)
 * ------------------------------------------------------------------------------------------- */

/* white on #007A33 (the usual UNCLASSIFIED marking green) has a 5.6:1 contrast ratio; yellow on
   #009900 was 2.4:1 */
div.unclassSecurityBanner {
    background-color: #007A33;
    color: #FFFFFF;
    /* the marking stays above the fixed header (1030) and the mobile menu (1020) */
    z-index: 1040;
}

/* the classification banner (security-banner.* settings) */
div.securityBanner {
    font-size: 14px;
    font-weight: bold;
    line-height: 20px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* the marking stays above the fixed header (1030) and the mobile menu (1020) */
    z-index: 1040;
}

/* keep the last of the page clear of the fixed bottom banner */
body.has-security-banner {
    padding-bottom: 20px;
}
/* without a banner nothing needs to clear it */
body.no-security-banner .sidebar {
    padding-top: 60px;
}

/* Bootstrap 4.0's navbar-dark links are 50% white (about 4:1 on the dark header) */
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, .85);
}
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: #FFFFFF;
}
.app-header .btn-link.nav-link {
    padding: .5rem 0;
    text-decoration: none;
}

/* visible keyboard focus everywhere */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid #FFBF47;
    outline-offset: 2px;
}

/* home page banner: the text sits on a translucent panel and the card grows with it, instead of
   overflowing a fixed-height image */
.hero-card {
    background-size: cover;
    background-position: center;
    min-height: 220px;
}
.hero-card .hero-text {
    background-color: rgba(255, 255, 255, .88);
    border-radius: .25rem;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem;
}
.hero-card .hero-text h1 {
    font-size: calc(1.6rem + 1.6vw);
    font-weight: 300;
}

@media (max-width: 767.98px) {
    /* the sidebar becomes a full-height menu opened from the header button */
    .sidebar {
        z-index: 1020;
        padding-top: 84px;
    }
    body.no-security-banner .sidebar {
        padding-top: 64px;
    }
    /* brand, menu button and logout share one header row */
    .app-header {
        flex-wrap: nowrap;
    }
    .app-header .navbar-brand {
        flex: 0 1 auto;
        max-width: 50%;
    }
    .hero-card .hero-text {
        margin: .75rem;
        padding: 1rem;
    }
}

/* Bootstrap 4.0's default palette misses the 4.5:1 text contrast minimum in places; these are the
   same hues, one step darker */
a { color: #0062CC; }
a:hover { color: #004A99; }
.text-primary { color: #0062CC !important; }
.bg-primary { background-color: #0062CC !important; }
.btn-primary { background-color: #0062CC; border-color: #0062CC; }
.btn-primary:hover, .btn-primary:focus { background-color: #004A99; border-color: #004A99; }
/* #0F6674 keeps 4.5:1 on DataTables' striped and hovered rows (they darken the cell background) */
.btn-outline-info { color: #0F6674; border-color: #0F6674; }
.btn-outline-info:hover { background-color: #0F6674; color: #FFFFFF; }
.sidebar .text-muted { color: #545B62 !important; }
.sidebar .nav-link.active { color: #0056B3; font-weight: 500; }
.site-footer li a, .site-footer span { color: #FFFFFF; }
.btn-outline-primary { color: #0062CC; border-color: #0062CC; }
.btn-outline-primary:hover { background-color: #0062CC; color: #FFFFFF; }
.btn-info { background-color: #117A8B; border-color: #117A8B; color: #FFFFFF; }
.btn-info:hover, .btn-info:focus { background-color: #0E6674; border-color: #0E6674; color: #FFFFFF; }

/* read-only demo mode */
.demo-banner {
    margin-bottom: 1rem;
}
.demo-badge {
    margin: 0 auto;
    padding: .25rem .75rem;
    border-radius: .25rem;
    background-color: #FFF3CD;
    color: #856404;
    font-weight: bold;
    font-size: .9rem;
}
.demo-accounts {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #DEE2E6;
}
.demo-accounts .demo-sign-in {
    white-space: normal;
}
.demo-accounts .demo-passcode {
    display: block;
}
.demo-accounts code {
    color: #212529;
}

/* Bootstrap's success and danger colors are about 3:1 and 4.5:1 on white; these darker shades also pass
   on striped and hovered table rows (#ECECEC) */
.text-success { color: #19692C !important; }
.text-danger { color: #B21F2D !important; }
/* Bootstrap's own warning-alert text color; its yellow .text-warning is 1.6:1 on white */
.text-warning { color: #856404 !important; }
.btn-success { background-color: #1E7E34; border-color: #1E7E34; }
.btn-success:hover, .btn-success:focus { background-color: #19692C; border-color: #19692C; }
