body {display: flex; align-items: center; height: 100vh;}

/*#wrapper {padding: 10px 0;}*/

	/* Buttons */
	.button {border-radius: 3px;}
	/*.form-button-link {background-color: #666666;}*/
	.form-button {
		/*background: rgb(75,57,95);
		background: radial-gradient(circle, rgba(75,57,95,1) 0%, rgba(18,12,39,1) 100%);*/
		background-color: #001358;
	}
	/*.form-button,
	.form-button-link {
		font-weight: 700;
		color: #e6e6e6;
		padding: 10px 12px;
		border-radius: 3px;
	}
	.form-button-link:hover,
	.form-button-link:focus,
	.form-button-link:active,
	.form-button-link.active,
	.form-button-link:active:focus,
	.form-button-link:active:hover,
	.form-button-link.active:hover,
	.form-button-link.active:focus{
	    background-color: rgba(255, 235, 59, 0.473);
	    color: #000;
	    cursor: pointer;
	}*/
	.form-button:hover,
	.form-button:focus,
	.form-button:active,
	.form-button.active,
	.form-button:active:focus,
	.form-button:active:hover,
	.form-button.active:hover,
	.form-button.active:focus {
	    cursor: pointer;
	}
	.button-l {width: 50% !important;}

	@media only screen and (max-width: 768px) {
		.button-l {width: 100%!important;}
	}


	/* Bootstrap Form Control Extension */
	.form-control,
	.border-line {
	    background-color: #FFFFFF;
	    background-image: none;
	    border: 1px solid #d1d1d0;
	    border-radius: 1px;
	    color: inherit;
	    display: block;
	    padding: 10px 12px;
	    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
	    width: 100%;
	}
	.form-control:focus,
	.border-line:focus {
	    border-color: #FFEB3B;
	    background-color: #f5f5f5;
	    color: #000;
	}
	.form-control,
	.form-control:focus {
	    box-shadow: none;
	}
	.form-control::-webkit-input-placeholder { color: #BDBDBD; }

	/* Container */
	.container-content {
		font-family: 'Kanit', sans-serif!important;
    color: #001459;
    padding: 15px 2.2em 0;
    position: relative;

		background-image: url("../../images/bg/main-bg-login-content-desktop.webp");
		background-position: top center;
		background-repeat: no-repeat;
		background-size: cover;
	}

	.container-content .headline {width: fit-content; margin: auto; text-align: center; margin-bottom: 3.5em;}
	.container-content h3 {font-size: 22px; margin-bottom: 0; line-height: 1.25;}
	.container-content h4 {color: #d4145a; font-size: 20px; margin-bottom: 0; line-height: 1.25; font-weight: 600;}
    

.container-content::before{
	content: "";
	position: absolute;
	top: 0;
	left: -3px;
	width: 3px;
	height: 100%;
	background: rgba(0, 0, 0, 0.2);
	filter: blur(3px);
}    



	/* Login & Register Pages*/

	.login-container {
		max-width: 65%;
		z-index: 100;
		margin: auto;
		display: grid;
		grid-template-columns: 45% auto;
	}
	.login.login-container {
	    width: 300px;
	}
	.wrapper.login-container {
	    margin-top: 140px;
	}
	.logo-badge {
	    color: #e6e6e6;
	    font-size: 80px;
	    font-weight: 800;
	    margin-bottom: 0;
	}

	/*.main-border-button {
		  background-image: url("http://thestandard.mac/key-takeaway/images/main-border-button.png");
		  background-position: top center;
		  background-repeat: no-repeat;
		  background-size: 100% 100%;
		  padding: 3px;
 	}*/
	
	.text-howto {font-size: 15px; font-weight: 500; margin-bottom: 5px;}
	.text-detail {font-size: 13px; font-weight: 400; line-height: 1.25;}

.invalid-code {
    position: absolute;
	top: 20%;
    right: 4%;
    z-index: 1;
}
p.invalid-code {
    margin-bottom: 0;
}





/* GLOW BUTTON HOVER */
.glow-on-hover {
    border: none;
    outline: none;
    cursor: pointer;
    position: relative;
    z-index: 0;
}

.glow-on-hover:before {
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -1px;
    left:-1px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 1px);
    height: calc(100% + 1px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
}

.glow-on-hover:active {/*color: #000*/}
.glow-on-hover:active:after {background: transparent;}
.glow-on-hover:hover:before {opacity: 1;}
.glow-on-hover:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    /*background: #111;*/
    left: 0;
    top: 0;
    /*border-radius: 10px;*/
}

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}


.btn-access {
	display: flex;
	gap: 10px;
	width: calc((146px * 2) + 10px);
}
.btn-access > div {flex: 1;}

.hidden-xs {display: block;}
.visible-xs {display: none;}

@media only screen and (max-width: 768px) {
	.hidden-xs {display: none;}
	.visible-xs {display: block;}

	body {display: block; height: auto;}
	#wrapper {padding: 40px 0;}

	.login-container {max-width: 85%; display: block;}
	.container-content {padding: 15px!important;}
	.text-detail {font-size: 12px;}

	.container-content h3 {font-size: 16px;}
	.container-content h4 {font-size: 15px;}

	.container-content {
		background-image: url("../../images/bg/main-bg-login-content-mobile.webp");
	}
	.container-content .headline {margin-bottom: 2em;}

}

