
/*
 * HTML5 Boilerplate
 *
 * 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.
 */

/* COLOURS */

/* Menu colour D
	Dark aqua #517577
	Aqua #0e9395
	Grays #494949


*/

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

	@font-face {
	  font-family: 'BebasIFS';
	  src: url('BebasNeue.otf') format('opentype'), /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
	       url('BebasNeueBold.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5, Opera 10+, Safari 3—5 */
	} 
	


html, button, input, select, textarea { color: #222; }

body {
	font-size: 1em;
	line-height: 1.4;
}




/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations 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 and the bottom of their containers: h5bp.com/i/440
 */




img { vertical-align: middle; }

/*
 * Remove default fieldset styles.
 */




fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */




textarea { resize: vertical; }

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */




.chromeframe {
	margin: 0.2em 0;
	background: #ccc;
	color: #000;
	padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
   

html { overflow: scroll; }

html, body {
	text-align: center;
	background-color: #fff;
	font-family: 'Montserrat', sans-serif;
	font-size: 100%;
	margin: 0 0 60px 0;
	padding: 0;
}

a:link, a:hover	{ color: #0e9395;}

#page {
	width: 996px;
	margin: 0 auto;
	padding: 0;
	color: #464646;
}

#holder {
	position: fixed;
	bottom: 0px;
	left: 0;
	width: 100%;
	height: 30px;
	background-color: #464646;
	font-size: .75em;
	line-height: 30px;
	color: #ddd;
}

header {
	width: 100%;
	height: 106px;
	background-image: none;
	position: relative;
	margin: 0;
	padding: 0;
}

#home header {
	width: 100%;
	height: 225px;
	background-image: url(../img/ifs-mainpage-header-img.jpg);
	background-position: top right;
	background-repeat: no-repeat;
	position: relative;
	margin: 0;
	padding: 0;
}

#home .identity {
	width: 222px;
	height: 100px;
	background-image: url(../img/ifs_logo.png);
	background-position: center center;
	background-repeat: no-repeat;
	position: absolute;
	top: 95px;
	left: 28px;
	margin: 0;
	padding: 0;
	text-indent: -9999px;
	z-index: 10000;
}

.identity {
	width: 161px;
	height: 54px;
	background-image: url(../img/ifs_sm_logo.png);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 100%;
	position: absolute;
	top: 35px;
	left: 28px;
	margin: 0;
	padding: 0;
	text-indent: -9999px;
	z-index: 10000;
}

a.identity:hover { cursor: pointer; }

#home #banner {
	width: 99.4%;
	border: 3px solid #494949;
	height: 201px;
	background-image: url(../img/in-flightsafty-banner.jpg);
	background-position: center center;
	background-repeat: no-repeat;
	margin: 0;
	padding: 0;
}

#banner {
	width: 100%;
	margin: 0;
	padding: 0;
}

#contentrow {
	width: 996px;
	/*	background-image: url(../img/ifs-shop-banner-bg-02.jpg);
	background-position: top;
	background-repeat:repeat-x;
*/	border-top: 1px solid #464646;
}

.box {
	width: 262px;
	margin: 6px 3px;
	padding: 20px 33px;
	background-color: #494949;
	float: left;
	height: 72px;
}

.box2 {
	width: 596px;
	margin: 6px 3px;
	padding: 20px 33px;
	background-color: #494949;
	float: left;
	height: 72px;
}

#banner.pageheader { width: 100%; }

#banner.pageheader h1 {
	margin: 0;
	font-weight: normal;
}

#banner.pageheader .box {
	background-color: #494949;
	text-align: left;
	text-transform: uppercase;
	height: 30px;
	color: #fff;
	padding-top: 10px;
}

#banner.pageheader .box2 {
	height: 30px;
	padding-top: 10px;
}

#news #banner.pageheader .box2 {
	/*background-image: url(../img/ifs-news-header.jpg);*/
	background-position: top left;
	background-repeat: no-repeat;
}

article .box, article .box2 {
	background-color: #fff;
	text-align: left;
	height: auto;
}

#contentrow article .box, #contentrow article .box2 { background-color: #fff; }

article .box2 {
	padding-left: 5px;
	padding-right: 10px;
	width: 647px;
}

article {
	margin-bottom: 1em;
	background-image: url(../img/articelender.gif);
	background-position: bottom right;
	background-repeat: no-repeat;
	height: auto;
}

article.ender {
	clear: both;
	width: 100%;
}

#topnav {
	position: relative;
	top: 0;
	right: 0;
	height: 5.70em;
	border-left: 1px #cbcabb solid;
	padding: 0;
	margin: 0;
	width: auto;
}

#home #topnav {
	position: relative;
	top: 0;
	left: 0;
	height: 3.75em;
	border-left: 1px #cbcabb solid;
	padding: 0;
	margin: 0;
	width: auto;
}

footer {
	width: 996px;
	height: 64px;
	position: relative;
	margin: -1px 0 0 0;
	padding: 0;
}

footer #colone, footer #coltwo, footer #colthree {
	float: left;
	width: 302px; /*31.125%;  329 -13 -13 = 313 */
	margin-left: 6px; /*.8%; */
}

footer #colone {
	border-left: 1px #517577 solid;
	margin-left: 0;
	padding: 0;
	width: 327px;
}

footer #coltwo, footer #colthree {
	background-color: #494949;
	padding: 8px 0 0 13px; /* 1.3%; */
	height: 60px; /* 63 -13 -13 = 37 */
	width: 315px;
}

/* Main Nav Style */

#topnav ul {
	position: absolute;
	top: 2em;
	right: -6px;
}

#home #topnav ul {
	position: absolute;
	top: 1.6em;
	left: 0;
	padding: 0;
}

header nav ul li {
	display: block;
	float: left;
	margin-left: 2em;
}

/* MUSIC page styles */

.cdbox {
	width: 265px;
	height: auto;
	margin: 0 auto;
	text-align: center;
}

.albumimg {
	height: 265px;
	width: 265px;
	margin: 0 auto;
	display: block;
}

a.btn:link, a.btn:visited {
	color: #fff;
	text-align: center;
	width: 129px;
	background-color: #494949;
	text-decoration: none;
	font-size: .8em;
	line-height: 2em;
	margin: 7px 7px 7px 0;
	display: inline-block;
}

a.btn:hover { background-color: #517577; }

table.tracklist { width: 220px; }

table.tracklist th {
	font-weight: bold;
	font-size: .75em;
}

table.tracklist td {
	padding: 2px 8px 2px 0;
	font-size: .75em;
}

#music section {
	float: right;
	width: 400px;
	padding: 0 0 0 20px;
}

table.tracklist td a.stratus:link, table.tracklist td a.stratus:hover, table.tracklist td a.stratus:visited, table.tracklist td a.stratus:active { text-decoration: none; color: #494949; }


/* tour page styles */ 

#tour #contentrow .tourimg {
	height: 300px;
	background-image: url(../img/tourpagephoto.jpg);
	background-repeat: no-repeat;
	background-position: center 22px;
}

#tour article, #info article, #video article, #photo article, #shop article, #personnel article { background-image: none; }

/*#tour #banner .box2 { background-image: url(../img/ifs-tour-header.jpg); }*/


#tour .tourlist { width: 100%; }

table.tourlist th, table.tourlist td {
	padding: 12px 10px 8px 5px;
	font-size: .75em;
	vertical-align:top;
}

table.tourlist td.date { white-space:nowrap;}
table.tourlist td.buybtn {  text-align: center; }
table.tourlist td.buybtn a:link { text-decoration:none; font-weight: bold;}

table.tourlist th {
	font-weight: bold;
	font-size: .75em;
	border-bottom: 1px solid #494949;
}

table.tourlist td { font-size: .75em;}


/* info page styles */


#info .cdbox {
	width: 260px;
	height: 294px;
	margin: 0 auto;
	text-align: left;
	background-color: #494949;
	background-image: url('../img/aboutbox.jpg');
	color: #fff;
}

#info .cdbox p {
	text-align: left;
	color: #fff;
}

#info section {
	float: left;
	width: 475px;
}

#info section.sidebar, #presskit section.sidebar {
	float: right;
	width: 130px;
	text-align: center;
}

#info article .box {
	padding: 25px 29px;
	width: 270px;
}

#info article .box2 h2 { margin-bottom: 1em; }

article .box2 .sidebar p { color: #0e9395; }

.sidebar ul {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: left;
}

.sidebar ul li a:link, .sidebar ul li a:visited {
	color: #0e9395;
	font-size: .7em;
}

.sidebar ul li a:hover { color: #517577; }

.download {
	width: 46px;
	height: 59px;
	background-position: 0 0;
	background-repeat: no-repeat;
	display: inline-block;
	margin: 0 5px 1em 0;
}

.press { background-image: url(../img/press-pics.gif); }

.poster { background-image: url(../img/admat-poster.gif); }

.onesheet { background-image: url(../img/ifs-meida-one-sheet.gif); }

.highlights { background-image: url(../img/ifs-artistic-high-lights.gif); }

/* Video page Styles */

#video article .box2 a:link, #video article .box2 a:visited {
	padding-left: 1em;
	text-decoration: none;
	color: #517577;
}

#video article .box a:link, #video article .box a:visited {
	text-decoration: none;
	color: #517577;
}

#video .vidbox .vidimage {
	width: 260px;
	height: 65px;
	display: block;
	background-position: center center;
	background-repeat: no-repeat;
	background-image: url(../img/ifs_logo.png);
}

#video article .box2 {
	margin-left: 3px;
	margin-right: 0;
	padding-left: 0;
	padding-right: 0;
	padding-bottom: 0;
}

#video .vidbox2 .vidimage {
	width: 662px;
	height: 358px;
	display: block;
	background-position: center center;
	background-repeat: no-repeat;
	background-image: url(../img/ifs_logo.png);
}

#video .vidbox p {
	color: #517577;
	margin: .5em 0 1em 0;
}

#video .vidbox2 p, #photo .vidbox2 p { margin: 1em; }

#video .vidbox .animalsvid { background-image: url(../img/video-sm-10-nobut.jpg); }

#video .vidbox .animalslyric { background-image: url(../img/video-sm-09-nobut.jpg); }

#video .vidbox .stockholm { background-image: url(../img/video-sm-08-nobut.jpg); }

#video .vidbox .blueflares { background-image: url(../img/video-sm-07-nobut.jpg); }

#video .vidbox .modelhomes { background-image: url(../img/video-sm-01-nobut.jpg); }

#video .vidbox .paperthin { background-image: url(../img/video-sm-02-nobut.jpg);  }

#video .vidbox .coast { background-image: url(../img/video-sm-03-nobut.jpg); }

#video .vidbox .torches { background-image: url(../img/video-sm-04-nobut.jpg); }

#video .vidbox .surround { background-image: url(../img/video-sm-05-nobut.jpg); }

#video .vidbox .actors { background-image: url(../img/video-sm-06-nobut.jpg); }

/* photo page styles */

#photocanvas_caption p {text-align:center;}

#photo article .box img { vertical-align: middle; margin: 0 7px 7px 0; }


#photo article .box {
	padding: 20px 10px;
	width: 310px;
	margin: 0 auto;
}

.photogrid {
	width: 310px;
	margin-top: 6px;
}

.gridphoto {
	float: left;
	width: 61px;
	height: 61px;
	background-color: #494949;
	background-position: center center;
	background-repeat: no-repeat;
	margin: 0 7px 7px 0;
}

.photo_big {
	width: 662px;
	height: 500px;
	background-position: center center;
	background-repeat: none;
}

#photo article .box2 {
	padding-left: 3px;
	padding-right: 10px;
	padding-bottom: 0;
	width: 650px;
}

/* Styles for the shop page */



#shop .newalbum {
	margin-top: 2em;
	background-color: #464646;
	display: none;
	height: 260px;
	padding: 1em 0 0 0;
	position: relative;
}

#shop .newalbum h2, #shop #page .newalbum .box2 p, #shop #page .newalbum blockquote { color: #fff; }

#shop .newalbum h2 { margin-bottom: 1em; }

#shop #page .newalbum .box2 section { width: 25em; }

#shop article .box2 {
	padding-left: 5px;
	padding-right: 10px;
	width: 600px;
}

a:link.newalbumbtn {
	display: block;
	margin-bottom: 7px;
	width: 120px;
	line-height: 2em;
}

a:link.red, a:visited.red {
	background-color: #78232e;
	position: absolute;
	right: 30px;
	bottom: 9.6em;
}

a:link.blue, a:visited.blue {
	background-color: #487cbe;
	position: absolute;
	right: 30px;
	bottom: 7em;
}

a:hover.red { background-color: #9e2e3d; }

a:hover.blue { background-color: #5795e5; }

#shop article.products {
	background-image: url(../img/ifs-shop-banner-bg-02.jpg);
	background-repeat: repeat-x;
	background-position: 0 0;/*	border-top: 1px solid #464646;
*/}

#shop article.products .t-shirts {
	background-color: transparent;
	width: 47.5%;
	padding-left: 0;
	padding-right: 0;
	height: 390px;
	background-image: url(../img/ifs-shop-t-shirts.png);
	background-position: 3em 8em;
	background-repeat: no-repeat;
}

#shop article.products .t-shirts p, #shop article.products .t-shirts h2 { text-align: right; }

#shop article.products .t-shirts p, #shop article.products .downloads p { padding: 1em 0; }

#shop article.products .t-shirts a { margin-left: 72%; }

#shop article.products h2 { color: #517577; }

#shop article.products .box a { font-size: .7em; }

#shop article.products .downloads {
	background-color: transparent;
	width: 47.5%;
	padding-left: 0;
	padding-right: 0;
	float: right;
	height: 390px;
	/*background-image: url(../img/ifs-shop-downloads.png);*/
	background-position: 9em 11em;
	background-repeat: no-repeat;
}

/* Bottom Main Nav */

footer #colone nav { margin-left: 1.2em; }

footer #colone nav ul li {
	display: block;
	float: left;
	text-align: left;
	width: 22%;
	padding: 2px 2px 2px 0;
	margin: 4px 4px 4px 0.75em;
}

.menu_items {
	background: url("../img/ifs-main-nav.png") top left no-repeat;
	text-indent: -9999px;
	display: block;
}

.ifs_menu_Contact {
	width: 75px;
	height: 13px;
	background-position: -20px -20px;
}

.ifs_menu_Contact:hover {
	width: 75px;
	height: 13px;
	background-position: -115px -20px;
}

.ifs_menu_About {
	width: 55px;
	height: 13px;
	background-position: -210px -20px;
}

.ifs_menu_About:hover {
	width: 55px;
	height: 13px;
	background-position: -285px -20px;
}

.ifs_menu_Photo {
	width: 54px;
	height: 13px;
	background-position: -360px -20px;
}

.ifs_menu_Photo:hover {
	width: 54px;
	height: 13px;
	background-position: -434px -20px;
}

.ifs_menu_Video {
	width: 49px;
	height: 13px;
	background-position: -508px -20px;
}

.ifs_menu_Video:hover {
	width: 49px;
	height: 13px;
	background-position: -577px -20px;
}

.ifs_menu_Shop {
	width: 42px;
	height: 13px;
	background-position: -646px -20px;
}

.ifs_menu_Shop:hover {
	width: 42px;
	height: 13px;
	background-position: -708px -20px;
}

.ifs_menu_Music {
	width: 47px;
	height: 13px;
	background-position: -770px -20px;
}

.ifs_menu_Music:hover {
	width: 47px;
	height: 13px;
	background-position: -837px -20px;
}

.ifs_menu_Tour {
	width: 42px;
	height: 13px;
	background-position: -904px -20px;
}

.ifs_menu_Tour:hover {
	width: 42px;
	height: 13px;
	background-position: -966px -20px;
}

.ifs_menu_News {
	width: 44px;
	height: 13px;
	background-position: -1028px -20px;
}

.ifs_menu_News:hover {
	width: 44px;
	height: 13px;
	background-position: -1092px -20px;
}

/* Text Styles */





.noleft { margin-left: 0; }

.noright, a.btn.noright { margin-right: 0px; }
#presskit article .noright {padding-right: 0;}

#presskit article .box2 {float: right;width:663px;margin-left: 0;
padding-left: 0;}


h1, h2, h3, h4, h5, h6, p, li, a, label, input, td, th, blockquote {
	letter-spacing: .1em;
	font-family: Arial, Helvetica, sans-serif;
	text-transform: uppercase;
}


h1, h2 {
	font-family: BebasIFS, Arial, Helvetica, sans-serif;
	text-transform: uppercase;
}


h3 { color: #464646; 
	font-size: 1.1em;
	margin: 1em 0 .25em;
}

#page blockquote {
	margin: 0 0 1em 0;
	font-size: .75em
}

article h2 {
	line-height: 1.1em;
	margin-bottom: .5em;
}

article p { line-height: 1.25em; margin-bottom: 1.em;
}

header h1 {
	display: block;
	line-height: 0.9em;
	font-size: 1em;
	width: 225px;
	position: absolute;
	top: 60px;
	left: 26px;
	text-align: left;
	text-transform: uppercase;
	font-size: 2.375em;
	color: #494949;
	font-weight: normal;
}

li a:link, li a:visited {
	color: #517577;
	text-decoration: none;
	padding: .1em .3em;
	text-transform: uppercase;
	font-size: 0.8em;
}

.box h2 {
	text-align: left;
	margin: 0;
	color: #fff;
	font-weight: normal;
}

.box p {
	text-align: left;
	margin: 0;
	color: #fff;
	font-weight: normal;
	font-size: 0.7em;
	line-height: 1.2em;
}

footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

footer #colone nav ul li a:link, footer #colone nav ul li a:visited {
	padding: .05em 0;
	font-size: 0.7em;
}

article .box h2, article .box2 h2 {
	text-align: left;
	margin: 0;
	color: #494949;
	font-weight: normal;
	margin-bottom: .1em;
}

article .box p, article .box2 p {
	text-align: left; 
	margin: 0;
	color: #494949;
	font-weight: normal;
	font-size: 0.7em;
	line-height: 1.8em;
	margin: .75em 0px 1em;
}

/* Styles for personnel page */



#personnel article .box {
	width: 10.55em;
	padding: 0em 1.15em 0 0;
}

#personnel article a:link, #personnel article a:visited {
	text-decoration: none;
	color: #464646;
}

#personnel article a:hover { color: #517577; }


#personnel #page .box a:link, #personnel #page .box a:hover, #personnel #page .box a:visited, #page .box a:active {
color: #517577;
text-transform: uppercase;
text-decoration: none;
}

#personnel #page article { padding-left: 33px;}

/* MAILINGLIST SYLTES */




#mailinglist {
	padding: 0;
	margin: 0;
	text-align: left;
}

#mailinglist label {
	text-transform: uppercase;
	color: #fff;
	font-size: 12px;
}

#mailinglist #email {
	border: none;
	color: #517577;
	text-transform: none;
	letter-spacing: .25em;
	padding: 3px;
	font-size: 12px;
	width: 210px;
}

#mailinglist .mailingsubmit {
	text-transform: uppercase;
	background-color: #477276;
	color: #fff;
	padding: 3px 8px 2px;
	border: 1px solid #fff;
	font-size: 12px;
}

/* SOCIAL MEDIA ICONS */



.soical_icons {
	list-style: none;
	margin: 18px 0 0 10px;
}

.soical_icons li a {
	padding: 0;
	margin-right: 1em;
}

.ifs_social_icons {
	background: url("../img/ifs_social_icons.png") top left no-repeat;
	text-indent: -9999px;
	float: left;
}

.ifs_social_Cloud {
	width: 39px;
	height: 27px;
	background-position: -10px -10px;
}

.ifs_social_Cloud:hover {
	width: 39px;
	height: 27px;
	background-position: -59px -10px;
}

.ifs_social_BC {
	width: 47px;
	height: 27px;
	background-position: -108px -10px;
}

.ifs_social_BC:hover {
	width: 47px;
	height: 27px;
	background-position: -165px -10px;
}

.ifs_social_Insta {
	width: 47px;
	height: 27px;
	background-position: -108px -10px;
}

.ifs_social_Insta:hover {
	width: 47px;
	height: 27px;
	background-position: -165px -11px;
}

.ifs_social_Youtube {
	width: 23px;
	height: 27px;
	background-position: -222px -10px;
}

.ifs_social_Youtube:hover {
	width: 23px;
	height: 27px;
	background-position: -255px -10px;
}

.ifs_social_twitter {
	width: 23px;
	height: 27px;
	background-position: -288px -10px;
}

.ifs_social_twitter:hover {
	width: 23px;
	height: 27px;
	background-position: -321px -10px;
}

.ifs_social_facewbook {
	width: 12px;
	height: 27px;
	background-position: -354px -10px;
}

.ifs_social_facewbook:hover {
	width: 12px;
	height: 27px;
	background-position: -376px -10px;
}

.ifs_social_Itunes {
	width: 60px;
	height: 27px;
	background-position: -398px -10px;
}

.ifs_social_Itunes:hover {
	width: 60px;
	height: 27px;
	background-position: -468px -10px;
}

/* Styles for partners */

.ifs-partners { background:url("../img/ifs-partners.png") top left no-repeat; text-indent: -9999px; text-align: center; display: block;  margin: 12px auto;}
.ifs_partners_Evans{ width:55px; height:19px; background-position:-20px -20px; }
.ifs_partners_Sabian{ width:50px; height:37px; background-position:-20px -59px; }
.ifs_partners_Diamond{ width:100px; height:24px; background-position:-20px -116px; }
.ifs_partners_Promark{ width:80px; height:21px; background-position:-20px -160px; }
.ifs_partners_Daddario{ width:100px; height:17px; background-position:-20px -201px; }
.ifs_partners_Gibson{ width:58px; height:37px; background-position:-20px -238px; }

/* TWITTER Style */
.twitterbox	{ position:relative;}
 
.box .date { position:absolute; right: 30px; bottom: 63px; color: #fff; font-size: .7em; text-transform:uppercase;}
#page .box a:link, #page .box a:hover, #page .box a:visited, #page .box a:active {color:#fff; text-transform: uppercase; text-decoration: none;}
#page .box a:link.tweet {color:#fff; text-transform: none; text-decoration: none;}


/* STYLES FOR PRESSKIT */

#presskit article section {width: 400px; float:left;}
#presskit p {text-align: left;}
#presskit article { background-image: none; }
/* ==========================================================================
   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.
   Theses 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; }
}
