body.nn-modal-open {
    overflow: hidden;
}

.nn-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    background: #000;
    background: rgba(0,0,0,.5);
    display: none;
    overflow: auto;
}

.nn-modal.nn-active {
    display: block;
}

.nn-modal .nn-modal-box {
    background: #fff;
    -webkit-box-shadow:  10px 10px 15px rgba(0,0,0,.5);
    -moz-box-shadow:  10px 10px 15px rgba(0,0,0,.5);
    box-shadow:  10px 10px 15px rgba(0,0,0,.5);
    width:570px;
    margin: 70px auto;
}

.nn-modal .nn-modal-box-header {
    background: #4782ca;
    padding: 15px 25px;
    position: relative;
}

.nn-modal .nn-modal-box-header .nn-modal-title {
    font-size: 16px;
    color: #fff;
    font-weight:700;
}

.nn-modal .nn-modal-box-header .nn-modal-title small {
    font-size:13px;
    margin-left:10px;
}

.nn-modal .nn-modal-box-header .nn-btn-close {
    background: url(../img/icons/icon-x.png);
    width: 21px;
    height:21px;
    text-indent:-999em;
    overflow: hidden;
    display: block;
    position: absolute;
    right:25px;
    top: 50%;
    margin-top:-10px;
}

.nn-modal .nn-modal-box-body {
    padding: 25px;
    font-size: 13px;
    color: #333;
}

.nn-modal-box-body .nn-tab-content {
    position: relative;
}

.nn-modal-box-body .nn-tab-menu {
    height:32px;
    border-bottom:1px solid #4782ca;
    margin-bottom:16px;
}

.nn-modal-box-body .nn-tab-menu ul li {
    float: left;
    height: 31px;
    border:1px solid #d4d4d4;
    border-bottom:0;
    background: #eee;
    text-align: center;
    padding:0 30px;
    line-height: 31px;
    margin-right:-1px;
    position: relative;
    cursor: pointer;
}

.nn-modal-box-body .nn-tab-menu ul li a {
    display: block;
    color: #999;
}

.nn-modal-box-body .nn-tab-menu ul li.nn-active {
    border-color: #4782ca;
    z-index: 10;
    background: #fff;
    height:32px;

}

.nn-modal-box-body .nn-tab-menu ul li.nn-active a {
    color: #4782ca;
}


.nn-modal-box-body .nn-tab-content {
    display: none;
}

.nn-modal-box-body .nn-tab-content.nn-active {
    display: block;
}

.nn-find-agency-form {
    position: relative;
    padding-right: 85px;
    margin-bottom:30px;
}

.nn-find-agency-form input {
    display: block;
    width:100%;;
}
.nn-find-agency-form .nn-btn-find-agency {
    width: 80px;
    position: absolute;
    right: 0;
    top: 0;
}

.nn-modal-box-body .nn-find-agency-result {
    position: relative;
}

.nn-modal-box-body .nn-find-agency-result em {
    display: block;
    text-indent:10px;
    font-size: 11px;
    font-weight:300;
    margin-bottom:4px;
}

.nn-modal-box-body .nn-find-agency-result .nn-result-list {
    overflow: auto;
    border:1px solid #d4d4d4;
    height:150px;
    margin-bottom: 10px;

}

.nn-modal-box-body .nn-find-agency-result .nn-result-list .nn-result-item {
    padding:10px;
    border-bottom: 1px dotted #d4d4d4;
}

.nn-modal-box-body .nn-find-agency-result .nn-result-list .nn-result-item .nn-name {
    font-weight:700;
    display: block;
    margin-bottom:4px;
}

.nn-modal-box-body .nn-find-agency-result .nn-result-list .nn-result-item .nn-addr {
    font-size: 11px;
    color: #999;
    line-height:1.2;
}

.nn-modal-box-body .nn-find-agency-no-result {
    line-height:32px;
}

.nn-modal-box-body .nn-find-agency-no-result em {
    font-weight:300;
}

.nn-modal-box-body .nn-find-agency-no-result .nn-btn {
    float: right;
    width: 80px;
}

.nn-modal-box-body .nn-well {
    border: 1px solid #d4d4d4;
    background: #f6f6f6;
    padding:20px;
    margin-bottom: 16px;
}

.nn-modal-box-body .nn-well p {
    margin-bottom:10px;
}

.nn-modal-box-body .nn-well ul li {
    margin-bottom: 5px;
    color: #999;
}

.nn-modal-box-body .nn-find-agency-notice {
    font-weight:300;
    font-size:11px;
    color: #999;
    line-height:1.4;
    margin-top:10px;
    display: block;
    padding-left:15px;
    position: relative;
    margin-bottom:15px;
}

.nn-modal-box-body .nn-find-agency-notice:before {
    content:'※';
    position: absolute;
    display: block;
    left: 0;
    top: 0;
}


.nn-modal-box.nn-modal-box-lg {
    width:640px;
}


.nn-modal-box.nn-modal-box-xl {
    width:1024px;
}

.nn-modal .nn-form .nn-form-action button {
    margin-bottom:0;
}
.nn-modal .nn-modal-box-xl .nn-modal-box-header .nn-modal-title {
    font-size:18px;
    line-height: 18px;
}
.nn-modal .nn-modal-box-xl .nn-modal-box-body {
    padding:15px 25px;
}

