/* reset */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote {
	margin:0; 
	padding:0;
}

fieldset,img {  
	border:0; 
} 

option {
	padding-left: 0.4em;
}

html {
	height: 100%;
	margin-bottom: 1px;
}
	
body { 
	position: relative; 
} 
	
/* page setup */
body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 150%;
	color: #050505;
}

body#page {
	background: #ffffff;
}

body.font-small {
	font-size: 11px;
}

body.font-medium {
	font-size: 12px;
}

body.font-large {
	font-size: 13px;
}

body.width-thin div#wrapper {
	width: 780px;
}

body.width-wide div#wrapper {
	width: 900px;
}

body.width-fluid div#wrapper {
	width: 90%;
}

div#dogear {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 135px;
	height: 135px;
	z-index: 10;
}

div#dogear img {
	width: 135px;
	height: 135px;
}

div#toppanel {
	position: absolute;
	top: -294px;
	left: 0px;
	width: 100%;
	height: 300px;
	background: #d7d7d7 url(../images/toppanel_bg.png) 0 100% repeat-x;
	z-index: 4;
}

div#toppanel .panel {
	margin: auto;
	width: 600px;
	height: 280px;
	padding: 0px 0px 0px 0px;
	overflow: hidden;
}

div#toppanel .close {
	width: 50px;
	height: 15px;
	margin: 3px;
	padding: 0px 0px 0px 0px;
	border: 1px solid #9b9b9b;
	background: #e1e1e1;
	float: right;
	overflow: hidden;
	text-align: center;
	font-size: 85%;
	line-height: 150%;
	color: #000000;
	cursor: pointer;
}

div#toppanel .cpanel {
	clear: both;
}

div#toppanel .trigger {
	position: absolute;
	bottom: -17px;
	right: 50%;
	width: 100px;
	cursor: pointer;
}

div#toppanel .trigger img {
	width: 20px;
	height: 17px;
	border: 0px;
}

div#toppanel .trigger-l, div#toppanel .trigger-r {
	float: left;
}

div#toppanel .trigger-m {
	width: 60px;
	height: 17px;
	background: url(../images/toppanel_trigger_m.png) 100% 0 repeat-x;
	float: left;
	text-align: center;
	font-size: 85%;
	line-height: 150%;
	overflow: hidden;
}

/* layout */
div#wrapper {
	margin: auto;
	overflow: hidden;
}

div#header {
	position: relative;
	height: 120px;
	background: url(../images/header_m.png) 0 0 repeat-x; 
}

div#header .header-l {
	/* background: url(../images/header_l.png) 0 0 no-repeat; */
}

div#header .header-r {
/*	height: 120px;
	background: url(../images/header_r.png) 100% 0 no-repeat; */
}

div#styleswitcher {
	position: absolute;
	top: 12px;
	right: 15px;
	width: 110px;
	height: 20px;
}

div#mycontacts {
	position: absolute;
	top: 12px;
	left : 430px;
	width: 300px;
	height: 30px;
	font-size: 250%;
	color:#5a728d;
	font-weight:bold;
}


div#styleswitcher a {
	width: 15px;
	height: 20px;
	float: right;
	text-decoration: none;
	display: block;
}

a#switchfontsmall {
	background: url(../images/styleswitcher_fontsmall.png) 0 0 no-repeat;
}

a:hover#switchfontsmall {
	background: url(../images/styleswitcher_fontsmall_hover.png) 0 0 no-repeat;
}

a#switchfontmedium {
	background: url(../images/styleswitcher_fontmedium.png) 0 0 no-repeat;
}

a:hover#switchfontmedium {
	background: url(../images/styleswitcher_fontmedium_hover.png) 0 0 no-repeat;
}

a#switchfontlarge {
	background: url(../images/styleswitcher_fontlarge.png) 0 0 no-repeat;
}

a:hover#switchfontlarge {
	background: url(../images/styleswitcher_fontlarge_hover.png) 0 0 no-repeat;
}

a#switchwidththin {
	background: url(../images/styleswitcher_widththin.png) 0 0 no-repeat;
}

a:hover#switchwidththin {
	background: url(../images/styleswitcher_widththin_hover.png) 0 0 no-repeat;
}

a#switchwidthwide {
	background: url(../images/styleswitcher_widthwide.png) 0 0 no-repeat;
}

a:hover#switchwidthwide {
	background: url(../images/styleswitcher_widthwide_hover.png) 0 0 no-repeat;
}

a#switchwidthfluid {
	background: url(../images/styleswitcher_widthfluid.png) 0 0 no-repeat;
}

a:hover#switchwidthfluid {
	background: url(../images/styleswitcher_widthfluid_hover.png) 0 0 no-repeat;
}

div#styleswitcher span.spacer {
	float: left;
	width: 20px;
	height: 15px;
	display: block;
}

span#logo, img#logo { /* logotip masterskaya svetotehniki */
	width: 393px;
	height: 95px;
	position: absolute;
	top: 8px;
	left: 5px;
	border: 0;
}

div#logotext { /* text logotipa krivonosov petr svetotehnik... */
	position: absolute;
	top: 100px;
	left: 0px;
	font-size: 95%;
	color: #7d7d7d;
}

div#banner {
	position: absolute;
	top: 35px;
	right: 15px;
}

img#bannertext {
	width: 75px;
	height: 7px;
	border: 0;
}


div#menu {
	width: auto;
	margin: 10px 0px 0px 0px;
	clear: both;
	background: url(../images/menu_m.png) 0 0 repeat-x;
}

div#menu .menu-l {
	background: url(../images/menu_m.png) 0 0 no-repeat;
}

div#menu .menu-r {
	height: 141px; 
	background: url(../images/menu_m.png) 0 0 no-repeat;
}

#top {
	width: auto;
	margin: 10px 0px 0px 0px;
	clear: both;
	background: url(../images/top_t.png) 0 0 repeat;
}

div#top .top-tl {
	background: url(../images/top_tl.png) 0 0 no-repeat;
}

div#top .top-tr {
	background: url(../images/top_tr.png) 100% 0 no-repeat;
}

div#top .top-bl {
	background: url(../images/top_bl.png) 0 100% no-repeat;
}

div#top .top-br {
	min-height: 80px;
	background: url(../images/top_br.png) 100% 100% no-repeat;
}

div#top .topbox {
}

div#top .topboxseperator {
	background: url(../images/top_sep.png) 100% 0 repeat-y;
}

div#middle {
	width: auto;
	margin: 10px 0px 0px 0px;
	clear: both;
}

div#middle .background {
	min-height: 140px;
}

div#left {
	width: 190px;
}

div#middle .layoutleft div#left {
	float: left;
}

div#middle .layoutright div#left {
	float: right;
}

div#date {
	width: 175px;
	height: 30px;
	padding: 0px 0px 0px 15px;
	background: url(../images/date_bg.png) 0 0 no-repeat;
	line-height: 30px;
	font-size: 95%;
}

div#submenu {
	width: 190px;
	padding: 0px 0px 0px 0px;
	overflow: hidden;
}

div#end {
	width: 190px;
	height: 10px;
	margin: 0px 0px 15px 0px;
	background: url(../images/end_bg.png) 0 0 no-repeat;
}

div#main {
	width: auto;
}

div#middle .layoutleft div#main {
	margin: 0px 0px 0px 190px;
	padding: 0px 0px 0px 20px;
}

div#middle .layoutright div#main {
	margin: 0px 190px 0px 0px;
	padding: 0px 20px 0px 0px;
}

div#middle .withoutleft div#main {
	margin: 0px 0px 0px 0px;
}

div#breadcrumb {
	height: 19px;
	padding: 5px 0px 5px 0px;
	font-size: 85%;
	color: #050505;
}

div#breadcrumb a:link, div#breadcrumb a:visited {
	color: #050505;
}

div#breadcrumb a:hover {
	color: #ff6400;
}

div#maintop {
}

div#maintop .maintopbox {
}

div#mainmiddle {
	margin: 10px 0px 10px 0px;
}

div#main .withright {
	background: url(../images/right_bg.png) 100% 0 repeat-y;
}

div#main .withoutright {
	background: transparent;
}

div#right {
	width: 170px;
	padding: 0px 10px 0px 0px;
	float: right;
}
	
div#content {
	width: auto;
	padding: 0px 10px 0px 0px;
}

div#main .withright div#content {
	margin: 0px 180px 0px 0px;
}

div#main .withoutright div#content {
	margin: 0px 0px 0px 0px;
}

div#mainbottom {
	margin: 0px 0px 10px 0px;
}

div#mainbottom .mainbottombox {
}
	
div#bottom {
	width: auto;
	margin: 10px 0px 0px 0px;
	clear: both;
	background: url(../images/top_t.png) 0 0 repeat;
}

div#bottom .bottom-tl {
	background: url(../images/top_tl.png) 0 0 no-repeat;
}

div#bottom .bottom-tr {
	background: url(../images/top_tr.png) 100% 0 no-repeat;
}

div#bottom .bottom-bl {
	background: url(../images/top_bl.png) 0 100% no-repeat;
}

div#bottom .bottom-br {
	min-height: 40px;
	background: url(../images/top_br.png) 100% 100% no-repeat;
}

div#bottom .bottombox {
}

div#bottom .bottomboxseperator {
	background: url(../images/top_sep.png) 100% 0 repeat-y;
}

div#footer {
	width: auto;
	margin: 10px 0px 50px 0px;
	clear: both;
	text-align: center;
	color: #969696;
}

/* clearing & floating */
.clearingfix:after {
	content: "."; 
	display: block; 
	line-height: 0px;
	clear: both; 
	visibility: hidden;
}
	
.clearingfix { display: block; }

.floatbox { overflow: hidden; }

.float-left { float: left; overflow: hidden; }
.float-right { float: right; overflow: hidden; }

.width20 { width: 19.999%; }
.width25 { width: 24.999%; }
.width33 { width: 33.333%; }
.width50 { width: 49.999%; }
.width66 { width: 66.666%; }
.width75 { width: 74.999%; }
.width100 { width: 100%; }