/* Font Import - Start */
@font-face {
  font-family: Sarabun;
  src: url("../font/Sarabun-Regular.ttf");
  font-weight: 400;
}

@font-face {
  font-family: Sarabun;
  src: url("../font/Sarabun-Medium.ttf");
  font-weight: 500;
}

@font-face {
  font-family: Sarabun;
  src: url("../font/Sarabun-Bold.ttf");
  font-weight: 700;
}

@font-face {
  font-family: Lato;
  src: url("../font/Lato-LightItalic.ttf");
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: Lato;
  src: url("../font/Lato-BlackItalic.ttf");
  font-weight: 900;
  font-style: italic;
}

/* Font Import - End */
/* General override for elements - Start */
* {
  margin: 0;
  padding: 0;
  outline: none;
  font-family: Sarabun;
  word-break: break-word;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
}

html, body {
  width: 100%;
  height: 100%;
  background: #ffffff;
  position: relative;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-thumb {
  background: #2dd6ae;
}

::-webkit-scrollbar-track {
  background: #0e2948;
}

.bt_big_green {
  cursor: pointer !important;
  width: auto;
  display: block;
  font-family: Sarabun;
  font-weight: 700;
  color: #2dd6ae;
  text-align: center;
  text-decoration: none;
  border: 4px solid #2dd6ae;
  border-radius: 100px;
  margin: 0 auto;
  -webkit-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.bt_big_green:hover, .bt_big_green:active {
  color: #0e2b4b !important;
  background: #2dd6ae;
  -webkit-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.divisor {
  width: 100%;
  height: 5px;
  position: relative;
  margin: 0 auto;
}

.divisor:after {
  position: absolute;
  top: 50%;
  bottom: 50%;
  left: 50%;
  right: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  content: "";
  border-radius: 1000px;
}

.divisor.blue {
  background: #0e2b4b;
}

.divisor.blue:after {
  background: #0e2b4b;
}

.divisor.white {
  background: #ffffff;
}

.divisor.white:after {
  background: #ffffff;
}

/* General override for elements - End */
/* Global Animation Classes - Start */
.animate {
  opacity: 0;
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  -webkit-transition: all 0.6s ease-out;
  -o-transition: all 0.6s ease-out;
  transition: all 0.6s ease-out;
}

.animate.active {
  opacity: 1;
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  -webkit-transition: all 0.6s ease-out;
  -o-transition: all 0.6s ease-out;
  transition: all 0.6s ease-out;
}

/* Global Animation Classes - End */
/* Mobile CSS - Start */
header {
  width: 100%;
  height: 56px;
  padding: 10px;
  background: none;
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  right: 0;
  -webkit-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

header.fixed {
  background: #ffffff;
  -webkit-box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.1);
}

header.fixed .wrapper .logo .qbank_logo {
  background-image: url("../images/logo_2.png");
}

header.fixed .wrapper .logo .heading_one {
  color: #091b2f;
  -webkit-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

header.fixed .wrapper .mobile_menu .icon:before {
  color: #091b2f;
  -webkit-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

header.active .wrapper .logo .qbank_logo {
  background-image: url("../images/logo_1.png");
}

header.active .wrapper .logo .heading_one {
  color: #ffffff;
  -webkit-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

header.active .wrapper .mobile_menu .icon:before {
  color: #ffffff;
  content: "\f00d";
  -webkit-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

header.active .wrapper nav {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
}

header.active .wrapper nav ul .special {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row nowrap;
  flex-flow: row nowrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-top: 30px;
}

header.active .wrapper nav ul .special a {
  width: auto;
  cursor: pointer !important;
  font-size: 20px;
  color: #ffffff;
  margin: 0 25px;
}

header .wrapper {
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row nowrap;
  flex-flow: row nowrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

header .wrapper .logo {
  cursor: pointer !important;
  width: 50%;
  height: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row nowrap;
  flex-flow: row nowrap;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  z-index: 100;
  text-decoration: none;
  margin: auto 0;
}

header .wrapper .logo .qbank_logo {
  width: auto;
  min-width: 33px;
  height: auto;
  min-height: 33px;
  display: block;
  background-image: url("../images/logo_1.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  margin: auto 5px auto 0;
}

header .wrapper .logo .heading_one {
  font-family: Lato;
  font-size: 32px;
  font-weight: 900;
  font-style: italic;
  color: #ffffff;
  text-align: left;
  text-transform: uppercase;
  line-height: 33px;
  -webkit-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

header .wrapper .mobile_menu {
  width: 50%;
  height: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row nowrap;
  flex-flow: row nowrap;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  z-index: 100;
  margin: auto 0;
}

header .wrapper .mobile_menu .icon {
  width: 24px;
  height: 24px;
  position: relative;
}

header .wrapper .mobile_menu .icon:before {
  width: 100%;
  height: 100%;
  display: inline-block;
  position: absolute;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  content: "\f0c9";
  font-size: 24px;
  color: #ffffff;
  -webkit-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

header .wrapper nav {
  width: 100vw;
  height: 100vh;
  padding: 10px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background: #4fb58d;
  -webkit-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  overflow-y: auto;
  -webkit-transform: translate(100%, 0);
  -ms-transform: translate(100%, 0);
  transform: translate(100%, 0);
}

header .wrapper nav ul {
  width: 100%;
  height: auto;
  display: block;
  margin: auto 0;
}

header .wrapper nav ul li {
  width: 100%;
  text-align: center;
  list-style: none;
  margin-bottom: 20px;
}

header .wrapper nav ul li:last-child {
  margin-bottom: 0;
}

header .wrapper nav ul li a {
  width: 100%;
  font-family: Sarabun;
  font-size: 36px;
  font-weight: 500;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

header .wrapper nav ul li a:hover, header .wrapper nav ul li a:active {
  color: #2dd6ae;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

header .wrapper nav ul .special {
  display: none;
}

/* Mobile CSS - End */
/* Tablet CSS - Start */
@media (min-width: 768px) and (max-width: 1023px) {
  header {
    height: 75px;
    padding: 0px;
  }
  header.fixed {
    height: 55px;
    padding: 0px;
    -webkit-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
  }
  header.fixed .wrapper .logo .qbank_logo {
    min-width: 33px;
    min-height: 33px;
  }
  header.fixed .wrapper .logo .heading_one {
    font-size: 28px;
    -webkit-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
  }
  header.fixed .wrapper nav ul li a {
    font-size: 16px;
    color: #091b2f;
    padding: 5px 15px;
    -webkit-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
  }
  header .wrapper {
    width: 100%;
    height: 100%;
  }
  header .wrapper .logo {
    width: auto;
    margin-left: 20px;
  }
  header .wrapper .logo .qbank_logo {
    min-width: 36px;
    min-height: 36px;
  }
  header .wrapper .logo .heading_one {
    font-size: 36px;
    -webkit-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
  }
  header .wrapper .mobile_menu {
    width: 0px;
    height: 0px;
    display: none;
  }
  header .wrapper nav {
    width: 70%;
    height: 100%;
    padding: 0;
    position: relative;
    background: none;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    overflow-y: hidden !important;
  }
  header .wrapper nav ul {
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }
  header .wrapper nav ul li {
    width: auto;
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    position: relative;
    margin: auto 0;
  }
  header .wrapper nav ul li.active:before {
    width: 100%;
    height: 4px;
    position: absolute;
    bottom: -12px;
    content: "";
    background: #2dd6ae;
  }
  header .wrapper nav ul li.active a {
    color: #2dd6ae;
  }
  header .wrapper nav ul li:last-child {
    margin: auto 0;
  }
  header .wrapper nav ul li a {
    width: auto;
    padding: 10px 25px;
    display: block;
    font-size: 20px;
    margin: 0;
    -webkit-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
  }
}

/* Tablet CSS - End */
/* Desktop CSS - Start */
@media (min-width: 1024px) {
  header {
    height: 95px;
    padding: 0px;
  }
  header.fixed {
    height: 55px;
    padding: 0px;
    -webkit-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
  }
  header.fixed .wrapper .logo .qbank_logo {
    min-width: 33px;
    min-height: 33px;
  }
  header.fixed .wrapper .logo .heading_one {
    font-size: 28px;
    -webkit-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
  }
  header.fixed .wrapper nav ul li a {
    font-size: 16px;
    color: #091b2f;
    padding: 5px 15px;
    -webkit-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
  }
  header .wrapper {
    width: 1024px;
    margin: 0 auto;
  }
  header .wrapper .logo {
    width: auto;
    margin-left: 20px;
  }
  header .wrapper .logo .qbank_logo {
    min-width: 36px;
    min-height: 36px;
  }
  header .wrapper .logo .heading_one {
    font-size: 36px;
  }
  header .wrapper .mobile_menu {
    width: 0px;
    height: 0px;
    display: none;
  }
  header .wrapper nav {
    width: 70%;
    height: 100%;
    padding: 0;
    position: relative;
    background: none;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    overflow-y: hidden !important;
  }
  header .wrapper nav ul {
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }
  header .wrapper nav ul li {
    width: auto;
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    position: relative;
    margin: auto 0;
  }
  header .wrapper nav ul li.active:before {
    width: 100%;
    height: 4px;
    position: absolute;
    bottom: -12px;
    content: "";
    background: #2dd6ae;
  }
  header .wrapper nav ul li.active a {
    color: #2dd6ae;
  }
  header .wrapper nav ul li:last-child {
    margin: auto 0;
  }
  header .wrapper nav ul li a {
    width: auto;
    padding: 15px 25px;
    display: block;
    font-size: 20px;
    margin: 0;
  }
}

/* Desktop CSS - End */
