/* ------------------------ */
/* HJH custom CSS.
/* ------------------------ */

:root {
  --hjh-blue-color: #0045BC;
}

/* Lighten main slider overlay. */
.thumb-overlay.main-slider-overlay {
   background: rgba(30, 65, 78, .4);
}

/* Lighten page header image. */
.thumb-overlay {
  background: rgba(0, 0, 0, 0.3);
}


/* Boost font size) */
body.page .entry-content {
    font-size: 1.2rem;
}

/* Set header font sizes. */
h3 {
  font-size: 18px;
  font-size: 1.5rem;
}

h4 {
  font-size: 16px;
  font-size: 1.3rem;
}

h5 {
  font-size: 14px;
  font-size: 1.2rem;
}

/* Adjust submenu text. */
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a {
  font-weight: 300;
}

/* Header 'tagline' text color. */
.site-header .site-description {
	color: #0055d6;
}

.site-header .site-title
a {
 font-size:1rem;
}


/*************************/
/* Colored block styles. */
/*************************/
.colored-block-header {
	text-align: center;	
	padding: .6em;
	background-color: #ebebeb;
}

.colored-block {
	padding: 1.2em 1em .4em 1em;
}

.colored-block-title {
	font-size: 120%;
	color: white;
	text-align: center;
}

.colored-block-content {
  color: #ddd;
	padding-left: .5em;
}

.colored-block-content li{
    break-inside: avoid-column;
    -webkit-column-break-inside: avoid;  /* Safari and Chrome */
}

@media only screen and (min-width: 768px) {
  .colored-block-ul {
    list-style-type: disc;
	  -webkit-columns: 2;
	  -moz-columns: 2;
	  columns: 2; 
  }
	
	.colored-block-wrapper {
		margin-right: 5%;
		margin-left: 5%;
	}
	
	/* Adjust padding so that we can have some space to the left and right of the content. */
	body .site-content {
    padding-left: 100px;
    padding-right: 100px;
	}
	.site-content #primary, .site-content #secondary {
		padding-left: 0;
	}
}

/* Color palette from http://paletton.com/#uid=73F2t0kt+lZlOstrKqzzSiaJidt */
.color-primary-0 { background-color: #113974 }	/* Main Primary color */
.color-primary-1 { background-color: #395E96 }
.color-primary-2 { background-color: #1D4A8C }
.color-primary-3 { background-color: #082B5F }
.color-primary-4 { background-color: #041F47 }

.color-secondary-1-0 { background-color: #AF570B }	/* Main Secondary color (1) */
.color-secondary-1-1 { background-color: #E39048 }
.color-secondary-1-2 { background-color: #D4711C }
.color-secondary-1-3 { background-color: #914300 }
.color-secondary-1-4 { background-color: #6B3200 }

.color-secondary-2-0 { background-color: #07656A }	/* Main Secondary color (2) */
.color-secondary-2-1 { background-color: #2C8589 }
.color-secondary-2-2 { background-color: #127B80 }
.color-secondary-2-3 { background-color: #015457 }
.color-secondary-2-4 { background-color: #003E41 }

.color-complement-0 { background-color: #AF720B }	/* Main Complement color */
.color-complement-1 { background-color: #E3AA48 }
.color-complement-2 { background-color: #D4901C }
.color-complement-3 { background-color: #915B00 }
.color-complement-4 { background-color: #6B4400 }

/* Use fixed height of slideshow images. */
.cycle-slideshow .slide-item {
   height: 400px !important;
}
@media (min-width: 768px) {
   .cycle-slideshow .slide-item {
       height: 500px !important;
   }
}

table.templateContainer, table.mcnTextContentContainer,
table.mcnTextBlock,
table.mcnImageCardBlock,
table.mcnDividerBlock, 
table.mcnDividerContent,
table.mcnBoxedTextBlock,
table.mcnBoxedTextContentContainer,
table.mcnImageGroupContentContainer,
table.mcnImageGroupBlock,
td, th {
	border: 0px;
}

/* Darken background of "About Us" text on homepage to improve readability. */
section.wrapper.wrapper-callback div.text-content {
	background-color: #0006;
}

/* Set Genesis Block button colors. */
a.gb-button {
	background-color: #0055d6 !important;
	color: #ffffff !important;
}

/* Set header button text color. */
span.header-btn a.button { 
	color: #FFD52F !important;
}

/* Set donate button colors.  Add 'donate-btn' to 'Additional CSS class' in AB button settings. */
.donate-btn .gb-button {
	color: #FFD52F !important;	
}

/* Set default background color of AB Call To Action blocks. */
.gb-block-cta {
	/*background: #3c78d530;*/
	padding: 0 1rem 1rem 1rem;
}

/* Rounded corner box. */
.hjh-rounded-box {
	border-radius: 10px !important;
}

/* Colored rounded corner box. */
.hjh-colored-rounded-box {
	border-radius: 10px !important;
	background-color: #fff; /*#e7ecff;*/
	padding: 1.6em;
	margin: 1.6em;
	border-style: solid;
  border-width: .02em;
}

/* Set link colors.  These were set to different colors in various places. */
a, a:focus {
    color: #3e3eac;
}
.entry-content p a {
    color: #3e3eac;
}

/* Styles for Google Map of library sites. */
.lib-sites-googlemap {
	height: 50vw;
	width: 80%;
}

@media only screen and (max-width: 600px) {
  .lib-sites-googlemap {
  	width: 100%;
  }
}

/* Make activity area background white to hide grey bands at bottom of section. */
#wrapper-activity {
	background-color: white;
}



/* 70f08.css | https://librariesforall.org/wp-content/cache/minify/70f08.css */

/* Fix Sign Up button overlap on newsletter form. */
aside#secondary .widget {
  /* padding: 12px 10px; */
  padding: 12px 10px 32px 10px;
}

.hjh-box-shadow {
	/* Box shadow from https://shadows.brumm.af */
	box-shadow:
  0px 0.5px 1px rgba(0, 0, 0, 0.009),
  0px 1px 2.3px rgba(0, 0, 0, 0.014),
  0px 1.4px 4px rgba(0, 0, 0, 0.018),
  0px 1.8px 6.3px rgba(0, 0, 0, 0.022),
  0px 2.3px 9.3px rgba(0, 0, 0, 0.026),
  0px 2.8px 13.3px rgba(0, 0, 0, 0.031),
  0px 3.5px 18.6px rgba(0, 0, 0, 0.037),
  0px 4.7px 26.6px rgba(0, 0, 0, 0.045),
  0px 7px 50px rgba(0, 0, 0, 0.06);
	background-color: #f2f2f2;
}

.hjh-box-hover:hover {
	background-color: white;
}

.hjh-donate-container-inner {
	padding: 20px;
}

.hjh-donate-container-column {
	padding-bottom: 1em;
}
.hjh-donate-container-column .wp-block-image {
  margin: 0 0 0 !important; 
  margin-bottom: 10 !important;
}

/* Add space between adjacent donate columns when they align vertically on small screens. */
@media (max-width: 800px) {
	.hjh-donate-container-column + .hjh-donate-container-column {
		margin-top: 20px;
	}
}

.hjh-zero-margin-bottom {
	margin-bottom: 0;
}

.hjh-center-children .gb-container-content {
	width: max-content
}

/* Hide byline in newsletter category listing. 
 * /category/newsletter/
 * */
.category-newsletter .byline {
  display: none;
}

/* ---------------------- */
/* Add left and right margins for large screens.          */
/* --------------------- */

@media screen and (min-width: 769px) {
	.hjh-margin-group {
		margin: 0 16% 0 16%;
	}
	.hjh-margin-group-xsmall {
		margin: 0 2% 0 2%;
	}
	.hjh-margin-group-small {
		margin: 0 10% 0 10%;
	}
	.hjh-margin-group-medium {
		margin: 0 20% 0 20%;
	}
	.hjh-margin-group-large {
		margin: 0 30% 0 30%;
	}
}

.hjh-padding-small {
	padding: 10px;
}

.hjh-padding-medium {
	padding: 20px;
}

/* --------------------- */
/* Adjust image block caption bottom margins so that they match gallery block captions.  (For International Univ. page) */
/* --------------------- */

/* .wp-block-image {
  margin-bottom: 0em;
}

.wp-block-image {
  margin: 0 0 0em;
}

.wp-block-image figcaption {
  margin-top: 0em;
  margin-bottom: 0em; 
  margin-top: .9em;
} */

/* --------------------- */
/* Increase image/video caption font size. */
/* --------------------- */

/* .wp-block-image figcaption {
  font-size: 18px;
}

.wp-block-embed figcaption {
  font-size: 18px;
}

.blocks-gallery-caption {
  font-size: 18px;
} */

/* ------------------------ */
/* Reduce font size for gallery captions on Mobile Project page. */
/* ------------------------ */
figcaption {
  font-size: 14px !important;
}

/* ------------------------ */
/* Hide featured image on Mobile Project page. Yuck! Some themes provide a setting for this. */
/* ------------------------ */
.page-id-161 .wp-post-image {
  display: none;
}

/* ------------------------ */
/* Introductory paragraphs. */
/* ------------------------ */
.hjh-intro-text {
	/* color: #163e7b; */
	font-weight: bold;
}

/* ------------------------ */
/* Darken block quotes.     */
/* ------------------------ */

q, blockquote {
 color:#737272;
}

/* ------------------------ */
/* Darken Archives button   */ /* font in footer.          */
/* ------------------------ */

#archives-dropdown-4 {
 color: #2b2b2b;
}

/* ------------------------ */
/* Footer background color. */
/* ------------------------ */

.footer-widget {
  background-color: #001a42;
}

/* ------------------------ */
/* Footer link text color.  */
/* ------------------------ */
.footer-widget a{
	color: white;
}

/* ------------------------ */
/* Top level menu hover     */
/* color.                   */
/* ------------------------ */

.main-navigation li:hover > a, .main-navigation li.focus > a, .main-navigation li.active > a {
  color: #FFD52F !important;
}

/* ------------------------ */
/* Fix problem that suddenly appeared that prevented image galleries from forming multiple columns -- images stacked vertically.  Charitize theme sets display to 'block', so need to override it.  1/5/23 */
/* ------------------------ */
body .is-layout-flex {
	display:flex;
	flex-wrap: wrap;
}

/* Adjust timeline. */
li.wp-block-jetpack-timeline-item {
	padding: 0.1em 1em 0.1em 1em !important;
	font-size: smaller;
}

li.wp-block-jetpack-timeline-item h4 {
  color: var(--hjh-blue-color);
}


/* Set timeline vertical bar color. */
.wp-block-jetpack-timeline li.wp-block-jetpack-timeline-item .timeline-item:after {
  background-color: var(--hjh-blue-color) !important;
}

/* Space between timeline items. */
li.wp-block-jetpack-timeline-item {
  margin-bottom: 5px !important;
}

/* Block separator, simplify appearance. */
.wp-block-separator {
  border:none;
  border-bottom:none;
}