﻿/* Default CSS Stylesheet for a new Web Application project */

/* 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%;
}

BODY {
    BACKGROUND-COLOR: #EEE !important;
    LETTER-SPACING: normal;
    padding-top: 2.6em !important;
    TEXT-TRANSFORM: none;
    WORD-SPACING: normal;
}

#headerNavBar {
    background-color: #080530;
    font-size: 13px;
    font-weight: bold;
    padding-top: -5px;
}

.boxShadow {
    box-shadow: 0 6px 17px rgba(50, 50, 50, 0.75);
}

.navigationLink a:hover {
    color: ghostwhite;
}

.inset {
    -moz-box-shadow: inset 0px 3px 6px 0px rgba(150, 150, 150, 0.375) !important;
    -webkit-box-shadow: inset 0px 3px 6px 0px rgba(150, 150, 150, 0.375) !important;
    box-shadow: inset 0px 3px 6px 0px rgba(150, 150, 150, 0.375) !important;
}

.inset-error {
    -moz-box-shadow: inset 2px 2px 6px 0px rgba(255, 59, 45, 0.75) !important;
    -webkit-box-shadow: inset 2px 2px 6px 0px rgba(255, 59, 45, 0.75) !important;
    box-shadow: inset 2px 2px 6px 0px rgba(255, 59, 45, 0.75) !important;
}

#bannerimage {
    background-color: #080530;
    background-image: url("https://senate.mo.gov/pubhub/content/images/Banner-1900x248.png");
    background-repeat: no-repeat;
    max-height: 100%;
    height: 250px;
    margin-top: -2px;
    /*max-width: 100%;
    width: 100%;*/
}

#bannertext {
    display: flex;
    max-height: 100%;
    height: 250px;
    font-family: Garamond !important;
    font-size: 100px;
    font-weight: bolder;
    margin-top: -2px;
    color: #9D9D9D;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 1em; /*this decreases the vertical spacing between lines of text */
    background-color: #080530;
}

/*had to add this explicit definition when I move the anchor tag of the banner to be outside the image and text for grid responsiveness*/
#bannerDiv a:hover {
    text-decoration: none !important; /*without this, the text in the banner is underlined when you hover; distracting! */
}

.navbar-nav > li > a {
    color: #9D9D9D;
    padding-top: 5px;
}

.nav.navbar-nav li {
    display: inline-block;
    float: none;
    vertical-align: top;
}

    .nav.navbar-nav li a:hover {
        color: ghostwhite;
        display: inline-block;
        float: none;
        vertical-align: top;
    }

.navbar {
    margin-bottom: 5px;
    max-height: 30px !important;
    min-height: 30px !important;
}

.footer-nav {
    border: none;
    padding-top: 5px;
    text-align: center;
}

.topnav {
    border: none;
    /*    padding-bottom: 5px;
*/
    text-align: center;
}

.container-fluid {
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.footer-nav {
    background-color: #080530;
}

    .footer-nav ul li a {
        color: #9d9d9d !important;
        font-size: 12px;
        font-weight: bold;
        padding-left: 10px;
        padding-right: 15px;
    }

        .footer-nav ul li a:hover {
            color: ghostwhite !important;
        }

.nav > li > a:hover, .nav > li > a {
    color: #9d9d9d;
}

    .nav > li > a:hover, .nav > li > a:focus {
        background-color: transparent !important;
        color: ghostwhite;
    }

/*nix the padding and margin (overrides any other class setting) on any element by adding this class*/
.nopadding {
    padding: 0 !important;
    margin: 0 !important;
}

/* 08.18.2022 col-md-## divs to a GRID format
    much more responsive on different screen sizes without having to change a lot of width and font settings!!!   */
#gridPub {
    margin: 0;
    padding: 0;
    display: grid !important;
    gap: 0px;
    grid-template-columns: repeat(auto-fill, minmax(2, 1fr));
}

/* media query tags for smaller screen sizes; handles responsiveness on diff devices
    820 x 1180 = ipad air
    1024 x 1366 = iPad Pro
    390 x 844 = iPhone 12 Pro
    375 x 667 = iphone SE
*** according to best practices, set up views to work on the smallest devices first, then scale upwards to larger screens
    - this is most reliable method. see here: https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Media_queries  */
/*------------------ media queries below ---------------*/

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    div#gridPub {
        display: grid;
        gap: 0px !important;
        grid-template-columns: auto; /*one column so the two banner parts are STACKED */
    }
}

/* any screen SMALLER than 1024px */
@media only screen and (max-width: 1024px) {
    /* use a smaller image and font for this screen size so they will stay side-by-side! */
    div#bannertext {
        max-height: 125px;
        font-size: 50px;
    }

    div#bannerimage {
        align-items: center;
        background-image: url("https://senate.mo.gov/pubhub/content/images/Banner-968x125_med1.png");
        max-height: 125px;
    }
}

@media Print {
    #TopNavTarget, #hlReturnBill, #lblCreateFooter, #btnPrint, a::after {
        display: None;
    }
}
/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    /*nothing here yet*/
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    div#gridPub {
        display: grid;
        grid-template-columns: 50% 50%; /*two columns across top banner */
        gap: 0px !important;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    /*nothing here yet*/
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
}

/*------------------end media queries for responsive design ---------------*/