cosmos,
cosmos_transition
{
	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;
}

#cosmos_paralax_holder
{	
	position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100vh;
    z-index: -10000;
}

#cosmos_paralax_holder > div.background,
#cosmos_paralax_holder figure,
#cosmos_paralax_holder img
{
	width: 100%;
    height: 100%;
}

#cosmos_paralax_holder img
{
	object-fit: cover;
}

video
{
	width: 100%;
	height: 100%;
}

.cosmos-group
{
	
}

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;
}

.uppercase
{
	text-transform: uppercase;
}

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%;
	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;
}

.cosmos_field
{
	/* visibility: hidden; */
	display: none;
}
.cosmos_field.show
{
	/* visibility: visible; */
	display: block;
}

.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 > figure
{
	width: 100%;
	height: 100%;
}

section > .background > figure > img,
section > .background > figure > video
{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

section > .background.pos-top > figure > img,
section > .background.pos-top > figure > video
{
	object-position: top;
	
	/* position: absolute;
	left: 50%;
	transform: translateX(-50%); */
}

section > .background.pos-middle > figure > img,
section > .background.pos-middle > figure > video
{
	object-position: middle;
	
	/*
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);  
	*/
}

section > .background.pos-bottom > figure > img,
section > .background.pos-bottom > figure > 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%;
}

.slick-next.slick-arrow,
.slick-prev.slick-arrow
{
	z-index: 10000;
}


.woocommerce div.product div.images.woocommerce-product-gallery {
	opacity: 1 !important;
}

.wp-block-image .alignleft {
	float: none;
	margin: 0px;
}

.sends-trigger:hover,
.sends-trigger-reverse:hover,
.trigger-next-box:hover
{
	cursor: pointer;
}

.run-slick-slider.centerMode .slick-list
{
	padding: 40px 0px !important;
}

.run-slick-slider.centerMode .slick-list .slick-slide
{
	transition: scale 0.5s;
}
.run-slick-slider.centerMode .slick-list .slick-slide:hover
{
	cursor: pointer;
}

.run-slick-slider.centerMode .slick-list .slick-center.slick-slide
{
	scale: 1.2;
	position: relative;
	z-index: 100;
}

.cosmos-dots
{
	display: flex;
    align-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    padding: 0px;
	
	list-style-type: none;
}

.cosmos-dots > li > button
{
	background-color: lightgrey;
	
	border: 0px;
    margin: 3px;
    content-visibility: hidden;
    width: 30px;
    height: 3px;
}

.cosmos-dots > li:hover,
.cosmos-dots > li > button:hover
{
	cursor: pointer;
}

.cosmos-dots > li.slick-active > button
{
	background-color: orange;
}

/* ---------------------------------- */
/* 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;
}

.nf-field-label .nf-label-span, .nf-field-label label
{
	font-size: 18px;
    line-height: 20px;
}


.slick-dots {
	position: absolute;
    top: 100%;
	height: 40px;
}


.cosmos-rangeslider > input {
	margin: 0px;
    width: 100%;
    padding: 0px;
}


/* SLICK SLIDER DEFAULTS */
.cos_slider_next,
.cos_slider_prev
{
	position: absolute;
    z-index: 500;
	/* background-color: lightgrey; */
}

.cos_slider_next:hover, .cos_slider_prev:hover
{
	cursor: pointer;
}

.cos_slider_next > img,
.cos_slider_prev > img
{
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.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-slider
{
	display: none;
}
.article-listing-slider.show
{
	display: block;
}

.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;
}

.article-listing.load_content > *:hover
{
	cursor: pointer;
}

.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,
section.cosmos_line_fix .wp-block-cgb-block-fec-line
{
	display: block !important;
}


.wp-block-embed.aligncenter > .wp-block-embed__wrapper > div
{
	margin: auto;
}

.cos_triggered,
.simple-box.cos_triggered
{
	display: none;
}

.hide_until_transition
{
	visibility: hidden !important;
	/* display: none !important; */
}
.hide_until_transition.run,
.hide_until_transition.reverse,
.hide_until_transition.hold
{
	visibility: visible !important;
	/* display: block !important; */
}

.hide_content_till_transition > .overlay > .content,
.hide_content_till_transition > .overlay > .content .slick-slide,
.hide_content_till_transition > .overlay > .content .slick-slide > div > .simple-box
{
	visibility: hidden !important;
}
.hide_content_till_transition > .overlay > .content.run,
.hide_content_till_transition > .overlay > .content.run .slick-slide,
.hide_content_till_transition > .overlay > .content.run .slick-slide > div > .simple-box,
.hide_content_till_transition > .overlay > .content.reverse,
.hide_content_till_transition > .overlay > .content.reverse .slick-slide,
.hide_content_till_transition > .overlay > .content.reverse .slick-slide > div > .simple-box
{
	visibility: visible !important;
}

.hide_till_transition,
.hide_till_transition .slick-slide,
.hide_till_transition .slick-slide > div > .simple-box
{
	visibility: hidden !important;
}
.hide_till_transition.run,
.hide_till_transition.run .slick-slide,
.hide_till_transition.run .slick-slide > div > .simple-box,
.hide_till_transition.reverse,
.hide_till_transition.reverse .slick-slide,
.hide_till_transition.reverse .slick-slide > div > .simple-box
{
	visibility: visible !important;
}

.cos_triggered.run,
.cos_triggered.reverse,
.cos_triggered.hold,
.simple-box.cos_triggered.run,
.simple-box.cos_triggered.reverse,
.simple-box.cos_triggered.hold
{
	display: block;
}

.simple-box.content-onclick:not(.clicked)
{
	cursor: pointer;
}

.display_none
{
	display: none !important;
}

.cos-flip-box.hover:hover,
.cos-flip-box.click:hover
{
	cursor: pointer;
}


/* LAYERS */

.cosmos-layer
{
	position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

#mc_embed_signup
{
	background-color: transparent !important;
}