/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.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: opinionated defaults
   ========================================================================== */

:root{
	--white:	#FFF;
	--black: #222;
	--sca-light-teal: #1BBAAF;
	--sca-primary: #116E7D;
	--sca-blue: #32BFCC;
	--sca-green: #EDE843;
	--sca-orange: #E47A3A;
}


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

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

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * 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 {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

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

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

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body{
	background: #1bbaaf; /* Old browsers */
	background: url('../img/bird-background.png') no-repeat fixed left, -moz-linear-gradient(-45deg,  #1bbaaf 1%, #116e7d 100%); /* FF3.6+ */
	background: url('../img/bird-background.png') no-repeat fixed left, -webkit-gradient(linear, left top, right bottom, color-stop(1%,#1bbaaf), color-stop(100%,#116e7d)); /* Chrome,Safari4+ */
	background: url('../img/bird-background.png') no-repeat fixed left, -webkit-linear-gradient(-45deg,  #1bbaaf 1%,#116e7d 100%); /* Chrome10+,Safari5.1+ */
	background: url('../img/bird-background.png') no-repeat fixed left, -o-linear-gradient(-45deg,  #1bbaaf 1%,#116e7d 100%); /* Opera 11.10+ */
	background: url('../img/bird-background.png') no-repeat fixed left, -ms-linear-gradient(-45deg,  #1bbaaf 1%,#116e7d 100%); /* IE10+ */
	background: url('../img/bird-background.png') no-repeat fixed left, linear-gradient(135deg,  #1bbaaf 1%,#116e7d 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1bbaaf', endColorstr='#116e7d',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.bg-white{ background: var(--white) !important; }
.bg-black{ background: var(--black) !important; }
.bg-primary{ background: var(--sca-primary) !important; }
.bg-light-teal{ background: var(--sca-light-teal) !important; }
.bg-green{ background: var(--sca-green) !important; }
.bg-blue{ background: var(--sca-blue) !important; }
.bg-orange{ background: var(--sca-orange) !important; }

.orange { background-color: var(--sca-orange) !important; }
.blue { background-color: var(--sca-blue) !important; }
.green { background-color: var(--sca-green) !important; }
.teal { background-color: var(--sca-primary) !important; }
.white { background-color: var(--white) !important; }

.glass{
	background: url('../img/glass.png') repeat-x, rgba(255,255,255,.1);
	background-size: auto 100%;
	padding-top: 18px;
}
@media only screen and (min-width: 768px) {
	.glass{
		border-radius: 10px;
		border: 3px solid rgba(255,255,255,.2);
		margin: 18px 0;
	}
}




/*==========================================
Typography
==========================================*/

h1, h2, h3, h4, h5, h6{
		font-family: 'PT Sans Narrow', sans-serif;
		font-weight: 700;
		color: #FFF;
		letter-spacing: 1px;
		text-align: center;
	}
/*
.top-bar .name h1{
	margin-left: 15px;
}
*/

.text-center { text-align: center !important; }
.text-lg-center { text-align: center !important; }


.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

.text-white { color: #FFFFFF; }
.text-teal { color: #116E7D; }

small.titles{
	color: #FFF;
	font-style: italic;
}

.therapist, .greeting{
	line-height: 1;
}

ul.no-bullet{
	color: #FFF;
	font-family: PT Sans Narrow;
	font-size: 1.25em;
	text-align: center;
}

p{
	font-size: 1em;
	font-family: Helvetica, Arial, sans-serif;
	color: #FFF;
	text-align: center;
}
li{
	font-size: 1em;
	font-family: Helvetica, Arial, sans-serif;
	color: #FFF;
}
a{
	color: #FFF;
	text-decoration: underline;
}
a:hover{
	text-decoration: none;
	color: #32bfcc;
}

form{
	margin: 2em 0;
}
	
label{
	color: #FFF;
	font-family: 'PT Sans Narrow';
	font-size: 1.125em;
}
	label small{color: #ede843;}

section label{
	font-size: 1em;
}
.headline{
	font-weight: 400;
}
.or{
	text-align: center;
	background: #FFF;
	color: #116e7d;
	-webkit-border-radius: 999px;
	-moz-border-radius: 999px;
	-o-border-radius: 999px;
	border-radius: 999px;
	font-size: 1.618em;
	margin: 0;
}
.pill,
.btn--pill{
	display: block;
	text-align: center;
	text-decoration: none;
	padding: 1em .5em;
	-webkit-border-radius: 999px;
	-moz-border-radius: 999px;
	-o-border-radius: 999px;
	border-radius: 999px;
}
.btn--pill.white{
	background: var(--white);
	color: var(--sca-primary);
	text-align: center;
	font-size: 1.618em;
	margin: 0;
}
.btn--pill.primary{
    background: var(--sca-primary);
    color: var(--white);
    text-align: center;
    font-size: 1.618em;
    margin: 0;
}
.btn--pill.blue{
    background-color: var(--sca-blue);
    color: var(--sca-primary);
    text-align: center;
    font-size: 1.618em;
}
.btn--pill.blue:hover,
.btn--pill.blue:focus{
    background-color: var(--sca-primary) !important;
    color: var(--white);
}

.next{
	text-align: center;
	margin-top: 42px;
}
.next.circle{
    width: 80px;
    height: 80px;
    border-radius: 9999px;
    margin: 1em auto;
    background: url('../img/next.png') no-repeat center 55%;
}
    
.next.link{
    font-size: 1.618em;
    font-family: 'PT Sans Narrow', sans-serif;
    font-weight: 700;
    color: #FFF;
}
.button{
	box-shadow: none;
	-webkit-box-shadow: none;
	background-color: #116e7d;
	-webkit-transition: none;
	transition: none;
	border: none;
}
	.button:hover{
		background: #116e7d;
	}


	h1{
		font-size: 6.854em;
		margin: 20px 0;
	}
	h2{
		font-size: 4em;
		margin: 20px 0;
	}
	h3{
		font-size: 2.618em;
		margin: 30px 0;
	}
	h4{
		font-size: 1.618em;
	}
	h5{
		font-size: 1.5em;
	}
	h6{
		font-size: 1em;
	}
	h4.error{
		color: red;
		display: none;
		visibility: hidden;
	}
	span.phone{
		text-align: left;
	}
	span.fax{
		text-align: left;
	}
	#about-us h3.headline{
		font-size: 1.618em;
	}
@media only screen and (min-width: 768px) {
	#about-us h3.headline{
		font-size: 2.9em;
	}
	h4, h5, h6{
		text-align: left;
	}
	.greeting{
		text-align: left;
	}
	ul.no-bullet{
		text-align: left;
	}
}
/*==========================================
Topbar Navigation
==========================================*/
#alert-bar{
	background: #FFFFFF;
	padding: 1rem 0;
	margin: 0;
	max-width: none;
}

#alert-bar a{
	color: #116E7D;
}

#alert-bar p{
	margin: 0;
}

.contain-to-grid{
}
.top-bar-section ul li>a{
	padding-left: 0;
}
.top-bar.expanded .title-area, .top-bar, .top-bar-section ul, .top-bar-section li a:not(.button), .top-bar-section ul li>a{
	background: transparent;
	text-align: center;
	text-decoration: none;
}
.top-bar.expanded .toggle-topbar a, .top-bar .toggle-topbar a{
	text-align: left;
}
.top-bar.expanded .toggle-topbar a span{
	color: #FFF;
	-webkit-box-shadow: 0 10px 0 1px #fff,0 16px 0 1px #fff,0 22px 0 1px #fff;
	box-shadow: 0 10px 0 1px #fff,0 16px 0 1px #fff,0 22px 0 1px #fff;
}
.top-bar-section li a:not(.button):hover, .top-bar-section ul li>a:hover{
	background: #FFF;
	color: #116e7d;
}
.top-bar-section li.highlight > a:not(.button){
	background: var(--sca-blue);
	background: #32BFCC;
}
.top-bar-section li.highlight > a:not(.button):hover,
.top-bar-section li > a:hover{
	background: var(--white);
	background: #FFF;
	color: var(--sca-primary);
	color: #116E7D;
}


/*==========================================
Section Styles/Overwrites
==========================================*/
.section-container.accordion{
	border-top: none;
}
.section-container.accordion>section>.title{
	background: rgba(255,255,255,.7);
	border: none;
}
.section-container.accordion>section.active>.title a, .section-container.accordion>section>.title a{
	text-align: center;
	font-family: "PT Sans Narrow";
	font-size: 1.5em;
	text-decoration: none;
	color: #116e7d;
}
.section-container.accordion>section.active>.title, .section-container.accordion>section>.title:hover{
	background: rgba(255,255,255,.9);
}
	.section-container.accordion>section.active>.title.error, .section-container.accordion>section>.title.error{
		background: rgba(255,0,0,.7);
	}
	.section-container.accordion>section.active>.title.error>a, .section-container.accordion>section>.title.error>a{
		color: #FFF;
	}
.section-container.accordion>section>.content{
	border: none;
	background: rgba(255,255,255,.3);
}

section#services ul{
	margin-bottom: 0;
}

#header{
	padding-top: 50px;
	text-align: center;
}

.text-tile{
	text-align: center;
	font-weight: 400;
}

#leslie, #cassandra, #daniel, #kristin, #katie{text-align: center;}
	#leslie label, #cassandra label, #daniel label, #kristin label, #katie label{
		text-align: left;
	}
		#daniel .row.staff-title{
			background: url('../img/daniel22.png') no-repeat left center;
			background-size: auto 110%;
			padding-top: 0px;
		}
			#daniel .row.staff-title h3{
				text-align: right;
				margin-left: 50%;
			}
			#daniel.staff-page .row.staff-title h2{
				text-align: right;
				margin-left: 30%;
			}
			#daniel.staff-page .row.staff-title{
				background-position: left -120px top;
			}
		#cassandra .row.staff-title{
			background: url('../img/cassandra22.png') no-repeat left center;
			background-size: auto 110%;
			padding-top: 0px;
		}
			#cassandra .row.staff-title h3{
				text-align: right;
				margin-left: 50%;
			}
			#cassandra.staff-page .row.staff-title h2{
				text-align: right;
				margin-left: 20%;
				line-height: 95%;
				font-size: 3em;
			}
			#cassandra.staff-page .row.staff-title{
				background-position: left -120px top;
			}
		#leslie .row.staff-title{
			background: url('../img/leslie22.png') no-repeat left center;
			background-size: auto 110%;
			padding-top: 0px;
		}
			#leslie .row.staff-title h3{
				text-align: right;
				margin-left: 50%;
			}
			#leslie.staff-page .row.staff-title h2{
				text-align: right;
				margin-left: 30%;
			}
			#leslie.staff-page .row.staff-title{
				background-position: left -120px top;
			}
		#kristin .row.staff-title{
			background: url('../img/kristin22.png') no-repeat right center;
			background-size: auto 110%;
			padding-top: 0px;
		}
			#kristin .row.staff-title h3{
				text-align: left;
				margin-right: 50%;
			}
			#kristin.staff-page .row.staff-title h2{
				text-align: left;
				margin-right: 30%;
			}
			#kristin.staff-page .row.staff-title{
				background-position: right top;
			}
		#katie .row.staff-title{
			background: url('../img/katie22.png') no-repeat right center;
			background-size: auto 110%;
			padding-top: 0px;
		}
			#katie .row.staff-title h3{
				text-align: left;
				margin-right: 50%;
			}
			#katie.staff-page .row.staff-title h2{
				text-align: left;
				margin-right: 30%;
			}
			#katie.staff-page .row.staff-title{
				background-position: right top;
			}

		.julie.hide-for-large-up{
			background: url(../img/julie_2023.png?t=1000) no-repeat bottom right;
			background-position-x: 150%;
			background-size: contain;
			padding-top: 0px;
			min-height: 210px;
			display: flex !important;
			justify-content: start;
			align-items: end;
		}
		.julie.show-for-large-up{
			display: none;
		}
			.julie h4{
				line-height: 1;
				text-align: left;
			}

		@media screen and (min-width: 450px){
			.julie.hide-for-large-up{
				background-position-x: right;
			}
		}
		
	#leslie img, #cassandra img, #daniel img, #kristin img, #katie img{margin: 0 auto;}
	
	/*
#daniel{background: url('../img/daniel.png') no-repeat 50%; text-align: left;}
	article#daniel{background: url('../img/daniel.png') no-repeat;}
*/
	
#services{padding: 2em 0;}
	#static-map{background:url('../img/static-map.png') no-repeat; background-size: cover; background-attachment: fixed; width: 100%; height: 200px;}
	#directions #map{height: 200px; width: 100%;}
		#directions .information{background: rgba(50,191,204,.8); position: relative;}
#contact, #intake, #bill-paying{padding: 2em 0;}
	
	#contact-form{width: 100%; height: 375px;}

#bill-paying .set-payment-form{
	margin-bottom: 0px;
}
#bill-paying .partial-payment-form form{
	margin: 0px;
}
#bill-paying h4.total{
	text-align: center;
}

.btn--buy,
.btn--pay,
.btn--donate{
	background-color:#424e54;
	border:0;
	border-radius:8px;
	color:#fff;
	cursor:pointer;
	display:inline-block;
	font-family:Fira Sans,Arial,Helvetica,sans-serif;
	font-size:28px;
	line-height:1;
	margin-bottom:1em;
	padding:.75em 1em;
	vertical-align:middle;
	transition:background-color .4s ease;
}

.btn--pay{background-color:#494949;border-color:#494949;}
.btn--pay:hover{background-color:#333;border-color:#333;}
.btn--buy{background-color:#3ea56b;border-color:#2e955b;}
.btn--buy:hover{background-color:#1e854b;text-decoration:none;}
.btn--donate{background-color: #4e75b9;border-color: #4e75b9;}
.btn--donate:hover{background-color:#3e65a9;border-color:#3e65a9;}
.cards{margin-top:1em;}
.cards img{border:1px solid #c5c6ce;border-radius:5px;}
.cards--s img{height:30px;}
.btn--pay { 
	background-color: #3f51b5; 
	font-family: Raleway; 
	font-size: 30px; 
	color: #fff;
} 
.btn--pay:hover{ background-color: #283593; color: #fff; }

footer{background: #333; color: #FFF; padding: 1em 0;}
	footer h5{color:#FFF;}

#logo{background: url('../img/logo.png') no-repeat; text-indent: -9999px; height: 170px; width: 230px; margin: 0 auto;}
.credentials{font-style: italic;}
input[type=radio], input[type=checkbox]{margin-left: 7px;}

@media only screen and (min-width: 769px) {
	span.phone{
		background: url('../img/phone.png') no-repeat left;
		padding-left: 18px;
		text-align: left;
		float: left;
		width: auto;
	}
	span.fax{
		display: inherit;
		margin-left: 18px;
		padding-left: 28px;
		background: url('../img/fax.png') no-repeat left;
		text-align: left;
		width: auto;
		float: left;
	}
}


@media only screen and (min-width: 480px){
	#leslie.staff-page .row.staff-title,
	#cassandra.staff-page .row.staff-title,
	#daniel.staff-page .row.staff-title{
		background-position: 0%;
	}
}


/* Used to alter styles for screens at least 768px wide. This is where the grid changes. */
@media only screen and (min-width: 768px) {
	p{text-align: left;}
	#about-us{min-height: 500px;}
	#leslie, #cassandra, #daniel, #kristin, #katie, #beverly{min-height: 500px;}
	
	#directions{position: relative; min-height: 500px;}
		#directions p, #directions h4{color:#FFF; font-size: 1.7em;}
		#directions #map{height: 100%; width: 100%; position: absolute;}
		#directions div.next:not(.circle){margin-top: 80px;}
		#directions .information{margin-top: 30px; margin-bottom: 30px;}
	#bill-paying{
		min-height: 500px;
	}
	#leslie{background: url('../img/leslie22.png') no-repeat right; text-align: left; background-size: contain;}
		#leslie .row.staff-title{
			background: none;
		}
			#leslie .row.staff-title h2{
				text-align: left;
				margin-left: 0;
			}
			#leslie.staff-page{
				background: none;
			}
		
	#cassandra{background: url('../img/cassandra22.png') no-repeat right; text-align: left; background-size: contain;}
		#cassandra .row.staff-title{
			background: none;
		}
			#cassandra .row.staff-title h2{
				text-align: left;
				margin-left: 0;
			}
			#cassandra.staff-page{
				background: none;
			}
	
	#daniel{background: url('../img/daniel22.png') no-repeat right; text-align: left; background-size: contain;}
		#daniel .row.staff-title{
			background: none;
		}
			#daniel .row.staff-title h2{
				text-align: left;
				margin-left: 0;
			}
			#daniel.staff-page{
				background: none;
			}
	#kristin{background: url('../img/kristin22.png') no-repeat right; text-align: left; background-size: contain;}
		#kristin .row.staff-title{
			background: none;
		}
			#kristin .row.staff-title h2{
				text-align: left;
				margin-left: 0;
			}
			#kristin.staff-page{
				background: none;
			}
	#katie{background: url('../img/katie22.png') no-repeat right; text-align: left; background-size: contain;}
		#katie .row.staff-title{
			background: none;
		}
		#katie .row.staff-title h2{
			text-align: left;
			margin-left: 0;
		}
		#katie.staff-page{
			background: none;
		}

	
	.julie.hide-for-large-up{background: none; display: none !important;}
	.julie.show-for-large-up{
		background: none;
		display: flex !important;
		align-items: center;
		justify-content: start;
	}
	#bill-paying{
		background: url('../img/julie_2023.png') no-repeat bottom right; 
		background-size: 125%;
		background-position-x: -70%;
	}
		.julie h4{margin-top: 39rem;}
		
	.staff-page #background{position: fixed; left: -10%; height: 100%; z-index: 1; max-width: none;}
	@media only screen and (min-width: 768px){
		.staff-page #background{
			left: inherit;
			right: 0%;
		}
	}
	.staff-page > section, .staff-page > .staff-title{z-index: 2; position: relative;}
	.staff-page#contact{position: relative; z-index: 3; background: rgba(136,136,136,.85);}
	.staff-page + footer{position: relative; z-index: 4;}
}

@media only screen and (min-width: 800px){
	.julie.show-for-large-up{
		background: none;
		align-items: center;
		justify-content: start;
	}
	#bill-paying{
		background: url('../img/julie_2023.png') no-repeat bottom right; 
		background-size: contain;
		background-position-x: 200px;
	}
}

@media only screen and (min-width: 930px){
	#bill-paying{
		background-position-x: 270px;
	}
}

@media only screen and (min-width: 1100px){
	#bill-paying{background-position-x: 350px;}
}


/* Used to alter styles for screens at least 1280px wide. */
@media only screen and (min-width: 1280px) {
	.text-tile{
		padding-top: 63px;
		min-height: 900px;
	}
	#leslie, #cassandra, #daniel, #kristin, #katie, #contact{
		padding-top: 125px;
		min-height: 900px;
	}
	#intake{
		padding-top: 125px;
	}
	#bill-paying{
		padding: 125px 0;
	}
	#services{
		padding-top: 125px;
		min-height: 700px;
	}
	#directions{
		min-height: 700px;
	}
	#leslie{background: url('../img/leslie22.png') no-repeat right; text-align: left; background-size: contain; background-attachment: fixed; background-position: 170% 50%; position: relative;}
		
	#cassandra{background: url('../img/cassandra22.png') no-repeat left; text-align: left; background-size: contain; background-attachment: fixed; background-position: 170% 50%; position: relative;}
	
	#daniel{background: url('../img/daniel22.png') no-repeat right; text-align: left; background-size: contain; background-attachment: fixed; background-position: 170% 50%; position: relative;}
	
	#kristin{background: url('../img/kristin22.png') no-repeat right; text-align: left; background-size: contain; background-attachment: fixed; background-position: 170% 50%; position: relative;}

	#katie{background: url('../img/katie22.png') no-repeat right; text-align: left; background-size: contain; background-attachment: fixed; background-position: 170% 50%; position: relative;}
	
	#bill-paying{
		background: url('../img/julie_2023.png') no-repeat bottom right;
		background-position-x: 350px;
		background-size: contain;
	}
	.julie.show-for-large-up{justify-content: start;}


	#leslie.staff-page, #cassandra.staff-page, #daniel.staff-page, #kristin.staff-page, #katie.staff-page{
		padding-top: 0;
		min-height: 0;
	}
	
}
	
	#leslie .row.next-button, #cassandra .row.next-button, #daniel .row.next-button, #kristin .row.next-button, #katie .row.next-button{padding-top: 0px;}
/* Used to alter styles for screens at least 1440px wide. */
@media only screen and (min-width: 1440px) {
	
}

@media only screen and (min-width: 1500px) {
	#bill-paying{background-position-x: 550px;}
}









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


	.flex{ display: flex; }
	.flex-column{ flex-direction: column; }
	.justify-content-center{ justify-content: center; }
	.align-items-center{ align-items: center; }



/*
 * 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.
   These 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;
        padding: 0px;
    }

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