input[type="submit"],
input[type="button"]{
    background-color: var(--color_hover_font);
    border: 1px solid black;
    border-radius: 5px;
    padding: 0.5dvh 0.5dvw;
}
input[type="submit"]:hover,
input[type="button"]:hover
{
    filter: brightness(0.8);
    color: white;
}
input[type="text"], input[type="tel"], select, input[type="email"] {
    background-color: var(--color_th);
    opacity: 1;
    border-radius: 5px;
    border: 1px solid black;
    color: black;
    padding: 0.5dvh 0.5dvw;
}
input[type="text"]:focus, input[type="text"]:hover,
input[type="tel"]:hover,input[type="tel"]:focus, ¨
input[type="email"]:hover, input[type="email"]:focus,
select:focus, select:hover  {
    outline: none;
    filter: brightness(1.1);
}
input[type="checkbox"] {
    color: var(--color_hover_font);
    width: auto;
    height: 1.5dvw;
}
.btnGroup {
    display: sticky;
    flex-direction: row;
    position: relative;
    top: 0;
    left: 0;
}
.btnGroup > input {
    background-color: var(--color_th);
    filter: brightness(0.9);
    width: 14dvw;
    font-size: 15px;
    border-radius: 5px 5px 0 0;
    height: 3dvh;
    border-bottom: none;
}
#vcardBtn svg {
    height: 3dvh;
    width: auto;
}
.modal_header {
    display: flex;
    
    flex-direction: row;
    justify-content: flex-start;
    gap: 3dvw;
}
.modal-title {
    padding: 0;
    text-align: left;
    font-size: clamp(1.5625rem, 1.335rem + 0.9709dvw, 2.5rem);
    text-wrap: nowrap;
}
.modal_header_left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 15dvh;
    gap: 3dvh;
}
ul, li {
    padding: 0;
    margin: 0;
    text-wrap: wrap;
    text-align: left;
    line-height: 1.5;
}
li::marker {
content: "❌";
color: red;
font-size: 1.0em;
margin: 5px;
}
#errorMsgBox {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: auto;
    height: 15dvh;
    font-size: clamp(0.625rem, 0.5492rem + 0.3236dvw, 0.9375rem);
    color: red;
    margin-right: 1dvw;    
    margin-left: 3dvw;
}
.trigger_area {
    position: fixed;
    height: 52dvh;
    cursor: pointer;
    z-index: 2;
    top: 58dvh;
}
.left {
    width: 7dvw;
    left: 0;
}
.right { 
    width: 7dvw;
    right: 1dvw;
}
.disabled {
    cursor: not-allowed;
    pointer-events: none;
}
.modal {
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}
.modal-content > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    margin: 5px 5px;
}
#modal_telefon_area div {
    display: flex;
    flex-direction: row;
}
.icon {
    fill: var(--color_th_font);
    margin-right: 1dvw;
    min-width: 2dvw;
    min-height: 2dvw;
    max-width: 2dvw;
    max-height: 2dvw;
}
.modal-content input[type="button"] {
    width: 33%;
}

.modal-content {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border: 1px solid black;
    margin: 5% auto;
    padding: 20px;
    border-radius: 5px;
    width: 50dvw;
    text-align: center;
    animation: zoomIn 0.5s;
}
#modal_tel_geschaeft, #modal_tel_mobil {
    border-radius: 0 5px 5px 0;
    height: auto;
    border-left: none;
    height: 5.5dvh;
}
#vorwahl_geschaeft, #vorwahl_mobil {
    border-radius: 5px 0 0 5px;
    height: 5.5dvh;
}
.grid_span_2 {
    grid-column-end: span 2;
}
.grid_span_3 {
    grid-column-end: span 3;
}
.grid_span_4 {
    grid-column-end: span 4;
}
.long {
    width: 75%;
}
@keyframes zoomIn {
  from {transform: scale(0.6);}
  to {transform: scale(1);}
}
.header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.header svg {
    fill: var(--color_hover_font);
    position: fixed;
    top: 2dvh;
    right: 2dvh;
    height: 10%;
    width: auto;
}
.header h1 {
    font-size: 8dvh;
}
.search {
    display: flex;
    flex-direction: row;
    font-size: 5px;
}
.header, .search {
    padding: 5dvh 3dvw;
}
form {
    display: flex;
    flex-direction: column;
}
label, input, select {
    font-size: 3dvh;
    text-wrap: nowrap;
}
form div {
    margin-bottom: 3dvh;
}
#searchText {
    width: 40dvw;
}
input {
    margin-right: 1dvw;
}
.checkbox_element {
    display: flex;
    align-items: center;
    margin-bottom: 2dvh;
}

#checkbox_group {
    display: grid;
    grid-template-columns: auto auto auto auto;
    grid-template-rows: repeat(auto-fill, 5dvh);
}

@media only screen and (max-width: 576px) {
    .header, .search {
        padding: 2dvh 3dvw;
    }

    .header h1 {
        font-size: 4dvh;
    }
    .header svg {
        height: 4%;
        width: auto;
    }
    #checkbox_group {
        grid-template-columns: 33dvw 33dvw 33dvw;
    }
    input[type="checkbox"] {
        width: auto;
        height: 3dvh;
    }
    #searchText {
        width: 50dvw;
    }
    .modal-content {
        width: 90%;
    }
    #modal_telefon_area {
        display: flex;
        flex-direction: column;
    }
    #modal_telefon_area div {
     display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    margin: 5px 5px;
    }
    .icon {
    fill: var(--color_th_font);
    margin-right: 1dvw;
    min-width: 5dvw;
    min-height: 5dvw;
    max-width: 5dvw;
    max-height: 5dvw;
    }
    .trigger_area {
    position: fixed;
    height: 60dvh;
    cursor: pointer;
    z-index: 2;
    top: 40dvh;
}
}