
/* modal box style, can be anything you want */
.modal {
    background: #f9e7bc;
    width: 600px;
    margin: 60px auto;
    border: 3px solid #f9e7bc;
	padding: 10px;
	-moz-box-shadow:10px 11px 13px -10px #383434;
	-webkit-box-shadow:10px 11px 13px -10px #383434;
	box-shadow: 10px 11px 13px -10px #383434;
}

.modal-client {
    background: #8b4513;
    width: 99%;
	height: 97%;
    margin: auto;
	margin-top: 10px;
    border: 3px solid #f9e7bc;
	padding: 0px;
	position: relative;
	
}

.submodal_add_pers {
    background: #E6F5E5;
    width: 500px;
    left: 40%;
    margin-left: -254px;
    margin-top: 57px;
    border: 2px solid #7B8C7D;
    padding: 6px;
    position: absolute;
    border-radius: 5px;
}

.submodal-win {
    background: #f9e7bc;
    width: 500px;
    left: 50%;
    margin-left: -254px;
    margin-top: 50px;
    padding: 15px;
    position: absolute;
    border-radius: 2px;
	z-index: 801;
	-moz-box-shadow:11px 10px 31px -8px #7b8c7d;
	-webkit-box-shadow:11px 10px 31px -8px #7b8c7d;
	box-shadow: 11px 10px 31px -8px #7b8c7d;
}

.modal .close, .modal .ok{
    float: right;
    text-decoration: none;
	color: #8b4513;
	margin: 0px;
	padding: 0px 2px;
	border: 0px;
	font-size:2.0em;
}

.close_submodal {
	position: absolute;
    right: 7px;
    cursor: pointer;
    width: 22px;
    height: 20px;
    text-align: center;
    color: #8b4513;
    margin-top: -20px;
    border-radius: 0px 1px 0px 5px;
}

.close_submodal:before {
	content: "+";
	font: 30px "Consolas", monospace;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
	position: absolute;
	color: #8b4513;
	}

.modal-client .close {
	position: absolute;
	right: 0px;
	cursor: pointer;
	width: 20px;
	height: 20px;
	background-color: #8b4513;
	text-align: center;
	color: #8b4513;
}


.themodal-lock {overflow: hidden;}

.themodal-overlay {
	position: fixed;
	bottom: 0;
	left: 0;
	top: 0;
	right: 0;
	z-index: 800;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

.themodal-overlay > * {
	-webkit-transform: translateZ(0px);
}

.themodal-overlay {
	background: rgba(0, 0, 0, 0.5);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = #7F000000, endColorstr = #7F000000);
	zoom: 1;
}


.submodal-overlay {
	position: fixed;
	bottom: 0;
	left: 0;
	top: 0;
	right: 0;
	z-index: 800;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

.submodal-overlay > * {
	-webkit-transform: translateZ(0px);
}

.submodal-overlay {
	background: rgba(255, 255, 255, 0.5);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = #7F000000, endColorstr = #7F000000);
	zoom: 1;
}

