@import 'reset.css';

/*fonts*/

@font-face {
    font-family: 'Gotham Rounded Medium';
    src: url('../fonts/GothamRounded-Medium.eot');
    src: url('../fonts/GothamRounded-Mediumd41d.eot?#iefix') format('embedded-opentype'),
        url('../fonts/GothamRounded-Medium.woff2') format('woff2'),
        url('../fonts/GothamRounded-Medium.woff') format('woff'),
        url('../fonts/GothamRounded-Medium.ttf') format('truetype'),
        url('../fonts/GothamRounded-Medium.svg#GothamRounded-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham Rounded Book';
    src: url('../fonts/GothamRounded-Book.eot');
    src: url('../fonts/GothamRounded-Bookd41d.eot?#iefix') format('embedded-opentype'),
        url('../fonts/GothamRounded-Book.woff2') format('woff2'),
        url('../fonts/GothamRounded-Book.woff') format('woff'),
        url('../fonts/GothamRounded-Book.ttf') format('truetype'),
        url('../fonts/GothamRounded-Book.svg#GothamRounded-Book') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham Rounded Light';
    src: url('../fonts/GothamRounded-Light.eot');
    src: url('../fonts/GothamRounded-Lightd41d.eot?#iefix') format('embedded-opentype'),
        url('../fonts/GothamRounded-Light.woff2') format('woff2'),
        url('../fonts/GothamRounded-Light.woff') format('woff'),
        url('../fonts/GothamRounded-Light.ttf') format('truetype'),
        url('../fonts/GothamRounded-Light.svg#GothamRounded-Light') format('svg');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham Rounded Bold';
    src: url('../fonts/GothamRounded-Bold.eot');
    src: url('../fonts/GothamRounded-Boldd41d.eot?#iefix') format('embedded-opentype'),
        url('../fonts/GothamRounded-Bold.woff2') format('woff2'),
        url('../fonts/GothamRounded-Bold.woff') format('woff'),
        url('../fonts/GothamRounded-Bold.ttf') format('truetype'),
        url('../fonts/GothamRounded-Bold.svg#GothamRounded-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
}

/*general*/

#wrapper,
#wrapper p {
    font-family: "Gotham Rounded Light", Arial, sans-serif;
    font-size: 16px;
    letter-spacing: 1px;
    line-height: 1.5em;
}


#wrapper a:link,
#wrapper a:visited,
#wrapper a:hover,
#wrapper a:active{
    color: #41a9b6;
}

#wrapper h1{
    font-family: "Gotham Rounded Medium", Arial, sans-serif;
    font-size: 2em;
    margin-bottom: 15px;
}

#wrapper h2 {
    font-family: "Gotham Rounded Book", Arial, sans-serif;
    text-transform: uppercase;
    font-size: 1.6em;
    margin-top: 25px;
}

#wrapper h3{
    font-family: "Gotham Rounded Book", Arial, sans-serif;
    font-size: 1.1em;
}

#wrapper h4,
#wrapper h5,
#wrapper h6{
    font-family: "GothamRounded-Book", Arial, sans-serif;
}

/*header*/

#header {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #015386;
    margin-bottom: 30px;
}

#header #logo{
    margin: 0 auto;
}

#header .container-custom{
    max-width: 1250px;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/*navigation*/

#menu{
    text-align: center;
}

#menu ul li{
    display: block;
}

#menu ul li a:link,
#menu ul li a:visited,
#menu ul li a:hover,
#menu ul li a:active{
    color: #fff;
    text-decoration: none;
    font-family: "Gotham Rounded Light", Arial, sans-serif;
}

#menu .fa-chevron-down::before{
    visibility: hidden;
}

#menu .sub-menu li{
    margin: 7px 0;
}

/*content*/

.entry-title{
    text-align: center;
}

.entry-content ul li{
    list-style-type: disc;
    margin-left: 32px;
}

#nav-below{
    text-align: center;
    margin-top: 25px;
}

.entry-content .listing-item{
    margin-bottom: 12px;
}

.entry-content .listing-item .title,
.entry-content .listing-item .date{
    font-weight: 700;
}

.entry-content .listing-item .excerpt-dash:before{
    content: " ";
}

#content figure img{
    margin: 0 auto;
}

#content figure figcaption{
    font-style: italic;
    font-size: 0.8em;
    text-align: center;
    margin-top: 12px;
}

/*images*/

.home .wp-block-gallery{
    margin-top: 30px;
}

.home .wp-block-gallery img{
    border-top: 4px solid #292f3f;
    border-bottom: 4px solid #292f3f;
}

.featured-image img,
.wp-block-image img{
    max-width: 40%;
    height: auto;
    display: block;
    margin: 42px 0;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

.postid-587 #wrapper .wp-block-image img{
    max-width: 100%;
}

/*partners*/

#partner-slider{
    background-color: #41a9b6;
    padding: 15px 75px;
    color: #fff;
    text-align: center;
    margin-top: 50px;
}

#partner-slider img{
    margin: 20px auto;
}

/*footer*/

#footer{
    background-color: #292f3f;
    color: #fff;
    padding: 15px 30px;        
}

#footer .left,
#footer .right,
#footer .middle{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#footer .right p{
    text-align: center;
}

.right>.logo img{
    display: block;
    max-width: 150px;
    margin: 20px auto;
}

#footer .social img{
    max-width: 35px;
    margin: 15px auto;
    display: block;
}

#footer .policies{
    text-align: center;
}

#footer .policies li{
    display: inline-block;
}

#footer .policies li a{
    color: #41a9b6;
}

/*media queries*/

@media only screen and (max-width: 768px) {
    #wrapper .container{
        padding-right: 25px;
        padding-left: 25px;
    }
    #header{
        padding-top: 25px;
    }
}

@media only screen and (min-width: 768px) {
     #content{
        min-height: 250px;
    } 
    #menu ul li{
        display: inline-block;
        border-left: 4px solid #fff;
        border-right: 4px solid #fff;
        margin-right: 20px;
        margin-top: 8px;
        margin-bottom: 8px;
    }
    #menu ul li a:link,
    #menu ul li a:visited,
    #menu ul li a:hover,
    #menu ul li a:active{
        display: inline-block;
        padding: 10px 20px;
    }
    #menu .menu{
        position: relative;
    }
    #menu .menu-item-has-children .sub-menu {
        display: none;
        position: absolute;
        border: 1px solid #ededed;
        box-shadow: 0 2px 6px rgba(17, 17, 17, .05);
        background-color: #fff;
        color: #015386;
        z-index: 1000;
    }
    #menu .menu-item-has-children .sub-menu li{
        display: block;
    }
    #menu .menu-item-has-children:hover .sub-menu {
        display: block;
    }
    #menu .menu-item-has-children .sub-menu a:link,
    #menu .menu-item-has-children .sub-menu a:visited,
    #menu .menu-item-has-children .sub-menu a:hover,
    #menu .menu-item-has-children .sub-menu a:active{
        padding-right: 12px;
        color: #015386;        
    }
    #menu .fa-chevron-down{
        padding-top: 3.9px;
        padding-bottom: 3.5px;
    }
    #menu .fa-chevron-down:before{
        margin-right: -15px;
        margin-left: 15px;
        color: #fff;
        visibility: visible;
    } 
    #sidebar{
        margin-top: 25px;
    }
}

@media only screen and (max-width: 1200px) {
    .vertical-center{
        -webkit-box-align: center!important;
        align-items: center!important;
    }
}

@media only screen and (min-width: 1200px) {
    .vertical-end{
        -webkit-box-align: end!important;
        align-items: flex-end!important;
    }
    #footer .middle{
        justify-content: flex-end;
    }
}