.hide {
  display: none;
}
.fade {
  opacity: 0;
  -webkit-transition: opacity 0.15s linear;
     -moz-transition: opacity 0.15s linear;
       -o-transition: opacity 0.15s linear;
          transition: opacity 0.15s linear;
}

.fade.in {opacity: 1;}


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

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

.modal {
  position: fixed;
  top: 10%;
  left: 50%;
  z-index: 1050;
  width: 700px;
  margin-left: -350px;
  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;
}

.modal.fade {
  top: -25%;
  -webkit-transition: opacity 0.3s linear, top 0.3s ease-out;
     -moz-transition: opacity 0.3s linear, top 0.3s ease-out;
       -o-transition: opacity 0.3s linear, top 0.3s ease-out;
          transition: opacity 0.3s linear, top 0.3s ease-out;
}

.modal.fade.in {top: 10%;}

.modal-header {padding: 9px 15px;border-bottom: 1px solid #eee;}
.modal-header {color: #ffffff;background: #3e90d7;border-bottom: none;}
.modal-header h3 {margin: 0;line-height: 30px;font-size:2em;}

.modal-body {position: relative;max-height: 400px;padding: 15px;overflow-y: auto;}


.modal-footer {
padding: 14px 15px 15px;
  margin-bottom: 0;
  text-align: right;
  background-color: #f5f5f5;
  border-top: 1px solid #ddd;
  *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;
}

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

.modal-footer:after {clear: both;}
.modal-footer {background-color: #ecf0f1;border-top: none;-webkit-box-shadow: none;-moz-box-shadow: none;box-shadow: none;}
.btn {
background-color: #1d4e89;
  padding: 9px 20px;
  color: #ffffff;
  text-decoration: none;
  text-shadow: none;
  background-image: none;
  border: none;
  -webkit-box-shadow: none;
     -moz-box-shadow: none;
          box-shadow: none;
  -webkit-transition: 0.25s;
     -moz-transition: 0.25s;
          transition: 0.25s;
}

.btn:hover,
.btn:focus {
  color: white;
  -webkit-transition: 0.25s;
     -moz-transition: 0.25s;
          transition: 0.25s;
}

.btn:active,
.btn.active {
background-color: #ff5c00;  -webkit-box-shadow: none;
     -moz-box-shadow: none;
          box-shadow: none;
}

.btn.disabled,
.btn[disabled] {
  color: white;
}

.btn-large {
  padding: 18px 36px;
}

.btn-small {
  padding: 2px 12px;
}

.btn-mini {
  padding: 1px 8px;
}