/* Copyright by Andreas Pflügl | https://www.pflue.gl/ */

html {
    font-family: 'PT Sans', sans-serif;
    min-width: 100%;
    min-height: 100%;
    position: relative;
}

body {
    margin: 22px 20px 40px 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 10px 0;
}

header {
    border-top: 8px solid #86A425;
    border-bottom: 4px solid #86A425;
    border-radius: 8px 8px 0 0;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    background: #FFF;
}

header #logo {
    width: 40%;
    margin: 2% 30%;
}

header nav {
    font-size: 22px;
    text-align: center;
    padding: 16px;
}

header nav a {
    margin: 0 25px;
    transition: all 300ms;
}

header nav a:link {
    color: #86A425;
}

header nav a:visited {
    color: #86A425;
}

header nav a:hover {
   color: #587600;
}

a:link {
    transition: all 300ms;
    color: #86A425;
}

a:visited {
    color: #86A425;
}

a:hover {
   color: #587600;
}

#background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-position: center bottom;
    background-size: cover;
    z-index: -1;
}

#content {
    max-width: 1200px;
    margin: auto;
}

footer {
    background: #86A425;
    padding: 8px 20px;
    font-size: 18px;
    position: absolute;
    box-sizing: border-box;
    width: 100%;
    bottom: 0;
    left: 0;
}

footer #footer-body {
    max-width: 1200px;
    margin: auto;
}

footer #footer-body ul {
    list-style: none;
    margin: 0;
    padding: 0;
    float: right;
}

footer #footer-body ul li {
    display: inline-block;
}

footer #footer-body ul li a {
    transition: all 300ms;
    margin-left: 8px;
}

footer #footer-body ul li a:link {
    color: #000;
}

footer #footer-body ul li a:visited {
    color: #000;
}

footer #footer-body ul li a:hover {
   color: #FFF;
}

#slider {
    margin-bottom: 16px;
    overflow: hidden;
    padding-bottom: 33.33333333%;
    width: 100%;
    position: relative;
}

#slider #controls {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 200;
}

#slider #controls #prev, #slider #controls #next {
    cursor: pointer;
    position: absolute;
    height: 100%;
    width: 33%;
}

#slider #controls #next {
    right: 0;
}

#slider #controls #prev img, #slider #controls #next img {
    position: absolute;
    height: 30%;
    top: 35%;
    opacity: 0;
    transition: all 300ms;
}

#slider #controls:hover > #prev img, #slider #controls:hover > #next img {
    opacity: .6;
}

#slider #controls #prev:hover > img, #slider #controls #next:hover > img {
    opacity: 1;
}

#slider #controls #prev img {
    left: 16px;
}

#slider #controls #next img {
    right: 16px;
}

#slider figure {
    margin: 0;
    position: absolute;
    left: 0;
    width: 100%;
    /*animation: 20s slider-an infinite;*/
    display: block;
    height: 100%;
}

#slider figure .slider-item {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: all .5s;
}

#slider figure .slider-item.prev {
    left: -100%;
}

#slider figure .slider-item.active {
    left: 0;
}

#slider figure .slider-item.next {
    left: 100%;
}

@keyframes slider-an {
    0% { left: 0%; }
    28.33333333% { left: 0%; }
    33.33333333% { left: -100% }
    61.66666666% { left: -100% }
    66.66666666% { left: -200% }
    95% { left: -200% }
    100% { left: -300%; }
}

.widget-row {
    display: flex;
    width: 100%;
    padding-bottom: 16px;
    justify-content: space-between;
}

.widget-col {
    display: inline-block;
    width: calc(33% - 4px);
    padding: 0;
}

.widget {
    position: relative;
}

.widget:hover .thumbnail {
    transform: scale(1.1);
}

.widget:hover .desc {
    color: #587600;
}

.widget:link {
    color: #86A425;
}

.widget .thumbnail-wrapper {
    width: 100%;
    padding-bottom: 50%;
    position: relative;
    overflow: hidden;
}

.widget .thumbnail {
    position: absolute;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    transition: all 300ms;
}

.widget .desc {
    text-align: center;
    padding: 15px;
    font-size: 22px;
    font-weight: bold;
    color: #86A425;
    background: white;
}

input {
    background: none;
    border: 1px solid #999;
    border-left-width: 5px;
    color: #333;
    font-size: 14px;
    padding: 6px 8px;
    margin-bottom: 8px;
    transition: all 300ms;
    box-sizing: border-box;
    font-family: 'PT Sans', sans-serif;
    width: 100%;
}

input:required, textarea:required {
    border-color: #83A007;
}

input:optional, textarea:optional {
    border-color: #999;
}

input:invalid, textarea:invalid {
    border-color: #D12023;
}

input:focus, textarea:focus {
    border-color: #999;
    box-shadow: 0 0 5px #83A007;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    user-select: none;
}

.checkbox-container:hover {
    background-color: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #CCC;
}

.checkbox-container:hover input ~ .checkbox {
    background-color: #999;
}

.checkbox-container input:checked ~ .checkbox {
    background-color: #83A007;
}

.checkbox:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkbox:after {
    display: block;
}

.checkbox-container .checkbox:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

textarea {
    background: none;
    border: 1px solid #999;
    border-left-width: 5px;
    color: #333;
    font-size: 14px;
    padding: 6px 8px;
    margin-bottom: 8px;
    transition: all 300ms;
    box-sizing: border-box;
    font-family: 'PT Sans', sans-serif;
    width: 100%;
}

button {
    background: #86A425;
    border: 1px solid #999;
    color: #FFF;
    font-size: 18px;
    padding: 6px 8px;
    margin-bottom: 8px;
    transition: all 300ms;
    box-sizing: border-box;
    font-weight: bold;
    font-family: 'PT Sans', sans-serif;
    cursor: pointer;
    width: 100%;
}

button:hover {
    background: #FFF;
    color: #83A007;
}

.button {
    background: #86A425;
    border: 1px solid #999;
    color: #FFF !important;
    font-size: 18px;
    padding: 6px 8px;
    margin-bottom: 8px;
    transition: all 300ms;
    box-sizing: border-box;
    font-weight: bold;
    font-family: 'PT Sans', sans-serif;
    cursor: pointer;
    display: inline-block;
}

.button:hover {
    background: #FFF;
    color: #83A007 !important;
}

.box {
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 16px;
    margin-bottom: 0;
    font-size: 16px;
    text-align: justify;
    margin-bottom: 16px;
}

.box.success {
    background: rgba(131, 160, 7, 0.95);
    color: #FFF;
}

.box.alert {
    background: rgba(209, 32, 35, 0.95);
    color: #FFF;
}

.box h1 {
    border-bottom: 2px solid #83A007;
    margin-bottom: 12px;
}

.box h2 {
    border-bottom: 2px solid #83A007;
    margin-bottom: 12px;
}

.box .space-top {
    margin-top: 12px;
}

.box form {
    margin: 0;
}

.box-list {
    background: #FFF;
    list-style: none;
    padding: 0;
    margin: 0;
    font-weight: bold;
    font-size: 18px;
    line-height: 1.5;
    border: 1px solid #83A007;
}

.box-list li a {
    display: block;
    padding: 6px 16px;
    border-bottom: 1px solid #83A007;
    text-decoration: none;
    transition: all 300ms;
}

.box-list li a:hover {
    background: #83A007;
    color: #FFF;
}

.box-list li a.selected {
    background: #83A007;
    color: #FFF;
    text-decoration: underline;
}

.box-list li:last-child a {
    border-bottom: none;
}

.row > :first-child {
    padding-left: 0 !important;
}

.row > :last-child {
    padding-right: 0 !important;
}

.content-row {
    background: #fff;
    border-top: 4px solid #86A425;
    padding: 10px 20px 0 20px;
}

.image {
    position: relative;
    display: inline-block;
}

.image .label {
    display: inline-block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.75);
    font-size: 10px;
    padding: 2px 4px;
    box-sizing: border-box;
}

#contact_response_msg .box {
    font-size: 18px;
    font-weight: bold;
}

#opt_out {
    border: 0;
    width: calc(100% + 16px);
    height: 200px;
    margin: 0 -8px;
}

#cookie_banner {
    position: relative;
    z-index: 100;
    margin: -22px -20px 20px -20px;
    width: calc(100% + 40px);
    background-color: rgba(85, 85, 85, 0.95);
    color: #FFF;
    padding: 8px 16px;
    box-sizing: border-box;
}

#cookie_text {
    display: inline-block;
    max-width: calc(100% - 120px);
}

#cookie_button {
    position: absolute;
    top: calc(100% / 2 - 19px);
    right: 16px;
}

#cookie_button a {
    margin-bottom: 0;
}

#ap_logo {
    display: inline-block;
    width: 100%;
    max-width: 125px;
}

#ap_text {
    display: inline-block;
    vertical-align: top;
    margin-left: 16px;
}

#ap_text a:link {
    transition: all 300ms;
    color: #FF7F00;
}

#ap_text a:visited {
    color: #FF7F00;
}

#ap_text a:hover {
   color: #333;
}

#ap_text h3 {
    margin-bottom: 0;
}

/* Extra Small Devices, Phones */ 
@media only screen and (max-width : 360px) {
    #ap_logo {
        max-width: 110px;
    }
    
    #ap_text {
        margin-top: -3px;
    }
}

@media screen and (max-width: 480px) { 
    #cookie_text {
        display: block;
        max-width: 100%;
    }
    
    #cookie_button {
        position: inherit;
        top: inherit;
        right: inherit;
        margin-top: 8px;
    }
}

@media screen and (max-width: 768px) {
    #slider {
        margin-bottom: 12px;
        padding-bottom: 50%;
    }
    
    .widget-row {
        display: block;
        padding-bottom: 8px;
    }
    
    .widget-col {
        display: block;
        width: 100%;
        margin-bottom: 12px;
    }
    
    .widget .thumbnail-wrapper {
        padding-bottom: 33.33333333%;
    }
    
    header nav {
        font-size: 18px;
    }
    
    header #logo {
        width: 80%;
        margin: 4% 10%;
    }
    
    body {
        margin: 22px 10px 64px 10px;
    }
    
    #cookie_banner {
        margin: -22px -10px 10px -10px;
        width: calc(100% + 20px);
    }
    
    footer {
        font-size: 16px;
    }
    
    footer #footer-body {
        text-align: center;
        line-height: 1.5;
    }
    
    footer #footer-body ul {
        float: none;
    }
    
    #slider #controls #prev img {
        left: 8px;
    }
    
    #slider #controls #next img {
        right: 8px;
    }
    
    .box {
        font-size: 16px;
        /*text-align: inherit;*/
    }
    
    .box h1 {
        font-size: 24px;
    }
    
    .box h2 {
        font-size: 20px;
    }
}

@media screen and (max-width: 992px) {
    .row > [class^="col-"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
