/* Define Heading Sizes */
.cgah1 { font-size: 2rem; margin-bottom: 1rem;      }
.cgah2 { font-size: 1.8rem; margin-bottom: .9rem;   }
.cgah3 { font-size: 1.6rem; margin-bottom: .8rem;   }
.cgah4 { font-size: 1.4rem; margin-bottom: .7rem;   }
.cgah5 { font-size: 1.2rem; margin-bottom: .6rem;   }
.cgah6 { font-size: 1rem; margin-bottom: .5rem;     }

/* CSS for Jet Menu */
/* Adds 1/5th functionality */
.megamenu .jetrow .col1-5 {
    display: block;
    width: 100%;
    min-height: 20px;
    float: left;
    margin-left: 2.1276595745%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.megamenu .jetrow .col1-5 {
    width: 17.8723404255%;
}

/* CSS Styling for new header */
header {
    color: #fff;
    background-color: #30508f;
    border-bottom: 5px maroon solid;
    box-shadow: 0px 3px 5px rgb(100 100 100 / 49%);
}

header a, header a:hover {
    color: #fff;
}
.header {
    box-shadow: 0 0 10px 2px #657dad;
    background-color: #224488;
}

.logo-cga {
    margin: 5px 0 -20px 20px;
    float: left;
    position: relative;
    z-index: 999;
}

.logo-txt {
    display: inline-block;
    margin: 39px 0 17px 0;
    padding: 0 10px;
}

.logo-txt a, .logo-txt a:hover, .logo-txt a:active, .logo-txt a:visited {
    color: #FFF;
}

.logo-txt-head {
    display: block;
    font-size: 2em;
    font-family: 'Marcellus SC', serif;
}

.logo-sub {
    display: block;
    font-size: 16px;
    opacity: .95;
    font-family: 'open sans', arial, sans-serif;
    padding: 0 0 0 3px;
}

header nav.row {
    background-color: #5971ad;
    border-radius: 4px 4px 0 0;
    min-height: 54px;
    margin-bottom: -16px;
    position: relative;
    z-index: 998;
}

header nav .largeleft {
    margin-left: 20px;
}

.jetmenu .title {
    border-bottom: 1px solid #aaa;
}

.megamenu .jetrow {
    background: url('/basin/img/newmoon_nav_blue.png') right center no-repeat;
}

.head-links a, .head-links a:hover { 
    color: #fff;
    font-size: .9em;
}

.head-links ul {
    margin: 14px 0 0 0;
    text-align: right;;
}

.head-links .fa {
    border: 1px solid #fff;
    border-radius: 20px;
    padding: 5px;
    margin: 0 8px 0 0;
}

.header-search-form .rounded {
    color: #666;
    width: 100%;
    font-size: 12px;
    height: 28px;
    margin: -10px 0 13px 0;
}

.header-search-form .postfix {
    cursor: pointer;
    height: 25px;
    margin: -40px 0 0 -2px;
    padding: 0;
    border: none;
    outline: none;
    font-size: 1.1em;
    line-height: .5;
    background: #eee;
    color: #888;
}

.head-search ul {
    list-style: none;
    font-size: 12px;
    margin-bottom: 12px;    
}

.head-search ul li {
    white-space: nowrap;
    display: inline-block;
    margin-right: 4px;
}

.head-search ul li a, .head-search ul li {
    color: #fff;
    font-weight: 500;
    font-family: Arial, Helvetica, sans-serif;
}

.head-search ul li:nth-child(2) a {
    border-left: 1px solid #fff;
    padding-left: 4px;
}

.head-search ul li:last-child {
    float: right;
    margin: 0 15px 0 0;
}

header nav {
    box-shadow: 0 0 10px 3px #657dad;
}

.container {
    margin-bottom: 20px;
    border-bottom: thin dashed #ccc;
}

footer {
    border-top: #224488 medium solid;
    border-left: #224488 thin solid;
    border-right: #224488 thin solid;
    background: #b3c3e1;
    box-shadow: 0px 0px 3px 5px rgba(119, 119, 119, .21);    
}

.cap-address {
    margin: 8px auto;
    font-size: .85em;
}

.cap-address h4, .cap-address em {
    font-size: 1.15em;
    color: #002754;
    font-weight: bold;
    font-family: 'Marcellus SC','trajan pro','Times New Roman',serif;
}

.cap-address p {
    font-family: 'Marcellus SC','trajan pro','Times New Roman',serif;
    color: #002754;
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 8px;
}

.cap-links {
    border-top: #657dad thick solid;
    margin: 0;
    font-family: 'Marcellus SC','trajan pro','Times New Roman',serif;
}

.cap-links li, .caplinks li a, .caplinks li a .fa {
    color: #002754;
}

.cap-links li {
    margin: 8px 0;
    font-size: .95   em;
}

.cap-links li .fa {
    border: 2px solid #002754;
    color: #002754;
    border-radius: 8px;
    padding: 4px;
    font-size: 1.1em;
}

.foot-links {
    background: #91A5CA;
}

.foot-links li {
    margin: 0;
    padding: 12px;
    min-height: 52px;
}
.foot-links li a {
    font-size: 1.15em;
    font-weight: 800 !important;
}

.foot-links li:nth-child(n+5) {
    background: #849AC4;
}

footer .base {
    background: #224488;
    width: 100%;
    border-top: medium solid #657dad;
    margin: 0 0 0 0 !important;
}

footer .base ul {
    margin: 0 30px 20px 35px;
    float: right;
    padding: 10px 0 5px 0;
}

footer .base ul li a {
    color: #cdcdcd;
    font-size: 0.95em;
    text-decoration: none;
}

footer .base ul li a:hover {
    background: none;
    padding: 0;
}

/* Medium Screens */
@media only screen and (min-width: 40.063em) and (max-width: 64em) {
    .logo-cga {
        max-width: 114px;
        margin: 10px 0; 

    }
    .logo-txt {
        margin: 30px 0 20px 0;
        padding: 0 0 0 10px;
    }
    .logo-txt-head {
        font-size: 1.8em;
    }
    .head-links ul {
        text-align: left;
        margin-left: -14px;
    }
    .head-links ul li {
        padding: 0 .667rem .667rem 0;
    }
    header nav .largeleft {
        margin-left: 0px;
    }
    .jetmenu li>.megamenu ul {
        margin: 0;
    }
    .jetform .searchTerm {
        font-size: .8em !important; 
        color: #666 !important;
    }
    .jetform .searchButton {
        background: #fff;
    }
}


/* Small Screens */
@media only screen and (max-width: 40em) {
    .logo-cga {
        max-width: 75px;
        margin: 10px auto 5px auto;
        display: block;
        float: none;
        text-align: center;
    }
    .logo-txt {
        display: block;
        text-align: center;
        margin: 0 0 10px 0;
    }
    .logo-sub {
        font-size: .9em;
    }
    .logo-txt-head {
        font-size: 1.25em;
        margin-bottom: -5px;
    }
    header nav .largeleft {
        margin-left: 0px;
    }  
    .jetmenu li>.megamenu ul {
        margin: 0;
    }
    .jetform .searchTerm {
        font-size: .8em !important; 
        color: #666 !important;
    }
    .jetform .searchButton {
        background: #fff;
    }
    .scrollie img {
        max-width: 45px;
    }
    .foot-links li {
        background: #ACBAD6;
    }
    .foot-links li:nth-child(n+3) {
        background: #A0B0D1;
    }
    .foot-links li:nth-child(n+5) {
        background: #91A4CA;
    }
    .foot-links li:nth-child(n+7) {
        background: #849AC4;
    }
}