@media screen and (min-width: 1001px) {
  table.browser {
    min-width: 1000px;
  }
  body {
    overflow-x: hidden;
  }
  div.wndContainer div {
    width: 600px; 
  }
  div.wndContainer img {
    width: 375px;
  }
  .rightside img {
    max-width: 400px;
    max-height: 600px;
  }
}
@media screen and (max-width: 1000px) {
  div.browser_horizontal {
    flex-direction: column;
  }
  table.browser {
    width: 100%;
  }
  table.browser td {
    width: 100%;
    font-size: 0.7em !important;
  }
  div.wndContainer div {
    width: 100%;
  }
  div.wndContainer img {
    width: 90%;
  }
  .rightside img {
    max-width: 400px;
    max-height: 600px;
  }
}


body {
  background-color: #C0C0FF;
}

* {
  z-index: 0;
}

span.perms {
  cursor: pointer;
}

tr.toggle th {
  cursor: pointer;
}

tr.toggle th:hover {
  color: #FF0 !important;
}

tr.toggle table {
  display: none;
}

div.path {
  float: right;
  display: inline-block;
  vertical-align: middle;
  height: 50px;
  line-height: 50px;
}
div.path span {
  color: #000;
  position: relative;
  padding: 8px 20px;
  border-radius: 10px;
  background-color: #00D400;
  cursor: pointer;
}
div.path span:hover {
  background-color: #FFF;
}
div.path span.selected {
  background-color: #C0FFC0;
}

.contentarea {
  width: 100%;
  display: flex;
  overflow-x: auto;
}
div.title {
  display: block;
  width: 100%;
  border: 1px solid #000;
  text-align: left;
  background-color: #666;
  padding: 10px 0px 10px 10px;
  overflow: auto;
}
div.title span {
  color: #0ff;
  font-family: Inconsolata;
  font-size: 20pt;
  font-weight: 400;
  text-shadow: #000 1px 1px 0, #000 -1px -1px 0, #000 1px -1px 0, #000 -1px 1px 0, #000 0 1px 0, #000 1px 0 0, #000 0 -1px 0, #000 -1px 0 0, #000 0 0 0;
}
div.episodename {
  color: #FFF !important;
  text-shadow: none;
  font-size: 0.5em;
  font-style: italic;
  margin-top: 5px;
  font-family: Inconsolata;
}
div.title div {
  float: right;
  text-align: right;
  margin: -5px 20px 0px 0px;
  color: #FFF;
}

div.browser_horizontal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
div.browser_horizontal div {
  display: flex;
  justify-content: center;
  padding: 10px;
  border-style: solid;
  border-width: 1px;
  border-color: #000;
  background-color: #626268;
  cursor: pointer;
  font-weight: 400;
  text-decoration: none;
  color: #C0FFC0;
  font-family: Inconsolata;
  font-size: 20pt;
  margin: 5px;
}
div.browser_horizontal div.selected {
  background-color: #AAA;
  color: #080;
  font-weight: bold;
}

div.browser {
  display: flex;
}
div.browser div {
  display: flex;
  justify-content: left;
  margin: 0;
  padding: 10px;
  border-style: solid;
  border-width: 1px 0px;
  border-color: #000;
  background-color: #626268;
  cursor: pointer;
  font-weight: 400;
  text-decoration: none;
  color: #C0FFC0;
  font-family: Inconsolata;
  font-size: 20pt;
}
div.browser .selected {
  background-color: #888;
}
div.browser div:first-child {
  border-style: solid;
  border-width: 1px 0px 1px 1px;
  border-color: #000;
  padding-right: 5px;
  width: 30px !important;
}
div.browser div:last-child {
  border-right: 1px solid #000 !important;
}

  
table.browser {
  height: 20px;
  border-spacing: 0;
  border-collapse: collapse;
  width: 100%;
  table-layout: auto;
}
table.browser td {
  margin: 0;
  text-align: left;
  padding: 10px;
  border-style: solid;
  border-width: 1px 0px;
  border-color: #000;
  background-color: #626268;
  cursor: pointer;
  font-weight: 400;
  text-decoration: none;
  color: #C0FFC0;
  font-family: Inconsolata;
  font-size: 20pt;
}
table.browser tr.selected td {
  background-color: #888;
}
table.browser tr td:first-child {
  border-style: solid;
  border-width: 1px 0px 1px 1px;
  border-color: #000;
  padding-right: 5px;
  width: 30px !important;
}
table.browser tr td:last-child {
  border-right: 1px solid #000 !important;
}

.subfolder {
  color: #FF0 !important;
}
.title {
  padding-right: 50px;
  text-shadow: #000 1px 1px 0, #000 -1px -1px 0, #000 1px -1px 0, #000 -1px 1px 0, #000 0 1px 0, #000 1px 0 0, #000 0 -1px 0, #000 -1px 0 0, #000 0 0 0;
  border-right: 1px solid #000 !important;
}
.epname {
  font-size: 0.5em;
  text-shadow: none;
  color: #FFF;
  font-style: italic;
  margin-top: 5px;
  display: block;
}
.resolution {
  width: 50px;
}
.duration {
  width: 140px;
  border-style: solid;
  border-width: 1px 1px 1px 0px;
  border-color: #000;
  color: #999;
}
div.toolbar_icons {
  display: inline-flex;
  align-items: center;
  height: 50px;
  float: right;
}
div.toolbar_icons a img {
  height: 24px;
  width: auto;
  /*margin-right: 10px !important;*/
  cursor: pointer;
}
div.toolbar_icons a {
  margin-right: 10px !important;
  padding: 0 !important;
}
.rightside {
  float: right;
  max-width: 800px;
  margin-left: auto;
  text-align: right;
  margin-right: 30px;
}
.rightside img {
  max-width: 400px;
  max-height: 600px;
}
.description {
  color: #000;
  font-size: 14pt;
  font-weight: 400;
  background-color: #ffffe0;
  border: 2px solid #fff;
  border-radius: 10px;
  box-shadow: #000 1px 1px 20px;
  display: inline-block;
  font-family: Inconsolata;
  margin: 50px 0 20px;
  padding: 20px;
  text-shadow: #ccc 1px 1px 3px;
  text-align: justify;
}
.hidden-row {
  display: none;
}
.visible-row {
  display: table-row;
}
div.roots a {
  padding: 5px;
  background-color: #DDD;
  display: inline-block;
  border: 1px solid #000;
  box-shadow: #000 1px 1px 20px;
  margin: 20px;
}
img.pathimg {
  border: 4px solid #fff;
  box-shadow: #666 0 0 10px 1px;
  float: right;
  margin: -15px 0px 0px 20px;
}
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}
div.entrydetails {
  background-color: #FFF;
  border: 1px solid #000;
  padding: 10px 10px 0px 10px;
  box-shadow: #000 1px 1px 5px;
}
table.import {
  border-spacing: 0;
  border-collapse: collapse;
}
table.import th {
  background-color: #808080;
  padding: 10px;
  text-align: left;
}
table.import td {
  background-color: #EEE;
  padding: 10px;
  text-align: left;
}
table.import tr.first th {
  border-style: solid;
  border-color: #000;
  border-width: 1px 0px 0px 1px;
}
table.import tr.first td {
  border-style: solid;
  border-color: #000;
  border-width: 1px 1px 0px 0px;
}
table.import tr.middle th {
  border-style: solid;
  border-color: #000;
  border-width: 0px 0px 0px 1px;
}
table.import tr.middle td {
  border-style: solid;
  border-color: #000;
  border-width: 0px 1px 0px 0px;
}
table.import tr.last th {
  border-style: solid;
  border-color: #000;
  border-width: 0px 0px 1px 1px;
}
table.import tr.last td {
  border-style: solid;
  border-color: #000;
  border-width: 0px 1px 1px 0px;
}
.toggleimg {
  cursor: pointer;
}
table.import td:first-child {
  font-weight: bold;
}
input[type="radio"] {
  transform: scale(2);
  vertical-align: middle;
  margin-bottom: 15px;
}
label {
  font-size: 16px;
  position: relative;
  left: 10px;
}
.overlay {
  display: none;
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

#search-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#search-box input[type="text"] {
  padding: 10px 10px 15px 10px;
}
.newentry {
  display: none;
}

table.datadump {
  border: 1px solid #000;
  border-spacing: 0px;
  -moz-box-shadow: 2px 6px 4px #000;
  -webkit-box-shadow: 2px 6px 4px #000;
  box-shadow: 2px 6px 4px #000;
  margin-top: 25px;
  background-color: #808080;
}
  table.datadump th {
    padding: 2px;
    background-color: #808080;
    color: #FFF;
    font-weight: bold;
    vertical-align: top;
    text-align: left;
    position: relative;
  }

  table.datadump th.hdr {
    border-bottom: 1px solid #000;
    background-color: #444;
    color: #FF0;
  }
  
  table.datadump th.hdr span {
    float: right;
  }

  table.datadump th.tags {
    border-bottom: 1px solid #000;
    background-color: #DDD;
    color: #000;
    font-size: 0.7em;
    text-transform: uppercase;
  }
  
  table.datadump th.tags span {
    display: inline-block;
    border: 1px solid #C0C0FF;
    border-radius: 8px;
    padding: 5px 10px;
    background-color: #AAA;
    color: #333;
    cursor: pointer;
    -moz-box-shadow: 1px 1px 2px #000;
    -webkit-box-shadow: 1px 1px 2px #000;
    box-shadow: 1px 1px 2px #000;
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000')";
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#000000');
    margin-right: 5px;
  }
  
  table.datadump th.tags span:hover {
    background-color: #FFF;
  }
  
  table.datadump th.tags .active {
    background-color: #C0C0FF;
  }
  
  table.datadump th.subfolder {
    background-color: #626262;
    color: #FF0;
  }
  
  table.datadump th.subfolder a {
    color: #FF0;
    text-decoration: none;
  }
  
  table.datadump th.disabled {
    background-color: #FFC0C0 !important;
    color: #000 !important;
  }
  
  table.datadump tr.highlighted-white td {
    background-color: #FFF;
  }
  
  table.datadump tr.highlighted-red td {
    background-color: #FFC0C0;
  }
  
  table.datadump tr.highlighted-green td {
    background-color: #C0FFC0;
  }
  
  table.datadump tr.highlighted-blue td {
    background-color: #C0C0FF;
  }
  
  table.datadump tr.highlighted-teal td {
    background-color: #C0FFFF;
  }
  
  table.datadump tr.highlighted-purple td {
    background-color: #FFC0FF;
  }
  
  table.datadump tr.highlighted-gray td {
    background-color: #DDD;
  }
  
  table.datadump tr.userheader th {
    font-size: 2em; 
    font-weight: normal; 
    text-align: right;
    color: #FF0;
    background-color: #0A0;
  }
  
  table.datadump tr.userheader th.disabled {
    background-color: #A00;
  }
  
  table.datadump tr.header th {
    color: #FF0;
    text-transform: uppercase;
  }

  table.datadump tr.clickable td {
    cursor: pointer;
  }
  
  table.datadump tr.middle td {
    vertical-align: middle;
  }
  
  table.datadump tr.clickable:hover td {
    cursor: pointer;
    background-color: #FFF;
  }
  
  table.datadump tr.hover:hover td {
    cursor: pointer;
    background-color: #FFF;
  }

  table.datadump td {
    padding: 2px;
    vertical-align: top;
    background-color: #EEE;
    text-align: left;
  }
  
  table.datadump tr.spacer {
    height: 25px;
  }
  
  table.datadump tr.spacer td {
    vertical-align: bottom;
  }

#datatable_up {
  width: 100% !important;
}

#datatable_find {
  width: 100% !important;
}

#datatable_find td {
  background-color: #C0C0FF !important;
}

#datatable_find tr.selected td {
  background-color: #FFF !important;
}

#new_ptid {
  display: none;
}

div.roots a {
  border: 5px solid #000;
}

div.roots a.selected {
  border: 5px solid #F00;
}

ul#sortable {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-block;
}

ul#sortable li {
  border: 1px solid #000;
  background-color: #FFF;
  border-radius: 10px;
  padding: 5px 30px;
  cursor: pointer;
}

img.imgbutton {
  cursor: pointer;
  position: relative;
  top: -2px;
}

tr.error td {
  background-color: #FFC0C0 !important;
  color: #000 !important;
}

table.lookup {
  width: 100% !important;
}

table.lookup td {
  background-color: #FFFFFF !important;
}

#datatable_id_filter input {
  background-color: #FFFFE0 !important;
}

.current {
  background-color: #FFFFE0 !important;
}

table.tools {
  border: 1px solid #000;
  background-color: #FFF;
  min-width: 500px;
  max-width: 800px;
}

table.tools a:visited {
  color: #00F;
}

table.tools tr td:first-child, table.tools tr th:first-child {
  width: 80px;
}

table.tools td,th {
  font-family: Open-Sans,'Open Sans',Helvetica,Tahoma,sans-serif;
  font-size: 0.8em;
  background-color: #FFF;
  padding: 0px 5px;
  vertical-align: top;
}

table.stats th {
  font-size: 0.85em;
}

table.stats th.hdr {
  font-size: 1.2em !important;
}

.spacedout  {
  border-spacing: 10px 0 !important;
  border-collapse: separate !important;
  width: 75%;
  margin: 0 auto 20px auto;
}

.spacedout td {
  text-align: center !important;
}

div.wndContainer {
  width: 100%; 
  justify-content: center; 
  display: flex;
  flex-wrap: wrap;
}

div.wndContainer div {
  margin: 0px 10px;
  padding: 10px;
  vertical-align: top;
  text-align: center;
}

div.wndContainer h3 {
  color: #00F;
}

div.wndContainer a {
  text-decoration: none;
  color: #000;
}

table.stats tr.monlist td {
  cursor: pointer;
}

table.stats tr.monlist:hover td {
  cursor: pointer;
  background-color: #FFF;
}

.browser tr.def {
  border: 1px solid #F00 !important;
}

table.mediascan th:first-child:not(.hdr) {
  color: #FF0 !important;
}

.shadowbox {
  box-shadow: #000 2px 6px 4px;
}

.table-pagination-wrapper {
  position: relative;
  max-width: 1000px;
  min-height: 500px;
}

.pagination-controls {
  position: absolute;
  top: 0;
  right: 0;
  transform: translateX(100%);
  padding-left: 5px;
  min-height: 500px;
}

.pagination-controls img {
  cursor: pointer;
  background-color: #CCC;
}

.toolbtn {
  margin: 0px 6px;
  cursor: pointer;
}

.jumpbox {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

a.clean {
  text-decoration: none;
  color: inherit;
}

.tabcontrol {
  border: 1px solid #000;
  -moz-box-shadow: 1px 1px 2px #000;
  -webkit-box-shadow: 1px 1px 2px #000;
  box-shadow: 1px 1px 2px #000;
  border-collapse: collapse;
  max-width: 1000px;
}

  .tabcontrol th {
    font-family: Open-Sans, "Open Sans", Helvetica, Tahoma, sans-serif;
    font-weight: 700;
    padding: 10px;
    position: relative;
    text-align: left;
    vertical-align: top;
    background-color: #444;
    border-bottom: 1px solid #000;
    color: #ff0;
    font-size: 1.2em !important;
  }
  
  .tabs td {
    border: 1px solid #000;
    border-collapse: collapse;
    background-color: #FFF;
    padding: 5px 15px;
    cursor: pointer;
  }
  
  .tabs td:last-child {
    width: 80%;
    background-color: #CCC;
    border-top: none !important;
    cursor: inherit !important;
  }

  .tabcontrol .active {
    background-color: #C0FFC0 !important;
  }

  .content th {
    font-weight: normal !important;
    font-size: 1em !important;
  }
  
.proprow {
  display: none;
}

.dragskip {
  cursor: pointer;
}

#synopsis {
  display: none;
}

table#monitored_series tr.selected {
  color: #F00 !important;
}