/*
Compass Template
http://www.templatemo.com/preview/templatemo_454_compass
*/

/* 
http://meyerweb.com/eric/tools/css/reset/ 
v2.0 | 20110126
License: none (public domain)
*/
/* 
#0C1263 เข้ม 1
#2A2E63 เข้ม 2
#151FB0 กลาง
#1B29E3 อ่อน1
#616AE8 อ่อน2
*/
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, 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,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 1;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

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

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/*------------------------------------------------------
	Basic Styling 
--------------------------------------------------------*/
body {
  font: 20px/23px "Prompt", sans-serif;
  -webkit-font-smoothing: antialiased;
  word-wrap: break-word;
  color: #0000ff;
/*  background-image: url('../images/top-bg.png'); 
  background-repeat: repeat;*/
 /*  background-attachment: fixed;   
 background-color : #a0f59e ;*/
}

a {
  color: #0000ff ;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

input::-moz-focus-inner {
  border: 0;
}

a:hover, a:active, a:focus {
  text-decoration: none;
  outline: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Prompt", sans-serif;
  color: #444444;
}

h3 {
	font-size: 18px ;
	color: #0000ff;
	line-height: 25px;
}

.top-header .right-header ul.social-icons, .main-header .menu ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

#services, #portfolio, #about, #activity, #news, #contact , #fbook {
  padding-top: 15px;
}

/*------------------------------------------------------
	Header Styles 
--------------------------------------------------------*/
.top-header {
  background: #e3722e; 
  background: url(../images/top-bg1.png) repeat;
  color: white;
 /* padding: 15px 0; */
}
.top-header h1 {
  color: white;
  font-size: 24px;
}
.top-header .left-header span {
  display: inline-block;
  margin: 8px 30px 0 0;
}
.top-header .left-header span i {
  margin-right: 10px;
}
.top-header .right-header ul.social-icons li {
  display: inline-block;
}
.top-header .right-header ul.social-icons li a {
  color: white;
  width: 32px;
  height: 32px;
  text-align: center;
  line-height: 30px;
  border: 1px solid white;
  -webkit-border-radius: 16px;
  border-radius: 16px;
  margin: 0 5px;
}
.top-header .right-header ul.social-icons li a:hover {
  background-color: white;
  color: #e3722e;
}

.main-header {
  position: fixed;
  width: 100%;
  z-index: 9999;
  padding: 10px 0;
  -webkit-box-shadow: 0 2px 4px rgba(1, 1, 1, 0.15) ;
  -moz-box-shadow: 0 2px 4px rgba(1, 1, 1, 0.15) ;
  box-shadow: 0 2px 4px rgba(1, 1, 1, 0.15) ;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}
.main-header .logo {
  margin-top: 15px;
}
.main-header .logo h1 {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}
.main-header .logo h1 a {
  color: #444444;
}
.main-header .menu {
  margin-top: 10px;
}
.main-header .menu ul li {
  display: inline-block;
  margin-left: 15px;
}
.main-header .menu ul li a {
  text-transform: uppercase;
  color: #777777;
  font-size: 15px;
  padding: 8px 15px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}
.main-header .menu ul li a.current {
  background: #e3722e;
  color: white;
}

.main-header-shrink {
  padding: 10px 0;
  top: 0;
}

.responsive-menu {
  position: relative;
  top: -20px;
}
.responsive-menu .toggle-menu {
  font-size: 24px;
  color: #e3722e;
}
.responsive-menu .menu {
  display: none;
  position: absolute;
  top: 52px;
  width: 100%;
  background-color: #e3722e;
}
.responsive-menu .menu ul li {
  display: block;
  text-align: left;
  border-bottom: 1px solid #d1601c;
  margin: 0;
}
.responsive-menu .menu ul li:last-child {
  border-bottom: 0;
}
.responsive-menu .menu ul li a {
  color: white;
  padding: 15px 20px;
  display: block;
  -webkit-border-radius: 0;
  border-radius: 0;
}
.responsive-menu .menu ul li a.current {
  background-color: #444444;
}

.fatmain {
    margin-top: 70px;
}
/*------------------------------------------------------
	Basic Layout Styles 
--------------------------------------------------------*/
.title-section {
  margin-bottom: 15px;
}
.title-section h2 {
  font-size: 24px;
  font-weight: normal;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}
.title-section span {
  display: block;
  width: 70px;
  height: 4px;
  background: #e3722e;
  margin: 0 auto;
}

.widget-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 30px;
}

.mainBtn {
  background-color: #000099;
  color: white;
  display: inline-block;
  text-transform: uppercase;
  padding: 10px 15px;
  font-weight: 600;
  font-size: 18px;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.mainBtn:hover {
  background-color: #444444;
}

.readall-section {
  margin-top: 20px;	
  margin-bottom: 15px;
}
.readall-section h2 {
  font-size: 24px;
  font-weight: normal;
  text-transform: uppercase;
  display: block;
  margin-bottom: 5px;
}
.readall-section span {
  display: block;
  width: 70px;
  height: 4px;
  background: #e3722e;
  margin: 0 auto;
}


/*------------------------------------------------------
	Contact Styles 
--------------------------------------------------------*/
#contact .contact-form .full-row {
  width: 100%;
  margin-bottom: 15px;
}
#contact .contact-form input, #contact .contact-form textarea {
  outline: 0;
  display: block;
  border: 1px solid #cccccc;
  width: 100%;
  max-width: 100%;
  padding: 8px 10px;
  color: #777777;
}
#contact .contact-form label {
  display: block;
  margin-bottom: 5px;
}
#contact .contact-form input.mainBtn {
  display: inline-block;
  width: auto;
  border: 0;
  padding: 10px 15px;
  color: white;
}
#contact .map-holder {
  padding: 5px;
  background-color: white;
  border: 1px solid #d6d6d6;
}
#contact .contact-info {
  margin-top: 30px;
}
#contact .contact-info span {
  margin-top: 20px;
  display: block;
  font-size: 14px;
}
#contact .contact-info span i {
  color: #e3722e;
  font-size: 16px;
  margin-right: 12px;

}

/*------------------------------------------------------
	Footer Styles 
--------------------------------------------------------*/
.site-footer {
  margin-top: 20px;
  margin-bottom: 10px;  

 /* background-color: #fe7b09;
  background-image: url('../images/bg-site.png');
  color: #ffffff;*/
  color: blue;
  padding: 15px 0;
}
.site-footer p {
  margin-top: 10px;
}
.site-footer a {
  color: #000000;
  text-align: center;
  #display: block;
}
.site-footer .go-top {
  float: right;
  text-transform: uppercase;
}
.site-footer .go-top i {
  display: block;
}

/*------------------------------------------------------
	portjob Styles 
--------------------------------------------------------*/
#portjob {
  padding-bottom: 1px;
  margin-top: 20px;
  padding-left: 25px;
  padding-right: 25px;
}

#portjob .title-section h2 {
  color: red;
}

#portjob .title-section h3 {
  color: blue;
  font-size: 24px;
}

#portjob .portjob-thumb {
  overflow: hidden;
  position: relative;
  margin: 10px ;
  margin-top: 22px ;
}
#portjob .portjob-border {
	border: 1px solid #3300ff;
}
#portjob .portjob-thumb img {
  width: 100%;
  height: auto;
}
#portjob .portjob-banner {
  overflow: hidden;
  position: relative;
  margin-top: 10px ;
  
}
#portjob .portjob-banner img {
  width: 96%;
  height: auto;
}
#portjob .portjob-thumb .overlay {
  opacity: 0;
  visibility: visible;
  background: rgba(227, 114, 46, 0.9);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
#portjob .portjob-thumb .overlay .inner {
  position: absolute;
  padding: 2px;
  width: 100%;
  bottom: 0;
  left: 0;
  text-align: center;
}
#portjob .portjob-thumb .overlay .inner h4 {
  font-size: 18px;
  margin-bottom: 10px;
}
#portjob .portjob-thumb .overlay .inner h4 a {
  color: white;
}
#portjob .portjob-thumb .overlay .inner span {
  font-weight: 300;
  color: white;
}
#portjob .portjob-thumb:hover .overlay {
  opacity: 1;
  visibility: visible;
}
#portjob .portlink-border {
	border: 1px solid #3300ff;
}

#showall {
	margin-top: 35px ;
	margin-right: 90px ;	
	float:right;
}	



table.fontmain th, table.fontmain td {
  font-size : 14px;
  font-family : "Prompt", sans-serif;
  background : #efe none; color : #630; }
  
 .carousel-inner > .item > img,
 .carousel-inner > .item > a > img {
      width: 100%;
      margin: auto;
  } 
  
.fborder {
    border: 1px solid #151FB0 ;
	padding: 5px;
	margin-top: 8px;
	margin-bottom: 10px;
    -moz-border-radius-topleft: 15px;
    -moz-border-radius-topright:5px;
    -moz-border-radius-bottomleft:5px;
    -moz-border-radius-bottomright:15px;
    -webkit-border-top-left-radius:15x;
    -webkit-border-top-right-radius:5px;
    -webkit-border-bottom-left-radius:5px;
    -webkit-border-bottom-right-radius:15px;
    border-top-left-radius:15px;
    border-top-right-radius:5px;
    border-bottom-left-radius:5px;
    border-bottom-right-radius:15px;	

} 
.fborder:hover {
    border: 1px solid #151FB0 ;
	background-color:#eeebf7;
    -moz-border-radius-topleft: 15px;
    -moz-border-radius-topright:5px;
    -moz-border-radius-bottomleft:5px;
    -moz-border-radius-bottomright:15px;
    -webkit-border-top-left-radius:15x;
    -webkit-border-top-right-radius:5px;
    -webkit-border-bottom-left-radius:5px;
    -webkit-border-bottom-right-radius:15px;
    border-top-left-radius:15px;
    border-top-right-radius:5px;
    border-bottom-left-radius:5px;
    border-bottom-right-radius:15px;	
}

#fborder-thumb {
  overflow: hidden;
  position: relative;
  margin: 10px ;
}
#fborder-thumb img {
  width: 100%;
  height: auto;
}
#fpic {
	  padding: 15px;
}
#ftext {
	font-size: 24px;
	padding: 15px;
	background-color: blue;
	color: #ffffff ;
}	
#rpic {
	  padding: 5px;
}
#rtext {
	font-size: 18px;
	padding: 10px;
/*	background-color: blue; */
}	

#twborder {
	padding: 15px 5px 5px 5px;	
	border: 1px solid #ffffff;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright:5px;
    -moz-border-radius-bottomleft:5px;
    -moz-border-radius-bottomright:5px;
    -webkit-border-top-left-radius:5x;
    -webkit-border-top-right-radius:5px;
    -webkit-border-bottom-left-radius:5px;
    -webkit-border-bottom-right-radius:5px;
    border-top-left-radius:5px;
    border-top-right-radius:5px;
    border-bottom-left-radius:5px;
    border-bottom-right-radius:5px;	
}

#wbborder {
	padding: 20px 15px 15px 5px;		
	/*background-color:#ffffff;*/
}

#headborder {
	padding: 0px 5px 5px;
	/*padding: 2px 0px 5px 5px;	
        border:solid 1px #ffffdd;
	background-color:#ffffff;*/
    -moz-border-radius-topleft: 12px;
    -moz-border-radius-topright:12px;
    -moz-border-radius-bottomleft:0px;
    -moz-border-radius-bottomright:0px;
    -webkit-border-top-left-radius:12px;
    -webkit-border-top-right-radius:12px;
    -webkit-border-bottom-left-radius:0px;
    -webkit-border-bottom-right-radius:0px;
    border-top-left-radius:12px;
    border-top-right-radius:12px;
    border-bottom-left-radius:0px;
    border-bottom-right-radius:0px;
}

#headborder img {
  width: 100%;
  height: auto;
}

#menubar {
	padding: 5px 5px 0px 20px;
	width: 99%;
}

#bgweb {
	/*background-color: #ffffff;
        background-color: #caa1f4;*/
/*  background-image: url('../images/web-bg.png'); */
}

#sitebardes {
  margin-bottom: 5px;  
  height: 50px;
  /*background-color: #ffd685;*/
  /*background-image: url('../images/bg-menu.png'); */
  border:2px solid #ffffff;
  border-radius : 10px;
  color: #0066ff;
  /*color: #000099;*/
  font-size: 20px;
  padding: 8px 0px 5px 25px;
}

#arrowline {  
	height: 30px;	
	background: url(../images/arrowline.png);
	overflow: hidden;
}

.button_me{
border:1px solid #CE9A01;-webkit-box-shadow: #04188e 0px 1px 0px inset;-moz-box-shadow: #04188e 0px 1px 0px inset; box-shadow: #04188e 0px 1px 0px inset; -webkit-border-radius: 6px; -moz-border-radius: 10px;border-radius: 6px;font-family:arial, helvetica, sans-serif;font-size: 10px; padding: 1px 8px 1px 8px; text-decoration:none; display:inline-block;text-shadow: 0px 1px 0 rgba(255,255,255,0.44);font-weight:bold; color: #63460C;
 background-color: #3300ff; background-image: -webkit-gradient(linear, left top, left bottom, from(#3300ff), to(#330099));
 background-image: -webkit-linear-gradient(top, #3300ff, #330099);
 background-image: -moz-linear-gradient(top, #3300ff, #330099);
 background-image: -ms-linear-gradient(top, #3300ff, #330099);
 background-image: -o-linear-gradient(top, #3300ff, #330099);
 background-image: linear-gradient(to bottom, #3300ff, #330099);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#3300ff, endColorstr=#330099);
}

.button_me:hover{
 border:1px solid #CE9A01;
 background-color: #003366; background-image: -webkit-gradient(linear, left top, left bottom, from(#003366), to(#3399ff));
 background-image: -webkit-linear-gradient(top, #003366, #3399ff);
 background-image: -moz-linear-gradient(top, #003366, #3399ff);
 background-image: -ms-linear-gradient(top, #003366, #3399ff);
 background-image: -o-linear-gradient(top, #003366, #3399ff);
 background-image: linear-gradient(to bottom, #003366, #3399ff);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#003366, endColorstr=#3399ff);
}

 .affix {
      top:0;
      width: 84%;
      z-index: 9999 !important;
  } 
  




@media screen and (max-width: 600px) {
	.title-section {
	  margin-bottom: 15px;
	}
	.title-section h2 {
	  font-size: 20px;
	  font-weight: normal;
	  text-transform: uppercase;
	  display: block;
	  margin-bottom: 10px;
	}
	
	#sitebardes {
	  margin-top: 5px;
	  margin-bottom: 5px;  
	  height: 40px;
	  background-color: #66ccff;
	  color: white;
	  font-size: 20px;
	  padding: 5px 0px 5px 25px;
	}
}


#slidemargin {
  padding: 5px 25px 25px 2px;
}

/* Styles for wrapping the search box */

.smain {
    width: 100%;
    margin-top: 80px;
}

/* Bootstrap 3 text input with search icon */

.has-search .form-control-feedback {
    right: initial;
    left: 0;
    color: #ccc;
}

.has-search .form-control {
    padding-right: 12px;
    padding-left: 34px;
}

/*--findpr-starts--*/
.findpr {
    padding: 1em 0px;
    background: #9999ff;
}
.findpr-title {
  color: #000000;
  padding: 5px 5px;
}
.findpr select {
    width: 95%;
    color: #000000;
    background: none;
    padding: 5px 5px;
    outline: none;
    border: 1px solid #fff;
    font-size: 18px;
}
.findpr input[type="text"] {
    width: 100%;
	height: 38px;
    color: #000000;
    background: none;
    padding: 5px 5px;
    outline: none;
    border: 1px solid #fff;
    font-size: 18px;
}
.findpr form input[type=submit] {
    color: #000000;
    padding: 9px 30px;
    font-size: 15px;
    cursor: pointer;
    border: 1px double #0000ff;
    margin: 15px 0 0 0px;
    outline: none;
    background: none;
}
.findpr form input[type=submit]:hover {
    background:#6b0f24;
     border: 1px double #6b0f24;
    color: #000000;
    transition: 0.5s all ease;
    -webkit-transition: 0.5s all ease;
    -moz-transition: 0.5s all ease;
    -o-transition: 0.5s all ease;
    -ms-transition: 0.5s all ease;
}
.findpr p{
	color: #fff;
    font-size: 16px;
    margin-top: 7%;
}
/*--findpr-end--*/

/*------------------------------------------------------
	Contact Styles 
--------------------------------------------------------*/
.contact-form .full-row {
  width: 100%;
  margin-bottom: 15px;
}
.contact-form input, #contact .contact-form textarea {
  outline: 0;
  display: block;
  border: 1px solid #cccccc;
  width: 100%;
  max-width: 100%;
  padding: 8px 10px;
  color: #ffffff;
}
.contact-form label {
  display: block;
  margin-bottom: 5px;
}
.contact-form input.mainBtn {
  display: inline-block;
  width: auto;
  border: 0;
  padding: 10px 15px;
  color: white;
}

.contact-info {
  margin-top: 30px;
}
.contact-info span {
  margin-top: 20px;
  display: block;
  font-size: 14px;
}
.contact-info span i {
  color: #e3722e;
  font-size: 16px;
  margin-right: 12px;
}

.cborder {
	padding: 15px ;	
	margin-top: 10px;
	-webkit-box-shadow: 2px 2px 6px 6px rgba(51,51,51,0.50);
	-moz-box-shadow: 2px 2px 6px 6px rgba(51,51,51,0.50);
	box-shadow: 2px 2px 6px 6px rgba(51,51,51,0.50);
	background-color: #ffffff;
	color: blue;
}
.cborder h1 {
	font-size: 20px;
}
.cborder label {
	font-size: 18px;
}

.cdetborder {
	padding: 15px ;	
	-webkit-box-shadow: 2px 2px 6px 6px rgba(51,51,51,0.50);
	-moz-box-shadow: 2px 2px 6px 6px rgba(51,51,51,0.50);
	box-shadow: 2px 2px 6px 6px rgba(51,51,51,0.50);
	background-color: #ffffff;
	color: blue;
}
.form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

/*------------------------------------------------------
	detail 
--------------------------------------------------------*/

#dtop-h1 {
    font-weight: unset;
    font-size: 32px;
    color: blue;
    font-weight: bold;
    line-height: 60px;
	background-color: #ffffff;
}
#dtop-h2 {
font-size: 26px;
color: #ffffff;
line-height: 35px;

}
#dtexttop {
font-size: 24px;
color: #ffffff;
line-height: 35px;
}

#line_fer {
	padding-top: 85px;
}

#dtextcont {
font-size: 28px;
color: #ffffff;
line-height: 40px;
}

#map {
		display: block;
		margin-left: auto;
		margin-right: auto;
		height: 400px ;
		width: 100% ;
	 
	}

#banner {
    /* display: flex; */
	background-color: transparent;
    text-align:center;
    position: fixed;
	bottom: 30px;
    right: 20px;
    z-index: 9998;
  }

.setfont {
	color: #ff0000;
	font-size: 24px;
}

.modal-dialog {
	padding-top: 150px;
}


element.style {
}
.modal.in .modal-dialog {
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
}
.modal.fade .modal-dialog {
    -webkit-transform: translate(0, -25%);
    -ms-transform: translate(0, -25%);
    transform: translate(0, -25%);
    -webkit-transition: -webkit-transform 0.3s ease-out;
    -moz-transition: -moz-transform 0.3s ease-out;
    -o-transition: -o-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
}

.modal-dialog {
    padding-top: 200px;
}

@media screen and (max-width: 500px) {
	.modal-dialog {
		padding-top: 450px;
	}
}

.modal-content {
  width: 80%;
  margin: 0 auto;
}
.modal-body {
  padding: 0;
}
.btn-close {
  position: absolute;
  right: 0;
  padding: 1em;
}
h1 {
  font-size: 2.3em;
  font-weight: bold;
}
.myform {
  padding: 2em;
  max-width: 100%;
  color: #003399;
  box-shadow: 0 4px 6px 0 rgba(22, 22, 26, 0.18);
}
.myform input {
	width: 100%;
}
.myform textarea {
	width: 100%;
}
@media (max-width: 576px) {
  .myform {
    max-width: 90%;
    margin: 0 auto;
  }
}
.form-control:focus {
  box-shadow: inset 0 -1px 0 #7e7e7e;
}
.form-control {
  background-color: inherit;
  color: #fff;
  padding-left: 0;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid #fff;
}
.myform .btn {
  width: 100%;
  font-weight: 800;
  background-color: #fff;
  border-radius: 0;
  padding: 0.5em 0;
}
.myform .btn:hover {
  background-color: inherit;
  color: #fff;
  border-color: #fff;
}
p {
  text-align: center;
  padding-top: 2em;
  color: #ffffff;
}
p a {
  color: #e1e1e1;
  text-decoration: none;
}
p a:hover {
  color: #fff;
}

.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
    font-size: 16px;
}

.aligned-row {
  display: flex;
  flex-flow: row wrap;

  &::before {
    display: block;
  }
}