/*
Theme Name: Whiteblack Digital
Theme URI: http://whiteblackdigital.com.au
Author: Whiteblack Digital
Author URI: http://whiteblackdigital.com.au
Version: 4.0
*/




/* ==========================================================================
   Witeblack Digital Custom Styles
   ========================================================================== */



/* Contact
-------------------------------------------------- */

.contact2{
	padding-top: 80px;
	padding-bottom: 80px;
	text-align: center;
	background-image: url(images/cbg.jpg);
	background-size: cover;
	background-position: center center;
	
}

#gform_1 > div.gform_footer.top_label{text-align: center;}


#input_1_1, #input_1_2, #input_1_3, #input_1_6{
    border: solid 1px #4989c8;
    padding: 15px 0px 10px 10px;
    color: #4989c8;
    outline: none;
    background-color: #fafafa;
}


#input_1_5{
	border: solid 1px #4989c8;
    padding: 15px 0px 10px 10px;
    color: #4989c8;
    outline: none;
    background-color: #fafafa;
}


#input_1_3, #input_1_6{
	margin-top: -5px;
}



#input_1_1:focus, #input_1_2:focus, #input_1_3:focus, #input_1_6:focus, #input_1_5:focus{
	border: solid 1px #94C5EB;
}




::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #4989c8;
}
::-moz-placeholder { /* Firefox 19+ */
 color: #4989c8;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #4989c8;
}
:-moz-placeholder { /* Firefox 18- */
 color: #4989c8;
 }


 #gform_submit_button_1{
    background-color: #4989c8;
    color: #fff;
    text-transform: uppercase;
    border: solid 1px #4989c8;
    padding: 12px 35px 8px 35px;
    margin-top: -15px;
    outline: none;
   letter-spacing: 0.5px;
}



#gform_submit_button_1:hover, #gform_submit_button_1:focus{
background-color: #94C5EB;
border: solid 1px #94C5EB;	
}


#gform_confirmation_message_1{margin-top: 30px; color: #4989C8;}



/* FAQs
-------------------------------------------------- */

.faq2{
	padding-top: 70px;
	padding-bottom: 100px;
	background-color: #FAFAFA;
	
}

.card-header a {
    display: block;
    color: #4989C8;
    text-decoration: none;
}

.card{border-radius: 0px;
	border: 1px solid #4989C8;
	margin-bottom: -1px;
}

.card-header {
    padding: 0px 15px 25px 15px;
    background-color: transparent;
    border-bottom: 1px solid #4989C8;
    margin-bottom: -1px;
    background-color: #FAFAFA;
}


.card-body{color: #4989C8;
}


.card-header span{
    float: right;
}




.downloads{text-align: center;
	color: #4989C8;
}





/* Procedures page
-------------------------------------------------- */

.procedure2{
	padding-top: 70px;
	padding-bottom: 90px;
	text-align: center;
}


.nav-pills .nav-link {
    border-radius: 0rem;
}

.nav-pills .nav-link.active, .show>.nav-pills .nav-link{
	background-color: #4989C8;
}


.nav-pills .nav-link {
    border-radius: 0rem;
    background-color: #94C5EB;
    border: solid 1px #fff;
    color: #fff;
}


.nav-link:focus, .nav-link:hover {
    text-decoration: none;
    background-color: #4989C8;
}



.smwidth{
    max-width: 700px;
    margin: 0 auto;
}


#pills-home{
	background-image: url(images/hipP.png);
	background-repeat: no-repeat;
	background-position: left center;
}


#pills-shoulder{
	background-image: url(images/shoulderP.png);
	background-repeat: no-repeat;
	background-position: left center;
}

#pills-elbow{
	background-image: url(images/elbowP.png);
	background-repeat: no-repeat;
	background-position: left center;
}

#pills-knee{
	background-image: url(images/kneeP.png);
	background-repeat: no-repeat;
	background-position: left center;
}


#pills-trauma{
	background-image: url(images/traumaP.png);
	background-repeat: no-repeat;
	background-position: left center;
}




/* Home page
-------------------------------------------------- */


/* Home 4 */


.home4{
background-color: #94C5EB;
padding-top: 50px;
padding-bottom: 85px;
}



#tchsp .buttons{display: none!important;}



#tchsp .overview li{border: none!important;}


/* Home 1 */


.home1{background-image: url(images/home_main.jpg);
	height: 500px;
	background-size: cover;
	background-position: center center;
}


.home1Text{
	font-size: 2rem;
	color: #fff;
	text-shadow: 0px 1px 0px #4989C8;
	margin-top: 30px;
}


.home1image{float: right;}

.home1body{
    padding-top: 125px;
}




/* Home A  Contact */



.contact.light{padding-bottom: 120px;}




.contact{text-align: center;
	padding-top: 70px;
	padding-bottom: 100px;
	background-color: #4989C8;
}


.phonec{background-image: url(images/phone_icn.svg);
	background-size: contain;
	height: 220px;
	width: 220px;
	margin: 0 auto;
}


.phonec p{
    padding-top: 85px;
}

.emailc p{
	 padding-top: 85px;
}


.l1c{
    padding-top: 50px;
}


.l2c{
    padding-top: 50px;
}




.emailc{background-image: url(images/mail_icn.svg);
	background-size: contain;
	height: 220px;
	width: 220px;
	margin: 0 auto;
}



.l1c{background-image: url(images/lcn1_icn.svg);
	background-size: contain;
	height: 220px;
	width: 220px;
	margin: 0 auto;
}




.l2c{background-image: url(images/lcn2_icn.svg);
	background-size: contain;
	height: 220px;
	width: 220px;
	margin: 0 auto;
}

.contact b a{color:#4989C8;
	text-decoration: none;
}


.contact b a:hover, .contact b a:focus {color:#94C5EB; }




/* Home 2 */


.home2{text-align: center;
	padding-top: 100px;
	padding-bottom: 100px;
}


p.home2Title{font-size: 2rem;}


.home2flippers{margin-top: 50px;}


 .backcon{
    max-width: 200px;
    margin: 0 auto;
    padding-top: 40px;
    color: #fff;
    font-size: 0.9rem;
}


.backcon h6{
margin-top: 15px;
    margin-bottom: 15px;
}




.backcon.b{padding-top: 60px;}

.backcon.c{padding-top: 40px;}


.backcon.d{padding-top: 60px;}


.backcon.e{padding-top: 60px;}



/* entire container, keeps perspective */
.flip-container {
	perspective: 1000px;
}
	/* flip the pane when hovered */
	.flip-container:hover .flipper, .flip-container.hover .flipper {
		transform: rotateY(180deg);
	}

.flip-container, .front, .back {
	width: 250px;
	height: 250px;
	margin: 0 auto;
}

/* flip speed goes here */
.flipper {
	transition: 0.6s;
	transform-style: preserve-3d;

	position: relative;
}

/* hide back of pane during swap */
.front, .back {
	backface-visibility: hidden;
	position: absolute;
	-webkit-backface-visibility: hidden;
	top: 0;
	left: 0;
}

/* front pane, placed above back */
.front.icn1 {
	z-index: 2;
	/* for firefox 31 */
	transform: rotateY(0deg);
	background-image: url(images/icn-1.svg);
	background-size: contain;
	background-position: center center;
}



/* back, initially hidden pane */
.back {
	transform: rotateY(180deg);
	background-image: url(images/rollover-icn.svg);
	background-size: contain;
	background-position: center center;
}


.front.icn2 {
	background-image: url(images/icn-2.svg);
	z-index: 2;
	transform: rotateY(0deg);
	background-size: contain;
	background-position: center center;
}

.front.icn3 {
	background-image: url(images/icn-3.svg);
	z-index: 2;
	transform: rotateY(0deg);
	background-size: contain;
	background-position: center center;
}


.front.icn4 {
	background-image: url(images/icn-4.svg);
	z-index: 2;
	transform: rotateY(0deg);
	background-size: contain;
	background-position: center center;
}


.front.icn5 {
	background-image: url(images/icn-5.svg);
	z-index: 2;
	transform: rotateY(0deg);
	background-size: contain;
	background-position: center center;
}















/* About page
-------------------------------------------------- */

.about2{
	background-color: #FAFAFA;
	padding-top: 70px;
	padding-bottom: 80px;
	
}


img.section2ai{
    width: 350px;
    float: right;
    padding-top: 70px;
}


.contact.light{background-color: #94C5EB;}



.about3{
	background-color: #4989C8;
	padding-top: 70px;
	padding-bottom: 80px;
}




.about3 ul {
    list-style: disc;
    margin-left: -20px;
}


.about3 ul li{
    margin-bottom: 5px;
}




.about3 p, .about3, .about3 h3{color:#fff;}







/* Navbar
-------------------------------------------------- */



.navbar-light .navbar-toggler-icon{background-image: url(images/ham.svg)!important;}



.navbar-topbar {
  border-radius: 0;
}

.navbar .dropdown-menu li {
  width: 100%;
  margin-left: 0 !important;
}

.navbar .dropdown-menu {
  margin-top: 0;
}


.bg-light {
    background-color: #4989C8!important;
    padding-top: 15px;
    padding-bottom: 15px;
}


.navbar-light .navbar-nav .nav-link {
    color: #fff;
    font-family: 'AvenirNextLTPro-Regular';
    text-transform: uppercase;
    letter-spacing: 2px;
     -webkit-transition: all 0.25s ease-out; 
     -moz-transition: all 0.25s ease-out; 
       -o-transition: all 0.25s ease-out; 
          transition: all 0.25s ease-out;
}



.navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link {
    color: #94C5EB;
}


.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
    color: #94C5EB;
}





/* Sticky footer
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}
body {
  /* Margin bottom by footer height */
  margin-bottom: 80px;
}
footer {
  position: absolute;
  bottom: 0;
  /* Set the fixed height of the footer here */
  height: 100px;
  width: 100%;
  background-color: #4989C8;
}


.copyright{
    font-size: 0.9em;
    }


.copyright p{color: #fff;
	display: inline-block;
	padding-top: 40px;
}

.copyright p a{color: #94C5EB;}



img.ficon{float: right;
	padding-top: 20px;
}





  /* Remove outline firefox
-------------------------------------------------- */



a:focus { 
    outline: none!important; 
}

button::-moz-focus-inner {
  border: 0 !important;
}



 /* Image Responsive
-------------------------------------------------- */


img{max-width: 100%;}
img{ -ms-interpolation-mode: bicubic; }
  
  


/* Button
-------------------------------------------------- */


.btn-primary {
    color: #fff;
    background-color: #94c5eb;
    border-color: #94c5eb;
    border-radius: 0px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
}


.btn-primary:hover, .btn-primary:focus {
    color: #fff;
    background-color: #4989C8;
    border-color: #4989C8;
}








/* Typography
-------------------------------------------------- */


@font-face {
  font-family: 'AvenirNextLTPro-Regular';
  src: url('fonts/AvenirNextLTPro-Regular.eot?#iefix') format('embedded-opentype'),  url('fonts/AvenirNextLTPro-Regular.otf')  format('opentype'),
	     url('fonts/AvenirNextLTPro-Regular.woff') format('woff'), url('fonts/AvenirNextLTPro-Regular.ttf')  format('truetype'), url('fonts/AvenirNextLTPro-Regular.svg#AvenirNextLTPro-Regular') format('svg');
  font-weight: normal;
  font-style: normal;
}


@font-face {
  font-family: 'AvenirNextLTPro-Demi';
  src: url('fonts/AvenirNextLTPro-Demi.eot?#iefix') format('embedded-opentype'),  url('fonts/AvenirNextLTPro-Demi.otf')  format('opentype'),
	     url('fonts/AvenirNextLTPro-Demi.woff') format('woff'), url('fonts/AvenirNextLTPro-Demi.ttf')  format('truetype'), url('fonts/AvenirNextLTPro-Demi.svg#AvenirNextLTPro-Demi') format('svg');
  font-weight: normal;
  font-style: normal;
}


@font-face {
  font-family: 'AvenirNextLTPro-Bold';
  src: url('fonts/AvenirNextLTPro-Bold.eot?#iefix') format('embedded-opentype'),  url('fonts/AvenirNextLTPro-Bold.otf')  format('opentype'),
	     url('fonts/AvenirNextLTPro-Bold.woff') format('woff'), url('fonts/AvenirNextLTPro-Bold.ttf')  format('truetype'), url('fonts/AvenirNextLTPro-Bold.svg#AvenirNextLTPro-Bold') format('svg');
  font-weight: normal;
  font-style: normal;
}




p{font-family: 'AvenirNextLTPro-Regular';
	letter-spacing: 0.5px;
	color: #4989C8;
}


body{font-family: 'AvenirNextLTPro-Regular';
	letter-spacing: 0.5px;
}


h1 {
	 font-family: 'AvenirNextLTPro-Demi';
	letter-spacing: .5px;
	color: #4989C8;
}

h2 {
	 font-family: 'AvenirNextLTPro-Demi';
	letter-spacing: .5px;
	color: #4989C8;
}

h3 {
	 font-family: 'AvenirNextLTPro-Demi';
	letter-spacing: .5px;
	color: #4989C8;
}

h4 {
	 font-family: 'AvenirNextLTPro-Demi';
	letter-spacing: .5px;
	color: #4989C8;
}

h5 {
	 font-family: 'AvenirNextLTPro-Demi';
	letter-spacing: .5px;
	color: #4989C8;	
}

h6 {
	 font-family: 'AvenirNextLTPro-Demi';
	letter-spacing: .5px;
	color: #4989C8;	
}


a{color:#4989C8;
	text-decoration: none!important;
}


a:hover, a:focus{color:#94C5EB;
	text-decoration: none!important;
}


b, strong {
	font-family: 'AvenirNextLTPro-Demi';
}


.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{margin-bottom: 1.5rem; margin-top: 2rem;}


ol {
    list-style: decimal;
}


ul {
    list-style: disc;

}


 ul li{

}


/* Max content widths */

.size-auto, 
.size-full,
.size-large,
.size-medium,
.size-thumbnail {
  max-width: 100%;
  height: auto
}






/*
 * RESPONSIVE STYLES
 * --------------------------------------------------
 */
 
 
 
 @media (max-width: 1199px) { 
	
	.home1Text {
    font-size: 1.8rem;
} 

p.home2Title {
    font-size: 1.8rem;
}


img.section2ai{padding-top: 100px;}




}/*end*/

 
 @media (max-width: 991px) {
	 
	 
	    .phonec, .emailc {margin-bottom: 30px;}
	 
	 
	 .home1Text {
    font-size: 1.4rem;
    margin-top: 40px;
}

.home1{height: 400px;}

.flip-container, .front, .back {
    width: 225px;
    height: 225px;
    margin: 0 auto;
}

.backcon {
    max-width: 185px;
    margin: 0 auto;
    padding-top: 40px;
    color: #fff;
    font-size: 0.8rem;
}

.home1body {
    padding-top: 95px;
}

p.home2Title {
    font-size: 1.3rem;
}

	 
img.section2ai {
    padding-top: 200px;
}	 



.backcon.b{padding-top: 50px;}

.backcon.c{padding-top: 40px;}


.backcon.d{padding-top: 50px;}


.backcon.e{padding-top: 50px;}




	 
	 
 }/*end*/
 
 
 
 @media (max-width: 767px) {  
	 
	 .homeim{display: none;}
	 
	 
	 .home1 {
    height: 350px;
}

.home1Text {
    font-size: 1.6rem;
    margin-top: 0px;
}


.home1body {
    padding-top: 100px;
}


.navbar-light .navbar-toggler{border: none;
	outline: none;
}


img.section2ai {
    padding-top: 30px;
    float: none;
    max-width: 300px;
    text-align: center;
}


.aboutImage{text-align: center;}

.abright{
    margin-top: -10px;
}


.f2{
    margin-top: 40px;
    margin-bottom: 40px;
}





.flipper{margin-bottom: 30px;}	

.home2flippers {
    margin-top: 0px;
}


.navbar-collapse ul li{border-bottom: solid 1px rgba(148, 197, 235, 0.23);
    padding-top: 5px;}


.navbar-collapse ul li:last-child{border-bottom: none;
}
 

#content-home{
    position: relative;
    top: -5px;
}

	 
	 
 }/*end*/
 
 

@media (max-width: 575px) { 
	
	
	.phonec, .emailc, .l1c {margin-bottom: 30px;}
	
	.home1body {
    padding-top: 0px;
}

	
	
	.home1Text {
    font-size: 1.6rem;
    align-items: center;
    display: flex;
    justify-content: center;
    height: 350px;
}
	




img.ficon{display: none;}	
	

.copyright p {
    color: #fff;
    display: block;
    padding-top: 40px;
    text-align: center;
}


img.mainLogo{
    max-width: 240px;
}



#tchsp .overview li{width: 200px!important;}

	
	
	
}/*end*/

 


@media (min-width: 576px) { ... 
	
	
}/*end*/


@media (min-width: 768px) { 
	
	
	.navbar-collapse {
    flex-basis: auto;
}

ul#menu-menu-1 li{padding-right: 5px!important;}


.contactMenu a {
    background-color: #94C5EB;
    border: solid 1px #fff;
    color: #fff!important;
    padding-right: 15px!important;
    padding-left: 15px!important;
    height: 40px;
}



	
	
 }/*end*/



@media (min-width: 992px) {
	
	ul#menu-menu-1 li{padding-right: 10px!important;}


}/*end*/




@media (min-width: 1200px) {
	
}/*end*/
	
	



/* Fix for container within navbar on small viewports, for Firefox and Chrome.
This may but be necessary when Bootstrap 4 is improved after alpha. */

@media (max-width: 575px) {
  .navbar > .container {
    position: static;
    width: 100%;
  }
}




/* =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%; /* Image does not overflow the content area */
    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 p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}




/*
 * 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;
}










/* ==========================================================================
   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,
.gform_page_footer:before,
.gform_page_footer:after,
.gform_page_fields:before,
.gform_page_fields:after,
.gfield_radio:before,
.gfield_radio:after,
.clear-multi:before,
.clear-multi:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after,
.gform_page_footer:after,
.gform_page_fields:after,
.gfield_radio:after,
.clear-multi:after {
    clear: both;
}

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

.clearfix,
.gform_page_footer,
.gform_page_fields,
.gfield_radio,
.clear-multi {
    *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;
    }
}






