article.tree {
  width: 90%;
  margin: 10px auto;
}

div.indent {
  display: inline-block;
  width: 50px;
  position: relative;
}

hr.indent {
  display: inline-block;
  width: 20px;
}

/* Remove default bullets */
ul,
#myUL {
  list-style-type: none;
}

/* Remove margins and padding from the parent ul */
#main_ul {
  margin: 0;
  padding: 0;
}

#main_ul li {
  text-align: -webkit-match-parent;
  padding: 10px 5px 5px 5px;
  margin: 10px;

  background-color: whitesmoke;

  text-overflow: ellipsis;
  white-space: nowrap;
  word-wrap: normal;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
}

#main_ul li.folders,
#main_ul li.files,
#main_ul .subtitle {
  border-bottom: 1px solid #ddd;
}

/* 폴더 및 파일 아이콘 스타일 */
.folders::before,
.files::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin: 0 10px;
}
/* Create the caret/arrow with a unicode, and style it */
.folders::before {
  content: "\F07B";
  color: black;
}

/* Rotate the caret/arrow icon when clicked on (using JavaScript) */
.folder-down::before {
  content: "\F07C";
  color: blue;
}

.files::before {
  content: "\F1C8";
  color: green;
  margin: 0 10px;
}

/* Hide the nested list */
.nested {
  display: none;

  background-color: rgba(240, 240, 240, 0.5);

  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.active {
  display: block;
}

.folders:first-child,
.nested li:first-child {
  border-top: 1px solid #ddd;
}

.movie_click_parents {
  background-color: #b3f1c6 !important;
}
.movie_click_current {
  background-color: #b5b4f5 !important;
  border-radius: 15px;
}

audio#myAudio,
video#myVideo,
img#myImage {
  margin: 0 auto;
  /* object-fit: contain; */
  background-size: cover;
  display: none;
  /* border: 1px solid blue; */
  border-radius: 15px;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.6);
  outline: 0;
  cursor: pointer;
}

video#myVideo {
  width: 80%;
}

/* img#myImage {
  border: 2px solid blue;
  height: 80%;
  cursor: pointer;
} */

#overlayText {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 0%);
  z-index: 1000;
  background-color: rgba(0, 0, 255, 0.2);
  display: none;
  border-radius: 20px;
  box-shadow: 1px 1px 5px black, 0 0 40px blue, 0 0 20px rgba(0, 0, 139, 0.5);
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

#overlayText:hover {
  opacity: 1;
}

#topText {
  color: white;
  font-size: 30px;
  font-weight: bold;
  align-self: center;
  padding: 0.5rem 2rem;
}

.current_year {
  background-color: #eee !important;
}
.current_month {
  background-color: #ddd !important;
}

@media (max-width: 768px) {
  #imgBox {
    position: static !important;
  }
  #imgBox img {
    position: absolute !important;

    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
  }

  #overlayText {
    top: 20%;
    width: 80%;
  }

  h2#topText {
    font-size: 1rem;
  }

  hr.h-line {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }
  a.index-folder {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }
}
