/* chat */
/* ********** Private Chat ******** */
#private-chat .storytile-sites-private-chat-anchor {
    pointer-events: initial;
    position: relative;
    margin-right: 1.5em;
    cursor: pointer;
}

#private-chat .storytile-sites-private-chat-anchor::after {
    content: '';
    height: 30px;
    width: 30px;
    display: block;
    background: var(--color-text);
    mask-image: url("icon_chat.svg");
    -webkit-mask-image: url("icon_chat.svg");
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-size: 30px 30px;
    -webkit-mask-size: 30px 30px;
    position: relative;
    z-index: -1;
    transition: all 0.3s ease-out;
}

#private-chat .storytile-sites-private-chat-anchor:hover::after {
    background: #FF6600;
}

#private-chat .storytile-sites-private-chat-indicator {
    position: absolute;
    display: none;
    right: -12px;
    top: -13px;
    width: 1.5em;
    height: 1.5em;
    background-color: var(--color-highlight);
    color: var(--color-text);
    text-align: center;
    overflow: hidden;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 700;
}

#private-chat .storytile-sites-private-chat-messenger {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    max-width: 800px;
    height: 500px;
    border-color: #FF6600;
    border-style: solid;
    border-width: 5px 5px 0 5px;
    background-color: #FF6600;
    z-index: 999;
    box-shadow: 0 0 50px rgb(0 0 0 / 20%);
    cursor: auto;
}

#private-chat .storytile-sites-private-chat-close-messenger {
    position: absolute;
    display: grid;
    place-items: center;
    top: -1em;
    left: -1em;
    width: 2em;
    height: 2em;
    background-color: #FF6600;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 1px 3px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

#private-chat .storytile-sites-private-chat-close-messenger::before {
    position: relative;
    display: block;
    content: '\00d7';
    font-size: 3rem;
    margin-top: -3px;
    color: #ffffff;
}

#private-chat .storytile-sites-private-chat-contacts {
    position: absolute;
    top: 0;
    right: 0;
    width: 25%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 10px;
    box-sizing: border-box;
    box-shadow: 0 0 20px rgb(0 0 0 / 30%);
    z-index: 9;
    background: #FF6600;
    color: #ffffff;
    cursor: auto;
    cursor: pointer;
}

#private-chat .storytile-sites-private-chat-contact {
    position: relative;
    display: block;
    padding: 5px;
    width: 100%;
    overflow: hidden;
    word-break: break-all;
    color: #ffffff;
}

#private-chat
.storytile-sites-private-chat-contact.storytile-sites-private-chat-contact-unread-messages {
    font-weight: bold;
    color: #fff;
}

#private-chat
.storytile-sites-private-chat-contact.storytile-sites-private-chat-contact-unread-messages:before {
    content: '+ ';
}

/*#specialchat .storytile-sites-private-chat-contact.storytile-sites-private-chat-contact-selected:before {
  content: '> ';
}*/
#private-chat
.storytile-sites-private-chat-contact.storytile-sites-private-chat-contact-selected {
    font-weight: bold;
    color: var(--color-highlight);
    cursor: pointer;
}

#private-chat .storytile-sites-private-chat-messages {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 430px;
    overflow-x: hidden;
    overflow-y: auto;
    background: #ffffff;
    padding: 10px;
    box-sizing: border-box;
    cursor: auto;
}

#private-chat .storytile-sites-private-chat-inputs {
    position: absolute;
    display: flex;
    bottom: 10px;
    left: 0;
    padding: 0 10px;
    width: calc(75% - 20px);
    min-width: 170px;
    height: 40px;
    overflow: hidden;
}

#private-chat .storytile-sites-private-chat-input-text {
    box-sizing: border-box;
    min-width: 455px;
    height: 40px;
    border: none;
    padding: 10px 40px 10px 10px;
    overflow: hidden;
}

#private-chat .storytile-sites-private-chat-input-button {
    width: 80px;
    height: 40px;
    border: none;
    background-color: #FF6600;
    color: transparent;
    padding: 10px 15px;
    text-decoration: none;
    display: inline-block;
    overflow: hidden;
    transition: all 0.2s ease;
}

#private-chat .storytile-sites-private-chat-input-button:hover {
    background: #26386e;
}

#private-chat .storytile-sites-private-chat-input-button::before {
    content: '';
    display: block;
    height: 100%;
    width: 100%;
    background: url("icon_arrow-right.svg") center center no-repeat;
    bavkground-size: 20px auto;
}

#private-chat .storytile-sites-private-chat-message {
    position: relative;
    padding: 0.5em;
}

#private-chat
.storytile-sites-private-chat-message.storytile-sites-private-chat-message-self {
    text-align: right;
}

#private-chat .storytile-sites-private-chat-message-user {
    display: none;
}

#private-chat .storytile-sites-private-chat-message-text {
    position: relative;
    box-sizing: border-box;
    display: inline-block;
    background: #FF6600;
    padding: 20px;
    max-width: 80%;
}

#private-chat .storytile-sites-private-chat-message-text a {
    color: #ffffff;
    font-weight: normal;
    border-bottom: 2px solid var(--color-highlight);
}

#private-chat .storytile-sites-private-chat-message-text a:hover {
    color: var(--color-highlight);
}

#private-chat .storytile-sites-private-chat-message-time {
    /* display: none; */
}

#private-chat
.storytile-sites-private-chat-message-self
.storytile-sites-private-chat-message-text {
    background: #006464;
    color: #fff;
}

#private-chat .storytile-sites-private-chat-message-text {
    background: #FF6600;
    color: #ffffff;
    word-break: break-word;
}

#private-chat
.storytile-sites-private-chat-indicator.storytile-sites-private-chat-indicator-unread-messages {
    display: block;
}

.storytile-sites-emoji-proposal {
    position: absolute;
    bottom: 25px;
    left: 0;
    box-sizing: border-box;
    background-color: #e0e0e0;
    border: 1px solid #ddd;
    padding: 0.5em;
}

.storytile-sites-private-chat-inputs .storytile-sites-emoji-menu {
    right: 115px;
    top: 9px;
    cursor: pointer;
}

.storytile-sites-emoji-menu {
    position: absolute;
    top: 8px;
    right: 55px;
    width: 25px;
    height: 25px;
    text-align: center;
    line-height: 25px;
    overflow: hidden;
    cursor: pointer;
}

.storytile-sites-emoji-menu-list {
    position: absolute;
    bottom: 37px;
    right: -50px;
    background: #fff;
    width: 193px;
    max-height: 200px;
    overflow-x: hidden;
    overflow-y: auto;
    cursor: pointer;
    padding: 5px;
    font-size: 1.3em;
    display: flex;
    flex-wrap: wrap;
    box-shadow: 2px 2px 10px rgba(0,0,0,.2);    
}

.storytile-sites-emoji-menu-list > span {
    padding: 0.2rem;
}

.storytile-sites-private-chat-input-text {
    resize: none;
}

#private-chat .storytile-sites-private-chat-inputs {
    overflow: visible;
}

.storytile-sites-emoji-menu[data-open] {
    overflow: visible;
}

.action form {
    display: flex;
    width: 100%;
}

.action form button,
.intro form button {
    width: 15%;
    background-color: #d40057;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s all ease-in-out;
}

.action form button:hover {
    background-color: #fc0;
}

.action form input,
.action form textarea {
    flex: 1;
    height: 42px;
}

.storytile-sites-public-chat-input-button:before,
#questions form button:before {
    content: '';
    position: absolute;
    left: calc(50% - 5px);
    display: block;
    height: 34px;
    width: 100%;
    background: #ffffff;
    mask-position: 0 center;
    -webkit-mask-position: 0 center;
    mask-image: url("icon_arrow-right.svg");
    -webkit-mask-image: url("icon_arrow-right.svg");
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-size: 12px auto;
    -webkit-mask-size: 12px auto;
}

.chat__headline {
    margin-top: 10px;
}

.storytile-sites-public-chat-messages {
    height: calc(100% - 73px);
    overflow-y: auto;
    overflow-x: hidden;
}

@media screen and (max-width: 1180px) {
    .container--row .col-lg-3.stream-wrapper,
    .container--row .col-lg-9.stream-wrapper {
        padding: 30px;
    }

    .storytile-sites-public-chat-message-text {
        max-width: 100%;
    }

}

.storytile-sites-public-chat-message-user {
    font-weight: bold;
    margin-bottom: 5px;
}

.storytile-sites-public-chat-message-time {
    font-size: 0.8em;
    margin-bottom: 2px;
}

.storytile-sites-public-chat-message {
    margin: 0 0 13px;
    border-bottom: 1px dotted rgba(40, 55, 110, 0.2);
    padding: 0 10px 13px 0;
}

.storytile-sites-public-chat-message:last-child {
    margin: 0;
    border-bottom: none;
    padding: 0 10px 0 0;
}

.storytile-sites-public-chat-inputs {
    margin-top: 25px;
}

.storytile-sites-public-chat-inputs form {
    position: relative;
}

.storytile-sites-public-chat-inputs form .storytile-sites-emoji-menu {
    right: 50;
}

.action__tab.active a {
    color: #fff;
}

.storytile-sites-user-questions-question {
    width: 100%;
}

.storytile-sites-user-questions-question form,
.storytile-sites-public-chat-inputs form {
    display: flex;
}

textarea.storytile-sites-user-questions-input-text,
textarea.storytile-sites-public-chat-input-text {
    width: 100%;
    min-width: 100px;
    height: 40px;
    box-sizing: border-box;
    vertical-align: top;
    border: none;
    padding: 10px 10px;
    overflow: hidden;
    font-size: 1em;
}

button.storytile-sites-user-questions-input-button,
button.storytile-sites-public-chat-input-button {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 40px;
    overflow: hidden;
    border: none;
    line-height: 40px;
    background: #FF6600;
    color: rgba(255, 255, 255, 0);
    transition: all 0.2s ease;
    margin-left: -2px;
}

button.storytile-sites-user-questions-input-button {
    background: #FF6600;
}

button.storytile-sites-user-questions-input-button:hover,
button.storytile-sites-public-chat-input-button:hover {
    background: #526C80;
}

button.storytile-sites-public-chat-input-button {
}

textarea.storytile-sites-public-chat-input-text {
    width: 100%;
}

.liveevent__chat {
    position: relative;
    height: 100%;
    min-height: 500px;
}


/* ***** Scrollbar Adjustments START ***** */
/* FIREFOX */
#chat *,
#private-chat * {
    scrollbar-width: thin;
    scrollbar-color: #938F98 rgba(255, 255, 255, 0.1);
}

/* width */
#chat::-webkit-scrollbar,
#private-chat::-webkit-scrollbar {
    width: 10px;
}

/* button */
#chat::-webkit-scrollbar-button,
#private-chat::-webkit-scrollbar-button {
    display: none;
}

/* Handle */
#chat::-webkit-scrollbar-thumb,
#private-chat::-webkit-scrollbar-thumb {
    background: #FF6600;
}

/* Handle on hover */
#chat::-webkit-scrollbar-thumb:hover,
#private-chat::-webkit-scrollbar-thumb:hover {
    background: #FF6600;
}

/* Track */
#chat::-webkit-scrollbar-track,
#private-chat::-webkit-scrollbar-track {
    background: rgba(40, 55, 110, 0.4);
}

/* q&a */


/* agenda */
.storytile-sites-agenda-pixel-per-minute {
    /*
        The width of this element determines the number of pixels used for each minute
        in the agenda's timeline. Default is 6px per minute
    */
    width: 6px;
}

.storytile-sites-agenda-small {
    position: relative;
    display: flex;
    flex-flow: column nowrap;
}

.storytile-sites-agenda-small * {
    box-sizing: border-box;
    user-select: none;
}

.storytile-sites-agenda-small .storytile-sites-agenda-day {
    position: relative;
    display: inline-flex;
    flex-flow: column nowrap;
    color: var(--main-color-dark);
    width: 100%;
    text-align: left;
    --storytile-sites-agenda-time-progress: 0;
}

.storytile-sites-agenda-small .storytile-sites-agenda-day:not([data-visible]) {
    display: none;
}

.storytile-sites-agenda-small .storytile-sites-agenda-stage,
.storytile-sites-agenda-small .storytile-sites-agenda-day-select {
    position: relative;
    display: grid;
    width: 100%;
    grid-template-columns: 7rem 1fr 2rem;
    grid-template-rows: minmax(2rem, auto);
    grid-template-areas: "stage slots arrow";
    column-gap: 1rem;
    align-items: center;
    justify-items: stretch;
    --storytile-sites-agenda-stage-height: 3rem;
}

.storytile-sites-agenda-small .storytile-sites-agenda-day-selector-box {
    position: relative;
    display: flex;
    grid-area: slots;
    flex-flow: row wrap;
    margin-bottom: 0.5rem;
}

.storytile-sites-agenda-small .storytile-sites-agenda-day-selector {
    position: relative;
    display: inline-block;
    padding: 0 1rem;
    line-height: 2rem;
    border: 1px solid var(--shadow-color-1);
    margin-right: 1rem;
    cursor: pointer;
}

.storytile-sites-agenda-small .storytile-sites-agenda-day-selector:hover {
    background-color: var(--main-color-light);
    color: var(--bg-color);
}

.storytile-sites-agenda-small .storytile-sites-agenda-day-selector:first-child {
    border-bottom-left-radius: 0;
}

.storytile-sites-agenda-small .storytile-sites-agenda-day-selector:last-child {
    border-top-right-radius: 0;
}

.storytile-sites-agenda-small .storytile-sites-agenda-day-selector-selected {
    background-color: var(--main-color-dark);
    color: var(--bg-color);
}

.storytile-sites-agenda-small .storytile-sites-agenda-stagename {
    position: relative;
    grid-area: stage;
    overflow: hidden;
    min-height: 3rem;
    min-height: var(--storytile-sites-agenda-stage-height);
    line-height: 3rem;
    line-height: var(--storytile-sites-agenda-stage-height);
    align-self: end;
    text-align: right;

    color: var(--main-color-dark);
    font-family: var(--notification-box-text-font-family);
    font-size: 14px;
}

.storytile-sites-agenda-small .storytile-sites-agenda-timezone-info {
    position: relative;
    grid-area: stage;
    overflow: hidden;
    min-height: 3rem;
    min-height: var(--storytile-sites-agenda-stage-height);
    line-height: 3rem;
    line-height: var(--storytile-sites-agenda-stage-height);
    align-self: end;
    text-align: right;

    opacity: 0.7;
    color: var(--welcome-text-color);
    font-family: var(--notification-box-text-font-family);
    font-size: 11px;
}

.storytile-sites-agenda-small .storytile-sites-agenda-slotbox {
    /* Don't use "border" here! That causes a display issue of the live time visualisation */
    position: relative;
    grid-area: slots;
    overflow: hidden;
    height: 3rem;
    height: var(--storytile-sites-agenda-stage-height);
}

.storytile-sites-agenda-small .storytile-sites-agenda-slotbox-with-hr .storytile-sites-agenda-slots::before {
    position: absolute;
    display: block;
    content: "";
    top: calc(50% - 1px);
    left: 0;
    right: 0;
    height: 2px;
    background-color: currentColor;
    opacity: 0.1;
}

.storytile-sites-agenda-small .storytile-sites-agenda-slots::after {
    position: absolute;
    display: block;
    content: "";
    top: 0;
    bottom: 0;
    left: 0;
    border-right: 1px solid #f00;
    width: var(--storytile-sites-agenda-time-progress);
    background-color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

.storytile-sites-agenda-small .storytile-sites-agenda-slots {
    position: absolute;
    height: 100%;
    min-width: 100%;
    width: auto;
    top: 0;
    left: 0;
    white-space: nowrap;
    padding: 0.5rem 0;
}

.storytile-sites-agenda-small .storytile-sites-agenda-stage:first-child,
.storytile-sites-agenda-small .storytile-sites-agenda-stage:first-child .storytile-sites-agenda-slots {
    --storytile-sites-agenda-stage-height: 2rem;
    padding: 0;
    overflow: hidden;
}

.storytile-sites-agenda-small .storytile-sites-agenda-timeslot {
    position: relative;
    display: inline-block;
    padding: 0 0.5rem;
    text-align: left;
    line-height: 2rem;
    color: var(--welcome-text-color);
    font-weight: 400;
}

.storytile-sites-agenda-small .storytile-sites-agenda-sessionslot {
    position: absolute;
    display: block;
    padding: 0 1.25rem;
    text-align: left;
    line-height: 2rem;
    color: var(--bg-color);
    background-color: var(--main-color-dark);
    font-weight: 400;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.storytile-sites-agenda-small .storytile-sites-agenda-sessionslot.storytile-sites-agenda-favorite-slot::before {
    position: absolute;
    display: block;
    content: "";
    top: 0;
    left: 0;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    background-color: #f80;
}

.storytile-sites-agenda-small .storytile-sites-agenda-sessionslot[onclick] {
    cursor: pointer;
}

.storytile-sites-agenda-small .storytile-sites-agenda-sessionslot:nth-child(even) {
    border-top-left-radius: 0;
}

.storytile-sites-agenda-small .storytile-sites-agenda-sessionslot:nth-child(odd) {
    border-bottom-right-radius: 0;
}

.storytile-sites-agenda-small .storytile-sites-agenda-arrow {
    position: relative;
    justify-self: center;
    align-self: center;
    line-height: 0;
    color: var(--main-color-dark);
}

.storytile-sites-agenda-tooltip {
    position: fixed;
    top: 0;
    left: 0;
    box-sizing: border-box;
    padding: 1rem;
    background-color: #ECE7DE;
    color: #2A2549;
    display: none;
    /*
        use the transform to change position of the
        tooltip relative to the mouse pointer
    */
    transform: translateX(calc(-25% - 0.5rem)) translateY(1.5rem);
}

.storytile-sites-agenda-tooltip::before {
    position: absolute;
    display: block;
    content: "";
    background-color: inherit;
    width: 1.4rem;
    height: 1.4rem;
    transform: rotate(45deg);
    left: 25%;
    top: -0.7rem;
}

.storytile-sites-agenda-tooltip-title {
    position: relative;
    font-weight: bold;
}

.storytile-sites-agenda-tooltip-time {
    position: relative;
    font-weight: lighter;
    font-style: italic;
    margin: 0.5rem 0;
}

.storytile-sites-agenda-tooltip-body {
    position: relative;
}





.storytile-sites-agenda-small .storytile-sites-agenda-day-select {
    display: none;
}