cosmos
{
	display: none;
}

*, ::after, ::before {
    box-sizing: border-box;
}

* {
	margin-block-start: 0px;
	margin-block-end: 0px;
}

.debug_bbpress {
	
	border: 1px solid;
	padding: 10px;
	
}

body {
	margin: 0;
	overflow-x: hidden;
	line-height: 1.5;
}

section {
	clear: both;
}

footer {
	clear: both;
}

:focus {
	outline: none;
}

.aligncenter {
	text-align: center;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

a {
	color: inherit;
	text-decoration: none;
}
a:hover {
	color: inherit;
	text-decoration: none;
}

.back_button:hover {
	cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0px;
	margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2; /* Changing this breaks SoundLounge */
}

h1:last-child, h2:last-child, h3:last-child, h4:last-child, h5:last-child, h6:last-child {
	margin-bottom: 0px;
}

.no-margin-bottom {
	margin-bottom: 0px !important;
}

img {
	max-width: 100%;
	vertical-align: middle;
	object-fit: contain;
}

header {
	position: fixed;
	width: 100%;
	z-index: 1000;
}

figure {
	margin-inline-start: 0px;
    margin-inline-end: 0px;
}

figure > img, 
figure > a > img 
{
	display: none;
}

/* WTF is this for? */
figure.size-full:not(.is-resized) > img,
figure.size-full:not(.is-resized) > a > img 
{
	width: 100%;
	height: 100%;
	object-fit: cover;
}


.overflow_hidden {
	overflow: hidden;
}

.overflow_not_hidden,
.overflow_not_hidden > article
{
	overflow: visible !important;
}


figure.wp-block-video {
	line-height: 0;
}


figure.wp-block-video video {
	width: 100%;
	height: 100%;
	
	transition: height 1s;
}

figure.wp-block-video.contain video {
	object-fit: contain !important;
}

img.featured_image {
	max-width: 100%;
}

section.fixed {
	position: fixed;
	width: 100%;
}

section .container .wp-block-column {
	margin-bottom: 0px;
}

section .container .wp-block-image {
	margin-bottom: 0px;
}

section .container .wp-block-image > figure {
	margin-bottom: 0px;
	margin-top: 0px;
}

header .container {
	position:relative;
}

.modal-backdrop {
	display: none;
}

.modal-full {
    min-width: 100%;
    margin: 0;
	
	animation: fadein 1s;
}

.modal-full .modal-content {
    min-height: 100vh;
}

.modal-content {
	border: unset;
	border-radius: unset;
}


@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}


.paralax_image {
	display: none;
}

/* Special Left alignment */

.align-to-left-margin {
	padding-left: 15px !important;
}
@media(min-width: 576px)
{
	.align-to-left-margin {
		padding-left: calc(((100vw - 540px)/2)) !important;
	}
}
@media(min-width: 768px)
{
	.align-to-left-margin {
		padding-left: calc(((100vw - 720px)/2)) !important;
	}
}
@media(min-width: 992px)
{
	.align-to-left-margin {
		padding-left: calc(((100vw - 960px)/2)) !important;
	}
}
@media(min-width: 1200px)
{
	.align-to-left-margin {
		padding-left: calc(((100vw - 1140px)/2)) !important;
	}
}

/* -------------------------------------------------------------------- */

@media(max-width: 991px)
{
	section.column_layout_556 .wp-block-column:nth-of-type(2) {
		margin-left: 30px !important;
		margin-right: 30px !important;
	}
}

.hero-image {
	transition: opacity 1s;
	opacity: 0;
}


/* WordPress block overrides */
.wp-block-video {
	margin: 0px;
}



section 
{
	position: relative;
	overflow: hidden;
}

section:not(.paralax)
{
	/* background-color: white; BROKEN for transparent sections - TIMMY! */
	/* z-index: -10; /* So it's behind Box images that are at -5 */
}

section > .background 
{
	position: absolute;
	width: 100%;
	height: 100%;
	
	overflow: hidden;
	z-index: -15;
	/* z-index: 0; */
	
	transition: opacity 1s;
	opacity: 0;
}

section.paralax > .background 
{
	position: fixed;
	top: 0px;
	z-index: -20;
}

section > .background > img,
section > .background > video
{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

section > .background.pos-top > img,
section > .background.pos-top > video
{
	object-position: top;
	
	/* position: absolute;
	left: 50%;
	transform: translateX(-50%); */
}

section > .background.pos-middle > img,
section > .background.pos-middle > video
{
	object-position: middle;
	
	/*
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);  
	*/
}

section > .background.pos-bottom > img,
section > .background.pos-bottom > video
{
	object-position: bottom;
	
	/*
	position: absolute;
	bottom: 0%;
	left: 50%;
	transform: translateX(-50%);
	*/
}

section:not(.fullwidth_for_absolute_pos) .container {
	position: relative;
}

section.fullwidth_for_absolute_pos .container {
	position: unset;
}

/* POSITION BLOCK */
.position_absolute {
	position: absolute;
}
.position_fixed {
	position: fixed;
}

.valign_top {
	top: 0%;
}
.valign_middle {
	top: 50%;
}
.valign_bottom {
	bottom: 0%
}

.halign_left {
	/* Compensate for the container padding */
	left: calc(0% + 15px);
}
.halign_middle {
	left: 50%;
}
.halign_right {
	/* Compensate for the container padding */
	right: calc(0% + 15px);
}

.translate_5050 {
	transform: translate(-50%, -50%);
}
.translate_left100_y50 {
	transform: translate(calc(-100% - 15px), -50%);
}
.translate_right100_y50 {
	transform: translate(calc(100% + 15px), -50%);
}
.translateX_50 {
	transform: translateX(-50%);
}
.translateX_left100 {
	transform: translateX(-100%);
}
.translateX_right100 {
	transform: translateX(100%);
}
.translateY_50 {
	transform: translateY(-50%);
}

.wp-block-cgb-block-fec-article-listing {
	opacity: 0;
	transition: opacity: 1s;
}

/* SCREEN SIZES - HIDE CLASSES */

@media(max-width: 575px)
{
	.hide_xs {
		display: none !important;
	}
}
@media(min-width: 576px) and (max-width: 767px)
{
	.hide_sm {
		display: none !important;
	}
}
@media(min-width: 768px) and (max-width: 991px)
{
	.hide_md {
		display: none !important;
	}
}
@media(min-width: 992px) and (max-width: 1199px)
{
	.hide_lg {
		display: none !important;
	}
}
@media(min-width: 1200px)
{
	.hide_xl {
		display: none !important;
	}
}


.trigger,
.simple-grid > .trigger
{
	display: none;
}


.trigger.onstart,
.simple-grid > .trigger.onstart
{
	display: block;
}






/* ICON ARRAYS */

.icon-array-holder {
	/* display: inline-block; */
	display: flex;
}

.icon-array-holder > a > img {
	margin-right: 10px !important;
	margin-left: 0px !important; /* Overriding the one put on their in the plugin - doh! */
}

.icon-array-holder.align-center {
	display: block;
	margin: auto;
	width: fit-content;
}

.icon-array-holder.align-right {
	flex-direction: row-reverse;
}

.icon-array-holder.align-right > a > img {
	margin-right: 0px !important;
	margin-left: 10px !important;
}

.icon-array-holder.icons-4 > a:nth-child(4) > img {
	margin-right: 0px !important;
}

.icon-array-holder.icons-4 > a:nth-child(5) {
	display: none;
}

.icon-array-holder.icons-4 > a:nth-child(6),
.icon-array-holder.icons-5 > a:nth-child(6) 
{
	display: none;
}

.audio-switch:hover,
.play-this-box:hover,
.play-other-box:hover,
.video-fullscreen:hover
{
	cursor: pointer;
}


/* SLICK SLIDER */

.wp-block-column > .article-listing {
	height: 100%;
}

.run-slick-slider > * {
	height: 100%;
}

.run-slick-slider .slick-track {
	height: 100%;
}


.woocommerce div.product div.images.woocommerce-product-gallery {
	opacity: 1 !important;
}

.wp-block-image .alignleft {
	float: none;
	margin: 0px;
}

.sends-trigger:hover,
.trigger-next-box:hover
{
	cursor: pointer;
}



/* ---------------------------------- */
/* Ninja Forms */

.nf-form-content {
	max-width: 100% !important;
	padding: 0px !important;
}

style, script {
	display: none !important;
}
.nf-form-wrap {
	width: 100%;
}

.nf-field > .submit-wrap {
	background-color: transparent !important;
}



.slick-dots {
	position: absolute;
    top: 100%;
	height: 40px;
}


.cosmos-rangeslider > input {
	margin: 0px;
    width: 100%;
    padding: 0px;
}


/* SLICK SLIDER DEFAULTS */
.cos_slider_next
{
	position: absolute;
    z-index: 500;
}

.cos_slider_prev
{
	position: absolute;
    z-index: 500;
}

.cos_slider_next:hover, .cos_slider_prev:hover
{
	cursor: pointer;
}

.cos_slider_movenext {
	cursor: pointer;
}
.cos_slider_moveprev {
	cursor: pointer;
}


body > .cosmos-paralax {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	
	z-index: -100000;
}


.article-listing:not(.article-listing-slider) > *
{
	visibility: hidden;
}

.article-listing > *.al_itemloadwait {
	/* display: none !important; */
	opacity: 0 !important;
}
.article-listing > *.al_itemloadwait_taxonomy {
	/* display: none !important; */
	opacity: 0 !important;
}

.article-listing.transition-intro-active > *.hold {
	display: none !important;
}

.cosmos-paralax > video {
	
	width: 100%;
    height: 100%;
    object-fit: cover;
	
}

a.EmptyButtonFix:hover {
	
}

.slick-slide > div > .wp-block-image
{
	margin-bottom: 0px !important;
	display: block !important;
}

section.line-height-zero
{
	line-height: 0 !important;
}

section.line-height-zero .wp-block-cgb-block-fec-line
{
	display: block !important;
}


.wp-block-embed.aligncenter > .wp-block-embed__wrapper > div
{
	margin: auto;
}