/*
Theme Name: Uncode Child
Description: Child theme for Uncode theme
Author: Undsgn™
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/

.logos_block {
	display: none;
	position: fixed;
	top: 40%;
	right: 0;
	flex-direction: column;
	background: #fff;
	width: 100px;
	padding-left: 10px;
	padding-top: 10px;
	padding-bottom: 10px;
	box-shadow: 0 5px 11px -2px rgba(40, 40, 40, 0.2);
}

.logos_block img {
	width: 100%;
	height: auto;
	margin: 10px 0;
}


.content-for-popup {
	display: none;
}
.fixed-position-slider {
	position: fixed!important;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	background: #fff;
	transition: 0s !important;
}

.fixed-position-slider.bottom-fixed {
	position: static!important;
	transition: 0s !important;
}

.fixed-position-slider .row {
	position: relative;
}

.main-container .row-container .carpets-container {
	padding: 0 0 0 18px !important;
}

.main-container .row-container.fixed-position-slider .double-bottom-padding {
	padding: 0!important;
}

.fixed-position-slider .row img {
	max-height: 80px!important;
	width: auto!important;
}

.fixed-position-slider .row .dummy {
	max-height: 80px!important;
	padding-top: 80px!important;
}

.gallery-container {
	width: 100%;
	padding: 0 0 36px;
	margin: auto;
}

.gallery-main {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	position: relative;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-transition: height 0.2s ease-in-out;
	-o-transition: height 0.2s ease-in-out;
	transition: height 0.2s ease-in-out;
	justify-content: center;
}

.carpet-main {
	height: 100%;
	position: relative;
    margin-right: 18px;
	padding-top: 18px;
	max-width: 277px;
}

.carpet-main .carpet-wrapper {
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	cursor: pointer;
	overflow: hidden;
    width: 100%;
    height: 386px;
	transition: all .5s;
}

.carpet-main .carpet-wrapper img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	max-width: none;
}

.carpet-main .carpet-wrapper .carpet-desc {
	position: absolute;
	top: auto;
	left: 0;
	width: 100%;
	text-align: center;
	opacity: 0;
	line-height: 1.2;
	color: white;
	visibility: hidden;
	z-index: 5;
}

.carpet-main .carpet-wrapper .carpet-desc h5 {
	color: #fff;
	text-transform: uppercase;
	font-size: 17px;
}

.carpet-main .carpet-wrapper .carpet-desc hr {
	height: 2px;
	border: none;
	margin: 5px 0;
	background: white;
	width: 38%;
}

.carpet-main .carpet-wrapper .carpet-desc span {
	display: block;
	font-size: 12px;
	font-weight: 600;
}

.carpet-main .carpet-wrapper:before {
	content: "";
	position: absolute;
	height: 100%;
	width: 100%;
	left: 0;
	top: 0;
	background: rgba(0, 0, 0, 0.5);
	visibility: hidden;
	opacity: 0;
	-webkit-transition: all .5s ease-out 0s;
	-o-transition: all .5s ease-out 0s;
	transition: all .5s ease-out 0s;
	z-index: 1;
}

.carpet-main .carpet-wrapper:after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	font-size: 26px;
	color: #fff;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	visibility: hidden;
	opacity: 0;
	-webkit-transition: all .3s ease-out 0s;
	-o-transition: all .3s ease-out 0s;
	transition: all .3s ease-out 0s;
	margin-top: 20px;
	z-index: 2;
}

.carpet-main .carpet-wrapper:hover .carpet-desc {
	-webkit-animation-name: animate;
	animation-name: animate;
	-webkit-animation-duration: .4s;
	animation-duration: .4s;
	-webkit-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	opacity: 1;
	visibility: visible;
}

.carpet-main .carpet-wrapper:hover:before, .carpet-main .carpet-wrapper:hover:after {
	visibility: visible;
	opacity: 1;
}

@-webkit-keyframes animate {
	from {
		-webkit-transform: scale(0.6);
		transform: scale(0.6);
	}
	to {
		-webkit-transform: scale(1);
		transform: scale(1);
	}
}

@keyframes animate {
	from {
		-webkit-transform: scale(0.6);
		transform: scale(0.6);
	}
	to {
		-webkit-transform: scale(1);
		transform: scale(1);
	}
}

@-webkit-keyframes stretch {
	0% {
		opacity: 0.6;
		-webkit-transform: scale(0.3);
		transform: scale(0.3);
	}
	100% {
		opacity: 1;
		-webkit-transform: translate(0px, 0px);
		transform: translate(0px, 0px);
	}
}

@keyframes stretch {
	0% {
		opacity: 0.6;
		-webkit-transform: scale(0.3);
		transform: scale(0.3);
	}
	100% {
		opacity: 1;
		-webkit-transform: translate(0px, 0px);
		transform: translate(0px, 0px);
	}
}

img.visible.rendered {
	-webkit-animation-name: stretch;
	animation-name: stretch;
	-webkit-animation-duration: .7s;
	animation-duration: .7s;
	-webkit-animation-timing-function: ease-out;
	animation-timing-function: ease-out;
	-webkit-animation-delay: 0s;
	animation-delay: 0s;
	-webkit-animation-direction: alternate;
	animation-direction: alternate;
	-webkit-animation-fill-mode: none;
	animation-fill-mode: none;
	-webkit-animation-play-state: running;
	animation-play-state: running;
}

/************************************************STYLES FOR POPUP***************************************************/

.popup-main-block {
	width: 100%;
	min-height: 100%;
	overflow: hidden;
	position: fixed;
	visibility: hidden;
	opacity: 0;
	-webkit-transition: all .3s;
	-o-transition: all .3s;
	transition: all .3s;
	top: 0;
	z-index: 10;
}

.popup-main-block .popup-background {
	background-color: rgba(0, 0, 0, 0.5);
	width: 100%;
	height: 100%;
	display: block;
	position: fixed;
	z-index: 20;
}

.popup-main-block .popup-wrapper {
	width: 815px;
	min-height: 455px;
	display: block;
	position: relative;
	z-index: 35;
	background: white;
	margin: 150px auto 0;
	padding-bottom: 30px;
}

.popup-main-block .popup-wrapper .popup-description {
	text-align: center;
	margin-bottom: 30px;
}

.popup-main-block .popup-wrapper .popup-description h5 {
	font-size: 24px;
	color: #777777;
	font-weight: 400;
	padding: 18px;
}

.popup-main-block .popup-wrapper .popup-description span {
	color: #666;
}

.popup-main-block .popup-wrapper .close-btn {
	position: absolute;
	right: 0;
	margin-top: 8px;
	margin-right: 10px;
	border: none;
	cursor: pointer;
	background: transparent;
}

.popup-main-block .popup-wrapper .close-btn i {
	font-size: 25px;
}

.popup-main-block .popup-wrapper .slick-wrapper {
	display: block;
    max-width: 258px;
    margin: auto;
}

.popup-main-block .popup-wrapper .slick-wrapper .slide-block .slide__wrapper img,
.popup-main-block .popup-wrapper .slick-wrapper .sli .slide__wrapper img {
    height: 384px;
    width: 100%;
    object-fit: cover;
}

.slick-initialized .slick-slide{
    height: 378px;
    overflow: hidden;
}

.prev-arrow, .next-arrow {
	font-size: 24px;
	border: none;
	cursor: pointer;
	z-index: 30;
}

.prev-arrow {
	position: absolute;
	top: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	background: transparent;
    right: 250px;
}

.next-arrow {
	position: absolute;
	top: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	background: transparent;
    left: 275px;
}

.show-popup {
	visibility: visible;
	opacity: 1;
}

.slide-images-wrapper {
	display: none;
}

.fa-close:before {
	color: #777777;
}

.slick-wrapper {
	display: none;
}

/******************************************************NAV SLIDER******************************************************/

.slick-wrapper-nav {
	position: absolute !important;
	display: flex !important;
    align-items: center;
	left: 100px;
	max-width: 57px;
	height: 100%;
	max-height: 272px;
	top: 12em;
	overflow: hidden;
}

.slick-wrapper-nav img {
	width: 150px !important;
	height: 72px;
	max-height: 72px;
	position: relative;
	left: -48px;
	object-fit: cover;
	z-index: -1;
}

.slick-wrapper-nav .slide__wrapper {
	width: 200px;
}

.slick-wrapper-nav .slick-slide.slick-current {
	border: 2px solid rgba(108, 232, 220, 0.9);
	margin-bottom: 15px;
	width: 57px !important;
}

.slick-wrapper-nav .slick-current .slide__wrapper {
	margin-bottom: 0;
}

.slick-wrapper-nav .slick-list {
	height: 345px !important;
}

.slick-wrapper-nav .slick-list .slide-block.slick-slide {
    height: 74px;
    margin-bottom: 15px;
}

.prev-arrow-nav {
	position: absolute;
	top: -8px;
	display: block;
	background: none;
	right: 14px;
	font-size: 20px;
	z-index: 9;
}

.next-arrow-nav {
	position: absolute;
	bottom: -10px;
	display: block;
	background: none;
	left: 15px;
	font-size: 20px;
}

.align-items {
    padding: 0px !important;
    display: flex !important;
    align-items: center;
    top: 0;
}
.video_wrapper {
	position: relative;
	overflow: hidden;
}
.video_wrapper .row {position: static!important;}
.video_wrapper .row .uncont > * {position: static!important;}
.video_wrapper .row .uncoltable {position: static!important;}
.video_wrapper .uncell.boomapps_vccolumn {position: static!important;}
.video_wrapper .row .uncol {position: static!important;}
.video_wrapper .row .single-internal-gutter {position: static!important;}
.video_wrapper .row-inner {position: static!important;}
.video_wrapper .heading-text.el-text.bottom-t-top.animate_when_almost_visible.start_animation {
	position: relative!important;
}
#hero_video {
	position: absolute;
	height: 100%;
	right: 0;
	left: 0;
	top: -300px;
	margin: auto;
	z-index: -1;
}
#hero_video video {min-width: 100%;
height: auto;
}
#hero_video video[poster] {
object-fit: cover;
}
@media screen and (max-width:760px) {
	#hero_video {top: -150px; left: -150px;}
	#hero_video video {
		min-height:100%;
		width: auto;
		
	}
}
@-moz-document url-prefix()
{
    .align-items {
        padding: 0px !important;
        display: flex !important;
        align-items: center;
        top: -2em;
    }
}

@supports (-ms-ime-align: auto) {
    /* Microsoft EdgeV13&14 CSS styles go here */
    .align-items {
        padding: 0px !important;
        display: flex !important;
        align-items: center;
        top: -2em;
    @include activated;
    }
}

/****************************************************MEDIA QUERIES*****************************************************/

@media screen and (max-width: 2000px) {
	.gallery-main {
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
	}
	.gallery-main .carpet-main {
		width: 100%;
	}
	.gallery-main .carpet-main a img {
		width: 100%;
	}
}

@media screen and (max-width: 1815px) {
	.carpet-main {
		max-width: 257px;
	}
	.carpet-main .carpet-wrapper {
		height: 340px;
	}
}

@media screen and (max-width: 1680px) {
	.carpet-main {
		max-width: 246px;
	}
	.carpet-main .carpet-wrapper {
		height: 333px;
	}
}

@media screen and (max-width: 1626px) {
	.carpet-main {
		max-width: 225px;
	}
	.carpet-main .carpet-wrapper {
		height: 325px;
	}
}

@media screen and (max-width: 1500px) {
	.carpet-main {
		max-width: 220px;
	}
	.carpet-main .carpet-wrapper {
		height: 290px;
	}
}

@media screen and (max-width: 1469px) {
	.gallery-main {
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	}
	.carpet-main {
		max-width: 331px;
	}
	.carpet-main .carpet-wrapper {
		height: 450px;
	}
}

@media screen and (max-width: 1430px) {
	.carpet-main {
		max-width: 316px;
	}
	.carpet-main .carpet-wrapper {
		height: 434px;
	}
}

@media screen and (max-width: 1366px) {
	.carpet-main {
		max-width: 284px;
	}
	.carpet-main .carpet-wrapper {
		height: 385px;
	}
}

@media screen and (max-width: 1250px) {
	.carpet-main {
		max-width: 268px;
	}
	.carpet-main .carpet-wrapper {
		height: 366px;
	}
}

@media screen and (max-width: 1199px) {
	.carpet-main {
		max-width: 226px;
	}
	.carpet-main .carpet-wrapper {
		height: 310px;
	}
}

@media screen and (max-width: 1025px) {
	.carpet-main {
		max-width: 450px;
	}
	.carpet-main .carpet-wrapper {
		height: 605px;
	}
}

@media screen and (max-width: 975px) {
	.carpet-main {
		max-width: 446px;
	}
	.carpet-main .carpet-wrapper {
		height: 598px;
	}
}

@media screen and (max-width: 960px) {
	.carpet-main {
		max-width: 436px;
	}
	.carpet-main .carpet-wrapper {
		height: 584px;
	}
}

@media screen and (max-width: 955px) {
	.carpet-main {
		max-width: 322px;
	}
	.carpet-main .carpet-wrapper {
		height: 445px;
	}
}

@media screen and (max-width: 900px) {
	.popup-main-block .popup-wrapper {
		width: 570px;
	}
	.slick-wrapper-nav {
		display: none !important;
	}
}

@media screen and (max-width: 735px) {
	.carpet-main {
		max-width: 257px;
	}
	.carpet-main .carpet-wrapper {
		height: 370px;
	}
}

@media screen and (max-width: 600px) {
	.popup-main-block .popup-wrapper {
		width: 400px;
	}
	.next-arrow {
		left: 280px;
	}
	.prev-arrow {
		right: 255px;
	}
	.carpet-main {
		max-width: 220px;
	}
	.carpet-main .carpet-wrapper {
		height: 293px;
	}
}

@media screen and (max-width: 545px) {
	.carpet-main {
		max-width: 448px;
	}
	.carpet-main .carpet-wrapper {
		height: 597px;
	}
}

@media screen and (max-width: 450px) {
	.popup-main-block .popup-wrapper {
		width: 300px;
	}
	.next-arrow {
		left: 265px;
	}
	.prev-arrow {
		right: 244px;
	}
	.popup-main-block .popup-wrapper .close-btn {
		margin-top: 6px;
		margin-right: 0;
	}
	.carpet-main {
		max-width: 364px;
	}
	.carpet-main .carpet-wrapper {
		height: 485px;
	}
}

@media screen and (max-width: 380px) {
	.carpet-main {
		max-width: 320px;
	}
	.carpet-main .carpet-wrapper {
		height: 424px;
	}
}

@media screen and (max-width: 374px) {
	.carpet-main {
		max-width: 304px;
	}
	.carpet-main .carpet-wrapper {
		height: 405px;
	}
}

@media screen and (max-width: 350px) {
	.carpet-main {
		max-width: 244px;
	}
	.carpet-main .carpet-wrapper {
		height: 325px;
	}
}

@media screen and (max-device-height: 680px) {
	.popup-main-block .popup-wrapper {
		margin-top: 99px;
	}
}

@media screen and (max-device-height: 630px){
	.popup-main-block {
		overflow: scroll;
		max-height: 320px;
	}
}

@media all and (-ms-high-contrast:none) {
	*::-ms-backdrop, .slick-wrapper {
		display: none;
	}
	*::-ms-backdrop, .carpet-main .carpet-wrapper .carpet-desc {
		top: 40%;
	}
}

@media all and (-ms-high-contrast:none) and (max-height: 680px){
	*::-ms-backdrop, .popup-main-block .popup-wrapper {
		margin-top: 99px;
	}
}

@media all and (-ms-high-contrast:none) and (max-height: 630px){
	*::-ms-backdrop, .popup-main-block {
		overflow: scroll;
		max-height: 320px;
		-ms-overflow-style: none;
	}
}

@media all and (-ms-high-contrast:none) and (max-height: 545px){
	*::-ms-backdrop, .carpet-main .carpet-wrapper .carpet-desc {
		top: 45%;
	}
}

.menu-hidden {display: none!important;}