/*
 * 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.
 */

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

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;
}
.clear
::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 {
	background: url(http://www.scottsboromusicallondon.com/img/fullbg.png) repeat 0 0;
	margin: 0;
}

body {
	background: url(http://www.scottsboromusicallondon.com/img/topbg.png) repeat-x 0 10px;
	margin: 0;
	font-family:"Clarendon URW Narrow Light", Clarendon, 'Century Schoolbook', 'Times New Roman', Times, serif;
	font-size-adjust:0.477;
	font-weight:200;
	font-style:normal;
	color:#fff;
}

a.img {
	border: 0;
}

header {
	text-align: center;
	height: 555px;
}

		header.new {
			text-align: center;
			height: 255px;
		}

#home header {
	height: 545px;
}

.wrap {
	width: 890px;
	margin: 0 auto;
	position: relative;
}

ul.mainmenu {
	font-size: 1em;
	height: 42px;
	background: url(http://www.scottsboromusicallondon.com/img/menubg.png) repeat-x 0 0;
	padding: 21px 0 0 0;
	margin: 0;
}

ul.mainmenu li {
	display: inline-block;
	padding: 0 0.7em;
	position: relative;
	text-transform: uppercase;
}

ul.mainmenu li a {
	color: #f8eed5;
	text-decoration: none;
	text-shadow: 1px 1px 1px #372112;
    filter: dropshadow(color=#372112, offx=1, offy=1);
}

ul.mainmenu li a:hover, ul.mainmenu li a.selected {
	color: #f4d015;
	text-decoration: none;
}



ul.mainmenu li:after {
	content: "";
	position:absolute;
	z-index: 1;
	top: 6px;
	right: -8px;
	width: 10px;
	height: 10px;
	background: transparent url(http://www.scottsboromusicallondon.com/img/navsplit.png) no-repeat 0 0;
}

ul.mainmenu li:last-child:after {
	background: none;
}

ul.footermenu {
}

ul.footermenu li {
	display: inline-block;
	padding: 0 10px;
	text-transform: uppercase;
}

ul.sociallarge {
	position: absolute;
	right: 15px;
	top: 6px;
	margin: 0;
	font-size: 0em;
}

ul.sociallarge li {
	display: inline-block;
	height: 24px;
}

ul.sociallarge li a {
	display: block;
	height: 0px;
	padding-top: 24px;
	overflow: hidden;
	background: transparent url(http://www.scottsboromusicallondon.com/img/socialsprite.png) no-repeat 0 0;
}

ul.sociallarge li a.twitter {
	width: 29px;
}

ul.sociallarge li a.facebook {
	width: 33px;
	background-position: -29px 0;
}

ul.sociallarge li a.youtubelink {
	width: 33px;
	background-position: -62px 0;
}

ul.sociallarge li a.pinterest {
	width: 27px;
	background-position: -95px 0;
}

ul.sociallarge li a:hover {
	opacity: 0.7;
}

.date {
    font-family: 'OswaldBold', Helvetica, Arial, sans-serif;
	color: #fcf0d0;
	position: absolute;
	left: -25px;
	top: 121px;
	text-transform: uppercase;
	font-weight: 200;
	font-size: 1em;
	line-height: 1em;
	/*font-size: 22px;
	line-height: 21px;*/
	letter-spacing: 0.1em;
	text-align: left;
	font-size-adjust:none;
}

	header.new .wrap .credit {
		color: #fcf0d0;
		position: absolute;
		left: 225px;
		top:88px;
		text-transform: uppercase;
		font-weight: 200;
		font-size: 1em;
		line-height: 1em;
		/*font-size: 22px;
		line-height: 21px;*/
		letter-spacing: 0.1em;
		text-align: left;
		font-size-adjust:none;
		padding-top:13px;
	}

	header.new .wrap ul.sociallarge {
		position: absolute;
		left: 185px;
		top: 127px;
		text-transform: uppercase;
		font-weight: 200;
		font-size: 1em;
		line-height: 1em;
		/*font-size: 22px;
		line-height: 21px;*/
		letter-spacing: 0.1em;
		text-align: left;
		font-size-adjust:none;
	}

	header.new .wrap .date {
		font-family: 'OswaldBold', Helvetica, Arial, sans-serif;
		color: #fcf0d0;
		position: absolute;
		left: 225px;
		top: 24px;
		text-transform: uppercase;
		font-weight: 200;
		font-size: 1em;
		line-height: 1em;
		/*font-size: 22px;
		line-height: 21px;*/
		letter-spacing: 0.1em;
		text-align: left;
		font-size-adjust:none;
	}

.date img {
	margin-top:2px;
	margin-bottom: 4px;
}

.phonenumber {
	color: #d5c8a6;
}

#hero {
	width: 473px;
	height: 901px;
	background: transparent url(http://www.scottsboromusicallondon.com/img/hero.jpg) no-repeat 0 0;
	position: absolute;
	top:10px;
	left: 10px;
}

#herofull {
	background: transparent url(http://www.scottsboromusicallondon.com/img/hero-full.jpg) no-repeat center 90px;
}

h1 {
	width: 424px;
	height: 329px;
	display: block;
	position: absolute;
	right: 0px;
	top: 11px;
	margin: 0;
	z-index:999;
}

h1 a {
	width: 424px;
	padding-top: 329px;
	height: 0;
	background: transparent url(http://www.scottsboromusicallondon.com/img/scottsboroboys-title-small.png) no-repeat 0 0;
	overflow: hidden;
	display: block;
}

		header.new h1 {
			width: 238px;
			height: 185px;
			display: block;
			position: absolute;
			right: -10px;
			top: 6px;
			margin: 0;
			z-index:999;
		}
		
		header.new h1 a {
			width: 238px;
			padding-top: 185px;
			height: 0;
			background: transparent url(http://www.scottsboromusicallondon.com/img/scottsboroboys-title-small-small.png) no-repeat 0 0;
			overflow: hidden;
			display: block;
		}

#home h1 {
	width: 471px;
	height: 362px;
	display: block;
	position: absolute;
	right: 0px;
	top: 87px;
	margin: 0;
	z-index:999;
}

#home h1 a {
	width: 471px;
	padding-top: 362px;
	height: 0;
	background: transparent url(http://www.scottsboromusicallondon.com/img/scottsboroboys-title.png) no-repeat 0 0;
	overflow: hidden;
	display: block;
}

h2 {
	width: auto;
	margin: 0;
	padding-top: 5px;
	font-size: 1.3em;
}

h3 {
	color: #ffda54;
	margin: 0 0 0.3em;
	font-weight: normal;
	font-size: 1.3em;
}

#reviews h3 {
	color: #efece6;
	margin: 0 0 1.5em;
}

h4, .orange {
	color: #BC7D34;
	font-weight: normal;
	margin: 0;
}

.yellow {
	color: #FFDA54;
}

h5 {
	font-size: 1em;
	margin: 0 0 1.5em 0;
	font-weight: normal;
}

p {
	margin: 0 0 1.5em;
	font-size: 1em;
	line-height: 1.5em;
}

p.intro {
	font-size: 1em;
}

p.small {
	font-size: 0.75em;
}

#home p.small {
	font-size: 0.65em;
	color: #efece6;
	padding-top: 5px;
}

#cast p.intro, #partners p.intro, #casting p.intro, #about p.intro {
	border: 1px solid #704e11;
	padding: 20px 30px;
	background: url(http://www.scottsboromusicallondon.com/img/fullbg.png) repeat 0 0;
	font-family:"Clarendon URW Regular", Clarendon, 'Century Schoolbook', 'Times New Roman', Times, serif;
}

#about p.intro, #casting p.intro {
	font-family:"Clarendon URW Narrow Light", Clarendon, 'Century Schoolbook', 'Times New Roman', Times, serif;
}

a {
	/* color: #538ec3; */
	color:#83B6E2;
	text-decoration : none;
}

a:hover {
	/*color: #284f8a;*/
	color: #538ec3;
}

hr {
	width: 890px;
	height: 7px;
	display: block;
	border: none;
	margin: 0;
	background: transparent url(http://www.scottsboromusicallondon.com/img/horizsplit.png) no-repeat 0 0;
}

header hr {
	position: absolute;
	top: 305px;
}

	header.new hr {
		position: absolute;
		top: 175px;
	}

#main hr {
	margin-top: 40px;
}

#home header hr {
	top: 345px;
}

a.booknow {
	background: transparent url(http://www.scottsboromusicallondon.com/img/booknow.png) no-repeat 0 0;
	width: 133px;
	height: 0;
	padding-top: 133px;
	display: block;
	overflow: hidden;
	position: absolute;
	top: 95px;
	left: -20px;
}

a.booknow:hover {
	opacity: 0.7;
}

#carousel-buy {
	width: 133px;
	height: 133px;
	position: absolute;
	top: 95px;
	left: -10px;
	overflow: hidden;
	background: transparent url(http://www.scottsboromusicallondon.com/img/buy.png) no-repeat 0 0;
}

#carousel-buy>div {
	height: 133px;
}



#extended-buy {
	width: 212px;
	height: 145px;
	position: absolute;
	top: 204px;
	left: -40px;
}


		header.new #extended-buy {
			width: 212px;
			height: 145px;
			position: absolute;
			top: 12px;
			left: -20px;
		}
		
		

#main {
	margin: 15px auto 0;
	width: 890px;
	/*position: relative;*/
}

.fb-like-box {
    clear: both;
    display: block;
    height: 600px;
    margin: 0;
    padding: 0;
    position: relative;
    width: 490px;
	z-index:900; 
	margin-top:25px;
	border: 1px solid #704e11;
	background-color: #fff;
}

#home #main {
	width: 890px;
	margin-bottom: 50px;
	background: transparent url(http://www.scottsboromusicallondon.com/img/vertsplit.png) repeat-y 370px 0;
}

	#home #main .home-left {
		width: 340px;
		
		float:left;
		clear:both;
		margin-top:600px;
	}

		#home #main .home-left ul.sociallarge {
			background:none;
			
			position: none;
			left:auto;
			right:auto;
			top:auto;
			
			margin:5px 0px 0px 106px;
			padding:0px 0px 0px 0px;
			font-size: 0em;
			
			float:left;
			clear:both;
		}

	#home #main .home-right {
		width: 480px;
		
		float:right;
		clear:none;
	}

#home #main p {
	margin: 0;
}

.tonys {
	width: 195px;
	padding-top: 86px;
	display: block;
	overflow: hidden;
	height: 0;
	background: transparent url(http://www.scottsboromusicallondon.com/img/12tonyawards.png) no-repeat 0 0;
	position: absolute;
	top: 80px;
	left: 200px;
}

#home .tonys {
	position: inherit;
	width: 195px;
	padding-top: 86px;
	display: block;
	overflow: hidden;
	height: 0;
	background: transparent url(http://www.scottsboromusicallondon.com/img/12tonyawards.png) no-repeat 0 0;
	float: left;
}

#carousel {
	position: absolute;
	left: 205px;
	top: 175px;	
	overflow: hidden;
	height: 90px;
	text-align: left;
}

#home #carousel {
	position: inherit;
	float: left;
	margin-left: 30px;	
}
	
#carousel>div
	{
	background-color: transparent;
	height: 90px;	
	}

#carousel p {
	color: #f8efd5;
	font-size: 1.5em;
	margin:0;
	text-transform: uppercase;
	line-height: 1em;
}

#carousel p.credit {
	font-size: 0.8em;
}


	

	#carousel-top {
		position: relative;
		
		margin:5px 0px 0px -30px;
		overflow: hidden;
		height: 120px;
		width:890px;
		text-align: center;
	}
	
		#home #carousel-top {
			position: inherit;
			float: left;	
		}
			
		#carousel-top>div {
			background-color: transparent;
			height: 120px;	
		}

		#carousel-top h2 {
			font-size:39px;
			line-height:43px;
			text-shadow: 1px 1px 1px #841013;
        	filter: dropshadow(color=#841013, offx=1, offy=1);
		}
		
			#carousel-top h2 span {
				font-size:15px;
				color:#FEC97A;
			}

		#carousel-top p {
			color:#F1E0C2;
		}
			
		
		.press-quote h2{
			font-size:39px;
			line-height:43px;
		}
		
			.press-quote h2 img{
				margin:0px 2px 10px;	
			}
		
		.press-quote p{
			color:#F1E0C2;
			font-size:18px;
		}
		
		
		

#home #main p.intro {
	margin: 20px 0;
	font-size: 1em;
}

#home #main span:first-child {
}



.credit  {
	font-family: 'OswaldBold', Helvetica, Arial, sans-serif;
    color: #FBEFCF;
    padding: 0px;
	height: auto;
	margin-bottom:15px;
color: #FBEFCF;
    letter-spacing: 0.1em;
    line-height: 1.15;
	font-size:18px;
    text-transform: uppercase;
}



#home #main span {
	color: #ffda54;
}

ul.tweet_list {
	margin: 25px 0;
	padding: 0;
	list-style: none;
	font-size: 0.75em;
}

ul.tweet_list li {
	float: left;
	width: 265px;
	padding-right: 45px;
	padding-bottom: 35px;
}

ul.tweet_list li:last-child {
	padding-right: 0px;
}



.lt-ie9 ul.tweet_list li {
	padding-right: 28px
}

ul.tweet_list li a {
	color: #538ec3;
	text-decoration: none;
}

.tweetpush {
	display: block;
	position: absolute;
	top: -6px;
	background: url(http://www.scottsboromusicallondon.com/img/fullbg.png) repeat 0 0;
	padding-right:10px;
}

.fbpush {
	margin-top: 30px;
}

footer {
	background-color: #0c0801;
	margin-top: 30px;
	padding-top: 20px;
	height: 170px;
}

ul.footermenu {
	margin: 0;
	padding: 0;
}

ul.footermenu li {
	display: inline-block;
	padding: 0 10px 0 0;
	text-transform: uppercase;
}

ul.footermenu li a {
	color: #f8eed5;
	text-decoration: none;
	font-size: 0.7em;
}

ul.footermenu li a:hover {
	color: #f4d015;
}

a.credits {
	height: 0px;
	padding-top: 28px;
	display: block;
	position: absolute;
	top: 0px;
	overflow: hidden;
}

a.credits.yv {
	background: url(http://www.scottsboromusicallondon.com/img/credits.png) repeat 0 0;
	width: 62px;
	right: 110px;
}

a.credits.ac {
	background: url(http://www.scottsboromusicallondon.com/img/credits.png) repeat -65px 0;
	width: 92px;
	right: 0px;
}

#contactform input#submit {
    background: url(http://www.scottsboromusicallondon.com/img/send.png) no-repeat 0 0;
    border: 0;
    float: left;
	width: 50px;
	height: 21px;
	margin-top:8px;
	margin-left: 5px;
}

#formarea {
	margin-top: 30px;
	float: left;
}

#formContainer p {
	float: left;
	color: #9f8468;
	text-transform: uppercase;
	font-size: 0.7em;
	padding-right: 10px;
	margin-top: 0.9em;
}

#formContainer input#email {
	background-color: #cbc7be;
	-webkit-border-radius: 3px;
	border-radius: 3px; 
	color:#372d1a;
	font-family:"Clarendon URW Narrow Light", Clarendon, 'Century Schoolbook', 'Times New Roman', Times, serif;
	font-size: 0.8em;
	border: none;
	margin-top:5px;
	padding: 5px;
    float: left;
	width: 200px;
}

ul.socialsmall {
	margin-top: 40px;
	margin-left: 40px;
    float: left;
	padding: 0;
	font-size: 0.5em;
}

ul.socialsmall li {
	display: inline-block;
	height: 18px;
}

ul.socialsmall li a {
	display: block;
	height: 0px;
	padding-top: 18px;
	overflow: hidden;
	background: transparent url(http://www.scottsboromusicallondon.com/img/socialsmall.png) no-repeat 0 0;
}

ul.socialsmall li a.twitter {
	width: 21px;
}

ul.socialsmall li a.facebook {
	width: 26px;
	background-position: -21px 0;
}

ul.socialsmall li a.youtubelink {
	width: 28px;
	background-position: -47px 0;
}

ul.socialsmall li a.pinterest {
	width: 26px;
	background-position: -75px 0;
}

ul.socialsmall li a:hover {
	opacity: 0.7;
}

.col {
	float: left;
	width: 410px;
	padding-right: 70px;
}

.col.right {
	padding-right: 0;
}

#cast #main div {
	margin-bottom: 15px;
}

#cast #main div img {
	float: left;
	margin: 0 20px 1.5em 0;
	border: 1px solid #4e3919;
	padding: 4px;
}

#cast #main figcaption {	
	font-size: 1em;
	line-height: 1.5em;
}

#gallery figure {
	width: 285px;
	float: left;
	margin: 0px 17px 20px 0;
}

.lt-ie9 #gallery figure {
	margin: 0px 11px 0 0;
}

/* #gallery figure:nth-child(3n+3), */
#gallery figure.last {
	margin: 0px 0px 0 0;
}

#gallery figure figcaption {
	font-size: 0.65em;
	color: #efece6;
	margin-top: 5px;
}

#gallery #main div {
	clear: left;
}

#gallery #main img {
	border: 1px solid #4e3919;
	padding: 4px;
}

#partners #main img {
	margin: 0 0px 0.5em 0;
	border: 1px solid #4e3919;
	padding: 4px;
}


.error {
	color: #f83232;	
	}
input.error::-webkit-input-placeholder, textarea.error::-webkit-input-placeholder {
	color: #f83232;	
}
input.error:-moz-placeholder, textarea.error:-moz-placeholder {
	color: #f83232;	
}
input.error::-moz-placeholder, textarea.error::-moz-placeholder {
	color: #f83232;	
}
input.error:-ms-input-placeholder, textarea.error:-ms-input-placeholder {
	color: #f83232;	
}


/* SLIDES */


/*
	Slideshow style
*/

#slides {
	width: 464px;
	height: 270px;
	z-index:900; 
	border: 1px solid #4e3919;
	padding: 4px;
	margin-top:35px;
}

/*
	Slides container
	Important:
	Set the width of your slides container
	If height not specified height will be set by the slide content
	Set to display none, prevents content flash
*/

.slides_container {
	width:464px;
	height: 270px;
	overflow:hidden;
	position:relative;
	display:none;
	margin: 0px auto;
}

/*
	Each slide
	Important:
	Set the width of your slides
	Offeset for the 20px of padding
	If height not specified height will be set by the slide content
	Set to display block
*/

#slides .slide {
	padding: 0;
	width: 464px;
	height: 270px;
	display:block;
}

/* temp home PR */

#temphome {
	width: 432px;
	z-index:900; 
	margin-top:25px;
	border: 1px solid #704e11;
	padding: 20px 30px;
	background: url(http://www.scottsboromusicallondon.com/img/fullbg.png) repeat 0 0;
}

#temphome p {
	padding: 0 0 10px;
}

/* Media Page */

	#cboxCurrent{ /* Hide image count */
		display:none !important;	
	}


/* Press Page */
.press-quotes{
	width:890px;
	height:auto;
	
	text-align:center;
}

	.press-quote{
	
	}

		.press-quote h2{
			font-size:37px;
	font-family:"Clarendon URW Narrow Light", Clarendon, 'Century Schoolbook', 'Times New Roman', Times, serif;
			line-height:41px;
		}
		
			.press-quote h2 img{
				margin:0px 2px 10px;	
			}
		
		.press-quote p{
			color:#F1E0C2;
			font-size:17px;
		}


/* FONTS */

 { font-family:"Clarendon URW Medium", Clarendon, 'Century Schoolbook', 'Times New Roman', Times, serif; font-size-adjust:0.477; font-weight:500; font-style:normal; }

h2 { font-family:"Clarendon URW Regular", Clarendon, 'Century Schoolbook', 'Times New Roman', Times, serif; font-size-adjust:0.477; font-weight:normal; font-style:normal; }

.narrowlight {
	font-family:"Clarendon URW Narrow Light", Clarendon, 'Century Schoolbook', 'Times New Roman', Times, serif;
	font-size-adjust:0.477;
	font-weight:200;
	font-style:normal;
	color:#fff;
}

@font-face {
    font-family: 'OswaldBold';
    src: url('http://www.scottsboromusicallondon.com/fonts/Oswald-Bold-webfont.eot');
    src: url('http://www.scottsboromusicallondon.com/fonts/Oswald-Bold-webfont.eot#iefix') format('embedded-opentype'),
         url('http://www.scottsboromusicallondon.com/fonts/Oswald-Bold-webfont.woff') format('woff'),
         url('http://www.scottsboromusicallondon.com/fonts/Oswald-Bold-webfont.ttf') format('truetype'),
         url('http://www.scottsboromusicallondon.com/fonts/Oswald-Bold-webfont.svg#OswaldBold') format('svg');
    font-weight: normal;
    font-style: normal;
}






/* ==========================================================================
   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: 100%;
}

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

.clear {
	clear: both;
}

/* ==========================================================================
   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 */
	/*.credit { font-size:0.09em;}*/
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
	/*.credit { font-size:0.09em;}*/
}

@media (max-width: 960px) {
               .credit { font-size:1em;}
 }

/* ==========================================================================
   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;
    }
}