/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html, body {
	width: 100%; height: 100%;
}

html,
button,
input,
select,
textarea {
    color: #222;
}

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

img {
    vertical-align: middle;
}

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

textarea {
    resize: vertical;
}

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


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

* { 
	margin:0; padding:0; 
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */}

body { 
	background: #111; 
	font-family: sans-serif;
	font-weight: 300;
}

img { 
	border:none; 
}

h1, h2, h3 {
	margin: 6px 0 6px 0;
}
h4, h5, h6, p, ul {
	margin: 0 0 12px 0;
}

/* font sizes */
p, ul, ol { font-size: 14px; }
h1 { font-size: 24px; }
h2 { font-size: 21px; }
h3 { font-size: 18px; }
h4 { font-size: 15px; }
h5 { font-size: 12px; }
h6 { font-size: 10px; }


ul {
	padding: 0;
	list-style: none;
}
ul li {
	list-style-image:url(../img/aro/li-full.png);
	list-style-position: inside;
}
.overzicht ul li {
	/* list-style-image:url(../img/aro/spexli-full.png); */
    list-style-image:url(../img/aro/li-222-full.png);
}
.overons ul li {
	list-style-image:url(../img/aro/li-222-full.png);
}
.overonsnav ul li, .contact ul li {
	list-style-image: none;
}


a {
	text-decoration: none;
}
.projecten a {
	color: #e87c30;
}
.projecten a:hover {
	color: #999;
}


/* struktuur ------------------------------------------------------- */
#content {
	position: absolute;
	width: 100%; height: 100%;
	z-index: 1;
}
.vertalign {
	display: block; float: left; width: 100%; height: 50%;
}
.maxwidth, .cleardiv {
	position: relative;
	clear: both;
	width: 100%; 
	margin: 0 auto;
}
.maxwidth {
	max-width: 1200px;
}
/* intro animatie ------------------------------------------------------- */
#intro {
	position: absolute;
	left:0; top:0; width: 100%; height: 100%;
	background: rgba(255,255,255,1);
	z-index: 10;
}
.introtext {
	clear: both; width: 100%; max-width: 700px; margin: 0 auto; text-align: center;
}
.introtext span {
	font-size: 24px;
	line-height: 24px;
	color: #222;
	display: none;
}
.intro-idealogo {
	display: block;
	float: right;
	width: 105px; height: 128px; 
	margin: -109px 0 0 16px;
	background: url(../img/branding/idealogo.png) no-repeat;
}

/* header ------------------------------------------------------- */
#topper-headon {
	position: fixed;
	top: 10px;
	width: 100%;
	padding: 0 20px;
	z-index: 100;
}
/* SITE TITLE nieuw logo */
.site-title {
	display: block;
	float: left;
	width: 360px; height: 96px;
	background: url(../img/branding/idealogo_nw.png);
	margin: 0px;
}
/* .site-title {
	width: 400px;  
	margin: 0;
	color: #fff;
	text-shadow: 2px 2px 3px rgba(0,0,0,0.45);
	text-transform: uppercase;
	vertical-align: bottom;
	font-size: 30px; line-height: 26px;
	font-weight: 500;
}
.site-title strong {
	font-weight: 500;
}*/

/* navigatie ------------------------------------------------------- */
#topmenu {
	position: absolute;
	right: 20px; top: 0;
	-webkit-box-shadow:  2px 2px 4px 0px rgba(0, 0, 0, 0.5);
	box-shadow:  2px 2px 4px 0px rgba(0, 0, 0, 0.5);}
#topmenu ul {
	list-style: none;
	font-size: 14px;
	font-weight: 600;
	margin: 0;
}
#topmenu li {
	list-style-image: none;
}
#topmenu ul li {
	position: relative;
	float: left;
}
#topmenu a {
	display: block;
	line-height: 24px;
	padding: 2px 20px 0 20px;
	text-decoration: none;
	border-left: 1px dotted #999;
	background: rgba(255,255,255,1);
	color: #333;
}
#topmenu li:first-child a, #topmenu ul ul a {
	border-left: none;
}
#topmenu .start_topmenu a:hover {
	color: #01A5B1;
}
.start #topmenu .start_topmenu a {
	background: #01A5B1;
	color: #fff;
}
.start #topmenu .start_topmenu a:hover {
	color: #ccc;
}
#topmenu .projecten_topmenu a:hover {
	color: #e87c30;
}
.projecten #topmenu .projecten_topmenu a {
	background: #e87c30;
	color: #fff;
}
.projecten #topmenu .projecten_topmenu a:hover {
	color: #ccc;
}
#topmenu .overons_topmenu a:hover {
	color: #9c3;
}
.overons #topmenu .overons_topmenu a {
	background: #9c3;
	color: #fff;
}
.overons #topmenu .overons_topmenu a:hover {
	color: #ccc;
}
#topmenu .contact_topmenu a:hover {
	color: #6390b4;
}
.contact #topmenu .contact_topmenu a {
	background: #6390b4;
	color: #fff;
}

#topmenu ul ul {
	display: none;
	position: absolute;
	left: 0; top: 26px;
	width: 120px;
	border-left: 1px solid #fff;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
	-webkit-border-radius: none;
	border-radius: none; 
	font-weight: 300;
}
#topmenu .overons_topmenu ul {
	width: 160px;
}
#topmenu ul li:hover > ul {
	display: block;
}
#topmenu ul ul li {
	float: left;
}
#topmenu ul ul a, 
#topmenu .projecten_topmenu ul a, .projecten #topmenu .projecten_topmenu ul a,
#topmenu .overons_topmenu ul a, .overons #topmenu .overons_topmenu ul a {
	background: rgba(0,0,0,0.7);
	color: #fff;
	width: 118px;
	-webkit-border-radius: 0px 0px 0px 0px;
	border-radius: 0px 0px 0px 0px; 
}
#topmenu .overons_topmenu ul a, .overons #topmenu .overons_topmenu ul a  {
	width: 158px;
}
.projecten #topmenu .projecten_topmenu ul a:hover {
	color: #e87c30;
}
.overons #topmenu .overons_topmenu ul a:hover {
	color: #9c3;
}

/* startpagina ------------------------------------------------------- */
.start .vertalign,
.projecten .vertalign,
.overons .vertalign {
	margin: -160px 0 0 0;
}
.start #content, .start2 #content {
	width: 1px;
}
#starttext {
	display: block;
	position: relative;
	width: 550px;
	background: rgba(0,0,0,0.7);
	color: #fff;
	padding: 30px 40px 20px 60px;
	border-top: 1px solid #fff;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
}
.closer {
	position: absolute;
	top: 0; right: 0;
	width: 30px; height: 30px;
	background: #000 url(../img/supersized/back.png) center no-repeat;
}
.opener {
	display: none;
	position: absolute;
	top: 0; left: 0;
	width: 30px; height: 30px;
	background: #000 url(../img/supersized/forward.png) center no-repeat;
	border-top: 1px solid #fff;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
}

/* project ------------------------------------------------------- */
.projecten #starttext {
	width: 400px;
}
#projecttext, #alleprojectentext, #contacttext {
	position: fixed;
	left: 0; bottom: 0px; width: 100%; 
	background: #fff;
	background: rgba(255,255,255,1);
	border-left: 24px solid #e87c30;
	padding: 10px 20px;
	z-index: 100;
}
#projecttext, #contacttext {
	min-height: 20%;
}
#alleprojectentext {
	min-height: 50%;
}
.omschrijving {
	display: block;
	width: 50%;
	margin: 0 5% 0 0;
	float: left;
}
/* Projecten H4 onder class omschrijving */
.omschrijving h4 {
    color: #e87c30;
}

.spex {
	display: block;
	width: 30%;
	float: left;
	padding: 12px 0 0 0;
}
.spex li {
	list-style-image:url(../img/aro/spexli.png);
}
.spex li.ja {
	list-style-image:url(../img/aro/spexli-full.png);
}
.spex li.extra {
	/* list-style-image:url(../img/aro/spexli-extra.png); */
    padding: 14px 0 0 0;
    list-style-image: none;
}
.alle-link {
	display: block;
	float: right;
	text-align: right;
	font-weight: 600;
	font-size: 14px;
	padding: 12px 0 12px 14px;
	background:url(../img/aro/project-aro.png) 0 15px no-repeat;
}
.alle-link:hover {
	background:url(../img/aro/aro-over.png) 0 15px no-repeat;
}

#alleprojectentext div {
	float: left;
	width: 33%;
	padding: 0 20px 0 0;
}
/* extra omschrijving ul li links omkleuren bij Alle Projecten  */
#alleprojectentext li a {
	color: #333;
}
#alleprojectentext a:hover, #alleprojectentext li a.this {
	color: #e87c30;
}
/* eind */
.projecten_topmenu ul a.active {
	color: #e87c30!important;
}

/* overons ------------------------------------------------------- */
.overons #content {
	right: 0; top: 0;
	width: 57%;
	background: #fff;
	overflow: hidden;
}
.overonsnav {
	position: absolute;
	left: 0; top: 0; height: 150px;
	border-left: 24px solid #9c3;
	padding: 60px 0 0 16px;
	text-transform: uppercase;
}
.overonsnav ul {
	position: absolute;
	bottom: 0;
	line-height: 30px;
	margin: 0 0 -10px 0;
}
.overonsnav li {
	list-style-image: none;
	font-weight:600;
}
.overonsnav li:after {
	content: 'IDEA';
	color: #999;
	padding: 0 0 0 8px;
}
.overonsnav li a {
	color: #333;
}
.overonsnav li a:hover, .overonsnav li a.this {
	color: #9c3;
}

.overonstext {
	position: absolute;
	left: 0; top: 150px; right: 0; bottom: 0;
	background: #fff;
}
.overonstext h4, .overonstext p {
}

.scroll-pane {
	position: relative;
	width: 86%; height: 90%;
	max-width: 600px;
	margin: 30px 40px;
	padding: 0 20px 0 0;
	overflow: auto;
}

.overons_topmenu ul a.active {
	color: #9c3!important;
}
/* groene h3 */
.overonstext h3 {
	/* color: #e87c30; oranje */
    color: #9c3;
}

/* contact ------------------------------------------------------- */
#contacttext {
	border-left: 24px solid #6390b4;
	padding: 20px 0 30px 0;
}
.contact .idealogo {
	display: block;
	float: left;
	width: 106px; height: 128px;
	background: url(../img/branding/idealogo.png);
	margin: 0px 40px 0 50px;
}
#contacttext ul {
	display: block;
	float: left;
	width: 240px;
	line-height: 28px;
	margin: -6px 0 0 0;
}
#contacttext ul a {
	color: #222;
}
#contacttext ul a:hover {
	color: #6390b4;
}
.route-inzet {
	display: block;
	float: left;
	width: 225px; height: 126px;
	background: url(../img/branding/route-inzet.png);
	margin: 0px 40px 0 0px;
}
.route-inzet:hover {
	zoom: 1;
	filter: alpha(opacity=70);
	opacity: 0.7;
}
.route-download {
	float: left;
	padding: 0 0 0 14px;
	margin: -4px 0 0 0;
	font-size: 14px;
	background: url(../img/aro/contact-aro.png) 0 6px no-repeat;
	color: #6390b4;
}
.route-download strong {
	font-weight: normal;
	font-size: 16px;
}
.route-download:hover {
	color: #2e5f87;
	background: url(../img/aro/contact-aro-over.png) 0 6px no-repeat;
}
.route-overlay {
	display: none;
	position: fixed;
	width: 100%; height: 100%;
	z-index: 100;
}
.route-overlay .image-holder {
	position: absolute;
	width: 100%; height: 100%;
	text-align: center;
}
.route-overlay .image-holder img {
	max-width: 80%;
	max-height: 90%;
	width: auto; height: auto;
	margin: 2.5% auto 0 auto;
	-webkit-box-shadow: 8px 8px 24px 0px rgba(0, 0, 0, 0.5);
	box-shadow: 8px 8px 24px 0px rgba(0, 0, 0, 0.5); 
}
.route-overlay .image-holder img:after {
	content:'';
	position: absolute;
	right: 10px; top: 10px;
	width: 14px; height: 14px;;
	background: url(../img/aro/contact-close.png);
	z-index: 101;
}

/*
	Supersized - Fullscreen Slideshow jQuery Plugin
	Version : 3.2.7
	Site	: www.buildinternet.com/project/supersized
	
	Author	: Sam Dunn
	Company : One Mighty Roar (www.onemightyroar.com)
	License : MIT License / GPL License
*/

#supersized-wrapper {
	/*display: none;*/
}
.overons #supersized-wrapper { position: absolute; left: 0; top: 0; width: 40%; height: 100%; }

	#supersized-loader { position:absolute; top:50%; left:50%; z-index:0; width:60px; height:60px; margin:-30px 0 0 -30px; text-indent:-999em; background:url(../img/supersized/progress.gif) no-repeat center center;}
	
	/* Z-INDEX #supersized z-index:-999; z-index aangepast */
	#supersized {  /*display:none;*/ position:fixed; left:0; top:0; overflow:hidden; z-index: 0; height:100%; width:100%; }
	.overons #supersized { width: 43%; }
		#supersized img { width:auto; height:auto; position:relative; display:none; outline:none; border:none; }
			#supersized.speed img { -ms-interpolation-mode:nearest-neighbor; image-rendering: -moz-crisp-edges; }	/*Speed*/
			#supersized.quality img { -ms-interpolation-mode:bicubic; image-rendering: optimizeQuality; }			/*Quality*/
		
		#supersized li { display:block; list-style:none; z-index:-30; position:fixed; overflow:hidden; top:0; left:0; width:100%; height:100%; background:#111; }
		#supersized a { width:100%; height:100%; display:block; }
			#supersized li.prevslide { z-index:-20; }
			#supersized li.activeslide { z-index:-10; }
			#supersized li.image-loading { background:#111 url(../img/supersized/progress.gif) no-repeat center center; width:100%; height:100%; }
				#supersized li.image-loading img{ visibility:hidden; }
			#supersized li.prevslide img, #supersized li.activeslide img{ display:inline; }

/*
	Supersized - Theme : Shutter 1.2
	Author : Sam Dunn / Tweaked by GRAFX MFG
*/

	/* Controls Bar
	----------------------------*/
	#controls-wrapper { margin:0 auto; height:33px; width:100%; bottom:0px; left:0; z-index:4; position:fixed; font-size: 12px; }
	.pad { padding: 33px 0 0 0; } .nopad { padding: 0; }
		#controls { overflow:hidden; height:100%; position:relative; text-align:left; z-index:5; background:url(../img/supersized/nav-bg.png) repeat-x; }
			#slidecounter { float:left; color:#999; text-shadow:#000 0 -1px 0; margin:0px 10px 0 15px; line-height:30px; display: none; }
			#slidecaption { overflow:hidden; float:left; color:#FFF; text-shadow:#000 1px 1px 2px; margin:0 20px 0 20px; line-height:30px; }
			
			#navigation { float:right; margin:0px 20px 0 0; }
				#play-button{ float:left; margin-top:1px;border-right:1px solid #333; background:url(../img/supersized/bg-hover.png) repeat-x 0 44px; }
					#play-button:hover{ background-position:0 1px; cursor:pointer; }
				
				#prevslide, #nextslide{ position:absolute; height:43px; width:43px; top:50%; margin-top:-21px; opacity:0.6; z-index: 2; }
					#prevslide{ left:10px; background:url(../img/supersized/back.png) center no-repeat; }
					#nextslide{ right:10px; background:url(../img/supersized/forward.png) center no-repeat; }
						#prevslide:active, #nextslide:active{ margin-top:-19px; }
						#prevslide:hover, #nextslide:hover{ cursor:pointer; }
				
				ul#slide-list{ padding:9px 0; float:left; position:absolute; left:50%; margin: 0; }
					ul#slide-list li{ list-style:none; width:12px; height:12px; float:left; margin:0 5px 0 0; }
						ul#slide-list li.current-slide a, ul#slide-list li.current-slide a:hover{ background-position:0 0px; }
						ul#slide-list li a{ display:block; width:12px; height:12px; background:url(../img/supersized/nav-dot.png) no-repeat 0 -24px; text-indent: -9999px; }
							ul#slide-list li a:hover{ background-position:0 -12px; cursor:pointer; }
				
				#tray-button{ float:right; margin-top:1px; border-left:1px solid #333; background:url(../img/supersized/bg-hover.png) repeat-x 0 44px; }
					#tray-button:hover{ background-position:0 1px; cursor:pointer; }
		
	
	/* Progress Bar
	----------------------------*/					
	#progress-back{ z-index:5; position:fixed; bottom:0px; left:0; height:3px; width:100%; background:#111; /*background:rgba(0,0,0,0.8);*/ }
		#progress-bar{ position:relative; height:0px; width:100%; background:url(../img/supersized/progress-bar.png) repeat-x; }

.project #progress-back { display: none!important; }	
	
	/* Thumbnail Navigation
	----------------------------*/	
	#nextthumb,#prevthumb { z-index:2; display:none; position:fixed; bottom:61px; height:75px; width:100px; overflow:hidden; background:#ddd; border:1px solid #fff; -webkit-box-shadow:0 0 5px #000; }
		#nextthumb { right:12px; }
		#prevthumb { left:12px; }
			#nextthumb img, #prevthumb img { width:150px; height:auto;  }
			#nextthumb:active, #prevthumb:active { bottom:59px; }
			#nextthumb:hover, #prevthumb:hover { cursor:pointer; }
	
	
	/* Thumbnail Tray
	----------------------------*/			
	#thumb-tray{ position:fixed; z-index:3; bottom:33px; left:0; background:rgba(0,0,0,0.4); height:96px; width:100%; overflow:hidden; text-align:center; -moz-box-shadow: 0px 0px 4px #000; -webkit-box-shadow: 0px 0px 4px #000; box-shadow: 0px 0px 4px #000; border-top: 1px solid #fff; border-bottom: 1px solid #fff; margin: 2px 0 0 0; }
		
		#thumb-back, #thumb-forward{ position:absolute; z-index:5; bottom:0px; height:94px; width:40px; }
			#thumb-back{ left:0; background: url(../img/supersized/thumb-back.png) no-repeat center center;}
			#thumb-forward{ right:0; background:url(../img/supersized/thumb-forward.png) no-repeat center center;}
				#thumb-back:hover, #thumb-forward:hover{ cursor:pointer; background-color:rgba(256,256,256, 0.1); }
					#thumb-back:hover{ border-right:1px solid rgba(256,256,256, 0.2); }
					#thumb-forward:hover{ border-left:1px solid rgba(256,256,256, 0.2); }
		
		
		ul#thumb-list{ display:inline-block; list-style:none; position:relative; left:0px; padding:0 0px; margin: 0; }
			ul#thumb-list li{ background:#111; list-style:none; display:inline; width:150px; height:94px; overflow:hidden; float:left; margin:0; }
				ul#thumb-list li img { width:150px; height:auto; opacity:0.5; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)"; filter:alpha(opacity=60); -webkit-transition: all 100ms ease-in-out; -moz-transition: all 100ms ease-in-out; -o-transition: all 100ms ease-in-out; -ms-transition: all 100ms ease-in-out; transition: all 100ms ease-in-out; }
				ul#thumb-list li.current-thumb img, ul#thumb-list li:hover img{ opacity:1; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter:alpha(opacity=100); }
				ul#thumb-list li:hover{ cursor:pointer; }

/* supersized site specific -------------------------------------------------- */
.project #supersized, .contact #supersized {
	height: 80%;
}
.overzicht #supersized {
	height: 50%;
}

/*
 * CSS Styles that are needed by jScrollPane for it to operate correctly.
 *
 * Include this stylesheet in your site or copy and paste the styles below into your stylesheet - jScrollPane
 * may not operate correctly without them.
 */

.jspContainer
{
	overflow: hidden;
	position: relative;
}

.jspPane
{
	position: absolute;
}

.jspVerticalBar
{
	position: absolute;
	top: 0;
	right: 0;
	width: 16px;
	height: 100%;
	background: red;
}

.jspHorizontalBar
{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 16px;
	background: red;
}

.jspVerticalBar *,
.jspHorizontalBar *
{
	margin: 0;
	padding: 0;
}

.jspCap
{
	display: none;
}

.jspHorizontalBar .jspCap
{
	float: left;
}

.jspTrack
{
	background: #dde;
	position: relative;
}

.jspDrag
{
	background: #bbd;
	position: relative;
	top: 0;
	left: 0;
	cursor: pointer;
}

.jspHorizontalBar .jspTrack,
.jspHorizontalBar .jspDrag
{
	float: left;
	height: 100%;
}

.jspArrow
{
	background: #50506d;
	text-indent: -20000px;
	display: block;
	cursor: pointer;
}

.jspArrow.jspDisabled
{
	cursor: default;
	background: #80808d;
}

.jspVerticalBar .jspArrow
{
	height: 16px;
}

.jspHorizontalBar .jspArrow
{
	width: 16px;
	float: left;
	height: 100%;
}

.jspVerticalBar .jspArrow:focus
{
	outline: none;
}

.jspCorner
{
	background: #eeeef4;
	float: left;
	height: 100%;
}

/* Yuk! CSS Hack for IE6 3 pixel bug :( */
* html .jspCorner
{
	margin: 0 -3px 0 0;
}

/* scroll-pane site specific -------------------------------------------------- */
.jspVerticalBar, .jspVerticalBar .jspDrag {
    background: none repeat scroll 0 0 transparent;
    border-radius: 4px 4px 4px 4px;
    overflow: hidden;
    width: 8px;
}
.jspVerticalBar .jspTrack {
    background: none repeat scroll 0 0 #CCCCCC;
}
.jspVerticalBar .jspDrag {
    background: none repeat scroll 0 0 #9c3;
}








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

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

}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {

}

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

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

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