body{
    font-family: Prompt;
}

html {
    scroll-behavior: smooth;
  }

  html,body
{
    overflow-x: hidden; 
}

.nav-bg{
    background-color: white;
}

.nav-color{
    color: rgb(122, 122, 122) !important;
    transition: 0.3s;
}

.nav-pd{
  padding-top: 5px;
}

.nav-color:hover{
    color: #F58B1E !important;
}

.head-font{
    color: #F58B1E;
    font-size: 30px;
    font-weight: bold;
  }

.head-font-title{
    color: #F58B1E;
    font-size: 304px;
    font-weight: bold;
  }

  .button-contact{
    background-color: #192383 ;
    padding-top: 10px;
    /* padding-bottom: 5px; */
  }

  .contact-font{
    color: white !important;
    text-decoration: none !important;
  }


  .btn-login{
    background-color: #192383 !important;
    border: 1px solid #192383;
  }

/*------------------fix button---------------------*/

.fix-btn{
    position: fixed;
    right: 35px;
    bottom: 20px;
    z-index: 100;
}

.btn-con{
  color: rgb(0, 0, 0) !important;
  background-color: #fdd172 !important;
}

@media only screen and (max-width: 415px){
    
    .call-btn{
        padding: 10px;
        font-size: 12px !important;
        border-radius: 30px;
        color: rgb(0, 0, 0) !important;
        text-decoration: none !important;
        background-color: #fdd172;
        transition: 0.5s;
    }
    
    .line-btn{
        padding: 10px;
        font-size: 12px !important;
        border-radius: 30px;
        color: rgb(0, 0, 0) !important;
        text-decoration: none !important;
        background-color: #fdd172;
        transition: 0.5s;
    }
    
    .dl-btn{
        padding: 10px;
        font-size: 12px !important;
        border-radius: 30px;
        color: rgb(0, 0, 0) !important;
        text-decoration: none !important;
        background-color: #fdd172;
        transition: 0.5s;
    }
}

.call-btn{
    padding: 10px;
    font-size: 15px;
    border-radius: 30px;
    color: rgb(0, 0, 0) !important;
    text-decoration: none !important;
    background-color: #fdd172;
    transition: 0.5s;
}

.line-btn{
    padding: 10px;
    font-size: 15px;
    border-radius: 30px;
    color: rgb(0, 0, 0) !important;
    text-decoration: none !important;
    background-color: #fdd172;
    transition: 0.5s;
}

.dl-btn{
    padding: 10px;
    font-size: 15px;
    border-radius: 30px;
    color: rgb(0, 0, 0) !important;
    text-decoration: none !important;
    background-color: #fdd172;
    transition: 0.5s;
}

.call-btn:hover{
    color: #192383 !important;
    background-color: white;
}

.line-btn:hover{
    color: #192383 !important;
    background-color: white;
}

.dl-btn:hover{
    color: #192383 !important;
    background-color: white;
}   

/*------------------bg-banner---------------------*/

@media only screen and (min-width: 1025px) {
    .banner-bg{
      background-image:
      url(img/poster/Fair_complete-01.png);
      background-repeat: no-repeat;
      background-size:cover;
      width: 100%;
      height: 670px;
      margin-top: 90px;
  }

  .regis-position{
    padding-top: 550px;
    padding-left: 200px;
}
}
  
  @media only screen and (min-width: 416px) and (max-width: 1024px) {
    .banner-bg{
      background-image: 
      url(img/poster/Fair_complete-02.png);
      background-repeat: no-repeat;
      background-size:cover;
      width: 100%;
      height: 1000px;
      margin-top: 90px;
  }

  .regis-position{
    padding-top: 800px;
    padding-left: 150px;
}
}

  @media only screen and (max-width: 415px) {
    .banner-bg{
      background-image:
      url(img/poster/Fair_complete-02.png);
      background-repeat: no-repeat;
      background-size:cover;
      width: 100%;
      height: 370px;
      margin-top: 90px;
  }

  .regis-position{
    padding-top: 370px;
    padding-left: 20px;
}
}

  .regis-btn{
    padding: 5px 30px 5px 30px;
    font-size: 24px;
    border-radius: 30px;
    color: #ffffff !important;
    text-decoration: none !important;
    background-color: #192383;
    transition: 0.5s;
  }

  .regis-btn:hover{
    color: #192383 !important;
    background-color: #ffffff;
  }

  /*------------------poster ข้อเสีย---------------------*/

  /* .img-poster-1{
      width: 90%;
  } */

  .ml10 {
    position: relative;
    font-weight: 900;
    font-size: 35px;
    color: white;
  }
  
  .ml10 .text-wrapper {
    position: relative;
    display: inline-block;
    padding-top: 0.2em;
    padding-right: 0.05em;
    padding-bottom: 0.1em;
    overflow: hidden;
  }
  
  .ml10 .letter {
    display: inline-block;
    line-height: 1em;
    transform-origin: 0 0;
  }

  @media only screen and (max-width: 415px) {

    .ml10 {
      position: relative;
      font-weight: 900;
      font-size: 28px;
      color: white;
    }

  }

  .poster-bg-1{
    background-color: #F58B1E;
    background-image: linear-gradient(to top left, rgb(170, 96, 0), #F58B1E);
  }

  .pd-l{
      padding-left: 0px;
  }

  .pd-r{
      padding-right: 0px;
  }

  .poster-1-font{
      color: white;
      font-size: 35px;
      margin-top: 50px;
  }


  /*-----------------จะแก้ปัญหาได้ยังไง ถ้ายังทำเหมือนเดิม---------------------*/

  .how-font{
      color: #F58B1E;
      font-size: 35px;
  }

  .how-img-w{
      width: 90%;
  }

  .ml11 {
    position: relative;
    font-weight: 900;
    color: #F58B1E;
      font-size: 35px;
  }
  
  @media only screen and (max-width: 415px) {

    .ml11 {
      position: relative;
      font-weight: 900;
      color: #F58B1E;
        font-size: 30px;
    }

  }

  .ml11 .text-wrapper {
    position: relative;
    display: inline-block;
    padding-top: 0.2em;
    padding-right: 0.05em;
    padding-bottom: 0.1em;
    overflow: hidden;
  }
  
  .ml11 .letter {
    display: inline-block;
    line-height: 1em;
    transform-origin: 0 0;
  }


  /*-----------------video---------------------*/

  .ml12 {
    position: relative;
    font-weight: 900;
    font-size: 30px;
    color: #F58B1E;
  }
  
  @media only screen and (max-width: 415px) {

    .ml12 {
      position: relative;
      font-weight: 900;
      color: #F58B1E;
        font-size: 24px;
    }

  }

  .ml12 .text-wrapper {
    position: relative;
    display: inline-block;
    padding-top: 0.2em;
    padding-right: 0.05em;
    padding-bottom: 0.1em;
    overflow: hidden;
  }
  
  .ml12 .letter {
    display: inline-block;
    line-height: 1em;
    transform-origin: 0 0;
  }

  

  .video-scale{
      width: 100%;
      height: 365px;
  }

  .video-font{
      color: rgb(112, 112, 112);
      font-size: 18px;
  }

  .fa-color{
      color: #F58B1E;
  }
 
   /*-----------------ส่งงานกับฟินค่าคอมสูง---------------------*/

   .with-fin-bg{
    background-color: #F58B1E;
    background-image: linear-gradient(to top left, rgb(170, 96, 0), #F58B1E);
  }

  .with-fin-scale{
      width: 100%;
  }
  
  /*-----------------สิทธิประโยชน์ 2---------------------*/

  .free-font{
    color: rgb(112, 112, 112);
  }

  .free-mobile{
    display: none;
  }

  @media only screen and (max-width: 415px) {

    .free-mobile{
      display:contents;
    }

  }

  .ml13 {
    position: relative;
    font-weight: 900;
    font-size: 30px;
    color: #F58B1E;
  }

  @media only screen and (max-width: 415px) {

    .ml13 {
      position: relative;
      font-weight: 900;
      color: #F58B1E;
        font-size: 24px;
    }

  }
  
  .ml13 .text-wrapper {
    position: relative;
    display: inline-block;
    padding-top: 0.2em;
    padding-right: 0.05em;
    padding-bottom: 0.1em;
    overflow: hidden;
  }
  
  .ml13 .letter {
    display: inline-block;
    line-height: 1em;
    transform-origin: 0 0;
  }


  .ml14 {
    position: relative;
    font-weight: 900;
    font-size: 30px;
    color: #F58B1E;
  }

  @media only screen and (max-width: 415px) {

    .ml14 {
      position: relative;
      font-weight: 900;
      color: #F58B1E;
        font-size: 26px;
    }

  }
  
  .ml14 .text-wrapper {
    position: relative;
    display: inline-block;
    padding-top: 0.2em;
    padding-right: 0.05em;
    padding-bottom: 0.1em;
    overflow: hidden;
  }
  
  .ml14 .letter {
    display: inline-block;
    line-height: 1em;
    transform-origin: 0 0;
  }

   /*-----------------Top agent---------------------*/

   .top-agent-bg{
    background-color: #F58B1E;
    background-image: linear-gradient(to top left, rgb(170, 96, 0), #F58B1E);
   }

   .agent-font{
       color: white;
       font-size: 20px;
       padding-left: 20px;
       padding-right: 20px;
   }


   /*-----------------แอปฟิน---------------------*/

   /* .swiper-container {
    width: 100%;
    height: 100%;
  } */

  .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
  }

  .swiper-slide img {
    display: block;
    /* width: 100%;
    height: 100%; */
    object-fit: cover;
  }

  .ml15 {
    position: relative;
    font-weight: 900;
    font-size: 30px;
    color: #F58B1E;
  }

  @media only screen and (max-width: 415px) {

    .ml15 {
      position: relative;
      font-weight: 900;
      color: #F58B1E;
        font-size: 30px;
    }

  }
  
  .ml15 .text-wrapper {
    position: relative;
    display: inline-block;
    padding-top: 0.2em;
    padding-right: 0.05em;
    padding-bottom: 0.1em;
    overflow: hidden;
  }
  
  .ml15 .letter {
    display: inline-block;
    line-height: 1em;
    transform-origin: 0 0;
  }

  .swiper-button-prev{
      color: #F58B1E; !important;
  }
  .swiper-button-next{
    color: #F58B1E; !important;
  }
  

  /*-----------------รีวิว---------------------*/

  .name-review{
    color: #ffffff; 
    font-size: 20px; 
    font-weight: bold;
  }

  .detail-review{
      color: rgba(255, 255, 255, 0.623);
  }

  .review-bg{
    background-color: #F58B1E;
    background-image: linear-gradient(to top left, rgb(170, 96, 0), #F58B1E);
  }

  .ml16 {
    position: relative;
    font-weight: 900;
    font-size: 30px;
    color: #ffffff;
  }
  
  .ml16 .text-wrapper {
    position: relative;
    display: inline-block;
    padding-top: 0.2em;
    padding-right: 0.05em;
    padding-bottom: 0.1em;
    overflow: hidden;
  }
  
  .ml16 .letter {
    display: inline-block;
    line-height: 1em;
    transform-origin: 0 0;
  }

/*-----------------โปรโมชัน---------------------*/

.ml17 {
    position: relative;
    font-weight: 900;
    font-size: 30px;
    color: #F58B1E;
  }
  
  .ml17 .text-wrapper {
    position: relative;
    display: inline-block;
    padding-top: 0.2em;
    padding-right: 0.05em;
    padding-bottom: 0.1em;
    overflow: hidden;
  }
  
  .ml17 .letter {
    display: inline-block;
    line-height: 1em;
    transform-origin: 0 0;
  }


/*-----------------สไลด์โชว์---------------------*/

  * {box-sizing: border-box;}
body {font-family: Prompt;}
.mySlides {display: none;}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 1100px;
  position: relative;
  margin: auto;
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {font-size: 11px}
}


/*-----------------footer---------------------*/

  .footer-bg{
    background-color: #192383;
    background-image: linear-gradient(to top left, rgb(41, 52, 98),#192383);
    padding-bottom: 30px;
}

@media only screen and (max-width: 1024px) {
  .footer-bg{
    background-color: #192383;
    background-image: linear-gradient(to top left, rgb(41, 52, 98),#192383);
    padding-bottom: 80px;
}
}

