* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    position: relative;
    min-height: 100%;
}

.clearfix::after {
    clear: both;
    content: ".";
    display: block;
    font-size: 0;
    height: 0;
    line-height: 0;
    visibility: hidden;
}

a {
    color: #000;
}

a:hover {
    color: #C3D485;
}

h1, h2, h3, h4, h5 {
    font-weight: normal;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

p {
    margin: 0;
}

hr {
    background: #C3D485;
    border: none;
    height: 4px;
}

body {
    background: #fff;
    font-family: 'Open Sans', sans-serif;
    font-weight: normal;
}

header {
    background: #E9F7F2;
}

#logo h1 {
    background: url('img/logo.png') no-repeat;
    text-indent: -99999px;
    outline: none;
    width: 120px;
    height: 38px;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
    #logo h1 {
        background: url('img/logo@2x.png') no-repeat;
        background-size: 120px 38px;
    }
}

#logo {
    display: block;
    width: 120px;
    height: 38px;
}

header .menu nav {
    position: relative;
}

header .menu .nav li {
    width: 100%;
    display: inline;
}

header .menu .nav li ul li {
    width: 100%;
    display: inline-block;
}

header .menu .nav li > ul {
    padding-left: 20px;
}

.header-logo, .header-social {
    padding-top: 30px;
}

header .menu {
    padding-top: 20px;
    padding-bottom: 20px;
}

header .menu a {
    color: #000;
    font-weight: 300;
    font-size: 18px;
}

header .menu .nav li ul li a {
    font-size: 16px;
}

header .menu li.active a {
    font-weight: 700;
}

header .menu li.active ul li a  {
    font-weight: 300;
}

header .menu li.active ul li.active a  {
    font-weight: 700;
}

header .social {
    float: right;
}

header .social li a {
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 20px;
    background: #C3D485;
    text-align: center;
    line-height: 36px;
    font-weight: 700;
    font-size: 23px;
    color: #fff;
    text-decoration: none;
}

header .social li a:hover {
    color: #C3D485;
    background: #fff;
}

footer {
    background: #E9F7F2;
    color: #000;
    width: 100%;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 400;
    line-height: 170%;
    letter-spacing: 0.1em;
    padding-top: 20px;
    padding-bottom: 40px;
}

footer a, footer a:hover {
    color: #000;
}

.footer-logo {
    height: 38px;
    background: url('img/logo.png') no-repeat center center;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
    .footer-logo {
        background: url('img/logo@2x.png') no-repeat center center;
        background-size: 120px 38px;
    }
}

.footer-address {
    text-align: center;
    padding-bottom: 20px;
    padding-top: 20px;
}

/* Form */

.contact-form {
    padding-bottom: 50px;
}

.form-control {
    border: 1px solid #000;
    border-radius: 0;
    color: #000;
}

.form-control.error {
    border: 1px solid #d21d1d;
}

.btn {
    background: #C3D485;
    border-radius: 0;
    border: 1px solid #000;
}

#sending, #sent {
    text-align: center;
}

#sending h4, #sent h4 {
    color: #C3D485;
    font-weight: 600;
}


/* Homepage */

#home-video {
    height: 400px;
}

.quote {
    margin: 20px 0;
    padding: 0 6%;
    line-height: 150%;
}

.quote h2 {
    font-weight: 300;
    font-size: 25px;
    margin: 20px 0;
}

.quote p {
    font-weight: 400;
    font-size: 14px;
}

/* General pages */

.content-blocks {
    width: 100%;
    position: relative;
    padding-bottom: 30px;
}

.content-blocks .image-block {
    margin: 30px 0;
}

.content-block {
    width: 100%;
    float: left;
}

.content-blocks .image-block img {
    width: 100%;
    border-top: 4px solid #C3D485;
}

.subtitle-block {
    margin: 20px 0;
}

.subtitle-block h2, .text-block h3 {
    font-weight: 400;
    font-size: 25px;
}

.text-block {
    margin: 20px 0;
    line-height: 150%;
}

.text-block p {
    font-weight: 400;
    font-size: 14px;
}

.text-block.content-quote p {
    font-weight: 400;
    font-size: 16px;
}

.yt {
    position: relative;
    padding-bottom: 56.25%;
}

.yt iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.photoalbum {
    margin-top: 20px;
    margin-bottom: 20px;
}

.photoalbum img {
    width: 100%;
}

.photoalbum .add-padding .row, .photoalbum .add-padding.row {
    padding-top: 10px;
    padding-bottom: 10px;
}

.photoalbum .add-padding .row .col-12, .photoalbum .add-padding.row .col-12 {
    padding-left: 10px;
    padding-right: 10px;
}

.photoalbum .description {
    padding: 20px !important;
    font-weight: 300;
    font-style: italic;
    font-size: 13px;
}

.mobile-padding .col-12 {
    padding-top: 10px;
    padding-bottom: 10px;
}

.footer-menu-left {
    border-right: 1px solid #000;
}

.footer-menu-left ul {
    float: right;
    text-align: right;
}

/* Contact Form */

#sending, #sent {
    display: none;
}

@media only screen and (max-width: 800px), only screen and (max-device-width: 480px), only screen and (max-device-width: 1024px) and (orientation:portrait) {
    #home-background {
        display: block;
        height: 400px;
        background-position: center !important;
        background-size: cover !important;
    }
    .backstretch {
        display: none !important;
    }
}

@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : landscape) {
    #home-background {
        display: block;
        height: 400px;
        background-position: center !important;
        background-size: cover !important;
    }
    .backstretch {
        display: none !important;
    }
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {

}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {

    body {
        margin-bottom: 140px;
    }

    header {
        height: 100px;
    }

    footer {
        position: absolute;
        bottom: 0;
        height: 140px;
        padding-bottom: 0;
    }

    .footer-logo {
        background: url('img/logo.png') no-repeat left center;
    }

    @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
    only screen and (-o-min-device-pixel-ratio: 3/2),
    only screen and (min--moz-device-pixel-ratio: 1.5),
    only screen and (min-device-pixel-ratio: 1.5) {
        .footer-logo {
            background: url('img/logo@2x.png') no-repeat left center;
            background-size: 120px 38px;
        }
    }

    .footer-address {
        text-align: left;
        padding-bottom: 0;
        padding-top: 0;
    }

    .mobile-padding .col-12 {
        padding-top: 0;
        padding-bottom: 0;
    }

    header .menu  {
        padding-top: 0;
        padding-bottom: 0;
    }

    header .menu nav {
        position: relative;
    }

    header .menu .nav {
        justify-content: center;
    }

    header .menu .nav li {
        padding: 34px 10px;
        position: relative;
        z-index: 15;
        width: auto;
    }

    header .menu .nav li ul {
        display: none;
        /*display: block;*/
        position: absolute;
        top: 100%;
        left: 0;
        margin: 0;
        padding: 0;
        text-align: left;
        z-index: 10;
    }

    header .menu .nav li ul li {
        margin: 0;
        padding: 5px 20px;
        background: #C9DD77;
        display: block;
        text-transform: uppercase;
    }

    header .menu .nav li ul li:first-child {
        padding-top: 10px;
    }

    header .menu .nav li ul li:last-child {
        padding-bottom: 10px;
    }

    header .menu .nav li:hover > ul {
        display:block;
    }

    .header-logo, .header-social {
        padding-top: 30px;
    }

    .quote h2, .quote p {
        text-align: center;
    }

}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

    header .menu .nav li {
        padding: 34px 20px;
    }
}
