/*   
Theme Name: SDWPD Theme
Theme URI: http://SanDiegoWordPressDeveloper.com
Description: Custom WordPress Theme -- WordPress V4.5
Author: San Diego WordPress Developer
Author URI: http://SanDiegoWordPressDeveloper.com
Description: Mobile First, Adaptive theme
Version: 1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: flexible-width
*/
@import '//fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700';
@media screen {
/*! HTML5 Boilerplate v5.0.0 | MIT License | http://h5bp.com/ */
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
html{color:#222;font-size:1em;line-height:1.4}::-moz-selection{background:#b3d4fc;text-shadow:none}::selection{background:#b3d4fc;text-shadow:none}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}audio,canvas,iframe,img,svg,video{vertical-align:middle}fieldset{border:0;margin:0;padding:0}textarea{resize:vertical}.browserupgrade{margin:0.2em 0;background:#ccc;color:#000;padding:0.2em 0}.ir{background-color:transparent;border:0;overflow:hidden;*text-indent:-9999px}.ir:before{content:"";display:block;width:0;height:150%}.hidden{display:none !important;visibility:hidden}.visuallyhidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.invisible{visibility:hidden}.clearFix:before,.clearFix:after{content:" ";display:table}.clearFix:after{clear:both}.clearFix{zoom:1}
/* end browser reset 
========================================================== */
html {
	overflow-x:hidden;	
}
body {
	height: 100%;
	min-height: 100%;
	font-family: 'Source Sans Pro', sans-serif;
	font-size:18px;
	font-weight:300;
	line-height:1.5;
	color:#083e64;
	background-color:#fff;
	overflow-x:hidden;
	-webkit-overflow-scrolling:hidden;
	padding-right:0 !important;
	}
h1, h2, h3 {
	padding-bottom: .1em;
	color:#646464;
}
h1 {}
h2 {}
h3 {}
p {}

img {border:none; outline:none;}

a {text-decoration:none; }
a:link {}
a:visited {} 
a:hover {text-decoration:underline; outline:none; }
a:focus {outline: thin dotted;}
a:active {text-decoration:underline; outline:none; }

.skip-link {
	position: fixed;
	top:-60px;
	left:0;
	z-index: 10001;
	display: block;
	width:150px;
	height:30px;
	text-align: center;
	color:#fff !important;
	background-color:rgb(77,144,254);
	}
.skip-link:focus {
	top:0;
	transition: all .1s ease-in;
}

blockquote { }
blockquote p { }
b, strong { font-weight:bold;}
em { font-style:italic;}
nav ol, nav ul {list-style:none;}
.entry ul, .entry ol {
	list-style:inside; 
	margin-left:24px;
	}
/* BootStrap */
.row {
	margin-bottom:15px; 
	}
.col-xs-12 {margin-bottom:15px;}
.glyphicon {line-height:1.25;}
.no-padding {
	padding-left:0;
	padding-right:0;
	}
.btn-default:hover,
.btn-default:focus {
	background-color:#94b7bc;
	border-color:#94b7bc;
	color:#fff;
	text-decoration:none;
	}
.btn-default:hover a,
.btn-default:focus a {
	color:#fff;
	text-decoration:none;
	}
/* wordpress specific */
.post { }

.entry { 
	display:block;
	width:100%;
	height:auto;
 }
.entry a { }
.entry a:hover { }

.labels {
	font-size:.8em;
	color:#868686;
	text-transform:uppercase;
	}
.wpcf7 input,
.wpcf7 textarea {
	width:100%;
	padding:5px 15px;
	border:#94b7bc solid 1px;
	}
.wpcf7-submit {
	background:#94b7bc;
	color:#fff;
	border:none;
	}
.wpcf7-submit:hover,
.wpcf7-submit:focus {
	background:#7d6957;
	}
/* =WordPress Core classes -  required by WordPress.org
-------------------------------------------------------------- */
.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;
	}
.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
	}
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;
}
/* CSS re-usable classes
-------------------------------------------------------------- */
.sticky {}
.gallery-caption {}
.floatLeft {float:left;}
.floatRight {float:right;}
.wrapper {margin:0 auto;}

/* Responsive media ================================================
==================================================================== 
.img-responsive,
.responsive img.size-large,
.responsive img.size-full,
.responsive iframe,
.responsive video,
.resposive embed,
.responsive object,
.entry .wp-video {
	max-width:100%;
	height:auto;
	margin:0 auto;
	}
.video-container { 
	position: relative; 
	padding-bottom: 56.25%; 
	height: 0; 
	overflow: hidden; 
	}
.video-container iframe,
.video-container object,
.video-container embed,
.video-container video {
	position: absolute; 
	top: 0; 
	left: 0; 
	width: 100%; 
	height: 100%; 
	}
*/
/* generic CSS available for theme
-------------------------------------------------------------- */
pre { }
code, tt { }

#meta { }
.postmetadata { }

.navigation { }
   .next-posts { }
   .prev-posts { }

#searchform { }
	#s {
		width:55%;
		background-color:none;
		border:none;
		border-radius:3px;
		-webkit-border-radius:3px;
		background:rgba(164,162,162,0.85);
		color:#E1E1E1;
		}
	#searchsubmit {
		border:none;
		border-radius:3px;
		background:rgba(164,162,162,0.85);
		color:#E1E1E1;
		padding:0 8px;
		cursor:pointer;
	}
form { }
input,
textarea { 
	/*border:none;
	border-radius:3px;
	-webkit-border-radius:3px;
	background:rgba(164,162,162,0.85);
	color:#E1E1E1;
	padding:1px 8px;*/
	}
input[type=text] {}
textarea { }
/* comments CSS fr comments.php template */	
ol.commentlist { list-style: none; }
ol.commentlist li { }
ol.commentlist li.alt { }
ol.commentlist li.bypostauthor { }
ol.commentlist li.byuser { }
ol.commentlist li.comment-author-admin { }
ol.commentlist li.comment { border-bottom: 1px dotted #666; padding: 10px; }
ol.commentlist li.comment div.comment-author { }
ol.commentlist li.comment div.vcard { }
ol.commentlist li.comment div.vcard cite.fn { font-style: normal; }
ol.commentlist li.comment div.vcard cite.fn a.url { }
ol.commentlist li.comment div.vcard img.avatar { float:right; margin: 0 0 10px 10px; }
ol.commentlist li.comment div.vcard img.avatar-32 { }
ol.commentlist li.comment div.vcard img.photo { }
ol.commentlist li.comment div.vcard span.says { }
ol.commentlist li.comment div.commentmetadata { }
ol.commentlist li.comment div.comment-meta { font-size: 10px; }
ol.commentlist li.comment div.comment-meta a { color: #ccc; }
ol.commentlist li.comment p { }
ol.commentlist li.comment ul { }
ol.commentlist li.comment div.reply { font-size: 11px; }
ol.commentlist li.comment div.reply a { font-weight: bold; }
ol.commentlist li.comment ul.children { list-style: none; margin: 10px 0 0; }
ol.commentlist li.comment ul.children li { }
ol.commentlist li.comment ul.children li.alt { }
ol.commentlist li.comment ul.children li.bypostauthor { }
ol.commentlist li.comment ul.children li.byuser { }
ol.commentlist li.comment ul.children li.comment { }
ol.commentlist li.comment ul.children li.comment-author-admin { }
ol.commentlist li.comment ul.children li.depth-2 { border-left: 5px solid #555; margin: 0 0 10px 10px; }
ol.commentlist li.comment ul.children li.depth-3 { border-left: 5px solid #999; margin: 0 0 10px 10px; }
ol.commentlist li.comment ul.children li.depth-4 { border-left: 5px solid #bbb; margin: 0 0 10px 10px; }
ol.commentlist li.comment ul.children li.depth-5 { }
ol.commentlist li.comment ul.children li.odd { }
ol.commentlist li.even { background: #fff; }
ol.commentlist li.odd { background: #f6f6f6; }
ol.commentlist li.parent { border-left: 5px solid #111; }
ol.commentlist li.thread-alt { }
ol.commentlist li.thread-even { }
ol.commentlist li.thread-odd { }
/* Layout CSS 
================================================================ */
.relative {position:relative;}
.bg-img {
	background-size:cover;
	background-position:center center;
	background-repeat:no-repeat;
	}
.bg-pattern {
	background-repeat:repeat;
	}
.inline-btn {
	display:inline-block;
	border:solid 1px #94b7bc;
	border-radius:0px;
	color:#94b7bc;
	font-size:1em;
	padding:6px 30px;
	text-transform:uppercase;
	box-sizing:border-box;
	}
.points-btn {
	display:inline-block;
	border-radius:0px;
	border:none;
	color:#959595;
	text-transform:uppercase;
	font-size:.8em;
	background-color:#ebebeb;
	}
/* header CSS
================================================================ */
header {
	position:absolute;
	z-index:101;
	width:100%;
	padding-bottom:7.5px;
	}
.bg-color-mobile {
	min-height:60px;
	background-color:rgba(0,0,0,.66);
	}
header + .container {padding-top:90px;}
#logo {
	display:block;
	position:absolute;
	top:20px;
	z-index:1003;
	width:100%;
	height:auto;
	}
.header-phone {
	font-weight:400;
	font-size:1.1em;
	line-height:5;
	color:#fff !important;
	text-decoration: none !important;
	padding-top:5px;
	text-align:right;
	}
/*  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx navbar CSS */
.close-bar {
	display:none;
	color:#fff;
	font-size:2em;
	}
.navbar-nav {margin-top:60px;}
.navbar-header {
	position:absolute;
	top:5px;
	right:5px;
	z-index:1005;
	width:50px;
	height:50px;
	}
.navbar-toggle .icon-bar {
	background-color:#fff;
	}
#mobile-nav {
	display:none;
	position:fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
	z-index:1001;
	width:100%;
	margin:0;
	padding:15px;
	box-sizing:border-box;
	background:#94b7bc;
	overflow:hidden;
	}
#main-nav {
	display:none;
	position:fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
	z-index:1001;
	width:100%;
	margin:0;
	padding:15px;
	box-sizing:border-box;
	background:#94b7bc;
	}
ul.nav {
	list-style:none;
	}
.nav > li.current-menu-item {border-bottom:solid 5px #94b7bc;}
.nav > li > a:hover {
	background:none;
	color:#fff;
	}
.nav > li > a:focus {
	background:none;
	color:#fff;
	outline: thin dotted;
	}
.nav > li > a {
	padding-left:15px;
	padding-right:15px;
	color:#fff;
	text-transform:uppercase;
	}
.nav .sub-menu {
	padding:15px;
	background:#94b7bc;
	z-index:1002;
	list-style:none;
	overflow-y: scroll;
	height: 50vh;
	}

li.menu-item-has-children ul.sub-menu {
      position: absolute;
      left: -9999px;
    }

  li.menu-item-has-children:hover,
  li.menu-item-has-children[aria-expanded="true"] ul.sub-menu {
      left: 0;
      top: 100%;
      
  }


/*.nav li a:hover + ul,
.nav li a:focus + ul {
	display:block;
	position:absolute;
	top:100%;
	left:0;
	}*/
.nav .sub-menu li {
	padding:5px 15px;
	}
.nav ul.sub-menu li a {
	white-space:nowrap;
	color:#fff;
	}
.nav ul.sub-menu li a:hover {
	color:#fff;
	text-decoration:none;
	}
.nav ul.sub-menu li a:focus {
	color:#fff;
	text-decoration:none;
	outline:thin dotted;
	}
/*  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx sidebar CSS */
aside {
	width:95%;
	overflow:visible;
	margin:0 auto;
	}
aside .post {
	margin:0 0 32px 0;
	}
#sidebar-nav .menu {
	color:#e4e4e4;
	background-color:#32393f;
	}
#sidebar-nav ul {
	list-style:none;
	padding:0;
	border-radius:3px;
	overflow:hidden;
	}
#sidebar-nav li {
	padding:15px;
	border-top:1px solid #4a4f55;
	border-bottom:1px solid #1f2122;
	}
/*  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx footer CSS */
footer {
	padding-top:60px;
	padding-bottom:60px;
	background:#7d6957;
	color:#fff;
	}
footer .row {margin-bottom:0;}
footer ul {list-style:inside disc;}
footer ul {padding-left:0;}
footer a,
footer a:hover {color:#fff;}
footer a span.fa {
	color:#2D2D2D;
	padding:7.5px 0 0 7.5px;
	}
footer a.social-media {
	display:block;
	float:left;
	width:30px;
	height:30px;
	margin-right:7.5px;
	background-color:#e5e5e5;
	border-radius:15px;
	}
footer .footer-nav {
	float:left;
	list-style:none;
	margin:0 30px 0 0;
	}
footer .footer-nav li {
	float:none;
	border-bottom: solid 1px #e4e4e4;
	margin-bottom:7.5px;
	}
footer .footer-nav a {color:#fff;}
footer .copyright img {margin-bottom:0;}
/*  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx single CSS */
.single-featured {
	display:block;
	float:left;
	width:31.25%;
	height:0;
	margin:0 6.25% 0 0;
	padding:0 0 31.25% 0;
	overflow:hidden;
	}
.single-article {
	float:left;
	width:56.25%;
	height:auto;
	margin:0 6.25% 32px 0;
	}
/*  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx  HOMEPAGE CSS */
.home .bg-color {
	padding-top:60px;
	}
/*  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Carousel CSS */
.carousel {
	margin-bottom:15px;
	}
.carousel .item {
	width:100%;
	height:0;
	padding-bottom:56%;
	}
.carousel-indicators {
	position:relative;
    bottom: 0px;
	margin:15px 0;
	left:0;
    width: 100%;
	height:50px;
	overflow:hidden;
}
.carousel-indicators li,
.carousel-indicators li.active {
	width:45px;
	height:45px;
	border:none;
	margin:0 15px;
	}
.carousel-control.left,
.carousel-control.right {
	background:none;
	}
.item img {
	max-width:100%;
	height:auto;
	}
/*  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx page CSS */
.spacer-30 {
	padding-bottom:30px;
	}
.main-heading {
	font-size:2em;
	text-transform:uppercase;
	line-height:1;
	}
.page-top-img {
	display:block;
	position:relative;
	padding-bottom:30%;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-repeat:no-repeat;
	background-position:center top;
	}
.home .page-top-img {
	padding-bottom:45%;
	}
.page-top-wrapper {
	position:absolute;
	top:55%;
	left:0;
	right:0;
	}
.resort-name {
	color:#fff;
	font-size:.9em;
	text-transform:uppercase;
	font-weight:400;
	text-shadow: 1px 1px 3px #000000;
	}
/* overview */
#myModal,
.btn-availability {
	color:#000;
	margin-top:15px;
	background-color:#fff;
	}
#myModal {
	font-size:16px;
	box-sizing:border-box;
	}
.modal-dialog{
	width:95%;
    overflow-y: initial !important
}
.modal-body{
    height: 600px;
    overflow-y: auto;
}
.modal-title {color:#000;}
.sortable .sorted {color:#94b7bc;}

.resort-location-wrapper {
	padding-top:15px;
	padding-bottom:30px;
	color:#fff;
	}
.resort-address-title,
.resort-address-title:hover {color:#fff;}
.resort-title {
	text-transform:uppercase;
	font-weight:600;
	font-size:1.5em;
	}
.resort-location {
	text-transform:uppercase;
	}
.resort-cta {
	font-weight:400;
	text-transform:uppercase;
	padding-top:10px;
	font-size:1.2em;
	line-height:1;
	}
.resort-cta .phone {font-size:1.25em;}
.resort-address-title {
	text-transform:uppercase;
	font-weight:400px;
	cursor:pointer;
	}
.resort-title {
	line-height:1.25;
	}


.headline-text {
	font-size:2em;
	text-transform:uppercase;
	}
.room-detail {
	padding-top:15px;
	padding-bottom:15px;
	}
.bordered-wrap {
	border:solid 1px #ccc;
	padding:15px;
	}
.room-img {
	display:block;
	padding-bottom:66%;
	overflow:hidden;
	background-size:cover;
	background-repeat:no-repeat;
	background-position:center center;
	}
.room-type {
	text-transform:uppercase;
	font-weight:600;
	}
.points {
	font-size:1.2em;
	}
.room-description {}
.tab-nav {
	list-style:none;
	text-align:center;
	padding:0 0 15px 0;
	}
.tab-nav li {
	display:block;
	padding-bottom:5px;
	border-bottom:solid 1px #ccc;
	text-align:left;
	}
.tab-nav li.ui-tabs-active  a {
	color:#94b7bc; 
	padding-bottom:7px;
	text-decoration:none;
	}
.tab-nav li a {
	text-transform:uppercase;
	font-weight:600;
	color:#000;
	}
/*.tab-nav li a:hover,
.tab-nav li a:active {
	text-decoration:none;
	color:#000;
	}*/
.tab-img {
	display:block;
	position:relative;
	margin-bottom:30px;
	padding-bottom:30%;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-repeat:no-repeat;
	background-position:center top;
	}
.details-button {
	position:absolute;
	top:66%;
	left:0;
	right:0;
	margin:0 auto;
	}
.tab-details {
	display:none;
	}
.detail-title {
	margin-bottom:30px;
	font-size:2em;
	text-align:center;
	text-transform:uppercase;
	}
.bg-color {
	padding-top:30px;
	padding-bottom:60px;
	color:#fff;
	}
.bg-color a:link,
.bg-color a:visited,
.bg-color h1,
.bg-color h2,
.bg-color h3 {color:#fff;}
.bg-color .container {
	opacity:1;
	}
.two-col-editor {
	padding-top:30px;
	}
.cta-bg {
	/*background-color:#94b7bc;*/
	background-color:#517881;
	color:#fff;
	padding-top:30px;
	}
.cta {font-size:2em;}
.cta strong {font-size:.75em;}
/* ==================================== location */
.location-post {
	margin-bottom:30px;
	}
.thumb-img {
	display:block;
	position:relative;
	padding-bottom:100%;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-repeat:no-repeat;
	background-position:center top;
	}
.the-title {
	color:#7d6957;
	text-transform:uppercase;
	font-weight:600;
	padding:7.5px 0;
	}
.location-post .entry {
	display:block;
	height:145px;
	}
.location-read-more {
	color:#94b7bc;
	border-color:#94b7bc;
	border-radius:0;
	text-transform:uppercase;
	}
/* custom CSS for page templates */
} /* END screen media - Start Adaptive CSS */
@media (min-width : 320px) {
	}
@media (min-width : 480px) {

}
@media screen and (device-width: 360px) and (device-height: 640px) and (-webkit-device-pixel-ratio: 3) { /* samsung Galaxy S5 */

}
@media (min-width: 768px) {
/*#main-nav ul {position:unset; }*/
header {position:fixed;background-color:rgba(0,0,0,0.66); }
.inline-btn {box-sizing:content-box !important;}
.row {margin-bottom:60px; }
.points-btn {font-size:1.5em;}
.navbar-nav {
	float:right;
	margin-top:20px;
	}
.nav .sub-menu {overflow-y:hidden;}
#main-nav {
	display:block;
	position: static;
	width:58.33%;
	background:none;
	padding-top:0;
	}
#main-nav ul {background: none;}
#main-nav .sub-menu {background:#94b7bc;height: auto;}
.home .page-top-img {padding-bottom:44%;}
.page-top-wrapper {top:40%;}
.main-heading {font-size:3.33em;}
.resort-name {font-size:1.5em;}
.resort-name {font-size:4em;}
.bg-img-editor {font-size:1.125em;}
.tab-nav {border-bottom:solid 1px #d1d2d4; margin-bottom:50px;}
.tab-nav li {display:inline; border-bottom:none;}
.tab-nav li.ui-tabs-active a {
	padding:0 15px 15px 15px;
	border-bottom:solid 5px #94b7bc; 
	color:#000;
	}
.tab-nav li a {padding:0 15px 15px 15px;}
.carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right, .carousel-control .icon-next, .carousel-control .icon-prev {top:40%;}
.modal-dialog {width:768px;}
}
@media (min-width:1024px) {


}	
@media (min-width:1280px){}



@media print {

.do-not-print { display: none; }
#comments { page-break-before: always; }

body { width: 100% !important; margin: 0 !important; padding: 0 !important; line-height: 1.4; word-spacing: 1.1pt; letter-spacing: 0.2pt; font-family: Garamond,"Times New Roman", serif; color: #000; background: none; font-size: 12pt; }
h1,h2,h3,h4,h5,h6 { font-family: Helvetica, Arial, sans-serif; }
h1 { font-size: 19pt; }
h2 { font-size:17pt; }
h3 { font-size:15pt; }
h4,h5,h6 { font-size:12pt; }
code { font: 10pt Courier, monospace; } 
blockquote { margin: 1.3em; padding: 1em; }
img { display: block; margin: 1em 0; }
a img { border: none; }
table { margin: 1px; text-align:left; }
th { border-bottom: 1px solid #333;  font-weight: bold; }
td { border-bottom: 1px solid #333; }
th, td { padding: 4px 10px 4px 0; }
caption { background: #fff; margin-bottom: 2em; text-align: left; }
thead { display: table-header-group; }
tr { page-break-inside: avoid; } 
a { text-decoration: none; color: black; }

*,
    *: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;
    }	
} /* END print media */