html, body, div, p, h1, h2, h3, ul, ol, span, a, table, td, form, img, { margin: 0; border: 0; padding: 0;}
html, body, #wrap {height: 100%;}
	
body > #wrap {height: auto; min-height: 100%;}
body {
	font-family: Lato, Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #666;
	font-style: normal;
	line-height: 18px;
	font-weight: 400;
	margin: 0; 
	border: 0; 
	padding: 0;
	/*-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;*/
	/*-moz-hyphens: auto;
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	-o-hyphens: auto;
	hyphens: auto;*/
}

/*body, nav#menu, nav ul, nav ul li, nav ul li a {

 -o-transition-property: none !important;
 -moz-transition-property: none !important;
 -ms-transition-property: none !important;
 -webkit-transition-property: none !important;
 transition-property: none !important;

 -o-transform: none !important;
 -moz-transform: none !important;
 -ms-transform: none !important;
 -webkit-transform: none !important;
 transform: none !important;

 -webkit-animation: none !important;
 -moz-animation: none !important;
 -o-animation: none !important;
 -ms-animation: none !important;
 animation: none !important;
}*/

::-moz-selection {background: #49c2cb; text-shadow: none;}
::selection {background: #49c2cb; text-shadow: none;}
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}
audio, canvas, iframe, img, svg, video {vertical-align: middle;}
fieldset {border: 0; margin: 0; padding: 0;}
textarea {resize: vertical;}
.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

p {
	font-size: 16px;
	text-align: left;
	font-weight: normal;
	line-height: 19px;
	margin: 0px;
	padding-bottom: 19px;
	font-weight: 300;
}
.text1 {font-size: 16px; line-height: 20px; font-style: normal; font-weight: 300;}
.text1_bold {font-size: 15px; line-height: 20px; font-style: normal; font-weight: 600;}
.text2 {font-size: 14px; line-height: 18px; font-style: normal; font-weight: 300;}
.text2_bold {font-size: 14px; line-height: 18px; font-style: normal; font-weight: 300; padding: 8px 0 0 0;}
.text3_bold {font-size: 14px; line-height: 18px; font-style: bold; font-weight: 300; padding: 8px 0 0 0; color: #49c2cb}
.text1 a, a.text1  {font-size: 16px; line-height: 20px; font-style: normal; font-weight: 300; color: #49c2cb;}
.text1 a:hover, a.text1:hover  {color: #128289;}
h1 {
	/*font-family: Tahoma, Geneva, sans-serif;*/
	font-weight: 400;
	font-size: 28px;
	color: #666;
	font-style: normal;
	line-height: 32px;
	margin: 0px;
	text-transform: uppercase;
	padding-bottom: 20px;
}
h2 {
	/*font-family: Oswald, Arial, Helvetica, sans-serif;*/
	color: #666;
	font-style: normal;
	font-weight: 600;
	margin: 0px;
	padding-bottom: 20px;
	font-size: 15px;
	line-height: 20px;
}
a.link1, a.link1:link {
	font-weight: 400;
	/*color: #128289;*/
	color: #ffffff;
	font-style: normal;
	font-weight: 400;
	margin: 0px;
	text-decoration: none;
	font-size: 14px;
	line-height: 16px;
	padding: 6px 10px;
	background-color: #49c2cb;
}
a.link1:hover {
	background-color: #128289;
	color: #ffffff;
}
#wrap {
	position: relative;
	top: 0;
	margin: 0;
	padding: 0;
	width: 100%;
	z-index: 3;
} 
.head {
	position: absolute;
	top: 0px;
	width: 100%;
	height: 108px;
	background-repeat: repeat;
	background-image: url(../basics/head.jpg);
	z-index: 0;
} 
.logo {
	position: relative;
	top: 0px;
	width: 980px;
	height: 108px;
	background-image: url(../basics/logo.jpg);
	background-repeat: no-repeat;
	margin: 0 auto;
	padding: 0;
	z-index: 4;
}
.content_wrapper {
	width: 950px;
	margin: 0 auto;
	padding: 0;
	position: relative;
	top: 40px;
}
.balken {
	width: 100%;
	height: 30px;
	background: linear-gradient(#49c2cb, #a1dfe2);
	background: -moz-linear-gradient(#49c2cb, #a1dfe2);
	background: -ms-linear-gradient(#49c2cb, #a1dfe2);
	background: -webkit-gradient(linear, left top, left bottom, from(#49c2cb), to(#a1dfe2));
	background: -webkit-linear-gradient(#49c2cb, #a1dfe2);
	background: -o-linear-gradient(#49c2cb, #a1dfe2);
	background-color: #49c2cb;
	z-index: 2;
	position: absolute;
	top: 108px;
	left: 0;
}
#main {
	position: relative;
	top: 0px;
	/*height: auto;*/
	padding: 0 0 130px 0;
	margin: 0 auto 0px auto;
	/*margin-bottom: 80px;*/
	z-index: 3;
	width: 1009px;
}

/*ToTop*/
.cd-top.cd-is-visible {
  /* the button becomes visible */
  visibility: visible;
  opacity: 1;
}
.cd-top.cd-fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: .5;
}
.cd-container {
  width: 90%;
  max-width: 768px;
  margin: 2em auto;
}
.cd-container::after {
  /* clearfix */
  content: '';
  display: table;
  clear: both;
}
.cd-top {
  display: inline-block;
  height: 50px;
  width: 50px;
  position: fixed;
  bottom: 10.5%;
  right: 4.5%;
 /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);*/
  /* image replacement properties */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: rgba(73, 194, 203, 0.6) url(../back-to-top/img/cd-top-arrow.svg) no-repeat center 50%;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity .3s 0s, visibility 0s .3s;
  -moz-transition: opacity .3s 0s, visibility 0s .3s;
  transition: opacity .3s 0s, visibility 0s .3s;
  z-index: 999;
}
.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
  -moz-transition: opacity .3s 0s, visibility 0s 0s;
  transition: opacity .3s 0s, visibility 0s 0s;
}
.cd-top.cd-is-visible {
  /* the button becomes visible */
  visibility: visible;
  opacity: 1;
}
.cd-top.cd-fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: .5;
}
.no-touch .cd-top:hover {
  background-color: #49c2cb;
  opacity: 1;
}
.anzeige img {width: 100%; height: auto; padding: 0; margin: 0;}

@media only screen and (min-width: 1025px) {
  .cd-top {bottom: 40px;}
}

/*#main img {
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0 0 16px 0;
	background-color: #fff;
}*/
.stoerer {
	width: 200px;
	height: auto;
	padding: 0;
	margin: 0;
	position: absolute;
	z-index: 3;
	top: 60px;
	left: 500px;
}
.stoerer img {
	width: 200px;
	height: auto;
	padding: 0;
	margin: 0;
	border: none;
}
#slideshow {position: relative; top: 0; margin: 0 auto 38px auto; width: 950px; height: 188px; z-index: 3;}
#slideshow img {margin: 0; padding: 0;}
#slideshow3 {margin: 4px 0 0 0; width: 450px; height: auto; z-index: 6; position: relative; float: left;}
#slideshow5 {margin: 6px 0 0 0;}
/*#slideshow3 img {margin: 0; padding: 0; width: 100%; position: relative; left: -1px;}*/
/*#slideshow2 {width: 950px; height: 188px;}*/
#main .image {position: relative; top: 0; margin: 0 auto 34px auto; width: 950px; height: 188px; z-index: 3;}
#main .image img {margin: 0; padding: 0; width: 950px; height: 188px;}
.logo a.home {width: 100%; height: 100%;}
.logo a.home img {width: 100%; height: 100%;}

/*#slideshow 2 {
	position: absolute;
	top: 0;
	margin: 0 3%;
  }*/
  
/* Textboxes */
#text-head {height: 20px; width: 950px;}
.text-large {width:100%; height: auto; float: left; margin: 0; padding: 0;}
.text-left {width: 48%; height: auto; float: left; margin: 0 0 30px 0; padding: 0;}
.text-right {width: 48%; height: auto; float: right; margin: 0 0 30px 0; padding: 0;}
#link_bullet{
	float: left;
	width: 10px;
	height: 22px;
	line-height: 14px;
}
#link_name{
	float: left;
	width: 220px;
	height: 22px;
	line-height: 14px;
}
.stoerer {
	position: absolute;
	left: 660px;
	top: 400px;
	width: 175px;
	height: 175px;
}
#footer {
	 height: 130px;
	 position: relative;
	 margin: -130px auto 0 auto;
	 /*margin-top: -80px;*/
	 padding: 0;
	 clear:both;
	 z-index: 999;
}
.box {padding-top: 60px;}
  
.crossleft {
	background-image: url(../basics/cross.jpg);
	background-repeat: no-repeat;
	background-size: 90% 90%;
	height: 25px;
	width: 25px;
	float: left;
} 	
.crossright {
	background-image: url(../basics/cross.jpg);
	background-repeat: no-repeat;
	background-size: 90% 90%;
	height: 25px;
	width: 25px;
	float: right;
} 
.facebook {
	height: 25px;
	width: 25px;
	float: left;
	margin-left: 20px;
}
.facebook img {
	height: 25px;
	width: 25px;
}
.instagram {
	height: 25px;
	width: 25px;
	float: left;
	margin-left: 20px;
} 
.instagram img {
	height: 25px;
	width: 25px;
}
.qype {
	height: 20px;
	width: 60px;
	float: left;
	margin-left: 18px;
} 
.footer {
	position: absolute;
	left: 50px;
	top: 600px;
	width: 200px;
	height: 20px;
}
.p {line-height: 2em;}

#main_images {
	top:20px;
	position: relative;
	margin: 0;
	/*height: 195px;*/
	width: auto;
	left: 0px;
	display: block;
	/*float: left;*/
}
#main_images .images img {
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
}
#main_images .images {
	float: left;
	padding: 0 2.3% 84px 0;
	margin: 0;
	top: 0;
	left: 0;
	width: 168px;
	height: 188px;
	display: block;
}
#main_images .images.last {padding: 0;}
#main_images .images.high {min-height: 240px;}
#main_images .images a {color: #666; text-decoration: none;  font-weight: 300; font-size: 14px; line-height: 18px;}
#main_images .images a:hover {color: #49c2cb;}
#main_images .green {
	background: #49c2cb; 
	display: table;
	line-height: 0;
	font-size: 0;
}
#main_images .green img {
	display: tabel-cell;
	top: 0;
	left: 0;
	opacity: 1;
	-webkit-transition: .5s opacity linear;
	-moz-transition: .5s opacity linear;
	-ms-transition: .5s opacity linear;
	-o-transition: .5s opacity linear;
	transition: .5s opacity linear
}
#main_images .green img:hover {/*background-color: rgba(73, 194, 203, 1.0); */opacity: 0.6; filter: alpha(opacity=60);}

  
/* Navigation */
nav {margin: 0 auto; width: 1009px; z-index: 90000; position: relative; top: 0;}

/*1. Ebene*/
nav ul {list-style: none; margin: 0; padding:0; z-index: 90000;}
nav > ul > li {float: left; }
/*nav > ul > li:first-child a {padding: 0 30px 0 0;}*/
nav > ul.right > li:last-child a {/*padding: 0 0 0 30px; */float: right;}
nav > ul > li > ul {display: none;}
nav > ul a {
  	display: block;
 	white-space: nowrap;
 	text-decoration: none;
  	color: #fff;
  	font-size: 15px;
	line-height: 30px;
	margin: 0 25px;
	/*padding: 0 30px;*/
}
nav > ul a.last {margin: 0 20px 0 0px;}
nav > ul {float: left; position: relative;}
nav > ul a:hover, nav > ul a:active {color: #456f80;}
nav > ul a.active {color: #456f80;}
nav > ul a.active:hover {color: #456f80;}

nav li > a:after {content: " +";}
nav li > a:only-child:after {content: "";}

/*2. Ebene*/
nav > ul > li:hover > ul {
  	display: block;
  	position: absolute;
   	background-color: rgba(73, 194, 203, 0.9);
}
nav > ul > li > ul > li {
  	/*position: relative;*/
  	padding: 0;
}
nav > ul > li > ul > li a {border-bottom: 1px solid #a4d5d9;}
nav > ul > li > ul > li:last-child a {border-bottom: none;}
nav > ul > li > ul > li:last-child a.line {border-bottom: 1px solid #a4d5d9;}
nav > ul.nav > li > a.active > ul > li a {
  	color: #fff;
}

.nav a {
    *zoom: 1;
}

/*3. Ebene*/
nav > ul > li > ul > li > ul {background-color: rgba(73, 194, 203, 0.9);}
nav > ul > li > ul > li > ul {display: none;}
nav > ul > li > ul > li:hover > ul {display: block;}
nav > ul > li > ul > li:hover > ul {
  display: block;
  position: absolute;
  left: 100%;
  margin-top: -31px;
  /*top: 0;*/
}

/*nav > ul > li > ul > li > ul li a {margin: 0 25px 0  35px;}*/
nav > ul > li > ul > li > ul li span {margin: 0 25px 0  25px;}
nav > ul > li > ul > li > ul > li a {border-bottom: 1px solid #92cdd1;}
nav > ul > li > ul > li > ul > li:last-child a {border-bottom: none;}

ul.nav li.right {/*padding-left: 21px;*/ float: right;}
/*ul.nav > li:last-child {float: right;}*/

ul.nav {
	/*position: relative;
	top:  0;
	width: 100%;*/
	width: 1009px;
	height: 30px;
	line-height: 30px;
	color: #fff;
	font-size: 1.1em;
	background-color: rgba(73, 194, 203, 0.9);
	background: linear-gradient(#49c2cb, #a1dfe2);
	background: -moz-linear-gradient(#49c2cb, #a1dfe2);
	background: -ms-linear-gradient(#49c2cb, #a1dfe2);
	background: -webkit-gradient(linear, left top, left bottom, from(#49c2cb), to(#a1dfe2));
	background: -webkit-linear-gradient(#49c2cb, #a1dfe2);
	background: -o-linear-gradient(#49c2cb, #a1dfe2);	
	list-style-type: none;
	-webkit-margin-before: 0em;
	-webkit-margin-after: 0em;
	-webkit-margin-start: 0px;
	-webkit-margin-end: 0px;
	-webkit-padding-start: 0px;
}
/*ul.nav {display: inline-block; padding: 0; margin: 0; width: auto;}*/
ul.nav li ul {
	/*display: block; */
	/*padding: 10px 0;*/
	padding: 0px 0 6px 0;
	margin: 0;
	-webkit-margin-before: 0em;
	-webkit-margin-after: 0em;
	-webkit-margin-start: 0px;
	-webkit-margin-end: 0px;
	-webkit-padding-start: 0px;
	/*width: 100%;*/
}	
ul.nav li {
	margin: 0;
	-moz-transition: none;
-webkit-transition: none;
-o-transition: opacity 0 ease-in-out;
transition: none;
opacity: 1;
	/*padding: 0 26px;*/
	/*list-style-type: none;
	display: inline;*/
	/*width: auto;*/
	/*float: left;*/
}
/*ul.nav li ul li {
	margin: 0;
	padding: 0;
	list-style-type: none;
	display: block;
	width: 60px;
}*/
/*ul.nav li:first-child {padding: 0 26px 0 0;}
ul.nav li ul li:first-child {padding: 0;}*/

/*ul.right li:last-child {padding: 0 0 0 0;}*/
/*ul.right li {width: auto; padding: 0;}*/
ul.nav li a, ul.nav li a:link {
	/*list-style-type: none;
	text-decoration: none;*/
	/*text-align: center;*/
	/*display: block;*/
	/*margin: 0px;
	padding: 0;*/
	/*border: none;*/
	/*color: #fff;*/
	/*font-size: 13px;
	line-height: 26px;*/
}
/*ul.nav a:hover, ul.nav a:active {color: #666;}
ul.nav a.active {color: #666;}
ul.nav a.active:hover {color: #666;}*/
ul.right {float: right;}
ul.right li a {text-align: right;}

nav#menu {
	height: 30px;
	background: linear-gradient(#49c2cb, #a1dfe2);
	background: -moz-linear-gradient(#49c2cb, #a1dfe2);
	background: -ms-linear-gradient(#49c2cb, #a1dfe2);
	background: -webkit-gradient(linear, left top, left bottom, from(#49c2cb), to(#a1dfe2));
	background: -webkit-linear-gradient(#49c2cb, #a1dfe2);
	background: -o-linear-gradient(#49c2cb, #a1dfe2);
	background-color: #49c2cb;
}
	
.navitext {
	position: absolute;
	height: 20px;
	width: 100px;
	left: 510px;
	top: 580px;	
}
	
/*#main a:link {color: #128289;}
#main a:visited {color: #128289;}*/
/*#main a:hover {color: #128289;}
#main a:active {color: #128289;}*/

 	
/*a.type_1:link {	font-size: 10px; color:#333; text-decoration: none;}
a.type_2:link {	font-size: 10px; color:#333; text-decoration: underline;}
a.type_3:link { font-size: 12px; color:#666; text-decoration: underline;}
a.type_1:visited { font-size: 10px; color:#333; text-decoration: none; }
a.type_2:visited { font-size: 10px; color:#333;	text-decoration: underline;}
a.type_3:visited { font-size: 12px; color:#666; text-decoration: underline;}
a.type_1:hover { font-size: 10px; color:#333; text-decoration: none; }
a.type_2:hover { font-size: 10px; color:#333; text-decoration: underline;}
a.type_3:hover { font-size: 12px; color:#666; text-decoration: underline;}
a.type_1:active { font-size: 10px; color:#333; text-decoration: none; }
a.type_2:active { font-size: 10px; color:#333; text-decoration: underline;}
a.type_3:active { font-size: 12px; color:#666; text-decoration: underline;}*/

/*.copygreen {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-style: normal;
	line-height: 11pt;
	font-weight: normal;
	font-variant: normal;
	text-align: left;
	white-space: normal;
	color: #128289;
}*/

/*.text-right ul.list {
	margin: 0;
	padding: 0;
	display: block;
	width: 100%;
	float: left;
}
.text-right ul.list li {
	margin: 0;
	padding: 0;
	display: list-item;
	list-style-image: none;
	list-style-type: disc;
	list-style-position: inside;
	width: 100%;
	/*height: 20px;
	color: #666;
}
.text-right ul.list li a, #text-right ul.list li a:link, #text-right ul.list li a:hover, #text-right ul.list li a:active {
	margin: 0;
	padding: 0;
	line-height: 20px;
}*/
/*ul.list_grey {
	margin: 0;
	padding: 0;
	display: block;
	width: 100%;
	float: left;
}
ul.list_grey li {
	margin: 0;
	padding: 0;
	display: list-item;
	list-style-image: none;
	list-style-type: none;
	list-style-position: inside;
	width: 100%;
	color: #666;
}*/
.text-left ul.list li a, .text-right ul.list_grey li a:link, .text-right ul.list_grey li a:hover, .text-right ul.list_grey li a:active {
	margin: 0;
	padding: 0;
	line-height: 12px;
}
.text-left ul.list, .text-right ul.list, .text-left ul.list_grey, .text-right ul.list_grey, .text-large ul.list, .text-large ul.list_grey {
	display: block;
	padding: 0;
	margin: 0;
	width: 100%;
	/*float: left;*/
}
.text-left ul.list li, .text-right ul.list li, .text-left ul.list_grey li, .text-right ul.list_grey li, .text-large ul.list li, .text-large ul.list_grey li {
	margin: 0 0 0 18px;
	display: list-item;
	list-style-position: outside;
	list-style-type: disc;
	color: #666;
	font-size: 16px;
	line-height: 20px;
}
.text-right .text-large ul.list li {padding-bottom: 0;}
.text-right .text-large ul.list {padding-bottom: 20px;}
.text-left ul.list li, .text-right ul.list li {line-height: 20px; padding: 0 0 20px 0;}
.text-left ul.list_grey li, .text-right_grey ul.list li, .text-larget_grey ul.list li {padding: 0;}
.text-left ul.list li a, #text-left ul.list li a:link, .text-left ul.list li a:hover, #text-left ul.list li a:active,
.text-right ul.list li a, #text-right ul.list li a:link, .text-right ul.list li a:hover, #text-right ul.list li a:active {
	margin: 0;
	padding: 0;
	line-height: 20px;
}
#main .text-left ul.list_grey li a.active, #main .text-right ul.list_grey li a.active {color: #128289;}
#main .text-left ul.list_grey li a.active:hover, #main .text-right ul.list_grey li a.active:hover {color: #128289;}

/* Lightbox */
.imagegalerie {
	position: absolute;
	left: 8px;
	top: 162px;
	width: 970px;
	height: 190px;
	background-repeat: no-repeat;
  }

#lightbox{	position: absolute;	left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;}
#lightbox img{ width: auto; height: auto;}
#lightbox a img{ border: none; }

#outerImageContainer{ position: relative; background-color: #FFF; width: 250px; height: 250px; margin: 0 auto; }
#imageContainer{ padding: 10px; }

#loading{ position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; }
#hoverNav{ position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{ width: 49%; height: 100%; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(../galerien/lightbox2/images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(../galerien/lightbox2/images/nextlabel.gif) right 15% no-repeat; }

#imageDataContainer{
	font: 10px Verdana, Helvetica, sans-serif;
	margin: 0 auto;
	line-height: 1.4em;
	overflow: auto;
	width: 100%;
	background-image: url(../basics/green.gif);
}

#imageData{	padding:0 10px; color: #FFF; }
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em; outline: none;}	 	

#overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; }

.hidden {display: none !important;}
.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:after {
    content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.clearfix {display: inline-block;}

/* Bereich nicht für IE-mac Anfang \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* Bereich nicht für IE-mac Ende */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}