/*
 Theme Name:   AdbitesDev
 Theme URI:    https://www.adbites.de
 Description:  Adbites child theme
 Author:       Heiko Schneider
 Author URI:   https://www.adbites.de
 Template:     generatepress
 Version:      0.1
*/

@font-face {
    font-family: 'LeOsler';
    src: url('assets/fonts/LeOsler-RoughRegular.woff2') format('woff2'),
         url('assets/fonts/LeOsler-RoughRegular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}



.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 999999;
    padding: 20px; /* wichtig für Abstand auf kleinen Screens */
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #fff;
    padding: 30px;
    width: 100%;
    max-width: 500px;  /* breiter machen */
    border-radius: 8px;
    position: relative;
    overflow-y: auto;
    max-height: 90vh; /* sorgt dafür, dass lange Formulare scrollbar sind */
    box-sizing: border-box;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    position: absolute;
    top: 8px;
    right: 12px;
    cursor: pointer;
}

#input_2_4 {
    border: none !important;
    box-shadow: none !important;
}

.gf-logo-wrapper {
    text-align: center;
    margin-bottom: 20px;
}

.gf-logo {
    max-width: 100px !important;   /* Größe hier ändern */
    height: auto;
    display: inline-block;
}


#gform_submit_button_2 {
    background-color: rgb(142, 7, 7);
}