/*
	ISBA printer styles
*/


/* --------------- Hidden objects --------------- */

.hide, .no-print,
.header-links,
.header-mobile, /* Mobile menu */
.header-full .sticky-shim, /* Sticky main menu */
nav,
.menu-toggle,
.sidebar,
.primary, .secondary,
.messages,
.comment-form,
.page-cover,
.inline-search,
a.back, /* Back links */
#block-isba-membersections-newsletter-issue-number .content span.file, /* Newsletter PDF link */
footer,
.contextual-links-trigger,
.contextual-links,
.barnews-links, /* Bar News link bar */
.ibj-print /* IBJ print link */ {
	display:none !important;
}


/* --------------- Layout --------------- */

.container {
  width: auto;
  margin: 0;
}

body {
  margin: 0;
  padding: 0;
	overflow: visible !important;
}
html body.admin-menu { /* Overwrite admin menu */
  margin-top: 0 !important;
}

header .header-content {
  padding: 0 0 2rem;
}

main > .container {
  padding-top: 2rem;
}
.region-content > .block-system > .content {
  margin-bottom: 2rem;
}

.container .edges {
  width: auto;
  margin-left: 0;
  left: 0;
}
.edges {
  background-color: transparent !important;
  margin: 1rem 0;
  padding: 0;
}

/* Change main page columns from flexbox to block if contains just sidebar */
/* Work around for flexbox printing bug: https://bugzilla.mozilla.org/show_bug.cgi?id=939897 */
body.one-sidebar #content > .columns {
  display: block;
}
body.one-sidebar #content > .columns > div {
  padding-right: 0;
}

/* Prevent page breaks */
ul.newsletter-lists > li,
ul.link-list > li,
ul.icons > li,
ul.checkmarks > li,
.isba-fluid-width-video-wrapper {
  page-break-inside: avoid;
  break-inside: avoid-page;
}


/* --------------- Formatting --------------- */

body {
  font-size: 0.875rem;
}

/* Page title */
.title-banner {
	min-height: auto !important;
	padding: 0 !important;
	background: transparent none !important;
}
.title-banner h1,
.title-prefix,
.title-prefix a,
.title-suffix,
.title-suffix a {
	color: #22343e !important;
	text-shadow: none !important;
}
.title-banner h1 {
  font-size: 3rem;
}

/* CLE lists */
td.views-field-field-cle-pmcle > div {
  font-size: 87.5%;
}

/* Buttons */
a.button {
  background-color: rgba(204, 204, 204, 0.9) !important;
  border: 2px solid rgba(200, 200, 200, 0.9) !important;
  color: #111 !important;
}

/* Top alert */
.region-top-alert {
  margin-bottom: 2rem;
}
.region-top-alert .content > div {
  background-color: transparent;
  border: 1px solid #ccc;
}

/* Home notices */
.home-notice {
  border: 3px solid #2b3d47 !important;
  padding: 1.5rem;
  box-shadow: none !important;
  color: #22343e !important;
}
.home-notice * {
  color: #22343e !important;
  text-shadow: none !important;
}
.home-notice a.button {
  display: none;
}
html.js .home-notice .show-on-scroll {
  opacity: 1 !important;
  transition: none;
}
