@font-face {
    font-family: 'ChulaCharasNew';
    src: url('/font/ChulaCharasNew.eot') format('embedded-opentype'), url('/font/ChulaCharasNew.woff') format('woff'), url('/font/ChulaCharasNew.ttf') format('truetype'), url('/font/ChulaCharasNew.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}


body {
    font-family: 'ChulaCharasNew', sans-serif !important;
    padding-top: 0px;
    padding-bottom: 0px;
    position: relative;
    font-size: 16px !important;
    letter-spacing: 0.5px;
    color: #454444 !important;
}

.body-page-login {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: auto;
    justify-content: center;
    align-items: center;
}
.body-page-login:before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background-image: url(/image/bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 10%;
} 

.navbar {
    background: #fff;
    padding: 8px 24px;
    margin: 0 80px;
    border-radius: 0 0px 24px 24px;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar .nav-text  {
    color: #3a4453;
    font-weight: 800;
    margin-left: 16px;
}

.eng-nav {
    font-size: 12px;
} 

.login-block {
    position: relative;
	width: 100%;
	padding: 40px 80px 20px;
}

.banner-sec {
	border-radius: 0 10px 10px 0;
	padding: 0;
    display: flex;
    align-items: center;
    position: relative;
}

.banner-sec::before {
    content: '';
    background-color: #fff;
    right: 0;
    position: absolute;
    width: 100%;
    top: 0;
    bottom: 0;
    border-radius: 16px 0 0 16px;
}

.carousel-caption {
	text-align: left;
	left: 5%;
}

.login-sec h2 {
	margin: 0px 0px 16px 0px;
	font-weight: 800;
	font-size: 30px;
	color: #3a4453;
    text-align: center;
}
.login-sec .subtitle {
    font-size: 18px;
    font-weight: 800;
    color: #3a4453;
    text-align: center;
}

.login-sec  {
 background: #FAFAFB;
 border-radius: 0 16px 16px 0;
 padding: 32px;
box-shadow: 6px 3px 0px rgb(251 249 249 / 34%);
display: flex;
justify-content: center;
align-items: center;
}

.form-login {
    width: 420px;
    max-width: 95%;
}

.form-group {
    padding: 0px 8px;
    margin-bottom: 16px;
    position: relative;
}

.form-control {
    font-size: 16px;
    color: #3a4453;
    background-color: rgba(255,255,255,0.8);
    width: 100%;
    max-width: 100%;
    padding: 8px 8px;
    height: 40px;
    border-radius: 0.5rem;
    border: 1px solid #DDBCC3;
}

.form-group label {
    font-weight: 800;
    margin-right: 8px;
    display: inline-block;
    margin-bottom: 0;
    padding: 0px 0px 5px;
}
.btn {
    padding: 8px;
    font-weight: 600;
    width: 100%;
    border-radius: 14px;
}
.btn.btn-primary {
    background-image: linear-gradient(to right top, #d63384, #da4e91, #de649d, #e178a9, #e48bb5, #e595ba, #e79ec0, #e8a8c5, #e9acc6, #eab0c8, #eab4c9, #ebb8cb);
    color: #fff;
    border: transparent;
}

.btn.btn-ghost {
    border: 1px solid #D63384;
    color: #3a4453;
}

p.text-login {
    font-size: 16px;
    color: #3a4453;
    text-align: center;
    margin: 16px 0;
}

p.text-login::before,
p.text-login::after {
  background-color: #DEDDE4;
  content: "";
  display: inline-block;
  height: 1px;
  position: relative;
  vertical-align: middle;
  width: 20%;
}

p.text-login::before {
  right: 0.5em;
  margin-left: -50%;
}

p.text-login::after {
  left: 0.5em;
  margin-right: -50%;
}

.banner-text {
	width: 70%;
	position: absolute;
	bottom: 40px;
	padding-left: 20px;
}

.banner-text h2 {
	color: #fff;
	font-weight: 600;
}

.banner-text h2:after {
	content: " ";
	width: 100px;
	height: 5px;
	background: #FFF;
	display: block;
	margin-top: 20px;
	border-radius: 3px;
}

.banner-text p {
	color: #fff;
}

.carousel-box {
    overflow: hidden;
    transition: transform 0.4s ease-in-out;
    border-radius: 16px;
    width: 100%;
    padding: 40px 16px 20px;
}

.carousel-item {
    /* width: auto;
    height: 420px; */
}
.carousel-item img {
    max-height: 60vh;
    width: auto;
    max-width: 100%;
    display: block;
    border-radius: 10px;
    box-shadow: 2px 0 15px rgba(210, 214, 230, 1);
    margin: auto;
    object-fit: cover;
}

.carousel-indicators {
    position: unset;
    margin-bottom: 0;
    bottom: -3rem;
}

.carousel-indicators [data-bs-target] {
    background-color: #DF6DA5;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 8px;
}

 /*--------------------------------------------------------
    Start: Responsive View Google Chrome
----------------------------------------------------------*/
/* Nest Hub*/
@media (max-width: 1199px) {
        /* .carousel-box {
            width: 65%;
        } */

                .login-sec h2 {
                    font-size: 24px;
                }
}


/* Surface Pro 7*/
@media (max-width: 991px) {
    .navbar  {
        margin: 0;
        padding: 8px;
    }

        .banner-sec::before {
            width: 100%;
            border-radius: 16px 16px 0 0 ;
        }

                .login-sec {
                        border-radius: 0 0 16px 16px;
                }
}


/* iPad Mini*/
@media (max-width: 769px) {
    
}


/* Surface Duo*/
@media (max-width: 569px) {
        .navbar .nav-text .thai-nav {
                font-size: 16px;
            }
        
            .navbar .nav-text .eng-nav {
                font-size: 10px;
            }

                        .login-block {
                            padding: 40px 16px 20px;
                        }
}


/*iPhone 14 Pro Max*/
@media (max-width: 481px) {
   
}



/*iPhone SE*/
@media (max-width: 376px) {
  
    
}


/* Galaxy Fold 5*/
@media (max-width: 345px) {
   
}
/*--------------------------------------------------------
    End: Responsive
----------------------------------------------------------*/