/*
	DWN printer styles
	Compliments other style sheets
*/


/* Hidden Objects */
.hide, #skip-link, #dev-marker, .tabs, #toolbar,
#header .region-header, #mobile-menu-toggle, #main-menu, #mobile-menu,
.field-name-field-related-sections,
.sidebar, footer
{ display:none !important }

/* Content formatting */
a
{ text-decoration:underline }
a.action, a.more
{ text-decoration:none }

/* Layout */
body
{ padding:0 !important; right:0 !important; width:auto !important; position:static !important }

.container
{ width:auto }
#header
{ padding:0 0 2em }

#section-title
{ margin:0; background:transparent none }
#section-title h1
{ margin:0 0 .6em; padding:0; color:#ff6319 }

#content-wrapper
{ margin:0 0 1em }
body.one-sidebar.sidebar-first #content-innerwrapper
{ margin-left:0 }
body.one-sidebar.sidebar-first #content
{ float:none; width:auto }


/* Reset line length on full-width pages */
body.no-sidebars main p,
body.no-sidebars main h3,
body.no-sidebars main h4,
body.no-sidebars main h5,
body.no-sidebars main h6 {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

/* Reset full-width sections */
.edges {
  border-top: 1px solid var(--color-borders);
  page-break-inside: avoid;
  margin: 0;
  padding: 3rem 0;
  background: #fff none !important;
  --color-background: #fff !important;
  --color-text: #000 !important;
  --color-link: #0080a2 !important;
  --color-link-visited: #0080a2 !important;
  --color-link-hover: #0080a2 !important;
  --color-boxes: rgba(60, 60, 0, 0.06) !important;
}
.edges + .edges {
  margin-top: 0;
}


/* -------- Homepage -------- */

#block-views-homepage-carousel-block {
  margin-bottom: 2rem;
}

#home-content > *,
#home-content > *:first-child {
  flex: 1 0 41%;
  paddding: 0;
  border: none;
}
/* Push horizontal rules to center */
#home-content > *:first-child hr,
#home-content > *:last-child hr {
  margin: 2rem 0;
}

#home-content h2 a {
  text-decoration: none;
}


/* -------- Overlays -------- */

.overlay {
  position: static;
  width: auto;
  height: auto;
  background-color: transparent;
  display: block;
  overflow: visible;
  margin: 2rem 2rem 0;
}
.overlay > .overlay-wrapper {
  width: auto;
  max-width: none;
  min-width: auto;
  height: auto !important;
  max-height: none !important;
  min-height: auto;
  box-shadow: none;
}
.overlay .overlay-close-button,
.overlay .overlay-loading {
  display: none;
}

.overlay .overlay-content {
  border: 3px solid #e2e1da;
  padding: 1.5rem;
}
.overlay .overlay-content hr {
  border-top: 2px solid #e2e1da;
}
.overlay .overlay-content h2 {
  margin: 0 0 2rem;
  padding: 0;
  background-color: transparent;
  color: #2c3a3e;
}
.overlay .overlay-content [aria-hidden=true] {
  display: block !important;
}
