F/* Global Box-Sizing */
*,
*:after,
*:before {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
	background-color: #BAE5F5 !important;	
}
body {
	background-color: #BAE5F5 !important;
}
::-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;
}

/* ==========================================================================
   Begin Primary Styles
   ========================================================================== */
img {	
	max-width: 100%;
	height: auto;	
}
.container {
	width: 95%;
	max-width: 1500px;
	margin: 0 auto;	
	position: relative;
	/*overflow: hidden;*/
}
.container:before, .container:after {
	content: "";
  	display: table;  	
}
.container:after {
	clear: both;
}
.container {
    zoom: 1; /* For IE 6/7 (trigger hasLayout) */
}
.center {
	display: inline-block;
	margin: 0 auto;
}
.text-left {
	text-align: left;
}
.text-right {
	text-align: right;
}
.push-left {
	float: left;
}
.push-right {
	float: right;
}
.text-box {
	background-color: #7AC041;
	border: 2px solid #0067B2;
	border-bottom: 5px solid #0067B2;
	padding: 10px;
	color: #fff;
	font-size: 22px;
	text-align: center;	
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	behavior: url(/ie-pie_1.0/PIE.htc);
	position: relative;
	z-index: 800;
}
.button {
	background: #0067b2;
	padding: 10px;	
	font-size: 18px;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	text-align: center;
	display: inline-block;
	white-space: nowrap;
	behavior: url(/ie-pie_1.0/PIE.htc);
	position: relative;
	z-index: 800;	
}
.button:hover {
	background-color: #7AC041;
}
	
.button a  {
	text-decoration: none;	
	color: #fff;
}
.button a:active {	
	color: #0067b2;
}

/* Header / Nav / Social Icons */
/* Main Logo */
div#main-logo-area {}
div#main-logo-container {}
img#logo-main-large {}
img#logo-home {
	display: none;
}


div#top-nav-bar-home {
	background-color: #0068b3;	
	height: 50px;	
}
div#top-nav-bar {
	background-color: #7AC041;	
	height: 80px;	
}
div#top-nav-bar-home div#top-nav-bar-left,
div#top-nav-bar-home div#top-nav-bar-right {
	background-color: #0067B2;
	height: 50px;
}
div#top-nav-bar-left,
div#top-nav-bar-right {
	background-color: #7AC041;	
	height: 80px;
	margin-bottom: 80px;
	overflow: visible;
}

/* Main Navigation */
nav#main-nav {
	position: relative;
	z-index: 800;
}

nav#main-nav ul#menu {
    text-align: justify;    
	padding: 0;
	margin: 0;	
}
nav#main-nav ul#menu:after {
    content: '';
    display: inline-block;
    width: 100%;
}
nav#main-nav ul li {
	list-style-type: none;
	display: inline-block;
	margin-right: 15%;
}
nav#main-nav ul li:last-of-type {
	margin-right: 0;
}
div#top-nav-bar-home  nav#main-nav ul li a {
	text-decoration: none;
	font: 24px/50px 'PT Sans', sans-serif;
	color: #fff;	
	display: inline-block;	
}
nav#main-nav ul li a {
	text-decoration: none;
	font: 24px/80px 'PT Sans', sans-serif;
	color: #fff;	
	display: inline-block;	
}
nav#main-nav a:hover, 
nav#main-nav:active {
	color: #0067B2;
}
div#top-nav-bar-home nav#main-nav a:hover, 
div#top-nav-bar-home nav#main-nav:active {
	color: #7AC041;
}
/* Drop Down Menu */
/* Initialize */
nav#main-nav ul#menu, 
ul#menu ul.sub-menu,
nav#main-nav ul#menu-pages-menu, 
ul#menu-pages-menu ul.sub-menu {
    padding: 0;
    margin: 0;		
}
ul#menu ul.sub-menu li,
ul#menu-pages-menu ul.sub-menu li {
    list-style-type: none;
    display: inline-block;
	width: 250px;
	text-align: left;
	padding: 2px 0;
}
/* Link Appearance */
ul#menu li ul.sub-menu li a,
ul#menu-pages-menu li ul.sub-menu li a {
    text-decoration: none;    
    padding: 0;
    display: inline-block;	
	color: #fff;
}
ul#menu li ul.sub-menu li a:hover, 
ul#menu li ul.sub-menu li a:active {
	color: #0068B3;
}
/* Make the parent of sub-menu relative */
nav#main-nav ul#menu li,
nav#main-nav ul#menu-pages-menu li {
    position: relative;
}
/* Sub menu */
nav#main-nav ul#menu ul.sub-menu,
nav#main-nav ul#menu-pages-menu ul.sub-menu {
    display: none;
    position: absolute;
    top: 40px;
    left: 0;    
	background-color: #0067B2;		
}
nav#main-nav ul#menu li:hover ul.sub-menu,
nav#main-nav ul#menu-pages-menu li:hover ul.sub-menu {
    display: block;	
}
nav#main-nav ul#menu li ul.sub-menu li a,
nav#main-nav ul#menu-pages-menu li ul.sub-menu li a {	
	width: 100%;
	height: auto;		
	line-height: 1 !important;	
}
/* Mobile Menu */
.slicknav_menu {
	display: none;
}
/* Social Icons / Links */
div#top-nav-bar-home div#social-media-icons {
	text-align: right;
	line-height: 50px;	
}
div#social-media-icons {
	text-align: right;
	line-height: 80px;	
}
div#social-media-icons img {
	margin-left: 16px;	
}

/* Language Selector */
div#lang_sel {
	float: right;
	position: relative;
	top: -80px;	
	right: 0;
	z-index: 400;		
}


/* Home / Landing Page */
div#main-content.home {
	background: url(../img/bg_home.jpg) no-repeat fixed left top;
	-webkit-background-size: cover !important;
  	-moz-background-size: cover;
  	-o-background-size: cover;
  	background-size: cover !important;	
	position: fixed;	
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='.bg_home.jpg', sizingMethod='scale');
	-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='bg_home.jpg', sizingMethod='scale')";	
	width: 100%;
	height: 100%;		
}
/* Tagline */
div#home-spacer-1 {
	width: 680px;
	height: 680px;
}
#main-tagline {	
	
}
#main-cta {
	margin: 32px auto 16px;
	display: block;
	max-width: 240px;	
}



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

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.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:
 * https://www.drupal.org/node/897638
 */

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

/*
 * Hide visually and from screen readers, 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;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media only screen and (max-width: 1100px) {
	nav#main-nav ul li {		
		margin-right: 5%;
	}
}
@media only screen and (max-width: 1060px) {
	div#home-spacer-1 {				
		max-height: 400px;		
	}
	/* Language Selector */
	div#lang_sel {
		/*float: right;*/	
		/*width: 100%;*/
		height: 30px;
		z-index: 700;
		position: absolute;
		top: 54px;
		right: -10px;
	}
	nav#main-nav ul li {		
		margin-right: 5%;
	}
		

}
@media only screen and (max-width: 1040px) and (orientation: landscape) {	
	div#home-spacer-1 {				
		max-height: 400px;		
	}

}
@media only screen and (max-width: 780px) {
	div#main-content.home {		
		background-image: none;
		background-color: #BAE5F5;	
		position: static;			
		padding-bottom: 25px;	
	}
	/* Logo */	
	img#logo-home {	
		display: block;	
		width: 350px;
		height: auto;
		/*position: static;*/
		margin: 0 auto;	
			
	}
	/* Mobile Menu */
	.js #menu {
		display: none;
	}
	/* Home / Landing Page */
	/* Mobile Nav */	
    a.slicknav_btn {
	    background-color: #fff;	   
    }
	a.slicknav_btn span.slicknav_menutxt {
		text-shadow: none;
		color: #0067b2;
	}
	.js .slicknav_menu {
		display: block;
		background-color: #0067b2;
		position: absolute;
		z-index: 300;
		width: 100%;
	} 	
	div#top-nav-bar-left {
		display: none;
	}	
	/* Social Icons */
	div#top-nav-bar-right div#social-media-icons {
		text-align: left;
		position: relative;
		z-index: 400;
		width: 150px;			
	}	
	div#social-media-icons img {
		margin-left: -2px;
	}
	ul.slicknav_nav li a:hover {
		background-color: #fff;
		color: #0067B2;
	}

	div#home-spacer-1 {				
		height: 100px;	
	}
	h2#main-cta {
		margin-top: 0;
		/*margin-bottom: 100px;*/
	}
	
}
@media only screen and (max-width: 750px) and (orientation: landscape) {
	img#logo-home {			
		/*width: 150px;*/		
		margin-bottom: 30px;
	}	
	div#home-spacer-1 {				
		height: 0;	
	}	
	h1#main-tagline {
		margin-bottom: 15px;
		font-size: 18px;
	}
	h2#main-cta {
		margin-top: 0;
		/*margin-bottom: 100px;*/
	}
		
}
@media only screen and (max-width: 680px) {	
	img#logo-home {			
		/*margin: 30px auto;*/
	}	
	h1#main-tagline {
		margin-bottom: 15px;
		font-size: 16px;
	}	
	div#home-spacer-1 {				
		height: 0;	
	}
	h2#main-cta {
		margin-top: 0;
		/*margin-bottom: 100px;*/
	}
	div#home-spacer-1 {				
		height: 0;	
	}
	
}


	

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

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

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

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    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;
    }
}
