
/*******
 *
 *    THIS CSS based on BLUE THEME
 *
 *
 ***/

/* 
 * Style for elements regarding to responsive design
 * responsive design for mobile first
 */

/* 
 * Referrences for css shorthand are list below
 *
 * background properties (ordered, properties can be omitted)
 * 
 * background: background-color background-image background-repeat background-attachment background-position
*/
 body {
     font-family: "Kanit", sans-serif;
     font-size: 18px;
     font-weight: 300; /*normal; */
     letter-spacing: 0.5px;

 }


/* Typography */
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  line-height: 1.4;
  margin: 0.5rem 0;
}

/* Font scale based on Material Design guideline */
/* https://material.io/design/typography/the-type-system.html#type-scale */
h1, .h1 {
  font-size: 107px;
  font-weight: 300;   /* light */
  letter-spacing: -1.5px;
}
h2, .h2 {
  font-size: 67px;
  font-weight: 300; /* light */
  letter-spacing: -0.5px;
}

h3, .h3 {
  font-size: 54px;
  font-weight: normal; 
  letter-spacing: 0px;
}

h4, .h4 {
  font-size: 38px;
  font-weight: normal;
  letter-spacing: 0.25px;
}

h5, .h5 {
  font-size: 27px;
  font-weight: normal;
  letter-spacing: 0px;
}

h6, .h6 {
  font-size: 22px;
  font-weight: 500; /* medium */
  letter-spacing: 0.15px;
}

.subtitle-1 {
  font-size: 18px;
  font-weight: normal;
  letter-spacing: 0.15px;
}

.subtitle-2 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1px;
}

.body-2 {
  font-size: 16px;
  font-weight: normal;
  letter-spacing: 0.25px;
}

.button-text {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1.25px;
}

.caption-text {
  font-size: 13px;
  font-weight: normal;
  letter-spacing: 0.4px;
}

.overline-text {
  font-size: 11px;
  font-weight: normal;
  letter-spacing: 1.5px;
}

p {
    line-height: 1.5em;
}



/* class for text size for simple styling */
.text-size-10, .text-l-size-10 {
    font-size: 10px !important;
    line-height: 1.4;
}
.text-size-12, .text-l-size-12 {
    font-size: 12px !important;
    line-height: 1.4;
}
.text-size-14, .text-l-size-14 {
    font-size: 14px !important;
    line-height: 1.4;
}
.text-size-20, .text-l-size-20 {
    font-size: 20px !important;
    line-height: 1.4;
}
.text-size-25, .text-l-size-25 {
    font-size: 25px !important;
    line-height: 1.4;
}
.text-size-30, .text-l-size-30 {
    font-size: 30px !important;
    line-height: 1.4;
}
.text-size-40, .text-l-size-40 {
    font-size: 40px !important;
    line-height: 1.4;
}
.text-size-50, .text-l-size-50 {
    font-size: 50px !important;
    line-height: 1.4;
}
.text-size-60, .text-l-size-60 {
    font-size: 60px !important;
    line-height: 1.4;
}
.text-size-70, .text-l-size-70 {
    font-size: 70px !important;
    line-height: 1.4;
}


/* Font weight & style */
.text-thin {
    font-weight: 100;
}
.text-extra-light {
    font-weight: 200;
}
.text-light {
    font-weight: 300 !important;
}
.text-medium {
    font-weight: 500;
}
.text-semi-bold {
    font-weight: 600;
}
.text-bold {
    font-weight: 700;
}
.text-extra-bold {
    font-weight: 800;
}
.text-ultra-bold {
    font-weight: 900;
}
.text-italic {
    font-style: italic;
}

/** --------------------------------------------------------------------------------------- **/


/* Background Colors */

/* Border Style */


/* Style for logo image */
img.logo-img {
  fill: #3949AB;
}

/** --------------------------------------------------------------------------------------- **/

/* Margins */
.margin-top {
  margin-top: 1.25rem !important;
}
.margin-left {
  margin-left: 1.25rem !important;
}
.margin-right {
  margin-right: 1.25rem !important;
}
.margin-top-bottom {
  margin-top: 1.25rem !important;
  margin-bottom: 1.25rem !important;
}
.margin-left-right {
  margin-left: 1.25rem !important;
  margin-right: 1.25rem !important;
}
.margin-top-0 {
  margin-top: 0 !important;
  display: block;
}
.margin-top-10 {
  margin-top: 10px !important;
  display: block;
}
.margin-top-15 {
  margin-top: 15px !important;
  display: block;
} 
.margin-top-20 {
  margin-top: 20px !important;
  display: block;
} 
.margin-top-30 {
  margin-top: 30px !important;
  display: block;
} 
.margin-top-40 {
  margin-top: 40px !important;
  display: block;
}
.margin-top-50 {
  margin-top: 50px !important;
  display: block;
}
.margin-top-60 {
  margin-top: 60px !important;
  display: block;
}
.margin-top-70 {
  margin-top: 70px !important;
  display: block;
}
.margin-top-80 {
  margin-top: 80px !important;
  display: block;
}
.margin-bottom-0 {
  margin-bottom: 0 !important;
  display: block;
}
.margin-bottom-10 {
  margin-bottom: 10px !important;
  display: block;
}
.margin-bottom-15 {
  margin-bottom: 15px !important;
  display: block;
} 
.margin-bottom-20 {
  margin-bottom: 20px !important;
  display: block;
} 
.margin-bottom-30 {
  margin-bottom: 30px !important;
  display: block;
} 
.margin-bottom-40 {
  margin-bottom: 40px !important;
  display: block;
}
.margin-bottom-50 {
  margin-bottom: 50px !important;
  display: block;
}
.margin-bottom-60 {
  margin-bottom: 60px !important;
  display: block;
}
.margin-bottom-70 {
  margin-bottom: 70px !important;
  display: block;
}
.margin-bottom-80 {
  margin-bottom: 80px !important;
  display: block;
}
.margin-top-bottom-0 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  display: block;
}
.margin-top-bottom-10 {
  margin-top: 10px !important;
  margin-bottom: 10px !important;
  display: block;
}
.margin-top-bottom-15 {
  margin-top: 15px !important;
  margin-bottom: 15px !important;
  display: block;
} 
.margin-top-bottom-20 {
  margin-top: 20px !important;
  margin-bottom: 20px !important;
  display: block;
} 
.margin-top-bottom-30 {
  margin-top: 30px !important;
  margin-bottom: 30px !important;
  display: block;
} 
.margin-top-bottom-40 {
  margin-top: 40px !important;
  margin-bottom: 40px !important;
  display: block;
}
.margin-top-bottom-50 {
  margin-top: 50px !important;
  margin-bottom: 50px !important;
  display: block;
}
.margin-top-bottom-60 {
  margin-top: 60px !important;
  margin-bottom: 60px !important;
  display: block;
} 
.margin-top-bottom-70 {
  margin-top: 70px !important;
  margin-bottom: 70px !important;
  display: block;
} 
.margin-top-bottom-80 {
  margin-top: 80px !important;
  margin-bottom: 80px !important;
  display: block;
}

.margin-top-bottom-100 {
  margin-top: 100px !important;
  margin-bottom: 100px !important;
  display: block;
}

.margin-left-0 {
  margin-left: 0 !important;
}
.margin-left-10 {
  margin-left: 10px !important;
}
.margin-left-15 {
  margin-left: 15px !important;
} 
.margin-left-20 {
  margin-left: 20px !important;
} 
.margin-left-30 {
  margin-left: 30px !important;
} 
.margin-left-40 {
  margin-left: 40px !important;
}
.margin-left-50 {
  margin-left: 50px !important;
}
.margin-left-60 {
  margin-left: 60px !important;
}
.margin-left-70 {
  margin-left: 70px !important;
}
.margin-left-80 {
  margin-left: 80px !important;
}
.margin-right-0 {
  margin-right: 0 !important;
}
.margin-right-10 {
  margin-right: 10px !important;
}
.margin-right-15 {
  margin-right: 15px !important;
} 
.margin-right-20 {
  margin-right: 20px !important;
} 
.margin-right-30 {
  margin-right: 30px !important;
} 
.margin-right-40 {
  margin-right: 40px !important;
}
.margin-right-50 {
  margin-right: 50px !important;
}
.margin-right-60 {
  margin-right: 60px !important;
}
.margin-right-70 {
  margin-right: 70px !important;
}
.margin-right-80 {
  margin-right: 80px !important;
}
.margin-left-right-0 {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.margin-left-right-10 {
  margin-left: 10px !important;
  margin-right: 10px !important;
}
.margin-left-right-15 {
  margin-left: 15px !important;
  margin-right: 15px !important;
} 
.margin-left-right-20 {
  margin-left: 20px !important;
  margin-right: 20px !important;
} 
.margin-left-right-30 {
  margin-left: 30px !important;
  margin-right: 30px !important;
} 
.margin-left-right-40 {
  margin-left: 40px !important;
  margin-right: 40px !important;
}
.margin-left-right-50 {
  margin-left: 50px !important;
  margin-right: 50px !important;
}
.margin-left-right-60 {
  margin-left: 60px !important;
  margin-right: 60px !important;
} 
.margin-left-right-70 {
  margin-left: 70px !important;
  margin-right: 70px !important;
} 
.margin-left-right-80 {
  margin-left: 80px !important;
  margin-right: 80px !important;
}        
  
/** --------------------------------------------------------------------------------------- **/

/*****----- Image Overlay -----*****/

/* Image blocks for overlay */
.image-with-hover-overlay {   /* parent block for image */
    display: block;
    position: relative; /* set relative for its children position */
}

.image-border-radius img, .image-border-radius .image-hover-overlay {
    border-radius: 3px;
}

.image-with-hover-overlay img {
    width: 100%;
}

/* Overlay element */
.image-hover-overlay {
    position: absolute; /* specified position relative to its parent */
    bottom: 0;
    left: 0;
    top: 0;
    right: 0;
    z-index: 1;
    opacity: 0;
    padding: 1.25rem;
    color: rgba(255,255,255, 0.75) !important;

    transition: all 0.20s linear 0s;
    -o-transition: all 0.20s linear 0s;
    -ms-transition: all 0.20s linear 0s;
    -moz-transition: all 0.20s linear 0s;
    -webkit-transition: all 0.20s linear 0s;

    transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
}

.image-hover-overlay:hover {
    opacity: 1;
}

/* Overlay content */
.image-hover-overlay-content {
    position: absolute;
    left: 0;
    right: 0;
    top: 60%;       /* content will display at around center of its parent */
    
    transition: all 0.20s linear 0s;
    -o-transition: all 0.20s linear 0s;
    -ms-transition: all 0.20s linear 0s;
    -moz-transition: all 0.20s linear 0s;
    -webkit-transition: all 0.20s linear 0s;

    transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}

.image-hover-overlay:hover > .image-hover-overlay-content {
    top: 50%;
}

/* image zoom */
.image-hover-zoom {
    display: block;
    overflow: hidden;
}
.image-hover-zoom img {
    transition: all 0.20s linear 0s;

    /* For other browser */
    -o-transition: all 0.20s linear 0s; /* opera */
    -ms-transition: all 0.20s linear 0s; /* IE */
    -moz-transition: all 0.20s linear 0s; /* Firefox */
    -webkit-transition: all 0.20s linear 0s; /* Chrome */
}

.image-hover-zoom:hover img {
    transform: scale(1.1);
}

/** --------------------------------------------------------------------------------------- **/

/*****----- Horizontal Line Breaks -----*****/

/** Full Width Break **/
hr.break {
    border: 0;
    border-top: 1px solid #e5e5e5;
    display: block;
    margin: 40px 0;
}

hr.break:after {
    clear: both;
    content: "";
    display: block;
    height: 0;
    line-height: 0;
    visibility: hidden;
}

hr.break.break-dashed {
    border-top: 1px dashed #e5e5e5;
}

hr.break.break-dotted {
    border-top: 1px dotted #e5e5e5;
}

hr.break.break-double {
    border-bottom: 1px solid #e5e5e5;
    border-top: 1px solid #e5e5e5;
    height: 8px;
}

hr.break.break-dashed-double {
    border-bottom: 1px dashed #e5e5e5;
    border-top: 1px dashed #e5e5e5;
    height: 8px;
}
hr.break.break-dotted-double {
border-bottom: 1px dotted #e5e5e5;
border-top: 1px dotted #e5e5e5;
height: 8px;
}

/** Small Break **/

hr.break-small {
    background: #000066; /* #e5e5e5; */
    border: 0;
    display: block;
    height: 2px;
    margin: 20px 0 35px;
    width: 60px;
}
hr.break-small.break-center {
margin: 20px auto 35px;
}
hr.break-small.break-double {
height: 0; 
margin-bottom: 39px;
}
hr.break-small.break-double:before {
background: #e5e5e5;
border: 0 none;
content: "";
display: block;
height: 2px;
margin: 5px 0 0;
width: 60px;
}
hr.break.break-small.break-double:after {
background: #e5e5e5;
border: 0 none;
content: "";
display: block;
height: 2px;
margin: 4px 0 35px;
width: 60px;
}
hr.break-small.break-center.break-double:before {
margin: 5px auto 0;
}
hr.break.break-small.break-center.break-double:after {
margin: 4px auto 35px;
}
hr.break-small.break-double.background-white:before, hr.break-small.break-double.background-white:after, 
.primary-color-white hr.break-small.break-double.background-primary:before, .primary-color-white hr.break-small.break-double.background-primary:after {
background: #fff;
}
hr.break-small.break-double.background-primary:before, hr.break-small.break-double.background-primary:after,
.primary-color-primary hr.break-small.break-double.background-primary:before, .primary-color-primary hr.break-small.break-double.background-primary:after {
background: #0000ff;
}

/** --------------------------------------------------------------------------------------- **/


video {
    display: block;
}


/** --------------------------------------------------------------------------------------- **/

/* .banner {
    border-radius: 0;
} */

div.banner {
    position: relative;
}

div.banner .darken-overlay {
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.banner .text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.banner .text-overlay-bottom {
  position: absolute;
  width: 100%;
  bottom: 0;
  text-align: center;
  background-color: rgba(255, 2555, 255, 0.5);
}

.banner-title {
    font-size: 20px;
}

.banner-text {
    font-size: 12px;
}

.fixed-top {
    transition: all 0.20s linear 0s;
    -o-transition: all 0.20s linear 0s;
    -ms-transition: all 0.20s linear 0s;
    -moz-transition: all 0.20s linear 0s;
    -webkit-transition: all 0.20s linear 0s;
}


/* Font size responsive to screen size */
@media (max-width: 320px) {
  h1, .h1 {
    font-size: 54px; /* 107px; */
    font-weight: 300;   /* light */
    letter-spacing: -1.5px;
  }
  h2, .h2 {
    font-size: 46px; /* 67px; */
    font-weight: 300; /* light */
    letter-spacing: -0.5px;
  }
  
  h3, .h3 {
    font-size: 40px; /* 54px; */
    font-weight: normal; 
    letter-spacing: 0px;
  }
  
  h4, .h4 {
    font-size: 32px;
    font-weight: normal;
    letter-spacing: 0.25px;
  }
  
  h5, .h5 {
    font-size: 23px;
    font-weight: normal;
    letter-spacing: 0px;
  }
  
  h6, .h6 {
    font-size: 22px;
    font-weight: 500; /* medium */
    letter-spacing: 0.15px;
  }
  .banner-title {
      font-size: 32px;
  }
  
  .banner-text {
      font-size: 16px;
  }
}

@media (min-width: 576px) {
  h1, .h1 {
    font-size: 64px; /* 107px; */
    font-weight: 300;   /* light */
    letter-spacing: -1.5px;
  }
  h2, .h2 {
    font-size: 54px; /* 67px; */
    font-weight: 300; /* light */
    letter-spacing: -0.5px;
  }
  
  h3, .h3 {
    font-size: 48px; /* 54px; */
    font-weight: normal; 
    letter-spacing: 0px;
  }
  
  h4, .h4 {
    font-size: 38px;
    font-weight: normal;
    letter-spacing: 0.25px;
  }
  
  h5, .h5 {
    font-size: 27px;
    font-weight: normal;
    letter-spacing: 0px;
  }
  
  h6, .h6 {
    font-size: 22px;
    font-weight: 500; /* medium */
    letter-spacing: 0.15px;
  }
  .banner-title {
      font-size: 38px;
  }
  
  .banner-text {
      font-size: 20px;
  }
}

@media (min-width: 768px) {
  h1, .h1 {
    font-size: 86px;
    font-weight: 300;   /* light */
    letter-spacing: -1.5px;
  }
  h2, .h2 {
    font-size: 67px;
    font-weight: 300; /* light */
    letter-spacing: -0.5px;
  }
  
  h3, .h3 {
    font-size: 54px;
    font-weight: normal; 
    letter-spacing: 0px;
  }
  
  h4, .h4 {
    font-size: 38px;
    font-weight: normal;
    letter-spacing: 0.25px;
  }
  
  h5, .h5 {
    font-size: 27px;
    font-weight: normal;
    letter-spacing: 0px;
  }
  
  h6, .h6 {
    font-size: 22px;
    font-weight: 500; /* medium */
    letter-spacing: 0.15px;
  }
  .banner-title {
      font-size: 42px;
  }
  
  .banner-text {
      font-size: 24px;
  }
}

@media (min-width: 1200px) {

  .banner-title {
      font-size: 50px;
  }
  
  .banner-text {
      font-size: 28px;
  }
}

/** --------------------------------------------------------------------------------------- **/

/*****----- Background image -----*****/
.background-cover {
  /* position: relative; */
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}