/* Section Styles*/
.wp-block-group.section {
	padding-top: 6rem;
	padding-bottom: 6rem;

	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;

	background-color: var(--mainColor);
	color: #fff;

}

.wp-block-group.section.chevron::before {
	content: "";
	position: absolute;
	bottom: 0;
	width: 0;
	height: 0;
	border-left: 80px solid transparent;
	border-right: 80px solid transparent;
	border-top: 30px solid #fff;
	margin-bottom: -30px;
	z-index: 10;
	
	border-top: 30px solid var(--mainColor);
}

.wp-block-group.section .wp-block-group__inner-container {
	width: clamp(calc(320px - 40px), calc(100% - 40px), 1024px);
	margin: 0 auto;
}

.wp-block-group.section.wide .wp-block-group__inner-container {
	width: calc(100% - 40px) !important;
}

.wp-block-group.section.alt {
	background-color: var(--secondaryColor);
	/*color: initial;*/
}

.wp-block-group.section:not(.gray):not(.transparent) a {
	color: #fff !important;
}

.wp-block-group.section a:active,
.wp-block-group.section a:focus,
.wp-block-group.section a:hover {
	color: var(--secondaryColor) !important;
}

.wp-block-group.section.alt a:active,
.wp-block-group.section.alt a:focus,
.wp-block-group.section.alt a:hover {
	color: var(--mainColor) !important;
}

.wp-block-group.section.alt.chevron::before {
	border-top: 30px solid var(--secondaryColor);
}

/* Block Custom Colors */
.wp-block-group.section.red {
	background-color: var(--red);
	/*color: initial !important;*/
	color: #fff !important;
}

.wp-block-group.section.red.chevron::before {
	border-top: 30px solid var(--red);
}

/* Block Default Colors*/
.wp-block-group.section.transparent {
	background-color: transparent;
	color: initial !important;
}

.wp-block-group.section.transparent.chevron::before {
	border-top: 30px solid #fff;
}

.wp-block-group.section.gray {
	background-color: #eee;
	color: initial !important;
}

.wp-block-group.section.gray.chevron::before {
	border-top: 30px solid #eee;
}

.wp-block-group.section.darkGray {
	background-color: var(--gray);
	/*color: initial !important;*/
}

.wp-block-group.section.darkGray.chevron::before {
	border-top: 30px solid var(--gray);
}

.wp-block-group.section.black {
	background-color: #000;
	color: #fff !important;
}

.wp-block-group.section.black.chevron::before {
	border-top: 30px solid #000;
}

/* Buttons */
.wp-block-buttons .wp-block-button a.wp-block-button__link {
	border-radius: 0;
	border: none;
	display: inline-block;
	margin: 0 5px 5px 0;
	text-align: center;
}

.wp-block-buttons.btn-block .wp-block-button{
	width: 100%;
}

.wp-block-buttons.btn-block .wp-block-button a.wp-block-button__link{
	display: block;
}

/* Fix image thumb  */
.wp-block-image.thumb{
	padding: 0;
	border: none;
	background-color: transparent;
}

.wp-block-image.thumb img{
	padding: 4px;
	border: #ddd solid 1px;
	background-color: #fff;
}

/* linkedImage */
figure.linkedImage a{
	position: relative;
	display: block;
}

figure.linkedImage a::before{
	content: "";
	position: absolute;
	background-color: rgba(255, 255, 255, .4);
	top: 100%;
	right: 0;
	bottom: 0;
	left: 0;
	transition: all .5s;
}

figure.linkedImage a:hover::before{
	/*background-color: rgba(255, 255, 255, .4);*/
	top: 0;
}

/* Grids */
/* Block Editor Logo Item */
.BELogoItem {
	text-align: center;
	position: relative;
	background-color: #fff;
	border: 1px solid #000;
		padding: 2rem;
	border: 1px solid #999;
}

.BELogoItem img {
	width: 800px;
	height: 600px;
	object-fit: contain;
	object-position:  center center;
}

.BELogoItem a::after {
	content: "";
	position: absolute;
	background-color: transparent;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	transition: all .4s;
}

.BELogoItem a:focus::after,
.BELogoItem a:active::after,
.BELogoItem a:hover::after {
	background-color: rgba(0, 0, 0, .05);
}

/* Block Cover */
.wp-block-cover{
  height: 100vh;
}

/* Toolset Slider */
.tb-image-slider figcaption {
  font-family: var(--headerFont);
  font-size: 3rem;
  text-transform: uppercase;
  color: #fff;
  padding: 15px !important;
}

.tb-image-slider .tb-image-slider__caption {
  background: rgba(0, 0, 0, .6);
}