.nooverflow {overflow: hidden;}
.right220 { float: left; clear: left; width: 220px; }
.right220 img { margin: 0 20px 20px 0; }
.marginright220 {}
.unIndentedList{list-style: none;}

.stul_big td,
.orimeks_colors_big td,
.no-padding-td td{padding: 0 !important;}

#content {
	float: none;
	width: auto;
	margin: auto;
}

.Border {/* check this selector later
	border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	background: #ddd;
	background: rgba(82, 82, 82, 0.7);
	padding: 10px;
*/}

/*** Forms and buttons ***/

input.DateBox,
input.InputBox,
input.SmallInput,
textarea{
	border: 1px solid #BBB;
	font-family: Tahoma,Arial,sans-serif,Verdana,"Lucida Grande","Bitstream Vera Sans";
}

input.SmallInput {
	font-size:13px;
}

form ul li {
	margin-bottom: 10px;
	padding: 0;
	color: #555;
	border: 0;
	overflow: hidden;
}

form ul li label{
	color: #222;
	float: left;
	display: block;
	width: 180px;
	font-size: 14px;
	line-height: 30px;
	font-weight:normal;
}

label.ForWide {
	float: none !important;
	width: auto !important;
}

form ul li label.RadioLabel{
	float: none;
	display: inline !important;
	padding-right: 8px;
}

form ul li label.CheckBoxLabel{
	float: none;
	width: auto;
}

.CheckBoxList li label.CheckBoxLabel {
	float: none;
}
form ul li label + input[type="checkbox"]{
	min-height:20px;
}

select, option {
	max-width: 100%;
}

form ul {
	list-style: none;
	padding-left: 0;
}

.SmallButton,
a.Button,
.Button {
	cursor: pointer;
	margin: 0;
	font-size: 11px;
	padding: 4px;
	background: #f8f8f8;
	background:-webkit-gradient(linear, center bottom, center top, from(#dddddd), to(#ffffff));
	background:-moz-linear-gradient(top, #ffffff, #dddddd);
	-pie-background:linear-gradient(top, #ffffff, #dddddd);
	background:linear-gradient(top, #ffffff, #dddddd);
	color: #02475A;
	text-shadow: 0 1px 0 #fff;
	border: 1px solid #999;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	box-shadow: 0px 0px 2px #999;
	-moz-box-shadow: 0px 0px 2px #999;
	-webkit-box-shadow: 0px 0px 2px #999;
	white-space: nowrap;
	text-decoration: none;
}

.Button{
	font-size: 12px;
	font-family: Tahoma,Arial,sans-serif,Verdana,"Lucida Grande","Bitstream Vera Sans";
	color: #555;
	border-radius:3px;
}
a.Button {
	display: inline-block;
	padding: 4px;
	line-height: 100%;
	margin: 3px auto;
}
.SmallButton {
	margin-right: 10px;
	padding: 4px;
	font-size: 11px;
	display: inline-block;
	text-align: center;
	line-height: 1;
}
.SmallButton:hover,
.Button:hover {
	box-shadow:0 0 2px #999999;
	-moz-box-shadow:0 0 2px #999999;
	-webkit-box-shadow:0 0 2px #999999;
}
.Button.Active,
.Button:active,
.SmallButton.Active,
.SmallButton:active {
	background: #D8D8D8;
	border-color: #000;
	color: #000;
	text-shadow: none;
}

.ButtonList .SmallButton {
	margin: 0;
	border-collapse: collapse;
	border-radius: 0;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-left-width: 0;
	min-width: 40px;
}

input.Button{
	font-size:13px;
}

input.SmallInput, input.InputBox, textarea.TextBox {
	padding: 6px 3px;
}

input.DateBox, input.InputBox, input.SmallInput, textarea {
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
}


#Form_User div.InputButtons{
	text-align: left;
	margin-top: 3px;
	margin-left: 150px;
}

/*** Messages ***/

div.Messages {
	text-align: center;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 200;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	font-size: 12px;
	display: block;
	width: 100%;
	font-family: 'lucida grande','Lucida Sans Unicode', tahoma, sans-serif;	
}
* html div.Messages {
  position: absolute;
  width: 100%;/*IE5.5*/
  top: 0;
  left: 0;
  overflow: visible; 
  top: expression(eval(document.compatMode && document.compatMode=='CSS1Compat') ? documentElement.scrollTop : document.body.scrollTop);
}

div.Messages ul {
	cursor: pointer;
	width: auto !important;
	border: 0 !important;
	margin: 0 auto !important;
	padding: 4px 8px !important;
	-moz-border-radius:2px;
	-webkit-border-radius:2px;
	border-radius:2px;
	background: #ff9 !important;
	display:-moz-inline-stack;
	display:inline-block;
	zoom:1;
	*display:inline;	
}
div.Messages ul li {
	text-align: left !important;
	border: 0 !important;
	color: #000 !important;
	padding: 0 !important;
	margin: 0 !important;
	list-style-position: outside;
	font-size: medium;
	font-family: Tahoma, Verdana, Arial;
}
div.Errors{
	position: static !important;
	margin-bottom:8px !important;
}

div.Errors a{
	color: #ffd;
}

div.Popup div.Errors {
	position: static !important;
	/*margin: 10px 0 !important;*/
}

div.Errors ul {
	background: #d50a0a !important;
}
div.Errors ul li {
	color: #fff !important;
}

.Warning {
	background: #ffc;
	border: 1px solid #ff9;
	color: #000;
	padding: 6px 8px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}
.Alert {
	background: #d00;
	border: 1px solid #b00;
	color: #fff;
	padding: 3px 6px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}
.Alert a {
	color: #fff;
}
.Alert a:hover {
	text-decoration: underline;
}
div.Info {
	font-size: 13px;
	background: #fafafa;
	border: 1px solid #eee;
	color: #888;
	-moz-border-radius: 4px;
	padding: 6px;
	margin: 0 0 10px;
}
div.EmptyInfo {
	margin: 10px 0;
}

div.InformMessages {
	text-align: left !important;
	position: fixed;
	top: 2px;
	bottom: auto;
	left: 20px;
	z-index: 200;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	font-size: 12px;
	display: block;
	width:100%;
}
* html div.InformMessages {
  position: absolute;
  top: auto;
  margin-left: 20px;
  overflow: visible; 
  bottom: expression(eval(document.compatMode && document.compatMode=='CSS1Compat') ? documentElement.scrollBottom : document.body.scrollBottom);
}
div.InformMessages div.InformWrapper {
	display: block;
	text-align:center !important;
}
div.InformMessages div.InformMessage {
	color: #000 !important;
	text-shadow:none;
	text-align: left !important;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	background: rgb(255, 255, 153) !important;
	background: rgba(255, 255, 153, 1.0) !important;
	border: 1px solid #ddd !important;
	width: auto !important;
	max-width: 400px !important;
	margin: 10px auto 0 !important;
	padding: 8px 15px !important;
	display:-moz-inline-stack;
	display:inline-block;
	zoom:1;
	*display:inline;
	position: relative;
	line-height: 1.6;
	font-weight: normal; 
	font-family: Tahoma, Verdana, Arial, sans-serif;
	font-size: 135%;
}

div.InformMessages div.InformMessage:hover {
	background: rgba(255, 255, 153, 1.0) !important;
}
div.InformMessages div.InformMessage a {
	color: #aff;
}
div.InformMessages div.InformMessage a:hover {
	color: #cff;
	text-decoration: underline;
}
div.InformMessages div.InformMessage strong {
	font-weight: bold;
}
div.InformMessages div.InformMessage a.Close {
	border: none;
	background: transparent;
	border-top-right-radius: 2px;
	-webkit-border-top-right-radius: 2px;
	-moz-border-radius-topright: 2px;
	color: #ddd;
	font-size: 14px;
	text-align: center;
	display: none;
	height: 12px;
	width: 12px;
	line-height: 1;
	text-decoration: none;
	position: absolute;
	top: 0px;
	right: 0px;
}
div.InformMessages div.InformMessage a.Close span {
	display: inline;
}
div.InformMessages div.InformMessage a.Close:hover {
	background: none;
	color: #000;
}
div.InformMessages div.InformMessage:hover a.Close {
	display: block;
}
div.InformMessages div.Actions a { margin-right: 4px; }
div.InformMessages div.Actions a:last-child { margin-right: 0; }
div.InformMessages div.Actions a.CancelAction {	color: #aaa; }

div.InformMessages div.InformWrapper.HasIcon div.InformMessage {
	padding-left: 42px !important;
	min-height: 20px;
}
div.InformMessages div.InformWrapper.HasSprite div.InformMessage {
	padding-left: 40px !important;
}
div.InformMessages div.InformMessage a.Icon {
	display: block;
	position: absolute;
	top: 5px;
	left: 5px;
	height: 28px;
	width: 28px;
}
div.InformMessages div.InformMessage a.Icon img {
	height: 28px;
	width: 28px;
}

/*** Popup ***/
div.Popup div.Errors ul {
	border: 1px solid #a00 !important;
}
div.Popup div.Messages {
	text-align: left;
	position: inherit;
	top: auto;
	left: auto;
	z-index: auto;
	margin: 10px 0 !important;
}
div.Popup div.Messages ul {
	display: block;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;

}
* html div.Popup div.Messages {
  position: inherit;
  width: auto;
  top: auto;
  left: auto;
  overflow: auto; 
}
div.Popup .Info {
	margin-top: 10px;
}
div.Popup .Loading {
	display: block;
}
div.Overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,.75);
  z-index: 20;
}
div.Popup {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 5000;
  text-align: center;
}
div.Popup div.Body {
	margin: 0 auto;
	text-align: left;
	position: relative;
	padding: 10px;
	background: #fff;
	max-width: 510px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	box-shadow: 0 0 10px #999;
	-moz-box-shadow: 0 0 10px #999;
	-webkit-box-shadow: 0 0 10px #999;
}
div.Popup div.Body div.Body {
	border: 0;
}

/* IE hack */
div.Popup div.Body {
	width: expression(document.body.clientWidth > 510? "510px": "auto");
	/*max-height: 510px;*/
}

div.Popup .Loading {
  text-align: center;
}
div.Popup h1, div.Popup h2 {
	font-size:120%;
	font-weight: bold;
	margin-bottom: 8px;
	color: #000;
	background: #fff;
	border: 0;
	text-shadow: none;
	padding: 6px 9px 4px;
}
div.Popup .Footer {
	border: 0;
	background: #fff;
	text-align: right;
	padding: 2px 6px 0 0;
}
div.Popup h3 {
	font-size: 120%;
	font-weight: bold;
	padding: 20px 0 10px;
}
div.Popup p {
	padding: 6px 10px 10px;
}
div.Popup div.Legal * {
	font-family: 'lucida grande','Lucida Sans Unicode', tahoma, sans-serif;
}
div.Popup div.Legal p {
	padding: 6px 0 10px;
}
div.Popup small {
	font-family: 'lucida grande','Lucida Sans Unicode', tahoma, sans-serif;
	font-size: 11px;
}
div.Popup a.Close {
	position: static;
	color: red;
	font-weight: normal;
}

div.Popup a.Close {
	background: url(/themes/marya2012/design/images/popup-btn-close.gif) right center no-repeat;
	font-size: .9em;
	line-height: 1.3em;
	padding-right: 28px;
	height: auto;
	text-decoration:none;
	color: #666;
}
div.Popup a.Close span {
	display: none;
}
div.Popup a.Close:hover { color: red; }

div.Popup form ul li label{
	margin-top: 1px;
	font-weight:normal;
}
div.Popup form ul li label.ForMultiLine{
	float:none;
}

div.Popup div.Info {
	border-width: 1px;
	border-color: #eee;
}

#Popup textarea.TextBox,
#Popup textarea.Autogrow {
	width: 99%;
	max-width:460px;
	padding-left: 0;
	padding-right: 0;
}
#Popup form ul li{
	overflow:hidden;
}

div#Popup div.Body > div.Content > .P {
	margin: 10px;
}




/*** Pager ***/

.MorePager {
	list-style: none;
	margin: 1px 0 0;
	padding: 3px 6px;
	text-align: right;
	background: #e9f9ff;
}
.MorePager a {
	font-size: 13px;
	font-weight: bold;
	text-align: right;
}
.MorePager a:hover {
	color: #2786c2 !important;
	text-decoration: underline;
}
#PagerLess {
	-moz-border-radius-topright: 2px;
	-moz-border-radius-topleft: 2px;
	-webkit-border-top-right-radius: 2px;
	-webkit-border-top-left-radius: 2px;
	margin-bottom: 1px;
}
tr#PagerMore td {
	border: 0;
	text-align: right;
}
#PagerMore {
	margin-bottom: 1px;
}
.NumberedPager {
	margin: 1px 0 0;
	text-align: right;
	font-weight: bold;
	font-size: 16px;
}
#PagerBefore {
	margin: 1px 0;
}
.NumberedPager a,
.NumberedPager span {
	padding: 0 4px;
}
.NumberedPager span,
.NumberedPager a.Highlight {
	color: #777;
}
.NumberedPager a.Next,
.NumberedPager span.Next,
.NumberedPager a.Previous,
.NumberedPager span.Previous {
	font-family: 'lucida grande','Lucida Sans Unicode', tahoma, sans-serif;
	font-size: 16px;
	line-height: 10px;
}
.NumberedPager a.Next,
.NumberedPager span.Next {
	margin-left: 6px;
}
.NumberedPager a.Previous,
.NumberedPager span.Previous {
	margin-right: 6px;
}

/*** Entry page ***/

#Form_User_SignIn li.CreateAccount {
	display: none;
}

#Form_User_SignIn .InputBox,
#Form_User_Password .InputBox {
	width: auto;
}

#Form_User_SignIn label,
#Form_User_Password label {
	width: auto;
	float: none;
	font-weight: normal;
}

#Form_User_Password .ForgotPassword {
	display: block;
	margin: 0.5em 0 0;
}


/*** Unknown ***/
body.Profile #Form_Invitation ul li label,
body.Profile #Form_User ul li label,
div.Popup form ul li label {
	color:#000;
	display:block;
	font-size:14px;
	font-weight:bold;
	
}
body.Entry form ul li.Gender label.RadioLabel,
body.Profile #Form_User ul li.Gender label.RadioLabel,
div.Popup form ul li.Gender label.RadioLabel {
	display: inline;
	padding-right: 20px;
}
li.Gender {
	margin-bottom: 10px;
}
body.Profile #Form_User ul li label.RadioLabel,
body.Profile #Form_User ul li label.CheckBoxLabel,
div.Popup form ul li label.RadioLabel,
div.Popup form ul li label.CheckBoxLabel {
	font-weight: normal;
}
div.Profile #Form_User input.Button,
div.Popup input.Button {
	margin: 4px 0 2px;
}
body.Entry div.Popup p {
	color: #000;
}
div.Popup #Form_User div.Warning,
#dashboard_profile_picture #Form_User div.Warning {
	margin: 6px 0;
}
div.SignInPopup div.Body {
	max-width: 320px;
}
div.SignInPopup .Content form {
	padding: 0 20px 10px;
}
div.SignInPopup div.Box {
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
}
div.Popup.SignInPopup .Body .Body {
	display: none;
}

/*form#Form_User li.Gender {display: none;}*/

#dashboard_profile_index form ul li label{
	float: none;
}

/* 02.11.2012 by Dyuha */
.FeedbackChoice ul { padding-bottom: 0; }

/* 06.11.2012 by Dyuha */
.popup .jcarousel-item .img:before, .popup .jcarousel-item .img:after { display: none; }