@font-face {
  font-family: "KittithadaRoman55-Regular";
  src: url("../fonts/KittithadaRoman55_gdi.eot");
  src: url("../fonts/KittithadaRoman55_gdi.eot?#iefix") format("embedded-opentype"),
    url("../fonts/KittithadaRoman55_gdi.woff") format("woff"),
    url("../fonts/KittithadaRoman55_gdi.ttf") format("truetype"),
    url("../fonts/KittithadaRoman55_gdi.otf") format("opentype"),
    url("../fonts/KittithadaRoman55_gdi.svg#KittithadaRoman55-Regular") format("svg");
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  unicode-range: U+0020-F880;
  /*    unicode-range: U+0E00-0E7F,U+0020-0039;thai-only*/
}

html,
body {
  font-size: 20px;
  font-family: "KittithadaRoman55-Regular", "tahoma";
  line-height: 1;
  width: 100%;
  height: 100%;
}

.wait {
  display: none !important;
}

section {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  height: auto;
  text-align: center;
  padding: 40px 0px;
}

.d-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  text-align: center;
}

.d-flex .flex25 {
  -ms-flex-preferred-size: 25%;
  flex-basis: 25%;
}

.d-flex .flex20 {
  -ms-flex-preferred-size: 20%;
  flex-basis: 20%;
  padding: 10px;
}

#mainNav {
  padding: 12px 0 0 0;
  background-color: #fff;
}

#mainNav h1 {
  padding: 0;
  margin: 0;
}

#mainNav .nav li>a {
  font-size: 20px;
}

header {
  text-align: center;
  padding-top: 0px;
}

header .header-content {
  position: relative;
  margin: 63px auto 0px auto;
}

header .header-content .header-container {
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

header .header-content .header-container h1 {
  font-size: 12vmin;
  line-height: 0.7;
  color: #fff;
  font-weight: bold;
  padding: 0 15px;
}

header .header-content .header-content-inner {
  position: relative;
}

header .header-content .header-content-inner #carousel {
  height: calc(100dvh - 63px);
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  animation: slide-animation 16s infinite;
}

.slide {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  animation: fade 16s infinite;
}

.slide-1 {
  background-image: url(../images/banner/Banner-Carousel-1.jpg);
  animation-delay: 0s;
}

.slide-2 {
  background-image: url(../images/banner/Banner-Carousel-2.jpg);
  animation-delay: 4s;
}

.slide-3 {
  background-image: url(../images/banner/Banner-Carousel-3.jpg);
  animation-delay: 8s;
}

.slide-4 {
  background-image: url(../images/banner/Banner-Carousel-4.jpg);
  animation-delay: 12s;
}

@keyframes fade {
  0% {
    opacity: 0;
  }

  4% {
    opacity: 1;
  }

  25% {
    opacity: 1;
  }

  29% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@keyframes slide-animation {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(0);
  }
}

header .header-content #owl-demo .item {
  height: 100%;
}

header .header-content #owl-demo .item img {
  width: 100%;
}

header .header-content .down {
  position: absolute;
  bottom: 15%;
  color: #fff !important;
  text-decoration: none;
  margin-top: 25px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  color: #3d150a;
  background: url(../images/scroll-down.png) bottom center no-repeat;
  padding-bottom: 60px;
}

.align-child-center {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
  width: 100%;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

#whoarewe .align-child-center {
  height: 100vh !important;
}

#bminmotion h2 {
  font-weight: 100;
  font-size: 60px;
  color: #585858;
  font-style: italic;
  line-height: 0.8;
}

#bminmotion h2 span {
  font-style: normal;
  color: #f47a46;
}

#bminmotion #youtube {
  position: relative;
  padding: 25px 15px;
  background-color: #fff;
  display: block;
  margin: auto;
  max-width: 900px;
  max-height: 500px;
  border: 1px solid #f47a46;
}

#bminmotion #youtube .blank-box {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  width: 90%;
  position: absolute;
  height: 105%;
  background-color: #fff;
  margin-left: auto;
  margin-right: auto;
  top: -15px;
  left: 0;
  right: 0;
}

#bminmotion #youtube iframe {
  margin-top: -20px;
  padding: 25px 45px;
}

#whoarewe {
  position: relative;
  color: #fff;
  min-height: 100vh;
  font-size: 30px;
  overflow: hidden;
}

#whoarewe h2 {
  position: relative;
  z-index: 111;
  margin-top: 0;
  font-size: 90px;
  line-height: 0.8;
  font-style: italic;
}

#whoarewe h3 {
  font-size: 40px !important;
}

#whoarewe .award-text {
  margin-bottom: 10px;
}

#whoarewe .award-text p {
  line-height: 1;
  margin-bottom: 7px;
  font-size: 26px;
}

.award {
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.award>.bottom:nth-child(5) {
  margin-left: 10px;
}

#whoarewe .award p {
  font-size: 24px;
}

#whoarewe .award>div img {
  margin: auto;
}

#whoarewe .award .bottom {
  position: relative;
  width: 12%;
  display: inline-block;
}

#service {
  /*    padding-top: 4em;*/
  overflow: hidden;
}

.service-icon-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
}

.service-icon {
  display: flex;
  justify-content: center;
  align-items: center;
}



.service-icon:nth-child(-n+5) {
  transform: translateX(20%);
}

.service-icon:nth-child(n+6) {
  transform: translateX(-20%);
}

.service-icon img {
  width: 160px;
  height: 160px;
  object-fit: cover;
}


#service .lightbox {
  text-align: center;
}

.fancybox-opened .lightbox {
  opacity: 1;
  -webkit-transition: opacity ease-in-out 0.5s;
  transition: opacity ease-in-out 0.5s;
}

.lightbox {
  opacity: 0;
  display: none;
}

.lightbox ul {
  text-align: left;
  font-size: 26px;
}

#service .lightbox img {
  display: block;
  margin: auto;
}

#service .d-flex h3 span {
  color: #f47a46;
}

#service .d-flex>div a {
  color: inherit;
  text-decoration: none;
}

#service .d-flex>div img {
  margin: auto;
}

#service .fancybox-overlay-fixed {
  text-align: center;
}

#anim {
  overflow: hidden;
  padding-top: 150px;
  background: url(../images/anim-bg.jpg) top center no-repeat;
  height: auto;
  background-size: 100% auto;
}

#anim #gadget {
  margin: auto;
  max-width: 1150px;
  height: 530px;
  position: relative;
}

#anim #gadget .item {
  position: absolute;
  bottom: 0;
}

#anim #gadget #imac {
  left: 20%;
  bottom: 3%;
}

#anim #gadget #iphone {
  right: 30%;
}

#anim #gadget #oculus {
  right: 2%;
}

#portfolio #portnav {
  padding: 0 25px 25px;
  text-align: center;
  border: none;
}

#portfolio #portnav button {
  position: relative;
  font-size: 22px;
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
  background-color: #fff;
}

#portfolio #portnav button:after {
  font-family: "Glyphicons Halflings";
  content: "\e250";
  position: absolute;
  right: 15px;
  color: #f47a46;
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
  -webkit-transform: rotateZ(90deg);
  transform: rotateZ(90deg);
}

#portfolio #portnav button.collapsed:after {
  content: "\e250";
  -webkit-transform: rotateZ(0);
  transform: rotateZ(0);
}

#portfolio #portnav .navbar-header {
  border: 1px solid #f47a46;
  border-radius: 5px;
}

#portfolio #portnav .navbar-header .navbar-toggle:hover {
  background: none;
}

#portfolio #portnav .nav {
  float: none !important;
  display: inline-block;
}

#portfolio #portnav .nav li a {
  font-size: 22px;
}

#portfolio #portnav .nav li:hover a,
#portfolio #portnav .nav li.active a {
  cursor: pointer;
  color: #79d0e3 !important;
}

#portfolio #portfolio-carousel {
  -webkit-transition: opacity 0.5s ease-in-out;
  -webkit-transition: opacity 1s ease-in-out;
  transition: opacity 1s ease-in-out;
}

.owl-pagination>.owl-page span {
  background-color: #888;
}

.owl-pagination>.owl-page.active span {
  background-color: #f47a46;
}

#beourteam h2 {
  font-style: italic;
  font-size: 40px;
}

#beourteam h2 span {
  font-style: normal;
  color: #f47a46;
}

#beourteam p {
  font-size: 20px;
  line-height: 1;
}

#beourteam p span {
  padding: 5px;
  font-size: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

#beourteam p span a {
  font-size: 20px;
  padding-top: 0;
}

#beourteam #beour-carousel .item img:hover {
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
  z-index: 13;
}

#beourteam #beour-carousel .item img {
  position: relative;
  z-index: 12;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
}

#contactus {
  padding-top: 30px;
  padding-bottom: 0 !important;
  height: auto;
}

#contactus .row {
  margin-bottom: 35px;
}

#contactus .row .border-none {
  border-left: none;
}

#contactus .row>div {
  min-height: 280px;
  border-left: 3px dotted #ccc;
}

#contactus .row>div h3 {
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 3px;
}

#contactus .row>div span {
  display: block;
  margin-bottom: 0;
}

#contactus .row>div img {
  margin: auto;
}

#contactus .row>div .btn {
  display: inline-block;
  border: 1px solid #ccc;
  margin-bottom: 10px;
}

.fancybox-opened .fancybox-skin .fancybox-outer .fancybox-inner {
  padding: 0 !important;
  position: relative;
}

.fancybox-opened .fancybox-skin .fancybox-outer .fancybox-inner .lightbox {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  width: 80%;
  margin: 0 auto;
  text-align: center;
}

.fancybox-opened .fancybox-skin .fancybox-outer .fancybox-inner .lightbox h3 {
  font-size: 40px !important;
}

.fancybox-opened .fancybox-skin .fancybox-outer .fancybox-inner .lightbox h3 span {
  color: #f47a46;
}

.fancybox-opened .fancybox-skin .fancybox-outer .fancybox-inner .lightbox img {
  margin: 0;
}

.lightbox.icon>img {
  margin: 10px auto 20px auto !important;
}

.fancybox-opened .fancybox-skin .fancybox-outer .fancybox-inner .lightbox p {
  font-size: 26px;
  line-height: 1;
}

.fancybox-opened .fancybox-skin .fancybox-outer .fancybox-inner .lightbox.portbox {
  padding-top: 20px;
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
  position: static;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.fancybox-opened .fancybox-skin .fancybox-outer .fancybox-inner .lightbox.portbox h4 {
  font-size: 50px;
  font-weight: normal;
  color: #f47a46;
  line-height: 0.8;
  text-transform: uppercase;
}

.fancybox-opened .fancybox-skin .fancybox-outer .fancybox-inner .lightbox.portbox .youtube {
  max-width: 1000px;
  height: auto;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.fancybox-opened .fancybox-skin .fancybox-outer .fancybox-inner .lightbox.portbox .youtube iframe {
  width: 100%;
  height: 100%;
}

.fancybox-opened .fancybox-skin .fancybox-outer .fancybox-inner .lightbox.portbox img {
  margin-bottom: 15px;
}

.fancybox-opened .fancybox-skin .fancybox-outer .fancybox-inner .lightbox.portbox p {
  margin-bottom: 0;
}

.fancybox-opened .fancybox-skin .fancybox-outer .fancybox-inner .lightbox.portbox .close-btn {
  padding: 2px;
  display: block;
  width: 100px;
  margin: 20px auto;
  color: #585858;
  border: 1px solid #585858;
}

.fancybox-opened .fancybox-skin .fancybox-outer .fancybox-inner .lightbox.portbox .close-btn span {
  color: #f47a46;
}

@media all and (width: 1366px) {
  #whoarewe {
    padding-bottom: 50px;
  }

  #whoarewe .award>div img {
    width: 75%;
    margin: auto;
  }
}

@media all and (max-width: 1200px) {
  #mainNav .nav li a {
    padding: 7px;
  }
}

@media screen and (max-width: 1024px) {
  section {
    padding: 90px 0px;
  }
}

@media all and (min-width: 768px) and (max-width: 992px) {
  #mainNav .navbar-header {
    width: 100%;
  }

  #mainNav .navbar-header .navbar-brand {
    float: none;
    width: 230px;
    display: block;
    margin: auto;
  }

  #mainNav .nav {
    text-align: center;
    margin: auto;
    float: none !important;
  }

  #mainNav .nav li {
    text-align: center;
    float: none;
    display: inline-block;
    padding: 0;
  }

  /*
    #mainNav .nav li a {
        padding:7px;
    }
*/
}


@media all and (max-width: 767px) {
  #bminmotion h2 {
    margin-bottom: 25px;
  }

  header .header-content .header-content-inner {
    border: none;
  }

  #whoarewe .award .bottom {
    width: 30%;
  }

  #beourteam p span {
    display: block;
    max-width: 200px;
    margin: 15px auto 5px auto;
    padding: 0;
  }

  #beourteam p span a {
    padding-top: 5px;
  }

  #anim #gadget {
    height: 100%;
  }
}

@media all and (max-width: 768px) {
  .d-flex img {
    padding: 5px;
  }

  .d-flex .flex25 {
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
  }

  .d-flex .flex20 {
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
  }

  .col-extra {
    width: 50%;
  }

  header {
    padding-top: 0;
    margin: 0;
  }

  section {
    min-height: 40vh;
    height: auto;
    padding: 20px 15px;
    margin: 0px;
  }

  section#anim {
    min-height: 0;
  }

  .slide-1 {
    background-image: url(../images/banner/Banner-Carousel-mobile-1.jpg);
  }

  .slide-2 {
    background-image: url(../images/banner/Banner-Carousel-mobile-2.jpg);
  }

  .slide-3 {
    background-image: url(../images/banner/Banner-Carousel-mobile-3.jpg);
  }

  .slide-4 {
    background-image: url(../images/banner/Banner-Carousel-mobile-4.jpg);
  }

  #whoarewe .align-child-center {
    height: 100% !important;
  }

  #bminmotion #youtube iframe {
    margin-top: 0;
    padding: 0;
  }

  #whoarewe {
    background-color: #000;
  }

  #whoarewe h2 {
    font-size: 60px;
  }

  #whoarewe h3 {
    font-size: 34px;
  }

  #whoarewe .award-text {
    padding: 0;
  }

  .line-break::before {
    content: "\A";
    white-space: pre;
  }

  #whoarewe .award>div {
    margin-bottom: 15px;
  }

  #service {
    padding: 5% 0px !important;
  }

  /* #service .container{
    width:100%;
  } */

  .service-icon-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .service-icon {
    transform: translateX(0) !important;
  }

  .service-icon img {
    width: 140px;
    height: 140px;
    padding: 5px;
  }
  


  #portfolio #portnav {
    width: 100%;
    padding: 0;
  }

  #portfolio #portnav button {
    border: none;
    margin: auto;
    width: 100%;
  }

  #anim {
    padding-top: 50px !important;
    height: 200px !important;
  }

  #contactus {
    background: none;
    height: auto;
  }

  #contactus .row>div {
    border: none;
  }

  .fancybox-opened {
    width: 100% !important;
    margin-left: -20px;
  }

  .fancybox-opened .fancybox-skin .fancybox-outer .fancybox-inner {
    margin: auto;
    width: 100% !important;
  }

  .fancybox-opened .fancybox-skin .fancybox-outer .fancybox-inner .lightbox {
    width: 100%;
  }

  .fancybox-opened .fancybox-skin .fancybox-outer .fancybox-inner .lightbox h3 {
    font-size: 40px !important;
  }

  .fancybox-opened .fancybox-skin .fancybox-outer .fancybox-inner .lightbox h3 span {
    color: #f47a46;
  }
}

@media (width: 1366px) {
  section {
    padding-top: 40px;
  }

  section#portfolio {
    padding-top: 60px;
  }
}

@media (max-width: 542px) {
  #bminmotion {
    padding-left: 0;
    padding-right: 0;
  }

  #bminmotion #youtube {
    padding: 0 !important;
    border: none;
  }

  #bminmotion .blank-box {
    top: -6px !important;
  }

  .owl-theme .owl-controls .owl-page span {
    width: 7px;
    height: 7px;
    margin: 2px;
  }
}

@media (max-width: 336px) {
  .navbar-brand img {
    width: 190px;
  }
}

/*
@media (max-width: 1200px) and(min-width:768px) {
    .navbar-header {
        width: 100%!important;
    }
    .navbar-brand {
        display: block!important;
        width: 100%!important;
    }
    .navbar-brand h1 img{
        margin: auto!important;
    }
}
*/
/*# sourceMappingURL=brilliantstyle.css.map */