/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

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

html {
   
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}
/* cimes up as error validation
::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, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body{
	
	 
    
    font-size: 14px;
    line-height: 1.5em;
    text-rendering: optimizelegibility;
	font-family: "open sans", "trebuchet MS", Arial,Helvetica,sans-serif;
	
}

#container {
    margin: 0 auto;
    width: 960px;
    
    padding: 0;
}
#header
{
	margin: 0;
	width: 100%
	max-width: 100%;
	background-color: #fff;
}

#logo{
 margin: 20px 0 0 0 ;
 padding:0;
 width: 630px;
 height: 150px;
 float: left;
}
#header-widget{
	color: #1485cb;
 	margin:  1.4em 1em 0 0 ;
 	padding:0;
	float: right;
	
	max-width: 320px;
	height: 150px;
	overflow: hidden;
}
h4.iws-blue{
	color: #1485cb;
	font-size:  1.4em;
	font-weight: bold;
	margin: 0.4em 0.2em 0.2em 0;
	margin: 0;
	padding: 0.4em 0 0.2em;
}
#header-widget .textwidget,
#header-widget .textwidget p{
	color: #1485cb;
	font-size: 1-1em;
	font-weight: bold;
	margin: 0;
	padding: 0.2em 0;
}
h1, 
h2, 
h3, 
h4, 
h5 {
	color: #000;
}
h1{
	font-size: 2.625em;
    margin-bottom: 0.5em;
    margin-top: 0.5em;
}
h2{
	font-size: 2em;
	font-weight: normal;
}
h3{
	font-size: 1.875em;
    margin-bottom: 0.857em;
    margin-top: 0.857em;
}
h4{
	font-size: 1.2em;
	font-weight: normal;
}

p{
	color:  #000;
	font-size: 1em;
}

a:link{
	color:  #1485cb;
	font-size: 1em;		
}
a:visited{
	color:  #1485cb;
	font-size: 1em;

}
a:hover{
	color:  #b90721;
	font-size: 1em;
}
a:active{
	color: #1485cb;
	font-size: 1em;		
}


/*nav*/



/*from responsive**/
.hauptmenu {
	background-color: #1485cb;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#1485cb), to(#0A4266));
	background-image: -webkit-linear-gradient(top, #1485cb, #0A4266);
	background-image: -moz-linear-gradient(top, #1485cb, #0A4266);
	background-image: -ms-linear-gradient(top, #1485cb, #0A4266);
	background-image: -o-linear-gradient(top, #1485cb, #0A4266);
	background-image: linear-gradient(top, #1485cb, #0A4266);
	clear: both;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#1485cb, endColorstr=#0A4266);
	margin: 0 auto;
}
.main-nav {
	clear: both;
}

.hauptmenu,
.hauptmenu ul {
	display: block;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.hauptmenu li {
	border: 0;
	display: block;
	float: left;
	margin: 0;
	padding: 0;
	position: relative;
	z-index: 5;
}

.hauptmenu li:hover {
	white-space: normal;
	z-index: 10000;
}

.hauptmenu li li {
	float: none;
}

.hauptmenu ul {
	left: 0;
	position: absolute;
	top: 0;
	visibility: hidden;
	z-index: 10;
}

.hauptmenu li:hover > ul {
	top: 100%;
	visibility: visible;
}

.hauptmenu li li:hover > ul {
	left: 100%;
	top: 0;
}

.hauptmenu:after,
.hauptmenu ul:after {
	clear: both;
	content: '.';
	display: block;
	height: 0;
	overflow: hidden;
	visibility: hidden;
}

.hauptmenu,
.hauptmenu ul {
	min-height: 0;
}

.hauptmenu ul,
.hauptmenu ul ul {
	margin: 0;
	padding: 0;
}

.hauptmenu ul li a:hover,
.hauptmenu li li a:hover {
	color: #484848;
	text-decoration: none;
}

.hauptmenu ul {
	margin-top: 1px;
	min-width: 15em;
	width: auto;
}

.hauptmenu a {
	border-left: 1px solid #1485cb;
	color: #ffffff;
	cursor: pointer;
	display: block;
	font-size: 13px;
	font-weight: 700;
	height: 45px;
	line-height: 45px;
	margin: 0;
	padding: 0 0.9em;
	position: relative;
	text-decoration: none;
	text-shadow: 0 -1px 0 #000000;
	white-space: nowrap;
}

.hauptmenu a:hover {
	background-color: #56A7D9;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#56A7D9), to(#346482));
	background-image: -webkit-linear-gradient(top, #56A7D9, #346482);
	background-image: -moz-linear-gradient(top, #56A7D9, #346482);
	background-image: -ms-linear-gradient(top, #56A7D9, #346482);
	background-image: -o-linear-gradient(top, #56A7D9, #346482);
	background-image: linear-gradient(top, #56A7D9, #346482);
	color: #ffffff;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#56A7D9, endColorstr=#346482);
}

ul.hauptmenu > li:hover {
	background-color: #0A4266;
	color: #ffffff;
}

.hauptmenu .current_page_item a,
.hauptmenu .current-menu-item a {
	background-color: #0A4266;
}



.front-page .hauptmenu .current_page_item a {
	background: none;
	background-color: transparent;
	background-image: none;
	filter: none;
}

.hauptmenu li li {
	background: #ffffff;
	background-image: none;
	border: 1px solid #e5e5e5;
	color: #444444;
	filter: none;
	margin: -1px 0 1px 0;
	width: auto;
}

.hauptmenu li li a {
	background: transparent !important;
	border: none;
	color: #444444;
	font-size: 12px;
	font-weight: 400;
	height: auto;
	height: 20px;
	line-height: 20px;
	padding: 5px 10px;
	text-shadow: none;
	white-space: nowrap;
}

.hauptmenu li li a:hover {
	background: #f5f5f5 !important;
	background-image: none;
	border: none;
	color: #444444;
	filter: none;
}

.hauptmenu li li:hover {
	background: #f5f5f5 !important;
	filter: none;
}

.hauptmenu ul > li + li {
	border-top: 0;
}

.hauptmenu li li:hover > ul {
	left: 100%;
	top: 0;
}

.hauptmenu > li:first-child > a {
	border-left: none;
}

/****sidebar menu, default menu**/
#right-sidebar ul {
	margin: 1em 0 0 0;
	padding: 0;
	list-style-type: none;
	width: 100%;
	}
#right-sidebar ul li {
	
  	
 	 background: transparent;
  	
}

 .menu {
	background: #f4f4f4;
	background-image: url(../images/noise.png);
	background-repeat: repeat;
}
 .menu,
ul.menu {
	display: block;
	list-style-type: none;
	margin: 0;
	padding: 0;
	
-moz-border-top-left-radius: 9px;
border-top-left-radius: 9px;
-moz-border-bottom-left-radius: 9px;
border-bottom-left-radius: 9px;
-moz-border-top-right-radius: 9px;

border-top-right-radius: 9px;
-moz-border-right-left-radius: 9px;
border-bottom-right-radius: 9px;
border-right: 1px solid #1485cb;

border-left: 1px solid #1485cb;

border-top: 1px solid #1485cb;
border-bottom: 1px solid #1485cb;

box-shadow: inset 0 0 15px 3px #e0e0e0;
/*-webkit-box-shadow: inset 1px 0px 16px 2px #4CA3D9;
-moz-box-shadow: inset 1px 0px 16px 2px #4CA3D9;
-o-box-shadow: inset 1px 0px 16px 2px #4CA3D9;*/

}
.menu li{
	border: 0;
	display: block;
	float: none;
	margin: 0;
	padding:  0;
	border-bottom: 1px solid #1485cb;

}
.menu a {
	
	color: #1485cb;
	
	cursor: pointer;
	display: block;
	font-size: 1em;
	font-weight: 700;
	margin: 0;
	padding: 1em 0.6em;
	position: relative;
	text-decoration: none;
	white-space: nowrap;
	border: none;
	text-shadow: none;
}

.menu a:hover {
	background-color: transparent;
	border: none;
	color: #b90721;
	background-image: none;
	filter: none;
	
}
 ul.menu > li:hover {
	background-color: transparent;
	
}

 .menu .current_page_item a,
 .menu .current-menu-item a {
	background-color: transparent;
}



 .front-page .menu .current_page_item a {
	
	background-color: transparent;
	background-image: none;
	
}

 .menu li li {
	background: #ffffff;
	
	background-image: none;
	border: none;
	color: #000;
	filter: none;
	margin: -1px 0 1px 0;
	width: auto;
}

 .menu li li a {
	background: transparent !important;
	border: none;
	
	height: auto;
	
	text-shadow: none;
	white-space: nowrap;
}

 .menu li li a:hover {
	background: none !important;
	background-image: none;
	border: none;
	color: #444444;
	filter: none;
}

 .menu li li:hover {
	background: none !important;
	filter: none;
}

 .menu ul > li + li {
	background: none !important;
	border-top: 0;
}

 .menu li li:hover > ul {
	background: none !important;
	left: 100%;
	top: 0;
}

 .menu > li:last-child  {
	border-bottom: none;
}
/* toggle menu*/
#toggle-nav{
	display: none;
}
/*social icons*/
ul.icons{
	padding: 0;
	margin: 0;
}
ul.icons li{

}
ul.icons li a:link{
	color: #1485cb;
}
ul.icons li a:visited{
	color: #1485cb;
}
ul.icons li a:hover{
	color: #b90721;
}
ul.icons li a:active{
	color: #1485cb;
}

.fa {
	display: inline-block;
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}






#wrapper {
	
	background-color: #ffffff;
    border: 1px solid #e5e5e5;
    clear: both;
    margin: 0 auto;
    padding: 0 2% 2em ;
    position: relative;

}
.front-page #wrapper {
    margin: 0 auto;
    padding: 0px;
    border: medium none;
    background-color: transparent;
}    
#inhalt{
	margin: 0 ;
	padding: 0;	

}
#inhalt.sb-r{
	float: left;
	width: 62%;
	
	margin: 0 0 0 0;
	padding: 0;

}
#container-boxes {
 
   display:table; 
   width: 100%;
 	
 
  
}
#container-boxes ul {
	display:table-row;
	list-style-type: none;
	text-align: center;
	vertical-align: middle;
	}
#container-boxes ul li {
	display:table-cell;
  	 
 	 background: transparent;
  	
}
#container-boxes a img{
	margin: 0;
}
#right-sidebar{
	float: right;
	padding: 3em 0 0 0;
	margin: 1em 0;
   width:34%; 
}

#kontakt-sidebar{
	float: left;
	padding: 5em 0 0 0;
	margin: 0;
   width:38%; 
}
.footer-nav{
 margin: 5px auto;

}
.footer-nav ul{
	
	font-size: 1em;
	display: block;
    list-style-type: none;
    margin: 0;
    padding: 0;
    min-height: 0;
}
.footer-nav ul li{
	border: 0 none;
    display: block;
    float: left;
    margin: 0;
    border-left: 1px solid #a59c73;
    padding: 5px 5px 0;
    position: relative;
    z-index: 5;
}
.footer-nav ul > li:first-child  {
    border-left: medium none;
}
.footer-nav a:link {
	color: #000;
}
.footer-nav a:visited{
	color: #000;
}
.footer-nav a:hover{
	color: #b90721;
}
.footer-nav a:active{
	color: #000;
}
#toggle-nav{
	display: none;
	}
.toggle-button{
	cursor: pointer;
}
#logo-letters-sm{
	display: 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;
}
.clearfix:after, .clearfix:before, #container:after, #container:before, .widget-wrapper:after, .widget-wrapper:before {
    content: " ";
    display: table;
}
.clearfix:after, #container:after, .widget-wrapper:after {
    clear: both;
}
.clearfix:after, .clearfix:before, #container:after, #container:before, .widget-wrapper:after, .widget-wrapper:before {
    content: " ";
    display: table;
}
/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These 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 */
	}
}
/* ==========================================================================
   Media Queries -- in order to test on the big screen, remove "device"
   like:  @media only screen and (min-device-width:768px) and (max-device-width:1024px)
   ========================================================================== */

@media only screen and (min-width:768px) and (max-width:1024px) and (orientation:portrait) {
    html {zoom:0.8;}

 	
  	#container {
    margin: 0 auto;
    width: 98%;
    
    padding: 0;
	}
#container-boxes {
 
   display:table; 
   width:98%;   
	}
#logo-letters-sm{
	display: none;
	}


}
 
 @media only screen and (max-width : 767px) and (min-width : 320px){ 	
 	
 	html {
 		zoom:0.8;
 	}
 	
 	#container {
    margin: 0 auto;
    width: 98%;
    
    padding: 0;
	}
#container-boxes {
   display:table; 
   width:98%;   
	}
  	
 	header {
    
    
	}
	
	#toggle-nav{
	display: block;
	color: #FFF;
	padding: 1em;
	margin: 0;
	
	background-color: #1485cb;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#1485cb), to(#0A4266));
	background-image: -webkit-linear-gradient(top, #1485cb, #0A4266);
	background-image: -moz-linear-gradient(top, #1485cb, #0A4266);
	background-image: -ms-linear-gradient(top, #1485cb, #0A4266);
	background-image: -o-linear-gradient(top, #1485cb, #0A4266);
	background-image: linear-gradient(top, #1485cb, #0A4266);
	clear: both;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#1485cb, endColorstr=#0A4266);
	}
	#toggle-nav a{
	color: #fff;
    
    font-size: 1em;
    padding: 0;
   }
   

.main-nav {
	clear: both;
}
.main-nav ul,
.main-nav ul ul{
	display: none;
}
	
.hauptmenu {
	background-color: #f5f5f5;
	background-image: none;
	filter: none;
	margin: 0 0 1em 0;
	}
.hauptmenu,
.hauptmenu ul {
	display: block;
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.hauptmenu ul {
	left: 0;
	position: relative;
	visibility: visible;
	display: block
	z-index: 10;
}
.hauptmenu,
.hauptmenu ul {
	min-height: 0;
}

.hauptmenu ul,
.hauptmenu ul ul {
	margin-left: 1.4em;
	padding: 0;
	display: block;
}

.hauptmenu li {
	border: 0;
	display: block;
	float: none;
	margin: 0;
	padding: 0;
	position: relative;
	z-index: 5;
}

.hauptmenu li:hover {
	background: #fff !important;
	background-image: none;
	filter: none;
	white-space: normal;
}

.hauptmenu li li {
	float: none;
}



.hauptmenu li:hover > ul {
top: 100%;
	visibility: visible;
padding: 0;
 margin: 0 0 0 1.4em;		
background: #fff !important;
	background-image: none;
	filter: none;
}

.hauptmenu li li:hover > ul {
left: 100%;
	top: 0;
 	padding: 0;
 	 margin: 0 0 0 1.4em;	
 	 background-color: #fff;
	background-image: none;
	filter: none;	
}
.hauptmenu li li:hover > ul {
	left: 0;
	top: 0;
}

.hauptmenu:after,
.hauptmenu ul:after {
	clear: both;
	content: '.';
	display: block;
	height: 0;
	overflow: hidden;
	visibility: hidden;
}


.hauptmenu ul li a:hover,
.hauptmenu li li a:hover {
	color: #1485cb;
	text-decoration: none;
	background: #fff !important;
	
}

.hauptmenu ul {
	margin-top: -1px;
	min-width: 15em;
	width: auto;
}

.hauptmenu a {
	border-bottom: 1px solid #1485cb;
	border-left: none;
	color: #0A4266;
	cursor: pointer;
	display: block;
	font-size: 13px;
	font-weight: 700;
	height: 45px;
	line-height: 45px;
	margin: 0;
	padding: 0 0.9em;
	position: relative;
	text-decoration: none;
	text-shadow:none;
	white-space: nowrap;
}

.hauptmenu a:hover {
	background: #fff !important;
	background-image: none;
	color: #1485cb;
	filter:none;
	border-bottom: 1px solid #1485cb;
}

ul.hauptmenu > li:hover {
	
	color: #1485cb;
}

.hauptmenu .current_page_item a,
.hauptmenu .current-menu-item a {
	background-color: #fff;
}



.front-page .hauptmenu .current_page_item a {
	background: none;
	background-color: transparent;
	background-image: none;
	filter: none;
}

.hauptmenu li li {
	background: transparent;
	background-image: none;
	border-left: 1px solid #1485cb;
	border-bottom: 1px solid #1485cb;
	border-right: none;
	border-top: 1px solid #1485cb;
	color: #0A4266;
	filter: none;
	margin: -1px 0 1px 0;
	width: auto;
}

.hauptmenu li li a {
	background: transparent !important;
	border: none;
	color: #0A4266;
	font-size: 12px;
	font-weight: 400;
	height: auto;
	height: 20px;
	line-height: 20px;
	padding: 5px 10px;
	text-shadow: none;
	white-space: nowrap;
}

.hauptmenu li li a:hover {
	background: #fff !important;
	background-image: none;
	border: none;
	color: #1485cb;
	
}

.hauptmenu li li:hover {
	background: #fff !important;	
}

.hauptmenu ul > li + li {
	border-top: 0;
}



.hauptmenu > li:first-child > a {
	border-left: none;
}
	#logo-letters-sm{
	display: none;
	}

 }
/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (min-width : 320px) 
and (max-width : 480px) {
	
	
	.hauptmenu{
		display: none;
	}
	#toggle-nav{
	display: block;
	}
	#logo{
 		margin: 5px 0 0 0 ;
 		padding:0;
 		max-width: 100%;
 		height: 100px;
 		float: none;
	}
	#logo-letters{
	display: none;
	}
	#logo-letters-sm{
	display: block;
	margin: 0 auto;
	}

	#header-widget {
    	color: #1485cb;
    	float: none;
    	
    	margin: 1% ;
    	max-width: 100%;
    	overflow: visible;
   	 	padding: 0;
   	 	text-align: center;
   	 	border-top: 1px dotted #1485cb;
	}
	#header-widget h4{
	 font-size: 1.2em;
	}
	#marilyn{
		display: none;
	}
	#inhalt.sb-r{
	float: none;
	width: 100%;
	
	margin: 0;
	padding: 0;

	}
	#container-boxes {
 		display: block; 
   		width: 100%;
 
	}
	#container-boxes ul {
		display:block;
		list-style-type: none;
		text-align: left;
		vertical-align: middle;
		padding: 0;
		}
	#container-boxes ul li {
		display: block;
  	 	background: transparent;
  	 	margin-top: 10px;
  		}
	#container-boxes a img,
	#container-boxes a img.alignleft{
		margin: 0;
		float: none;
	}
	
	#right-sidebar{
	float: none;
	padding: 0 0 0 0;
	margin: 1em 0;
   	width: 100%; 
	}
	.menu {
	background: #fff;
	background-image: none;
	
	}
	.menu,
ul.menu {
	border: none;
	filter: none;
	box-shadow: none;
}
.menu li{
	border: none;

}
.menu a {
	padding: 1em 0 0 0;
	margin: 0;
	border-bottom: 1px dotted #1485cb;
	}
	.menu a:hover{
	border-bottom: 1px dotted #b90721;;
	}
	#kontakt-sidebar{
	float: left;
	padding: 5em 0 0 0;
	margin: 0;
   width:38%; 
	}
	#right-sidebar ul {
	margin: 1em 0 0 0;
	padding: 0;
	list-style-type: none;
	width: 100%;
	}
	#right-sidebar ul li {
 	 background: transparent;
  	
	}
	h1{
	font-size: 1.8em;
    margin-bottom: 0.5em;
    margin-top: 0.5em;
	}
	h2{
	font-size: 1.6em;
	font-weight: normal;
	}
	h3{
	font-size: 1.3em;
    margin-bottom: 0.857em;
    margin-top: 0.857em;
	}
	h4{
	font-size: 1.2em;
	font-weight: normal;
	}
	
}
  


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