/* General */

.flex1 {
	flex: 0 0 100%;
}

.flex2 {
	flex: 0 0 50%;
}

.flex3 {
	flex: 0 0 33.3%;
}

.flex4 {
	flex: 0 0 25%;
}

.flex5 {
	flex: 0 0 20%;
}

.grey-bg-panel {
	position: relative;
	z-index: 1;
}

.grey-bg-panel:before {
	content: "";
    background: #f3f3f3;
    position: absolute;
    width: 100vw;
    height: 100%;
    z-index: -1;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
}

.acf-block-preview .pc-background {
	background: #265f92;
}

/* Information blocks
----------------------------------------------------------------------------------------------------------------------- */
.block-infoboxes {
	    padding: 3em 0;
}

.block-infoboxes h2 {
	margin-top: 0px;
}

.block-infoboxes-outer {
	margin: 0 -0.75em;
}

.block-infoboxes .block-infoboxes-inner {
	display: flex;
}

.block-infobox {
	align-self: stretch;
	padding: 0 0.75em;
}

.block-infobox-inner {
	border: 5px solid;
	height: 100%;
	background: white;
}


.block-infobox .infobox-header {
	display: flex;
    align-items: center;
}

.block-infobox .infobox-header h5 {
	margin: 0;
	color: white;
	padding: 1em 2em;
	text-transform: uppercase;
}

.infobox-image {
	background-position: center;
	background-size: cover;
}

.infobox-image .infobox-image-inner {
	padding-bottom: 33%;
}

.infobox-content {
	padding: 1.5em 8% 0em 8%;
}

.infobox-content .infobox-link {
	display: block;
	text-align: center;
	color: black;
	font-weight: 600;
	margin-bottom: 1em;
}





/* Image and Text
----------------------------------------------------------------------------------------------------------------------- */
.block-imageandtext {
	padding: 3em 0;
}

.block-imageandtext h2 {
	margin-top: 0px;
}

.block-imageandtext .block-imageandtext-inner {
	display: flex;
	margin: 0 -1.5em;
}

.block-imageandtext-image {
	flex: 0 0 50%;
	    padding: 0 1.5em;
}

.block-imageandtext-image img {
	width: 100%;
}

.block-imageandtext-image-right {
	order: 1;
}

.block-imageandtext-text {
	flex: 0 0 50%;
	    padding: 0 1.5em;
}


/* Latest News
----------------------------------------------------------------------------------------------------------------------- */

.block-latest-news {
	padding: 3em 0;
}

.latest-news-inner {
	display: flex;
	margin: 0 -0.5em;
}

.block-latest-news h2 a{
	text-decoration: none;
}

.latest-news-inner .latest-news-single {
	flex: 0 0 25%;
	padding: 0 0.5em;
	align-self: stretch;

}

.latest-news-inner .latest-news-single .latest-news-single-inner {
	height: 100%;
		position: relative;
	box-shadow: 2px 2px 10px 1px #00000047;
}

.latest-news-image {
   background-size: cover;
    background-position: center;
	position: relative;
    background-color: white;
}

.latest-news-image .latest-news-image-inner {
 padding-bottom: 64%;
}

.latest-news-single-content {
	    padding: 2em 15% 5em 15%;
}

.latest-news-single-inner h6 {
	margin: 0px;
}

.latest-news-single-inner h6 a {
	color: white;
	font-weight: 600;
	text-decoration: none;
}

.latest-news-date {
    margin: 0 15%;
    position: absolute;
    bottom: 2em;
    width: 70%;
}

.latest-news-date a {
	color: white;
	font-weight: 700;
	text-decoration: none;
	display: block;
}

.latest-news-date a:after {
	content: "";
    border-right: 0.15em solid white;
    border-bottom: 0.15em solid white;
    display: block;
    line-height: 1;
    font-weight: 400;
    font-style: normal;
    speak: never;
    text-decoration: inherit;
    text-transform: none;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 0.45em;
    height: 0.45em;
    font-size: 2em;
    vertical-align: top;
    text-align: center;
    transition: color .1s ease-in;
    position: absolute;
    top: 50%;
    right: 0px;
    transform: translateY(-50%) rotate(-45deg);
}




/* Feature a Page
----------------------------------------------------------------------------------------------------------------------- */

.featurepage {
	margin: 3em 0;
}

.featurepage .featurepage-inner {
	display: flex;
}

.featurepage .featurepage-button {
	position: relative;
}

.featurepage-button-inner {
	height: 100%;
    align-self: stretch;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
	justify-content: center;
	text-align: center;
	background: rgba(0,0,0,0.6);
	    z-index: 1;
    position: relative;
}

.featurepage-button-holder {
	padding: 2em 2%;
}

.featurepage-button-holder h4 {
	color: white;
	text-align: center;
	margin-top: 0px;
	margin-bottom: 0.3em;
	font-size: 2.7em;
	font-weight: 600;
}

.featurepage-button-holder p {
	margin: 0px;
	display: inline-block;
}

.featurepage-button-holder p a{
	color: white;
	text-decoration: none;
	padding: 0.6em 1.75em;
	border: 3px solid white;
	text-transform: uppercase;
	display: block;
	font-weight: 600;
}


.featurepage-button-image {
	position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    background-position: center;
    background-size: cover;
    z-index: 0;
}


.featurepage-description-inner {
	padding: 6% 10%;
	color: white;
}

.featurepage-button-right {
	order: 1;
}

/* Accordion
----------------------------------------------------------------------------------------------------------------------- */
.accordion {
  background-color: white;
  color: white;
  cursor: pointer;
  padding: 1em 1.5em;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
	margin-top: 1em;
	position: relative;
	border-radius: 0px;
	box-shadow: 1px 1px 5px 0px #00000057;
}

.accordion h4, .accordion h2 {
	margin: 0px;
	font-weight: 600;
}

.active, .accordion:hover {
  background-color: #f9f9f9;
}

.accordionpanel {
  padding: 0 18px;
  background-color: #f9f9f9;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.accordionpanel > :first-child {
	margin-top: 1em;
}


.accordion-indicator {
	width: 15px;
    height: 15px;
    border-bottom-width: 5px;
	border-bottom-style: solid;
    border-left-width: 5px;
	border-left-style: solid;
	transform: rotate( -45deg);
	    transition: 0.4s ease;
	position: absolute;
    top: 30%;
    right: 2%;
}

.active .accordion-indicator {
	    transform: rotate(135deg);
}

.edit-post-visual-editor .accordion-end {
	display: block;
	width: 100%;
	border-bottom: 1px solid #00000057;
	position: relative;
}

.edit-post-visual-editor .accordion-end:after {
	content: "End of Accordion";
	position: absolute;
	top:50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: white;
	padding: 0.2em 0.5em;
	font-size: 11px;
	color: #00000057;
}

.edit-post-visual-editor .accordion h3 {
	color: #265f92;
}

.edit-post-visual-editor .accordion-indicator {
	border-color: #265f92;
}

.edit-post-visual-editor .accordion:after {
	content: "Remember to add an 'End Accordion' Block at the end of your content";
	position: absolute;
	bottom:0px;
	left: 50%;
	transform: translate(-50%, 100%);
	padding: 0.2em 0.5em;
	font-size: 11px;
	color: #00000057;
}


.open-accordions {
	    margin-bottom: 0px;
    text-align: right;
}

.open-accordions span {
    cursor: pointer;
    padding: 0.35em 0.5em;
    text-transform: uppercase;
    border: none;
    outline: none;
    font-size: 14px;
    border-radius: 0px;
    box-shadow: 1px 1px 5px 0px #00000057;
}

/* Tweet This
----------------------------------------------------------------------------------------------------------------------- */
.tweet-this {
	display: block;
    text-align: center;
}

.tweet-this .tweet-this-inner {
	padding: 1em;
    background: #f3f3f3;
    display: inline-block;
	box-shadow: 0px 1px 6px 0px #00000024;
}

.tweet-this .tweet-this-inner h4 {
	margin: 0px;
	font-weight: 400;
}

.tweet-this .tweet-this-inner h4 a {
	text-decoration: none;
}

.tweet-this .tweet-button {
	margin-top: -0.5em;
	vertical-align: middle;
}

.tweet-this .tweet-button a {
	height: 28px;
    border-radius: 9999px;
    padding: 1px 12px 1px 12px;
	position: relative;
    height: 20px;
    box-sizing: border-box;
    background-color: #1d9bf0;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
	text-decoration: none;
	vertical-align: middle;
}

.tweet-this .tweet-button span {
	margin-right: 0.25em;
	vertical-align: middle;
}


/* Feature a Page
----------------------------------------------------------------------------------------------------------------------- */

/* Feature a Page
----------------------------------------------------------------------------------------------------------------------- */



@media only screen and (max-width: 768px) {
	
/* Information For
--------------------------------------------- */	
	
	.block-infoboxes .block-infoboxes-outer .block-infoboxes-inner {
		flex-wrap: wrap;
	}
	
	.block-infoboxes .block-infobox.flex4{
		flex: 0 0 50%;
	}
	
	.block-infoboxes .block-infobox.flex3{
		flex: 1 0 33.33%;
		margin-bottom: 1em;
	}
	

	/* Image and text
--------------------------------------------- */
	
	
	/* Feature Page
--------------------------------------------- */
	
	.featurepage-button-holder h4 {
		font-size: 2.2em;
	}
	
	
	/* Information For
--------------------------------------------- */
	
	
	/* Information For
--------------------------------------------- */
	
	
	/* Information For
--------------------------------------------- */
	
	
}


@media only screen and (max-width: 500px) {
	
	/* Information For
--------------------------------------------- */
	
	.block-infoboxes {
		padding: 2em 0;
	}
	
	.block-infoboxes .block-infobox.flex4, .block-infoboxes .block-infobox.flex3, .block-infoboxes .block-infobox.flex2{
		flex: 0 0 100%;
		margin-bottom: 4%;
	}
	
		.infobox-image .infobox-image-inner {
		padding-bottom: 25%;
	}
	
	.block-infobox .infobox-header h5 {
		padding: 0.5em 1em;
	}
	
	
	
	/* Image and Text
--------------------------------------------- */
	.block-imageandtext {
		padding: 2em 0;
	}
	
	.block-imageandtext .block-imageandtext-inner {
		flex-wrap: wrap;
	}
	
	.block-imageandtext-image {
		flex: 0 0 100%;
		padding: 0 1.5em;
	}
	
	.block-imageandtext-image img {
		margin-bottom: 1.5em;
	}
	
	.block-imageandtext-text {
		flex: 0 0 100%;
		padding: 0 1.5em;
	}
	
	
	/* Latest News
--------------------------------------------- */
	
	.block-latest-news {
		padding: 2em 0;
	}
	
	.latest-news-inner {
		flex-wrap: wrap;
	}
	.latest-news-inner .latest-news-single {
		flex: 0 0 50%;
		    margin-bottom: 1em;
	}
	
	.latest-news-single-content {
    	padding: 1em 8% 3.5em 8%;
	}
	
	.latest-news-date {
		margin: 0 8%;
		bottom: 1em;
		width: 84%;
		font-size: 14px;
	}
	
	
	/* Feature Page
--------------------------------------------- */
	
	.featurepage {
		margin: 2em 0;
	}
	
	.featurepage .featurepage-inner {
		flex-wrap: wrap;
	}
	
	.featurepage .featurepage-inner .flex2 {
		flex: 0 0 100%;
	}

	.featurepage .featurepage-inner .featurepage-button {
		order: 0;
	}
	.featurepage .featurepage-inner .featurepage-description {
		order: 1;
	}
	
	
	/* Information For
--------------------------------------------- */
	
	
	/* Information For
--------------------------------------------- */
	
}











