/*
	Theme Name: Basements NY
	Theme URI: http://whitemedia.com
	Description: Basements NY WordPress Theme
	Version: 1
	Author: Ivan Svetlichniy
	Author URI: http://whitemedia.com	

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


@import url("fonts/stylesheet.css");

/*------------------------------------*\
    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-family: 'OpenSans';
	font-size: 17px;
	color: #464545;
	line-height: 1.65;
	width: 100%;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

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

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

/* wrapper */
.wrapper {	
	width:100%;
	margin:0 auto;
	position:relative;
}
/* header */
.header {

}
/* logo */
.logo {

}
.logo-img {

}
/* nav */
.nav {

}
/* sidebar */
.sidebar {

}
/* footer */
.footer {

}


.content-block {
	width: 95%;
	height: 100%;
	max-width: 980px;
	margin: 0 auto;
	position: relative;
}

.header-block {
	padding: 20px 0 0 0;
	width: 100%;
	box-sizing: border-box;
}

.logo {
	float: left;
}

.call-now {
	float: right;
	margin-left: 25px;
	padding-left: 25px;
	font-size: 20px;
	text-align: right;
	font-family: 'OpenSans-Bold';
}

.call-now .phone {
	background: url(img/phone.png) no-repeat 155px center;
	font-size: 20px;
}

.call-now .phone a {
	font-family: 'OpenSans-Bold';
	color: #464545;
	text-decoration: none;
	padding-left: 27px;
	font-size: 17px;
}

.mid-atlantic {
	float: right;
	margin-top: 10px;
}


.nav { height: 48px; line-height: 48px; background: #1a8bd2; margin-top: 15px; }
.nav ul { margin: 0; padding: 0;}
.nav ul li { list-style-type: none; float: left; height: 48px; position: relative; display: inline-block;}
.nav ul li a { display: block; height: 100%; font-family: 'DINNextLTPro-BoldCondensed'; font-size: 22px; color: #fff; text-transform: uppercase; line-height: 53px;  padding: 0 34px 0 34px; }
.nav ul li a:hover { color: #353535; background: #fff;}
.nav ul li ul { display: none; position: absolute; top: 48px;  background: #fff; width: 240px; height: auto; z-index: 99999; left: 0; }
.nav ul li:hover { background: #fff;}
.nav ul li:hover a { color: #353535; }
.nav ul li:hover > .sub-menu { display: block;}
.nav ul li ul li { width: 100%; padding: 0 30px 0 30px; height: auto;}
.nav ul li ul li ul { display: none; left: 240px; top: 0;}
.nav ul li ul li a { color: #1a8bd2 !important; font-family: 'OpenSans-Bold'; font-size: 14px; text-transform: none; display: block; width: 100%; border-bottom: #e9e9e9 solid 1px;  padding:  0;  line-height: 1.5; padding: 10px 0 10px 0; }
#menu-item-121 > a, .nav ul li ul li ul li a { line-height: 1.5; padding: 10px 0 10px 0; }
.nav ul li ul li a:hover { color: #759b26 !important; }


.middle-banner { width: 100%; height: 805px; background: url(img/banner.jpg) no-repeat center center; background-size: cover;
}

.right-side { background: url(img/form_bg.png) no-repeat; width: 474px; height: 770px; top: 190px; right: 0; position: absolute; padding: 320px 54px 0 54px; z-index: 10;}
.form-item { margin-bottom: 10px; }
form input[type=text],
form input[type=email],
form input[type=tel] {
	height: 45px;
	width: 368px;
	border-radius: 5px;
	padding: 10px 25px 10px 25px;
	font-size: 16px;
}

form select {
	height: 45px;
	width: 368px;
	border-radius: 5px;
	padding: 10px 25px 10px 25px;
	font-size: 16px;
}

form input[type=submit] {
	background: #1a8bd2;
	width: 100%;
	text-align: center;
	color: #fff;
	height: 65px;
	line-height: 65px;
	border: 0;
	cursor: pointer;
	border-bottom: #1c73aa solid 1px;
	border-radius: 5px;
	margin-top: 5px;
	text-transform: uppercase;
	font-family: 'DINNextLTPro-BoldCondensed';
	font-size: 35px;
	line-height: 1;
}

form input[type=submit]:hover { background: #1c73aa; }

.fixing-block iframe,
.fixing-block video { float: right; margin-top: 140px; position: relative; z-index: 111; }

.fixing-block .content-block div { float: left; max-width: 470px; width: 45%; padding-top: 0; padding-right: 30px; }
.fixing-block h2 { font-family: 'DINNextLTPro-BoldCondensed'; font-size: 56px; color: #759b26; text-transform: uppercase; margin-bottom: 10px; }
.fixing-block h2 span { border-bottom: #759b26 solid 2px; }
.fixing-block strong { font-family: 'OpenSans-Bold'; }

.service-block {
	background: url(img/service_banner.jpg) no-repeat center center;
	background-size: cover;
	height: 705px;
	margin-top: 60px;
}

.service-block h2 {
	font-family: 'DINNextLTPro-BoldCondensed';
	font-size: 56px;
	text-transform: uppercase;
	padding-top: 70px;
	padding-bottom: 20px;
	text-align: center;
        margin: 0;
}

.service-block p a {
	background: #1a8bd2;
	width: 335px;
	text-align: center;
	color: #fff;
	border: 0;
	cursor: pointer;
	border-bottom: #1c73aa solid 1px;
	border-radius: 5px;
	margin: 0 auto;
	margin-top: 55px;
	text-transform: uppercase;
	font-family: 'DINNextLTPro-BoldCondensed';
	font-size: 26px;
	line-height: 1;
	display: block;
	padding: 20px 0 15px 0;
	text-decoration: none;
}

.service-block p a:hover {
	background: #1c73aa;
}

.service-block .content-block div img {
    padding-left: 5px;
    width: 18%;
    box-sizing: border-box;
    display: block;
    float: left;
}

.service-block .content-block div img:first-child {
	margin-left: 0;
}

.service-block .content-block div a:last-child img {
	margin-right: 0;
}

.wpcf7-not-valid { border: #f00 solid 2px; }
.wpcf7-not-valid-tip, .wpcf7-validation-errors { display: none !important;}
.right-side-form .wpcf7-mail-sent-ok, .right-side .wpcf7-mail-sent-ok { margin-top: -32px !important; font-size: 13px; }
.right-side-form .wpcf7-mail-sent-ok { font-size: 10px;}


.footer-logos { margin: 50px 0 40px 0; border-top: #dfdfdf solid 1px; border-bottom: #dfdfdf solid 1px; padding: 30px 0 30px 0; }

.footer-logos img { display: inline-block; vertical-align: middle; margin-left: 10px; }

.footer-logos img:first-child { margin-left: 0; }

.footer-nav { float: left; max-width: 810px; }
.footer-nav ul { margin: 0; padding: 0;}
.footer-nav ul li { list-style-type: none; max-width: 240px; }
.footer-nav ul li { float: left; margin-right: 65px;}
.footer-nav ul li ul li { float:  none; margin-right: 0; margin-bottom: 15px; margin-top: 10px; }
.footer-nav ul li a { color: #353535; text-transform: uppercase;  font-family: 'DINNextLTPro-BoldCondensed'; font-size: 22px; }
.footer-nav ul li ul li a { color: #1a8bd2 !important; font-family: 'OpenSans-Bold'; font-size: 14px; text-transform: none; display: block; width: 100%;  padding:  0;   line-height: 1; }
.footer-nav ul li ul li a:hover { color: #759b26 !important; }

.copyright { text-align: center; font-size: 12px; margin-top: 20px;}
.copyright a { text-decoration: none; }
.copyright a.dark { color: #202020; }
.copyright a.dark span { color: #1a8bd2; }

.social { width: 100%; position: relative; top: 30px; }
.social a { margin-left: 5px; float: right; display: block; width: 45px; height: 45px; text-indent: -9999px; color: transparent; }
.social a:hover { margin-top: -3px; }
.social a.facebook { background: url(img/icons/facebook.png) no-repeat; }
.social a.twitter { background: url(img/icons/twitter.png) no-repeat; }
.social a.pinterest { background: url(img/icons/pinterest.png) no-repeat; }
.social a.linkedin { background: url(img/icons/linkedin.png) no-repeat; }
.social a.gplus { background: url(img/icons/gplus.png) no-repeat; }
.social a.instagram { background: url(img/icons/instagram.png) no-repeat; }




/*------------------------------------*\
    PAGES
\*------------------------------------*/
.page-template-template-inner section, .page-template-template-stages section { background: url(img/inner_bg.jpg) repeat-x top center; }
.page-template-template-inner section article, .page-template-template-stages section article { width: 640px; float: left; padding-right: 20px; }
.page-template-template-inner h1, .page-template-template-stages h1 { color: #759b26; text-transform: uppercase;  font-family: 'DINNextLTPro-BoldCondensed'; font-size: 56px; margin: 50px 0 30px 0; line-height: 1; }
.page-template-template-inner section article h3, .page-template-template-stages section article h3 { margin-top: 0; margin-bottom: 10px; color: #1a8bd2; font-family: 'OpenSans-Bold'; font-size: 25px; font-weight: normal; line-height: 1; text-transform: none; }
.page-template-template-inner section article h3 a, .page-template-template-stages section article h3 a { margin-top: 0; margin-bottom: 10px; color: #1a8bd2; font-family: 'OpenSans-Bold'; font-size: 25px; font-weight: normal; line-height: 1; text-transform: none; }
.page-template-template-inner section article p, .page-template-template-stages section article p { margin: 0 0 35px 0;}
.page-template-template-stages article p img{max-width: 46%; vertical-align: top;}

.inner-right-side { width: 324px; float: right; }
.right-side-form { background: url(img/inner_form_bg.png) no-repeat; width: 324px; height: 695px; padding: 255px 30px 0 30px;}
.form-item { margin-bottom: 10px; }
.inner-right-side form input[type=text],
.inner-right-side form input[type=email],
.inner-right-side form input[type=tel] {
	height: 45px;
	width: 264px;
	border-radius: 5px;
	padding: 10px 25px 10px 25px;
	font-size: 16px;
}

.inner-right-side form select {
	height: 45px;
	width: 264px;
	border-radius: 5px;
	padding: 10px 25px 10px 25px;
	font-size: 16px;
}

.inner-right-side form input[type=submit] {
	background: #1a8bd2;
	width: 100%;
	text-align: center;
	color: #fff;
	height: 55px;
	line-height: 55px;
	border: 0;
	cursor: pointer;
	border-bottom: #1c73aa solid 1px;
	border-radius: 5px;
	margin-top: 5px;
	text-transform: uppercase;
	font-family: 'DINNextLTPro-BoldCondensed';
	font-size: 25px;
	line-height: 1;
}

article form input[type=text],
article form input[type=email],
article form input[type=tel] {
	height: 45px;
	width: 100%;
	border-radius: 5px;
	padding: 10px 25px 10px 25px;
	font-size: 16px;
}

article form select {
	height: 45px;
	width: 100%;
	border-radius: 5px;
	padding: 10px 25px 10px 25px;
	font-size: 16px;
}

article form input[type=submit] {
	background: #1a8bd2;
	width: 100px;
	text-align: center;
	color: #fff;
	height: 55px;
	line-height: 55px;
	border: 0;
	cursor: pointer;
	border-bottom: #1c73aa solid 1px;
	border-radius: 5px;	
	text-transform: uppercase;
	font-family: 'DINNextLTPro-BoldCondensed';
	font-size: 25px;
	line-height: 1;
        margin: 0 auto;
        margin-top: 5px;
}

article form textarea { width: 100%; height: 100px; border-radius: 5px;}

.banner-menu { background: #1a8bd2; margin-bottom: 30px; }
.banner-menu div { border-bottom: #1a75ad solid 1px; }
.banner-menu div:last-child { border: none; }
.banner-menu div a { display: block; width: 100%; padding: 7px 10px 7px 10px; height: 100%; color: #fff; font-size: 14px; font-family: 'OpenSans-Bold'; border-left: #1a8bd2 solid 5px;  }
.banner-menu div a:hover { border-left: #759b26 solid 5px; }
.banner-menu div a.active  { background: #1a75ad; border-left: #759b26 solid 5px; }

.form-item.date-selects select { width: 20%; }

.about-boxes { margin-bottom: 30px; }
.about-boxes .box { width: 270px; height: 325px; float: left; text-align: center; padding: 50px 40px 30px 40px; margin-right: 20px; border: #d8cbd4 solid 1px; font-size: 14px;}
.box2 { float: left; width: 100%; max-width: 305px;}

.testimonial { margin-bottom: 30px; text-align: justify; }
.testimonial .quote { font-size: 80px; line-height: 1px; position: relative; top: 30px; font-family: 'arial';}
.testimonial h5 { text-align: right; margin: 0;}

.video-row { width: 100%; overflow: hidden; height: 240px; margin-bottom: 30px; }
.vidleft { float: left; width: 280px; overflow: hidden;}
.vidright { float: right; width: 280px; overflow: hidden;}
.vidheader {font-size: 13px; line-height: 1; font-family: 'OpenSans-Bold'; padding-bottom: 5px; text-align: center;}


.node-read-more {
        display: block;
	background: #1a8bd2;
	width: 100px;
	text-align: center;
	color: #fff;
	height: 45px;
	line-height: 45px;
	border: 0;
	cursor: pointer;
	border-bottom: #1c73aa solid 1px;
	border-radius: 5px;	
	text-transform: uppercase;
	font-family: 'DINNextLTPro-BoldCondensed';
	font-size: 20px;	        
        margin-top: 5px;
}
.node-read-more:hover { color: #fff; background: #1a75ad;}

.inner-right-side { width: 324px; float: right; }

.page-template-template-blog section { background: url(img/inner_bg.jpg) repeat-x top center; }
.page-template-template-blog section article { width: 640px; float: left; padding-right: 20px; }
.page-template-template-blog h1 { color: #759b26; text-transform: uppercase;  font-family: 'DINNextLTPro-BoldCondensed'; font-size: 56px; margin: 50px 0 30px 0;}
.page-template-template-blog section article h3 { margin-top: 0; margin-bottom: 10px; color: #1a8bd2; font-family: 'OpenSans-Bold'; font-size: 25px; font-weight: normal; line-height: 1; text-transform: none; }
.page-template-template-blog section article h3 a { margin-top: 0; margin-bottom: 10px; color: #1a8bd2; font-family: 'OpenSans-Bold'; font-size: 25px; font-weight: normal; line-height: 1; text-transform: none; }
.page-template-template-blog section article p { margin: 0 0 35px 0;}
.page-template-template-blog .post-item { padding-bottom: 20px; border-bottom: #d8cbd4 solid 1px; margin-bottom: 20px; }
#blog-content.content-block { width: 100%; }
.blog-social-share-list { margin-left: 0; padding-left: 0; }
.blog-social-share-list li { margin-right: 5px;}
.hs-blog-social-share-item-facebook { margin-top: -8px; }

#load-more { background: #1a8bd2; }
.thumbnail-image { float: left; max-width: 200px; margin-right: 15px; margin-top: 10px;}
.thumbnail-image img { max-width: 200px; max-height: 100px; }


.category section { background: url(img/inner_bg.jpg) repeat-x top center; }
.category section article { width: 640px; float: left; padding-right: 20px; }
.category h1 { color: #759b26; text-transform: uppercase;  font-family: 'DINNextLTPro-BoldCondensed'; font-size: 56px; margin: 50px 0 30px 0;}
.category section article h3 { margin-top: 0; margin-bottom: 10px; color: #1a8bd2; font-family: 'OpenSans-Bold'; font-size: 25px; font-weight: normal; line-height: 1; text-transform: none; }
.category section article h3 a { margin-top: 0; margin-bottom: 10px; color: #1a8bd2; font-family: 'OpenSans-Bold'; font-size: 25px; font-weight: normal; line-height: 1; text-transform: none; }
.category section article p { margin: 0 0 35px 0;}
.category .post-item { padding-bottom: 20px; border-bottom: #d8cbd4 solid 1px; margin-bottom: 20px; }


.thumbnail-post { float: left; max-width: 100%; margin-right: 15px; margin-top: 10px;}
.thumbnail-post img { max-width: 100%; }

.single section { background: url(img/inner_bg.jpg) repeat-x top center; }
.single section article { width: 640px; float: left; padding-right: 20px; }
.single h1 { color: #759b26; text-transform: uppercase;  font-family: 'DINNextLTPro-BoldCondensed'; font-size: 56px; margin: 50px 0 30px 0; line-height: 1; }
.single section article h3 { margin-top: 0; margin-bottom: 10px; color: #1a8bd2; font-family: 'OpenSans-Bold'; font-size: 25px; font-weight: normal; line-height: 1; text-transform: none; }
.single section article h3 a { margin-top: 0; margin-bottom: 10px; color: #1a8bd2; font-family: 'OpenSans-Bold'; font-size: 25px; font-weight: normal; line-height: 1; text-transform: none; }
.single section article p { margin: 0 0 35px 0;}
.single .post-item { padding-bottom: 20px; border-bottom: #d8cbd4 solid 1px; margin-bottom: 20px; }
.single article form input[type="submit"] { width: 150px; }
.blog-social-share ul li { list-style-type: none; float: left; }

.page-template-template-news section { background: url(img/inner_bg.jpg) repeat-x top center; }
.page-template-template-news section article { width: 640px; float: left; padding-right: 20px; }
.page-template-template-news h1 { color: #759b26; text-transform: uppercase;  font-family: 'DINNextLTPro-BoldCondensed'; font-size: 56px; margin: 50px 0 30px 0;}
.page-template-template-news section article h3 { margin-top: 0; margin-bottom: 10px; color: #1a8bd2; font-family: 'OpenSans-Bold'; font-size: 25px; font-weight: normal; line-height: 1; text-transform: none; }
.page-template-template-news section article h3 a { margin-top: 0; margin-bottom: 10px; color: #1a8bd2; font-family: 'OpenSans-Bold'; font-size: 25px; font-weight: normal; line-height: 1; text-transform: none; }
.page-template-template-news section article p { margin: 0 0 35px 0;}
.page-template-template-news .post-item { padding-bottom: 20px; border-bottom: #d8cbd4 solid 1px; margin-bottom: 20px; }

.tax-news-category section { background: url(img/inner_bg.jpg) repeat-x top center; }
.tax-news-category section article { width: 640px; float: left; padding-right: 20px; }
.tax-news-category h1 { color: #759b26; text-transform: uppercase;  font-family: 'DINNextLTPro-BoldCondensed'; font-size: 56px; margin: 50px 0 30px 0;}
.tax-news-category section article h3 { margin-top: 0; margin-bottom: 10px; color: #1a8bd2; font-family: 'OpenSans-Bold'; font-size: 25px; font-weight: normal; line-height: 1; text-transform: none; }
.tax-news-category section article h3 a { margin-top: 0; margin-bottom: 10px; color: #1a8bd2; font-family: 'OpenSans-Bold'; font-size: 25px; font-weight: normal; line-height: 1; text-transform: none; }
.tax-news-category section article p { margin: 0 0 35px 0;}
.tax-news-category .post-item { padding-bottom: 20px; border-bottom: #d8cbd4 solid 1px; margin-bottom: 20px; }

footer .social { float: left; max-width: 150px; top: 0; }
.footer-title {
    color: #353535;
    font-family: "DINNextLTPro-BoldCondensed";
    font-size: 22px;
    text-transform: uppercase;
    text-align: right;
    margin-bottom: 10px;
}

.license{ font-size: 12px; text-align: center; padding: 40px 0 20px 0; }
.license-list { font-family: 'OpenSans-Bold'; font-size: 12px; text-transform: uppercase; color: #000; }
.license-list span { padding: 0 15px 0 15px; color: #b7b7b7; }

.agreement-links { text-align: center; color: #000; font-size: 12px; margin-top: 10px;}
.agreement-links span { padding: 0 15px 0 15px; color: #b7b7b7; }
.agreement-links a { color: #000;}


div.wpcf7 .wpcf7-recaptcha iframe { max-width: 100%; } 
div.wpcf7 .wpcf7-recaptcha div:first-child { max-width: 100%; } 


/*.rc-anchor-normal { width: 100% !important; }
.page-template-template-home div.wpcf7 .wpcf7-recaptcha iframe { width: 100%; } 
.page-template-template-home div.wpcf7 .wpcf7-recaptcha div:first-child { width: 100% !important; } */


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



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

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

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

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

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

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

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

}
@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:#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: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;
	}
}