.overlay{
    width:100%;
    height:100%;
    position:fixed;
    top:0;
    left:0;
    background:url('../image/fade.png') repeat;
    display:none;
    position:fixed;
    z-index:100;
    background: -moz-radial-gradient(center, ellipse cover,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%);
    background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.65)));
    background: -webkit-radial-gradient(center, ellipse cover,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
    background: -o-radial-gradient(center, ellipse cover,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
    background: -ms-radial-gradient(center, ellipse cover,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
    background: radial-gradient(center, ellipse cover,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
}

#popupOverlay
{
    z-index:100;
}

#confirmOverlay,
#notificationOverlay
{
    z-index:112;
}

.popupClose {
    background: url('../image/close.png') no-repeat;
    width: 32px;
    height: 32px;
    display: inline-block;
    margin-top: -20px;
    float: right;
    cursor: pointer;
}

#notificationBox, #confirmBox
{
  position: fixed;
  top: 10%;
  left: 50%;
  z-index: 1050;
  width: 560px;
  margin-left: -280px;
  background-color: #ffffff;
  border: 1px solid #999;
  border: 1px solid rgba(0, 0, 0, 0.3);
  *border: 1px solid #999;
  -webkit-border-radius: 6px;
     -moz-border-radius: 6px;
          border-radius: 6px;
  outline: none;
  -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
     -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
          box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  -webkit-background-clip: padding-box;
     -moz-background-clip: padding-box;
          background-clip: padding-box;
}

#popupBox
{
  position: fixed;
  top: 10%;
  left: 50%;
  z-index: 1040;
  width: 560px;
  margin-left: -280px;
  background-color: #ffffff;
  border: 1px solid #999;
  border: 1px solid rgba(0, 0, 0, 0.3);
  *border: 1px solid #999;
  -webkit-border-radius: 6px;
     -moz-border-radius: 6px;
          border-radius: 6px;
  outline: none;
  -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
     -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
          box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  -webkit-background-clip: padding-box;
     -moz-background-clip: padding-box;
          background-clip: padding-box;
}
#popupHead {
    margin-bottom: 20px;
}

#notificationBox h1,
#notificationBox p,
#confirmBox h1,
#confirmBox p{
    color:#2d2d2d;
}
.popup-header {
  padding: 9px 15px;
  border-bottom: 1px solid #eee;
}

.popup-header .close {
  margin-top: 2px;
}

.popup-header h3 {
  margin: 0;
  line-height: 30px;
}

.popup-body {
  position: relative;
  max-height: 400px;
  padding: 15px;
  overflow-y: auto;
}

.popup-form {
  margin-bottom: 0;
}

.popup-footer {
  padding: 14px 15px 15px;
  margin-bottom: 0;
  text-align: right;
  background-color: #f5f5f5;
  border-top: 1px solid #ddd;
  -webkit-border-radius: 0 0 6px 6px;
     -moz-border-radius: 0 0 6px 6px;
          border-radius: 0 0 6px 6px;
  *zoom: 1;
  -webkit-box-shadow: inset 0 1px 0 #ffffff;
     -moz-box-shadow: inset 0 1px 0 #ffffff;
          box-shadow: inset 0 1px 0 #ffffff;
}

.popup-footer:before,
.popup-footer:after {
  display: table;
  line-height: 0;
  content: "";
}

.popup-footer:after {
  clear: both;
}

.popup-footer .btn + .btn {
  margin-bottom: 0;
  margin-left: 5px;
}

.popup-footer .btn-group .btn + .btn {
  margin-left: -1px;
}

.popup-footer .btn-block + .btn-block {
  margin-left: 0;
}