/*! HTML5 Boilerplate v9.0.0-RC1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.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
 *
 * 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 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;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

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

/*
 * Hide visually and from screen readers
 */

.hidden,
[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
 */

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

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

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

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

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * 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: "";
  display: table;
}

.clearfix::after {
  clear: both;
}


/* ## Typographical Elements
--------------------------------------------- */

body {
  background: #fff;
  color: #666666;
  font-family: 'Century Gothic';
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.5px;
  margin: 0;
}

body.services {
  font-size: 18px;
}

a,
button,
input:focus,
input[type="button"],
input[type="reset"],
input[type="submit"],
textarea:focus,
.button,
.gallery img {
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  -ms-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}

::-moz-selection {
  background-color: #333;
  color: #fff;
}

::selection {
  background-color: #333;
  color: #fff;
}

a {
  color: #973639;
  text-decoration: none;
}

a:hover {
  color: #973639;
  text-decoration: none;
}

p {
  margin: 0 0 35px;
  padding: 0;
  line-height: 1.8;
}

ol,
ul {
  margin: 0;
  padding: 0;
}

.entry-content ol,
.entry-content ul {
  margin: 0 0 35px 0px;
  line-height: 2;
}

li {
  list-style-type: none;
}

.entry-content ul li{
  margin-left: 25px;
  list-style-type: disc;
  margin-bottom: 10px;
}

.entry-content ul.alpha li{
  list-style-type: lower-alpha;
}

.entry-content ol li{
  margin-left: 25px;
  list-style-type: decimal;
  margin-bottom: 10px;
}

b,
strong {
  font-weight: 700;
}

blockquote,
cite,
em,
i {
  font-style: italic;
}

.alignleft {
  float: left;
  margin: 0 20px 30px 0;
}

.alignleft.clear {
  clear: left;
}

.alignright {
  float: right;
  margin: 0 0px 30px 20px;
}

.alignright.clear {
  clear: right;
}

*,
input[type="search"] {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* ## Headings
--------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #202029;
  line-height: 1.2;
  font-weight: normal;
  margin: 0 0 10px;
}

h1 {
  font-size: 36px;
  margin-bottom: 40px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 22px;
}

h4 {
  font-size: 20px;
}

h5 {
  font-size: 18px;
}

h6 {
  font-size: 16px;
}

#content h1 {
  text-align: center;
}

#content h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

#content h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 30px 0;
}

#content h4 {
  font-size: 24px;
  font-weight: normal;
  text-align: center;
  color: #000;
  margin: 0px 0 40px;
}

.backlink {
  position: absolute;
  right: 0;
  top: 12px;
  font-size: 14px;
}

/* ## Objects
--------------------------------------------- */

embed,
iframe,
img,
object,
video,
.wp-caption {
  max-width: 100%;
}

img {
  height: auto;
}

.featured-content img,
.gallery img {
  width: auto;
}

/* ## Forms
--------------------------------------------- */

input,
select,
tel,
textarea {
  background-color: #e6e6e6;
  border: 1px solid #e6e6e6;
  color: #2d2f2f;
  font-size: 18px;
  font-weight: 300;
  padding: 16px;
  width: 100%;
}

input:focus,
textarea:focus {
  border: 1px solid #999;
  outline: none;
}

input[type="checkbox"],
input[type="image"],
input[type="radio"] {
  width: auto;
}

::-moz-placeholder {
  color: #2d2f2f;
  opacity: 1;
}

::-webkit-input-placeholder {
  color: #2d2f2f;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button {
  background-color: #973639;
  border: 1px solid #973639;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  padding: 16px 33px;
  text-align: center;
  border-radius: 4px;
  width: auto;
}

.entry-content .more-link {
  display: table;
}

button:hover,
input:hover[type="button"],
input:hover[type="reset"],
input:hover[type="submit"],
.button:hover {
  background-color: transparent;
  color: #973639;
  border: 1px solid #973639;
  text-decoration: none;
}

.button {
  display: inline-block;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button {
  display: none;
}

/* ## Tables
--------------------------------------------- */

table {
  border-collapse: collapse;
  border-spacing: 0;
  line-height: 2;
  margin-bottom: 40px;
  width: 100%;
}

tbody {
  border-bottom: 1px solid #ddd;
}

td,
th {
  text-align: left;
}

td {
  border-top: 1px solid #ddd;
  padding: 6px 0;
}

th {
  font-weight: 400;
}

/* ## Column Classes
--------------------------------------------- */
/* Link: http://twitter.github.io/bootstrap/assets/css/bootstrap-responsive.css */

.five-sixths,
.four-sixths,
.one-fourth,
.one-half,
.one-sixth,
.one-third,
.three-fourths,
.three-sixths,
.two-fourths,
.two-sixths,
.two-thirds {
  float: left;
  margin-left: 2.564102564102564%;
}

.one-half,
.three-sixths,
.two-fourths {
  width: 48.717948717948715%;
}

.one-third,
.two-sixths {
  width: 31.623931623931625%;
}

.four-sixths,
.two-thirds {
  width: 65.81196581196582%;
}

.one-fourth {
  width: 23.076923076923077%;
}

.three-fourths {
  width: 74.35897435897436%;
}

.one-sixth {
  width: 14.52991452991453%;
}

.five-sixths {
  width: 82.90598290598291%;
}

.first {
  clear: both;
  margin-left: 0;
}

.wrap  {
    max-width: 1092px;
    margin: 0 auto;
    padding: 0;
}




/* ## Header 
--------------------------------------------- */



.site-header .wrap{
  display: flex;
  max-width: 1334px;
  align-content: space-around;
  padding: 44px 0 16px;
}

#logo{

}

#navigation{
  margin-left: auto;
  padding-top: 64px;
}

#navigation ul{
  display: flex;
  gap: 50px;
  margin-left: auto;
  align-items: center;
  list-style: none;
  list-style-type: none;
}

#navigation ul li a{
  font-size: 18px;
  color: #202029;
  text-decoration: none;
}

#navigation ul li a:hover,
#navigation ul li.current_page_item a{
  color: #973639;
  text-decoration: none;
}

#navigation ul li.button{
  margin-left: 18px;
  gap: 0;
}

#navigation ul li.button a{
  color: #fff;
}

#navigation ul li.button:hover a{
  color: #973639;
}


#main-menu > li > ul {
  opacity: 0;

  visibility: hidden;

  background-color: #fff;

  text-align: left; /* This is for the text when box is dropped down, centered isnt always totally in the middle so best to have on the left */

  position: absolute;

  top: 55px; /* This is for the drop down annimation */

  left: 50%;

  margin-left: -40px;

  width: 200px;

  z-index: 99999;

  -webkit-transition: all 0.3s 0.1s;

  -moz-transition: all 0.3s 0.1s;

  -o-transition: all 0.3s 0.1s;

  transition: all 0.3s 0.1s;
}

#main-menu > li:hover > ul {
  opacity: 1;

  top: 42px; /* This is how far from the top the drop down annimation will go  */

  visibility: visible;
}

#main-menu ul > li {
  position: relative;
  display: block;
  margin: 0;
}

#main-menu ul li a {
  /* This is the drop down menu, change font or size when its drops down */

  color: #96837e;

  font-size: 12px;

  background-color: #fff;

  padding: 10px;

  display: block;

  text-transform: none;

  -webkit-transition: background-color 0.1s;

  -moz-transition: background-color 0.1s;

  -o-transition: background-color 0.1s;

  transition: background-color 0.1s;
}

#main-menu ul li a:hover {
  background-color: #063864;
  color: #96837e;
}

#main-menu ul ul {
  /* In this build i havent included a sub sub menu in, but here is the code if ever needed */

  visibility: hidden;

  opacity: 0;

  position: absolute;

  top: -16px;

  left: 206px; /* This is for a sub sub menu */

  padding: 16px 0 20px 0;

  background-color: rgb(250, 250, 250);

  text-align: left;

  width: 160px;

  -webkit-transition: all 0.3s;

  -moz-transition: all 0.3s;

  -o-transition: all 0.3s;

  transition: all 0.3s;
}

#main-menu ul > li:hover > ul {
  opacity: 1;

  left: 196px;

  visibility: visible;
}

#main-menu ul ul a:hover {
  background-color: #063864;

  color: #96837e;
}

/* Responsive Menu
--------------------------------------------- */

.responsive-menu-icon {
  background-color: transparent;
  cursor: pointer;
  display: none;
}

.responsive-menu-icon::before {
  content: "\f333";
  display: block;
  color: #79797a;
  font: normal 40px/1 "dashicons";
  margin: 0 auto 0;
  text-align: center;
}

.responsive-menu-icon:hover::before {
  color: #063864;
}


/* ## Banner
--------------------------------------------- */

#banner{
  text-align: center;
  padding: 125px 0;
}

#banner .wrap{
  max-width: 640px;
}

#banner .wrap h1{
  font-size: 40px;
  line-height: 1.5;
  max-width: 620px;
  margin: 0 auto 30px;  
  font-weight: normal;
}

#banner .wrap h2{
  font-size: 18px;
  line-height: 2;
  font-weight: normal;
  margin-bottom: 30px;
}

/* ## Home CTA
--------------------------------------------- */

#home-cta .wrap{
  color: #202029;
  padding: 20px 75px 26px;
}

#home-cta .wrap h2{
  font-size: 35px;
  margin-bottom: 20px;
}

#home-cta .wrap p{
  margin-bottom: 20px;
}

#home-cta .author-bio{
  padding: 20px 0 0 90px;
}

/* ## Home Services
--------------------------------------------- */

#home-services{
  text-align: center;
  margin-bottom: 37px;
  background: #f3f3f3;
}

#home-services .wrap{
  display: flex;
  flex-wrap: wrap;
  padding: 50px 130px;
  column-gap: 60px;
}

#home-services .wrap h2{
  text-align: center;
  font-size: 35px;
  margin-bottom: 40px;
  flex-basis: 100%; /* Forces the first item to take the full width */
}

.service-column{
  flex: 1;
  font-size: 17px;
}

a.service-column{
  font-size: 17px;
  color: #202029;
}

a:hover.service-column{
  color: #973639;
}

.service-column img{
  margin-bottom: 20px;
}

.service-column h3{
  font-size: 19px;
  font-weight: bold;
  margin-bottom: 20px;
}



/* ## Home Gallery
--------------------------------------------- */

#home-gallery{
  text-align: center;
  padding: 0 0 37px;
}

#home-gallery .wrap{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

#home-gallery .wrap h2{
  text-align: center;
  font-size: 35px;
  margin-bottom: 20px;
  flex-basis: 100%; /* Forces the first item to take the full width */
}

.gallery-column{
  flex: 1;
}

#home-gallery .button{
  margin-top: 34px;
}


/* ## Inner Pages
--------------------------------------------- */

#content{
  padding: 30px 0;
}


/* # Contact
---------------------------------------------------------------------------------------------------- */


#hideform {
  width: 100%;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.entry-content div.wpcf7-mail-sent-ok {
  text-align: center;
  font-weight: bold;
  border: none;
  padding: 0px;
  font-size: 18px;
  color: #fff;
}

.entry-content div.wpcf7-mail-sent-ok {
  font-size: 18px;
  color: #1e1e1e;
}

.entry-content .wpcf7 {
  margin: 0 auto;
}

#footer-bottom .entry-content .wpcf7 {
  max-width: 100%;
}

.entry-content .wpcf7 input[type="text"],
.entry-content .wpcf7 input[type="tel"],
.entry-content .wpcf7 input[type="email"],
.entry-content .wpcf7 textarea {
  font-family: Arial, Helvetica, sans-serif;
  width: 100%;
  color: #2d2f2f;
  font-size: 18px;
  padding: 25px 20px;
  line-height: 1;
  border: none;
  margin: 0px 0px 22px 0px;
  background: #f0eff5;
}

.entry-content .wpcf7 input[type="text"],
.entry-content .wpcf7 input[type="tel"],
.entry-content .wpcf7 input[type="email"],
.entry-content .wpcf7 textarea {
  background: #f0eff5;
}

.entry-content .wpcf7 textarea {
  height: 179px;
  padding: 30px 20px;
}

#footer-bottom .entry-content .wpcf7 textarea {
  height: 279px;
}

.safari .entry-content.wpcf7 textarea {
  height: 182px;
}

.safari #footer-bottom .entry-content .wpcf7 textarea {
  height: 282px;
}

.entry-content .wpcf7 .contact-bottom {
  text-align: center;
}


.entry-content .wpcf7 input[type="submit"] {
  width: 260px;
  font-size: 18px;
  color: #e7e7e7;
  line-height: 1;
  padding: 16px;
  border: none;
  background: #973639;
  border: 1px solid #973639;
}

.entry-content .wpcf7 input[type="submit"]:hover {
  color: #973639;
  background: #fff;
}

.entry-content .wpcf7 input.wpcf7-not-valid,
.entry-content .wpcf7 textarea.wpcf7-not-valid {
  border: 1px solid #dc3232;
}

.entry-content .wpcf7 .wpcf7-not-valid-tip {
  font-size: 0.8em;
  margin-top: -15px !important;
  margin-bottom: 10px !important;
}

.entry-content .wpcf7 form .wpcf7-response-output {
  text-align: center;
  padding: 1em !important;
  border: none !important;
  color: #973639 !important;
  margin-top: 100px;
}

.entry-content .wpcf7 form .wpcf7-mail-sent-ok{
  border: none !important;
  color: #973639 !important;
  font-size: 18px !important;
  text-align: center !important;
}

/*#scrollUp {
  width: 49px;
  height: 49px;
  bottom: 20px;
  right: 20px;
  background: url(../images/arrow.png) no-repeat;
  background-size: 49px;
}*/


.cycle-slideshow {
    transition: height 0.5s ease;
    overflow: hidden; /* Prevents text bleeding out during the move */
}


/* ## Footer
--------------------------------------------- */

#footer-cta .wrap{
  font-size: 25px;
  color: #4a4d50;
  text-align: center;
  font-style: italic;
  padding: 70px 140px 40px;
  margin-bottom: 60px;
  background: #f3f3f3;
}

#footer-cta .wrap p{
  line-height: 1.5;
  margin-bottom: 30px;
}

#footer-cta .wrap p:last-of-type{
  color: #c9902d;
  margin-bottom: 0;
}

/* ## Footer
--------------------------------------------- */

.site-footer{
  color: #36363d;
  font-size: 14px;
  padding: 42px 0 35px 0;
  text-align: center;
  background: #f3f3f3;
}

.site-footer p:last-of-type{
  margin-bottom: 0;
}






/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */


@media only screen and (max-width: 1336px) {

.site-header .wrap,
.wrap{
  padding-left: 5%;
  padding-right: 5%;
}

#navigation ul{
  gap: 25px;
}

#navigation ul li.button{
  margin-left: 0;
}

#banner {
  text-align: center;
  padding: 60px 0;
}

#banner .wrap h1{
  font-size: 30px;
}

#home-services .wrap {
  padding: 30px;
  column-gap: 30px;
}

}

@media only screen and (max-width: 1200px) {

.site-header .wrap{
  flex-direction: row; /* Forces items to sit side-by-side */
    flex-wrap: wrap;
}

#logo{
  display: flex;
  flex: 100%;
  justify-content: center;
}

#navigation{
  width: 100%;
  padding-top: 30px;
  margin-left: 0;
  text-align: center;
}

#navigation ul{
justify-content: center; /* This centers the items horizontally */
}

#navigation ul li {
  margin: 0;
  display: flex; /* Ensures the LI itself doesn't add weird spacing */
}

#home-cta .wrap,
#footer-cta .wrap{
  padding-left: 5%;
  padding-right: 5%;
}

#footer-cta .wrap{
  margin-bottom: 37px;
}

#home-cta .author-bio {
  padding: 20px 0 0 0px;
}

}


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

  #navigation{
    padding-top: 0;
  }

  #navigation .button{
    padding: 0;
  }

  #main-menu > li > ul {
    width: 100%;
    margin-left: -50%;
  }

  #logo img{
    max-width: 145px;
  }

  #navigation{
    margin-top: 32px;
  }

   #navigation ul {
    gap: 14px;
  }

  #navigation ul li a {
  font-size: 11px;
}

 #navigation ul li:first-of-type{
  display: none;
 }

 #navigation ul li.button{
    background: none;
    border: none;
    border-radius: 0;
  }
  
#navigation ul li.button a{
    color: #1d1e24;
  }

#navigation ul li.button a:hover,
#navigation ul li.button:hover a,
#navigation ul li li.button.current_page_item a{
    color: #883034;
  }

  /*#navigation.responsive-menu > .menu-item > .sub-menu,
  #navigation.responsive-menu {
    display: none;
  }

  .responsive-menu-icon{
    margin-top: 20px;
  }

  #navigation ul.responsive-menu .menu-item,
  .responsive-menu-icon {
    display: block;    
    width: 100%;
    text-align: center;
  }

  #navigation.responsive-menu {
    background: #973639;
  }

  #navigation ul.responsive-menu .menu-item:hover {
    position: static;
  }

  #navigation.responsive-menu li a,
  #navigation.responsive-menu li.current_page_item a,
  #navigation.responsive-menu li a:hover,
  #navigation .button a,
  #navigation .button:hover a {
    border: none;
    color: #fff;
    text-align: center;
    border-bottom: none;
    display: block;
    line-height: 1;
    padding: 10px;
  }

   #navigation .button a:hover{
    color: #fff !important;
   }

  #navigation.responsive-menu .menu-item-has-children {
    cursor: pointer;
  }

  #navigation.responsive-menu .menu-item-has-children > a {
    margin-right: 60px;
  }

  #navigation ul{
    display: block;
  }

  #navigation ul li {
    display: block;
    border: none;
    min-height: 20px;
    max-width: 100%;
    width: 100%;
    margin-left: 0;
  }

  #navigation li a {
    max-width: 100%;
    width: 100%;
    min-height: 20px;
    font-size: 16px;
    text-align: left;
  }

  #navigation.responsive-menu > .menu-item-has-children:before {
    content: "\f140";
    float: right;
    font: normal 20px/1 "dashicons";
    height: 20px;
    padding: 12px 20px;
    right: 0;
    text-align: right;
    z-index: 9999;
  }

  #navigation.responsive-menu .menu-open.menu-item-has-children:before {
    content: "\f142";
  }

  #navigation.responsive-menu .sub-menu {
    display: none;
    background-color: #d1d1d1;
    border: none;
    left: auto;
    opacity: 1;
    padding-left: 20px;
    position: relative;
    width: 100%;
    z-index: 99;
  }

  #navigation.responsive-menu .sub-menu .sub-menu {
    margin: 0;
    -webkit-transition: height 0s;
    -moz-transition: height 0s;
    -ms-transition: height 0s;
    -o-transition: height 0s;
    transition: height 0s;
  }

  #navigation.responsive-menu .sub-menu li a,
  #navigation.responsive-menu .sub-menu li a:hover {
    padding: 12px 16px;
    position: relative;
    text-transform: none;
    width: 100%;
  }

  #navigation.responsive-menu .sub-menu li a {
    background: #973639;
  }*/


  #home-cta .wrap{
    text-align: center;
  }

  #home-services .wrap,
  #home-gallery .wrap {
  flex-direction: row; /* Forces items to sit side-by-side */
    flex-wrap: wrap;
  }

  .service-column,
  .gallery-column {
  flex: 100%;
}

#footer-cta .wrap {
  font-size: 20px;
}



  .five-sixths,
  .four-sixths,
  .one-fourth,
  .one-half,
  .one-sixth,
  .one-third,
  .three-fourths,
  .three-sixths,
  .two-fourths,
  .two-sixths,
  .two-thirds {
    margin: 0 0 40px 0;
    width: 100%;
  }

  #hideform .one-half{
    margin: 0;
  }


}





@media only screen and (max-width: 720px) {

  .wp-block-image .alignright{
  float: none !important;
  margin-left: 0 !important;
}

.wp-block-image .alignleft{
  float: none !important;
  margin-right: 0 !important;
}


}

@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: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    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;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

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

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

