/* ----------------------------------------------------- */
.osnPart {
	box-shadow: none;
	width: 100% !important;
}
footer{
	display: none;
}
/* ----------------------------------------------------- */
.login{
	display: flex;
	justify-content: center;
	align-items: flex-start;

	width: 100%;
	height: 100%;

	flex-grow: 1;

	position: relative;

	overflow: hidden;
}
.login .background{
	z-index: -2;

	position: absolute;
	left: -20px;
	top: -20px;
	width: calc(100% + 40px);
	height: calc(100% + 40px);

	background-image: url('/imgs/1886618.jpg');
	background-position: center center;
	background-size: cover;
}
.login .background:after{
	z-index: 1;

	position: absolute;
	left: -20px;
	top: -20px;
	width: calc(100% + 40px);
	height: calc(100% + 40px);

	background-color: rgba(0,0,0,0.4);

	z-index: -1;
	content: '';
} 
.login > div{
	background-color: white;
	border-radius: 10px;
	margin-top: 10px;
	width: 500px;
	max-width: 100vw;
	padding: 15px;

	margin-top: 30px;
	margin-bottom: 30px;
	text-align: center;

	padding-top: 20px;
	padding-bottom: 20px;

	box-shadow: 0 0 20px rgb(142 78 199 / 20%);
}
/* ----------------------------------------------------- */
.login h2{
	font-size: 24px;
}
.login .sub{
	font-size: 14px;
}
.login hr{
	width: 60%
}

.login .form{
	width: 70%;
	margin-left: auto;
	margin-right: auto;
}
.login input{
	width: 100%;
	display: block;
	padding: 10px;
	border-radius: 5px;

	border: lightgray 1px solid;
	outline: none;

	margin-bottom: 15px;

	margin-left: auto;
	margin-right: auto;
}
.login .btn{
	min-width: 200px;
}

.login .password{
	margin-bottom: 5px;
}

.btn-primary {
    color: #fff;
    background-color: #8e4ec7 !important;
    border-color: #6f39a0 !important;
}
.btn-primary:hover {
    color: #fff;
    background-color: #7540a3 !important;
    border-color: #663690 !important;
}
.login .forgot{
	font-size: 12px;
	text-align: right;
	display: block;
	margin-bottom: 10px;
}
.login .forgot a:hover{
	color: var(--main-bg-color) !important;
}
.login .line{
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 15px;

	width: 60%;
	margin-left: auto;
	margin-right: auto;
}
.login .register{
	margin-top: 10px;
	font-size: 14px;
}
.login .register:hover{
	color: var(--main-bg-color) !important;
}
.login .line > div:first-child, .login .line > div:last-child{
	width: 100%;
	height: 1px;
	background-color: lightgray;
}
.login .line > div:nth-child(2){
	font-size: 12px;
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 2px;
}
.btn-vk{
	color: white;
	margin-top: 15px;

	background-color: #0d65ca !important;
    border-color: #237de5 !important;

    display: inline-flex;
    align-items: center; 
    justify-content: center;
}
.btn-vk i{
	font-size: 22px;
	margin-left: 5px;
	line-height: 14px;
}
.btn-vk:hover{
	background-color: #0a4d9a !important;
    border-color: #0c3e78 !important;
}
.btn{
	font-size: 14px;
}
/* ----------------------------------------------------- */
.dark .login > div{
	background-color: var(--main-bg-color) !important;
}
/* ----------------------------------------------------- */
@media screen and (max-width: 550px){
	.login{
		width: 100%;
		min-width: 300px;
	}
	.login .form{
		width: 100%;
	}
	.btn{
		width: 100%;
	}
	.login .background{
		display: none;
	}
	body{
		background-image: none;
		background-color: white;
	}
	.login > div{
		box-shadow: none;
	}
	.dark .login > div {
	    background-color: transparent !important;
	}
}

/* ----------------------------------------------------- */