/* Colors
Red: #dd2a1b
Lighter red: #db4638
Dark blue: #002546
Lighter blue: #0b3b7a
*/

/* GLOBAL SETTINGS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    position: relative;
    width: 100vw;
    background-color: #fff;
    color: #002546;
    font-family: 'Work Sans', 'Arial', 'sans-serif';
    font-weight: 300;
    font-size: 20px;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    min-height: 100vh;
}

.row {
    max-width: 1140px;
    margin: 0 auto;
    display: block;
}

.section {
	clear: both;
	padding: 0px;
	margin: 0px;
    width: 100vw;
}

.row {
    zoom: 1; /* For IE 6/7 (trigger hasLayout) */
}
.row:before,
.row:after {
    content:"";
    display:table;
}
.row:after {
    clear:both;
}

.clearfix {zoom: 1}
.clearfix::after {
    content: '.';
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
}

/* SECTION MAP */
.section-map {
    position: relative;
}

.map-box {
    position: relative;
    width: 100vw;
    height: 600px;
    background-color: #555;
}

.map-box::before,
.map-box::after {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #003461;

    display: block;
    content: "";
}

.map-box::before {
    bottom: 100%;
}

.map-box::after {
    top: 100%;
}

#map {
    height: 100%;
    width: 100%;
    opacity: 0.95;
}

/* HEADINGS */

h1 {
    font-weight: 300;
    color: #fff;
    font-size: 200%;
    font-style: italic;
    letter-spacing: 2px;
    line-height: 130%;
    margin: -30px auto 30px 0;
}

h2, h3 {
    font-size: 120%;
    font-weight: 500;
    margin-bottom: 15px;
}

h2 {
    font-size: 150%;
    font-style: oblique;
    color: #0b3b7a;
    margin-bottom: 30px;
}

/* REUSABLE COMPONENTS */
.box {
    display: flex;
    flex-direction: column;
    -ms-flex-align: center;
}

section {
    width: 100vw;
    margin-top: 100px;
    z-index: 5;
}

section:last-of-type {
    margin-bottom: 50px;
}

p {
    font-size: 100%;
    font-weight: 300;
    line-height: 145%;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
}

/*span {
    font-weight: 600;
    font-size: 180%;
    display: block;
}*/

ul {
    list-style: none;
}

/* BUTTONS */

.btn:link,
.btn:visited {
    font-size: 100%;
    font-weight: 400;
    padding: 5px 20px;
    color: #fff;
    text-decoration: none;
    background-color: transparent;
    border: 1px solid #fff;
    transition: all 0.4s;

    align-self: flex-start;
}

.btn:hover,
.btn:active {
    background-color: #fff;
    color: #333;
}

.news-btn {
    font-size: 90%;
    font-weight: 500;
    color: #dd2a1b;
}

/* BANNER SECTION */
.section-baner {
    margin-top: 0;
    width: 100vw;
    height: 300px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    display: flex;
    align-items: flex-end;
}

.section-baner .row {
    width: 100%;
}

/* RESPOND ALERT BOXES */
.success-alert,
.error-alert {
    font-size: 105%;
    font-weight: 400;
    width: 100vw;
    text-transform: uppercase;
    text-align: center;
    padding: 10px 15px;
    margin-bottom: 15px;
}

.success-alert {
    background-color: #00D100;
}

.error-alert {
    background-color: #c91e00;
    color: #fff;
}

/*
*
*
*   HEADER / FOOTER STYLES
*
*
*/

/* HEADER */
.header-logo {
    position: relative;
    height: 100%;
    flex: 0 1 280px;
    background-color: #0b3b7a;
    z-index: 1;
}

.header-logo::before {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 100%;
    width: 800px;
    background-color: #0b3b7a;

    display: block;
    content: "";
}

.header-logo::after {
    position: absolute;
    top: 0;
    bottom: 0;
    right: -70px;
    width: 110px;
    border-left: 2px solid #fff;
    background-color: #002546;
    transform: skew(-45deg);

    display: block;
    content: "";
    z-index: 1;
}

.header-logo img {
    height: 65px;
    width: auto;
}

header {
    position: absolute;
    top: 0;
    width: 100%;
    height: 60px;
    background-color: #002546;
    z-index: 99;
}

.container {
    width: 100%;
    height: 100%;
    display: flex;
}

/* NAVIGATION */
nav {
    position: relative;
    justify-self: right;
    height: 100%;
    margin-left: -30px;
    transition: all 0.3s;

    flex: 1;

    z-index: 5;
}

.mobile-nav {
    flex: 1;
    justify-self: flex-end;
    display: none;

    z-index: 2;
}

nav ul {
    list-style: none;
    background-color: #002546;
    float: right;
    height: 100%;
}

nav ul li {
    position: relative;
    border-right: 2px solid #fff;
    height: 100%;
    transition: transform 0.4s;
    
    float: left;
}

nav ul li:first-of-type {
    border-left: 2px solid #fff;
}

.subnav {
    position: absolute;
    left: 0;
    right: 0;
    opacity: 0;
    display: none;
    box-shadow: 0px 0px 5px 3px #2e2e2e;
}

.subnav ul {
    position: relative;
    width: calc(100% + 4px);
    margin-right: -2px;
    border: 2px solid #fff;
    border-top: none;
    overflow: hidden;
    
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}

.subnav ul li {
    position: relative;
    height: 35px;
    text-align: right;
    border: none;
}

.subnav ul li:last-of-type:after {
    position: absolute;
    bottom: -30px;
    left: -35px;
    width: 70px;
    height: 50px;
    transform: rotate(45deg);
    background-color: #fff;
    
    display: block;
    content: "";
}

.subnav ul li:first-of-type {
    border: none;
}

.subnav-settings ul li {
    height: 50px;
}

.subnav-settings ul li:last-of-type::after {
    display: none;
}

.enabled {
    right: 0;
}

/* NAV BUTTONS */
.nav-btn[type="button"],
.nav-btn:link,
.nav-btn:visited,
.nav-btn:hover,
.nav-btn:active {
    text-transform: uppercase;
    font-size: 90%;
    font-weight: 500;
    height: 100%;
    line-height: 60px;
    padding: 20px 10px;
    box-shadow: none;
    border: 0;
}

.nav-btn[type="button"],
.nav-btn:link,
.nav-btn:visited {
    color: #fff;
    background-color: #002546;
    transition: all 0.2s;
}

.nav-btn[type="button"]:hover,
.nav-btn[type="button"]:active,
.nav-btn:hover,
.nav-btn:active {
    cursor: pointer;
    color: #dd2a1b;
    background-color: #003461;
}

.nav-btn[type="button"] {
    padding: 0 10px;
}

.btn-act[type="button"],
.btn-act:link,
.btn-act:visited,
.btn-act:hover,
.btn-act:active {
    color: #dd2a1b;
}

.subnav-btn:link,
.subnav-btn:visited,
.subnav-btn:hover,
.subnav-btn:active {
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    color: #fff;
    text-transform: uppercase;
    font-size: 65%;
    font-weight: 500;
    line-height: 200%;
    padding-right: 5px;
    padding-top: 4px;
}

.subnav-btn:link,
.subnav-btn:visited {
    background-color: #0b3b7a;
}

.subnav-btn:hover,
.subnav-btn:active {
    background-color: #12488f;
    color: #dd2a1b;
}

.btn-settings {
    text-align: center;
}

.btn-settings ion-icon {
    font-size: 150%;
    margin-right: -5px;
    margin-top: 10px;
}

.btn-act,
.btn-act:link,
.btn-act:visited,
.btn-act:hover,
.btn-act:active {
    color: #dd2a1b;
}

.nav-show-btn,
.nav-hide-btn {
    cursor: pointer;
    height: 60px;
    padding: 0 20px;
    float: right;
    font-size: 160%;
    display: none;
    border: none;
}

.nav-show-btn ion-icon,
.nav-hide-btn ion-icon {
    font-size: 30px;
}

.nav-show-btn {
    background-color: #002546;
    color: #fff;
    padding-top: 5px;
    z-index: 2
}

.nav-hide-btn {
    background-color: #b1b1b1;
    color: #002546;
    z-index: inherit;
}

/* ICONS */
.nav-btn ion-icon {
    font-size: 140%;
    margin: 0 9px -7px 9px;
    line-height: 60px;
}

.nav-btn ion-icon[name="chevron-down-outline"] {
    font-size: 100%;
    margin: 0 0 -3px 0;
}

.nav-btn-settings ion-icon {
    transition: transform 0.4s;
}

.nav-btn-settings:hover ion-icon {
    transform: rotate(-60deg);
}

.btn ion-icon {
    font-size: 120%;
    margin: -4px 0 auto 6px;
    vertical-align: middle;
}

.news-btn ion-icon {
    font-size: 90%;
    margin-left: 1px;
}

/* FOOTER */
footer {
    position: relative;
    
    width: 100vw;
}

.rights {
    height: 100px;
    margin: 25px auto;
}

.copy,
.marks {
    font-size: 70%; 
}

.copy {
    margin-bottom: 20px;
    width: 100%;
}

.marks {
    width: 100%;
}

.footer-info .row {
    position: relative;
    height: 200px;

    display: flex;
    align-items: stretch;
    background-color: #0b3b7a;
}

.footer-info .row::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -30vw;
    width: 30vw;
    background-color: #0b3b7a;

    display: block;
    content: "";
}

.footer-info .row::after {
    position: absolute;
    top: 0;
    bottom: 0;
    right: -30vw;
    width: 30vw;
    background-color: #002546;

    display: block;
    content: "";
}

.footer-logo {
    background-color: #0b3b7a;
    position: relative;
    overflow: hidden;
    height: 60px;
    flex: 0 1 35%;
    display: flex;
    align-items: center;
}

.footer-logo {
    flex: 0 1 40%;
    height: 100%;
    padding-right: 30px;
}

.footer-logo a img {
    width: 65%;
    height: auto;
}

.footer-logo::after {
    position: absolute;
    bottom: 0;
    left: 85%;
    height: 150%;
    width: 100%;
    background-color: #002546;
    border-left: 2px solid #fff;

    display: block;
    content: "";
    transform: skew(-35deg);
}

.contact, .contact-loc {
    flex: 1;
    color: #fff;
    padding: 20px 20px 20px 0;
    background-color: #002546;

    display: flex;
    justify-content: center;
}

.contact {
    flex-direction: column;
    gap: 10%;
}

.contact-loc {
    flex-direction: row;
    align-items: center;
    gap: 0;
    padding: 20px 0;
}

.contact-box,
.contact-box-loc {
    font-size: 90%;
    font-style: italic;
    line-height: 145%;
}

.contact-box {
    flex: 0 1 45%;

    display: flex;
    align-items: center;
}

.contact-box ion-icon,
.contact-box-loc ion-icon {
    font-size: 150%;
    margin-right: 15px;
    margin-top: 5px;
}

.social-media {
    margin-right: 0;
    margin-left: auto;
    width: fit-content;
    float: right;
}

.social-media ion-icon {
    font-size: 200%;
    transition: color 0.4s;
    margin-left: 10px;
}

.social-media a:link:nth-of-type(1) ion-icon,
.social-media a:visited:nth-of-type(1) ion-icon {
    color: #ff0000;
}

.social-media a:hover:nth-of-type(1) ion-icon,
.social-media a:active:nth-of-type(1) ion-icon {
    color: #ff5c5c;
}

.social-media a:link:nth-of-type(2) ion-icon,
.social-media a:visited:nth-of-type(2) ion-icon {
    color: #4267b2;
}

.social-media a:hover:nth-of-type(2) ion-icon,
.social-media a:active:nth-of-type(2) ion-icon {
    color: #6486c9;
}

.social-media a:link:nth-of-type(3) ion-icon,
.social-media a:visited:nth-of-type(3)  ion-icon{
    color: #8a3ab9;
}

.social-media a:hover:nth-of-type(3) ion-icon,
.social-media a:active:nth-of-type(3) ion-icon {
    color: #bb74e4;
}

/*
*
*
*   QUARIES
*
*
*/

@media only screen and (max-width: 1140px) {
    html {
        font-size: 18px;
    }

    .row {
        max-width: 90%;
        margin: 0 5%;
    }

    section {
        margin-top: 40px;
    }

    /* HEADER */
    .header-logo {
        flex: 0 1 80%;
    }

    .mobile-nav {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        bottom: 0;
        right: -30vw;
        display: block;
        font-size: 20px;

        width: 30vw;
        background-color: #b1b1b1;
        opacity: 0.95;
        transition: right 0.5s;

        overflow-y: scroll;
    }

    nav ul {
        position: relative;
        width: 100%;
        height: calc(100% - 58px);
        background-color: transparent;
        border-top: 2px solid #002546;

        margin-top: -2px;
        margin-bottom: auto;
    }

    nav ul li {
        width: 100%;
        height: auto;
        border: none;
    }

    nav ul li:first-of-type {
        border: none;
    }

    .l-last {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 60px;
        border-top: 2px solid #002546;
        transition: all 0.5s;
    }

    .nav-btn[type="button"],
    .nav-btn:link,
    .nav-btn:visited,
    .nav-btn:hover,
    .nav-btn:active {
        display: block;
        width: 100%;
        font-size: 100%;
        height: 60px;
        text-align: right;
        padding: 0 20px 0 0;
    }

    .nav-btn[type="button"],
    .nav-btn:link,
    .nav-btn:visited {
        color: #002546;
        background-color: #b1b1b1;
    }

    .nav-btn[type="button"]:hover,
    .nav-btn[type="button"]:active,
    .nav-btn:hover,
    .nav-btn:active {
        background-color: #888;
        color: #dd2a1b;
    }

    .subnav {
        position: relative;
        width: 100%;
        height: auto;
        opacity: 1;
        box-shadow: none;

        left: unset;
        right: unset;
    }

    .subnav ul {
        margin-top: 0;
        margin-right: 0;
        width: 100%;
        padding: 0;

        border: none;
    }

    .subnav ul li:last-of-type::after {
        display: none;
    }

    .subnav-btn:link,
    .subnav-btn:visited,
    .subnav-btn:hover,
    .subnav-btn:active {
        padding-right: 20px;
        font-size: 60%;
    }

    .subnav-btn:link,
    .subnav-btn:visited {
        background-color: #888;
        color: #002546;
    }

    .subnav-btn:hover,
    .subnav-btn:active {
        background-color: #777;
        color: #dd2a1b;
    }

    .nav-btn-settings[type="button"],
    .nav-btn-settings:link,
    .nav-btn-settings:visited,
    .nav-btn-settings:hover,
    .nav-btn-settings:active {
        display: none;
    }

    .subnav-settings {
        width: 100%;
        height: 60px;
        display: block;
    }

    .subnav-settings ul {
        display: block;
        width: 100%;
        min-height: 60px;
    }

    .subnav-settings ul li {
        width: 50%;
        height: 60px;
    }

    .btn-settings:link,
    .btn-settings:visited,
    .btn-settings:hover,
    .btn-settings:active {
        font-size: 80%;
        width: 100%;
        padding: 0;
    }
    
    .btn-settings:link,
    .btn-settings:visited {
        background-color: #b1b1b1;
    }

    .btn-settings:hover,
    .btn-settings:active {
        background-color: #999;
    }

    .btn-settings:link ion-icon,
    .btn-settings:visited ion-icon,
    .btn-settings:hover ion-icon,
    .btn-settings:active ion-icon {
        transform: translate(0, 10px);
    }

    .nav-show-btn,
    .nav-hide-btn {
        display: block;
    }

    /* FOOTER */
    .footer-info .row {
        height: 150px;
    }

    .contact,
    .contact-box-loc:last-of-type {
        font-size: 80%;
        padding: 10px 10px 10px 0;
    }

    .rights {
        margin-top: 20px;
    }
}


@media only screen and (max-width: 780px) {
    html {
        font-size: 14px;
    }

    h2 {
        font-size: 170%;
    }

    nav {
        right: -50vw;
        width: 50vw;
    }

    /* FOOTER */
    .footer-info .row {
        font-size: 25px;
        height: auto;
        max-width: 100%;
        margin: 0;
        padding: 0 5%;
        
        background-color: #d2d2d2;

        flex-direction: column;
        align-items: center;
    }

    .footer-info .row::before,
    .footer-info .row::after {
        background-color: transparent;
    }

    .footer-logo {
        flex: 0 1 60px;
        height: 60px;
        width: 100vw;
        padding: 0;
        margin-bottom: 20px;
    }

    .footer-logo a {
        height: 100%;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .footer-logo a img{
        position: relative;
        height: 100%;
        width: auto;
    }

    .footer-logo::before {
        position: absolute;
        bottom: 0;
        right: 85%;
        height: 150%;
        width: 100%;
        background-color: #002546;
        border-right: 2px solid #fff;
        display: block;
        content: "";
        transform: skew(-35deg);
    }
    
    .rights {
        width: 100%;
        height: auto;
        padding: 0 10%;
    }

    .contact,
    .contact-loc {
        color: #002546;
        font-weight: 500;
        flex: 0;
        font-size: 90%;

        background-color: #d2d2d2;
    }

    .contact {
        gap: 15px;
        flex: 0;
    }

    .contact-loc {
        justify-content: flex-start;
        gap: 0
    }

    .copy {
        text-align: center;
    }

    .social-media {
        display: none;
    }

    .marks {
        display: none;
    }
}




@media only screen and (max-width: 480px) {
    /* HEADER */
    .header-logo {
        flex: 0 1 85%;
    }

    nav {
        right: -80vw;
        width: 80vw;
    }    

    /* FOOTER */
    .footer-info .row {
        font-size: 20px;
    }
}