.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.5;
    filter: alpha(opacity=50);
}

.modal {
    position: fixed;
    top: 10%;
    left: 50%;
    z-index: 1050;
    width: 670px;
    margin-left: -335px;
    background-color: #ffffff;
    border: 1px solid #ffffff;
    border: 1px solid rgba(255, 255, 255, 1);
    *border: 1px solid #ffffff;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    outline: none;
    -webkit-box-shadow: 0 3px 20px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 3px 20px rgba(0, 0, 0, 0.3);
    box-shadow: 0 3px 20px 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: 20px 20px 20px 20px;
    font-size: 36px;
    font-weight: 300;
}

.modal-header .close {
    background-image: url("../img/modal_closeBt.png");
    background-position: center center;
    background-repeat: no-repeat;
    display: block;
    width: 26px;
    height: 26px;
    margin-top: -2px;
    text-indent: -9999px;
    opacity: 1;
    filter: alpha(opacity=100);
}

.modal-header h3 {
    margin: 0;
    line-height: 30px;
    font-size: 36px;
    font-weight: 100;
    color: #474747;
}

.modal-body {
    position: relative;
    max-height: 400px;
    padding: 15px 40px;
    overflow-y: auto;
    font-size: 17px;
    font-weight: 300;
    line-height: 24px;
    color: #666666;
}

.modal-form {
    color: #666666;
    font-size: 15px;
    font-weight: 300;
    line-height: 18px;
    margin-bottom: 0;
    padding: 0 20px;
}
.modal-row {
    float: left;
    width: 100%;
    clear: both;
    padding-bottom: 10px;
}
.modal-row input[type="text"],
.modal-row input[type="password"],
.modal-row select {
    border: 1px solid #666666;
    float: left;
    height: 29px;
    padding: 0 10px;
    width: 178px;
    font: 17px/24px 'Roboto', Arial, Tahoma, Verdana, sans-serif;
    font-weight: 300;
    color: #666666;
}
.modal-row .file {
    float: left;
    overflow: hidden;
    width: 200px;
    height: 30px;
    cursor: pointer;
    /*border: 1px solid #666666;*/
}
/*
.modal-row .file input[type="file"] {
    opacity:0;
    filter:alpha(opacity:0);
    font-size:199px;
    cursor:pointer;
    padding:0px;
    margin:0px;
    border:none;
    margin-left:-450px;
}*/
.modal-row select {
    height: auto;
    padding: 2px 10px;
    width: 200px;
}
.modal-row textarea {
    clear: both;
    border: 1px solid #666666;
    float: left;
    height: 89px;
    padding: 0 10px;
    width: 464px;
    font: 17px/24px 'Roboto', Arial, Tahoma, Verdana, sans-serif;
    font-weight: 300;
    color: #666666;
}

.modal-row label {
    color: #666666;
    float: left;
    font: 17px/30px 'Roboto', Arial, Tahoma, Verdana, sans-serif;
    font-weight: 300;
    padding-left: 18px;
}
.modal-row button {
    width: 210px;
    font-size: 18px;
    font-weight: 300;
}
.modal-table {
    padding: 15px 40px;
}
.modal-table table {
    width: 100%;
}
.modal-table table thead td {
    background-color: #3d556c;
    font-size: 18px;
    font-weight: 300;
    text-align: center;
    color: #FFFFFF;
    padding: 15px 0;
    border-right: 1px dashed #243340;
    border-left: 1px dashed #243340;
}
.modal-table table thead td.first {
    -webkit-border-radius: 6px 0 0 0;
    -moz-border-radius: 6px 0 0 0;
    border-radius: 6px 0 0 0;
    border-left: 0;
}
.modal-table table thead td.last {
    -webkit-border-radius: 0 6px 0 0;
    -moz-border-radius: 0 6px 0 0;
    border-radius: 0 6px 0 0;
    border-right: 0;
}
.modal-table table thead td a {
    font-size: 14px;
    font-weight: 300;
    color: #ffffff;
    text-transform: lowercase;
    text-decoration: none;
}
.modal-table table thead td a span {
    background-image: url("../img/link_block_bg_wight.png");
    background-position: bottom;
    background-repeat: repeat-x;
}
.modal-table table tbody td {
    background-color: #f8f8f8;
    font-size: 18px;
    font-weight: 300;
    text-align: center;
    color: #FFFFFF;
    padding: 15px 0;
    border-right: 1px dashed #243340;
    border-left: 1px dashed #243340;
}
.modal-table table tbody td.first {
    border-left: 0;
}
.modal-table table tbody td.last {
    border-right: 0;
}

.modal-table table tfoot td {
    background-color: #3d556c;
    font-size: 18px;
    font-weight: 300;
    text-align: center;
    color: #FFFFFF;
    padding: 15px 0;
    border-right: 1px dashed #243340;
    border-left: 1px dashed #243340;
}

.modal-table table tfoot td.first {
    -webkit-border-radius: 0 0 0 6px;
    -moz-border-radius: 0 0 0 6px;
    border-radius: 0 0 0 6px;
    border-left: 0;
}
.modal-table table tfoot td.last {
    -webkit-border-radius: 0 0 6px 0;
    -moz-border-radius: 0 0 6px 0;
    border-radius: 0 0 6px 0;
    border-right: 0;
}


.modal-footer {
    clear: both;
    padding: 0 20px 10px;
    margin-bottom: 0;
    text-align: left;
    background-color: #FFFFFF;
    border-top: 0;
    -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;
    min-height: 1px;
}

.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;
}
.modal-message {
    padding: 0 20px;
}
.modal-message p {
    margin: 0 !important;
}

.modal a {

}
.modal a {
    text-decoration: none;
    color: #0054a4;
}
.modal a:hover span,
.modal a.active span{
    /*text-decoration: underline;*/
    background-image: url("../img/link_block_line.png");
    background-position: left bottom;
    background-repeat: repeat-x;
    color: #0599FF;
}