/* Bernin A. Uben S. */



/* ****************************************************************************************** *\
|* ****************************** GENERAL & MISCELLANEOUS *********************************** *|
\* ****************************************************************************************** */

/* Removes the blue outlines outside of everything */
*, *:after, *:before, *:focus, *:active { outline: 0; }

/* Sets the base speed for everything to move around */
*, *:hover, *:active, *:focus {
    -webkit-transition: all .1s linear;
    -o-transition: all .1s linear;
    transition: all .1s linear;
}

/* global box-sizing */
*, *:after, *:before {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;

    font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;

    text-rendering: optimizeLegibility;
}

/* This is for the color when you highlight something on page */
/* Adding them together with commas wont work. DONT DO IT. */

/* General selection colors */
*::-moz-selection {
	background: rgba(57, 93, 148, .75);
	color: #FFF;
	text-shadow: none;
}
*::selection {
	background: rgba(57, 93, 148, .75);
	color: #FFF;
	text-shadow: none;
}

/* Selection for webkit browsers: Chrome, Safari, Opera, Brave, etc. */
*::-webkit-selection {
	background: rgba(57, 93, 148, .75);
	color: #FFF;
	text-shadow:none;
}

/* Selection for Mozilla Browsers */
*::-moz-selection {
	background: rgba(57, 93, 148, .75);
	color: #FFF;
	text-shadow:none;
}

@-webkit-keyframes fadeUp {
    0% {
        opacity: 0;
        -webkit-transform: translateY(100px);
                transform: translateY(100px);
     }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0px);
                transform: translateY(0px);
        top: 50%;
        -webkit-transform: translateY(-50%);
                transform: translateY(-50%);
    }
}

@-o-keyframes fadeUp {
    0% {
        opacity: 0;
        -o-transform: translateY(100px);
           transform: translateY(100px);
     }

    100% {
        opacity: 1;
        -o-transform: translateY(0px);
           transform: translateY(0px);
        top: 50%;
        -o-transform: translateY(-50%);
           transform: translateY(-50%);
    }
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        -webkit-transform: translateY(100px);
             -o-transform: translateY(100px);
                transform: translateY(100px);
     }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0px);
             -o-transform: translateY(0px);
                transform: translateY(0px);
        top: 50%;
        -webkit-transform: translateY(-50%);
             -o-transform: translateY(-50%);
                transform: translateY(-50%);
    }
}

.fadeIn {
    opacity: 0;
    -webkit-animation-name: fadeUp;
         -o-animation-name: fadeUp;
            animation-name: fadeUp;
    -webkit-animation-delay: 0.45s;
         -o-animation-delay: 0.45s;
            animation-delay: 0.45s;
    -webkit-animation-duration: .85s;
         -o-animation-duration: .85s;
            animation-duration: .85s;
    -webkit-animation-fill-mode: forwards;
         -o-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
}


/* Stops higlighting in browser */
.no-select {
  cursor: default;
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Chrome/Safari/Opera */ /* Konqueror */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  not supported by any browser */
}

/* This really screws up checkboxes */
/* Removes Rounded Edges from inputs */
/*input {
	-webkit-appearance: none;
	border-radius: 0;
}*/

/* Seperator Class */
.separator:after {
    position: initial;
    display: block;
    content: '';

    height: 1.1px;
    width: 150px;
    margin: 25px auto;
    background-color: #325182;
}

/* Hides the item  */
.no-display { display: none; }


p {
    color: #404040;
    font: 300 14px 'Montserrat';
}


.btn {
    display: inline-block;
    min-width: 250px;
    max-width: none;
    color: #404040;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    font: 700 16px 'Poppins', 'Helvetica';
    border: 2px solid #404040;
    padding: 12px 0;
    line-height: 20px;
    cursor: pointer;
}

.btn:hover {
    color: #FFF;
    background-color: #4068a7;
}








/* ************************************************************************** *\
|* ****************************** STRUCTURE ********************************* *|
\* ************************************************************************** */

/* wrapper */
.wrapper {
    width: 1000%;
    margin: 0 auto;
    position: initial;
}

main#body {
    margin: 80px 0 0 0;
    width: 1000%;
    max-width: 100vw;
    overflow: hidden;
    background-color: #FFF;
}

html > body {
    overflow-x: hidden;
    padding: 0;
    margin: 0;
}






/* ************************************************************************** *\
|* ********************************* HEAD *********************************** *|
\* ************************************************************************** */

header#head {
    z-index: 10000;

    width: 100%;
    min-width: 100%;
    max-width: 100%;

    height: 80px;
    max-height: 90px;
    min-height: 65px;

    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    background-color: #FFF;
    border-bottom: 1px solid #DDD;
    /*overflow: hidden;*/

    -webkit-box-shadow: 0 0 3px 0 rgba(125, 125, 125, 0.5);
       -moz-box-shadow: 0 0 3px 0 rgba(125, 125, 125, 0.5);
            box-shadow: 0 0 3px 0 rgba(125, 125, 125, 0.5);
}


#head .head-container {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    /*align-items: flex-start;*/

    height: 100%;
    width: 1200px;
    max-width: 92.5%;
    min-width: auto;

    margin: 0 auto;
}




/* ************************************************************************** *\
|* ********************************* LOGO *********************************** *|
\* ************************************************************************** */

#logo {
    height: 100%;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
}


#logo a {
    width: 100%;
    height: 100%;

    display: -webkit-inline-box;

    display: -webkit-inline-flex;

    display: -ms-inline-flexbox;

    display: inline-flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-flow: row nowrap;
        -ms-flex-flow: row nowrap;
            flex-flow: row nowrap;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
}


#logo a img,
#logo a > svg {
    width: auto;
    height: 45px;
    max-height: 60px;
    min-height: 35px;
}








/* ************************************************************************** *\
|* ********************************* NAV ************************************ *|
\* ************************************************************************** */

.inner-nav {
    height: 80px;
    max-height: 80px;
    min-height: 65px;
}


#nav ul {
    background: #FFF;
    float: left;
    margin: 0 !important;
    padding: 0 !important;
    height: 100%;
    width: 660px;
}
    
#nav ul li {
    float: left;
    position: relative;
    width: 110px;
    list-style: none;
    transition: .5s;
    position: relative;

    margin: 0;
    padding: 0;
}

/*#nav ul li:not(:last-child){ border-bottom: 1px solid #EEE; }*/


#nav ul li:hover { background: #325182; }

/* Targets The Last List Item In The 1st Level in Nav */
#nav > ul > li:last-child a,
#nav > ul > li:last-child label {
    color: #FFF;
    background-color: #325182;
    height: 80px !important;
    border-bottom-color: #325182;
}

/* Targets The Hover Effect of the Last List Item In The 1st Level in Nav */
#nav > ul > li:last-child:hover a,
#nav > ul > li:last-child:hover label {
    background-color: #4068a7;
    border-color: #4068a7;
    color: #FFF !important;
}

/* Targets all a tags in menus */
#nav ul li a,
#nav ul li label {
    display: block;
    text-decoration: none;
    color: #404040;
    cursor: pointer !important;
    font-weight: 400;
}

/* Targets all a tags when a list item in a submenu is hovered over */
#nav ul ul li:hover > a,
#nav ul ul li:hover > label {
    color: #FFF;
}

/* Specifically targets all a tags in the first level menu */
#nav > ul > li > a,
#nav > ul > li > label {
    color: #404040;
    background-color: #FFF;

    font: 600 12px 'Poppins', 'Helvetica';
    line-height: 2em;
    text-decoration: none;
    text-transform: uppercase;

    display: flex;
    align-items: center;
    justify-content: center;
    
    height: 79px;
    width: 100%;
    padding: 0;
    margin: 0;
    border-bottom: 3px solid #FFF;

    text-align: center;
}

/* Targets the link in the li(list item) in the top most menu */
#nav > ul > li:hover > a,
#nav > ul > li:hover > label { border-bottom-color: #325182; }

/* Targets The 5th List Item, 'contact' In The 1st Level in Nav on Hover */
#nav > ul > li:nth-child(5):hover { height: 80px; }

/* Targets all sub menus */
#nav ul ul {
    position: absolute;
    left: 0;
    top: 100%;
    display: flex;
    flex-flow: column;
    background: #FFF !important;
    height: auto;
    max-width: 205px;
    
    visibility: hidden;
    opacity: 0;
    
    -webkit-transition: max-height 0s linear;
    -o-transition: max-height 0s linear;
    transition: max-height 0s linear;
}

/* Targets and hides the checkboxes that allow the navigation to dropdown on click/tap */
#nav > ul > li > input[type="checkbox"] { display: none; }

/* Handles when the navbar opens & closes */
#nav li:hover > ul,
/* These are values for when each respective list checkbox is clicked or "checked" */
#nav > ul > li.menu-item #about-btn:checked ~ .sub-menu,
#nav > ul > li.menu-item #research-btn:checked ~ .sub-menu,
#nav > ul > li.menu-item #op-btn:checked ~ .sub-menu,
#nav > ul > li.menu-item #resource-btn:checked ~ .sub-menu {
    visibility: visible;
    opacity: 1;


    -webkit-transition: max-height .75s linear;
    -o-transition: max-height .75s linear;
    transition: max-height .75s linear;
}

/* For the blue bar thats on top of the sub menu: ul */
#nav > ul ul { border-top: 1px solid #325182; }

/* Targets all il (list items) in all sub menus */
#nav ul ul li {
    width: 100%;

    color: #404040;
    display: block;
    line-height: 33px;
    text-decoration: none;
    font: 400 10px 'Montserrat', 'Helvetica';
    text-transform: uppercase;
}

#nav ul ul li a {
    padding: 12px 17px;
}

/* targets all 3rd level menus */
#nav ul ul ul {
    left: 100%;
    top: 0;
}

#nav ul ul ul > li:hover { background: #4068a7; }





/* ****************************************** *\
|* ************* Sub-Menu Widths ************ *|
\* ****************************************** */


#nav > ul > li:first-child > ul  { max-width: 190px; }
#nav > ul > li:nth-child(2) > ul { max-width: 196px; }
#nav > ul > li:nth-child(3) > ul { max-width: 210px; }

/* Targets the internships sub-menu in the 3rd submenu in the menu */
#nav > ul > li:nth-child(3) > ul > li:first-child > ul { max-width: 165px; }
#nav > ul > li:nth-child(4) > ul { max-width: 125px; }




/* ************************************************************************** *\
|* ********************************* UPPER FOOTER *************************** *|
\* ************************************************************************** */

#footer {}

/* Upper Footer Styles */
#footer #upper {
    width: 100%;
    /*border-top: 2px solid #DDD;*/
    background-color: #325182;
}

#footer #upper .upper-container {
    max-width: 1200px;
    width: 95%;
    margin: 0 auto;
    padding: 75px 0;

    display: -webkit-box;

    display: -webkit-flex;

    display: -ms-flexbox;

    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-flow: row nowrap;
        -ms-flex-flow: row nowrap;
            flex-flow: row nowrap;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
        -ms-flex-align: start;
            align-items: flex-start;
}

#footer #upper a {
    margin: 0;
    color: #FFF;
    font: 400 10px 'Montserrat', 'Helvetica';
    line-height: 20px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    letter-spacing: 0.025em;
}

#footer #upper .column {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
    width: auto;
}



#footer #upper .column li {
    padding: 0;
    margin: 0 0 5px 0;
    line-height: 15px;
}

/*#footer #upper .column li.header { margin: 0 0 15px; }*/

#footer #upper .column li.header a {
    font: 700 12px 'Poppins', 'Helvetica';
    letter-spacing: 0;
    margin: 
}

#footer #upper .column li.header:after {
    position: initial;
    display: block;
    content: '';

    height: 1px !important;
    width: 100%;
    margin: 0 0 13px;
    background-color: #888;
}

/* Hover Effects of reach column */
#footer #upper .column:hover li a { color: #CCC; }
#footer #upper .column:hover li.header a { color: #FFF; }

#footer #upper .column:hover li a:hover { color: #FFF; }

/* For hover effect on header column */
#footer #upper .header-column:hover li.header a { color: #CCC; }
#footer #upper .header-column:hover li.header a:hover { color: #FFF; }


/* ************* RESPONSIVE ************* */
/* ************* RESPONSIVE ************* */
/* ************* RESPONSIVE ************* */

@media only screen and (max-width: 1140px) {
    #footer #upper a { font-size: 12px; }
    #footer #upper .column li { margin-bottom: 6px; }
    #footer #upper .column li.header a { font-size: 12px; }
}

@media only screen and (max-width: 1050px) {
    #footer #upper a { font-size: 10px; }
    #footer #upper .column li { margin-bottom: 5px; }
    #footer #upper .column li.header a { font-size: 10px; }    
}

@media only screen and (max-width: 925px) {
    #footer #upper .upper-container {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-flow: row wrap;
            -ms-flex-flow: row wrap;
                flex-flow: row wrap;
        -webkit-box-pack: start;
        -webkit-justify-content: flex-start;
            -ms-flex-pack: start;
                justify-content: flex-start;
        -webkit-box-align: start;
        -webkit-align-items: flex-start;
            -ms-flex-align: start;
                align-items: flex-start;
    }

    #footer #upper .column {
        width: 45%;
        margin: 0 20px 35px 0 !important;
    }

    #footer #upper .column li a { font-size: 12px; }
    #footer #upper .column li.header a { font-size: 14px; }
}

@media only screen and (max-width: 650px)  {
    #footer #upper .column li a {
        font-size: 11px;
        font-weight: 400;
    }

    #footer #upper .column li.header a { font-size: 13px; }
}

@media only screen and (max-width: 550px)  {
    #footer #upper .column li a { font-size: 10px; }
    #footer #upper .column li.header a { font-size: 13px; }
}

@media only screen and (max-width:480px)  {
    #footer #upper .upper-container { padding: 35px 20px; }

    #footer #upper .column {
        width: 100%;
        margin: 0 0 35px !important;
    }

    #footer #upper .column li a { font-size: 10px; }
    #footer #upper .column li.header a { font-size: 12px; }
}








/* ************************************************************************** *\
|* ********************************* LOWER FOOTER *************************** *|
\* ************************************************************************** */

#footer #lower {
    width: 100%;
    display: block;
    padding: 15px 0;
    height: auto;
    background-color: #EEE;
}

#footer #lower .lower-container {
    max-width: 1200px;
    width: 95%;
    margin: 0 auto;
    padding: 0;

    display: -webkit-box;

    display: -webkit-flex;

    display: -ms-flexbox;

    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-flow: row nowrap;
        -ms-flex-flow: row nowrap;
            flex-flow: row nowrap;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
}

#footer #lower .text-bar {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-flow: row nowrap;
        -ms-flex-flow: row nowrap;
            flex-flow: row nowrap;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
        -ms-flex-align: start;
            align-items: flex-start;
}

#footer #lower .text-bar p,
#footer #lower .text-bar a {
    margin: 0 35px 0 0;
    color: #404040;
    font: 600 11px 'Poppins', 'Helvetica';
    text-transform: uppercase;
    letter-spacing: 0.045em;
}

#footer #lower .text-bar p {
    cursor: default;
}

#footer #lower .text-bar a {
    cursor: pointer;
    text-decoration: none;
}

#footer #lower .text-bar a:hover { color: #4068a7; }

/* Hover Effects for text bar */
#footer #lower .text-bar:hover p { opacity: .5; }
#footer #lower .text-bar:hover p:hover { opacity: 1; }
#footer #lower .text-bar:hover a { opacity: .5; }
#footer #lower .text-bar:hover a:hover { opacity: 1; }


#footer #lower .social-bar {
    margin: 0 0 0 auto;
    width: 175px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-flow: row nowrap;
        -ms-flex-flow: row nowrap;
            flex-flow: row nowrap;
    -webkit-justify-content: space-around;
        -ms-flex-pack: distribute;
            justify-content: space-around;
}

#footer #lower .social-bar .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

#footer #lower .social-bar .social-icon img,
#footer #lower .social-bar .social-icon svg {
    max-height: 15px;
    width: auto;

}

#footer #lower .social-bar .social-icon:nth-child(2) img,
#footer #lower .social-bar .social-icon:nth-child(2) svg {
    max-height: 13px;
}

#footer #lower .social-bar .social-icon:hover img,
#footer #lower .social-bar .social-icon:hover svg { color: #4068a7; }

/* Hover Effects for social media icon bar */
#footer #lower .social-bar:hover .social-icon { opacity: .5; }
#footer #lower .social-bar:hover .social-icon:hover { opacity: 1; }


@media only screen and (max-width:1280px) {
    #footer #lower .text-bar p, #footer #lower .text-bar a {
        margin: 0 20px 0 0;
        font-size: 11px;
    }
}


@media only screen and (max-width:1140px) {
    #footer #lower .lower-container {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-flow: column nowrap;
            -ms-flex-flow: column nowrap;
                flex-flow: column nowrap;
        -webkit-box-align: center;
        -webkit-align-items: center;
            -ms-flex-align: center;
                align-items: center;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
            -ms-flex-pack: center;
                justify-content: center;
    }

    #footer #lower .social-bar { margin: 20px 0; }
}


@media only screen and (max-width: 950px) {
    #footer #lower .text-bar {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-flow: row wrap;
            -ms-flex-flow: row wrap;
                flex-flow: row wrap;
        -webkit-box-align: center;
        -webkit-align-items: center;
            -ms-flex-align: center;
                align-items: center;
        -webkit-justify-content: space-around;
            -ms-flex-pack: distribute;
                justify-content: space-around;

        width: 85%;
        text-align: center;
    }

    #footer #lower .text-bar p, #footer #lower .text-bar a {
        margin: 0;
        line-height: 30px;
    }
}

@media only screen and (max-width:768px)  {}
@media only screen and (max-width:480px)  {}
@media only screen and (max-width:320px)  {}










/* ************************************************************************** *\
|* ****************************** TYPOGRAPHY ******************************** *|
\* ************************************************************************** */

/*@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}*/



/* ************************************************************************** *\
|* ******************************** #hero *********************************** *|
\* ************************************************************************** */

#hero {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    height: -webkit-calc(60vh - 80px);
    height: calc(60vh - 80px);
    max-height: 1000px;
    min-height: 350px;
    background-color: lightslategrey;

    -webkit-background-size: cover;

            background-size: cover;
    background-position: 0 0;

    display: block;
    position: relative;
}


/* Non-Homepage Heros */
#hero .hero-overlay {
    display: block;
    width: 100%;
    height: 100%;

    background-color: rgba(0, 0, 0, .5);
}



#hero .container {
    height: 100%;
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;

    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

#hero .container #page-title {
    display: inline-block;
    color: #FFF;
    font: 700 60px 'Montserrat', 'Helvetica';
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 60px;
    margin: 0;

    /* Vertical Align */
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
         -o-transform: translateY(-50%);
            transform: translateY(-50%);
}

#hero .container #page-title:after{
    position: initial;
    display: block;
    content: '';
    height: 3px;
    width: 100%;
    margin: 5px 0 0;
    background-color: #325182;
}


@media only screen and (max-width: 1200px) {
    #hero .container { max-width: 85% !important; }
}


@media only screen and (max-width: 480px) {
    #hero {
        min-height: 325px;
        height: 50vh;
    }

    #hero .container #page-title {
        font-size: 40px !important;
        letter-spacing: 2px !important;
        line-height: 45px !important;

    }
}







/* *************************************************************** *\
|* **************************** #donate ************************** *|
\* *************************************************************** */


#donate {
    display: block;
    width: 100%;
    padding: 80px 0;
    color: #FFF;
    background-color: #4068a7;
    border: none;
}

#donate .inner {
    display: block;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

#donate .title {
    font-size: 2.25em;
    letter-spacing: 4px;
    text-transform: uppercase;
}

#donate .title:after { display: none; }

#donate .separator:after {
    background-color: #FFF;
}

#donate .content {
    color: #FFF;
    font: 400 13px 'Montserrat', 'Helvetica';
    letter-spacing: 0.08em;
    line-height: 26px;
    max-width: 750px;
    width: 90%;
    margin: 0 auto 30px;
}

#donate .btn {
    color: #4068a7;
    background-color: #FFF;
    font-size: 16px;
    letter-spacing: 2px;
    max-width: 225px;
    width: 225px;
}

#donate .btn:hover {
    background-color: #DDD;
}





/* ************************************************************************** *\
|* ****************************** RESPONSIVE ******************************** *|
\* ************************************************************************** */

@media only screen and (max-width:1280px) {}
@media only screen and (max-width:1140px) {}
@media only screen and (max-width:1024px) {}
@media only screen and (max-width:480px)  {}
@media only screen and (max-width:320px)  {}






























































@media only screen and (max-width: 975px) {
    .main-nav { width: 100%; }

    .inner-nav {
      display: -webkit-box;
      display: -webkit-flex;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-pack: justify;
      -webkit-justify-content: space-between;
          -ms-flex-pack: justify;
              justify-content: space-between;
      -webkit-box-align: center;
      -webkit-align-items: center;
          -ms-flex-align: center;
              align-items: center;
      
      background: #FFF;
      padding: 0 15px;
      max-height: 80px;
      height: 80px;
      min-height: 65px;
      width: 100%;
      border-bottom: 1px solid #ddd;
    }

    #head .head-container {
        max-width: 100%;
        min-width: auto;
        margin: 0 auto;
    }

    /* ************************************************************************** *\
    |* ********************************* LOGO *********************************** *|
    \* ************************************************************************** */

    #logo {
        height: 100%;
        display: -webkit-inline-box;
        display: -webkit-inline-flex;
        display: -ms-inline-flexbox;
        display: inline-flex;
    }


    #logo a {
        width: 100%;
        height: 100%;

        display: -webkit-inline-box;

        display: -webkit-inline-flex;

        display: -ms-inline-flexbox;

        display: inline-flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-flow: row nowrap;
            -ms-flex-flow: row nowrap;
                flex-flow: row nowrap;
        -webkit-box-pack: start;
        -webkit-justify-content: flex-start;
            -ms-flex-pack: start;
                justify-content: flex-start;
        -webkit-box-align: center;
        -webkit-align-items: center;
            -ms-flex-align: center;
                align-items: center;
    }


    #logo a img {
        width: auto;
        height: 38px;
        max-height: 60px;
        min-height: 35px;
    }


    /* ************************************************************************** *\
    |* ********************************* BAR ************************************ *|
    \* ************************************************************************** */


    .menu-burger {
        display: inline-block;
        margin: 0;
        padding: 0;
      
        width: 20px;
        height: 20px;
        
        cursor: pointer;
        float: right;
    }

    .bar,
    .bar:after,
    .bar:before {
        height: 1px;
        background: black;

        webkit-transition: all .3s ease-in-out;
        -o-transition: all .3s ease-in-out;
        -webkit-transition: all .3s ease-in-out;
        transition: all .3s ease-in-out;
    }

    .bar:before { width: 20px; }
    .bar        { width: 20px; }
    .bar:after  { width: 20px; }

    .bar {
        position: relative;
        -webkit-transform: translateY(10px);
            -ms-transform: translateY(10px);
             -o-transform: translateY(10px);
                transform: translateY(10px);
        -webkit-transition: all 0ms 300ms;
        -o-transition: all 0ms 300ms;
        transition: all 0ms 300ms;
    }

    .bar.animate {
        width: 20px;
        background: rgba(255, 255, 255, 0);
    }

    .bar:before {
        content: "";
        position: absolute;
        left: 0;
        bottom: 6px;
        -webkit-transition: bottom 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1), -webkit-transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
        transition: bottom 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1), -webkit-transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
        -o-transition: bottom 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1), -o-transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
        transition: bottom 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
        transition: bottom 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms cubic-bezier(0.23, 1, 0.32, 1), -webkit-transform 300ms cubic-bezier(0.23, 1, 0.32, 1), -o-transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    .bar:after {
        content: "";
        position: absolute;
        left: 0;
        top: 6px;
        -webkit-transition: top 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1), -webkit-transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
        transition: top 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1), -webkit-transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
        -o-transition: top 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1), -o-transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
        transition: top 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
        transition: top 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms cubic-bezier(0.23, 1, 0.32, 1), -webkit-transform 300ms cubic-bezier(0.23, 1, 0.32, 1), -o-transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    .bar.animate:after {
        width: 20px;
        top: 0;
        -webkit-transform: rotate(45deg);
            -ms-transform: rotate(45deg);
             -o-transform: rotate(45deg);
                transform: rotate(45deg);
        -webkit-transition: top 300ms cubic-bezier(0.23, 1, 0.32, 1), -webkit-transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
        transition: top 300ms cubic-bezier(0.23, 1, 0.32, 1), -webkit-transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
        -o-transition: top 300ms cubic-bezier(0.23, 1, 0.32, 1), -o-transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
        transition: top 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
        transition: top 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1), -webkit-transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1), -o-transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    .bar.animate:before {
        bottom: 0;
        -webkit-transform: rotate(-45deg);
            -ms-transform: rotate(-45deg);
             -o-transform: rotate(-45deg);
                transform: rotate(-45deg);
        -webkit-transition: bottom 300ms cubic-bezier(0.23, 1, 0.32, 1), -webkit-transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
        transition: bottom 300ms cubic-bezier(0.23, 1, 0.32, 1), -webkit-transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
        -o-transition: bottom 300ms cubic-bezier(0.23, 1, 0.32, 1), -o-transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
        transition: bottom 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
        transition: bottom 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1), -webkit-transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1), -o-transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
    }


    /*overlay*/

    .overlay {
        position: fixed;
        height: 100vh;
        width: 100vw;
        top: 0;
        left: 0;
        overflow: auto;
        z-index: 10000; /* One less than menu-burger */ 
        /* Background Image */
        background: rgba(255, 255, 255, 0.9);
        background-attachment: fixed;
        background-position: center center;
        background-repeat: no-repeat;
        -webkit-background-size: cover;
                background-size: cover;
    }

    .overlay a { text-decoration: none; }

    .overlay .menu-options-list {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-flow: column nowrap;
            -ms-flex-flow: column nowrap;
                flex-flow: column nowrap;
        text-align: center;
        padding: 0;
        margin: 15vh 0 0;
    }

    .overlay .menu-option {
        display: block;
        width: 100%;
        margin: 10px 0;
    }

    .overlay .menu-option:hover {
        background-color: darkgrey;

        webkit-transition: all .3s ease-in-out;
        -o-transition: all .3s ease-in-out;
        -webkit-transition: all .3s ease-in-out;
        transition: all .3s ease-in-out;
    }

    .overlay .menu-option a {
        color: dimgrey;
        font: 700 50px 'Heebo', helvetica, san-serif;
        letter-spacing: 2px;
        text-transform: lowercase;
    }

    .overlay .menu-option:hover a {
        color: white;
    }



    /* ************************************************************************** *\
    |* ********************************* NAV ************************************ *|
    \* ************************************************************************** */
    body {
      background: #CCC;
    }

    .click-open-nav {
        right: 0 !important;

        -webkit-transition: right .25s linear !important;
        -o-transition: right .25s linear !important;
        transition: right .25s linear !important;
    }

    .open-nav-ul { 
        max-height: 400px !important;
        padding: 0 0 5px;
        border: none;
        border-top-color: #ddd;

        -webkit-transition: all .55s linear;
        -o-transition: all .55s linear;
        transition: all .55s linear;
    }

    #nav {
        max-width: 425px;
        width: 100%;
        height: 100%;
        overflow-x: hidden;
        overflow-y: scroll;
        background: #FFF;
    /*     border-left: 3px solid #4068a7; */
      
        position: fixed;
        top: 80px;
        right: -425px;
      
        -webkit-transition: right .25s linear !important;
        -o-transition: right .25s linear !important;
        transition: right .25s linear !important;
    }

    #nav ul {
        width: 100%;
       /*   display: flex;
        flex-flow: column nowrap;
        justify-content: flex-start;
        align-items: flex-start;
        align-content: flex-start; */
    }

    /* Targets all the li(list items) in menus full width */
    #nav ul li { width: 100% !important; }

    #nav ul li a,
    #nav ul li label,
    #nav > ul > li:last-child a,
    #nav > ul > li:last-child label,
    #nav > ul > li:nth-child(5):hover {
        height: 65px !important;
    }

    /* Targets nav above last button in nav and removes the bottom border */
    #nav > ul > li:nth-child(4) { border-bottom: none; }

    /* Handles when the navbar opens & closes */
    #nav li:hover > ul,
    /* These are values for when each respective list checkbox is clicked or "checked" */
    #nav > ul > li.menu-item #about-btn:checked ~ ul,
    #nav > ul > li.menu-item #research-btn:checked ~ ul,
    #nav > ul > li.menu-item #op-btn:checked ~ ul,
    #nav > ul > li.menu-item #resource-btn:checked ~ ul {
        max-height: none;
        -webkit-transition: all .15s linear;
        -o-transition: all .15s linear;
        transition: all .15s linear;
    }

    #nav > ul > li.menu-item #about-btn:not(:checked) ~ ul,
    #nav > ul > li.menu-item #research-btn:not(:checked) ~ ul,
    #nav > ul > li.menu-item #op-btn:not(:checked) ~ ul,
    #nav > ul > li.menu-item #resource-btn:not(:checked) ~ ul {
        max-height: 0px;
        -webkit-transition: all .15s linear;
        -o-transition: all .15s linear;
        transition: all .15s linear;
    }


    #nav > ul ul { border-top-color: #CCC; }
    #nav > ul > li.menu-item #about-btn:checked ~ ul,
    #nav > ul > li.menu-item #research-btn:checked ~ ul,
    #nav > ul > li.menu-item #op-btn:checked ~ ul,
    #nav > ul > li.menu-item #resource-btn:checked ~ ul { border-top-color: #325182; }

    /* Targets sub menus */
    #nav ul ul {
        position: relative;
        visibility: visible;
        opacity: 1;
        max-width: none !important;
        width: 100%;
        max-width: none;
        max-height: 0;

        border-left: 10px solid #325182;

        -webkit-transition: all .75s linear;
        -o-transition: all .75s linear;
        transition: all .75s linear;
    }

    #nav ul ul > li {
        height: 50px;
    }

    #nav ul ul li a {
        padding: 5px 10px 5px 20px;
        height: 100% !important;
        display: flex;
        align-items: center;
    }

    /* Hides everything thats a 3rd level navbar or lower */
    #nav ul ul ul { display: none; }


}
