@charset "utf-8";
@import url('https://cdn.rawgit.com/moonspam/NanumSquare/master/nanumsquare.css');

.gallery-board {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
}
.gallery-grid {
    display: flex;
    flex-direction: column;
}

.pic-header {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: space-between;
}

.list-option {
    display: flex;
    flex: 1;
    gap: 5px;
	margin-bottom: 3px;
	opacity: 20%;
}

.list-option:hover {
	opacity: 100%;
}

.list-option.btn {
	justify-content: flex-end;
	font-size: 10px;
    font-family: nanumsquare;
}

.gall_chk {
    z-index: 10;
}

.ico-category {
    background: #333;
	color: #eee;
    border-radius: 10px;
    padding: 0px 5px;
    font-size: 10px;
    font-family: nanumsquare;
}

.gallery-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border: 1px solid #eee;
  border-radius: 30px;
  background: #eeeeee17;
  backdrop-filter: blur(2px);
  filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.5));
}

.gallery-item img {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 1000;
  backdrop-filter: blur(3px);
}

.modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 900px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-close {
    position: relative;
    top: 0;
    left: 0px;
    font-size: 45px;
    cursor: pointer;
    color: #ffffff;
    text-shadow: 0px 0px 3px black;
}

.modal-description {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 15px;
    border-radius: 20px;
}

.modal-title {
    font-family: nanumsquare;
    font-size: 18px;
    font-weight: bold;
    color: #eee;
	text-shadow: 1px 3px 3px black;
}

.modal-meta {
    font-family: nanumsquare;
    font-size: 12px;
    font-weight: normal;
    color: #bbb;
}

.modal-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.modal-nav-btn {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  padding: 0 10px;
  color: #eee;
  text-shadow: 3px 3px 3px black;
}

.modal-img {
  max-width: 100%;
  max-height: 700px;
  display: block;
}

.simple-ui-btn {
    display: flex;
    gap: 5px;
}

.simple-btn {
    background: #eee;
    color: #333;
    padding: 5px;
    font-size: 18px;
    border-radius: 10px;
    border: 1px inset #eee;
}

.simple-btn.admin {
    background: #333 !important;
}

button.select-trash-btn {
    width: 30px;
    height: 30px;
    border: 1px inset #eee;
    background: #333;
    color: #eee;
    border-radius: 10px;
    font-size: 14px;
}

.simple-chk-option {
    display: flex;
    gap: 5px;
    justify-content: flex-end;
}

.simple-category {
    display: flex;
	gap: 5px;
    margin-bottom: 20px;
    justify-content: center;
}

.simple-category li {
    background: #333;
    color: #eee;
    font-size: 10px;
    font-family: 'NanumSquare';
    border-radius: 10px;
    padding: 2px 5px;
    border: 1px inset #333;
}

.simple-guide {
    display: flex;
    justify-content: space-between;
}

.ui-search-box select, .ui-search-box input[type="text"] {
    background: #333;
	color: #eee;
	border-radius: 15px;
    width: 100%;
}

::-webkit-scrollbar {
  display: none;
}

/* 모바일 */
@media (max-width: 768px) {
	.gallery-board {
		gap: 10px !important;
	}
	.pic-header {
		display: none !important;
	}
	.gallery-item {
		width: 150px !important;
		height: 150px !important;
	}
}
