/*
 * basic styles
 *
 */
* {
	box-sizing: border-box;
}
*:before,
*:after {
	box-sizing: border-box;
}
html, body {
    width: 100%;
    height: 100%;
}
body {
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    color: #757575;
	line-height: 1.57142857;
    background-color: #fff;
}
a[href]:not(.button),
.link {
    color: inherit;
	cursor: pointer;
	text-decoration: underline;
}
a[href]:not(.button):hover,
.link:hover,
.link.active {
    color: #3f51b5;
	text-decoration: underline;
}
hr {
	margin-top: 20px;
	margin-bottom: 20px;
	border: 0;
	border-top: 1px solid #eee;
}
h1 {
  font-size: 36px;
}
h2{
  font-size: 30px;
}
h3 {
  font-size: 24px;
}
h4 {
  font-size: 18px;
}
h5 {
  font-size: 14px;
}
h6 {
  font-size: 12px;
}
p {
  margin: 0 0 .6em;
}
img {
	width: auto\9;
    height: auto;
    max-height: 100%;
	max-width: 100%;
    vertical-align: middle;
    border: 0;
}
.list-inline {
	padding-left: 0;
	margin-left: -5px;
	list-style: none;
}
.list-inline > li {
	display: inline-block;
	padding-right: 5px;
	padding-left: 5px;
}
.text-muted {
    color: #99a1b0
}
.row:before,
.row:after {
    display: table;
    line-height: 0;
    content: "";
}
.row:after {
    clear: both;
}
.pull-left {
    float: left;
}

.pull-right {
    float: right;
}
/**
 * login
 *
 */
body {
	background-color: #222;
	background-size: cover;
	background-position: left top;
	background-attachment: fixed;
	
	border-top: 3px solid #3f51b5;
}
body:after {
	position: fixed;
	top: 0;
	left: 0;
	content: '';
	width: 100%;
	height: 100%;
	background-color: rgba(33,33,33,.5);
	z-index: -1;
}
.page-border {
	position: fixed;
	left: 0;
	top: 0;
	height: 3px;
	width: 100%;
	background: #3f51b5;
	z-index: 3;
}
.page-content {
	position: relative;
	height: 100%;
	width: 100%;
}
.page-login-area {
    position: absolute;
    left: 12px;
    top: 12px;
    border-radius: 12px;

    /* height: auto; */

	width: 470px;
    height: calc(100% - 24px);
    padding: min(8%, 60px) 60px 120px;
    color: #757575;
    background: #fff;
	
	-webkit-transition: opacity 0.4s 0s, -webkit-transform 0.5s 0s;
  	transition: opacity 0.4s 0s, -webkit-transform 0.5s 0s;
  	transition: opacity 0.4s 0s, transform 0.5s 0s;
  	transition: opacity 0.4s 0s, transform 0.5s 0s, -webkit-transform 0.5s 0s;
}

.login-banner {
  display: flex;
  margin-top: 33px;
  justify-content: center;
}

.login-banner img {
  max-width: 100%;
  max-height: 66px;
}

.page-login-area > .main:first-child {
  margin-top: 100px;
}

.page-login-area .login-banner + .main {
  margin-top: 33px;
}

.page-login-area .title-logo {
  display: flex;
  margin-bottom: 16px;
  align-items: center;
  justify-content: space-between;
}

.title-logo img {
	max-width: 100px;
}

.page-login-area h3 {
	/* margin-bottom: 11px; */
	font-size: 20px;
	font-weight: 400;
	line-height: 1.2;
	color: #424242;
	text-shadow: rgba(0,0,0,.15) 0 0 1px;
}

.page-login-area .error,
.page-login-area p.login-message.error,
.page-login-area p.login-info-ie {
	color: #d50000;
}
.page-login-area .login-info-message {
	color: #ff9800;
}
.page-login-area form {
	width: 100%;
	margin: 60px 0 20px;
}
.page-login-area .form-group {
	position: relative;
	margin-top: 20px;
    margin-bottom: 20px;
}
.page-login-area .form-group+.form-group {
	margin-top: 30px;
}
.page-login-area .form-control {
	display: block;
    width: 100%;
    height: 36px;
    padding: 6px 0;
    font-size: 14px;
    line-height: 1.57142857;
    color: #424242;
    background: #fff;
	outline: 0;
	border: 0;
	
	background-image: -webkit-gradient(linear,left top,left bottom,from(#3f51b5),to(#3f51b5)),-webkit-gradient(linear,left top,left bottom,from(#e0e0e0),to(#e0e0e0));
    background-image: -webkit-linear-gradient(#3f51b5,#3f51b5),-webkit-linear-gradient(#e0e0e0,#e0e0e0);
    background-image: linear-gradient(#3f51b5,#3f51b5),linear-gradient(#e0e0e0,#e0e0e0);
    background-size: 0 2px,100% 1px;
    background-repeat: no-repeat;
    background-position: center bottom,center calc(100% - 1px);
    background-color: transparent;
    background-color: rgba(0,0,0,0);
    -webkit-transition: background 0s ease-out;
    transition: background 0s ease-out;
}
.page-login-area .form-control:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
	border-bottom: 1px solid #e0e0e0;
}
.page-login-area .form-control:focus,
.page-login-area .form-control.focused {
    background-size: 100% 2px,100% 1px;
    -webkit-transition-duration: .3s;
    transition-duration: .3s
}
.page-login-area .form-control~label {
	font-size: 14px;
	width: 100%;
	top: 6px;
	color: #757575;
	position: absolute;
	pointer-events: none;
	left: 0;
	cursor: text;
	-webkit-transition: .3s ease all;
	transition: .3s ease all;
}
.page-login-area .form-control~label>.appendix {
	opacity: 1;
	-webkit-transition: opacity .3s ease;
	transition: opacity .3s ease;
}
.page-login-area .form-control:focus~label {
	color: #3f51b5;
	display: block;
	width: 100%;
}
.page-login-area .form-control:focus~label,
.page-login-area .form-control.not-empty~label {
	top: -12.2px;
    font-size: 11.2px;
}
.page-login-area .form-control:focus~label>.appendix,
.page-login-area .form-control.not-empty~label>.appendix {
	opacity: 0;
}
.page-login-area .form-selector {
	position: relative;
	margin: 30px 0;
}
.page-login-area .form-selector .form-control {
	font-size: 0;
	cursor: text;
}
.page-login-area .form-selector .form-control:focus~label,
.page-login-area .form-selector .form-control.not-empty~label {
	top: 6px;
	font-size: 14px;
	color: #757575;
}
.page-login-area .form-selector .form-control.not-empty~label {
	color: #424242;
}
.page-login-area .form-selector ul {
	background-color: #fff;
	margin: 0;
	display: none;
	min-width: 100px;
	width: 100%;
	max-height: 650px;
	overflow-y: auto;
	position: absolute;
	top: -8px;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
	z-index: 999;
}
.page-login-area .form-selector ul li {
	clear: both;
	color: #424242;
	cursor: pointer;
	line-height: 22px;
	padding: 14px 16px;
	width: 100%;
	min-height: 50px;
	text-align: left;
	text-transform: none;
}
.page-login-area .form-selector ul li:hover,
.page-login-area .form-selector ul li.selected {
	background: #eaeaea;
}

.page-login-area .form-selector.disabled label {
  opacity: 0.5;
}

.page-login-area .form-selector ul li:first-child {
	color: #757575;
	background: transparent;
	border-bottom: 1px solid #e0e0e0;
}

.page-login-area .form-selector.disabled label span {
  color: #757575;
}

.page-login-area .form-selector label i {
	float: right;
	display: inline-block;
	font-weight: normal;
	font-style: normal;
	font-size: 20px;
	vertical-align: middle;
    line-height: 100%;
}
.page-login-area button,
.page-login-area .button {
	display: block;
	width: 100%;
	background: none;
    border-radius: 3px;
    border: none;
    color: #fff;
	background: #3f51b5;
    font-weight: normal;
    min-width: 150px;
    text-align: center;
    margin: 38px auto 0;
    padding: 8px 16px;
    cursor: pointer;
	outline: 0;
    text-decoration: none;
    /* -webkit-transition: all 0.2s; */
    /* transition: all 0.2s; */
}
.page-login-area .button:hover,
.page-login-area .button:focus,
.page-login-area button:hover,
.page-login-area button:focus {
	opacity: 0.8;
}
.page-login-area .button:active,
.page-login-area button:active {
	opacity: 0.9;
}

.page-login-area .login-links {
	text-align: left;
}
.page-login-area .login-links ul {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.page-login-area .login-links i {
	vertical-align: top;
	margin-right: 2px;
}

.page-login-area footer {
  margin: auto 60px 10px;
  text-align: center;
  color: #424242;
  font-size: 12px;
}
.page-info-area {
	position: relative;
	width: 100%;
	height: 100%;
	color: #fff;
	text-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.page-info-area,
.page-info-area .bsm-image {
	max-width: 60%;
	max-width: -o-calc(100% - 510px);
	max-width: calc(100% - 510px);
}
.page-info-area .bsm-image {
	position: fixed;
	top: 0;
	right: 470px;
	margin: 60px;
	max-width: 450px;
	max-height: 450px;
	max-width: calc(100% - 920px);
	max-height: calc(100% - 218px);
	overflow: hidden;
	*z-index: -1;
	
	-webkit-transition: opacity 0.4s 0.1s, -webkit-transform 0.5s 0.1s;
  	transition: opacity 0.4s 0.1s, -webkit-transform 0.5s 0.1s;
  	transition: opacity 0.4s 0.1s, transform 0.5s 0.1s;
  	transition: opacity 0.4s 0.1s, transform 0.5s 0.1s, -webkit-transform 0.5s 0.1s;
}
.left-form .page-info-area {
	float: right;
}
.left-form .page-info-area .bsm-image {
	right: auto;
	left: 470px;
}
.left-form .page-login-area {
	right: auto;
}

/* animation */
.page-login-area,
.page-info-area .bsm-image.show {
	opacity: 1;
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
}
.page-login-area.animated {
	opacity: 0;
    -webkit-transform: translateX(50px);
    transform: translateX(50px);
}
.page-info-area .bsm-image.animated {
	opacity: 0;
    -webkit-transform: translateX(-50px);
    transform: translateX(-50px);
}
.left-form .page-login-area.animated {
	opacity: 0;
    -webkit-transform: translateX(-50px);
    transform: translateX(-50px);
}
.left-form .page-info-area .bsm-image.animated {
	opacity: 0;
    -webkit-transform: translateX(50px);
    transform: translateX(50px);
}
@media (max-height: 310px) {
	.page-info-area {
		max-width: none;
	}
}
@media (max-height: 495px) {
	.page-info-area .bsm-image {
		max-height: 80%;
		max-height: calc(100% - 120px);
	}
}
@media (max-width: 640px) {
    .page-login-area {
        padding: 8%;
        width: calc(100% - 24px);
    }

    .page-login-area form {
        width: auto
    }
}
@media (max-width: 1350px) {
	.page-info-area .bsm-image {
		max-width: 80%;
		max-width: calc(100% - 40px);
	}
}

.left-form .page-login-area {
  display: flex;
  flex-direction: column;
  padding: 48px;
  gap: 24px;
  overflow: auto;
}

/* ================== */
/* TOTP Authenticator */
/* ================== */

.totp-authenticator .info,
.totp-authenticator .page-login-area form {
  margin-top: 40px;
}

.totp-authenticator .error {
  margin-top: 20px;
}

.totp-authenticator h3 {
  font-size: 20px;
}

/* ============= */
/* Cookie notice */
/* ============= */

.cookie-notice {
  position: absolute;
  top: 0;
  background: rgba(0.1, 0.1, 0.1, 0.2);
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cookie-notice .window {
  background: #efefef;
  color: #121212;
  min-width: min-content;
  max-width: 600px;
  height: min-content;
  padding: 25px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 3px 3px 5px 5px rgba(0.1, 0.1, 0.1, 0.1)
}

.cookie-notice .window hr {
  border-color: #9f9f9f;
}

.cookie-notice .window h1 {
  margin: 0 0 25px 0;
}

.cookie-notice .window button {
  margin-top: 25px;
  width: 350px;
  padding: 8px 16px;
  border: none;
  border-radius: 3px;
  color: #efefef;
}

/* Fallback color (less specific rule so it is overwritten by document inline styling). */
.cookie-notice button {
  background: #393939;
}

.cookie-notice .window button:hover {
  opacity: 0.8;
}

.hidden {
    display: none;
}
