.ui-dialog { z-index: 1000 !important; }
.ui-widget-overlay {
   background: #000000;
   opacity: .50;
   filter: Alpha(Opacity=30);
}

.modalBg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 499;
  background-color: #000000;
  opacity: .7;
  display: none;
}
.modalBg0 {
position: fixed;
  top: 0;
  left: 0;
  width: 100%;
	
  min-height: 200%;
  z-index: 499;
  background-color: #000000;
  opacity: 0.5;
  display: none;
	overflow: visible;
}

.modalContainer {
	display:none;
	background-color: #FF0000;
	position: fixed;
	left:0;
	right:0;
	top:100px;
	margin-left: auto;
	width:300px;
	margin-right: auto;
	z-index: 999;
	
	
	box-shadow: 5px 5px 2px #333333;
	-moz-box-shadow: box-shadow: 5px 5px 2px #333333; /* Firefox */
    -webkit-box-shadow: box-shadow: 5px 5px 2px #333333; /* Safari, Chrome */
}

.modalTitle {
	height:30px;
	background-color: #83BDCB;
	color:#000000;
	line-height: 30px;
	vertical-align: middle;
	padding-left:8px;
	font-size: 12px;
	font-weight: bold;
	border-bottom: 1px solid #054B62;
}

.modalTitleWhite {
	height:20px;
	background-color: #FFFFFF;
	

	
	
	
	
}

.modalBody{
	padding:10px;
	background:#FFF;
}

.modalCenter {
	text-align: center;
}


.modalBody a {
	text-decoration: none;
	color: #1E5E84;
}
.modalBody a:hover {
	text-decoration: underline;
}


.modalBody input {
border: 1px solid #cccccc;
	 padding: 6px 6px 4px;
		-webkit-appearance:none;
		border-radius: none;
		-webkit-border-radius:0;
}

.modalBody .button { 
	background: -moz-linear-gradient(center top, #f3f3f3, #dddddd);
	background: -webkit-gradient(linear, left top, left bottom, from(#f3f3f3), to(#dddddd));
	background:  -o-linear-gradient(top, #f3f3f3, #dddddd);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#f3f3f3', EndColorStr='#dddddd');
	border-color:#000; 
	border-width:1px;
	
	color:#333;
	cursor:pointer;
	display:inline-block;
	padding-left:20px;
	padding-right:20px;
	padding-top:6px;
	padding-bottom:6px;
	margin-top:10px;
	font:12px; 
		-webkit-appearance:none;
		border-radius: none;
		-webkit-border-radius:0;
}

.modalBody .button:hover { background:#ddd; }


.modalCloseButton {
	cursor: pointer;
	position: absolute;
	float:right;
  right:-10px;
	top:-10px;
	
  /*margin: -20px 0 0 -20px;*/
  width: 23px;
  height: 23px;
  opacity: 1.0;
  border: 2px solid #888888;
  background-color: #222222;
  border-radius: 50%;
  z-index: 999;
}
.modalCloseButton:hover {
  opacity: 1;
  border: 2px solid #00ADF8;
}
.modalCloseButton:before, .modalCloseButton:after {
  position: absolute;
  left: 5px;
  top: 10px;
  content: ' ';
  height: 3px;
  width: 13px;
  background-color: #ffffff;
}
.modalCloseButton:hover::before, .modalCloseButton:hover::after {
  background-color: #00ADF8
}
.modalCloseButton:before {
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.modalCloseButton:after {
  -ms-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}


.modalCloseButtonRight {
	cursor: pointer;
	
	position: absolute;
right:6px;
	top:3px;
  /*margin: -20px 0 0 -20px;*/
  width: 23px;
  height: 23px;
  opacity: 1.0;
  border: 1px solid #888888;
  background-color: #555555;
  border-radius: 50%;
  
}
.modalCloseButtonRight:hover {
  opacity: 1;
  border: 1px solid #00ADF8;
}
.modalCloseButtonRight:before, .modalCloseButtonRight:after {
  position: absolute;
  left: 5px;
  top: 10px;
  content: ' ';
  height: 2px;
  width: 13px;
  background-color: #ffffff;
}
.modalCloseButtonRight:hover::before, .modalCloseButtonRight:hover::after {
  background-color: #00ADF8
}
.modalCloseButtonRight:before {
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.modalCloseButtonRight:after {
  -ms-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#modalAjaxLoading {
  display: none;
}