:root {
    --page-width-max: 1270px;
    --bg-color-main: #ffffff;
    --bg-color-main-alt: #efeaea;
    --bg-color-header: var(--bg-color-main);
    --bg-color-footer: rgb(40, 29, 29);
    --bg-color-highlight: #65140e;
    --bg-color-menu: var(--bg-color-highlight);
    --bg-color-button: var(--bg-color-highlight);
    --bg-color-button-active: #281d1d;
    --fg-color-light: #ffffff;
    --fg-color-button: var(--fg-color-light);
    --fg-color-footer: var(--fg-color-light);
    --fg-color-dark: #54595f;
    --fg-color-darker: #281d1d;
    --fg-color-highlight: #65140e;
}

/**
 * reset
 */
*, *::before, *::after {
    box-sizing: border-box;
}
* {
    margin: 0;
}
body {
    font-family: "Open Sans", Sans-serif;
    letter-spacing: -0.015em;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}
input, button, textarea, select {
    font: inherit;
}
p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

/**
 * classes
 */
.container {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-left: auto;
    margin-right: auto;
    max-width: var(--page-width-max);
    position: relative;
}

.row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
}

.column {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    position: relative;
    min-height: 1px;
    width: 100%;
}

.wrap {
    padding-bottom: 20px;
}

.button {
    background-color: var(--bg-color-button);
    color: var(--fg-color-button) !important;
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1;
    padding: 12px 24px;
    text-align: center;
    margin-right: 30px;
}

.button:last-child {
    margin-right: 0;
}

.button:hover {
    background-color: var(--bg-color-button-active);
}

.google-maps iframe {
    width: 100%;
    height: 250px;
}

@media only screen and (min-width: 1024px) {
    /*.column { flex-grow: 1; }*/
    .col-1 { width: calc(100% * 1 / 12); min-width: calc(100% * 1 / 12); }
    .col-2 { width: calc(100% * 2 / 12); min-width: calc(100% * 2 / 12); }
    .col-3 { width: calc(100% * 3 / 12); min-width: calc(100% * 3 / 12); }
    .col-4 { width: calc(100% * 4 / 12); min-width: calc(100% * 4 / 12); }
    .col-5 { width: calc(100% * 5 / 12); min-width: calc(100% * 5 / 12); }
    .col-6 { width: calc(100% * 6 / 12); min-width: calc(100% * 6 / 12); }
    .col-7 { width: calc(100% * 7 / 12); min-width: calc(100% * 7 / 12); }
    .col-8 { width: calc(100% * 8 / 12); min-width: calc(100% * 8 / 12); }
    .col-9 { width: calc(100% * 9 / 12); min-width: calc(100% * 9 / 12); }
    .col-10 { width: calc(100% * 10 / 12); min-width: calc(100% * 10 / 12); }
    .col-11 { width: calc(100% * 11 / 12); min-width: calc(100% * 11 / 12); }
    .col-12 { width: calc(100% * 12 / 12); min-width: calc(100% * 12 / 12); }

    .google-maps iframe {
        height: 350px;
    }
}

.img-wrap {
    padding: 10px;
    max-width: 580px;
    margin: 0 auto;
}

.iconized {
    padding: 10px;
    display: flex;
    flex-direction: row;
}

.iconized .icon {
    border: 2px solid var(--fg-color-highlight);
    color: var(--fg-color-highlight);
    display: inline-block;
    font-size: 25px;
    padding: 8px;
    border-radius: 50%;
    line-height: 1;
    text-align: center;
    flex-grow: 0;
    margin-top: 8px;
}

.iconized dd {
    margin-left: 20px;
}

.iconized .icon i {
    width: 1em;
}


/**
 * theme
 */
body {
    background-color: var(--bg-color-main);
    color: var(--fg-color-dark);
    font-weight: 500;
    font-size: 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

p {
    line-height: 1.5;
    margin: 0 0 1em;
}

body > header {
    background-color: var(--bg-color-main);
    border-bottom: 1px solid var(--bg-color-main);
    box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px 0px;
    padding: 20px;
    position: relative;
    z-index: 99;
}
body > header.sticky {
    position: fixed;
    top: 0;
}

body > header .logo {
    text-align: center;
}

body > header .logo a {
    display: inline-block;
}

body > header .logo img {
    display: inline-block;
}

body > header .row .column:first-child,
body > header .row .column:last-child {
    width: 100%;
}

body > footer {
    background-color: var(--bg-color-footer);
    color: var(--fg-color-footer);
    padding: 15px 0;
}

@media only screen and (min-width: 768px) {
    body > header .row .column:first-child {
        width: 25%;
    }

    body > header .row .column:last-child {
        width: 75%;
    }
}

/**
 * header menu
 */
header #menu-toggle-cb {
    position: absolute;
    top: -9999px;
    left: -9999px;
}

header #menu-toggle {
    display: block;
    cursor: pointer;
    color: #000;
    font-size: 22px;
    padding: 0.25em;
    margin: 0 auto;
}

header #menu-toggle-cb ~ #menu-toggle .open {
    display: block;
}
header #menu-toggle-cb ~ #menu-toggle .close {
    display: none;
}

header #menu-toggle-cb:checked ~ #menu-toggle .open {
    display: none;
}
header #menu-toggle-cb:checked ~ #menu-toggle .close {
    display: block;
}

header #menu-toggle-cb ~ nav {
    display: none;
}

header #menu-toggle-cb:checked ~ nav {
    display: block;
}

header nav {
    color: var(--fg-color-light);
    font-size: 13px;
    font-weight: 600;
    margin-top: 10px;
}

header nav ul {
    background-color: var(--bg-color-menu);
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

header nav ul li {
    display: block;
    margin: 0;
    text-transform: uppercase;
}

header nav ul li:hover {
    background-color: var(--bg-color-button-active);
}

header nav ul li > a {
    display: block;
    padding: 10px 20px;
}

header nav ul ul li > a {
    border-left: 8px solid transparent;
}

header nav ul li span.sub-arrow {
    padding: 10px 0 10px 10px;
    margin-top: -10px;
    margin-bottom: -10px;
}


/**
 * footer menu
 */
footer nav {
    margin: 0 auto;
    padding: 10px;
}

footer nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    margin: 0 -15px;
    padding: 0;
}

footer nav ul li {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 15px;
    word-break: break-word;
}

footer nav ul li:after {
    /**display: block;*/
    content: "";
    border-left-width: 1px;
    border-left-style: solid;
    border-color: var(--fg-color-footer);
    height: 100%;
    position: relative;
    width: auto;
    left: auto;
    right: -15px;
}

footer nav ul li:last-child:after {
    border-left-width: 0;
}

footer nav ul li a,
footer nav ul li span {
    font-size: 13px;
    font-weight: 500;
    padding-left: 5px;
}

footer nav ul li i {
    font-size: 15px;
    width: 1.25em;
}


/**
 * watermarks
 */
.watermark-pferd-kommunikation {
    background-image: url("/images/background-pferd-kommunikation.png");
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 33%;
}
.watermark-pferd-unterricht {
    background-image: url("/images/background-pferd-unterricht.png");
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 30%;
}
.watermark-pferd-kontakt {
    background-image: url("/images/background-pferd-kontakt.png");
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 30%;
}
.watermark-pferde {
    background-image: url("/images/background-pferde.png");
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 35%;
}



/**
 * page styles
 */

section.color-alt {
    background-color: var(--bg-color-main-alt);
}

section.hero {
    display: flex;
    min-height: 300px;
    padding: 50px 0;
    position: relative;
    text-align: center;
}

section.hero > .container {
    min-height: 300px;
}

section.hero h2 {
    color: #fff;
    font-weight: 700;
    font-size: 30px;
    letter-spacing: 1px;
    line-height: 1;
    text-transform: uppercase;
    text-shadow: rgb(0, 0, 0) -3px 3px 26px;
}

section.hero main {
    padding: 10px;
}


section.jumbo {
    padding: 20px;
    position: relative;
}

section.jumbo h2 {
    color: var(--fg-color-highlight);
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

section.jumbo h3 {
    color: var(--fg-color-highlight);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: normal;
    margin-bottom: 20px;
    text-transform: uppercase;
}

section.jumbo p + h3 {
    margin-top: 40px;
}

section.jumbo a {
    color: var(--fg-color-highlight);
}

section.jumbo .button {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
}

section.jumbo .gallery.mosaic {
    columns: 2;
}

section.cite {
    padding: 30px;
    position: relative;
    text-align: center;
}

section.widget-wrap {
    padding: 60px 0;
    position: relative;
}

section.gallery.grid {
    display: flex;
    flex-wrap: wrap;
}

section.gallery.grid h3 {
    color: var(--fg-color-highlight);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

section.gallery.grid p {
    margin-bottom: 30px;
}

section.gallery.grid > .gallery-item {
}

section.gallery.grid > .gallery-item > .gallery-item-wrap {
    background-color: var(--bg-color-main);
    margin: 20px;
    padding: 20px;
}

section.gallery.grid > .gallery-item .img-wrap {
    overflow: hidden;
    max-width: 100%;
    padding: 0;
    position: relative;
}

section.gallery.grid > .gallery-item .img-wrap > .img {
    background-position: 50% center;
    background-size: cover;
    inset: 0px;
    position: absolute;
}

section.gallery.grid > .gallery-item .content {
    padding: 20px;
}

section.gallery.mosaic {
    columns: 3;
    column-gap: 10px;
}

section.gallery.mosaic .gallery-item {
    padding-bottom: 10px;
}

section.gallery.mosaic img {
    width: 100%;
}

section.testimonials {
    padding: 40px;
}

section.testimonials .testimonials-item .testimonials-item-wrap {
    height: 100%;
}

section.testimonials .testimonials-item .content {
    background-color: var(--bg-color-main-alt);
    padding: 20px;
    text-align: center;
    position: relative;
}

section.testimonials .testimonials-item .content:after {
    background-color: var(--bg-color-main-alt);
    content: "";
    display: block;
    position: absolute;
    top: calc(100% - 7px);
    left: calc(50% - 7px);
    transform: translateX(-50%) scaleX(0.75) rotate(45deg);
    width: 14px;
    height: 14px;
}

section.testimonials .testimonials-item footer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
    padding: 0 20px;
}

section.testimonials .testimonials-item footer img {
    width: 80px;
    height: 80px;
    border-radius: 100%;
}

section.testimonials .testimonials-item footer .cite {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    font-style: normal;
    line-height: 1.5;
    margin-left: 20px;
}

section.testimonials .testimonials-item footer .cite .name {
    color: var(--fg-color-highlight);
    font-size: 13px;
    font-weight: 600;
}

section.testimonials .testimonials-item footer .cite .role {
    color: var(--fg-color-darker);
    font-size: 13px;
    font-weight: 600;
}

section.border-top-alt {
    padding-top: 100px;
}

main .content:not(:last-child) {
    margin-bottom: 20px;
}

#content ul {
    margin: 0;
    padding: 0;
    margin-bottom: 20px;
}

#content ul li {
    list-style: none;
    line-height: 1.5;
    padding-bottom: 5px;
}

#content ul li:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    color: var(--fg-color-highlight);
    content: "\f7ab";
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    width: 1.5em;
    font-size: 15px;
    padding-right: 5px;
    line-height: 1;
}


/**
 * backgrounds and borders
 */
.background-layer {
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

.border-layer {
    background-position: center bottom;
    background-repeat: repeat-x;
    background-size: auto;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

.border-layer.border-bottom {
    background-image: url("/images/border-bottom.png");
    background-position: center bottom;
}

.border-layer.border-top-alt {
    background-image: url("/images/border-top-alt.png");
    background-position: center top;
}


/**
 * screen sizes
 */
@media only screen and (min-width: 768px) {
    header .logo {
        justify-content: center;
        max-width: 25%;
    }

    header #menu-toggle {
        display: none;
    }

    header nav {
        display: flex !important;
        margin-top: auto;
        width: 100%;
    }

    header nav ul {
        background-color: transparent;
        list-style: none;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-end;
        margin-left: auto;
        padding: 0;
    }

    header nav > ul > li {
    }

    header nav > ul > li:hover {
        background-color: transparent;
    }

    header nav > ul > li > a {
        display: block;
        font-size: 13px;
        font-weight: 600;
        text-transform: uppercase;
        padding: 13px 10px;
        position: relative;
        color: var(--fg-color-darker);
    }

    header nav > ul > li.active > a {
        color: var(--fg-color-dark);
    }

    header nav > ul > li.active > a:before,
    header nav > ul > li.active > a:after,
    header nav > ul > li:hover > a:before,
    header nav > ul > li:hover > a:after {
        background-color: var(--fg-color-highlight);
        content: "";
        height: 2px;
        width: 100%;
        display: block;
        position: absolute;
        left: 0;
    }
    header nav > ul > li > a:before { top: 0; }
    header nav > ul > li > a:after { bottom: 0; }

    header nav > ul ul {
        position: absolute;
        display: none;
    }

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

    header nav > ul ul li {
        background-color: var(--bg-color-button);
    }

    header nav > ul ul li:hover {
        background-color: var(--bg-color-button-active);
    }

    header nav > ul ul li a {
        display: block;
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
        padding: 13px 20px;
        position: relative;
        color: var(--fg-color-light);
    }

    section.hero {
        padding: 80px 0;
    }

    section.hero h2 {
        font-size: 50px;
        padding: 0 50px;
    }

    section.jumbo h2 {
        font-size: 30px;
    }
}

@media only screen and (min-width: 1024px) {
    section.jumbo > .container > .row > .column:first-child {
        padding: 0 50px 0 0;
    }

    section.jumbo > .container > .row > .column:last-child {
        padding: 0;
    }

    section.hero > .container {
        min-height: 600px;
    }

    section.hero h2 {
        font-size: 70px;
    }

    section.jumbo {
        padding: 50px 0;
    }

    section.jumbo:first-child {
        padding: 100px 0 80px;
    }

    section.jumbo > .container {
        min-height: 350px;
    }

    section.cite {
        padding: 80px 30px;
    }

    section.cite > .container {
        max-width: 1140px;
    }

    section.section-kontakt > .container {
        min-height: 500px;
    }

    section.gallery.mosaic {
        columns: 5;
    }
}


/**
 * glide
 */
.glide__arrow {
    position: absolute;
    display: block;
    top: 50%;
    z-index: 2;
    color: var(--fg-color-highlight);
    background-color: transparent;
    border: 0px solid transparent;
    opacity: 1;
    cursor: pointer;
    transform: translateY(-50%);
    line-height: 1;
    font-size: 30px;
    font-weight: 400;
    text-align: center;
    width: 30px;
}

.glide__arrow:focus {
    outline: none;
}

.glide__arrow:hover {
    border-color: white;
}

.glide__arrow--left {
    left: 10px;
}

.glide__arrow--right {
    right: 10px;
}

.glide__arrow--disabled {
    opacity: 0.33;
    /*display: none;*/
}

.glide__bullets {
    position: absolute;
    z-index: 2;
    bottom: 2em;
    left: 50%;
    display: inline-flex;
    list-style: none;
    transform: translateX(-50%);
}

.glide__bullet {
    background-color: var(--fg-color-highlight);
    width: 9px;
    height: 9px;
    padding: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: all 300ms ease-in-out;
    cursor: pointer;
    line-height: 0;
    box-shadow: 0 0.25em 0.5em 0 rgba(0, 0, 0, 0.1);
    margin: 0 0.25em;
}

.glide__bullet:focus {
    outline: none;
}

.glide__bullet:hover, .glide__bullet:focus, .glide__bullet--active {
    border: 2px solid white;
    background-color: var(--fg-color-highlight);
}

.glide--swipeable {
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

.glide--dragging {
    cursor: grabbing;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
}
