.modal-open .dropdown-menu {
    z-index: 2050;
}
.modal-open .popover {
    z-index: 2060;
}
.modal-open .tooltip {
    z-index: 2070;
}
.modal-backdrop {
    background-color: #000;
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1040;
}
.modal-backdrop.fade {
    opacity: 0;
}
.modal-backdrop, .modal-backdrop.fade.in {
    opacity: .8;
}
.modal {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .3);
    float: left;
    margin: 0 15%;
    max-width: 640px;
    overflow: hidden;
    padding-top: 30px;
    position: fixed;
    top: 25%;
    z-index: 1050;
    border-radius: 5px;
}
.modal-header {
	background-color: #cecece;
	clear: both;
	float: left;
	height: 30px;
	position: absolute;
	top: 0;
	width: 100%;
	box-shadow: 1px 1px 5px 1px #9f9f9f;
}
.modal-body {
    background-color: #fff;
    max-height: 400px;
    min-height: 64px;
    min-width: 300px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 10px 15px;
}
.modal-footer {
	background-color: #cecece;
	border-top: 1px solid #ddd;
	margin-bottom: 0;
	padding: 4px 5px 5px;
	text-align: right;
	box-shadow: 1px -1px 5px 1px #9f9f9f;
}
.modal.fade {
    -moz-transition: opacity .3s linear 0s, top .3s ease-out 0s;
    top: -25%}
.modal.fade.in {
    top: 50%}
.modal-header .close {
    margin-top: 2px;
}
.modal-form {
    margin-bottom: 0;
}
.modal-footer:after, .modal-footer:before {
    display: table;
}
.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-titlebar-close {
	border-left: 1px solid #bfbfbf;
	color: #fff;
	height: 100%;
	margin: 6px 0 0;
	padding: 6px 1px 6px 5px;
	position: absolute;
	right: .3em;
	width: 42px;
	margin-top: 0px;
	text-transform: capitalize;
	text-decoration: none !important;
}
.modal-header h3 {
	color: #fff;
	padding-top: 6px;
	padding-left: 8px;
	text-transform: uppercase;
	font-family: Arial,Helvetica,Tahoma,Verdana,Sans-serif;
}
.hide {
    display: none;
}
.show {
    display: block;
}
.pop-button-bar {
    margin: 7px 0 2px;
    text-align: center;
}
.modal-body td {
    float: left;
}
.modal-body label {
    color: #333;
    display: block;
    float: left;
    font-size: 11px;
    font-weight: 700;
    margin-top: 3px;
}
.modal-body span {
    color: #676767;
    font-size: 11px;
}
