/**
 * jquery.modalscreen.css
 *
 * The stylesheet for modalscreen jquery plugin
 *
 */
#mOverlay {
	width: 100%;
	height: 100%;
  z-index: 99999;
	position: fixed;
	top:0;
	left:0;
	background: rgba(0,0,0,0.3);
	display: none;
}
#mScreen {
  position: absolute;
  z-index: 100001;
  min-width: 200px;
  min-height: 50px;
  max-width: 75%;
}
#mOuter {
	background: #f6f6f6;
	border: 3px solid #f6f6f6;
	box-shadow: 0 0 5px #333;
	-moz-box-shadow: 0 0 5px #333;
	-webkit-box-shadow: 0 0 5px #333;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	-khtml-border-radius: 4px;
	position: absolute;
  z-index: 100001;
	display: none;
}
#mInner {
	padding: 20px;
	color: #333;
	text-shadow: 0px 1px 0px #fff
}

#mButtons {
  margin: 20px 10px 0px 10px;
  text-align: center;
}

#mClose {
	float: right;
}

/* Меню в модальном окне */
.inner-sub-nav {
	margin: 0;
	padding: 0;
  list-style: none;
  text-align: center;
}

.inner-sub-nav li {
	margin: 0px 4px 5px 0;
}

.inner-sub-nav li a {
 	position: relative;
  display: block;
  width: 100px;
  background: #EAEAEA;
 /* -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px; */
  line-height: 1px;
  text-align: center;
  font-weight: bold;
  color: #333333;
  text-shadow: 0 1px 1px #EEEEEE;
  background-color: #EAEAEA;
  height: auto !important;
  border: 1px solid #B6B6B6;
}

.inner-sub-nav li a span {
	padding: 3px 0 !important;
	display: block;
	line-height: 20px;
}

.inner-sub-nav li a:hover {
	/* background: #E7E7E7; */
  background: #DDDDDD;
  text-decoration: none;
  text-shadow: 0 1px 1px #E7E7E7;
}

.inner-sub-nav li a.active {
	background: #FFFFFF;
  text-shadow: none;
  text-shadow: 0 1px 1px #FFFFFF;
}