@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900');
@import url('https://fonts.googleapis.com/css?family=Prompt:300,400,500,700,900&subset=thai');


* {
  margin: 0;
  padding: 0;
}

html, body{
  margin: 0;
  padding: 0;
  background: #FFF;
  overflow: -moz-scrollbars-vertical;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: 'Roboto', 'Prompt', sans-serif;
}

svg{
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  display: block;
}
h2{
  font-size: 56px;
  font-weight: 600;
}
h3{
  font-size: 20px;
  font-weight: 400;
}
/* INTRO */
.intro{
  text-align: center;
  width: 100%;
  padding-top: 100px;
  position: fixed;
  z-index: 2;
}
.intro h2{
  color: #4d4d4d;
  font-size: 3.8em;
  line-height: 1.1em;
  padding-top: 80px;
  padding-bottom: 20px;
}
.intro h3{
  color: #808080;
  font-size: 1.3em;
  font-weight: 300;
  padding-bottom: 50px;
  letter-spacing: .025em;
}

.intro__gradient{
  position: fixed;
  z-index: 0;
  width: 100%;
  height: 800px;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#b4d5df+0,fbf6f2+50,fdfbee+100 */
background: #b4d5df; /* Old browsers */
background: -moz-linear-gradient(top,  #b4d5df 0%, #fbf6f2 50%, #fdfbee 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  #b4d5df 0%,#fbf6f2 50%,#fdfbee 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  #b4d5df 0%,#fbf6f2 50%,#fdfbee 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b4d5df', endColorstr='#fdfbee',GradientType=0 ); /* IE6-9 */
}
.intro__m{
  display: none;
}

.mainmenu{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  z-index: 100;
  text-align: right;
  padding-top: 20px;
  font-size: 14px;
  -webkit-transition: all .2s; /* Safari */
  transition: all .2s;
}
.mainmenu__green{
  background: #00c88c;
  color: #ddd;
  -webkit-box-shadow: 0px 6px 5px 0px rgba(0,0,0,0.1);
  -moz-box-shadow: 0px 6px 5px 0px rgba(0,0,0,0.1);
  box-shadow: 0px 6px 5px 0px rgba(0,0,0,0.1);
}
.mainmenu img{
  display: none;
}
.mainmenu__green .logo{
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translate(-50%,0);
  display: block;
  width: 160px;
  height: auto;
}
.mainmenu a{
  color: #666;
  text-decoration: none;
  cursor: pointer;
}
.mainmenu a:hover{
  color: #333;
}
.mainmenu__green a{
  color: #FFF;
}
.mainmenu__link{
  display: inline-block;
  margin-right: 40px;
}
.mainmenu__line{
  background: #999;
  width: 2px;
  height: 20px;
  display: inline-block;
  transform: translate(0,5px);
  margin: 0 20px;
  margin-top: -18px;
}
.mainmenu__lang{
  display: inline-block;
  margin-right: 40px;
  color: #999;
  position: relative;
  font-size: 12px;
  cursor: pointer;
  -webkit-transition: all .2s; /* Safari */
  transition: all .2s;
}
.mainmenu__green .mainmenu__lang{
  color:#FFF;
}
.mainmenu__lang--tri{
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 3px 0 3px;
  border-color: #999999 transparent transparent transparent;
}
.mainmenu__green .mainmenu__lang--tri{
  border-color: #FFFFFF transparent transparent transparent;
}
a.mainmenu__lang--other{
  position: absolute;
  top: 100%;
  left: -5px;
  background-color: #999;
  color: #FFF;
  border-top: 4px solid #FFF;
  padding: 5px 10px;
  cursor: pointer;
  -webkit-transition: all .2s; /* Safari */
  transition: all .2s;
  display: none;
}
a.mainmenu__lang--other:hover{
  background-color: #666;
  color: #FFF;
}

.ourwork{
  background: #FFF;
  position: relative;
  width: 100%;
  text-align: center;
  padding: 60px 0;
}

.work{
  position: relative;
  display: inline-block;
  margin: 20px;
  cursor: pointer;
}

.work__content{
  position: absolute;
  background:  rgba(0, 183, 128, 0.9);
  color: #FFF;
  width: calc( 100% - 60px);
  height: calc( 100% - 60px);
  top: 10px;
  left: 10px;
  z-index: 2;
  margin: 20px;
  font-size: 20px;
  font-weight: 300;

  display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;

	-ms-flex-align: center;
	-webkit-align-items: center;
	-webkit-box-align: center;

	align-items: center;
  justify-content: center;
  text-align: center;

  -webkit-transition: all .2s; /* Safari */
  transition: all .2s;

  opacity: 0;
}
.work__content h3{
  display: block;
  font-size: 34px;
  font-weight: 300;
  margin-bottom: 20px;
}
.work__content div{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.work:hover .work__content{
  opacity: 1;
  top: 0;
  left: 0;
  width: calc( 100% - 40px);
  height: calc( 100% - 40px);
}

.ourwork .btn__green{
  margin-top: 30px;
}

.mapbanner{
  width:100%;
  z-index: 5;
  position: relative;
}
.mapbanner img{
  width: 100%;
  height: auto;
  display: block;
}
.mapbanner--content{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  text-align: center;
  color: #FFF;
}
.mapbanner--contain{
  width: 100%;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate(0,-50%);
}
.mapbanner--contain h2{
  font-size: 3.2em;
}
.mapbanner--contain h3{
  margin: 40px 0 50px 0;
  font-weight: 300;
}

.btn__green{
  display: inline-block;
  border: 2px solid #00c88c;
  border-radius: 20px;
  padding: 10px 50px;
  text-transform: uppercase;
  color: #00c88c;
  font-size: .9em;
  letter-spacing: .1em;
  cursor: pointer;
  -webkit-transition: all .5s; /* Safari */
  transition: all .5s;
}
.btn__green:hover{
  color: #FFF;
  background: #00c88c;
}

.btn__green--inverse{
  display: inline-block;
  border: 2px solid #00c88c;
  border-radius: 20px;
  padding: 10px 20px;
  text-transform: uppercase;
  color: #FFF;
  background: #00c88c;
  font-size: .9em;
  letter-spacing: .1em;
  cursor: pointer;
  -webkit-transition: all .5s; /* Safari */
  transition: all .5s;
}
.btn__green--inverse:hover{
  color: #00c88c;
  background: #FFF;
}

/* CONTACT */
.contact{
  background: #00c88c;
  color: #333333;
  text-align: center;
  padding: 80px 0 20px;
  /*margin-top: -200px;*/
  position: relative;
}
.contact h2{
  color: #FFF;
  padding: 20px 0;
  font-size: 3.2em;
}
.contact_head{
  display: block;
}
.contact__headm{
  display: none;
}
.contact__details{
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  margin-top: 80px;
}
.contact__detail{
  margin-left: 9%;
  margin-top: 30px;
  width: 40%;
  display: inline-block;
  text-align: left;
  vertical-align: top;
}
.contact__detail h4{
  padding: 14px 0;
  font-size: 20px;
}
.contact__details a{
  color: #FFF;
  text-decoration: none;
}
.contact__detail span.span__w1{
  width: 60px;
  display: inline-block;
}
.contact__detail span.span__w2{
  width: 100px;
  display: inline-block;
}
.contact__social{
  color: #FFF;
  margin-top: 80px;
}
.pin__contact{
  border-bottom: 2px solid #00c88c;
  color: #00c88c;
  font-size: .9em;
  letter-spacing: .1em;
  position: absolute;
  top: 0;
  left: -35px;
  width: 200px;
  -ms-transform: rotate(-90deg); /* IE 9 */
  -webkit-transform: rotate(-90deg); /* Chrome, Safari, Opera */
  transform: rotate(-90deg);
  z-index: 100;
}

.contact__detail__mobile{
  display: none;
}
.copyright{
  color: #a0ebd5;
  font-size: 12px;
  margin-top: 50px;
}

/* MAP MAINPAGE */
.cnxmap{
  position: relative;
  margin-top: 814px;
  z-index: 2;
}
.cnxmap img{
  width: 100%;
  height: auto;
  display: block;
}
.map__top{
  position:absolute;;
  z-index: 3;
}
.map__top-png{
  width: 100%;
  display: block;
}
.map__top img{
  width: 100%;
}

/* ################################################################################################################## 1380px */
@media only screen and (max-width: 1380px) {
  .work{
    width: calc( 50% - 42px);
  }
  .work img{
    width: 100%;
    max-width: 630px;
  }
}

/* ################################################################################################################## 1280px */
@media only screen and (max-width: 1280px) {
  .cnxmap {
    position: relative;
    margin-top: 650px;
  }
  .mapbanner--contain h2 {
    font-size: 3.0em;
  }
  .mapbanner--contain h3 {
    margin: 30px 0 30px 0;
  }

  .contact{
    padding: 40px 0 20px;
  }
  .contact h2{
    font-size: 3.0em;
  }
  .contact__details{
    margin-top: 30px;
  }
  .ourwork{
    padding: 40px 0;
  }
  .work__content{
    font-size: 18px;
  }
  .work__content h3{
    font-size: 30px;
  }
}

/* ################################################################################################################## 800px */
@media only screen and (max-width: 800px) {
  .mainmenu{
    padding-top: 14px;
  }
  .mainmenu__lang{
    margin-right: 20px;
  }
  .mainmenu__link {
    margin-right: 20px;
  }
  .mainmenu__line{
    margin: 0 10px;
  }
  .intro h2{
    font-size: 3.6em;
  }
  .mapbanner--contain h2 {
    font-size: 2.6em;
  }
  .mapbanner--contain h3 {
    margin: 20px 0;
  }
  .contact h2 {
    font-size: 2.6em;
  }
  .contact__details {
    margin-top: 0;
  }
  .contact__detail{
    margin-left: 6%;
    width: 42%;
  }
  .copyright{
    font-size: 10px;
  }
}

/* ################################################################################################################## 420px */
@media only screen and (max-width: 420px) {
  .mainmenu__m{
    position: fixed;
    left: 0px;
    top: 0px;
    padding: 16px 20px 0;
    width: 30px;
    height: 30px;
    overflow: hidden;
  }
  .mainmenu__m img{
    display: block;
  }
  .mainmenu__link{
    display: none;
  }
  .mainmenu__lang {
    margin-top: 10px;
  }
  .intro h2 {
    font-size: 1.8em;
  }
  .intro{
    display: none;
  }
  .intro__m{
    position: fixed;
    display: block;
    text-align: center;
    width: 100%;
    padding-top: 100px;
    z-index: 2;
  }
  .intro__m h2{
    color: #4d4d4d;
    font-size: 2.4em;
    line-height: 1.1em;
    padding-top: 40px;
    padding-bottom: 20px;
  }
  .intro__m h3{
    color: #808080;
    font-size: 1.2em;
    font-weight: 300;
    padding-bottom: 50px;
    letter-spacing: .025em;
  }
  .cnxmap {
    margin-top: 520px;
  }
  .cnxmap img {
    width: 200%;
    height: auto;
    display: block;
    margin-left: -100px;
  }
  .work{
    display: none;
  }
  .ourwork {
    padding: 0 0 30px;
  }
  .ourwork .btn__green {
    margin-top: 0px;
  }
  .mapbanner img{
    width: 220%;
  }
  .mapbanner--contain h2 {
    font-size: 2.0em;
    margin-top: 0px;
  }
  .mapbanner--contain h3 {
    margin: 20px 0;
    font-size: 14px;
  }
  .contact h2 {
    font-size: 1.8em;
    padding-top: 0;
    padding: 0 20px 20px;
  }
  .contact h3 {
    font-size: 14px;
  }
  .contact__detail {
    margin-left: 6%;
    width: 96%;
    margin-top: 14px;
  }
  .contact__social{
    margin-top: 20px;
  }
  .copyright{
    margin-top: 20px;
  }
}
