/*
Theme Name: Ezy Frame Sheds WP Theme
Description: A custom wordpress theme
Author: Quikclicks
Author URI: http://www.quikclicks.com.au/
Version: 1.0
*/

/* ==========================================================================
   WEB FONTS
   font-family: 'Lato', sans-serif;
   Light 300
   Normal 400
   Bold 700
   ========================================================================== */
   
   
   

/* ==========================================================================
  DEFAULTS
   ========================================================================== */

html {
}
body{
	color: #000;
	font-family: 'Lato', sans-serif;
	font-weight: normal;
	font-style: normal;
	font-size: 1.2em;
	line-height: 1.2em;
}

body a{
	color: #003366;
	text-decoration: none;
	-webkit-transition: color 0.2s ease-in 0s;
    -moz-transition: color 0.2s ease-in 0s;
    -o-transition: color 0.2s ease-in 0s;
    transition: color 0.2s ease-in 0s;
}
body a:hover{
}

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

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

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

textarea {
    resize: vertical;
}

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

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






/* ==========================================================================
   GLOBAL STYLES
   ========================================================================== */
.mobile-nav-icon, #mobile-menu-container{
	display: none;
}

.holder{
	width: 1170px;
	margin: auto;
	position: relative;
}
#topbg{
	position: absolute;
	top: 0;
	left: 0;
	background: url('img/topbg.jpg') no-repeat;
	background-size: cover;
	height: 824px;
	width: 100%;
	z-index: -999;
}




	
/* ==========================================================================
   HEADER
   ========================================================================== */
#header{
}
	#header .logo{
		padding-top: 27px;
		padding-bottom: 28px;
		float: left;
		margin-left: 15px;
	}
		#header .logo img{
		}
	#header .rightheader{
		float: right;
		padding-top: 63px;
		padding-bottom: 31px;
		text-align: right;
	}
		#header .rightheader .widget{
		}
			#header .rightheader a.tel{
				display: inline-block;
				border: 4px solid #003366;
				-webkit-border-radius: 30px;
				-moz-border-radius: 30px;
				border-radius: 30px;
				font-size: 24px;
				font-weight: bold;
				text-align: center;
				text-transform: uppercase;
				padding: 15px 30px;
				color: #003366;
				margin-right: 5px;
			}
			#header .rightheader a.tel:hover{
				background: #003366;
				color: #fff;
			}
			#header .rightheader a.btn{
				display: inline-block;
				border: 4px solid #ff9933;
				-webkit-border-radius: 30px;
				-moz-border-radius: 30px;
				border-radius: 30px;
				font-size: 24px;
				font-weight: bold;
				text-align: center;
				text-transform: uppercase;
				padding: 15px 50px;
				color: #fff;
				background: #ff9933;
			}
			#header .rightheader a.btn:hover{
				color: #ff9933;
				background: #fff;
			}
	#header nav{
	}
		#header nav ul#main-nav{
		}


				
				
				
/* ==========================================================================
   TOPSLIDER
   ========================================================================== */
#topslider{
}	
	#topslider .bx-wrapper{
		margin: 11px auto 45px auto;
	}
	#topslider .bx-wrapper .bx-viewport{
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
		left: 0;
		border: 0 solid #fff;
	}
	#topslider .bx-wrapper .bx-prev{
		width: 50px;
		height: 50px;
		background: url('img/slider-prev.png') no-repeat;
		left: 25px;
		margin-top: 0;
		top: 38%;
	}
	#topslider .bx-wrapper .bx-next{
		width: 50px;
		height: 50px;
		background: url('img/slider-next.png') no-repeat;
		right: 25px;
		margin-top: 0;
		top: 38%;
	}
	#topslider .bx-wrapper .bx-pager.bx-default-pager a{
		-webkit-border-radius: 100%;
		-moz-border-radius: 100%;
		border-radius: 100%;
		width: 17px;
		height: 17px;
		background: none #2b2b2b;
	}
	#topslider .bx-wrapper .bx-pager.bx-default-pager a:hover, 
	#topslider .bx-wrapper .bx-pager.bx-default-pager a.active{
		background: none #ff9933;
	}
	#topslider .bx-wrapper .bx-pager, #topslider .bx-wrapper .bx-controls-auto{
		bottom: -35px;
	}
	#topslider ul.bxslider{	
		margin: 0;
		padding: 0;
	}	
		#topslider ul.bxslider li{
			border: 10px solid #fff;
			position: relative;
		}
		#topslider ul.bxslider li img{
			height: auto !important;
			width: 100% !important;
		}		
		#topslider ul.bxslider li span{
			display: block;
			background: url('img/slider-transparentbg.png') repeat;
			position: absolute;
			bottom: 0;
			left: 0;
			width: 100%;
			z-index: 9999;
			font-size: 38px;
			line-height: 100%;
			font-weight: normal;
			color: #fff;
			
		}
			#topslider ul.bxslider li span em{
				display: block;
				padding: 25px 35px;
				font-style: normal;
			}
				
				
				
				
	
/* ==========================================================================
   TOPBANNER
   ========================================================================== */
 #topbanner{
	margin-top: 11px;
 }
	#topbanner  .holder{
		position: relative;
		background: url('/img/topbanner-general.jpg') no-repeat;
		background-size: cover;
		background-position: center center;
		height: 260px;
	}
	#topbanner  .holder .border-left,#topbanner  .holder .border-right,#topbanner  .holder .border-top,#topbanner  .holder .border-bottom{
		display: block;
		position: absolute;
		background: none #fff;
		z-index: 999;
	}
	#topbanner  .holder .border-left{
		width: 10px;
		height: 100%;
		left: 0;
		top: 0;
	}
	#topbanner  .holder .border-right{
		width: 10px;
		height: 100%;
		right: 0;
		top: 0;
	}
	#topbanner  .holder .border-top{
		height: 10px;
		width: 100%;
		left: 0;
		top: 0;
	}
	#topbanner  .holder .border-bottom{
		height: 10px;
		width: 100%;
		left: 0;
		bottom: 0;
	}
	#topbanner h2{
		margin: 0;
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		background: url('img/topbanner-shadow.png') repeat;
		z-index: 99;
		font-size: 30px;
		line-height: 100%;
		font-weight: normal;
		color: #fff;
		text-transform: uppercase;
	}
		#topbanner h2 span{
			display: block;
			padding: 20px 30px 29px;
		}
		
 
				
			
			
			
				
/* ==========================================================================
   HOME
   ========================================================================== */
#main-home{
	padding-bottom: 63px;
}
	#main-home .our-products{	
		background: none #ff9933;
		padding-bottom: 36px;
	}
		.our-products .titlewithline{
			margin: 0;
			position: relative;
			text-align: center;
			text-transform: uppercase;
			font-weight: normal;
			font-size: 22px;
			color: #336699;
			margin: 20px 0;
		}		
		#main-home .our-products .titlewithline{
			color: #fff;
		}
			.our-products .titlewithline span{	
				display: inline-block;
			}		
			.our-products .titlewithline .left, 
			.our-products .titlewithline .right{
				background: #cccccc;
				height: 1px;
				left: 0;
				position: absolute;
				top: 12px;
			}
			#main-home .our-products .titlewithline .left, 
			#main-home .our-products .titlewithline .right, 
			#main-home .our-products .titlewithline .top, 
			#main-home .our-products .titlewithline .bottom{
				background: #fff;
			}
			.our-products .titlewithline .right{
				right: 0;
				left: auto;
			}
		.our-products ul{
			padding: 0;
			margin: 0;
		}
			.our-products ul li{
				width: 19%;
				float: left;
				margin-right: 1.25%;
				list-style-type: none;
			}
			.our-products ul li:last-child{
				margin-right: 0;
			}
				.our-products ul li a{
					display: block;
					border: 5px solid #fff;
				}				
				.our-products ul li img{
					display: block;
					width: 100% !important;
					height: auto !important;
				}
				.our-products ul li span{
					display: block;
					background: none #0f4876;
					text-align: center;
					color: #fff;
					font-size: 14px;
					text-transform: uppercase;
					padding: 8px;
				}
				.our-products ul li a:hover span{
					color: #ff9933;
				}
	#main-home .welcome{
		color: #333333;
		line-height: 27px;
		font-size: 16px;
	}
		#main-home .welcome .welcome-left{
			float: left;
			width: 855px;
		}
			#main-home .welcome .welcome-left .title{
				margin: 0;
				font-weight: normal;
				font-size: 50px;
				color: #003366;
				text-transform: uppercase;
				line-height: 100%;
				padding-top: 40px;
				padding-bottom: 15px;
			}
			#main-home .welcome .welcome-left h4{
				margin: 0;
				font-size: 20px;
				font-weight: bold;
				padding-bottom: 27px;
			}
			#main-home .welcome .welcome-left p{
				margin: 0;
				padding-bottom: 27px;
			}
			#main-home .welcome .welcome-left .btn{
				display: inline-block;
				border: 4px solid #ff9933;
				-webkit-border-radius: 25px;
				-moz-border-radius: 25px;
				border-radius: 30px;
				font-size: 20px;
				font-weight: bold;
				text-align: center;
				text-transform: uppercase;
				padding: 9px 40px;
				color: #fff;
				background: #ff9933;
				margin-top: 10px;
			}
			#main-home .welcome .welcome-left .btn:hover{
				color: #ff9933;
				background: #fff;
			}
		#main-home .welcome .welcome-right{
			width: 261px;
			float: right;
			padding-top: 42px;
		}
			#main-home .welcome .welcome-right h2{
				margin: 0;
				background: none #3a3836;
				color: #fff;
				font-weight: normal;
				font-size: 26px;
				text-transform: uppercase;
				padding: 15px 16px;
			}
			#main-home .welcome .welcome-right .img{
				background: url('img/sidebar-widgetbg.jpg') no-repeat;
				background-size: 100% 100%;
				text-align: center;
				padding: 15px 10px 19px 10px;
			}


   

   

/* ==========================================================================
   MAIN
   ========================================================================== */

#main{
	padding-bottom: 65px;
}
	#main .thecontent{
		background: none #fff;
		margin-top: 12px;
		padding: 16px;
		color: #333333;
		font-size: 16px;
		font-weight: normal;
		line-height: 26px;
		min-height: 440px;
	}
	#main .thecontent .maintitle{
		font-size: 50px;
		font-weight: normal;
		color: #003366;
		margin-top: 0;
		padding-top: 20px;
		margin-bottom: 14px;
		line-height: 100%;
		text-transform: uppercase;
	}
	#main .thecontent a{
		color: #003366;
	}
	#main .thecontent a:hover{
		text-decoration: underline;
	}
	#main .thecontent img{
		max-width: 100% !important;
		height: auto !important;
	}
	#main .thecontent img.alignright{
		float: right;
		margin-left: 30px;
		margin-bottom: 20px;
	}
	#main .thecontent img.alignleft{
		float: left;
		margin-right: 30px;
		margin-bottom: 20px;
	}
	#main .thecontent .content-right{
		float: right;
		width: 30%;
		margin-left: 3%;
	}
	#main .thecontent .btn{
				display: inline-block;
				border: 4px solid #ff9933;
				-webkit-border-radius: 30px;
				-moz-border-radius: 30px;
				border-radius: 30px;
				font-size: 24px;
				font-weight: bold;
				text-align: center;
				text-transform: uppercase;
				padding: 15px 50px;
				color: #fff;
				background: #ff9933;
	
	}
	#main .thecontent .right-img img{
			width: 100% !important;
			height: auto !important;
	}
	#main .thecontent .content-left{
		float: left;
		width: 67%;
	}
	#main .thecontent .contact-left{
		width: 40%;
		float: left;
	}
	#main .thecontent .contact-right{
		width: 57%;
		float: right;
	}
	#main .thecontent h1, 
	#main .thecontent h2, 
	#main .thecontent h3, 
	#main .thecontent h4, 
	#main .thecontent h5, 
	#main .thecontent h6{
		font-family: 'Roboto Condensed', sans-serif;
		font-weight: normal;
		line-height: 120%;
		margin: 1.5em 0 0.2em 0;
		color: #003366;
	} 
	#main .thecontent h1{
		font-size: 30px;
	}
	#main .thecontent h2{
		font-size: 25px;
	}
	#main .thecontent h3{
		font-size: 21px;
	}
	#main .thecontent h4{
		font-size: 20px;
	}
	#main .thecontent h5{
		font-size: 18px;
	}
	#main .thecontent h6{
		font-size: 16px;
	}
	#main .thecontent p{
		margin: 0 0 1.5em 0;
	}

	
	

/* ==========================================================================
  BLOG
   ========================================================================== */
#main.blog{
}
	#main.blog .content-left{
		width: 72%;
	}
		#main.blog .content-left .blogitem{
			border-bottom: 1px solid #d7d7d7;
			padding-bottom: 27px;
			padding-top: 27px;
		}
		#main.blog .content-left .blogitem:first-child{
			padding-top: 20px;
		}
		.single #main.blog .content-left .blogitem{
			border-bottom: none;
		}
			#main.blog .content-left .blogitem .blog-content{
				width: 72.5%;
				float: left;
			}
			.single #main.blog .content-left .blogitem .blog-content{
				float: none;
				width: 100%;
			}
				#main.blog .content-left .blogitem .blog-content .blog-title{
					font-size: 20px;
					font-weight: bold;
					margin: 0;
					line-height: 120%;
					color: #333;
				}
				.single #main.blog .content-left .blogitem .blog-content .blog-title{
					font-size: 22px;
				}
					#main.blog .content-left .blogitem .blog-content .blog-title a{
						color: #333;
					}
				#main.blog .content-left .blogitem .blog-content .meta{
					color: #999999;
					font-size: 12px;
					line-height: 120%;
					padding: 7px 0 9px;
				}
					#main.blog .content-left .blogitem .blog-content .meta a{
						color: #999999;
					}
				#main.blog .content-left .blogitem .blog-content .excerpt{
					line-height: 120%;
					font-size: 15px;
				}
					#main.blog .content-left .blogitem .blog-content .excerpt p{
						margin: 0.7em 0 0.8em;
					}
				#main.blog .content-left .blogitem .blog-content .more-links{
					padding-top: 10px;
				}
					#main.blog .content-left .blogitem .blog-content .more-links .continue{
						display: inline-block;
						background: none #ff9f3e;
						color: #fff;
						font-size: 13px;
						font-weight: bold;
						padding: 5px 25px;
						margin-right: 17px;
					}
					#main.blog .content-left .blogitem .blog-content .more-links .comment{
						background: url('img/icon-comment.jpg') no-repeat 0 6px;
						padding-left: 20px;
						color: #333;
					}
			#main.blog .content-left .blogitem .blog-img{
				width: 19.4%;
				padding-top: 5px;
				float: right;
			}
			.single #main.blog .content-left .blogitem .blog-img{
				width: 30%;
				margin-left: 3%;
			}
				#main.blog .content-left .blogitem .blog-img a{
					display: block;
					padding: 5px;
					border: 1px solid #e6e6e6;
				}
				#main.blog .content-left .blogitem .blog-img img{
					width: 100% !important;
					height: auto !important;
				}
			#main.blog .content-left .navigation{
				padding-top: 27px;
			}
	#main.blog .content-right{
		width: 25%;
	}
		#main.blog .content-right .widget{
			margin-bottom: 40px;
		}
		#main.blog .content-right .widget:last-child{
			margin-bottom: 0px;
		}
			#main.blog .content-right .widgettitle{
				background: #3a3836 none repeat scroll 0 0;
				color: #fff;
				font-size: 26px;
				font-weight: normal;
				margin: 0;
				padding: 13px 16px;
				text-transform: uppercase;
			} 
			#main.blog .content-right .widget_categories .widgettitle{
				background: none transparent;
				color: #003366;
				padding: 0 0 8px;
			}
		#main.blog .content-right .widget_categories ul{
			margin: 0;
			padding: 0;
		}
			#main.blog .content-right .widget_categories ul li{
				list-style-type: none;
				background: none #ff9933;
			} 
			#main.blog .content-right .widget_categories ul li a{
				font-size: 16px;
				font-weight: normal;
				text-transform: uppercase;
				display: block;
				color: #fff;
				border-bottom: 1px solid #ffc387;
				padding: 8px 17px;
				margin: 0 7px;
			}
			#main.blog .content-right .widget_categories ul li a:hover{
				color: #003366;
				text-decoration: none;
			}
			#main.blog .content-right .widget_categories ul li:last-child a{
				border-bottom: none;
			}
		#main.blog .content-right .widget_archive ul{
			border: 1px solid #d7d7d7;
			border-top: none;
			margin: 0;
			padding: 13px 0 13px 0;
		}
			#main.blog .content-right .widget_archive ul li{
				list-style-type: none;
				padding: 4px 22px;
				text-transform: uppercase;
				font-size: 14px;
			}
				#main.blog .content-right .widget_archive ul li a{
				}
				#main.blog .content-right .widget_archive ul li a:hover{
				}
		#main.blog .content-right .widget_recent_entries ul{
			border: 1px solid #d7d7d7;
			border-top: none;
			margin: 0;
			padding: 0;
		}
			#main.blog .content-right .widget_recent_entries ul li{
				list-style-type: none;
				padding-bottom: 20px;
				padding-top: 20px;
				border-bottom: 1px solid #d7d7d7;
				margin: 0 12px;
			}
			#main.blog .content-right .widget_recent_entries ul li:last-child{
				border-bottom: none;
			}
				#main.blog .content-right .widget_recent_entries ul li .img{
					width: 26.7%;
					float: left;
				}
					#main.blog .content-right .widget_recent_entries ul li .img img{
						width: 100%;
					}
				#main.blog .content-right .widget_recent_entries ul li .text{
					width: 67%;
					float: right;
					font-size: 13px;
					line-height: 140%;
				}
					#main.blog .content-right .widget_recent_entries ul li .text a{
						display: block;
						color: #003366;
						padding-bottom: 7px;
					}
					#main.blog .content-right .widget_recent_entries ul li .text span{
						color: #999999;
						display: block;
					}
   

   
   

/* ==========================================================================
   EZ QUOTE
   ========================================================================== */
#main.ezquote{
}
	#main.ezquote form{
		max-width: 552px;
		padding-top: 22px;
	}
	#main.ezquote form p{
		margin: 0;
		margin-bottom: 13px;
		line-height: 100%;
	}
	#main.ezquote input[type="text"], #main.ezquote input[type="email"], #main.ezquote input[type="tel"], #main.ezquote select, #main.ezquote textarea{
		background: none #efefef;
		display: block;
		width: 100%;
		padding: 13px 2.5%;
		width: 95%;
		display: block;
		border: none;
		line-height: 100%;
		font-size: 14px;
		color: #333333;
	}
	#main.ezquote select{
		width: 100%;
		padding-bottom: 10px;
		padding-top: 10px;
	}
	#main.ezquote .twocol input[type="text"], #main.ezquote .twocol input[type="email"], #main.ezquote .twocol input[type="tel"], #main.ezquote .twocol select, #main.ezquote .twocol textarea{
		padding-right: 5%;
		padding-left: 5%;
		width: 90%;
	}
	#main.ezquote .twocol select{
		width: 100% !important;
		padding: 10px 3.5% !important;
	}
	#main.ezquote .threecol input[type="text"], #main.ezquote .threecol input[type="email"], #main.ezquote .threecol input[type="tel"], #main.ezquote .threecol select, #main.ezquote .threecol textarea{
		padding-right: 7.5%;
		padding-left: 7.5%;
		width: 85%;
	}
	#main.ezquote textarea{
		height: 120px;
	}
	#main.ezquote .threecol select{
		width: 100% !important;
		padding: 10px 7% !important;
	}
	#main.ezquote ::-webkit-input-placeholder {
		color: #333333;
		opacity: 1;
	}
	#main.ezquote :-moz-placeholder { /* Firefox 18- */
	   color: #333333;
	   opacity: 1;
	}

	#main.ezquote ::-moz-placeholder {  /* Firefox 19+ */
	   color: #333333;
	   opacity: 1;
	}

	#main.ezquote :-ms-input-placeholder {  
	   color: red;  
	}
	#main.ezquote span{
		display: block;
	}
	#main.ezquote .onecol{
	}
	#main.ezquote .twocol{
	}
		#main.ezquote .twocol .col1{
			float: left;
			width: 47.5%;
		}
		#main.ezquote .twocol .col2{
			float: right;
			width: 47.5%;
		}
	#main.ezquote .threecol{
	}
		#main.ezquote .threecol .col1{
			float: left;
			width: 31%;
			margin-right: 3.5%;
		}
		#main.ezquote .threecol .col2{
			float: left;
			width: 31%;
		}
		#main.ezquote .threecol .col3{
			float: right;
			width: 31%;
		}
	#main.ezquote .bottomtext{
		display: block;
		font-size: 13px;
		font-style: normal;
		padding-bottom: 7px;
	}
	#main.ezquote br{
		line-height: 30px;
	}
	#main.ezquote input[type="submit"]{
		background: #ff9933 none repeat scroll 0 0;
		border: 4px solid #ff9933;
		border-radius: 30px;
		color: #fff;
		display: inline-block;
		font-size: 20px;
		font-weight: bold;
		padding: 12px 30px;
		text-align: center;
		text-transform: uppercase;
		margin-top: 10px;
	}
   



	

/* ==========================================================================
   FOOTER
   ========================================================================== */
#footer{
}
	#footer .footer1{
		background: none #0f4876;
		color: #fff;
		font-size: 13px;
		line-height: 20px;
		padding-top: 30px;
		padding-bottom: 15px;
	}
		#footer .footer1 .left{
			float: left;
		}	
			#footer .footer1 .left .widget{
			}
			#footer .footer1 .left p{
				margin: 0;
				padding-bottom: 20px;
			}
			#footer .footer1 .left a.icon-facebook{
				display: inline-block;
				width: 46px;
				height: 46px;
				background: url('img/footer-icon-facebook.png') no-repeat;
				margin-right: 13px;
			}
			#footer .footer1 .left a.icon-twitter{
				display: inline-block;
				width: 46px;
				height: 46px;
				background: url('img/footer-icon-twitter.png') no-repeat;
				margin-right: 13px;
			}
			#footer .footer1 .left a.icon-youtube{
				display: inline-block;
				width: 46px;
				height: 46px;
				background: url('img/footer-icon-youtube.png') no-repeat;
				margin-right: 13px;
			}
		#footer .footer1 .right{
			float: right;
			padding-bottom: 25px;
		}
			#footer .footer1 .right img{
				margin-left: 17px;
			}
	#footer .footer2{
		background: none #000912;
		color: #fff;
		font-size: 12px;
		font-weight: bold;
	}
		#footer .footer2 a{
			color: #fff;
		}
		#footer .footer2 p{
			margin: 0;
			padding: 20px 0;
		}
	





/* ==========================================================================
   Helper classes
   ========================================================================== */

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

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

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

.invisible {
    visibility: hidden;
}

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

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles.
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}