#icon-arrow-right path {
    fill: currentColor;
}

#icon-close {
    fill: currentColor;
}


/* --- REGISTRATION 2 --- */

.desktop-only {
    display: none;
}

@media only screen and (min-width: 1000px) {
    .desktop-only {
        display: block;
    }
}

/* --- AGENDA --- */

/* BUTTON MODIFIERS EXISTING STYLESHEETS */

.btn-light, .btn.btn-light:hover {
    background-color: #fcefe9;
    color: #e84d1c;
}

.btn-medium {
    background-color: #eb8060;
    color: #fff;
}

/* DAY NAVIGATION */

ul.days {
    list-style: none;
    display: flex;
    font-style: italic;
    flex-direction: row;
    padding: 0;
    margin: 0 15px 20px 15px;
    gap: 10px;
}

ul.days li {
    width: 33%;
    margin-bottom: 6px;
}

@media only screen and (min-width: 1000px) {
    ul.days {
        gap: 6px;
    }

    ul.days li {
        width: auto;
    }
}


/* AGENDA LIST */

ul.agenda {
    margin: 0 15px 0 15px;
    padding: 0;
}

li.agenda-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}



li.agenda-item .time {
    padding: 5px;
    font-weight: bold;
    text-align: center;
}

li.agenda-item .title {
    display: inline-block;
    font-weight: bold;
    width: 100%;
    background-color: transparent;
    transition: background-color 0s 0.3s;
}

.agenda-item.show .title {
    background-color: #dc7353;
    transition: background-color 0s 0s;
}



li.agenda-item .title .btn {
    font-weight: bold;
    border: none;
    cursor: pointer;
    width: 100%;
    display: flex;
    justify-content: start;
    text-align: left;
}

li.agenda-item .title .btn svg {
    width: 15px;
    height: 12px;
    display: block;
    margin: 4px 12px 0 -4px;
}

li.agenda-item.show .title .btn svg {
    rotate: 90deg;
}

li.agenda-item.pause .title {
    background-color: transparent;
    color: #fff;
    padding: 6px 15px;
    text-align: center;
    width: auto;
}

li.agenda-item.programmpunkt .text-content {
    margin: 15px 0 15pt 40px;
}

@media only screen and (min-width: 1000px) {
    li.agenda-item {
        /*display: flex;*/
        padding: 0 0 20px 0;
        flex-direction: row;
        gap: 20px;
        margin-bottom: 0;
    }

    li.agenda-item .time {
        padding: 5px 0 0 0;
        font-weight: bold;
        text-align: left;
    }

    li.agenda-item.pause .title {
        background-color: transparent;
        color: #fff;
        padding: 6px 15px;
        text-align: left;
    }

    li.agenda-item.pause .title .btn {
        text-align: left;
    }

    li.agenda-item .title .btn {
        justify-content: start;
        text-align: left;
    }
}

.agenda-info {
    width: auto;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.agenda-info a {
    color: #fff;
    text-decoration: underline;
}

.agenda-item .content {
    background: linear-gradient(#dc7353, #d06d4d);
    width: auto;
    max-height: 0;
    height: auto;
    overflow: hidden;
    transition: max-height 0.3s linear;
}

@media only screen and (min-width: 1000px) {
    .agenda-info {
        width: 650px;
        flex-grow: 0;
    }

    .agenda-item .content {
        width: 650px;
    }
}

.agenda-item.show .content {
    max-height: 800px;
    transition: max-height 0.5s ease-in;
}

.agenda-info .content h4 {
    margin: 20px 10px;
}

.agenda-info .content ul {
    list-style: none;
    margin: 10px 10px;
    padding: 0;
}

.agenda-info .content ul li {
    list-style: none;
    padding: 4px 0;
}

@media only screen and (min-width: 1000px) {
    ul.agenda {
        margin-top: 40px;
    }

    li.agenda-item {
        flex-direction: row;
    }

    li.agenda-item .title .btn {
        width: auto;
        text-align: left;
    }
}

li.topic .topic-title {
    cursor: pointer;
    display: flex;
}

li.topic .topic-title .topic-toggle {
    width: 30px;
}

li.topic .topic-title h5 {
    font-weight: normal;
    font-size: 1rem;
    margin: 0;
}

li.topic a.toggle svg {
    width: 15px;
    height: 12px;
}

li.topic.show a.toggle svg {
    rotate: 90deg;
}

li.topic a.toggle svg use {
    color: #fff;
}

li.topic .topic-text {
    height: 0;
    max-height: 0;
    overflow: hidden;

}

li.topic.show .topic-text {
    height: auto;
    max-height: 800px;
    transition: max-height 0.5s ease-in;
    padding: 20px 10px 20px 30px;
}

@media only screen and (min-width: 1000px) {
    li.topic.show .topic-text {
        padding: 20px 0 20px 30px;
    }
}


.topic-text p {
    /*padding: 20px 0 20px 20px;*/
}

/* --- SPEAKERS --- */

#stage #longtext.wrapper-speakers  {
    padding: 15px;
}

@media only screen and (min-width: 1000px) {
    #stage #longtext.wrapper-speakers  {
        padding: 40px;
    }
}

.speaker-modal {
    position: relative;
    top: 40px;
    width: 100%;
    background-color: #fbe2db;
    text-align: left;
    margin: auto;
}

.speaker-modal .modal-header {
    overflow: hidden;
    padding: 15px 15px 0 0;
}

.speaker-modal .modal-header .close-modal-btn {
    float: right;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 32px;
}

.modal-header .close-modal-btn svg {
    width: 30px;
    height: 32px;
}

.close-modal-btn svg use {
    color: var(--epg-color-active);
}

.close-modal-btn:hover svg use {
    color: #a82d00;
}

.speaker-modal .modal-content {
    color: black;
    display: flex;
    padding: 0 65px 45px 45px;
    flex-direction: column;
}

.speaker-modal .info {

}

.speaker-modal-container {
    display: none;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    top: 0;
}

.speaker-modal-container.active {
    display: block;
}

.wrapper-speakers .speaker-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
    list-style: none;
}

.wrapper-speakers .speaker {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

.wrapper-speakers .speaker .image {
    width: 180px;
    margin-right: 15px;
}





.wrapper-speakers .speaker .position {
    font-style: italic;
}

.modal-content .image {
    width: 180px;
    margin-right: 25px;
}

.wrapper-speakers .speaker .image img,
.modal-content .image  img {
    width: 180px;
    display: block;
}

.wrapper-speakers .speaker small,
.modal-content small {
    text-align: right;
    display: block;
    color: #777;
}

.wrapper-speakers .speaker h4, .modal-content h4 {
    margin-top: 0;
    color: var(--epg-color-info);
}

.wrapper-speakers .open-modal-btn {
    cursor: pointer;
    display: none;
    border: none;
}

.wrapper-speakers .mobile-vita {
    display: none;
    font-style: italic;
}

.wrapper-speakers .mobile-vita.show {
    display: block;
}

.wrapper-speakers .open-mobile-vita-btn {
    cursor: pointer;
    display: block;
    border: none;
}

.modal-content p {
    font-style: italic;
}


.wrapper-speakers .speaker-list a.anchor {
    display: block;
    position: relative;
    top: -60px;
    visibility: hidden;
}


@media only screen and (min-width: 1000px) {
    .wrapper-speakers .speaker-list {
        flex-direction: row;
        flex-wrap: wrap;
    }


    .wrapper-speakers .speaker {
        width: 50%;
        flex-direction: row;
    }

    .speaker-modal {
        top: 100px;
        width: 950px;
        margin: auto;
    }

    .speaker-modal .modal-content {
        flex-direction: row;
    }

    .wrapper-speakers .open-modal-btn {
        display: block;
        border: none;
    }

    .wrapper-speakers .open-mobile-vita-btn {
        display: none;
        border: none;
    }
}

/* --- DOWNLOADS --- */

.wrapper-downloads ul.topics {
    list-style: none;
    padding: 0;
}

.wrapper-downloads li.topic {
    cursor: pointer;
    display: flex;
    margin-bottom: 8px;
}

.wrapper-downloads li.topic h3 {
    margin: 0;
    font-weight: normal;
}

.wrapper-downloads li.topic .toggle svg {
    width: 15px;
    height: 12px;
    margin: 5px 8px 0 0;
}

.wrapper-downloads li.topic ul {
    display: none;
    list-style: none;
    padding: 0;
    margin: 15px 0 25px 0;
}

.wrapper-downloads li.topic ul li {
    margin-bottom: 5px;
}

.wrapper-downloads li.topic.show {
    background: none;
}

.wrapper-downloads li.topic.show ul {
    display: block;
}

.wrapper-downloads li.topic.show svg {
    rotate: 90deg;
}

.wrapper-downloads ul.downloads .empty {
    font-style: italic;
}

.wrapper-downloads ul.downloads a {
    color: #000;
    text-decoration: underline;
}