/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

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

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

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   danbouras.com's custom styles
   ========================================================================== */

body {background-color: #5c9b01; font-family: Helvetica, Arial, sans-serif}
#page {background: url('../img/bg-cows.jpg') center top no-repeat;}

/* HEADER & NAV */
#top-hdr {width: 960px; margin: auto; padding-top:15px}
#brand {width:180px; height:125px; float: left; margin-left: 10px; background: url('../img/logo-mgt.png') 0 0 no-repeat transparent;}
#top-contact {display: block; float: right; margin-right: 30px}
#main-nav-wrap {width: 960px; height: 50px; float: left;; margin-top: 15px; background: url('../img/bg-mainNav.png') 0 0 repeat-x transparent;}
#main-nav-wrap ul {padding: 0; margin: 0;}
#main-nav-wrap li {list-style: none; float: left}
#main-nav-wrap li a {display: block; height: 50px; padding: 0 28px; text-transform: uppercase; font-size: 17px; letter-spacing: 1px; color: #fff; font-weight: 100; text-decoration: none; line-height: 50px; border-right: 1px solid #3e3f41; border-left:	1px solid #000; font-family: "bebas-neue",sans-serif;}
#main-nav-wrap li.current-menu-item a, #main-nav-wrap li a:hover  {border-right: 1px solid #1a1a1a;
background: #28292a; /* Old browsers */
background: -moz-radial-gradient(center, ellipse cover,  #28292a 0%, #151617 100%); /* FF3.6+ */
background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,#28292a), color-stop(100%,#151617)); /* Chrome,Safari4+ */
background: -webkit-radial-gradient(center, ellipse cover,  #28292a 0%,#151617 100%); /* Chrome10+,Safari5.1+ */
background: -o-radial-gradient(center, ellipse cover,  #28292a 0%,#151617 100%); /* Opera 12+ */
background: -ms-radial-gradient(center, ellipse cover,  #28292a 0%,#151617 100%); /* IE10+ */
background: radial-gradient(ellipse at center,  #28292a 0%,#151617 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#28292a', endColorstr='#151617',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */}
#main-nav-wrap li.last-menu-item {border-right: 1px solid #000 }
#top-contact {display:block; padding:20px 30px; margin-top: 20px; text-transform: uppercase; font-size: 14px; text-decoration: none; letter-spacing: -1px; font-weight: bold; color: #fff; border-radius: 10px; border: 1px solid #1c1c1c; background-color: #383838; /* Safari 4-5, Chrome 1-9 */ background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#2b2b2b), to(#444444)); /* Safari 5.1, Chrome 10+ */ background: -webkit-linear-gradient(top, #444444, #2b2b2b); /* Firefox 3.6+ */ background: -moz-linear-gradient(top, #444444, #2b2b2b); /* IE 10 */ background: -ms-linear-gradient(top, #444444, #2b2b2b); /* Opera 11.10+ */ background: -o-linear-gradient(top, #444444, #2b2b2b); }
.widget_search { float: right; margin: 10px 20px 0}
.widget_search label {display: none}
.widget_search input#s {font-size: 12px; color: #8c8c8c; padding: 6px 35px 6px 9px; border: 0 none; border: 1px solid #191919; border-bottom: solid 1px #3b3c3d ; background: #28292a;  /* Old browsers */ background: -moz-radial-gradient(center, ellipse cover,  #28292a 0%, #151617 100%); /* FF3.6+ */ background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,#28292a), color-stop(100%,#151617)); /* Chrome,Safari4+ */ background: -webkit-radial-gradient(center, ellipse cover,  #28292a 0%,#151617 100%); /* Chrome10+,Safari5.1+ */ background: -o-radial-gradient(center, ellipse cover,  #28292a 0%,#151617 100%); /* Opera 12+ */ background: -ms-radial-gradient(center, ellipse cover,  #28292a 0%,#151617 100%); /* IE10+ */ background: radial-gradient(ellipse at center,  #28292a 0%,#151617 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#28292a', endColorstr='#151617',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */}
.widget_search input#searchsubmit {font-size: 12px; /* font-family: "bebas-neue",sans-serif; */ padding: 6px 15px 5px; margin-left: 5px; color: #fff; font-weight: bold; border: solid 1px #191919; background-color: #8ad264; /* Safari 4-5, Chrome 1-9 */ background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#437931), to(#8ad264)); /* Safari 5.1, Chrome 10+ */ background: -webkit-linear-gradient(top, #8ad264, #437931); /* Firefox 3.6+ */ background: -moz-linear-gradient(top, #8ad264, #437931); /* IE 10 */ background: -ms-linear-gradient(top, #8ad264, #437931); /* Opera 11.10+ */ background: -o-linear-gradient(top, #8ad264, #437931);}
.widget_search img {margin: 0 0 0 -31px}
/* GENERAL/RESUABLE */
#main {width: 940px; margin: auto; background: #fff; padding: 10px; }
.inner {width: 960px; margin: auto}
h1, h2, h3 ,h4 {color: #427730; font-family: "bebas-neue",sans-serif;}
h1, h2 {border-bottom: 1px solid #427730; font-size: 28px; margin: 9px 0; font-weight: normal;} 
a {color: #427730}
p {color: #666; font-size: 13px;}
.btn-grad {
	background: #54983d; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzY4YmI0YiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM0Mzc4MzEiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #68bb4b 0%, #437831 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#68bb4b), color-stop(100%,#437831)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #68bb4b 0%,#437831 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #68bb4b 0%,#437831 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #68bb4b 0%,#437831 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #68bb4b 0%,#437831 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#68bb4b', endColorstr='#437831',GradientType=0 ); /* IE6-8 */
}

.page-template-default #main {padding: 30px; width: 900px; min-height: 600px;}

/* HOME PAGE */
.home #main {background: url('../img/bg-home.jpg') bottom left no-repeat #fff; padding-bottom: 240px}
#home-feature {width: 940px; height: 290px; margin: auto; position: relative; overflow: hidden}
#slider {width: 940px; height: 290px;}
#home-feature #next, #home-feature #prev {position: absolute; top: 120px; left: 10px; height:30px; width:20px; background: url('../img/sprite.png') -99px -3px no-repeat transparent; z-index: 1000;}
#home-feature #next {top: 120px; left: 910px; background-position: -98px -59px;}
.pager {position: absolute; z-index: 200; bottom: 10px; left: 435px}
.pager span {display: block; width: 10px; height: 10px; background-color: #db0033; float: left; text-indent: -9999px; margin-left: 5px; cursor: pointer;
							border-radius: 5px; -webkit-border-radius: 5px; -moz-border-radius: 5px
							-moz-box-shadow: inset 0 0 5px #a10026; -webkit-box-shadow: inset 0 0 5px #a10026; box-shadow: inner 0 0 5px #a10026;}
.pager span.cycle-pager-active {background-color: #f2f2f2; -moz-box-shadow: inset 0 0 5px #b7b8b4; -webkit-box-shadow: inset 0 0 5px #b7b8b4; box-shadow: inner 0 0 5px #b7b8b4;}



.home h1 {font-size: 24px; color: #427730; letter-spacing: -1px; text-transform: uppercase; margin: 0 0 20px; padding-bottom: 10px; border-bottom: 1px solid #aac0a3}


/* CONTACT */
.page-template-page-contact-php #main {padding: 30px; width: 900px; min-height: 600px}

#map-search{padding: 15px; width: 870px; background-color:#f1f1f1}
#map-search .col {float: left}
#map-search .col1 {width: 390px;}
#map-search .col2 {width: 400px; margin-left: 65px}
#map-search h1 {margin-top: 0; margin-bottom: 20px}
	#map-search label {width: 100%; float: left; font-size: 12px; color: #333; margin-bottom: 2px}
	#map-search input.text {border: 0 none; width: 160px; padding: 0 10px; font-size: 12px; height: 25px;
													box-shadow: inset 0px 3px 3px #e3e3e3; -webkit-box-shadow: inset 0px 3px 3px #e3e3e3; -moz-box-shadow: inset 0px 3px 3px #e3e3e3}
	#map-search .submit {width: 120px; height: 28px; margin: 3px 0 0 10px; text-align: center; color: #fff; text-transform: uppercase; font-size: 15px; border: 0 none; font-family: "bebas-neue",sans-serif;
												border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px; }Search
												
	#map-search p {font-size: 10px; color: #a6a6a6}
	#map-search span {font-weight: bold; float: right; margin-top: -58px;}
.locations {width: 860px; margin: 50px auto 0 auto}
#locations-map {width: 860px; height: 600px; margin: 30px 0}
#locations-map .map-popup-window {width: 185px; margin-left:-93px; margin-top:-142px }
#locations-map img {max-width: none;}
#locations-map .map-popup-header {background: url("../img/bg-popupTop.png") no-repeat scroll 0 0 transparent; height: 7px;}

#locations-map .map-popup-content {background: url("../img/bg-popupMdl.png") repeat-y scroll 0 0 transparent;}
#locations-map .map-popup-wrapper {margin: 0 auto;width: 80%;}
#locations-map .map-popup-footer {background: url("../img/bg-popupBtm.png") no-repeat scroll 0 0 transparent; height: 17px;}
#locations-map p {margin: 0px; font-size: 11px; color: #fff; }
#locations-map p.title {font-weight: bold; font-size: 12px}
#locations-map p.fuel img {padding: 5px 0}
/* FOOTER */

#btm-ftr {min-height: 180px; width: 100%; margin-top: 30px; background: url('../img/bg-footer.png') repeat #2f2f2f; border-top: solid 10px #427730;}
#btm-ftr .inner {padding-top: 40px;}
#btm-ftr #brand {background: url('../img/logo-mg.jpg') 0 0 no-repeat; height: 80px; width: 165px; margin:10px 0 0 0;}
#btm-ftr .inner p {color: #fff; font-size: 10px; font-weight: 100; text-align: right; float: left; width: 535px; margin-top: 20px;}
#btm-ftr .inner p a {color: #fff;}

#btm-ftr p.footer-address {font-family: "bebas-neue",sans-serif; font-size: 16px; color: #fff; float: left; width: 400px; line-height: 1em; text-align: left; margin: 10px 0;}
#btm-ftr p.footer-address span {margin: 5px 0; float: left;}

		
/* ==========================================================================
   Morris' custom styles
   ========================================================================== */


#single-news-content {width: 640px; float: left; position: relative;}
#single-news-content .entry-content img {margin-bottom: 35px;}

#news .news-item {}

#single-news #sidebar {width: 250px; float: left; margin-right: 60px; margin-top: 20px; background-color: #f4f4f4; height:400px;}
#single-news h1 {text-transform: uppercase; font-size: 20px; border-bottom: 1px solid #427730; padding-bottom: 10px; width: 640px; float: left;}
#single-news h2 {text-transform: uppercase; font-size: 14px; padding-bottom: 10px; width: 640px; float: left;}

#nav-single {margin-top: 30px;}
#nav-single .nav-previous {background: url('../img/sprite.png') no-repeat transparent -3px -311px; padding-left:20px; padding-bottom: 5px;}
#nav-single .nav-next {position: absolute; top:-50px; right:0; background: url('../img/sprite.png') no-repeat transparent 85px -278px; padding-right:20px;}
#nav-single .nav-next a, #nav-single .nav-previous a {color: #666; text-transform: uppercase; font-size: 11px;}

#page-content {width: 940px; float: left;}

.left-col, .right-col {width: 270px; float: left; padding: 30px 20px; font-size: 12px; color: #4c4c4c; line-height: 1.33em; font-weight: 200;}
.left-col ul, 
.right-col ul {padding: 0; margin: 0; list-style-type: disc; list-style-position: outside; margin-left: 13px;}
.left-col ul li, 
.right-col ul li {padding: 3px 0;}

.home-products {width: 270px; float: left; padding: 30px 20px;}
.home-products h2 {border-bottom: 1px solid #427730; font-size: 28px; margin: 9px 0; font-weight: normal;}
.home-products ul {padding: 0; margin: 0 0 15px;}
	.home-products ul li {list-style: none; font-size: 15px; color: #666; text-transform: uppercase; padding: 5px 0; border-bottom: 1px solid #e1e1e1} 
		.home-products ul li img {padding-right: 10px; float: left}
		.home-products ul li span {display: block; float: left; width: 200px; line-height: 15px; padding-top: 10px}
.home-products .btn.red {font-size:14px; text-transform: uppercase; text-decoration: none; color: #fff; font-family:"bebas-neue",sans-serif; background-color: #c82d38; padding: 5px 20px;
												border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px;}		
.home-products .btn.red:hover, .home-products .btn.red:active {background-color: #d8404a}


.green {width: 325px; background: url('../img/bg-green-trans.png') 0 0 repeat; float: left; padding: 15px 10px 10px 20px; margin: 0 400px 10px 15px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px;}
.green p {font-family: "bebas-neue",sans-serif; font-size: 36px; color: #427730; margin: 0; float: left;}
.green p.small-txt {font-size: 22px; line-height: 1.1em;}
.green a {
 border:1px solid #57a339; -webkit-border-radius: 3px; -moz-border-radius: 3px;border-radius: 3px;font-size:18px;font-family:"bebas-neue",sans-serif; padding: 10px 35px 10px 35px; text-decoration:none; display:inline-block;text-shadow: -1px -1px 0 rgba(0,0,0,0.3); color: #FFFFFF; line-height: 1em; float: right; margin: 2px 10px 0 0;
 background-color: #72C252; background-image: -webkit-gradient(linear, left top, left bottom, from(#72C252), to(#437831));
 background-image: -webkit-linear-gradient(top, #72C252, #437831);
 background-image: -moz-linear-gradient(top, #72C252, #437831);
 background-image: -ms-linear-gradient(top, #72C252, #437831);
 background-image: -o-linear-gradient(top, #72C252, #437831);
 background-image: linear-gradient(to bottom, #72C252, #437831);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#72C252, endColorstr=#437831);
}

.green a:hover {
 border:1px solid #45812d;
 background-color: #437831; background-image: -webkit-gradient(linear, left top, left bottom, from(#437831), to(#72C252));
 background-image: -webkit-linear-gradient(top, #437831, #72C252);
 background-image: -moz-linear-gradient(top, #437831, #72C252);
 background-image: -ms-linear-gradient(top, #437831, #72C252);
 background-image: -o-linear-gradient(top, #437831, #72C252);
 background-image: linear-gradient(to bottom, #437831, #72C252);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#437831, endColorstr=#72C252);
}

#product-list {width: 680px; float: right;}
	.search #product-list {width: 880px; margin: auto; padding: 20px 0; float: none} 
#product-list h1 {margin: 15px; font-weight: 200; border-bottom: 1px solid #427730; font-size: 30px; letter-spacing: 1px;}
.search .entry-content {padding: 20px}
.search form {color: #666; font-size: 13px;}
.search header.archive-header {position: relative}
.search header.archive-header a {position: absolute; top: 10px; right: 15px; color: #258098; font-size: 12px}

#product-list .product-item {width: 140px; float: left; margin: 20px 13px 10px;}
#product-list .product-item .post-img img {width: 140px; float: left; overflow: hidden; margin-bottom: 20px;}
#product-list .product-item h2 {color: #333; font-weight: 200; text-decoration: none; float: left; width: 140px; margin: 25px 0 0; font-size: 19px; border-bottom: none; line-height: 18px}
#product-list .product-item p {font-size: 11px; line-height: 1.2em; float: left}
#product-list .prod-meta {font-family: "bebas-neue",sans-serif; font-size: 15px; display: block; width: 140px; float: left; line-height: 18px}
#product-list .prod-meta.sku {font-size: 15px; color: #cd202c; text-transform: uppercase}
#product-list .prod-meta.pack {color: #000}
#product-list .prod-meta.price {font-size: 18px; color: #cd202c;}
#product-list .prod-thumb {min-height: 125px}

.sb-products {width: 200px; background-color: #f4f4f4; float: left; margin: 5px 0 0 15px; padding: 15px;}
.sb-products h3 {margin: 0px 10px 15px; font-weight: 200; border-bottom: 1px solid #427730; font-size: 26px; letter-spacing: 1px;}
.sb-products ul {margin: 0; padding: 0; list-style-type: none;}
.sb-products ul li {color: #4c4c4c; float: left; font-size: 12px; width: 100%;}
.sb-products ul li a {text-decoration: none; color: #4c4c4c; font-weight: 300; padding: 10px; display: block;}
.sb-products ul li.current-cat, .sb-products ul li:hover {background-color: #e3e7e8;}

.navigation {float: left; width: 100%}
.navigation ul {padding: 0; margin: 0 0 0 10px; float: left;
								border-radius: 4px; -webkit-border-radius: 4px; -moz-border-radius: 4px;
								-moz-box-shadow: 0 1px 5px #ccc; -webkit-box-shadow: 0 1px 5px #ccc; box-shadow: 0 1px 5px #ccc}
.navigation ul li {float: left; list-style: none;}
.navigation ul li a {display: block; color: #427730; font-size: 13px; font-family: "Helvetica", Arial, sans-serif; padding: 10px 15px; text-decoration: none}
.navigation ul li.active a, .navigation ul li a:hover {background: #f5f5f5; color: #b0b0b0} 
.navigation ul li.spacer {color: #427730; font-size: 13px; font-family: "Helvetica", Arial, sans-serif; padding-top: 10px} 
#banner {margin-bottom: 15px}

#feedContent {padding: 10px 20px;}
#feedContent h3 {font-weight: 200; margin-bottom: 5px;}
#feedContent ul {padding: 0; margin: 0; list-style-position: inside;}
#feedContent ul li {color: #666; font-size: 13px;}
 
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

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