@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Display:wght@200;300;400;600&display=swap');
body, html { margin: 0; padding: 0; width: 100%; height: 100%; font-size: 16px; font-family: 'Noto Sans Display', sans-serif; }
* { box-sizing: border-box; }
*, *::before, *::after {
	box-sizing: border-box;
	user-select: none;
}
a {
	text-decoration: none;
	color:  #fff;
}

#loader {
	background: rgba(0,0,0,0.85);
	border-radius: 15px;
	position: fixed;
	z-index: 999999999;
	left: 50%;
	bottom: 0px;
	transform: translate(-50%, 110%);
	transition: all 0.05s ease-in-out;
}
#loader.active {
	transform: translate(-50%, -50%);
	transition: all 0.1s ease-in-out;
}
.grecaptcha-badge{
	visibility: collapse !important;  
}
input[type="submit"]:disabled {
	filter: grayscale(100%);
	transition: all 0.2 ease-in-out;
}
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #a0a0a0; 
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    overflow: hidden;
}
::-webkit-scrollbar-thumb {
    background: #434343; 
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}
.download_full {
	margin-bottom: 20px;
}
/******* gallery **********/
#gallery {
	max-width: 100%;
	width: 100%;
	max-height: 100%;
	height: 100%;
	overflow-y: scroll;
	overflow-x: hidden;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: space-evenly;
	flex-wrap: wrap;
}
.gallery__item {
	width: 30%;
	max-width: 350px;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	padding:  2px;
	border:  2px solid #afafaf;
	color:  #fff;
	text-decoration: none;
	margin-bottom: 20px;
}
.gi_image, .gi_title {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.gi_image {
	padding-bottom: 2px;
	border-bottom:  2px solid #afafaf;
}
.gi_image img {
	filter: grayscale(100%);
	max-width: 100%;
	transition: all 0.3s ease-in;
}
.gallery__item:hover .gi_image img {
	filter: grayscale(0);
	transition: all 0.3s ease-in;
}
#gallery .files__item {
	position: relative;
	margin-bottom:  20px;
}
#gallery .files__download {
	position: absolute;
	top:  0;
	right: 0;
	width: 25px;
	height: 25px;
	font-size: 18px;
	line-height: 25px;
	text-align: center;
	border-radius: 0;
	border-bottom-left-radius: 5px;
	border:  0;
	background: rgba(0,0,0,0.7);
	color:  #fff;
}
#gallery .files__download i {
	margin: 0;
	padding: 0;
	line-height: 25px;
}
#gallery .files__item-image {
	padding:  2px;
	border:  2px solid #afafaf;
}
.files__item-image {
	width: 100%;
}
.files__item-image img {
	max-width: 100%;
	display: block;
}
/******** lightbox **********/
#lightbox, .modal {
	position: fixed;
	z-index: 9999999;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0,0,0,0.85);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	transform: scale(1, 0);
	transform-origin: 50% 0;
	transition: all 0.2s ease-in-out;
}
#lightbox.visible, .modal.visible {
	transform: scale(1, 1);
	transition: all 0.2s ease-in-out;
}
#lightbox-wrapper {
	background: #fff url(/images/loading.svg) 50% 50% no-repeat;
	border-radius: 0;

	box-shadow: 5px 5px 10px rgba(0,0,0,0.3);
	padding: 2px;
	max-width: 90vw;
	max-height: 90vh;
}
#lightbox-wrapper {
	position: relative;
}
#lightbox-content {
	width: 100%;
	height:  100%;
}
#lightbox-content img {
	max-width: 100%;
	max-height: 100%;
	display: block;
	border:  2px solid #333;
}
.lightbox-btn {
	position: absolute;
	top: 0;
	cursor: pointer;
	height: 100%;
	width: 10vw;
	line-height: calc(100%);
	text-align: center;
	user-select: none;
	text-shadow: 3px 3px 5px rgba(0,0,0,0.3);
	transition: all 0.2s ease-in;
}
.lightbox-btn i {
	position: absolute;
	left: 50%;
	top: 50%;
	color: #fff;
	transform: translate(-50%, -50%);
	font-size: 48px;
}
#lightbox-left {
	left: 0;
}
#lightbox-right {
	right: 0;
}
#lightbox-left:hover {
	background: linear-gradient(to right, rgba(0,0,0,0.3) 0, rgba(0,0,0,0) 100%);
	transition: all 0.2s ease-in;
}

#lightbox-right:hover {
	background: linear-gradient(to left, rgba(0,0,0,0.3) 0, rgba(0,0,0,0) 100%);
	transition: all 0.2s ease-in;
}
/********** tooltips ***********/
#tooltip {
	display: block;
	position: fixed;
	left: 50%;
	bottom: -200px;
	max-width: 50vw;
	user-select: none;
	max-height: 0;
	transition: all 0.2s ease-in-out;
	background: #0e9e0e;
	color: #fff;
	z-index: 9999999999;
}
#tooltip.error {
	background: #9e0e0e;
	transition: all 0.2s ease-in-out;
}
#tooltip.active {
	bottom: 0;
	max-height: 300px;
	transform: translateX(-50%);
	transition: all 0.2s ease-in-out;
}
#tooltip-message {
	margin: 10px 60px 10px 25px;
	font-size: 16px;
	line-height: 25px;
}
#tooltip-close {
	cursor: pointer;
	position: absolute;
	right: 10px;
	top: 50%;
	width: 25px;
	height: 25px;
	line-height: 25px;
	font-size: 25px;
	transform: translateY(-50%);
}

@keyframes rotate {
	0% {
		transform: rotate(0deg);
	}
	25% {
		transform: rotate(-90deg);
	}
	50% {
		transform: rotate(0);
	}
	75% {
		transform: rotate(90deg);
	}
}
.frame {
	position: relative;
	z-index: 5;
	border-radius: 10px;
	overflow: hidden;
	width: 100%;
	height: 100%;
}	
.frame::before {
	content: '';
	position: absolute;
	z-index: 3;
	left: -50%;
	top: -50%;
	width: 200%;
	height: 200%;
	background-repeat: no-repeat;
	background-size: 50% 50%, 50% 50%;
	background-position: 0 0, 100% 0, 100% 100%, 0 100%;
	background-image: linear-gradient(#fff, #fff), linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0)), linear-gradient(#fff, #fff), linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0));
	animation: rotate 10s ease-in-out infinite;
}
.frame::after {
	content: '';
	position: absolute;
	z-index: 4;
	left: 0;
	top: 3px;
	border:  0;
	width: 100%;
	overflow: hidden;
	height: calc(100% - 6px);
	background: #000;
	border-radius: 5px;
}

#wrapper {
	width: 100%;
	height:  100%;
	min-height: 100%;
	position: relative;
	padding:  25px 0;
	z-index: 0;
/*	background:  #000 url('/images/bg_1.jpg') 50% 50% repeat;*/
	background:  #000;
}
#wrapper::after {
	content: '';
	position: absolute;
	z-index: 6;
	width:  100%;
	height: 100%;
	left: 0;
	top: 0;
	background: radial-gradient(rgba(0,0,0,0) 40%, rgba(0,0,0,1) 80%)
}
#inner-wrapper {
	width: calc(100% - 50px);
	height: calc(100% - 50px);
	position: absolute;
	left: 25px;
	top: 25px;
	z-index: 30;
}
#header {
	position: absolute;
	left:  0;
	top:  0;
	z-index: 30;
	height:  80px;
	width:  100%;
	color:  #fff;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	transform: translate(0, -30%);
}
#header #logo {
	font-size: 32px;
	line-height: 38px;
	width:  auto;
	color:  #f0f0f0;
	text-align: center;
	padding: 0;
	margin: 0;
	text-transform: uppercase;
	background: radial-gradient(rgba(0,0,0,1) 60%, rgba(0,0,0,0) 70%);
	padding: 0 40px;
}
#header #logo span {
	font-size: 28px;
	line-height: 24px;
}
#top {
	position: absolute;
	z-index: 20;
	height:  50px;
	width: 100%;
	left:  0;
	top: 60px;
	font-size: 18px;
	list-style: none;
	color:  #fff !important;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}
.menu__item  {
	padding: 5px 15px;
	margin:  0 15px;
	display: block;
	color:  #fff;
	border-radius: 5px;
	cursor: pointer;
	position: relative;
	transition: all 0.2s ease;
}
.menu__item:hover {
	transition: all 0.2s ease;
}
.menu__item::after {
	transform: translate(-50%, 0);
	background: rgba(255,255,255,0.5);
	display: block;
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	z-index: 31;
	width: 0;
	height: 2px;
	transition: all 0.2s ease-in-out;
}
.menu__item:hover::after, .menu__item.active::after {
	width: calc(100% - 10px);
	transition: all 0.2s ease-in-out;
}
#middle {
	position: absolute;
	z-index: 10;
	left: 0;
	top: 110px;
	height: calc(100% - 60px - 50px - 30px);
	padding:  20px;
	width: 100%;
	display: flex;
	color:  #f0f0f0;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
#main_img {
	max-width: 50vw;
	max-height: 50vh;
	width:  auto;
	height: auto;
}
#bottom {
	color:  #fff;
	position: absolute;
	left:  0;
	bottom:  10px;
	width: 100%;
	height:  20px;
	z-index: 10;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}
#dev {
	color:  #a0a0a0;
	font-size: 13px;
}
#dev a {
	color:  #fff;
	text-decoration: none;
	padding:  1px 5px;
	border-radius: 4px;
	transition: all 0.2s ease-in-out;
}
#dev a:hover {
	background: rgba(255,255,255,0.7);
	color:  #000;
	transition: all 0.2s ease-in-out;
}
@media screen and (orientation: portrait) {
	#dev {
		font-size: 11px;
	}
	.menu__item {
		font-size: 18px;
	}
	#header {
		top:  10px;
	}
	#header #logo {
		white-space: nowrap;
		background: radial-gradient(rgba(0,0,0,1) 40%, rgba(0,0,0,0) 60%);
	}
	#header #logo span {
		font-size: 24px;
	}
	#bottom {
		height: 25px;
	}
	#middle {
		top: 110px;
		height: calc(100% - 60px - 50px - 30px);
		padding:  10px 10px 30px;
	}
	.files__item, .gallery__item {
		width: 90%;
	}
	.gallery__item, #gallery .files__item-image {
		border-width: 2px;
	}
	h3 {
		text-align: center;
	}
	.lightbox-btn i {
		font-size: 18px;
	}
}