/*
Theme Name: Kurse | Filmplace
Theme URI: https://ziegenhagel.com
Author: Dominik Ziegenhagel
Author URI: https://ziegenhagel.com/
Description: Our default theme for Ziegenhagel Media Websites
Version: 1.1.0
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
Text Domain: ziegenhagel-media
*/

/* load font from file "inter" */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/inter.ttf');
}

/* define variables */
:root {
    /* define COLORS */
    --color-primary: #181c26;
    --color-primary-darker: #000000;
    --color-secondary: #FDA30C;
    --color-tertiary: #fff;
    /* define FONTS */
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    /* define SIZES */
    --border-radius: 13px;
}

body {
    font-family: var(--font-primary);
    margin: 0;
    padding: 0;
}

* {
    font-family: var(--font-primary);
}

.container {
    max-width: 1200px;
    margin: 0px auto;
}

@media (max-width: 1300px) {
    .container {
        padding: 0 40px;
    }
}

/* NAVIGATION */
.navbar {
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #3A4750;
    background: rgba(0, 0, 0, 1.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar ul {
    padding: 0;
}

.navbar > .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}

.navbar .logo {
    font-size: 1.5em;
    font-weight: 700;
    color: #000;
    text-decoration: none;
}

.navbar .logo img {
    height: 25px;
}

.navbar .logo span {
    color: #777777;
}

.navbar .menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.navbar .menu-items {
    display: flex;
    justify-content: end;
    align-items: inherit;
    width: 100%;
    flex: 1;
}

header .navbar .search-wrapper {
    display: flex;
    justify-content: end;
    align-items: center;
    width: 100%;
    flex: 1;
}

header .navbar .search-wrapper #searchsubmit {
    display: none;
}

header .navbar .searchform #s {
    border: 1px solid #fff;
    border-radius: var(--border-radius);
    background: #fff3;
    color: #fff;
    font-size: 1.5em;
    padding: 10px 20px;
    width: 100%;
}

header .navbar .searchform {
    width: 100%;
    padding-left: 30px;
}

header .navbar .searchform #s:focus {
    outline: none;
}

.algolia-autocomplete {
    background: none;
}

.aa-dropdown-menu {
    border: none;
    border-radius: var(--border-radius);
    background: #fff9 !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
    overflow: hidden;
    margin-top: 10px;
}

.navbar .menu-items > li {
    margin: 0 20px;
}

footer .navbar .menu {
    align-items: start;
    width: 100%;
}

.navbar .menu li {
    list-style: none;
}

.navbar .menu li a {
    color: #fff;
    text-decoration: none;
    font-weight: 300;
}

.bg-white .navbar .menu li a {
    color: #333;
}

header nav li a {
    gap: 4px;
    display: flex;
}

header nav li a svg {
    height: 20px;
    width: 20px;
}


.bg-white .navbar .menu li.dropdown > a {
    color: #9E3982;
    /* the text color should be a gradient from primary to secondary */
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar .menu > li:hover > a, .navbar .menu > li.active > a {
}

/* dropdown menu */
.navbar .dropdown {
    position: relative;
    padding: 10px;
    display: block;
}

.navbar .dropdown:hover .dropdown-content {
    display: block;
}

header .navbar .dropdown:after {
    content: "";
    margin-top: 7px;
    opacity: 0;
    transition: .2s;
    margin-left: 4px;
    position: absolute;
    border-width: 6px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}

header .navbar .dropdown:hover:after {
    opacity: 0.3;
}

header .navbar .dropdown-content {
    margin-top: 10px;
    padding: 0;
    display: none;
    position: absolute;
    background: #dc5e30;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

header .navbar .big-dropdown.dropdown-content {
    position: fixed;
    left: 0;
    z-index: 100000;
    right: 0;
    background: none;
    box-shadow: none;
    padding-top: 30px;
}

/* inside there is a container, have elements per row */
header .navbar .big-dropdown.dropdown-content .container {
    background: linear-gradient(90deg, rgba(255, 223, 233, 0.8) 0%, rgba(255, 236, 202, 0.8) 100%);
    background: rgba(255, 255, 255, 0.85);
    /* blur everything behind the dropdown */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    display: flex;
    border-radius: var(--border-radius);
    flex-wrap: wrap;
    justify-content: start;
    align-items: start;
    flex-direction: row;
    padding: 20px;
    gap: 10px;

    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}

header .navbar .big-dropdown.dropdown-content:hover {
    display: block;
}

/* each li should at max be 250px wide */
header .navbar .big-dropdown.dropdown-content .container li a {
    width: 280px;
    box-sizing: border-box;
    border-radius: var(--border-radius);
    transition: .4s;
    display: flex;
    flex-direction: row;
    border: 2px solid transparent;
    gap: 10px;
    align-items: center;
}

header .navbar .big-dropdown.dropdown-content .container li:hover a {
    background: #fff;
    border-color: var(--color-primary);
    scale: 1.01;
}

header .navbar .big-dropdown.dropdown-content .container li a * {
    color: #000;
    margin: .3em 0;
}

header .navbar .big-dropdown.dropdown-content .container li h2 {
    font-size: 1em;
    line-height: 1.2em;
    font-weight: 700;
}

header .navbar .big-dropdown.dropdown-content .container li p {
    opacity: 0.7;
    font-weight: 500;
}

header .navbar .big-dropdown.dropdown-content .container li img {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius);
    aspect-ratio: 1;
    object-fit: cover;
    background-color: #fff9;
    list-style: none;
}

footer .navbar .dropdown-content {
    padding-left: 0;
}

header .navbar .dropdown-content a {
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

footer .navbar .dropdown-content a {
    font-weight: normal;
    margin: 6px 0;
    display: block;
    opacity: 0.8;
}

footer .navbar .dropdown-content a:hover {
    opacity: 1;
    text-decoration: underline;
}

header .navbar .dropdown-content a:hover {
    background-color: #fff3;
}

.navbar li.icon a, button.btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .25em;
}

.navbar li.icon a svg, .btn svg {
    width: 1.5em;
    height: 1.5em;
}

footer {
    font-size: .8em;
    padding: 10px 0;
}

div.elementor-column-gap-default > .elementor-column > .elementor-element-populated {
    padding: 0;
}

.elementor-widget-image-carousel {
    margin-bottom: -4px;
}

.elementor-heading-title {
    font-size: 3em;
    margin-bottom: 0;
}

body {
    font-size: 1.1rem;

}

.elementor-widget-text-editor {
    font-weight: 300;
}

ul.logo {
    display: flex;
    margin: 0;
    align-items: center;
}

ul.menu {
    margin: 0;
}

ul.logo select {
    border: none;
    font-size: 1em;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: none;
    color: white;
}

.container-fluid {
    min-height: 200px;
}

.container-fluid .elementor-widget-button .elementor-button {
    background: var(--color-primary);

}

.subnav {
    position: -webkit-sticky;
    position: sticky;
    top: 0px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 2px solid var(--color-primary-accent);
    background: var(--color-primary-bg);
    background: var(--color-primary-bg-alpha);

    margin-bottom: -120px;
}

.subnav img {
    height: 80px;
    margin: 5px 0;
    border-radius: 10px;
}

.subnav ul {
}

.subnav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.subnav ul {
    display: flex;
    justify-content: end;
    align-items: center;
    padding: 0;
    margin: 0;
}


nav a {
    color: white;
}

.elementor-widget-menu-anchor {
    margin-bottom: 0 !important;
    position: absolute;
    top: -65px;
}

.subnav a:hover {
    color: var(--color-primary-accent);
}

nav a > svg, .subnav a > svg {
    width: 1em;
    height: 1em;
}

nav a, .subnav a {
    padding: 12px 13px;
    text-decoration: none;
    transition: .2s;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
}

.subnav a {
    color: var(--color-primary-text);
}

.actions {
    display: flex;
    align-items: center;
    margin: 5px 0;
    flex-direction: row;
    font-size: .9em;
    justify-content: end;
}

.btn {
    border-radius: 5px;
    display: inline-block;
    padding: 5px 8px;
    height: fit-content;
    border: none;
    background: var(--color-primary-accent);
    color: var(--color-primary-text);
    cursor: pointer;
    transition: .2s;
}

.anmeldeformular nav button.btn {
    flex-direction: row;
    justify-content: center;
}

.subnav a.btn {
    padding: 4px 10px;
}

.subnav a.btn:hover {
    color: var(--color-primary-text);
}

body, html {
    background: var(--color-primary-bg);
}


.elementor-widget-container a {
    color: var(--color-primary-accent);
}

.elementor-widget-container a:hover {
    text-decoration: underline;
}

.kurse, .cards {
    /* grid 3 columns */;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
}

.kurse .kurs, .card {
    max-width: 400px;
    border-radius: 10px;
    background: var(--color-primary-bg);
    color: var(--color-primary-text);
    text-align: center;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.kurse .kurs .btn:hover {
    scale: 1.03;
}

.kurse .kurs img {
    width: 100%;
    max-width: 200px;
    aspect-ratio: 1;
    object-fit: contain;
    height: auto;
    margin: 0 auto;
    border-radius: 10px;
}

.kurse .kurs h2, .cards .card h2 {
    font-size: 1.2em;
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
}

.kurse .kurs h2 {
    font-size: 1.4em;
    font-weight: 600;
}

.kurse .kurs .description {
    flex: 1;
    margin: 30px 0;
    padding: 0px 20px;
    font-weight: 300;
}

:not(.subnav) .btn, .container-fluid .elementor-widget-button .elementor-button.elementor-button-link {
    font-size: 1em;
    border-radius: 8px;
    background: var(--color-primary-accent);
    text-decoration: none;
}

:not(.subnav) .btn {
    padding: 10px 20px;
}

.elementor-element.elementor-button-info .elementor-button.elementor-button-link {
    background: var(--color-primary-bg);
    color: var(--color-primary-text);
}

footer {
    text-align: center;
    opacity: .5;
}


.hover-border img {
    border: 2px solid transparent;
    transition: .2s;
}

.hover-border:hover img {
    border: 2px solid var(--color-primary-text);
    scale: 1.1;
}


.anmeldeformular {
    margin: 20px auto;
}

.anmeldeformular ul.steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 10px;
}

.anmeldeformular .btn,
.anmeldeformular ul.steps li {
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    background: #0001;
    opacity: .5;
    transition: .2s;
    border: 2px solid transparent;
}

.anmeldeformular .btn {
    flex: 0;
    padding: 10px 20px;
}

.anmeldeformular .cards .card {
    text-align: start;
}

.anmeldeformular ul.steps li > span {
    border: 1px solid #000;
    margin-bottom: 5px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.anmeldeformular .btn,
.anmeldeformular ul.steps li.done, .anmeldeformular ul.steps li.active {
    cursor: pointer;
    pointer-events: auto;
    background: #0001;
    opacity: 1;
}

.anmeldeformular .btn:hover,
.anmeldeformular ul.steps li:hover {
    opacity: 1;
    border-color: #0003;
}

.anmeldeformular .btn:active,
.anmeldeformular ul.steps li.active {
    border-color: #0003;
    background: #0002;
}

.anmeldeformular .kurs img {
    height: 130px;
}

.anmeldeformular .kurs, .anmeldeformular .cards .card {
    border: 2px solid transparent;
    transition: .2s;
}

.anmeldeformular .kurse.hasSelectedProgramm .kurs {
    opacity: .5;
    filter: grayscale(1);
    -webkit-filter: grayscale(1);
}

.anmeldeformular .cards .card:hover,
.anmeldeformular .cards .card.selected,
.anmeldeformular .kurse.hasSelectedProgramm .kurs.selected,
.anmeldeformular .kurse.hasSelectedProgramm .kurs:hover,
.anmeldeformular .kurs:hover {
    border: 2px solid black;
    scale: 1.03;
    cursor: pointer;
    opacity: 1;
    filter: grayscale(0);
    -webkit-filter: grayscale(0);
}

.anmeldeformular h2 {
    margin-top: 40px;
    text-align: center;
    margin-bottom: 20px;
}

.anmeldeformular ul.kursbereiche li {
    border-left: 5px solid gray;
    padding-left: 4px;
    margin-bottom: 2px;
}
.anmeldeformular ul.kursbereiche .green {
    border-color: #13a844;
}

.anmeldeformular ul.kursbereiche .orange {
    border-color: #f7b500;
}

.anmeldeformular ul.kursbereiche .red {
    border-color: #c73e3e;
}

.anmeldeformular .card h4 {
    margin: 0;
}

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

.anmeldeformular nav.for-back {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.anmeldeformular .checkbox-wrapper {
    display: flex;
    align-items: center;
    margin: 5px 0 15px;
}

.anmeldeformular .checkbox-wrapper input {
    margin: 0;
    width: 2rem;
    height: 2rem;
}

.anmeldeformular textarea,
.anmeldeformular select,
.anmeldeformular input {
    border: 1px solid #000;
    box-sizing: border-box;
    font-size: 1rem;
    border-radius: 5px;
    height: calc(1rem + 20px);
    padding: 10px;
    width: 100%;
    margin: 5px 0 15px;
    transition: .2s;
}

.anmeldeformular textarea {
    height: 100px;
}

.anmeldeformular .btn.btn-primary {
    background: #333333;
    color: white;
}

.anmeldeformular .btn.btn-primary:hover {
    background: #000000;
}

.anmeldeformular .confirmation > div {
    border: 1px solid #000;
    padding: 0 20px 20px;
    margin: 10px 0;
    border-radius: 10px;
}

.anmeldeformular .confirmation div h3 {
    margin-bottom: 0;
}

.anmeldeformular .confirmation div p {
    margin: 0;
}

.kurs.card {
    padding: 20px;
}

.card h3, .card ul {
    margin: 0;
    padding: 0;
}

.card h3 {
    margin-bottom: 10px;
    text-transform: uppercase;
}

.card ul li {

    list-style: none;
}

.anmeldeformular table {
    margin-top: 10px;
    width: 100%;
}

.anmeldeformular table td {
    padding: 10px 10px;
}

.anmeldeformular table tr td {
    border-top: 1px solid #0004;
}

.anmeldeformular ul {
    margin-top: 10px;
}

body {
    background: #eee;
}

/* dark mode */

@media (prefers-color-scheme: dark) {
    body {
        background: #000;
        color: #fff;
    }

    .anmeldeformular .btn,
    .anmeldeformular ul.steps li {
        background: #fff1;
        border-color: #fff3;
    }

    .anmeldeformular .btn:hover,
    .anmeldeformular ul.steps li:hover {
        background: #fff2;
        border-color: #fff3;
    }

    .anmeldeformular .btn:active,
    .anmeldeformular ul.steps li.active {
        border-color: #fff3;
        background: #fff2;
    }

    .anmeldeformular ul.steps li span,
    .anmeldeformular .kurs, .anmeldeformular .cards .card {
        border-color: #fff3;
    }

    .anmeldeformular .btn.btn-primary:hover {
        background: #c9c9c9;
    }

    .anmeldeformular .cards .card:hover,
    .anmeldeformular .cards .card.selected,
    .anmeldeformular .kurse.hasSelectedProgramm .kurs.selected,
    .anmeldeformular .kurse.hasSelectedProgramm .kurs:hover,
    .anmeldeformular .kurs:hover {
        border-color: #fff3;
    }

    .anmeldeformular textarea,
    .anmeldeformular select,
    .anmeldeformular input {
        border-color: #fff;
    }

    .anmeldeformular .btn.btn-primary {
        background: #fff;
        color: #000;
    }

    .anmeldeformular .confirmation > div {
        border-color: #fff3;
    }

    .anmeldeformular table tr td {
        border-top: 1px solid #fff3;
    }

    /*
    .alert .btn.btn-primary:hover { background: #ddd; }

     */
}

.anmeldeformular .msg {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
    white-space: pre-line;
    border-radius: 10px;
}

.no-pointer-events {
    pointer-events: none !important;
}

.alert {
    padding: 20px;
    margin: 15px 0;
    border-radius: 10px;
}

.btn.btn-primary.alert-danger, .alert-danger {
    background-color: #f44336;
    color: white;
    border-color: transparent;
}

.text-danger {
    color: #f44336;
}

.text-danger li {
    list-style: none;
}

.input-error {
    margin-top: -10px;
    margin-bottom: 10px;
}

.alert h3 {
    margin: 0;
}

.alert .btn {
    margin-top: 10px;
}


.flex {
    display: flex;
    gap: 1em;
}

.flex > * {
    flex: 1
}

@media (min-width: 992px) {
    .md\:flex {
        display: flex;
        gap: 1em;
    }

    .md\:flex > * {
        flex: 1
    }
}


