﻿/*--------------------------------------------------------
	FONT ASSIGNMENTS
--------------------------------------------------------*/

body {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
    color: #35455B;
    font-weight: 400;
}

p {
    margin-bottom: 20px;
}

strong {
    font-weight: 600;
    font-family: 'Nunito Sans', sans-serif;
}


/*--------------------------------------------------------
	H1 - H6
--------------------------------------------------------*/

h1,
h2,
h3,
h4 {
    margin: 0px;
    padding: 0px;
    font-family: 'Nunito Sans', sans-serif;
    color: #3D79A5;
    font-weight: 800;
}

h1 {
    font-size: 32px;
    margin-bottom: 25px;
}

h2 {
    font-size: 28px;
    margin-bottom: 25px;
}

h3 {
    font-size: 24px;
    margin-bottom: 22px;
}

h4 {
    font-size: 20px;
    margin-bottom: 18px;
}

h1.title {
    color: white;
}


/*--------------------------------------------------------
	LINKS
--------------------------------------------------------*/

a {
    color: #EF833A;
    text-decoration: underline;
}

a:hover,
a:focus {
    color: #EF543A;
}

a.link-button {
    text-decoration: none;
    background: #EF833A;
    color: white;
    padding: 7px 20px;
    display: inline-block;
    position: relative;
    height: 37px;
    margin-bottom: 20px;
}

a.link-button:hover,
a.link-button:focus {
    background: #EF543A;
}


/*--------------------------------------------------------
	IMAGES, Objects
--------------------------------------------------------*/

img {
    border: 0px;
}


/*--------------------------------------------------------
						HEADER
--------------------------------------------------------*/

header {
    background: #0E0B20;
    background-image: url('../images/home_page_2.jpg');
    background-size: cover;
    width: 100%;
    height: 380px;
    margin-bottom: 35px;
    background-position-y: -90px;
}

@media (max-width: 1200px) {
    header {
        background-position-y: 0;
    }
}

@media (max-width: 767px) {
    header {
        height: 320px;
        background-size: 800px;
        background-position-x: center;
    }
}

@media (max-width: 400px) {
    header {
        height: 220px;
    }
}

header .container {
    height: inherit;
}

header .container .row:first-of-type {
    background: rgba(61, 121, 165, .9);
    padding-top: 15px;
    padding-bottom: 15px;
    height: ;
}

@media (max-width: 1200px) and (min-width: 991px) {
    header #logo-column {
        width: 15%;
    }
    path.logotype {
        -webkit-transform: scale(.75);
        -ms-transform: scale(.75);
        transform: scale(.75);
        transform-origin: 20% 50%;
    }
}

header #logo-column svg {}

@media (max-width: 570px) {
    header #logo-column svg {
        -webkit-transform: scale(0.75);
        -ms-transform: scale(0.75);
        transform-origin: 0;
    }
}

@media (max-width: 370px) {
    header #logo-column svg {
        max-width: calc( 280% - 63px);
    }
}


/*--------------------------------------------------------
				Search Bar and Log In
--------------------------------------------------------*/

header #navigation-column {
    text-align: right;
    padding-top: 11px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
}

@media (max-width: 1200px) and (min-width: 991px) {
    header #navigation-column {
        width: 85%;
    }
}

.searchbox {
    width: 210px;
    height: 37px;
    display: inline-block;
    position: relative;
    border-radius: 17px;
    border: 1px solid white;
    background: white;
    overflow: hidden;
}

#navigation-column .searchbox {
    /*Just the version in the header, not the one in the mobile menu*/
    margin-right: 10px;
}

#mobileMenuWrapper .searchbox {
    /*Just the version in the mobile menu, not the one in the header*/
    display: none;
}

@media (max-width: 990px) {
    #navigation-column .searchbox {
        margin-right: 0px;
    }
}

@media (max-width: 570px) {
    #navigation-column .searchbox {
        display: none;
    }
    #mobileMenuWrapper .searchbox {
        display: block;
        width: 100%;
        margin-bottom: 14px;
    }
}

.searchbox .q {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    padding: 13px;
    border: none;
}

.search-button {
    background-image: url(../images/search-icon.svg);
    width: 45px;
    background-repeat: no-repeat;
    background-position: center;
    background-color: white;
    position: absolute;
    right: -1px;
    top: -1px;
    bottom: -1px;
    border: none;
    background-size: 14px;
}

a.login-button {
    text-decoration: none;
    background: #EF833A;
    color: white;
    padding: 7px 20px;
    display: inline-block;
    border-radius: 17px;
    position: relative;
    height: 37px;
    vertical-align: middle;
}

header a.login-button {
    top: -16px;
}

#mobileMenuWrapper a.login-button {
    display: none;
}

@media (max-width: 990px) {
    header a.login-button {
        top: 5px;
    }
}

@media (max-width: 480px) {
    header a.login-button {
        display: none;
    }
    #mobileMenuWrapper a.login-button {
        background-color: #EF833A;
        padding-bottom: 35px;
        text-align: center;
        margin-top: 14px;
        border-radius: 22px;
    }
}


/*--------------------------------------------------------
					Login Modal
--------------------------------------------------------*/

.modal-dialog {
    width: 250px;
}

h4#myModalLabel {
    font-size: 22px;
}

.modal-mem-cert {
    color: #EF833A;
    padding-top: 5px;
}

#login input {
    height: 35px;
    width: 100%;
    margin-bottom: 10px;
    padding-left: 5px;
}

#login a {
    margin-top: -5px;
    display: block;
    margin-bottom: 10px;
}


/*--------------------------------------------------------
					Desktop Navigation
--------------------------------------------------------*/

#nav_menu {
    padding: 0px;
}

#nav_menu .navbar-nav {
    float: right;
}

#nav_menu .navbar-nav>li a {
    font-size: 16px;
    color: white;
    font-family: 'Nunito Sans', sans-serif;
    padding-bottom: 5px;
    text-decoration: none;
}

#nav_menu .navbar-nav>li>a {
    margin-right: 15px;
    padding-left: 0px;
    padding-right: 0px;
}

#nav_menu .navbar-nav>li:last-of-type>a {
    margin-right: 5px;
}

#nav_menu .nav>li a:hover,
#nav_menu .nav>li a:focus,
#nav_menu .nav .open>a,
#nav_menu .nav .open>a:focus,
#nav_menu .nav .open>a:hover {
    background-color: transparent;
    padding-bottom: 4px;
    border-bottom: 1px solid white;
}

#nav_menu .navbar-nav>li .dropdown-menu {
    background: rgba(61, 121, 165, 1);
    padding: 15px;
    border-radius: 0px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

#nav_menu .navbar-nav>li>.dropdown-menu a {
    padding-left: 0px;
    padding-right: 0px;
    margin-bottom: 5px;
}


/*--------------------------------------------------------
					Mobile Navigation
--------------------------------------------------------*/

.mobileMenuTrigger {
    border: none;
    background: white;
    padding: 8px 6px 3px;
    position: relative;
    top: 9px;
    right: 3px;
    margin-left: 15px;
    border-radius: 3px;
}

.mobileMenuTrigger:focus {
    outline: none;
}

.mobileMenuTrigger path {
    fill: #EF833A;
}

.mobileMenuTrigger:focus path,
.mobileMenuTrigger:active path {
    fill: #EF543A;
}

body>#mobileMenuWrapper {
    background: rgba(61, 121, 165, 1);
    border-right: none;
    -webkit-box-shadow: 0 1px 8px 0 rgba(0, 0, 0, .30);
    box-shadow: 0 1px 8px 0 rgba(0, 0, 0, .30);
}

body>#mobileMenuWrapper .mobileMenuTrigger {
    background: transparent;
    color: white;
    top: -5px;
}

#mobileMenuWrapper #mobile-menu>li>ul {
    background: transparent;
}

#mobileMenuWrapper #mobile-menu .mDropdown a {
    margin-bottom: 0px;
}

#mobileMenuWrapper #mobile-menu>li>a {
    color: white;
    text-decoration: none;
}


/*--------------------------------------------------------
					Page titles (Inside of Header)
--------------------------------------------------------*/

header .container #title-row {
    height: calc( 100% - 130px);
}

header .container #title-row .col-md-12 {
    height: 100%;
}

h1.title {
    position: absolute;
    bottom: 0px;
    display: block !important;
}


/*--------------------------------------------------------
					Index / Main Body
--------------------------------------------------------*/

main {
    min-height: calc( 100vh - ( 520px + 35px) - ( 114px + 60px));
    /*The height of the main section of each page will be at least at tall as the height of the screen minus the height of the header + it's margin-bottom and the footer + it's margin-top*/
}

@media (max-width: 990px) {
    main {
        min-height: calc( 100vh - ( 420px + 35px) - ( 114px + 35px));
    }
}

@media (max-width: 767px) {
    main {
        min-height: calc( 100vh - ( 320px + 35px) - ( 114px + 35px));
    }
}

@media (max-width: 550px) {
    main {
        min-height: calc( 100vh - ( 320px + 35px) - ( 151px + 35px));
    }
}

@media (max-width: 400px) {
    main {
        min-height: calc( 100vh - ( 220px + 35px) - ( 151px + 35px));
    }
}


/*--------------Welcome Row*/

#welcome-row {
    margin-bottom: 55px;
}

@media (max-width: 990px) {
    #welcome-row {
        margin-bottom: 35px;
    }
}

#welcome-row figure {
    margin-bottom: 10px;
}

@media (max-width: 767px) {
    #welcome-row figcaption {
        margin-bottom: 10px;
    }
}

#welcome-row figcaption>a {
    display: block;
    font-weight: 600;
    font-size: 20px;
}

#welcome-row figcaption span>a {}

#welcome-row p:last-of-type {
    margin-bottom: 0px;
}


/*--------------News Row*/


/*--------------------------------------------------------
					News and Events Feeds
--------------------------------------------------------*/

#news-item-wrap {
    padding: 0px;
}

@media (max-width: 700px) {
    #news-row .col-xs-4 {
        margin-bottom: 30px;
        width: 100%;
    }
    #news-row .col-xs-4:last-of-type {
        margin-bottom: 0px;
    }
}

.news-item {
    border: 1px solid #BFCCD8;
    padding: 20px;
    min-height: 228px;
}

@media (max-width: 990px) {
    .news-item {
        min-height: 315px;
    }
}

@media (max-width: 767px) {
    .news-item {
        min-height: 249px;
    }
}

@media (max-width: 700px) {
    .news-item {
        border: none;
        border-top: 1px solid #BFCCD8;
        padding-left: 0px;
        padding-right: 0px;
        min-height: inherit;
    }
    .col-xs-4:last-of-type .news-item {
        border-bottom: 1px solid #BFCCD8;
    }
}

.news-item .date {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #3D79A5;
}

.news-item .date:before {
    /*content: url(../images/calendar-icon.svg);*/
    margin-right: 5px;
    top: 3px;
    position: relative;
}

.news-item h3 {
    margin: 10px 0px;
    font-size: 20px;
    font-weight: 400;
}

#news-row .link-button {
    margin-top: 40px;
}


/*--------------------------------------------------------
				CSS Styles for Inner Pages
--------------------------------------------------------*/


/*-------------Default--Slideshow----------*/

.carousel-control.left,
.carousel-control.right,
.carousel-control:hover {
    background-image: none;
    font-size: ;
    font-weight: ;
    z-index: 101;
}

.carousel-control {
    top: ;
    width: ;
}

.carousel-caption {
    position: absolute;
    z-index: 100;
    background-color: #002857;
    background: rgba(0, 0, 0, .6);
    padding: 10px 15px;
    left: initial;
    bottom: 0px;
    right: 0px;
    top: initial;
    width: 100%;
    text-align: left;
    text-shadow: none;
}

@media (max-width: 600px) {
    .carousel-caption {
        padding: 0px 10px;
    }
}

.carousel-caption p.caption-text {
    font-size: 28px;
    font-weight: 600;
    line-height: 33px;
    display: block;
    color: white;
    margin-bottom: 10px;
}

.carousel-caption p.alt-text {
    font-size: 16px;
    font-family: serif;
    font-style: italic;
    color: white;
    margin-bottom: 10px;
}


/*----------Responsive Nivo Slideshow----------*/

div[id^=slider-container-FD],
div[id^=slider_FD],
.nivoSlider img {
    max-width: 100% !important;
    height: auto !important;
}


/*----------Nivo Controls*/

.nivo-prevNav,
.nivo-nextNav {
    background-image: none !important;
    width: 25px !important;
    top: 25% !important;
    /*Fallback for browsers that don't support calc*/
    top: calc( 50% - 50px) !important;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 75px;
    font-family: Arial, sans-serif;
    text-shadow: 0px 0px 10px rgba(51, 51, 51, 0.4);
}

.nivo-prevNav:hover,
.nivo-nextNav:hover {
    text-decoration: none;
    color: #ae0e0d;
    text-shadow: none;
}

.nivo-prevNav {
    left: 10px !important;
}

.nivo-nextNav {
    right: 10px !important;
}

.nivo-prevNav:after {
    content: "‹";
}

.nivo-nextNav:after {
    content: "›";
}


/*--------------------------------------------------------
						Footer
--------------------------------------------------------*/

footer {
    margin-top: 60px;
    background: #3D79A5;
    padding: 35px 0px;
    color: white;
}

@media (max-width: 990px) {
    footer {
        margin-top: 35px;
    }
}

footer a {
    color: white;
}

footer p {
    margin-bottom: 0px;
}

.social-links {
    display: inline-block;
    position: absolute;
    top: 0px;
    right: 15px;
}

@media (max-width: 550px) {
    .social-links {
        position: relative;
        right: 0px;
        top: 10px;
    }
}

.social-links a {
    text-decoration: none;
}

.social-links svg {
    margin-left: 5px;
}

@media (max-width: 550px) {
    .social-links svg {
        margin-right: 5px;
        margin-left: 0px;
    }
}

.social-links svg .border {
    fill: none;
    stroke: #abe0f4;
    stroke-miterlimit: 10;
    stroke-width: 1px;
}

.social-links svg .icon {
    fill: #abe0f4;
}


/*--------------------------------------------------------
						MMS Styling
--------------------------------------------------------*/

ul.nav.nav-tabs a,
#mheader_5_wrapper a {
    text-decoration: none;
}