.fade {
  opacity: 0;
  -webkit-transition: opacity 0.15s linear;
          transition: opacity 0.15s linear;
}

.fade.in {
  opacity: 1;
}

.close {
  float: right;
  font-size: 21px;
  font-weight: bold;
  line-height: 1;
  color: #000000;
  text-shadow: 0 1px 0 #ffffff;
  opacity: 0.2;
  filter: alpha(opacity=20);
}

.close:hover,
.close:focus {
  color: #000000;
  text-decoration: none;
  cursor: pointer;
  opacity: 0.5;
  filter: alpha(opacity=50);
}

button.close {
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
}

.modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  display: none;
  overflow: auto;
  overflow-y: scroll;
}

.modal.fade .modal-dialog {
  -webkit-transform: translate(0, -25%);
      -ms-transform: translate(0, -25%);
          transform: translate(0, -25%);
  -webkit-transition: -webkit-transform 0.3s ease-out;
     -moz-transition: -moz-transform 0.3s ease-out;
       -o-transition: -o-transform 0.3s ease-out;
          transition: transform 0.3s ease-out;
}

.modal.in .modal-dialog {
  -webkit-transform: translate(0, 0);
      -ms-transform: translate(0, 0);
          transform: translate(0, 0);
}

.modal-dialog {
  position: relative;
  z-index: 1050;
  width: auto;
  margin: 10px;
}

.modal-content {
  position: relative;
  background-color: rgba(255, 255, 255, 1);
  outline: none;
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
          box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  background-clip: padding-box;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1030;
  background-color: #000000;
}

.modal-backdrop.fade {
  opacity: 0;
  filter: alpha(opacity=0);
}

.modal-backdrop.in {
  opacity: 0.5;
  filter: alpha(opacity=50);
}

.modal-header {
  min-height: 16.428571429px;
  padding: 6px 15px;
  background-color: #7f1974;
  color: #fff;
}

.modal-header .close {
  margin-top: -2px;
}

.modal-title {
  margin: 0;
  line-height: 1.428571429;
}

.modal-header h4 {
    color: #fff;
    font-size: 14px;
    font-weight: normal;
    line-height: 30px;
    margin: 0;
}

.popUp_headTab {
}
.popUp_headTab a {
    border-bottom: medium none;
    color: #fff;
    display: inline-block;
    font-size: 12px;
    line-height: 30px;
    padding: 0 15px;
}

.popUp_headTab a:hover, .popUp_headTab a:active, .popUp_headTab a:focus {
    color: #fff;
    background-color: #996868;
}

.popUp_headTab a.active {
    background: #fff none repeat scroll 0 0;
    border-bottom: medium none;
    color: #6c050d;
    display: inline-block;
    font-size: 12px;
    line-height: 30px;
    padding: 0 15px;
}

.modal-body {
  position: relative;
  padding: 20px 10px;
}

.modal-body .form-line{ font-size: 14px; display: flex; line-height: 26px; margin-bottom: 10px; }
.modal-body .form-line input[type=text]{border: 1px solid #7f1974; height: 26px; width: 320px; padding: 0 5px; font-size: 14px; }
.modal-body .form-line input[type=text].small{ width:60px; }
.modal-body .form-line .form_lineLeft{ width:140px; text-align: right; }
.modal-body .form-line .form_lineRight{  }


.modal-body .msg{ text-align: left; margin-top: 10px; font-size: 12px; color: red; display: none; line-height: 12px; }

.modal-footer {
  padding: 15px 20px 15px;
  text-align: right;
  border-top: 0.5px solid #7f1974;
}

.modal-footer:before,
.modal-footer:after {
  display: table;
  content: " ";
}

.modal-footer:after {
  clear: both;
}

.modal-footer:before,
.modal-footer:after {
  display: table;
  content: " ";
}

.modal-footer:after {
  clear: both;
}

.modal-footer .btn + .btn {
  margin-bottom: 0;
  margin-left: 5px;
}

.modal-footer .btn-group .btn + .btn {
  margin-left: -1px;
}

.modal-footer .btn-block + .btn-block {
  margin-left: 0;
}

.modal-footer .button{
    background-color: #4b7fd6;
    border: 0 none;
    color: #fff;
    cursor: pointer;
    padding: 5px 15px;
}
.modal-footer .button_default{
    background-color: #fff;
    border: 0 none;
    color: #999;
    cursor: pointer;
    padding: 4px 15px;
    border: 1px solid #999;
}

@media screen and (min-width: 768px) {
  .modal-dialog {
    width: 600px;
    margin: 120px auto 30px;
  }
  .modal-content {
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  }
}

.modal-loading{ position:absolute; top:0; right:0; bottom:0; left:0; margin:auto; width:60px; height:60px; line-height:60px; text-align:center; font-size:50px; color:#6c050d;}
.fa-spin {
  -webkit-animation: fa-spin 2s infinite linear;
  animation: fa-spin 2s infinite linear;
}
@keyframes fa-spin {
0% {
    transform: rotate(0deg);
}
100% {
    transform: rotate(359deg);
}
}

.modal_ul_label {overflow: hidden; width: 135px; float: left; margin-right: 6px; position: relative; padding-top:25px; border: 1px solid #fff; padding-left: 3px; padding-bottom: 10px; }
.modal_ul_label li {cursor: pointer; display: inline-block; height: 23px; line-height: 23px; padding: 1px; font-size: 12px; border: 1px solid #cacbb2; width: 60px; }
.modal_ul_label li a{background-color: #cacbb2; display: inline-block; padding: 0 6px; color: #000; width:48px; text-align: center; }
.modal_ul_label li a:hover, .modal_ul_label li a:active, .modal_ul_label li a:focus{background-color: #6c050d; color: #fff; }
.modal_ul_label li.active{border: 1px solid #6c050d;}
.modal_ul_label li.active a{background-color: #6c050d; color: #fff; }

.modal_ul_label li.hit{border: 1px solid #f00; box-shadow: 0 0 8px rgba(255, 0, 0, 0.9); }

.modal_ul_label em{position: absolute; top: 0; font-style:normal; width: 98%; text-align: center; }
.modal_ul_label:hover{border: 1px dashed #6c050d; }

button.floatLeft { float: left; margin-right: 5px; }