/*
Website Name: Pediatric Eye Care of Maryland
Copyright 2015
Adventure Web Interactive
*/

/* Fonts */
@font-face {
	font-family: 'Not Futura';
	src: url('../fonts/texgyreadventor-bold_-_limited-webfont.woff2') format('woff2'), url('../fonts/texgyreadventor-bold_-_limited-webfont.woff') format('woff');
	font-weight: 700;
	font-style: normal;
}

@font-face {
	font-family: 'Not Futura';
	src: url('../fonts/texgyreadventor-regular_-_limited-webfont.woff2') format('woff2'), url('../fonts/texgyreadventor-regular_-_limited-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Open Sans';
	src: url('../fonts/opensans-bold-limited-webfont.woff2') format('woff2'), url('../fonts/opensans-bold-limited-webfont.woff') format('woff');
	font-weight: 700;
	font-style: normal;
}

@font-face {
	font-family: 'Open Sans';
	src: url('../fonts/opensans-regular-limited-webfont.woff2') format('woff2'), url('../fonts/opensans-regular-limited-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

/* Normalize */
*, *:before, *:after { box-sizing: border-box; }

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, hr, main, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	font: inherit;
	font-size: 100%;
	vertical-align: baseline;
	padding: 0;
	margin: 0;
	border: 0;
}

main, article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, img, hr, cite { display: block; }

audio, canvas, video {
	vertical-align: middle;
	display: inline-block;
	display: inline;
	zoom: 1;
}

video {
	width: 100% !important;
	height: auto !important;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden] { display: none; }

abbr[title] { border-bottom: 1px dotted; }

dfn { font-style: italic; }

mark {
	color: #000;
	background: #ff0;
}

code, kbd, pre, samp {
	font-family: monospace, serif;
	font-family: 'courier new', monospace;
}

pre {
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
}

::-moz-selection {
 background: #98F1FE;
 text-shadow: none;
}

::selection {
	background: #98F1FE;
	text-shadow: none;
}

/* General */
html {
	font-family: sans-serif;
	font-size: 16px;
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
}

body {
	font: 100%/1.4 'Not Futura', Arial, Helvetica, sans-serif;
	color: #000;
	background: #fff;
}

p, h1, h2, h3, h4, form, table, hr, pre, blockquote { margin: 0 0 20px; }

h1, h2, h3, h4 {
	margin-top: 40px;
	font-weight: 700;
	line-height: 1.2;
}

h1 { font-size: 3.25em; }

h2 { font-size: 2.5em; }

h3 { font-size: 1.75em; }

h4 { font-size: 1.3125em; }

h5 { font-size: .875em; }

h6 { font-size: .75em; }

ul, ol, dl, menu { margin: 0 0 20px 40px; }

a {
	color: #00a2b9;
	text-decoration: none;
}

a:focus { outline: 0; }

a:active, a:hover {
	text-decoration: underline;
	outline: 0;
}

strong, b { font-weight: bold; }

em, i { font-style: italic; }

img {
	max-width: 100%;
	height: auto;
	-ms-interpolation-mode: bicubic;
	border: 0;
}

svg:not(:root) { overflow: hidden; }

hr {
	display: block;
	height: 1px;
	padding: 0;
	border: 0;
	border-top: 1px solid #ccc;
}

small { font-size: 80%; }

sub, sup {
	font-size: 80%;
	line-height: 0;
	vertical-align: baseline;
	position: relative;
}

sup { top: -.5em; }

sub { bottom: -.25em; }

table {
	width: 100%;
	border-spacing: 0;
	border-collapse: collapse;
}

td { vertical-align: top; }

blockquote, q { quotes: none; }

blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}

blockquote {
	padding: 20px;
	border-left: 8px solid #00a2b9;
	background: #98F1FE;
}

blockquote p { margin: 0; }

legend {
	white-space: normal;
	margin-left: -7px;
}

label {
	margin: 0 0 4px;
	display: block;
}

input, textarea, select, button, .button {
	padding: 0 5px;
	width: 100%;
	height: 32px;
	font: inherit;
	color: inherit;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 0px;
}

input, textarea { -webkit-appearance: none; }

select { padding: 0 0 0 5px; }

textarea {
	padding: 5px;
	height: 120px;
	overflow: auto;
	vertical-align: top;
	resize: vertical;
}

button, html input[type="button"], input[type="reset"], input[type="submit"], .button {
	-webkit-appearance: button;
	cursor: pointer;
	overflow: visible;
}
 button::-moz-focus-inner, input::-moz-focus-inner {
 border: 0;
 padding: 0;
}

input[type="radio"], input[type="checkbox"] {
	margin: 0 4px 0 0;
	padding: 0;
	width: auto;
	height: auto;
	border: none;
}

input[type="radio"] { -webkit-appearance: radio; }

input[type="checkbox"] { -webkit-appearance: checkbox; }

input[type="file"] {
	height: auto;
	height: 32px\9;
	background: none;
	border: none;
	background: #fff\9;
	border: 1px solid #ccc\9;
}
 input[type="file"]::-ms-value {
 background: #fff;
 border: none;
}

input[type="search"] {
	-webkit-appearance: textfield;
	box-sizing: content-box;
}
 input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {
 -webkit-appearance: none;
}

button, html input[type="button"], input[type="reset"], input[type="submit"], .button {
	padding: 10px 20px;
	width: auto;
	height: auto;
	background: #00a2b9;
	border: none;
	color: #fff;
	border-radius: 0px;
	cursor: pointer;
	-webkit-appearance: none;
}

.button {
	text-align: center;
	display: inline-block;
}

button:hover, html input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, .button:hover {
	text-decoration: none;
	background: #004457;
}

button:active, html input[type="button"]:active, input[type="reset"]:active, input[type="submit"]:active, .button:active {
	position: relative;
	top: 1px;
}

button[disabled], html input[disabled] { cursor: default; }

/* Tools */
.hidden, .tablet-view, .mobile-view {
	display: none !important;
	visibility: hidden;
}

.desktop-view {
	display: block !important;
	visibility: visible;
}

.clearfix:before, .clearfix:after, .container:before, .container:after {
	content: '.';
	display: block;
	overflow: hidden;
	height: 0;
}

.clearfix:after, .container:after { clear: both; }

.clearfix, .container { zoom: 1; }

.browserupgrade {
	color: #000;
	text-align: center;
	padding: 5px 0;
	background: #ccc;
}

.inlineblock-fix { font-size: 0; }

.inlineblock-reset {
	font-size: 16px;
	font-size: 1rem;
}

:active { -webkit-tap-highlight-color: rgba(0,0,0,0); }

:first-child { margin-top: 0; }

:last-child { margin-bottom: 0; }

.list--unstyled {
	margin: 0;
	list-style: none;
}

.responsive-embed {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 56.25%;
}

.responsive-embed iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.icon {
	display: inline-block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

#icon-arrow-l .path1 { fill: #00a2b9; }

#icon-arrow-l .path2, #icon-arrow-l .path3 { fill: #432444; }

#icon-arrow-r .path1 { fill: #00a2b9; }

#icon-arrow-r .path2, #icon-arrow-r .path3 { fill: #432444; }

.icon-feed { width: 0.7861328125em; }

.icon-linkedin { width: 0.857421875em; }

.icon-youtube { width: 0.857421875em; }

.icon-pinterest-p { width: 0.7138671875em; }

.icon-pinterest { width: 0.857421875em; }

.icon-google-plus { width: 1.2861328125em; }

.icon-twitter { width: 0.9287109375em; }

.icon-facebook { width: 0.587890625em; }

/* Structure */
.container {
	max-width: 1200px;
	padding: 0 30px;
	margin: 0 auto;
}

.form-list {
	max-width: 500px;
	margin: 0;
	list-style: none;
}

.form-list li { margin: 10px 0 0; }

.form-list li:first-child { margin: 0; }

/* Header */
header {
	padding: 20px 0;
	font-family: 'Open Sans', sans-serif;
	color: #fff;
	background: #432444;
	border-top: 5px solid #00a2b9;
}

header a { color: #fff; }

header .logo {
	float: left;
	margin-top: 5px;
}

header .social-media {
	float: right;
	padding: 10px;
	margin-top: -20px;
	background: #00a2b9;
	border-radius: 0 0 15px 15px;
}

header .social-media li {
	float: left;
	margin-left: 5px;
}

header .social-media li:first-child { margin-left: 0; }

header .social-media a {
	display: block;
	width: 32px;
	height: 32px;
	text-align: center;
	background: #9742c1;
	border-radius: 50%;
}

header .social-media a:hover {
	text-decoration: none;
	background: #432444;
}

header .social-media svg { height: 100%; }

.header-phones {
	float: right;
	clear: right;
	margin-top: 20px;
}

.header-phones li {
	float: left;
	padding-left: 12px;
	margin-left: 12px;
	font-size: .875em;
	text-align: center;
	text-transform: uppercase;
	border-left: 1px solid #fff;
}

.header-phones li:first-child {
	padding-left: 0;
	margin-left: 0;
	border-left: 0;
}

/* Nav */
nav {
	font-family: 'Open Sans', sans-serif;
	font-size: .875em;
	background: #00a2b9;
}

.rNav, .rNav ul {
	margin: 0;
	list-style: none;
}

.rNav { zoom: 1; }

.rNav:before, .rNav:after {
	content: '';
	display: table;
}

.rNav:after { clear: both; }

.rNav > li {
	line-height: 50px;
	white-space: nowrap;
	position: relative;
	float: left;
	height: 50px;
}

.rNav a {
	position: relative;
	display: block;
	padding: 0 15px;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	background: #00a2b9;
	font-weight:bold;
}

.rNav a:hover, .rNav li:hover > a { color: #432444; }

nav .current-menu-item > a:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	border-bottom: 5px solid #9742c1;
}

.rNav ul {
	position: absolute;
	z-index: 9999;
	top: 100%;
	left: 0;
	display: none;
	visibility: hidden;
	width: 0;
	height: 0;
	opacity: 0;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
}

.rNav li:hover > ul {
	display: block;
	visibility: visible;
	width: auto;
	height: auto;
	opacity: 1;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

.rNav ul li {
	line-height: 40px;
	float: none;
	height: 40px;
}

.rNav ul ul {
	top: 0;
	left: 100%;
}

#rNav-trigger { display: none; }

/* Banner */
.banner {
	position: absolute;
	top: 0;
	right: 0;
	width: calc(100% - 400px);
	height: 100%;
}

.interior-banner {
	height: 300px;
	background-position: center;
	background-size: cover;
}

.banner .container { padding: 0; }

.banner ul {
	margin: 0;
	height: 100%;
	list-style: none;
}

.banner ul li { height: 100%; }

.banner ul li img { margin: 0 auto; }

.slide {
	height: 100%;
	background-size: cover;
	background-position: center;
}

.slider__controls a {
	position: absolute;
	top: 50%;
	z-index: 99;
	margin-top: -20px;
	font-size: 40px;
}

.slider__prev { left: 5px; }

.slider__next { right: 5px; }

/* Main */
main { padding: 30px 0; }

article, aside {
	float: left;
	width: 70%;
	width: calc(100% - 330px);
}

article.full-width {
	margin: 0 auto;
	width: 100%;
	max-width: 54em;
	float: none;
}

.col, .recent-news li {
	float: left;
	width: 50%;
}

.col--l, .recent-news li:nth-child(2n + 1) { padding-right: 15px; }

.col--r, .recent-news li:nth-child(2n + 2) { padding-left: 15px; }

.home main { padding: 0; }

.home-top__wrap { position: relative; }

.home main .container { margin-top: 60px; }

.home main .container:first-of-type { margin-top: 0; }

.home main article {
	float: none;
	width: 400px;
	padding: 20px;
}

.locations { padding: 0 0 0 0; }

.locations ul { margin: 0 -8px; }

.locations li {
	float: left;
	width: 33%;
	padding: 0 8px;
}

.location__card {
	padding: 10px;
	color: #fff;
	text-align: center;
	background: #9742c1;
}

.location__card h3 { margin-bottom: 0; }

.location__card a[href^="tel:"] {
	display: block;
	margin-bottom: 20px;
	font-size: 1.75em;
	font-weight: 700;
	color: #fff;
}

.location__card p { min-height: 5.6em; }

.locations li:nth-child(4n + 2) .location__card { background: #01ced1; }

.locations li:nth-child(4n + 3) .location__card { background: #ce8eee; }

.locations li:nth-child(4n) .location__card { background: #e6a00a; }

.home main h2, .locations h2 { font-size: 3.25em; }

.recent-news {
	padding: 30px 0;
	color: #fff;
	background: #432444;
}

.recent-news a { color:yellow; }

.recent-news h3 {
	display: inline-block;
	font-size: 1em;
	padding-right: 5px;
	margin: 0 5px 5px 0;
	color: #1374fb;
	border-right: 1px solid #fff;
}

.recent-news__date {
	display: inline-block;
	margin-bottom: 5px;
}

/* Sidebar */
aside {
	width: 30%;
 width: calc(100% - (100% - 330px));
	padding: 0 0 0 30px;
}

.sidebar {
	padding: 20px;
	margin: 0 0 30px;
	color: #fff;
	background: #432444;
}

.sidebar a { color: #fff; }

.sidebar ul {
	margin: 0;
	list-style: none;
}

.sidebar > ul li { margin: 20px 0 0; }

.sidebar ul ul li { margin: 10px 0 0; }

.sidebar > ul li:first-child, .sidebar ul ul li:first-child { margin: 0; }

/* Footer */
footer {
	padding: 20px 0;
	color: #fff;
	background: #00a2b9;
}

footer a { color: #fff; }

footer .links {
	margin: 0;
	list-style: none;
	-webkit-column-count: 2;
	-moz-column-count: 2;
	-ms-column-count: 2;
	-o-column-count: 2;
	column-count: 2;
	-webkit-column-gap: 10px;
	-moz-column-gap: 10px;
	-ms-column-gap: 10px;
	-o-column-gap: 10px;
	column-gap: 10px;
}

footer .links li { margin-bottom: 8px; }

footer .social-media li {
	float: left;
	margin-left: 8px;
}

footer .social-media li:first-child { margin-left: 0; }

footer .social-media a {
	display: block;
	width: 45px;
	height: 45px;
	color: #00a2b9;
	text-align: center;
	font-size: 28px;
	background: #fff;
	border-radius: 10px;
}

footer .social-media a:hover {
	text-decoration: none;
	background: #98F1FE;
}

footer .social-media svg { height: 100%; }

.no-csscolumns footer .links li, .no-js footer .links li {
	padding: 0 10px 0 0;
	width: 50%;
	float: left;
}

.copyright {
	margin: 0;
	padding-top: 20px;
	font-size: 0;
	color: #fff;
	text-align: left;
	list-style: none;
	clear: both;
}

.copyright li {
	padding: 0 6px;
	border-left: 1px solid #fff;
	font-size: .625rem;
	line-height: 1;
	display: inline-block;
}

.copyright li:first-child { border: none; }

.copyright a { color: #fff; }

/* WPCF7 */
.wpcf7-form.sent * { display: none; }

.wpcf7-response-output {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 80%;
}

.wpcf7-mail-sent-ok {
	padding: 4px 6px !important;
	background: #d2f7ad;
	color: #318a1c;
	border: 1px solid #aedb2e !important;
}

.wpcf7-validation-errors {
	color: #f00;
	border: none !important;
}

.wpcf7-not-valid-tip {
	padding: 0 !important;
	top: 0 !important;
	left: auto !important;
	background: none !important;
	border: none !important;
	font-size: 80% !important;
	width: auto !important;
}

.wpcf7-captchac {
	display: inline-block;
	vertical-align: text-bottom;
}

span.wpcf7-form-control-wrap { width: 100%; }

input.wpcf7-not-valid, textarea.wpcf7-not-valid, select.wpcf7-not-valid {
	background: #f6c1c1;
	border: 1px solid #f00;
}

div.wpcf7 img.ajax-loader {
	position: absolute;
	display: inline-block;
}

span.wpcf7-list-item { margin: 0 !important; }

/* Jetpack */
.jetpack_subscription_widget form { margin: 0; }

.jetpack_subscription_widget label[for="subscribe-field"] { margin: 0; }

.jetpack_subscription_widget label[for="email"] { display: none; }

#subscribe-text { display: none; }

#subscribe-email { margin: 0 0 10px; }

#subscribe-submit { margin: 0; }

#subscribe-email input {
	width: 100% !important;
	padding: 6px !important;
}

div.success p {
	font-size: 12px;
	line-height: 1.2;
	margin: 0 0 10px;
}

div.sharedaddy div.sd-block {
	margin: 0 0 15px !important;
	padding: 0 !important;
	border: none !important;
}

div.sharedaddy .sd-content {
	width: 100% !important;
	margin: 0 !important;
}

.widget_rss_links p {
	margin: 0;
	text-align: center;
}

.widget_rss_links img {
	margin-right: 5px;
	display: inline;
	vertical-align: middle;
}

#wpstats, .home div.sharedaddy, .archive div.sharedaddy, .search div.sharedaddy { display: none; }

.comment-subscription-form { margin: 0; }

.embed-youtube {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
}

.embed-youtube iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Media Queries */
@media screen and (max-width: 1279px) {

nav .container { padding: 0; }
}

@media screen and (max-width: 1199px) {

.interior-banner { margin: 0 -30px; }
}

@media screen and (max-width: 1120px) {

header .logo {
	width: 400px;
	margin-top: 17px;
}
}

@media screen and (max-width: 1100px) {

.rNav a { padding: 0 10px; }
}

@media screen and (max-width: 1023px) {

#rNav-wrap {
	text-align: center;
	position: relative;
}

#rNav-trigger {
	line-height: 50px;
	text-align: center;
	display: block;
	height: 50px;
	cursor: pointer;
	background: #00a2b9;
}

#rNav-trigger:after {
	content: 'Menu';
	display: inline-block;
	margin-left: 10px;
	color: #fff;
	text-transform: uppercase;
	vertical-align: middle;
}

#rNav-trigger div {
	vertical-align: middle;
	display: inline-block;
}

#rNav-trigger span {
	display: block;
	width: 40px;
	height: 4px;
	border-radius: 4px;
	background: #fff;
}

#rNav-trigger span:first-child + span { margin: 5px 0; }

.rNav {
	position: absolute;
	z-index: 9999;
	top: 100%;
	display: none;
	width: 100%;
}

.rNav > li {
	line-height: 40px;
	float: none;
	height: 40px;
}

.rNav a {
	height: auto;
	padding: 0 20px;
}

.rNav li.rNav-back a:before {
	content: '\25C0';
	font-family: 'Lucida Sans Unicode', 'Arial Unicode MS';
	padding: 0 10px 0 0;
}

a.rNav-parent:after {
	content: '\25B6';
	font-family: 'Lucida Sans Unicode', 'Arial Unicode MS';
	padding: 0 0 0 10px;
}

.rNav-trans {
	position: absolute;
	display: block;
	overflow: hidden;
}

.rNav-trans li, .rNav-trans li a {
	white-space: nowrap;
	overflow: hidden;
}

.current-menu-item > a:after { display: none; }

.locations li {
	width: 50%;
	margin-bottom: 16px;
}

.locations li:nth-child(2n + 1) { clear: left; }

.container { padding: 0 20px; }

main { padding: 20px 0; }

aside { padding-left: 20px; }

.interior-banner { margin: 0 -20px; }
}

@media screen and (max-width: 960px) {

header .logo { margin-top: 0; }

.header-phones {
	clear: left;
	float: none;
	text-align: center;
	padding-top: 20px;
	margin-top: 0;
}

.header-phones li {
	float: none;
	display: inline-block;
}
}

@media screen and (max-width: 850px) {

.banner__wrap { display: table-header-group; }

.banner {
	position: relative;
	width: calc(100% + 40px);
	height: 300px;
	margin: 0 -20px;
}

.home-top__wrap {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-flow: column-reverse;
	-ms-flex-flow: column-reverse;
	flex-flow: column-reverse;
}

.home main article {
	display: block;
	width: 100%;
}

.col, .recent-news li, .recent-news li:nth-child(n) {
	float: none;
	width: 100%;
	padding: 0;
}

.col--l, .recent-news li { margin-bottom: 30px; }

.recent-news li:last-child { margin-bottom: 0; }

.home .col--l img { margin: 0 auto; }
}

@media screen and (max-width: 767px) {

header { text-align: center; }

header .social-media {
	float: none;
	display: inline-block;
	margin-bottom: 20px;
}

header .logo {
	float: none;
	margin: 0 auto;
}

.banner {
	width: calc(100% + 20px);
	margin: 0 -10px;
}

blockquote { padding: 15px; }

.container { padding: 0 10px; }

article, aside {
	float: none;
	width: 100%;
}

aside {
	padding: 0;
	margin-top: 20px;
}

.sidebar { padding: 15px; }

.interior-banner { margin: 0 -10px; }
}

@media screen and (max-width: 567px) {

html { font-size: 1rem; }

h1, .alpha, .home main h2, .locations h2 { font-size: 2.75em; }

.header-phones { display: inline-block; }

.header-phones li {
	float: left;
	display: block;
	margin-bottom: 12px;
}

.header-phones li:nth-child(2n+1) {
	clear: left;
	padding-left: 0;
	margin-left: 0;
	border-left: 0;
}

.header-phones li:last-child, .header-phones li:nth-last-child(2) { margin-bottom: 0; }

.home main .container { margin-top: 30px; }

.home main article { padding: 20px 0; }

.locations { padding: 30px 0; }

.locations li {
	float: none;
	width: 100%;
	max-width: 340px;
	padding: 0;
	margin: 0 auto 16px;
}

.recent-news h3 {
	display: block;
	padding-right: 0;
	margin-right: 0;
	border-right: 0;
}

.recent-news__date { display: block; }

.copyright li {
	padding: 0;
	line-height: 1;
	border: none;
	display: block;
}

footer .links {
	-webkit-columns: 1;
	-moz-columns: 1;
	columns: 1;
}

.no-csscolumns footer .links li, .no-js footer .links li {
	float: none;
	width: 100%;
}
}

@media print {

@page { margin: .5cm !important; }

*, *:before, *:after {
	color: #000 !important;
	background: transparent !important;
	box-shadow: none !important;
	text-shadow: none !important;
}

body {
	font: 10pt/1.2 Arial, Helvetica, sans-serif !important;
	padding: .75cm !important;
}

article, .container {
	display: block;
	width: 100%;
	padding: 0;
	margin: 0;
}

nav, aside, footer { display: none; }

a, a:visited { text-decoration: underline; }

a[href]:after { content: ' (' attr(href) ')'; }

abbr[title]:after { content: ' (' attr(title) ')'; }

a[href^='#']:after, a[href^='javascript:']:after { content: ''; }

h1, h2, h3, h4, h5, h6 {
	font-size: 18pt !important;
	font-weight: bold !important;
}

h2 { font-size: 16pt !important; }

h3 { font-size: 14pt !important; }

h4 { font-size: 12pt !important; }

h5, h6 { font-size: 10pt !important; }

code { font: 10pt Courier, monospace; }

pre, blockquote {
	border: 1px solid #999;
	page-break-inside: avoid;
}

thead { display: table-header-group; }

tr, img { page-break-inside: avoid; }

p, h2, h3 {
	orphans: 3;
	widows: 3;
}

h2, h3 { page-break-after: avoid; }
}
