body {
   display:table;
   table-layout:fixed;
   padding-top:2.5cm;
   padding-bottom:2.5cm;
   height:auto;
}

* { padding:0; margin:0; }

.clearB { display: block; clear: both; line-height: 0; height: 0; }
.container { width: 100%; margin: auto;padding:0 3% 0; }

header {
	padding: 33px 0 20px; 
}
.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}
h1.article-name{
	color: #bc9c1f;
	padding-left: 0;
	font-style: normal;
	margin-bottom: 0;
	padding-bottom: 15px;
	font-size: 25px;
	line-height: 40px;
	font-family: "Gotham";
}
h1{
	color: #2d4881;
	font-size: 20px;
	font-style: normal;
	margin-bottom: 20px;
}
h2{
	color: #4951b3;
	margin-bottom: 0;
	font-size: 18px;
	line-height: 35px;
	font-style: normal;
}
h3{
	color: #0f1860;
	font-size: 16px;
	font-weight: bold;
	font-family: "Georgia",sans-serif;
	padding-bottom: 20px;
}
p, span, font, div{
	line-height: 24px;
	margin-bottom: 35px;
	font-family: 'Lato', sans-serif;
	font-size: 15px;
	color: #3d3d3d;
}

@media print and (color) {
   * {
      -webkit-print-color-adjust: exact;
      print-color-adjust: exact;
   }
}

* {
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.print-content {display:block !important;}
.print-content .container .hd h1{
	color:#FFF;
}
.print-display{ display:block; text-align: left; }
.post-img .tag , 
.web-content,
.inner-top-box,
.edition-side-menu{ display: none !important; }

/*HEADER*/
.print-content #logo{float:left;margin-bottom:0;padding-bottom:0;}
.print-content #edition-title{float:right;margin-right:40px;width:350px;text-align:right;font-size:25px;margin-top:20px;margin-bottom:0;padding-bottom:0;}
.the-edition-date{color:#32943a;font-size:18px;display:inline;}
.the-edition-title{color:#162e55;font-size:18px;display:inline;}

/*CONTENT*/
.edition-content-print{padding-bottom:15px !important;margin-bottom:15px !important;border-bottom:1px solid #CCC;}
.gallery .gallery-item{float:left;margin:20px 20px 20px 0;*/}
#detail-thumb{float:left;margin:0 25px 20px 0;}
.author{color:#5faf59;font-size:19px;margin:0;padding:0;}
.bot-box{border:none;}
ul{margin-left:20px;}

#theprintcontent ul{margin-left: 40px;}
#theprintcontent .bot-box {
    margin-bottom: 0;
    margin-top: 24px;
    padding: 12px 5px 0 3px;
}
#theprintcontent h2.the-title{
	margin-top:20px;
}
#theprintcontent #detail-thumb.ondetail-thumb{float:none;margin:0;text-align:center;margin-bottom:40px;}
.this-description{width:95%;}
/*KEEP THE DATES*/
.ktd-list{margin-bottom:20px;}
.ktd-list .day, .ktd-list .month, .ktd-list .year{ color: #002d56;font-size:20px;}
.ktd-list .day{font-weight:bold;}
.ktd-list .event-name{ color: #f7911e; font-size:20px;}
a[href]:after {
content: none !important;
}
.gallery-para-sa-reader-view .gal-item{
	float:left;
	margin-right:10px;
	margin-bottom:10px;
}
.gray-box {
    background-color: #e8e3e3;
    text-align: center;
}
.gray-box img {
    display: inline-block;
}

.page-break {
visibility:hidden;
page-break-before:always
}
/*
.putadesc{page-break-before:always; border-top:none; margin-top:10px; }

.putadesc:first-child{page-break-before: unset !important;margin-top:0 !important;color: red !important; border: 1px solid red;}

 */
 .firstprint{
 
	 page-break-before:unset !important;
	 margin-top:0 !important;
	
 }
 
 .edition-content-print.firstprint_wrap{
	  page-break-before:auto !important;
	 margin-top:0 !important;
	 
 }
 .putadesc{
	/* page-break-before:always;
	*/
	page-break-before: auto; 
	 
	 margin-top:10px;
	 
	}
	
	
	.edition-content-print{
		page-break-before: always; 
		
	}
	
 .gray-box:first-child{
	page-break-before:unset !important;
 }
 .page-break{
	display:none;
	 
 }
 .gray-box{page-break-before:always;margin-top:10px;}
 p{
	 page-break-inside: auto
	 margin-bottom:10px;
 }
@page {
  grid: "top" 5em
        "running-header" 2em
        "bottom";
  chains: top bottom;
}
  img {
        display: block;
        page-break-inside: avoid;
    }
	
	img, table, ul, ol, .code-snippet {
        page-break-inside: avoid;
    }
