.popup_def {
    background: #FFF;
}

.popup_def .body {
    padding: 4px;
    border: 1px solid #777;
    background: #FFF;
}

.popup_def .note {
    position: relative;
    overflow: auto;
    background: #FFF;
}

.popup_def .btm {
    padding: 7px 0;
    background: #777;
    font-size: 15px;
    color: #FFF;
    text-align: center;
}

.popup_p1 {
    background: #2BA7CF;
}

.popup_p1 .top {
    padding: 8px 20px;
    background: #2BA7CF;
}

.popup_p1 .body {
    padding: 5px;
    border: 20px solid #2BA7CF;
    border-top: 0;
    border-bottom: 0;
    background: #FFF;
}

.popup_p1 .note {
    position: relative;
    overflow: auto;
    background: #FFF;
}

.popup_p1 .btm {
    padding: 7px 0;
    background: #2BA7CF;
    font-size: 15px;
    color: #FFF;
    text-align: center;
}

.popup_p2 {
    background: #FFF url(../../../../templates/popup/popup2/__magicdir__/image/bg_right.jpg) repeat-y 100% 0;
}

.popup_p2 .top {
    position: relative;
    height: 110px;
    padding: 0 40px;
    background: url(../../../../templates/popup/popup2/__magicdir__/image/bg_h_popup.jpg) repeat-x 0 0;
}

.popup_p2 .top:before,
.popup_p2 .top:after {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 110px;
    content: '';
}

.popup_p2 .top:after {
    left: auto;
    right: 0;
}

.popup_p2 .top:before {
    background: url(../../../../templates/popup/popup2/__magicdir__/image/bg_top_left.gif) no-repeat 0 0;
}

.popup_p2 .top:after {
    background: url(../../../../templates/popup/popup2/__magicdir__/image/bg_top_right.gif) no-repeat 0 0;
}

.popup_p2 .body {
    padding: 0 40px 5px;
    background: url(../../../../templates/popup/popup2/__magicdir__/image/bg_left.jpg) repeat-y 0 0;
}

.popup_p2 .note {
    position: relative;
    overflow: auto;
    background: #FFF;
}

.popup_p2 .btm {
    padding: 7px 0;
    background: #014B90;
    font-size: 15px;
    color: #FFF;
    text-align: center;
}

.popup_p3 {
    background: #24487D;
}

.popup_p3 .top {
    padding: 0 3px;
    background: #24487D;
}

.popup_p3 .body {
    padding: 5px;
    border: 10px solid #24487D;
    border-top: 0;
    border-bottom: 0;
    background: #FFF;
}

.popup_p3 .note {
    position: relative;
    overflow: auto;
    background: #FFF;
}

.popup_p3 .btm {
    padding: 7px 0;
    background: #24487D;
    font-size: 15px;
    color: #FFF;
    text-align: center;
}

.popup_p4 {
    background: #0C9B75;
}

.popup_p4.float {
    border-radius: 13px;
}

.popup_p4 .top {
    margin: 0 20px;
    padding: 20px 0;
    background: #0C9B75;
    text-align: center;
}

.popup_p4 .body {
    padding: 5px;
    border: 20px solid #0C9B75;
    border-top: 0;
    border-bottom: 0;
    background: #FFF;
}

.popup_p4 .note {
    position: relative;
    overflow: auto;
    background: #FFF;
}

.popup_p4 .btm {
    padding: 7px 0;
    border-radius: 0 0 15px 15px;
    background: #0C9B75;
    font-size: 15px;
    color: #FFF;
    text-align: center;
}

.popup_p5 {
    border-top: 5px solid #79BFAB;
    background: #CFE7DF url(../../../../templates/popup/popup5/__magicdir__/image/bg_popup.gif);
}

.popup_p5 .top {
    height: 50px;
    line-height: 50px;
    text-align: center;
}

.popup_p5 .top img {
    vertical-align: bottom;
}

.popup_p5 .body {
    margin: 0 30px;
    padding: 5px;
    background: #FFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.popup_p5 .note {
    position: relative;
    overflow: auto;
    background: #FFF;
}

.popup_p5 .btm {
    padding: 7px 0;
    background: #79BFAB;
    font-size: 15px;
    color: #FFF;
    text-align: center;
}

.popup_p6 {
    background: #E3D3BD url(../../../../templates/popup/popup6/__magicdir__/image/bg_popup.gif);
}

.popup_p6 .top {
    position: relative;
    height: 120px;
    background: url(../../../../templates/popup/popup6/__magicdir__/image/bg_h_popup.png) no-repeat 30px 100%;
    text-align: center;
}

.popup_p6 .top img {
    margin: 22px 0 0 20px;
}

.popup_p6 .body {
    margin: -36px 30px 0;
    padding: 36px 5px 5px;
    background: #FFF;
}

.popup_p6 .note {
    position: relative;
    overflow: auto;
    background: #FFF;
}

.popup_p6 .btm {
    padding: 7px 0;
    font-size: 15px;
    text-align: center;
}

.popup_p7 {
    background: #492521 url(../../../../templates/popup/popup7/__magicdir__/image/bg_popup.jpg);
}

.popup_p7 .top {
    position: relative;
    height: 80px;
    margin: 0 20px;
    background: url(../../../../templates/popup/popup7/__magicdir__/image/bg_paper_top.png) no-repeat 100% 100%;
    text-align: center;
}

.popup_p7 .top img {
    margin-top: 18px;
}

.popup_p7 .body {
    position: relative;
    margin: -4px 20px 0 23px;
    padding: 13px;
    border: 1px solid #AAA;
    border-right: 0;
    background: #FFF url(../../../../templates/popup/popup7/__magicdir__/image/bg_paper_side.png) repeat-y 100% 0;
}

.popup_p7 .body:after {
    position: absolute;
    top: -30px;
    left: -23px;
    width: 67px;
    height: 67px;
    background: url(../../../../templates/popup/popup7/__magicdir__/image/ico_clip.png) no-repeat 0 0;
    content: '';
}

.popup_p7 .note {
    position: relative;
    overflow: auto;
    background: #FFF;
}

.popup_p7 .btm {
    padding: 7px 0;
    font-size: 15px;
    color: #FFF;
    text-align: center;
}

.popup_def .btm button,
.popup_p1 .btm button,
.popup_p2 .btm button,
.popup_p3 .btm button,
.popup_p4 .btm button,
.popup_p5 .btm button,
.popup_p6 .btm button,
.popup_p7 .btm button {
    height: 25px;
    padding: 0 8px;
    border: 0;
    border-radius: 0;
    background: #DDD;
    color: #000;
    font-size: 12px;
    line-height: 25px;
    vertical-align: middle;
    white-space: nowrap;
    -webkit-appearance: none;
}

.popup_def,
.popup_p1,
.popup_p2,
.popup_p3,
.popup_p4,
.popup_p5,
.popup_p6,
.popup_p7 {
    float: left;
    text-align: left;
}


/*popup*/
.popup_layer {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

/*팝업 박스*/
.popup_box {
    position: relative;
    top: 50%;
    left: 50%;
    overflow: auto;
    height: 960px;
    width: 600px;
    transform: translate(-50%, -50%);
    z-index: 1002;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 2px 5px 10px 0px rgba(0, 0, 0, 0.35);
    -webkit-box-shadow: 2px 5px 10px 0px rgba(0, 0, 0, 0.35);
    -moz-box-shadow: 2px 5px 10px 0px rgba(0, 0, 0, 0.35);
}

/*컨텐츠 영역*/
.popup_box .popup_cont {
    padding: 50px;
    line-height: 1.4rem;
    font-size: 14px;
}

.popup_box .popup_cont h2 {
    padding: 15px 0;
    color: #333;
    margin: 0;
}

.popup_box .popup_cont p {
    border-top: 1px solid #666;
    padding-top: 30px;
}

/*버튼영역*/
.popup_box .popup_btn {
    display: table;
    table-layout: fixed;
    width: 100%;
    height: 70px;
    background: #ECECEC;
    word-break: break-word;
}

.popup_box .popup_btn a {
    position: relative;
    display: table-cell;
    height: 70px;
    font-size: 17px;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    background: #ECECEC;
}

.popup_box .popup_btn a:before {
    content: '';
    display: block;
    position: absolute;
    top: 26px;
    right: 29px;
    width: 1px;
    height: 21px;
    background: #fff;
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.popup_box .popup_btn a:after {
    content: '';
    display: block;
    position: absolute;
    top: 26px;
    right: 29px;
    width: 1px;
    height: 21px;
    background: #fff;
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.popup_box .popup_btn a.close_day {
    background: #5d5d5d;
}

.popup_box .popup_btn a.close_day:before,
.popup_box .popup_btn a.close_day:after {
    display: none;
}

/*오버레이 뒷배경*/
.popup_o1verlay {
    position: fixed;
    top: 0px;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 1001;
    ;
    background: rgba(0, 0, 0, 0);
}

/*popup*/

.popup_def {
    background: #FFF;
}

.popup_def .body {
    padding: 4px;
    border: 1px solid #777;
    background: #FFF;
}

.popup_def .note {
    position: relative;
    overflow: auto;
    background: #FFF;
}

.popup_def .btm {
    padding: 7px 0;
    background: #777;
    font-size: 15px;
    color: #FFF;
    text-align: center;
}

.popup_p1 {
    background: #2BA7CF;
}

.popup_p1 .top {
    padding: 8px 20px;
    background: #2BA7CF;
}

.popup_p1 .body {
    padding: 5px;
    border: 20px solid #2BA7CF;
    border-top: 0;
    border-bottom: 0;
    background: #FFF;
}

.popup_p1 .note {
    position: relative;
    overflow: auto;
    background: #FFF;
}

.popup_p1 .btm {
    padding: 7px 0;
    background: #2BA7CF;
    font-size: 15px;
    color: #FFF;
    text-align: center;
}

.popup_p2 {
    background: #FFF url(../../../../templates/popup/popup2/__magicdir__/image/bg_right.jpg) repeat-y 100% 0;
}

.popup_p2 .top {
    position: relative;
    height: 110px;
    padding: 0 40px;
    background: url(../../../../templates/popup/popup2/__magicdir__/image/bg_h_popup.jpg) repeat-x 0 0;
}

.popup_p2 .top:before,
.popup_p2 .top:after {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 110px;
    content: '';
}

.popup_p2 .top:after {
    left: auto;
    right: 0;
}

.popup_p2 .top:before {
    background: url(../../../../templates/popup/popup2/__magicdir__/image/bg_top_left.gif) no-repeat 0 0;
}

.popup_p2 .top:after {
    background: url(../../../../templates/popup/popup2/__magicdir__/image/bg_top_right.gif) no-repeat 0 0;
}

.popup_p2 .body {
    padding: 0 40px 5px;
    background: url(../../../../templates/popup/popup2/__magicdir__/image/bg_left.jpg) repeat-y 0 0;
}

.popup_p2 .note {
    position: relative;
    overflow: auto;
    background: #FFF;
}

.popup_p2 .btm {
    padding: 7px 0;
    background: #014B90;
    font-size: 15px;
    color: #FFF;
    text-align: center;
}

.popup_p3 {
    background: #24487D;
}

.popup_p3 .top {
    padding: 0 3px;
    background: #24487D;
}

.popup_p3 .body {
    padding: 5px;
    border: 10px solid #24487D;
    border-top: 0;
    border-bottom: 0;
    background: #FFF;
}

.popup_p3 .note {
    position: relative;
    overflow: auto;
    background: #FFF;
}

.popup_p3 .btm {
    padding: 7px 0;
    background: #24487D;
    font-size: 15px;
    color: #FFF;
    text-align: center;
}

.popup_p4 {
    background: #0C9B75;
}

.popup_p4.float {
    border-radius: 13px;
}

.popup_p4 .top {
    margin: 0 20px;
    padding: 20px 0;
    background: #0C9B75;
    text-align: center;
}

.popup_p4 .body {
    padding: 5px;
    border: 20px solid #0C9B75;
    border-top: 0;
    border-bottom: 0;
    background: #FFF;
}

.popup_p4 .note {
    position: relative;
    overflow: auto;
    background: #FFF;
}

.popup_p4 .btm {
    padding: 7px 0;
    border-radius: 0 0 15px 15px;
    background: #0C9B75;
    font-size: 15px;
    color: #FFF;
    text-align: center;
}

.popup_p5 {
    border-top: 5px solid #79BFAB;
    background: #CFE7DF url(../../../../templates/popup/popup5/__magicdir__/image/bg_popup.gif);
}

.popup_p5 .top {
    height: 50px;
    line-height: 50px;
    text-align: center;
}

.popup_p5 .top img {
    vertical-align: bottom;
}

.popup_p5 .body {
    margin: 0 30px;
    padding: 5px;
    background: #FFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.popup_p5 .note {
    position: relative;
    overflow: auto;
    background: #FFF;
}

.popup_p5 .btm {
    padding: 7px 0;
    background: #79BFAB;
    font-size: 15px;
    color: #FFF;
    text-align: center;
}

.popup_p6 {
    background: #E3D3BD url(../../../../templates/popup/popup6/__magicdir__/image/bg_popup.gif);
}

.popup_p6 .top {
    position: relative;
    height: 120px;
    background: url(../../../../templates/popup/popup6/__magicdir__/image/bg_h_popup.png) no-repeat 30px 100%;
    text-align: center;
}

.popup_p6 .top img {
    margin: 22px 0 0 20px;
}

.popup_p6 .body {
    margin: -36px 30px 0;
    padding: 36px 5px 5px;
    background: #FFF;
}

.popup_p6 .note {
    position: relative;
    overflow: auto;
    background: #FFF;
}

.popup_p6 .btm {
    padding: 7px 0;
    font-size: 15px;
    text-align: center;
}

.popup_p7 {
    background: #492521 url(../../../../templates/popup/popup7/__magicdir__/image/bg_popup.jpg);
}

.popup_p7 .top {
    position: relative;
    height: 80px;
    margin: 0 20px;
    background: url(../../../../templates/popup/popup7/__magicdir__/image/bg_paper_top.png) no-repeat 100% 100%;
    text-align: center;
}

.popup_p7 .top img {
    margin-top: 18px;
}

.popup_p7 .body {
    position: relative;
    margin: -4px 20px 0 23px;
    padding: 13px;
    border: 1px solid #AAA;
    border-right: 0;
    background: #FFF url(../../../../templates/popup/popup7/__magicdir__/image/bg_paper_side.png) repeat-y 100% 0;
}

.popup_p7 .body:after {
    position: absolute;
    top: -30px;
    left: -23px;
    width: 67px;
    height: 67px;
    background: url(../../../../templates/popup/popup7/__magicdir__/image/ico_clip.png) no-repeat 0 0;
    content: '';
}

.popup_p7 .note {
    position: relative;
    overflow: auto;
    background: #FFF;
}

.popup_p7 .btm {
    padding: 7px 0;
    font-size: 15px;
    color: #FFF;
    text-align: center;
}

.popup_def .btm button,
.popup_p1 .btm button,
.popup_p2 .btm button,
.popup_p3 .btm button,
.popup_p4 .btm button,
.popup_p5 .btm button,
.popup_p6 .btm button,
.popup_p7 .btm button {
    height: 25px;
    padding: 0 8px;
    border: 0;
    border-radius: 0;
    background: #DDD;
    color: #000;
    font-size: 12px;
    line-height: 25px;
    vertical-align: middle;
    white-space: nowrap;
    -webkit-appearance: none;
}

.popup_def,
.popup_p1,
.popup_p2,
.popup_p3,
.popup_p4,
.popup_p5,
.popup_p6,
.popup_p7 {
    float: left;
    text-align: left;
}


/*popup*/
.popup_layer {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

/*팝업 박스*/
.popup_box {
    position: relative;
    top: 50%;
    left: 50%;
    overflow: auto;
    height: 960px;
    width: 600px;
    transform: translate(-50%, -50%);
    z-index: 1002;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 2px 5px 10px 0px rgba(0, 0, 0, 0.35);
    -webkit-box-shadow: 2px 5px 10px 0px rgba(0, 0, 0, 0.35);
    -moz-box-shadow: 2px 5px 10px 0px rgba(0, 0, 0, 0.35);
}

/*컨텐츠 영역*/
.popup_box .popup_cont {
    padding: 50px;
    line-height: 1.4rem;
    font-size: 14px;
}

.popup_box .popup_cont h2 {
    padding: 15px 0;
    color: #333;
    margin: 0;
}

.popup_box .popup_cont p {
    border-top: 1px solid #666;
    padding-top: 30px;
}

/*버튼영역*/
.popup_box .popup_btn {
    display: table;
    table-layout: fixed;
    width: 100%;
    height: 70px;
    background: #ECECEC;
    word-break: break-word;
}

.popup_box .popup_btn a {
    position: relative;
    display: table-cell;
    height: 70px;
    font-size: 17px;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    background: #ECECEC;
}

.popup_box .popup_btn a:before {
    content: '';
    display: block;
    position: absolute;
    top: 26px;
    right: 29px;
    width: 1px;
    height: 21px;
    background: #fff;
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.popup_box .popup_btn a:after {
    content: '';
    display: block;
    position: absolute;
    top: 26px;
    right: 29px;
    width: 1px;
    height: 21px;
    background: #fff;
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.popup_box .popup_btn a.close_day {
    background: #5d5d5d;
}

.popup_box .popup_btn a.close_day:before,
.popup_box .popup_btn a.close_day:after {
    display: none;
}

/*오버레이 뒷배경*/
.popup_o1verlay {
    position: fixed;
    top: 0px;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 1001;
    ;
    background: rgba(0, 0, 0, 0);
}

/*popup*/