.custom_media_and_text{
	padding: 85px 0;
	position: relative;
	overflow: hidden;
	background: url("../../img/banner_bg.jpg") top left / 1920px no-repeat;
}
.custom_media_and_text .wp-block-heading{
	margin: 0 0 20px;
}
.custom_media_and_text .media_wrap {
	position : relative;
	width    : 100%;
}
.custom_media_and_text.out_of_container .media_wrap video{
	max-width: 100%;
	height: auto;
}
.custom_media_and_text .media_wrap .section_image{
	overflow: hidden;
}
.custom_media_and_text .media_wrap .section_image,
.custom_media_and_text .media_wrap .section_image img{
	width : 100%;
}
.custom_media_and_text.media_full_height .media_wrap .section_image,
.custom_media_and_text.media_full_height .media_wrap .section_image img{
	height: 100%;
	object-fit: cover;
}
.custom_media_and_text,
.custom_media_and_text .container{
	align-items: center;
	display: flex;
	flex-direction: column;
}
.custom_media_and_text .text_wrap{
	padding-bottom: 40px;
	position: relative;
}



@media(min-width: 769px){
	.custom_media_and_text .media_wrap {
		max-width: 700px;
	}
}
@media(min-width: 1025px){

}
@media(min-width: 1200px){
	.custom_media_and_text.center .container,
	.custom_media_and_text.center{
		align-items: center;
	}
	.custom_media_and_text.bottom .container,
	.custom_media_and_text.bottom{
		align-items: flex-end;
	}
	.custom_media_and_text,
	.custom_media_and_text .container{
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		flex-direction: row;
	}
	.custom_media_and_text .media_wrap{
		max-width: unset;
	}
	.custom_media_and_text.columns_50_50 .media_wrap{
		width : 50%;
	}
	.custom_media_and_text.columns_60_40 .media_wrap{
		width : 40%;
	}
	.custom_media_and_text.columns_66_33 .media_wrap{
		width : 33%;
	}
	.custom_media_and_text.columns_75_25 .media_wrap{
		width : 25%;
	}
	.custom_media_and_text.out_of_container .media_wrap{
		position: absolute;
		height: 100%;
		top: 0;
		right: 0;
		display: flex;
		align-items: center;
	}
	.custom_media_and_text.out_of_container.columns_50_50 .media_wrap{
		width : 50%;
	}
	.custom_media_and_text.out_of_container.columns_60_40 .media_wrap{
		width : calc(50% - 1140px/2 + 1140px/2.5);
	}
	.custom_media_and_text.out_of_container.columns_66_33 .media_wrap{
		width : calc(50% - 1140px/2 + 1140px/3);
	}
	.custom_media_and_text.out_of_container.columns_75_25 .media_wrap{
		width : calc(50% - 1140px/4);
	}

	.custom_media_and_text .text_wrap{
		padding: 40px 40px 40px 40px;
		border-left: 2px solid var(--wp--preset--color--brand-2);
	}
	.custom_media_and_text.columns_50_50 .text_wrap{
		width : 50%;
	}
	.custom_media_and_text.columns_60_40 .text_wrap{
		width : 60%;
	}
	.custom_media_and_text.columns_66_33 .text_wrap{
		width : 66%;
	}
	.custom_media_and_text.columns_75_25 .text_wrap{
		width : 75%;
	}
}
@media(min-width: 1480px){
	.custom_media_and_text.out_of_container.columns_60_40 .media_wrap{
		width : calc(50% - 1400px/2 + 1400px/2.5);
	}
	.custom_media_and_text.out_of_container.columns_66_33 .media_wrap{
		width : calc(50% - 1400px/2 + 1400px/3);
	}
	.custom_media_and_text.out_of_container.columns_75_25 .media_wrap{
		width : calc(50% - 1400px/4);
	}
}

















.custom_media_and_text .carousel_wrap{
	/*position: absolute;*/
	width : 100%;
	/*height: 100%;*/
	top: 0;
	left: 0;
}
.custom_media_and_text .carousel_wrap .flickity-viewport{
	/*z-index: -1;*/
	/*height: 100% !important;*/
}
.custom_media_and_text .carousel_wrap .item{
	width : 100%;
	/*height: 100%;*/
	/*background-position: center;*/
	/*background-size: cover;*/
	/*z-index: -1;*/
}
.custom_media_and_text .carousel_wrap>.item{
	display: none; /* hide item for not initiated carousel in admin panel */
}
.custom_media_and_text .flickity-button{
	background: none;
}
.custom_media_and_text .flickity-button:before{
	content: '';
	width : 30px;
	height: 30px;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	rotate: -44deg;
	display: block;
}
.custom_media_and_text .flickity-button.previous:before{
	rotate: 136deg;
	margin-left: 15px;
}
.custom_media_and_text .flickity-button svg{
	display: none;
}
.custom_media_and_text .has-text-align-right {
	text-align: center;
}
.custom_media_and_text .has-text-align-right a{
	color: var(--wp--preset--color--brand-2);
	font-weight: 600;
	font-size: 20px;
	margin-top: 30px;
	display: inline-block;


	transition: all .2s linear;
}
.custom_media_and_text .has-text-align-right a:hover{
	color: var(--wp--preset--color--brand-2-dark);
}
.custom_media_and_text .has-text-align-right a:after {
	content: '';
	width: 40px;
	height: 11px;
	background: url(../../img/svg/arrow-right-orange.svg) center / 31px no-repeat;
	transition: all .2s linear;
	margin-top: -5px;
	display: inline-block;
	animation: knock-right-small 0.8s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}


@media(min-width: 1200px) {
	.custom_media_and_text .has-text-align-right {
		text-align: right;
	}
	.custom_media_and_text .has-text-align-right a{
		position: absolute;
		right: 30px;
		bottom: -30px;
	}
	.homepage_text_section .media_wrap .section_image {
		padding-right : 80px;
	}
}
@media(min-width: 1480px){
	.homepage_text_section .media_wrap .section_image {
		padding-right : 120px;
	}
}