@media (max-width: 1024px) {

  /* Mobile Only fix div hidden by bottom navigation bar of mobile browser when using height: 100vh */
  #previewer .preview {
    height: calc(100% - 4em) !important;
  }
}

@media (max-width: 800px) {
  body {
    padding-bottom: 5em;
  }

  #listing.list .item .size {
    display: none;
  }

  #listing.list .item .name {
    width: 60%;
  }

  #more {
    display: inherit
  }

  body.rtl #dropdown {
    right: unset;
    left: 1em;
    transform-origin: top left;
  }

  header img {
    display: none;
  }

  #listing {
    margin-bottom: 5em;
  }

  body.rtl #listing {
    margin-right: unset;
  }

  body.rtl .breadcrumbs {
    transform: translateX(16em);
  }

  body.rtl #nav .wrapper {
    margin-right: unset;
  }

  body.rtl .dashboard .row {
    margin-right: unset;
  }
  #search {
    min-width: unset;
    max-width: 60%;
  }

  #search.active {
    display: block;
    position: fixed;
    top: 0;
    left: 50%;
    width: 100%;
    max-width: 100%;
  }
  #search #input {
    transition: 1s ease all;
  }
  #search.active #input {
    border-bottom: 3px solid rgba(0, 0, 0, 0.075);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(6px);
    height: 4em;
  }

  #search.active>div {
    border-radius: 0 !important;
  }

  #search.active #result {
    height: 100vh;
    padding-top: 0;
  }

  #search.active #result>p>i {
    text-align: center;
    margin: 0 auto;
    display: table;
  }

  #search.active #result ul li a {
    display: flex;
    align-items: center;
    padding: .3em 0;
    margin-right: .3em;
  }

  #search #input>.action,
  #search #input>i {
    margin-right: 0.3em;
    user-select: none;
  }

  #result-list {
    width:100%;
    left: 0;
    top: 4em;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    overflow: scroll;
    display: flex;
    flex-direction: column;
  }
}


@media (max-width: 450px) {
  #listing.list .item .modified {
    display: none;
  }

  #listing.list .item .name {
    width: 100%;
  }
}

/* Mobile Specific Styles */
.mobile-only {
  display: none !important;
}