
.error {
    display: none;
    position: absolute;
    left: 590px;
    height: 44px;
    padding: 0 25px;
    background: #1e98d1;
    font-size: 15px;
    color: #FFFFFF;
    border-color: #1e98d1;
    font-style: italic;
    line-height: 44px;
    white-space: nowrap;

    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

.error::before {
    content: '';
    position: absolute;
    top: 17px;
    left: -15px;
    border: 5px solid rgba(248, 204, 55, 0);
    border-right: 10px solid #1e98d1;
}








/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {


body {

   font-family: 'Lato', sans-serif;
    padding-top: 80px;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    text-rendering: optimizeLegibility\9;
}


    .video-wrapper {
    width: 90%;
    max-width: 650px;
    margin: 30px auto 30px auto;
}
    .video-container {
	position:relative;
	padding-bottom:56.25%;
	padding-top:30px;
	height:0;

	overflow:hidden;
}

.video-container iframe {
	position:absolute;
	top:0;
	left:0;
	width:100%;
    max-width: 800px;
	height:100%;
    max-height: 450px;
}

.row{
	margin-left: 0;
	margin-right: 0;
}



.container-fluid {
	padding:0;
}

.container-fluid.index {
	padding:0;
}

/* Navigation */


.nav>li {
	height: 31px;
	line-height: 30px;
	border-bottom: 1px solid;
  	border-color:#86BC25 ;
}

.navbar {
	background-color: #fff;


}
.navbar-nav {
    margin: 0px -15px;


}

.navbar-brand {
  height: 80px;
	padding: 0;


}
.navbar-brand img {
  	height:80%;
 	width:auto;
	margin-left: 30px;


}


.navbar-nav>li>a {
	line-height: 30px;
	font-size: 14px;
}




.navbar-collapse  li a {
	padding-top: 0px;
  	padding-bottom: 0px;
	background-color: #fff;
  	color: #999;
  	text-align: left;

}

        .nav>li:last-child>a {
        color:#f28a10;
    }

      .nav>li:last-child>a:hover {
        background-color:#f28a10;
          color:#fff;
    }


.container-fluid>.navbar-collapse {
	margin-left: 0;
}

.navbar-nav>li>a:hover  {
	 color: #fff;
	 background-color: #86BC25;
}
.navbar-nav>li.active>a {
	color: #fff;
 	background-color: #86BC25;
}


.navbar-toggle {
	color:#86BC25;
	background-color: #fff;
	border:none;
	margin: 0;
	padding-right: 25px;
	padding-top: 35px;

}
.navbar-toggle:focus,  .navbar-toggle:hover {
	background-color: #86BC25;
}
 .navbar-toggle .icon-bar{
	background-color: #86BC25;
}

.navbar-fixed-top {
	border: none;
}
 .navbar-collapse,  .navbar-form {
	border-color:#86BC25 ;
}

.navbar-toggle {
  border: none;
  background: transparent !important;
}
.navbar-toggle:hover {
  background: transparent !important;
}
.navbar-toggle .icon-bar {
  width: 22px;
  transition: all 0.4s;
}


.navbar-toggle .top-bar {
  transform: rotate(45deg);
  transform-origin: 10% 10%;
}
.navbar-toggle .middle-bar {
  opacity: 0;
}
.navbar-toggle .bottom-bar {
  transform: rotate(-45deg);
  transform-origin: 10% 90%;
}
.navbar-toggle.collapsed .top-bar {
  transform: rotate(0);
}
.navbar-toggle.collapsed .middle-bar {
  opacity: 1;
}
.navbar-toggle.collapsed .bottom-bar {
  transform: rotate(0);
}


/* End Navigation */

.main-banner {
	display: none;
}

.item-active img-responsive {
	max-width:50%;
	max-height: auto;
}


/* Banners homepage */

.banner img.img-responsive, .banner-company img.img-responsive, .banner-contact img.img-responsive {
	width:100%;
	max-height: 440px;

}

.banner {
	margin-bottom: 20px;
	position:relative;
}


.legend {
	display: block;
	position: absolute;
	background-color:rgba(0,0,0,0.2);
	border-radius: 20px  0 0 20px;
	padding: 0px 0px 10px 10px;
	top:30%;
	right: 0;
	height: 60px;
	margin-left: 10px;
}

.legend .text {
	padding-top: 10px;
	padding-left: 20px;
	color: white;
	opacity: 1;
}

.legend .text h1 {
	font-size: 16px;
	margin-top: 0px;
	margin-bottom: 5px;
}

.legend .text h3 {
	font-size: 12px;
	margin-top: 0px;
}

.legend img {
	width:70%;
	padding-top: 0px;
}

.legend .work {
	margin-right: 200px;
}

/* End Banners homepage */

/* Homepage Carousel  */

.owl-carousel {
	padding-bottom: 30px;
}
.owl-carousel .item {
	width: 70px;
	height: 70px;

}

.owl-nav {
	display:none;
}


.clients .row h2 {
	text-align: center;
	color: #73bf44;
	padding-bottom: 20px;
	font-size: 24px;
}

 /* End Homepage Carousel  */


/* Company page css */

.company {
	background-color: #fccc1d;
}



    .banner-company a {
        display:block;
        text-align: center;
        color:#676767;
        font-size:18px;
        margin-top: 10px;
        margin-bottom: 20px;
    }

.with-us h2 {
	display: block;
	width: 250px;
	font-size: 24px;
	margin: auto;
	border-radius: 0   0 70px  70px;
	text-align: center;
	background-color: #fccc1d;
	color: #fff;
	padding: 10px;
	padding-bottom: 20px;
}


.company .row {
	width: 100%;
	color: #fff;
}

.company .row h1 {
	font-size: 40px;
	margin-bottom: 20px;
	text-align: center;
}

.company .row p {
	font-size: 16px;


}

.icon-links .row {
	text-align: center;

}

.icon-links .row h2{
	text-align: center;
	font-size: 20px;
	font-weight: bold;
	color: #676767;
	padding-bottom: 10px;
}

.icon-links p {
	padding: 20px;
	text-align: center;
	font-size: 20px;
	color: #676767;
}


.icon-links img {
	width: 20%;
}



.img-wrapper {
	padding-top: 30px;
	padding-bottom: 50px;
}

.img-wrapper img {
	max-width: 100%;
	height: auto;
	display: block;
	margin:auto;
    padding-left: 15px;
    padding-right: 15px;

}
/* End Company page css */

/* Monitoring */

  .monit-contact {
        padding-top: 30px;
    }

    .monit-contact h1 {
        font-size: 26px;
            color: #fccc1d;
    }

    .monit-contact p{
     text-align: left;
        font-size: 16px;
        color: #999;
    }

    .btn-monit {
    text-align: center;
	font-size: 20px;


	margin-top: 50px;
    margin-bottom: 30px;
	padding: 15px 30px;
	background-color: #73bf44;
	border-radius: 100px;
	color:#fff;


}

.btn-monit:hover {
	color:#fff;
	opacity: 0.8;
}


/* End Monitoring */


/* Contact page css */


.container-contact {
	padding-top:30px;
}


.container-contact .row {
	padding-bottom:50px;
}

.container-contact .address {
	padding-top: 20px;
}


.container-contact .address h1{
	display:inline-block;
	color:#86BC25;
	margin-bottom: 20px;

	font-size: 24px;
}


.container-contact .address h1.orange{

		color:#fccc1d;

}


.container-contact .address p{
	color:#333;
}




.form-contact h2 {
	padding-bottom: 10px;
	font-size: 20px;
	color: #86BC25;
	text-align: center;
}


.form-group .btn{
	margin-top: 10px;
	box-shadow: none;
	border-radius: 20px  0  20px 0;
	border-color: #86BC25;
	background-color: #86BC25;
	color: #fff;
	font-size: 18px;
	transition: background-color .5s ease, border-radius .5s ease,border-color .5s ease;
}

.form-group .btn:hover {
	border-radius: 0 20px  0  20px ;
	border-color: #fccc1d;
	background-color: #fccc1d;
}
 .form-control{
	box-shadow: none;
	border-radius: 20px  0  20px 0;
	border-color: #c4ccbe;

}

.form-group {
    margin-bottom: 5px;
}

.form-group .btn:focus, textarea:focus, input:focus, .uneditable-input:focus {
    border-color: rgba(86, 147, 46, 0.5) !important;
    box-shadow: 0 1px 1px rgba(86, 147, 46, 0.075) inset, 0 0 8px rgba(86, 147, 46, 0.3) !important;
    outline: 0 none !important;
}



.google-maps {
        position: relative;
        padding-bottom: 40%; // This is the aspect ratio
        margin-bottom: 20px;
        height: 0;
        overflow: hidden;
    }
 .google-maps iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
        padding-left: 30px;
     padding-right: 30px;
     padding-bottom: 30px;
    }

/* End Contact page css */

/* Footer css */

.footer-xs {
	background-color: #73bf44;
}

.footer-xs p {
      margin-bottom:0;
	color:#fff;

}

.footer-xs ul.content {
	text-decoration: none;
	list-style:none;
	width: 100%;
	margin: 0 auto;
	padding-left: 0px;

	 padding-top: 10px;
	 padding-bottom: 10px;
	 text-align: center;
}

.footer-xs ul.content li {
		display:inline-block;
	 text-align: center;
		color: #fff;


}

.footer-xs ul.content li:first-of-type {
	padding-right: 10px;
	border-right: 1px solid;
}

.footer-xs ul.content li:last-of-type {
padding-left: 10px;
}

.footer-xs ul.content li a {

		color: #fff;
}

.footer-xs ul.links {

	list-style:none;
	width: 90%;
	margin: 0 auto;
	padding-left: 0px;
	 padding-top: 0px;
	 padding-bottom: 10px;
	  text-align: center;
}


.footer-xs ul.links li {
		display:inline-block;
		color: #fff;


}

.footer-xs ul.links li {
	padding-right: 10px;
	border-right: 1px solid;
}

.footer-xs ul.links li:last-of-type {

	border-right: none;
}

.footer-xs ul.links li {
padding-left: 10px;
}

.footer-xs ul.links li a {
		text-decoration: none;
		color: #fff;
}



/* End Footer css */



/* Career */

.career .row {
	text-align: center;
}

.career .row img {
	text-align: center;
	max-width: 40%;
	padding: 30px;
}

.career .submit-application {
	padding-bottom: 40px;
}

}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {


}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
.col-sd-offset-1-and-half {
        margin-left: 12.499999995%; // col-md-offset-1 has 8.33333333
        // so you multiply 8.33333333 * 1.5 = 12.499999995%
    }

.container-fluid.banner-company {
	padding: 0;
}


body {
/*	padding-top:130px;*/
}


/* Banners homepage */

.banner img.img-responsive, .banner-company img.img-responsive, .banner-contact img.img-responsive {
	width:100%;
	max-height: 440px;
}

.banner {
	margin-bottom: 100px;
	position:relative;
}

.legend {
	display: block;
	position: absolute;
	background-color:rgba(0,0,0,0.3);

	border-radius: 20px  0 0 20px;
	padding: 20px 60px 30px 30px;
	top:18%;
	right: 0;
	height: 140px;


}

.legend .text {
	color: #fff;
	opacity: 1;
}

.legend .text h1 {
	font-size: 24px;
}

.legend .text h3 {
	font-size: 16px;
}

.legend img {
	width:90%;

}

.legend .work {
	margin-right: 300px;
}
/* End Banners homepage */


/*  Navigation */

.navbar {
/*	padding-top: 10px;*/
/*	padding-bottom: 20px;*/
}

.navbar-brand {
	padding: 0;
}

.navbar-brand img {
  	height:65%;
 	width:auto;
	margin-left: 30px;
}


.navbar-nav {
    margin: 25px 15px 30px 15px;
/*padding-right: 40px;*/
}

.nav>li {
	height: 40px;
	border:none ;
}

.nav>li {
	height: 20px;
	line-height: 40px;
	border:none;
}

.nav>li>a {
	background-color: #fff;
	padding: 0 5px;
	border-radius:  0 20px;
	transition: background-color .5s ease, color 0.2s ease, border-radius .7s ease;
}

.navbar-nav>li>a:visited {
		color:#999;
		background-color: #fff;
}

/*style last menu*/
.nav>li:last-child>a {
		padding-left: 20px;
		color: #fff;
		/*background-color: #f28a10;*/
		background-color: #84c555;
		border-radius:20px 0 0 20px ;
		opacity: 0.7;
		transition: all ease 0.5s;
}

.nav>li:last-child>a:hover {
		padding-left: 20px;
		color: #fff;
		/*background-color: #f28a10;*/
		background-color: #84c555;
		border-radius:20px 0 0 20px ;
		opacity: 1;
}

/*style top menu */
.nav>li>a:hover, .nav>li.active>a  {
	display: block;
	color:#fff;
	/*background-color: #86BC25;*/
	background-color: #4ca7d7; /*blue*/
	border-radius: 20px 0 ;
	/*border-radius: 20px 20px 20px ;*//*วงรี*/
}

.navbar-nav>li.active>a {
	color: #fff;
 	/*background-color: #fccc1d;*/
	background-color: #86bc25; /*green*/
 	border-radius: 20px 0 ;
}


/*  End Navigation */



/*  Banner with video  */

video {
	display: block;
	width: 100%;
}

.main-banner {
	display:block;
	position: relative;
	margin-bottom: 100px;
}
.main-banner .row {
	width:100%;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	position: absolute;

	bottom: 2rem;


}

.main-banner .row img {
	width: 30%;
	text-align: center;
	transition: width .5s ease;


}
.main-banner .row img:hover  {
	width: 40%;


}

/* End  Banner with video  */


/* Homepage Carousel client */

.clients {
	margin-bottom: 50px;
}

.clients .row{
	margin:0;
	padding-left: 50px;
	padding-right: 50px;

}
.clients .row h2 {
	text-align: center;
	color: #73bf44;
	padding-bottom: 40px;
	font-size: 30px;
	font-weight: bold;
}

.clients .row{
	position: relative;
	margin:0;
	padding-left: 50px;
	padding-right: 50px;
}

.clients .owl-carousel{
	margin:0;
	padding-left: 100px;
	padding-right:100px;
}


.owl-carousel .item {
	width: 100px;
	height: 100px;

}

.owl-nav  {

    display: inline-block;

}

.owl-prev   {
	position:absolute;
	top:0;
	left:80px;
	opacity: 1;
	transition:all 0.7s ease;
}


.owl-prev:hover,  .owl-next:hover  {
	opacity: 0.7;
	-webkit-transform: scale(1.2);
  transform: scale(1.2);
}


.owl-next {
	position:absolute;
	top:0;
	right:80px;
	opacity: 1;
	transition:all 0.7s ease;
}



 /* End Homepage Carousel  */


  /* Company page css  */

.company {

	width:100%;
	background-color: #fccc1d;
}

.with-us h2{
	display: block;
	width: 350px;
	margin: auto;
	border-radius: 0   0 100px  100px;
	text-align: center;
	background-color: #fccc1d;
	color: #fff;
	padding: 15px;
	padding-bottom: 30px;
}

.company .row {
	padding:20px 0 20px 0;
	width: 90%;
	margin:0 auto;
	text-align: center;
	color: #fff;


}

.company .row h1 {

	font-size: 32px;
	margin-bottom: 30px;
}

.company .row p {
	font-size: 18px;


}

.icon-links {
	padding-top: 20px;
}

.icon-links .row h2{
	text-align: center;
	font-size: 20px;
	font-weight: bold;
	color: #676767;
	padding-bottom: 20px;
	max-height: 30px;
}


.icon-links img {
	width: 30%;
}

 /* End Company page css  */

/* contact page */


.container-contact {


}

.container-contact .row {

	padding-bottom:100px;
}



.container-contact .address {
	padding-top: 50px;
}
.container-contact .address h1{
	display:inline-block;
		color:#86BC25;
	margin-bottom: 40px;
	font-size: 36px;
}




.container-contact .address h2{
	font-size: 24px;
	color:#fccc1d
}


.form-group {
    margin-bottom: 15px;
}

.container-contact .form-contact {
	padding-top: 20px;
}

.form-contact h2 {
	color: #86BC25;
	text-align: center;
	margin-bottom: 40px;
	font-size: 26px;

}

 .map {
        min-width: 300px;
        min-height: 300px;
        width: 100%;
        height: 100%;
    }

/* End contact page */



  /* legal notice */


 .disclaimer-title {
 	color:#86BC25;
 	margin-top: 100px;
	margin-bottom: 40px;
	text-align: center;
 }

 .legal-notice {
 	margin-bottom: 100px;
 }

  /* End legal notice */

}


/* Small Devices, Tablets */
@media only screen and (min-width : 992px) {


	/*  Work with us */

.career {
	padding:50px 10px;
}

.career .row img {
	max-width: 70%;
	padding: 30px;
}

.career h2 {
	text-align: center;
	font-size: 28px;
	font-weight: bold;
	color: #555;
	padding-top: 30px;
	padding-bottom: 30px;
}
.career p
{
	font-size: 16px;
	text-align: center;
}

/*  End Work with us */


/* footer */

.countries {
	padding-left: 0;
}

.footer-bs img {
	width : 16%;
}

.footer-bs h2 {
	font-size: 40px;
	font-weight: bold;
	margin-top: 0px;
	margin-bottom: 10px;
}

.border {
	border-right: solid 0px;
	border-color: #fff;
}

.footer-bs {
    /*background-color: #73bf44;*/
	 background-color:#7dc458;
	padding: 25px 0px;
	color: rgba(255,255,255,1.00);


}
.footer-bs .footer-brand, .footer-bs .footer-nav, .footer-bs .footer-social, .footer-bs .footer-ns { padding:0px 25px; }

.footer-bs .footer-brand h2 { margin:0px 0px 10px; }
.footer-bs .footer-brand p { font-size:12px; color:rgba(255,255,255,0.70); }




.footer-bs .footer-social ul { list-style:none; padding:0px; }
.footer-bs .footer-social h4 {
	font-size: 16px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 3px;
}
.footer-bs .footer-social li { padding:5px 4px 5px 0px;}
.footer-bs .footer-social a { color:rgba(255,255,255,1.00);}
.footer-bs .footer-social a:hover { color:rgba(255,255,255,1); text-decoration:none; }

.footer-bs .footer-ns h4 {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 3px;
	margin-bottom:10px;
}
.footer-bs .footer-ns p { font-size:14px; color:rgba(255,255,255,0.70); }


li > a {
  position: relative;
  color: #000;
  text-decoration: none;

}

li > a:hover {
  color: #000;
}

li > a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: -5px;
  left: 0;
  background-color: #fff;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

li > a:hover:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}


/* End footer */

}



/* Medium Devices, Desktops */
@media only screen and (min-width : 1025px) {



#success, #error {
    display:none
}


/*  Navigation */


.navbar-brand img {
    padding-top: 10px;
  	height:90%;
    margin-left: 40px;


}

.navbar-header {
/*	padding-top:5px;*/
}

.nav>li {
	padding-top:15px;
}

.nav>li>a {

	background-color: #fff;
	padding: 0px 10px;
	border-radius:  0 20px;
	transition: background-color .5s ease, color 0.2s ease, border-radius .7s ease;

}

.navbar-nav {
    margin: 10px 0px 0px 0px;
/*    padding-right: 50px;*/
}


/*  End Navigation */



/*  Homepage */

/*
.legend {

	border-radius: 20px  0 0 20px;
	padding: 20px 60px 20px 30px;
	top:20%;
	right: 0;
	height: 200px;

}
*/

.legend {
	border-radius: 20px  0 0 20px;
	padding: 20px 30px 30px 30px;
	top:35%;
	right: 0;
}

.legend .text {
    min-width: 50%;
 }

.legend .text h1 {
	font-size: 36px;
	padding-bottom: 10px;
}

.legend .text h3 {
	font-size: 24px;
}

.legend img {
	max-width:70%;
}

.legend .work {
	padding-right: 13%;
}

.icon-links img {
	max-width: 150px;
}

.img-wrapper {
	padding-top: 30px;
	padding-bottom: 50px;
}

.img-wrapper img {
	max-width: 75%;
    padding-left: 0;
    padding-right: 0;
}

/*  End Homepage */

/*  Work with us */

.career {
	padding:50px 10px;
}

.career .row img {
	max-width: 70%;
	padding: 30px;
}

/*  End Work with us */



}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {

}
