﻿/* =========== Search Box ================= */
.form-control, .form-control-select {
    border: 1px solid #CE761D;
}

.btn-search{
    background-color: transparent;
}
/* === changes glow color of textbox when clicked ======== */
    textarea:focus, input[type="text"]:focus, .uneditable-input:focus {    
    border-color: rgba(45, 121, 143, 0.8);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(45, 121, 143, 0.6);
    outline: 0 none;
}


/* ============ COLORS and Format ================= */

.apsbg {
    background-color: #fff !important;   
    font-size: 1rem;
}
.navbar {
    border-top: 2px solid #E3C64A;
    border-bottom: 2px solid #E3C64A;
    padding: .25rem .5rem .5rem;
    margin-top: 5px;
}

.navbar-collapse {
    background-color: #fff;
    padding: 4px;
    border-radius: 4px;
}
    .nav-link{
    font-weight: 600;
}

/*============ Hamburger Colors =================== */
.navbar-toggler {
    border-color: rgba(255,255,255,1);
}

.navbar-toggler:hover, .navbar-toggler:focus {
        /* background-color: rgba(255, 255, 255, .5); */
    background-color: #E3C64A;
}

.navbar-toggler-icon {
    /* --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); */
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler-icon:hover, .navbar-toggler-icon:focus {
    /* background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='https://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(38, 21, 117 0.7)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E"); */
    /* --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); */
    border-color: rgba(38, 21, 117, 1);
}


    /*.navbar-toggler, .icon-bar {
    border: 2px solid white;
}*/


    .dropdown-menu {
        width: 100%;
        /*height: auto;*/
        /*text-align: center;*/
        border-radius: 0;
        border: 1px solid #eee;
        margin-top: -1px;
        padding: 0 0;
        /*max-height: 700px;*/
        /*overflow: auto;*/
        box-shadow: 3px 3px 3px grey;
    }

    .dropdown-submenu .dropdown-menu {
        /*position: static;
    float: none;*/
        background-color: #eee;
        border: 2px solid #2D6A9E /*#428bca*/;
        /*box-shadow: none;*/
    }


    .navbar-expand-lg .navbar-nav .dropdown-submenu .dropdown-menu {
        position: static;
        float: none;
    }


.apsbg .navbar-nav .nav-link {
    color: #2d7985;
    text-decoration: none;
    border: 1px solid transparent; /*helps with jumping*/
}

        .apsbg .navbar-nav .nav-link:focus, .apsbg .navbar-nav .nav-link:hover {
            background-color: #E3C64A;
            border: 1px solid transparent; /*helps with jumping*/
            /*color: #2d7985;*/
            color: #000;
        }

        .apsbg .navbar-nav .active > .nav-link, .apsbg .navbar-nav .nav-link.active, .apsbg .navbar-nav .nav-link.show, .apsbg .navbar-nav .show > .nav-link {
            background-color: #E3C64A;
            /*border: 2px solid #fff;*/
            border: 1px solid #eee;
            color: #000;
            /*padding: .25rem .5rem .5rem;*/
        }

        .apsbg .navbar-nav .nav-link {
            padding-left: 15px;
        }



.dropdown-item:focus, .dropdown-item:hover {
    background-color: #00358E;
    color: #fff;
}

    .dropdown-item {
        white-space: normal;
    }

    a.dropdown-item {
        text-decoration: none;
        background-color: #FFE471;
        /*border-color: #E3C64A;*/
        color: #000;
        /*padding: .25rem .5rem .5rem;*/
    }

    .dropdown-item:focus, .dropdown-item:hover {
        background-color: #261575;
        color: #fff;
        text-decoration: none;
    }




    ul.icons > li::before {
        background: #0b536b none repeat scroll 0 0;
        border-radius: 0.5em;
        box-shadow: 0.125em 0.175em 0 0 rgba(0, 0, 0, 0.125);
        color: #fff;
        display: block;
        height: .5em;
        left: 0;
        line-height: 2em;
        position: absolute;
        text-align: center;
        top: .5em;
        width: .5em;
    }

    .fa-circle, .fa-circle a {
        color: #005C9C;
    }



    /* ======== Adjustment to bottom border of nav ============ */
.customBorder {
    border-top: 5px solid #E3C64A;
    margin-top: 5px;
}




/* =========== Return to Top Button ============== */

    #myBtn {
        display: none;
        position: fixed;
        bottom: 20px;
        right: 30px;
        z-index: 99;
        font-size: 18px;
        border: none;
        outline: none;
        background-color: #261575;
        color: white;
        cursor: pointer;
        padding: 3px;
        border-radius: 4px;
        opacity: 0.8;
        border: 3px solid #261575;
    }

        #myBtn:hover {
            background-color: #fff;
            opacity: 0.8;
            color: #00358E;
            border: 3px solid #36238E;
        }

    .hiddenlink {
        position: absolute;
        left: -10000px;
        top: auto;
        width: 1px;
        height: 1px;
        overflow: hidden;
    }


.hidesmall{
    display: inline-block;
}
.hidelarge{
    display: inline-block;
}
.sectionheader {
    display: block;
    width: 100%;
    padding: 5px 10px;
    clear: both;
    color: #000;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}


    /* =========== BREADCRUMB EDITS ============= */
    /*change breadcrumb background color*/
    .breadcrumb {
        background-color: rgb(250, 250, 250);
        padding: 5px 10px;
        border-top: 5px solid #E3C64A;
        margin-top: 5px; /* add one border and margin here to give illusion of double border w/ varying sizes*/
    }
    .breadcrumb li {
        font-size: 0.85rem;
    }
    /*change breadcrumb links color*/
    .breadcrumb a {
        color: #666;
        padding: 2px;
    }
        .breadcrumb a:hover {
            text-decoration: none;
            background-color: #261575;
            color: #fff;
        }

    /*change active color*/
    .breadcrumb > .active {
        color: #261575;
        font-weight: 600;
        padding: 2px;
    }
    /*.breadcrumb-item-nopg {
        color: #2D798F;
    }*/
    .breadcrumb-item + .breadcrumb-item::before {
        display: inline-block;
        padding-right: .5rem;
        padding-left: .5rem;
        content: ">";
        color: #2D798F;
        margin-top: .2rem;
    }

    /*.breadcrumb-item + .breadcrumb-item-nopg::before {
        display: inline-block;
        padding-right: .5rem;
        padding-left: .5rem;
        color: #6c757d;
        content: ">";
        margin-top: .2rem;
    }

    .breadcrumb-item-nopg + .breadcrumb-item::before {
        display: inline-block;
        padding-right: .5rem;
        padding-left: .5rem;
        content: ">";
        color: #2D798F;
        margin-top: .2rem;
    }*/


    /* ===============TABS Nav ================ */

    .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
        color: #fff;
        background-color: #261575;
        /*border-color: #fff;*/
        text-decoration: none;
        font-size: 120%;
        padding: .5rem 1rem;
    }

    .nav-tabs {
        border-bottom: 2px solid #261575;
    }


        .nav-tabs .nav-link {
            border-color: #e6e6e6;
            background-color: #eee;
        }

    .nav-link {
        font-size: 120%;
        text-decoration: none;
    }

        .nav-link:focus, .nav-link:hover {
            /*text-decoration: underline;*/
            /*font-size: 120%;*/
            padding: .5rem 1rem;
            background-color: #2D7985;
            border-color: transparent;
            color: #fff;
            border-radius: 5px;
        }

    .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
        background-color: #261575;
        border-color: transparent;
    }

    /* ============Tabs Content ============ */
    .tab-content {
        border-bottom: 2px solid #261575;
        border-left: 2px solid #261575;
        border-right: 2px solid #261575;
        margin-bottom: 10px;
    }
    /*.tab-content > .active {
        border-left: 1px solid #692d8f;
        border-right: 1px solid #692d8f;
        
    }*/

.skip-to-main-nav {
    z-index: 10;
    height: 25px;
    color: #ffffff;
}

.main-nav-header {
    background-color: #2D7985;
    border-bottom: 5px solid #E3C64A;
    position: relative;
    top: 0px;
    margin-top: 0px;
}

.dropdown-submenu .dropdown-menu .dropdown-item {
    background-color: #FFF;
    color: #000;
}

.dropdown-submenu .dropdown-menu .dropdown-item:hover {
    background-color: rgba(0, 0, 0, 0.025);
}

/* ALL MEDIA QUERIES */

@media (max-width: 991.8px) {
    .navbar .navbar-nav > .nav-item {
        float: none;
        margin-left: .1rem;
    }
    .navbar .navbar-nav {
        float:none !important;
    }
    .nav-item {
        width:100%;
        text-align: left;
    } 
    .navbar-toggler {
        display: block !important;
    }
    .navbar .navbar-brand {
        flex-basis: 75%;
        padding-bottom: 4px
    }
    .hidesmall {
        display: none;
    }
    .navbar {
        margin-top: 9px;
    }
    
    /*fixes white bar in mobile*/
    .navbar {
        align-items: center;
        top: -40px;
    }
    .apsbg {
        background-color: #2D7985 !important;
        border-bottom: 5px solid #E3C64A;
        padding-top: 4px;
        padding-bottom: 4px;
    }
    .customBorder {
        border-top: 5px solid #E3C64A;
        margin-top: -35px;
    }
    .breadcrumb {
        padding-left: 1%;
        border-top: none;
        margin-top: -40px;
    }
}

@media (min-width: 900px) and (max-width: 992px) {
    .navbar {
        margin-top: 5px;
    }
}

/* Created to trim or compensate for traling white space character, “ &#xFEFF; “ just before the nav.htm inludes file. */
@media (min-width: 991.8px) and (max-width: 992px) {
    .main-nav-header {
        margin-top: -28px;
    }
}

/*Stretches menu to specific width on desktop mode*/
@media (min-width: 992px) {
    .navbar-nav {
        margin: 0 auto;
        display: table;
        table-layout: auto;
        float: none;
        width: 100%;
    }
    .navbar-nav > li {
        display: table-cell;
        float: none;
        text-align: center;        
    }
    .navbar-collapse {
        padding-left: 0;
        padding-right: 0;
    }
    .apsbg .navbar-nav .nav-link {
        padding: 8px;
    }
    .customBorder {
        border-top: 5px solid #E3C64A;
        margin-top: 5px;
    }
    .hidelarge {
        display: none;
    }
}

