/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * 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: defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets 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 {
    border: 0;
    border-top: 1px solid #ccc;
	display: block;
	height: 1px; 
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade { 
    background: #ccc;
    color: #000;
	margin: 0.2em 0;
    padding: 0.2em 0;
}

/* ==========================================================================
   Text And Links 
   ========================================================================== */

/* Standard font sizes and styles*/
 
h1 {
	font-size:3em;
	text-align:center;
}

h2 {
	font-size:1.8em;	
}

p {
	font-size:1.2em;
}

li {
  font-size:1.2em; 
  margin-bottom: 20px;
}

ul.link {
	display: block; 
	position: relative;
	float: left;
}

li.link {
	display: block;
	position: relative;
	float: left;
}

/* ==========================================================================
   custom styles
   ========================================================================== */

body, html, main {
	/* important */
	height: 100%;
	font-family:'Oswald', "Helvetica Neue", Helvetica, Arial;
}

header {
	-moz-box-shadow: 10px 10px 22px -6px rgba(0,0,0,0.33);
	-webkit-box-shadow: 10px 10px 22px -6px rgba(0,0,0,0.33);  
    background-color:#000000;
	box-shadow: 10px 10px 22px -6px rgba(0,0,0,0.33);
	height:110px;
	opacity:.86;
	position:fixed;
	width:100%;
    z-index:1;
} 

.footerinfo {
	height:200px;
	background-color:#3d3d3d;
	text-align:center;
	padding:1% 0% 0% 0%;
	font-size:1.2em;
}

.mobilefooterinfo{
	background-color:#3d3d3d; 
	min-height:250px;
	text-align:center;
	padding:1% 0% 0% 0%;
}
	
.brandtext {
	color:#ffffff;
}

.Tagine {
	color:#ffffff;
	font-size:3.2em;
	text-align:center; 
}

.contact {
	font-weight:bold;
	padding:2% 10%;
}

.disclaimer {
	color:#ffffff;
	font-size:.8em;
}

.mainlogo{
	float:left;
	margin-left:5%;
	max-width:200px;
	padding-top:1%;
	width:100%;	 
}

.socialmedialink {
	margin-left:2px;
	margin-right:8px;
	width:10%;	
}

img { 
	width:100%;
}

/* ==========================================================================
   backrounds and content sections
   ========================================================================== */
	  
.cd-fixed-bg {
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	min-height: 100%;	
}
 
.cd-fixed-bg.cd-bg-1 {
	background-image: url(../img/Fechheimer_1909.jpg);
		
}

.cd-fixed-bg.cd-bg-2 {
	background-image:url(../img/Fechheimer_Home-Image_FC_10-09-15-2.jpg);
	min-height:1000px;
}

.cd-fixed-bg.cd-bg-3 {
	background-image:url(../img/VERTX.jpg);				    
	min-height:1000px;
}

.cd-fixed-bg.cd-bg-4 {
	background-image:url(../img/Fechheimer_Home-Image_JFR_10-09-15-2.jpg);
	min-height:1000px;
}

.cd-fixed-bg.cd-bg-5 {
	background-image: url(mp4.jpg);
	min-height:1000px;
}

.cd-fixed-bg.cd-bg-6 {
	background-image:url(../img/HR.jpg);
	min-height:1000px;  
}
 
.cd-scrolling-bg {
	min-height:1000px;
	overflow:hidden;
	
}

.gridContainer {
	clear: none;
	float: none;margin-left: auto;
	margin-right: auto;
	padding-left: 2.275%;
	padding-right: 2.275%;
	width: 82.45%;	
}

.innerContainer {
	clear: none;
	float: none;
	margin-left: auto;
	margin-right: auto;
	padding-left: 2.275%;
	padding-right: 2.275%;
	width: 80%;	
}

.leftcontainer{
	width:40%; 
	height:100%; 
	float:left;
	margin-left:5%;
}

.centeradust {
	width:75%; 
	min-height:650px; 
	margin-top:8%;
	padding-top:2%;
}


.Grade2 {
	background: rgba(232,232,232,0.86);
	background: -moz-linear-gradient(top, rgba(232,232,232,0.86) 0%, rgba(232,232,232,0.86) 99%, rgba(232,232,232,0.86) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(232,232,232,0.86)), color-stop(99%,rgba(232,232,232,0.86)), color-stop(100%, rgba(232,232,232,0.86)));
    background: -webkit-linear-gradient(top, rgba(232,232,232,0.86) 0%, rgba(232,232,232,0.86) 99%, rgba(232,232,232,0.86) 100%);
    background: -o-linear-gradient(top, rgba(232,232,232,0.86) 0%, rgba(232,232,232,0.86) 99%, rgba(232,232,232,0.86) 100%);
    background: -ms-linear-gradient(top, rgba(232,232,232,0.86) 0%, rgba(232,232,232,0.86) 99%, rgba(232,232,232,0.86) 100%);
    background: linear-gradient(to bottom, rgba(232,232,232,0.86) 0%, rgba(232,232,232,0.86) 99%, rgba(232,232,232,0.86) 100%);
    border-radius: 7px 7px 7px 7px;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e8e8e8', endColorstr='#e8e8e8', GradientType=0 );
}  

.clear{
	background: rgba(0,0,0,0.65); background: -moz-linear-gradient(top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.65) 96%, rgba(0,0,0,0.61) 99%, rgba(0,0,0,0.59) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0,0,0,0.65)), color-stop(96%, rgba(0,0,0,0.65)), color-stop(99%, rgba(0,0,0,0.61)), color-stop(100%, rgba(0,0,0,0.59)));
    background: -webkit-linear-gradient(top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.65) 96%, rgba(0,0,0,0.61) 99%, rgba(0,0,0,0.59) 100%);
    background: -o-linear-gradient(top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.65) 96%, rgba(0,0,0,0.61) 99%, rgba(0,0,0,0.59) 100%);
    background: -ms-linear-gradient(top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.65) 96%, rgba(0,0,0,0.61) 99%, rgba(0,0,0,0.59) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.65) 96%, rgba(0,0,0,0.61) 99%, rgba(0,0,0,0.59) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#000000', GradientType=0 );
    margin-top:20%;
}

.Grade3 {
	background: rgba(0,0,0,0.65);
	background: -moz-linear-gradient(top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.65) 96%, rgba(0,0,0,0.61) 99%, 	rgba(0,0,0,0.59) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0,0,0,0.65)), color-stop(96%, rgba(0,0,0,0.65)), color-stop(99%,rgba(0,0,0,0.61)), color-stop(100%, rgba(0,0,0,0.59)));
	background: -webkit-linear-gradient(top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.65) 96%, rgba(0,0,0,0.61) 99%, rgba(0,0,0,0.59) 100%);
	background: -o-linear-gradient(top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.65) 96%, rgba(0,0,0,0.61) 99%, rgba(0,0,0,0.59) 100%);
	background: -ms-linear-gradient(top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.65) 96%, rgba(0,0,0,0.61) 99%, rgba(0,0,0,0.59) 100%);
	background: linear-gradient(to bottom, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.65) 96%, rgba(0,0,0,0.61) 99%, rgba(0,0,0,0.59) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#000000', GradientType=0); 
} 

.fade {
	float:left;
	width:50%;
	max-width:350px;
	padding:2%;
	margin:8% 10%;
	border-radius:0;
}

.fcbrandsection {
	max-width:350px;
	width:100%;
}

.vtxbrandsection {
	float:right;
	margin:7% 10% 0 0;
	max-width:350px;
	padding:2%;
	width:50%;
}

.jfrbrandsection {
	float:left;
	margin:8% 0 0 10%;
	max-width:360px;
	padding:2%;
	width:50%;
}

.vtxlogo {
	width:100%;
}

.jfrlogo {
	margin-left:auto;
	margin-right:auto;
	width:50%;
}

.box {
	-webkit-box-shadow: inset 0px 11px 13px -2px rgba(0,0,0,0.75);
    -moz-box-shadow: inset 0px 11px 13px -2px rgba(0,0,0,0.75);
    box-shadow: inset 0px 11px 13px -2px rgba(0,0,0,0.75);
} 

.box2 {
	-webkit-box-shadow: 10px 10px 22px -6px rgba(0,0,0,0.33);
    -moz-box-shadow: 10px 10px 22px -6px rgba(0,0,0,0.33);
    box-shadow: 10px 10px 22px -6px rgba(0,0,0,0.33);
    z-index:-1;
} 

.mapcontainer{
	float:right;
	margin:1% 5% 0% 0%;
	max-width:50%;
}

.mapstyle{
	margin:1% 20% 0 0;
	width:100%;
}

.careerscontainer {
	height:1200px;
	padding:5% 5% 4% 2%; 
}

.careersemaillink {
	color:#446BC4;
	text-decoration:none;
}

#b {
    position: relative;
}

#c {
	bottom: 0px;
	position: absolute;
    width:100%
}


a.cbutton {    
    border: 1.5px solid #ffffff;
    background-color: transparent;
    color: #ffffff;
    text-decoration: none;
    margin : 2px 10px 2px 2px; 
    padding: 5px 10px;
    display: inline-block;
	border-radius: 5px ;
    font-family: 'Oswald', "Helvetica Neue", Helvetica, Arial;
	font-size:.4em;
}
a.bbutton {
	border: 2px solid ;
    border-color:transparent;
    background-color: transparent;
    color: #ffffff;
    text-decoration: none;
    margin : 2px 5px 10px 0px;
    padding: 10px 20px 10px 20px;
    display: inline-block;
	border-radius: 7px 7px 7px 7px;
    -moz-border-radius: 7px 7px 7px 7px;
    -webkit-transition: .5s all;   
    -webkit-transition-delay: 1s; 
    -moz-transition: .5s all;   
    -moz-transition-delay: 1s; 
    -ms-transition: .5s all;   
    -ms-transition-delay: 1s; 
    -o-transition: .1s all;   
    -o-transition-delay: 1s; 
    transition: .5s all;   
    transition-delay: .5s; 
    font-family: 'Oswald', "Helvetica Neue", Helvetica, Arial;
	font-size:.9em;
}

a.bbutton:hover {
	border: 2px solid #ffffff;
    background-color: transparent;
    color: #ffffff;
    text-decoration: none;
    margin : 2px 5px 10px 0px;
    padding: 10px 10px 10px 20px;
	display: inline-block;
	border-radius: 7px 7px 7px 7px;
    -moz-border-radius: 7px 7px 7px 7px;
    -webkit-border-radius: 7px 7px 7px 7px;
    -webkit-transition-delay: .3s;
    -webkit-transition: .5s all;   
    -moz-transition-delay: 0s;
    -ms-transition-delay: 0s;
    -o-transition-delay: 0s;
    -transition-delay: 0s;
	transition: 1.9s all;
	font-family: 'Oswald', "Helvetica Neue", Helvetica, Arial;
	font-size:.9em;
}
	 

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.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:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, 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;
}




/* ==========================================================================
   Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

	 	


@media screen and (min-width:10.94em) {
	
	iframe { 
		height:100px;
		margin:0;
  	 	padding:0 0 40px;
		width:180px;
		border:none;	
	}	

	h1 {
		font-size:1.8em;
	}
	
	h2 {
		font-size:1.4em;
	}
	
	.Tagine {
		font-size:1.6em;
	}
	
	nav {
		float:left;
		margin: 0% 5% 0% 5%;  
	}

	.logo {
		width:80%;
	}
	
 	.cd-fixed-bg {
	background-attachment: scroll;	
}

}

@media screen and (min-width:18em) {

	.mainlogo{
		max-width:250px; 
	}
	
	.Tagine {
	font-size:1.6em;
	}
	
	iframe {	
		height:180px;
		margin:0;
		padding:0 0 40px;
		width:280px;
		border:none;
	}	
 
	a.cbutton {  
   		background-color: transparent;
		border: 1.5px solid #ffffff;
		border-radius: 5px ;
    	color: #ffffff;
		display: inline-block;
    	font-family: 'Oswald', "Helvetica Neue", Helvetica, Arial;
		font-size:.5em;
		margin : 2px 5px;
    	padding: 5px 10px;
		text-decoration: none;
	}
	
	.cd-fixed-bg {
	background-attachment: scroll;	
}

	

}

@media screen and (min-width: 23.44em) {
	
	.mainlogo{
		max-width:290px; 
	}	
	
	.Tagine {
	font-size:2em;
	}
	
	iframe {	
		height:180px;
		margin:0;
		padding:0 0 40px;
		width:280px;
		border:none;
	}
	
	

}

/* Small devices (tablets, 768px and up) */
@media screen and (max-width: 47.94em) {
		
	
	.non-mobile{
    	display: none;
    	clear: both;
    	float: left;
    	margin: 10px auto 5px 20px;
		visibility: hidden;
	}
  
	.content{
		float:left; 
    	padding:0% 2% 0% 2%;
		width:85%;
	}

	.cd-scrolling-bg {
		min-height: 1200px;
	}
	
	
	
}

@media screen and (min-width: 48em) {
	
	.mainlogo{
		max-width:300px; 
	}	
		
	.Tagine {
	font-size:2em;
	}
	
	
	iframe {	
		height:200px;
		padding-bottom:40px;
		width:280px;
		border:none;
	}

	.content {
		float:left; 
    	padding:0 2% 0 2%;
		width:100%;
		text-align:justify;
	}

	.media {
		padding: 0 1% 0 1%;
		width:100%; 
		
	}
		
	.mobile-only {
		display: none;
    	clear: both;
    	float: left;
    	margin: 10px auto 5px 20px;
    	width: 28%; 
		visibility: hidden;
	} 
 
	a.cbutton { 
    	background-color: transparent;
		border: 1.5px solid #ffffff;
		border-radius: 5px ;
    	color: #ffffff;
		display: inline-block;
		font-family: 'Oswald', "Helvetica Neue", Helvetica, Arial;
		font-size:.7em;
    	margin : 2px 15px;
    	padding: 5px 10px;
    	text-decoration: none;
	}
	
	h1 {
		font-size:2.5em;
	}

	nav {
		margin: 0 5% 0 5%; 
    	float:right;
	}

	.logo1 {
		float:left;
		width:33%;
	}

 	.logo {
		width:40%; 
	} 
	
	.careerscontainer {
		height:1000px;
		padding:5% 5% 4% 2%; 
	}
	.footerinfo {
		height:280px;
		background-color:#3d3d3d;
	}
	


}

/* Medium devices (desktops, 992px and up) */
@media screen and (min-width: 62em) { 
	
	.mainlogo{
		max-width:360px; 
	}	
	
	.Tagine {
	font-size:2.4em;
	}
	
	iframe {
		height:200px;
		width:370px;
		border:none;
	}
	
	.media {
		float:right;  
		padding: 0 1%;
		width:45%;
		text-align:justify;
	}	
	
	.content {
		float:left; 
    	padding:0 2%;
		width:45%;
		text-align:justify;
	}

 
	a.cbutton{
		-moz-border-radius: 7px;
		-webkit-transition: .5s all;   
		-webkit-transition-delay: 1s; 
		-moz-transition: .5s all;   
		-moz-transition-delay: 1s; 
		-ms-transition: .5s all;   
		-ms-transition-delay: 1s; 
		-o-transition: .1s all;   
		-o-transition-delay: 1s; 
		background-color: transparent;
		border: 2px solid ;
		border-color:transparent;
		border-radius: 7px;
		color: #ffffff;
		display: inline-block;
		font-family: 'Oswald', "Helvetica Neue", Helvetica, Arial;
		font-size:1em;
		margin : 20px 10px;
		padding: 10px 20px 10px 20px;
		text-decoration: none;
		transition: .5s all; 
		transition-delay: .5s; 	
	}

	a.cbutton:hover {
		-moz-border-radius: 7px 7px 7px 7px;
		-webkit-border-radius: 7px 7px 7px 7px;
		-webkit-transition-delay: .3s;
		-webkit-transition: .5s all;   
		-moz-transition-delay: 0s;
		-ms-transition-delay: 0s;
		-o-transition-delay: 0s;
		-transition-delay: 0s;
		background-color: transparent;
		border: 2px solid #ffffff;
		border-radius: 7px;
		color: #ffffff;
		display: inline-block;
		font-family: 'Oswald', "Helvetica Neue", Helvetica, Arial;
		font-size:1em;
		margin : 20px 10px;
		padding: 10px 20px 10px 20px;
		text-decoration: none;
		transition: 1.9s all;	 
	}
 
	nav {
		float:right;
		margin: 0 10%;   	
	}

	.vid {
		width:80%;
	}
	
	.footerinfo {
		height:280px;
		background-color:#3d3d3d;
	}
	
.cd-fixed-bg{
	background-attachment: fixed;	
}

}


/* Large devices (large desktops, 1200px and up) */
@media all and (min-width: 75em) { 
		a.cbutton{
		-moz-border-radius: 7px;
		-webkit-transition: .5s all;   
		-webkit-transition-delay: 1s; 
		-moz-transition: .5s all;   
		-moz-transition-delay: 1s; 
		-ms-transition: .5s all;   
		-ms-transition-delay: 1s; 
		-o-transition: .1s all;   
		-o-transition-delay: 1s; 
		background-color: transparent;
		border: 2px solid ;
		border-color:transparent;
		border-radius: 7px;
		color: #ffffff;
		display: inline-block;
		font-family: 'Oswald', "Helvetica Neue", Helvetica, Arial;
		font-size:1em;
		margin : 20px;
		padding: 10px 20px 10px 20px;
		text-decoration: none;
		transition: .5s all; 
		transition-delay: .5s; 	
	}

	a.cbutton:hover {
		-moz-border-radius: 7px 7px 7px 7px;
		-webkit-border-radius: 7px 7px 7px 7px;
		-webkit-transition-delay: .3s;
		-webkit-transition: .5s all;   
		-moz-transition-delay: 0s;
		-ms-transition-delay: 0s;
		-o-transition-delay: 0s;
		-transition-delay: 0s;
		background-color: transparent;
		border: 2px solid #ffffff;
		border-radius: 7px;
		color: #ffffff;
		display: inline-block;
		font-family: 'Oswald', "Helvetica Neue", Helvetica, Arial;
		font-size:1em;
		margin : 20px;
		padding: 10px 20px 10px 20px;
		text-decoration: none;
		transition: 1.9s all;	 
	}
	.mainlogo{
		max-width:400px; 
	}	
	
    iframe {
	    height:300px;
		width:500px;
		border:none;
    }
}
 
 																																																
@media all and (min-width: 93.75em) {
 	
	.mainlogo{
		max-width:400px; 
	}	
	   
	iframe{	
        height:300px;
		width:560px;
		border:none;
	} 
	
	.footerinfo {
		height:200px;
		background-color:#3d3d3d;
	}
	
	.leftcontainer{
		margin-left:5%;
		font-size:1.2em;
	}
	
	.mapcontainer{
		max-width:50%;
		float:right;
		margin:2% 5% 0% 0%
	}	
	
}

@media all and (min-width: 110em) {
	
	.leftcontainer{
		margin-left:10%;
		font-size:1.2em;
	}
	
	.mapcontainer{
		max-width:40%;
		float:right;
		margin:2% 8% 0% 0%
	}

}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@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;
    }
}
