*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fff;
  font: 15px/1.3 "Bai Jamjuree", sans-serif;
  margin: 0;
  padding: 70px 0 0 0;
  color: #192229;
}

a, a:link, a:visited {
  color: #ffb924;
  text-decoration: none;
}

.wrap {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

p.error {
  font-size: 0.75em;
  color: #f00;
  padding: 10px 15px;
  margin: 0;
}

header {
  background: #fff;
  box-shadow: 0 15px 40px -8px rgba(0, 0, 0, 0.05);
  margin: 0;
  padding: 15px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  z-index: 100;
  transition: 0.3s ease-out;
}
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
header .h1 {
  margin: 0;
  padding: 0;
  display: block;
  font-size: 2em;
  font-weight: bold;
}
header a.h1 {
  color: inherit !important;
}

a.btn-register, a.btn-register:link, a.btn-register:visited, 
header a.btn-register, header a.btn-register:link, header a.btn-register:visited {
  background: #ffb924;
  color: #fff;
  border-radius: 40px;
  border: 0 !important;
  padding: 10px 30px;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
}

header ul { margin: 0; padding: 0; display: flex; }
header ul li { margin: 0; padding: 0 .5rem; list-style: none; display: flex; }
header ul li form { align-self: center; }
header ul li a,
header ul li select { padding: 0 .5rem; align-self: center; background: transparent; }
header ul li select { padding: .3rem .5rem; border-radius:  4px; border: 0; font: inherit; cursor: pointer; }

section {
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
}
section:before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 20px;
  border-radius: 10px;
  background: #ffb924;
}
section.section-intro:before {
  display: none;
}
section.section-about {
  background: #fafafa;
}
section.section-register {
  background: #fafafa;
}
section.section-gallery {
  background: #fafafa;
}
section.section-gallery .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
section.section-gallery a {
  flex: 0 1 calc(33.3333% - 30px);
  display: block;
  height: 220px;
  background-size: cover;
  float: left;
  margin: 15px;
  border-radius: 6px;
  box-shadow: 0 15px 40px -8px rgba(0, 0, 0, 0.15);
}
section.section-extra, section.section-summary {
  font-size: 20px;
  line-height: 1.6;
}
section.section-extra p, section.section-summary p {
  margin-bottom: 3.2em;
}
section.section-intro {
  font-size: 20px;
  line-height: 1.6;
  background-color: #192229;
  background: linear-gradient(135deg, #0d3e82, #192229);
  color: #fff;
}
section.section-intro .wrap {
  display: flex;
}
section.section-intro .wrap .icon {
  margin-right: 40px;
}
section.section-intro svg {
  width: 200px;
  height: 200px;
  color: #5c97c7;
  align-self: center;
}

.points {
  display: flex;
  margin-top: 60px;
}
.points .col {
  display: flex;
}
.points .col:nth-child(1) {
  margin-left: -30px;
}
.points .col:nth-child(2) {
  flex-wrap: wrap;
  flex-basis: 75%;
}
.points .col > div {
  flex: 1 1 calc(50% - 30px);
  padding: 20px;
  margin-left: 30px;
  margin-bottom: 30px;
  min-height: 130px;
  border-radius: 6px;
  box-shadow: 0 15px 40px -8px rgba(0, 0, 0, 0.05);
  background: #fff;
  overflow: hidden;
  position: relative;
  cursor: default;
  /*&:before {
      content: "";
      position: absolute;
      top: -2000px;
      left: -2000px;
      width: 2000px;
      height: 2000px;
      background: #ffb924;
      transition: 2s ease-in;
      border-radius: 2000px;
  }

  /*&:hover {
      color: #fff;

      &:before {
          left: -500px;
          top: -500px;
      }
  }

  .content {
      position: relative;
      z-index: 4;
  }*/
}
.points .col p:first-child {
  margin-top: 0;
}
.points .col p:last-child {
  margin-bottom: 0;
}
.points .col svg {
  width: 64px;
  height: 64px;
  color: #2a3e4e;
  align-self: center;
}

form {
  max-width: 800px;
  margin: 0 auto;
}

form[name="email"] {
  padding: 3rem 0;
}

form label.input {
  margin-bottom: 20px;
  display: block;
  position: relative;
}
form input[type=text],
form input[type=phone],
form input[type=email],
form textarea {
  width: 100%;
  font: inherit;
  padding: 10px 15px;
  border: 1px solid #eee;
  border-radius: 6px;
  box-shadow: 0 15px 40px -8px rgba(0, 0, 0, 0.05);
  outline: none;
  transition: 0.3s ease-out;
}
form input:focus,
form input:active,
form textarea:focus,
form textarea:active {
  border-color: #ffb924;
}
form textarea {
  height: 150px;
  resize: vertical;
}
form .half {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
form .half .input {
  flex-basis: calc(50% - 10px);
}
form label.input-checkbox {
  display: flex;
  cursor: pointer;
  flex-wrap: wrap;
}
form label.input-checkbox div, form label.input-checkbox p {
  flex: 1 1 auto;
  margin: 0;
  padding: 0;
}
form label.input-checkbox div {
  width: 30px;
  flex-basis: 30px;
}
form label.input-checkbox p {
  width: calc(100% - 30px);
  flex-basis: calc(100% - 30px);
}
form label.input-checkbox p.error {
  width: 100%;
  flex-basis: 100%;
  margin-left: 30px;
}
form label.input-checkbox .checkbox-wrapper {
  width: 30px;
  flex-basis: 30px;
  position: relative;
}
form label.input-checkbox .checkbox-wrapper span {
  display: block;
  width: 20px;
  height: 20px;
  border: 2px solid #000;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 6px;
}
form label.input-checkbox .checkbox-wrapper input {
  opacity: 0;
}
form label.input-checkbox .checkbox-wrapper input:checked + span {
  background: #000;
}
form .buttons {
  text-align: center;
}
form button[type=submit] {
  margin: 0 auto;
  cursor: pointer;
  background: #ffb924;
  color: #fff;
  border-radius: 40px;
  border: 0 !important;
  padding: 10px 30px;
  font: inherit;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
}

header .menu-toggle {
  display: none;
  border:  0;
  border-radius:  10px;
  background: #fff;
  font: inherit;
  padding: .5rem .8rem;
  align-self:  center;
}

header .menu-toggle span { display: block; }

@media screen and (max-width: 768px) {
  body {
    padding-top: 80px;
  }

  header {
    height: 80px;
    border-bottom: 1px solid #eee;
  }
  header .wrap {
    overflow: visible;
  }
  header .h1 {
    line-height: 0.9;
  }
  header .h1 span {
    font-size: 0.75em;
    display: block;
  }

  .wrap {
    width: calc(100% - 60px) !important;
    margin-left: 30px;
    margin-right: 30px;
  }

  section {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  section.section-intro .wrap {
    flex-direction: column;
    width: 100%;
  }
  section.section-about .points {
    flex-direction: column;
  }
  section.section-about .points .col {
    margin: 0;
    width: 100%;
  }
  section.section-about .points .col > div {
    width: 100%;
    flex-basis: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  section.section-gallery a {
    flex: 1 1 100%;
    margin: 0 0 20px 0;
  }
  section .section-register {
    padding-bottom: 100px;
  }

  form .half {
    flex-wrap: wrap;
  }
  form .half .input {
    flex-basis: 100%;
  }

  header ul {
    display: none;
  }

  header .menu-toggle {
    display: block;
  }

  .menu-visible {
    overflow:  hidden;
  }

  .menu-visible header ul {
    display: block;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffb924;
    color: #fff;
    text-align: center;
    padding:  15px;
  }

  header ul li {
    flex-basis: 100%;
    margin: .5rem 0;
    padding: 0 30px;
  }

  header ul li a {
    flex-basis: 100%;
    padding: .5rem 1.5rem;
    font-size: 1.2rem;
  }
}
@media screen and (max-width: 480px) {
  body {
    padding-top: 70px;
  }

  header {
    font-size: 0.8em;
    height: 70px;
    border-bottom: 1px solid #eee;
  }
  header a.btn-register {
    white-space: nowrap;
    padding: 10px 20px !important;
  }
}
@media screen and (max-width: 480px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}
header.sticky {
  background-color: #ffb924;
  color: #fff;
  box-shadow: 0 15px 40px -8px rgba(0, 0, 0, 0.15);
}
header.sticky a.btn-register {
  background: #192229;
}

header.sticky a,
header.sticky a:link,
header.sticky a:visited {
  color:  #fff;
}

header.sticky select { color: #fff; }
header.sticky select:hover,
header.sticky select:active { background: #fff; color: #192229; }

footer {
  opacity: .8;
  color: #ddd;
  font-size: .7em;
  text-align: center;
}

footer a,
footer a:link,
footer a:visited {
  color: #ddd;
}

.training {
  position: fixed;
  z-index: 10;
  bottom: 2rem;
  max-width: 320px;
  background: #192229;
  color: #fff;
  padding: 1.3rem;
  border-radius: 20px;
  border: 1px solid #ddd;
  left: calc(50% - calc(320px / 2));
  text-align: center;
}

.training p {
  margin: 0;
}

.training .btn-register {
  display: inline-block;
  white-space: nowrap;
  margin: .65rem auto 0;
}

/*.section-intro,
.section-about,
.section-summary,
.section-gallery,
.section-extra,
.section-register { overflow-x: hidden; }*/

/*# sourceMappingURL=main.css.map */