/*  main elements  */

html, body {
  background: #000000;
  color: #ffb424;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
}
#head_container {
    background-color: #222;
}

@media screen and (min-width: 766px) {
    #player_container {
       height: 55%;
    }
    #info_container>.row {
        height: 100%;
    }
    #search_container {
        height: 30%;
    }
    #search_container .row {
        height: 100%;
    }
    #controls_row>.row>div , #search_container>.row>div , #player_container>.row, #player_container>.row>div {
        height: 100%;
    }
    footer {
        text-align: center;
        color: #555555;
    }
    #queue_row>div {
        height: 100%;
    }
    .videolist {
        height: 80%;
    }
    #player_col {
        height: 95%;
    }
}

@media screen and (max-width: 766px) {
    #player_col {
        height: 70%;
    }
    #controls_queue_row {
        height: 30%;
    }
    footer {
        text-align: center;
        color: #555555;
    }
    #queue_row {
        height: 210px;
    }
    #queue_row>div {
        height: 100%;
    }
    .videolist {
        height: 210px;
    }
    #player_col {
        height: 350px;
    }
}

#search_container .head, #queue_row .head  {
    height: 30px;
    font-size: 18px;
}

#head_container div {
    padding-top: 2px;
}
#head_container  a {
    color: #ff0000;
    font-weight: bold;
    font-size: 18px;
}

#player {
    height: 95%;
    width: 97%;
    background: #101010;
    /*min-height: 300px;*/
}


/*  */

.videolist {
    /*height: 210px;*/
    /*height: 80%;*/
    overflow-y: scroll;
    background: #101010;
    list-style: none;
    padding: 0;
    padding-left: 5px;
    margin: 0;
}

@media screen and (min-width: 766px) {
    #queue_ul {
      /*min-height: 160px;*/
    }
    .row-md-1 {
        height: 8.3%;
        max-height: 8.3%;
    }
    .row-md-1:last-child {
        height: 8.4%;
    }
    .cell {
        height: 100%;
        overflow: hidden;
    }

}
/* Video Li */


.videolist li {
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #555555;
    cursor: pointer;
}
.videolist li img {
    float: right;
    height: 40px;
}

.videolist li .details, #info .details {
     color: #aaaaaa;
    font-size: smaller;
 }
.videolist li .details span, #info .details span {
    margin-right: 8px;
}

/* download / expand / collapse playlist/channel */
.videolist li span.status {
    color: #aaaaaa;
    float: right;
}
.videolist li span.status button {
    height: 32px;
    width: 33px;
    margin-right: 3px;
}
.videolist li span.status button.download {
    background: url('images/expand_collapse.png');
}
.videolist li span.status button.loading {
    background: url('images/loading.png');
}
.videolist li span.status button.expand_collapse {
    background: url('images/expand_collapse.png');
}
.videolist li span.status button.playall {
    background: url('images/play.png');
    display: none;
}


.videolist li .description{
    color: #555555;
}

.controls input {
    margin-left: 8px;
}
.controls input,  .controls label{
    cursor: pointer;
    color: #888888;
}


#search_ul li.selected .title ,
#playlists_ul li.selected .title ,
#channels_ul li.selected .title ,
#related_ul li.selected .title {
    color: #555555;
}

#queue_ul .details {
    display: none;
}
#queue_ul li.active {
    background: #12401c;
}

#queue_ul.hide_played li.played {
    /*display: none;*/
    height: 2px;
    overflow: hidden;
}

#queue_ul.hide_played li.active ,
#queue_ul.hide_played li.prev ,
#queue_ul.hide_played li.next  {
    height: auto;
}

#search_container.hide_selected li.selected {
    /*display: none;*/
    height: 2px;
    overflow: hidden;
}

#playlists_ul>li ul>li, #channels_ul>li ul>li {
    display: none;
    background: #101010;
}
#playlists_ul>li ul>li.even, #channels_ul>li ul>li.even {
    background: #1a1a2b;
}
#playlists_ul>li.expanded ul>li, #channels_ul>li.expanded ul>li {
    display: block;
}

/*  */

#settings input.short {
    color: #555;
    width: 40px;
}

#controls_queue_row .row, #settings_col .row{
  border: 0;
}
#settings>.row>div {
    border-top: 1px solid #555555;
}

#search_container .row {
    border: 0;
}

#settings span {
    color: #888888;
}


#controls_row {
  /*height: 20%;*/
}
#queue_row {
  height: 80%;
}

#controls_row .row , #search_container .row {
  /*height: 100%;*/
}


#time {
    background: url('images/time.png');
}
#volume {
    background: url('images/volume.png');
}
#volume, #time  {
    margin-top: 10px;
    height: 16px;
    background-position: right;
    background-repeat: no-repeat;
    cursor: pointer;
}
#time_display, #logout-link, #login-link {
    /*letter-spacing: 0px;*/
    font-family: 'Arial Narrow', Arial, sans-serif;
    font-size: smaller;
    text-align: left;
}

#logout-link {
    display: none;
}

.ui-slider-range-min,
.ui-widget-header {
    background: #1a1a2b;
}

/* ui-slider-range ui-widget-header ui-corner-all ui-slider-range-min */

#controls_row {
  /*height: 50px;*/
}

/*  buttons  */
button {
    background-color: #DDDDDD;
    background-position: center;
    background-repeat: no-repeat;
}

.btn-group button {
  height: 32px;
  width: 32px;
}

#controls_row .btn-group {
  width: 85%;
}
#controls_row .btn-group button {
  /*min-width: 12%;*/
}

#info_container .description {
    color: #ffffff;
}

#info_container .btn-group {
  float: right;
  margin-left: 3px;
}

#info_col.hdn .description,
#settings_col.hdn #settings {
    display: none;
}
#info .title {
    font-size: 21px;
}
#button_first {
  background: url('images/first.png');
  background-position: center;
  background-repeat: no-repeat;
}
#button_prev {
  background: url('images/prev.png');
  background-position: center;
  background-repeat: no-repeat;
}
#button_play {
  background: url('images/play.png');
  background-position: center;
  background-repeat: no-repeat;
}
#button_pause {
  background: url('images/pause.png');
  background-position: center;
  background-repeat: no-repeat;
}
#button_next {
  background: url('images/next.png');
  background-position: center;
  background-repeat: no-repeat;
}
#button_last {
  background: url('images/last.png');
  background-position: center;
  background-repeat: no-repeat;
}

#button_settings {
  background: url('images/settings.png');
}
#button_grid {
  background: url('images/grid.png');
}
#button_row {
  background: url('images/row.png');
}
#button_col {
  background: url('images/col.png');
}

#button_info {
  background: url('images/info.png');
}

/*  general styles  */

.row {
  border: 1px solid #333333;
  /*height: 100%;*/
  /*margin: -1px;*/
}

.clear {
    clear: both;
}

/*  scrollbar */

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(150,150,150,0.5);
}