/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
.content{
	max-width: 1000px;
	margin: -5px;
	overflow: hidden;
}

.viewable{
	overflow:visible!important;
}

body{
    color: #353535;
	font-family: 'Montserrat', sans-serif;
}

a{
    text-decoration: none;
    color: #265f89;
}

section{
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

section.nav{
    overflow: visible;
}

header{
    padding: 10px 0;
}

.info-head{
	margin-top: 25px;
	margin-left: 20%;
	color: #265f89;
}

.logo{
    float: left;
	margin-top: 5px;
	margin-left: 5px;
}

.contact{
    float: right;
    text-align: right;
    font-size: 1.2em;
	margin-top: 2%;
	margin-bottom: 5px;
}

/* ===== Menu =====*/

nav{
    background-color: #2f6a96;
    height: 50px;
}

.mobileMenu{
    display: none;
}

ul#nav{
    padding: 0;
    margin: 0;
    width: 100%;
    font-size: 0.95em;
    text-align: center;
}

ul#nav > li{
    display: inline-block;
    position: relative;
    text-align: center;
}

ul#nav > li > a{
    display: block;
    color: #fff;
    padding: 0 25px;    
    line-height: 50px;
    margin-right: 50px;
}

ul#nav > li > a:hover{
    background-color: #4a75a5;
}

/*dropdown*/
/* set dropdown menu position */

ul#nav > li:hover ul {    
    left: 0;
    top: 50px;
}

ul#nav > li:hover ul li{ 
    background-color: #4a75a5;
    min-width: 200px;
}

ul#nav > li:hover ul li:hover{ 
    background-color: #4a75a5;
}

ul#nav > li > ul{    
    height: 0;
    left: -9999px;
    list-style: none outside none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: -9999px;
    width: 250px;
    z-index: 5;
    text-align: left;
}

ul#nav > li > ul > li > a{   
    display: block;
    color: #fff;
    height: 35px;
    line-height: 35px;
    border: 0;
    padding: 0.5em 1.5em;
}

    .menuResponsive {
        display: none;
    }


/*===== Slideshow =====*/

#slideshow{
    max-height: 300px;
    overflow: hidden;
}

#slideshow img{
    width: 100%;
}

/*===== Left Column =====*/

.leftcol{
    float: left;
    width: 65%;
    padding: 1%;
}

.fireworks{
	display: block;
	margin:auto;
}

/*===== Right Column =====*/

.rightcol{
    float: right;
    width: 30%;
	padding-top: 5%;
    font-size: .9em;    
}

.rightcol article{
    overflow: hidden;
    clear: both;
    margin: 0 0 20px;
    color: #fff;
}

.rightcol article img{
    float: left;
    margin-right: 15px;
}

.rightcol article .details{
    float: left;
    max-width: 120px;
}

.rightcol article h2{
    margin: 0 0 10px;
    font-size: 1.2em;
}

.rightcol article a{
    color: #fff;
}

.details h2{
    margin-bottom: 2px!important;
}

.details p{
    margin-top: 0;
}

/*===== News Section =====*/

.news-container{
    width: 100%;
    float: left;
}

.news-article{
    width: 49%;
    float: left;
    padding: 2% 0.5% 2% 0.5%;
}

.img-container{
    text-align: center;
}

.img-container img{
    border: 1px solid #000;
}

.article-text{
    text-align: center;
}

/*===== Footer =====*/

footer{
    background-color: #e4e4e4;
    padding: 1% 0;
}

footer p{
    text-align: center;
    color: #898989;
}

.waiver{
	font-size: 0.6em;
}

/* ===== Responsive =====*/

@media screen and (max-width: 1000px) {

    .contact{
        padding-right: 1%;
    }
    
    .leftcol{
        padding-left: 1%;
    }

}

@media screen and (max-width: 970px) {

    ul#nav li a{
        padding: 0 20px;
        font-size: 0.9em;
    }

}

@media screen and (max-width: 910px) {

/*===== Right Column =====*/
    
    .rightcol article .details{
        max-width: none!important;
        width: 100%;
        text-align: center;
    }
    
    .rightcol article img{
        width: 50%;
        padding-left: 25%;
    }

}

@media screen and (max-width: 895px) {
    ul#nav li a{
        padding: 0 18px;
        font-size: 0.8em;
    }
}

@media screen and (max-width: 850px) {

    h1{
        font-size: 1.7em;
    }
    
    h2{
        font-size: 1.3em;
    }
    
    /*===== Menu =====*/
    
    #slideshow{
		width: 100%;
	}

}

@media screen and (max-width: 795px) {
    
    .mobileMenu{
        display: block;
    }

    .menuResponsive {
        display: block;
        padding: 12px;
    }
    .menuIcon{
        height: 25px;
    }

    nav{
        height: auto;
    }

    ul#nav {
        display: none;
    }

    ul#nav > li {
        float: none;
        text-align: center;
    }

    ul#nav > li > ul{ 
        display: none;
        width: 100%;
        text-align: center;
        position: static;
        overflow: hidden;
        height: auto;
        background: #A7A9AC;
    }

    .news-container{
        width: 98%;
        padding-left: 1%;
    }

}

@media screen and (max-width: 550px) {

	.logo{
		width: 60%;
		padding-left: 20%;
	}
	
	.contact{
		width: 100%;
		text-align: center;
		padding-right: 0;
	}
	
	.contact p{
		margin-bottom: 0;
	}
	
	nav{
		/*background-color: #be1e2d;*/
        background-color: #2f6a96;
		height: auto;
	}

    .nav{
    }


	/*
	ul#nav > li {
		float: none;
		text-align: center;
		display: block;
	}
	*/

	ul#nav > li > a{
		margin-right: 0;
	}
	
	
	
	#slideshow{
		display: none;
	}
	
	.contact{
		padding-right: 1%;
		font-size: 1em;
		padding-top: 5%;
	}
	
	.leftcol{
		width: 100%;
	}
	
	.rightcol{
		width: 100%;
		padding-bottom: 0;
	}
	
	.rightcol article{
		clear: none;
		width: 50%;
		float: left;
		margin: 0;
	}
	
@media screen and (max-width: 350px) {

html{
	overflow-x: hidden;
}

	
.logo{
		width: 75%;
		padding-left: 5%;
	}
	
header{
    padding: 10px 0;
}

.logo{
    float: left;
	margin-top: 5px;
	margin-left: 10%;
}

.info-head{
	margin-top: 25px;
	margin-left: 5%;
	color: #265f89;
}

.wtpark{
	max-width: 98%!important;
}

.leftcol{
    float: left;
    width: 95%;
    padding: 1%;
	margin-left: 2%;
}

.fireworks{
	display: block;
	margin:auto;
	width: 90%
}

.map{
	width: 98%;
}
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
