@charset "UTF-8";
*, *:before, *:after {
  margin: 0;
  padding: 0;
  border-spacing: 0;
  font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo, "メイリオ", Osaka, "MS PGothic", arial, helvetica, sans-serif;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  list-style: none;
  -webkit-overflow-scrolling: touch;
}

body {
  width: 100vw;
  height: 100vh;
  margin: auto;
  overflow: hidden;
  display: flex;
  display: -webkit-flex;
  position: relative;
  flex-direction: column;
}

header {
  display: flex;
  display: -webkit-flex;
  position: relative;
  flex-direction: row;
  flex-grow: 0;
  color: #FFF;
  background: #000;
}

header div {
  display: inline-block;
  flex-grow: 0;
}

footer {
  flex-grow: 0;
  color: #FFF;
  background: #000;
  text-align: center;
}

.WRAPPER {
  display: flex;
  display: -webkit-flex;
  position: relative;
  flex-direction: column;
  flex-grow: 1;
  overflow: hidden;
  overflow-y: auto;
}

nav {
  display: flex;
  display: -webkit-flex;
  position: relative;
  flex-direction: row;
  flex-grow: 1;
  background: #888;
  border-left: 1px solid #CCC;
}

nav div {
  max-width: 240px;
  flex-grow: 1;
  padding: 16px;
  cursor: pointer;
  text-align: center;
  color: #FFF;
  background: #333;
}

nav div:nth-child(n+2) {
  border-left: 1px solid #CCC;
}

nav div.SEPARATOR {
  max-width: unset;
  cursor: default;
  background: none;
}

nav div.ACTIVE {
  background: #5f77ff;
}

.WINDOW {
  display: flex;
  display: -webkit-flex;
  position: relative;
  flex-direction: column;
  margin: 8px 0 0;
}

.WINDOW.LOGIN {
  width: 300px;
  margin: 8px auto 0;
  border: 1px solid #cccccc;
}

.WINDOW.UPLOAD {
  width: 600px;
  margin: 8px auto 0;
  border: 1px solid #cccccc;
}

.WINDOW.LIST {
  max-width: 100vw;
  margin: 8px auto 0;
  border: 1px solid #cccccc;
}

.WINDOW.LIST div {
  display: flex;
  display: -webkit-flex;
  position: relative;
  flex-direction: row;
}

.WINDOW.LIST div span {
  flex-grow: 1;
  border-right: 1px solid #CCC;
}

.WINDOW.LIST div span:last-child {
  border: none;
}

.WINDOW .TITLE {
  min-height: 28px;
  padding: 4px 8px 0;
  color: white;
  background: black;
}

.WINDOW .TITLE select {
  flex-grow: 0;
}

.WINDOW label {
  display: flex;
  display: -webkit-flex;
  position: relative;
  flex-direction: row;
  min-height: 36px;
  padding: 4px;
  border-bottom: 1px solid #CCC;
}

@media (max-width: 744px) {
  .WINDOW label {
    display: flex;
    display: -webkit-flex;
    position: relative;
    flex-direction: column;
  }
}

.WINDOW label span {
  flex-grow: 1;
}

.WINDOW label span:first-child {
  min-width: 20%;
  max-width: 160px;
  flex-grow: 1;
}

.WINDOW label input[type="text"] {
  max-width: 100%;
  max-height: 24px;
  flex-grow: 1;
}

.WINDOW .BUTTON {
  min-height: 36px;
  padding: 4px;
  flex-grow: 1;
  text-align: center;
}

button {
  cursor: pointer;
  padding: 2px 6px;
  margin: 0 4px;
  border-radius: .25rem;
  min-width: 74px;
  width: auto;
  color: #FFF;
  background: #000;
  border: none;
}

table {
  display: flex;
  display: -webkit-flex;
  position: relative;
  flex-direction: column;
  max-height: 640px;
}

table thead, table tbody {
  display: flex;
  display: -webkit-flex;
  position: relative;
  flex-direction: column;
}

table thead {
  color: #FFF;
  background: #EEE;
}

table thead tr:nth-child(odd) th {
  background: #2658ff;
}

table thead tr:nth-child(even) th {
  background: #5f77ff;
}

table tbody {
  max-height: 540px;
  overflow: hidden;
  overflow-y: auto;
}

table tr {
  display: flex;
  display: -webkit-flex;
  position: relative;
  flex-direction: row;
  min-height: 28px;
}

table tr th, table tr td {
  border-bottom: 1px solid #CCC;
}

table tr:last-child td {
  border-bottom: none;
}

table th, table td {
  padding: 2px 2px 0;
  border-right: 1px solid #CCC;
}

table td:last-child {
  border-right: none;
}

table th.NAME {
  width: 435px;
}

table th.UPLOAD {
  width: 180px;
}

table th.DOWNLOAD {
  width: 210px;
}

table th.DELETE {
  width: 180px;
}

table th.URL {
  width: 738px;
}

table th.PWD {
  width: 267px;
}

table td span {
  display: inline-block;
  margin-left: 2px;
  padding: .25em .4em;
  font-size: 75%;
  line-height: 1;
  vertical-align: text-top;
  color: #FFF;
  background: #5f6aff;
  border-radius: .25rem;
}

table td.NAME {
  width: 435px;
}

table td.UPLOAD {
  width: 180px;
}

table td.DOWNLOAD {
  width: 210px;
}

table td.DELETE {
  width: 180px;
}

table td.URL {
  width: 649px;
  border-right: none;
}

table td.PWD {
  width: 180px;
  border-right: none;
}

table td.BTN {
  width: 88px;
}
