﻿.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20000; 
  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: 20%;
  left:55%;
  z-index: 20050;
  min-width:350px;
  max-width:800px;
  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; 
}

.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 .close {
  margin-top: 2px;
}

.modal-header h3 {
  margin: 0;
  line-height: 30px;
}

.modal-body {
  position: relative;
  max-height: 700px;
  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;
  -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; 
}


.modal-footer:before,
.modal-footer:after {
  display: table;
  line-height: 0;
  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;
}


.btn {
  display: inline-block;
/*  *border-left: 0 none #e6e6e6; */
    border-right: 0 none #e6e6e6;
    border-top: 0 none #e6e6e6;
    border-bottom: 0 none #b3b3b3;
    display: inline;
    padding: 4px 12px;
    margin-bottom: 0;
/*  *margin-left: .3em; */
    font-size: 14px;
    line-height: 20px;
    color: #333333;
    text-align: center;
  /*  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); */
    vertical-align: middle;
    cursor: pointer;
  background-color: #f5f5f5;
 /* *background-color: #e6e6e6; */
    background-repeat: repeat-x;
 /* *-webkit-border-radius: 4px; */
     -moz-border-radius: 4px;
      /*    border-radius: 4px;
    zoom: 1; */
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
   /* box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); */
    background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
}

.hide {
  display: none;
}

.show {
  display: block;
}

.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; */
}


.btn:hover,
.btn:focus,
.btn:active,
.btn.active,
.btn.disabled,
.btn[disabled] {
  color: #333333;
  background-color: #e6e6e6;
 /* *background-color: #d9d9d9; */
}

.btn:active,
.btn.active {
  background-color: #cccccc;
}

.btn:first-child {
  /*margin-left: 0; */
}

.btn:hover,
.btn:focus {
  color: #333333;
  text-decoration: none;
  background-position: 0 -15px;
  -webkit-transition: background-position 0.1s linear;
     -moz-transition: background-position 0.1s linear;
       -o-transition: background-position 0.1s linear;
       /*   transition: background-position 0.1s linear; */
}

.btn:focus {
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
/*  outline-offset: -2px;*/
}

.btn.active,
.btn:active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
     -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
       /*   box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); */
}

.btn.disabled,
.btn[disabled] {
  cursor: default;
  background-image: none;
 /* opacity: 0.65; 
  filter: alpha(opacity=65); */
  -webkit-box-shadow: none;
     -moz-box-shadow: none;
        /*  box-shadow: none;*/
}

.btn-primary.active {
  color: rgba(255, 255, 255, 0.75);
}

.btn-primary {
  color: #ffffff;
/*  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); */
  background-color: #006dcc;
/* *background-color: #0044cc; */
  background-repeat: repeat-x;
    background-image: linear-gradient(to bottom, #0088cc, #0044cc);
    border-left-color: #0044cc;
    border-right-color: #0044cc;
    border-top-color: #0044cc;
    border-bottom-color: #002a80;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-primary.disabled,
.btn-primary[disabled] {
  color: #ffffff;
  background-color: #0044cc;
 /* *background-color: #003bb3; */
}

.btn-primary:active,
.btn-primary.active {
  background-color: #003399;
}