/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

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

body {
    background:#000;
    font-size: 1em;
    line-height: 1.4;
    
}
html, html a {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-smoothing: antialiased;
}
::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

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

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

img {
    vertical-align: middle;
}

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

textarea {
    resize: none;
}

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


/* ==========================================================================
   Author's custom styles
   ========================================================================== */
#main {
  background: url("../img/bg.jpg") no-repeat top center fixed;
  filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/bg.png', sizingMethod='scale');
  -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/bg.png', sizingMethod='scale')";
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  width: 100%;
  height:100vh;
  padding: 30px 0;
}

.header{
	max-width: 924px;
	height: auto;
	margin: 0 auto;
	padding-top: 10px;
	text-align: center;
}

.header img{
	width: 800px;
}
.content{
	max-width: 924px;
	width:90%;
	height: auto;
	margin: 0 auto;
	margin-top: 60px;
	background: rgba(255, 255, 255, 0.85);
	padding-top: 40px;
	padding-bottom: 20px;
	border-radius: 20px;
}

    .content img.logo {
        display:block;
        margin:20px auto 40px auto;
        width:80%;
    }

	.content h3{
		text-align: center;
		color: #000;
		font-size: 20px;
		line-height: 20px;
		padding-left: 40px;
		padding-right: 40px;
		font-family: 'Gentona-Light';
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
	}
	.content h2{
		text-align: center;
		color: #000;
		font-size: 36px;
		line-height:30px;
		font-family: 'Gentona-Bold';
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;		
	}
	.content .back{
		position: absolute;
		margin-left: 30px;
		margin-top: -24px;
	}
	.content .back img{
		width: 160px;
	}

.nav{
    border-width:1px 0;
    list-style:none;
    margin:0;
    padding:0;
    text-align:center;
}
    .nav .stars {
        font-size:16px;
    }
	.nav li{
	    display:inline;
	}
	.nav li a{
	    display:inline-block;
	    padding-top: 18px;
		padding-bottom: 18px;
		width: 140px;
	    text-decoration: none;
	    text-transform: uppercase;
	    color: #fff;
	    background: rgb(35, 31, 32);
	    margin: -1px;
		font-family: 'Gentona-Bold';
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
		font-size: 22px;
		-webkit-transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750); 
   -moz-transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750); 
     -o-transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750); 
        transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */

-webkit-transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); 
   -moz-transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); 
     -o-transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); 
        transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */
	}
	.nav li a:hover{
		color: rgb(185,55,39);
		text-shadow:2px 2px 22px rgba(232,101,85,0.4);
	    background: rgb(248,248,248);
	    box-shadow: 1px 1px 30px rgba(255,255,255,0.4);
	    -webkit-box-shadow: 1px 1px 30px rgba(255,255,255,0.4); 
	    -moz-box-shadow: 1px 1px 30px rgba(255,255,255,0.4);
		-webkit-transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750); 
   -moz-transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750); 
     -o-transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750); 
        transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */

-webkit-transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); 
   -moz-transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); 
     -o-transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); 
        transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */
	}
	.nav li a.left{
		-webkit-border-top-left-radius: 20px;
		-webkit-border-bottom-left-radius: 20px;
		-moz-border-radius-topleft: 20px;
		-moz-border-radius-bottomleft: 20px;
		border-top-left-radius: 20px;
		border-bottom-left-radius: 20px;
	}
	.nav li a.right{
		-webkit-border-top-right-radius: 20px;
		-webkit-border-bottom-right-radius: 20px;
		-moz-border-radius-topright: 20px;
		-moz-border-radius-bottomright: 20px;
		border-top-right-radius: 20px;
		border-bottom-right-radius: 20px;
	}
	
	/* Progress Bar */
	.meter { 
		height: 10px;  /* Can be anything */
		margin: 0 auto;
		margin-top: 30px;
		width: 60%;
		position: relative;
		background: #d27f87;
		-moz-border-radius: 15px;
		-webkit-border-radius: 15px;
		border-radius: 15px;
		padding: 10px;
	}
		.meter > span {
			display: block;margin-top: -5px;
            height: 20px;
			   -webkit-border-top-right-radius: 8px;
			-webkit-border-bottom-right-radius: 8px;
			       -moz-border-radius-topright: 8px;
			    -moz-border-radius-bottomright: 8px;
			           border-top-right-radius: 8px;
			        border-bottom-right-radius: 8px;
			    -webkit-border-top-left-radius: 20px;
			 -webkit-border-bottom-left-radius: 20px;
			        -moz-border-radius-topleft: 20px;
			     -moz-border-radius-bottomleft: 20px;
			            border-top-left-radius: 20px;
			         border-bottom-left-radius: 20px;
			background-color: rgb(0,0,0);
			background-image: -webkit-gradient(
			  linear,
			  left bottom,
			  left top,
			  color-stop(0, rgb(208,32,48)),
			  color-stop(1, rgb(208,32,48))
			 );
			background-image: -moz-linear-gradient(
			  center bottom,
			  rgb(43,194,83) 37%,
			  rgb(84,240,84) 69%
			 );
			position: relative;
			overflow: hidden;
		}
		.meter > span:after, .animate > span > span {
			content: "";
			position: absolute;
			top: 0; left: 0; bottom: 0; right: 0;
			background-image: 
			   -webkit-gradient(linear, 0 0, 100% 100%, 
			      color-stop(.25, rgba(255, 255, 255, .2)), 
			      color-stop(.25, transparent), color-stop(.5, transparent), 
			      color-stop(.5, rgba(255, 255, 255, .2)), 
			      color-stop(.75, rgba(255, 255, 255, .2)), 
			      color-stop(.75, transparent), to(transparent)
			   );
			background-image: 
				-moz-linear-gradient(
				  -45deg, 
			      rgba(255, 255, 255, .2) 25%, 
			      transparent 25%, 
			      transparent 50%, 
			      rgba(255, 255, 255, .2) 50%, 
			      rgba(255, 255, 255, .2) 75%, 
			      transparent 75%, 
			      transparent
			   );
			z-index: 1;
			-webkit-background-size: 50px 50px;
			-moz-background-size: 50px 50px;
			-webkit-animation: move 2s linear infinite;
			   -webkit-border-top-right-radius: 8px;
			-webkit-border-bottom-right-radius: 8px;
			       -moz-border-radius-topright: 8px;
			    -moz-border-radius-bottomright: 8px;
			           border-top-right-radius: 8px;
			        border-bottom-right-radius: 8px;
			    -webkit-border-top-left-radius: 20px;
			 -webkit-border-bottom-left-radius: 20px;
			        -moz-border-radius-topleft: 20px;
			     -moz-border-radius-bottomleft: 20px;
			            border-top-left-radius: 20px;
			         border-bottom-left-radius: 20px;
			overflow: hidden;
		}
	
	.animate > span:after {
		display: none;
	}
	
	@-webkit-keyframes move {
	    0% {
	       background-position: 0 0;
	    }
	    100% {
	       background-position: 50px 50px;
	    }
	}
	
	.orange > span {
		background-color: #767676;
	}
	
	.red > span {
		background-color: #767676;
		
	}
	
	.nostripes > span > span, .nostripes > span:after {
		-webkit-animation: none;
		background-image: none;
	}

form {
    display:block;
    width:90%;
    max-width:500px;
    margin:15px auto;
}

.form-left{
	margin-left: 50px;
	display: inline-block;
}
.form-right{
	margin-left: 44px;
	margin-top: 15px;
	vertical-align: top;
	display: inline-block;
}
.space{
	margin-left: 2%;
}
label{
	color: #231f20;
	font-family: 'Gentona-BoldItalic';
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 20px;
}

input.full {
    width:100%;
}

.left {
    display:inline-block;
    width:48%;
}

.left input[type="text"]{
    width:90%;
}

#Dept {
	color: #ffffff;
	font-family: 'Gentona-BoldItalic';
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 20px;
}
input[type="text"]{
	background: #000;
	color:#fff;
	border: none;
	border-radius: 8px;
	height: 24px;
	padding-left: 10px;
	padding-right: 10px;
	outline: none;
	margin-bottom: 6px;
	font-family: 'Gentona-Book';
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
		-webkit-transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750); 
   -moz-transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750); 
     -o-transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750); 
        transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */

-webkit-transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); 
   -moz-transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); 
     -o-transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); 
        transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */
}
input[type="text"]:focus {
		box-shadow: 1px 1px 20px rgba(255,255,255,0.4);
	    -webkit-box-shadow: 1px 1px 20px rgba(255,255,255,0.4); 
	    -moz-box-shadow: 1px 1px 20px rgba(255,255,255,0.4);
		-webkit-transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750); 
   -moz-transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750); 
     -o-transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750); 
        transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */

-webkit-transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); 
   -moz-transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); 
     -o-transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); 
        transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */
}
input[type="submit"]{
	width: 100%;
	margin-top: 14px;
	background: rgb(0,0,0);
	border: none;
	border-radius:10px;
	padding:8px 0;
	color: #ffffff;
	font-family: 'Gentona-BoldItalic';
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
		-webkit-transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750); 
   -moz-transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750); 
     -o-transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750); 
        transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */

-webkit-transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); 
   -moz-transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); 
     -o-transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); 
        transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */
}
input[type="submit"]:hover{
	background: rgb(215,25,32);
		-webkit-transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750); 
   -moz-transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750); 
     -o-transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750); 
        transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */

-webkit-transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); 
   -moz-transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); 
     -o-transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); 
        transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */
}
textarea{
	background: #000;
	color:#fff;
	border: none;
	border-radius: 8px;
	height: 60px;
	padding-left: 10px;
	outline: none;
	width: 97%;
	font-family: 'Gentona-Book';
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
		-webkit-transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750); 
   -moz-transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750); 
     -o-transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750); 
        transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */

-webkit-transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); 
   -moz-transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); 
     -o-transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); 
        transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */
}
textarea:focus {
		box-shadow: 1px 1px 20px rgba(255,255,255,0.4);
	    -webkit-box-shadow: 1px 1px 20px rgba(255,255,255,0.4); 
	    -moz-box-shadow: 1px 1px 20px rgba(255,255,255,0.4);
		-webkit-transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750); 
   -moz-transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750); 
     -o-transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750); 
        transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */

-webkit-transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); 
   -moz-transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); 
     -o-transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); 
        transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */
}
#form .poor {
	margin-right:10px;
	font-weight:400;
	font-size:14px;
	clear:both;
	float:left;
	color:#fff;
	font-family: 'Gentona-BoldItalic';
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

#form .excellent {
	margin-left:13px;
	font-weight:400;
	font-size:14px;
	float:left;
	color:#fff;
	font-family: 'Gentona-BoldItalic';
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
/*UI ***************************************/

.slider-1, .slider-2, .slider-3, .slider-4  {
background: url(../images/slider.png) top left repeat-x;
-webkit-border-radius: 50px;
-moz-border-radius: 50px;
border-radius: 50px;
position:relative;
padding:0 10px;
width:200px;
height:11px;
float:left;
margin:0px;
top:4px;
}
/*Style for the slider button*/


/*Result div where the slider value is displayed*/
#slider-result-1, #slider-result-2,  #slider-result-3, #slider-result-4{
	padding:4px 0px 0px 0px;
	font-family: 'Gentona-ExtraBold';
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-align:center;
	font-size:11px;
	width:300px;
	margin:0px;
	clear:both;
	color:#fff;
}

/*This is the fill bar colour*/

.ui-slider-horizontal .ui-slider-handle{
	border-radius: 20px;
	background: #ffffff !important;
	border: 0px !important;
}
.ui-slider-horizontal .ui-slider-handle:hover{
	border-radius: 20px;
	background: #ffffff;
	border: 0px;
}
.ui-widget-content{
	background:#505050 !important;
	border: none !important;
	height: 10px !important;
}
.ui-widget-header{
	background:#f2373e !important;
	border: none !important;
	height: 10px !important;
}
.ui-slider-horizontal .ui-slider-handle:focus {
	box-shadow: 1px 1px 20px rgba(255,255,255,0.4);
	-webkit-box-shadow: 1px 1px 20px rgba(255,255,255,0.4); 
	-moz-box-shadow: 1px 1px 20px rgba(255,255,255,0.4);
}

h5{
	font-family: 'Gentona-BoldItalic';
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	color: #ffffff;
	font-size: 20px;
	margin-bottom: 5px;
	margin-top: 15px;
}

.buttons{
	margin: 0px auto;
	max-width: 588px;
	width:100%;
	text-align:center;
}
	.buttons .google{
		margin: 24px;
		display: inline-block;
		width:40%;
	}
	.buttons .cars{
		margin: 24px;
		display: inline-block;
		width:40%;
	}
	    .buttons .google img, .buttons .cars img {
    	    display:block;
    	    width:100%;
    	    min-width:180px;
	    }
	.buttons .review{
		text-align: center;
		margin-top: 8px;
	}
		.buttons .review a{
			width: 100%;
			min-width:180px;
			display: block;
			padding-top: 5px;
			padding-bottom: 5px;
			color: #fff;
			text-decoration: none;
			background: #000;
			border-radius: 10px;
			font-family: 'Gentona-Bold';
			-webkit-font-smoothing: antialiased;
			-moz-osx-font-smoothing: grayscale;
			font-size: 22px;
			-webkit-transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750); 
			-moz-transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750); 
		    -o-transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750); 
		    transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */
		
			-webkit-transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); 
			-moz-transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); 
		    -o-transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); 
		    transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */
		}
		.buttons .review a:hover{
			color: rgb(185,55,39);
			text-shadow:2px 2px 22px rgba(232,101,85,0.4);
		    background: rgb(248,248,248);
		    box-shadow: 0px 0px 20px rgba(255,255,255,0.4);
		    -webkit-box-shadow: 1px 1px 20px rgba(255,255,255,0.4); 
		    -moz-box-shadow: 1px 1px 20px rgba(255,255,255,0.4);
			-webkit-transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750); 
			-moz-transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750); 
		    -o-transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750); 
		    transition: all 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */
		
			-webkit-transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); 
			-moz-transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); 
		    -o-transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); 
		    transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */
		}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (max-width: 800px) {
    .nav li a{
        display:block;
        width:80%;
        margin:0.5em auto;
    }
    .nav li a.left, .nav li a.right{
        border-radius:0;
    }
    form {
        width:90%;
    }
}

@media only screen and (max-width:500px) {
    form textarea {
        width:96%;
        margin:0 auto;
    }
    .left {
        display:block;
        width:100%;
    }
    .space{
	    margin-left:0;
    }
    input[type="text"]{
        display:block;
        width:94%;
    }
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

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

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

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

.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: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

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

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