html {
	height: 100%;
}

body {
	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #333;
	height: 100%;
	background: url('pictures/bg_top.gif') repeat-x top center;
	margin: 0;
	padding: 0;
	background-color: #fff;
}

a {
	color: #333;
	text-decoration: underline;
}

a:hover {
	color: #000;
	text-decoration: none;
}

p {
    margin: 0 0 16px;
}

div {	margin: 0;
	padding: 0;}

img {
	border: none;
}

input {
	vertical-align: middle;
}

#wrapper {
    width: 800px;
	min-width: 800px;
	max-width: 800px;
	margin: 0 auto;
	min-height: 100%;
	height: auto !important;
	height: 100%;
}

/* Header
-----------------------------------------------------------------------------*/
#header {
	height: 68px;
	width: 800px;
}

#yamaha {
    margin-right: 5px;
    float: right;
}

#petroset {
    margin-left: 5px;
    float: left;
}

#top_menu {
    position: absolute;
    margin-top: 47px;
}

    #top_menu ul {
        margin: 0;
    	padding: 0;
    }

    #top_menu ul li {
    	float: left;
	    height: 20px;
	    list-style-type: none;
	    padding-left: 10px;
	    padding-right: 10px;
	    background: url('pictures/menu_r.gif') no-repeat top right;
    }

    #top_menu ul li a {
        display: inline-block;
    	color: #333;
    	margin-top: 2px;
    }

    #top_menu ul li a:hover {
    	color: #000;
        text-decoration: none;
        margin-top: 2px;
    }

/* Middle
-----------------------------------------------------------------------------*/

#topm {
    position: absolute;
    margin: 10px 0 0 185px;
    font-size: 13px;
    font-weight: bold;
    color: #666;
    text-align: center;
}

    #topm a {
    	color: #666;
    	text-decoration: none;
    }

    #topm a:hover {
    	color: #000;
        text-decoration: none;
    }

    #top-left-noselect { float: left; width: 3px; height: 28px; background: url('pictures/top-left-noselect.gif') no-repeat top center; white-space: nowrap; background-color: #e4e4e4; }

    #top-left-select { float: left; width: 3px; height: 28px; background: url('pictures/top-left-select.gif') no-repeat top center; white-space: nowrap; }

    #top-select { float: left; width: 100px; height: 28px; background: url('pictures/top-select.gif') repeat-x top center; white-space: nowrap; background-color: #e7e7e7; }

    #top-razdel { float: left; width: 1px; height: 28px; background: url('pictures/top-razdel.gif') no-repeat top center; white-space: nowrap; background-color: #e4e4e4; }

    #top-noselect { float: left; width: 100px; height: 28px; background: url('pictures/top-noselect.gif') repeat-x top center; white-space: nowrap; background-color: #e4e4e4; }

    #top-right-noselect { float: left; width: 3px; height: 28px; background: url('pictures/top-right-noselect.gif') no-repeat top center; white-space: nowrap; background-color: #e4e4e4; }

    #top-right-select { float: left; width: 3px; height: 28px; background: url('pictures/top-right-select.gif') no-repeat top center; white-space: nowrap; }

#leftm {    position: absolute;
    margin-top: 84px;
    margin-left: -27px;
    background-color: #fff;}

#leftm_static {
    position: absolute;
    margin-top: 57px;
    margin-left: -27px;
    background-color: #fff;
}
/* Leftmenu
-----------------------------------------------------------------------------*/
ul.menu,ul.slider,ul.menu ul{list-style-position:outside;list-style-type:none;padding:0;margin:0;}
ol,ul{padding-left:26px;margin:0;}

.hidden{display:none !important}
.invisible{visibility:hidden}

#main-menu {padding: 10px 10px 10px 26px;}
ul.menu{font-size:100%;}
ul.menu li{clear:none;margin:0;}
ul.slider {display:block;}
ul.slider span{font-weight:bold;}
ul.slider span.js{cursor:pointer;color:#000;border-bottom:1px dashed #000;font-size:13px;}
ul.slider span.js:hover{color:#000;border-bottom:1px dashed #000;}
ul.menu li{padding:4px 0;/*float:left;*/clear:both;}
ul.menu li.clear{float:none;overflow:hidden;height:1px;padding:0;margin:0;}
ul.menu li{width:100%;}
ul.menu li ul.menu{clear:both;padding-top:4px;}
ul.menu ul{padding-left:15px;}
ul.menu li ul.menu li{font-size:100%;}
ul.menu li span,ul.menu li a{outline:none;display:inline;}
ul.menu li span.fake{border-bottom:1px dashed #000;cursor:pointer;font-weight:normal;}
ul.menu li a,ul.menu li a:visited{clear:both;color:#000;}
ul.menu li a:hover{color:#000 !important}
ul.menu li.selected span,ul.menu li.selected a{color:#000 !important;font-weight:normal;}
ul.menu li.selected a:hover{color:#3561b0 !important}
ul.menu li.selected ul.menu li span,ul.menu li.selected ul.menu li a{color:#f36700 !important}
ul.menu li a.hidden{display:none;}

#model-menu { height: 30px; background: url('http://petroset.ru/site/pictures/model-menu-bg.gif') repeat-x top center; float: left; padding: 7px; }

#model-menu-razd { width: 1px; height: 30px; background: url('pictures/model-menu-razd.gif') no-repeat top center; float: left; }

#clear {
	clear: both;
}

/* Footer
-----------------------------------------------------------------------------*/
#bottom {
	width: 100%;
	/*margin-top: -20px;*/
	height: 38px;
}

#bottom_menu {
    margin: 0;
	padding: 0;
}

    #bottom_menu li {
    	float: left;
	    height: 20px;
	    list-style-type: none;
    	padding-left: 10px;
	    padding-right: 10px;
	    background: url('pictures/menu_r.gif') no-repeat top right;
    }

    #bottom_menu li a {
        display: inline-block;
        font-size: 12px;
	    color: #333;
	    margin-top: 2px;
    }

    #bottom_menu li a:hover, .menu li a.active {
        color: #000;
        text-decoration: none;
        margin-top: 2px;
    }

table{
    border-collapse: collapse;
}

input,textarea {
    border: #999;
    border-style: solid;
    border-width: 1px;
    background: #fff;
    color: #000;
    padding: 0 3px;
}

.date {
	font-size: 0.91em;
	color: #666;
}

h1 {
	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: bold;
	margin: 0;
	padding: 0;
}

h2 {
	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: bold;
 	margin: 0;
	padding: 0;
}

h3 {
	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: bold;
 	margin: 0;
	padding: 0;
}

.selectedanchor{ /*CSS class that gets added to the currently selected anchor link (assuming it's a text link)*/
    /*background: #c4c4c4;*/
}

/* ######### Default class for drop down menus ######### */
.anylinkcss{
    margin-top: 0px;
    position: absolute;
    left: 0;
    top: 0;
    visibility: hidden;
    border: 0px solid #333;
    border-bottom-width: 0;
	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: normal;
    z-index: 100; /* zIndex should be greater than that of shadow's below */
    background: #eaeaea;
    width: 200px; /* default width for menu */
}

.anylinkcss ul{
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.anylinkcss ul li a{
    width: 100%;
    display: block;
    text-indent: 4px;
    border-bottom: 1px solid #333;
    padding: 3px 0;
    text-decoration: none;
}

.anylinkcss a:hover{ /*hover background color*/
    background: #ccc;
    color: #000;
    text-decoration: none;
}

/* ######### Alternate multi-column class for drop down menus ######### */

.anylinkcsscols{
    position: absolute;
    left: 0;
    top: 0;
    visibility: hidden;
    border: 1px solid #333;
    padding: 10px;
	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    z-index: 100; /*zIndex should be greater than that of shadow's below*/
    background: #bfd6de;
}

.anylinkcsscols .column{
    width: 200px;
    float: left;
}

.anylinkcsscols .column ul{
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.anylinkcsscols li{
    padding-bottom: 4px;
}

/* ######### class for shadow DIV ######### */

.anylinkshadow{ /*CSS for shadow. Keep this as is */
    margin-top: 5px;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 99; /*zIndex for shadow*/
    background: black;
    visibility: hidden;
}

input, select, textarea, checkbox, button { margin-top: 3px; border: #666666; border-style: solid; border-width: 1px; background: #e5ebf0; font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #333333; }
