/*
Theme Name:   Studio Melamed
Author:       Viktor Lashkevych
Author URI:   https://lashkevych.com.ua
Template:     hello-elementor
*/

.work-info-block{
    display: flex;
    align-items: center;
    height: calc(100vh - 83px);
}
.work-info-block > .elementor-container > .elementor-row{
    height: 100%;
    flex-direction: column;
}
.work-info-block > .elementor-container{
    height: 100%;
}
.work-info-block > .elementor-container > .elementor-row > .elementor-inner-column{
    width: 100%;
}
.work-info-col.left{
    flex: 1 1 auto;
    align-items: center;
}
.post-pagination-wrap{
	width: 100%;
}
.elementor-post-navigation__prev{
	left: 0;
}
.elementor-post-navigation__next{
	right: 0;
}
.post-pagination-wrap .elementor-post-navigation__link{
		z-index: 999;
		position: fixed;
		width: 150px !important;
		top: 50%;
		transform: translateY(-50%);
	background-color: rgba(255,255,255,0.5)
}

body.postid-3219 h1.elementor-heading-title{
	font-size:42px !important;
	text-transform: inherit !important;
}

@media(max-width:767px){
	body.postid-3219 h1.elementor-heading-title{
	font-size:24px !important;
	}
}

h1:before{display:none!important;}




/* New Design */
.rectangleBlock .elementor-button-wrapper , .circleBlock .elementor-button-wrapper {
	position: relative;
}

.rectangleBlock .elementor-button-link:before, .rectangleBlock .elementor-button-link:after, .rectangleBlock .elementor-button-content-wrapper:before, .rectangleBlock .elementor-button-content-wrapper:after, .circleBlock .elementor-button-link:before, .circleBlock .elementor-button-link:after, .circleBlock .elementor-button-content-wrapper:before, .circleBlock .elementor-button-content-wrapper:after {
	content: '';
	width: 16px;
	height: 16px;
	position: absolute;
	background: #fff;
	border: 3px solid #000;
}

.rectangleBlock .elementor-button-link:before{
	top: -7px;
	left: -7px;
}

.rectangleBlock .elementor-button-link:after{
	bottom: -7px;
	left: -7px;
}


.rectangleBlock .elementor-button-content-wrapper:before{
	top: -7px;
	right: -7px;
}

.rectangleBlock .elementor-button-content-wrapper:after {
	bottom: -7px;
	right: -7px;
}

.circleBlock .elementor-button-link:before{
	top: calc(50% - 8px);
	left: -7px;
}

.circleBlock .elementor-button-link:after{
	top: -7px;
	left: calc(50% - 8px);
}


.circleBlock .elementor-button-content-wrapper:before{
	top: calc(50% - 8px);
	right: -7px;
}

.circleBlock .elementor-button-content-wrapper:after {
	bottom: -7px;
	left: calc(50% - 8px);
}

.videoBlock {
    max-width: 60% !important;
}

.videoBlock video {
    max-height: 100vh;
}

.portfolioBlock .elementor-portfolio-item__overlay {
	opacity: 1;
	background: url('../svg/portfolio-icon-1.svg') bottom 20px right 20px no-repeat;
	transition: 0.2s;
}

.portfolioBlock .elementor-portfolio-item__overlay:hover {
	background-image: url('../svg/portfolio-icon-hover.svg');
}

/* .clientsGallery .gallery {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
} */
/* 
.clientsGallery .swiper-slide {
	filter: grayscale(1);
	opacity: 0.4;
	transition: 0.3s ease opacity !important;
}

.clientsGallery .swiper-slide:hover {
	filter: grayscale(0);
	opacity: 1;
} */

.contactForm .e-form__buttons .elementor-button {
	position: relative;
}

.contactForm .e-form__buttons .elementor-button:before, .contactForm .e-form__buttons .elementor-button:after, .contactForm .e-form__buttons .elementor-button > span:before, .contactForm .e-form__buttons .elementor-button >  span:after {
	content: '';
	width: 16px;
	height: 16px;
	position: absolute;
	background: #fff;
	border: 3px solid #000;
}

.contactForm .e-form__buttons .elementor-button:before{
	top: -7px;
	left: -7px;
}

.contactForm .e-form__buttons .elementor-button:after{
	bottom: -7px;
	left: -7px;
}


.contactForm .e-form__buttons .elementor-button > span:before{
	top: -7px;
	right: -7px;
}

.contactForm .e-form__buttons .elementor-button > span:after {
	bottom: -7px;
	right: -7px;
}

.contactForm .elementor-field-type-text input, .contactForm .elementor-field-type-email input, .contactForm textarea {
	padding: 12px 25px 12px 25px;
}

.commentsList .swiper-slide {
	height: auto;
}

.commentsList .swiper-slide:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100px;
	background: #fff;
}

.mySwiper {
	overflow-x: hidden;
}

.mySwiper .swiper-scrollbar {
	height: 3px;
	background: #000;
	display: flex;
	align-items: center;
	max-width: 280px;
/* 	padding: 0 20px 0 20px; */
	border-radius: 0;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
	width: 100%;
}
.mySwiper .swiper-scrollbar:before, .mySwiper .swiper-scrollbar:after {
	content: '';
	display: block;
	width: 20px;
	height: 20px;
	background: #fff;
	border: 3px solid #000;
	flex: none;
	position: absolute;
} 
.mySwiper .swiper-scrollbar:before {
	left: -20px;
}
.mySwiper .swiper-scrollbar:after {
	right: -20px;
}
.mySwiper .swiper-scrollbar-drag {
	height: 20px;
	border-radius: 0;
	background: transparent;
	padding: 0 20px;
	position: relative;
}
.mySwiper .swiper-scrollbar-drag:before {
	content: '';
	display: block;
	border-radius: 20px;
	width: 100%;
	height: 20px;
	border: 3px solid #000;
	background: #f6121c;
}

.lottieWrapper:before {
	content: '';
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	width: 100%;
	height: 100px;
	background: rgb(255,255,255);
	background: -moz-linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
	background: -webkit-linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
	background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#ffffff",GradientType=1);
}

.clientsGalleryMobile .swiper-pagination-bullet {
	border: 2px solid #000 !important;
}

.showreelNew .dialog-lightbox-message {
	max-width: 100%;
}

#comments {
	overflow-x: hidden;
}

#site-header, #site-footer {
	display: none;
}

.prev-or-loop-link a, .next-or-loop-link a {
    z-index: 999;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, .2);
    font-size: 0;
    width: 35px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: ease color .3s
}

.prev-or-loop-link a {
    left: 0;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px
}

.next-or-loop-link a {
    right: 0;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px
}

.prev-or-loop-link a:hover, .next-or-loop-link a:hover {
    background-color: rgba(0, 0, 0, .35);
}

.prev-or-loop-link a:before, .next-or-loop-link a:before {
   content: '';
	width: 14px;
	height: 14px;
	border-left: 3px solid #fff;
	border-top: 3px solid #fff;
	transform: rotate(-45deg);
}

.next-or-loop-link a:before {
	transform: rotate(135deg);
}


@media screen and (max-width: 1024px) {
	.videoBlock {
    max-width: 60% !important;
	}
	.contactForm .elementor-field-type-text input, .contactForm .elementor-field-type-email input, .contactForm textarea {
		padding: 10px 15px 10px 15px;
	}
}
@media screen and (max-width: 767px) {
	.mySwiper .swiper-scrollbar-drag {
		padding: 0 10px;
	}
	.mySwiper .swiper-scrollbar {
		max-width: calc(100% - 40px);
	}
}