/* 상세페이지(PROJECT 글, NOTICE 글) CSS
작성자 : 효민디앤피
Date : 2025-00-00
*/

.gnb_pc ul li a {/* color: #333; */}
.wrap {
    position: relative;
    width: calc(100% - 32px);
    margin: 0 auto;
    margin-top: 100px;
}
a.fa-pen {
    border: 1px solid #cccccc;
}
.tablet_only {display: none;}

/************ PROJECT 상세페이지 **************/

.project_title {
    width: 100%;
    border-bottom: 1px solid #999; box-sizing: border-box;
    padding: 20px 0;
    margin-bottom: 30px;
    text-align: center;
}
.project_title .index {
    display: inline-block;
    font-size: 1.4rem;
    color: #666;
    border: 1px solid #999;
    box-sizing: border-box;
    border-radius: 25px;
    padding: 5px 18px;
    margin-bottom: 20px;
}
.project_title h1 {
    font-size: 2.4rem;
    margin-bottom: 15px;
}
.project_title .date {
    font-size: 1.4rem;
    color: #999;
}

.contents .project_info {
    width: 100%;
    margin-bottom: 60px;
}
.contents .txt {
    margin-bottom: 30px;
    line-height: 140%;
}
.contents .project_info li {margin-bottom: 10px;}
.contents .project_info li p {color: #333;}
.contents .project_info li .tit {
    width: 60px;
    font-weight: 600;
    float: left;
}
.contents .img_box {
    width: 100%;
    margin-bottom: 40px;
}
.contents .img_box .img {
    width: 100%;
    margin-bottom: 10px;
}
.contents .img_box .img img {width: 100%;}

.contents .video {
    width: 100%;
    margin-bottom: 80px;
    overflow: hidden;
}
.contents .video iframe {
    width: 100%; height: auto;
    aspect-ratio: 16 / 9;
}

.pagenation {
    width: 100%;
    margin-bottom: 180px;
    position: relative;
}
.pagenation .move {
    display: block;
    color: #999;
    font-size: 1.4rem;
    float: left;
}
.pagenation .next {float: right;}
.pagenation .list {
    display: inline;
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    color: #666;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 25px;
    padding: 15px 30px;
    font-size: 1.4rem;
    transition: 0.3s ease;
}


/************ NOTICE 상세페이지 **************/
.notice_title {
    width: 100%;
    border-bottom: 1px solid #999;
    box-sizing: border-box;
    padding: 20px 0;
    margin-bottom: 35px;
    text-align: center;
}
.notice_title .index {
    display: inline-block;
    font-size: 1.4rem;
    color: #666;
    border: 1px solid #999;
    box-sizing: border-box;
    border-radius: 25px;
    padding: 5px 18px;
    margin-bottom: 15px;
    text-align: center;
}
.notice_title .noti {
    border: 1px solid #D80C18;
    box-sizing: border-box;
    color: #D80C18;
    text-align: center;
}
.notice_title h1 {
    font-size: 2.4rem;
    margin-bottom: 20px;
    line-height: 140%;
}
.notice_title .info {
    width: 100%;
    display: flex;
    text-align: center;
    color: #999;
    font-size: 1.4rem;
    line-height: 1.4rem;
    justify-content: center;
}
.notice_title .info .date {
    border-right: 1px solid #999;
    padding-right: 16px;
    margin-right: 16px;
}

.contents {padding-bottom: 60px;}

/************ 미디어쿼리(태블릿) **************/
@media screen and (min-width: 768px) {
    .wrap {width: calc(100% - 60px);}
    .tablet_only {display: block;}

    /*** PROJECT 상세페이지 ***/
    .project_title {padding: 16px 0;}
    .project_title h1 {
        font-size: 2.8rem;
    }
	.project_title button.select + ul {
    margin: -15px -5px 0;
    left: auto;
    right: auto;
}
    .contents .project_info li {margin-bottom: 15px;}
    .contents .video {margin-bottom: 100px;}
    .pagenation .list {
        padding: 15px 50px;
        font-size: 1.6rem;
    }


    /*** NOTICE 상세페이지 ***/
    .notice_title h1 {font-size: 2.8rem;}
}


/************ 미디어쿼리(pc) **************/
@media screen and (min-width: 1024px) and (max-width: 1300px) {
    
}


@media screen and (min-width: 1024px) {
    .wrap {
        max-width: 1000px;
        margin-top: 120px;
    }
    .tablet_only {display: none;}

    /*** PROJECT 상세페이지 ***/
    .project_title {
        text-align: left;
        padding: 25px 0;
        margin-bottom: 40px;
    }
    .project_title .index {
        margin-bottom: 20px;
    }
    .project_title h1 {
        font-size: 3.2rem;
        margin-bottom: 40px;
    }
    .project_title .date {font-size: 1.6rem;}
    .pagenation {margin-bottom: 250px;}
    .pagenation .list:hover {
        background-color: #D80C18;
        transition: all 0.3s ease-in-out;
        color: #fff;
    }

    
    /*** NOTICE 상세페이지 ***/
    .notice_title {
        text-align: left;
        padding: 25px 0;
        margin-bottom: 60px;
    }
    .notice_title .index {
        margin-bottom: 20px;
    }
    .notice_title h1 {
        font-size: 3.2rem;
        margin-bottom: 40px;
    }
    .notice_title .info {
        font-size: 1.6rem;
        justify-content: left;
    }
}



button.select + ul {
	box-shadow: 0 5px 20px rgb(0 0 0 / 10%);
	background: #313131;
	overflow: hidden overlay !important;
	position: absolute;
	border-radius: 5px;
	animation: opacity .3s, inDown .3s;
	z-index: 1000;
	width: 100px;
	margin: -15px auto;
	left: 0;
	right: 0;
}
button.select + ul button {
    color: #fff;
    background: none;
    line-height: 44px;
    padding: 0 5px;
    text-align: left;
    width: 100%;
    cursor: pointer;
    border: 0;
}
button.select + ul button img {vertical-align: middle;margin-right: 10px;}

.select img {
    vertical-align: middle;
    margin-right: 10px;
}

button.select {
    text-align: left;
    background: url(/css/arrow.svg) right 10px center no-repeat;
    cursor: pointer;
    display: inline-block;
    font-size: 1.4rem;
    color: #666;
    border: 1px solid #999;
    box-sizing: border-box;
    border-radius: 25px;
    padding: 5px 28px 5px 18px;
    margin-bottom: 20px;
}

form .project_title {
    padding: 0;
    margin-bottom: 0;
}
form .project_title h1 {
    margin-bottom: 10px;
    padding: 0 10px;
}
form .project_title + input {
    width: 100%;
    height: 40px;
    font-size: 14px;
    border: 0;
    border-bottom: 1px solid #ccc;
    padding: 0 10px;
}

form label:has(input[type="file"]) {
    position: relative;
    display: inline-flex;
    box-sizing: border-box;
    padding: 12px 12px;
    margin-bottom: 10px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    align-items: center;
    gap: 5px;
}


[type="button"] [type="file"] {
    position: absolute;
    opacity: 0;
    inset: 0;
    padding: 0;
    cursor: pointer;
}

[type=button] .fa-image {
    padding: 7px;
    background: #fff;
    position: absolute;
    border-radius: 5px;
    bottom: 10px;
    right: 10px;
}

[type=file] + div {background: #d6d6d6;display: flex;justify-content: center;align-items: center;height: 100px;min-width: 100px;border-radius: 5px;}
[type=button] [type=file] ~ img {
    height: 100px;
    border-radius: 5px;
    pointer-events: auto;
}


/* img:not([src]) {display:none;} */

.ql-toolbar [type=file] {display:none}

.ql-container {
    font-size: 16px;
}

a.ql-file.ql-align-center {
	margin: auto;
}
.ql-align-center {text-align:center}
.ql-align-right {text-align:right}
.ql-align-justify {text-align:justify}
a.ql-file.ql-align-right {
	margin: 0  0 0 auto;
}
a.ql-file {
	color: #000 !important;
	background: #f5f5f5;
	text-decoration: none !important;
	padding: 10px 0 10px 15px;
	min-height: 50px;
	line-height: 1.4;
	display: flex;
	width: 260px;
	border-radius: 10px;
	cursor: pointer;
	align-items: center;
}

a.ql-file span {
	margin-right: auto;
}

a.ql-file > em {
	color: #333;
	font-style: normal;
	font-size: 12px;
	margin-left: 10px;
}
a.ql-file:after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: '\f019';
    min-width: 50px;
    text-align: center;
}

.project_title label:has(> .toggle) {
	display: flex;
	margin-bottom: 10px;
}