/*
Theme Name: US-Mint
Theme URI: https://github.com/grayghostvisuals/WP-Flex
Description: The theme for the US Mint's homepage (usmint.gov)

Author: Mario Hendricks, Lockheed Martin

Version: 1.0.0

License: GNU General Public License v3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license entitled "GNU Free Documentation License" can be
found at http://www.gnu.org/licenses/fdl-1.3-standalone.html

This stylesheet contains styles that should be used when the width of the viewport 
Is between 920 and 1000

*/


/*
* The Wordpress CSS Codex
* http://codex.wordpress.org/CSS_Coding_Standards
* http://make.wordpress.org/core/handbook/coding-standards/css/
*
* REMINDERS
* -Use lowercase and separate words with hyphens when naming selectors. Avoid camelcase and underscores
* -Prefixed vendor-specific properties pairs should appear directly before the generic property they refer to
*
*/


/* =============================================================================
   Responsive Embedded Media
   ========================================================================== */

img,
object,
video {
  max-width: 100%;
  height: auto;
}


/* =============================================================================
  Required WordPress Styles
  * @since 1.0.6
  * Generated Core Classes
  * Each Theme should have these or similar styles in its style.css file
  * in order to display images and captions properly.
  * http://codex.wordpress.org/CSS#WordPress_Generated_Classes
  ========================================================================== */

.sticky {}

.alignnone {
  clear: both;
  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 {
  clear: both;
  display: block;
  margin: 5px auto 5px 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;
}

.gallery-caption {}

/*
* stops multiple categories from breaking the layout
*/
.entry-tags-list li,
.entry-categories-list li {
  display: inline-block;
}

/* by post author styling */
.bypostauthor {}


/* =============================================================================
   WordPress Generated - Extra Styling Classes for Authors
   ========================================================================== */

/* Fluid Images For Wordpress */
img[class*="align"],
img[class*="wp-image-"] {
  height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}

.wp-caption,
.wp-caption img {
  max-width: 100%;
}

img.size-full {
  max-width: 100%;
  width: auto; /* Prevent stretching of full-size images with height and width attributes in IE8 */
}

/* WP Breadcrumb Styles */
.cat-item {}
.cat-item.current-cat {}

.cat-item a:hover {}
.cat-item.current-cat a:hover {}

.cat-item a {}
.cat-item.current-cat a {}

/* WP Smiley */
.entry-content img.wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* WP widget styling */
.widget {}

/* WP Footer Search Widget Input */
#s {
  width: 100%;
}

/* WP Post Thumbnails */
.wp-post-image {}
.attachment-thumbnail {}
.attachment-medium {}
.attachment-large {}
.attachment-full {}

/* WP 404 Errors */
.error404 {}

/* WP Page Content */
.more-link {}
.posttitle {}


/* =============================================================================
   US Mint Custom Styles - General, site-wide styles
   ========================================================================== */

.press-release-image {
  float: right;
  margin-top: 16px;  /* This gives the image the same top margin as the p next to it. */
  max-width: 45%;    /* This is in relation to the parent container */
}

/* =============================================================================
   US Mint Custom Styles
   ========================================================================== */

/* The rules here should probably be in large (or medium) screen.css and then the deltas go here. */

#skipNav {
  background-color: #aaa;
  border: 3px solid #000;
  display: block;
  font-family: 'Montserrat', arial, helvetica, sans-serif;
  font-weight: bold;
  line-height: 25px;
  margin: 15px;
  padding: 25px;
  position: absolute;
  top: -100px;
  z-index: 9999;
}

#topNavContainer {
  height: 265px;
  max-height: 265px;
  background-image: url("/wordpress/wp-content/themes/us-mint/img/bg.png");
  background-repeat: repeat-x;
}

#topNav {
  height: 185px;
  margin: 0 auto;
  position: relative;
  max-width: 1180px;
  background-image: url("/wordpress/wp-content/themes/us-mint/img/flag-header.jpg");
  background-repeat: no-repeat;
  font-size: 14px;
}

header {
  height: auto;
}

#mobileTopNavAnnouncement {
  display: none;
}

#header-image {
  float: left;
  margin-top: 52px;
  margin-left: 17px;
  max-width: 400px;
  max-height: 100px;
}

#header-image #image-container {
  float: left;
  background: url(/wordpress/wp-content/themes/us-mint/img/360x70_USMintLogo.png) no-repeat scroll 0 0 transparent;
  height: 70px;
  width: 360px;
}

#topNavRight {
  min-width: 42.9%;
  max-width: 50%;
  display: block;
  float: right;
  color: #fff;
}

#topNavRightMenu {
  border-bottom: 1px solid #878787;
  float: right;
  width: 500px;
  margin: 0 14px 0 0;
  padding: 4px 0 10px 2px;
  height: 26px;
}

#topNavRightMenu ul {
  padding: 0;
  font-size: 0.9em;
}

#topNavRight li:first-of-type {
  padding: 0 0 0 0;
}


#topNavRight li {
  list-style: none outside none;
  float: left;
  padding: 0 0 0 10px;
}

/* This selector displays a small vertical line after each menu item */
#topNavRight li:after {
  content: ' ';
  background: none repeat scroll 0 0 #878787;
  float: right;
  height: 16px;
  margin: 3px 0 0 10px;
  width: 1px;
}

/* This selector removes the vertical line after the last menu item */
#topNavRight li:last-of-type:after {
  display: none;
  visibility: hidden;
}

#topNavRight a {
  color: #fff;
  text-decoration: none;
}

#topNavRight a:hover, #topNavRight a:focus, #topNavRight a:active {
  color: #fde8a2;
  text-decoration: none;
}

#topNavAnnouncement {
  margin: 10px 14px 0 0;
  width: 500px;
  height: 100px;
  float: right;
}

#main-content {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}

#skipNav:focus {
  left: 25px;
  top: 15px;
}

#navigation {
  max-width: 1180px;
  margin: -24px auto 0;
  clear: left;
  height: 98px;
  background: transparent; 
  display: block;
}

#navigation nav {
  position: relative;
  top: 14px;
}

nav {
  display: block;
  border-radius: 4px;
  width: 99%;
  margin: 0 auto;
}

#show-menu {
  display: none;
}

#show-search {
  display: none;
}

#navigation .menu-navigation-container {
  display: block;
  width: 100%;
  max-width: 1180px;
  z-index: 3;
  top: 10px;
}

nav ul.level-1 {
  background: #0b4470;
  border-radius: 4px 4px 0 0;
  float: left;
  padding: 0;
  height: 49px;
  position: relative;
  box-shadow: none;
}

/* This is needed to reset the base style so that the absolute positioning of the Level 2 elements is in relation
   To the Level-1 UL and not the specific list item. */
nav ul.level-1>li {
  position: static;
}

/* Sets the spacing between each level 1 menu item */
ul.level-1 li {
  float: left;
  height: 100%;
  padding: 17px 1.7% 0 1.7%;
}

/* Indents the first level 1 menu item */
ul.level-1>li:first-child {
  margin-left: 35px;
  padding-left: 0;
}

ul.level-1>li:first-child>a {
  color: #fde8a2;
}

ul.level-1>li>a {
  border: none;
  padding: 0;
}

/* Shows the white arrow for the Level 2 menu */
ul.level-1>li>.arrow {
  background: url(/wordpress/wp-content/themes/us-mint/img/white-arrow.png) no-repeat;
  margin: 0 auto -6px;
  position: relative;
  top: 10px;
  width: 14px;
  height: 6px;
  display: block;
}

.level-1>li>.show-sub-menu {
  display: none;
}

ul.level-1>li>ul.level-2 {
  display: block;
  z-index: 2;
  box-shadow: 0 3px 5px -3px #111;
  border-radius: 0 0 4px 4px;
  margin: 0;
  position: absolute;
  left: 0;
  top: 49px;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* This hides the Level-2 menus for Learn, Newsroom, and About */
ul.level-1>li>ul.hidden-menu {
  display: none;
}

/* Formatting for level 2 menu items. We need the second rule to override a rule in base-styles.css */
ul.level-1>li>ul.level-2>li, ul.level-1>li>ul.level-2>li.shop-by-menu {
  float: left;
  height: 100%;
  padding: 0;
  border-bottom: none;
}

/* Extra left-padding for the first Level 2 sub-menu item */
ul.level-1>li>ul.level-2>li:first-of-type {
  padding-left: 16px;
}

ul.level-1 ul.level-2>li:nth-of-type(10n+1) {
  width: 70px;
}

ul.level-1 ul.level-2>li:nth-of-type(10n+2) {
  width: 110px;
}

ul.level-1 ul.level-2>li:nth-of-type(10n+3) {
  width: 65px;
}

ul.level-1 ul.level-2>li:nth-of-type(10n+4) {
  width: 145px;
}

ul.level-1 ul.level-2>li:nth-of-type(10n+5) {
  width: 140px;
}

ul.level-1 ul.level-2>li:nth-of-type(10n+6) {
  width: 65px;
}


ul.level-1 ul.level-2 li:nth-of-type(10n+7) {
  width: 20px;
}

@media screen and (max-width: 1000px) and (min-width: 991px) {
  ul.level-1 ul.level-2 li:nth-of-type(10n+7) {
    width: 70px;
  }
}

@media screen and (max-width: 990px) and (min-width: 981px) {
  ul.level-1 ul.level-2 li:nth-of-type(10n+7) {
    width: 60px;
  }
}

@media screen and (max-width: 980px) and (min-width: 971px) {
  ul.level-1 ul.level-2 li:nth-of-type(10n+7) {
    width: 50px;
  }
}

@media screen and (max-width: 970px) and (min-width: 961px) {
  ul.level-1 ul.level-2 li:nth-of-type(10n+7) {
    width: 40px;
  }
}

@media screen and (max-width: 960px) and (min-width: 951px) {
  ul.level-1 ul.level-2 li:nth-of-type(10n+7) {
    width: 30px;
  }
}

@media screen and (max-width: 950px) and (min-width: 931px) {
  ul.level-1 ul.level-2 li:nth-of-type(10n+7) {
    width: 15px;
  }
}

ul.level-1 ul.level-2 li:nth-of-type(10n+9) {
  margin-left: 1%;
  width: 130px;
}

ul.level-1 ul.level-2 li:nth-of-type(10n+10) {
  width: 120px;
}


/*
ul.level-1 #shop-by-menus {
  float: right;
  height: 100%;
  width: 35%;
}
*/

ul.level-1>li>ul.level-2>li>a {
  color: #000;
  font-size: 12px;
  line-height: 50px;
  padding: 0 8px;
  text-align: center;
}

/* This rule colors the background and changes the font color of the currently selected Level 2 Menu */
ul.level-1>li>ul.level-2>li>a:hover, ul.level-1>li>ul.level-2>li:hover>a,
ul.level-1>li>ul.level-2>li>a:focus {
  background: #d8e7f3;
  color: #0b4470;
  text-decoration: none;
}

/* This rule shows the level 3 menu and corresponding arrow on hover and focus */
ul.level-1 ul.level-2>li:hover ul.level-3, ul.level-1 ul.level-2>li:hover .arrow,
ul.level-1 ul.level-2>li>a:focus~.level-3, ul.level-1 ul.level-2>li>a:focus+.arrow {
  display: block;
}

ul.level-2 li .arrow {
  background: url(/wordpress/wp-content/themes/us-mint/img/blue-arrow.png) no-repeat;  
  margin: 0 auto -6px;
  position: relative;
  top: -6px;
  width: 13px;
  height: 6px;
  z-index: 1000;
  display: none;
}

/* Formatting for level-3 menus. Inherits display: none from base styles */
ul.level-1 ul.level-2 ul.level-3 {
  border-radius: 4px;
  border-top: 3px solid #0b4470;
  box-shadow: 0 3px 9px -1px #ccc;
  position: absolute;
  top: 49px;
  width: 15%;
  min-height: 220px;
  z-index: 999;
  padding: 12px 160px 12px 20px;
  background: #fff;
  background-repeat: no-repeat;
  background-position: 90% 50%;
}

/* The following can be used to customize the various Level-3 (shopping) menus */
ul.level-1 ul.level-2>li:nth-of-type(10n+1) ul {
  background-image: url("/wordpress/wp-content/themes/us-mint/img/menu-images/coins_menu.png");
}

ul.level-1 ul.level-2>li:nth-of-type(10n+2) ul {
  background-image: url(/wordpress/wp-content/themes/us-mint/img/menu-images/coin-programs-menu.png);
}

ul.level-1 ul.level-2>li:nth-of-type(10n+3) ul {
  background-image: url(/wordpress/wp-content/themes/us-mint/img/menu-images/medals-menu.jpg);
}

ul.level-1 ul.level-2>li:nth-of-type(10n+4) ul {
  background-image: url(/wordpress/wp-content/themes/us-mint/img/menu-images/product-enrollment-menu.jpg);
}

ul.level-1 ul.level-2>li:nth-of-type(10n+5) ul {
  background-image: url(/wordpress/wp-content/themes/us-mint/img/menu-images/storage-and-display-menu.jpg);
}

ul.level-1 ul.level-2>li:nth-of-type(10n+6) ul {
  background-image: url(/wordpress/wp-content/themes/us-mint/img/menu-images/featured-menu.png);
}

ul.level-1 ul.level-2 li:nth-of-type(10n+9) ul {
  background-image: url(/wordpress/wp-content/themes/us-mint/img/menu-images/interests-menu.jpg);
  background-position: 10% 50%;
}

ul.level-1 ul.level-2 li:nth-of-type(10n+10) ul {
  background-image: url(/wordpress/wp-content/themes/us-mint/img/menu-images/gift-ideas-menu.png);
  background-position: 10% 50%;
}

ul.level-1 ul.level-2 ul.level-3 li {
  float: none;
  padding: 3px 5px;
  width: auto;
}

a.level-2:focus + .level-3-menu {
  display:block;
}

ul.level-1 ul.level-2 ul.level-3 li a {
  color: #000;
  font-size: 12px;
  letter-spacing: 0;
  margin: 5px 0 10px 0;
  text-transform: none;
}

/* This shows an underline on the level 3 menu items when hovering over them */
ul.level-1 ul.level-2 ul.level-3 li a:hover {
  color: #b31e19;
  text-decoration: underline;
}

#shop-by-label {
  display: none;
}

/* This style sets the background for the (level-2) Heading for the Gift Ideas and Interests menus */
ul.level-1 ul.level-2 li.shop-by-menu>a:hover, 
ul.level-1 ul.level-2 li.shop-by-menu:hover>a,
ul.level-1 ul.level-2 li.shop-by-menu>a:focus {
  background-repeat: no-repeat;
  background-position: 18px -10px;
  background-color: #a31b16;
  color:#fff;
  cursor:pointer;
}

/* Formatting for the Shop-By menus that is different from the other level-3 menus */
ul.level-1 ul.level-2 li.shop-by-menu ul {
  border-top: 3px solid #d62923;
  right: 0;
  width: 15%;
}

/* Show a red arrow for the menu on hover. The rest of the properties are inherited */
ul.level-2 li.shop-by-menu:hover .arrow, ul.level-2>li.shop-by-menu>a:focus+.arrow {
  background: url(/wordpress/wp-content/themes/us-mint/img/red-arrow.png) no-repeat;
}

/* Formatting of the Gift Ideas and Interests Level 3 menu contents */
ul.level-1 ul.level-2 li.shop-by-menu ul {
  float: right;
  padding: 12px 0 0 170px;
}

ul.level-1 ul.level-2 li.shop-by-menu>a {
  margin-left: 0;
  padding-right: 10px;
}

div#search-container {
  top: 10px;
  right: 0;
  padding: 0;
  position: absolute;
  width: 38%;
  display: block;
  z-index: 3;
  background-color: transparent;
}

#search-container form {
  position: absolute; 
  padding: 8px 4px 0 0;
  top: 0;
  right: 0;
}

#search-container fieldset {
  top: 0;
}

#search-container .search-field {
  width: 240px;
}

#search-container .search-button {
  background: url(/wordpress/wp-content/themes/us-mint/img/icon-search.png) no-repeat scroll center center;
  background-color: #d62923;
  width: 34px;
}

/* This visually hides the search button text for this screen size */
#search-container .search-button-text {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}


/******************************************************
 This section contains styles for the front-page body
*******************************************************/

.half-width {
  min-height: 150px;
}

.third-width {
  width: 32%;
  margin: 1% 0 1% 0;
  padding: 0;
  float: left;
}

#feature-1, #feature-4 {
  margin-right: 2%;
}

#feature-3, #feature-6 {
  float: right;
}

/* In medium screen and larger, the badges display above the features (bottom badges are hidden) */
#left-badge {
  display: block;
  visibility: visible;
}

#right-badge {
  display: block;
  visibility: visible;
}

#left-badge-bottom {
  display: none;
  visibility: hidden;
}

#right-badge-bottom {
  display: none;
  visibility: hidden;
}

/*************************************
/ Format the Features boxes         */

.front-page-block a {
  border: 2px solid #ddd;
  display: block;  
  text-decoration: none;
}

.front-page-block a:focus, .front-page-block a:active {
  border: 2px solid #00d;
}

.third-width .content-title {
  margin-bottom: .3em;
}

.third-width .feature-info-pre {
  display: block;
  visibility: visible;
  float: none;
  height: 75px;
}

.third-width .feature-info-post {
  display: none;
  visibility: hidden;
}


.third-width img {
  float: none;
  width: 100%;
  padding: 0;
}

.third-width .caption {
  float: none;
}

.third-width:after {
  clear: none;
}


/******************************************************
 This section contains styles for single pages
*******************************************************/

#menu-sidebar {
  display: block;
  width: 18%;
  float: left;
  font-weight: bold;
  margin: 0;
  padding: 10px 20px 10px 10px;
  line-height: 100%;
  box-sizing: border-box;
}

/* When the menu is not active, don't show it. */
.inactive-menu#menu-sidebar {
  width: 0%;
  display: none;
  padding: 0;
}

#menu-sidebar ul {
  margin: 0;
  padding: 0;
}

#menu-sidebar li {
  font-size: 0.9em;
  list-style: none;
  padding: 1em 2px 1em 1.5em;
  border-bottom: 1px #ccc solid;
}

#menu-sidebar li:first-of-type {
  font-size: 1.1em;
  padding: 1em 2px 1em 0;
}

#menu-sidebar a {
  color: #0b4470;
  text-decoration: none;
  font-family: 'Montserrat', arial, helvetica, sans-serif;
}

#menu-sidebar li:first-of-type a {
  color: #333;
}

/* The width of the primary container when the left navigation and right widget area are displayed. */
#primary-container main {
  width: 57%;
  float: left;
  box-sizing: border-box;
}

/* The width of the primary container when only the right-hand widget area is displayed.  */
#primary-container main.med-content {
  width: 75%;
}

/* The width of the primary container when only the left navigation is displayed.  */
#primary-container main.wide-content {
  width: 82%;
}

/* The width of the primary container when the left navigation and widget area are hidden. */
#primary-container main.full-width {
  width: 100%;
}

#widget-sidebar {
  width: 25%;
  float: left;
  padding: 10px;
  box-sizing: border-box;
}

/********************************************************
 This section contains styles for coins and medals pages
*********************************************************/

#primary-container main.coins-and-medals {
  width: 75%;
}

div#coin-medal-images {
  float: left;
  width: 35%;
  box-sizing: border-box;
  margin-right: 20px;
}

/* Center the image vertically within the container */
div#coin-medal-images>img {
  margin: auto;
  display: block;
}

div#primary-info {
  float: left;
  width: 60%;
  box-sizing: border-box;
}

/********************************************
 This section contains styles for attachment pages
*********************************************/

#primary-container main.attachment-page {
  width: 80%;
  margin: auto;
  float: none;
}


/********************************************************
 This section contains misc styles
*********************************************************/

#primary-container main.results-listing {
  width: 75%;
}

div#actions {
  margin: 1em 0;
  text-align: center;
}

/********************************************
 This section contains styles for the footer  
*********************************************/

div#footer {
  text-align: left;
  color: #0b4470;
}

#footer #utility-bar {
  border-radius: 4px;
  height: 70px;
  width: 100%;
  text-align: left;
  margin: 0 auto 20px auto;
}

#footer #social {
  display: inline-block;
  width: 45%;
  height: auto;
  color: #fff;
  float: right;
  border: none;
  margin-right: 1.4em;
}

#social>a {
  margin: 0 0 0 4%;
  padding-top: 20px;
  font-family: sans-serif;
  font-size: 27px;
  color: #fff;
}

#social ul {
  float: right;
}

#footer #email-signup {
  margin: 0;
  padding: 0;
  display: inline-block;
  width: 52%;
  text-align: left;
  float: left;
}

#email-signup-footer {
  padding: 19px 0 0 0;
}

#footer label {
  line-height: 1.1em;
  margin: 0 2% 0 2%;
  width: 30%;
  color: #fff;
  float: left;
}

#email-address-footer {
  width: 35%;
  border-radius: 5px 0 0 5px;
  padding: 0 0 0 10px;
  margin: 0;
}

#footer #email-submit-button {
  border-radius: 0 5px 5px 0;
  font-size: 14px;
  width: 116px;
  margin: 0 0 0 -7px;
}

#nav-footer {
  padding: 1.4em 0 0 0;
  font-size: 12px;
  clear: left;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
}

#nav-footer ul {
  width: auto;
  padding: 0 0 0 20px;
}

.show-footer-sub-menu {
  display: none;
}

#nav-footer .footer-menu {
  float: left;
  width: 12.7%;
  padding: 0 0 0 20px;
}

#nav-footer .footer-menu:first-of-type {
  width: 17%;
  padding: 0;
}

#nav-footer .footer-menu:nth-of-type(2) {
  width: 17%;
  padding: 0 0 0 20px;
}

#nav-footer li {
  float: none;
  padding: .5em 0 .1em;
  display: list-item;
  height: auto;
  border: none;
  font-size: 1.0em;
  background: transparent;
}

#nav-footer li:first-of-type {
  font-size: 1.35em;
  padding: .5em 0 .2em;
}

#legal-footer-wrapper {
  margin: 3em 0 0;
}

#legal-footer ul {
  float: left;
  width: 55%;
  margin: 22px 0 22px 0;
  padding: 0 1.5em 0 1em;
  text-align: left;
}

#legal-footer li {
  display: inline;
  padding: 0 1.8em 0 0;
}

#legal-footer p {
  margin: 1.8em 2.1em 0 0;
  background: url("/wordpress/wp-content/themes/us-mint/img/USTreasurySeal.gif") no-repeat right 0;
  text-align: right;
  height: 42px;
  padding: .5em 48px 0 0;
  float: right;
  width: 30%;
}

dl dt {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.2;
}
dl dd {
  margin: 0 0 10px 0;
  font-size: 14px;
  line-height: 1.4;
  color: #666;
}

.nav-list {
  margin: 0;
  padding: 0;
}

.post {
  width: 100%;
  box-sizing: border-box;
}

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