/* http://meyerweb.com/eric/tools/css/reset/ */
/* v1.0 | 20080212 */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,

fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
	background-color: #FFFFFF;
}






blockquote, q {
	quotes: none;
}
@font-face {
    font-family: 'serithairegular';
    src: url('serithai_regular-webfont.eot');
    src: url('serithai_regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('serithai_regular-webfont.woff2') format('woff2'),
         url('serithai_regular-webfont.woff') format('woff'),
         url('serithai_regular-webfont.ttf') format('truetype'),
         url('serithai_regular-webfont.svg#serithairegular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Noto Sans Thai';
    src: url('NotoSansThai-Regular.eot');
    src: url('NotoSansThai-Regular.eot?#iefix') format('embedded-opentype'),
         url('NotoSansThai-Regular.woff2') format('woff2'),
         url('NotoSansThai-Regular.woff') format('woff'),
         url('NotoSansThai-Regular.ttf')  format('truetype'),
         url('NotoSansThai-Regular.svg#Noto Sans Thai') format('svg');
}

@font-face {
    font-family: 'Glyphicons Halflings';
    src: url('glyphicons-halflings-regular.ttf') format('truetype'),
         
    }
}
ol, ul {
	list-style: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}






#backToTop {
  display: block; 
  position: fixed; 
  bottom: 30px; 
  right: 30px; 
  z-index: 99; 
  border: none; 
  outline: none; 
  background-color: #008d36; /* สีปุ่ม */
  color: white; 
  cursor: pointer; 
  padding: 15px; 
  border-radius: 50%; /* ทำเป็นวงกลม */
  font-size: 20px;
  width: 50px;
  height: 50px;
  opacity: 0; /* ซ่อนไว้ตอนเริ่ม */
  visibility: hidden;
  transition: all 0.4s ease; /* เอฟเฟกต์ตอนแสดงตัว */
  box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
}

/* เอฟเฟกต์ตอนเอาเมาส์ไปวาง */
#backToTop:hover {
  background-color: #006e42;
  transform: scale(1.1);
}

/* Class สำหรับแสดงปุ่ม (จะถูกเรียกใช้โดย JS) */
#backToTop.show {
  opacity: 1;
  visibility: visible;
}


@media screen and (max-width: 670px){
	.box-main {
	height: auto;
	width: 85%;
	margin-right: 0%;
	margin-left: 7%;
	float: left;
}


}
@media screen and (min-width: 900px) and (max-width: 1023px){

	.box-main {
	height: auto;
	width: 80%;
	margin-right: auto;
	margin-left: 10%;
}



}
@media screen and (min-width: 1024px){
	.box-main {
	height: auto;
	width: 80%;
	margin-right: auto;
	margin-left: 10%;
	float: left;
}


}
