
/*****RJ Stylesheet 2021****/
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
/**********

RESET CSS

**************/

body {
    background: #fff;
   font-family: 'Kanit', sans-serif;

   scroll-behavior: smooth;
    width: 100%;
    font-size: 18px;
    padding: 0px;
    overflow-x: hidden;
    color:#454545;  
}
body,html,ul,li {

    font-size: 18px;
   font-family: 'Kanit', sans-serif;
}
  @font-face {
        font-family: 'Avenida Std Regular';
    float: left;
    src:url("../fonts/Avenida Std Regular.otf") format("opentype");
}
h1, h2{
/*    font-family: 'Abril Fatface', cursive;*/
    font-family: 'Avenida Std Regular';
}
h2{
    font-size:36px;
}
 h3, h4{
   font-family: 'Kanit', sans-serif;
}
a:hover{
    color: #1976d2;
    text-decoration: none;
}
.pdlr{
    padding:0;
}
p{
    font-size: 18px;
    line-height: 1.5;
    text-align: left;
    color: #5c656d;
   font-family: 'Kanit', sans-serif;
/*word-break: break-all;*/
}

*, *::before, *::after {
  box-sizing: border-box;
}
.btn-pink{
    background: #fb90b1;
    color: #fff;
    padding: 10px 20px;
    border:transparent;
    border-radius: 50px;
    font-size: 20px;
}
.main {
  position: relative;
  margin: 0 auto;
/*  padding: 20px;*/
  width: 100%;
}  

.header-wrapper {
      left: 15%;
  transform: translateX(-50%);
  position: absolute;
  
  letter-spacing: 1px;
}
.header-wrapper a{
    color:#454545;
}
.open-menu {
  position: absolute;
  cursor: pointer;
  z-index: 100;
}
.open-menu .line {
  display: block;
    height: 3px;
    width: 40px;
    background-color: #000;
    margin: 15px auto;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    transform-origin: 50% 50%;
}

.open-menu.active {
  transform: rotate(45deg);
  transform-origin: center center;
  transition: all 0.2s ease-in-out 0.4s;
  & .line {
    background-color: #000;
  }
  & .line:nth-child(2) {
    width: 0px;
  }
  
  & .line:nth-child(1) {
    transform: translateY(22px);
    transition-delay: 0.2s;
  }
  & .line:nth-child(3) {
    transform: translateY(-12px) rotate(90deg);
    transition-delay: 0.2s;
  }
}
.open-menu .txt-rotate{
    transform: rotate(-90deg);
    display: block;
    white-space: nowrap;
    font-size: 14px;
    line-height: 12px;
    letter-spacing: 2px;
    position: absolute;
    top: 250px;
    left: -94px;
}
.social-links{
        position: absolute;
    top: 500px;
}
.social-links span a{
    display:block;
    color:#787878;
    padding: 5px 0;
}
.overlay {
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: #ffffff;
  overflow: hidden;
  transition: height 0.3s ease-out;
}
.overlay.open {
  height: 100vh;
}
.overlay--menu {
  padding-top: 120px;
  position: relative;
  width: 100%;
}
.overlay--menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 2.5rem;
    line-height: 3.4375rem;
  }
.overlay--menu li {
    position: relative;
    opacity: 0;
    color: #000;
    transform: translateY(50px);
    transition-duration: 0.2s;
  }
.overlay--menu li a{
    color:#000;
}
.overlay.open li {
  transform: translateY(0);
  opacity: 1;
  color:#333;
  transition: opacity .6s ease-out .2s, transform .6s .2s ease-out;
}
.overlay.open li:nth-of-type(2) {
  transition-delay: .3s;
}
.overlay.open li:nth-of-type(3) {
  transition-delay: .4s;
}
.overlay.open li:nth-of-type(4) {
  transition-delay: .5s;
}
.banner-img{
    background: url(../img/banner.jpg)no-repeat;
    background-position:53px 65px;
    background-size: cover;
    padding: 30px;
    height:650px;
    width: 100%;
}
header{
    position: sticky;
    background: #fff;
/*    width: 100px;*/
}

 .info-abt{
    padding: 30px;
    display: inline-block;
 } 
.info-abt, .info-abt p{
    font-size: 20px;
    line-height: 38px;
    /*text-align: center;*/
}
.txt-on-banner h2{
/*    margin-top:150px;*/
    text-align: right;
    font-size: 38px;
    color: #787878;
    font-family: 'Kanit', sans-serif;  
    margin-top:235px;
        line-height: 0.8;
}
.txt-on-banner h3{
    text-align: right;
    margin-top: 0;
    color: #3F51B5;
    font-weight: 100;
    font-size: 30px; 
   
}
.txt-on-banner .fa{
    border: 1px solid #3F51B5;
    padding: 5px 7px;
    border-radius: 50%;
    font-size: 25px;
}
.txt-on-banner  .bg-font{

     font-family: 'Avenida Std Regular';
    font-size:130px;
    font-weight:700;
     background: -webkit-linear-gradient(#faa4c1, #3F51B5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.info-abt h2{
    font-size: 38px;
    color: #333;
}
#myVideo{    
    max-width: 100%;
    max-height:100%;
}
.btn-default:hover {
    color: #333;
    background-color: transparent;
    border: 2px solid #fb90b1;
}
.address-locations{
    background: url(../img/bg_home_02.jpg)no-repeat;
    background-position: center;
    background-attachment: fixed;
/*    height:250px;*/
    padding: 30px;
}
.card-inner{
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    height:350px;
    margin:20px 0;
}

.card-inner ul li{
    list-style: none;
}
.card-inner .right-text{
    float: right;
}
.services-home {
    padding: 50px 0;
    display: inline-block;
    width: 100%;
}
.gallery-title{
    font-size: 36px;
    color: #333;
/*    text-align: center;*/
    font-weight: 500;
    margin-bottom: 30px;
}
.gallery-title:after {
    content: "";
    position: absolute;
    width: 12.5%;
    left: 4%;
    height: 45px;
    border-bottom: 1px solid #5e5e5e;
}
.filter-button{
    font-size: 18px;
/*    border: 1px solid #fb90b1;*/
    border:none;
    border-radius: 5px;
    text-align: center;
    color: #fb90b1;
    margin-bottom: 30px;
}
.filter-button:hover {
    font-size: 18px;
    border: 1px solid #fb90b1;
    border-radius: 5px;
    text-align: center;
    color: #fb90b1;
    background-color: transparent;
    font-weight: bold;
}
.btn-default:active .filter-button:active{
    background-color: #fb90b1;
    color: white;
}
.port-image{
    width: 100%;
}
.gallery_product {
    margin-bottom: 0;
    padding: 5px;
    position:relative;  
}
.gallery_product img{
    height:250px;
    border-radius: 5px;
    width: 300px;
}
.img-responsive{
    display: block;
  width: 100%;
  height: auto;
}
.why-we{
    padding: 50px 0;
    display: inline-block;
    width: 100%;
    background:url(../img/bg_home_02.jpg);
    background-position: center;
    background-size: cover;
}
.testimonial_subtitle{
    color: #0aaa7a;
    font-size: 12px;
}
  .testimonial_btn{
    background-color: #373d4b !important;
    color: #fff !important;
 }
 .seprator {
    height: 0.5px;
    width: 124px;
    background-color: #4e4e4e;
    margin: 7px 0 8px 0;
}
.testimonials-home{
    padding:50px 0;
    display: inline-block;
    width: 100%;
}
.gallery_product:hover .portfolio_overlay{
     opacity: 1;
     cursor:pointer;
}
.portfolio_overlay{
    background: linear-gradient(130deg, rgba(116,243,239, 0.95) 0%, rgba(251,144,177, 0.95)) no-repeat center;
      position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 290px;
  opacity: 0;
  border-radius:10px;
  transition: .5s ease;
  display:inline-block;
}
.img-card-content p{
    position:absolute;
    right:0;
    left:0;
    bottom:0;
}
.txtt-over{
    color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}
footer{
    padding:50px 0;
    border-top:2px solid #fb90b1;
}
footer a{
    color: #333;
}
.contactushome{
    padding:50px 0;
    display: inline-block;
    width: 100%;
}
.contactushome a{
    color: #b385bd;
}
#toTop {
    position: fixed;
    cursor: pointer;
    right: 20px;
    bottom: 30px;
    background: #fb90b1;
    padding: 7px 14px;
    border-radius: 50%;
    color: #fff;
    font-size: 25px;
    display: none;
    z-index: 111;
}
.contact-form-sm{
        padding: 30px;
    border: 0.5px solid #fb90b1;
}
.contact-form .form-control{
    border-radius:20px;
    height:55px;
    margin:10px 0;
}
.parallax-bg{
    background:url(../img/home5-bg1.jpg);
    background-position: center center;
    background-size: cover;
/*    background-attachment: fixed;*/
    height: 500px ;
    color: #fff;
    padding:50px 0;
}
.parallax-bg h2{
    font-size: 75px;
}
.parallax-bg p{
    color: #fff;
}
.special-services{
    background: url(../img/bg_home_02.jpg);
    background-size: cover;
    background-position: center;
    height:auto;
    display: inline-block;
    width: 100%;
    color: #333;
    padding:50px 0;
}
.thumbnail img{
    height:220px;
    width:100%;
}
/*for iphone 6/7/8 plus & pixel 2 , pixel 2 xl*/
@media  (min-width: 411px) and (max-width:  731px){
.txt-on-banner .bg-font{
    font-size: 35px;    
     background:#db205a; 
     -webkit-background-clip: text; 
     -webkit-text-fill-color:#db205a;
}
.header-wrapper{
        left: 44%;
}
.txt-on-banner h3{
   /* z-index: 9999;*/
   /*transform: rotate(90deg);*/
   /* margin-top: 30px;*/
   /* text-align: right;*/
   /* font-size: 20px;*/
   /* background: #fff;*/
   /* padding: 10px;*/
   /* position: fixed;*/
   /* right: -69px;*/
    display:none;
}
.social-links{display:none;}
.parallax-bg{
    height:auto;
}
header{
    height:80px;
}
.banner-img{
        background-position: center;
        padding:0;
}
.txt-on-banner h2{
    font-size: 18px;
    margin-top: 255px
}
.social-links span a{
    color:#fff;
}
.address-locations{
    height:auto;
}
.filter-button{
        margin-bottom: 0;
            font-size: 16px;
}
.gallery_product img{
    height: 100px;
}
.info-abt p {
    font-size: 14px;
    line-height: 20px;
    text-align: center;
}
.overlay{
    position: absolute;
}
.overlay.open {
    height: 700px;
    overflow: scroll;
/*    z-index: 99999999;*/
}
.overlay--menu{
        padding: 60px 0;
}
.overlay--menu ul{
    line-height: 2.4375rem;
}
.icon img{
    height: 40px;
    width:40px;
}
.why-we h2{
    margin-top: 0;
}
.thumbnail img {
    height: 160px;
    width: 100%;
}
}
@media (min-width:390px) and (max-width: 844px){
    .txt-on-banner h2{
        font-size: 18px;
    margin-top: 0;
    position: absolute;
    bottom: 147px;
    right: 10px;
    }
}
/* for Iphone X*/
@media  (min-width: 375px) and (max-width: 812px){
.txt-on-banner .bg-font{
    font-size:35px;    
    background:#db205a; 
     -webkit-background-clip: text; 
     -webkit-text-fill-color:#db205a;
    
}
.header-wrapper{
        left: 44%;
        font-size:27px;
}
.social-links{display:none;}
.txt-on-banner h3{
     display:none;
   /* z-index: 9999;*/
   /*transform: rotate(90deg);*/
   /* margin-top: 30px;*/
   /* text-align: right;*/
   /* font-size: 20px;*/
   /* background: #fff;*/
   /* padding: 10px;*/
   /* position: fixed;*/
   /* right: -69px;*/
}
.parallax-bg{
    height:auto;
}
header{
    height:80px;
}
.banner-img{
        background-position: center;
          padding:0;
}
.txt-on-banner h2{
     font-size: 18px;
    margin-top: 0;
    position: absolute;
    bottom: 147px;
    right: 10px;
}
.social-links span a{
    color:#fff;
}
.address-locations{
    height:auto;
}
.filter-button{
        margin-bottom: 0;
            font-size: 16px;
}
.gallery_product img{
    height: 100px;
}
.info-abt p {
    font-size: 14px;
    line-height: 20px;
    text-align: center;
}
.overlay{
    position: absolute;
}
.overlay.open {
    height: 700px;
    overflow: scroll;
/*    z-index: 99999999;*/
}
.overlay--menu{
        padding: 60px 0;
}
.overlay--menu ul{
    line-height: 2.4375rem;
}
.icon img{
    height: 40px;
    width:40px;
}
.why-we h2{
    margin-top: 0;
}

}
/*for Galaxy s5*/
@media (min-width: 360px) and (max-width: 640px){
.txt-on-banner .bg-font{
    font-size: 35px;   
    background: #db205a; 
     -webkit-background-clip: text; 
     -webkit-text-fill-color: #db205a;
}
.header-wrapper{
        left: 44%;
        font-size:25px;
}
.txt-on-banner h3{
   /* z-index: 9999;*/
   /*transform: rotate(90deg);*/
   /* margin-top: 30px;*/
   /* text-align: right;*/
   /* font-size: 20px;*/
   /* background: #fff;*/
   /* padding: 10px;*/
   /* position: fixed;*/
   /* right: -69px;*/
    display:none;
}
.social-links{display:none;}
.parallax-bg{
    height:auto;
}
header{
    height:80px;
}
.banner-img{
        background-position: center;  padding:0;
}
.txt-on-banner h2{
    font-size: 18px;
    padding: 0;
    margin: 10px;
}
.social-links span a{
    color:#fff;
}
.address-locations{
    height:auto;
}
.filter-button{
        margin-bottom: 0;
            font-size: 16px;
}
.gallery_product img{
    height: 100px;
}
.info-abt p {
    font-size: 14px;
    line-height: 20px;
    text-align: center;
}
.overlay{
    position: absolute;
}
.overlay.open {
    height: 700px;
    overflow: scroll;
/*    z-index: 99999999;*/
}
.overlay--menu{
        padding: 60px 0;
}
.overlay--menu ul{
    line-height: 2.4375rem;
}
.icon img{
    height: 40px;
    width:40px;
}
.why-we h2{
    margin-top: 0;
}
.thumbnail img {
    height: 160px;
    width: 100%;
}
}

/*for iphone5*/
@media (min-width: 320px) and (max-width: 568px){
.txt-on-banner .bg-font{
    font-size: 35px;    
     background:#db205a; 
     -webkit-background-clip: text; 
     -webkit-text-fill-color: #db205a;
     
}
.header-wrapper{
        left: 44%;
}
.txt-on-banner h3{
    display:none;
   /* z-index: 9999;*/
   /*transform: rotate(90deg);*/
   /* margin-top: 30px;*/
   /* text-align: right;*/
   /* font-size: 20px;*/
   /* background: #fff;*/
   /* padding: 10px;*/
   /* position: fixed;*/
   /* right: -69px;*/
}
.social-links{display:none;}
header{
    height:80px;
}
.parallax-bg{
    height:auto;
}
.banner-img{
        background-position: center;  padding:0;
}
.txt-on-banner h2{
     font-size: 18px;
    margin-top: 0;
    position: absolute;
    bottom: 147px;
    right: 10px;
}
.social-links span a{
    color:#fff;
}
.address-locations{
    height:auto;
}
.filter-button{
        margin-bottom: 0;
            font-size: 16px;
}
.gallery_product img{
    height: 150px;
}
.info-abt p {
    font-size: 14px;
    line-height: 20px;
    text-align: center;
}
.overlay{
    position: absolute;
}
.overlay.open {
    height: 700px;
    overflow: scroll;
/*    z-index: 99999999;*/
}
.overlay--menu{
        padding: 60px 0;
}
.overlay--menu ul{
    line-height: 2.4375rem;
}
.icon img{
    height: 40px;
    width:40px;
}
.why-we h2{
    margin-top: 0;
}
.thumbnail img {
    height: 160px;
    width: 100%;
}
}