/* header.html 시작 */
.navbar-brand {
    font-size: 24px;
    font-weight: bold;
    color: black;
}

.navbar-brand:hover {
    color: #939393;
}

.form-select {
    width: 14%;
}

.form-select-sm {
    padding: 0.375rem 0.75rem;
}

/* header.html 끝 */

/* archive.html 시작 */
.page-item {
    cursor: pointer;
}

.table-image {
    max-width: 200px;
}

.table-hover {
    border-top: 2px solid;
    cursor: pointer;
}

/*.table {*/
/*    white-space: nowrap;*/
/*}*/

.total-data-count {
    position: relative;
    text-align: right;
    float: right;
    margin-bottom: 10px;
}

.txt_line {
    width: 50%;
    padding: 0 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 500px;
    min-width: 10%;
}

.main-image {
    margin: auto;

}

/* archive.html 끝 */

/*.carousel-control-prev{*/
/*    margin: -10%;*/
/*}*/

/*.carousel-control-next{*/
/*    margin: -10%;*/
/*}*/

/* archiveData.html 시작 */

.archive-title {
    font-size: 40px;
    font-weight: 700;
}

.archive-subject {
    font-size: 20px;
    color: #ff5b16;
}

.archive-image {
    max-width: 70%;
    object-fit: contain;
}

embed.img-fluid {
    width: 1000px;
    height: 1000px;
}

.file-slide-container {

}

.vs-txt {
    max-width: 100%;
    max-height: 500px;
    margin-top: 30px;
}

.detail-content {
    font-size: 18px;
}

.table-element {
    border-bottom: 1px solid #696969;
    min-height: 50px;
    font-weight: 700;
    padding: 30px 0;
}

.table-content {
    border-bottom: 1px solid #696969;
    min-height: 50px;
    padding: 30px 0;
}

/*archiveData.html 끝*/

/*ancientData.html 시작*/

.ancient-titleK {
    font-size: 40px;
    font-weight: 700;
}

.ancient-titleH {
    font-size: 20px;
    color: #ff5b16;
}

.ancient-image {
    max-width: 70%;
}

.file-slide-container {

}

.detail-content {
    font-size: 18px;
}

.table-element {
    border-bottom: 1px solid #696969;
    min-height: 50px;
    font-weight: 700;
    padding: 30px 0;
}

.table-content {
    border-bottom: 1px solid #696969;
    min-height: 50px;
    padding: 28px 0;
}

/*ancientData.html 끝*/
/*ichData.html 시작*/
.ich-content {
    border-bottom: 1px solid #696969;
    min-height: 50px;
    font-weight: 500;
    padding: 10px 0;
    font-size: 25px;
    color: #FF7012;
    text-align: left;
    margin-bottom: 12px;
}

.table-bordered {
    margin: 0px auto;
}

/* footer.html 시작 */

/*searchResult start*/
.menu {
    padding: 17px 0;
    font-size: 25px;
    color: #FF7012
}

.search-element {
    position: relative;
    text-align: center;
    font-size: 23px;
    color: #3f9ebd;
}

/*searchResult end*/

/* margin, padding util */
.margin-top-20 {
    margin-top: 20px;
}

.margin-top-40 {
    margin-top: 40px;
}

.margin-top-60 {
    margin-top: 60px;
}

.margin-top-80 {
    margin-top: 80px;
}

.margin-top-100 {
    margin-top: 100px;
}

.margin-bottom-20 {
    margin-bottom: 20px;
}

.margin-bottom-40 {
    margin-bottom: 40px;
}

.margin-bottom-60 {
    margin-bottom: 60px;
}

.margin-bottom-80 {
    margin-bottom: 80px;
}

.margin-bottom-100 {
    margin-bottom: 100px;
}

.margin-left-20 {
    margin-left: 20px;
}

.margin-left-40 {
    margin-left: 40px;
}

.margin-left-60 {
    margin-left: 60px;
}

.margin-left-80 {
    margin-left: 80px;
}

.margin-left-100 {
    margin-left: 100px;
}

.margin-right-20 {
    margin-right: 20px;
}

.margin-right-40 {
    margin-right: 40px;
}

.margin-right-60 {
    margin-right: 60px;
}

.margin-right-80 {
    margin-right: 80px;
}

.margin-right-100 {
    margin-right: 100px;
}

.margin-100 {
    margin: 100px;
}

.margin-top-20 {
    margin-top: 20px;
}

.margin-top-40 {
    margin-top: 40px;
}

.margin-top-60 {
    margin-top: 60px;
}

.margin-top-80 {
    margin-top: 80px;
}

.margin-top-100 {
    margin-top: 100px;
}

/* margin 끝 */

.padding-bottom-20 {
    padding-bottom: 20px;
}

.padding-bottom-40 {
    padding-bottom: 40px;
}

.padding-bottom-60 {
    padding-bottom: 60px;
}

.padding-bottom-80 {
    padding-bottom: 80px;
}

.padding-bottom-100 {
    padding-bottom: 100px;
}

.padding-left-20 {
    padding-left: 20px;
}

.padding-left-40 {
    padding-left: 40px;
}

.padding-left-60 {
    padding-left: 60px;
}

.padding-left-80 {
    padding-left: 80px;
}

.padding-left-100 {
    padding-left: 100px;
}

.padding-right-20 {
    padding-right: 20px;
}

.padding-right-40 {
    padding-right: 40px;
}

.padding-right-60 {
    padding-right: 60px;
}

.padding-right-80 {
    padding-right: 80px;
}

.padding-right-100 {
    padding-right: 100px;
}

.padding-100 {
    padding: 100px;
}

/* mainfooter.html 작성*/
.footer-content {
    width: 100%;


}

.row1 {
    width: 120px;
    height: 200px;
}

.side-line {
    color: white;
}

.bottom-list {
    list-style: none;
    color: white;
    padding-top: 30px;
    font-size: 14px;
}

.theme-title {
    position: relative;
    top: -45px;
    color: white;
}

.new-title_content {
    background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(255, 255, 255, 0));
    padding: 10px 7px;
    font-weight: bold;
    white-space: nowrap;
    text-align: center;
}

.a-list {
    color: #fff;
    text-decoration: none;
}

.main-img {
    width: 300px;
    height: 400px;
    margin: auto;
    border-radius: 0.5rem;
}

/*ngo.html*/
.NewsMain {
    width: 1100px;
    padding-top: 60px;
    padding-left: 60px
}

.MainTitle {
    width: 100%;
    height: 57px;
    font-size: 33px;
    text-align: center;
    font-weight: bold;
    color: #1E88E5;
}

.NewsInfo {
    width: 100%;
    display: flex;
    margin: 5px 0px 10px 0px;
    border-top: 1px solid #CCCCCC;
    padding-top: 20px;
    display: flex;
}

.NewsImg {
    float: left;
    width: 270px;
    height: 200px;
    border: 1px solid #DDDDDD;
}

.NewsImg img {
    width: 100%;
    height: 100%;
    margin: auto;
}

.NewsSummary {
    float: right;
    width: calc(100% - 270px);
    padding-left: 20px;
}

.NewsSummary100 {
    float: right;
    width: calc(100%);
}

.NewsSummaryTitle {
    font-size: 16px;
    font-weight: bold;
}

.NewsSummaryContents {
    font-size: 15px;
    color: #808080;
    margin: 10px 0px 7px 0px;
    line-height: 150%;
}

/*ichpedia_info.html*/
#ich_txt {
    padding-top: 50px;
    padding-bottom: 50px;
    line-height: 27px;
    font-size: 13px;
}

#contents {
    /* width: 250px; */
    height: 200px;
    padding: 7px;
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    float: left;
}

#ich_ran {
    clear: both;
    padding-top: 20px;
}

/*main1.html*/

.card-text {
    color: black;
}

.card-title {
    color: #495057;
}

.btn-primary {

    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-primary:hover {
    background-color: #212529;
    border-color: #212529;
}

.card:hover {
    box-shadow: 3px 3px 6px #999;
}

.card-text {
    width: 270px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/*main1footer*.html*/


/*main1.html*/


.link-secondary {
    font-size: 15px;
    color: #fff;
    text-decoration: auto;
}

.link-secondary:hover {
    text-decoration: underline;
    color: #fff;
}

.bi:hover {
    color: #808080;
}

/* !*공통 적용 *!*/

/*페이지 네비게이션 테두리 없애기 */

.pagination * {
    border: none;
    outline: none;
}

/* 카드뷰 */
.item {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    display: block;
    margin: 20px 10px;
    cursor: pointer;
}

.item:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease-out;

}

.item img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
}


.column {
    float: left;
}

.size-1of6 {
    width: 16.666%;
}

.size-1of5 {
    width: 20%;
}

.size-1of4 {
    width: 25%;
}

.size-1of3 {
    width: 33.333%;
}

.size-1of2 {
    width: 50%;
}

.size-1of1 {
    width: 100%;
}

@media screen and (min-width: 320px) and (max-width: 767px) {
    #grid[data-columns]::before {
        content: '1 .column.size-1of1';
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    #grid[data-columns]::before {
        content: '2 .column.size-1of2';
    }
}

@media screen and (min-width: 992px) {
    #grid[data-columns]::before {
        content: '3 .column.size-1of3';
    }
}

.card-body .title {
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: #1a1a1a;
}

.card-body .content {
    text-align: left;
}

.card-body .title + .content {
    margin-top: 5px;
    color: #4d4d4d;
    font-size: .875rem;
}

.info {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
}

.info span {
    font-size: small;
}

.info span:first-child {
    text-align: left;
}

.info span:last-child {
    text-align: right;
}

.icon-image {
    opacity: 0.5;
}

/*캐러셀 */

.carousel-inner {
    width: 600px;
    height: 600px;
    overflow: hidden;
}


.image-wrapper {
    width: 600px;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 430px) {
    .carousel-inner {
        width: 300px;
        height: 300px;
    }

    .image-wrapper {
        width: 300px;
        height: 300px;

    }

    .carousel-icon svg {
        height: 2rem;
    }

}

.image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: pointer;
}

/*로딩중*/
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading::after {
    content: "";
    display: inline-block;
    margin-right: 10px;
    width: 40px;
    height: 40px;
    border: 3px solid #ccc;
    border-top-color: #777;
    border-radius: 50%;
    animation: spin 1s ease-in-out infinite;
}


.loading::before {
    display: inline-block;
    font-size: 2em;
    font-weight: bold;
    color: #333;
    vertical-align: middle;
    margin-right: 0.5em;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/*사이드바 */
.float_sidebar {
    height: 1000px;
    margin: 20px 30px;
}

.button-container {
    display: flex;
    justify-content: flex-end;
    margin: 10px 0;
}

.button-container .write-button, .edit-button {
    padding: 5px 10px;
    background-color: #2196f3;
    color: white;
    border: none;
    border-radius: 3px;
    font-size: 16px;
    cursor: pointer;
}

.button-container .delete-button {
    padding: 5px 10px;
    margin-left: 10px;
    background-color: #ff0000;
    color: white;
    border: none;
    border-radius: 3px;
    font-size: 16px;
    cursor: pointer;
}

.file-loading {
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.file-loading::after {
    content: "";
    display: inline-block;
    margin-right: 10px;
    width: 40px;
    height: 40px;
    border: 3px solid #ccc;
    border-top-color: #777;
    border-radius: 50%;
    animation: spin 1s ease-in-out infinite;
}


.file-loading::before {
    display: inline-block;
    font-size: 2em;
    font-weight: bold;
    color: #333;
    vertical-align: middle;
    margin-right: 0.5em;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* pdf viewer */
.the-canvas {
    border: 1px solid black;
    direction: ltr;
    border-radius: 5px;

}

.pdf-tool {
    margin-bottom: 10px;
}

.pdf-tool button {
    background-color: white;
    border: none;
    width: 50px;
    padding: 0;
}

@media screen and (max-width: 1000px) {

    .the-canvas {
        width: 100%;
    }

    .zoom-button {
        display: none;
    }

    .pdf-tool {
        margin-left: 0; /* 덮어쓰기 위해 초기화 */
        margin-right: auto;
    }
}

.main-number a {
    color: #fff;
}

.telephone-number a {
    color: #000000;
}

.data-title {
    text-align: center;
    white-space: pre-line;
}

.data-text-center {
    align-items: center;
    display: grid;
}

.rights-title {
    word-break: keep-all;
}

.carousel-button {
    display: none;
}


/* ich write */
.container-mg {
    margin-top: 20px;
}

.board_title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.board_title strong {
    font-size: 2.5rem;
}

.board_write {
    border-top: 2px solid #000;
}

.title {
    display: flex;
    flex-direction: column;
}

.form-title, .form-subtitle {
    display: flex;
    align-items: center;
    margin: 15px 0;
}

.form-title input {
    padding: 10px;
    margin-left: 0px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
}

.form-subtitle input {
    padding: 5px 10px;
    margin-left: 0;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    font-size: 1rem;
}

.dropdown-container {
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    margin-bottom: 10px;
}

.dropdown-container input[type="text"] {
    flex-grow: 1;
    width: 100%;
    margin-left: -1px;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

.dropdown-wrapper {
    margin-right: 10px;
}

.dropdown-wrapper select {
    width: 150px;
}

.form-text {
    display: block;
    margin: 12px 0px;
    font-weight: bold
}

.dropdown_input input {
    width: 100%;
    margin-left: -1px;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

.category > .dropdown-container > .dropdown-wrapper select {
    width: 300px;
}

.verification input[type="text"] {
    margin-left: -1px;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

.radio-group input[type=radio] {
    display: none;
}

.radio-group input[type=radio] + label {
    display: inline-block;
    cursor: pointer;
    height: 30px;
    width: 90px;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    line-height: 28px;
    text-align: center;
    font-size: 13px;
}

.radio-group input[type=radio] + label {
    background-color: #fff;
    color: #333;
}

.radio-group input[type=radio]:checked + label {
    background-color: #333;
    color: #fff;
    font-weight: bold;
}

.rights textarea {
    width: 100%;
    margin-left: -1px;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    white-space: pre-wrap;
    height: 100%;
}

/* 파일 업로드 */

#file-container {
    margin-top: 10px;
    height: 100px;
    overflow: auto;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;

}

.file-item {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.file-info {
    display: flex;
    align-items: center;
}

.file-name {
    margin-right: 10px;
    margin-bottom: 0;
}

.file-size {
    font-size: 12px;
    color: #888;
    margin-bottom: 0;
}

.delete-button {
    cursor: pointer;
    padding: 2px 5px;
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 3px;
    font-size: 12px;
    margin-left: 10px;
}

/* 파일 찾기 버튼 스타일 */
#file-input {
    display: none;
}

.upload-button {
    position: relative;
    padding: 5px 10px;
    background-color: #2196f3;
    color: white;
    border: none;
    border-radius: 3px;
    font-size: 14px;
    cursor: pointer;
    margin-right: 5px;
}

.total-size {
    font-size: 12px;
    margin-top: 5px;
}

.bt_wrap {
    margin-top: 30px;
    text-align: center;
    font-size: 0;
}

.bt_wrap a, .bt_wrap input {
    display: inline-block;
    min-width: 80px;
    margin-left: 10px;
    padding: 10px;
    border: 1px solid #000;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.2rem;
}

.drafts {
    display: inline-block;
    min-width: 80px;
    margin-left: 10px;
    margin-right: 10px;
    padding: 10px;
    border: 1px solid #000;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.2rem;
    background-color: #2196f3;
    color: white;
}

.bt_wrap input {
    margin-right: 10px;
}

.bt_wrap input.on {
    background: #000;
    color: #fff;
}

/*로딩중*/
.wr-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.49);
    z-index: 10;
    display: none;
    justify-content: center;
    align-items: center;
}

.wr-loading::after {
    content: "";
    display: inline-block;
    margin-right: 10px;
    width: 40px;
    height: 40px;
    border: 3px solid #ccc;
    border-top-color: #777;
    border-radius: 50%;
    animation: spin 1s ease-in-out infinite;
}


.wr-loading::before {
    display: inline-block;
    font-size: 2em;
    font-weight: bold;
    color: #333;
    vertical-align: middle;
    margin-right: 0.5em;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.popover {
    max-width: 1000px;
}

.note-editable video {
    width: 70%;
    height: 400px;
    margin: 10px 0;
}

@media screen and (max-width: 497px) {
    .board_title strong {
        font-size: 2rem;
    }

    .dropdown-container {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .dropdown-wrapper {
        margin-bottom: 10px;
        margin-right: 0px;
        width: 100%;
    }

    .dropdown-wrapper select {
        width: 50%;
    }

    .category > .dropdown-container > .dropdown-wrapper select {
        width: 100%;
    }

    .verification input[type="text"] {
        width: 50%;
    }
}

/* ich write 임시저장 */
.load-drafts {
    padding: 5px 10px;
    background-color: #2196f3;
    color: white;
    border: none;
    border-radius: 3px;
    font-size: 1.2rem;
    cursor: pointer;
}

.modal-body span {
    color: #979797;
    font-size: 12px;
}

.delete-drafts {
    border: none;
    background-color: white;
}

.drafts-title:link {
    color: black;
    text-decoration: none;
}

.drafts-title:visited {
    color: black;
    text-decoration: none;
}

.drafts-title:hover {
    color: black;
    text-decoration: underline;
}

.total-delete-btn {
    background-color: #eff0f2;
    color: #000;
    display: inline-block;
    border-radius: 6px;
    box-sizing: border-box;
    text-align: center;
    height: 32px;
    float: right;
    width: 80px;
    padding: 0;
    font-weight: bold;
    border: 0;
    font-size: 14px;
}

@media screen and (max-width: 497px) {
    .load-drafts {
        font-size: 0.9rem;
    }
}

/*.map-container {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    flex-direction: row; !* 가로로 정렬 *!*/
/*    padding: 0px;*/
/*}*/
.kakao-map {
    width: 100%;
    height: 500px;
    margin: 10px 0;
}

@media screen and (max-width: 497px) {
    .kakao-map {
        height: 300px;
        margin: 10px 5px;
    }

    /*.map-container {*/
    /*    flex-direction: column; !* 세로로 정렬 *!*/
    /*}*/
}


/* myPage 부분 */
.side-bar {
    border-radius: 1rem;
    background-color: white;
    height: 100%;
    max-height: 800px;
    width: 300px;
}

.btn-toggle {
    display: inline-flex;
    align-items: center;
    padding: .25rem .5rem;
    font-weight: 600;
    color: rgba(0, 0, 0, .65);
    background-color: transparent;
    border: 0;
}

.btn-toggle::before {
    width: 1.25em;
    line-height: 0;
    content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
    transition: transform .35s ease;
    transform-origin: .5em 50%;
}

.btn-toggle[aria-expanded="true"] {
    color: rgba(0, 0, 0, .85);
}

.btn-toggle[aria-expanded="true"]::before {
    transform: rotate(90deg);
}

.btn-toggle-nav a {
    display: inline-flex;
    padding: .1875rem .5rem;
    margin-top: .125rem;
    margin-left: 1.25rem;
    text-decoration: none;
}

.btn-toggle-nav a:hover,
.btn-toggle-nav a:focus {
    outline: none; /* 기본 포커스 테두리 제거 */
    box-shadow: none; /* 기본 포커스 효과 제거 */
    font-weight: bold;
}

.fw-semibold {
    font-weight: 600;
    color: #FF7012;
}

.main-container {
    width: 100%;
    margin-left: 30px;
    border-radius: 1rem;
    background-color: white;
    padding: 10px;
}

.main-title {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 30px;
    line-height: 36px;
    color: #333;
    font-family: 'Noto Sans KR', '맑은 고딕' !important;
    font-weight: 700 !important;
}

.drafts-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.page-item.active .page-link {
    z-index: 1;

}
#toggleButton {
    display: none;
    height: 50px;
    font-size: 10px;
    margin : 10px 15px 0 5px;
}

#close-btn {
    display: none;
}

.b-container {
    display: flex;
    margin: 80px auto;
}
.emphasized {
    box-shadow : rgba(0,0,0,0.5) 0 0 0 9999px;
}
@media (max-width: 767px) {
    .b-container {
        display: inline;
    }

    .main-container {
        margin: 0;
    }

    #toggleButton {
        display: block;
    }

    .side-bar {
        position: absolute;
        left: -100%;
        transition: left 0.4s ease; /* left 속성에 대한 트랜지션 효과 추가하고 시간을 늘림 */
        z-index: 2; /* Set a higher z-index value for the sidebar */
        width: 70%;
    }

    .side-bar.active {
        left: 0; /* Move sidebar to show when active class is applied */
    }

    #close-btn {
        display: block;
    }

    table {
        table-layout: fixed;
    }
}