@font-face {
  font-family: 'ThaiSansNeue-Regular';
  src: url("../fonts/ThaiSansNeue-Regular.eot");
  src: url("../fonts/ThaiSansNeue-Regular.eot?iefix") format("eot"), url("../fonts/ThaiSansNeue-Regular.woff") format("woff"), url("../fonts/ThaiSansNeue-Regular.ttf") format("truetype"), url("../fonts/ThaiSansNeue-Regular.svg#webfontCXAunSZT") format("svg");
  font-weight: normal;
  font-style: normal;
}

.brightness:hover {
  -webkit-filter: brightness(110%);
  filter: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/1200/svg' ><filter id='bright12'><feComponentTransfer><feFuncR type='linear' slope='1.1'/><feFuncG type='linear' slope='1.1' /><feFuncB type='linear' slope='1.1' /></feComponentTransfer></filter></svg>#bright110");
  filter: brightness(110%);
  -o-transition: 0.6s;
  -ms-transition: 0.6s;
  -moz-transition: 0.6s;
  -webkit-transition: 0.6s;
}

.grey2color, .grey2color img {
  filter: grayscale(1);
  -webkit-filter: grayscale(1);
  -moz-filter: grayscale(1);
  -o-filter: grayscale(1);
  -ms-filter: grayscale(1);
  opacity: 1;
  -o-transition: 0.6s;
  -ms-transition: 0.6s;
  -moz-transition: 0.6s;
  -webkit-transition: 0.6s;
}

.grey2color:hover, .grey2color:hover img {
  filter: grayscale(0);
  -webkit-filter: grayscale(0);
  -moz-filter: grayscale(0);
  -o-filter: grayscale(0);
  -ms-filter: grayscale(0);
  opacity: 1;
}

.rotate {
  overflow: hidden;
  transition-duration: 1s;
  transition-property: transform;
}

.rotate:hover {
  transform: rotate(360deg);
  -webkit-transform: rotate(360deg);
}

.flip {
  overflow: hidden;
  transition-duration: 1s;
  transition-property: transform;
}

.flip:hover {
  -webkit-transform: rotateY(30deg);
  transform: rotateY(30deg);
  -moz-transform: rotate(0);
}

.flip360 {
  overflow: hidden;
  transition-duration: 1s;
  transition-property: transform;
}

.flip360:hover {
  -webkit-transform: rotateY(360deg);
  transform: rotateY(360deg);
  -moz-transform: rotate(0);
}

body {
  font-family: arial,helvetica;
  color: #333;
}

.wrap {
  margin-left: auto;
  margin-right: auto;
  width: 960px;
  position: relative;
}

h1, h2, h3 {
  text-transform: uppercase;
  font-weight: bold;
}

h1 {
  font-size: 3em;
  color: #d1d2d4;
}

h3 {
  font-size: 20px;
  margin: 0 0 8px 0;
}

p {
  font-size: 24px;
  margin-bottom: 15px;
}

a {
  color: #d1d2d4;
  -o-transition: 0.6s;
  -ms-transition: 0.6s;
  -moz-transition: 0.6s;
  -webkit-transition: 0.6s;
}

a:hover, a:focus {
  color: #eb5a29;
}

.navbar-default .navbar-brand {
  color: #d1d2d4;
  text-transform: uppercase;
}

.navbar-default .navbar-nav > li > a {
  color: #d1d2d4;
  text-transform: uppercase;
  padding-top: 30px;
  padding-bottom: 30px;
}

.nav > li {
  position: relative;
  display: block;
  margin-left: 1px;
}

.navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > a:hover {
  color: #eb5a29;
  background-color: transparent;
}

.navbar-default {
  background-color: rgba(20, 21, 86, 0.55);
  border-color: rgba(20, 21, 86, 0.8);
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active > a:hover {
  color: #eb5a29;
  background-color: transparent;
}

.main-logo {
  width: 110px;
  height: 80px;
  margin: 0;
  padding: 10px 25px;
  float: left;
  display: block;
}

.main-logo img {
  width: 100%;
  height: auto;
}

.header-contact {
  padding: 7px 30px 0 30px;
  position: absolute;
  right: 0;
  top: 0;
  font-size: .8em;
  height: 100%;
  background: #141556;
  color: #fff;
}

.header-contact ul {
  padding: 0;
  margin: 0;
}

.header-contact li {
  list-style: none;
  display: block;
  color: #fff;
  margin-bottom: 3px;
}

.header-contact span {
  margin-right: 10px;
}

.header-contact img {
  height: 12px;
  margin: 0 12px 0 4px;
}

.header-contact em {
  font-size: 1.8em;
  font-style: normal;
}

.header-contact a {
  color: #fff;
}

.wrap-vlign {
  display: table;
  position: absolute;
  width: 100%;
  height: 100%;
  text-align: center;
  left: 0;
}

.valign {
  display: table-cell;
  vertical-align: middle;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  text-align: center;
}

.homelogo {
  width: 100%;
  text-align: center;
  display: block;
  position: absolute;
  top: 20%;
  opacity: 0;
  margin: -110px auto 0 auto;
  z-index: 1;
}

.homelogo img {
  width: auto;
  height: 160px;
  display: block;
  margin: 0 auto;
}

.cover {
  position: absolute;
  width: 100%;
  top: 80px;
  height: calc(100% - 80px);
  z-index: 1;
}

#section0 h1, #section0 h2 {
  color: #d1d2d4;
  opacity: 0;
  position: absolute;
  width: 100%;
  bottom: 40%;
  z-index: 1;
}

#section0 h1 {
  margin-bottom: -100px;
}

#section0 h2 {
  font-family: "ThaiSansNeue-Regular", sans-serif;
  margin-bottom: -140px;
}

.th {
  font-family: "ThaiSansNeue-Regular", sans-serif;
  line-height: 1;
}

#section1 {
  background-image: url(../images/bg.png);
}

#section1 h2, #section1 strong {
  color: #141556;
}

.ms-skin-default .ms-nav-next, .ms-skin-default .ms-nav-prev {
  opacity: 0.6 !important;
}

.content {
  opacity: 0;
  width: 50%;
  text-align: left;
  padding: 30px;
}

.ctn-r {
  float: right;
}

.ctn-l {
  float: left;
}

.video {
  width: 50%;
  padding: 30px;
  float: left;
  opacity: 0;
}

.video iframe {
  width: 100%;
}

#section2 {
  background-image: url(../images/bg2.png);
}

#section2 h2, #section2 h3, #section2 strong, #section2 p {
  color: #d1d2d4;
}

.card {
  border: 1px solid #25235f;
  border-radius: 10px;
  background: rgba(12, 11, 74, 0.43);
  padding: 15px;
  position: relative;
  width: 33.33%;
  display: inline-block;
}

.masonry {
  /* Masonry container */
  column-count: 4;
  column-gap: 1em;
  padding: 30px;
  text-align: center;
}

.item {
  /* Masonry bricks or child elements */
  background: rgba(12, 11, 74, 0.43);
  display: inline-block;
  margin: 0 0 1em;
  width: 100%;
  border: 1px solid #25235f;
  padding: 15px;
  border-radius: 10px;
  -o-transition: 0.6s;
  -ms-transition: 0.6s;
  -moz-transition: 0.6s;
  -webkit-transition: 0.6s;
  -webkit-box-shadow: 2px 2px 3px 1px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 2px 2px 3px 1px rgba(0, 0, 0, 0.2);
  box-shadow: 2px 2px 3px 1px rgba(0, 0, 0, 0.2);
}

.item:hover {
  background: rgba(12, 11, 74, 0.8);
  color: #fff;
  border-color: #eb5a29;
}

.item p {
  line-height: 1.3em;
  font-size: 1.5em;
  margin-bottom: 0;
}

.content-services {
  position: relative;
  z-index: 3;
}

.bg-pattern {
  background: url(../script-masterslider/style/pattern.png);
  width: 100%;
  height: 100%;
  z-index: 2;
  position: absolute;
  top: 0;
}

.bg-img1 {
  background-image: url(https://scontent.fbkk1-2.fna.fbcdn.net/v/t1.0-9/1891088_258466527646553_568347601_n.jpg?oh=be16d0cc57cc657d2b7ad88de911e271&oe=58AACDF9);
  background-size: cover;
  width: 100%;
  height: 100%;
  z-index: 1;
  position: absolute;
  top: 0;
}

#section3 h2 {
  display: block;
  height: 30px;
  margin: 0;
  color: #d1d2d4;
  position: absolute;
  top: 80px;
  width: 100%;
  text-align: center;
}

#section3 h2 a {
  display: block;
  position: absolute;
  right: 30px;
  background: #eee;
  color: #000;
  font-size: .5em;
  padding: 7px 10px;
  border-radius: 5px;
  top: 7px;
}

#section3 h2 a:hover {
  background-color: #eb5a29;
  color: #fff;
  text-decoration: none;
}

.portfolio {
  position: absolute;
  width: 100%;
  height: calc(100% - 130px);
  top: 130px;
  background: #141556;
}

.portfolio-item {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.6);
  width: 33.33%;
  height: 33.33%;
  display: block;
  overflow: hidden;
  -o-transition: 0.6s;
  -ms-transition: 0.6s;
  -moz-transition: 0.6s;
  -webkit-transition: 0.6s;
}

.port1 {
  top: 0;
  left: 0;
}

.port2 {
  top: 0;
  left: 33.33%;
}

.port3 {
  top: 0;
  left: 66.66%;
}

.port4 {
  top: 33.33%;
  left: 0;
}

.port5 {
  top: 33.33%;
  left: 33.33%;
}

.port6 {
  top: 33.33%;
  left: 66.66%;
}

.port7 {
  top: 66.66%;
  left: 0;
}

.port8 {
  top: 66.66%;
  left: 33.33%;
}

.port9 {
  top: 66.66%;
  left: 66.66%;
}

.portfolio-item h3 {
  left: 0%;
  margin: 0;
  padding: 0;
  font-size: 1.7em;
  position: relative;
  z-index: 2;
}

.portfolio-item p {
  font-size: 1em;
  margin-bottom: 0;
  font-style: italic;
}

.portfolio-item small {
  color: #d1d2d4;
  display: block;
}

.portfolio-item img {
  position: absolute;
  width: 100%;
  height: auto;
  top: -5%;
  left: 0;
  z-index: 1;
  opacity: .6;
}

.portfolio-item:hover, .portfolio-item:focus {
  background-color: rgba(0, 0, 0, 0.8);
}

.portfolio-item:hover img, .portfolio-item:focus img {
  position: absolute;
  width: 100%;
  height: auto;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: .1;
}

#section4 {
  background-image: url(../images/bg2.png);
}

.section-contact {
  padding: 0;
  margin: 0;
}

.section-contact h2 {
  display: block;
  text-align: left;
  color: #d1d2d4;
}

.section-contact li {
  list-style: none;
  display: block;
  color: #d1d2d4;
  margin-bottom: 3px;
  text-align: left;
  font-size: 1.8em;
}

.section-contact span {
  margin-right: 10px;
  background: #eb5a29;
  padding: 5px;
  border-radius: 50%;
  font-size: .8em;
  color: #fff;
}

.section-contact img {
  height: 30px;
  margin: 0 12px 0 0;
  padding: 5px 10px;
  background: #eb5a29;
  border-radius: 50%;
}

.section-contact em {
  font-size: 1.5em;
  font-style: normal;
}

.section-contact a {
  color: #d1d2d4;
}

@media (max-width: 767px) {
  .header-contact {
    padding: 10px 30px;
    position: fixed;
    top: initial;
    height: auto;
    width: 100%;
    bottom: 0;
  }
  .header-contact {
    text-align: center;
  }
  .header-contact li {
    display: inline-block;
    padding: 0 10px;
  }
  .header-contact li:first-child {
    display: block;
  }
  .navbar-default .navbar-nav > li > a {
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .main-logo {
    width: 70px;
    height: 50px;
    margin: 0;
    padding: 5px 15px;
    float: left;
    display: block;
  }
  .homelogo {
    margin: -135px auto 0 auto;
  }
  .homelogo img {
    width: auto;
    height: 100px;
  }
  #section0 h1 {
    font-size: 1.3em;
    margin-bottom: 0;
  }
  #section0 h2 {
    font-size: 1.3em;
    margin-bottom: -22px;
  }
  .content {
    opacity: 0;
    width: 100%;
  }
  .content p {
    font-size: 1.3em;
    margin-bottom: 10px;
    line-height: 1.2;
  }
  .video {
    display: none;
  }
  .header-contact li {
    padding: 0;
  }
  .header-contact span {
    margin-right: 3px;
  }
  .header-contact img {
    height: 10px;
    margin: 0 3px;
  }
  .masonry {
    -moz-column-count: 1;
    -webkit-column-count: 1;
    column-count: 1;
  }
  .section-contact li {
    font-size: 1.3em;
  }
}
