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

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

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

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


body {
    background: url("/hoergame/wp-content/themes/hoergame/assets/images/background.jpg") no-repeat center center fixed; 
 	-webkit-background-size: cover;
  	-moz-background-size: cover;
 	-o-background-size: cover;
	background-size: cover;
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/hoergame/wp-content/themes/hoergame/assets/images/background.jpg', sizingMethod='scale');
	-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/hoergame/wp-content/themes/hoergame/assets/images/background.jpg', sizingMethod='scale')";
    color: #333;
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-size: 14px;
}

a {
    color: #cc4d00; /* alt orange: #FF5500;  Blau: #004378  */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

menu, ol, ul {
    list-style: none;
    padding: 0;
}

 
.body-text ul {
    list-style: circle;
    padding: 0 0 0 40px;
}

.body-text ol {
    list-style: decimal;
    padding: 0 0 0 40px;
}

p {
    margin: 0; 
    padding: 0 0 1em;
}

li {}

.body-text span {
    font-style: italic;
}

/* Body
--------------------------*/

.body-wrap {
    background: #fff;
    padding: 0 15px;
    margin: 0 auto;
    width: 936px;
}



/* Header
--------------------------*/

.site-header {
    float: left;
    margin: 10px 0 26px;
    width: 936px;
}

.partner {
    float: right;
    margin: 0 0 4px;
}

.partner ul {
    margin: 0;
}

.partner li,
.header-nav-categories > ul > li,
.header-nav-formats > ul > li {
    float: left;
}

.header-nav-formats {
    color: #004378;
    position: relative;
    z-index: 1;
    display: none;
}

.partner li {
    margin: 0 0 0 4px;
}

/*.partner #dradio {
    display: none;
}
*/

.logo-frame,
.header-nav {
    clear: both;
    float: left;
    width: 936px;
}

.search-form {
    float: right;
}

.partner a {
    display: block;
    height: 20px;
    overflow: hidden;
    text-indent: -999px;
}

.partner a:hover {
    text-decoration: none;
}

#dfunk a {
    background: url('assets/images/DLF_RGB.png') no-repeat top left;
    width: 109px;
}

#dradio a {

}

#dradio-kultur a {
    background: url('assets/images/DLK_RGB.png') no-repeat top left;
    width: 151px;
}

#dradio-wissen a {
    background: url('assets/images/DLW.png') no-repeat top left;
    width: 94px;

}

#dradio a {
    background: url("assets/images/logoDlr.png") no-repeat scroll 0 0 transparent;
    color: #fff;
    line-height: 16px;
    padding: 0 6px;
    text-indent: 0;
    text-indent: -999px;
    width: 108px;
}

.logo-frame {
    position: relative;
}

#dradio-logo {
    bottom: 0;
    left: 0;
    position: absolute;
}

.header-nav-categories {
    color: #FF5500;
    float: left;
    padding: 2px 0 0;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.header-nav-separator {
    border-bottom: 1px solid #AEAFB1;
    clear: both;
    display: block;
    float: left;
    height: 0px;
    margin: 3px 0;
    width: 100%;
}

.header-nav-categories span,
.header-nav-categories ul,
.header-nav-formats span,
.header-nav-formats ul {
    float: left;
    margin: 0;
}

.header-nav-formats > span {
    height: 18px;
    line-height: 19px;
}

#menu-formate-menu {
    top: 1px;
}

.header-nav-categories ul li,
.header-nav-formats ul li {
    margin: 0 0 0 5px;
    padding: 0 0 0 10px;
}

.header-nav-categories ul li {
    background: url("assets/images/menu-separator-categories.gif") no-repeat scroll left 2px transparent;
}

.header-nav-formats ul li {
    background: url("assets/images/menu-separator-formats.gif") no-repeat scroll left 2px transparent;
}

.header-nav-categories ul li a {
    color: #777;
}

.header-nav-categories ul li:first-child,
.header-nav-formats ul li:first-child {
    background: none;
    margin: 0;
    padding: 0 5px 0 0;
}

.header-nav-categories ul li a,
.header-nav-formats ul li a {
    line-height: 16px;
}

.header-nav {
    padding: 8px 0 0;
}

#searchform {
    border: 1px solid #ccc;
    height: 21px;
    line-height: 21px;
    margin: 0px 0 3px 0;
    padding: 0 0 0 5px;
}

#search-input {
    background: none;
    border: none;
}

#searchsubmit {
    background: url('assets/images/search-button.png') transparent right 1px no-repeat;
    border: none; 
    height: 21px;
    overflow: hidden;
    text-indent: -999px;
    width: 31px;
}


/* Dropdown
--------------------------*/


ul.sub-menu  {
}

ul.dropdown ul {
    background: #fff;
/*    border: 1px solid #333;*/
    padding: 5px;
}

ul.dropdown ul li {
    background: none;
    border: none;
    margin-left: 0;
    padding: 0;
    width: 100%;
}

ul.dropdown ul li a {
    display: block;
}

/* Content
--------------------------*/

.site-content {
    clear: both;
    float: left;
    width: 936px;
}

.article-stream,
.content {
    float: left;
    width: 612px;
}

.sidebar {
    float: left;
    margin: 0 0 0 26px;
    width: 298px;
}


.sidebar .tagcloud {
    padding: 20px 0;
}


.top-slider {
    border: 1px solid #87888A;
    float: left;
    margin-bottom: 30px;
    padding: 1px;
}


.lof-slidecontent ul.navigator-wrap-inner li > div {
    background: none repeat scroll 0 0 #EEEEEE;
    border-top: 1px solid #E1E1E1;
    color: #003366;
    height: 100%;
    margin-left: 15px;
    padding: 0 20px 0 15px;
    position: relative;
    text-align: left;

    font-size: 12px;
    line-height: 16px;
}

.lof-slidecontent ul.navigator-wrap-inner li.active div {
    background: #fff;
    color: #003366;
}

.navigator-wrap-inner h3 {
    font-size: 18px;
    line-height: 18px;
    margin: 1em 0 0;
}

.lof-slidecontent ul.navigator-wrap-inner li.active {
    background: url("assets/images/arrow-bg.png") no-repeat scroll left center transparent;
}

.lof-slidecontent .slider-description .slider-meta span.top-story {
    background: none repeat scroll 0 0 #C01F25;
    border: none; 
    color: #fff;
    line-height: 16px;
    font-family: "Trebuchet MS",Trebuchet,Arial,Verdana,sans-serif;
    font-size: 12px;
    margin: 0;
    padding: 0px 3px;
    text-decoration: none;
    text-transform: uppercase;
}

.lof-slidecontent .slider-description .slider-meta span {
    border-left: 1px solid;
    color: #003366;
    display: inline-block;
    font-family: "Trebuchet MS",Trebuchet,Arial,Verdana,sans-serif;
    font-size: 12px;
    line-height: 16px;
    margin: 0 0 0 7px;
    padding: 0 0 0 7px;
    text-decoration: none;
    text-transform: uppercase;
}


.lof-slidecontent .slider-description {
    background: url("assets/images/bg_trans.png") repeat scroll 0 0 transparent;
    background: rgba(255,255,255,0.8);
    bottom: 30px;
    color: #003366;
    font-size: 12px;
    height: auto;
    line-height: 14px;
    min-height: 0;
    padding-bottom: 20px;
}

.lof-slidecontent .slider-description h4 {
    color: #003366;
    font-size: 16px;
    margin: 0;
    padding: 0;
}

.slider-meta {
    color: #fff;
    padding: 0 0 10px;
}

.lof-slidecontent .slider-description a {
    color: #003366;
}

.widget .lof-slidecontent .slider-description {
    width: 230px;
}


/* Page
--------------------------*/

.page .article-stream, 
.page .content {
    width: 935px;
}

.page .article-page .article-text-wrap {
    float: left;
    min-height: 500px;
    width: 750px;
}

.page h3.headline {
    margin: 20px 0 !important;
}

/* Teaser box
--------------------------*/

.format-teaser-box {
    border: 1px solid #87888a;
    float: left;
    margin: 0 0 25px;
    padding: 2px;
    width: 606px;
}

.format-teaser-box .wrap {
    background: #f2f2f2;
    float: left;
    padding: 14px;
    width: 578px;
}

.format-teaser-box h2,
.format-teaser-box h3,
.article-page .format-teaser-box h2,
.article-page .format-teaser-box h3 {
    color: #3e3d40;
    font-family: 'Helvetica','Arial',sans-serif;
    font-size: 14px;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
}

.format-teasers {
    padding: 9px 0 12px;
}

article.format-teaser,
.article-stream article.format-teaser{
    border-top: 1px solid #d9d9d9;
    clear: none;
    float: left;
    margin: 28px 0 0 37px;
    padding-top: 8px;
    width: 162px;
}

.article-stream .body-text strong {
    font-weight: normal;
}

.article-stream.article-page strong {
    font-weight: bold;
}

article.format-teaser.first-row,
.article-stream article.format-teaser.first-row {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

article.format-teaser.first-in-row,
.article-stream article.format-teaser.first-in-row {
    clear: both;
    margin-left: 0;
}

.teaser-headline {
    line-height: 15px;
    padding: 6px 0 0;
}

.teaser-headline .heading.format {
    color: #004378;
    display: inline;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.teaser-headline .headline,
.article-page .teaser-headline .headline {
    font-size: 14px;
    line-height: 16px;
    font-family: 'Helvetica','Arial',sans-serif;
    margin: 0;
}

/* Stream
--------------------------*/

.post-image {
    position: relative;
}

.article-stream {
    border-top: 1px solid #aeafb1;
}

.article-stream .top-heading {
    display: block;
    font-size: 14px;
    font-weight: bold;
    margin: 3px 0;
    text-transform: uppercase;
}

.article-stream .top-heading a {
    color: #333;
}

.heading.format span {
    background: url('assets/images/meta-separator.gif') no-repeat scroll left 1px transparent;
    margin: 0 0 0 2px;
    padding: 0 0 0 7px;
}

.heading.format span:first-child {
    background: none;
    margin: 0;
    padding: 0;
}

.debatte-banner {
    background: url('../images/debatte.png') top left transparent no-repeat;
    display: block;
    height: 69px;
    left: 0;
    position: absolute;
    top: 0;
    width: 69px;
}


/* 
--------------------------*/

.stream-header {
    border-top: 1px solid #AEAFB1;
}

.stream-header h1 {
    color: #666;
    font-size: 14px;
    font-weight: bold;
    padding: 0;
    text-transform: uppercase;
}

/* Article
--------------------------*/

.article-stream article {
    background: url('assets/images/article-separator.gif') top left no-repeat transparent;
    clear: both;
    float: left;
    margin: 0 0 20px;
    padding-top: 7px;
    width: 100%;
}

.article-stream.archive article{
    padding-top: 7px;
}

article.first-in-stream,
.article-stream.stream article.first-in-stream,
.article-page article,
.static-page article {
    background: none;
    border-top: none;
    padding-top: 0;
    margin-top: 0px;
}

.article-stream.stream article {
    background: none;
    border-top: 1px solid #aeafb1;
}

.heading.format,
.heading.format a {
    color: #79787B;
    font-size: 12px;
    line-height: 12px;
    text-transform: uppercase;
}

.headline,
.article-page h3.headline {
    margin: 7px 0;
    font-size: 26px;
    font-weight: bold;
    line-height: 28px;
    
}

.article-page .headline,
.article-page h2,
.article-page h3,
.article-page h4,
.article-page h5,
.article-page h6 {
    font-family: 'Source Sans Pro';
    font-weight: bold;
}

.article-page h2 {font-size: 20px; font-family: 'Source Sans Pro'; font-weight: bold; color: #3e3d40;}
.article-page h3 {font-size: 20px; font-family: 'Source Sans Pro'; font-weight: bold; color: #3e3d40;}
.article-page h4 {font-size: 20px; font-family: 'Source Sans Pro'; font-weight: bold; color: #3e3d40;}
.article-page h5 {font-size: 20px; font-family: 'Source Sans Pro'; font-weight: bold; color: #3e3d40;}
.article-page h6 {font-size: 20px; font-family: 'Source Sans Pro'; font-weight: bold; color: #3e3d40;}

h2.subline {font-size: 14px; font-family: 'Helvetica' ,'Arial' ,'sans-serif'; color: #79787b;font-weight: bold;}

.read-more {
    font-size: 12px;
}

.article-text-wrap {
    float: right;
}

/* size: S */

.article-stream article.image-size-s {
    background: none;
    border-top: 1px solid #AEAFB1;
}

.image-size-s .article-image-wrap {
    float: left;
    margin-right: 18px;
}

.image-size-s .article-text-wrap {
    width: 342px;
}

.attachment-size-s.wp-post-image {
    height: auto;
    width: 252px;
}

/* size: XS */

.image-size-xs .article-image-wrap,
.image-size-xs .article-image-wrap img {
    height: auto;
    width: 208px;
}

.image-size-xs .article-image-wrap {
    float: left;
    margin-right: 18px;
}

.image-size-xs .article-text-wrap {
    width: 386px;
}

/* size: S */

.image-size-xl .article-image-wrap {
    float: left;
    margin-bottom: 20px;
    width: 100%;
}

.image-size-xl .article-image-wrap img {
    height: auto;
    max-width: 100%;
}

.image-size-xl .article-text-wrap {

}

/* Article Page
--------------------------*/

.article-page .top-heading{
    margin-bottom: 27px;
}

.article-page .heading {
    text-transform: none;
}

.article-page .article-image-wrap {
    margin: 20px 0 13px;
}

.article-page .article-text-wrap {
    clear: both;
}

.image-credits {
    background: #f6f6f6;
    color: #58585A;
    font-size: 12px;
    font-style: italic;
    padding: 8px;
    text-align: right;
}

/* Static Page
--------------------------*/
.article-stream.static-page {
    border-top: none;
}

.static-page .article-image-wrap {
    margin: 20px 0 13px;
}

/* Social share
--------------------------*/

.share {
    border-top: 1px solid #aaa;
    clear: both;
    float: left;
    min-height: 23px;
    padding: 15px 0;
    position: relative;
    width: 100%;
}

.external-widgets {
    display: block;
    float: left;
    width: 100px;
}

.plusone-widget {

}

.tweet-widget {
    width: 124px;
}

.internal-widgets {
    position: absolute;
    right: 0;
    top: 15px;
}

#print, #send, #submit,.wpcf7-submit {
    position:relative;
    background-color:#f8f8f8;
    background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#dedede));
    background-image:-moz-linear-gradient(top,#fff,#dedede);
    background-image:-o-linear-gradient(top,#fff,#dedede);
    background-image:-ms-linear-gradient(top,#fff,#dedede);
    background-image:linear-gradient(top,#fff,#dedede);
    border:#ccc solid 1px;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
    border-radius:3px;
    color:#333;
    font-weight:bold;
    font-size: 11px;
    text-shadow:0 1px 0 rgba(255,255,255,.5);
    -webkit-user-select:none;
    -moz-user-select:none;
    -o-user-select:none;
    user-select:none;
    cursor:pointer;
    height:18px;
    max-width:98%;
    padding: 2px 10px;
    overflow:hidden;

}
#print:focus,
#print:hover,
#print:active,
#send:focus,
#send:hover,
#send:active,
#submit:focus,
#submit:hover,
#submit:active,
.wpcf7-submit:focus,
.wpcf7-submit:hover,
.wpcf7-submit:active

 {
    border-color:#bbb;
    background-color:#f8f8f8;
    background-image:-webkit-gradient(linear,left top,left bottom,from(#f8f8f8),to(#d9d9d9));
    background-image:-moz-linear-gradient(top,#f8f8f8,#d9d9d9);
    background-image:-o-linear-gradient(top,#f8f8f8,#d9d9d9);
    background-image:-ms-linear-gradient(top,#f8f8f8,#d9d9d9);
    background-image:linear-gradient(top,#f8f8f8,#d9d9d9);
    -webkit-box-shadow:none;
    -moz-box-shadow:none;
    box-shadow:none;
}


#print, #send, #submit,.wpcf7-submit {
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#dedede');
    -ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#dedede')";
}
#print:focus, #send:focus, #submit:focus, .wpcf7-submit:focus,
#print:hover, #send:hover, #submit:hover,.wpcf7-submit:hover {
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8f8f8',endColorstr='#d9d9d9');
    -ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8f8f8',endColorstr='#d9d9d9')";
}
#print:active,
#send:hover,
#submit:hover,
.wpcf7-submit:hover {
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8f8f8',endColorstr='#d9d9d9');
    -ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8f8f8',endColorstr='#d9d9d9')";
}

#print {
    margin-right: 10px;
}

.share .social_share_privacy li.help_info {
    margin: 0 !important;
}

.social_share_privacy {
    margin-bottom: 0;
}
/*
#print, #send {
    display: block;
    line-height: 20px;
    margin-bottom: 10px;
    padding-bottom: 0;
    padding-top: 0;
    text-align: center;
    width: 55px;
}

*/
/* Pagination Navigation
--------------------------*/

.pagination-navigation {
    clear: both;
    float: left;
    font-size: 12px;
    margin: 20px 0 30px;
    text-transform: uppercase;
    width: 100%;
}

.pagination-navigation a {
    margin-left: 5px;
    padding-left: 10px;
}

.pagination-navigation a:first-child {
    margin: 0;
    padding: 0; 
}

/* Sidebar
--------------------------*/

.widget-title {
    color: #666666;
    font-size: 14px;
    font-weight: bold;
    padding: 0 0 14px;
    text-transform: uppercase;
}

.widget {
    border-top: 1px solid #AEAFB1;
    float: left;
    padding: 10px 0;
    width: 298px;
}

.textwidget img {
    padding: 0 0 10px;
}

.textwidget blockquote {
    border: none;
    color: #555555;
    font-family: serif;
    font-size: 18px;
    font-style: italic;
    padding: 0 5%;
    text-align: center;
}

.textwidget blockquote p {
    padding: 0;
}

.widget img {
    float: left;
}

.social-share-icons {
    float: left;
    margin: 0 10px 0 0;
}

.popular-posts li{
    clear: both;
    float: left;
    width: 100%;
}

.wpp-thumbnail.wpp_fi {
    margin: 0 10px 5px 0;
}

.quotescollection_randomquote q {
    color: #004378;
    font-family: 'Source Sans Pro';
    font-weight: bold;
    font-size: 24px;
    line-height: 1em;
}

.quotescollection_randomquote cite {
    color: transparent;
    font-size: 0;
    margin-top: 3px;
    text-align: left;
}
.quotescollection_randomquote cite .quotescollection_author {
    color: #004378;
    font-size: 13px;
}

/* Comments
--------------------------*/
.article-comments {
    border-top: 1px solid #AEAFB1;
    clear: both;
    padding: 20px 0 0 0;
}

#comments-area {
    border-top: 1px solid #AEAFB1;
    clear: both;
    padding: 20px 0 0 0;
}

#comments-area > h3 {
    margin: 0;
}

.countdownbox {
    clear: both;
    float: left;
    font-size: 14px;
    padding: 10px 0;
    width: 100%;
}

.countdownbox input {
    color: #006AB3;
    border: none;
}

#respond {
    clear: both;
    padding: 20px 0 0 0;
}

.commentlist {
    border-top: 1px solid #AEAFB1;
    list-style: none outside none;
    margin: 20px 0 0;
}

.commentlist li {
    padding: 20px 0 0 0;
}

.commentlist > li {
    border-bottom: 1px solid #AEAFB1;
    padding-bottom: 20px;
} 

.commentlist li ul li {
    border: none;
    padding-left: 20px;
}

.commentlist p {
    padding: 0 0 0.5em;
}

.reply {
    text-transform: uppercase;
}

#comment {
    padding: 5px;
    resize:vertical;
    width: 600px;
}

#commentlen {
    width: 35px !important;
}

/* Widgets
--------------------------*/
#recentcomments li {
    padding: 0 0 0.7em;
}
#recentcomments li a {
    color: #cc4d00!important;
}
#recentcomments li a.url {
    color: #222222 !important;
}

.widget li {
    display: block;
    line-height: 16px;
    padding: 0 0 0.7em;
}

.taxonomy-list a {
    border-left: 1px solid;
    margin: 0 0 0 5px;
    padding: 0 0 0 10px;
}

.taxonomy-list a:first-child {
    border: none;
    margin: 0;
    padding: 0;
}

.rsswidget img {
    display: none;
}

/* Footer
--------------------------*/

.site-footer {
    background: #FFFFFF;
    border-top: 1px solid #AEAFB1;
    clear: both;
    display: block;
    min-height: 110px;
}

.site-footer a {
    color: #777;
}

.footer-navigation {
    font-size: 12px;
    text-transform: uppercase;
}


.footer-navigation > ul {
    float: left;
    margin-right: 20px;
}
/* ==========================================================================
   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;
}

#autormeta {
	width: 100%;
}

#autormeta div.autorimg {
    width: 140px;
    float: left;
    margin-bottom: 0px;

}
#autormeta div.autorimg img {
    width: 130px;
}


#autormeta.autorlist {
    min-height: 180px;
   
}

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