#content {
    float: none;
    width: 100%;
  }

  body {
    background-color: #000;
    color: white;
    width: 99%;
    font-size: 140%;
  }

  input[type="checkbox"] {
      transform: scale(2);
      -moz-transform: scale(2); /* FF */
      -webkit-transform: scale(2); /* Safari and Chrome */
      -o-transform: scale(2); /* Opera */
  }

  a {
    text-decoration: underline dotted;
    color: white;
  }

  a:hover {
    color: yellow;
  }
  
  .dir_title {
  }

  .dir_name, .dir_parent {
    margin: 3px;
    padding: 6px;
    display: inline-block;
    border-radius: 10px;
    font-weight: bold;
  }

  .dir_parent {
    background-color: rgb(75, 51, 51);
  }

  .dir_name {
    background-color: rgb(20, 35, 35);
  }

  .dir_row {
    display: inline-block;
    margin: 8px;
    padding: 6px;
    border-radius: 8px;
    font-size: 130%;
    font-weight: bold;
    background-color: rgb(79, 52, 21);
  }

  .item_control {
    background-color: gray;
    border-radius: 10px;
    opacity: 0.6;
    padding: 5px;
    padding-bottom: 0;
    font-size: 1em;
    text-decoration: none;
  }

  .item_control:hover {
      opacity: 1;
  }


  .item_box {
    display: inline-block;
    position: relative;
    color: white;
    margin: 5px;
    overflow: break-word;
    width: 15%;
    background-color: #333;
  }

  .thumbnail_image, .thumbnail_image_hidden {
    width: 100%;
    height: 100%;
    object-position: top;
  }

  .thumbnail_image_hidden {
    opacity: 20%;
  }

  .thumbnail_caption {
    font-size: 70%;
    color: white;
    opacity: 0.6;
    pointer-events: none;
  }

  .thumbnail_desc {
    position: absolute;
    bottom: 3px;
    left: 4px;
    font-size: 80%;
    color: rgb(243, 252, 172);
    background-color: rgba(50, 50, 50, 0.3);
    border-radius: 5px;
    pointer-events: none;
  }

  .thumbnail_image_and_caption {
    word-break: break-all;
    width: 100%;
    height: 100%;

    /* for placement within the square dummy */
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
  }

  .hide_item {
    position: absolute;
    top: 55%;
    right: 1%;
  }

  .movie_symbol {
      position: absolute;
      top: 12%;
      left: 2%;
      font-size: 150%;
      transform: scale(-1, 1);
      filter: drop-shadow(0 0 0.75rem cyan);
  }

  .insert_text_button {
    position: absolute;
    top: 35%;
    right: 1%;
  }

  .text_button {
      text-decoration: none;
  }

  .edit_item_button {
    position: absolute;
    top: 15%;
    right: 1%;
  }

  .insert_text_in_text_item {
    font-size: 150%;
    padding: 0;
    opacity: 0.4;
  }

  .item_download_button {
    position: absolute;
    top: 35%;
    left: 3px;
    opacity: 0.6;
  }

  .share_button {
    position: absolute;
    top: 1%;
    left: 3px;
  }

  .add_to_bucket_button {
    position: absolute;
    top: 75%;
    right: 3px;
    opacity: 0.3;
    padding: 5px;
  }

  .add_to_bucket_button:hover {
      opacity: 1;
  }

  .toast {
    position: fixed;
    width: 80%;
    top: 30px;
    left: 30px;
    z-index: 9998!important;
    background-color: aqua;
    border-radius: 10px;
    padding: 20px;
    font-size: 200%;
    color: black;
  }

  .video_item {
    border-width: 8px;
    border-color: rgb(159, 36, 159);
    border-style:ridge;
  }

  .item_group_break {
    padding: 30px;
  }

  .top_line {
    font-size: 120%;
  }

  .menu {
      float: right;
      margin-right: 1em;
  }

  .text_item, .text_item_edit {
    margin: 10px;
  } 

  .text_item_padding_top {
    padding: 5px;
  }

 .text_item_edit {
    border: 2px;
    border-style: dashed;
    border-width: 3px;
    border-color: grey;
    /* for insert_text above button */
    position: relative;
  } 

 .insert_text_textarea, .edit_item_textarea {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    height: 275px;
    background-color: rgb(34, 33, 33);
    color: blanchedalmond;
    border-style: dashed;
    border-width: 3px;
    font-size: 150%;
  }

  .img_class {
  }
 
  /* phone */
  @media screen and (min-resolution: 250dpi) {
    body {font-sizex: 400%;}
  }

  @media screen and (orientation: portrait) and (max-width: 1400px) and (min-resolution: 250dpi) {
    .item_box { width: 46%; }
  }

  @media screen and (min-width: 100px) and (max-resolution: 250dpi) {
    .item_box { width: 46%; }
  }

  @media screen and (min-width: 600px) and (max-resolution: 250dpi) {
    .item_box { width: 31%; }
    .text_item, .text_item_edit {font-size: 140%;}
  }

  @media screen and (min-width: 1400px) and (max-resolution: 250dpi) {
    .item_box { width: 18%; }
    .text_item, .text_item_edit {font-size: 140%;}
  }

  @media screen and (min-width: 1700px) and (max-resolution: 250dpi) {
    .item_box { width: 16%; }
    .text_item, .text_item_edit {font-size: 140%;}
  }

  @media screen and (min-width: 2000px) and (max-resolution: 250dpi) {
    .item_box { width: 11%; }
    .text_item, .text_item_edit {font-size: 140%;}
  }

  #dummy {
    margin-top: 100%;
    /* 4:3 aspect ratio */
  }

  .text_item_timestamp {
    font-size: 70%; 
    color: gray;
    word-break: break-all;
  }

  .toc_item {
    text-decoration: dotted;
  }

  .edit_button{
    font-size: 150%;
    margin: 10px;
  }

  .txt_box {
    padding: 8px;
    border-radius: 5px;
    background-color: #333;
  }

  .invert {
      filter: invert(100%);
      -webkit-filter: invert(100%);
  }

  .edit_rating {
    cursor: pointer;
    padding: 0.2em;
    padding-right: 0.4em;
    padding-left: 0.4em;
    border-radius: 0.4em;
    background-color: gray;
  }

  .edit_rating_h {
    background-color: rgb(166, 255, 0);
      color: black;
  }

  .edit_close_button {
    position: fixed;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 200%;
  }

  .edit_item_info {
    line-height: 1em;
    font-size: 80%;
  }

  .eii_key {
    color: rgb(186, 186, 195);
  }

  .eei_value {
    padding-left: 1em;
    font-weight: bold;
  }

  .top_info {
    color: gray;
    float: right;
    margin-right: 1em;
    font-size: 70%;
  }

  .circle {
    width: 1.5em;
    height: 1.5em;
    line-height: 1.5em;
    border-radius: 50%;
    text-align: center;
  }

  .rating_indicators {
    position: absolute;
    top: 1%;
    right: 1%;
    opacity: 0.6;
  }

  .rating_indicator {
    float: right;
    border: 2px solid gray;
    color: black;
    font-size: 70%;
    cursor: pointer;
    background-color: gray;
  }

  .hl {
    background-color: rgb(179, 198, 133);
  }

  .hide_item_on_slides {
    background-color: gray;
    border-radius: 10px;
    padding: 5px;
    padding-bottom: 0;
    font-size: 1em;
    text-decoration: none;
    cursor: pointer;
    float: right;
    color: black;
    margin-right: 1em;
  }

  .button {
    color: black;
  }

  .select_min_rating {
    background-color: #444;
    color: white;
  }

  .edit_dir_button {
    cursor: pointer;
    color: white;
  }
  .edit_dir_button:hover{
    color: yellow;
  }

  .input_area {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background-color: rgb(34, 33, 33);
    color: blanchedalmond;
    border-width: 1px solid grey;
  }

  .in_bucket {
    opacity: 1;
    color: yellow;
  }

.bucket_cmd {
    background-color: grey;
    margin: 8px;
    padding: 8px;
    border-radius: 2px;
    text-decoration: none;
}

.filter_message {
  background-color: rgb(80, 60, 3);
  margin: 8px;
  padding: 8px;
  border-radius: 2px;
}
