/*! HTML5 Boilerplate v7.1.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 1.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * 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
   ========================================================================== */

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

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #00bbd9;
    text-shadow: none;
}

::selection {
    background: #00bbd9;
    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 audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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




 /* ==========================================================================
   Author's custom styles
   ========================================================================== */
@font-face {
	font-family: 'DejaVu-Sans';
    src:  url("font/DejaVu-Sans.ttf.0196a5cfbba5.woff") format('woff');
    font-weight: normal;
    font-style: normal;
}
html {
	font-family: DejaVu-Sans, sans-serif;
}

#space {
	width: 100%;
	height: 1px;
	margin: 0;
	padding: 0;
	border: 0;
}

.gallery-container,
h1, h2, h3, h4, h5, h6 {
	clear: both;
}

/* Force fragment links to scroll past fixed top menu */
.anchor a {
	position: absolute;
	left: 0;
	top: -1.5rem;
}
.anchor {
	position: relative;
}


/* let the container worry about spacing above
   top level heading */
h1 {
	margin-top: 0;
}


a {
	color: #713dd6;
	font-weight: bold;
	text-decoration: none;
}
a:hover {
	/*
	text-decoration: none;
	border-bottom: 0.25rem solid #00bbd9;
	box-shadow: 0 0.35rem 5px rgba(0, 187, 217, 0.4);
	*/
	background-color: #dbeafb;
}


main h1 {
	border-bottom: 1px solid #b3a7b7;
	padding-bottom: 1rem;
}

/* -- Footer stick --*/
html, body {
	height: 100%;
}
body {
	display: flex;
	flex-direction: column;
}
div#content {
	flex: 1 0 auto;
	padding-top: 0.5rem;
}
footer.main {
	flex-shrink: 0;
	padding: 2.5rem 0.25rem 3rem 0.25rem;
}
/* -- End Footer stick --*/


header#main h1 {
	width: 6rem;
	align-self: center;
}

header#main {
	background-color: #fff;
	background-image: url("../images/assets/ribbon-tile.9592bddb005f.png");
	background-position: left bottom;
	background-repeat: repeat-x;
	padding-bottom: 1.5rem;
	background-size: auto 1.5rem;
	display: flex;
}
header#main a {
	color: #222;
}
#info .service-links {
	text-align: center;
}
#info .service-links li {
	display: inline;
}
#info > section {
	display: flex;
	flex-direction: row;
}
.side-info {
	display: flex;
	flex-direction: column;
}
ul.main-info {
	flex-grow: 1;
	padding-top: 1rem;
	padding-bottom: 1rem;
}
.main-info li,
.service-links a {
	white-space: nowrap;
}
.main-info li {
	font-weight: bold;
}
#info {
	flex: 1;
	align-self: stretch;
	padding-left: 1rem;
}
.social a {
	width: 1.5rem;
	height: 1.5rem;
	margin: 0.2rem 1rem 0.2rem 0;
}
section.social {
	white-space: nowrap;
	flex: 0 0;
	float: right;
	margin-left: auto;
}

mark,
blockquote {
	font-size: 120%;
	background-color: inherit;
	color: inherit;
	display: block;
	text-align: center;
}
mark:before,
blockquote:before {
	content: open-quote;
}
mark:after,
blockquote:after {
	content: close-quote;
}


/* -- Footer styles -- */
footer.main {
	font-size: 0.75rem;
	background-image: url("../images/assets/ribbon-tile.9592bddb005f.png");
	background-position: left top;
	background-repeat: repeat-x;
	background-size: auto 1.5rem;
}
footer section.service-links,
footer section.site-description p {
	max-width: 100%;
	font-size: 1.2rem;
	text-align: center;
	margin: 0.5rem auto 0.5rem auto;
}

footer {
	background-color: #2b282d;
	color: #dbeafb;
}

footer a {
	text-decoration: none;
	font-weight: bold;
	color: #eaeaea;
}
footer a:hover {
	text-decoration: underline;
	text-decoration-style: double;
	background-color: #2b282d;
	font-weight: bold;
}
.footer ul {
	margin-top: 1rem;
	margin-bottom: 1rem;
}
.footer li {
	margin-top: 0.5rem;
}


img.left-sm,
img.right-sm,
img.left,
img.right,
img.full-width {
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0.25rem 0 1rem 0;
}
img.left-sm {
	width: 47%;
	float: left;
	margin-right: 1rem;
}
img.right-sm {
	width: 47%;
	float: right;
	margin-left: 1rem;
}


/* -- Responsive flexbox for main content items
 * Make the display reflow based on the content
 */
.search-grid,
.gallery-container,
main#blog-index,
main#frontpage,
div#content.with-sidebar {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
}
div#content.with-sidebar {
	align-items: flex-start;
}
.with-sidebar main {
	flex: 3 1 32rem;
	padding: 0 0.5rem 0.5rem 0.5rem;
}
section.sidebar {
	flex: 1 1 13rem;
	padding: 0 0.5rem 0.5rem 0.5rem;
	border-left: 1px solid #b3a7b7;
}
.gallery-container header,
#gallery header,
.full,
.feature {
	flex: 0 1 100%;
}
.highlight {
	flex: 1 1 24rem;
}

.sidebar h1 {
	font-size: 1rem;
    color: #222;
}

footer.main {
	margin-top: 0.25rem;
}
#mainmenu,
#main,
footer.main {
	padding-left: 0.25rem;
	padding-right: 0.25rem;
}
div#content {
	margin: 0.25rem;
}


/* -- Blog -- */
.blog-info,
.author,
.author section,
.social,
.icons,
.pager,
.blog-endlinks {
	display: flex;
	font-size: 0.8rem;
}
.blog-endlinks,
section.author {
	flex-direction: column;
	align-self: flex-end;
}
.author section,
.icons {
	flex-direction: row;
	align-items: flex-end;
	padding: 0.2rem;
}
.author p,
.icons p {
	margin: 0.4rem 0 0 0.4rem;
	padding: 0;
}
.blog-info .social {
	justify-content: space-between;
	flex-direction: column;
	align-self: stretch;
	margin-left: auto;
}
.social time {
	display: block;
	margin: 0 6px 0 auto; /* 6px to align with twitter button text */
}
.social .icons {
	align-self: flex-end;
	padding: 0;
	margin-right: 0.2rem;
}
.icons .twitter {
	margin-left: 0.7rem;
}
.author img {
	display: block;
	height: 2rem;
	width: 2rem;
	object-fit: cover;
}
.pager {
	justify-content: space-around;
	padding: 0.8rem 2rem 0.8rem 2rem;
}
.endlinks .pager {
	margin-top: 1rem;
}
.blog-info,
.blog-endlinks {
	box-sizing: border-box;
	width: 100%;
	border-bottom: 1px solid #b3a7b7;
	padding: 0.5rem;
}
.blog-endlinks {
	border-top: 1px solid #b3a7b7;
}
.category {
	font-size: 0.85rem;
	font-weight: bold;
}
.category li,
.pager li,
.social li {
	display: inline;
	font-size: 0.85rem;
	font-weight: bold;
}

/*-- Fix social media button alignment -- */
  /* This gets Facebook to fall into place */
  .icons iframe {
  	vertical-align: middle;
  }
  /* Set an optional width for your button wrappers */
  .icons span {
  	display: inline-block;
  	width: 73px;
  }
  .fb-page, .twitter-follow-button {
  	margin-bottom: 1.5rem;
  }
/*-- End social media fix -- */


/* -- Blog preview cards -- */
h1.articles-header {
	margin-top: 2rem;
}
article.feature,
article.highlight,
article.preview {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
}
article.feature h2,
article.feature h3,
article.feature h4,
article.feature h5 {
	font-size: 1em;
	font-weight: bold;
}
article.feature div, 
article.feature p,
article.highlight div, 
article.highlight p {
	margin: 0;
	padding: 0;
}
.feature img,
.highlight img,
.preview img {
	display: block;
	width:100%;
	height:100%;
	object-fit: cover;
}
.feature section,
.highlight section {
	display: flex;
	flex-direction: column;
	flex: 5 1 9rem;
	padding: 0.5rem 1rem 0.5rem 0.5rem;
}
.feature figure,
.highlight figure {
	flex: 4 1 5rem;
	margin: 0;
	border:0;
	padding:0;
}
.feature h1,
.highlight h1 {
	font-size: 1.2rem;
    color: #222;
	font-weight: bold;
	padding-bottom: 0.5rem;
	border: none;
}
.highlight h1 {
	margin-bottom: 0;
}
a.more {
	display: block;
	text-align: right;
	width: max-content;
	margin-top: auto;
	margin-left: auto;
}
.preview section {
	flex: 5 1 9rem;
	padding: 0.25rem;
}
.preview figure {
	flex: 2 1 3.5rem;
}
.preview img {
	height: auto;
}
.preview p {
	margin: 0;
}

a .preview {
    color: #222;
}

figure,
form,
article.feature,
article.highlight {
	box-sizing: border-box;
	box-shadow: 0 0.15rem 5px rgba(0, 0, 0, 0.2);
	margin: 0.25rem;
}
article.preview {
	font-size: 0.8rem;
	border-bottom: 1px solid #b3a7b7;
	padding: 0.25rem;
}
a > article.preview:hover {
	background-color: #dbeafb;
	border-bottom: 1px solid #b3a7b7;
}
article.active {
	border-bottom: 0.25rem solid #00bbd9;
}

nav.pager {
	flex: 0 1 100%;
}


/* -- Gallery
 * 
 */
.gallery-container {
	justify-content: flex-start;
}
figure {
	margin: 0.5rem;
	display: flex;
	flex-direction: column;
}
figcaption {
	max-width: 300px;
	line-height: 1;
	margin-top: 0.2rem;
	display: flex;
	flex: 1 0 auto;
	flex-direction: column;
}
figcaption section {
	padding: 0.2rem;
	flex: 1 0 auto;
}
figcaption h1 {
	display: inline;
	font-size: 1rem;
	font-weight: bold;
	padding: 0.5rem 0 0 0;
	margin: 0;
	border: 0;
}
figcaption p {
	display: inline;
	font-size: 0.9rem;
}
figure nav.tags,
figure nav.tags * {
	display: inline;
}
figure nav.tags {
	margin-left: auto;
	text-align: right;
	line-height: 1.5;
	padding: 0 0.2rem 0 0;
}
.tags li {
	font-size: 0.8rem;
	font-style: italic;
	display: inline;
}
.tags a:link,
.tags a:visited,
.tags a {
	background-color: #b3a7b7;
	color: #000;
	padding: 0.1rem 0.5rem 0.1rem 0.5rem;
	border-radius: 0.2rem;
	white-space: nowrap;
}
.tags a:hover {
	background-color: #b3a7b7;
	color: #000;
	background-color: #4d4351;
	color: #dbeafb;
}

/* -- Main navigation menus
 * 
 */
.topnav {
	background-color: #713dd6;
	color: #fff;
	box-shadow: 0 0.25rem 5px rgba(0, 0, 0, 0.4);
	z-index: 10;
}
.navjs {
	/* added to the main menu by javascript */
	position: fixed;
}
nav.topnav {
	width: 100%;
	top: 0;
	padding: 0;
}
.topnav ul {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	margin: 0;
}
.topnav li {
	flex: 1 0 6rem;
	text-align: center;
}
header ul, nav ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.topnav a {
	display: block;
	height: 100%;
	margin: 0;
	text-decoration: none;
	font-weight: bold;
	padding: 0.25rem;
	border-bottom: 0.25rem solid #713dd6;
	box-sizing: border-box;
}
.topnav li.active a {
	padding-bottom: 0.25rem;
	border-bottom: 0.25rem solid #00bbd9;
	box-shadow: 0 0.35rem 5px rgba(0, 187, 217, 0.4);
}
.topnav a:link,
.topnav a:visited {
	color: #fff;
}
.topnav a:hover {
	background-color: #0073d8;
	border-bottom: 0.25rem solid #0073d8;
	color: #fff;
}
.topnav li.active a:hover {
}


/* -- Table of contents -- */
ul.toc {
	list-style-type: initial;
}
li.h1 {
	font-size: 1.4rem;
	font-weight: bold;
	margin-left: 0;
}
li.h2 {
	font-size: 1.2rem;
	font-weight: bold;
	margin-left: 1.5rem;
}
li.h3 {
	font-size: 1rem;
	font-weight: bold;
	margin-left: 2.5rem;
}
li.h4 {
	font-size: 1rem;
	font-weight: bold;
	margin-left: 3.5rem;
}
li.h5 {
	font-size: 0.8rem;
	font-weight: normal;
	font-style: italic;
	margin-left: 4.5rem;
}
li.h6 {
	font-size: 0.8rem;
	font-weight: normal;
	font-style: italic;
	margin-left: 5.5rem;
}

/* Disclaimer box */
ul.disclaimer li {
	font-size: 0.8rem;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

/* Forms */
ul.disclaimer,
form {
	width: 90%;
	margin: 0.5rem auto 0.5rem auto;
	border-radius: 0.5em;
	padding: 0.25rem;
	background: #dbeafb;
}
form {
	float: left;
}
fieldset > div {
	margin: 0.25rem;
	padding: 0;
}
fieldset.small-form {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
}
fieldset.small-form div {
	flex: 1 1 12rem;
}
fieldset.small-form div.textarea {
	flex: 1 1 100%;
}
fieldset h2 {
	margin: 0.25rem;
	font-size: 1rem;
	flex: 0 0 100%;
}

fieldset.small-form div.checkbox {
	flex: 1 0 65%;
	margin-right: 1rem;
}
div.checkbox,
div.textarea,
input,
textarea {
	width: 95%;
	display: block;
}
.textarea,
.inputs,
div.checkbox {
	margin-top: 0.5rem;
	display: flex;
	padding: 0.25rem;
}
.inputs {
	margin-left: auto;
}
textarea {
	height: 6rem;
}
input[type=checkbox] {
	display: block;
	align-self: flex-start;
	margin: 0.25rem 0.5rem 0.25rem 0.25rem;
}
div.checkbox-label {
}
label {
	font-weight: bold;
}
p.error,
p.help {
	margin: 0;
	padding: 0;
	font-size: 0.8rem;
}
p.error {
	color: red;
}
input[type=checkbox] {
	width: 2em; /* IE doesn't understand width: unset */
}
input[type=submit],
input[type=button] {
	width: 10rem; /* IE doesn't understand width: unset */
}
input[type=checkbox],
input[type=submit],
input[type=button] {
	width: unset;
}
input[type=submit] {
	align-self: flex-end;
	margin: 1rem 1rem 1rem auto;
	padding: 0.5em 1.8em;
	border-radius: 0.5em;
	font-weight: bold;
	background-color: #713dd6;
	color: #fff;
	box-shadow: 0 0.25rem 20px #713dd6 inset, 0 0 0 0 #713dd6;
	transition: all 150ms ease-in-out;
}
input[type=submit]:hover {
	box-shadow: 0 0.25rem 20px #713dd6;
}
input.secondary[type=submit] {
	background-color: #7e7e7e;
	color: #fff;
	box-shadow: 0 0.25rem 20px #7e7e7e inset, 0 0 0 0 #7e7e7e;
	transition: all 150ms ease-in-out;
}
input.secondary[type=submit]:hover {
	box-shadow: 0 0.25rem 20px #7e7e7e;
}
form a:hover {
	color: #222;
	background-color: #00bbd9;
}

.search-grid {
	width: 100%;
}
form.search-results {
	max-width: 30rem;
}
form.search-form {
	display: flex;
	flex-direction: row;
	margin-left: auto;
	margin-right: 0.25rem;
	align-content: flex-end;
	padding: 0;
	background-color: #713dd6;
	color: #fff;
	width: auto;
	font-size: 1rem;
}
.search-form input[type=text] {
	border-radius: 0.5em 0 0 0.5em;
	border: 0;
	padding-left: 0.5rem;
	flex: 2;
	font-size: 0.8rem;
}
.search-form input[type=submit] {
	align-self: flex-end;
	margin: 0.1rem 0.1rem 0.1rem auto;
	margin: 0 0 0 auto;
	padding: 0.2em 0.8em;
	border-radius: 0 0.5em 0.5em 0;
	border: 0;
	font-weight: bold;
	background-color: #713dd6;
	color: #fff;
	box-shadow: 0 0.25rem 20px #713dd6 inset, 0 0 0 0 #713dd6;
	transition: all 150ms ease-in-out;
	flex: 0;
}


/* Tables */
table {
	max-width: 40rem;
	border-collapse: collapse;
	margin: 1rem auto;
}
thead th {
	background-color: #713dd6;
	color: #fff;
	font-weight: bold;
}
tbody tr:hover {
	background-color: #b3a7b7;
	color: #000;
}
tbody {
	border-top: 1px solid #b3a7b7;
	border-bottom: 1px solid #b3a7b7;
}
th, td {
	text-align: left;
	padding: 0.2rem 1rem;
}
.price {
	text-align: right;
}
.note {
	font-size: 0.8rem;
}
.note:hover, tbody th:hover {
	background-color: #fff;
	color: #000;
}


/* -- Hide the menus
 * correct menus will be shown either by js, or a noscript tag
 */
#mainmenu,
#mobmenu {
	display: none;
}
/* -- Hide extra info not needed on small screens -- */
.feature .extra-summary,
.feature .summary,
.highlight .summary,
a.more,
#info mark,
#info .service-links {
	display: none;
}
#info > section {
	flex-direction: column;
}


@media only screen and (max-height: 400px) {
	header#main img {
		max-height: 30vh;
	}
}
@media only screen and (min-width: 500px) {
	.feature .summary,
	.feature a.more {
		display: block;
	}
}
	
@media only screen and (min-width: 768px) {

	header#main {
		font-size: 1.15rem;
	}
	#info .service-links {
		font-size: 1rem;
	}
	.feature .summary,
	.highlight .summary,
	a.more {
		display: block;
	}

	nav.topnav {
		position: fixed;
	}
	nav#mainmenu {
		display: block;
	}
	#mobsystem {
		display: none;
	}

	header#main h1 {
		width: 9rem;
	}
	footer.main {
		margin-top: 1rem;
	}
	form.search-form {
		/*margin-right: 1rem;*/
	}
	form.search-results {
		max-width: 30rem;
	}
	#mainmenu ul,
	#main,
	footer.main {
		padding-left: 1rem;
		padding-right: 1rem;
	}
	#info {
		padding-left: 1rem;
		flex-direction: row;
	}
	.template-searchresults div#content {
		min-width: 90%;
	}
	div#content {
		max-width: 95%;
		margin-left: auto;
		margin-right: auto;
	}

	img.left-sm,
	img.right-sm {
		width: 28%;
	}
	img.left {
		width: 47%;
		float: left;
		margin-right: 1rem;
	}
	img.right {
		width: 47%;
		float: right;
		margin-left: 1rem;
	}
	img.full-width {
		float: left;
		clear: both;
		margin: 1rem auto 1rem auto;
		padding-top: 1rem;
		padding-bottom: 1rem;
	}

	footer.main {
		padding: 2.5rem 1rem 3rem 1rem;
	}
	footer section.service-links li {
		margin: 0;
		padding: 0;
	}
	footer section.service-links li {
		display: inline;
	}
	section.service-links li+li:before {
		content: "\2014";
		padding-right: 0.5em;
		padding-left: 0;
	}
}

@media only screen and (min-width: 820px) {
	#info .service-links {
		display: block;
	}
	#info > section {
		flex-direction: row;
	}
}

@media only screen and (min-width: 960px) {

	.feature .extra-summary,
	#info mark {
		display: block;
	}
	.footer li {
		margin-top: 0.2rem;
	}

}


@media only screen and (min-width: 1220px) {

	.highlight .summary {
		display: block;
	}

	form.search-results {
		max-width: 30rem;
	}
	#mainmenu ul,
	#main,
	footer.main,
	#info {
		padding-left: 4rem;
		padding-right: 4rem;
	}
	div#content {
		max-width: 70rem;
	}
	div#content.with-sidebar {
		max-width: 80rem;
	}
	.template-gallerypage div#content {
		max-width: 95%;
		padding-left: 4rem;
		padding-right: 4rem;
	}
}


footer form.search-form,
.sidebar form.search-form {
	margin: 0 0.25rem 1rem 0;
}
footer form.search-form {
	float: none;
	max-width: 20rem;
}







/* ---------------- Responsive media --------------*/
/* It's the way I've always done it, probably a better way now!*/
img {
	width: auto;
	max-width: 100%;
}
.fb-comments, .fb-comments span, .fb-comments iframe, iframe {
	width: 100% !important;
}
.video-container {
	position: relative;
	padding-bottom: 56.25%; /* 16/9 aspect ratio */
	padding-top: 30px; /* Video player chrome */
	height: 0; /* causes it to enter layout in IE */
	overflow: hidden;
}

.video-container iframe,  
.video-container object,  
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}



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

/*
 * Hide visually and from screen readers
 */

 .hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap; /* 1 */
}

/*
* Extends the .visuallyhidden class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  white-space: inherit;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

 
/* ==========================================================================
   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,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

 
/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

   @media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        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 {
        white-space: pre-wrap !important;
    }
    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;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}


