@charset "utf-8";

/* List */
.board-top { 
	color: #fff;
    background: #262b2f;
    border: 1px solid #444;
    padding: 10px;
    margin-bottom: 10px;
}
.board-top h2 {
    color: #d1ff00;
    margin: 5px 5px 15px;
    font-size: 16pt;
    font-weight: bold;
}
.board-top p {
    font-weight: bold;
    text-align: justify;
    font-size: 12pt;
    margin: 5px;
}
.list-wrap .list-item {
    padding: 5px;
    background: linear-gradient(#27343b, #000000);
    border: 1px solid #2d3134;
}

.list-wrap .list-item h2 {
    margin: 10px 5px 5px;
}

.list-wrap .list-item h2 a {
    color: #fff;
}

.list-wrap .list-item h2 a:hover {
    color: #ff0000;
}

.list-item .label-tack { padding-left:10px; }
.list-item h2 { display:block; font-size:14px; line-height:22px; margin:10px 5px; text-align:center; }
.list-item .list-img { position:relative; overflow:hidden; margin:0 auto; }
.list-item .list-img img { width:100%; height:auto; margin:0 auto; }
.list-item .list-date { position:absolute; bottom:10px; padding:0px 10px; font-size:12px; line-height:23px; }
.list-item .list-date.left { left:0px; }
.list-item .list-date.right { right:0px; }
.list-item .list-details { padding:0 3%; }
.list-item .list-details .member, .list-item .list-details .guest { color:#787878 !important; }

/* Responsive */
@media all and (max-width:767px) {
	.responsive .list-row { width:50% !important }
}
@media all and (max-width:420px) {
	.responsive .list-row { width:100% !important }
}

/* 검색 모달 스타일 - tail.sub.php의 검색 모달 사용 */
#searchModal .modal-dialog {
    min-width: 300px;
    max-width: 500px;
    width: 90%;
    margin: 30px auto;
}

body.modal-open {
    overflow: hidden;
}

body.modal-open #searchModal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    z-index: 1050;
}

body.modal-open #searchModal .modal-dialog {
    width: 100%;
    max-width: 500px;
    min-width: 300px;
    margin: 0;
    z-index: 1051;
}

body.modal-open #searchModal .modal-content {
    z-index: 1052;
}