@import url('https://fonts.googleapis.com/css2?family=Alegreya+SC&family=Alegreya:wght@400;700&display=swap');

body {
	font-family: 'Alegreya', serif;
	font-size: 18px;
}
img {
	max-width: 100%;
	height: auto !important;
}
h1, h2 {
	font-family: 'Alegreya SC', serif;
}
a:link {
	color: #5178a7;
	text-decoration: underline;
}
a:visited {
	color: #779ac3;
	text-decoration: underline;
}
a:hover,
a:focus,
a:active {
	color: #9f1a1a;
	text-decoration: underline;
}
.container {
	max-width: 100% !important;
}
header#header {
	display: flex;
	justify-content: space-between;
	padding: 2vw;
	background: #2b3443;
	color: #FFF;
	border-bottom: 1px solid #FFF;
}
header#header div.region-header {
	flex-basis: 28vw;
}
header#header > nav.navbar {
	flex-basis: 72vw;
	justify-content: flex-end !important;
}
nav.navbar .row {
	padding: 0 !important;
	margin: 0 !important;
	justify-content: flex-end !important;
}
#navbarSupportedContent,
nav .container {
	max-width: 100% !important;
}
#block-historical-main-navigation > #main-nav > ul {
	display: flex;
	justify-content: flex-end;
	list-style: none;
	margin: 0;
	padding: 0;
}
#block-historical-main-navigation > #main-nav > ul > li {
}
#block-historical-main-navigation > #main-nav > ul > li > a {
	text-decoration: none;
	font-size: 1.4vw;
	display: block;
	padding: 1vw;
	color: #FFF;
	line-height: 1em;
	text-align: center;
}
#block-historical-main-navigation > #main-nav > ul > li:hover > a,
#block-historical-main-navigation > #main-nav > ul > li.show > a,
#block-historical-main-navigation> #main-nav  > ul > li > a:hover {
	background: #5178A7;
}
#block-historical-main-navigation > #main-nav > ul > li > a:after {
	display: none !important;
}
#block-historical-main-navigation > #main-nav > ul > li > a:hover {
	background: #5178A7;
}
#block-historical-main-navigation > #main-nav > ul > li:hover > ul {
	display: block;
	position: absolute;
}
#block-historical-main-navigation > #main-nav > ul > li > ul {
	background: #5178A7;
	border-width: 0 !important;
	border-radius: 0;
	padding: 5px;
	top: 100% !important;
	margin: 0;
	min-width: 250px;
}
#block-historical-main-navigation > #main-nav > ul > li > ul > li > a {
	color: #FFF;
	line-height: 1.1em;
	padding: 10px;
	font-size: 18px;
	text-decoration: none;
}
#block-historical-main-navigation > #main-nav > ul > li > ul > li > a:hover {
	background: #9f1a1a;
}
#block-historical-main-navigation > #main-nav > ul > li:last-child > ul {
	left: unset;
	right: 0;
}
@media (max-width: 1050px) {
	header#header {
		display: block;
	}
	header#header .region-header div {
		display: block !important;
		text-align: center;
		margin: 0;
	}
	header#header .region-nav-main > nav > ul {
		justify-content: center !important;
	}
	#block-historical-main-navigation > #main-nav > ul > li > a {
		font-size: 2.1vw;
	}
}
.mean-container nav.navbar {
	display: none;
}
.flexslider {
	border: 0;
}
.flexslider {
	border: 0;
	margin: 0;
}
.flex-direction-nav a {
	text-decoration: none;
	font-size: 0;
}
.flex-direction-nav a:before {
	font-size: 36px !important;
}
.path-frontpage main div.row > .order-1 {
	flex-basis: 50% !important;
	max-width: 100%;
	padding: 4vw;
}
.path-frontpage main div.row >  .sidebar-first{
	flex-basis: 50% !important;
	max-width: 100%;
	padding: 4vw;
	order: 2;
}
.path-frontpage .sidebar-first h2,
.path-frontpage main h1 {
	font-size: 32px;
	line-height: 1.1em !important;
	text-align: left !important;
	color: #5178a7;
}
.path-frontpage .sidebar-first h2 {
	color: #9f1a1a;
}
main {
	width: 100%;
}
.region-title {
	background: url(../images/title.jpg) 0 0 no-repeat;
	background-size: cover;
	padding: 6vw 3vw 1vw;
	margin: 0;
}
.region-title h1.page-title {
	color: #FFF;
	text-align: left !important;
	font-size: 4vw;
}
body:not(.path-frontpage) .main-page {
	padding: 3vw;
	margin: 0 auto;
	max-width: 100%;
}
.main-page {
	max-width: 100%;
	padding: 0;
}
html {
	background: #2b3443;
}
main,
body {
	background: #FFF;
	height: auto !important;
	max-height: auto !important;
}

footer#footer {
	background: #2b3443;
}
#footer a {
	color: #FFF;
}
#footer {
	padding: 10px;
}
#footer .region-footer {
	display: flex;
	flex-direction: row;
	color: #FFF;
	justify-content: space-between;
	align-items: center;
}
#footer .block {
	margin: 10px;
}
#footer .search-block-form {
	order: 2;
	min-width: 300px;
	text-align: right;
}
.search-block-form input {
	vertical-align: bottom;
	margin: 0 !important;
	display: inline-block;
	padding: 10px 15px 10px 10px;
	font-size: 1rem;
	line-height: 1rem;
	border-radius: 5px;
}
.search-block-form input.btn {
	background: #9f1a1a;
	border-color: #9f1a1a;
	vertical-align: bottom;
	padding-right: 10px;
	font-size: 1rem !important;
	margin-left: -10px !important;
}
@media (max-width: 800px) {
	#footer .region-footer {
		display: block;
	}
	.navbar-brand img {
		margin-right: 0;
	}
}
@media (max-width: 420px) {
	footer#footer {
		padding: 0;
	}
	#footer .search-block-form {
		text-align: left;
	}
	#footer .container {
		padding: 0;
	}
}
a.btn {
	border: 2px solid #5178a7;
	letter-spacing: -.025em;
	font-size: 1.1em;
	color: #5178a7;
	padding: .3em .5em;
	line-height: 1em;
	display: inline-block;
	text-decoration: none;
}
a.btn:hover {
	color: #FFF;
	background: #5178a7;
}
a.btn.secondary {
	border-color: #9f1a1a;
	color: #9f1a1a;
}
a.btn.secondary:hover {
	background: #9f1a1a;
	color: #FFF;
}
.sidebar-second a.btn {
	border-color: #2b3443;
	color: #2b3443;
}
.sidebar-second a.btn:hover {
	background: #2b3443;
	color: #FFF;
}
.sidebar-second {
	flex-basis: 100% !important;
	max-width: 100%;
	flex-grow: 1;
	background: url(../images/contentbg.jpg) 50% 0 no-repeat;
	background-size: cover;
	border-top: 1px solid #90a4bd;
	border-bottom: 1px solid #90a4bd;
}
.sidebar-second .region-sidebar-second {
	display: flex;
}
.region-sidebar-second > .block {
	padding: 4vw;
}
.sidebar-second h2,
.sidebar-second h2 a {
	color: #2b3443;
	text-decoration: none;
}

.region-sidebar-second .block {
	flex-basis: 30%;
}
.region-sidebar-second .block-views-blockms-history-now-block-1 {
	flex-basis: 70%;
}
.msnow {
	display: flex;
}
.msnow img {
	object-position:  0 0;
	object-fit: contain;
	order: -1;
	margin-right: 2vw;
	margin-top: 5px;
}
@media (max-width: 1265px) {
	.region-sidebar-second {
		display: block !important;
	}
}
@media (max-width: 780px) {
	.msnow {
		flex-direction: column;
	}
	.msnow img {
		max-width: 450px;
		width: 100%;
		margin: 0 auto 1em;
	}
	.path-frontpage main div.row {
		display: block;
	}
}
.region-publications {
	background: #FFF;
	padding: 1vw 1vw 2vw;
	display: flex;
	flex-wrap: wrap;
}
.region-publications h2 {
	color: #5178a7;
	font-size: 2.5vw;
	margin: 0 0 .5em;
}
.region-publications .block {
	flex-basis: 50%;
	flex-grow: 1;
	padding: 2vw 4vw;
	margin: 0;
}
.region-publications .block:first-of-type {
	flex-basis: 100%;
	text-align: center;
	padding: 3vw 0;
}
.region-publications .block + .block img {
	float: left;
	margin: 0 1.5em 0 0;
	max-width: calc(60% - 1.5em);
}
.region-publications .block + .block p + p {
	margin-left: 60%;
}
.region-publications .block + .block p:last-of-type {
	text-align: right;
}
#block-heritageseriesblock a.btn {
	color: #3c97d8;
	border-color: #3c97d8;
}
#block-heritageseriesblock a.btn:hover {
	background: #3c97d8;
	color: #FFF;
}
#block-mshistorynowblock a.btn {
	color: #133152;
	border-color: #133152;
}
#block-mshistorynowblock a.btn:hover {
	background: #133152;
	color: #FFF;
}
#block-newsletterblock a.btn {
	color: #2778c1;
	border-color: #2778c1;
}
#block-newsletterblock a.btn:hover {
	background: #2778c1;
	color: #FFF;
}
#block-journalblock a.btn {
	color: #6c929d;
	border-color: #6c929d;
}
#block-journalblock a.btn:hover {
	background: #6c929d;
	color: #FFF;
}
@media (max-width: 1250px) {
	.region-publications .block + .block {
		padding: 2vw;
	}
}
@media (max-width: 1050px) {
	.region-publications {
		display: block;
	}
	.region-publications .block + .block p + p {
		margin-left: 0px;
	}
}
@media (max-width: 750px) {
	.region-publications .block p {
		text-align: center !important;
	}
	.region-publications .block + .block img {
		float: none;
		max-width: 100%;
	}
	.region-publications h2 {
		font-size: 24px;
	}
}
ul.fancylist {
	list-style: none;
	padding: 0;
	margin: 0 0 2em;
	border-top: 1px solid #CCC;
}
ul.fancylist li {
	border-bottom: 1px solid #CCC;
	padding: 1em;
	font-size: 16px;
}
ul.fancylist li:nth-child(even) {
	background: #f6f6f6;
}
ul.fancylist li:after {
	content: "";
	display: block;
	clear: both;
}
ul.fancylist li a:first-of-type {
	font-size: 18px;
	display: block;
	text-decoration: none;
	font-weight: bold;
}
ul.fancylist li a:first-of-type:after {
	content: "Visit";
	float: right;
	border: 1px solid #333;
	border-radius: 5px;
	background: #2D323E;
	color: #FFF;
	line-height: 1em;
	padding: 7px;
	font-size: 14px;
	margin: 3px 0 -5px 1em;
	text-transform: uppercase;
}
ul.fancylist li a:first-of-type:hover:after {
	background: #9f1a1a;
}
img.align-right {
	margin: 0 0 1em 1em;
}
img.align-left {
	margin: 0 1em 1em 0;
}
div.borderedbox {
	border: 1px solid #2b3443;
	background: #f6f6f6;
	padding: 1em 2em;
	margin: 1em 0;
}
article[data-history-node-id="20"] h2 {
	padding: .5rem 1rem 0 1.5rem;
	font-size: 1.5em;
}
article[data-history-node-id="20"] h2 a {
	text-decoration: none;
}
article[data-history-node-id="20"] h2 + ul {
	padding: 1rem 1rem .5rem 3rem;
}
article[data-history-node-id="20"] h2:nth-of-type(odd){
	border: 1px solid #5178a7;
	border-bottom: 0;
	margin: 1em 0 0;
	padding: 1rem 1rem 0 1.5rem;
	background: #f6f6f6;
}
article[data-history-node-id="20"] h2:nth-of-type(odd) + ul {
	border: 1px solid #5178a7;
	border-top: 0;
	margin: 0 0 1em;
	padding: 1rem 1rem 1rem 3rem;
	background: #f6f6f6;
}
#toolbar-administration a {
  text-decoration: none;
}
#toolbar-administration nav.toolbar-lining a {
  color: #000;
}
#block-historical-content > article > div > div.clearfix:after {
	display: none !important;
}
#block-paypalbutton {
	clear: none !important;
}
#block-paypalbutton * {
	clear: none !important;
	width: auto !important;
}
#block-paypalbutton input.form-submit {
	background: #9F1A1A;
	border-radius: 0;
	border: 0;
	color: #FFF;
	padding: 1em;
	line-height: 1em;
}
#block-paypalbutton input.form-submit:hover {
	opacity: .8;
}
fieldset:not(#edit-address--wrapper)  {
	border: 1px solid #AAA;
	padding: 10px;
	margin: 2em 0 !important;
}
fieldset legend {
	margin: 0 !important;
	font-size: 1em;
	display: inline-block !important;
	width: auto;
	font-weight: bold;
	padding: 0 10px;
}
form.webform-submission-annual-meeting-form fieldset:not(#edit-address--wrapper) div.fieldset-wrapper {
	display: flex;
	flex-wrap: wrap;
}
form.webform-submission-annual-meeting-form fieldset:not(#edit-address--wrapper)  div.fieldset-wrapper div.form-item {
	padding: 0 10px;
	margin: 10px 0;
}

.node--type-photo-gallery .blazy {
	display: grid;
  grid-template-columns: repeat(4, 1fr);
	flex-wrap: wrap;
	justify-content: space-between;
}
.node--type-photo-gallery .blazy > .field__item {
	padding: 10px;
	border: 1px solid #333;
	background: #FFF;
	margin: 10px;
	text-align: center;
	display: flex;
	flex-direction: column;
}
.node--type-photo-gallery .blazy > .field__item img {
	aspect-ratio: 1/1;
	object-fit: cover;
}
.node--type-photo-gallery .blazy__caption {
	padding-top: 10px;
	line-height: 1.3em;
	font-size: .875em;
	font-weight: bold;
}
@media (max-width: 800px) {
	.node--type-photo-gallery .blazy {
	  grid-template-columns: repeat(3, 1fr);
  	}
}
@media (max-width: 600px) {
	.node--type-photo-gallery .blazy {
	  grid-template-columns: repeat(2, 1fr);
  	}
}
@media (max-width: 500px) {
	.node--type-photo-gallery .blazy {
	  grid-template-columns: repeat(1, 1fr);
  	}
}
#webform-submission-join-or-renew-online-add-form fieldset fieldset {
	padding: 0;
	margin: 1em 1em 1em  0 !important;
	border: 0;
}
#webform-submission-join-or-renew-online-add-form  fieldset fieldset legend span {
	font-weight: normal;
}
#webform-submission-join-or-renew-online-add-form > fieldset {
	padding: 0;
	margin: 0 !important;
	border: 0;
}
#webform-submission-join-or-renew-online-add-form > fieldset > .fieldset-wrapper {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
}
#webform-submission-join-or-renew-online-add-form > fieldset > .fieldset-wrapper > * {
	margin: 1em 1em 1em 0;
	
}
#webform-submission-join-or-renew-online-add-form > fieldset > .fieldset-wrapper input {
	width: 300px;
	max-width: 100%;
}
#webform-submission-join-or-renew-online-add-form > fieldset > .fieldset-wrapper input#edit-name-middle {
	width: 150px;
}
table.ppres {
display: block;
}
table.ppres tbody {
column-width: 300px;
display: block;
column-rule-color: #CCC;
column-rule-style: solid;
column-rule-width: 2px;
}
table.ppres thead {
display: none;
}
table.ppres tbody th {
text-align: right;
padding-right: 10px;
width: 5em;
}
table.ppres tr {
display: block;
}
#byline {
	clear: both;
	text-align: center;
	padding: 20px;
	font-size: .875em;
}
#byline a {
	color: #FFF;
	text-decoration: none;
	opacity: .4;
}
#byline a:hover {
	opacity: 1;
}
@media (max-width: 600px) {
  article[data-history-node-id="11"] table,
  article[data-history-node-id="11"] tbody,
  article[data-history-node-id="11"] tr,
  article[data-history-node-id="11"] td {
    display: block !important;
    width: auto !important;
  }
  article[data-history-node-id="11"] td {
    margin: 1em 0;
  }
}
@media (max-width: 480px) {
	.path-frontpage .sidebar-first h2, .path-frontpage main h1 {
		font-size: 24px;
	}
}
