@font-face {
    font-family: Lato;
    src: url(./fonts/Lato);
}

body, html {
    margin: 0;
    padding: 0;
    height:100%;
    width: 100%;
    font-family: Lato, sans-serif;
}
#header {
    width: 100%;
    height: 6.75%;
    background: #b4b4b4;
    color: #f3f3f3;
    position: relative;
}

#header img {
    float: left;
    height: 50%;
    top: 25%;
    left: 1%;
    position: absolute;
}

#header #logo {
    position: absolute;
    left: calc(1% + 40px);
    top: calc(50% - 14px);
    font-size: 24px;
}

#menu-connected {
    background: #e9e9e9;
    height: 95%;
    display:grid;
    grid-template-columns: 34.3% calc(65.7% - 3px);
    grid-template-rows: 20% 80%;
    grid-template-areas: "top-menu top-menu"
                         "bottom-left-menu bottom-right-menu"
}

#menu-disconnected {
    background: #e9e9e9;
    height: 95%;
    display:grid;
    grid-template-columns: auto;
    grid-template-rows: 20% 80%;
    grid-template-areas: "top-menu"
                         "bottom-menu"
}

#top-menu {
    grid-area: top-menu;
    position: relative;
}

#top-menu-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  color: #353535;
}

#teamXR-image {
    filter: invert(17%) sepia(1%) saturate(248%) hue-rotate(357deg) brightness(91%) contrast(85%);
    height: 40px;
    display: block;
    float: left;
    margin-right: 10px;
}

#top-menu div h3 {
    margin: 0;
}

#bottom-left-menu, #bottom-right-menu {
    font-size: 14px;
    color: #868686;
}
#bottom-left-menu {
    grid-area: bottom-left-menu;
    border-right: 3px solid #fbfbfb;
    padding: 10px;
}

#bottom-left-menu ul {
    list-style-type: none;
    padding-left: 20px;
}

#bottom-left-menu li {
    position: relative;
}

#user-decoration {
    height: 23px;
    width: 23px;
    border-radius: 50%;
    background-color: #fbfecf;
    position: absolute;
}

#user-name {
    position: absolute;
    left: 30px;
    top: 3px;
}

#user-right-buttons {
    position: absolute;
    right: 0;
}

#bottom-left-menu li div button {
    height: 18px;
    width: 22px;
    padding: 0;
}

#bottom-right-menu {
    grid-area: bottom-right-menu;
    text-align: center;
}

#bottom-right-menu button {
    padding: 5px 20px;
    border-radius: 5px;
    margin: 30px;
}

#bottom-right-menu li {
    padding: 5px 20px;
    border-radius: 5px;
    margin: 30px;
}

#teamID {
    color: #494949;
    font-size: 26px;
    margin: 5px;
    display: block;
}

button {
    color: #f8f8f8;
    background-color: #b4b4b4;
    border: 0;
}

button:hover {
    background-color: #3b3b3b;
    color: #f4bf10;
}










#bottom-menu {
    text-align: center;
}

#bottom-menu button {
    padding: 5px 20px;
    border-radius: 5px;
    margin: 10px;
}

#last-session {
    background: #d6d6d6;
    display: inline-block;
    margin: 20px;
    padding: 0 10px;
}



.round {
    position: relative;
    display: inline-block;
    margin: 10px 0;
}
  
.round label {
    background-color: #acacac;
    border: 1px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
    height: 20px;
    left: 0;
    position: absolute;
    top: 0;
    width: 20px;
}
  
.round label:after {
    border: 2px solid #acacac;
    border-top: none;
    border-right: none;
    content: "";
    height: 4px;
    left: 4px;
    opacity: 0;
    position: absolute;
    top: 5px;
    transform: rotate(-45deg);
    width: 10px;
}
  
.round input[type="checkbox"] {
    visibility: hidden;
}
  
.round input[type="checkbox"]:checked + label {
    background-color: white;
    border-color: white;
}
  
.round input[type="checkbox"]:checked + label:after {
    opacity: 1;
}





#menu-licenses {
    background: #e9e9e9;
    color: #353535;
    height: 95%;
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: 52px calc(100% - 52px);
    grid-template-areas:
        "top-menu"
        "bottom-menu";
}

#licenses-settings-menu  {
    text-align: center;
    display: inline-block;
}

#licenses-settings-menu div {
    float: left;
    font-size: 24px;
    margin: 12px;
    cursor: pointer;
    padding: 0 13px;
    border-radius: 2px;
}

#licenses-button:hover, #settings-button:hover {
    background-color: #bbbcbb;
}

#bottom-menu-licenses {
    grid-area: bottom-menu;
    margin: 20px 10px;
}

#bottom-menu-licenses #left-side {
    height: 100%;
    width: 50%;
    float: left;
}

#bottom-menu-licenses #right-side {
    height: 100%;
    width: 50%;
    float: left;
}

#bottom-menu-licenses button {
    color: #3d3d3d;
    border-radius: 4px;
    margin-top: 10px;
}

#bottom-menu-licenses button:hover {
    color: white;
    background-color: #4f4f4f;
}

#slider {
    width: 100%;
    margin-top: 10px;
}

#slider input {
    -webkit-appearance: none;
    appearance: none;
    width: 400px;
    height: 3px;
    background: #c2c2c2;
    /* background: #ffcb00; */
    outline: none;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

#slider input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 50px; 
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 1px solid black;
    cursor: pointer;
}
  
#slider input::-moz-range-thumb {
    width: 50px;
    height: 50px;
    background: white;
    border: 1px solid black;
    cursor: pointer;
}

#left-side #slider input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 30px; 
    height: 30px;
    border-radius: 50%;
    background: white;
    border: 1px solid black;
    cursor: pointer;
}
  
#left-side #slider input::-moz-range-thumb {
    width: 30px;
    height: 30px;
    background: white;
    border: 1px solid black;
    cursor: pointer;
}


#colors-settings {
    background-color: #535353;
    padding: 8px;
    display: inline-block;
    margin-top: 10px;
}

#colors-settings input {
    appearance: none;
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    float: left;
    margin-left: 4px;
    margin-right: 4px;
    border: 2px solid #535353;
}

#colors-settings input:checked {
    border: 2px solid white;
}

.color-round {
    appearance: none;
    -webkit-appearance: none;
    height: 50px;
    width: 50px;
    float: left;
    border-radius: 50%;
    margin-left: 8px;
    box-sizing: border-box;
}

.color-round:checked {
    border: 3px solid white;
}
.environment-button input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 100%;
    padding: 8px;
    margin: 0;
    background: #b4b4b4;
}
  
.environment-button input[type="radio"]:checked  {
    background: #3d3d3d;
}

.environment-button input[type="radio"]:checked + label span  {
    color: #3d3d3d;
} 

.environment-button input[type="radio"]:hover  {
    background: #3d3d3d;
}

.environment-button span  {
    position: relative;
    font-size: 15px;
    color: white;
    left: 10px;
}
  
label span {
    position: relative;
    top: -28px;
}
  
.environment-button input[type="radio"]:checked + span {
    color: white;
}

.environment-button:hover > input {
    background-color: #3b3b3b;
}

.environment-button:hover > span {
    color: #fdcd01;
}

.environment-button {
    height: 30px;
    display: inline-block;
}

.round-span {
    margin: 10px;
    padding-top: 2px;
}

.round-small-span {
    margin: 10px;
    padding-top: 2px;
    font-size: 12px;
}
  
.heading {
    color: #010101;
    font-size: 24px;
    display: block;
}

.input-mics {
    padding: 5px;
    padding-right: 100px;
}
#microphone {
    margin-left: 100px;
}

#microphoneXR {
    margin-left: 73px;
}

.after-mic-container {
    background: #636363;
    display: inline-block;
    height: 28px;
    width: 14px;
    position: relative;
    top: 10px;
    right: -5px;
}

#mhd-licenses {
    width: 100%;
    height: 220px;
    display: flex;
    flex-direction: row;
    margin-top: 10px;
}

#mhd-licenses .license-container {
    flex-grow: 1;
    flex-basis: 0;
    background-color: #dbdbdb;
    margin: 0 5px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

#mhd-licenses .license-container .banner {
    height: 45%;
    width: 100%;
    background-color: white;
    position: relative;    
    overflow: hidden;
}

#mhd-licenses .license-container .banner span {
    float: left;
    font-size: 26px;
    position: absolute;
    bottom: 2px;
    left: 7px;
}

#mhd-licenses .license-container .banner img {
    float: left;
    height: 200%;
    position: absolute;
}


#mhd-licenses .license-container .license-info {
    height: 55%;
}


#link-button #link-picture {
    height: 18px;
    width: 18px;
    top: 1px;
    position: relative;
}

#link-button:not(:hover) #link-picture {
    filter: invert(1);
}


#library-menu {
    display: flex;
    flex-direction: row;
    height: calc(100% - 6.75%);
    background-color: #e9e9e9;
    color: #353535;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none;
}

#library-menu .library-heading {
    font-size: 20px;
    margin-left: 2px;
    clear: both;
}

.library-row {
    padding: 15px;
}

.library-tiles {
    margin-top: 10px;
    overflow-y: scroll;
    padding-right: 10px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 5px;
    row-gap: 5px;
    
}

.library-tiles::-webkit-scrollbar-thumb {
    background-color: #b4b4b4;
}

.library-tiles::-webkit-scrollbar {
    width: 20px;
}

.library-tile {
    aspect-ratio: 1 / 1;
    float: left;
    box-sizing: border-box;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.library-tile img {
    width: 100%;
    height: 100%;
    position: absolute;
    margin: 0;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
}

.library-tile .plus-tile {
    font-size: 70px;
    position: relative;
    float: left;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.library-tile .close-x {
    position: absolute;
    right: 0;
    top: -13px;
    font-size: 44px;
    transform: rotate(45deg);
    display: none;
}

.library-tile:hover .close-x {
    display: block;
}

.file-data {
    height: calc(50% + 1px);
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: rgb(61, 61, 61, 0.55);
    padding: 5px;
    color: #f3f3f3;
    box-sizing: border-box;
}

.library-tile:hover .file-data {
    background-color: rgb(61, 61, 61);
    color: #fdc902;
}

.file-data p {
    margin: 0;
    font-size: 15px;
    margin-bottom: 4px;
}

.file-data span {
    display: inline-block;
    font-size: 11px;
}

.file-data-middle {
    height: 30%;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: rgba(61, 61, 61, 0.55);
    padding: 5px;
    color: #f3f3f3;
    box-sizing: border-box;
}

.library-tile:hover .file-data-middle {
    background-color: rgb(61, 61, 61);
    color: #fdc902;
}

.file-data-middle p {
    margin: 0;
    font-size: 13px;
}

.file-data-middle span {
    display: inline-block;
    font-size: 10px;
}

.file-data-right {
    position: absolute;
    padding: 5px;
    color: black;
    box-sizing: border-box;
    text-align: center;
    height: 60px;
    width: 60px;
    float: left;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -35%);
}

.file-data-right p {
    margin: 0;
    font-size: 28px;
}

.file-data-right span {
    display: inline-block;
    font-size: 10px;
    color: #4b4b4b;
}

#recordXR-tiles .library-tile img, #saved-files-tiles .library-tile img {
    opacity: 0.7;
}

.library-tooltip {
    position: absolute;
    background-color: #4f4f4f;
    color: white;
    padding: 7px;
    display: none;
}

#recordXR-tooltip {
    top: 61.5%;
    right: 34%;
}

#saved-files-tooltip {
    top: 16.5%;
    right: 34%;
}

#new-medical-imaging-xr-tooltip {
    top: 16.5%;
    left: 9.5%;
}

#recordXR-tile:hover ~ #recordXR-tooltip {
    display: block;
}

#new-saved-files:hover ~ #saved-files-tooltip {
    display: block;
}

#new-medical-imaging-xr:hover ~ #new-medical-imaging-xr-tooltip {
    display: block;
    z-index: 1;
}

.play-tooltip {
    background-color: #4f4f4f;
    color: white;
    margin-top: -55px;
    padding: 7px;
    margin-left: calc((((33.33% - 80px) / 4) - 100px) / 2);
    display: none;
    position: fixed;
}

.library-tile:hover .play-tooltip {
    display: inline-block;
}

#main-panel {
    width: calc(780px + 83px);
    height: 270px;
    display: flex;
    flex-direction: row;
    background: #f0f0f0;
    border-radius: 6px;
}

#left-panel-element {
    background: #b4b4b4;
    width: 6.34%;
    height: 100%;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

#left-panel-element:hover {
    background: #3b3b3b;

}

#main-panel .beginning-ending-break {
    width: 2.52%;
}

#main-panel #library {
    width: 18.96%;
    background: #b4b4b4;
    height: 66.66%;
    margin-top: 45px;
    border-radius: 6px;
    position: relative;
    overflow: visible;
} 

#main-panel #library:hover {
    background: #3b3b3b;
}

#main-panel #library img {
    height: 70px;
    width: 70px;
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
} 

#main-panel .small-break {
    width: 1%;
}

#main-panel .mid-buttons {
    width: 10%;
    height: 66.66%;
    margin-top: 45px;
    background: #b4b4b4;
    border-radius: 6px;
    position: relative;
}

#main-panel .mid-buttons:hover {
    background: #3b3b3b;
}

#main-panel #teamXR-connected, #main-panel #teamXR-connected:hover {
    animation-name: teamXR-connected-button !important;
    animation-duration: 2s !important;
    animation-iteration-count: infinite !important;
}

@keyframes teamXR-connected-button {
    0% {
        background-image: radial-gradient(#7895d8 0%, #33496f 100%);
    }
    10% {
        background-image: radial-gradient( #7895d8 5%,  #33496f 100%);
    }
    20% {
        background-image: radial-gradient( #7895d8 10%,  #33496f 100%);
    }
    30% {
        background-image: radial-gradient( #7895d8 15%,  #33496f 100%);
    }
    40% {
        background-image: radial-gradient( #7895d8 20% , #33496f 100%);
    }
    50% {
        background-image: radial-gradient(#7895d8 25%, #33496f 100%);
    }
    60% {
        background-image: radial-gradient(#7895d8 20%, #33496f 100%);
    }
    70% {
        background-image: radial-gradient(#7895d8 15%, #33496f 100%);
    }
    80% {
        background-image: radial-gradient(#7895d8 10%, #33496f 100%);
    }
    90% {
        background-image: radial-gradient(#7895d8 5%, #33496f 100%);
    }
    100% {
        background-image: radial-gradient(#7895d8 0%, #33496f 100%);
    }
}

#main-panel .mid-buttons img {
    height: 40px;
    width: 40px;
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
} 

#main-panel .mid-buttons #XR-button-element {
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    bottom: 50px;
    color: white;
    font-size: 28px;
    width: 40px;
    text-align: center;
    font-weight: 500;
    pointer-events: none;
} 

#main-panel .big-break {
    width: 4%;
}

#main-panel .two-buttons {
    width: 10%;
    height: 66.66%;
    margin-top: 45px;
}

.two-buttons .half-sized-button {
    height: 48%;
    width: 100%;
    background: #b4b4b4;
    border-radius: 6px; 
    position: relative;
}

.two-buttons .half-sized-button:hover {
    background: #3b3b3b;
}

.two-buttons .half-sized-button img {
    height: 27px;
    width: 33px;
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
} 

.recording-light {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    animation-name: record-light;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.recording-light:hover {
    background-color: #010101;
}

#recording-now {
    appearance: none;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
}

#recording-now:not(:checked) ~ .recording-light {
    display: none;
}

#recording-now:checked ~ img {
    display: none;
}


@keyframes record-light {
    0% {
        background-color: #e60000;
    }
    50% {
        background-color: #ab0100;
    }
    100% {
        background-color: #e60000;
    }
}

.button-bubble {
    background-color: #4e4e4e;
    display: none;
    color: white;
    text-align: center;
    padding: 5px;
    font-size: 18px;
    border-radius: 3px;
    top: 275px;
    position: absolute;
}

#export:hover ~ #export-bubble {
    display: inline-block;
}

#quit-recordXR:hover ~ #quit-recordXR-bubble {
    display: inline-block;
}

#library:hover ~ #library-bubble {
    display: inline-block;
}

#teamXR:hover ~ #teamXR-bubble {
    display: inline-block;
}

#recordXR:hover ~ #recordXR-bubble {
    display: inline-block;
}

#video:hover ~ #video-bubble {
    display: inline-block;
}

#photo:hover ~ #photo-bubble {
    display: inline-block;
}

#settings:hover ~ #settings-bubble {
    display: inline-block;
}

#reset:hover ~ #reset-bubble {
    display: inline-block;
}

#quit:hover ~ #quit-bubble {
    display: inline-block;
}

.panel-button {
    display: block;
    width: 100%;
    height: 100%;
}




#model-control {
    width: 780px;
    height: 270px;
    display: flex;
    flex-direction: row;
    background: #f0f0f0;
    border-radius: 6px;
}

#model-control #left-part {
    background: #b4b4b4;
    width: 6.78%;
    height: 100%;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

#model-control #left-part:hover {
    background: #3b3b3b;
}

#model-control #right-part {
    width: 93.22%;
    height: 100%;
}

#masking-options {
    width: 679px;
    background-color: #4f4f4f;
    color: white;
    margin-left: 59px;
    border-radius: 6px;
    height: 320px;
    padding: 20px;
    box-sizing: border-box;
    display: none;
}

#drawing-options {
    width: 679px;
    background-color: #4f4f4f;
    color: white;
    margin-left: 59px;
    border-radius: 6px;
    height: 230px;
    padding: 20px;
    box-sizing: border-box;
    display: none;
}

.mask-mode {
    display: inline-block;
    width: 50px;
    height: 50px;
    position: relative;
}

.mask-mode:nth-child(1) input {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.mask-mode:nth-child(3) input {
    border-bottom-right-radius: 6px;
    border-top-right-radius: 6px;
}

.mask-mode:nth-child(4) input {
    border-radius: 6px;
}

.mask-mode input {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 100%;
    margin: 0;
    background: #b4b4b4;
}

.mask-mode {
    float: left;
}

.mask-mode:nth-child(4) {
    margin-left: 20px;
}


.mask-mode img {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    margin: auto;
}

.mask-mode input[type="radio"]:checked  {
    background: #3d3d3d;
}

.mask-mode input[type="checkbox"]:checked  {
    background: #3d3d3d;
}

.mask-channel {
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: relative;
    margin-left: 2px;
}

.mask-channel input {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    margin: 0;
    background: #b4b4b4;
}

.mask-channel input[type="radio"]:checked  {
    background: #3d3d3d;
}

.mask-channel span:first-of-type {
    position: relative;
    font-size: 26px;
    color: white;
    left: 17px;
    top: -43px;
}




#top-right-part {
    width: 86.31%;
    height: 50%;
    box-sizing: border-box;
    padding-top: 1.5%;
    padding-bottom: 0.75%;
    padding-left: 1.34%;
    float: left;
}

#bottom-right-part {
    width: 65.09%;
    height: 50%;
    box-sizing: border-box;
    padding-top: 0.75%;
    padding-bottom: 1.5%;
    padding-left: 1.34%;
    float: left;
}

#bottom-right-part .model-button {
    width: 16.35%;
    margin-left: 0.3166%;
}

#top-right-part .model-button {
    width: 12.3%;
    margin-left: 0.2%;
}

.model-button {
    height: 100%;
    background: #b4b4b4;
    float: left;
    position: relative;
}

.model-button:hover {
    background: #3b3b3b;
}

.left-model-button {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    margin-left: 0;
}

.right-model-button {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.model-button img {
    height: 40px;
    width: 40px;
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
} 

.round-button {
    background: #b4b4b4;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.round-button:hover {
    background: #3b3b3b;
}

.round-button img {
    height: 27px;
    width: 33px;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    pointer-events: none;
}

.model-control-bubble {
    background-color: #4e4e4e;
    display: none;
    color: white;
    text-align: center;
    padding: 5px;
    font-size: 18px;
    border-radius: 3px;
    top: 275px;
    position: absolute;
}

#L-round {
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    bottom: 8px;
    height: 25px;
    width: 25px;
    border-radius: 50%;
    background-color: #848484;
    text-align: center;
    pointer-events: none;
}

#L-round span {
    color: white;
    position: absolute;
    font-size: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.panel-option {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 100%;
    margin: 0;
}

.panel-option:checked {
    background: #3b3b3b;
}

#live-cut-option:checked {
    background-color: #3b3b3b;
}

#live-cut-option:checked ~ #L-round {
    background-color: #ffca01;
}

#laser:hover ~ #laser-bubble {
    display: inline-block;
    left: 65px;
}

#live-cut:hover ~ #live-cut-bubble {
    display: inline-block;
    left: 80px;
}

#mask:hover ~ #mask-bubble {
    display: inline-block;
    left: 225px;
}

#measure:hover ~ #measure-bubble {
    display: inline-block;
    left: 283px;
}

#measure-angle:hover ~ #measure-angle-bubble {
    display: inline-block;
    left: 327px;
}

#draw-shape:hover ~ #draw-shape-bubble {
    display: inline-block;
    left: 422px;
}

#draw:hover ~ #draw-bubble {
    display: inline-block;
    left: 530px;
}

#mark:hover ~ #mark-bubble {
    display: inline-block;
    left: 610px;
}

#delete:hover ~ #delete-bubble {
    display: inline-block;
    left: 105px;
    top: 55px;
}

#move:hover ~ #move-bubble {
    display: inline-block;
    left: 70px;
}

#scale:hover ~ #scale-bubble {
    display: inline-block;
    left: 145px;
}

#zoom:hover ~ #zoom-bubble {
    display: inline-block;
    left: 223px;
}

#rotate:hover ~ #rotate-bubble {
    display: inline-block;
    left: 292px;
}

#rotate-up-down:hover ~ #rotate-up-down-bubble {
    display: inline-block;
    left: 369px;
}

#remove-object:hover ~ #remove-object-bubble {
    display: inline-block;
    left: 400px;
}

#light-on-off:hover ~ #light-on-off-bubble {
    display: inline-block;
    left: 164px;
    top: 54px;
    white-space: nowrap;
}

#light-on-off-option:checked {
    border-radius: 50%;
}




#index-page {
    padding: 30px;
}

#index-page a {
    color: rgb(9, 105, 218);
    text-decoration: none;
    font-weight: bold;
}

#recordXR-top-element {
    width: 100%;
    height: 54px;
    background: #5b5b5b;
    margin: auto;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

#recordXR-player {
    height: 88px;
    width: 100%;
    background: #959595;
    margin: auto;
}


#recordXR-slider {
    width: 60%;
    height: 100%;
    float: left;
    margin-left: 65px;
    position: relative;
}

#recordXR-slider input {
    background: linear-gradient(to right, #ff4200 0%, #ff4200 50%, #d3d3d3 50%, #d3d3d3 100%);
    height: 14px;
    width: 100%;
    outline: none;
    -webkit-appearance: none;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

#recordXR-slider input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 30px; 
    height: 30px;
    border-radius: 50%;
    background: white;
    border: 1px solid black;
    cursor: pointer;
    overflow: visible;
}

/* #recordXR-slider input {
    -webkit-appearance: none;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    appearance: none;
    width: 100%;
    height: 14px;
    background-color: #d3d3d3;
    overflow: hidden;
}

#recordXR-slider input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 35px; 
    height: 35px;
    border-radius: 50%;
    background: white;
    border: 1px solid black;
    cursor: pointer;
    box-shadow: -210px 0 0 200px #218fff;
    overflow: visible;
}
  
#recordXR-slider input::-moz-range-thumb {
    width: 35px;
    height: 35px;
    background: white;
    box-shadow: -1010px 0 0 1000px #218fff;
    border: 1px solid black;
    cursor: pointer;
    overflow: visible;
}

#recordXR-slider input::-moz-range-track {
    background-color: #ddd;
}
#recordXR-slider input::-moz-range-progress {
    background-color: #218fff;
    height: 20px
}
#recordXR-slider input::-ms-fill-upper {
    background-color: #ddd;
}
#recordXR-slider input::-ms-fill-lower {
    background-color: #218fff;
} */

#recordXR-player .player-icon {
    float: left;
    height: 100%;
    width: 50px;
    position: relative;
}

#recordXR-player .player-icon img {
    width: 40px;
    height: 40px;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

#recordXR-player .player-icon #pause-button {
    border-left: 7px solid white;
    border-right: 7px solid white;
    height: 25px;
    background: #959595;
    width: 6px;
    pointer-events: none;
    right: 0;
    left: 15px;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
}


#recordXR-player .player-icon #stop-button {
    width: 20px;
    height: 20px;
    background-color: white;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}


#stop-bubble {
    top: -35px;
    position: absolute;
    left: 0px;
}

#stop-button:hover ~ #stop-bubble {
    display: inline-block;
}

#recordXR-top-element .player-icon {
    float: left;
    height: 100%;
    width: 50px;
    position: relative;
}

#playing-now {
    appearance: none;
    margin-left: 21px;
    margin-top: 28px;
    height: 25px;
    width: 25px;
    cursor: pointer;
}

#playing-now:checked ~ img {
    display: none;
}

#play-bubble {
    display: none;
    top: -35px;
    position: absolute;
    left: 7px;
}

#play-bubble::after {
    content: "Play";
}

#playing-now:checked ~ #play-bubble {
    left: 0;
}

#playing-now:checked ~ #play-bubble::after {
    content: "Pause";
}

#playing-now:hover ~ #play-bubble {
    display: inline-block;
}

#muting{
    appearance: none;
    margin-left: 10px;
    margin-top: 23px;
    height: 30px;
    width: 30px;
    cursor: pointer;
}

#muting:checked ~ #muted {
    display: none;
}

#muting:not(:checked) ~ #unmuted {
    display: none;
}

#mute-bubble {
    display: none;
    top: -35px;
    position: absolute;
}

#mute-bubble::after {
    content: "Mute";
}

#muting:checked ~ #mute-bubble {
    left: 0;
}

#muting:checked ~ #mute-bubble::after {
    content: "Unmute";
}

#muting:checked ~ #mute-bubble {
    left: -10px;
}

#muting:hover ~ #mute-bubble {
    display: inline-block;
}



#playing-now:not(:checked) ~ div {
    display: none;
}

#recordXR-top-element .player-icon img {
    width: 30px;
    height: 30px;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

#recordXR-top-element .player-icon img:hover {
    background-color: #494949;
}

#recordXR-top-element .player-icon div {
    width: 25px;
    height: 25px;
    background-color: white;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

#recordXR-top-element #record-name {
    display: inline-block;
    width: calc(100% - 100px);
    height: 100%;
    position: relative;
    
    overflow: hidden;
}

#recordXR-top-element #record-name span {
    color: white;
    position: absolute;
    font-size: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.player-time {
    float: left;
    height: 100%;
    color: #fefefe;
    position: relative;
    margin-left: 15px;
}

.player-time span {
    display: block;
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    font-size: 20px;
}