#tourCarousel {
    width:100%;
    overflow:hidden;
    height:400px;
    position:absolute;
    bottom:-100px;
    left:0;
    z-index: 3002;
}
.slim #tourCarousel {
    position: absolute;
    bottom: 43px;
    z-index: 9999999;
    padding: 10px;
}

ul.rtvCarousel * {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select:none;
}

ul.rtvCarousel > li {
    cursor:pointer;
}

#menuBar{
    display:none;
    pointer-events: none;
}
.inPlayer #menuBar{
    display:block;
    position:absolute;
    bottom: -120px;
    left: 0;
    right: 0;
    height:40px;
    background: rgba(53,53,53,1);
    background: -moz-linear-gradient(top, rgba(53,53,53,1) 0%, rgba(31,31,31,1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(53,53,53,1)), color-stop(100%, rgba(31,31,31,1)));
    background: -webkit-linear-gradient(top, rgba(53,53,53,1) 0%, rgba(31,31,31,1) 100%);
    background: -o-linear-gradient(top, rgba(53,53,53,1) 0%, rgba(31,31,31,1) 100%);
    background: -ms-linear-gradient(top, rgba(53,53,53,1) 0%, rgba(31,31,31,1) 100%);
    background: linear-gradient(to bottom, rgba(53,53,53,1) 0%, rgba(31,31,31,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#353535', endColorstr='#1f1f1f', GradientType=0 );
    transition: bottom 1s;
    z-index: 5000;
    border-radius:8px;
    pointer-events: all;
}

#ulMiddle::before {
    content: '';
    display: inline-block;
    position: absolute;
    top: -19px;
    z-index: -1;
    width: 50px;
    height: 20px;
    background: url(/static/images/top-rounded-menu-circle.png);
    left: 0;
    right: 0;
    margin: 0 auto;
    background-repeat: no-repeat;
    background-position: center center;
    border-bottom: 1px solid #353535;
}

#ulMiddle::after {
    content: '';
    display: inline-block;
    position: absolute;
    bottom: -20px;
    z-index: -1;
    width: 50px;
    height: 20px;
    background: url(/static/images/bottom-rounded-menu-circle.png);
    left: 0;
    right: 0;
    margin: 0 auto;
    background-repeat: no-repeat;
    background-position: center;
    border-top: 1px solid #1f1f1f;
}

.slim #menuBar{
    width:100%;
    height:40px;
    background: rgba(0,0,0,0.7);
}

ul.rtvCarousel {
    display:none;
    pointer-events: none;
}
.inPlayer ul.rtvCarousel{
    display:block;
    pointer-events: all;
}

ul.rtvCarousel.offset {
    top:400px;
    transition: top 1s;
}

.slim ul.rtvCarousel.offset {
    opacity: 0.4;
}

ul.rtvCarousel * {    
    pointer-events: all;
}

#menuBar::after {
    content: '';
    position: absolute;    
    top: -99px;    
    left: calc(50% - 82px);    
    height: 99px;    
    background-image: url('/static/images/frame-top.png');    
    background-repeat: no-repeat;    
    background-size: 172px 99px;    
    background-position: center bottom;    
    z-index: 5000;    
    pointer-events: none;    
    width: 172px;    
    transition: top 1s;
}

/*#menuBar::before {
    content: '';
    position: absolute;
    top: -10px;
    left: calc(50% - 31px);
    height: 63px;
    width: 63px;
    background-image: url('https://3c9ad2c9b76b400638d4-62c92fd14a662d25041aa79f0deecd18.ssl.cf2.rackcdn.com/images/bgmenu-circle.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    z-index: -1;
    pointer-events: none;
}
*/
.iedisabled #menuBar::after {
    display:none;
}

.mouseEnabled #tourcontainer:hover ul.rtvCarousel.offset, body.carouselActive #tourCarousel ul.rtvCarousel.offset {
    top: 177px;
}

.mouseEnabled #tourcontainer:hover #menuBar, body.carouselActive #tourCarousel #menuBar {
    bottom:105px;
}

#tourCarousel.disabled #menuBar{
    bottom:-140px !important;
}

.fullScreen.mouseEnabled #tourcontainer:hover ul.rtvCarousel.offset, body.carouselActive.fullScreen #tourCarousel ul.rtvCarousel.offset {
    top: 179px;
}

.fullScreen.mouseEnabled #tourcontainer:hover #menuBar, body.carouselActive.fullScreen #tourCarousel #menuBar {
    bottom:100px;
}

#tourCarousel > button{
    pointer-events:none;
    opacity:0;
    position:absolute;
    bottom:110px;
    left:50%;
    transform: translate(-50%, 0);
    background:transparent;
    border-width:0;
    color:#fff;
    text-shadow: 0px 0px 3px #000;
    font-size:28px;
    transition:opacity 1s;
}

#tourCarousel.disabled > button{
    pointer-events:all;
    opacity:1;
}

#tourCarousel.disabled ul.rtvCarousel.offset{
    top:400px !important;
}

#tourCarousel.disabled ul.rtvCarousel.offset::after{
    top:395px !important;
}

/*@media (min-width: 992px) and (min-height: 558px) {*/
@media (min-width: 1068px) {
    
    .mouseEnabled #tourcontainer:hover ul.rtvCarousel.offset, body.carouselActive #tourCarousel ul.rtvCarousel.offset {
        top:212px;
    }
    
    .mouseEnabled #tourcontainer:hover #menuBar, body.carouselActive #tourCarousel #menuBar {
        bottom:68px;
    }

    .bottomEnabled.mouseEnabled #tourcontainer:hover ul.rtvCarousel.offset, body.carouselActive #tourCarousel ul.rtvCarousel.offset {
        top:246px;
    }
    
    .bottomEnabled.mouseEnabled #tourcontainer:hover #menuBar, body.carouselActive #tourCarousel #menuBar {
        bottom:34px;
    }

    .bottomEnabled #tourcontainer ul li#videobarmenu {
        bottom:-300px;
    }

    .bottomEnabled.mouseEnabled #tourcontainer:hover ul li#videobarmenu {
        bottom:40px;
        margin:0;
    }
    
    .bottomEnabled.fullScreen.mouseEnabled #tourcontainer:hover ul.rtvCarousel.offset, body.carouselActive #tourCarousel ul.rtvCarousel.offset {
        top:179px;
    }
    
    .bottomEnabled.fullScreen.mouseEnabled #tourcontainer:hover #menuBar, body.carouselActive #tourCarousel #menuBar {
        bottom:100px;
    }
}