body {
  padding-top: 116px;
  font-family:myFirstFont;
}

h1{
	font-size:2.0rem;
}

h2{
	font-size:1.7rem;
}

.heading-large {
	border-bottom: 2px solid #222; 
	color: #222; width: 100%; padding:0 0 6px; margin:0 0 18px; text-align: left;
}

.pagination a:link, a:visited {}

.zoom {
	transition: transform .2s; /* Animation */
}
.zoom:hover {
    /*transform: scale(1.05); */
}

.bg-gray{
	background-color:#F1F1F1;
}

.doc img {
    max-width: 100%;
    height: auto;
}

/* bar */
aside {
	width: 100%;
	padding: 20px 0
}
.cta-bg {
	background:#000000;
	color: #ffffff;
}
.cta-bg .btn {
	margin-top: 30px;
}

/* footer */
section {
    padding: 20px 0;
}
section .section-title {
    text-align: center;
    color: #007b5e;
    margin-bottom: 50px;
    text-transform: uppercase;
}
#footer {
	background: #B32134;
	
}
#footer h5{
	padding-left: 10px;
    border-left: 3px solid #eeeeee;
    padding-bottom: 6px;
    margin-bottom: 20px;
    color:#ffffff;
}
#footer a {
    color: #ffffff;
    text-decoration: none !important;
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
}
#footer ul.social li{
	padding: 3px 0;
}
#footer ul.social li a i {
    margin-right: 5px;
	font-size:25px;
	-webkit-transition: .5s all ease;
	-moz-transition: .5s all ease;
	transition: .5s all ease;
}
#footer ul.social li a,
#footer ul.quick-links li a{
	color:#ffffff;
}

#footer ul.quick-links li{
	padding: 3px 0;
}
#footer ul.quick-links li a i{
	margin-right: 5px;
}
@media (max-width:767px){
#footer h5 {
    padding-left: 0;
    border-left: transparent;
    padding-bottom: 0px;
    margin-bottom: 10px;
}
}
.copyright {
	min-height: 40px;
	
	background-color:#D53228;
	float: left;
	width: 100%
}
.copyright p {
	text-align: left;
	color: #FFF;
	padding: 10px 0;
	margin-bottom: 0px;
}
.bottom_ul {
	list-style-type: none;
	float: right;
	margin-bottom: 0px;
}
.bottom_ul li {
	float: left;
	line-height: 40px;
}
.bottom_ul li:after {
	content: "/";
	color: #FFF;
	margin-right: 8px;
	margin-left: 8px;
}
.bottom_ul li a {
	color: #FFF;
	font-size: 12px;
}
/* end footer */

/* link */

.kuy a:link { color: #ffffff; }
.kuy a:visited { color: #ffffff; }
.kuy a:hover { color: #ffffff; }
.kuy a:active { color: #ffffff; }

.kuy {
	background-color: #3D3D3D;
	background-color:#bf9b30;
    padding: 10px 10px;
    text-align: center; 
    text-decoration: none;
    display: inline-block;
	color:#FFFFFF;
	cursor:pointer;
}
.kuy:hover{
	background-color: #ccc;
}

/* end link */

/* nav */
.navbar-custom {
background-color:#e06377;
}
nav .navbar-nav li a{
  color: white !important;
}
 
.navbar-nav .dropdown-menu > a{
   color: black !important;
}
/* end nav */

/* card */
.card-product{
	border:0;
}
.text-red{
	color:red;
}
.card-footer{
	background-color:#FFFFFF;
	border:0;
}
/* end card */

/* ribbon */
.ribbon {
    position: absolute;
   right: -5px; top: -5px;
   z-index: 1;
   overflow: hidden;
   width: 75px; height: 75px; 
   text-align: right;
}
.ribbon span {
   font-size: 10px;
   color: #fff; 
   text-transform: uppercase; 
   text-align: center;
   font-weight: bold; line-height: 20px;
   transform: rotate(45deg);
   width: 100px; display: block;
   background: #79A70A;
   background: linear-gradient(#9BC90D 0%, #79A70A 100%);
   box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
   position: absolute;
   top: 19px; right: -21px;
}
.ribbon span::before {
   content: '';
   position: absolute; 
   left: 0px; top: 100%;
   z-index: -1;
   border-left: 3px solid #79A70A;
   border-right: 3px solid transparent;
   border-bottom: 3px solid transparent;
   border-top: 3px solid #79A70A;
}
.ribbon span::after {
   content: '';
   position: absolute; 
   right: 0%; top: 100%;
   z-index: -1;
   border-right: 3px solid #79A70A;
   border-left: 3px solid transparent;
   border-bottom: 3px solid transparent;
   border-top: 3px solid #79A70A;
}
.red span {background: linear-gradient(#F70505 0%, #8F0808 100%);}
.red span::before {border-left-color: #8F0808; border-top-color: #8F0808;}
.red span::after {border-right-color: #8F0808; border-top-color: #8F0808;}

.blue span {background: linear-gradient(#2989d8 0%, #1e5799 100%);}
.blue span::before {border-left-color: #1e5799; border-top-color: #1e5799;}
.blue span::after {border-right-color: #1e5799; border-top-color: #1e5799;}
/* end ribbon */


hr.style11 {
	height: 6px;
	background-image:url(../img/hr-11.png);
    border: 0;
	margin:0px;
}

@font-face {
    font-family: myFirstFont;
    src:url(../fonts/CSChatThaiUI.ttf)
}

.verticalLines {
  border-left: thick solid #ff0000;
}

.txt_centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	display:none;
	color:#333333;
	border:1px solid #000000;
	background-color:#FFFFFF;
	padding:5px;
}

.img-wrapper {
	 position: relative;
	text-align: center;
}


.img-wrapper img {
	opacity: 1.0;
    filter: alpha(opacity=100); /* For IE8 and earlier */
}

.img-wrapper   img:hover {
	opacity: 0.7;
    filter: alpha(opacity=70); /* For IE8 and earlier */
}

.img-wrapper:hover .txt_centered{
	display : block;
}




@media screen and (max-width: 770px) {
  body {
    padding-top: 130px;
  }
  
  h2{
		font-size:1.5rem;
	}
	
	
}

@media screen and (max-width: 525px) {
  body {
    padding-top: 160px;
  }
  
  
  
  

}




.vertical-menu {
    width: 100%;
	
}
.vertical-menu a {
    
    color: black;
    display: block;
    padding: 12px;
    text-decoration: none;
	border-bottom:1px solid #cccccc;
}

.vertical-menu a:hover {
    background-color: #ccc;
	text-decoration:underline;
}

.vertical-menu a.active {
    background-color:#bf9b30;
    color: white;
}

.hot-menu a {
    position: relative;
    text-align: center;
    color: black;
    display: block;
    padding: 0px;
    text-decoration: none;
	margin-bottom:10px;
	
}

.hot-menu a:hover {
    background-color: #ccc;
}

.bottom-right {
    position: absolute;
    bottom: 0px;
    left: 0px;
	background-color:#3D3D3D;
	color:#FFFFFF;
	width:100%;
}

.cart{}
#sidebarc { display: none; position:absolute; background-color:#FFFFFF; color:#000000;width:100%; border:1px solid #000000; z-index:999; top:30px; right:0px; min-height:300px; max-height:300px; overflow:scroll;}
.cart:hover #sidebarc { display:block;}

.in_div img{
	width: 100%;
	height:auto; 
}


.speech-bubble {
	position: relative;
	background: #c0c0c0;
	border-radius: .4em;
}

.speech-bubble:after {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	width: 0;
	height: 0;
	border: 54px solid transparent;
	border-right-color: #c0c0c0;
	border-left: 0;
	border-bottom: 0;
	margin-top: -27px;
	margin-left: -54px;
}

.bg-red{
	background-color:#D53228;
}

.btn-gold{
	background-color:#bf9b30;
	color:white;
}

.blink a:link { color: #000000; }
.blink a:visited { color: #000000; }
.blink a:hover { color: #000000; }
.blink a:active { color: #000000; }

.one-edge-shadow {
	-webkit-box-shadow: 0 8px 6px -6px black;
	   -moz-box-shadow: 0 8px 6px -6px black;
	        box-shadow: 0 8px 6px -6px black;
}

.equal {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
}
.equal > [class*='col-'] {
  display: flex;
  flex-direction: column;
}


.mslut{
	position: relative;
}

.slut {
  display: none;
  position: absolute;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 2;
  right:0px;
  left:100%;
  bottom:0%;
  top:0%;
  background-color:#FFFFFF;
  width:300px;

  
}
    
.mslutx:hover + .slut {
    display: block;
	
}
.mslut:hover .slut {display: block;}

.img-container{ position: relative; color: white;}

.txt_in_img{
	position: absolute;
  	bottom: 0px;
  	left:0px;
  	width:100%;
	background: rgba(0, 0, 0, 0.8);
	text-align:left;
	padding:5px;
}