html {
    width: 100%;
    height: 100%;
}

body { /*font-family: Times New Roman, Times, serif;*/
	font-family: sans-serif, tahoma, verdana, arial,  Lucida Sans;
	font-size: 10pt;
	margin: 7px;
	color: #5b5844;
}

#mask {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    display: none;
    z-index: 10;
    background-image: url('/templates/images/mask_bg.png');
}

#mask_wrapper {
    width: 900px;
    position: absolute;
    left: 50%;
    margin-left: -450px;
    top: 50%;
    margin-top: -10px;
}

#mask_header {
    border: 1px solid #ccc; 
    padding: 5px;
    background-color: #fff;
    height: 16px;
    background-color: #005A3F;
    color: white;
}

#mask_content {
    border: 1px solid #ccc; 
    padding: 5px;
    background-color: #fff;
}

#mask_caption {
    float: left;
    width: 850px;
}

#mask_close {
    float: right;
    width: 16px;
}

.catalog a {
	text-decoration: none;
	color: #333333;
}

.catalog a:hover {
	color: red;
	text-decoration: underline;
}

.catalog h1 a {
	text-decoration: none;
	color: #1F6462;
}

a {
	text-decoration: underline;
	color: #333333;
}


a:hover {
	color: red;
	text-decoration: none;
}

table td {
	border-color: #DDDDDD;
}

UL {
	margin-left: 15px;
	margin-top: 0;
	margin-bottom: 0;
}



h1 {
	font-size: 125%;
	font-weight: bold;
	color: #1F6462;
	margin-top: 0px;
	margin-bottom: 0px;
}

h2 {
	TEXT-DECORATION: none;
	font-weight: normal;
	font-size: 110%;
	color: #1F6462;
	margin-top: 0px;
	margin-bottom: 5px;
	marker-offset: 10px;
	text-indent: -10px;
	margin-left: 10px;
}

p {
	margin-top: 2px;
	margin-bottom: 2px;
}

div {
	margin-top: 0px;
	margin-bottom: 0px;
}

.table_profile {
	background-color: #F3FEEA;
}

.leftimg {
	float: left; /* Выравнивание по левому краю */
	margin: 0 7px 0 0; /* Отступы вокруг картинки */
}

.rightimg {
	float: right; /* Выравнивание по правому краю  */
	margin: 7px 0 7px 7px; /* Отступы вокруг картинки */
}

.t_menu {
	padding-left: 10px;
}

/* элементы закругления */
.inner-box {
	padding: 0em 1em;
}

.r1,.r2,.r3,.r4,.r5,.r6,.r7,.r8,.r9,.r10 {
	display: block;
	height: 1px;
	overflow: hidden;
	font-size: 1px;
}

.r10 {
	margin: 0 10px;
}

.r9 {
	margin: 0 9px;
}

.r8 {
	margin: 0 8px;
}

.r7 {
	margin: 0 7px;
}

.r6 {
	margin: 0 6px;
}

.r5 {
	margin: 0 5px;
}

.r4 {
	margin: 0 4px;
}

.r3 {
	margin: 0 3px;
}

.r2 {
	margin: 0 2px;
}

.r1 {
	margin: 0 1px;
}

/*

возможные комбинации

r3 r1 r1 вверху
r1 r1 r3 внизу

r5 r3 r2 r1 r1 вверху
r1 r1 r2 r3 r5 внизу

r10 r7 r5 r4 r3 r2 r2 r1 r1 r1 вверху
r1 r1 r1 r2 r2 r3 r4 r5 r7 r10 внизу

*/
.posts .inner-box,.posts b {
	background-color: #f3f7ea;
}

.td_L_Top_R {
	border-top: 1px solid;
	border-left: 1px solid;
	border-bottom: 0px none;
	border-right: 1px solid;
	border-color: #AAAAAA;
}

.td_Bottom {
	border-top: 0px none;
	border-left: 0px none;
	border-bottom: 1px solid;
	border-right: 0px none;
	border-color: #AAAAAA;
}

.td_L_Bottom_R {
	border-top: 0px none;
	border-left: 1px solid;
	border-bottom: 1px solid;
	border-right: 1px solid;
	border-color: #AAAAAA;
}

.td_Top_R {
	border-top: 1px solid;
	border-left: 0px none;
	border-bottom: 0px none;
	border-right: 1px solid;
	border-color: #AAAAAA;
}

.td_Top_L {
	border-top: 1px solid;
	border-left: 1px solid;
	border-bottom: 0px none;
	border-right: 0px none;
	border-color: #AAAAAA;
}

.td_Bottom_R {
	border-top: 0px none;
	border-left: 0px none;
	border-bottom: 1px solid;
	border-right: 1px solid;
	border-color: #AAAAAA;
}

.td_R {
	border-top: 0px none;
	border-left: 0px none;
	border-bottom: 0px none;
	border-right: 1px solid;
	border-color: #AAAAAA;
}

.td_L_Bottom {
	border-top: 0px none;
	border-left: 1px solid;
	border-bottom: 1px solid;
	border-right: 0px none;
	border-color: #AAAAAA;
}

.td_L_Bottom_Top {
	border-top: 1px solid;
	border-left: 1px solid;
	border-bottom: 1px solid;
	border-right: 0px none;
	border-color: #AAAAAA;
}

.td_L_R {
	border-top: 0px none;
	border-left: 1px solid;
	border-bottom: 0px none;
	border-right: 1px solid;
	border-color: #AAAAAA;
}

.td_R_Bottom_Top {
	border-top: 1px solid;
	border-left: 0px none;
	border-bottom: 1px solid;
	border-right: 1px solid;
	border-color: #AAAAAA;
}

.td_Bottom_Top {
	border-top: 1px solid;
	border-left: 0px none;
	border-bottom: 1px solid;
	border-right: 0px none;
	border-color: #AAAAAA;
}

.td_Top {
	border-top: 1px solid;
	border-left: 0px none;
	border-bottom: 0px none;
	border-right: 0px none;
	border-color: #AAAAAA;
}

.td_All {
	border: 1px solid;
	border-color: #AAAAAA;
}

.input-file {
	width: auto; /* you can change the width*/
	position: relative;
	margin: 0 0 0 0;
	zoom: 1; /*clear float*/
	overflow: hidden; /*clear float*/
}

.input-file label:hover {
	color: red;
	cursor: pointer;
}

.input-file label span {
	display: none;
}

.input-file label input {
	display: block;
	width: 100%;
}

html.js .input-file label {
	background-image: url(/templates/images/bglight.jpg);
	background-color: #E6EEDB;
	float: right;
	white-space: nowrap;
	position: relative;
	z-index: 1;
	margin-bottom: 0px;
	margin-top: 0px;
	overflow: hidden;
	border-top: solid 2px #eee;
	border-left: solid 2px #eee;
	border-bottom: solid 2px #777;
	border-right: solid 2px #777;
	padding: 0.25em 20px 0.2em 14px;
	display: inline;
	-webkit-border-top-right-radius: 8px;
	-webkit-border-bottom-right-radius: 8px;
}

html.js .input-file label:ACTIVE {
	border-top: solid 2px #777;
	border-left: solid 2px #777;
	border-bottom: solid 2px #eee;
	border-right: solid 2px #eee;
}

html.js .input-file-no-path label {
	float: left;
}

html.js .input-file label span {
	display: inline;
}

html.js .input-file label input {
	width: auto;
	position: absolute;
	right: 0;
	top: 0;
	border: none;
	font-size: 5em;
	line-height: 12px;
	opacity: 0;
	zoom: 1;
	filter: alpha(opacity=0);
	cursor: pointer;
}

.input-file var {
	display: none;
	background: #FFFFFF
		url(http://us.i1.yimg.com/us.yimg.com/i/ww/t4/sbox-bg.gif) 0 0
		no-repeat;
	position: relative;
	overflow: hidden;
	border: solid 1px #ccc;
	padding: 0.25em 0.6em 0.2em 0.6em;
	border-color: #888 #ccc #ccc #888;
	zoom: 1;
	_right: -3px; /*eliminate gap for IE*/ /*visual candies*/
	-webkit-border-top-left-radius: 2px;
	-webkit-border-bottom-left-radius: 2px;
}

html.js .input-file var {
	display: block;
}

.input-file-no-path label {
	-webkit-border-radius: 2px;
}

.input-file var input {
	display: block;
	width: 100%;
	position: absolute;
	padding: 0;
	border: none;
	background: transparent;
	font-size: 100%;
	color: #000;
	font-style: italic;
	top: 0;
	left: 0;
	padding: 0.25em 0.6em 0.2em 0.6em;
	height: 100%;
}

.input-file var input:focus {
	outline: none;
}

.ds_box {
	background-color: #FFF;
	border: 1px solid #000;
	position: absolute;
	z-index: 32767;
}

.ds_tbl {
	background-color: #FFF;
}

.ds_head {
	background-color: #333;
	color: #FFF;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: bold;
	text-align: center;
	letter-spacing: 2px;
}

.ds_subhead {
	background-color: #CCC;
	color: #000;
	font-size: 12px;
	font-weight: bold;
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	width: 32px;
}

.ds_cell {
	background-color: #EEE;
	color: #000;
	font-size: 13px;
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	padding: 5px;
	cursor: pointer;
}

.ds_cell:hover {
	background-color: #F3F3F3;
}  /* This hover code won't work for IE */
#mainContainer {
	width: 660px;
	margin: 0 auto;
	text-align: left;
	height: 100%;
	background-color: #FFF;
	border-left: 3px double #000;
	border-right: 3px double #000;
}

#formContent {
	padding: 5px;
}

/* END CSS ONLY NEEDED IN DEMO */ /* Big box with list of options */
#ajax_listOfOptions {
	position: absolute; /* Never change this one */
	width: 400px; /* Width of box */
	height: 250px; /* Height of box */
	overflow: auto; /* Scrolling features */
	border: 1px solid #317082; /* Dark green border */
	background-color: #FFF; /* White background color */
	text-align: left;
	font-size: 0.9em;
	z-index: 100;
}

#ajax_listOfOptions div {
	/* General rule for both .optionDiv and .optionDivSelected */
	margin: 1px;
	padding: 1px;
	cursor: pointer;
	font-size: 0.9em;
}

#ajax_listOfOptions .optionDiv { /* Div for each item in list */

}

#ajax_listOfOptions .optionDivSelected { /* Selected item in the list */
	/*	background-color: #317082;*/
	background-color: #D1E0C1;
	/*	color: #FFF;*/
	color: #000;
}

#ajax_listOfOptions_iframe {
	background-color: #F00;
	position: absolute;
	z-index: 5;
}

form {
	display: inline;
}

/*404 page*/

#wrapper_404 {
width: 500px;
margin: 0 auto;
background-image: url(../images/404error.gif);
background-repeat: no-repeat;
background-position:center;
}

#bubble_region {
    width: 210px;
    border: 1px solid black;
    display: none;
}

.region_elm {
    margin-bottom: 1px;
    background-color: #E6EEDB;
    cursor: pointer;
}

.region_elm:hover {
    background-color: #CCC;
}

#bubble_city {
    width: 210px;
    border: 1px solid black;
    display: none;
}

.city_elm {
    margin-bottom: 1px;
    background-color: #E6EEDB;
    cursor: pointer;
}

.city_elm:hover {
    background-color: #CCC;
}

#regionHome {
    background-color: #F3F7EA;
    width: 184px;
    border: 1px dashed #AAAAAA;
    padding: 5px;
}

#company-region-text {
	margin-bottom: 20px;
	text-align: justify;
}

#def_region {
color: #000000;
font-weight: bold;
text-decoration: underline;
}

.company_comment {
padding:  5px;
background-color: #fafafa;
border: #CCC 1px solid;
margin-bottom:  10px;
}

#recForums_title {
height: 38px;
background-color:  #daf3eb;
border-bottom: 1px solid #AAAAAA;
margin-top:  5px;
padding-top: 5px; 
padding-left: 5px;
}

#recForums {
margin: 0px;
padding: 0px;
padding-left: 5px;
padding-right: 5px;
font-size: 11px;
text-align: justify;
word-break: break-all;
}

#recForums a{
color: #1f6462;
font-size: 13px;
text-align: left;
}

#newComps_title {
height: 23px;
background-color:  #f3dada;
border-bottom: 1px solid #AAAAAA;
margin-top:  5px;
padding-top: 5px;
padding-left: 5px;
}

#newComps {
padding-left: 5px;
padding-right: 5px;
word-break: break-all;
text-align: justify;
}


#newComps a{
color: #1f6462;
}

#AdsBlock_title {
height: 23px;
color: #EEE;
background-color: #c1b6f3;
border-bottom: 1px solid #AAAAAA;
margin-top:  5px;
padding-top: 5px;
padding-left: 5px;
}

#AdsBlock {
    padding-top: 5px;
    padding-bottom: 5px;
}

#newProds_title {
height: 23px;
background-color:  #dedaf3;
border-bottom: 1px solid #AAAAAA;
margin-top:  5px;
padding-top: 5px;
padding-left: 5px;
}

#newProds {
padding-left: 5px; 
padding-right: 5px;
word-break: break-all;
text-align: justify;
}

#newProds a{
color: #1f6462;
}

#newBills_title {
height: 23px;
background-color:  #e2f3da;
border-bottom: 1px solid #AAAAAA;
margin-top:  5px;
padding-top: 5px;
padding-left: 5px;
}

#newBills {
padding-left: 5px;    
word-break: break-all;
text-align: justify;
padding-right: 5px;
}

#newBills a{
color: #1f6462;
}

.clear {
clear: both;
float: none;
}

.left_col_items {
padding-bottom: 5px; 
padding-top: 10px; 
border-bottom: 1px solid #D1E0C1;
}

.SelectedTab {
    border: 1px solid #ccc;
    background-color: #F2F2DA;
    border-bottom: none;
    padding-bottom: 1px;
    text-align: center;
    cursor: pointer;
}

.Tab {
    border: 1px solid #ccc;
    text-align: center;
    cursor: pointer;
    background-color: #fff;
}

.Tab_spacer {
    border-bottom: 1px solid #ccc;
}

#TabPages {
    background-color: #F2F2DA;
    border: 1px solid #ccc;
    border-top: none;
}

#ajax_chng_fio {
    padding: 5px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    display: none;
}

#ajax_chng_birthday {
    padding: 5px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    display: none;  
}

.yashare-auto-init {
    margin-left: -6px;
}