/*
	Theme Name: HTML5 Blank
	Theme URI: http://html5blank.com
	Description: HTML5 Blank WordPress Theme
	Version: 1.4.3
	Author: Todd Motto (@toddmotto)
	Author URI: http://toddmotto.com
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    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 */
header,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
section, 
div, 
ul,
li,
img {
	margin: 0;
	padding: 0;
	align: baseline;
}

/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}

input:focus {
	outline:0;
	border:1px solid #04A4CC;
}
.left{
float:left;
}
.right{
float:right;
}

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

/* header */
.header {

}
/* main */
main {
	margin-top: 24px;
}

/* logo */
.logo {
	width: 274px;
	height: auto;
	margin: 12px 0;
}
.logo-img {

}
/* nav */
.nav {
	background: white;
	width: 100%;
	height: 48px;
	border-bottom: 1px solid #18262b;
}

.nav ul {
	width: 100%;
	font-family: "Helvetica Neue", helvetica, arial, sans-serif;
	list-style: none;
}

.nav ul li {
	display: block;
	float: left;
	line-height: 44px;
	padding: 0;
	margin: 0 24px 0 0;
	position: relative;
}
.nav ul li.menu-item-language{
float:right;
}
.nav ul li.menu-item-language ul.sub-menu{
right:-48px;
}

.nav ul li.menu-item-has-children a::after{
content: "\f140";
display: inline-block;
font: inherit;
font-family: dashicons;
margin: 0 0 0 6px;
vertical-align: top;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-transform: rotate(0);
-moz-transform: rotate(0);
-ms-transform: rotate(0);
-o-transform: rotate(0);
transform: rotate(0);
color: inherit;
}
.nav ul li.menu-item-has-children ul.sub-menu li a::after,
.nav ul li.menu-item-has-children.navLang a::after{
display: none;
}

.nav ul li:hover {
	border-bottom: 3px solid #18262b;
}

.nav ul li a{
display:block;
height:100%;
width:100%;
}

.nav ul ul {
	display: none;
	position: absolute;
	top: 44px;
	z-index:600;
}

.nav ul ul li {
	background-color: #18262b;
	min-width: 320px;
	float: none;
	border-bottom: 1px solid #253a41;
	border-right: 1px solid #253a41;
	line-height: 24px;
}

.nav ul ul li a {
	color: #d1d9e1;
padding: 12px;
}



.nav ul ul li:hover {
	background-color: #253a41;
	border-bottom: 1px solid #253a41;
	border-right: none;
}

.nav ul ul li ul {
	left: 320px;
	top: 0;
}

/* menu-list */
ul.menu-list,
.related_posts_by_taxonomy ul {
	font-family: "Helvetica Neue", helvetica, arial;
	margin: -12px 0 0 0;
	padding: 0;
}

ul li,
ul.menu-list li,
.related_posts_by_taxonomy ul li{
list-style-type:none;
}

ul.menu-list li a,
.related_posts_by_taxonomy ul li a{
border-bottom: 1px solid #4d5b63;
display: block;
margin: 0;
padding: 12px 0;
}

.related_posts_by_taxonomy ul li a{
padding: 12px 0 12px 24px;
}

ul.menu-list li a::before,
ul li::before,
.related_posts_by_taxonomy ul li::before{
	content: "\f139";
	display: inline-block;
	font: inherit;
	font-family: dashicons;
	margin: 0 6px 0 0;
	vertical-align: top;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-transform: rotate(0);
	-moz-transform: rotate(0);
	-ms-transform: rotate(0);
	-o-transform: rotate(0);
	transform: rotate(0);
	color: inherit;
}

.nav ul li::before,
ul.menu-list li:before,
ul.responsive-menu li::before{
display:none;
}

.related_posts_by_taxonomy ul li::before{
float:left;
margin-top:12px;
}

ul li::before{
float:left;
}

ul.menu-list li ul.children{
	font-family: inherit;
	margin: 0;
}

ul.menu-list li ul.children li{
	border: none;
}

.related_posts_by_taxonomy{
margin-bottom:24px;
}

#click-menu{
background: none !important;
color:#253a41 !important;
top: 40px !important;
}
#click-menu.click-menu-active{
top: 4px !important;
}
body #click-menu #RMX{
color:#253a41 !important;
font-size: 34px;
top: 32px !important;
}
body #click-menu .threeLines .line{
background:#253a41 !important;
}
#responsive-menu{
max-width:inherit !important;
}
#responsive-menu #responsive-menu-title{
display:none;
}
body #responsive-menu .responsive-menu li a{
border:none !important;
color:#18262b !important;
font-family: "Helvetica Neue", helvetica, arial, sans-serif;
height:40px !important;
line-height:40px !important;
}
body #responsive-menu .responsive-menu li a:hover{
background:#ccc !important;
color:#18262b !important;
}
body #responsive-menu .appendLink{
background:none !important;
border:none !important;
color:#18262b !important;
height:40px !important;
line-height:40px !important;
}
body #responsive-menu .appendLink:hover{
background:none !important;
}

/* Modal */

html.pum-open.pum-open-overlay.pum-open-scrollable body > [aria-hidden]{
padding-right:0;
}

#popmake-3073{
top:10% !important;
}

.popmake .wpcf7 p,
.popmake .mc-field-group label{
font-family: "Helvetica Neue", helvetica, arial, sans-serif;
}

.popmake-title {
	font-weight: bold;
	width: 100%;
	margin:  0 0 24px 0;
	padding: 0 0 4px 0;
	border-bottom: 3px solid #18262b;
}

.popmake input[type="text"],
.popmake input[type="email"]{
background-color: #eff2f4;
}

.pum-theme-3067 .pum-content + .pum-close, .pum-theme-default-theme .pum-content + .pum-close{
padding: 0px 0px 10px 1px !important;
}

/* Search the Database */

.bit-3.searchFilter{
float:right;
}

/* Filter */

#filter.affix{
position:fixed;
top:12px;
width:356px;
-webkit-transform: translateZ(0);
}

.facetwp-facet-search{
overflow:hidden;
width:100%;
}
.facetwp-facet select{
width:100%;
}

input.facetwp-search{
	width: 100%;
	margin-top:28px;
}

/* post */
.post-wrapper {
	width: 66.6666%;
	float: left;
	margin: 0;
	padding: 0;
}

article {
	border-bottom: 1px solid #253a41;
	margin-bottom: 36px;
}

article.loop {
	height: 248px;
	overflow: hidden;
}

ul.post-meta{
line-height:18px;
}

.excerpt {
	display: block;
	height: 120px;
	overflow: hidden; 
}

.featuredImg{
margin-bottom:24px;
}

/* sidebar */
.sidebar {

}
/* footer */
footer {
	background: #4d5b63;
	padding: 24px 0 0 0;
}

.indicates-required,
.asterisk{
display:none;
}

.footerHeadingSection{
margin-bottom:48px;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/

/* front-page */
.slider-block {
	padding: 0;
	margin: 0;
    height: 600px;
}

.about-block {
	background-color: #eff2f4;
	width: 100%;
	height: 306px;
	padding: 24px 24px 24px 24px;
	margin: -24px 0 0 0;
}

h3.about-text {
    margin-bottom: 40px;
}

.aboutBtn{
background: #8c9da6;
cursor:pointer;
padding: 18px 38px;
font-weight: bold;
color: #4d5c64;
}

/* front-page slider */
.home .cycloneslider-template-standard {
    min-width: 100%;
    height: 90%;
    vertical-align: middle;
}
.home .cycloneslider-template-standard .cycloneslider-slide.cycloneslider-slide-image.cycle-slide.cycle-slide-active,
.home .cycloneslider-slides.cycle-slideshow,
.home .cycloneslider-slide.cycloneslider-slide-image.cycle-slide,
.home .cycloneslider-template-standard .cycloneslider-slide{
	background:transparent !important;
}

.home .cycloneslider-template-standard .cycloneslider-caption{
	background: none !important;
    height: 100%;
	left: 5% !important;
	max-width: 90%;
	opacity: 1 !important;
}

.home .cycloneslider-template-standard .cycloneslider-caption-title{
color: #fff;
font-size: 30px;
font-weight: bold;
line-height: 36px;
position: absolute;
top: 50%;
-ms-transform: translateY(-50%);
-webkit-transform: translateY(-50%);
-moz-transform: translateY(-50%);
-o-transform: translateY(-50%);
transform: translateY(-50%);
}

.home a.cycloneslider-caption-more{
display: block;
height: 100%;
width: 100%;
}

.home .cycloneslider-template-standard .cycloneslider-prev,
.home .cycloneslider-template-standard .cycloneslider-next{
width: 30px;
height: 31px;
border-radius: 0;
background: transparent;
opacity: 1;
-webkit-box-shadow: none;
box-shadow: none;
}

.home .cycloneslider-template-standard .cycloneslider-next{
background: url('http://citizenshiprightsafrica.org/wp-content/uploads/2016/06/sliderArrows.png') no-repeat -30px 0;
}
.home .cycloneslider-template-standard .cycloneslider-prev{
background: url('http://citizenshiprightsafrica.org/wp-content/uploads/2016/06/sliderArrows.png') no-repeat 0 0;
}

.home .cycloneslider-template-standard .arrow{
display: none;
}

/* About Page */

#about-image-wrapper {
margin: 0 0 28px 0;
}

#about-image-wrapper img {
display: block;
margin: 0 auto;
width: 100%;
}

.page-template-about-template .bit-3{
margin-bottom:12px;
}

.page-template-about-template .bit-3 ul li,
.tax-item-theme .bit-66 ul li{
list-style-type:none;
}

.bit-3 ul.children li a,
.tax-item-theme .bit-66 ul.children li{
padding-left:18px;
}

.page-template-about-template .bit-3 ul li a::before{
content: "\f139";
display: inline-block;
font: inherit;
font-family: dashicons;
margin: 0 6px 0 0;
vertical-align: top;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-transform: rotate(0);
-moz-transform: rotate(0);
-ms-transform: rotate(0);
-o-transform: rotate(0);
transform: rotate(0);
color: inherit;
}

/* Theme Layout */
.theme-quote {
	width: 100%;
	margin: 0;
	padding: 12px 12px 12px 24px;
	background: rgb(75,187,134); /* Old browsers */
	background: -moz-linear-gradient(-45deg, rgba(75,187,134,1) 37%, rgba(23,196,161,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(-45deg, rgba(75,187,134,1) 37%,rgba(23,196,161,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(135deg, rgba(75,187,134,1) 37%,rgba(23,196,161,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4bbb86', endColorstr='#17c4a1',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.theme-quote h2 {
	padding: 0;
	text-indent: -8px;
}

.quote-source {
	width: 100%;
	margin: 0 0 29px 0;
	padding: 12px 24px;
	background: #4d5b63;
	border-top: 1px solid #18262b;
}

.quote-source p {
	color: #d1d9e1;
	margin: 0;
}

/* background-colours */
.grey-bg {
	background-color: #eff2f4;
	padding: 24px 0;
}

.green-bg {
	width: 100%;
    margin: 24px 0;
	padding: 24px;
	background: rgb(75,187,134); /* Old browsers */
	background: -moz-linear-gradient(-45deg, rgba(75,187,134,1) 37%, rgba(23,196,161,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(-45deg, rgba(75,187,134,1) 37%,rgba(23,196,161,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(135deg, rgba(75,187,134,1) 37%,rgba(23,196,161,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4bbb86', endColorstr='#17c4a1',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

/* Footer */

.wpcf7 p,
.mc-field-group label,
.mc-field-group span,
.mc-field-group p{
	font-size: 12px;
	margin: 0;
}
.footer .mc-field-group span{
font-size:17px;
}

span.wpcf7-list-item { 
	display: block; 
}

.wpcf7-list-item-label,
#mc-embedded-subscribe-form span {
	padding: 0 0 0 12px;
}

input[type="text"] {
    background-color: #8c9da6;
border-radius:0 !important;
-webkit-border-radius: 0 !important;
-moz-border-radius: 0 !important;
    color: #4d5c64;
    width: 100%;
    height: 36px;
    border: none;
margin:12px 0;
padding:0 12px;
}

input[type="email"] {
    background-color: #8c9da6;
border-radius:0 !important;
-webkit-border-radius: 0 !important;
-moz-border-radius: 0 !important;
    color: #4d5c64;
    width: 100%;
    height: 36px;
    border: none;
margin:12px 0;
padding:0 12px;
}

form.search{
overflow:hidden;
width:100%;
}

input[type="search"],
input[type="text"].facetwp-search {
    background-color: #fff;
border-radius:0 !important;
-webkit-border-radius: 0 !important;
-moz-border-radius: 0 !important;
-webkit-appearance: none !important;
box-sizing:border-box;
    color: #253a41;
width: 100%;
height: 43px;
border: 1px solid #eff2f4;
margin:0;
padding:0 12px;
}

input[type="submit"],
button[type="submit"],
.resetBtn,
.fwp-load-more{
	display: block;
	width: 160px;
	text-align: center;
	background-color: #8c9da6;
	border-radius: 0;
	border: none;
	color: #4d5c64;
	cursor: pointer;
	font-weight:bold;
	padding: 12px;
	margin: 24px 0 0 0;
}
input[type="submit"]{
margin:24px 0;
}
button[type="submit"]{
float: left;
margin:0;
width:25%;
}
.fwp-load-more{
margin-bottom:24px;
margin-left:380px;
}
.post-type-archive-network .fwp-load-more{
margin-left:0;
}

::-webkit-input-placeholder {
   color: #4d5c64;
font-weight:bold;
}
:-moz-placeholder { /* Firefox 18- */
   color: #4d5c64;
font-weight:bold;
}
::-moz-placeholder {  /* Firefox 19+ */
   color: #4d5c64;
font-weight:bold;
}
:-ms-input-placeholder {  
   color: #4d5c64;
font-weight:bold;
}

.footer-social{
margin:0 12px 3px 0;
}

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



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

body,
h1,
h2,
h3,
h4,
h5,
h6 {
	color: #253a41;
	font-family: "Helvetica Neue", helvetica, arial, sans-serif;
	text-decoration: none;
	text-align: left;
}

h1 {
	font-size: 30px;
	font-weight: bold;
	line-height: 36px;
	margin: 0 0 12px 0;
}

h2 {
	font-size: 17px;
	font-weight: bold;
	line-height: 24px;
	margin: 0;
}

h3 {
	font-size: 17px;
	font-weight: normal;
	line-height: 24px;
	margin: 0;
}

h4 {
	font-size: 17px;
	font-weight: bold;
	line-height: 24px;
	width: 100%;
	margin: 0 0 11px 0;
	padding: 0 0 9px 0;
	border-bottom: 3px solid #253a41;
}

h5 {
	font-size: 12px;
	font-weight: normal;
	line-height: 18px;
	letter-spacing: 0.5px;
	width: 100%;
	margin: 0 0 6px 0;
	padding: 0 0 6px 0;
	border-bottom: 1px solid #8c9da6;
}
h5.themes,
.organisation h5{
border-bottom:none;
}

h6 {
	font-size: 12px;
	font-weight: normal;
	line-height: 18px;
	letter-spacing: 0.5px;
	padding: 0;
}

ul, ol, p {	
	font-family: "Helvetica Neue", helvetica, arial, sans-serif;
	font-size: 17px;
	line-height: 24px;
	margin: 0 0 24px 0;
	list-style-position: inside;
}

ul.post-meta {
	list-style: none;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	letter-spacing: inherit;
	margin: 0;
	padding: 0;
}

a {
	color: #253a41;
	text-decoration:none;
}
a:hover {
	color: #253a41;
}
a:focus {
	outline: 0;
}
a:hover,
a:active {
	outline: 0;
}

p a {
	background-color: #eff2f4;
}

p a:hover {
	background-color: #4bbb86;
	color: white;
}

ul {
	line-height: 24px;
}

/* type colours */
.white {
	color: white;
}

h4.white {
	border-bottom: 3px solid white;
}

.grey {
	color: #8c9da6;
}

h4.grey {
	border-bottom: 3px solid #8c9da6;
}

/*------------------------------------*\
    GRID 
\*------------------------------------*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; }

.frame {
  margin: 0 auto;
  max-width: 1140px; }

.frame:after {
    content: "";
    display: table;
    clear: both; }

[class*='bit-'] {
  float: left;
  padding: 0 12px; }
  
.bit-content {
	width: 66.6666%;
	margin-left: -0.6em;
	margin-top: 23px;
	word-wrap: break-word;
	hyphens: auto;
}

.bit-1 {
  width: 100%; }

.bit-2 {
  width: 50%; }

.bit-3 {
  width: 33.33333%; }

.bit-4 {
  width: 25%; }

.bit-5 {
  width: 20%; }

.bit-6 {
  width: 16.66667%; }

.bit-7 {
  width: 14.28571%; }

.bit-8 {
  width: 12.5%; }

.bit-9 {
  width: 11.11111%; }

.bit-10 {
  width: 10%; }

.bit-11 {
  width: 9.09091%; }

.bit-12 {
  width: 8.33333%; }

.bit-25 {
  width: 25%; }

.bit-40 {
  width: 40%; }

.bit-60 {
  width: 60%; }
  
.bit-66 {
  width: 66.6666%; }

.bit-75 {
  width: 75%; }

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

@media (max-width: 30em) {
  .bit-1 {
    width: 100%; }
  .bit-2 {
    width: 100%; }
  .bit-3 {
    width: 100%; }
  .bit-4 {
    width: 100%; }
  .bit-5 {
    width: 100%; }
  .bit-6 {
    width: 100%; }
  .bit-7 {
    width: 100%; }
  .bit-8 {
    width: 100%; }
  .bit-9 {
    width: 100%; }
  .bit-10 {
    width: 100%; }
  .bit-11 {
    width: 100%; }
  .bit-12 {
    width: 100%; } 
  .bit-66 {
	width: 100%; }
  .bit-content {
  	width: 100%; }
}

@media (min-width: 30em) and (max-width: 50em) {
  .bit-4, .bit-6, .bit-8, .bit-10, .bit-12 {
    width: 50%; }
  .bit-1, .bit-2, .bit-3, .bit-5, .bit-7, .bit-9, .bit-11, .bit-content, .bit-66 {
    width: 100%; } }

@media (min-width: 50em) and (max-width: 68.75em) {
  .bit-2, .bit-7 {
    width: 100%; }
  .bit-4, .bit-8, .bit-10, .bit-12 {
    width: 50%; } }

@media only screen and (min-width:320px) {
.bit-66,
.green-bg .bit-3{
width:100%;
}
.home .cycloneslider-slides.cycle-slideshow,
.cycloneslider-slides.cycle-slideshow{
min-height:400px !important;
}
body #click-menu{
top:10px !important;
}
body #click-menu #RMX{
top: 10px !important;
}
#filter{
margin-top:12px;
padding-bottom:24px;
}
#filter.affix{
position:static;
width:100%;
}
.post-wrapper{
width:100%;
}
.post-wrapper{
width:100%;
}
input[type="search"] {
border-radius:0;
-webkit-border-radius: 0;
-moz-border-radius: 0;
}
.fwp-load-more{
margin-left:0;
}
}

@media only screen and (min-width:480px) {
body #click-menu{
top:40px !important;
}
body #click-menu #RMX{
top: 32px !important;
}
}

@media only screen and (min-width:768px) {
.home .cycloneslider-slides.cycle-slideshow,
.cycloneslider-slides.cycle-slideshow{
min-height:inherit;
}
}

@media only screen and (min-width:798px) {
.post-wrapper{
width: 66.6666%;
}
#filter{
margin-top:0;
padding-bottom:0;
}
#filter.affix{
position:fixed;
width:100%;
}
}

@media only screen and (min-width:837px){
.bit-66{
width:66.6666%;
}
.green-bg .bit-3{
width: 33.33333%;
}
}
@media only screen and (min-width:1024px) {
#filter.affix{
position:fixed;
top:12px;
width:356px;
-webkit-transform: translateZ(0);
}
}

@media only screen and (min-width:1139px) {
.fwp-load-more{
margin-left:380px;
}
}

@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

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

::selection {
	background:#253a41;
	color:#FFF;
	text-shadow:none;
}
/*::-webkit-selection {*/
/*	background:#253a41;*/
/*	color:#FFF;*/
/*	text-shadow:none;*/
/*}*/
::-moz-selection {
	background:#253a41;
	color:#FFF;
	text-shadow:none;
}

.bit-1 .facetwp-counts {
	float: right;
}

/*------------------------------------*\
    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:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.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;
	}
}