
.file-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 3; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.2); /* Black w/ opacity */
}

.file-select-content {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 30px auto 1fr 30px 30px;
  margin: auto;
  padding: 10px;
  background: #ffffff;
  width: 600px;
  height: 500px;
  font-size: 12px;
  border-radius: 5px;
}

.file-select-content .title {
    padding-left: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #bbbbbb;
    font-size: 15px;
    font-weight: 400;
}

.file-select-content .title .label {
    display: inline-block;
    float: left;
    margin-top: 6px;
}

.file-select-content > .path {
    display: grid;
    grid-template-columns: 50px 1fr;
}

.file-select-content .path div {
    display: inline-block;
    font-size: 12px;
    padding-left: 5px;
}

.file-select-content .path .label {
    padding-left: 20px;
    line-height: 30px;
    font-weight: 700;
}

.file-select-content .path .content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding-left: 5px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.file-select-content .path .content .seg {
    color: #1155cc;
    font-weight: 700;
}

.file-select-content .path .content .dir:hover {
	cursor: pointer;
	background: #dddddd;
}

.file-select-content .browser {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 20px;
    padding-left: 5px;
    padding-top: 8px;
    border-top: 1px solid #bbbbbb;
    border-bottom: 1px solid #bbbbbb;
    overflow: auto;
}

.file-select-content .browser .entry {
    line-height: 20px;
    font-size: 12px;
    padding-left: 5px;
}

.file-select-content .browser .entry:hover {
	cursor: pointer;
	background: #dddddd;
}

.file-select-content .browser .entry .icon {
    display: inline-block;
    float: left;
    height: 20px;
    width: 20px;
}

.file-select-content .browser .entry.dir .icon {
    background-image: url("folder.png");
    background-repeat: no-repeat;
    background-position: center center;
}

.file-select-content .browser .entry .name {
    display: inline-block;
    padding-left: 5px;
    padding-top: 1px;
}

.file-select-content .file .label {
    display: inline-block;
    padding-left: 20px;
    line-height: 30px;
    font-weight: 700;
}

.file-select-content .file .content {
    display: inline-block;
    padding-left: 5px;
    line-height: 30px;
    color: #1155cc;
    font-weight: 700;
    width: 85%;
}

#file-select-select {
    float: right;
}

#file-select-cancel {
    margin-left: 10px;
    float: right;
}

.file-select-content .ctls {
    display: flex;
    justify-content: center;
    border-top: 1px solid #bbbbbb;
    padding-top: 8px;
}

.file-select-content .title .close {
  display: inline-block;
  float: right;
  color: #888888;
  text-align: right;
  font-size: 15px;
  font-weight: bold;
  margin-right: 10px;
  line-size: 30px;
}

.file-select-content div .close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.file-select-content .file .content input {
    width: 97%;
}