.nyroModalBg {
	position: fixed;
	overflow: hidden;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: #FFFFFF;
	opacity: 0.7;
	z-index:98;
}
.nmReposition {
	position: absolute;
}
.nyroModalCloseButton {
	top: -14px;
	right: -14px;
	width: 27px;
	height: 27px;
	text-indent: -9999em;
	background: url(../img/but_close.png);
	z-index:100;
}
.nyroModalTitle {
	top: -26px;
	left: 0;
	margin: 0;
    font-size: 12px;
	color: #414141;
	z-index:100;
}
.nyroModalCont {
	position: absolute;
	border: 1px solid #8E8E8E; 
	margin: 20px;
	padding:10px;
	background: #fff;
		z-index:99;
		max-height:2000px;
		overflow: visible !important;
}

.nyroModalCont iframe {
	width: 600px;
	height: 400px;
}
.nyroModalError {
	border: 4px solid red;
	color: red;
	width: 250px;
	height: 250px;
}
.nyroModalError div {
	min-width: 0;
	min-height: 0;
	padding: 10px;
}
.nyroModalLink, .nyroModalDom, .nyroModalForm, .nyroModalFormFile {
	position: relative;
	padding: 3px 5px 3px 3px; /*!!! padding: 3px */
	min-height: 350px;
	min-width: 220px;
	max-width: 1000px;
	max-height:1000px;
}
.nyroModalImage, .nyroModalSwf, .nyroModalIframe, .nyroModalIframeForm {
	position: relative;
	overflow: hidden;
	opacity:0.99;
	z-index:99;
}
.nyroModalImage img {
    vertical-align: top;
}
.nyroModalHidden {
	left: -9999em;
	top: -9999em;
}
.nyroModalLoad {
	position: absolute;
	width: 100px;
	height: 100px;
	background: #fff url(../img/ajaxLoader.gif) no-repeat center;
	padding: 0px;
}
.nyroModalPrev, .nyroModalNext {
	outline: none;
	position: absolute;
	top: 0;
	height: 60%;
	width: 150px;
	min-height: 50px;
	max-height: 300px;
	cursor: pointer;
	text-indent: -9999em;
	background: transparent url('data:image/gif;base64,AAAA') left 20% no-repeat;
}
.nyroModalImage .nyroModalPrev, .nyroModalImage .nyroModalNext {
	height: 100%;
	width: 40%;
	max-height: none;
}
.nyroModalPrev {
	left: 0;
}
.nyroModalPrev:hover {
	background-image: url(../img/lightbox_but_back.png);
	background-position:left center;
}
.nyroModalNext {
	right: 0;
}
.nyroModalNext:hover {
	background-position: right center;
	background-image: url(../img/lightbox_but_next.png);
}