/*!
Theme Name: Lymvisual
Author: Petro Pasteruk
Author URI: https://t.me/p_p_p_official
Description: Description
Version: 1.0.0
License URI: LICENSE
*/

@font-face {
	font-family: "PierSans";
	src: url("./fonts/PierSans-Medium.otf") format("opentype");
	font-style: normal;
	font-weight: normal;
}

@font-face {
	font-family: "PierSans";
	src: url("./fonts/PierSans-Light.otf") format("opentype");
	font-style: normal;
	font-weight: 300;
}

@font-face {
	font-family: "PierSans";
	src: url("./fonts/PierSans-Bold.otf") format("opentype");
	font-style: normal;
	font-weight: bold;
}


* {
	box-sizing: border-box;
	font-size: 0;
	margin: 0;
	padding: 0;
	font-family: "PierSans", sans-serif;
}

.container {
	width: 100%;
	margin: 0 auto;
	padding: 0 50px;
}

.container-max {
	max-width: 1280px;
	margin: 0 auto;
}

#wrapper {
	min-height: 100%;
	padding-bottom: 120px;
	background: #e8e8e8;
	position: relative;
}

#wrapper.black {
	background: #171717;
}

.black .burger__btn {
	background: #F9F9F9;
}

.black .burger__btn .menu-button__item {
	background: #171717;
}


.btn-top {
	position: absolute;
	background: none;
	border: none;
	cursor: pointer;
	right: 50px;
	bottom: 50px;
	z-index: 1;
}

#images__max-quality {
	display: none;
}

.nav {
	position: fixed;
	width: 0;
	height: 100%;
	top: 0;
	left: 0;
	background: #171717;
	z-index: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: all .3s;
	pointer-events: none;
	overflow: hidden;
}

.nav.active {
	width: 100%;
	pointer-events: initial;
}

.nav__list {
	list-style: none;
	text-align: center;
}

.menu-item {
	margin-bottom: 55px;
}

.menu-item:nth-last-of-type(1) {
	margin-bottom: 0;
}

.menu-item a {
	font-size: 32px;
	color: #fff;
	font-weight: 500;
	text-decoration: none;
	position: relative;
}


.menu-item a:after {
	content: "";
	width: 0;
	height: 2px;
	background: #fff;
	position: absolute;
	bottom: 0;
	left: 0;
	transition: all .3s;
}

.menu-item a:hover:after {
	width: 100%;
}

.nav__logo {
	position: absolute;
	bottom: 60px;
	left: 50%;
	transform: translateX(-50%);
}

.nav__logo img {}

/* Header */
.header {
	height: 200px;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}

.burger__btn {
	width: 60px;
	height: 60px;
	border: none;
	background: #2E2E2E;
	cursor: pointer;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	left: 50px;
	top: 50px;
	z-index: 2;
	transition: all .5s;
}

.burger__btn.active {
	background: #F9F9F9;
	backdrop-filter: blur(4px);
	transform: rotate(180deg);
}

.burger__btn:hover span {
	opacity: 1;
}

.burger__btn.active .menu-button__list {
	justify-content: center;
	align-items: center;
	opacity: 1;
}

.burger__btn.active .menu-button__item {
	background: #171717;
}

.burger__btn.active .menu-button__item:nth-of-type(1) {
	transform: translateY(50%) rotate(45deg);
}

.burger__btn.active .menu-button__item:nth-of-type(2) {
	transform: translateY(-50%) rotate(-45deg);
}

.menu-button__list {
	width: 36px;
	height: 8px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.menu-button__item {
	width: 100%;
	height: 2px;
	background: #fff;
	opacity: .7;
	transition: all .5s;
}

.header__logo {
	width: 250px;
}

.header__logo img {
	max-width: 300px;
	width: 100%;
}
/* \Header */

/* Gallery */
/* .uk-grid>* {
	padding-left: 20px !important;
}

*+.uk-grid-margin, .uk-grid+.uk-grid, .uk-grid>.uk-grid-margin {
	margin-top: 20px !important;
}

.uk-grid {
	margin-left: -20px !important;
} */

#ajax-load-more .masonry-container {
	margin-left: -10px;
}

.gallery {
	list-style: none;
	/*display: flex;*/
	/*justify-content: space-between;*/
	/*flex-wrap: wrap;*/
}

.gallery__item {
	/*width: calc(20%);*/
	/*width: 100px;*/
	position: relative;
	cursor: pointer;
	/*padding-left: 10px;*/
	margin-bottom: 10px;
}

/*.gallery__item:nth-of-type(1),*/
/*.gallery__item:nth-of-type(2),*/
/*.gallery__item:nth-of-type(3),*/
/*.gallery__item:nth-of-type(4),*/
/*.gallery__item:nth-of-type(5),*/
/*.gallery__item:nth-of-type(6),*/
/*.gallery__item:nth-of-type(7),*/
/*.gallery__item:nth-of-type(8),*/
/*.gallery__item:nth-of-type(9),*/
/*.gallery__item:nth-of-type(10) {*/
/*	opacity: 1 !important;*/
/*}*/

@keyframes myFadeIn {
	from {
		opacity: 0;
		transform: translate3d(0, 10%, 0);
	}
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

.gallery__img {
	width: 100%;
	/*animation: myFadeIn .5s ease-in both;*/
	animation: 2s cubic-bezier(.22,.8,.37,.98) .2s both running myFadeIn;
}


.gallery__hover {
	position: absolute;
	top: 0;
	/*left: 10px;*/
	left: 0;
	/*width: calc(100% - 10px);*/
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(2px);
	padding: 48px 40px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transition: all .3s;
	opacity: 0;
	pointer-events: none;
}

.gallery__item:hover .gallery__hover {
	opacity: 1;
	pointer-events: initial;
}

.gallery__title {
	font-size: 16px;
	color: rgba(249, 249, 249, .6);
	font-weight: 400;
	margin-bottom: 24px;

	transition: .4s;
	opacity: 0;
	transform: translateY(10px);
}

.gallery__desc {
	font-size: 20px;
	font-weight: 500;
	color: #F9F9F9;

	transition: .4s;
	
	opacity: 0;
	transform: translateY(10px);
}

.gallery__author {
	font-size: 16px;
	font-weight: 400;
	color: #F9F9F9;
	
	transition: .4s;
	
	opacity: 0;
	transform: translateY(10px);
}

.gallery__item:hover .gallery__title {
	opacity: 1;
	transform: translateY(0px);
}

.gallery__item:hover .gallery__desc {
	opacity: 1;
	transition-delay: .2s;
	transform: translateY(0px);
}

.gallery__item:hover .gallery__author {
	opacity: 1;
	transition-delay: .4s;
	transform: translateY(0px);
}

@keyframes fadeInTop {
	from {
		opacity: 0;
		transform: translate3d(0, 0, 0);
	}
	to {
		opacity: 1;
		transform: translate3d(0, -20%, 0);
	}
}
/* \Gallery */


/* Pagination */
.pagination {
	margin-top: 160px;
	margin-bottom: 80px;
}

.pagination__list {
	list-style: none;
	display: flex;
	justify-content: center;
	align-items: center;
}

.pagination__item {
	margin-right: 10px;
}

.pagination__item:nth-last-of-type(1) {
	margin-right: 0;
}

.pagination__link {
	display: block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #5D0909;
	opacity: 0.2;
	backdrop-filter: blur(4px);
}

.pagination__link.current {

	opacity: 0.8;
}

.pagination__link.next {
	opacity: 0.5;
}
/* \Pagination */


/* Viewer */
.viewer-backdrop {
	background-color: rgba(0, 0, 0, .8) !important;
}

.viewer-canvas > img {
	height: 100% !important;
	margin: 0 auto !important;
}

.viewer-desc {
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	font-size: 20px;
	color: #F9F9F9;
	width: 100%;
	padding: 0 5px;
	opacity: .8;
	background: rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(2px);
	height: 30px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.viewer-footer {
	bottom: initial !important;
	top: 50%;
	transform: translateY(-50%);
}

.viewer-toolbar>ul {
	padding: 0 30px !important;
	display: flex !important;
	justify-content: space-between;
}

.viewer-prev,
.viewer-next {
	width: 50px !important;
	height: 50px !important;
	display: flex;
	justify-content: center;
	align-items: center;
}

.viewer-prev:before,
.viewer-next:before {
	background-image: url("images/right-arrow.png") !important;
	background-size: cover !important;
	background-position: center center !important;
	height: 50px;
	width: 50px;
}

.viewer-prev:before {
	transform: rotate(180deg);
}
/* \Viewer */

/* Footer */
#footer {
	height: 120px;
	margin-top: -120px;
	background: #e8e8e8;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.footer__socials {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	list-style: none;
	display: flex;
	left: 15%;
}

.footer__social {
	margin-right: 28px;
}

.footer__social:nth-last-of-type(1) {
	margin-right: 0;
}

.footer__link {
	font-size: 20px;
	color: #171717;
	text-decoration: none;
}

.footer__link:hover {
	text-decoration: underline;
}

.footer__copyright {
	font-size: 16px;
	font-weight: 300;
	color: #171717;
}

#footer.black  {
	background: #171717;
}

.black .footer__link {
	color: #B5B5B5;
}

.black .footer__copyright {
	color: #B5B5B5;
}

.contacts__inputs form input[type="submit"] {
	font-size: 17px;
	border: 2px solid rgba(249, 249, 249, 1);
	background: transparent;
	padding: 10px 20px;
	color: #fff;
	cursor: pointer;
	margin-top: 30px;

	transition: .3s;
}

.contacts__inputs form input[type="submit"]:hover {
	background: rgba(249, 249, 249, 1);
	color: #333;
}

.wpcf7-response-output {
	font-size: 16px;
	color: #fff;
	padding: 14px 20px !important;
    font-weight: 400;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.wpcf7 form.invalid .wpcf7-response-output {
	color: #ffb900;
    background: #ffb900;
    color: #333;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
    background: #46b450;
    color: #fff;
}

.wpcf7-not-valid-tip {
	font-size: 14px;
	margin-top: 8px;
	font-weight: 300;
}

/* \Footer */

/* Adaptive */
@media (max-width: 2560px) {
	.gallery__item {
		width: 25%;
	}
}

@media (max-width: 1800px) {
	.gallery__item {
		width: calc(100% / 3);
	}
}

@media (max-width: 1240px) {
	.footer__socials {
		left: 10%;
	}
}

@media (max-width: 1100px) {
	.footer__socials {
		position: initial;
		transform: none;
	}
	#footer {
		justify-content: space-between;
	}
}

@media (max-width: 1000px) {
	.gallery__item {
		width: 50%;
	}
}

@media (min-width: 880px) {
	.viewer-canvas > img {
		min-height: 80vh !important;
		width: initial !important;
	}
}

@media (max-width: 730px) {
	.gallery__desc {
		font-size: 30px;
	}
}

@media (max-width: 680px) {
	.gallery__desc {
		font-size: 26px;
	}
}

@media (max-width: 660px) {
	.footer__social {
		margin-right: 10px;
	}

	.viewer-footer {
		top: initial !important;
		bottom: 45px !important;
		transform: none !important;
	}
	.viewer-toolbar>ul {
		padding: 0 100px !important;
	}
}

@media (max-width: 640px) {
	.viewer-canvas {
		bottom: initial !important;
		top: 50% !important;
		transform: translateY(-50%);
	}}

@media (max-width: 610px) {
	.container {
		padding: 0 20px;
	}

	.gallery__item {
		width: 100%;
	}

	.uk-grid>* {
		padding-left: 0 !important;
	}

	.uk-grid {
		margin-left: 0 !important;
	}

	.gallery__hover {
		left: 0;
		width: 100%;
	}

	.burger__btn {
		left: 25px;
		top: 25px;
	}
	#footer {
		flex-direction: column;
		justify-content: center;
	}
	.footer__socials {
		margin-bottom: 15px;
	}
}

@media (max-width: 500px) {
	.tablet .gallery__list {
		width: 100%;
	}

	.tablet .gallery__list:nth-last-of-type(1) {
		display: none;
	}

	.pagination {
		margin-top: 60px;
	}
	.burger__btn {
		width: 40px;
		height: 40px;
	}
	.burger__btn .menu-button__list {
		width: 80%;
	}
	.header__logo img {
		max-width: 270px;
	}
}


@media (max-width: 420px) {
	.btn-top {
		right: 10px;
		bottom: 55px;
		width: 30px;
	}

	.btn-top img {
		width: 100%;
	}
}

@media (max-width: 400px) {
	.footer__link {
		font-size: 18px;
	}

	.header {
		height: 250px;
	}

}
/* \Adaptive */