/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

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

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

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

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

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

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

textarea {
    resize: vertical;
}

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


/* ==========================================================================
   Author's custom styles
   ========================================================================== */


.body1 {background-color:#7FC4E8;
background-image:url("../img/2000.jpg");
background-repeat:no-repeat;
background-position: top center;
}

#top-wrap {
	width:100%;
	height:315px;
	background-color:#3F3F3E;
	}

	
#logo-wrap {
	width:985px;
	height:275px;
	margin:0 auto;
	background-color:#3F3F3E;
	}	
	
#logo {	width:449px;
	margin-left:62px;
	padding-top:120px;
	height:102px;
	background-color:#3F3F3E;
	}
	
#nav-wrap {
	width:985px;
	height:40px;
	margin:0 auto;
}		
	
#main {
	width:985px;
	min-height:1360px;
	margin:0 auto;
	background-color:#fff;
	}

#text-box {
	padding:0px 62px 30px 62px;
	width:861px;

	}	
	
#text-box1 {
	padding:30px 62px 30px 62px;
	width:861px;
}	
	
#footer-wrap {
	width:100%;
	height:275px;
	/*background-color:#0097D9;*/
	background-image:url("../img/footer_50.png");
	}	
	
#footer {
	width:985px;
	height:275px;
	margin:0 auto;
	background-color:#EAEAEA;
}

#footer-text {
	padding-top:100px;
	padding-left:62px;
	font-family: 'Lato', sans-serif;
	font-size:12px;
	color:#222222;
	font-weight:400;
}

h1 {
	font-family: 'Lato', sans-serif;
	font-size:26px;
	color:#08A4D5;
	font-weight:700;
}

h2 {
	font-family: 'Lato', sans-serif;
	font-size:18px;
	color:#222222;
	font-weight:700;
}

p {
	font-family: 'Lato', sans-serif;
	font-size:15px;
	color:#222222;
	font-weight:400;
}

.miniarrow {
	font-size:10px;
	}
	
	
/* CYCLE STYLES */

/* prev / next links */
.cycle-prev, .cycle-next { position: absolute; top: 50%; width: 60px; /*opacity: 0; filter: alpha(opacity=0);*/ z-index: 400; height: 40px; cursor: pointer; }
.cycle-prev { left: 0;  background: url(../img/left1.png) 50% 50% no-repeat;}
.cycle-next { right: 0; background: url(../img/right1.png) 50% 50% no-repeat;}
/*.cycle-prev:hover, .cycle-next:hover { opacity: .9; filter: alpha(opacity=90) }*/

.cycle-slideshow{max-width:861px;margin:0 auto;overflow:hidden;}


	
	
/*------------------------------------*\
    NAV
\*------------------------------------*/
#nav{
    list-style:none;
    font-weight:normal;
    margin-bottom:0px;
        margin-top: 0px;
    margin-left:62px;
    float:left; /* Clear floats */
    width:861px;
    -webkit-margin-before: 0em;
    -webkit-padding-start: 0px;
    /* Bring the nav above everything else--uncomment if needed.*/
    position:relative;
    z-index:400;
    
}
#nav li{
    float:left;
    margin-right:0px;
    position:relative;
     padding:9px 105px 0px 0px;
}
#nav a{
    display:block;
   
	font-family: 'Lato', sans-serif;
	font-size:15px;
	color:#fff;
	font-weight:400;
	text-decoration:none;
}

#nav li.end {padding-right:0px;}

#nav a.on, #nav li:hover ul a.on{
    text-decoration:none;
      padding-bottom: 10px;
    background-image:url(../img/nav_show.png);
    background-repeat: no-repeat;
    background-position:center bottom;
     color:#08A4D5;

}

#nav li:hover ul a.on2 {color:#222;}

#nav a:hover {
    color:#08A4D5;
    /*background:#ECEDF1;*/
    text-decoration:none!important;
    
}

/*--- DROPDOWN ---*/
#nav ul{
	padding-top:10px;
    background:#9C9B9B; /* Adding a background makes the dropdown work properly in IE7+. Make this as close to your page's background as possible (i.e. white page == white background). */
    background:rgba(255,255,255,0); /* But! Let's make the background fully transparent where we can, we don't actually want to see it if we can help it... */
    list-style:none;
    position:absolute;
    left:-9999px; /* Hide off-screen when not needed (this is more accessible than display:none;) */
}


	
	
#nav ul li{
    padding-top:0px; /* Introducing a padding between the li and the a give the illusion spaced items */
    float:none;
}
#nav ul a{
    white-space:nowrap; /* Stop text wrapping and creating multi-line dropdown items */
}
#nav li:hover ul{ /* Display the dropdown on hover */
    left:0; /* Bring back on-screen when needed */
    	    -webkit-margin-before: 0em;
    -webkit-padding-start: 0px;
   
}
#nav li:hover a{ /* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */
    /*background:#ECEDF1;*/
    text-decoration:none;
     color:#08A4D5;
}


#nav li:hover ul a{ /* The persistent hover state does however create a global style for links even before they're hovered. Here we undo these effects. */
    text-decoration:none;
    background:#9C9B9B;
    color:#fff;
    margin-left:-25px;
    padding:10px 25px 7px 25px;

}
#nav li:hover ul li a:hover{ /* Here we define the most explicit hover states--what happens when you hover each individual link. */
    background:#9C9B9B;
    color:#222;
    text-decoration:underline;
}




/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

@media screen and (max-device-width: 480px){
body{
-webkit-text-size-adjust: none;
}
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

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

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

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

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        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) ")";
    }

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

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

    thead {
        display: table-header-group;
    }

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

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

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

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