BODY {
  background-color:#FFFFDD;
  font-family:Verdana;
  font-size:small;
}

A {
  color: #000000;
  text-decoration: none;
}

A:hover {
  text-decoration: underline;
}

#top {
  width:100%;
  padding-bottom: 10px;
  padding-top: 10px;
}

#top a span, #top a:hover, #top a span:hover{
  color:#68a9d2;
  font-weight:bold;
  text-align:center;
  font-size:large;
}

#top a {
  display:block;
  padding: 0;
}

#top span {
  display:block;
}

div.subtitle{
  width:80%;
  margin: 0 auto;
  color:#68a9d2;
  text-align:center;
}

#frame {
  border: 1px solid #CDD2D6;
  text-align:left;
  position: relative;
  margin: 0 auto;
  max-width:680px;
  overflow:hidden;
}

#frame.dragover {
    outline: 4px dashed #4caf50;
    opacity: 0.5;
    outline-offset: -2px;
}

.msg_box {
  max-width:670px;
  color:#000000;
  padding:3px;
  position: relative;
  margin: 2pt auto;
  text-align:center;
  border: 1px solid black;
}

.msg_box_close_btn {
  position: absolute;
  top: -1px;
  right: 6px;
  cursor: pointer;
  font-size: small;
  font-weight: bold;
  color: black;
  user-select: none;
}

.msg_box_close_btn:hover {
  color: red;
}

.error {
  background-color:#FFE4E1;
}

.info {
  background:#f9f06b;
}

input {
  border: 1px solid #CDD2D6;
}

.bar{
  width:100%;
  clear:both;
  height:1px;
}

/* File list */

table.table {
  width:100%;
  border-collapse: collapse;
  table-layout: fixed;
  word-wrap: break-word;
}

table.table td{
  padding:3px;
}

table.table tr.row.two {
  background-color:#fcfdfe;
}

table.table tr.row.one {
  background-color:#f8f9fa;
}

table.table tr.row td.icon {
  width:20px;
  padding-top:3px;
  padding-bottom:1px;
}

table.table tr.row td.size {
  width: 100px;
  text-align: right;
}

table.table tr.row td.changed {
  width: 135px;
  text-align: center;
}

.container_cb_sel {
  padding: 1px;
  width: 13px;
  text-align: center;
  vertical-align: middle;
}

.container_cb_sel input[type="checkbox"] {
  margin: 0;
  padding: 0;
  transform: scale(0.8);
}

table.table tr.header img {
  vertical-align:bottom;
}

table img{
  border:0;
}

/* Info area */

#info {
  color:#000000;
  font-family:Verdana;
  max-width:680px;
  position: relative;
  margin: 5px auto;
  text-align:center;
}

#cmds_container {
  color:#000000;
  font-family:Verdana;
  margin: 5px 0px;
  text-align:center;
  display: flex;
  gap: 5px;
}

.btn_cmd {
  padding: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.btn_cmd_en {
  cursor: pointer;
}

.btn_cmd_en:hover {
  transform: scale(1.1);
}

.btn_cmd_dis {
  opacity: 0.5;
  cursor: not-allowed;
  color: #666;
}

.sort_arrow {
  cursor: pointer;
  user-select: none;
}

.dir_rights {
  font-size: small;
}

.dir_rights.editable {
  cursor: pointer;
  user-select: none;
}

.dir_rights.editable:hover {
  color: blue;
  text-decoration: underline;
}

/* Thumbnail area */

#thumb {
  position:absolute;
  border: 1px solid #CDD2D6;
  background:#f8f9fa;
  display:none;
  padding:3px;
}

#thumb img {
  display:block;
}

/* Breadcrumbs */

div.breadcrumbs {
  display:block;
  padding:1px 3px;
  color:#77767b;
  font-size:x-small;
}

div.breadcrumbs a{
  display:inline-block;
  color:#3d3846;
  padding:2px 0;
  font-size:small;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.permission-panel {
    width: 200px;
    padding: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fafafa;
    font-family: Arial, sans-serif;
}

.permission-panel h3 {
    margin-top: 0;
    text-align: center;
}

.permission-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0;
}

.permission-row label {
    font-weight: bold;
}

.permission-panel select {
    padding: 4px 6px;
    min-width: 100px;
}

.permission-row input {
  margin-top: 10px;
  padding: 7px 7px;
  border: 1px solid #ddd;
  border-radius: 8px;
  outline: none;
}

.recursive-box {
    margin-top: 15px;
    display: flex;
    align-items: center;
    font-weight: bold;
}

.link_disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pswp__img {
  cursor: default;
}

@media screen and (max-width: 768px) {
  table.table tr.row td.changed {
    display: none;
  }
  .btn_cmd_en:hover {
      transform: none;
  }

  #cmds_container {
    font-size:x-small;
  }
}

