:root {
    --page-transition: 1ms;
}

#device_blocked_overlay {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-image: url('../../config/loading.jpg');
    background-position: center;
    background-size: cover;
    display: none;
    z-index: 100;
}

#device_blocked_overlay .message {
    position: absolute;
    /*top: 79%;*/
    top: 50%;
    left: 50%;
    width: auto;
    /*max-width: 65%;*/
    width: 65%;
    transform: translateX(-50%) translateY(-50%);
    padding: .9em 1.3em;
    text-align: center;
    color: white;
    background-color: rgba(0,0,0,.7);
    border-radius: .6em;
    /*white-space: nowrap;*/
}
#device_blocked_overlay .message img{
    display: block;
    width: 30%;
    margin: auto;
}
#device_blocked_overlay .message .button{
    width: 70%;
    margin: 30px auto 0px auto;
    padding: 5px;
    border-radius: 5px;
    font-family: Text-Regular;
    font-size: 12px;
    background-color: white;
    color: black;
    opacity: 0.7;
}

@media (max-width: 500px) and (max-height: 850px) {
    #device_blocked_overlay {
        display: block;
    }
}
@media (max-height: 500px) {
    #device_blocked_overlay {
        display: block;
    }
}

/*body.desktop.web {
   scrollbar-width: none;
}

.desktop.web div::-webkit-scrollbar {
    display: none;
}
*/
#contentDiv #mini_stream_controls,
#contentDiv #minimize_stream,
#contentDiv #close_stream {
    display: none;
}

#eventDiv {
    left: 0;
    right: unset;
    box-shadow: 0 0 5px rgba(0,0,0,.7);
    z-index: 11;
}

#contentDiv {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: #000;
    left: unset;
}

#contentDiv.resizing,
#contentDiv.resizing * {
    pointer-events: none !important;
}

#contentDiv #content_overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 10;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Text-Bold;
    background-image: url(../../config/stream_splash.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    pointer-events: none;
    transition: opacity 0s linear .4s;
}

#contentDiv #content_overlay.show {
    opacity: 1;
    pointer-events: all;
}

#contentDiv #content_overlay .message {
    position: absolute;
    top: 79%;
    left: 50%;
    width: auto;
    max-width: 65%;
    transform: translateX(-50%);
    padding: .9em 1.3em;
    text-align: center;
    color: white;
    background-color: rgba(0,0,0,.5);
    border-radius: .6em;
}

#contentDiv #content_loading_overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 10;
    background-color: rgba(0,0,0,.5); 
    background-image: url(../../img/loading.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100px;
    opacity: 0;   
    pointer-events: none;
    transition: opacity 50ms ease-in;  
}

#contentDiv #content_loading_overlay.show {
    transition: opacity 50ms ease-in 300ms;    
    opacity: 1;   
    pointer-events: all;
}

#contentDiv #content_confirm_overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 10;
    opacity: 0;   
    pointer-events: none;
    background-color: rgba(0,0,0,.5); 
    transition: opacity 50ms ease-in 50ms;
    display: flex;
    align-items: center;
    justify-content: center;
}

#contentDiv #content_confirm_overlay.show {
    opacity: 1;   
    pointer-events: all;
}

#contentDiv #content_confirm_overlay .content_popup {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 0 5px rgba(0,0,0,.3);
    z-index: 10;
    padding: 2em 2em;
}

#contentDiv #content_confirm_overlay .content_popup .title {
    margin-bottom: 1.5em;
}

#contentDiv .content {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 2;
}

#contentDiv .content_page {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;    
    z-index: 2;
    transition: opacity .150s;
}

#contentDiv .content_page.future {
    z-index: 1;
}

#contentDiv.transition .content_page.current {
    opacity: 0;
    pointer-events: none;
}
#contentDiv.transition .content_page.future {
    pointer-events: none;
}
#contentDiv .content_page.first {
    opacity: 0;
    pointer-events: none;
}

#contentDiv.transition .content_page.first {
    opacity: 1;
    pointer-events: all;
}


#contentDiv .content_body {
    position: relative;
    flex: 1;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;    
    background-color: white;
    min-height: 0;
}

#contentDiv .content_body:empty {
    background-image: url(../../config/stream_splash.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#contentDiv .content_header {
    flex: 0 0 70px;
    display: flex;
    align-items: stretch;
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 0 5px rgba(0,0,0,.3);
    z-index: 10;    
}

#contentDiv .content_header.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
}

#contentDiv .content_header.content_notification {
    height: auto;
    transform: translateY(calc(100% + 5px));
    transition: transform .2s;
}

#contentDiv .content_header.content_notification.show {
    transform: translateY(0);
}

#contentDiv .content_header.content_notification .header_actions {
    display: none;
}

#contentDiv .content_header.content_notification .header_actions .header_action {
    border-radius: 100px;
}

#contentDiv .content_header.content_notification.has_action .header_actions {
    display: flex;
    margin: 0 1em;
    flex: 0 0 auto;
}

#contentDiv .content_header .content_header_main {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 1em;
    min-width: 0;
}

#contentDiv .content_header .content_header_main .header_title {
    flex: 1;
}

#contentDiv .popout .content_header .content_header_main {
    cursor: move;
}

#contentDiv .content_header.footer.banner {
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

#contentDiv .content_header.content_notification .content_header_main .content_header_main_content {
    width: 100%;
}

#contentDiv .content_header.content_notification .content_header_main {
    display: flex;
    align-items: flex-start;
}

#contentDiv .content_header.footer.banner img {
    filter: drop-shadow(2px 4px 6px black);
    margin: 1.5em;
    max-height: 100px;
    max-width: 90%;
    object-fit: contain;
}


#contentDiv .content_header .content_header_left,
#contentDiv .content_header .content_header_right {
    display: flex;
    align-items: center;
    min-width: 0;
}

#contentDiv .content_header.footer.content_notification:not(.banner) .expand-toggle {
    position: absolute;
    bottom: 0;
    left: 50px;
    right: 50px;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 3px 8px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    border-radius: 4px;
}

#contentDiv .content_header.footer.content_notification:not(.banner) .expand-toggle::before {
    content: "";
    border-style: solid;
    border-width: 0.2em 0.2em 0 0;
    display: inline-block;
    height: 0.45em;
    width: 0.45em;
    transform: rotate(-45deg);
    margin-right: 0.5em;
}

#contentDiv .header_button {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.4em;
    position: relative;
    height: unset;
    flex: 0 0 1.4em;
    width: 1.4em;
    margin: 0;
    border-radius: 0;
    background-color: #f2f2f2;
    align-self: stretch;
}


#contentDiv .content_page.popout,
#contentDiv.transition .content_page.will_popout {
    right: 0;
    bottom: 8em;
    z-index: 3;
    left: unset;
    top: unset;
    width: 30%;
    padding-bottom: calc(30% * 9 / 16);
    /* transition: all .2s; */
    box-shadow: 0 0 5px rgb(0 0 0 / 30%);
}

#contentDiv .popout .content_body {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;    
}

#contentDiv .popout .content_header {
    position: absolute;
    height: 20px;
    width: 100%;
    font-size: .5em;
    font-family: Text-Bold;
    transform: translateY(-100%);
}

#contentDiv .content_header .header_button.popout_button {
    display: none;
}

#contentDiv .popout .content_header .header_button {
    display: none;
}

#contentDiv .popout .content_header .header_button.popout_button {
    display: flex;
}

#contentDiv .popout .stream_overlays,
#contentDiv .popout #reactions {
    display: none !important;
}
#stream.popout .stream_footer.show {
    display: none;
}

#contentDiv .popout .content_header .content_header_main .stream_header .stream_title .session_header {
    display: none;
}

#contentDiv .popout .content_header .content_header_main .stream_header .stream_title .session_footer {
    display: none;
}

@media (min-width: 80vh) {
    #eventDiv {
        width: 30%;        
        min-width: 400px;
        max-width: 50%;
    }    

    #contentDiv {
       width: 70%; 
       max-width: calc(100% - 400px);
    }
}

@media (max-width: 768px) {
    #eventDiv {
        width: 30%;        
        min-width: 350px;
        max-width: 50%;
    }    

    #contentDiv {
       width: 70%; 
       max-width: calc(100% - 350px);
    }
}

.no_app #contentDiv {
    max-width: unset;
}

#player {
    display: flex;
    align-items: center;
    justify-content: center;
}

#toggle_app {
    display: flex;
    margin-left: 0 !important;
    margin-right: .5em;
}
.no_app #eventDiv, .no_app .loading_overlay {
    min-width: unset;
    max-width: 90px;
}

@media (min-width: 80vh) {
    .no_app #contentDiv {
        left: 90px;
        width: auto !important;
        max-width: unset;
        min-width: unset;
    }
}

#contentDiv .button {
    background-color: rgba(255,255,255,1);
    color: #000;
    font-size: 1.4em;
}



#toggle_app i.close {
    display: block;
}

body #toggle_app i.open {
    display: none;
}

body #toggle_app i.close {
    display: flex;
}

body.no_app #toggle_app i.open {
    display: flex;
}

body.no_app #toggle_app i.close {
    display: none;
}

#toggle_fullscreen i {
    font-size: .8em;
}

body #toggle_fullscreen i.open {
    display: flex;
}

body #toggle_fullscreen i.close {
    display: none;
}

body.fullscreen #toggle_fullscreen i.open {
    display: none;
}

body.fullscreen #toggle_fullscreen i.close {
    display: flex;
}

body:not(.desktop) #toggle_fullscreen {
    display: none;
}

#contentDiv #close_stream {
    display: none;
}

#contentDiv #minimize_stream {
    display: none;
}

#resize_content {
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    z-index: 10;
    cursor: ew-resize;
    user-select: none;
    -webkit-user-drag: none;
}

.no_app #resize_content {
    display: none;
}

body.desktop {
    max-width: none;
}

.normal_page .page_header {
    display: none;
}

.normal_page .page_content {
    top: 0;
}

body.has_tabs #mainDiv {
    bottom: 0;
    top: 0;
    left: 90px; 

}

#tabs {
    bottom: 0;
    top: 0;
    height: auto;
    width: 90px;
    left: 0;
    transition: padding .2s;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
}

#tabs .tab .icon {
    margin: 0px;
    height: 35px;
    width: 35px;
}

#tabs .tab .icon i {
    color: #fff;
}

#tabs .tab .name {
    font-size: 10px;
    margin: 0;
    margin-top: 5px;
    padding: 0 5px;
}

#tabs .tab {
    flex: 1;
    max-height: 90px;
    align-items: center;
    justify-content: center;
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: transparent;
}


#tabs .tab.tab_spacer {
    max-height: none;
}

#tabs .tab {
    transition: background-color 0.2s ease-in;
    will-change: background-color;
}
#tabs .tab:hover { background-color: rgba(0,0,0,.2); }

#tabs .tab:active,
#tabs .tab.active {
    background-color: rgba(0,0,0,.2);
}

.no_app #tabs .tab.active {
    background-color: transparent !important;
}

#tabs .tab:before {
    display: none;
}

#tabs .tab.tab_header {
    /* pointer-events: none;  */
}

.page #tabs .tab.tab_header {
    pointer-events: all; 
}

#tabs .tab.tab_header .icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#tabs .tab.tab_header .logo {
    width: 100%;
    filter: drop-shadow(0 0 5px rgba(0,0,0,.3));
}

#tabs .tab.tab_header .back {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

#tabs .tab.tab_header .back i {
    font-size: 30px;
    margin-bottom: 3px;
    transform: translateX(-2px);
}

.page #tabs .tab.tab_header .back {
    display: flex;
}

.page #tabs .tab.tab_header .logo {
    display: none;
}


#tabs .tab#tab_notifications {
    margin-top: auto;
}

#settings_tab_menu{
    position: absolute;
    width: 80px;
    font-size: 10px;
    margin-top: -160px;
    color: black;
    font-weight: bold;
    display: grid;
    place-content: center;
    place-items: end;
    border-radius: 10px 10px 0px 50%;
    overflow: hidden;
}
#settings_tab_menu div {
    background-color: white;
    opacity: 0.8;
    padding: 5px;
    text-align: right;
    width: 70px;
}
#settings_tab_menu div:hover{ opacity: 1; }

#tabs .tab#tab_code {
    font-size: 8px;
    text-align: center;
    line-height: 14px;
    flex: 0;
    padding: 6px 0;
    box-shadow: -3px 0 5px rgba(0, 0, 0, .5);
}

@media (min-width: 100vh) {
    .no_app .page #tabs .tab.tab_header .logo {
        display: block;
    }

    .no_app .page #tabs .tab.tab_header .back {
        display: none;
    }
}

@media (max-height: 768px) {
    #tabs .tab.tab_header .icon {
        height: 35px;
        width: 35px;
    }       
    #tabs .tab .icon {
        height: 25px;
        width: 25px;
    }    

    #tabs .tab .icon i {
        font-size: 20px !important;
    }
    #action_modal .action_modal {
        max-height: 100%;
    }
}

@media (max-width: 1280px) {
    #tabs {
        width: 75px;
    } 

    .no_app #eventDiv, .no_app .loading_overlay {
        max-width: 75px;
    }
    .no_app #contentDiv {
        left: 75px;
    }
/*    #tabs .tab .name {
        font-size: 9px;
    }
    #tabs .tab.tab_header .icon {
        height: 35px;
        width: 35px;
    }    
    #tabs .tab .icon {
        height: 30px;
        width: 30px;
    }*/
    body.has_tabs #mainDiv {
        left: 75px; 
    }
}



#tabs.small .tab .name {
    position: absolute;
    font-size: 9px;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity .1s;
}

#tabs.small .tab.tab_header .icon {
    height: 35px;
    width: 35px;
}    
#tabs.small .tab .icon {
    height: 30px;
    width: 30px;
    transition: transform .1s;
}

#tabs.small .tab:hover .icon,
#tabs.small .tab.active .icon,
#tabs.small .tab:focus .icon {
    transform: translateY(-20%);
}

#tabs.small .tab:hover .name,
#tabs.small .tab.active .name,
#tabs.small .tab:focus .name {
    opacity: 1;
}

.list_item {
    display: flex;
    align-items: center;
    padding: 15px 25px 15px 20px;
    /* border-bottom: 1px solid transparent; */
    position: relative;
    overflow: hidden;
    background-color: #fff;
    box-shadow: none;
    border: none !important;
}

.search_header {
    margin: 0;
    border-radius: 0;
}

.slider_container {
    display: none;
}

.slider_container~.list_page {
    right: 0;
}

#session_index .session_list_item {
    box-shadow: none !important;
    border-radius: 0;
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: white !important;
}

.session_list_item .list_description .session_time {
}

.session_list_item .list_description .session_title {
    font-size: 16px;
}

.session_list_item .list_description .session_location {
    font-size: 12px;
}

.new_post {
    margin: 0;
    border-radius: 0;
    padding: 10px;
}

.rating.full_width {
    max-height: 40px;
    max-width: 350px;
}

.option_button {
    border-radius: 0;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    border:none !important;
}

.bottom_buttons:not(.icons) .bottom_button,
.bottom_buttons .bottom_button_input {
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}

.bottom_button.full_width + .bottom_button {
    margin-top: 1px;
}

.stories_modal .bottom_buttons .bottom_button_input,
.stories_modal .bottom_buttons .bottom_button {
    margin: 7px !important;
    border-radius: 4px;
    box-shadow: 0px 1px 5px 0px rgb(0 0 0 / 30%);
}

.bottom_buttons:not(.icons) {
    box-shadow: 0px 1px 5px 0px rgb(0 0 0 / 30%);
}


.bottom_button:not(.hidden) ~ .bottom_button:not(.full_width) {
    margin-left: 1px !important;
}

.option_buttons {
    grid-template-columns: minmax(40%, min-content);
}

.video-js .vjs-big-play-button {
    top: 50% !important;
    left: 50% !important;
    transform: translate3d(-50%, -50%, 0);
    z-index: 100;
}

#contentDiv .button#news_button {
    display: flex;
    margin-left: 0;
}

#contentDiv .stream_news {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 30%;
    min-width: 300px;
    transform: translateX(-110%);
    transition: transform .2s ease-out;
    box-shadow: 3px 0 5px rgba(0,0,0,.3);
    background-color: white;
    z-index: 6;
}

#contentDiv .stream_news .list_page_header_solid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
}


#contentDiv .stream_news .close {
    font-size: 18px;
    padding: 5px;
}

#contentDiv .stream_news.show {
    transform: translateX(0);
}

.header_actions {
    display: none;
    align-items: center;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 1px 1px 5px rgba(0,0,0,.3);
}

.header_actions.show {
    display: flex;
    margin-left: 1em;
}

.header_clicker {
    margin-left: 1em;
    border-radius: 20px;
    overflow: hidden;
}

.header_clicker.hidden {
    display: none;
}

.header_clicker.disabled {
    background-image: url(../../img/clicker-disabled.svg);
    background-position: center;
    width: 95px;
    height: 40px;
}

.header_clicker.disabled iframe,
#contentDiv .header_clicker.disabled .header_button {
    display: none;
}

.header_clicker iframe {
    position: relative;
    width: 95px !important;
    height: 40px !important;
    top: -2.5px;
    border-radius: 40px;
    overflow: hidden;    
    z-index: 1;
}

#contentDiv .header_clicker .header_button {
    align-items: flex-end;
    justify-content: center;
    font-size: .6em;
    width: 95px;
    height: 30px;
    margin-top: -20px;
    padding: .2rem;
    box-sizing: border-box;
}

#contentDiv .popout .content_header .header_actions.show {
   display: none; 
}

.header_action {
    position: relative;
    cursor: pointer;
    font-size: .8em;
    text-align: left;
    padding: .4em .8em;
    background-color: white;
    opacity: 1;
    color: #000;
    display: none;
    align-items: center;
    background-color: #f2f2f2;
    white-space: nowrap;
}

.header_action.disabled {
    pointer-events: none;
    opacity: .5;
}

.header_action.show:not(.small_only) {
    display: flex;
}

#contentDiv:not(.small) .header_action.show ~ .header_action.show {
    border-left: 1px solid silver;
}

.header_action img {
    width: 16px;
    margin-right: .5em;
}

.header_action i {    
    position: relative;
    font-size: 0.9em;
    top: 0.1em;
    margin-right: .75em;
}
.header_action i.icon-check-full,
.header_action i.icon-cloud {
    font-size: .7em;
}

.header_action img:last-child,
.header_action i:last-child {
    margin-right: 0;
}

.header_action:hover  {
    background-color: white;
}

.header_action.selected  {
    background: silver;
}

.header_action.active  {
    animation-name: header_action;
    animation-duration: 700ms;
    animation-delay: 0ms;
    animation-iteration-count: infinite;
    animation-fill-mode: forwards;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
}

@keyframes header_action {
    from {
        background-color: #f2f2f2;
    }
    to {
        background-color: #8dc48b;
    }
}
.small .content_header .header_actions + .header_actions,
.small .content_header .header_clicker + .header_actions {
    margin-left: 0;
}

.small .content_header .header_actions {
    box-shadow: none;
    border-radius: none;
    overflow: visible;
}

.small .content_header:not(.content_notification) .header_action {
    padding: 0.4em;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: 1em;
}

.small .content_header .header_action img {
    width: 100%;
    height: 100%;
    margin-right: 0;
}

.small .content_header .header_action i {    
    margin-right: 0;
}

.small .content_header .header_action span {
    display: none;
}

@media (max-width: 800px) {
    #contentDiv {
        min-width: unset;
    }
}

@media screen and (max-width: 80vh) {
    #eventDiv, .loading_overlay {
        right: 0;
        width: auto !important;
        min-width: unset !important;
        max-width: unset !important;
        top: 0%;
        display: block !important;
        z-index: 10;
        box-shadow: none;
    }

    #contentDiv {
        left: 0 !important;
        width: auto !important;
        max-width: unset;
        min-width: unset;
        bottom: 60%;
        font-size: 12px;
        z-index: 11;
        box-shadow: 0 0 5px rgba(0,0,0,.7);
        overflow: hidden;
    }

    #contentDiv .content_header,
    #stream .stream_footer {
        flex: 0 0 40px;
    }
    
    #toggle_app {
        display: none !important;
    }

    #resize_content {
        display: none;
    }

    body.has_tabs #mainDiv {
    }

    #tabs {
        left: 0;
    }

    .page #tabs .tab.tab_header {
        transform: translateX(0);
    }


    #tabs .tab.tab_header .icon {
        margin-bottom: 0;
    }

    .small .content_header .header_actions,    
    .small .content_header .header_clicker,   
    .small .content_header .header_clicker iframe {
        box-shadow: none;
        border-radius: 0;
        overflow: visible;
    }

    .small .content_header .header_clicker iframe {
        width: 85px !important;
        top: 0;
    }

    #contentDiv.small .content_header .header_clicker .header_button {
        display: none;
    }

    .small .content_header:not(.content_notification) .header_action {
        padding: 0;
        border-radius: 50%;
        margin-left: 1em;
    }

    .small .content_header:not(.content_notification) .header_action.show.small_only {
        display: flex;
    }
    
    .small .content_header .header_action img {
        width: 80%;
        height: 80%;
    }

    .small .content_header .header_action i {
        top: 0;
        font-size: 1.15em;
    }

    .small .content_header .header_action i.icon-check-full,
    .small .content_header .header_action i.icon-cloud {
        font-size: 0.9em;
    }

    .small .content_header .header_action span {
        display: none;
    }

    #action_modal {
        /* position: fixed; */
    }

}

/*@media (min-width: 768px) {
    #modal_page.in_stream {
        position: fixed;
        top: 90px;
        right: 20px;
        left: unset;
        width: 20%;
        min-width: 350px;
        height: calc(80% - 70px);
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 2px 2px 10px rgba(0,0,0,.3);
        transform: none !important;
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s;
    }

    #modal_page.in_stream.show {
        opacity: 1;
        pointer-events: all;
    }
}*/




#stream .stream_title {
    flex: 1;
    justify-content: flex-start;
    min-width: 0;

}
#stream .stream_header {
    flex: 1;
    align-self: stretch;
    display: flex;
    align-items: center;
    min-width: 0;
}


#stream .stream_header .stream_badge {
    color: #fff;
    background-color: #8dc48b;
    padding: .2em .4em;
    border-radius: 4px;
    font-size: .9em;
    white-space: nowrap;
    margin-right: 1em;       
}

#stream .stream_header .stream_badge.hide {
    display: none;
}

#stream .stream_header .stream_title {
    color: #222;
}
#stream .stream_header .stream_title .session_name {
    color: #000;
}

#contentDiv iframe.content_frame  {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    border: none;
}

#contentDiv .media_player {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;    
}

#contentDiv .media_player .leaflet-container {
    background: transparent;  
}

#contentDiv .media_player .media.image.has_shadow .leaflet-container img {
    box-shadow: 0 0 3px rgba(0,0,0,.3);
}

.hotspot {
    position: absolute;   
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hotspot .hotspot_content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    width:  auto;
}

.hotspot .hotspot_content .video_background {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width:  100%;
    pointer-events: none;
}

.hotspot .hotspot_content .video_background.hide {
    opacity: 0;
}

.hotspot .hotspot_content img {
    height: 100%;
    width: auto;
    display: block;

}

.hotspot .hotspot_content.vertical {
    height: auto;
    width: 100%;
}

.hotspot .hotspot_content.vertical img {
    height: auto;
    width: 100%;
}

.hotspot .hotspot_content .area {
    position: absolute;
    z-index: 110;
}

.hotspot .hotspot_content .area.has_click {
    cursor: pointer;
}

.hotspot .hotspot_content .area.has_click > * {
    pointer-events: none;
}

.hotspot_content img{ 
    transition: transform 2s; 
    will-change: transform;
}
.hotspot_content.zoom_right img{ transform: scale(2) translate(-20%); }
.hotspot_content.zoom_left img{ transform: scale(2) translate(20%); }
.hotspot_content.zoom_center img{ transform: scale(2) translate(0%); }
.hotspot_content.zooming svg{ display: none; }

.hotspot circle:hover,
.hotspot path:hover {
    transition: initial;
    fill: rgba(0,0,0,.3) !important; 
    cursor: pointer;
}

.hotspot circle,
.hotspot path {
    filter: blur(3px);
    animation-name: hotspots;
    animation-duration: 1.3s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in-out
}

@keyframes hotspots {
    from {
        fill: transparent;
    }
    to {
        fill: rgba(255, 255, 255, .3)
    }
}

#contentDiv .content_lightbox {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 10;
    background-color: rgba(0,0,0,.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
}

#contentDiv .content_lightbox.show {
    opacity: 1;
    pointer-events: all;
} 

#contentDiv .content_lightbox .close {
    padding: 10px;
    color: #fff;
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    z-index: 100;
    background-color: rgba(0,0,0,.5);
    border-radius: 5px;
} 

.posters_content {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
}

.posters_grid {
    width: 100%;
    height: calc(100% - 70px);
}

.posters_swiper_footer {
    height: 70px;
    background-color: rgba(0,0,0,.4);
    display: flex;
    align-items: center;
    padding: 1em;
    color: white;
    box-sizing: border-box;
}

.posters_swiper_footer .poster_title {
    font-family: Text-Bold;
    font-size: 1em;
    color: white;
}

.posters_swiper_footer .poster_type {
    font-family: Text-Bold;
    font-size: .8em;
    color: white;
}

.posters_grid .list {
    display: flex;
    align-items: center;
    white-space: nowrap;
    width: unset;
    height: 100%;
    width: 100%;
}

.posters_grid .poster_card {
    box-shadow: 0px 0px 5px rgba(0,0,0,.3);
    background-color: white;
    border-radius: 1px;
    overflow: hidden;
    height: auto;
    width: calc(90% - 40px);
    margin: 20px; 
    cursor: pointer;
    vertical-align: middle;
}

.posters_grid .poster_card:hover {
    box-shadow: 0px 0px 5px rgba(255,255,255,.3);
}

.posters_grid .poster_card.hide {
    display: none;
}

.posters_grid .poster_card .poster_card_image {
    height: 100%;    
    display: block;
}

.posters_grid .poster_card .open_detail {
    position: absolute;
    right: 1em;
    bottom: 1em;
    color: white;
    background-color: rgba(0,0,0,.5);
    font-size: 1em;
    border-radius: .2em;
    display: flex;
    align-items: center;
    padding: .2em .4em;
    height: 1.2em;
}

.posters_grid .poster_card .open_detail i {
    font-size: 1em;
}

.posters_grid .poster_card .open_detail .text {
    font-size: .8em;
    margin-left: .6em;
}


.posters_grid .poster_card.empty {  
    height: 50% !important;
    width: calc(90% - 40px) !important;
}
.posters_grid .poster_card.empty .poster_card_image { display: none; }

.posters_grid .poster_card .poster_card_title {  
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.5em;
    white-space: normal;
    text-align: center;
    font-size: 1.2em;
    box-sizing: border-box;
    padding: 2em;
}

.posters_grid .control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    padding: 7px 15px;
    color: white;
    border-radius: 5px;
    z-index: 100;
    background-color: rgba(0,0,0,.4);
    opacity: 0;
    pointer-events: none;
    cursor: pointer;
}

.posters_grid .control.show {
    opacity: 1;
    pointer-events: all;
}

.posters_grid .control.previous {
    left: .2em;
}

.posters_grid .control.next {
    right: .2em;
}

#posters_index .filter_popup .filter_header {
    display: none;
}

.posters_index_content {
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

.posters_index_content .list {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-gap: 1em;
    box-sizing: border-box;
    padding: 1em;
}

.poster_grid_card {
    position: relative;
    box-shadow: 0 0 3px rgba(0,0,0,.7);
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
}

.poster_grid_card:hover {
    box-shadow: 0 0 3px rgba(255,255,255,.7);
}

.poster_grid_card.hide {
    display: none;
}

.poster_grid_card_image {
    width: 100%;
    padding-bottom: 100%;
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
}

.poster_grid_card_footer {
    padding-bottom: 35%;
    font-size: .6em;
    background-color: rgba(0,0,0,.5);
    color: white;
    z-index: 1;
    position: relative;
}

.poster_grid_card_footer_content {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    padding: .8em;    
}

#posters_index #filter_popup {
    position: absolute;
    width: 100%;
    top: 60%;
    bottom: 0;
    box-shadow: 0 0 3px rgba(0,0,0,.6);
    z-index: 11;
}

.poster_content {
    height: 100%;
    width: 100%;
}

.poster_content .poster_content_actions {
    position: absolute;
    right: 1em;
    bottom: 1em;
    display: flex;
    align-items: center;
    z-index: 10;
}

.poster_content .poster_content_actions i {
    color: white;
    background-color: rgba(0,0,0,.5);
    font-size: 1em;
    height: 1.8em;
    width: 1.8em;
    border-radius: .2em;
    margin-left: .5em;
    cursor: pointer;
}

.poster_content .poster_content_actions i:hover {
    opacity: .7;
}

.poster_content.empty .poster_content_actions {
    display: none;
}

.poster_content .info_div {
    display: none;
}

.poster_content.empty .info_div {
    display: block;
}

.posters_content.no_posters .posters_grid{ visibility: hidden; }
.posters_content.no_posters .posters_swiper_footer{ visibility: hidden; }

body.retired #eventDiv{
    background-image: url(../../config/stream_splash.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
body.retired #eventDiv #mainDiv{ display: none; }
body.retired #eventDiv #nav_header { display: none; }
body.retired #eventDiv #tabs{ display: none; }
body.retired #eventDiv .modal_page{ display: none; }
body.retired #contentDiv{
    background-image: url(../../config/stream_splash.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
body.retired #contentDiv #content_loading_overlay{ display: none; }
body.retired #contentDiv #content_confirm_overlay{ display: none; }
body.retired #contentDiv #content_overlay{ display: none; }
body.retired #contentDiv .content{ display: none; }

@media screen and (min-width: 80vh) {
    #contentDiv.colored .content_header,
    #contentDiv.colored .header_button {
        background-color: var(--color_bg_division_1) !important;
    }

    #contentDiv.colored .stream_title,
    #contentDiv.colored .content_header_main,
    #contentDiv.colored .header_button {
        color: #fff !important;
    }

    #contentDiv.colored .stream_badge {
        background-color: var(--color_bg_division_2) !important;
    }

    #contentDiv.colored .header_action:hover {
        background-color: white !important;
    }
}

@media screen and (max-width: 0vh) {
    #eventDiv {
        height: calc(100% - (100vw - 56px) * 9 / 16);
        min-height: 70%;
        top: unset;
    }

    #eventDiv .mainDiv {
        left: 56px !important;
    }

    #contentDiv {
        height: calc((100vw - 56px) * 9 / 16);
        max-height: 30%;
        left: 56px !important;
    }

    #contentDiv .content_header {
        position: absolute;
        left: 1em;
        top: 1em;
        border-radius: 1em;
        opacity: .9;
    }

    .small .content_header .header_action {
        border-radius: 0;
    }

    #contentDiv .content_header .content_header_main {
        padding: 0;
    }

    #stream .stream_header .stream_badge {
        align-self: stretch;
        display: flex;
        align-items: center;
        padding-top: 4px;
    }

    #tabs {
        position: fixed !important;
        width: 56px;
    }

    #tabs .tab .name {
        font-size: 8px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
        padding: 0;
    }

}

@media screen and (max-width: 80vh) {

    #eventDiv {
        height: calc(1.25 * (100% - 100vw * 9 / 16));
        min-height: calc(68% * 1.25);
        top: unset;
        max-height: unset;
        transform: scale(.8);
        transform-origin: bottom left;
        width: 125% !important;
    }
    
    #eventDiv {

        min-height: calc(68% * 1.25);
        top: unset;
        transform: scale(.8);
        max-height: unset;
        -moz-transform: scale;
        transform-origin: bottom left;
        width: 125% !important;
    }


    #contentDiv {
        height: calc(100vw * 9 / 16);
        max-height: 32%;
    }

    #contentDiv .content_page:not(.popout) .content_header {
        position: absolute;
        left: 1em;
        top: 1em;
        border-radius: 1em;
        opacity: .9;
        max-width: calc(100% - 2em);
        height: 20px;
    }

    .content_page:not(.popout) .content_header .header_actions {
        margin-left: 1em;
        border-radius: 0;
    }
    
    .content_page:not(.popout) .content_header .header_clicker + .header_actions {
        margin-left: 0;
    }

    .content_page:not(.popout):not(#stream) .content_header .header_actions {
        margin-right: -1em;
    }
    
     .content_page#stream:not(.popout) .content_header .header_actions {
        margin-left: 0;
    }      

    .content_page:not(.popout) .content_header .header_action {
        border-radius: 0 !important;
        margin-left: 0 !important;
        border-right: 1px solid silver;
        border-left: none !important;
    }

    body:not(.desktop) .content_header .header_action:last-child {
        border-right: none !important;
    }

    #contentDiv .content_page:not(.popout)  .content_header .content_header_main {
        padding: 0 1em;
    }

    #contentDiv .content_page:not(.popout)#stream .content_header .content_header_main {
        padding: 0;
    }

    #stream .stream_header .stream_badge {
        align-self: stretch;
        display: flex;
        align-items: center;
        padding-top: 4px;
        border-radius: 0;
        margin-right: 0;
    }

    .content_page#stream:not(.popout) .stream_header .stream_title {
        padding: 0 1em;
    }
    
    .content_page#stream.popout .stream_header .stream_title {
        padding: 1em;
        padding-top: 1.5em;
    }    

    .content_page#stream:not(.popout) .stream_header .stream_title .session_header {
        display: none;
    }
    
    .content_page#stream:not(.popout) .stream_header .stream_title .session_footer {
        display: none;
    }
    
}


.search_header~.list_page {
    padding-top: 44px;
}


.scroll_padding_single {
    padding-bottom: unset;
    margin-bottom: 42px;
}

.scroll_padding_double {
    padding-bottom: unset;
    margin-bottom: 84px;
}

#contentDiv .content_header .content_header_right #clock {
    display: none;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    flex: 1;
    width: auto;
    font-size: .6em;
    padding: 0 .5em;
    margin-right: 1px;
    font-family: monospace;
}

#contentDiv .content_header .content_header_right #clock .time {
    font-size: 1.2em;
}

#contentDiv .content_header .content_header_right #clock .text {
    order: 3;
    margin-top: .2em;
    color: grey;
}

@media screen and (max-width: 80vh) {
    #contentDiv .content_header .content_header_right #clock .text,
    #contentDiv .content_header .content_header_right #clock .seconds,
    #contentDiv .content_header .content_header_right #clock .date {
        display: none;
    }
    #contentDiv .content_header .content_header_right #clock {
        font-size: .8em;
    }
}

body.has_clock #contentDiv .content_page:not(.popout) .content_header .content_header_right #clock {
    display: flex;
}

