* {
	box-sizing: border-box;
}
input, button {
	color: inherit;
}
body {
    background-color: #eef0f4;
    color: #314F57;
    font-family: "Lato","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 18px;
    line-height: 1.2;
    position: relative;

}
.login {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.login__content {
    background-color: #fff;
    border-radius: 8px;
    display: inline-block;
    padding: 15px 20px;
    max-width: 290px;
    width: 100%;
    color: #314F57;
    text-align: left;
}
.login__title {
	margin-bottom: 20px;
}
.login__label {
	font-size: 16px;
	display: block;
	margin-bottom: 5px;
	margin-top: 8px;
	font-weight: 500;
}
.login__input {
	border: 1px solid #ccc;
	width: 100%;
	padding: 0 10px;
	height: 30px;	
	line-height: 30px;
	font-weight: 500;
}
.login__posit {
	margin-top: 20px;
	text-align: center;
}
.login__button {
	background-color: #99a8bb;
    color: #fff;
    border: 0;
    padding: 7px 21px;
    font-size: 16px;
    border-radius: 4px;
}
.login__button:hover {
	background-color: #58697f;
	text-decoration: none;
	color: #fff;
}
.login__button:active {
	background-color: #58697f;
}

.title {
	text-align: center;
	font-size: 35px;
	font-weight: 400;
}
.catalog__title {
	margin-top: 25px;
	font-size: 30px;
}
.catalog__flex {
	padding: 40px;
	padding-top: 0;
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
}
.catalog__content {
	flex: 0 0 25%;
	padding: 0 20px;
	margin-top: 80px;
	text-align: center;
}
.catalog__name {
	text-align: center;
	margin: 0 auto;
    margin-top: 9px;
    font-size: 16px;
    text-transform: uppercase;
    max-width: 160px;
}
.catalog__posit {
	display: inline-block;
}
.catalog__img {
	width: 200px;
}
.page {
	padding: 40px;
	display: flex;
	align-items: flex-start;
	justify-content: space-around;
	flex-wrap: wrap;
}
.page__row {
	text-align: center;
	margin: 0 25px;
	margin-top: 40px;
}
.page__name {
	margin-top: 10px;
	text-align: center;
	max-width: 220px;
}
.page__title {
	margin-top: 30px;
}
.page__prev {
	position: absolute;
	top: 20px;
	left: 20px;
}
.page__hov:hover {
	border-bottom: 1px solid #000;
}
.page__not-fonnd {
	margin-top: 30px;
}
.hed-col {
	line-height: 1.3;
}
.login__input:focus {
	outline:none;
    border: 1px solid #919191!important;
}
.login__button:focus {
	outline:none;
}
img{-webkit-touch-callout: none;}
.page__galery {
	display: none;
	background: rgba(0,0,0,0.5);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999;
	overflow: auto;
	text-align: center;
}
.page__galery:before {
	 display: inline-block;
    height: 100%;
    vertical-align: middle;
    content: "";
}
.page__img {
    max-width: 100%;
    display: inline-block;
    vertical-align: middle;
    max-height: 100vh;
    max-height: calc(var(--vh, 1vh) * 100);
}
.page__st {
	max-width: calc(100% - 150px);
	position: relative;
	display: inline-block;
	margin-left: -30px;
}
.page__prev-btt {
	cursor: pointer;
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	background-color: rgba(0,0,0,0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
}
.page__next-btt {
	cursor: pointer;
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	background-color: rgba(0,0,0,0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;	
}
.page__prev-btt:hover {
	background-color: rgba(0,0,0,0.2);
}
.page__next-btt:hover {
	background-color: rgba(0,0,0,0.2);
}
.page__close {
	position: absolute;
	top: 10px;
	right: 2px;
	width: 45px;
	height: 45px;
	background-color: rgba(255,255,255,1);
	cursor: pointer;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;

}
.page__name-img {
	position: absolute;
    bottom: 20px;
    text-align: center;
    width: 100%;
    color: #a60000;
    font-size: 20px;
}
.page__elem svg {
	width: 25px;
}
.page__close-svg {
	width: 35px;
}
.admin {
	background-color: #fff;
	padding: 20px 40px;
	margin: 40px auto;
	margin-top: 0;
	max-width: 1000px;
}

.title-admin {
	text-align: center;
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 20px;
}
.user__date {
	text-align: center;
}
.user__name, .user__date, .user__info {
	flex: 0 0 33.333%;
}
.row-admin {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 10px;
}
.user__info {
	text-align: right;
}
.user__ip {
	font-size: 16px;
}
.login-ad {
	margin-top: 30px;
}
.login-ad__del {
	font-size: 16px;
	color: red;
	cursor: pointer;
}
.login-ad__del:hover {
	text-decoration: underline;
}
.login-ad__row {
	margin-top: 15px;
}
.login-ad__name {
	padding-right: 15px;
    word-break: break-word;
}
.new-user__form {
	margin-top: 35px;
}
.new-user__input {
	display: block;
	height: 35px;
	line-height: 35px;
	max-width: 320px;
	width: 100%;
	padding: 0 10px;
	border: 1px solid #000;
	margin: 10px auto;

}
.new-user {
	margin-top: 35px;
}
.new-user__btt {
	display: block;
	margin: 0 auto;
	padding: 10px 20px;
	background-color: #99a8bb;
	border: 0;
	border-radius: 5px;
	margin-top: 20px;
	color: #fff;
}
.new-user__btt:hover {
	background-color: #58697f;
}
.title-adm {
	margin: 25px 0;
	margin-bottom: 5px;
	font-weight: bold;
	font-size: 30px;
	text-align: center;
}
.exit {
	text-align: center;
	margin-bottom: 25px;
}
.exit__a {
	font-size: 16px;
	color: inherit;
}
.exit__a:hover {
	text-decoration: underline;

}
.login__err {
	font-size: 14px;
	color: red;
	margin-top: 10px;
	font-weight: 300;
}
.login__exit {
	height: 50px;
}
.exit-2 {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 21px;
	display: flex;
	align-items: center;

}
.exit-2 svg {
	width: 20px;
	margin-right: 8px;
	margin-bottom: -3px;
}
.exit-2__txt {
	font-weight: 300;
}
.catalog {
	padding-bottom: 50px;
}
@media(max-width: 1024px) {
	.page__st {
		max-width: calc(100% - 4px);
		margin-left: -4px;
	}
}
@media(max-width: 425px) {
	.exit-2 svg {
		width: 40px;
	}
	.exit-2 {
		left: 50%;
		margin-left: -20px;
		transform: translateX(0);
		bottom: 35px;
	}
	.exit-2__txt {
		display: none;
	}
	.catalog {
		
	}
	.admin {
		margin-top: 0;
		margin-bottom: 0;
	}
	.user__name, .user__date, .user__info {
		flex: initial;
	}
	.user__info {
		text-align: center;
	}
	.user__date {
		margin: 5px 0;
	}
	.user__row {
		border-top: 1px solid #ccc;
		flex-direction: column;
		padding-top: 10px;
	}
	.user__row:nth-last-child(1) {
		border-bottom: 1px solid #ccc;
		padding-bottom: 10px;
	}
	.page__close {
		width: 33px;
	    height: 33px;
	    right: 2px;
	    top: 5px;
	}
	.page__close-svg {
		width: 25px;
	}
	.page__elem svg {
		width: 15px;
	}
	.page__name-img {
		font-size: 12px;
		bottom: 10px;
	}
	.page__next-btt,.page__prev-btt {
		width: 40px;
	}
	.page {
		padding: 0;
	}

	.catalog__flex {
		padding: 0 15px;
		padding-bottom: 50px;
	}
	.catalog__content {
		padding: 0 10px;
		flex: 0 0 50%;
	}
	.catalog__img {
    	max-width: 200px;
    	width: 100%;
	
	}
	.catalog__content {
		margin-top: 50px;
	}
	.page__title {
		margin-top: 58px;
		font-size: 38px;
	}

	.page__row {
		margin-left: 0;
		margin-right: 0;
		flex: 0 0 50%;
	}
	.page__name {
		font-size: 12px;
		width: 100%;
		max-width: initial;
	}
	.page__title {
		margin-bottom: -15px;
	}
	.page__not-fonnd {
		margin-top: 70px;
	}
}