.hide {
    display: none;
}
.fade{
    opacity: 0;
    transition: opacity 0.15s linear 0s;
}
.fade.in{
    opacity: 1;
}
.modal.fade.in{
    top: 10%;
}
.modal{
    background-clip: padding-box;
    background-color: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 6px 6px 6px 6px;
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    left: 50%;
    margin-left: -280px;
    outline: medium none;
    position: fixed;
    top: 10%;
    width: 700px;
    z-index: 1050;
}
.modal.fade{
    top: -25%;
    transition: opacity 0.3s linear 0s, top 0.3s ease-out 0s;
}
.modal-header {
    border-bottom: 1px solid #EEEEEE;
    padding: 9px 15px;
}
.modal-body {
    max-height: 400px;
    overflow-y: auto;
    padding: 15px 0 15px 40px;
    position: relative;
}
.modal-footer:before, .modal-footer:after{
    content: "";
    display: table;
    line-height: 0;
}
.modal-footer:after {
     clear: both;
}
.modal-footer{
    background-color: #F5F5F5;
    border-radius: 0 0 6px 6px;
    border-top: 1px solid #DDDDDD;
    box-shadow: 0 1px 0 #FFFFFF inset;
    margin-bottom: 0;
    padding: 14px 15px 15px;
    text-align: right;
}
.modal-header .close{
    margin-top: 2px;
}

.modal-backdrop{
    background-color: #000000;
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1040;
}
.modal-backdrop, .modal-backdrop.fade.in {
    opacity: 0.8;
}
.modal-backdrop.fade{ opacity: 0;}

button.close{
    background: url("../images/close.png") no-repeat scroll 0 0 transparent;
    border: 0 none;
    cursor: pointer;
    padding: 10px 20px;
    position: absolute;
    top: 0;
    right: 0;
}
.close{
    color: #000000;
    float: right;
    font-size: 20px;
    font-weight: bold;
    line-height: 20px;
    text-indent: -9999px;
}
.modal-header h3{
    line-height: 30px;
    margin: 0;
    font-size: 24px;
}
.btn{
     -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: #F5F5F5;
    background-image: linear-gradient(to bottom, #FFFFFF, #E6E6E6);
    background-repeat: repeat-x;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) #B3B3B3;
    border-image: none;
    border-radius: 4px 4px 4px 4px;
    border-style: solid;
    border-width: 1px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
    color: #333333;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 0;
    padding: 4px 12px;
    text-align: center;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    vertical-align: middle;
}
.btn-primary{
     background-color: #006DCC;
    background-image: linear-gradient(to bottom, #0088CC, #0044CC);
    background-repeat: repeat-x;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    color: #FFFFFF;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.modal-footer .btn + .btn{
    margin-bottom: 0;
    margin-left: 5px;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .btn-primary.disabled, .btn-primary[disabled]{
    background-color: #0044CC;
    color: #FFFFFF;

}
.btn:hover, .btn:focus{
    background-position: 0 -32px;    
    text-decoration: none;
}
