/*! 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 {
	color: #222;
	font-size: 1em;
	line-height: 1.4;
}
html{
	position: relative;
	min-height: 100%;
}
body, #page, #wrapper{
	height:100%;
}

body{
	font-family: 'Open Sans', sans-serif;
	overflow-y: scroll;
}

#wrapper {
	margin-top: 4em;
	margin-bottom: 5em;
}

#wrapper.inner main#content{
	padding: 0em;
}

h1#main-site-title {
	margin-top: 0em;
	margin-bottom: 0.8em;
}

h1,h2,h3,h4,h5,h6 {
	font-family: "futura-pt", sans-serif;
}

h1 {
	font-family: "futura-pt-bold", sans-serif;
	text-transform: uppercase;
	font-weight: 700;
	color: #22587C;
	font-size: 5em;
	-webkit-font-smoothing:antialiased;
}

h2 {
	font-family: "futura-pt-bold", sans-serif;
	text-transform: uppercase;
	font-weight: 700;
	color: #22587C;
	font-size: 26px;
	-webkit-font-smoothing:antialiased;
}

h3 {
	font-family: "futura-pt-condensed", sans-serif;
	font-weight: 400;
	color: #22587C;
	font-size: 24px;
	border-bottom: 1px solid #22587C;
}

h4,h5,h6 {
	font-family: "futura-pt-condensed", sans-serif;
	color: #22587C;
	font-weight: 400;
	font-size: 20px;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * 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,
svg,
video {
	vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
	resize: vertical;
}

/* ==========================================================================
   html5 <details> and <summary> fallback styles
   ========================================================================== */

/* 
 * Add focus styles (for keyboard accessibility) 
 */
.no-details summary:hover, .no-details summary:focus {
	background: #ddd;
}

/* 
 * The following styles are not really needed, since the jQuery script takes care of hiding/displaying the elements.
 * However, we’re still gonna use CSS as well to prevent FOUC in browsers that understand these selectors.
 * Remember: by default (and probably most of the time), the contents of the <details> element are hidden.
 */

/* 
 * Hide all direct descendants of every <details> element.
 * Note that IE6 doesn’t support the child selector; we’ll work around that using jQuery later
 */
.no-details details > * {
	display: none;
}

/* 
 * Make sure summary remains visible
 */
.no-details details summary {
	display: block;
}

/* 
 * Apply a pointer cursor upon hover to indicate it’s a clickable element. 
 * These styles can be applied regardless of whether the fallback is needed
 */
summary {
	cursor: pointer;
}

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

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

/* ========================================================= *
 * CUSTOM STYLES AND HELPER STYLES
 * ========================================================= */

#header {
	width: 100%;
}

#content {
	max-width: 960px;
	margin: 0 auto;
}

#wrapper.home .page-data {
	margin: 3em 0;
}

#header > a {
	float:left;
}

#header > nav {
	vertical-align:middle;
	width: 100%;
}

#wrapper.inner #header{
	padding-bottom:0px;
}

#content {
	padding: 1.5em 0;
}

.has-sidebar #main {
	float:left;
	width:70%;
	padding: 1px;
}

.has-sidebar #side {
	float:right;
	width:27%;
}

ul.cleanlist, ol.cleanlist {
	padding:0;
	margin:0;
	list-style: none;
}

.cleanbox {
	background-color: #FFFFFF;
	-webkit-border-radius: 2px 2px 2px 2px;
	border-radius: 2px 2px 2px 2px;
	-webkit-box-shadow: 0 2px 6px 0 rgba(0,0,0,0.3);
	box-shadow: 0 2px 6px 0 rgba(0,0,0,0.3);
	color: #000000;
	/* IE 8 */
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
	/* IE 5-7 */
	filter: alpha(opacity=90);
	opacity: 0.9;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-ms-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}

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

.reformat-email {
	unicode-bidi: bidi-override;
	direction: rtl;
}

@media print {
	.domain-nav-group,
	nav.main-navigation,
	.banner-item,
	.link-cards,
	.home-page-news-stubs,
	.header-social-lg,
	.footer-inner-top,
	.ig-feed,
	.lightwidget-widget
	 {
		display: none !important;
	}

	div {
		height: auto !important;
	}

	.footer-social
	{
		float: left;
	}

	.footer-social a {
		float: left;
		clear: both;
		display: block;
		font-size: 1em;
	}

		section#domain-nav .header-label,
		  section#domain-nav .header-label h2{
			display: block;
			float: right;
			font-size: 1.4em;
			color: #000;
		  }
}