@import url('https://fonts.googleapis.com/css?family=Kanit:300,400,500,600&amp;subset=thai');

@media (max-width: 575px)
{
    .hidden-xs-down, .hidden-sm-down, .hidden-md-down, .hidden-lg-down, .hidden-xl-down, 
    .hidden-xs-up, 
    .hidden-unless-sm, .hidden-unless-md, .hidden-unless-lg, .hidden-unless-xl
    {
        display: none !important;
    }

}

/* Breakpoint SM */
@media (min-width: 576px) and (max-width: 767px)
{
    .hidden-sm-down, .hidden-md-down, .hidden-lg-down, .hidden-xl-down, 
    .hidden-xs-up, .hidden-sm-up, 
    .hidden-unless-xs, .hidden-unless-md, .hidden-unless-lg, .hidden-unless-xl
    {
        display: none !important;
    } 
}

/* Breakpoint MD */
@media (min-width: 768px) and (max-width: 991px)
{
    .hidden-md-down, .hidden-lg-down, .hidden-xl-down, 
    .hidden-xs-up, .hidden-sm-up, .hidden-md-up, 
    .hidden-unless-xs, .hidden-unless-sm, .hidden-unless-lg, .hidden-unless-xl
    {
        display: none !important;
    } 
}

/* Breakpoint LG */
@media (min-width: 992px) and (max-width: 1199px)
{
    .hidden-lg-down, .hidden-xl-down, 
    .hidden-xs-up, .hidden-sm-up, .hidden-md-up, .hidden-lg-up, 
    .hidden-unless-xs, .hidden-unless-sm, .hidden-unless-md, .hidden-unless-xl
    {
        display: none !important;
    } 
}

/* Breakpoint XL */
@media (min-width: 1200px)
{
    .hidden-xl-down, 
    .hidden-xs-up, .hidden-sm-up, .hidden-md-up, .hidden-lg-up, .hidden-xl-up, 
    .hidden-unless-xs, .hidden-unless-sm, .hidden-unless-md, .hidden-unless-lg
    {
        display: none !important;
    } 
}

 /* Three columns side by side */
.column1:hover {
    padding-top:25px;
}

/* Display the columns below each other instead of side by side on small screens */
@media screen and (max-width: 650px) {
    .column1 {
        width: 100%;
        display: block;
    }
}

/* Add some shadows to create a card effect */
.card1 {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}
.card1:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 1);
}

/* Some left and right padding inside the container */
.container1 {
    padding: 0 16px;
}

/* Clear floats */
.container1::after, .row1::after {
    content: "";
    clear: both;
    display: table;
}

.title1 {
    color: grey;
}

.button1 {
    border: none;
    outline: 0;
    display: inline-block;
    padding: 8px;
    color: white;
    background-color: #D6110B;
    text-align: center;
    cursor: pointer;
    width: 100%;
}

.button1:hover {
    background-color: #555;
} 
.text-promotion-head{
	font-size:16px;
	color:#000000;
}
.text-promotion-detail{
	font-size:14px;
	color:#6D6E71;
}
a.text-promotion-head:hover {
	color:#D6110B;
    text-decoration: none;
}
.text-footer{
	color:#FFF;
	font-size:14px;
}
a.text-footer:hover {
	color:#D6110B;
    text-decoration: none;
}










.zoom {
    transition: transform .2s; /* Animation */
    margin: 0 auto;
}

.zoom:hover {
    transform: scale(1.1); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}

a.menu-product:link {
    color: #212529;
	text-decoration: none;
}

/* visited link */
a.menu-product:visited {
    color: #212529;
	text-decoration: none;
}

/* mouse over link */
a.menu-product:hover {
    color: #D6110B;
	text-decoration: none;
}

/* selected link */
a.menu-product:active {
    color: #212529;
	text-decoration: none;
}



hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #D6110B;
    margin: 1em 0;
    padding: 0; 
}

.text-white{
	color:#FFF8F8;
}
.section-product{
	padding-top:20px;
	padding-bottom:20px;
}
/* Make the image fully responsive */
.carousel-inner img {
	width: 100%;
	height: 100%;
}
h1{
	font-family: 'Kanit', sans-serif;
}
.headtop {
	font-family: 'Kanit', sans-serif;
	font-weight: 300;
	color:#FFFFFF;
	font-size: 14px;
	margin-top: 7px;
	margin-bottom: 5px;
	margin-left: 20px;
	margin-right: 5px;
}
.section-head-top{
	height:40px; 
	background-color:#D6110B;
}
.bg-white{
	background-color:#FFFFFF;
}
.dropdown-menu-hard{
	font-size:15px;
}
.text-red{
	color:#D6110B;
}
.text-productandservice{
	font-size:18px; 
	font-weight:bold;
}
.text-productandservice-detail{
	font-size:16px; 
	color:#6D6E71; 
	font-weight:300;
}
.column {
    float: left;
    width: 33.33%;
}
/* Clearfix (clear floats) */
.wee::after {
    content: "";
    clear: both;
    display: table;
}
.topnav {
    background-color: #333;
    overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
    background-color: #ddd;
    color: black;
}

/* Add an active class to highlight the current page */
/*.active {
    background-color: #4CAF50;
    color: white;
}*/

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
    display: none;
}
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

/*Profile card 4*/
.profile-card-4 .card-img-block{
    float:left;
    width:100%;
    height:150px;
    overflow:hidden;
	
}
.profile-card-4 .card-body{
    position:relative;
	background-color:#E6E7E8;
}
.profile-card-4 .profile {
    border-radius: 50%;
    position: absolute;
    top: -62px;
    left: 50%;
    width:100px;
    border: 3px solid rgba(255, 255, 255, 1);
    margin-left: -50px;
}
.profile-card-4 .card-img-block{
    position:relative;
}
.profile-card-4 .card-img-block > .info-box{
    position:absolute;
    background:rgba(217,11,225,0.6);
    width:100%;
    height:100%;
    color:#fff;
    padding:20px;
    text-align:center;
    font-size:14px;
   -webkit-transition: 1s ease;
    transition: 1s ease;
    opacity:0;
}
.profile-card-4 .card-img-block:hover > .info-box{
    opacity:1;
    -webkit-transition: all 1s ease;
    transition: all 1s ease;
}
.profile-card-4 h5{
	font-family: 'Kanit', sans-serif;
    font-weight:500;
    color:#414042;
}
.profile-card-4 .card-text{
	font-family: 'Kanit', sans-serif;
    font-weight:300;
    font-size:15px;
}
.profile-card-4 .icon-block{
    float:left;
    width:100%;
}
.profile-card-4 .icon-block a{
    text-decoration:none;
}
.profile-card-4 i {
  display: inline-block;
    font-size: 16px;
    color: #d90be1;
    text-align: center;
    border: 1px solid #d90be1;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    margin:0 5px;
	
}
.profile-card-4 i:hover {
  background-color:#d90be1;
  color:#fff;
}

#ThumbnailCarousel img {

}

#ThumbnailCarousel div {
    height:93%;
    width:100%;
}

#ThumbnailCarousel.carousel {
    padding-top:0px;
    text-align:center;
}

.col-md-3 .img-thumbnail {
    height:100%;
}
