﻿body {
	background-color:#f90;
	background-image:url("../img/decor/bg.gif");
	background-position:100% 0%;
}
select.input,
textarea.input,
input.input {
	width:100%;
	border:1px solid #ccc;
}
input.captcha {
	width:5em !important;
}
.error {
	color:red;
}
.checkbox {
	vertical-align:middle;
}

.transparent {
	-moz-opacity: .70;
	filter:alpha(opacity:70);
	opacity:0.70;
}

.thumb_disfixed {
	width:90px;
	height:85px;

	float:right;
	position:relative;
	top:-20px;

}
.thumb_disfixed .picture {
	border-left:1px solid #efefef;
	border-right:1px solid #efefef;
	border-bottom:1px solid #cfcfcf;
	padding:5px;
	text-align:center;
	vertical-align:middle;
	background:#fff;
	width:85px;
}

.maintable {
	height:100%;
}
.header {
	height:130px;
}
.mainmenu {
	padding:5px 0;
	height:70px;
}
.body {
	height:100%;
	vertical-align:top;
}
.body td { vertical-align:top; }
.footer {
	padding:5px 0;
	height:80px;
	color:#fff;
}

/* header */
.headertable .side{
	width:10px;
	vertical-align:bottom;
}
.headertable .logo {
	width:34%;
	background-color:#fff;
	background-image:url("../img/decor/header_bg.gif");
	background-repeat:repeat-x;
	background-position:bottom;
	text-align:center;
	vertical-align:top;
	padding-top:10px;
}

/* mainmenu */
.mm_border {
	height:60px;
}
.mm_central {
	width:100%;
	height:100%;
	background:#fff;
}
.mm_tl { background:url("../img/decor/menu_tl.gif") #fff repeat-x 0% 0%}
.mm_ll { background:url("../img/decor/menu_ll.gif") #fff repeat-y 0% 0%}
.mm_rl { background:url("../img/decor/menu_rl.gif") #fff repeat-y 100% 0%}
.mm_bl { background:url("../img/decor/menu_bl.gif") #fff repeat-x 100% 100%}
.mm_item {
	padding:0 2px;
        text-align:center;
        font-family: Trebuchet MS;
        font-size: 15px;
        font-weight:bold;
        letter-spacing: -0.05em;
}
.mm_item img {
	margin-right:4px;
	vertical-align:middle;
}
.mm_item a,
.mm_item a:link,
.mm_item a:visited {
	color:#f60;
	text-decoration:none;
}
.mm_item a.cur,
.mm_item a.cur:link,
.mm_item a.cur:visited,
.mm_item a:hover {
	text-decoration:none;
	color:#f00;
}
.mm_item a.cur u,
.mm_item a:hover u{
	text-decoration:none;
	white-space:nowrap;
}

/* body */
.body_border {
	height:100%;
}
.body_central {
	height:100%;
	width:100%;
	background-color:#f90;
}
.body_tl { background:url("../img/decor/body_border.gif") #f90 repeat-x 0% 0%; }
.body_ll { background:url("../img/decor/body_border.gif") #f90 repeat-y 0% 0%; }
.body_rl { background:url("../img/decor/body_border.gif") #f90 repeat-y 100% 0%; }
.body_bl { background:url("../img/decor/body_border.gif") #f90 repeat-x 0% 100%; }

/*—————— баннеры ——————*/
.b1 {
	width:66%;
	background-color:#fff;
	background-image:url("../img/decor/header_bg.gif");
	background-repeat:repeat-x;
	background-position:bottom;
	text-align:center;
}
/* верхний */
.b1_table {
	width:auto;
	float:center;
	height:90px;
}
.b1_text {
	background-color:#ff9900;
	background-image:url("../img/decor/header_r_bg.gif");
	background-repeat:repeat-x;
	background-position:bottom;
	text-align:center;
	width:34px;
	height:90px;
	border:1px solid #fff;
	border-top:0px;
	padding:2px;
}
/* боковой на странице  */
.b2 {
	width:240px;
	//width:auto;
	margin-bottom:5px;
	background:#8c9ca2;
}
.b2 td { text-align:center; }
.b2_text div {
	border-top:1px solid #fff;
	border-left:1px solid #fff;
	border-right:1px solid #fff;
	padding:2px;
	text-align:center;
	color:#fff;
}
.b2_text a,
.b2_text a:link,
.b2_text a:visited {
	color:#fff;
}
/* контекстный вне контента */
.b3 {
	background-color:#fff;
	padding:18px 14px;
	//width:100%;
	margin-top:5px;
}
/* боковой на главной */
.b4 {
	//width:100%;
    margin-bottom:5px;
    background:#8c9ca2;
}
.b4 {
	border:1px solid #fff;
}
.b4 td { text-align:center; }
.b4_text {
	padding:2px;
	text-align:center;
	color:#fff;
}
.b4_text a,
.b4_text a:link,
.b4_text a:visited {
	color:#fff;
}
.b4_body {
	padding:0 2px 2px 2px;
	text-align:center;
	color:#fff;
}
/* контекстный в контенте */
.b5 {
	background-color:#fff;
	padding:18px 0;
	//width:100%;
	border-top:1px solid #ff9900;
	border-bottom:1px solid #ff9900;
}

/*—————— блоки ——————*/
.block  {
	border:1px solid #fff;
	background-color:#fff;
	margin-bottom:5px;
}
.content .block {
	/* если блок в содержимом страницы */
	margin-bottom:0;
}
.block  .blockcaption {
	height:29px;
	vertical-align:middle;
	font-size:18pt;
	color:#fff;
	//width:100%;
}
.block  .blockcaption div {
	padding:3px 10px 0 10px;
	height:100%;
}
.block  .blockcaption table {
	height:100%;
}
.block  .blockcaption td {
	padding:0 7px 0 10px;
	font-size:14pt;
	vertical-align:middle;
	white-space:nowrap;
	color:#fff;
}
.block  .blockcaption a,
.block  .blockcaption a:link,
.block  .blockcaption a:visited {
	color:#fff;
	text-decoration:none;
}
.block  .blockcaption a:hover {
	color:#fff;
	text-decoration:underline;
}
.block  .blockcaption .rightlink {
	text-align:right;
	font-size:70%;
}
.block  .blockcaption .rightlink a,
.block  .blockcaption .rightlink a:link,
.block  .blockcaption .rightlink a:visited {
	text-decoration:underline;
}
.block  .blockcaption .rightlink a:hover {
	text-decoration:none;
}
.block  .blockbody {
	padding:6px 8px;
	//width:100%;
}
.caption_orange { background:url("../img/captions/orange_bg1.gif") #ff5600 repeat-x 0% 0%; }
.caption_orange  table { background:url("../img/captions/orange_bg2.gif") no-repeat 0% 0%; }
.caption_blue { background:url("../img/captions/blue_bg1.gif") #0051c2 repeat-x 0% 0%; }
.caption_blue  table { background:url("../img/captions/blue_bg2.gif") no-repeat 0% 0%; }
.caption_red { background:url("../img/captions/red_bg1.gif") #ff0000 repeat-x 0% 0%; }
.caption_red  table { background:url("../img/captions/red_bg2.gif") no-repeat 0% 0%; }
.caption_green { background:url("../img/captions/green_bg1.gif") #298600 repeat-x 0% 0%; }
.caption_green  table { background:url("../img/captions/green_bg2.gif") no-repeat 0% 0%; }
.caption_violet { background:url("../img/captions/violet_bg1.gif") #5000c1 repeat-x 0% 0%; }
.caption_violet  table { background:url("../img/captions/violet_bg2.gif") no-repeat 0% 0%; }

/* auth */
.authblock {
	width:100%;
}
.authblock div.label {
	font-weight:bold;
	padding:3px 0 0 0;
}
.authblock div.input {
	margin:3px 0;
}
.authblock .input input {
	width:100%;
	border:1px solid #ccc;
	font-size:140%;
}
.authblock  .singin {
	text-align:center;
	margin:10px 0;
	font-size:140%;
}
.authblock  .singin a,
.authblock  .singin a:link,
.authblock  .singin a:visited {
	color:#ff6600;
}
.authblock .remember {
	padding-left:2px;
}
.authblock .remember div {
	text-indent:-20px;
	padding-left:20px;
}
.authblock .registerlink {
	color:#ff6600;
	cursor:pointer;
	cursor:hand;
	text-decoration:underline;
}

/* entertanmentitem */
.entertainmentitem {
	padding-left:27px;
	text-indent:-27px;
	margin:0.8em 0;
	font-size:130%;
}
.entertainmentitem .li {
	width:18px;
	height:18px;
	margin-right:9px;
	vertical-align:middle;
}

/* compnies */
.companiesitem {
	padding-left:25px;
	text-indent:-25px;
	margin:0.8em 0;
	font-size:130%;
}
.companiesitem .li,
.companiesitem .li2 {
	width:18px;
	height:18px;
	margin-right:7px;
	vertical-align:middle;
}
.companiesblock2 {
	padding:4px 8px 50px 8px;
}
.companiesitem2 {
	margin:2px 0;
	padding:3px 5px 3px 21px;
	text-indent:-21px;
	font-size:115%;
}
.companiesitem2_cur {
	margin:2px 0;
	padding:3px 5px 3px 26px;
	text-indent:-21px;
	position:relative;
	left:-5px;
	font-size:115%;
	background:#fff5e5;
	color:#ff6600;
}
.companiesitem2_cur a,
.companiesitem2_cur a:link,
.companiesitem2_cur a:visited {
	color:#ff6600;
	text-decoration:none;
}
.companiesitem2_cur .li,
.companiesitem2 .li,
.companiesitem2_cur .li2,
.companiesitem2 .li2 {
	width:15px;
	height:15px;
	margin-right:6px;
	vertical-align:middle;
}

/* whatsnew */
.whatsnewitem {
	clear:both;
	padding:5px 0;
	color:#666;
	float:left;
	width:100%;
	margin:5px 0;
}
.whatsnewitem .thumb {
	float:left;
	margin:0 11px 2px 0;
}
.whatsnewitem .date{
	font-size:90%;
	color:#666;
}
.whatsnewitem .title {
	font-size:130%;
}

.nonstandartblock {
	background:#fff;
	padding:18px;
	//width:100%;
}

.nonstandartitem {
	margin:0 0 10px 0;
}
.nonstandartitem .title {
	margin:0 0 0.4em 0;
	font-size:140%;
}

/* submenu */
.submenu {
	padding:11px 4px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	background:url('../img/decor/stars_violet.jpg') #fff repeat-x 100% 100%;
	//width:100%;
	margin-bottom:5px;
}
.submenuitem {
	margin:4px 0;
	height:28px;
}
.submenuitem .li {
	vertical-align:middle; 
	margin-right:10px;
}
.submenuitem td {
	vertical-align:middle;
	padding:0 8px;
	background-position:right;
	background-repeat:repeat-x;
	font-size:105%;
}
.submenuitem.cur td { background-color:#fff5e5 }
.submenuitem.cur1 td { background-image:url('../img/decor/strars_cur1_bg.jpg'); }
.submenuitem.cur2 td { background-image:url('../img/decor/strars_cur2_bg.jpg'); }
.submenuitem.cur3 td { background-image:url('../img/decor/strars_cur3_bg.jpg'); }

.submenuitem.cur td a,
.submenuitem.cur td a:link,
.submenuitem.cur td a:visited,
.submenuitem.cur1 td a,
.submenuitem.cur1 td a:link,
.submenuitem.cur1 td a:visited,
.submenuitem.cur2 td a,
.submenuitem.cur2 td a:link,
.submenuitem.cur2 td a:visited,
.submenuitem.cur3 td a,
.submenuitem.cur3 td a:link,
.submenuitem.cur3 td a:visited {
	color:#ff6600;
	text-decoration:none;
}

.pagesidecolumn {
	width:240px;
}
.pagesidecolumn .block,
.pagesidecolumn .submenu {
	width:240px;
}

.forms .label {
	width:30%;
	padding:5px 5px 5px 0;
	color:#666;
}
.forms .inputs {
	width:70%;
	padding:5px 0 5px 0;
}
.forms .hint{
	padding:5px 0 5px 0;
}
.forms .hintbefore {
	padding:5px 0 0 0;
}
.forms .hintafter {
	padding:0 0 5px 0;
}
.forms  input,
.forms  select {
	vertical-align:middle;
}
.forms input[disabled].input{
	background-color:#e2e2e2;
}
.forms input.input {
    background-color: expression( (this.type=="text" && this.disabled==true) ? "#e2e2e2" : "" );
}
.forms {}


/* pop */
.pop {
	border:2px solid #c97900;
	position:absolute;
	margin:0;
	padding:0;
}
.pop .close {
	text-decoration:underline;
	cursor:pointer;
	cursor:hand;
}
.pop .close img {
	margin-left:5px;
	vertical-align:middle;
}
#pop_register { width:400px; }
#pop_register .blockcaption { width:400px; }
#pop_register_user { width:400px;}
#pop_register_user.blockcaption { width:400px; }
#pop_register_contractor { width:400px; }
#pop_register_contractor .blockcaption { width:400px;  }
#pop_register_contractor #contractorform { width:380px;  }
#pop_addinfo { width:700px; }
#pop_addinfo  .blockcaption { width:700px; }
#pop_addinforules { width:400px; //width:70%; }
#pop_addinforules  .blockcaption { width:400px; }

.linkslist {
	list-style-type:square;
	margin-top:0.5em;
}
.linkslist li {
	margin:0.5em 0;
}
