/* IMPORT */
@import url('https://fonts.googleapis.com/css?family=Lato:700,900');

/* PLUGINS */
.menu_title {
    font-family: 'Gotham-Book' !important;
}

#wprmenu_bar {
    z-index: 999999;
}

.hvr-underline-from-left:before {
    background: #0C2673;
    height: 2px; 
}

.hvr-underline-from-left:hover:before, .hvr-underline-from-left:focus:before, .hvr-underline-from-left:active:before {
    right: 40%;
}

.logged-in #wprmenu_bar  {
	top: 46px;
}

#back-to-top {
    display: table;
  
    position: fixed;
    bottom: 40px;right: 40px;
    z-index: 1;
  
    width: 32px;
    height: 32px;
 
    background: #3d3477;
    border: 2px solid #fff;
  
    text-align: center;
    color: #fff;
    text-decoration: none;
  
    -webkit-transition: opacity 0.2s ease-out;
  
    -o-transition: opacity 0.2s ease-out;
  
    transition: opacity 0.2s ease-out;
    opacity: 0;
}

#back-to-top:hover {
    background: #124186;
}

#back-to-top.show {
    opacity: 1;
}

#back-to-top .wrapper {
    display: table-cell;
    vertical-align: middle;
}

#back-to-top.fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: .3;
}

#back-to-top.fade-out:hover {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: 1;
}

.menu-on-scroll #menu-main-menu {
    position: fixed;
    background: #fff;
    z-index: 9999;
    display: none;
    padding: 15px 0;
    left: 0;
    -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
    width: 100%;
}

ul#menu-main-menu > li {
    display: inline;
}

.ginput_recaptcha > div {
  -ms-transform-origin: left top;
      transform-origin: left top;
  -webkit-transform-origin: left top;
}

/* Cube Slider */
.cube-3d-slider .prev, .cube-3d-slider .next {
    top: calc(100% - 48px);
}

.cube-3d-slider .next {
    left: calc(100% - 48px);
}

.child-page .cube-3d-slider a:hover, .child-page .cube-3d-slider a:focus {
    border-radius: 50%;
}

.cube-3d-slider {
    margin-bottom: 50px !important;
}

/* BASE */
html,
body {
    font-family: 'Gotham-Book';
}

h1, h2, h3, h4, h5, h6,
p,
a,
ul,
ol {
    margin: 0;
    padding: 0;
}

p,
a {
    font-size: 14px;
    color: #444444;
}

a {
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section,
.standard-width {
    max-width: 2000px;
    width: 100%;
    margin: auto; 
}

section > div,
.inner-page .entry-content {
    padding: 80px 65px 0;
}


section {
    margin: 100px auto;    
}

.content--wrapper p {
    font-size: 25px;
    line-height: 1.75em;
}

.inner-page .contents {
    font-size: 15px
}

.inner-page section > div {
    padding: 0;
}

.flex-row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
}

hr {
    margin: 20px auto;
    border: 1px solid rgba(0,0,0,0.05);
} 

.gform_button {
    border: 1px solid #0C2673;
    background: #0C2673;
    color: #fff;
    padding: 20px 40px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-family: 'Gotham-Bold';
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.gform_button:hover,
.gform_button:focus {
    background: transparent;
    color: #0C2673;
}

.contact-us-wrapper.flex-row {
    margin-top: 30px;
    align-items: flex-start;    
}

.contact-us-wrapper {
    margin-bottom: 50px;
}

.map-wrapper {
    text-align: center;
}

iframe {
    width: 100%;
    height: 600px;
}

.ginput_container > * {
    border: 1px solid #ddd;
}


.child-page {
    margin-bottom: 50px;
    position: relative;
}

.child-page a {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transition: all 0.3s ease-in-out;
}

.child-page a:hover .details-wrapper,
.child-page a:focus .details-wrapper {
    background: #ddd;
}

.child-page img {
    width: 100%;
    
}

.child-title {
    font-size: 20px;
    letter-spacing: 0.1em;
    color: #004671;
    margin: 30px auto;
}

.entry-content {
    align-items: stretch;
}

.child-page-wrapper .featured-image-wrapper,
.child-page-wrapper .details-wrapper {
    width: 50%;
}

.child-page-wrapper .details {
    padding: 0 40px;
}

.services .child-page:nth-child(even) .child-page-wrapper {
    flex-direction: row-reverse;
}

.services .featured-image-wrapper img {
    height: 500px;
    object-fit: cover;
}

.inner-page-wrapper {
    padding-left: 65px;
    padding-right: 65px;
}

.default-inner-page {
    padding-top: 50px;
    padding-bottom: 50px;
    
}

.inner-page-wrapper.services {
    padding: 0;
}

.details p {
    line-height: 1.5em;
    font-size: 16px;
    letter-spacing: 0.07em;
}

/* About Us */

.about-us .main-content,
.about-us .image {
    width: 50%;
    box-sizing: border-box;
    padding: 15px;
}

.about-us .content {
    margin-bottom: 50px;
}

.about-us .content--wrapper:nth-child(even) {
    flex-direction: row-reverse;
}

.about-us .image img {
    width: 100%;
}

.about-us ul {
    padding-left: 20px;
}

.about-us ul li strong {
    color: #444444;
}

/* HEADER */
.navigation-main--wrapper {
    padding: 40px 65px;    
    -webkit-box-pack: justify;    
    -webkit-justify-content: space-between;    
        -ms-flex-pack: justify;    
            justify-content: space-between;
}

.navigation-main--logo {
    width: 20%;
}

.navigation-main--page-links {
    width: 80%;
    text-align: right;
}

.navigation-main--page-links li {
    display: inline;
    margin: auto 15px;
    padding-bottom: 10px;
}

.navigation-main--page-links li a,
#menu-main-menu li a {
    text-transform: uppercase;
    font-family: 'Gotham-Book';
    font-size: 15px;
    color: #787878;
    position: relative;
}

.navigation-main--page-links li:focus a,
.navigation-main--page-links li:hover a {
    color: #0C2673;
}

.navigation-main--page-links li:after {
    position: absolute;
    
}

.navigation-main--page-links .current-menu-item a {
    color: #0C2673;
    -webkit-box-shadow: inset 0px -2px 0px 0px rgba(12,38,115,1);
    box-shadow: inset 0px -2px 0px 0px rgba(12,38,115,1);
    padding-bottom: 10px;
}

#menu-main-menu {
    text-align: center;
}


#menu-main-menu li {
    padding: 0 30px;
}

#menu-main-menu .current-menu-item a {
    color: #0C2673;
    border-bottom: 2px solid #0C2673;
    padding-bottom: 13px;
}

/* FEATURED PAGES */
.featured-pages .flex-row {
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

.featured-page-info {
    position: relative;
    text-align: center;
}

.featured-page-info .permalink {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.featured-page-info .title {
    margin-top: 40px;
    text-align: center;
    color: #004671;
    font-size: 20px;
    letter-spacing: 0.1em;
}

.featured-page-info {
    width: 32%;
}

.featured-page-info img {  
    -webkit-transition: all 0.5s ease-in-out;  
    -o-transition: all 0.5s ease-in-out;  
    transition: all 0.5s ease-in-out;  
    margin: auto;
}

.featured-page-info:focus img,
.featured-page-info:hover img {
    -webkit-transform: scale(1.05);
        -ms-transform: scale(1.05);
            transform: scale(1.05);
}

.featured-image--wrapper {
    overflow: hidden;
    border: 1px solid #0c2673;
    padding: 15px;
}



/* FOOTER */
footer {
    margin-top: 50px;
}
footer p,
footer a {
    font-family: 'Gotham-Light';
    color: #fff;
}

.navigation-footer {
    background: #0C2673;
    padding: 60px 65px;
}

.colophon {
    background: #124186;
    padding: 25px 65px;
}

.navigation-footer,
.colophon--wrapper {
    -webkit-box-align: normal;
    -webkit-align-items: normal;
        -ms-flex-align: normal;
            align-items: normal;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

.navigation-footer .title {
    margin-bottom: 30px;
    font-size: 14px;
    color: #2AB8D8;
    letter-spacing: 0.05em;
    line-height: 1.75em;
}

.navigation-footer ul {
    -webkit-column-count: 2;
       -moz-column-count: 2;
            column-count: 2;
    list-style-type: none;
}

.navigation-footer li,
.contact-details--wrapper a {
    line-height: 2em;
}

.colophon h2 {
    display: none;
}

.colophon li {
    display: inline;    
}

.navigation-footer--contact-details {
    width: 25%;
}

.colophon ul li {
    padding: 0 15px;
}

.contact-details--wrapper .map--wrapper, 
.contact-details--wrapper .line--wrapper{
    width: 50%;
}

.colophon p,
.colophon a {
    font-size: 12px;
}

.navigation-footer a:focus,
.navigation-footer a:hover,
.navigation-footer li:focus a,
.navigation-footer li:hover a,
.colophon a:focus,
.colophon a:hover {
    color: #2AB8D8;
}

.contact-details--wrapper {
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
        -ms-flex-align: start;
            align-items: flex-start;
}

/* INNER PAGES */
.inner-page section {
    margin: 0;
}
.inner-page .page-title {
    font-size: 50px;
    color: #fff;
    text-align: center;
    line-height: 5em;
    position: relative;
    z-index: 1;
}

.contact-us-wrapper > div {
    width: 50%;
}

.acf-map {
    height: 600px;
}

.gform_confirmation_message {
    font-size: 1.17em;
    font-family: 'Gotham-Book';
    text-align: center;
}

.inner-page .contents h2,
.inner-page .about-us .content h2 {
    font-size: 25px;
    /* color: #0C2673; */
    color: #004671;
    line-height: 1.5em;
}

.inner-page .contents p,
.inner-page .about-us .content p {
    line-height: 1.75em;
    font-size: 20px
}

.feature-image {
    position: relative;
}

.feature-image .overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #124186;
    mix-blend-mode: multiply;
    opacity: 0.9;
}

.card label {
    font-size: 20px;
    color: #004671;
}

.card a {
    font-size: 16px;
    margin-top: 15px;
    display: block;
}

.cards {
    justify-content: space-between;
}

.card {
    padding: 25px;
    background: #b7d7f7;
    margin-bottom: 15px;
    text-align: center;
}

.card a:hover,
.card a:focus {
    color: #004671;
}

.gfield_label {
    font-size: 14px;
    color: #0C2673;
    letter-spacing: 0.1em;    
}


.affiliations img {
    margin: auto;
}
.affiliations h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
}

.affiliations ul > li {
    display: inline-block;
}

.affiliations > div:first-child {
    margin-bottom: 100px;
}

.affiliations .child-page {
    width: 50%;
}

.clients,
.suppliers {
    justify-content: center;
}

.client,
.supplier {
    width: 40%;
    height: 100%;
    padding: 30px;
}

.clients-wrapper,
.suppliers-wrapper {
    width: 50%;
}

.client-wrapper,
.supplier-wrapper {
    /* width: 50%; */
    height: 150px;
    border: 1px solid #ddd;
    justify-content: center;
    padding: 30px;
}

/* NEW */
/*.affiliations p {
    display: flex;
}

.affiliations p img {
    object-fit: scale-down;
    width: auto;
}

.affiliations .border {
    width: 150px;
    height: 150px;
    border: 1px solid #ddd;   
    padding: 15px; 
}


.affiliations .wrapper {  
    padding: 15px; 
}
*/
.child-page-wrapper .flex-row {
    justify-content: center;
}

.entry-content.services {
    padding: 0;
}

.services .child-page {
    margin-bottom: 0;
    width: 100%;
}

.services .child-title {
    color: #4A4A4A !important;
    font-size: 35px !important;
}

/* MEDIA QUERIES */
@media ( min-width: 1025px ) {
    .gform_wrapper,
    .map-border {
        padding: 0 100px;
    }
}
@media ( max-width: 1024px ) {
    .colophon--wrapper > * {
        width: 100%;
        text-align: center;
    }

    .colophon--wrapper.flex-row > *:last-child {
        margin-bottom: 0;
    }

    .colophon--wrapper {
        -webkit-box-pack: center;
        -webkit-justify-content: center;
            -ms-flex-pack: center;
                justify-content: center;
    }
}

@media (max-width: 768px) {
    .navigation-main--logo {
        width: 50%;
        margin: auto;
    }

    .navigation-footer ul {
        -webkit-column-count: 1;
           -moz-column-count: 1;
                column-count: 1;
    }

    .about-us .main-content,
    .about-us .image {
        width: 100%;
    }

    

    .entry-content.about-us {
        padding: 30px 0;
    }

    .contact-details--wrapper {
        display: inline;
    }

    .contact-details--wrapper .map--wrapper, .contact-details--wrapper .line--wrapper {
        width: 100%;
        margin-bottom: 15px;
    }

    .contact-us-wrapper > div {
        width: 100%;
    }

    .home.content--wrapper > div {
        padding: 0 50px 20px;
    }

    .home.content--wrapper {
        margin: 25px auto 0;
    }
}

@media( max-width: 414px ) {
    section {
        margin: 30px auto;
    }

    section > div {
        padding: 0 15px;
    }

    .navigation-main--logo {
        width: 100%;
    }

    .inner-page .page-title {
        font-size: 35px;
    }

    .about-us .main-content, .about-us .image {
        padding: 0;
    }

    .about-us .content--wrapper {
        margin-bottom: 80px;
    }

    

    .about-us .content--wrapper:last-child {
        margin-bottom: 0;
    }

    .content--wrapper p {
        font-size: 18px;
        line-height: 1.75em;
    }

    .featured-page-info {
        width: 100%;
    }

    .featured-page-info .title {
        margin: 15px auto 50px;
    }

    .featured-page-info:last-child .title {
        margin-bottom: 0;
    }

    .navigation-footer {
        padding: 30px;
    }

    .navigation-footer ul {
        -webkit-column-count: 1;
           -moz-column-count: 1;
                column-count: 1;
    }

    .navigation-footer .widget {
        width: 50%;
    }

    .navigation-footer .widget:last-child {
        margin-bottom: 0;
    }

    .navigation-footer--contact-details {
        margin-top: 50px;
        width: 100%;
    }

    .navigation-footer .title {
        margin-bottom: 15px;
    }

    .contact-details--wrapper .map--wrapper, .contact-details--wrapper .line--wrapper {
        width: 100%;
    }

    .colophon p, .colophon a {
        line-height: 2em;
    }

    .colophon .widget {
        margin: 30px auto;
    }

    #menu-legal li {
        display: block;
        padding: 8px 0;
    }

    #menu-legal li:last-child {
        padding: 0;
    }

    iframe {
        height: 400px;
    }



    .clients-wrapper,
    .suppliers-wrapper {
        width: 100%;
    }

    .client, 
    .supplier {
        width: 100%;
        padding: 30px 0;
    }

}


.affiliations .metaslider {
    padding: 50px;
    border: 10px solid #0c2673;
}

.affiliations .child-page-wrapper {
    padding: 0 50px;
}

.about-us .content--wrapper.flex-row {
    align-items: normal !important;
}

section {
    margin: auto;
}

.featured-pages {
    margin-bottom: 50px;
}

section > div {
    padding: 50px
}