/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
.error{
    border:  1px solid red;
    padding: 1em;
    background: #fff9f9;
}
.tableview {
    margin: 2em auto;
    overflow-x: auto;
}
.date-row {
    min-width: 120px;
}
.kurswrap {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-gap: 2em;
    padding: 3% 0;
}
.kurs-description {
    font-weight: lighter;
    font-size: 1.125rem;
}
h2.form-title{
    font-style: normal;
}
h3.label {
    margin: 0;
}
a.anmelden {
    text-transform: uppercase;
    font-weight: 500;
    text-decoration: unset;
    letter-spacing: 0.05rem;
}
.form-wrapper {
}
.location-item, .team-item{
    display: grid;
    grid-template-columns: 1fr 3fr;
    grid-gap: 5%;
    margin: 5% auto;
}
#contentbox.team-item {
    margin: 0;
    align-content: center;
}
.location-img, .team-img{
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
}
#contentbox .team-img {
    margin: 5% auto;
}
.location-img > img, .team-img > img{
    margin: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.location-data .contact-data {
    width: 50%;
    display: block;
    float: left;
    padding-right: 2em;
}
.team-data .contact-data {
    margin-top: 1em;
}
.contact-data [class^="icon-"] {
    color: var(--esiblau, #05678D);
    width: 24px;
    height: 24px;
    display: inline-block;
    border: 1px solid var(--esiblau, #05678D);
    border-radius: 50%;
    line-height: 24px;
    text-align: center;
    margin-right: 0.5rem;
}
.contact-wrapper {
    display: grid;
    margin: 1em auto 0;
    grid-template-columns: 100%;
}
.contact-wrapper a{
    color: initial;
    text-decoration: none;
}
.contact-wrapper [class^="icon-"] {
    color: var(--esiblau, #05678D);
    width: 32px;
    height: 32px;
    display: inline-block;
    border: 1px solid var(--esiblau, #05678D);
    border-radius: 50%;
    line-height: 32px;
    text-align: center;
    margin-right: 0.5rem;
}
.telefon, .email, .adresse {
    display: inline-block;
    margin-bottom: 1rem;
}
.location-data .location-info {
    width: 50%;
    float: right;
    display: block;
}
a.waitinglist {
    color: red;
}
.notice {
    padding: 3% 0;
}

.modal-wrapper {
    position: fixed;
    left: calc((100vw - 100%) / 2);
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    padding: 0 1em;
}
.modal {
    display: none;
    position: relative;
    max-width: 1200px;
    min-height: 300px;
    max-height: calc(100vh - 2em);
    padding: 5%;
    margin: 1em auto;
    background: #FFFFFF;
    box-shadow: 0px 2px 6px rgba(0,0,0,0.3);
    overflow: scroll;
    z-index: -999;
    transition: z-index 0.2s ease-in-out;
}
.modal.active{
    display: block;
    z-index: 999;
}
.close-modal {
    position: absolute;
    top: 1em;
    right: 1em;
    cursor: pointer;
    font-size: 1.5em;
    line-height: 1;
}

/* Responsive styles */
@media screen and (max-width: 1024px){
    .tablethide{display: none;}
}
@media screen and (max-width: 680px){
    .mobilehide{display: none;}
    .kurswrap { grid-template-columns: 100%; }
    .location-item, .team-item{
        grid-template-columns: 100%;
        grid-gap: 1em;
    }
    .location-data .contact-data, .location-data .location-info{
        width: 100%;
        display: block;
        float: none;
        padding-right: 0;
        margin-bottom: 2em;
    }
    .contact-wrapper {
        grid-template-columns: 1fr 1fr 1fr;
    }
}
