/*
Theme Name: GSC Neo 2022
Theme URI: https://achtbit.media/
Author: Achtbit Media GmbH
Author URI: https://achtbit.media/
Description: WordPress-Theme für die Seite von Grundschule Creidlitz & Grub
Version: 1.0
Text Domain: gsc_neo_2022
*/

:root {
    --theme-color: #84BD00;
    --theme-color-hover: #668c0f;
    --green: #046A38;
    --background-gray: #EFEFEF;
    --font-color: #161873;
    --hover-font-color: #483185;
}

* {
    font-family: "Nunito", sans-serif;
}

html, body {
    height: 100%;
    padding: 0;
    margin: 0;
}

p:first-child {
    margin-top: 0;
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: var(--theme-color);
    font-weight: bold;
    text-decoration: none;
    transition: color .5s;

}

a:hover {
    color: var(--hover-font-color);

}

body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

header {
    position: relative;
    overflow: hidden;
    height: 400px;
}

label {
    color: var(--font-color);
}

input:not([type="checkbox"]):not([type="submit"]):not([type="file"]), textarea {
    border-radius: 5px;
    border: 1px solid #AAAAAA;
    padding: 5px;
    width: 100%;
    max-width: 350px;
    outline: none;
}

.wpcf7-list-item {
    margin: 0 0 15px;
}

.wpcf7-list-item label {
    display: flex;
}

.wpcf7-list-item label span a {
    font-weight: normal;
    color: var(--font-color);
}

.wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 15px;
}


input[name="your-consent"] {
    border-radius: 0;
    border: 1px solid #AAAAAA;
    transform: scale(1.25);
    outline: none;
    height: 100%;
    margin-right: 15px;
}

input[type="submit"]:disabled {
    background-color: gray;
    -webkit-appearance: none;
    cursor: default;
    outline: none;
}

input[type="submit"] {
    background-color: var(--theme-color);
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 10px 20px;
    border-radius: 10px;
    transition: background-color .5s;
    display: inline-block;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    border: none;
}


.gsc-neo-more-posts-button {
    text-decoration: none;
    color: white;
    background-color: var(--theme-color);
    font-size: 18px;
    padding: 10px 20px;
    border-radius: 10px;
    transition: background-color .5s;
    display: inline-block;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}


.gsc-neo-more-posts-button:hover {
    color: white;
}


.header-background-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.header-background-image-overlay {
    background-color: var(--theme-color);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.8;
}

.header-bottom-line {
    position: absolute;
    background-color: var(--green);
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
}

.nav-content {
    z-index: 10;
    height: 100px;
}

.nav-content nav {
    margin: 0 30px;
    font-size: 20px;
    line-height: 100px;
}

.nav-content nav ul {
    padding: 0;
    margin: 0;
}


.nav-content nav ul li {
    margin-left: 30px;
    display: inline-block;
    list-style-type: none;
    position: relative;
    z-index: 1100;

}

ul li a {
    font-weight: normal;
}

.nav-content nav ul li a {
    text-decoration: none;
    color: white;
    cursor: pointer;
}

.nav-content nav ul li ul {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    line-height: normal;
    background-color: white;
    padding: 15px;
    border-radius: 5px;
    bottom: 10px;
    transform: translateY(100%);
    transition: opacity .2s, visibility .2s;
}

.nav-content nav ul li:hover ul {
    opacity: 1;
    visibility: visible;
}


.nav-content nav ul li ul::before {
    position: absolute;
    top: -15px;
    left: 5px;
    width: 20px;
    height: 20px;
    content: "";
    background-image: url("inc/img/triangle.svg");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;

}

.nav-content nav ul li ul li {
    display: block;
    margin-left: 0;
}

.nav-content nav ul li ul li:not(:last-child) {
    margin-bottom: 10px;

}


.nav-content nav ul li ul li a {
    color: var(--font-color);

}

.nav-content nav ul li ul li.current-menu-item a {
    font-weight: bold;
}


.nav-content nav ul li ul li a:hover {

}

.current-menu-item > a, .current-menu-parent > a {
    font-weight: bold;
}

.header-content {
    display: flex;
    align-items: flex-end;
    height: calc(100% - 100px);
    margin-top: -30px;
    z-index: 10;
}

.header-content-left {
    width: calc(100% - 530px);
    /*text-align: center;
    */
    margin-bottom: 30px;
    position: relative;
    text-align: left;
    margin-left: 60px;
}

/*
body.home .header-content {
    align-items: center;
}

body.home .header-content-left {
    margin-bottom: 0;

}


 */
.header-content-right {
    width: 530px;
    height: 100%;
}

.header-content-left-title {
    margin: auto;
    display: inline-block;
    text-decoration: none;
}

.header-circle-image {
    position: absolute;
    height: 400%;
    bottom: -30px;
    z-index: 1000;
    right: 60px;
	transform: scale(0.25) translate(150%,150%);
}

.header-logo-image {
    width: 100%;
    color: #90bf21;
    color: #D5E55F;
}

.header-circle-content-image {
    position: absolute;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    width: 310px;
    height: 310px;
    border-radius: 50%;
    z-index: 1001;
    right: 150px;
    bottom: -45px;
}


.outer-wrapper {
    background-color: var(--background-gray);
    flex-grow: 1;
}

.wrapper {
    max-width: 1000px;
    margin: 60px auto 100px;
}


.gsc-neo-page-title {
    color: var(--font-color);
    font-size: 40px;
    margin-bottom: 60px;
}

.gsc-neo-icon-title {
    font-size: 40px;
    color: var(--font-color);
}


.inner-outer-wrapper {
    margin-left: 30px;
    margin-right: 30px;
}

.inner-wrapper {
    overflow: visible;
}


footer {
    background-color: var(--theme-color);
    flex-grow: 0;
    flex-shrink: 0;
    display: flex;
    align-items: flex-end;
    padding: 80px;
    color: white;
    font-size: 20px;
    position: relative;

}

.footer-content-left {
    width: 50%;
}

.footer-content-right {
    width: 50%;
    margin-left: 30px;

}

.footer-content-left a {
    color: white;
    text-decoration: none;
}

.footer-content-right a {
    display: block;
    color: white;
    text-decoration: none;
}

.footer-content-right a:not(:first-child) {
    margin-top: 30px;
}

footer h3 {
    margin-top: 0;
}

.footer-circle-image {
    position: absolute;
    width: 2400px;
    bottom: 0;
    right: 0;
	transform: scale(0.25) translate(150%,150%);
}

.footer-image-school {
    display: block;
    width: 200px;
    margin-bottom: 30px;
}

.gsc-neo-image-text-container {
    position: relative;
    color: var(--font-color);
    padding-top: 25px;

}

a.gsc-neo-image-text-container {
    font-weight: normal;
}

.gsc-neo-image-text-image-container {
    --size: 250px;
    width: var(--size);
    height: var(--size);
    border-radius: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1000;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    position: absolute;
    transform: translateY(-25px);
}

.gsc-neo-image-text-big-circle-container {
    --size: 100px;
    width: var(--size);
    height: var(--size);
    background-color: wheat;
    position: absolute;
    top: 165px;
    border-radius: 100%;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    z-index: 900;
}

.gsc-neo-image-text-small-circle-container {
    --size: 75px;
    width: var(--size);
    height: var(--size);
    background-color: lightgreen;
    position: absolute;
    top: 200px;
    left: 50px;
    border-radius: 100%;
    z-index: 1000;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

.no-image .gsc-neo-image-text-big-circle-container {
    top: unset;
    bottom: -30px;
}

.no-image .gsc-neo-image-text-small-circle-container {
    top: unset;
    bottom: -55px;
}

.so-widget-gsc_neo_text {
    padding-bottom: 55px;
}

.gsc-neo-image-text-title-text-container {
    min-height: 140px;
    background-color: white;
    border-radius: 10px;
    margin-left: 80px;
    padding-left: 220px;
    padding-top: 30px;
    padding-bottom: 30px;
    position: relative;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.no-image .gsc-neo-image-text-title-text-container {
    padding-left: 30px;
    min-height: unset;
}

.panel-grid:nth-of-type(even) .no-image .gsc-neo-image-text-title-text-container {
    padding-right: 30px
}


.panel-grid:nth-of-type(even) .gsc-neo-image-text-wrapper {
    padding-right: unset;
}

.panel-grid:nth-of-type(even) .gsc-neo-image-text-wrapper {
    padding-left: 30px;
}

.panel-grid:nth-of-type(even) .gsc-neo-image-text-title-text-container {
    padding-left: unset;
    padding-right: 220px;
    margin-right: 80px;
    margin-left: unset;
}


.panel-grid:nth-of-type(even) .gsc-neo-image-text-image-container {
    right: 0;
    left: unset;

}

.panel-grid:nth-of-type(even) .gsc-neo-image-text-big-circle-container {
    right: 0;
    left: unset;

}

.panel-grid:nth-of-type(even) .gsc-neo-image-text-small-circle-container {
    right: 50px;
    left: unset;
}

.gsc-neo-image-text-title-container h1 {
    margin: 0;
    margin-bottom: 10px;
}

.gsc-neo-image-text-wrapper {
    padding-right: 30px;
}

.gsc-neo-image-text-wrapper img,
.gsc-neo-icon-text-wrapper img {
    display: block;
    max-width: 100%;
    height: auto;
}

a.gsc-neo-image-text-container {
    font-weight: normal;
}

.so-widget-gsc_neo_image_text {
    min-height: 275px;
}

.gsc-neo-post-container {
    display: block;
    text-decoration: none;
    color: var(--font-color);
}

.panel-grid-news {
}

.panel-grid-news:not(:last-child) {
    margin-bottom: 50px;
}

h3.no-margin {
    margin-bottom: 0;
    margin-top: 0;
}

.gsc-neo-image-text-title-author-container {
    margin-bottom: 15px;
}

.gsc-neo-icon-text-container {
    width: calc(100% - 60px);
    padding: 30px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    background-color: white;
    text-align: center;
    position: relative;
    border-radius: 10px;
    color: var(--font-color);
    margin-right: auto;
    margin-left: auto;
    height: calc(100% - 60px);
}

.gsc-neo-icon-text-circle-container {
    position: relative;
    top: 0;
    width: 250px;
    max-width: 100%;
    left: 50%;
    transform: translateX(-50%);
}


.gsc-neo-icon-text-circle-container.small {
    width: 100%;
    max-width: 170px;
}


.gsc-neo-icon-text-image-container {
    width: 100%;
    padding-bottom: 100%;
    border-radius: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    z-index: 1000;
    transform: translateY(calc(-50% - 30px));
}


.gsc-neo-icon-text-big-circle-container {
    --size: 100px;
    width: 40%;
    padding-bottom: 40%;
    background-color: wheat;
    position: absolute;
    bottom: 0;
    left: -4%;
    border-radius: 100%;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    z-index: 900;
    transform: translateY(calc(50% * 2.5));
}

.gsc-neo-icon-text-small-circle-container {
    --size: 75px;
    width: 30%;
    padding-bottom: 30%;
    background-color: lightgreen;
    position: absolute;
    left: 25%;
    border-radius: 100%;
    z-index: 1000;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    transform: translateY(calc(25% * 3.33333333));
}

.gsc-neo-icon-text-wrapper {
    margin-top: 150px;
}

.gsc-neo-icon-text-wrapper img {
    display: block;
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}
.so-panel.widget_gsc_neo_icon_text {
    height: 100%;
    padding-top: calc(min(50%, 155px) - 30px);
    box-sizing: border-box;
}

.so-widget-gsc_neo_icon_text {
    height: 100%;
}

.gsc-neo-more-posts-button:hover {
    background-color: var(--theme-color-hover);
}

.pagination-nav {
    padding-top: 30px;
}

.screen-reader-text {
    display: none;
}

.nav-links ul {
    padding: 0;
    margin: 0;

}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    margin-right: 5px;

}

.nav-links ul li .page-numbers {
    display: inline-block;
    text-decoration: none;
    color: white;
    background-color: var(--theme-color);
    font-size: 20px;
    padding: 10px 20px;
    border-radius: 10px;
    transition: background-color .5s;
}

.nav-links ul li .page-numbers.current {
    font-weight: bold;
}

.mobile-menu-bars {
    display: none;

}

.mobile-menu {
    display: none;
}

@media (max-width: 1500px) {
    .footer-circle-image {
        width: 2000px;
    }
}

@media (max-width: 1300px) {
    .footer-circle-image {
        width: 1600px;
    }
}


@media (max-width: 1290px) {
    .header-content-right {
        width: 424px;
    }

    .header-content-left {
        width: calc(100% - 424px);
    }

    .header-circle-image {
        height: 320%;
        margin-right: 30px;
        right: 0;
    }

    .header-circle-content-image {
        width: 248px;
        height: 248px;
        margin-right: 30px;
        right: 72px;
    }

    .header-circle-image {
    }


}

@media (max-width: 1150px) {
    .header-content {
        display: block;
        margin-top: 0;
    }

    .header-content-left {
        width: unset;
        text-align: unset;
        margin-left: unset;

    }

    .header-logo-image {
        width: 80%;
    }


    .header-content-left-title {
        margin: 30px;
    }

    footer {
        display: block;
        font-size: unset;
    }

    .footer-content-left {
        width: unset;
    }

    .footer-content-right {
        margin-top: 60px;
        width: unset;
    }

    .footer-content-right {
        margin-left: 0;
    }

    .footer-circle-image {
        width: 200%;
    }

    .gsc-neo-image-text-title-text-container {
        border-radius: 18px;
    }

    .gsc-neo-icon-text-circle-container {
        width: 250px;
        max-width: 100%;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 1070px) {
    .nav-content nav {
        display: none;
    }

    .nav-content {
        display: none;
    }

    .mobile-menu-bars {
        display: block;
        position: relative;
        float: right;
        color: white;
        margin-top: 30px;
        margin-right: 30px;
        z-index: 100000;
        cursor: pointer;
    }

    .menu-bar {
        margin-top: 7px;
        height: 3px;
        background-color: white;
        width: 40px;
        transition: transform .3s;
        border-radius: 15px;
    }

    .menu-bar-2 {
        width: 35px;
        margin-left: 5px;
    }

    .mobile-menu-bars.open {
        margin-top: 30px;
        height: 40px;
    }

    .mobile-menu-bars.open .menu-bar {
        background-color: var(--theme-color);
        margin-top: 15px;
    }

    .mobile-menu-bars.open .menu-bar-2 {
        display: none;
    }

    .mobile-menu-bars.open .menu-bar-1 {
        transform: rotate(-45deg);
    }

    .mobile-menu-bars.open .menu-bar-3 {
        margin-top: -3px;
        transform: rotate(45deg);

    }

    .mobile-menu-close {
        position: absolute;
        top: 30px;
        right: 30px;
        font-size: 50px;
        cursor: pointer;
        height: 40px;
    }

    .mobile-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background-color: white;
        display: none;
        z-index: 100000;
    }


    .mobile-menu ul {
        list-style-type: none;
        margin: 60px;
        padding: 0;
        font-size: 25px;
    }

    .mobile-menu li a {
        text-decoration: none;
        color: var(--font-color);
    }

    .mobile-menu > ul > li {
        display: none;
        margin-top: 15px;
    }

    .mobile-menu > ul > li:first-child {
        margin-top: 0;
    }

    .mobile-menu ul li ul {
        margin: 0;
        display: none;
        font-size: 20px;
    }

    .mobile-menu ul li ul li {
        margin-top: 5px;
    }

    .mobile-menu ul li ul li:first-child {
        margin-top: 15px;
    }


    .mobile-menu li.menu-item-has-children > a {
        cursor: pointer;
    }
}

@media (max-width: 800px) {
    .gsc-neo-page-title {
        font-size: 25px;
    }

}

@media (max-width: 700px) {
    .so-widget-gsc_neo_image_text {
        padding-top: 90px;
        font-size: 15px;
    }


    .panel-grid:nth-of-type(even) .gsc-neo-image-text-title-text-container {
        padding-right: 30px;
    }

    .so-widget-gsc_neo_text {
        padding-bottom: unset;
        padding-top: 35px;
    }


    .gsc-neo-image-text-wrapper h3 {
        font-size: 18px;
    }


    .gsc-neo-image-text-image-container {
        top: 0;
        left: calc(30px + 5%);
        transform: translateY(-50%);
        --size: 175px;
    }

    .gsc-neo-image-text-big-circle-container {
        top: 25px;
        left: 30px;
        --size: 75px;
    }

    .gsc-neo-image-text-small-circle-container {
        top: 65px;
        left: calc(30px + 7%);
        --size: 50px;
    }

    .no-image .gsc-neo-image-text-big-circle-container {
        top: -35px;
        left: -15px;
        --size: 75px;
    }

    .no-image .gsc-neo-image-text-small-circle-container {
        top: -5px;
        left: 20px;
        --size: 50px;
    }

    .no-image .gsc-neo-image-text-title-text-container {
        padding-top: 30px;
    }

    .gsc-neo-image-text-title-text-container {
        padding-left: 30px;
        padding-top: 120px;
        margin-left: unset;
    }

    .panel-grid:nth-of-type(even) .gsc-neo-image-text-image-container {
        right: calc(30px + 5%);
    }

    .panel-grid:nth-of-type(even) .gsc-neo-image-text-big-circle-container {
        right: 30px;
    }

    .panel-grid:nth-of-type(even) .gsc-neo-image-text-small-circle-container {
        right: calc(30px + 7%);
    }

    .panel-grid:nth-of-type(even) .no-image .gsc-neo-image-text-big-circle-container {
        right: -15px;
    }

    .panel-grid:nth-of-type(even) .no-image .gsc-neo-image-text-small-circle-container {
        right: 20px;
    }


    .panel-grid:nth-of-type(even) .gsc-neo-image-text-title-text-container {
        margin-right: unset;
    }

    .gsc-neo-page-title:not(.event) {
        margin-top: 0;
        margin-bottom: 20px;
    }

    .gsc-neo-icon-title {
        font-size: 25px;
    }

    .wrapper {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    footer {
        padding: 30px;
        padding-bottom: 150px;
    }

    .footer-circle-image {
        width: 320%;
    }

    .panel-grid:not(:last-child) {
        margin-bottom: 30px !important;
    }

    .panel-grid-cell:not(:last-child) {
        margin-bottom: 30px !important;
    }


    .pagination-nav {
        padding-top: unset;
    }
}

@media (max-width: 600px) {

}

@media (max-width: 620px) {
    .header-circle-image {
        height: 960px;
    }

    .header-circle-content-image {
        width: 186px;
        height: 186px;
        right: 54px;
    }

    .header-content-left-title {
        max-width: calc(100% - 130px);
    }
}

@media (max-width: 390px) {
    .header-circle-image {
        height: 800px;
    }

    .header-circle-content-image {
        width: 155px;
        height: 155px;
        right: 45px;
    }
}

@media (max-width: 330px) {
    .header-circle-image {
        height: 640px;
    }

    .header-circle-content-image {
        width: 124px;
        height: 124px;
        right: 36px;
    }
}
