/*
 * CONTENTS
 *
 * - #RESET
 * - #LAYOUT
 * - #TABLES
 * - #HEADER
 * - #NAVBAR
 * - #IMAGE_FADER
 * - #SIDEBAR
 * - #CONTENT
 * - #FOOTER
 * - #UTILS
 * - #THEME
 *
 */

/* #RESET */
* {
  box-sizing: border-box;
}

html {
  font-size: 14px;
}

body {
  background-color: #f6f6f6;
  color: #000;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 100%;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  color: #2c5018;
  font-weight: 500;
  line-height: 1.2;
}

h1, h2, h3, h4, h5, h6,
ul, ol, dl,
p, hr {
  margin: 0 0 1rem 0;
}

ul > ul,
ul > ol,
ol > ol,
ol > ul {
  margin-bottom: 0;
}

a {
  color: #333;
}

hr {
  border: 0;
  border-bottom: 1px solid rgba(0,0,0,.1);
}

/* #LAYOUT */
.container {
  margin: 0 auto;
  max-width: 960px;
}

.col-3 {
  padding: .5rem;
  width: 100%;
}

@media(min-width: 800px) {
  .col-3 {
    float: left;
    width: 25%;
  }
}

.col-9 {
  padding: .5rem;
  width: 100%;
}

@media(min-width: 800px) {
  .col-9 {
    float: left;
    width: 75%;
  }
}

/* #TABLES */
.table {
  border-collapse: collapse;
  width: 100%;
}

.table > thead > tr > th {
  background-color: #2c5018;
  color: #fff;
  padding: .5rem;
  text-align: left;
}

.table > tbody > tr > td {
  border-bottom: 1px solid rgba(0,0,0,.1);
  padding: .5rem;
}

.table > tbody > tr:last-child > td {
  border-bottom: 0;
}

.responsive-table-wrapper {
  overflow-x: auto;
}

/* #HEADER */
.site-header {
  display: block;
  text-align: center;
}

@media (min-width: 1180px) {
  .site-header {
    display: none;
    text-align: center;
  }
}

.logo {
  display: none;
}

@media (min-width: 1180px) {
  .logo {
    display: block;
    margin-bottom: .75rem;
    max-height: 80px;
  }
}

/* #NAVBAR */
.navbar {
  margin-bottom: 1rem;
  position: relative;
}

.navbar:before,
.navbar:after {
  content: " ";
  display: table;
}

.navbar:after {
  clear: both;
}

.navbar__header {
  display: block;
}

@media (min-width: 800px) {
  .navbar__header {
    display: none;
  }
}

.navbar__header:before,
.navbar__header:after {
  content: " ";
  display: table;
}

.navbar__header:after {
  clear: both;
}

.navbar__drawer {
  display: none;
}

@media (min-width: 800px) {
  .navbar__drawer {
    display: block;
  }
}

.navbar__drawer.is-open {
  display: block;
}

.navbar__toggle {
  background-color: transparent;
  background-image: none;
  border: 1px solid;
  border-radius: 4px;
  float: right;
  font-weight: 500;
  margin-right: .5rem;
  position: relative;
  padding: .5rem;
  text-transform: uppercase;
}

.navbar__toggle:hover,
.navbar__toggle:focus {
  outline: 0;
}

.navbar__nav {
  list-style: none;
  margin-bottom: 0;
  padding-left: 0;
}

@media (min-width: 800px) {
  .navbar__nav {
    text-align: center;
  }
}

.navbar__nav:before,
.navbar__nav:after {
  content: " ";
  display: table;
}

.navbar__nav:after {
  clear: both;
}

.navbar__nav > li {
  display: block;
  position: relative;
  vertical-align: middle;
}

@media (min-width: 800px) {
  .navbar__nav > li {
    display: inline-block;
    position: relative;
  }
}

.navbar__nav > li > a {
  display: block;
  font-size: 1.2rem;
  font-weight: 500;
  padding: .5rem 1rem;
  position: relative;
  text-decoration: none;
}

@media (min-width: 1180px) {
  .navbar__nav > li > a {
    font-size: 1.4rem;
  }
}

.navbar__nav > li.logo-wrapper > a:hover {
  background-color: transparent;
}

.navbar__nav > li.logo-wrapper {
  display: none;
}

@media (min-width: 1180px) {
  .navbar__nav > li.logo-wrapper {
    display: inline-block;
  }
}

.caret {
  border-top: 4px dashed;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  display: inline-block;
  height: 0;
  margin-left: .25rem;
  vertical-align: middle;
  width: 0;
}

.dropdown__menu {
  background-clip: padding-box;
  background-color: transparent;
  display: none;
  list-style: none;
  margin-bottom: 0;
  padding-left: 0;
}

@media(min-width: 800px) {
  .dropdown__menu {
    background-color: #f6f6f6;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    box-shadow: 0 10px 10px 0 rgba(0,0,0,.25);
    float: left;
    min-width: 160px;
    position: absolute;
    top: 100%; left: 0;
    text-align: left;
    z-index: 100;
  }
}

.dropdown.is-open > .dropdown__menu {
  display: block;
}

.dropdown__menu > li > a {
  display: block;
  padding: .25rem 1rem;
  text-decoration: none;
  white-space: nowrap;
}

@media(min-width: 800px) {
  .dropdown__menu > li > a {
    clear: both;
  }
}

.dropdown__menu > li > a:hover {
  background-color: rgba(0,100,0,.10);
}

.dropdown__menu > li:last-child > a {
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
}

/* #IMAGE_FADER */
@keyframes fade {
  0%       { opacity: 0; }
  11.11%   { opacity: 1; }
  33.33%   { opacity: 1; }
  44.44%   { opacity: 0; }
  100%     { opacity: 0; }
}

.image-fader {
  display: none;
}

@media(min-width: 800px) {
  .image-fader {
    display: block;
    margin-bottom: 1rem;
    padding-bottom: 27.5%;
    position: relative;
  }

  .image-fader__img {
   animation-name: fade;
   animation-duration: 9s;
   animation-iteration-count: infinite;
   opacity: 0;
   max-width: 100%;
   padding-right: .5rem;
   padding-left: .5rem;
   position: absolute;
   top: 0; left: 0;
  }

  .image-fader__img:nth-child(1) { animation-delay: 0s; }
  .image-fader__img:nth-child(2) { animation-delay: 3s; }
  .image-fader__img:nth-child(3) { animation-delay: 6s; }
}

/* #SIDEBAR */
.sidebar {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: .5rem;
  padding: 1rem;
}

/* #CONTENT */
.content {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: .5rem;
  padding: 1rem;
}

.banner-image {
  display: none;
}

@media(min-width: 800px) {
  .banner-image {
    border-radius: 6px;
    display: block;
    margin-bottom: 1rem;
  }
}

/*BUTTON*/  
.btn {
  background-color: #2c5018;
  border: 0;
  border-radius: 0.25em;
  color: #ffffff;
  display: inline-block;
  font-size: inherit;
  line-height: inherit;
  font-family: inherit;
  padding: 0.5em 0.75em;
  text-decoration: none;
}

/* #FOOTER */
.site-footer {
  color: #666;
  clear: both;
  text-align: center;
}

/* #UTILS */
.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

.img-fluid {
  height: auto;
  max-width: 100%;
}

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.remove-margin-bottom {
  margin-bottom: 0;
}

.add-margin-bottom {
  margin-bottom: 1rem;
}

/* #THEME */
