/*---------------------------------------
*
* Custom Blocks (Yakkety Yak)
*
*---------------------------------------*/


/**
* C2C About block
*/
section.c2c-about .grid-container {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

section.c2c-about .section-header .section-title {
	line-height: 1.2;
	margin: 0 0 1.8rem 0;
}

section.c2c-about .section-content .left-column {
}

section.c2c-about .section-content .right-column {
}

section.c2c-about .section-content .title {
	line-height: 1.4;
	margin: 0 0 1rem 0;
}

section.c2c-about .section-content .description {
}

section.c2c-about .section-content .date-time {
	color: #ef3742;
	font-weight: bold;
	letter-spacing: 0.25rem;
	text-transform: uppercase;
}

section.c2c-about .buttons-wrapper {
	padding-top: 1rem;
}

section.c2c-about .buttons-wrapper .button {
	letter-spacing: 0.04rem;
    margin: 0;
	padding: 1rem 2.5rem;
}

section.c2c-about .buttons-wrapper .button:first-child {
	margin-right: 1rem;
}

@media(max-width: 39.9988em) {
	section.c2c-about .buttons-wrapper {
		margin-bottom: 10px;
	}

    section.c2c-about .buttons-wrapper .button {
        margin: 0 0 20px 0;
    }
}

@media(min-width: 40em) {
}



/**
* C2C Awards Slider block
*/
section.c2c-awards-slider .grid-container {
}

section.c2c-awards-slider .section-header .section-title {
	line-height: 1.2;
	margin: 0 0 0.8rem 0;
}

section.c2c-awards-slider .section-header .section-description {
	font-size: 1.25rem;
	margin: 0 0 1.8rem 0;
}

section.c2c-awards-slider .scroller-container {
	margin: 0;
	padding: 0;
	width: 100%;
	max-width: none;
}

section.c2c-awards-slider .scroller-container .grid-x {
	margin: 0;
	padding: 0;
	width: 100%;
	max-width: none;
}

section.c2c-awards-slider .scroller-container .grid-x .cell {
	margin: 0;
	padding: 0;
	width: 100%;
	max-width: none;
}

section.c2c-awards-slider .image-scroller-section {
	margin: 0;
	padding-left: calc(50% - 36.5rem);
}

section.c2c-awards-slider .image-right.slick-arrow,
section.c2c-awards-slider .modal-right.slick-arrow {
    right: 3vw;
    font-size: 42px;
}

section.c2c-awards-slider .image-left.slick-arrow,
section.c2c-awards-slider .modal-left.slick-arrow {
    left: calc(50% - 40.5rem);
    font-size: 42px;
}

section.c2c-awards-slider .slick-list {
    padding: 0 0 2vw !important;
	overflow: hidden;
}

@media(max-width: 1340px) {
	section.c2c-awards-slider .image-scroller-section {
		margin: 0;
		padding-left: 60px;
	}

	section.c2c-awards-slider .image-scroller-section li.image-slide img {
		height: 250px;
	}

	section.c2c-awards-slider .image-left.slick-arrow,
	section.c2c-awards-slider .modal-left.slick-arrow {
		left: 15px;
		font-size: 36px;
	}

	section.c2c-awards-slider .image-right.slick-arrow,
	section.c2c-awards-slider .modal-right.slick-arrow {
		right: 15px;
		font-size: 36px;
	}
}



/**
* C2C Guests Grid block
*/
section.c2c-guests-grid .grid-container {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

section.c2c-guests-grid .section-header .section-title {
	line-height: 1.2;
	margin: 0 0 1.8rem 0;
}

section.c2c-guests-grid.guests-secondary .section-header .section-title {
	font-size: 1.8rem;
}


section.c2c-guests-grid .profiles-grid .grid-x {
	margin-left: -.5rem;
	margin-right: -.5rem;
}

section.c2c-guests-grid .profiles-grid .grid-x .cell {
	flex: 0 0 auto;
	margin-left: .5rem;
    margin-right: .5rem;
}

@media(max-width: 39.9988em) {
	section.c2c-guests-grid .profiles-grid .grid-x .cell {
		width: calc(50% - 1rem);
	}
}

@media(min-width: 40em) {
	section.c2c-guests-grid .profiles-grid .grid-x .cell {
		width: calc(20% - 1rem);
	}
}

section.c2c-guests-grid .profiles-grid .cell .entry-image {
	margin-bottom: 1rem;
}

section.c2c-guests-grid .profiles-grid .cell .entry-meta {
	margin-bottom: 2rem;
}

section.c2c-guests-grid .profiles-grid .cell .entry-meta .name {
	color: #0a2240;
	font-size: 1rem;
	font-weight: 600;
	margin: 0;
	padding: 0;
}

section.c2c-guests-grid .profiles-grid .cell .entry-meta .title {
	font-size: 0.9rem;
	font-weight: 400;
	margin: 0;
	padding: 0;
}

/* hide photos option */
section.c2c-guests-grid .profiles-grid.hide-photos .cell .entry-image {
	display: none;
}



/**
* C2C Live Stream block
*/
section.c2c-live-stream .grid-container {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

section.c2c-live-stream .section-header .stream-status .title {
	color: #ef3742;
	font-size: 0.9rem;
	font-weight: normal;
	letter-spacing: 0.25rem;
	margin: 0 0 0.5rem 0;
	text-transform: uppercase;
}

section.c2c-live-stream .section-header .section-title {
	line-height: 1.2;
	margin: 0 0 1.8rem 0;
}

section.c2c-live-stream .responsive-embed {
	background: #888;
}

.play-c2c {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background: #0003;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 600%;
    cursor: pointer;
}

@media(max-width: 39.9988em) {
	section.c2c-live-stream .responsive-embed {
		margin: 0 0 1.8rem 0;
		padding-bottom: 65%;
	}
}

@media(min-width: 40em) {
	section.c2c-live-stream .responsive-embed {
		margin: 0 0 1.8rem 0;
		padding-bottom: 50%;
	}
}

section.c2c-live-stream .buttons-wrapper {
	/*margin-bottom: 20px;*/
}

section.c2c-live-stream .buttons-wrapper .button {
	letter-spacing: 0.04rem;
    margin: 0 0 25px 0;
	padding: 1rem 2.5rem;
}

section.c2c-live-stream .buttons-wrapper .button:first-child {
	margin-right: 1rem;
}

section.c2c-live-stream .section-footer .donate-meter {
	text-align: right;
}


/*
 Donation meter
*/
section.c2c-live-stream iframe#donation-meter {
	border: 1px solid #ddd;
	margin: 0;
	padding: 0;

	overflow: hidden;
	width: 100%;
	height: 150px;
}

/*
 Ultimeter
*/
section.c2c-live-stream .ultimeter {
	background-image: url(/wp-content/themes/foundation/dist/assets/images/broadcast-tower-red.png);
	background-position: 26px 16px;
	background-repeat: no-repeat;
	background-size: 20px 16px;

    border: 1px solid #ddd;
	height: 120px;
	float: right;
    padding: 50px 25px;
	position: relative;
	width: 100%;
	/*min-width: 500px;*/
}

section.c2c-live-stream .ultimeter:before {
	position: absolute;
	top: 15px;
	left: 58px;

	color: #ef3742;
	content: "Donation Tracker";
	display: inline-block;
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.15rem;
	text-transform: uppercase;
}

section.c2c-live-stream .ultimeter_progressbar {
    margin-bottom: 0;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

section.c2c-live-stream .ultimeter_progressbar_goal .ultimeter_progressbar_amount {
	position: absolute;
    top: 80px;
	right: 30px;
	width: 300px;

	color: #ef3742;
	display: inline-block;
	float: none;
	font-weight: 600;
    text-align: right;
}

section.c2c-live-stream .ultimeter_progressbar_goal .ultimeter_progressbar_amount:after {
	color: #777;
	content: "Goal";
	display: inline-block;
	font-weight: normal;
	margin-left: 0.3rem;
}

section.c2c-live-stream .ultimeter_progressbar_progress .ultimeter_progressbar_amount {
    position: absolute;
    top: 30px;
	left: 0;
	width: 300px;

	color: #ef3742;
	display: inline-block;
	font-weight: 600;
    text-align: left;
}

section.c2c-live-stream .ultimeter_progressbar_progress .ultimeter_progressbar_amount:after {
	color: #777;
	content: "Raised";
	display: inline-block;
	font-weight: normal;
	margin-left: 0.3rem;
}

section.c2c-live-stream .ultimeter_progressbar .ultimeter_progressbar_outer {
    position: relative;

	background: #e6e5e2;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
    height: 20px;

	-webkit-box-shadow: none;
	-moz-box-shadow: none;
    box-shadow: none;
}

section.c2c-live-stream .ultimeter_progressbar .ultimeter_progressbar_outer .ultimeter_progressbar_progress {
    position: absolute;
    top: 0;

	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	color: #fff;
	height: 100%;
    line-height: 20px;
    text-align: right;
    width: 0;

	-webkit-box-shadow: none;
	-moz-box-shadow: none;
    box-shadow: none;
}
/* END: Ultimeter */




/**
* C2C Sponsors Level block
*/
section.c2c-sponsors-level .grid-container {
	margin-top: 4rem;
    margin-bottom: 5rem;
}

section.c2c-sponsors-level .section-header .section-title {
	font-size: 1.4rem;
	line-height: 1.2;
	margin: 0 0 1.5rem 0;
	text-align: center;
}

section.c2c-sponsors-level .section-header .section-title span {
	display: inline-block;
	padding-bottom: 0.75rem;
	position: relative;
}

section.c2c-sponsors-level .section-header .section-title span:after {
	position: absolute;
	bottom: 0;
	left: 0;

	border-bottom: 2px solid #ed3943;
	content: " ";
	display: block;
	height: 2px;
	width: 100%;
}

/*
 logo-grid
*/
section.c2c-sponsors-level .section_content {

}

section.c2c-sponsors-level .logo-grid {
    display: flex;
    flex-wrap: wrap;
	justify-content: center;
	width: 100%;
}

section.c2c-sponsors-level .logo-grid .logo {
	display: flex;
	align-content: center;
	justify-content: center;

    position: relative;
    height: 8vw;
	max-height: 100px;
	width: 20%;

    margin: 10px;
    padding: 0;
    overflow: hidden;
	text-align: center;
}

section.c2c-sponsors-level .logo-grid .logo img {
	height: 100%;
	max-height: 100%;
	width: auto;
	max-width: none;

	margin: auto;
}

section.c2c-sponsors-level .logo-grid .logo.wide {
}

section.c2c-sponsors-level .logo-grid .logo.wide img {
	height: auto;
	max-height: none;
	width: 100%;
	max-width: none;
}

@media(max-width: 39.9988em) {
	section.c2c-sponsors-level .logo-grid .logo {
		height: 24vw;
		width: calc(50% - 20px);
	}
}

/*
Show logos
*/
section.c2c-sponsors-level.show-logos .logo-grid .logo img {
	display: flex;
}

section.c2c-sponsors-level.show-logos .logo-grid .logo .sponsor-name {
	display: none;
}

/*
Hide logos
*/
section.c2c-sponsors-level.hide-logos .logo-grid .logo {
	height: 4vw;
	height: auto;

	max-height: 100px;
	width: 20%;
	margin: 10px;
}

section.c2c-sponsors-level.hide-logos .logo-grid .logo .logo-link,
section.c2c-sponsors-level.hide-logos .logo-grid .logo img {
	display: none;
}

section.c2c-sponsors-level.hide-logos .logo-grid .logo .sponsor-name {
	display: block;

	font-size: 1.15rem;
	font-wieght: 400;
	margin: auto;
	padding: 0;
}




/**
* C2C Twitter Feed block
*/
section.c2c-twtter-feed .grid-container {
	margin-top: 4rem;
    margin-bottom: 5rem;
}

section.c2c-twtter-feed .section-header .section-title {
	line-height: 1.2;
	margin: 0 0 0.8rem 0;
}

section.c2c-twtter-feed .section-header .section-description {
	font-size: 1.25rem;
	margin: 0 0 1.8rem 0;
}


section.c2c-twtter-feed ul.media-slide {
    list-style: none;
    margin: 0;
}

section.c2c-twtter-feed .tweet {
    width: 28.33vw;
    margin: 0 2.5vw 0 0;
}


section.c2c-twtter-feed .tweet-nav.nav-right.slick-arrow {
    right: 4vw;
    left: auto;
}

section.c2c-twtter-feed .twitter-feed {
    position: relative;
    padding-left: 3vw;
    padding-right: 3vw;
}

section.c2c-twtter-feed .tweet-nav.nav-left.slick-arrow {
    left: 4vw;
    right: auto;
}

section.c2c-twtter-feed .tweet-nav {
    color: #ed3943;
    font-size: 2.5vw;
}

section.c2c-twtter-feed .tweet-nav.nav-right.slick-arrow {
    right:.5vw;
    left: auto;
}


section.c2c-twtter-feed .tweet-nav.nav-left.slick-arrow {
    left: .5vw;
    right: auto;
}

section.c2c-twtter-feed .tweet-nav {
    color: #ed3943;
    font-size: 2.5vw;
}

section.c2c-twtter-feed .twitter-slide.slick-slide {
    margin-right: 1vw;
    display: flex;
    flex-direction: column;
    margin-left: 1vw;
}

section.c2c-twtter-feed .twitter-profile {
    display: flex;
    margin-bottom: 1vw;
}

section.c2c-twtter-feed .profile-image {
    margin-right: 1.5vw;
    border-radius: 100%;
    overflow: hidden;
}

section.c2c-twtter-feed .profile-name {
    font-family: AvenirLTPro-Heavy;
}

section.c2c-twtter-feed .profile-user a {
    color: #85d0e6;
    font-size: 85%;
    letter-spacing: 1px;
}

section.c2c-twtter-feed .tweet-link a {
    color: #ed3943;
    margin-top: .5vw;
    display: block;
    font-size: 90%;
}


section.c2c-twtter-feed .slick-list{
  overflow: hidden;
}


@media screen and (max-width: 800px){
  section.c2c-twtter-feed .tweet-nav{
  font-size: 5vw;
  }
  section.c2c-twtter-feed .tweet-nav.nav-right.slick-arrow {
    right: -15px;
    left: auto;
}


section.c2c-twtter-feed .tweet-nav.nav-left.slick-arrow {
    left: -15px;
    right: auto;
}
}

/*** rrmw Updates 4/15/21 ***/

/*** Fix for missing core columns styling ***/

.wp-block-columns {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.wp-block-columns.flex-start {
    justify-content: flex-start;
}

/* Advanced Hero Block */

.wp-block.advanced-hero-block {
    position: relative;
}

.advanced-hero-block .slick-track {
    display: flex;
    align-items: unset;
}

.advanced-hero-block .slick-slide {
   height: inherit !important;
}

.advanced-hero-block ul.slides {
    position: relative;
    margin: 0;
}

.advanced-hero-block .slick-list {
    padding: 0 !important;
}

/* Advanced Hero Content */

.advanced-hero-content {
    position: relative;
    overflow: hidden;
}

.advanced-hero-content h1, h1 {
    font-size: 47px;
    line-height: 1.4;
    margin-bottom: 0;
}

.advanced-hero-content  .slide-image {
    width: 100%;
    height: 100%;
    position: absolute;
}

.advanced-hero-content  .slide-image.mobile-image {
    display: none;
}

.advanced-hero-content  .slide-image>img {
    width: 100%;
    height: 100%;
}

.advanced-hero-content  .slide-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: column;
    justify-content: center;
    top: 0;
    bottom: 0;
    margin: auto;
}

.advanced-hero-content .slide-wrap {
    width: 100%;
    padding-top: 14rem;
    padding-bottom: 10rem;
}

.advanced-hero-block .slick-arrow, .recent-posts .slick-arrow {
    position: relative;
    top: 0;
    bottom: 0;
    margin: 0;
    height: 2.5rem;
    z-index: 9;
    width: 2.5rem;
    border-radius: 100%;
    color: #fff;
    font-size: 130%;
}

.advanced-hero-block .slick-arrow.arrow-right {
    margin-bottom: 0;
}

.advanced-hero-block .slick-arrow>i, .recent-posts .slick-arrow>i {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    background: #ef3742;
}

.hero-arrows {
    position: absolute;
    bottom: 2.5rem;
	left: 0;
	right: 0;
	margin: auto;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
  justify-content: space-between;
}


.advanced-hero-content .background-overlay{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.slide-wrap .wp-block-column section.image-section img {
    width: 100%;
}


/* Advanced Hero Content Orphan Fix */

div:not(.slick-track) > .advanced-hero-content{
margin-left: calc(-50rem + 50%);
margin-right: calc(-50rem + 50%);
max-width: 100rem;
width: 100rem;
}

/* End Advanced Hero */

/*** Edits to Recent Posts Block ***/

.post-excerpt {
    margin: 1rem 0;
    font-weight: 600;
    color: #0a2340;
}

.recent-posts a.link {
    display: flex;
    align-items: center;
}

.recent-posts a.link>i {
    margin-left: .4rem;
}

.recent-posts-wrap.slick-slider .cell.slick-slide {
    padding: 0 15px;
}
.recent-posts-wrap.slick-slider {
	max-width: 83rem;
    margin: 0 auto;
}
.recent-posts .grid-container {
    max-width: 84.5rem;
}

.recent-posts .slick-list {
	width: 75rem;
    margin: 0 auto;
    padding-bottom: 0 !important;
    max-width: 90%;
}
.recent-posts .slick-track {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}
.recent-posts .slick-arrow {
    position: absolute;
    left: 0;
    right: auto;
    margin: auto;
}

.recent-posts .slick-arrow.arrow-right {
    left: auto;
    right: 0;
}

section.recent-posts {
    padding: 0;
}

/** Fix for missing cover block styles ***/

.wp-block-cover__inner-container {
    width: 75rem;
    margin: 0 auto;
    position: relative;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    display: flex;
    align-items: center;
    padding-right: .9375rem;
    padding-left: .9375rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.wp-block-cover {
	position: relative;
    align-items: center;
    display: flex;
}

.alignwide {
    max-width: 75rem;
    margin: 0 auto;
    padding-right: .9375rem;
    padding-left: .9375rem;
}

.wp-block-cover>img {
	width: 100%;
    position: absolute;
    height: 100%;
    object-fit: cover;
}

/** Widgets **/

.widgets-block {
    width: 100%;
    display: flex;
}

.widget-block {
     flex-grow: 1;
    width: 0;
    margin-right: 1rem;
    color: #0a2240;
    padding: 1rem .5rem;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.widget-block .wp-block-buttons {
    display: flex;
    justify-self: flex-end;
}

.widget-block:last-child {
    margin-right: 0;
}

.widget-icon {
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.widget-icon>i {
    font-style: normal;
}

.widget-icon.align-Left {
    float: left;
    clear: left;
    margin-right: 1rem;
}

.widget-icon.align-Right {
    float: right;
    clear: right;
    margin-left: 1rem;
}

.widget-icon.align-Center {
    margin: 0 auto;
}

.button, .wp-block-button .wp-block-button__link {
    color: #fff;
    text-align: center;
}

.wp-block-button.has-custom-width.wp-block-button__width-100, .wp-block-button.has-custom-width.wp-block-button__width-100>a {
    width: 100%;
}

.widget-block .button, .widget-block .wp-block-button .wp-block-button__link {
    margin: 0;
} 

.widget-block h5 {
    margin-top: .5rem;
}

.widget-block.align-Left {
	display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;    
    align-self: flex-start;
}

.widget-title {
    line-height: 1.2;
}

.widget-block.align-Left>p {
    width: 100%;
}

.widget-icon.no-bg {
    width: max-content!important;
    height: max-content!important;
    margin-right: .5rem;
    padding-bottom: .75rem;
}

/*** Missing formatting fixes ***/

.cell.medium-6.small-order-1.half-full.media-container {
    width: 50vw;
    margin-left: calc((100vw - 100%)/-2);
}

.has-text-align-center {
    text-align: center;
}

.media-with-text .grid-x.grid-margin-x.align-middle {
    display: flex;
    flex-wrap: nowrap;
}

.media-with-text.no-padding {
    padding: 0;
}

.media-with-text.right .cell.medium-6.small-order-1.half-full.media-container {
    margin-left: 0;
}

.tab-nav.grid-container {
    margin-bottom: -1.5rem;
	z-index: 999;
    position: relative;
    overflow: auto;
}

.tab-nav-item {
    margin-right: 2rem;
    transition: .3s;
    white-space: nowrap;
}

p.has-small-font-size {
    font-weight: 400;
    letter-spacing: .1rem;
    font-size: 95%;
}

.media-with-text a.button.secondary {
    margin: 0;
    padding: 1em 0;
    color: #ef3742;
}

.media-with-text a.button.secondary:hover {
    background: none;
}

/*** Tabs ***/

.tabs .media, .tabs .media-container>img {
    height: auto;
    position: relative;
}

.tabs .media-container {
    padding-bottom: 0;
    height: auto;
}

.tab-modal {
    background: none;
    padding: 0;
    border: 0;
    width: 75vw;
    max-width: none;
}

.tab-modal .flex-video {
    padding-bottom: 56%;
}

.tab-modal {
    background: none;
    padding: 0;
    border: 0;
    width: 75vw;
    max-width: none;
    overflow: visible;
    top: 20%!important;
}

.tab-modal .flex-video {
    padding-bottom: 56%;
}

.tab-modal button.close-button {
    position: absolute;
    right: -10rem;
    color: #fff;
    top: -7rem;
    font-size: 4rem;
}

.tabs button.video-button {
    background: none;
    width: 100%;
    height: 100%;
}

.tabs .video-button-container {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: none;
}

.tabs .video-button::after {
    display: none;
}

.tab-block-nav-item {
    color: #0a2340;
    font-weight: 600;
    padding: .5rem 0;
    font-size: 110%;
    transition: .3s;
    cursor: pointer;
    position: relative;
}

.tab-block-nav-item:hover, .tab-block-nav-item.active {
    color: #ef3742;
}

.media-with-text.tabs .grid-x.grid-margin-x.align-middle {
    flex-wrap: wrap;
}

.media-with-text.tabs .grid-x.grid-margin-x.align-middle .tabs {
    order: 3;
    margin-left: 31%;
    padding: 2rem;
    margin-top: -6rem;
    z-index: 9;
    position: relative;
    background: #fff;
    margin-right: 5%;
}

.tab-item h5 {
    color: #86d0e6;
    text-transform: uppercase;
    font-size: 170%;
    letter-spacing: .1rem;
}

.tab-item.active {
    display: block;
}

.tab-item {
    display: none;
}

.tabs a.button {
    background: #ef3742;
    color: #fff;
    margin-top: 0;
    padding: 1em 4em;
    float: right;
}

.tab-item p {
/*     font-weight: 600; */
    color: #0a2340;
}

.tab-block-nav-item::before {content: '';width: 2rem;height: 3px;position: absolute;left: -3rem;background: #ffffff;top: auto;bottom: 50%;margin: auto;}

.tab-block-nav-item.active::before, .tab-block-nav-item:hover::before {
    background: #ef3742;
}

/* 
.carousel-block::after {
    background: #0a2340;
    width: 80rem;
    position: absolute;
    content: '';
    left: 0;
    height: 27rem;
    top: 3.5rem;
    right: auto;
    z-index: -1;
}
 */
 
 .media-with-text .text {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.media-container:not(.half-full)>img {
    transform: none !important;
    height: auto;
    position: relative;
}

.media-container:not(.half-full) {
    padding-bottom: 0;
    height: auto;
}
 
@media only screen and (max-width: 1024px) {
	.widgets-block {
		flex-wrap: wrap;
	}

	.widget-block {
		flex-grow: unset;
    	width: 29vw;
		margin-bottom: 1rem;
	}
	
	.media-with-text.tabs .grid-x.grid-margin-x.align-middle .tabs {
		margin-left: 0;
		margin-top: 0;
	}

	.tab-nav-container {
		padding-left: 3rem;
	}

	.media-with-text.tabs .text {
		padding-right: 1rem;
	}
	
	.advanced-hero-content .slide-image.desktop-image {
		display: block;
		position: absolute;
		height: 100%;
	}
	
	.advanced-hero-content .slide-inner {
		position: relative;
	} 

	.advanced-hero-content .slide-image>img {
		height: 100%;
	}
}

@media only screen and (max-width: 650px) {
	.tab-nav.grid-container {
		margin-bottom: 0;
	}
/* 
}
@media only screen and (max-width: 550px) {
 */
 	.media-with-text.tabs .grid-x.grid-margin-x.align-middle .tabs {
		margin-left: 0;
		margin-top: 0;
		background: none;
		padding-top: -0;
	}
	
	.advanced-hero-content .slide-wrap {
		padding-top: 12rem;
		padding-bottom: 3rem;
	}

	.tab-nav.grid-container {
		margin-bottom: 0;
	}

	.media-with-text .grid-x.grid-margin-x.align-middle {
		flex-direction: column;
	}

	.widgets-block {
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.widget-block {
	    width: 47.8%;
		flex-grow: unset;
		margin-bottom: 1rem;
	    margin-right: 0;
	}
	
	.wp-block-cover__inner-container {
		width: 97vw;
	}

	.widget-block:nth-of-type(even) {
		margin-right: 0;
	}

	.cell.medium-6.small-order-1.half-full.media-container {
	    width: 90vw;
		margin-right: 0;
		margin-left: 0;
	}

	.wp-block-cover__inner-container {position: relative;padding-bottom: 2rem;}

	.wp-block-columns {
		flex-direction: column;
	}

	.media-container {
		margin-bottom: 1rem;
	}

	.button, .wp-block-button .wp-block-button__link {
		margin-top: 0;
	}

	.recent-posts-wrap.slick-slider .cell.slick-slide {
		padding: 0;
	}

	.recent-posts .slick-arrow {
		top: auto;
		bottom: 1rem;
	}

	.recent-posts .slick-arrow.arrow-right {
	    right: 3vw;
	}

	.recent-posts .slick-arrow.arrow-left {
	    left: 74vw;
		right: auto;
	}

	.recent-posts .slick-list {
		max-width: 93%;
	}
	.wp-block-cover>img {
		width: 100%;
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		margin: auto;
		height: 100%;
		object-fit: cover;
	}
	
	.advanced-hero-content  .slide-image.mobile-image {
		display: block;
		position: absolute;
	    height: 100%;
	}

	.advanced-hero-content  .slide-image.desktop-image {
		  display: none;
	}
	
	.advanced-hero-content .slide-inner {
		position: relative;
	}

	.advanced-hero-content .slide-image>img {
		height: 100%;
	}

	.advanced-hero-content h1, h1 {
		font-size: 28px;
	}

	.hero-arrows {
		flex-direction: row;
		justify-content: flex-end;
		align-items: center;
		bottom: 4vw;
	}

	.advanced-hero-block .slick-arrow.arrow-right {
		margin-bottom: auto;
	}

	.hero-arrows .slick-arrow.arrow-left {
		margin-right: 1rem;
	}

	.advanced-hero-content .slide-wrap {
		padding-bottom: 19vw;
	}
	
	.alignwide {
		max-width: 96vw;
	}
	
	.media-with-text .text {
		padding-top: 0;
	}
	
	.tabs a.button {
		float: none;
	}
	
	.tab-modal {
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		width: 100%;
		max-width: none;
		height: 100%;
		min-height: 100%;
		margin-left: 0;
		border: 0;
		border-radius: 0;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	
	.tab-modal .flex-video {
		width: 100%;
	}
 }