/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

@font-face {
	font-family: 'Conv_Prompt-Regular';
	src: url('fonts/Prompt-Regular.eot');
	src: local('☺'), url('fonts/Prompt-Regular.woff') format('woff'), url('fonts/Prompt-Regular.ttf') format('truetype'), url('fonts/Prompt-Regular.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}


@font-face {
	font-family: 'Conv_NotoSansThai-Regular';
	src: url('fonts/NotoSansThai-Regular.eot');
	src: local('☺'), url('fonts/NotoSansThai-Regular.woff') format('woff'), url('fonts/NotoSansThai-Regular.ttf') format('truetype'), url('fonts/NotoSansThai-Regular.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}


body {
  padding-top: 0rem;
  padding-bottom: 0rem;
  color: #5a5a5a;
  background: #f5f4f3;
}
body, .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6, p {font-family: 'Conv_NotoSansThai-Regular', serif !important;}
header {
  background: #fff;
}

.logo_mahidol img {
  width: 400px; margin-left: 50px;
}
.logo_sps_con {position: relative; display: flex;}
.logo_sps {position: absolute; top: 50%; left: 0%; padding: 10px 20px; border-radius: 0 0 20px 0; box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, .1); z-index: 9999; background: #fff; border: 5px solid #f0daa2; border-top: #fff; border-left: #fff;}

.container-90 { width: 90%; margin: 0 auto;}
.right_login {width: 520px; background: #fff; position: absolute; z-index: 1000; right: 0; padding: 10px 40px 20px; border-radius: 0 0 0 50px;}
.border_left {border-left: 1px solid #F0F0F0;}
.border_right {border-right: 1px solid #F0F0F0;}
.nav_monk {position: absolute; width: 100%; height: auto; z-index: 999; padding: 10px 0 20px; 
	background: rgb(0,0,0);
    background: linear-gradient(180deg, rgba(0,0,0,1) 25%, rgba(0,0,0,0) 100%);
border-top: 7px solid transparent;
border-image: url(line-top.jpg) 1 round;
}
.form-floating > .form-control {
  padding: 1rem 2.4rem;
}
.navbar-nav li { border-right: 1px solid #fff;}
.navbar-nav li:last-child { border-right: none;}
.nav-item.none_border {border: none;}
.navbar-expand-md .navbar-nav .nav-link {
  padding: 0 1rem;
}
.navbar-dark .navbar-nav .nav-link {color: rgb(255, 255, 255);}
.navbar-dark .navbar-nav .nav-link.active {color: #f2be58;}

.bi {
  position: absolute;
  top: 17px;
  left: 12px;
}
.form-floating > label {padding: 1rem .75rem 1rem 2.6rem;}
.form-floating > .form-control:not(:placeholder-shown) {padding-left: 2.4rem !important;}

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-bottom: 0rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 0rem;
	left: 0rem;
  z-index: 10;
	background: #A99A77;
width: 500px;
padding: 40px;
border-radius: 0 50px 0 0;
}
/*.carousel-caption.text-start {left: 0rem;}
.carousel-caption.text-end {right: 0rem;}*/

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 650px;
}
.carousel-item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 650px;
}


/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
.marketing h2 {
  font-weight: 400;
}
/* rtl:begin:ignore */
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}
/* rtl:end:ignore */


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  /* rtl:remove */
  letter-spacing: -.05rem;
}


/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}

@media (max-width: 740px) {
  .logo_mahidol img { width: 100% !important; height: auto; margin-left: 0;}
	.logo_sps {position: relative; border-radius: 0 0 20px 20px; margin: 0 auto; border-left: 5px solid #f0daa2;}
  .bt_mobile {text-align: right;width: 100%;}
  .right_login {width: 100%; display: none;}
	.carousel-caption {width: 100%}
	.navbar-nav li {border-right: none;}
	.navbar-expand-md .navbar-nav .nav-link {padding: 0.3rem 1rem;}

}
