/*************************/
/* #header
/*************************/
#header {
    position: relative;
    width: 100%;
}



/*************************/
/* #footer
/*************************/
#footer {
    position: relative;
    width: 100%;
}




/*************************/
/* #main
/*************************/
#main {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 0 30px 0;
}

#main .eng,
#main a.eng {
    font-family: 'Roboto';
    letter-spacing: 0;
}

#main img.max-width {
	max-width: 100%;
}

#main .list-group .list-group-item:hover {
    cursor: pointer;
    color: var(--text-red);
}


#main .view-content img {
    max-width: 100%;
}


@media (max-width: 1200px) {
    #main > h4 {
        display: block !important;
    }
    #main > h4 > .nav {
        margin-top: 15px;
        margin-bottom: -10px;
    }
	.card-body {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	#main img.max-width {
		width: 100%;
	}
    #main .view-content {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}



/* 갤럭시 폴드 8 */
@media (min-width: 705px) and (max-width: 935px) {
    #main img.max-width {
        width: 80%;
    }
}






/*************************/
/* #loading-wrap
/*************************/
body.loading {
	width: 100vw !important;
	height: 100vh !important;
	overflow: hidden !important;
}
#loading-wrap {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0,0,0,0.7);
	z-index: 99999999999;
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: #fff;
	transition: all 0.3s ease;
}
#loading-wrap h3 {
	font-size: 32px;
	font-weight: 500;
	margin-bottom: 10px;
}
#loading-wrap h3 img {
	margin-top: -7px;
	margin-right: 7px;
}
#loading-wrap p {
	font-size: 14px;
	color: #ddd;
}
#loading-wrap h4 {
	font-size: 28px;
}
body.loading #loading-wrap {
	display: flex;
}




/*************************/
/* 페이지 페이징
/*************************/
.paging {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    margin: 40px 0 20px 0;
    padding: 0;
    text-align: center;
    font-size: 0;
    line-height: 0;
}
.paging ol {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    background: #f8f8f8;
}
.paging ol li.now,
.paging ol li a {
    display: block;
    width: 38px;
    height: 38px;
    padding-top: 12px;
    box-sizing: border-box;
    font-family: 'Roboto';
    font-size: 15px;
    font-weight: 400;
    line-height: 16px;
    color: #666;
    letter-spacing: -2px;
    text-align: center;
    border-radius: 50%;
    overflow: hidden;
    transition: all 0.3s ease;
}
.paging ol li a:hover {
    color: var(--text-red);
    font-weight: 600;
}
.paging ol li.now {
    font-weight: 600;
    color: #fff;
    background: var(--text-red);
}

.paging span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid #eee;
    border-radius: 50%;
    margin: 0 8px;
    font-size: 15px;
    font-weight: 400;
    line-height: 16px;
    color: #666;
    letter-spacing: -2px;
    border-radius: 50%;
    overflow: hidden;
    transition: all 0.3s ease;
}
.paging span.nolink {
    color: #ccc;
}
.paging span a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    font-size: 15px;
    font-weight: 400;
    line-height: 16px;
    color: #666;
    letter-spacing: -2px;
}
.paging span a:hover {
    color: var(--text-red);
}





/*************************/
/* 사진 업로드 관련
/*************************/
#upload_drop {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 1rem 2rem 1.5rem;
    border: 1px solid #ddd;
    border-radius: 7px;
    background: #fff;
}
#upload_drop:hover {
    border-color: var(--text-red);
}
#upload_drop > i {
    font-size: 48px;
    line-height: 60px;
    color: #aaa;
}
#upload_drop > p {
    font-size: 18px;
    color: #333;
    line-height: 22px;
}
#upload_drop > small {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #888;
}

#upload_preview {
    width: 100%;
    display: none;
    /*display: flex;*/
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 12px;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 7px;
    background: #fff;
}
#upload_preview li {
    width: 177px;
    height: 177px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}
#upload_preview li > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#upload_preview li > button {
    position: absolute;
    width: 25px;
    height: 25px;
    padding: 0;
    margin: -10px 0 0 -11px;
    font-size: 24px;
    line-height: 24px;
    background: #fff;
    border-radius: 50%;
    z-index: 2;
}
#upload_preview li > button:hover {
    color: var(--text-red);
}

#upload_preview li > p {
    position: absolute;
    width: 177px;
    height: 25px;
    margin-top: -25px;
    padding-top: 5px;
    font-size: 14px;
    line-height: 14px;
    color: #333;
    text-align: center;
    box-sizing: border-box;
    background: #efefef;
    z-index: 2;
}

.upload-list {
    margin-top: 20px;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 7px;
    background: #fff;
}
.upload-list > strong {
    font-size: 16px;
    font-weight: 500;
}
.upload-list > ul {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 5px;
}
.upload-list > ul > li {
    width: 177px;
    height: 177px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}
.upload-list > ul > li > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.upload-list > ul > li > button {
    position: absolute;
    width: 25px;
    height: 25px;
    padding: 0;
    margin: -10px 0 0 -11px;
    font-size: 24px;
    line-height: 24px;
    background: #fff;
    border-radius: 50%;
    z-index: 2;
}
.upload-list > ul > li > button:hover {
    color: var(--text-red);
}



