/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

@font-face {
  font-family: 'League Spartan';
  src:  url('../fonts/leaguespartan-bold-webfont.woff2') format('woff2'),
        url('../fonts/leaguespartan-bold-webfont.woff') format('woff');
}

html {
  color: #2d2d2d;
  font-size: 1em;
  font-family: 'Proxima Nova', sans-serif;
}

body {
  line-height: 1.6;
}

:root {
  --blue: rgb(47, 166, 248);
  --purple: rgb(64, 37, 109);
  --pink: rgb(209, 42, 124);
  --red: rgb(209, 42, 70);
  --gray: rgb(45, 45, 45);
}

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

/* Set all images to 100%  */

img, .wp-post-image {
  width: 100%;
  height: auto;
}

/* Set float properties for images */

img.alignright { float: right; margin: 0 0 1em 1em; }
img.alignleft { float: left; margin: 0 1em 1em 0; }
img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignright { float: right; }
.alignleft { float: left; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-block-media-text .wp-block-media-text__content { padding: 0; }
.wp-block-media-text .wp-block-media-text__media { padding: 0 40px; }

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

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

/* ==========================================================================
   Text Styles
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'League Spartan', serif;
  text-transform: uppercase;
  font-weight: 700;
}

h1 {
  font-weight: 700;
  font-size: 2.2em;
  margin: 2em 0 0.67em 0;
  color: var(--pink);
}

.first-word {
  color: #2d2d2d;
}

.home-header-text h1 {
  font-size: 3.8em;
  max-width: 570px;
  line-height: 1.4em;
  margin: 0;
  z-index: 100;
  color: #fff;
}

.internal h1 {
  text-align: center;
}

h2 {
  font-size: 1.75em;
  font-weight: 600;
}

.home-header-text h2 {
  color: var(--pink);
  font-family: 'Proxima Nova', sans-serif;
  margin: 16px 0;
  z-index: 100;
  font-size: 2em;
}

.event-text h2 {
  margin: 0;
}

h3 {
  font-size: 1.5em;
}

.internal h3 {
  margin: 1em 0 0;
}

.event-details h3 {
  margin-top: 0;
  margin-bottom: 0;
}

h4 {
  font-size: 1.35em;
  text-transform: none;
}

.internal h4 {
  margin: 1em 0 0;
}

.bio-details h4 {
  margin-top: 0;
}

.take-action-text h4 {
  margin-bottom: 0;
}

.take-action-details h5,
.event-details h5 {
  font-family: 'Proxima Nova', sans-serif;
  font-weight: 600;
  font-size: 1.2em;
  text-transform: uppercase;
  margin: 0;
}

p {
  margin-bottom: 0;
}

p:empty { 
  display: none; 
}

.home-header-text p {
  z-index: 100;
  margin-bottom: 1em;
}

.home-section-one p {
  font-weight: 600;
  font-size: 1.2em;
}

.internal p.btn {
  margin-top: 2em;
}

nav p {
  text-align: center;
  opacity: 0;
  color: #fff;
}

.contact-info {
  margin-top: 50px;
}

.footer-links {
  font-size: 0.7em;
}

nav .footer-links {
  opacity: 0;
}

@media (max-width: 1600px) {

.home-header-text h1 {
  font-size: 3.5em;
  max-width: 525px;
}

}

@media (max-width: 1200px) {

.home-header-text h1 {
  font-size: 2.8em;
  max-width: 400px;
}

.home-header-text h2 {
  font-size: 1.6em;
  margin: 12px 0;
}

}

@media (max-width: 1050px) {

.home-header-text h1 {
  font-size: 2.6em;
  max-width: 400px;
}

.home-header-text h2 {
  font-size: 1.6em;
  margin: 12px 0;
}

}

@media (max-width: 600px) {

h1 {
  font-size: 2em;
}

h2 {
  font-size: 1.75em;
}

h3 {
  font-size: 1.5em;
}

h4 {
  font-size: 1.3em;
}

.home-header-text h1 {
  max-width: 100%;
  text-align: center;
}

.home-header-text h2 {
  margin: 12px 0;
  text-align: center;
}

.home-header-text p {
  text-align: center;
}

}

@media (max-width: 450px) {

.home-header-text h1 {
  font-size: 1.8em;
}

.home-header-text p {
  margin: 0.5em;
}

}

/* ==========================================================================
   Link Styles
   ========================================================================== */

p a {
  color: var(--purple);
}

a.btn,
a.btn:visited,
p.btn a,
p.btn a:visited  {
  padding: 10px 25px;
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  font-size: 1em;
}

a.btn.purple, p.btn.purple a {
  background: var(--purple);
}

a.btn.pink, p.btn.pink a {
  background: var(--pink);
}

a.btn.blue, p.btn.blue a {
  background: var(--blue);
}

a.btn.red, p.btn.red a {
  background: var(--red);
}

a.btn.gray, p.btn.gray a {
  background: var(--gray);
}

.footer-links a {
  color: #2d2d2d;
  text-decoration: underline;
  cursor: pointer;
}

.footer-links a:hover {
  opacity: 0.6;
}

@media (max-width: 600px) {

.home-header-text a,
.home-section-one-text a {
  padding: 10px 0;
  display: block;
}

}


 /* ==========================================================================
   Grid Styles
   ========================================================================== */

.one-col-full {
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
}

.one-col-centered {
  display: grid;
  grid-template-columns: 1fr 1000px 1fr;
}

.centered-text {
  display: grid;
  grid-column-start: 2;
}

.two-col-full {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.two-col-full-content-left {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.two-col-full-content-right {
  display: grid;
  grid-template-columns: 1fr 2fr;
}

.bio-list.two-col-full-content-right {
  grid-template-columns: 1fr 5fr;
  margin-top: 40px;
}

.three-col-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.five-col-full {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.take-action-list {
  margin-top: 40px;
}

.take-action-text,
.event-text {
  display: grid;
  grid-column: 2 / span 2;
}

.take-action-list,
.bio-list {
  grid-gap: 40px;
}

.take-action-hero {
  display: grid;
  grid-column: 4 / span 2;
}

.text-left {
  grid-column: 1 / span 2;
}

.img-right {
  grid-column-start: 3;
}

.content-left {
  grid-column: 2 / span 2;
}

.hero-right {
  grid-column: 4 / span 2;
}

.home-header-text,
.home-section-one-text {
  display: grid;
  align-content: center;
}

.home-header-text {
  grid-column-start: 2;
}

.home-section-two-overlay {
  display: grid;
  grid-column-start: 2;
}

@media (max-width: 1050px) {

.take-action-text,
.event-text {
  grid-column: 1 / span 3;
  padding-left: 20px;
}

.one-col-centered {
  grid-template-columns: 20px 1fr 20px;
}

}

@media (max-width: 768px) {

.home-header-text {
  grid-column: 1 / span 2;
  padding: 20px;
}

.fixed-right {
  display: none;
}

.take-action-text,
.event-text {
  grid-column: 1 / span 5;
  padding-right: 20px;
}

.img-right, .text-left {
  grid-row-start: 1;
  grid-column-start: 1;
  grid-column-end: 4;
}

.text-left {
  grid-row-start: 2;
}

.wp-block-media-text {
  display: block;
}

}

@media (max-width: 600px) {

.take-action-list.two-col-full-content-right,
.bio-list.two-col-full-content-right {
  grid-template-columns: 1fr;
}

}

/* ==========================================================================
   Custom styles
   ========================================================================== */
.home-header {
  width: 100%;
  height: 100vh;
  position: relative;
  color: #fff;
}

.home-header-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  grid-column: 1 / span 2;
}

.home-header-text {
  position: relative;
}

.blue-overlay {
  fill: var(--blue);
}

.purple-overlay {
  fill: var(--purple);
}

.pink-overlay {
  fill: var(--pink);
}

.home-section-one {
  height: 100vh;
  width: 100%;
  position: relative;
  color: #fff;
}

main.home-main-area {
  position: relative;
}

.home-section-one:after,
.home-section-two-overlay:after {
  position: absolute;
  content:"";
  top:0;
  left:0;
  width:100%;
  height:100%;
  opacity:0.5;
  background-color: var(--purple);
}

.home-header-text,
.home-section-one-text {
  height: 100vh;
  padding-left: 60px;
  position: relative;
  z-index: 100;
}

.mission-header {
  position: relative;
  width: 100%;
}

.mission-header img {
  width: 100%;
}

.home-section-one-text {
  max-width: 465px;
  grid-column-start: 2;
}

.home-section-two {
  padding: 287px 0;
  color: #fff;
}

.home-section-two-overlay {
  position: relative;
}

.home-section-two-overlay:after {
  background-color: #000;
  opacity: 0.4;
}

.home-section-two-text {
  padding: 40px;
  text-align: center;
  position: relative;
  z-index: 100;
}

.text-left {
  padding-right: 50px;
}

.img-right {
  padding-top: 100px;
}

.take-action-list {
  margin-bottom: 40px;
}

.fixed-right {
  position: fixed;
  height: 100vh;
  top: 0;
  grid-gap: 50px;
  z-index: -100;
}

.take-action-text,
.event-text {
  padding-top: 3em;
}

.event-details {
  line-height: 1.4;
}

.nav-newsletter-signup {
  width: 85%;
  margin: 30px 15px 10px;
  padding: 3px;
  height: 2em;
  border: none;
}

.nav-newsletter-btn {
  border: none;
  background: var(--blue);
  text-transform: uppercase;
  font-size: 1em;
  padding: 10px 25px;
  color: #fff;
  font-weight: 600;
  margin-left: 15px;
}

.mobile-header {
  position: fixed;
  top: 0;
  background: #1d6599;
  height: 60px;
  text-align: center;
  display: none;
  z-index: 100;
}

.mobile-header img {
  width: 133px;
  height: auto; 
}

footer {
  text-align: center;
  padding-top: 50px;
}


@media (max-width: 1050px) {

.home-section-two {
  padding: 50px 0;
}

.mobile-header {
  display: grid;
  grid-row-start: 1;
  width: 100%;
  grid-column: 1 / span 2;
  z-index: 1000;
}

main.internal {
  margin-top: 60px;
}

.internal-image-header {
  margin-top: 60px;
}

}

@media (max-width: 768px) {

.home-section-one {
  background-position: top right;
}

.text-left {
  padding-right: 0;
}

}

@media (max-width: 600px) {

svg {
  display: none;
}

.home-header-text {
  padding: 0 40px;
}

.home-header-text:after {
  position: absolute;
  content:"";
  top:0;
  left:0;
  width:100%;
  height:100%;
  opacity:0.5;
  background-color: var(--purple);
}

.home-section-one-text {
  padding: 0;
  max-width: 100%;
  text-align: center;
}

}

/* ==========================================================================
   Social Media Icon Menu
   ========================================================================== */

ul.social-icon-menu {
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
  margin-top: 40px;
  opacity: 0;
}

.social-icon-menu li {
  display: inline;
  padding: 0 15px;
}

.social-icon-menu img {
  width: 25px;
  height: 25px;
}

.social-icon-menu li:hover img {
  opacity: 0.6;
}


/* ==========================================================================
   Side Navigation Styles
   ========================================================================== */

nav {
  position: fixed;
  top: 0;
  left: 0;
  background: #1d6599;
  height: 100vh;
  width: 60px;
  transition: width 300ms;
  overflow-x: hidden;
  overflow-y: hidden;
  z-index: 999;
  display: block;
}

nav:hover {
  width: 295px;
  overflow-y: visible;
}

nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

ul.primary-menu {
  width: 295px;
}

ul.primary-menu ul {
  display: none;
}

nav ul.primary-menu ul {
  height: 0;
}

nav:hover ul.primary-menu ul {
  height: auto;
}

ul.primary-menu li {
  padding: 20px 20px 20px 15px;
  border-bottom: 1px solid rgb(300, 300, 300);
  border-bottom: 1px solid rgba(300, 300, 300, 0.3);
  position: relative;
}

ul.primary-menu li.menu-logo-home {
  padding-left: 11px;
}

ul.primary-menu li li {
  border: none;
  padding: 10px;
}

ul.primary-menu li li:last-child {
  padding-bottom: 0;
}

li.toggle-open {
  background: green;
}

ul.primary-menu li a {
  text-decoration: none;
  color: white;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0;
  position: relative;
}

ul.primary-menu li a:hover {
  color: #bfbfbf;
}

ul.primary-menu li.menu-logo-home a {
  display: block;
  width: 40px;
  height: 34px;
  background: url(../img/logo.svg) no-repeat;
  background-size: 133px 34px;
  opacity: 1;
  text-indent: -9999px;
}

nav:hover ul.primary-menu li.menu-logo-home a {
  width: 133px;
}

ul.primary-menu li li a {
  font-weight: 400;
  font-size: 0.9em;
}

nav:hover ul.primary-menu li a,
nav:hover a.btn,
nav:hover input.nav-fields,
nav:hover p.footer-links,
nav:hover p,
nav:hover ul.social-icon-menu {
  opacity: 1;
  transition: opacity .1s linear;
  transition-delay: 200ms;
}

nav:hover a.btn {
  transition: opacity .5s linear;
}

.menu-item-has-children span.expanded-caret {
  transform: rotate(180deg);
}

.menu-item-has-children span {
  position: absolute;
  right: 15px;
  top: 0;
  width: 55px;
  height: 65px;
  background: url(../img/nav-caret.png) no-repeat;
  background-position: center;
  transition: .1s all linear;
}

nav a.btn {
  opacity: 0;
  display: block;
  margin: 15px;
  text-align: center;
}

nav a.btn:hover {
  opacity: 0.8;
}

nav input.nav-fields {
  opacity: 0;
}

.mobile-menu-toggle-checkbox:checked ~ nav {
  margin: 0;
  margin-top: 60px;
}

.mobile-menu-toggle-checkbox:checked ~ label {
  background: url(../img/menu-toggle-close-bg.png);
}

.mobile-menu-toggle-checkbox {
  display: none;
}

.mobile-menu-toggle-label {
  position: fixed;
  top: 20px;
  left: 11px;
  z-index: 1000;
  display: none;
  height: 22px;
  width: 29px;
  background: url(../img/mobile-toggle-bg.png);
}

.mobile-menu-toggle-label span,
.mobile-menu-toggle-label span::before,
.mobile-menu-toggle-label span::after {
  display: block;
  position: relative;
  width: 2em;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.mobile-menu-toggle-label span::before,
.mobile-menu-toggle-label span::after {
  content: '';
  position: absolute;
}

.mobile-menu-toggle-label span::before {
  bottom: 7px;
}

.mobile-menu-toggle-label span::after {
  top: 7px;
}

@media (max-width: 1050px) {

.mobile-menu-toggle-label {
  display: block;
}

nav {
  width: 295px;
  margin-top: 60px;
  margin-left: -295px;
  transition: margin 300ms;
  overflow-y: visible;
}

nav ul.primary-menu li a,
nav a.btn,
nav input.nav-fields,
nav .footer-links,
nav p {
  opacity: 1 !important;
}

nav ul.primary-menu li.menu-logo-home a {
  width: 133px;
}

nav ul.primary-menu li:first-child {
  display: none;
}

nav ul.primary-menu li li:first-child {
  display: block;
}
}

@media (max-width: 450px) {
nav,
nav:hover {
  width: 100vw;
  margin-left: -100vw;
}

ul.primary-menu {
  width: 100vw;
}
}


/*===============================================================
  Resource Hub
===============================================================*/
button.btn.pink {
  background: var(--blue);
  padding: 10px 25px;
  border: none;
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  font-size: 1em;
  margin-right: 10px;
}

.resource-list-heading select {
    color: #2d2d2d;
    padding: 8px 25px;
    font-size: 1em;
    font-weight: 600;
}

.resource-list-wrapper {
  display: grid;
  grid-template-columns: 8fr 4fr;
  grid-gap: 50px;
  margin-top: 50px;
}

.resource-name {
  font-size: 1.2em;
}

.resource-entry p {
  margin-top: 7px;
}

p.resource-contact {
  margin: 0;
}

.resource-url a,
.resource-url a:visited {
  color: var(--blue);
}

.resource-entry {
  margin-bottom: 50px;
}

.add-resource {
  background: #f1f1f1;
  padding-bottom: 25px;
}

.add-resource h4 {
  background: var(--pink);
  text-align: center;
  color: #fff;
  font-family: 'Proxima Nova', sans-serif;
  margin: 0;
  padding: 15px;
}

.add-resource p {
  padding: 0 25px;
  font-weight: bold;
  text-align: center;
}

.add-resource a {
  display: block;
  text-align: center;
}

.list-category-heading {
  margin-top: 50px;
  margin-bottom: 0;
}

.service-type-description {
  margin-bottom: 30px;
}

p.resource-category {
  margin-top: 30px;
}

p.resource-category a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2em;
  width: 40%;
  display: block;
  border: 2px solid var(--blue);
  text-align: center;
  padding: 7px 0;
  float: left;
  margin-left: 30px;
  margin-bottom: 20px;
}

p.resource-category a:visited {
  color: var(--blue);
}

p.resource-category a:hover {
  background: var(--blue);
  color: #fff;
}

@media (max-width: 1020px) {
  .resource-list-wrapper {
    grid-template-columns: 1fr;
    grid-gap: 0;
  }
}

@media (max-width: 500px) {
  p.resource-category a {
    float: none;
    width: 99%;
    margin-left: 0;
  }
  .resource-list-heading button {
    width: 100%;
    margin-bottom: 10px;
  }
  .resource-list-heading select {
    width: 100%;
  }
}

/* End Resource Hub Styles */

#bboxdonation_BBEmbeddedForm {
  font-family: 'Proxima Nova', Helvetica, sans-serif !important;
}

.BBFormContainer {
  font-family: 'Proxima Nova', Helvetica, sans-serif !important;
}

.BBFormSectionHeading {
  font-family: 'League Spartan', 'Proxima Nova', Helvetica, sans-serif !important;
}

.BBFormSubmitbutton,
.BBFormRadioPaymentSelected,
.BBFormRadioPaymentNotSelected,
.BBFormRadioLabelGivingLevel {
  border-radius: 0 !important;
  padding: 10px 25px !important;
  color: #fff !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  font-size: 16px !important;
  box-shadow: none !important;
}

.BBFormRadioLabelGivingLevelNotSelected,
.BBFormRadioPaymentNotSelected {
  color: #414141 !important;
}

nav .BBFormContainer {
  opacity: 0;
}

nav:hover .BBFormContainer {
  opacity: 1;
  transition: opacity .1s linear;
  transition-delay: 200ms;
}

nav .BBFormTextbox:not(:focus) {
  opacity: 1 !important;
}

nav .BBFormTextbox {
  border-radius: 0 !important;
  border: none !important;
  min-height: 30px !important;
  width: 259px !important;
  font-size: 16px !important;
  color: #818181 !important;
}

nav .BBFormTextbox:focus {
  box-shadow: none !important;
}

nav .BBFormContainer {
  padding: 0 15px !important;
}

#bbox-msg-wrapper img {
  display: none;
}

@media (max-width: 1050px) {

nav .BBFormContainer,
ul.social-icon-menu {
  opacity: 1;
}

}

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


