
@charset "utf-8";
@font-face {
    font-family: 'WKGOTHIC';
    src: url('/assets/nnrfonts/KPCHOLIM2.TTC') format("opentype");
}

@font-face {
    font-family: 'Gulim';
    src: url('/assets/nnrfonts/malgun.ttf') format("opentype");
}

.mainframe              { max-width: 1920px; margin:0 auto; font-family: Arial, Helvetica, sans-serif;  font-size: 15px;}

.lib_title{
    padding-top: 70px;
    height: 600px;
    background-image: url(/images/event/20250815/img/back.jpg);
    background-size: cover;
    position: relative;
}
.lib_title .lib-mark{
    position: absolute;
    left: 30px;
    top: 40px;
    height: 40px;
}
.lib_title .lib-stitle{
    position: absolute;
    left: 60px;
    top: 45px;
    color: white;
}
.lib_title .lib-title{
    position: absolute;
    left: 10%;
    top: 140px;
    max-height: 130px;
    max-width: 30%;
}
.lib_title p.lib-title{
    font-size: 29px;
    top: 170px;
	color:#860202;
	text-shadow: 1px 1px 0 white, 1px -1px 0px white, -1px 1px 0 white, -1px -1px 0 white;
}

.lib_title .mainImg {
    max-width: 30%;
    max-height: 400px;
    cursor: none;
}
.lib_title .lib-view{
    width: 30%;
    position: absolute;
    right: 80px;
    top: 190px;
    text-align: left;
    color:white;
    cursor: pointer;
    text-align: justify;
}
.lib_article{
    background-color: white;
    display: flex;
    flex-wrap: wrap;
    padding: 60px 10%;
}
.lib_article.article2,.lib_article.article4{
    background-color: #f7f1ee;
}
.lib_article .article-cate {
    width: 20%;
}
.lib_article .article-cate .article-title{
    background-color: #860202;
    color: white;
    padding:10px 20px;
}
.lib_article .article-cate ul{
    text-align: left;
    cursor: pointer;
}
.lib_article ul li{
    margin: 10px auto;
    cursor: pointer;
    text-align: justify;
}
.lib_article .article-cate ul li.active{
    color: #d2b3a9;
}
.lib_article .article-content{
    margin: 0 100px 0 80px;
    width: 40%;
    text-align: left;
    cursor: pointer;
    text-align: justify;
}
.article-content .article-title{
    color: #d2b3a9;
    margin-bottom: 15px;
    margin-top: 10px;
}

.lib_article .article-photo{
    width: calc(40% - 180px);
}
.lib_article .article-photo .item.active{
    /* display: flex; */
}
.lib_article .article-photo .item.active{
    /* flex-direction: column; */
    min-height: 340px;
}
.lib_article .article-photo .item img {
    max-height: 240px;
    margin: 0 auto 10px;
    cursor: pointer;
}
.lib_article .article-photo .item.active img {
    max-height: 240px;
    margin: 0 auto 10px;
}
.lib_article.episode>div {
    width: 50%;
}
.lib_article.episode>div>div {
    display: flex;
}
.lib_article.episode>div>div>ul {
    width: 50%;
    text-align: left;
}
.lib_article.episode .article-title{
    background-color: #860202;
    color: white;
    padding:10px 20px;
    width: 300px;
}

.carousel-control.right {
    right:-50px;
    background-image: none;
    top:100px;
}
.carousel-control.left {
    left:-50px;
    background-image: none;
    top:100px;
}
.carousel-control {
   color:black;
}
#modal_music strong     { font-size: 21px!important; }

.mclose {
    position: absolute;
    top: 15px;
    right: 35px;
    color: black!important;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor:pointer;
    opacity: 0.7;
}

/* #myModal table { margin: 0 auto; height: 500px;}*/

#myModal table {
    border: none;
    background-color:transparent;
    text-align:center;
} 
#myModal table td { height: 500px; vertical-align: middle; width: 25%; max-width: 700px; height: 500px; }
/* mymodal */
#myModal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    padding-top: 70px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: #590000; /* Fallback color */
}

/* Modal Content (image) */
#myModal .modal-content {
    margin: auto;
    display: block;
    width: 80%;
    box-shadow: none;
    height: 500px;
    vertical-align:middle;
}

/* Caption of Modal Image */
#myModal #caption {
    margin: auto;
    display: block;
    text-align: center;
    color: #ccc;
    padding: 10px 0 0 0;
    /* height: 150px; */
    font-size: 13px;
}
#myModal .img-thumbnail {
    border-radius: 0;
}
/* The Close Button */
.close{
    position: absolute;
    top: 15px;
    right: 35px;
    color: white!important;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor:pointer;
    opacity: .7;
}
.close:hover, .mclose:hover{
    text-decoration: none;
    cursor:pointer;
}
.modal                      { padding:50px 17px; font-family: Arial, Helvetica, sans-serif;  font-size: 15px; text-align: justify;text-indent: 20px;}
#modal_view .modal-dialog   { width: 100%; height: auto; margin:0 auto; max-width: 900px; }
#modal_view .modal-content  { width: 100%; height: auto; }
#modal_view .modal-title    { font-size: 32px; text-align: center; }

#modal_music .modal-dialog  { max-width: 500px; height: auto; margin:50px auto;}
#modal_music .modal-title    { margin-bottom: 30px; font-size: 20px; }


/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 720px){
    #myModal .modal-content {
        width: 100%;
    }
    #myModal {
        padding: 0; padding-top: 70px;
    }

}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 1500px){
     .lib_title .lib-title {
        left: 30px;
        max-width: calc(50% - 180px);
    }
    .lib_title .lib-view {
        right: 20px;
        width: calc(50% - 180px);
    }
}
@media only screen and (max-width: 1200px){
    .lib_article{
        display: block;
    }
    .lib_article>div {
        width: 100%!important;
    }
    .lib_article .article-content{
        margin: 40px 0 60px;
    }

}
@media only screen and (max-width: 1100px){
    .lib_title {
        padding-top: 30px;
        height: 700px;
    }
    .lib_title .lib-view{
        display: none;
    }
    .lib_title p.lib-title {
        position: initial;
        font-size: 30px;
        max-width: 98%;
        margin-top: 60px;
    }
    .lib_title .mainImg {
        max-width: 90%;
        margin-top: 20px;
    }
}
@media only screen and (max-width: 600px){
    
    .lib_article.episode>div>div{
        display: block;
    }
    .lib_article.episode>div>div>ul{
        width: 100%;
    }
}

#scrollUp {
    bottom: 20px;
    font-size: 30px;
    line-height: 45px;
    right: 25px;
    width: 50px;
    font-weight: bold;
    border: none;
    color: white;
    background-color: black;
    border-radius: 50px; 
    text-align: center;
    height: 50px;
    -webkit-transition-duration: 500ms;
    -o-transition-duration: 500ms;
    transition-duration: 500ms;
    -webkit-box-shadow: 0 6px 50px 8px rgba(21, 131, 233, 0.15);
    box-shadow: 0 6px 50px 8px rgba(21, 131, 233, 0.15);
    opacity: 0.6;
}
#scrollUp:hover { opacity: 1; }