/*
	Theme Name: Shout Africa
	Theme URI: http://www.shout-africa.com
	Description: Theme Developed for Shout Africa
	Version: 1
	Author: Andrey Lukashov
	Author URI: http://lucasoff.uk
	Tags: HTML5, CSS3, SEO Ready, Semantic
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font:300 11px/1.4 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color:#444;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

a:active,
a:link,
a:visited {}
a:hover {text-decoration:underline; color: #98AC22;-webkit-transition:0.2s;-moz-transition:0.2s; -o-transition:0.2s;}

h1 {font-size:23px;}
h2 {font-size:20px;}
h3 {font-size:18px;}
h4 {font-size:16px;}
h5 {font-size:15px;}
h6 {font-size:14px;}

blockquote {font-style:italic;color:#646464 !important; border-left:5px solid #eef6be; padding-left:5px;}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/


html { 
  background: url(img/bg.jpg) no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

/* wrapper */
.wrapper {
	max-width:980px;
	min-height: 980px;
	width:100%;
	height:100%;
	margin:10px auto;
	position:relative;
	/* background:grey; */
	padding:20px;
	-webkit-box-shadow: 0px 0px 4px 1px rgba(0,0,0,0.25);
	-moz-box-shadow: 0px 0px 4px 1px rgba(0,0,0,0.25);
	box-shadow: 0px 0px 4px 1px rgba(0,0,0,0.25);
	background:#fff;
	border-radius: 2px;
}

/* header */
.header {
	width:100%;
}

.brand-slogan {display:inline-block;}
.brand {}
.slogan {}

.ads-header {float:right; max-width:460px;}
.breakpoint-ads { max-width:728px; margin:20px auto 10px auto;  text-align: center;}
#single-post-ads {max-width:600px; margin:20px auto;  text-align: center;}


/* logo */
/* africa color 5794E8; dark text color: 98AC22; light text color: B0CB1F*/
.logo {float:left;  max-width:380px; padding-top:10px;}
.logo-img {height:auto; width:100%;}

/* nav */
.nav-main {display:inline-block; background: #f6f6f6; width:100%; margin:10px 0;border-top: 6px solid #98AC22;  border-radius: 2px; max-height: 48px;}
.nav-main .current-menu-parent,
.nav-main .current-menu-item {font-weight:bold;}
.nav-main .current-menu-item,
.nav-main .current-menu-parent,
.nav-main li {display:inline-block; font-size:21px; padding:6px; float:left;  border-radius: 2px;}
.nav-main .current-menu-parent,
.nav-main .current-menu-item,
.nav-main li:hover { background-color:#eef6be;-webkit-transition:0.3s;-moz-transition:0.3s; -o-transition:0.3s;}

.nav-main li a:link,
.nav-main li a:active,
.nav-main li a:visited {color:#444;}
.nav-main li a:hover {color:#444;text-decoration: underline; -webkit-transition:0.3s;-moz-transition:0.3s; -o-transition:0.3s;}
.nav-main ul {margin:0; padding:0; display:inline-block;}


.nav-top {display:inline-block; background-color: #424242; width:100%;  margin:0 0 10px 0;  border-radius: 2px; padding-left:10px;  -webkit-box-shadow: 0px 0px 1px 1px rgba(0,0,0,0.25);
  -moz-box-shadow: 0px 0px 1px 1px rgba(0,0,0,0.25);
  box-shadow: 0px 0px 1px 1px rgba(0,0,0,0.25);}
.nav-top li {display:inline-block;font-size:17px; margin:0; padding:10px 6px;} 
.nav-top ul {display:inline-block; margin:0; padding:0; height:43px;}
.nav-top li  a:active,
.nav-top li  a:visited,
.nav-top li  a:link {color:#fff;}
.nav-top li  a:hover {color:#fff; text-decoration:underline;width:100%;height:100%;}
.nav-top li:hover {background:#5E5E5E; -webkit-transition:0.3s;-moz-transition:0.3s; -o-transition:0.3s;border-bottom:4px solid #5794E8; }
.nav-top-li-hovered {padding:10px 6px 6px 6px!important;}

.nav-bottom {display:inline-block; width:100%; padding:10px; text-align:center;}
.nav-bottom ul {list-style-type:none;  display:inline-block; margin:0; padding:0;}
.nav-bottom li {display:inline-block; padding-right:10px; font-size:13px; text-decoration:underline;}
.nav-bottom li a:hover{color:#98AC22;-webkit-transition:0.3s;-moz-transition:0.3s; -o-transition:0.3s;}

.top-search {display:inline-block;float:right;clear:both; padding-top:6px; padding-right:8px;}
.top-search .search-field {height: 28px; margin-right: 10px;padding-left:5px;border-radius:1px; border:0;font-size:16px;}
.top-search .search-submit {color:white; height: 30px; width:68px; border:1px solid white;font-size:17px;  border-radius: 1px;background-color: #424242;}
.top-search .search-submit:hover {background:#5E5E5E; -webkit-transition:0.3s;-moz-transition:0.3s; -o-transition:0.3s;}
/* home */
.home {margin-bottom:10px;}

/* sidebar */
.sidebar {max-width:300px; float:right; display:inline-block; vertical-align:top; }
.widget-title {font-size:30px;}
.sidebar-widget > div > h3:first-child {font-size: 20px;margin: 10px 0 0 0;padding:5px 10px;color: #212121;border-top: 5px solid #04A4CC;background-color: #f6f6f6;border-radius: 2px;}
.sidebar-widget > div{margin-bottom:20px;}
.widget_recent_entries ul, 
.menu {font-size:17px; margin:0; padding: 5px 12px; list-style-type:none;}
.widget_recent_entries ul li,
.menu li {padding-bottom:5px;}
.menu li a:hover {text-decoration:underline;}
.menu li a:link,
.menu li a:visited,
.widget_recent_entries ul li a:link,
.widget_recent_entries ul li a:visited,
.widget_recent_entries ul li a:active,
.menu li a:active {color:#444;}
.widget_nav_menu ul li a:hover,
.widget_recent_entries ul li a:hover {text-decoration:underline; color: #98AC22 !important;-webkit-transition:0.2s;-moz-transition:0.2s; -o-transition:0.2s;}

.widget_nav_menu ul li:before {font-family:FontAwesome; content: "\f105"; padding-right:3px;}
.widget_recent_entries ul li:before {font-family:FontAwesome; content: "\f101"; padding-right:3px;}

.widget_archive > select {margin:10px auto !important; padding:2px;font-size:18px;}

.social-sharing {list-style-type:none;display:inline-block; margin:0; padding:0; width:100%;}
.social-sharing li:first-child {font-size:20px;}
.social-sharing li {float:left; padding-right:17px; vertical-align:middle;}
.social-sharing li a > i {font-size:37px;}
.social-sharing li a .fa-facebook-official {color:#3B5998;}
.social-sharing li a .fa-facebook-official:hover {color:#8B9DC3;-webkit-transition:0.2s;-moz-transition:0.2s; -o-transition:0.2s;}
.social-sharing li a .fa-twitter {color:#3cf;}
.social-sharing li a .fa-twitter:hover {color:#0084B4;-webkit-transition:0.2s;-moz-transition:0.2s; -o-transition:0.2s;}
.social-sharing li a .fa-whatsapp {color:#21af38;}
.social-sharing li a .fa-whatsapp:hover {color:#61d36b;-webkit-transition:0.2s;-moz-transition:0.2s; -o-transition:0.2s;}
.social-sharing li a .fa-linkedin-square {color:#007bb6;}
.social-sharing li a .fa-linkedin-square:hover {color:#2a93c5;-webkit-transition:0.2s;-moz-transition:0.2s; -o-transition:0.2s;}
/* category */
#content-left,
#article-wrapper {float:left; display:inline-block; vertical-align:top; padding:0 5px;}

/* footer */
.footer {	
	border-top: 1px dotted rgb(202, 201, 201); clear:both;
}
.copyright {font-size:18px; width:100%; text-align:center; margin:0; }

/* pagination */
.pagination {width:100%;  margin:15px 0;padding:10px; text-align:center;}
.page-numbers {font-size:17px; background-color: #f6f6f6;  padding:10px; border-radius:2px;}
.page-numbers:hover,
.pagination .current {background-color: #04A4CC !important; fon-weight:bold; color:#fff;}
.pagination .prev,
.pagination .next {background-color: #04A4CC !important; fon-weight:bold; color:#fff;}
.page-numbers .dots {}

/* breadcrumbs */
#breadcrumbs {font-size:17px; padding-left:5px; margin:10px 0; width:100%;}
/*------------------------------------*\
    PAGES
\*------------------------------------*/
#topic-name {margin:0 0 10px 0;}

.home-section-header {}

#top-story-home-wrapper {padding-top:10px; padding-bottom: 7px;}
.top-story-home {display:inline-block; width:100%; vertical-align:top; max-width: 335px; float:right;}
.top-story-home:nth-child(2) {margin-bottom:20px;}
.top-story-home:first-child{width:100%; max-width:580px; padding:0; margin:0; float:left;vertical-align:top;}
.top-story-title a:hover {  color: #98AC22; text-decoration:underline; -webkit-transition:0.2s;-moz-transition:0.2s; -o-transition:0.2s;}
.top-story-title {margin:0; padding:10px; font-size:19px; border-top:5px solid #98AC22;background-color:#f6f6f6; border-radius:2px;}
.top-story-excerpt{font-size:17px; text-align:justify; margin-bottom:0;}
.top-story-link {float:right; clear:both; font-size:19px; font-weight:bold; padding:10px 0; margin:0;  }
.top-story-link:hover {text-decoration:underline;}
.top-story-thumbnail {margin:1px; background-color:#959595; text-aling:center;-webkit-box-shadow: 0px 0px 1px 1px rgba(0,0,0,0.25);
  -moz-box-shadow: 0px 0px 1px 1px rgba(0,0,0,0.25);
  box-shadow: 0px 0px 1px 1px rgba(0,0,0,0.25);width:100%;}
.top-story-thumbnail img {margin: 0 auto;  display: block; width:100%; height:auto;}

.top-story-home:nth-child(3) .top-story-excerpt, 
.top-story-home:nth-child(2) .top-story-excerpt{display:none;}

.top-story-home:nth-child(3) .top-story-title, 
.top-story-home:nth-child(2) .top-story-title{border-top:5px solid #04A4CC;}


#bottom-story-home-wrapper {}
.bottom-story-home {}


#bottom-story-home-wrapper {max-width:590px; display:inline-block; margin-top:14px; padding-top:10px; padding-left:30px; vertical-align:top;}
.bottom-story-home {display:inline-block; width:100%; vertical-align:top; max-width:600px; background-color: #f6f6f6; margin-bottom:30px; padding:10px 5px 5px 5px; border-top:5px solid #98AC22; border-radius:2px;}

.bottom-story-title a:hover {color: #98AC22; text-decoration:underline;-webkit-transition:0.2s;-moz-transition:0.2s; -o-transition:0.2s;}
.bottom-story-title {margin:0; float:right; width:406px; padding:0; font-size:19px;background-color:#f6f6f6;}
.bottom-story-excerpt{font-size:17px; text-align:justify; margin:0; clear:both;padding:10px 10px 0 10px;}

.bottom-story-link {float:right; clear:both; font-size:19px; font-weight:bold; padding:10px 0; margin:0;  }
.bottom-story-link:hover {text-decoration:underline;}

.bottom-story-thumbnail {float: left;  max-width: 120px; margin-left: 10px;-webkit-box-shadow: 0px 0px 1px 1px rgba(0,0,0,0.25);  -moz-box-shadow: 0px 0px 1px 1px rgba(0,0,0,0.25);  box-shadow: 0px 0px 1px 1px rgba(0,0,0,0.25);}
.bottom-story-thumbnail img {width:100%; height:auto;}

.bottom-story-home:nth-child(3) .top-story-title, 
.bottom-story-home:nth-child(2) .top-story-title{border-top:5px solid #04A4CC;}

#countries-list-home {display:inline-block;list-style-type:none; width:100%; max-width:350px; margin:0; padding:24px 0; float:left; clear:both;}
#recent-posts-home {display:inline-block; list-style-type:none; width:100%; max-width:350px; margin:0; padding:24px 0; float:left; }
#countries-list-home  li:first-child,
#recent-posts-home li:first-child {background-color: #f6f6f6;padding:10px;border-top: 5px solid #04A4CC;font-weight:bold;color:#444;border-radius:2px;}
#countries-list-home  li:first-child:hover,
#recent-posts-home li:first-child:hover {text-decoration:none; color:#444;}
#countries-list-home  li,
#recent-posts-home li {font-size:19px; padding:7px 10px 3px 10px;color:#444;}
#countries-list-home  li,
#recent-posts-home li {padding-left:17px;}
#countries-list-home  li:hover,
#recent-posts-home li:hover {text-decoration:underline;}
#countries-list-home  li:hover,
#countries-list-home  li a:hover,
#recent-posts-home li:hover, 
#recent-posts-home li a:hover {color:#98AC22;-webkit-transition:0.2s;-moz-transition:0.2s; -o-transition:0.2s;}

#content-left > article,
#single-post {max-width:600px; font-size:17px; line-height:1.6;}
#single-post p {margin:0 0 10px 0; font-family: verdana, arial, sans-serif;}
.post-title {font-size:22px; margin:0; padding:0 0 7px 0; color:#212121;}
.post-meta {margin:0; padding:0 0 5px 0; font-size:15px; color:#757575;border-bottom: 1px solid rgb(202, 201, 201);}
article p {text-align:justify;}

.articles-list-title {margin:0;padding:3px 3px 3px 10px;   border-top: 10px solid #98AC22; background:#f6f6f6; border-radius:2px; margin-bottom:15px;}
.articles-list-title a:active,
.articles-list-title a:link,
.articles-list-title a:visited {font-size:22px;}
.articles-list-title a:hover {text-decoration:underline; color: #98AC22;-webkit-transition:0.2s;-moz-transition:0.2s; -o-transition:0.2s;}
.articles-list-thumbnail {display:inline-block;float:left;max-width:25%; height:auto; margin:1px 10px 1px 1px; -webkit-box-shadow: 0px 0px 1px 1px rgba(0,0,0,0.25);
  -moz-box-shadow: 0px 0px 1px 1px rgba(0,0,0,0.25);
  box-shadow: 0px 0px 1px 1px rgba(0,0,0,0.25);}
.articles-list-excerpt {margin: 0;padding: 0; text-align:justify;padding:0 0 10px 0;  margin-top: -5px;}
.articles-list-meta {margin: 0;padding:10px 0; text-align:right;display: inline-block;  width: 100%;}
.articles-list-article {margin-bottom:20px;}

/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (max-width:415px) {
	.social-sharing li:first-child {font-size:17px;}
	.social-sharing li {padding-right: 7px !important;}
	.nav-bottom li {font-size:16px !important;}

	.top-search .search-field { font-size:22px; width:54% !important;}
	.top-search .search-submit { font-size:23px; width:34% !important; height:32px;}
	.ads-header {display:inline-block;}
	.sidebar {max-width:100%;}
	.widget_recent_entries ul, .menu {font-size:20px;}
	.widget_recent_entries ul li, .menu li {padding-bottom:12px;}
	.widget_archive {text-align: center;}
	.sidebar-widget > div > h3:first-child {text-align:center;}
	.articles-list-meta {}
	.post-meta .date,
	.articles-list-meta .date {font-size:20px;margin-bottom:5px;}
	.post-meta .author,
	.articles-list-meta .comments {font-size:20px;}
	#content-left > article, #single-post {font-size:20px;}
	.social-sharing li {padding-right:10px;}
	.page-numbers {  display: inline-block;  margin-bottom: 10px;   margin-right: 10px; padding:8px;}
	.sidebar-widget {width:100%;}
	.sidebar-widget > div {width:100% !important; max-width:100% !important;}
	#recent-posts-home,
	#countries-list-home,
	.bottom-story-home,
	.top-story-home {width:100% !important; max-width: 100% !important; margin-left:0 !important; margin-right:0 !important;}
	.nav-main{max-width: 94% !important;}
}
@media only screen and (max-width:569px) {
	.bottom-story-home:nth-child(3),
	.top-story-home:nth-child(2) {margin-left:5px !important;}
}
@media only screen and (max-width:481px) {
	
	.nav-top ul {display:none;}
	.nav-top li {font-size:20px;width:32%; text-align:center;}
	.top-search {float:none; margin:15px auto; display:block;}
	.top-search .search-field { font-size:22px;}
	.top-search .search-submit { font-size:23px; width:85px; height:32px;}

	.top-story-home {margin-bottom:30px !important; max-width:100%;}
	.top-story-excerpt {font-size:21px;}
	.top-story-title {font-size:22px;}

	#countries-list-home,
	#recent-posts-home {max-width:100%;}
	#countries-list-home li,
	#recent-posts-home li {font-size:21px;}

	#article-wrapper {float:none; display:block;}

	#bottom-story-home-wrapper {max-width:100%;display:block;padding-left:0;}
	.bottom-story-title {width:100%;float:none;font-size:23px; margin-bottom:10px;}
	.bottom-story-thumbnail {float:none;width:180px; height:auto; margin:0 auto;display:block;}
	.bottom-story-thumbnail img {width:100%;height:auto; margin:0 auto;}
	.bottom-story-excerpt {font-size:21px;}

	.nav-bottom {width:100%; display:block;}
	.nav-bottom li {display:inline-block; width:32%; padding-right:5px; font-size:21px; margin-bottom:10px;}

	.ads-header {display:inline-block;}
	.sidebar {max-width:100%;}
	.widget_recent_entries ul, .menu {font-size:20px;}
	.widget_recent_entries ul li, .menu li {padding-bottom:12px;}
	.widget_archive {text-align: center;}
	.sidebar-widget > div > h3:first-child {text-align:center;}
	.articles-list-meta {}
	.post-meta .date,
	.articles-list-meta .date {font-size:20px;margin-bottom:5px;}
	.post-meta .author,
	.articles-list-meta .comments {font-size:20px;}
	#content-left > article, #single-post {font-size:20px;}
	.social-sharing li {padding-right:10px;}
	.page-numbers {  display: inline-block;  margin-bottom: 10px;   margin-right: 10px; padding:8px;}
.sidebar-widget {width:100%;}
	.sidebar-widget > div {width:100% !important; max-width:100% !important;}
	.sidebar {max-width:100%;}

}

@media only screen and (max-width:769px)  {
	.top-search .search-field {border:1px solid #444;}
	body,
	.home,
	html {background:none; margin:0;}
	.wrapper {margin:0; padding:10px;}
	.nav-top {background-color:#fff; -webkit-box-shadow: 0px 0px 0px 0px rgba(0,0,0,0.0);
	-moz-box-shadow: 0px 0px 0px 0px rgba(0,0,0,0.0);
	box-shadow: 0px 0px 0px 0px rgba(0,0,0,0.0);}
	.nav-main .current-menu-item, .nav-main .current-menu-parent, .nav-main li {width:49%;}
	.nav-main {max-height:100%;position:absolute;float:left; max-width:97.3%; margin:10px auto;left: -5000px;}
	.menu-toggle {padding:10px; margin:0; float:right;font-size:20px;}
	.ads-header {display:none;}
	main[role='main'] {margin-top:70px;}
	.social-sharing li a .fa-whatsapp {display:inline-block !important;}
	.nav-bottom {margin:15px auto;}
	.nav-bottom li {font-size:20px;padding-right:20px;}
	.top-story-home {max-width: 48.5%;}
	.top-story-home:nth-child(2) {margin-left:20px;}
	.top-story-home:first-child {  width: 100%;  max-width: 100%; margin-bottom:15px;}

	#content-left > article, #single-post {max-width:100%; font-size:20px;}
	#breadcrumbs {font-size:18px;}
	.sidebar {max-width:100%; width:100%;}
	.sidebar-widget > div {display:inline-block; width:49%; max-width:49%; vertical-align:top; margin-bottom:0;}
	.sidebar-widget > div:nth-child(odd) {margin-right:10px;}

	#recent-posts-home {margin-right:15px;}
	#recent-posts-home,
	#countries-list-home {display:inline-block;width:48%; max-width:48%;float:none; clear:both; vertical-align:top;}

	.top-story-excerpt,
	.bottom-story-excerpt {font-size:20px;}

	.bottom-story-title {width:100%;}
	.bottom-story-thumbnail {margin:15px auto; float:none;}
	#bottom-story-home-wrapper {width:100%;max-width:100%; padding:0; margin:0;}
	.bottom-story-home {max-width: 48%;}
	.bottom-story-home:nth-child(3) {margin-left:23px;}
	.bottom-story-home:first-child {  width: 100%;  max-width: 100%; margin-bottom:15px;} 
}
@media only screen and (max-width:1024px) {
	.social-sharing li a .fa-whatsapp {display:none;}
}
@media only screen and (max-width:1140px) {
	.social-sharing li a .fa-whatsapp {display:none;}
}
@media only screen and (min-width:1280px) {
	.social-sharing li a .fa-whatsapp {display:none;}
}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text, .gallery-caption {font-size:14px; padding:5px; text-aling:center; font-style:italic;}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		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) ")";
	}
	.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;
	}
	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;
	}
}