/*
# 	Description: 	Gibbons theme styles for ACF Flexible Blocks
# 	Version: 		0.0.2
* 	Author: 		https://viscodesign.com
*/

/*--------------------------------------------------------------
# 	Globals
--------------------------------------------------------------*/
div[class^="flexible-"] {
	margin: 0 auto;
	padding: var(--box-padding);
}
.main-content + div[class^="flexible-"] {
	padding-top: 0;
}
div[class^="flexible-"]:not(.outer-wrapper) + div[class^="flexible-"]:not(.outer-wrapper) {
	padding-top: 0;
}
div[class^="flexible-"].outer-wrapper {
	padding: var(--box-padding);	
}
div[class^="flexible-"].outer-wrapper.no-padding {
	padding: 0;
}
div[class^="flexible-"].outer-wrapper.wide .inner-wrapper {
	max-width: 100%;
}
div[class^="flexible-"].centred {
	text-align: center;
}
div[class^="flexible-"] h3.section-lead {
	color: var(--grey);
	font-size: 1em;
	text-transform: uppercase;
	letter-spacing: 2px;
}
div[class^="flexible-"] h3 + h2 {
}
.flex-columns.flex-container {
	justify-content: space-between;
	align-items: center;
	margin: 1.5em auto;
}
.flex-column {
	flex: 0 1 100%;
	padding: 0;
}

/* Global Primary */
div[class^="flexible-"].primary {
	background-color: var(--primary);
}
div[class^="flexible-"].primary h3 + h2 {
	color: #fff;
}

/* Global Secondary */
div[class^="flexible-"].secondary {
	background-color: var(--secondary);
}

/* Global Light */
div[class^="flexible-"].light {
	background-color: var(--light);
}

/* Global Grey */
div[class^="flexible-"].grey {
	background-color: var(--grey);
}
div[class^="flexible-"].grey h3.section-lead {
	color: var(--light);
}

/* Global Dark */
div[class^="flexible-"].dark {
	background-color: var(--dark);
}
div[class^="flexible-"].dark h2 {
	color: #fff;
}
div[class^="flexible-"].dark h3,
div[class^="flexible-"].dark h4,
div[class^="flexible-"].dark p,
div[class^="flexible-"].dark a:not(.btn),
div[class^="flexible-"].dark ul {
	color: var(--light);
}
div[class^="flexible-"].dark a:not(.btn, button) {
	color: var(--primary);
}
div[class^="flexible-"].dark a.btn.outline {
	color: var(--light);
	border-color: var(--light);
}

/*--------------------------------------------------------
##	Content
--------------------------------------------------------*/
div.flexible-content {
	text-align: left;
}

/*--------------------------------------------------------
##	Columns
--------------------------------------------------------*/
div.flexible-columns {
}
.flexible-columns .thumb-wrapper {
	position: relative;
	margin: 0 auto;
	width: 100%;
	max-width: 60%;
	overflow: hidden;
	transition: all 0.5s ease;
}

/* Column Content */
.flex-column .flex-content {
	text-align: center;
}
.flex-content h3 {
	font-size: 1em;
}

/* Images */
.flex-column .thumb-wrapper {
	height: auto;
}

/* Photos */
.flex-column .thumb-wrapper.photo {
	margin: 0 auto 25px;
}

/* Icons */
.flex-column .thumb-wrapper.icon {
}
.flex-column .thumb-wrapper.icon i[class*=" fa-"],
.flex-column .thumb-wrapper.icon svg {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: var(--primary);
	font-size: 32px;
	text-align: center;
	transition: all 0.5s ease;
}
.flex-column .thumb-wrapper.icon:hover {
	background-color: var(--primary);
}
.flex-column .thumb-wrapper.icon:hover i[class*=" fa-"],
.flex-column .thumb-wrapper.icon:hover svg {
	color: #fff;
}

/* Logos & Graphics */
.flex-column .thumb-wrapper.logo {
	margin-bottom: 1em;
}
.flex-column .column-logo {
	margin: auto;
	max-width: 8em;
}

/*--------------------------------------------------------
##	CTA
--------------------------------------------------------*/
div.flexible-cta {
}
.cta-message {
}
.cta-message a {
	text-decoration: underline;
}
div.flexible-cta.dark .cta-message p {
	color: #fff;
}
div.flexible-cta.primary .cta-message a:hover {
	color: var(--dark);
}

/*--------------------------------------------------------------
# HTML Embed
--------------------------------------------------------------*/
div.flexible-html {
}
div.flexible-html .html-embed-wrapper {
	width: 100%;
	height: 80vh;
	min-height: 500px;
}
div.flexible-html.outer-wrapper .html-embed-wrapper {
}
div.flexible-html iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

/*--------------------------------------------------------
##	Accordions
--------------------------------------------------------*/
div.flexible-accordion {
}
.flex-accordion-list {
	width: 100%;
	max-width: var(--content-width);
	margin: 0 auto;
	padding: 0;
	text-align: left;
}
.flex-accordion-list .accordion {
	margin: 5px 0;
	text-align: left;
	background-color: var(--light);
}
.flex-accordion-list .accordion-toggle {
	margin-bottom: 0;
	padding: 1.5em;
	font-size: 1em;
	font-weight: 700;
	text-transform: none;
	cursor: pointer;
	transition: all 0.4s ease;
}
.flex-accordion-list .accordion-toggle:hover {
	color: var(--grey);
}
.flex-accordion-list .accordion-toggle::after {
	content: '\f107';
	font-family: 'Font Awesome 5 Pro';
	float: right;
	color: var(--dark);
	font-size: 1em;
	line-height: 1;
}
.flex-accordion-list .accordion-toggle.active::after {
	content: '\f106';
}
.flex-accordion-list .accordion-content {
	padding: 0 1.5em 1.5em;
}
.flex-accordion-list .accordion-content p {
	padding-right: 4em;
}
.flex-accordion-list .accordion-content p:last-child {
	margin-bottom: 0;
}

/* 	Styled */
div.flexible-accordion.styled .accordion {
	margin-bottom: 1.5em;
	background-color: #fff;
	box-shadow: var(--box-shadow);
}
div.flexible-accordion.rounded .accordion {
	border-radius: var(--border-radius);
}

/* 	Dark */

/*--------------------------------------------------------
##	Hover Boxes
--------------------------------------------------------*/
div.flexible-hover-boxes {
}
.flex-column.hover-box {
	position: relative;
	height: 20vw;
	overflow: hidden;
}
.hover-box:hover img {
	filter: grayscale(100%);
}
.thumb-overlay.hover-box-overlay {
	background-color: var(--primary);
}
.hover-box:hover .thumb-overlay.hover-box-overlay {
	opacity: 0.85;
}
.hover-box-title {
	position: absolute;
	top: 50%;
	width: 100%;
	padding: 0 2em 0.5em;
	color: #fff;
	text-align: center;
	text-shadow: 0 0.125em 0.25em rgba(0,0,0,0.35);
	transform: translateY(-50%);
	transition: all 0.5s ease;
}
.hover-box:hover .hover-box-title {
	top: 40%;
	text-shadow: none;
}
.hover-box:hover .hover-box-title::after {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	content: '';
	display: block;
	width: 1.5em;
	height: 0.125em;
	background-color: #fff;
}
.hover-box-text {
	position: absolute;
	top: 101%;
	width: 100%;
	padding: 0 2em;
	text-align: center;
	transition: all 0.5s ease;
}
.hover-box:hover .hover-box-text {
	top: 55%;
	color: var(--dark);
}

/*--------------------------------------------------------
##	Feature Boxes
--------------------------------------------------------*/
div.flexible-features.outer-wrapper {
	padding: 0;
	border-top: none;
}
.flexible-features .flex-container.light {
	background-color: var(--light);
}
.flexible-features .flex-container.dark {
	background-color: var(--dark);
}
div.flexible-features.outer-wrapper .feature-box {
}
div.flexible-features:not(.outer-wrapper) .feature-box {
	margin-bottom: 25px;
	border-radius: var(--border-radius);
	overflow: hidden;
}
.feature-box {
	margin: 0 auto;
	padding: 0;
	background-color: #fff;	
	overflow: hidden;
}
.feature-box-image {
	flex: 0 1 100%;
	order: 1;
}
.feature-box-image .entry-thumbnail {
	width: 100%;
	height: 100%;
}
.feature-box-image.graphic .entry-thumbnail {
}
.feature-box-image.graphic .showcase-image {
	max-width: 20em;
}
.feature-box-content {
	flex: 0 1 100%;
	order: 2;
	padding: var(--box-padding);
	text-align: left;
}
.feature-box-content ul,
.feature-box-content ol {
	padding: 0;
	text-indent: 1em;
}
.feature-box p:last-of-type {
	margin-bottom: 0;
}

/* Dark styles */
.feature-box.dark h2 {
	color: #fff;
}
.feature-box.dark h3,
.feature-box.dark h4,
.feature-box.dark p,
.feature-box.dark ul {
	color: var(--light);
}
.feature-box.dark table.tablepress {
	border: 1px solid rgba(255,255,255,0.15);
}
.feature-box.dark table.tablepress thead th {
	border-bottom-color: rgba(255,255,255,0.15);
}
.feature-box.dark table.tablepress tr td {
	color: #fff;
	border-top-color: rgba(255,255,255,0.15);
}

/*--------------------------------------------------------
##	Photo Gallery
--------------------------------------------------------*/
div.flexible-gallery {
	text-align: center;
}
.photo-gallery {
	margin: 0 auto 1.5em;
}

/* Gallery Slider */
.gallery-slider {
	margin: 0 auto;
	overflow: hidden;
}
.gallery-slider img {
	width: 100%;
}

/* Gallery Lightbox */
.gallery-lightbox {
	margin: 0 auto;
}
.gallery-lightbox .thumb-wrapper {
	position: relative;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
}
.gallery-lightbox .thumb-overlay {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	width: 100%;
	height: 100%;
	background-color: var(--dark);
	transition: all 0.5s ease;
}
.gallery-lightbox .thumb-wrapper:hover .thumb-overlay {
	opacity: 0.75;
}
.gallery-lightbox .thumb-wrapper a {
	display: block;
	cursor: pointer;
}
.gallery-lightbox .thumb-wrapper img {
	transform: scale(1.0);
	opacity: 1;
	transition: all 0.5s ease;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}
.gallery-lightbox .thumb-wrapper:hover img {
	transform: scale(1.05);
}
.gallery-lightbox .thumb-wrapper i[class*=" fa-"],
.gallery-lightbox .thumb-wrapper svg {
	position: absolute;
	top: 60%;
	left: calc(50% - 25px);
	opacity: 0;
	width: 50px;
	height: 50px;
	padding: 15px;
	color: var(--dark);
	font-size: 20px;
	text-align: center;
	background-color: #fff;
	box-shadow: 0 0 3px rgba(0,0,0,0.2);
	transition: all 0.5s ease;
}
.gallery-lightbox .thumb-wrapper:hover i[class*=" fa-"],
.gallery-lightbox .thumb-wrapper:hover svg {
	top: calc(50% - 25px);
	opacity: 1;
}

/*--------------------------------------------------------
##	Video
--------------------------------------------------------*/
div.flexible-video {
}
.flexible-video .video-wrapper {
	max-width: var(--content-width);
	margin: 1.5em auto;
}
.flexible-video .embed-container {
	border-radius: var(--border-radius);
	overflow: hidden;
}
.flexible-video .btn {
	margin: 1.5em auto 0;
}
div.flexible-video.dark p {
	color: var(--light);
}

/*--------------------------------------------------------------
## 	Files / Documents
--------------------------------------------------------------*/
div.flexible-documents {
}
.file-list {
	max-width: var(--content-width);
	list-style-type: none;
	margin: 0 auto;
	padding: 0;
}
.file-list li {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	margin: 0 auto 0.25em;
	padding: 0;
	text-align: left;
	background-color: var(--light);
	transition: all 0.5s ease;
}
div.flexible-documents.light .file-list li {
	background-color: #fff;
}
div.flexible-documents.light .file-list li:hover {
	background-color: rgba(255,255,255,0.5);
}
.file-list li a.file-title {
	padding: 0.5em 1em;
	text-decoration: none;
}
.file-list li a.file-title:hover {
	text-decoration: underline;
}
.file-list .file-thumb {
	width: 3.125em;
	height: auto;
	padding: 0.6125em;
	vertical-align: middle;
	transition: all 0.5s ease;
}
.file-list li:hover .file-thumb {
	opacity: 0.5;
}
.file-list .file-specs {
	flex: 0 1 auto;
	margin-left: auto;
	padding: 0.5em 1em;
	color: var(--grey);
	font-size: 0.75em;
	text-transform: uppercase;
}

/*--------------------------------------------------------
##	Logo Slider
--------------------------------------------------------*/
div.flexible-logos {
	text-align: center;
}
div.flexible-logos + div.flexible-logos {
	padding-top: 0;
}
.logo-slider {
	max-width: var(--content-width);
	margin: 0 auto;
	padding: 0 2em;
}
.logo-slider .logo-slide {
	display: inline-block;
	margin: 0 0.5em;
}
.logo-slide,
.logo-slide a {
	vertical-align: middle;
}
.logo-slider img {
	width: auto;
	height: 100px;
	vertical-align: middle;
	transition: all 0.25s ease;
}
.logo-slider .slick-prev,
.logo-slider .slick-next {
	bottom: 50%;
	transform: translateY(50%);
}
.logo-slider .slick-prev {
	left: -1em;
}
.logo-slider .slick-next {
	right: -1em;
}
.logo-slider .slick-prev::before,
.logo-slider .slick-next::before {
	width: 40px;
	height: 40px;
	padding: 5px;
	font-size: 30px;
	color: var(--grey);
	text-shadow: none;
	background-color: transparent;
}
.logo-slider .slick-prev:hover::before,
.logo-slider .slick-next:hover::before {
	color: var(--primary);
	background-color: transparent;
}


/*--------------------------------------------------------
##	Single Image Slider
--------------------------------------------------------*/
 .flexible-imageslider {
	text-align: center;
	padding-top: 0px;
	padding-bottom: 0px;
} 

.single-image-slider {
	max-width: var(--content-width);
	margin: 0 auto;
	padding: 0 2em 15px 2em;

}

.single-image-slider .slick-prev,
.single-image-slider .slick-next {
	bottom: 50%;
	transform: translateY(50%);
}
.single-image-slider .slick-prev {
	left: -1em;
}
.single-image-slider .slick-next {
	right: -1em;
}
.single-image-slider .slick-prev::before,
.single-image-slider .slick-next::before {
	width: 40px;
	height: 40px;
	padding: 5px;
	font-size: 30px;
	color: var(--grey);
	text-shadow: none;
	background-color: transparent;
}
.single-image-slider .slick-prev:hover::before,
.single-image-slider .slick-next:hover::before {
	color: var(--primary);
	background-color: transparent;
}
.single-image-slider .slick-dots {
	bottom: 0;
	padding-left: 2.3em;
}
/*--------------------------------------------------------------
# Media Queries
--------------------------------------------------------------*/

/*	600px Breakpoint	*/
@media only screen and (min-width: 600px) {

.flex-column {
	flex: 0 1 48%;
	max-width: 48%;
}
.logo-slider img {
	height: 120px;
}

}

/*	600px Breakpoint	*/
@media only screen and (min-width: 600px) {

.flex-column:nth-last-child(n+1):first-child, 
.flex-column:nth-last-child(n+1):first-child ~ .flex-column {
	flex: 0 1 100%;
	max-width: 100%;
}
.flex-column:nth-last-child(n+2):first-child, 
.flex-column:nth-last-child(n+2):first-child ~ .flex-column {
	flex: 0 1 48%;
	max-width: 48%;
}
.feature-box-content {
	padding: var(--box-padding);
}
.file-list .file-thumb {
	width: 3em;
	padding: 1em;
}
.file-list br {
	display: none;
}

}

/*	700px Breakpoint	*/
@media only screen and (min-width: 700px) {

.flex-column:nth-last-child(n+1):first-child, 
.flex-column:nth-last-child(n+1):first-child ~ .flex-column {
	flex: 0 1 100%;
	max-width: 100%;
}
.flex-column:nth-last-child(n+2):first-child, 
.flex-column:nth-last-child(n+2):first-child ~ .flex-column {
	flex: 0 1 48%;
	max-width: 48%;
}
.flex-column:nth-last-child(n+3):first-child, 
.flex-column:nth-last-child(n+3):first-child ~ .flex-column {
	flex: 0 1 31%;
	max-width: 31%;
}
.flex-column:nth-last-child(n+4):first-child, 
.flex-column:nth-last-child(n+4):first-child ~ .flex-column {
	flex: 0 1 48%;
	max-width: 48%;
}
.flex-column .thumb-wrapper.icon i[class*=" fa-"],
.flex-column .thumb-wrapper.icon svg {
	font-size: 48px;
}
.logo-slider .slick-prev::before,
.logo-slider .slick-next::before {
	width: 50px;
	height: 50px;
	padding: 10px;
	font-size: 40px;
}
.logo-slider .slick-prev {
}
.logo-slider .slick-next {
}

}

/* 	800px Breakpoint	*/
@media only screen and (min-width: 800px) {

.flex-column:nth-last-child(n+4):first-child, 
.flex-column:nth-last-child(n+4):first-child ~ .flex-column {
	flex: 0 1 23%;
	max-width: 23%;
}
.flex-column .thumb-wrapper.icon i[class*=" fa-"],
.flex-column .thumb-wrapper.icon svg {
	font-size: 64px;
}
.flexible-video .video-wrapper {
	max-width: 40em;
}

}

/* 	1000px Breakpoint	*/
@media only screen and (min-width: 1000px) {

.hover-box-title {
	font-size: 2.5em;
}
.hover-box-text {
	font-size: 1.25em;
	line-height: 1.7;
}
.feature-box-image {
	flex: 0 1 40%;
}
.feature-box-content {
	flex: 0 1 60%;
}
.feature-box-image .entry-thumbnail.responsive {
	padding-bottom: 0;
	height: 100%;
}
.feature-box:nth-child(even) .feature-box-image {
	order: 2;
}
.feature-box:nth-child(even) .feature-box-content {
	order: 1;
}
div.flexible-features.outer-wrapper .feature-box:nth-child(odd) .feature-box-content {
	padding-right: 15vw;
}
div.flexible-features.outer-wrapper .feature-box:nth-child(even) .feature-box-content {
	padding-left: 15vw;
}
.logo-slider img {
	height: 160px;
}

}

/* 	1200px Breakpoint	*/
@media only screen and (min-width: 1200px) {

.flex-column .thumb-wrapper.icon i[class*=" fa-"] {
	font-size: 72px;
}
.flexible-video .video-wrapper {
	max-width: 60em;
}

}

/* 	1400px Breakpoint	*/
@media only screen and (min-width: 1400px) {

.logo-slider img {
	height: 200px;
}

}