/*
 * Globals
 */
/* Links */
a {
  color: #303030;
  text-decoration: none !important;
  outline: none;
  -webkit-transition: .5s ease;
  -moz-transition: .5s ease;
  -o-transition: .5s ease;
  -ms-transition: .5s ease;
  transition: .5s ease;
}
a:hover {
  color: #8dc73f;
  text-decoration: none !important;
  outline: none;
  -webkit-transition: .5s ease;
  -moz-transition: .5s ease;
  -o-transition: .5s ease;
  -ms-transition: .5s ease;
  transition: .5s ease;
}
p {
  margin: 2px 0px 4px 0px;
}


/* Custom default button */
.mail {
}
.btn-default {
  color: #303030;
  font-family: 'Kanit', sans-serif;
  font-size: 14pt;
  font-weight: 300 !important;
  text-shadow: none;
  letter-spacing: 3px;
  margin-top: 20px;
  /* Prevent inheritence from `body` */
  background-color: transparent;
  border: 2px solid #8dc73f;
  border-radius: 0;
  padding: 0.5rem 2rem;
  -webkit-transition: .5s ease;
  -moz-transition: .5s ease;
  -o-transition: .5s ease;
  -ms-transition: .5s ease;
  transition: .5s ease;
}
.btn-default:hover {
  color: #fff;
  background-color: #8dc73f;
  border: 2px solid #8dc73f;
}
img {
  max-width: 100%;
  height: auto;
}
/*
 * Base structure
 */
html, body {
  height: 100%;
}
body {
  background: #fff;
  background-size: cover;
  color: #303030;
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 13pt;
}
/* Extra markup and styles for table-esque vertical and horizontal centering */
.site-wrapper {
  display: table;
  width: 100%;
  height: 100%;
  /* For at least Firefox */
  min-height: 100%;
  border-top: 5px solid #8dc73f
}
.site-wrapper-inner {
  display: table-cell;
  vertical-align: top;
}
.cover-container {
  margin-right: auto;
  margin-left: auto;
}

.logo {
  padding: 0;
  margin: 20px 0 0 0;
}

/*
 * Header
 */
.nav-masthead {
  text-align: center;
  display: block;
}
.nav-masthead .nav-link {
  display: inline-block;
}
/*
 * Cover
 */
.cover {
  padding: 10px;
}

h1.cover-heading {
  font-family: 'Kanit', sans-serif;
  font-size: 55pt;
  font-weight: 500 !important;
  color: #303030;
  line-height: 1.1;
  letter-spacing: 10px;
  margin: 0 0 30px 0;
}
h2.cover-heading {
  font-family: 'Kanit', sans-serif;
  font-size: 24pt;
  font-weight: 400 !important;
  color: #303030;
  line-height: 1.1;
  letter-spacing: 5px;
  margin: 20px 0;
}
h2.cover-heading.green {
  font-family: 'Kanit', sans-serif;
  font-size: 28pt;
  font-weight: 400 !important;
  color: #8dc73f;
  line-height: 1.1;
  letter-spacing: 5px;
  margin: 20px 0;
}
h3.masthead-brand {
  font-family: 'Kanit', sans-serif;
  font-size: 18pt;
  font-weight: 400 !important;
  color: #8dc73f;
  line-height: 1.1;
  letter-spacing: 3px;
  margin: 30px 0 40px 0px;
}
.mastfoot {
  font-size: 11pt;
  font-weight: 400 !important;
  color: #303030;
  line-height: 1.1;
  margin: 20px 0px 30px 0px;

@media screen and (max-width: 776px) {
  .cover {
    padding: 0 10px;
  }
  h1.cover-heading {
    font-size: 24pt
  }
  h2.cover-heading, h2.cover-heading.green {
    font-size: 18pt
  }
  h3.masthead-brand {
    font-size: 16pt
  }
}
@media screen and (max-width: 375px) {
  .cover {
    padding: 0px;
  }
  h1.cover-heading {
    font-size: 16pt;
    line-height: 1.3;
  }
  h2.cover-heading, h2.cover-heading.green {
    font-size: 14pt;
    text-shadow: 2px 5px 8px rgba(0, 0, 0, 0.25);
    line-height: 1.3;
  }
  h3.masthead-brand {
    font-size: 12pt;
    text-shadow: 2px 5px 8px rgba(0, 0, 0, 0.25);
    line-height: 1.3;
  }
}

/* Load Fonts */

/* kanit-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/kanit-v15-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* kanit-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/kanit-v15-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* kanit-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/kanit-v15-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* kanit-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/kanit-v15-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* kanit-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/kanit-v15-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* kanit-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/kanit-v15-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* kanit-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/kanit-v15-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}



/* open-sans-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/open-sans-v35-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v35-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/open-sans-v35-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/open-sans-v35-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/open-sans-v35-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
