@import url("https://fonts.googleapis.com/css?family=Roboto Mono:300,400,500,700,900");
@import url("https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900");

*, *::before, *::after{
  box-sizing:border-box;
}

body {
    font-family: "Roboto", Helvetica, sans-serif;
    font-size: 16px;
    margin: 0;
    padding: 0;
    top: 0;
}

#checkbox_toggle{
    display:none;
}

header {
    background: url('images/pasco_invite_masthead_125.png') left center no-repeat;
    border-bottom: 4px solid #1d214e;
    height: 129px;
    margin: 0 auto;
    position: relative;
    max-width:1100px;
}
header label, header h1 {
    display:none;
}
header div {
    display: flex;
    align-items:center;
    position: absolute;
    top: 0;
    right: 0;   
    height:100%;
    width: 30%;
}
header ul{
    list-style:none;
    margin: 0;
    padding: 0 .5em 0 0;
    width:100%;
}
header ul li {
    color: #1d214e;
    font-size: .95em;
    letter-spacing: -.035em;
    text-align:right;
}
header ul li.dateline {
    font-weight:900;
    font-size: 2em;
    text-transform: uppercase;    
}

.wrapper {
    margin: 0 auto;
    position: relative;
    max-width:1100px;
    z-index: 1;
}

nav {
    position: relative;
    top: 0px; 
    left: 0px;
    margin: 0;
	padding: 0;
	width: 100%;
}
nav::after { content:''; display: block; clear: both; }
nav ul { list-style: none; margin: 0; padding: 0px; }
nav ul li:hover { background:#F2f2f2;color:#1d214e;}
nav ul li:hover > ul { display: block; }

nav ul li a {
    border-bottom: 1px solid #CCC;
	display: block;
	color: #1d214e;
	padding: 1em;
	text-decoration: none;
    position: relative;
    width:210px;
}
nav ul li a:visited { color: #1d214e; }
nav ul li a:hover { background: #F2F2F2;color:#1d214e;}
nav ul ul { position: absolute; top: 100%; background-color: #FFF;display: none; }
nav ul ul li { position: relative; }
nav ul ul ul {left: 100%; top: 0px; }
nav ul li a {display:block;}

/* top-level */

nav > ul { padding-left: 0; }
nav > ul > li { float: left; }
nav > ul > li > a {border:none;display:block;width: auto; padding: 1em; }

nav a[aria-haspopup="true"]::after {
	content: '';
	display:block; width: 0px; height: 0px;
	position: absolute;
	top: 20px; right: 5px;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-left: 4px solid #1d214e;
}

nav > ul > li > a[aria-haspopup="true"]::after {
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 4px solid #1d214e;
	left: auto; right: .35em;
	bottom: 1.25em; top: auto;
}


navold {
    display:flex;
    justify-content:left;
}
navold ul {
    display:flex;
    list-style:none;
    margin: 0;
    padding: 0;
}
navold ul li a {
    color: #1d214e;
    display:block;
    padding: 1em 1.1em;
    text-decoration:none;
}
navold ul li a:hover {
    color: #FFFFFF;
    background: #501a78;
}

@media screen and (max-width: 600px) {

    .wrapper {
        width: 100%;
    }
    .hero {
        display:flex;
        justify-content:center;
        width: 100%;
    }
    .hero img {
        width: 100%;
        height: auto;
    }
    header {
        background: none;
        border-bottom: 1px solid #1d214e;
        height: 60px;
        position: relative;
    }
    .mobile_title{
        position: absolute;
        overflow:hidden;
        top: 0;
        left: 60px;
        width: 88%;
    }
    .mobile_title h1 {
        color: #1d214e;
        font-size: 2em;
        font-weight:900;
        display:flex;
        justify-content:center;
        align-items:center;
        padding: 0;
        text-align:center;
        text-transform: uppercase;
        width:100%;
    }
    header label{
        align-items: center;
        cursor: pointer;
        justify-content: center;
        display: flex;
        font-size: 24px;
        height: 60px;
        position: absolute;
        top: 0px;
        left: 0px;
        width: 60px;
    }
    .information {
        display:none;
    }

    #checkbox_toggle:checked ~ .wrapper nav{
        display: block;
    }    

    /* Navigation */
    nav {
        background: #1d214e;
        color: #FFFFFF;
        display:none;
        position: absolute;
        top: 0;
        padding: 0;
        width: 100%;
        z-index: 10;
    }    

    nav ul,
    nav ul ul,
    nav ul ul ul { display: block; position: static; }

    nav > ul { padding: 0; }
    nav > ul > li { float: none;}

    nav ul li:hover { background: none; }

    nav ul li a {
        background: #1d214e;
        font-weight:900;
        font-size:2em;
        width: auto;
        display: block;
        margin: 0;
        padding: 1.5em 15px;
        border-bottom: 1px solid rgba(255,255,255,.25);
        color: #FFFFFF;
    }
    nav ul li a:visited{
        color: #FFFFFF;
    }

    nav ul li a:hover { background-color: rgba(255,255,255,1);color: #1d214e; }

    nav ul ul { background: none;}

    nav ul ul li a {font-size:1.5em;font-weight:500;padding-left: 10%; background: #1d214e;color:#FFF;}
    nav ul ul ul li a {font-size:1.25em;font-weight:300;padding-left: 20%; background: #1d214e;color:#FFF;}

    nav a[aria-haspopup="true"]::after { display: none; }


}


@media screen and (max-width: 375px){

    .mobile_title h1 {
        color: #1d214e;
        font-size:  1.8em;
        font-weight:900;
    }

}
