/*
Theme Name: Niceaward
Theme URI: https://webrichy.com/themes/niceaward-theme
Author: Saowaros J.
Author URI: http://www.webrichy.com
Description: This is theme for Niceaward.
Version: 1.0
Text Domain: Niceaward
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: e-commerce, custom-menu, custom-logo, featured-images, footer-widgets, theme-options, translation-ready, blog, right-sidebar, sticky-post, threaded-comments
*/

/*-- General --*/
:root {
  --nw-color-theme-primary: #07a698;
  --nw-color-theme-secondary: #062e2c;
  --nw-color-heading-primary: #162726;
  --nw-color-text-body: #333333;
  --nw-color-text-body-white: #dcfff0;
  --nw-color-darkgreen: #0e2c31;
  --nw-color-bg-1: #0e121d;
  --nw-color-bg-2: #191a1f;
  --nw-color-bg-3: #1a2226;
  --nw-color-text-medium-gray: #6c706f;
  --nw-color-grey-1: #f2f4f7;
  --nw-color-common-white: #ffffff;
  --nw-color-common-black: #000000;
  --nw-color-border-light-gray: #e0e5eb;
}

/* Knit-Light*/
@font-face {
  font-family: "Knit Light";
  font-style: normal;
  font-weight: 300;
  src: url("fonts/knit/Kanit-Light.woff");
}
/* Knit-LightItalic */
@font-face {
  font-family: "knit LightItalic";
  font-style: italic;
  font-weight: 300;
  src: url("fonts/knit/Kanit-LightItalic.woff");
}
/* Knit-Regular */
@font-face {
  font-family: "knit Regular";
  font-style: normal;
  font-weight: 400;
  src: url("fonts/knit/Kanit-Regular.woff");
}
/* Knit-Medium */
@font-face {
  font-family: "knit Medium";
  font-style: normal;
  font-weight: 500;
  src: url("fonts/knit/Kanit-Medium.woff");
}
/* Noto Sans Thai Looped-Regular */
@font-face {
  font-family: "Noto Sans Thai Looped Regular";
  font-style: normal;
  font-weight: 400;
  src: url("fonts/noto_sans_thai_looped/NotoSansThaiLooped-Regular.woff");
}

/* Noto Sans Thai Looped-Samibold */
@font-face {
  font-family: "Noto Sans Thai Looped Samibold";
  font-style: normal;
  font-weight: 600;
  src: url("fonts/noto_sans_thai_looped/NotoSansThaiLooped-SemiBold.woff");
}

/* Pridi-Light */
@font-face {
  font-family: "Pridi Light";
  font-style: normal;
  font-weight: 300;
  src: url("fonts/pridi/Pridi-Light.woff");
}

/* Pridi-Medium */
@font-face {
  font-family: "Pridi Medium", sans-serif;
  font-style: normal;
  font-weight: 500;
  src: url("fonts/pridi/Pridi-Medium.woff");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  color: var(--nw-color-text-body);
  font-family: "Pridi Light", sans-serif;
  font-size: 18px;
  font-weight: normal;
}

h1,
h2 {
  font-family: "knit Medium", sans-serif;
  font-weight: 500;
}

h3 {
  font-family: "knit Medium", sans-serif;
  font-size: 3.6rem;
}

h4 {
  font-family: "knit Medium", sans-serif;
  font-size: 2.4rem;
  font-weight: 500;
}

p {
  color: #333;
  font-family: "Pridi Light", sans-serif;
  font-size: 18px;
}

img {
  max-width: 100%;
}

a,
a:hover {
  -webkit-transition: all 0.3sease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3sease-in-out;
}

/**************************/
/* Container */
/**************************/

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

.container {
  max-width: 1200px;
  padding: 0 15px;
  margin: 0 auto;
}

/**************************/
/* Grid */
/**************************/

/* ABOVE 992px (Destop) */
.grid {
  display: grid;
  column-gap: 30px;
  row-gap: 30px;
}

.grid2 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  column-gap: 30px;
  row-gap: 30px;
}

/*.grid:not(:last-child) {
  margin-bottom: 96px;
}*/

.grid--2-cols {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3-cols {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4-cols {
  grid-template-columns: repeat(4, 1fr);
}

.grid--5-cols {
  grid-template-columns: repeat(5, 1fr);
}

.grid--center-v {
  align-items: center;
}

/* BELOW 992px (Smaller tablets) */
@media (max-width: 992px) {
  .grid--3-cols,
  .grid--4-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* BELOW 576px (Phones) */
@media (max-width: 576px) {
  .grid--2-cols,
  .grid--3-cols {
    grid-template-columns: 1fr;
  }
}

.fade-in-bottom {
  -webkit-animation-name: fade-in-bottom;
  animation-name: fade-in-bottom;
  animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  animation-fill-mode: both;
}

/**************************/
/* Header area */
/**************************/
.header {
  background-color: var(--nw-color-common-white);
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  overflow-x: clip;
  box-shadow: 0px 1px 3px 0px rgba(17, 17, 17, 0);
}

/* Tob bar */
.header .top-bar {
  background-color: var(--nw-color-bg-1);
  padding: 0 48px;
}

/* Main menu */
.header .primary-header-inner .header-menu-wrap .sub-menu li a {
  font-family: "knit Regular", sans-serif;
  color: var(--nw-color-heading-primary);
  display: block;
  font-size: 18px;
  padding: 44.5px 0;
  letter-spacing: 0;
  font-weight: 400;
  text-transform: uppercase;
  position: relative;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
  transition: all 0.3sease-in-out;
}

.header .primary-header-inner .header-logo img,
.mobile-side-menu .side-menu-head a img {
  max-width: 100%;
}

@media only screen and (max-width: 992px) {
  .mobile-side-menu .mean-bar .mean-nav.mean-nav > ul li a {
    font-family: "knit Regular";
  }
}

/**************************/
/* Content area */
/**************************/

/**************************/
/* Footer area */
/**************************/
.footer-top-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 40px;
  row-gap: 40px;
  padding-top: 60px;
  padding-bottom: 60px;
}

.footer-widget p,
.footer-widget span,
.footer-widget a,
.footer-widget i {
  color: var(--nw-color-grey-1);
  font-size: 16px;
}

.footer-widget .footer-list li a {
  font-family: "Pridi Light";
  color: var(--nw-color-grey-1);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}

.footer-widget a:hover,
.footer-widget a:hover i,
.footer-widget .footer-list li a:hover {
  color: var(--nw-color-theme-primary);
}

.footer-widget .footer-social a:hover i {
  color: var(--nw-color-common-white);
}

/** Line QRCODE **/

.line-area {
  background-color: var(--nw-color-common-white);
  border-radius: 15px;
  box-shadow: 0 5px 15px 0 rgba(82, 156, 219, 0.16);
  padding: 0;
  margin: 0;
  overflow: hidden;
  display: inline-block;
}

.line-title {
  background-color: #22ba4f;
  padding: 16px;
}

.line-title a,
.line-title a span,
.line-title a i {
  color: var(--nw-color-common-white);
}

.line-title a {
  background-color: #0e8747;
  border: 1px solid #0e8747;
  border-radius: 100px;
  font-size: 1.6rem;
  padding: 0 20px;
  display: block;
  text-align: center;
  text-decoration: none;
  /*transition: all 0.3s;*/
  transition: all 0.3s ease-in-out;
}

.line-title a span {
  font-family: "knit Medium";
}

.line-title a:hover span,
.line-title a:hover i {
  color: #0e8747;
}

.line-title a:hover {
  background-color: var(--nw-color-common-white);
}

.line-icon {
  font-size: 2rem;
}

.line-content {
  text-align: center;
  padding-top: 10px;
}

.line-content img {
  width: 130px;
  height: 130px;
}

/* BELOW 992px (Smaller tablets) */
@media (max-width: 992px) {
  .footer-top-wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-widget {
    margin-bottom: 0;
  }
}

/* BELOW 576px (Phones) */
@media (max-width: 576px) {
  .footer-top-wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-widget .widget-header:before {
    left: 50%;
    transform: translate(-50%);
  }

  .footer-widget .footer-social {
    justify-content: center;
  }
}

/**************************/
/* Hero Section */
/**************************/
.hero-img-wrap-3 {
  max-width: 600px;
}

.hero-content-3 h4 {
  color: #87e3cf;
  font-family: "knit Regular", sans-serif;
  font-size: 2rem;
  letter-spacing: 1px;
}

.hero-content .section-heading .section-title {
  font-size: 50px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.hero-3 .hero-bottom-shape {
  position: absolute;
  bottom: -20px;
  left: -60px;
  right: -50px;
}

/**************************/
/* Why choose us */
/**************************/
/* Grid Why choose us*/
.grid-widget-why {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 30px;
  row-gap: 30px;
}

.section-heading .section-title {
  font-size: 40px;
  line-height: 1.2;
  font-weight: 500;
  display: block;
  margin-bottom: 0;
  text-transform: inherit;
  position: relative;
}

@media (max-width: 992px) {
  .grid-widget-why {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .grid-widget-why {
    grid-template-columns: 1fr;
  }
}

.why-item-2 {
  text-align: center;
  border: 1px solid #e0e5eb;
  border-radius: 12px;
  padding: 40px 30px;
  position: relative;
}

.why-item-2 .title {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 15px;
}

.why-item-2 .number {
  color: rgba(7, 166, 152, 0.15);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  position: absolute;
  top: 40px;
  left: 30px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.why-item-2:hover .number {
  color: var(--nw-color-theme-primary);
}

.why-item-2 .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  width: 100px;
  border: 1px solid #e0e5eb;
  border-radius: 50%;
  margin: 0 auto;
  margin-bottom: 25px;
}

/**************************/
/* Products */
/**************************/

.product-item {
  background-color: var(--nw-color-common-white);
  padding-top: 0;
  border: 1px solid #e0e5eb;
  border-radius: 10px;
  overflow: hidden;
}

.product-item .product-thumb-wrap {
  padding: 0;
}

.product-item .product-thumb-wrap .product-thumb {
  width: 100%;
  border-radius: 0;
  overflow: hidden;
}

.product-item .bottom-content {
  background-color: var(--nw-color-bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px;
}

.product-item .bottom-content h3 {
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 400;
}

.product-item .bottom-content a {
  color: var(--nw-color-grey-1);
}

/**************************/
/* Achievements */
/**************************/
.col-vdo-items {
  overflow: hidden;
  border-radius: 10px;
}

.embed-container-vdo {
  position: relative;
  padding-bottom: 100%;
  height: 460px;
  overflow: hidden;
  /*max-width: 100%;*/
}

.embed-container-vdo iframe,
.embed-container-vdo object,
.embed-container-vdo embed,
.embed-container-vdo video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*-- Button --*/
.btn-2 {
  background-color: transparent;
  border: 1px solid var(--nw-color-common-white);
}

/**************************/
/* Our Clients */
/**************************/
.heading-space-clients {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 25px;
}

.course-top .swiper-arrow {
  display: flex;
  align-items: center;
  column-gap: 10px;
}
.course-top .swiper-arrow .swiper-nav {
  height: 50px;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e0e5eb;
  border-radius: 50%;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.course-top .swiper-arrow .swiper-nav:hover {
  background-color: var(--nw-color-theme-primary);
  color: var(--nw-color-common-white);
  border: 1px solid var(--nw-color-theme-primary);
}

.course-feature-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}
.course-feature-item .course-feature-img {
  height: auto;
  width: 100%;
}
.course-feature-item .course-feature-img img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/**************************/
/* News Update */
/**************************/

.blog-details {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.post-inner-2 {
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid #e0e5eb;
}

.post-inner-2:not(:last-of-type) {
  margin-bottom: 24px;
}

.post-inner-2 .post-thumb {
  height: 450px;
  position: relative;
}

.post-inner-2 .post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-inner-2 .post-content {
  background-color: var(--nw-color-grey-1);
  padding: 30px;
}

.post-meta {
  display: flex;
  align-items: center;
  list-style: none;
  flex-wrap: wrap;
  row-gap: 10px;
}

.post-meta li {
  font-family: "knit Regular", sans-serif;
  color: var(--nw-color-heading-primary);
  font-size: 16px;
  font-weight: 400;
  display: flex;
  align-items: center;
  column-gap: 10px;
}

.post-meta li:not(:last-of-type) {
  margin-right: 20px;
}

.post-content .title {
  color: var(--nw-color-common-white);
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 20px;
}

.post-content .title a {
  background: linear-gradient(
    var(--nw-color-common-white) 0%,
    var(--nw-color-common-white) 98%
  );
  background-size: 0 2px;
  background-repeat: no-repeat;
  background-position: left 100%;
  -webkit-transition: all 0.3sease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3sease-in-out;
}

.post-inner-2 .post-content .title a {
  background: linear-gradient(
    var(--nw-color-theme-primary) 0%,
    var(--nw-color-theme-primary) 98%
  );
  background-size: 0 2px;
  background-repeat: no-repeat;
  background-position: left 100%;
  -webkit-transition: all 0.3sease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3sease-in-out;
}

.post-inner-2 .post-content p {
  margin-top: 0;
  margin-bottom: 30px;
}

.ed-primary-btn {
  background-color: var(--nw-color-theme-primary);
  font-family: "knit Regular", sans-serif;
  color: var(--nw-color-common-white);
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  padding: 17px 40px;
  border-radius: 100px;
  transition: all 0.3sease-in-out;
  overflow: hidden;
  text-transform: capitalize;
  position: relative;
  z-index: 1;
}

.nw-primary-btn i {
  margin-left: 10px;
  font-size: 16px;
  margin-top: 2px;
}

.sidebar-widget .tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 20px;
  list-style: none;
}

.sidebar-widget .tags li:not(:last-of-type) {
  margin-right: 10px;
}

.sidebar-widget .tags li a {
  background-color: var(--nw-color-common-white);
  padding: 8px 18px;
  font-family: "knit Regular", sans-serif;
  font-size: 15px;
  font-weight: 400;
  border-radius: 100px;
}

@media only screen and (max-width: 992px) {
  .blog-details {
    gap: 20px;
  }
}

@media only screen and (max-width: 767px) {
  .blog-details {
    grid-template-columns: 1fr;
  }
}

.section-subtitle {
  font-weight: 500;
  padding-bottom: 36px;
}

.section-subtitle h3 {
  font-family: "Knit Light";
  font-size: 26px;
}

.product-item {
  background-color: var(--nw-color-bg-3);
}

.vdoclip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 992px) {
  .vdoclip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .vdoclip-grid {
    grid-template-columns: 1fr;
  }

  /*.embed-container-vdo {
    height: auto;
    overflow: auto;
  }/*
}
