@import url('https://fonts.googleapis.com/css?family=Kanit&display=swap');
@import url('https://fonts.googleapis.com/css?family=Athiti:500&display=swap');
.athitifont{font-family: 'Athiti', sans-serif !important;}
#schedule{
	font-size:15px;
}
ul.dtr-details {
	width: 100%;
	padding: 0;
	margin:0;
}
th.time{
	padding: 0;
	margin: 0;
	width: 300px;
}
.dtime{
	width:115px;
	font-size:14px;
}

/* ----- transports page ----- */

.transports tbody td{
	width: 270px !important;
}
.transports{
	width: 100%;
}
.card-header{
	width:100%;
	padding: 0;
}
.table thead th {
	max-height: 500px;
	vertical-align: middle;
}

.btn-link{
	color: #254BB7;
}

.btn-link:hover {
	color: #eac85e;
}

/* ----- activities page ----- */

input, select{
	border-radius: 20px;
	background: linear-gradient(to right, rgb(241, 246, 250), rgb(236, 243, 245));
	border: transparent;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 10px;
	padding-right: 10px;
	color: #254BB7;
	font-weight: bold;
	letter-spacing: 0.1em;
	cursor: pointer;
}

table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td:first-child:before, table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>th:first-child:before {
	font-weight: bold;
	padding: 1px;
}

/*thead{
	color: #EDDF5D;
	color: #ffc122;
}*/

.fa-map-marked-alt{
	color: rgb(255, 82, 105);
	/*color: rgb(89, 204, 133);*/
}
.fa-map-marked-alt:hover{
	color: #eac85e;
}

.child{
	background-color: #ffffff !important;
	margin-left: 40px !important;
	color:#254BB7;
	font-size: 95%;
}

.dtr-details{
	margin-left: 30px !important;
}

table{
	font-family: 'Nunito', sans-serif !important;
	/*letter-spacing: 0.1em;*/
}
label{
	color: #254BB7;
	font-weight: bold;
}

.sorting_1{
	background-color: rgba(230, 236, 240, 0.2) !important;
	cursor: pointer;
	margin: auto;
}

td.text-wrap.sorting_1::before{
	margin: auto;
	
}

.odd{
	/*background: linear-gradient(to right, #ffc122, #f0d437) !important;*/
	background-color: rgb(246, 251, 252) !important;
	/*color: rgb(255, 190, 49) !important;*/
	font-weight: normal;
	font-size: 105%;
}

.even{
	/*background: linear-gradient(to right, #ffc122, #f0d437) !important;
	background: linear-gradient(to right, rgb(229, 243, 255), rgb(228, 254, 255));*/
	background-color: #ffffff !important;
	/*color: rgb(27, 115, 216) !important;*/
	font-weight: normal;
	font-size: 105%;
}


table{
	line-break: auto;}

	
/* ----- index page ----- */
.rocket{
	max-width: 100px;
	display:block;
	position:relative;
}

.astronaut01{
	max-width: 150px;
	float: left;
	margin-left: 30%;
	z-index: -2;
}
.astronaut02{
	width: 150px;
	float: right;
	margin-right: 30%;
	z-index: -2;
}

.font, #openhouse{
    font-family: 'Nanum Pen Script', cursive;
}
.op-txt{
	font-family: 'Nanum Pen Script', cursive !important;
}
.text-info{
	color: #254BB7 !important;
}

#page-top{
background: url("../img/groundbg.svg"),url("../img/starbg.svg");
    background-position: center ;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}
#openhouselogo{
    height: 40px;
    background-color: white;
}
#countreg{
	font-size: 1.6rem
}

#rocketshadow{
	display:block;
	position:relative;
	width:100px;
}
.font-yellow{
    color: #ffc122;
}

.countdays{
    font-size: 23px;
    margin-top: 10px;
 }
 
.counttimes{
   font-size: 55px;
   margin-top: 10px;
}

.masthead {
	padding:0px;
  }

.letterspacing2{
    letter-spacing: 0.2em;
}

#register{
    color: #254BB7;
    font-size: 0.8em;
	background-color: white;
}
#countdowntime div{
	font-size: 60px;
	line-height:30px;
	vertical-align: bottom;
}
.countdays td div{
	padding-left: 3px;
    padding-right: 3px;
}
.divTable{
	display: block;
    width: 310px;
	text-align:center;
	margin:0 auto;
	margin-top: 30px;
    font-family: 'Nanum Pen Script', cursive;
	font-size: 24px;

}
.divTableRow {
	display: table-row;
}
.divTableHeading {
	background-color: #EEE;
	display: table-header-group;
}
.divTableCell, .divTableHead {
	display: table-cell;
	padding: 3px 10px;
}
.divTableHeading {
	background-color: #EEE;
	display: table-header-group;
}
.divTableFoot {
	background-color: #EEE;
	display: table-footer-group;
}
.divTableBody {
	display: table-row-group;
}


/* 
  ##Device = Desktops
  ##Screen = 1281px to higher resolution desktops
*/

@media (min-width: 1281px) {

  

  
}

/* 
  ##Device = Laptops, Desktops
  ##Screen = B/w 1025px to 1280px
*/

@media (min-width: 1025px) and (max-width: 1280px) {


	.masthead h1 {
		font-family: 'Varela Round';
		font-size: 5rem;
		line-height: 3rem;
	}

  
}

/* 
  ##Device = Tablets, Ipads (portrait)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 1024px) {
  
	.rocket {
        width: 120px;
	}
	
	.astronaut01{
		width: 160px;
		float: left;
		margin-left: 20%;
	}
	.astronaut02{
		width: 160px;
		float: right;
		margin-right: 20%;
	}

	
	.masthead h1 {
		font-size: 4rem;

	}
	
}

/* 
  ##Device = Tablets, Ipads (landscape)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  
	.rocket {
		width: 100px;
	}

	.astronaut01{
		width: 150px;
		float: left;
		margin-left: 25%;
	}
	.astronaut02{
		width: 150px;
		float: right;
		margin-right: 25%;
	}

}
/* Portrait */
@media only screen 
  and (min-width: 360px) 
  and (max-width: 812px) 
  and (orientation: portrait) { 

	
	.astronaut01{
		width: 110px;
		float: left;
		margin-left: 10%;
	}
	.astronaut02{
		width: 110px;
		float: right;
		margin-right: 10%;
	}
	.rocket{
		width: 75px;
	}

  h3.font.font-yellow.mx-auto.mt-4.text-uppercase.letterspacing2{
	font-size:26px;	
	margin:0px auto !important;
  }
  h3.font.mx-auto.mt-1.mb-2.text-uppercase {
	margin:0px auto !important;
	font-size:24px;
	display:none;
  }
	h1#openhouse{ 
	font-size: 44px;
    line-height: 33px;
	
	}
	#countreg{
		font-size: 20px;
		margin-bottom:0px;
	}
	#wrapper {margin:0px;}
	.divTable {
		margin-top:0px;
	}
	.my-super-cool-btn span:before{
		width:80%;
		height:80%;
	}
	#register {
		font-size: 0.7em;
	}
	.masthead {
		min-height: 30rem;
	}
	#countdowntime div{
		font-size: 45px;
	}
}
@media screen 
  and (max-width: 360px) 
  and (max-height: 640px) {
	h3.font.font-yellow.mx-auto.mt-4.text-uppercase.letterspacing2{
	font-size:26px;	
	margin:0px auto !important;	
  }

  .rocket{
	  width: 60px;
  }

	.astronaut01{
		width: 80px;
		float: left;
		margin-left: 10%;
		}
	.astronaut02{
		width: 80px;
		float: right;
		margin-right: 10%;
	}


  #openhouselogo{
    height: 35px;
    background-color: white;
	}


  h3.font.mx-auto.mt-1.mb-2.text-uppercase {
	margin:0px auto !important;
	font-size:24px;
	display:none;
  }
	h1#openhouse{ 
	font-size: 36px;
    line-height: 30px;
	
	}
	#countreg{
		font-size: 20px;
		margin-bottom:0px;
	}
	#wrapper {margin:0px;}
	.divTable {
		margin-top:0px;
	}
	.my-super-cool-btn span:before{
		width:70%;
		height:70%;
	}
	#register {
		font-size: 0.6em;
	}
	.masthead {
		min-height: 27.5rem;
	}
	
	#countdowntime div{
		font-size: 45px;
	}
}
/* Portrait and Landscape */
@media only screen 
  and (min-width: 768px) 
  and (max-width: 1366px) 
  and (orientation : portrait)   
  and (-webkit-min-device-pixel-ratio: 1)  
  
 {

	.rocket{
		width: 110px;
	}
  
	.astronaut01{
	  width: 150px;
	  float: left;
	  margin-left: 20%;
	  }
	  .astronaut02{
		  width: 150px;
		  float: right;
		  margin-right: 20%;
  }


	h3.font.font-yellow.mx-auto.mt-4.text-uppercase.letterspacing2{
		font-size:54px;	
		margin:15px auto !important;
  }
  h3.font.mx-auto.mt-1.mb-2.text-uppercase {
	margin:0px auto !important;
	font-size:50px;
	display:block;
  }
  #countdowntime div{
		font-size: 65px;
	}
  .masthead {
		min-height: 0rem;
	}
  .masthead h3 {
	max-width: 40rem;
  }
	#rocket {
    margin-top: 15px;
	}
	h1#openhouse{
		font-size: 75px;
    	line-height: 75px;
	}
	#countreg{
		font-size: 35px;
		margin-bottom: 30px;
	}
	.my-super-cool-btn span:before{
		width:100%;
		height:100%;
	}
	
	#register {
		font-size: 0.9em;
	}
	.divTable {
    	margin-top: 35px;
	}
}

/* ----- about ----- */

.mbr-figure img, .mbr-figure iframe {
  display: block;
  width: 100%; }
.mbr-figure {
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  -webkit-align-self: center;
  align-self: center; }
@media (min-width: 992px) {
  .media-container-row {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap; } }
figure {
  overflow: hidden; }

figure[mbr-media-size] {
  -webkit-transition: width 0.1s;
  -o-transition: width 0.1s;
  transition: width 0.1s; }

.mbr-figure img, .mbr-figure iframe {
  display: block;
  width: 100%; }

.card {
  background-color: transparent;
  border: none; }

.card-img {
  text-align: center;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  -webkit-flex-shrink: 0; }

.media-content {
  -ms-flex-preferred-size: 100%;
  flex-basis: 100%; }

.media-container-row {
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -ms-flex-direction: row;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  flex-direction: row;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: center;
  -webkit-box-pack: center;
  justify-content: center;
  -ms-flex-line-pack: center;
  align-content: center;
  -ms-flex-align: start;
  -webkit-box-align: start;
  align-items: start; }
  .media-container-row .media-size-item {
    width: 400px; }

.media-container-column {
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -ms-flex-direction: column;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: center;
  -webkit-box-pack: center;
  justify-content: center;
  -ms-flex-line-pack: center;
  align-content: center;
  -ms-flex-align: stretch;
  -webkit-box-align: stretch;
  align-items: stretch; }
  .media-container-column > * {
    width: 100%; }

@media (min-width: 992px) {
  .media-container-row {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap; } }
figure {
  overflow: hidden; }

figure[mbr-media-size] {
  -webkit-transition: width 0.1s;
  -o-transition: width 0.1s;
  transition: width 0.1s; }

.mbr-figure img, .mbr-figure iframe {
  display: block;
  width: 100%; }

.card {
  background-color: transparent;
  border: none; }

.card-img {
  text-align: center;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  -webkit-flex-shrink: 0; }

.media {
  max-width: 100%;
  margin: 0 auto; }

.mbr-figure {
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  -webkit-align-self: center;
  align-self: center; }

.media-container > div {
  max-width: 100%; }

.mbr-figure img, .card-img img {
  width: 100%; }

@media (max-width: 991px) {
  .media-size-item {
    width: auto !important; }

  .media {
    width: auto; }

  .mbr-figure {
    width: 100% !important; } }
/*! Buttons */
.mbr-section-btn {
  margin-left: -.25rem;
  margin-right: -.25rem;
  font-size: 0; }


.cid-raBwuiPryE .list-counter {
  float: left;
  font-size: 2rem;
  margin-right: 1rem; }
  
  
/* ----- footer ----- */
.main-block {
  padding-left: 45px 0;
  padding-right: 45px 0;  }
  @media (max-width: 768px) {
    .main-block {
      padding-left: 45px 0;
	  padding-right: 45px 0; } }

.light-bg {
  background: #f3f4f7; } 

.dark-bg {
 /* background: #254BB7; */
  background-image: url(../img/graphic-mahidol-bg.png);
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: contain;
 }
.topic-bg {
  background-image: url(../img/topic-bg2.jpg);
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: contain;
 }


footer.page-footer {
	padding: 0;
    bottom: 0;
    color: #eac85e;
}
.mdb-color.lighten-3 {
    background-color: #1d3d96 !important;
}
.footer-copyright {
    overflow: hidden;
    color: rgba(255,255,255,.6);
    background-color: #254bb7;
}
.fas {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1
}
.embed-responsive-1by1 {
   padding-top: 0%;
}
/*Openhouse2019 wording*/
.text-nowrap{
	font-size: 0.8em;
}

/*on faculties.html page*/
.card{
	margin-bottom: 50px;
}
.card-footer{
	min-height: 100px;
	width: 300px;
	margin: auto;
	background-color: transparent;
	font-size: 0.9em;
	font-weight: bold;
	text-align: center;
}
.card-footer:last-child {
	border-bottom-right-radius: 20px;
	border-bottom-left-radius: 20px;
}

.card-body{
	margin: auto;
	padding: 0px;
}

/*End on faculties.html page*/

footer{
	background-color: transparent !important;
}

/*animation-fade-in*/
.fade-in {
	-webkit-animation: fade-in 1.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
	        animation: fade-in 1.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}
/* ----------------------------------------------
 * Generated by Animista on 2019-10-7 15:2:8
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation fade-in
 * ----------------------------------------
 */
 @-webkit-keyframes fade-in {
	0% {
	  opacity: 0;
	}
	100% {
	  opacity: 1;
	}
  }
  @keyframes fade-in {
	0% {
	  opacity: 0;
	}
	100% {
	  opacity: 1;
	}
  }
/*end animation-fade-in  
