@charset "utf-8";
/* CSS Document */

/*--------------- Menu ---------------*/
.Logo{
	float:left;
	max-width:140px;
	line-height:50px;
	text-align:center;
}
.Logo img{
	max-height:50px;
	width:auto;
	display:inline-block;
}
.HeadMobile{
	float:right;
	padding:0;
}
.MenuMobile{
	-webkit-box-shadow: 0px 0px 4px 0px rgba(204,204,204,1);
	-moz-box-shadow: 0px 0px 4px 0px rgba(204,204,204,1);
	box-shadow: 0px 0px 4px 0px rgba(204,204,204,1);
	background:#fff;
	padding-top:0;
	padding-bottom:0;
	position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}
.MenuMobile i{
	line-height:50px;
	cursor:pointer;
}


/*--------------- Slide Bar ---------------*/
.SlideLeft,
.SlideRight{
	background: rgba(0, 0, 0, 0.7);
	padding:0 1px;
}
.SlideLeft ul{
	padding:0px;
	margin:0px;
}
.SlideLeft ul li{
	background:url(../images-custom/bg-bars02.png) bottom repeat-x;
	line-height:48px;
	padding:0 0 2px 0;
	margin:0px;
	list-style:none;
}
.SlideLeft ul li a{
	background:url(../images-custom/bg-bars01.png) left repeat-y;
	display:block;
	padding:0 0 0 20px;
	font-family: 'Kanit', sans-serif !important;
	font-size:16px;
	color:#fff;
}
.SlideLeft ul li a:hover{
	background:url(../images-custom/bg-bars01.png) left repeat-y rgba(255, 255, 255, 0.3);
	text-decoration:none;
}
.SlideRight ul{
	padding:0px;
	margin:0px;
}
.SlideRight ul li{
	background:url(../images-custom/bg-bars02.png) bottom repeat-x;
	line-height:48px;
	padding:0 0 2px 0;
	margin:0px;
	text-align:right;
	list-style:none;
}
.SlideRight ul li a{
	background:url(../images-custom/bg-bars01.png) right repeat-y;
	display:block;
	padding:0 20px 0 0;
	font-family: 'Kanit', sans-serif !important;
	font-size:16px;
	color:#fff;
}
.SlideRight ul li a:hover{
	background:url(../images-custom/bg-bars01.png) right repeat-y rgba(255, 255, 255, 0.3);
	text-decoration:none;
}
.IconSearch {
    font-size: 18px;
    position: absolute;
    right: 2px;
    top: 8px;
	color:#000;
}
.navbar-form {
	background:url(../images-custom/bg-bars02.png) bottom repeat-x;
	padding-top:20px;
	padding-bottom:20px;
	margin:0px;
	text-align: right;
}
.navbar-form .form-group {
	width:85%;
	position:relative;
}
.navbar-form .form-control {
    width:100%;
}
.CopyLeft{
	background:url(../images-custom/bg-bars02.png) top repeat-x;
	padding:20px 0 0 20px;
	margin:0px;
	display:block;
	width:100%;
}
.CopyRight{
	text-align:right;
	padding:20px 20px 0 0;
	margin:0px;
	display:block;
	width:100%;
}
.TH-EN{
	text-align:right;
	padding:10px 15px 10px 0;
}
.TH-EN img{
	max-height:40px;
}

@media (max-width: 360px) {
	.Logo img{
		max-height:50px;
	}
}
@media (max-width: 479px) {
	.HeadMobile{
		display:none;
	}
	.single-header-info {
		float: left;
		padding-left: 5px;
	}
	
	.single-header-info .icon-box,
	.single-header-info .content {
		display: table-cell;
		vertical-align: middle;
	}
	
	.single-header-info .icon-box .inner-box {
		width: 30px;
		height: 30px;
		border: 1px solid #E1E1E1;
		border-radius: 50%;
		text-align: center;
		line-height: 30px;
		margin-right: 5px;
	}
	
	.single-header-info .icon-box .inner-box i{
		line-height:30px !important;
	}
	
	.single-header-info .icon-box .inner-box i:before {
		font-size: 14px;
		color: #fbca00;
	}
	
	.single-header-info .content h3 {
		font-size: 12px;
		text-transform: uppercase;
		color: #2B2B2B;
		font-family: 'Raleway', sans-serif;
		font-weight: 800;
		margin: 0;
		margin-bottom: 5px;
	}
	
	.single-header-info .content p {
		font-size: 10px;
		margin: 0;
		color: #B6B6B6;
	}
	
	.single-header-info .content p b {
		font-size: 10px;
		color: #000000;
		font-weight: 500;
	}
	
	.single-header-info .thm-btn {
		margin: 7px 0;
	}
}
@media (min-width: 480px) and (max-width: 767px) {
	.PRnone{
		padding-right:0px;
	}
	.PLnone{
		padding-left:0px;
	}
	.HeadMobile{
		display:none;
	}
	.single-header-info {
		float: left;
		padding-left: 6px;
	}
	
	.single-header-info .icon-box,
	.single-header-info .content {
		display: table-cell;
		vertical-align: middle;
	}
	
	.single-header-info .icon-box .inner-box {
		width: 30px;
		height: 30px;
		border: 1px solid #E1E1E1;
		border-radius: 50%;
		text-align: center;
		line-height: 30px;
		margin-right: 6px;
	}
	
	.single-header-info .icon-box .inner-box i{
		line-height:28px !important;
		vertical-align:top;
	}
	
	.single-header-info .icon-box .inner-box i:before {
		font-size: 14px;
		color: #fbca00;
	}
	
	.single-header-info .content h3 {
		font-size: 12px;
		text-transform: uppercase;
		color: #2B2B2B;
		font-family: 'Raleway', sans-serif;
		font-weight: 800;
		margin: 0;
		line-height:normal;
	}
	
	.single-header-info .content p {
		font-size: 10px;
		margin: 0;
		color: #B6B6B6;
		line-height:normal;
	}
	
	.single-header-info .content p b {
		font-size: 10px;
		color: #000000;
		font-weight: 500;
	}
	
	.single-header-info .thm-btn {
		margin: 7px 0;
	}
}


/*---------- Chat-Window ----------*/
.chat-window .col-md-2, .chat-window .col-md-10{
    padding:0;
}
.panel{
    margin-bottom: 0px;
}
.chat-window{
    bottom:0;
	right:0;
    position:fixed;
    float:right;
    margin-right:20px;
	z-index:99999;
}
.chat-window > div > .panel{
    border-radius: 5px 5px 0 0;
}
.icon_minim{
    padding:2px 10px;
}
.msg_container_base{
  background: #e5e5e5;
  margin: 0;
  padding: 0 10px 10px;
  max-height:300px;
  overflow-x:hidden;
}
.top-bar {
  background: #666;
  color: white;
  padding: 10px;
  position: relative;
  overflow: hidden;
}
.msg_receive{
    padding-left:0;
    margin-left:0;
}
.msg_sent{
    padding-bottom:20px !important;
    margin-right:0;
}
.messages {
  background: white;
  padding: 10px;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  max-width:100%;
}
.messages > p {
    font-size: 13px;
    margin: 0 0 0.2rem 0;
  }
.messages > time {
    font-size: 11px;
    color: #ccc;
}
.msg_container {
    padding: 10px;
    overflow: hidden;
    display: flex;
}
.avatar {
    position: relative;
}
.base_receive > .avatar:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border: 5px solid #FFF;
    border-left-color: rgba(0, 0, 0, 0);
    border-bottom-color: rgba(0, 0, 0, 0);
}

.base_sent {
  justify-content: flex-end;
  align-items: flex-end;
}
.base_sent > .avatar:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0;
    border: 5px solid white;
    border-right-color: transparent;
    border-top-color: transparent;
    box-shadow: 1px 1px 2px rgba(black, 0.2); // not quite perfect but close
}

.msg_sent > time{
    float: right;
}

.msg_container_base::-webkit-scrollbar-track{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
}

.msg_container_base::-webkit-scrollbar{
    width: 12px;
    background-color: #F5F5F5;
}

.msg_container_base::-webkit-scrollbar-thumb{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #555;
}

.btn-group.dropup{
    position:fixed;
    right:0px;
    bottom:0;
}
.Home-1{
	padding-top: 30px;
}
.Home-1 div{
	padding: 0px;
	margin: 0px;
}
.Home-1 a:hover{
	text-decoration: none;
}
.Home-1 a:hover h3{
	color: #af1e28;
}
.Home-1 h3{
	font-size: 36px;
	color: #93c950;
	text-align: center;
	margin: 30px 0;
}
.Home-1 a img{
	opacity: 0.9;
}
.Home-1 a:hover img{
	opacity:1;
}


