/*
* === Global shared ===
*/

html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

body {
    font-family: "Quicksand", sans-serif;
    margin: 0;
    padding: 0;
}

.main-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

div.container {
    max-width: 1180px;
    padding: 0 30px;
    margin: 0 auto;
}

h1,h2,h3,h4 {
    color: #333;
    margin: 0 0 25px 0;
    padding: 0;
    font-weight: 400;
}

h2 {
    display: inline-block;
    line-height: 1.2;
}

h2:after {
    content: "";
    height: 10px;
    border-bottom: 2px solid #de9b4a;
    position: relative;
    display: block;
    bottom: 0;
}

a {
    text-decoration: none;
    transition: 0.5s;
}

a:hover {
    text-decoration: underline;
    transition: 0.5s;
}

p {
    margin: 0 0 1.5em 0;
    padding: 0;
    line-height: 25px;
    color: #333;
}

a.button {
    background-color: #de9b4a;
    color: #fff;
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
}

a.button:hover {
    background-color: #e1a55c;
    text-decoration: none;
}

a.button img {
    display: inline-block;
    height: 22px;
    margin-right: 15px;
}

div.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    margin-bottom: 1.5em;
}

div.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

div.video-wrapper:last-of-type {
    margin-bottom: 0;
}

/*
* === Header ===
*/

header {
    padding: 2em 0;
    position: relative;
    border-bottom: 1px solid #838280;
    background-image: url('images/background-header.jpg');
    background-size: cover;
}

div.header-border {
    background-color: #000;
    height: 10px;
}

div.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: end;
}

header div.logo {
    display: flex;
    align-items: center;
}

header div.logo a {
    color: #fff;
}

header div.logo a:hover {
    text-decoration: none;
}

header div.logo div.logo-image {
    flex-shrink: 0;
    margin-right: 2rem;
}

header div.logo h1.header-title {
    font-family: lora, serif;
    letter-spacing: 1px;
    margin: 0;
    padding: 0;
    line-height: 1.15;
    text-transform: uppercase;
    font-weight: 100;
}

header div.logo span.header-subtitle {
    font-size: 13.5px;
    line-height: 150%;
    color: #fff;
}

header div.header-contact {
    text-align: right;
}

header div.header-contact p,
header div.header-contact a {
    color: #fff;
    margin: 0;
}

header div.header-contact p > span {
    font-weight: bold;
}

header div.header-contact img {
    display: none;
}

/*
* === Content ===
*/

div.content {
    background-color: #fff;
    padding: 3em 0;
    flex: 1;
}

div.content h1 {
    color: #295301;
}

div.content table {
    text-align: left;
    margin-bottom: 1.5em;
}

div.content table td {
   padding: 7px 0px 7px 15px;
}

div.content img.featured {
    float: right;
    margin: 10px 0 2em 2em;
    max-width: 450px;
    width: 100%;
  }

/*
* === Media ===
*/


div.media {
    background-color: #E5E5E5;
    padding: 3em 0;
}

div.media-inner {
    display: flex;
    justify-content: space-between;
}

div.media-left,
div.media-right {
    width: 48%;
}

div.media-right {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/*
* === About ===
*/

div.about {
    background-color: #fff;
    padding: 3em 0;
}

div.about ul.social-icons {
    margin: 0;
    padding: 0;
}

div.about ul.social-icons li {
    list-style-type: none;
    display: inline-block;
    margin-right: 15px;
}

div.about ul.social-icons li img {
    height: 58px;
}

div.about ul.social-icons li:last-of-type {
    margin-right: 0;
}

/*
* === Footer ===
*/

footer {
    background-color: #333333;
    padding: 2em 0;
}

footer p {
    color: #fff;
    line-height: 25px;
    margin: 0;
    font-size: 0.85em;
}

footer a {
    color: #7C7565;
}

div.footer-inner {
    display: flex;
    justify-content: space-between;
}

div.footer-right {
    text-align: right;
}

.tac {
  text-align: center;
}

.tac >* {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

form {
  margin-top: 50px;
}

.error {
  background-color: #f8d7da;
  border: solid 1px #f5c6cb;
  border-radius: .25rem;
  display: inline-block;
  padding: .5rem 1rem;
}

.error p {
  margin-bottom: 0;
  font-weight: bold;
}

input[type="text"] {
  display: inline-block;
  /* width: 100%; */
  height: 30px;
  padding: 3px 10px;
  font-size: 1rem;
  line-height: 1;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: .25rem;
}

input[type="submit"] {
  display: inline-block;
  height: 38px;
  background-color: #de9b4a;
  color: #fff;
  padding: 3px 10px;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  border: none;
  border-radius: .25rem;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: #e1a55c;
  text-decoration: none;
}

/*
* === Media queries ===
*/

@media screen and (max-width: 1365px) {

}

@media screen and (max-width: 1279px) {

    /* Footer */

    footer div.footer-inner {
        flex-wrap: wrap;
    }

    footer div.footer-left,
    footer div.footer-right {
        width: 100%;
        text-align: center;
    }

    footer div.footer-left {
        margin-bottom: 1.5em;
    }

}

@media screen and (max-width: 1023px) {

    /* Global */

    div.content img.featured {
        max-width: 300px;
    }

    /* Header */

    header div.logo span.header-subtitle {
        display: none;
    }

    div.header-inner {
        align-items: center;
    }

    header {
        padding: 1em 0;
    }

    header div.header-contact {
        display: flex;
    }

    header div.header-contact img {
        display: inline-block;
        height: 20px;
    }

    header div.header-contact p:first-of-type img {
        margin-right: 15px;
    }

    header div.header-contact span {
        display: none;
    }

}

@media screen and (max-width: 767px) {

    /* Global */

    div.content img.featured {
        max-width: 250px;
    }

    /* Media */

    div.media-inner {
        flex-wrap: wrap;
    }

    div.media-left,
    div.media-right {
        width: 100%;
    }

    div.media-left {
        margin-bottom: 1.5em;
    }

    div.media-right {
        height: 0;
        padding-top: 55%;
    }

}

@media screen and (max-width: 639px) {

    /* Global */

    div.content img.featured {
        max-width: 100%;
        margin-left: 0;
        margin-bottom: 1.5em;
    }

    /* Header */

    header div.logo h1.header-title {
        display: none;
    }

}

@media screen and (max-width: 479px) {

    /* Global */

    h2 {
        font-size: 20px;
    }

}