/* dev only */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    border: 1px solid lime; 
    border: none; 
    box-sizing: border-box;
}

/* prevent mouse selection of items */
* {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: -moz-none;
    -o-user-select: none;
    user-select: none;
}

/* allow selection on input fields */
input {
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -o-user-select: text;
    user-select: text;
}

::placeholder {
    color: white;
    font-weight: bold;
}

.noshow {
    display: none;
}

html {
    height: 100%;
    color: white;
    background-color: rgb(61,67,71);
    font-family: 'Roboto', sans-serif;
}

body {
    width: 100%;
    height: 100%;
}

button {
    background-color: transparent;
    cursor: pointer;
    color: white;
    border-image: url(../resources/images/button-9-slice.png);
    border-image-slice: 10 8 10 8 fill;
    opacity: 0.75;
    padding: 6px 12px;
    text-transform: uppercase;
    transition: opacity 250ms;
}

button:focus {
    outline:0;
}

button:hover{
    opacity: 0.99;
    transition: opacity 250ms;
}

/*  
bg img and app container have additional sizing behavior defined in
js/containerSizeController.js
*/
#bg-img {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    min-width: 915px;
    min-height: 545px;
}

#app-container {
    width: 100%;
    margin: auto;
}

#header {
    width: 100%;
    padding-left: 10%;
    padding-right: 5%;
    padding-top: 1%;
    padding-bottom: 2%;
    display: flex;
    max-height: 100px;
}

#footer {
    width: 100%;
    max-height: 100px;
    bottom: 0px;
    position: absolute;
    left: 0px;
}

#log-in-display {
    margin: auto 0;
    width: 80%;
    align-items: center;
    display: flex;
}

#log-in-name-display {
    padding-left: 1%;
    width: 25%;
}

#log-in-display-button {
    padding: 8px;
    width: 12.5%;
    border-radius: 5px;
    margin-left: 10px;
    opacity: 0.75;
    transition: opacity 250ms;
}

#log-in-display-button:focus {
    outline:0;
}

#log-in-display-button:hover{
    opacity: 0.99;
    transition: opacity 250ms;
}

#home-display {
    width: 50%;
    display: flex;
}

#videohop-logo {
    width: 20%;
    padding-left: 5%;
    margin: auto 0;
}

#fused-logo {
    width: 8.5%;
    margin: auto 0;
    bottom: 8px;
    position: absolute;
    right: 20px;
}

#contact-button {
    width: 10%;
    margin: auto 0;
}

#home-button {
    display: block;
    width: 35%;
    margin: auto 0 auto auto;
}

#main-panels-container {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: space-evenly;
    height: 70%;
}

#main-buttons-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    margin-right: 2.5%;
    align-items: flex-end;
    width: 11%;
}

#main-buttons-panel img{
    opacity: 0.75;
    transition: opacity 500ms ease-in;
}

#main-buttons-panel img:hover{
    opacity: 0.99;
    transition: opacity 500ms ease-out;
}


#file-button, #add-elements-button{
    width: 90%;
}

#help-button{
    width: 65%;
    margin-left: 5%;
}

/* dimensons managed by containerSizeController.js */
#video-panel {
    text-align: center;
    overflow: hidden;
    border-radius: 5px;
    margin: auto;
    flex: auto;
}

.zoom-drag-panel {
    width: 100%;
    height: 100%;
    float: left;
    cursor: move;
}

.video-panel-container {
    margin: auto;
    width: 100%;
    height: 100%;
}

#playlist-panel {
    border-image: url(../resources/images/playlist-bg.png);
    border-image-slice: 0 0 4 4 fill;
    border-image-width: auto;
    width: 20%;
    height: auto;
    text-align: center;
    text-transform: uppercase;
    padding: 25px 20px 0px 5px;
    margin: 0 2.5vw 0 1vw;
    position: relative;
}

#playlist-title {
    border-bottom: 2px solid;
    border-image-source: linear-gradient(90deg, rgba(255,255,255,0.25), rgb(255,255,255),rgba(255,255,255,0.25));
    border-image-slice: 1;
    padding-bottom: 10px;
    height: 5%;
    font-size: 16px;
}

#playlist-tabs {
    width: 100%;
    height: 12%;
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 10px;
}

#playlist-tabs img {
    width: 35%;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.20)
}

#playlist-tabs img.selected {
    background-color: rgba(222, 200, 170, 0.85);
}

#soundtrack-button-container {
    border-image: url(../resources/images/audio-drawer-bg.png);
    border-image-slice: 0 0 0 0 fill;
    border-image-width: auto;
    position: relative;
    margin: 0px 0px 0px -5px;
    padding-top: 5px;
    top: 0px;
    bottom: 0px;
    height: 12%;
    opacity: 0.75;
    transition: opacity 250ms ease-in;
    font-size: 20px;
}

#soundtrack-button-container:hover {
    opacity: 1;
    transition: opacity 250ms ease-out;
}

#soundtrack-button-container.selected {
    opacity: 0;
    transition: opacity 250ms ease-out;
}

#soundtrack-button-container, #main-buttons-panel img, #playlist-tabs img {
    cursor: pointer;
}

#up-arrow-drawer {
    width: 13%
}

::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.75);
    border-radius: 2px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: gray;
    border-radius: 2px;
}

.playlist {
    width: 100%;
    height: 67%;
    text-align: center;
    margin: 5px 0 5px 0;
    overflow-y: scroll;
    overflow-x: hidden;
}

#add-playlist-entry-button {
    position: absolute;
    width: 50px;
    bottom: 13.5%;
    right: 16%;
    background-color: rgba(220,199,169,0.4);
    border-radius: 8px;
}

#playlist-add-button {
    width: 100%;
}

#video-playlist {
    display: block;
}

#active-intellimarks {
    display: none;
}

/* TODO height is not ideal */
#audio-soundtrack {
    display: none;
}

.controls-container {
    width: 100%;
    height: 75px;
    position: absolute;
    z-index: -1;
    top: -25px;
}

.fullscreen-controls-background {
    position: fixed;
    bottom: 0px;
    left: 0px;
    right: 0px;
    border-radius: 10px;
    height: 100px;
    z-index: -2;
    background-color: rgba(18, 27, 36, .75);
}

.intellimark-icon-container {
    height: 25px;
    margin-left: 180px;
    margin-right: 80px;
    position: relative;
}

.video-playlist-item {
    height: 30%;
    width: 100%;
    align-items: center;
    margin-bottom: 10px;
}

.playlist-item-container {
    width: 100%;
    height: 100%;
}

.playlist-item-thumbnail {
    width: 35%;
    object-fit: fill;
    border-radius: 10px;
}

.video-info-container {
    height: 75%;
    width: 100%;
    display: inline-flex;
    background-color: rgba(220,199,169,0.4);
    border-radius: 10px;
}

.playlist-item-label {
    padding: 2px;
    border: none;
    border-radius: 5px;
    width: 55%;
    overflow: hidden;
    transition: background-color 250ms ease-in;
}

.playlist-item-label:hover {
    background-color:  rgba(220,199,169,0.8);
    transition: background-color 250ms ease-in
}

.active-playlist-item {
    border: 1px solid white;
    border-radius: 10px;
}

.video-rename-text-box {
    background-color: white;
    padding: 8px;
    border: none;
    border-radius: 5px;
    width: 70%;
    margin: 3px;
    margin-bottom: 0;
}

.video-volume-slide-container {
    height: 20%;
    width: 100%; 
    display: inline-flex;
    justify-content: space-around;
}

.video-volume-icon {
    height: 100%;
    margin: auto;
}
  
.video-volume-slider {
    -webkit-appearance: none;  
    width: 80%; 
    height: 15px;
    border-radius: 5px;
    background: rgba(255,255,255,0.2); 
    outline: none; 
    margin: auto;
}
  
.video-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 9px; 
    height: 18px; 
    border-radius: 20%;
    background: rgba(255,255,255,0.5); 
    cursor: pointer; 
}
  
.video-volume-slider::-moz-range-thumb {
    width: 9px; 
    height: 18px; 
    border-radius: 20%;
    background: rgba(255,255,255,0.5); 
    cursor: pointer; 
}


.playlist-utility-panel {
    position: absolute;
    width: 142.5px;
    margin-left: -145px;
    z-index: 1000;
}

.playlist-utility-panel-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
}

.playlist-utility-button {
    border-radius: 10px;
    background-color: rgba(194, 194, 192, 0.6);
    display: inline-flex;
    align-items: center;
    width: 100%;
    opacity: initial;
    border-image-slice: initial;
    margin: 3px 0px;
    border-image: initial;
    border-color: transparent;
}

.playlist-utility-button:hover {
    background-color: rgba(222, 200, 170, 0.85);
}

.utility-button-image {
    width: 25%;
}

.utility-button-text {
    width: 75%
}

#utility-button-container {
    width: 10%;
    height: 100%;
    background-color: rgba(220,199,169,0.4);
    border-radius: 10px;
    align-items: center;
    display: flex;
}

#mark-icon-container {
    width: 20%;
    height: 100%;
    background-color: rgba(220,199,169,0.4);
    border-radius: 10px;
    align-items: center;
    display: flex;
    padding: 5px;
}

.open-utility-panel-button {
    width: 100%;
}

.confirm-video-name-change-button {
    width: 100%
}

.increment-buttons {
    position: absolute;
    color: white;
    top: 35px;
    width: 50px;
    height: 50px;
    padding: 0;
    background-color: transparent;
    border: none;
    font-size: 1.75em;
}

.active-intellimark-item {
    background-color: rgba(220,199,169,0.4);
    margin: 3px 0 3px 0;
    height: 20%;
    align-items: center;
    border-radius: 10px;
}

.active-intellimark-container {
    height: 100%;
    width: 100%;
    display: inline-flex;
}

.active-intellimark-icon {
    width: 100%;
    margin: auto;
    padding: 0px 3px;
}

.active-intellimark-label {
    width: 70%;
    align-items: center;
    display: flex;
    justify-content: center;
}

.audio-soundtrack-item {
    margin: 3px 0 3px 0;
    height: 30%;
    width: 100%;
    align-items: center;
}

.soundtrack-entry-container {
    width: 100%;
    height: 100%;
    margin: 0;
}

.track-info-container {
    height: 75%;
    width: 100%;
    display: inline-flex;
    background-color: rgba(220,199,169,0.4);
    border-radius: 10px;
}

.soundtrack-item-label {
    width: 90%;
}

.track-rename-text-box {
    background-color: white;
    padding: 8px;
    border: none;
    border-radius: 5px;
    width: 90%;
    margin: 3px;
    margin-bottom: 0;
}

.track-volume-slide-container {
    height: 20%;
    width: 100%; 
    display: inline-flex;
    justify-content: space-around;
}

.track-volume-icon {
    height: 100%;
    margin: auto;
}

.track-volume-slider {
    -webkit-appearance: none;  
    width: 80%; 
    height: 15px;
    border-radius: 5px;
    background: rgba(255,255,255,0.2); 
    outline: none; 
    margin: auto;
}

.track-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 9px; 
    height: 18px; 
    border-radius: 20%;
    background: rgba(255,255,255,0.5); 
    cursor: pointer;  
}
  
.track-volume-slider::-moz-range-thumb {
    width: 9px; 
    height: 18px; 
    border-radius: 20%;
    background: rgba(255,255,255,0.5); 
    cursor: pointer; 
}

.mark-icon-container {
    position: absolute;
    height: 100%;
}

.mark-icon {
    position: absolute;
    height: 36%;
    bottom: 0;
}

.mark-icon-flag {
    position: absolute;
    height: 70%;
    width: 2px;
    bottom: -20px;
}

.embed-fullscreen {
    height: 100% !important;
    width: 100% !important;
    position: absolute !important;
    top: 0 !important;
}