.popup_public{
    z-index: 999;
    position: fixed;
}

.popup_public .content :is( div, span, p, dl, dt, dd, ol, ul, li, form, label, table, article, aside, canvas,  section, ):first-child{
    /* max-height: 60vh; */
    /* overflow: auto; */
}
 
/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* 공지팝업 */

.popup_public.notice{
    top: 30px;
    left: 30px;
    width: 576px;
    height: auto;
    max-height: 80vh;
    transform: unset;
    /* border: 2px solid #4f0013; */
}

.popup_public:before{
    content: "";
    display: block;
    position: fixed;
    z-index: -1;
    top: -100vh;
    left: -100vw;
    width: 200vw;
    height: 200vh;
    background: rgba(0,0,0,0.3);
}

 .popup_public.notice .logo{
    position: relative;
    width: 100%;
    height: 76px;
    background: url(../../../../images/iosf/ko/front/image_logo_red_230x36.png)no-repeat center,
    rgba(255,255,255,1);
    background-size: 230px 36px;
    border: 2px solid #4f0013;
    border-bottom: 1px solid #d8d8d8;
}
 .popup_public.notice .logo button{
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: url(../../../../images/iosf/ko/front/img_close_grey_30x30.png)no-repeat center;

}
 .popup_public.notice .content{
    /* width: 100%; */
    max-height: calc(100vh - 380px);
    overflow: overlay;
    background: #fff;
    border: 2px solid #4f0013;
    border-top: 0;
    border-bottom: 0;
    padding: 28px;
}
 .popup_public .content .title p,
 .popup_public.notice .content .title p{
    position: relative;
    font: bold 25px/1.3em "나눔바른고딕";
    color: #000000;
}
.popup_public .content .title p{
    font-size: 19px;
}

 .popup_public .content .title p:after,
 .popup_public.notice .content .title p:after{
    content: "";
    display: block;
    width: 72px;
    height: 1px;
    background: #830020;
    margin: 20px 0 30px;
}
.popup_public .content .title p:after{
    width: 38px;
    height: 1px;
    background: #8f816a;
    margin: 15px 0 30px;
}


 .popup_public.notice .content .box{
    width: 100%;
    height: auto;
    font-family: "나눔바른고딕";
    /* background: #a0a0a0; */
}

 .popup_public.notice .nav_btn{
    display: flex;
    justify-content: center;
    width: 100%;
    height: 56px;
    background: #f7f7f7;
    border: 2px solid #4f0013;
    border-top: 1px solid #e5e5e5;
    border-bottom: 0;
}
 .popup_public.notice .nav_btn button{
    width: 44px;
    height: 56px;
    background: url(../../../../images/iosf/ko/front/img_next_off_32x32.png)no-repeat center/32px 32px;
}
 .popup_public.notice .nav_btn button.prev{
    background: url(../../../../images/iosf/ko/front/img_prev_off_32x32.png)no-repeat center/32px 32px;
}
 .popup_public.notice .nav_btn button.next.on{
    background: url(../../../../images/iosf/ko/front/img_next_on_32x32.png)no-repeat center/32px 32px;
}
 .popup_public.notice .nav_btn button.prev.on{
    background: url(../../../../images/iosf/ko/front/img_prev_on_32x32.png)no-repeat center/32px 32px;
}

 .popup_public.notice .close_btn{
    display: flex;
    align-items: center;
    width: 100%;
    background: #fff;
    border: 2px solid #4f0013;
    border-top: 1px solid #e5e5e5;
    justify-content: flex-end;
    
}
 .popup_public.notice .close_btn label{
    font: normal 16px/1.3em "나눔바른고딕";
    color: #535353;
}
 .popup_public.notice .close_btn input{
    margin-right: 4px;
}

 .popup_public.notice .close_btn .close{
    font: bold 16px/1.3em "나눔바른고딕";
    min-width: 96px;
    height: 54px;
    background: #fff;
    border-left: 1px solid #e5e5e5;
    margin-left: 20px;
}


/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* 메시지팝업 */

.popup_public.message{
    display: block;
    top: 50%;
    left: 50%;
    width: 580px;
    /* background: #fff; */
    transform: translate(-50%, -50%);
}

.popup_public.message .pop_name {
    display: flex;
    align-items: center;
    height: 68px;
    background: #830020;
}

.popup_public.message .pop_name p{
    font: bold 21px/1.3em "나눔바른고딕";
    color: #fff;
    font-weight: 800;
    margin-left: 28px;
}
.popup_public.message .pop_name button{
    width: 34px;
    height: 34px;
    margin-right: 28px;
    margin-left: auto;
    background: url(../../../../images/iosf/ko/content/popup/img_close_34x34.png) no-repeat center;
}

.popup_public.message .content{
    padding: 40px 28px;
    background: #fff;
}
.popup_public.message .content table{
    width: 100%;
}

.popup_public.message .content table tr th,
.popup_public.message .content table tr td{
    font: normal 17px/1.3em "나눔바른고딕";
    color: #000;
    word-break: break-all;
    padding: 16px 20px;
    border-top: 1px solid #d8d8d8;
    border-left: 1px solid #d8d8d8;
}
.popup_public.message .content table tr th ~ th,
.popup_public.message .content table tr th ~ td,
.popup_public.message .content table tr td ~ td{
    border-left: 1px solid #d8d8d8;
}
.popup_public.message .content table tr th ~ td:last-child,
.popup_public.message .content table tr td ~ td:last-child,
.popup_public.message .content table tr th:only-child,
.popup_public.message .content table tr td:only-child{
    border-right: 1px solid #d8d8d8;
}

.popup_public.message .content table tr:first-of-type th,
.popup_public.message .content table tr:first-of-type td{
    border-top: 1px solid #8f816a;
}
.popup_public.message .content table tr:last-of-type th,
.popup_public.message .content table tr:last-of-type td{
    border-bottom: 1px solid #313133;
}
.popup_public.message .content table tr th{
    background: #f4f4f4;
}

.popup_public.message .content table tr td{
    color: #313131;
}

.popup_public.message .content .btn{
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.popup_public.message .content button{
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    padding: 12px 20px;
    font: bold 17px/1.3em "나눔바른고딕";
    color: #000;
    background: #fff;
    border: 1px solid #d4d4d4;
}
.popup_public.message .content button.copy:before{
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url(../../../../images/iosf/ko/content/popup/img_copy_16x16.png)no-repeat center;
    margin-right: 7px;
}

.popup_public.message .content button:hover{
    color: #fff;
    background: #8f816a;
    border: 1px solid #8f816a;
    transition: all 0.1s;
}
.popup_public.message .content button.copy:hover:before{
    background: url(../../../../images/iosf/ko/content/popup/img_copy_white_16x16.png)no-repeat center;
}

/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* feed 팝업 (rss랑 같은 스타일) */

.popup_public{
    display: block;
    top: 50%;
    left: 50%;
    width: 580px;
    /* background: #fff; */
    transform: translate(-50%, -50%);
    /* border: 1px solid #830020; */
}

.popup_public .pop_name {
    display: flex;
    align-items: center;
    height: 62px;
    background: #830020;
}

.popup_public .pop_name p{
    font: bold 21px/1.3em "나눔바른고딕";
    color: #fff;
    font-weight: 800;
    margin-left: 28px;
}
.popup_public .pop_name button{
    width: 34px;
    height: 34px;
    margin-top: -2px;
    margin-right: 20px;
    margin-left: auto;
    /* background: url(../../../../images/iosf/ko/content/popup/img_close_34x34.png) no-repeat center; */
    background: url(../../../../images/iosf/ko/content/popup/img_close_white_18x18.png) no-repeat center;
}

.popup_public .content{
    padding: 35px 28px;
    background: #fff;
}
.popup_public .content table{
    width: 100% !important;
}

.popup_public .content table tr th,
.popup_public .content table tr td{
    line-height: normal !important;
    font: normal 17px/1.3em "나눔바른고딕";
    color: #000;
    word-break: break-all;
    padding: 16px 20px;
    border-top: 1px solid #d8d8d8;
    border-left: 1px solid #d8d8d8;
}
.popup_public .content table tr th ~ th,
.popup_public .content table tr th ~ td,
.popup_public .content table tr td ~ td{
    border-left: 1px solid #d8d8d8;
}
.popup_public .content table tr th ~ td:last-child,
.popup_public .content table tr td ~ td:last-child,
.popup_public .content table tr th:only-child,
.popup_public .content table tr td:only-child{
    border-right: 1px solid #d8d8d8;
}

.popup_public .content table tr:first-of-type th,
.popup_public .content table tr:first-of-type td{
    border-top: 1px solid #8f816a;
}
.popup_public .content table tr:last-of-type th,
.popup_public .content table tr:last-of-type td{
    border-bottom: 1px solid #313133;
}
.popup_public .content table tr:only-child th,
.popup_public .content table tr:only-child td{
    border-top: 1px solid #d8d8d8;
    border-bottom: 1px solid #d8d8d8;
}

.popup_public .content table tr th{
    background: #f4f4f4;
}

.popup_public .content table tr td{
    color: #313131;
}

.popup_public .content .btn{
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.popup_public .content .btn button{
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    padding: 12px 20px;
    font: bold 17px/1.3em "나눔바른고딕";
    color: #000;
    background: #fff;
    border: 1px solid #d4d4d4;
}
.popup_public .content button.copy:before{
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url(../../../../images/iosf/ko/content/popup/img_copy_16x16.png)no-repeat center;
    margin-right: 7px;
}

.popup_public .content .btn button:hover{
    color: #fff;
    background: #8f816a;
    border: 1px solid #8f816a;
    transition: all 0.1s;
}
.popup_public .content button.copy:hover:before{
    background: url(../../../../images/iosf/ko/content/popup/img_copy_white_16x16.png)no-repeat center;
}


/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* share 팝업  */

.popup_public.share .content .linkbtn{
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}
.popup_public.share .content .linkbtn div ~ div{
    margin-left: 10px;
}
.popup_public.share .content .linkbtn button{
    width: 52px;
    height: 52px;
    background: url(../../../../images/iosf/ko/front/img_link_facebook_52x52.png)no-repeat center;
    background-size: 100%;
}
.popup_public.share .content .linkbtn button.facebook{
    background: url(../../../../images/iosf/ko/front/img_link_facebook_52x52.png)no-repeat center;
}
.popup_public.share .content .linkbtn button.blog{
    background: url(../../../../images/iosf/ko/front/img_link_blog_52x52.png)no-repeat center;
}
.popup_public.share .content .linkbtn button.youtube{
    background: url(../../../../images/iosf/ko/front/img_link_youtube_52x52.png)no-repeat center;
}
.popup_public.share .content .linkbtn button.links{
    background: url(../../../../images/iosf/ko/front/img_link_links_52x52.png)no-repeat center;
}


/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* content 내부의 message-box  */

.popup_public .content .message-box{
    width: 100%;
    border: 1px solid #d7d7d7;
    background: #fdfcfb;
    padding: 20px 20px 42px;
}
.popup_public .content .message-box p{
    font: 19px/1.3em "나눔바른고딕";
    color: #000000;
}
.popup_public .content .message-box p.title{
    font-weight: bold;
}
.popup_public .content .message-box p.title:after{
    content: "";
    display: block;
    width: 38px;
    height: 1px;
    background: #8d806a;
    margin: 15px 0;
}
.popup_public .content .message-box small{
    display: block;
    font: 17px/1.3em "나눔바른고딕";
    color: #7d7d7d;
    margin-top: 10px;
}

/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* content 내부의 table-vertical  */

.popup_public .content .table-vertical table{
    border: 1px solid #d8d8d8;
}
.popup_public .content .table-vertical tr {
    display: flex;
    flex-direction: column;
}
.popup_public .content .table-vertical table tr th,
.popup_public .content .table-vertical table tr td,
.popup_public .content .table-vertical table tr td:last-child{
    border: 0;
}

.popup_public .content .table-vertical table tr th{
    text-align: center;
    background: #fafafa;
    font: bold 19px/1.3em "나눔바른고딕";
    color: #000;
    border-bottom: 1px solid #d8d8d8;
    padding: 12px 20px;
}
.popup_public .content .table-vertical table tr td{
    font: 17px/1.5em "나눔바른고딕";
    color: #000;
    padding: 15px 20px;
}


/* map팝업 */
/* map팝업 */

.popup_public.map{
    width: 900px;
}

.popup_public .content .box .mapcover{
    width: 100%;
    height: 344px;
    border: 1px solid #d8d8d8;
    background: transparent;
}


/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */



@media screen and (max-width: 1040px) {
     .popup_public.notice{
        top: 30px;
        left: 50%;
        transform: translateX(-50%);
        width: 576px;
        /* height: auto; */
        max-height: 80vh;
    }
     .popup_public.notice:before {
        width: 200vw;
        top: -18vh;
        left: -100%;
        height: 100vh;
    }
}

@media screen and (max-width: 960px) {

    /* ------------------------------------------------------------------------------------- */
    /* ------------------------------------------------------------------------------------- */
    /* ------------------------------------------------------------------------------------- */
    /* ------------------------------------------------------------------------------------- */
    /* ------------------------------------------------------------------------------------- */
    /* 공용 */

    .popup_public{
        width: calc(100% - 60px);
    }
    .popup_public table tr{
        /* display: flex; */
        /* flex-direction: column; */
    }
    .popup_public .content table tr:nth-child(n) th,
    .popup_public .content table tr:nth-child(n) td{
        border: 0;
        text-align: left;
        /* border-left: 1px solid #d8d8d8; */
        /* border-right: 1px solid #d8d8d8; */
    }
    
    .popup_public .content table tr:nth-child(n) th{
        border-top: 1px solid #d8d8d8;
    }
    .popup_public .content table tr:first-of-type th{
        border-top: 1px solid #8f816a;
    }
    .popup_public .content table tr:last-of-type td{
        border-bottom: 1px solid #313133;
    }

    /* 공용 */
    /* ------------------------------------------------------------------------------------- */
    /* ------------------------------------------------------------------------------------- */
    /* ------------------------------------------------------------------------------------- */
    /* ------------------------------------------------------------------------------------- */
    /* ------------------------------------------------------------------------------------- */




     .popup_public.notice{
        top: 30px;
        left: 50%;
        transform: translateX(-50%);
        width: 576px;
        /* height: 750px; */
        max-height: 60vh;
    }
     .popup_public.notice:before {
        width: 200vw;
        top: -18vh;
        left: -100%;
        height: 120vh;
    }

     .popup_public.notice .logo {
        background-size: 208px 35px;
        border-bottom: 1px solid #d8d8d8;
    }

     .popup_public.notice .content .title p:after{
        margin: 15px 0 30px;
    }

     .popup_public.notice .content .title p{
        font-size: 21px;
    }

    .popup_public.message{
        width: calc(100% - 60px);
    }
    .popup_public.message table tr{
        display: flex;
        flex-direction: column;
    }
    .popup_public.message .content table tr:nth-child(n) th,
    .popup_public.message .content table tr:nth-child(n) td{
        border: 0;
        text-align: left;
    }

    .popup_public.message .content table tr:nth-child(n) th{
        border-top: 1px solid #d8d8d8;
    }
    .popup_public.message .content table tr:first-of-type th{
        border-top: 1px solid #8f816a;
    }
    .popup_public.message .content table tr:last-of-type td{
        border-bottom: 1px solid #313133;
    }


    .popup_public.map{
        width: calc(100% - 40px);
    }

    
   
}


@media screen and (max-width: 640px) {


/* ------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------- */
    /* 공용 */

    .popup_public{
        width: calc(100% - 40px);
    }
    
    .popup_public .pop_name p{
        margin-left: 20px;
    }
    .popup_public .pop_name button{
        margin-right: 20px;
    }
    .popup_public .content{
        padding: 30px 20px;
    }
    .popup_public .content .btn{
        margin-top: 20px;
    }

  /* 공용 */
/* ------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------- */

    .popup_public.notice{
        top: 20px;
        width: calc(100% - 40px);
        height: auto;
        max-height: 60vh;
    }

     .popup_public.notice .logo button{
        right: 20px;
    }
     .popup_public.notice .content{
        /* height: 60vh; */
        padding: 28px 20px;
    }
     .popup_public.notice .content .box{
        /* height: 200px; */
    }

    .popup_public.message{
        width: calc(100% - 40px);
    }

    .popup_public.message .pop_name p{
        margin-left: 20px;
    }
    .popup_public.message .pop_name button{
        margin-right: 20px;
    }
    .popup_public.message .content{
        padding: 30px 20px;
    }
    .popup_public.message .content .btn{
        margin-top: 20px;
    }

    
}


@media screen and (max-width: 480px) {
     .popup_public.notice .logo {
        background-size: 194px 33px;
        background-position: 20px;
    }

    
}


@media screen and (max-width: 340px) {
    .popup_public.notice .logo {
       background-size: 180px 31px;
       background-position: 20px;
   }

   
}


/* 공용 팝업 닫기 */
/* 공용 팝업 닫기 */
/* 공용 팝업 닫기 */

.popup_public.off{
    display: none;
  }
  