
/* 모달동작  */
.modal_nw {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 10000;
    display: none;
}
.modal_nw .block {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    left: 0;
    top: 0;
    z-index: 1;
}
.modal_nw.active {
    display: block;
}
.modal_nw:after {
    content: "";
}
.modal_nw .c_wrp {
    height: 100%;
}
.modal_nw .c_wrp .contents_box .con_area {
    max-width: 500px;
    background-color: #fff;
    border-radius: 10px;
    margin: 20px auto;
    width: 100%;
    position: relative;
    z-index: 10;
    opacity: 0;
    overflow: hidden;
    box-shadow: 15px 15px 25px rgba(0,0,0,0.2);

    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
.modal_nw.modal_nw_md .c_wrp .contents_box .con_area {
    max-width: 900px;
}
.modal_nw.modal_nw_lg .c_wrp .contents_box .con_area {
    max-width: 1500px;
}
.modal_nw.active .c_wrp .contents_box .con_area {
    opacity: 1;
}
.modal_nw .c_wrp .contents_box .con_area .share_head {
    position: relative;
    padding: 15px;
    background-color: #f7f7f7;
    border-radius: 10px 10px 0 0;
}
.modal_nw .c_wrp .contents_box .con_area .share_head .cls_btn {
    position: absolute;
    right: 15px;
    height: 100%;
    background: url(../img/cls_btn.png) center center no-repeat;
    width: 18px;
    top: 0;
    cursor: pointer;
}
.modal_nw .c_wrp .contents_box .con_area .share_links {
    padding: 50px 15px;
    text-align: center;
}
.modal_nw .c_wrp .contents_box .con_area .addr_box {
    padding: 15px 20px;
    overflow-y: scroll;
    max-height: 80vh;
}
.modal_nw .c_wrp .contents_box .con_area .addr_box::-webkit-scrollbar {
    display: block;
    visibility: visible;
    width: 4px;
}
.modal_nw .c_wrp .contents_box .con_area .addr_box::-webkit-scrollbar-thumb {
    background-color: #aaa;
}
.modal_nw .c_wrp .contents_box .con_area .addr_box::-webkit-scrollbar-track {
    background-color: #ddd;
}

.modal_nw .c_wrp .contents_box .con_area .share_links > a {
    text-decoration: none;
    display: inline-block;
    margin: 0 10px 15px;
}
.modal_nw .c_wrp .contents_box .con_area .share_links > a p {
    font-size: 14px;
    line-height: 1em;
    color: #111;
    margin-top: 5px;
    font-weight: 400;
}
.modal_nw .c_wrp .contents_box .con_area .share_url {
    text-align: center;
    width: 100%;
    max-width: 370px;
    margin: 0 auto;
    padding-right: 110px;
    position: relative;
}
.modal_nw .c_wrp .contents_box .con_area .share_url .form-control {
    box-shadow: 0 0 0;
    border: 1px solid #aaa;
    border-radius: 0;
    border-right: 0px;
    font-size: 14px;
    height: 47px;
}
.modal_nw .c_wrp .contents_box .con_area .share_url .copy_url {
    line-height: 47px;
    border: 0px;
    border-radius: 0;
    background-color: #d42222;
    color: #fff;
    width: 110px;
    text-align: center;
    position: absolute;
    right: 0;
    top: 0;
}

@media (max-width:530px){
    .modal_nw .c_wrp .contents_box .con_area {
        margin: 0 5%;
        width: 90%;
    }
    .modal_nw .c_wrp .contents_box .con_area .addr_box ,
    .modal_nw .c_wrp .contents_box .con_area .share_links {
        padding: 15px;
    }
    .modal_nw .c_wrp .contents_box .con_area .share_links > a p {
        font-size: 11px;
        margin-top: 3px;
    }
    .modal_nw .c_wrp .contents_box .con_area .share_links > a img {
        width: 40px;
    }
    .modal_nw .c_wrp .contents_box .con_area .share_url {
        padding-right: 70px;
    }
    .modal_nw .c_wrp .contents_box .con_area .share_url .form-control {
        height: 35px;
        font-size: 12px;
    }
    .modal_nw .c_wrp .contents_box .con_area .share_url .copy_url {
        line-height: 35px;
        font-size: 12px;
        width: 70px;
    }
}


/*modal*/
.modal_nwcon .modal-dialog {
    margin: 0;
    display: table;
    width: 100%;
    height: 100%;
}
.modal_nwcon .modal-dialog > div {
    display: table-cell;
    vertical-align: middle;
}
.modal_nwcon .modal-dialog > div .modal-content {
    max-width: 800px;
    margin: 20px auto;
    overflow: hidden;
}
.modal_nwcon.modal_nwcon_sm .modal-dialog > div .modal-content {
    max-width: 600px;
}
.modal_nwcon.modal_nwcon_lg .modal-dialog > div .modal-content {
    max-width: 1000px;
}
.modal_nwcon.modal_nwcon_xlg .modal-dialog > div .modal-content {
    max-width: 1200px;
}

.modal_nwcon .modal-header {
    padding: 25px 15px;
    background-color: #f7f7f7;
}
.modal_nwcon.gift_confirm .modal-header {
    padding: 20px 15px;
}
.modal_nwcon #modal_nwcon {
    height: 50vh;
    overflow-y: scroll;
}
@media (max-width:768px){
    .modal_nwcon .modal-header {
        padding: 20px 15px;
    }
    .modal_nwcon .modal-dialog > div .modal-content {
        max-width: 90%;
    }
}

/*modal_nwcon*/
.modal_nwcon .modal-content {
    overflow: hidden;
    border-radius: 10px;
    border: 0px;
}
.modal_nwcon .modal-header {
    background-color: #f7f7f7;
    padding: 20px 15px;
    position: relative;
}
.modal_nwcon .modal-header .cls_btn {
    position: absolute;
    right: 20px;
    height: 18px;
    background: url(../img/cls_btn.png) center center no-repeat;
    width: 18px;
    top: 20px;
    cursor: pointer;
    border: 0px;
}
.modal_nwcon .modal-header h4 {
    font-weight: 600;  
    line-height: 1.2em; 
}
.modal_nwcon .modal-header p {
    color: #999;
    font-weight: 400;
    line-height: 1.2em;
    margin-top: 10px;
}
.modal_nwcon .modal-body {
    padding: 30px 20px;
}
.modal_nwcon .modal-body > p {
    font-weight: 600;
    margin-bottom: 15px;
}
.modal_nwcon .modal-body > .bt_cmt {
    color: #999;
    font-weight: 400;
    margin-top: 10px;
    font-size: 14px;
}
.modal_nwcon .modal-body .row {
    margin: 0 -5px;
}
.modal_nwcon .modal-body .row > li {
    padding: 0 5px;
    margin: 5px 0;
}
.modal_nwcon .modal-body ul li a {
    text-decoration: none;
    display: block;
    text-align: center;
    border: 2px solid #ddd;
    padding: 15px;
    border-radius: 10px;
}
.modal_nwcon .modal-body ul li a h6 {
    color: #666;
    margin-top: 5px;
}
@media (max-width:768px){
    .modal_nwcon .modal-body > p {
        margin-bottom: 5px;
    }
    .modal_nwcon .modal-body ul li a h6 {
        font-size: 13px;
    }
    .modal_nwcon .modal-body > .bt_cmt {
        font-size: 12px;
    }
}
/* modal_newg_resiter */
#modal_newg_resiter .txt p,
#modal_newg_resiter .txt h5 {
    word-break: break-all;
    white-space: normal;
}

