@charset "UTF-8";
:root {
    --primary-color: #5ea378;
    --primary-color-hover: hsl(143, 27%, 60%);
    --secondary-color: #ffffff;
    --secondary-color-hover: hsl(203, 100%, 41%);
    --third-color: #fff6ee;
}

[data-theme='gpjoule']:root {
    --primary-color: #ffe522;
    --primary-color-hover: #fce644;
    --secondary-color: black;
    --secondary-color-hover: hsl(203, 100%, 41%);
    --third-color: #fff6ee;
}

[data-theme='enerparc']:root {
    --primary-color: #003878;
    --primary-color-hover: #000;
    --secondary-color: #efefef;
    --secondary-color-hover: hsl(0, 0%, 100%);
    --third-color: #003878;
}

[data-theme='reon']:root {
    --primary-color: #ef8606;
    --primary-color-hover: hsl(33, 95%, 58%);
    --secondary-color: #0063a0;
    --secondary-color-hover: hsl(203, 100%, 41%);
    --third-color: #fff6ee;
}

[data-theme='bad-nauheim']:root {
    --primary-color: #4f8c76;
    --primary-color-hover: hsl(158, 28%, 53%);
    --secondary-color: #efefef;
    --secondary-color-hover: hsl(0, 0%, 100%);
    --third-color: #003878;
}

[data-theme='solnet']:root {
    --primary-color: #f7a600;
    --primary-color-hover: hsl(40, 100%, 58%);
    --secondary-color: #efefef;
    --secondary-color-hover: hsl(0, 0%, 100%);
    --third-color: #003878;
}

[data-theme='gi-crowd']:root {
    --primary-color: #8ca16a;
    --primary-color-hover: hsl(83, 23%, 62%);
    --secondary-color: #efefef;
    --secondary-color-hover: hsl(0, 0%, 100%);
    --third-color: #003878;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul,
li,
figure,
figcaption,
blockquote,
dl,
dd {
    margin: 0;
    padding: 0;
    list-style: none;
}

ol,
ul {
    list-style: none;
}

html {
    font-size: 100%;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
        'Helvetica Neue', Arial, sans-serif;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
}

table {
    border-collapse: collapse;
}

input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
}

.input-wrapper input {
    width: 100%;
}

button {
    cursor: pointer;
}

button,
[type='button'],
[type='reset'],
[type='submit'] {
    -webkit-appearance: button;
}

input[type='text'],
input[type='email'],
input[type='url'],
input[type='password'],
input[type='number'],
input[type='date'],
input[type='month'],
input[type='week'],
input[type='time'],
input[type='datetime'],
input[type='datetime-local'],
input[type='search'],
textarea {
    -webkit-appearance: none;
    border-radius: 0;
}

button {
    padding: 10px 20px;
    color: #ffffff;
    border: 0;
    border-radius: 0.5em;
    background-color: var(--primary-color);
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.25s, transform 0.2s; /* Füge transform zur Transition hinzu */

}
button:hover {
    background-color: var(--primary-color-hover);
    transform: scale(1.025); /* Vergrößere den Button leicht */
}

.button-primary {
    padding: 10px 20px;
    color: #ffffff;
    border: 0;
    border-radius: 0.5em;
    background: var(--primary-color);
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.5s;
    display: inline-block;
}
.button-primary:hover {
    background-color: var(--primary-color-hover);
    transform: scale(1.025); /* Vergrößere den Button leicht */
}

.button-primary-inverted {
    padding: 10px 20px;
    color: var(--primary-color);
    border: 0;
    border-radius: 0.5em;
    border: 1px solid var(--primary-color);
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.5s;
    display: inline-block;
    background-color: unset;
}
.button-primary-inverted:hover {
    background-color: unset;
    transform: scale(1.025); /* Vergrößere den Button leicht */
}

.remove-preview {
    width: 200px;
    height: 50px;
    padding: 0px 10px;
}

body {
    overflow-y: hidden; /* Hide vertical scrollbar */
}

h1 {
    font-size: 36px;
}

.hidden {
    display: none;
}

#hint_headline {
    font-weight: 700;
}

.infobox {
    background: #e0e0e0;
    padding: 1.5em;
    font-style: italic;
    font-size: 16px;
}

div.hintbox {
    margin-top: 30px;
    color: #e6ac00;
    line-height: 19px;
}

.top-section {
    padding: 24px 70px 40px 24px;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.top-section p {
    font-size: 16px;
}

footer {
    display: none;
}

.introtext p,
.introtext-mobile p {
    display: inline;
    line-height: 1.4;
}
.introtext .form-info,
.introtext-mobile .form-info {
    padding: 0 0.5em;
    height: 18px;
}

.project-create-steps {
    display: flex;
    justify-content: center;
    padding: 0 1em;
}
.project-create-steps .steps {
    border-bottom: 4px solid #8fa3a3;
    margin: 0 0.5em;
    padding: 0.25em 3em;
    display: block;
}
.project-create-steps .step-1 {
    border-bottom: 4px solid #000000;
}

.project-create-form-container {
    background: #f8f8f8;
}

.project-create-form {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
}

.project-create-form-page {
    display: none;
}

#project-create-form_content_fields_1 {
    display: block;
}

.project-create-form-wrapper-content {
    max-width: 1280px;
    margin: 0 auto;
}

.project-form-page-content-end {
    display: flex;
    justify-content: flex-end;
}

.project-create-form_content {
    overflow: auto;
    padding: 3.2em 5em 5em 5em;
    margin-top: 1em;
    height: calc(100vh - 170px);
}

/* Page content. The value of the margin-left property should match the value of the sidebar's width property */
div.project-create-form_content {
    margin-left: 400px;
}

/* Demonstrate a "mostly customized" scrollbar
 * (won't be visible otherwise if width/height is specified) */
.mostly-customized-scrollbar::-webkit-scrollbar {
    width: 4px;
    height: 7px;
    background-color: #e8e8e8; /* or add it to the track */
}

/* Add a thumb */
.mostly-customized-scrollbar::-webkit-scrollbar-thumb {
    background: #c6cdcd;
}

.project-create-form_sidebar:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(transparent 60%, white);
}

.content-bar div {
    max-width: 968px;
    width: 100%;
}

.project-create-form_sidebar {
    margin: 0;
    padding: 0;
    width: 400px;
    border-right: 2px solid #f8f8f8;
    position: fixed;
    height: calc(100vh - 200px);
    z-index: 1;
    overflow-x: hidden;
    direction: rtl;
}
.project-create-form_sidebar .project-create-form_sidebar_content {
    padding: 0 4em 4em 4em;
    top: 75px; /* Höhe der Border Linie auf der rechten Seite mit Pfeil*/
    position: relative;
    border-bottom: 2px solid #f8f8f8;
    direction: ltr;
}

.scrollbar-wrapper {
    width: 400px;
    position: relative;
}
.scrollbar-wrapper:after {
    content: url(../../assets/polygon.svg);
    top: 75px;
    position: absolute;
    z-index: 2;
    right: -9px;
    width: 10px;
    height: 10px;
}

.indicator {
    content: url(../../assets/polygon.svg);
    top: 265px;
    padding: unset;
    position: absolute;
    z-index: 2;
    overflow: visible;
    left: 532px;
}

.project-create-form_sidebar_wrapper {
    height: 100%;
    overflow-y: auto; /* Für vertikales Scrollen */
    position: relative; /* Damit der absolute .indicator sich relativ zu diesem Element positioniert */
}

.form-info {
    content: url('../../assets/form-info.svg');
}

/* On screens that are less than 700px wide, make the sidebar into a topbar */
@media screen and (max-width: 700px) {
    .project-create-form_sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    .project-create-form_sidebar a {
        float: left;
    }
    div.content {
        margin-left: 0;
    }
}
/* On screens that are less than 400px, display the bar vertically, instead of horizontally */
@media screen and (max-width: 400px) {
    .project-create-form_sidebar a {
        text-align: center;
        float: none;
    }
}
#hint_headline,
.hint_headline {
    color: #000000;
    font-weight: bold;
}

.project-form-row {
    padding-bottom: 30px;
}

.project-form-row-top {
    display: flex;
    margin-bottom: 24px;
}

.form-headline {
    padding-left: 0.6em;
    font-size: larger;
}
.form-headline label {
    font-size: larger;
}

.form-headline-sub {
    font-size: larger;
}

.button-back,
.button-reset,
#button-discard {
    background: #f8f8f8;
    color: #6f6f6f;
}

.button-save {
    border: 1px solid #8fa3a3;
    border-radius: 10px;
    color: #6f6f6f;
    background: unset;
    white-space: nowrap;
}

#button-module-save {
    padding: 10px 20px;
    color: #ffffff;
    border: 0;
    border-radius: 0.5em;
    background: #1d6b4e;
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.5s;
}

.multiple-buttons-footer {
    justify-content: space-between;
}
.multiple-buttons-footer div button:last-child {
    margin-left: 1em;
}

.modul-save {
    background: rgba(0, 0, 0, 0.134);
    backdrop-filter: blur(5px);
    opacity: 100;
    z-index: 1000;
    position: absolute;
    height: 100vh;
    width: 100%;
    top: 0;
    left: 0;
    display: none;
    justify-content: center;
    align-items: center;
}

.modul-save-content {
    width: 100vh;
    background: white;
    /* margin-left: auto; */
    /* margin-right: auto; */
    /* left: 0; */
    /* right: 0; */
    padding: 5em;
}
.modul-save-content div:first-child {
    font-size: 20px;
    font-weight: 600;
    padding-bottom: 1.6em;
    line-height: 1.4;
}
.modul-save-content div:last-child {
    display: flex;
    justify-content: space-between;
}

.file-wrapper-headline {
    font-size: 16px;
    text-align: center;
}

.file-wrapper-info {
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

.file-wrapper {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    border: 2px dashed #8fa3a3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-upload-image {
    content: url('../../assets/file-image-upload.svg');
    display: flex;
    justify-content: center;
    margin: 0 auto;
    padding-bottom: 24px;
}

.file-upload-document {
    content: url('../../assets/documents.svg');
    display: flex;
    justify-content: center;
    margin: 0 auto;
    padding-bottom: 24px;
    height: 75px;
}

.box-tools {
    position: absolute;
    right: 10px;
    top: 5px;
}

.icon-zone {
    margin-bottom: 20px;
}

.dropzone-wrapper {
    border: 2px dashed #8fa3a3;
    color: #000;
    position: relative;
    height: 200px;
    display: flex;
    background: #f8f9fa;
    align-items: center;
    justify-content: center;
    padding: 0 2.4em;
    border-radius: 10px;
}

.full {
    background: #e8e8e8;
    cursor: none;
}

.dropzone,
.dropzone:focus {
    position: absolute;
    outline: none !important;
    width: 100%;
    height: 200px;
    cursor: pointer;
    opacity: 0;
}

.dropzone-wrapper:hover,
.dropzone-wrapper.dragover {
    background: #ecf0f5;
}

.preview-zone {
    text-align: center;
    margin-top: 1em;
}

.preview-zone .box {
    box-shadow: none;
    border-radius: 0;
    margin-bottom: 0;
}

.box.box-solid {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.box.box-solid * {
    margin: 0 0.5em;
}

.box-error {
    display: flex;
    justify-content: flex-start;
    font-size: 14px;
    color: red;
}

.box-body img {
    height: 35px;
    display: block;
    border: 2px solid #8fa3a3;
    border-radius: 10px;
    width: 35px;
    object-fit: cover;
    padding: 0 !important;
    margin: 0;
}

.body-column {
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
}

.box-body {
    display: flex;
}
.box-body img:first-child {
    margin: 0 0.25em 0 0;
}
.box-body img:last-child {
    margin: 0 0 0 0.25em;
}
.box-body img {
    display: block;
    margin: 0 0.25em;
}

.tooltip {
    position: relative;
    border-bottom: 1px dotted black;
    z-index: 1;
}

/* Tooltip box */
.tooltip-text {
    position: absolute;
    background-color: #fff;
    color: #333;
    text-align: center;
    padding: 10px;
    left: 140px;
    z-index: 1000 !important;
    line-height: 1.2;
    border-radius: 6px;
    z-index: 1;
    margin-left: auto;
    font-size: 0.75em;
    margin-right: auto;
    left: 0;
    right: 0;
    width: 200px;
    top: 7.2em;
    display: none;
}

/* Tooltip arrow */
.tooltip:after {
    content: '';
    position: absolute;
    bottom: 75%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    opacity: 0;
    transition: opacity 0.6s;
    border-color: #fff transparent transparent transparent;
    visibility: hidden;
}

.tooltip:hover:before,
.tooltip:hover:after {
    opacity: 1;
    visibility: visible;
}

.placeholder {
    background: #f8f9fa;
    padding: 2em;
    display: flex;
    justify-content: center;
    align-content: center;
    margin-bottom: 40px;
    height: 280px;
    align-items: center;
}

.tinymice-editor iframe {
    height: 250px !important;
}

.tiny-mce-special-announcement iframe {
    height: 75px !important;
}

.explanationwrapper {
    border: 1px solid #e6e6e6;
    background: #fff;
    border-radius: 10px;
    padding: 2em 2em 1.5em 2em;
    display: flex;
    margin-bottom: 40px;
    height: 210px;
    align-items: end;
    height: 200px;
    position: relative;
    z-index: 0;
}

.content-bar {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: rgba(149, 157, 165, 0.2) 0 50px 32px -37px;
    width: 100%;
    height: 85px;
    display: flex;
    align-items: center;
    left: 0px;
    right: 0px;
    margin-left: auto;
    margin-right: auto;
}
.content-bar div {
    width: 100%;
    margin: 0 auto;
    display: flex;
    max-width: 960px;
    justify-content: space-between;
    align-items: center;
    align-content: center;
}

.explanationwrapper-text {
    padding: 1.2em;
    font-size: 12px;
    font-weight: 700;
    right: 0;
    top: 0;
    position: absolute;
    z-index: 1;
}

.explanationwrapper-img {
    max-height: 120px;
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

#explanationwrapper-img-usps {
    content: url('../../assets/muster-usps.png');
}

#explanationwrapper-img-advantages {
    content: url('../../assets/muster-advantages.png');
}

.project-create-form_sidebar ol > li {
    padding: 1em 0;
}

.introtext,
.introtext-mobile {
    display: none;
}

@media screen and (max-width: 960px) {
    .project-form-row-top {
        cursor: pointer;
    }
    .top-section {
        height: unset;
        flex-direction: column;
    }
    .top-section button {
        display: none;
    }
    .scrollbar-wrapper {
        display: none;
    }
    div.project-create-form_content {
        margin-left: unset;
    }
    .project-create-steps div {
        display: flex;
        padding: unset;
        justify-content: center;
    }
    .project-create-steps {
        padding: unset;
        flex-wrap: wrap;
        background: #f8f8f8;
        padding: 1em 0;
    }
    .project-form-page-content-end {
        margin-bottom: unset;
        flex-direction: row;
    }
    .project-form-page-content-end button {
        align-self: flex-end;
    }
    .project-form-page-content-end div {
        display: flex;
        justify-content: space-between;
    }
    .project-create-form_content_fields_3 .project-form-page-content-end,
    .project-create-form_content_fields_2 .project-form-page-content-end {
        flex-direction: column;
    }
    .project-create-form_content_fields_3 .project-form-page-content-end div,
    .project-create-form_content_fields_2 .project-form-page-content-end div {
        margin-bottom: 1em;
    }
}
dialog {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    z-index: 100;
    overflow-y: auto;
}

.frame {
    padding: 2em;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    max-width: 860px;
    margin: 0 auto;
}
.frame button {
    margin-bottom: 2em;
    align-self: end;
}

.error {
    border-color: red !important;
}

.fluid-width-video-wrapper {
    padding-top: 50%;
}

.project-shortcode-preview-seperator {
    border: black solid 5px;
    padding: 50px;
    display: none;
    position: relative;
}

/* Info Modal Styles */
.info-modal {
    border: none;
    border-radius: 8px;
    padding: 0;
    max-width: 500px;
    max-height: 80vh;
    width: 90%;
    margin: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.info-modal::backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}

.info-modal-content {
    background: white;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.info-modal-header {
    padding: 20px 25px 15px 25px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.info-modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 20px;
    font-weight: 600;
}

.info-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}
.info-modal-close:hover {
    background-color: #f0f0f0;
    color: #666;
}

.info-modal-body {
    padding: 20px 25px 25px 25px;
    overflow-y: auto;
    flex: 1;
}
.info-modal-body p {
    line-height: 1.6;
    color: #555;
    margin: 0;
}

.help-icon-inline {
    color: #000000;
    font-weight: bold;
    font-size: 16px;
}

/* Info Button Styles */
.info-button {
    cursor: pointer;
    text-decoration: underline;
}

.top-actions {
    gap: 1.2em;
    display: flex;
    align-items: center;
    font-size: 14px;
}

/* Mobile responsive for info modal */
@media screen and (max-width: 768px) {
    .info-modal {
        width: 95%;
        max-height: 90vh;
    }
    .info-modal-header {
        padding: 15px 20px 10px 20px;
    }
    .info-modal-header h3 {
        font-size: 18px;
    }
    .info-modal-body {
        padding: 15px 20px 20px 20px;
    }
    .info-button {
        font-size: 13px;
        padding: 6px 12px;
    }
}
[data-theme='enerparc'] .location__map {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    top: 3em;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    max-height: 600px;
    height: 40%;
}
