/*@import url(http://fonts.googleapis.com/css?family=Cuprum:400,700&subset=latin,latin-ext);*/
@import url(font/stylesheet.css);

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

body {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #e6bda1;
    text-shadow: none;
}

::selection {
    background: #e6bda1;
    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;
}

*, *:before, *:after 	{ 
	-webkit-box-sizing: border-box; 
	-moz-box-sizing: border-box; 
	-ms-box-sizing: border-box; 
	box-sizing: border-box; 
}

* { font-family: 'cuprum', sans-serif; }

body {
	background:url(/img/back.png) top left #754426;
	background-repeat:repeat-x;
}

.container {
	min-width:1000px;
	max-width:1350px;
	width:85%;
	margin-left:auto;
	margin-right:auto;
	height:200px;
	position:relative;
}
.lang {
	position:absolute;
	right:0;
	top:30px;
}
.headerbox {
	width:100%; 
	height:280px;
	background:#c79077;
	position:relative;
	float:left;
	/*overflow:hidden;*/
	margin-top:60px;
	-webkit-box-shadow: 0 5px 15px rgba(0,0,0,0.41);
	-moz-box-shadow: 0 5px 15px rgba(0,0,0,0.41);
	box-shadow: 0 5px 15px rgba(0,0,0,0.41);
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
}

.logotop {
	position:absolute;
	left:0;
	top:-15px;
	width:34%;
	min-width:366px;
	height:276px;
	background:url(/img/logotop.png);
	background-repeat:no-repeat;
	background-position:center;
	z-index:10;
	
}

.topimg_st {
	height:100%;
	display:block;
	float:left;
	position:absolute;
	left:34%;
	height:280px;
	width:66%;
}

.topimg_st span {
	position:absolute;
	right:0;
	height:70px;
	width:50%;
	top:0;
	text-align:center;
	display:table;
	z-index:90;
	cursor:pointer;
	background-image: -webkit-gradient(
		linear,
		left top,
		left bottom,
		color-stop(0, #F9F2ED),
		color-stop(1, #E5D9CD)
	);
	background-image: -o-linear-gradient(bottom, #F9F2ED 0%, #E5D9CD 100%);
	background-image: -moz-linear-gradient(bottom, #F9F2ED 0%, #E5D9CD 100%);
	background-image: -webkit-linear-gradient(bottom, #F9F2ED 0%, #E5D9CD 100%);
	background-image: -ms-linear-gradient(bottom, #F9F2ED 0%, #E5D9CD 100%);
	background-image: linear-gradient(to bottom, #F9F2ED 0%, #E5D9CD 100%);
	-webkit-transition:all 0.2s ease-in-out;
	-moz-transition:all 0.2s ease-in-out;
	-o-transition:all 0.2s ease-in-out;
	-ms-transition:all 0.2s ease-in-out;
	transition:all 0.2s ease-in-out;
	background-size:1px 70px;  
}
.topimg_st span.hover {
	/*//padding:0 15px;
	//width:calc(50% + 30px);
	backgorund-position:0 50px;
	background-size:1px 100px;  
	background-color:#c4490f;*/
}

.topimg_st span:before {
	content: ' ';
	background-color:#c4490f;
	position:absolute;
	left:30px;
	top:0;
	width:calc( 100% - 30px );
	height:100%;
	z-index:1;
	opacity:0;
	-webkit-transition:all 0.2s ease-in-out;
	-moz-transition:all 0.2s ease-in-out;
	-o-transition:all 0.2s ease-in-out;
	-ms-transition:all 0.2s ease-in-out;
	transition:all 0.2s ease-in-out;

}
.topimg_st span.hover:before {
	opacity:0.5;
	left:0;
	width:100%;
}

.topimg_st span[data-headind="1"]:before {
	-webkit-border-top-right-radius: 20px;
	-moz-border-radius-topright: 20px;
	border-top-right-radius: 20px;
}
.topimg_st span[data-headind="4"]:before {
	-webkit-border-bottom-right-radius: 20px;
	-moz-border-radius-bottomright: 20px;
	border-bottom-right-radius: 20px;
}


.topimg_st span p {
	margin:0;
	display:table-cell;
	vertical-align:middle;
	font-size:22px;
	line-height:1;
	padding:0 15px;
	color:#190800;
	z-index:99;
}
span[data-headind="1"] { 
	top: 0; 
	-webkit-border-top-right-radius: 20px;
	-moz-border-radius-topright: 20px;
	border-top-right-radius: 20px;
}
span[data-headind="2"] { top: 70px; }
span[data-headind="3"] { top: 140px; }
span[data-headind="4"] { 
	top: 210px; 
	-webkit-border-bottom-right-radius: 20px;
	-moz-border-radius-bottomright: 20px;
	border-bottom-right-radius: 20px;
}


.timg {
	width:50%;
	height:100%;
	background-position:center;
	background-size:cover;
	background-repeat:no-repeat;
	position:relative;
	overflow:hidden;
}
/*
.topimg:nth-child(1) {	width:20%;	padding-left:16px;	}
.topimg:nth-child(2) {	width:30%;						}
.topimg:nth-child(3) {	width:30%;						}
.topimg:nth-child(4) {	width:20%;	padding-right:16px;	}
*/
.topimg_st:nth-child(2) .timg { background-image:url(/dane/head/1.jpg); display:block;}
.topimg_st:nth-child(3) .timg { background-image:url(/dane/head/2.jpg); display:none;}
.topimg_st:nth-child(4) .timg { background-image:url(/dane/head/3.jpg); display:none;}
.topimg_st:nth-child(5) .timg { background-image:url(/dane/head/4.jpg); display:none;}

.starrow {
	width:100%;
	height:100%;
	position:absolute;
	left:-30px;
	top:0;
	opacity:0;
	background:url(/img/orangearrow.png) no-repeat;
	background-position: -0 center;
	-webkit-transition:all 0.2s ease-in-out;
	-moz-transition:all 0.2s ease-in-out;
	-o-transition:all 0.2s ease-in-out;
	-ms-transition:all 0.2s ease-in-out;
	transition:all 0.2s ease-in-out;
}

.targeo {
	/*width:45%;
	max-width:45%;*/
	overflow:hidden;
	padding-left:5%;
}

.tover {
	position:absolute;
	width:101%;
	height:42%;
	top:29%;
	background:white;
	opacity:0;
	-webkit-transition:all 0.5s ease-in-out;
	-moz-transition:all 0.5s ease-in-out;
	-o-transition:all 0.5s ease-in-out;
	-ms-transition:all 0.5s ease-in-out;
	transition:all 0.5s ease-in-out;
	cursor:pointer;
	display:table;
	background:white;
}

a {
	color:inherit;
}


.tover p {
	display:table-cell;
	vertical-align:middle;
	padding: 0 5%;
	font-size:18px;
	color:#362012;
	font-weight:700;
	text-align:center;
	letter-spacing:-1px;
	text-shadow:0 2px 4px rgba(0,0,0,0.2);
}

.topimg_st span.hover .starrow {
	left:-60px;
	opacity:0.5;
}



.content {
	display:block;
	float:left;
	margin-top:40px;
	width:100%;
	height:auto;
	margin-bottom:60px;
}

.left, .right {
	display:block;
	float:left;
	width:20%;
}

.main {
	background-color:#fff;
	width:60%;
	height:auto;
	display:block;
	float:left;
	color:#312215;
	min-height:1160px;
}
.main .margin {
	margin:30px;
}

.box {
	width:100%;
	height:auto;
	float:left;
	background:#ebd4c2;
	color:#cc9571;
	overflow:hidden;
	margin-bottom:35px;
}

.left .box {
	-webkit-border-top-left-radius: 20px;
	-moz-border-radius-topleft: 20px;
	border-top-left-radius: 20px;
	-webkit-border-bottom-left-radius: 20px;
	-moz-border-radius-bottomleft: 20px;
	border-bottom-left-radius: 20px;
}
.right .box {
	-webkit-border-top-right-radius: 20px;
	-moz-border-radius-topright: 20px;
	border-top-right-radius: 20px;
	-webkit-border-bottom-right-radius: 20px;
	-moz-border-radius-bottomright: 20px;
	border-bottom-right-radius: 20px;
}

.box .title {
	height:67px;
	width:100%;
	overflow:hidden;
	text-align:center;
	font-weight:700;
	line-height:2.6;
	font-weight:bold;
	font-size:28px;
	background:#c4490f;
	color:white;
}
.box .title.min {
	padding-top:6px;
	font-size:22px;
}

.box p {
	padding:5px 20px;
	font-weight:700;
}

.submenu {
	width:100%;
	height:auto;
	padding:0;
	margin:10px 0 20px 0;
	text-indent:0;
	list-style-position:inside;
	color:#c4490f;
}
.submenu a {
	text-decoration:none;
	padding-left:10px;
}
.submenu>li {
	font-size:22px;
	margin:0;
	padding:10px 0 5px 20px;
	text-align:left;
	list-style-image:url(/img/sq.png);
	cursor:pointer;
	opacity:0.5;
}
.submenu>li:hover {
	opacity:1;
}


.main .title {
	font-size:28px; 
	color:#8b6441;
	font-weight:700;
	margin-bottom:15px;
	float:left;
	width:100%;
}
.main .subtitle {
	font-size:20px; 
	color:#8b6441;
	font-weight:700;
	margin-bottom:15px;
	margin-top:35px;
	float:left;
	width:100%;
}

.main p {
	width:91%;
	text-align:justify;
	line-height:1.35;
	text-indent:25px;
}


.main p.col span {
	text-indent:25px;
	float:left;
}
	
hr {
	background-color:#8b6441;
	border:none;
	height:1px; 
	width:70%;
	margin-bottom:40px;
	margin-right:30%;
	float:left;
	opacity:0.4;
}
	

.post {
	width:100%;
	height:auto;
	margin-bottom:45px;
	display:block;
	float:left;
	clear:both;
	position:relative;
}
.post .foto {
	display:block;
	float:left;
	margin-left:4%;
	width:20%;
	height:100%;
	position:absolute;
}
.post .foto img {
	padding:5px;
	outline:1px solid #bbb;
	margin-top:3px;
	background:rgba(255,255,255,0.5);
	width:100%;
}
.post .foto img:hover {
	background:rgba(255,255,255,1);
}
.post .text {
	display:block;
	float:left;
	line-height:1.45;
	width:60%;
	margin-left:31%;
	text-align:justify;
}
.post .text .update {
	float:left;
	clear:both;
	width:100%;
	font-size:11px;
	opacity:0.5;
}	

.stopka {
	width:100%;
	padding:20px;
	background:#271a12;
	display:block;
	float:left;
	color:white;
	text-align:center;
}
.stopka span {
	margin:0 5px;
}

.facebook {
	float:left;
	margin-bottom:15px;
}
	

.main>a, .post .text a {
	font-weight:bold;
	color:inherit;
	padding:1px 4px;
	background:rgba(0,0,0,0.1);
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: 0 2px 1px rgba(0,0,0,0.41);
	-moz-box-shadow: 0 2px 1px rgba(0,0,0,0.41);
	box-shadow: 0 2px 1px rgba(0,0,0,0.41);
	position:relative;
	top:-1px;
	text-decoration:none;
	transition: 0.2s;
	-moz-transition: 0.2s; /* Firefox 4 */
	-webkit-transition: 0.2s; /* Safari and Chrome */
	-o-transition: 0.2s; /* Opera */
}
.main>a:hover, .post .text a:hover {
	top:0px;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	background:rgba(0,0,0,0.2);
}



.grupa_projektow {
	width:100%;
	display:block;
	float:left;
}


.grupa_projektow .projekty {
	display:block;
	float:left;
	background-color:#d7c0b0;
}
.grupa_title {
	display:block;
	float:left;
	padding:5px 20px 2px 20px;
	color:#8b6441;
	-webkit-border-top-left-radius: 10px;
	-webkit-border-top-right-radius: 10px;
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-topright: 10px;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	margin-right:10px;
	cursor:pointer;
	margin-top:13px;
	background-color:#d7c0b0;
	opacity:0.6;
}
.grupa_title.active {
	background-color:#d7c0b0;
	opacity:1;
	margin-top:0px;
	padding:10px 20px 10px 20px;
}

.grupa_title strong {
	color:black;
}
.title strong {
	color:black;
	opacity:0.85;
	margin-left:6px;
}
.projekty {
	width:100%;
	padding:10px;
}
.projekt {
	width:30%;
	margin:1%;
	float:left;
	-webkit-transition:all 0.2s ease-in-out;
	-moz-transition:all 0.2s ease-in-out;
	-o-transition:all 0.2s ease-in-out;
	-ms-transition:all 0.2s ease-in-out;
	transition:all 0.2s ease-in-out;
	cursor:pointer;
}
.projekt:hover {
	-webkit-box-shadow: 0 0 13px 2px rgba(255,255,255,1);
	-moz-box-shadow:  0 0 13px 2px rgba(255,255,255,1);
	box-shadow: 0 0 13px 2px rgba(255,255,255,1);
}

.projekt img {
	width:100%;
	border:1px solid rgba(0,0,0,0.4);
}
.projekt .podpis {
	background-color:#a99284;
	padding:1px 4px;
	font-weight:bold;
	font-size:13px;
	display:block;
	float:left;
	width:100%;
	position:relative;
}
.projekt .podpis span {
	float:right;
	position:absolute;
	right:2px;
	font-weight:bold;
	background-color:#a99284;
}

.grafika {
	margin:20px 0;
	display:block;
	float:left;
	width:100%;
	text-align:center;
}
.grafika .thumb {
	padding:5px; 
	background:rgba(255,255,255,0.5);
	outline:1px solid rgba(0,0,0,0.1);
	cursor:pointer;
	width:48%;
	height:auto;
	max-width:292px;
	max-height:250px;
	margin:0 0 6px 0;
}
.grafika .foto_projekt {
	margin-bottom:20px;
	float:left;
}
.grafika .foto_projekt a {
	float:left;
	margin:0.5%;
	width:19%;
}
.foto_projekt a:first-child:nth-last-child(6),
.foto_projekt a:first-child:nth-last-child(6) ~ a {	width:32%;}
.foto_projekt a:first-child:nth-last-child(5),
.foto_projekt a:first-child:nth-last-child(5) ~ a {	width:19%;}
.foto_projekt a:first-child:nth-last-child(4),
.foto_projekt a:first-child:nth-last-child(4) ~ a {	width:24%;}
.foto_projekt a:first-child:nth-last-child(3),
.foto_projekt a:first-child:nth-last-child(3) ~ a {	width:32%;}
.foto_projekt a:first-child:nth-last-child(2),
.foto_projekt a:first-child:nth-last-child(2) ~ a {	width:49%;}
.foto_projekt a:first-child:nth-last-child(1),
.foto_projekt a:first-child:nth-last-child(1) ~ a {	width:55%;}

.cookies_info {
	width:550px;
	color:white;
	margin-left:auto;
	margin-right:auto;
	margin-bottom:40px;
	cursor:pointer;
	font-size:15px;
	text-align:center;
}

.inf_techn {
	float:right;
	margin:0;
	width:280px;
	padding-left:40px;
}
.inf_techn.dp {
	width:60%;
	float:left;
	clear:none;
	padding-right:30px;
}

.inf_techn h3 {
	margin:0 0 10px 0;
	padding:0;
}
.inf_techn p {
	display:block;
	float:left;
	width:100%;
	padding:2px 5px;
	margin:0;
	border-bottom:1px solid #8b6441;
	text-indent:0;
}
.inf_techn p:last-child {
	border:0;
}
.inf_techn p span {
	float:right;
	font-weight:bold;
}


.foto_projekt .thumb {
	width:100% !important;
	max-width:350px !important;
}
.grafika .viz1 {
	margin-right:2%;
}
.grafika .viz2 {
	margin:0;
}

.grafika .elewacje {
	margin-bottom:40px;
	cursor:pointer;
}
.grafika .elewacje img {
	max-width:17.5%;
	margin:0.5%;
}
.grafika .realizacje {
	margin-top:40px;
	cursor:pointer;
}
.grafika .realizacje img {
	max-width:17.5%;
	margin:0.5%;
}
.grafika .thumb:hover {
	background:white;
}
.grafika .rzut {
	max-width:90%;
	margin-bottom:20px;
	margin-left:auto;
	margin-right:auto;
	display:block;
}
.infoboxes {
	display:block;
	float:right;
	width:40%;
	margin-top:30px;
}
.informacje_szczegolowe_dp {
	display:block;
	float:left;
	width:90%;
	margin-left:5%;
}
.infobox {
	background:#f9ebe2;
	-webkit-box-shadow: 0 2px 1px 0 rgba(0,0,0,0.11);
	-moz-box-shadow:0 2px 1px 0 rgba(0,0,0,0.11);
	box-shadow: 0 2px 1px 0 rgba(0,0,0,0.11);
	margin-top:0;
	padding:7px;
	text-align:center;
	width:100%;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	font-size:12px;
	line-height:1.18;
	margin-bottom:10px;
	float:right;
	cursor:pointer;
}
.infobox a {
	font-weight:bold;
}

.infobox .image {
	float:left;
	width:100%;
	margin-right:10px;
	margin-bottom:5px;
	text-align:center;
	/*height:100%;*/
}
.galeria a {
	position:relative;
	float:left;
	display:block;
	width:100px;
	height:100px;
	margin:3px;
}
.galeria img {
	width:100px;
	height:100px;
	left:0;
	top:0;
	outline:1px solid rgba(0,0,0,0.1);
	padding:3px;
	background:rgba(255,255,255,0.5);
	cursor:pointer;
	-webkit-transition:all 0.2s ease-in-out;
	-moz-transition:all 0.2s ease-in-out;
	-o-transition:all 0.2s ease-in-out;
	-ms-transition:all 0.2s ease-in-out;
	transition:all 0.2s ease-in-out;
	float:left;
	display:block;
	position:absolute;
}
.galeria img:hover {
	position:absolute;
	background:white;
	-webkit-box-shadow: 8px 12px 10px  rgba(0,0,0,0.4);
	-moz-box-shadow: 8px 12px 10px  rgba(0,0,0,0.4);
	box-shadow: 8px 12px 10px  rgba(0,0,0,0.4);
	left:-10px;
	top:-10px;
	width:120px;
	height:120px;
	z-index:99;
	padding:4px;
	outline:1px solid rgba(0,0,0,0.0);
}
.galeria_tytul {
	width:100%;
	float:left;
	font-size:25px;
	font-weight:bold;
	margin-top:30px;
	margin-bottom:10px;
	text-indent:20px;
}

.minigaleria {
	padding:10px;
	text-align:center;
	font-size:13px;
}
.minigaleria img {
	width:48%;
	padding:1.5%;
	margin:1%;
}

.informacje_techniczne {
	background:#f9ebe2;
	-webkit-box-shadow: 0 2px 1px 0 rgba(0,0,0,0.11);
	-moz-box-shadow:0 2px 1px 0 rgba(0,0,0,0.11);
	box-shadow: 0 2px 1px 0 rgba(0,0,0,0.11);
	margin-top:0;
	padding:16px 20px;
	width:80%;
	margin-left:10%;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	margin-bottom:10px;
	font-size:14px;
	float:left;
	clear:both;
}
.informacje_techniczne .title {
	font-size:18px;
}
.informacje_techniczne ul {
	font-weight:bold
}
.logotypy {
	width:60%;
	margin:15px 0 20px 20%;
}
.logotypy img {
	width:100%;
	padding:2px;
}

.faq {
	position:relative;
	display:block;
	float:left;
	margin-bottom:18px;
	width:100%;
}
.faq .arrow {
	width:29px;
	height:29px;
	background:url(/img/arrow.png) no-repeat center;
	position:absolute;
	left:0;
	top:0;
	-webkit-transition:all 0.4s ease-in-out;
	-moz-transition:all 0.4s ease-in-out;
	-o-transition:all 0.4s ease-in-out;
	-ms-transition:all 0.4s ease-in-out;
	transition:all 0.4s ease-in-out;
}
.faq .arrow.rotate {
	transform:rotate(90deg);
	-ms-transform:rotate(90deg); /* IE 9 */
	-webkit-transform:rotate(90deg); /* Safari and Chrome */
}
.faq .pytanie {
	font-size:20px;
	padding-left:40px;
	font-weight:bold;
	padding-top:2px;
	cursor:pointer;
}
.faq .odpowiedz {
	padding-left:50px;
	padding-right:50px;
	padding-top:10px; 
	display:none;	
}
.rzetelna img {
	width:100%;
}

.c_dane {
	display:block;
	float:left;
	width:45%;
	margin-top:12px;
}
.c_dane hr {
	margin:15px 0;
	width:100%;
}
.c_dane .l {
	float:left;
	width:30%;
	/*height:100%;*/
}
.c_dane .r {
	float:right;
	width:70%;
}

.c_form {
	float:left;
	width:70%;
	margin-left:15%;
	margin-top:50px;	
}
.c_form h3 {
	margin-bottom:10px;
}
.invalid {
	border:1px solid red !important;
}
.c_form input[type=text], textarea {
	width:100%;
	background:#f1e3da;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	border:1px solid rgba(139,100,65,0.4);
	padding:4px 8px;
	font-size:13px;
	font-weight:bold;
	color:#312215;
}
.c_form strong {
	opacity:0.7;
	margin-bottom:-5px;
	margin-top:10px;
	display:block;
	float:left;
	clear:both;
}
.c_form p {
	display:block;
	float:left;
	text-indent:0;
	margin:0;
	width:100%;
}
.c_form #antyspam {
	width:40px;
	margin-left:10px;
	text-align:center;
}
.c_form .center {
	width:100%;
	float:left;
	margin-top:10px;
	margin-bottom:40px;
}

.c_form input[type=text]:focus, textarea:focus {
	-webkit-box-shadow: 0 2px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0 2px 3px rgba(0,0,0,0.2);
	box-shadow: 0 2px 3px rgba(0,0,0,0.2);
	outline:none;
	border:1px solid rgba(139,100,65,0.8);
}
.c_form textarea {
	height:200px; 
	resize: none;
}
.mapa {
	width:50%;
	float:right;
}


.center {
	margin-left:auto;
	margin-right:auto;
	text-align:center;
}	
.right {
	float:right;
}

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

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

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

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

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

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

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