.navbar-inverse {
    background-color: #17508b;
    border-color: #192266;color: #fff;
}
		.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus{
			background-color: #0A3560;
			color:#fff;
			border-radius: 1em;
		}
		.navbar-inverse .navbar-nav > .nav-item > a:hover, .navbar-inverse .navbar-nav > .nav-item > a:focus{
			background-color: #0A3560;
			color:#fff;
			border-radius: 1em;
		}
		.navbar-inverse .navbar-nav > li > a{
			color:#fff;
			padding: 1em;
			margin: 0 0.5em;
		}
form .row{
	margin: 1em 0;
}
		body {
			font-size: 14px;
		}
		#cmp .mapc {
			background: url("images/bg_sf.png") no-repeat center center fixed;
			background-size: cover;
			background-repeat: no-repeat;
		}
		table ul,table ol{
			text-align:left;
		}
		#activities td:nth-child(3){
			text-align:left;
		}
		header {
			background: url(../images/lb_pattern.png) no-repeat center bottom fixed;
			background-size: fixed;
			padding:30px 0;
			color:#fff;
			position: relative;
			font-family: Kanit;
			z-index: 99;
			margin-top: 71px;
		}
header small{
	font-family: Kanit;
	font-weight: 300;
}
		#agenda {
			/*background: url("images/agd-b.png") no-repeat top center fixed;*/
			background-size: cover;
			background-repeat: no-repeat;
		}
		
		#activity {
			/*background: url("images/act.jpg") no-repeat center right fixed;*/
			background-size: cover;
			background-repeat: no-repeat;
		}
		
		section .container {
			padding: 2em 1em;
			background: rgba(255, 255, 255, 0.95);
			
		}
		
		footer {
			background: #17508b;
			color: #fff;
			padding: 3em 0;
		}
		
		h2,h3 {
			font-family: 'Kanit', sans-serif;
			font-weight: 500;
			padding:0;
			font-size: 2em;
		}
		.act h2 {
			font-family: 'Rubik', sans-serif;
			font-weight: 400;
			padding:0.5em 1em;
			margin:0 -15px;
			font-size: 1.5em;/*
			background: #961B2F;
			color: #fff;*/
		}
	
		.bento h3{
			font-size:1.8em;
		}
		.bento ol,.bento ul{
			padding:0.5em;
			margin:0 1em;
		}
		.bento ol ul,.bento ul ul{
			list-style: none;
			padding:0.5em;
			margin:0;
		}
		.bento hr{
			margin:0.5em 0;
			border-top:#ccc 1px solid;
}
		
		.hbg {
			background-image: url('images/hbg.jpg');
			background-size: cover;
		}
		
		.hbg.container {
			background-image: url(images/b-tp.png);
			background-repeat: repeat;
		}
		
		.nav-link i {
			font-size: 1.5em;
			margin-right: 0.2em;
		}
		
		.nav li img {
			width: 1.5em;
			margin-right: 0.2em;
			float: left;
		}
.media{
	width: 100%;
}
		
		
		
		.media-heading {
			font-family: 'Kanit';
			font-weight: 400;
			padding: 0.3em 0 0 0;
			height: auto;
		}
		th,td {
			text-align: center;
			padding: 1em;
		}
		
		
		.panel{
			background-color:transparent;
		}
		.panel-body .col-sm-3{
			text-align: left;
			padding: 1em 2em;
		}
		.bento{
			background:#fff;
			border-radius: 1em;
			margin:15px 0px;
		}
		#agenda table,#project table {
    table-layout:auto;
    word-wrap:normal;
}
div.item ol {
    -moz-column-count: 0;
    -moz-column-gap: 0;
    -webkit-column-count: 1;
    -webkit-column-gap: 0;
    column-count: 0;
    column-gap: 0;
}
			
		@media only screen and (min-width: 768px)  {
				div.item ol {
    -moz-column-count: 0;
    -moz-column-gap: 0;
    -webkit-column-count: 1;
    -webkit-column-gap: 0;
    column-count: 0;
    column-gap: 0;
}
			#agenda table,#project table {
    table-layout: fixed;
    word-wrap: break-word;
}
			.nav {
				font-size: 0.9em;
			}
			header.container {}
			.panel-body .col-sm-3{
			text-align: right;
			padding: 15px 0;
		}
			.bento{
			background:#fff;
			border-radius: 1em;
			margin:15px 0;
		}
		}
		@media only screen and (min-width: 992px)  {
			div.item ol {
    -moz-column-count: 3;
    -moz-column-gap: 2.5em;
    -webkit-column-count: 3;
    -webkit-column-gap: 2.5em;
    column-count: 3;
    column-gap: 2.5em;
}
			#agenda table,#project table {
    table-layout: fixed;
    word-wrap: break-word;
}
			.nav {
				font-size: 1em;
			}
			header.container {}
			.panel-body .col-sm-3{
			text-align: right;
			padding: 0;
		}
			.bento{
			background:#fff;
			border-radius: 1em;
			margin: 15px 0;
		}
		}
		.panel-body{
			background:#fff;
		}
		
		.panel-body .col-sm-9{
			padding: 0 2em;
		}
		.panel-body h4{
			font-size: 1.2em;
			background: #855914;
			font-family: 'Rubik', sans-serif;
			color:#fff;
		}
		.panel-body ul{
			padding:0 15px;
			list-style: square;
		}
		#map{
			height:350px;
		}
		.panel-primary{
			border:none;
		}
		.panel-heading{
			font-size:1.4em;
			background:#253988;
			font-family: 'Rubik', sans-serif;
			color:#fff;
			border-radius:3px;
		}
		.panel-body .label{
			font-size:1em;
		}
		.row{
			margin:0;
		}
		header img{
			width:300px;
		}
		table ul,table ol{
			padding:0;
			margin:0 1em;
		}
		#agenda,#about,#activity,#pa,#virex,#rstep,.dashboard-counts{
			background: url("../images/db_pattern.png") no-repeat center center fixed;
			background-size: cover;
			background-repeat: no-repeat;
		}
		#exc,#project,#schname,#ts{
			background: url("../images/bg_cy.jpg") no-repeat center center fixed;
			background-size: cover;
			background-repeat: no-repeat;
		}
		#ch{
			background: url("../images/r_bg.jpg") no-repeat center center fixed;
			background-size: cover;
			background-repeat: no-repeat;
		}
		#sq{
			background: url("../images/g_bg.jpg") no-repeat center center fixed;
			background-size: cover;
			background-repeat: no-repeat;
		}
		#ecy .container,#sb .container,#ch .container,#sq .container,#activity .container{
			background:transparent;
		}
		
		table ul,table ol {
			padding: 0;
			margin: 0 1em 1em 1em;
		}
		
		.tab-pane{
			padding:1em;
		}
		.nav-tabs > li, .nav-pills > li {
    float:none;
    display:inline-block;
    *display:inline; /* ie7 fix */
     zoom:1; /* hasLayout ie7 trigger */
}

.nav-tabs, .nav-pills {
    text-align:center;
}
	
		.deptname{
			background:#253988;
			font-family: 'Rubik', sans-serif;
			color:#fff;
			margin:1em 0 0 0;
			text-align: center;
			padding: 0.3em 0;
		}
		.act hr{
			margin:0 0 1em 0;
		}
		.act h4{
			margin-top:1.5em;
		}
		td[colspan]{
			text-align:center;
		}
		.media ul{
			list-style:none;
			padding: 0;
		}
		.media li i{
			font-size:2em;
			width: 1em;
			text-align: center;
			margin-right: 0.3em;
		}
		.gb{
			background:#f0f0f0;
		}
		.gb .container{
			background: #f0f0f0;
		}
		.gb hr{
			border-bottom: 1px solid #ccc;
		}
		#sz-act img{
			border:1px solid #ccc;
			padding: 0.3em;
			margin: 1em 0;
			width:80%;
			max-width: 300px;
		}
		
		.row .col-cont h4{
			font-family:"Rubik";
			text-align: center;
			min-height: 3em;
			vertical-align: bottom;
		}
		.row .col-cont{
			padding:1em;
		}
		.row .col-cont ul,.row .col-cont ol{
			margin:0;
			padding:0 1em;
		}
		.collapsed{
			padding:0 !important;
		}
		table img{
			width: 100%;
			min-width: 200px;
			max-width: 240px !important;
		}
		.t-img{
			margin: 0 -15px;
		}
		.t-img div{
			margin: 0.5em 0;
		}
		#exc .tab-content{
			background:#fff;
		}
		#activities .table td:nth-child(2){
			text-align: left !important;
		}
		#activities .table a{
			color:#333;
		}

.text-subline {
    position: relative;
    height: 1px;
    padding: 0;
    background: #e5e5e5;
    border: none;
}
.text-subline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 1px;
    width: 50px;
    background: #b80924;
}
.hr {
    height: 1px;
    padding: 0px;
    margin-top: 21px;
    margin-bottom: 21px;
    background: #f6f7f8;
    border: none;
}
.divider {
	display: block;
    width: 50px;
    height: 3px;
    padding: 0;
    margin: 5px auto 21px;
    background: #b1b1b1;
    border: none;
}
.b-divider{
	border-top: 3px solid rgba(0, 0, 0, 0.1);
}
.hr-left-0 {
    margin-left: 0;
}
.bg-tisf{
	background: #2d368f;
	fill:#2d368f;
}
.bg-brick{
	background:#b80924;
	fill:#b80924;
}
#agenda .tab-content h2{
	margin-bottom: 0;
	padding:0.5em 1em 0em 1em;
}

.margin-half{
	margin: 0.5em 0;
}
.ptp-divider{
			background: url("/TISF2019/img/divider.png") no-repeat center center;
			background-size: cover;
			background-repeat: no-repeat;
			color:#fff;
			height: 3em;
			position: relative;
			z-index: 99;
		}
.btn-default-outline {
  background-color: transparent;
  border-color: #fff;
	color:#fff;
}
.btn-boldborder{
	border:3px solid;
}
.btn-default-outline:hover, .btn-default-outline:focus, .btn-default-outline.focus {
    color: #f0f0f0;
    text-decoration: none;
}
#project .label{
	display: inline-block;
	min-width: 100px;
}
#project ol{
	margin: 0 1em 1em 1em;
	padding:0;
}
.carousel-indicators{
		position: relative;
            list-style: none;
		width: 100%;
		margin: 0;
		left:auto;
		bottom: auto;
		
        }
        .carousel-indicators li, .carousel-indicators li.active{
            width: 100px;
            height: 70px;
            background-color: #fff;
            position: relative;
            margin: 10px;
			overflow: hidden;
			border: 1px solid #ccc;
        }
        .carousel-indicators img{
            position: absolute;
            width: auto;
            height: 100%;
    top: -9999px;
    bottom: -9999px;
    left: -9999px;
    right: -9999px;
    margin: auto;
			overflow: hidden;
        }
	div.item{
	padding: 1em;
      width:100%;
      overflow:hidden;
      display:inline-block;
      min-height:600px;
    }
	div.item .panel{
	
	}
	div.item .panel-heading img{
		max-width:150px;
		display: block;
		text-align: center;
		margin: 0 auto;
	}
	div.item .panel-heading{
		text-align: center;
	}



/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
			.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus{
			background-color: #0A3560;
			color:#fff;
		}
	.navbar-inverse .navbar-nav > .nav-item > a{
			border-radius: 0.25em;
			padding: 1em;
	}
}
.gcon{
	overflow: hidden;
	position: relative;
	min-height: 300px;
}
.gcon img{
	position: absolute;
	width: 100%;
	min-height: 300px;
	top:-99999;
	bottom:-99999;
	left:-99999;
	right:-99999;
}
.carousel-item img{
	max-width: 250px;
}
	.warn_label {
			display: none;
			margin: 15px auto;
		position: relative;
			text-align: center;
		}
.warn_label .close{
	position:absolute;
	top:0.5em;
	right:0.5em;
	font-size: 1em;
}
		.warn_label ul{
			text-align: left;
			font-size: 0.8em;
			margin:0;
			padding:0 1em;
		}
		  .warn_label h3{
			  font-size:1em;
			  margin:0.5em 0em;
			  font-weight: bold;
		  }
		  .warn_label li{
			  font-size:1.1em;
		  }
.form-inner{
	padding:3em 3em 5em 3em;
}
.login{
	max-width:500px;
	margin:5em auto;
	background: #fff;
	border-radius:0.5em;
}
.form-group-material {
  position: relative;
  margin-bottom: 30px;
}
.logo{
	font-family:Rubik;
	font-size:2em;
}
.logo small{
	font-family:Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	font-size:12px;
	line-height: 12px;
}
input.input-material {
  width: 100%;
  border: none;
  border-bottom: 1px solid #eee;
  padding: 10px 0;
  color: #868e96;
  font-weight: 300;
}

input.input-material:focus {
  border-color: #33b35a;
  outline: none;
}

input.input-material ~ label {
  color: #aaa;
  position: absolute;
  top: 14px;
  left: 0;
  cursor: text;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  font-weight: 300;
}

input.input-material ~ label.error {
  color: #dc3545;
  font-size: 0.75em;
  position: absolute;
  top: auto;
  bottom: -30px;
  left: 0;
}

input.input-material ~ label.active {
  font-size: 0.8em;
  top: -13px;
  color: #33b35a;
}

table th{
	text-align:center;
}
.modal-title{
	font-family: 'Rubik';
}
input.input-material {
  width: 100%;
  border: none;
  border-bottom: 1px solid #eee;
  padding: 10px 0;
  color: #868e96;
  font-weight: 300;
}

input.input-material:focus {
  border-color: #33b35a;
  outline: none;
}

input.input-material ~ label {
  color: #aaa;
  position: absolute;
  top: 14px;
  left: 0;
  cursor: text;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  font-weight: 300;
}

input.input-material ~ label.error {
  color: #dc3545;
  font-size: 0.75em;
  position: absolute;
  top: auto;
  bottom: -30px;
  left: 0;
}

input.input-material ~ label.active {
  font-size: 0.8em;
  top: -10px;
  color: #33b35a;
}

input.form-control-custom {
  display: none;
}

input.form-control-custom:checked + label::before {
  background: #33b35a !important;
}

input.form-control-custom:checked + label::after {
  opacity: 1 !important;
}

input.form-control-custom.radio-custom + label::before {
  border-radius: 50%;
}

input.form-control-custom.radio-custom + label::after {
  content: '';
  width: 6px;
  height: 6px;
  line-height: 6px;
  background: #fff;
  border-radius: 50%;
  top: 7px;
  left: 5px;
}

input.form-control-custom[disabled] + label {
  cursor: not-allowed;
}

input.form-control-custom[disabled] + label::before, input.form-control-custom[disabled] + label::after {
  border: 2px solid #aaa;
  cursor: not-allowed;
}

input.form-control-custom[checked] + label::before, input.form-control-custom[checked] + label::after {
  border: none;
}

input.form-control-custom + label {
  font-size: 0.75em;
  margin-bottom: 0;
  margin-left: 0;
  color: #999;
  padding-left: 25px;
  padding-top: 2px;
  position: relative;
}

input.form-control-custom + label span {
  margin-left: 20px;
}

input.form-control-custom + label::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  line-height: 16px;
  background: #ddd;
  color: #fff;
  text-align: center;
  position: absolute;
  top: 2px;
  left: 0;
  -webkit-transition: all 0.1s;
  transition: all 0.1s;
  cursor: pointer;
}

input.form-control-custom + label::after {
  content: '\f00c';
  display: block;
  font-family: 'FontAwesome';
  font-size: 1em;
  color: #fff;
  position: absolute;
  top: 4px;
  left: 4px;
  -webkit-transition: all 0.1s;
  transition: all 0.1s;
  opacity: 0;
  cursor: pointer;
}

button {
  cursor: pointer;
}
.figure-caption a{
	word-break: break-word;
}
.bg-mwit {
  background-color: #254490 !important;
}
.mwit{
	color: #254490 !important;
}
.chem{
	color: #FF8650 !important;
}
.lib{
	color: #FFE981 !important;
}
.mc{
	color: #83B2FF !important;
}
.physic{
	color: #FF555E !important;
}
.bio{
	color: #8BF18B !important;
}
.fl{
	color: #9B6EF3 !important;
}
.d-chem{
	color: #ff6354 !important;
}
.d-lib{
	color: #ffbb00 !important;
}
.d-mc{
	color: #5695ff !important;
}
.d-physic{
	color: #ff3662 !important;
}
.d-bio{
	color: #50c378 !important;
}
.d-fl{
	color: #704bf3 !important;
}
.bg-chem{
	background: url();
	background-color: #FF8650 !important;
}
.bg-lib{
	background: url();
	background-color: #FFE981 !important;
}
.bg-mc{
	background: url();
	background-color: #83B2FF !important;
}
.bg-physic{
	background: url();
	background-color: #ff8086 !important;
}
.bg-bio{
	background: url();
	background-color: #8BF18B !important;
}
.bg-fl{
	background: url();
	background-color: #be9dff !important;
}
.bg-d-chem{
	background: url();
	
	background-color: #ff6354 !important;
}
.bg-d-lib{
	background: url();
	background-color: #ffbb00 !important;
}
.bg-d-mc{
	background: url();
	background-color: #5695ff !important;
}
.bg-d-physic{
	background: url();
	background-color: #ff3662 !important;
}
.bg-d-bio{
	background: url();
	background-color: #50c378 !important;
}
.bg-d-fl{
	background: url();
	background-color: #704bf3 !important;
}
.npf{
			height:160px;
			width:200px;
			
			border: 1px solid #dddddd;
			color: #ddd;
			text-align: center;
			vertical-align: middle;
			font-size:100px;
			display: none;
		}
#cartlist{
	display: none;
}
.cart{
	position: relative;
}
.cart span{
	position: absolute;
	top:-0.5em;
	right: -0.5em;
}
.popover{
	max-width: 400px !important;
}
.popover h5{
	font-family: Kanit;
	font-size: 1.3em;
}
.modal-title{
	font-family: "Kanit" !important;
}
.modal-header .close {
    padding: 1rem;
    margin: -1rem -1rem -1rem auto;
    position: absolute;
    right: 1em;
}
.progress-bar{
	
}
h1 small{
    font-weight: 200;
    color:#ccc;
}
.img-ico{
    max-height: 30px;
}
#activity h4{
	font-family: "Kanit" !important;
    
}
ol > li::marker { content: counters(list-item, '.') '. '; }