/* aws file manager */
.aws_popup_overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.5;
  z-index: 9999999;
  display: none;
}
.aws_file_manager_popup {
  width: 800px;
  position: fixed;
  height: 600px;
  z-index: 99999999;
  background: #ffffff;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
  display: none;
  /* animation-name: aws_file_manager_error; */
  animation-duration: 0.2s;
  animation-iteration-count: 3;
}
@keyframes aws_file_manager_error {
  0% {
    transform: scale(1), translate(-50%, -50%);
  }
  50% {
    transform: scale(0);
  }
  100% {
    transform: scale(1), translate(-50%, -50%);
  }
}
.aws_header {
  background: #d94f41;
  padding: 15px 20px;
}
.aws_header h2 {
  color: #ffffff;
  margin: 0 !important;
  font-size: 15px !important;
  padding: 0 !important;
  line-height: 1 !important;
}
.aws_body {
  padding: 0 30px;
  overflow: hidden;
  height: 86%;
}
.aws_body .aws_folder_list {
  width: 200px;
  float: left;
  padding-top: 20px;
}
.aws_body .aws_folder_list li {
  margin-bottom: 0 !important;
}
.aws_body .aws_folder_list ul,
.aws_body .aws_file_list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.aws_body .aws_folder_list ul li a {
  text-decoration: none;
  padding: 4px;
  display: block;
  color: #0073aa;
}
.aws_body .aws_folder_list ul li a:hover,
.aws_body .aws_folder_list ul li a:focus,
.aws_body .aws_folder_list ul li a.active,
.aws_body .aws_folder_list a.active:first-child {
  background: #1f546dc7;
  color: #ffffff;
}
.aws_body .aws_file_list {
  border-left: 2px solid #dddddd;
  padding-left: 20px;
  overflow: hidden;
  height: 100%;
  width: 540px;
  box-sizing: border-box;
  float: left;
  padding-top: 20px;
  overflow: scroll;
  padding-bottom: 20px;
}
.aws_body .aws_file_list ul li a {
  text-decoration: none;
  padding: 4px;
  display: block;
  color: #0073aa;
}
.aws_body .aws_file_list ul li a:has > svg {
  display: flex;
  align-items: center;
}
.aws_body .aws_file_list ul li a svg {
  width: 15px;
  height: 15px;
}
.aws_body .aws_file_list ul li a:hover,
.aws_body .aws_file_list ul li a:focus,
.aws_body .aws_file_list ul li a.active {
  background: #1f546dc7;
  color: #ffffff;
}
.aws_file_manager_popup .close {
  position: absolute;
  right: 5px;
  top: 5px;
  font-size: 18px;
  background: black;
  color: #ffffff;
  border-radius: 50%;
  height: 22px;
  width: 22px;
  text-align: center;
  cursor: pointer;
}
ul.child_2,
ul.child_3,
ul.child_4,
ul.child_5,
ul.child_6,
ul.child_7,
ul.child_8,
ul.child_9 {
  margin-left: 20px !important;
  display: none;
}

.aws_loading {
  position: fixed;
  z-index: 9999999999;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
}
a.root_folder {
  margin-left: -10px;
  margin-bottom: 5px;
  text-decoration: none;
  display: block;
  padding: 4px;
}
/* Hide scrollbar for Chrome, Safari and Opera */
.aws_file_list::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.aws_file_list {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
.aws_footer {
  background: #d94f41;
  position: relative;
  text-align: right;
  padding: 6px 20px;
}
.aws_footer button {
  padding: 5px 20px;
  background: black;
  color: #ffffff;
  border-radius: 3px;
  border: none;
  cursor: not-allowed;
}
.preview_panel {
  z-index: 9999999999;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 400px;
  display: none;
}
.preview_panel .preview img {
  max-width: 100%;
}
.preview_panel .preview_close {
  position: fixed;
  color: #ffffff;
  z-index: 9999999999999;
  top: -20px;
  right: -20px;
  background: #000000;
  width: 20px;
  height: 20px;
  text-align: center;
  cursor: pointer;
  border-radius: 50%;
}
.preview_media:focus {
  outline: none;
}
.preview_panel .preview {
  float: none;
  text-align: center;
}
