*{margin:0;padding:0;}
.clear:after{content: ".";display: block;height: 0;clear: both;visibility: hidden;overflow:hidden;min-height:0;line-height:0}
.clear {display: inline-block;}
* html .clear {height: 1%;clear:both}
.clear {display: block}

html {filter:expression(document.execCommand("BackgroundImageCache", false, true));}
body{background:url(/img/bg.gif) repeat 0 0 #3b3b3c;padding:0 80px 55px;font:14px Arial, sans-serif;color:white}
img, fieldset{border:0}
h1, h2, h3, span.title{font-weight:bold;font-size:16px;color:#fff200;margin-bottom:15px;}
h4 {font-weight:bold;font-size:16px;color:#fff;}
span.title{display:block;}
span.title.pic img{position:absolute;left:-100px;top:0;}
* html span.title.pic img{margin-left:-83px}
span.title.pic{position:relative;padding-left:83px;}
* html img.png{BEHAVIOR: url(png.htc);}
small{font-size:11px;}
big{color:#fff200;font-weight:bold;font-size:14px;}
a{color:#fff200;text-decoration:underline}
a:hover{text-decoration:underline}
p{margin-bottom:20px;text-align:justify; text-indent: 40px}
#content img{border:2px solid #fff200;}
img.left{float:left;margin-right:13px;margin-bottom:10px;}
img.right{float:right;margin-left:13px;margin-bottom:10px;}
#content img.bul{border:0;}
#content img.left.bul{margin-right:6px;margin-bottom:0;}
p.bullet{padding-left:40px;background:url(/img/bullet.png) no-repeat 0 3px;}
#homepage {position:absolute;left:10px;top:0px;text-decoration:none; text-align:center; display:block;}
.5element {margin-left: 5px; float: none}
.yellowelement {color: yellow; font-weight: 700}
.book {width:177px; height:100px; margin-top: 30px; margin-bottom:30px}
.topper {float:left;padding-top:10px; padding-bottom:10px;text-align:center;padding-left:3%;width:97%;}
.floater {float:left}
.floater div {float:left}
#livechat {position: absolute; top: 150px; left: -25px;z-index:5000}
.milkgallery div {border: 1px solid yellow; float:left; margin:10px; margin-right:5px;margin-left:0px; padding:0px;width:150px;height:112px;overflow:hidden}
.milkgallery img {overflow:hidden;border:none!important;padding:0px!important}
#pseudoCursor {FONT-SIZE: 140%;  FONT-WEIGHT: bold; COLOR: yellow}
#pseudoCursor1 {FONT-SIZE: 140%;  FONT-WEIGHT: bold; COLOR: red}
#pseudoCursor2 {FONT-SIZE: 140%;  FONT-WEIGHT: bold; COLOR: red}

#page, #footer{width:800px;margin:0 auto;padding-left:7px;}
#page{background:url(/img/shd-l.png) no-repeat 0 0;padding-right:7px;}
/*#page .bg{background:url(/img/shd-r.png) no-repeat 0 0;}*/
#page .bg{background:#505052;position:relative;padding-top:62px;}
* html #page .bg{height:100px}
#footer{width:807px;background:url(/img/f-l.png) no-repeat 0 0}
#footer .bg{background:url(/img/f-r.png) no-repeat 0 0;padding-right:7px;height:82px;}
#footer .bg .bg{padding:0;height:47px;background:url(/img/f-bg.png) no-repeat 0 0;padding-bottom:20px;margin:0 23px 0 22px;padding-top:15px;}
#footer a{position:relative}
#header{position:absolute;top:0;left:0;width:100%;height:70px;background:url(/img/top-grad.jpg) no-repeat 0 0;background:none}
#pic{display:none;width:680px;height:260px;background:url(/img/pic.png) no-repeat 0 0;top:0;right:-54px;position:absolute}
#shadow{display:none;position:absolute;width:7px;background:url(/img/shd-r.png) no-repeat 0 0;height:100%;top:0;right:-7px;}
#logo{display:none;width:250px;height:96px;background:url(/img/logo.png) no-repeat 0 0;position:absolute;left:195px;top:40px;}
#logo-text{display:none;display:block;width:532px;height:77px;position:absolute;right:-33px;top:141px;}
#slogan{display:none;width:203px;height:37px;padding:23px 0 0 27px;color:white;text-transform:uppercase;font-weight:bold;font-size:14px;}

#slogan{display:none;width:203px;height:37px;padding:23px 0 0 27px;color:white;text-transform:uppercase;font-weight:700;font-size:18px;}

#slogan1{display:none;width:800px;height:37px;padding:193px 0 0 0px;text-transform:uppercase;font-weight:400;font-size:26px;color: yellow}
#menu{padding:4px 10px;background:#505052;color:#fff200;text-transform:uppercase;text-align:center;position:relative;float:none; clear: both; height: 160px}
#menu a{color:white;text-decoration:none}
#menu a:hover{color:#fff200;}
#menu ul{list-style:none; background:#231f20;text-align: center;}
*>#menu ul{overflow:hidden}
#menu ul li{float:left;padding:0 6px;border-left:1px solid white;margin:0 7px 0 -7px;}
#main{padding:50px 30px 20px 0; padding-top: 10px;margin:0 10px;border:2px solid #fff200;position:relative;float:none;clear: both; }
#main .cl, #main .cr{width:20px;height:20px;position:absolute;bottom:-2px}
#main .cl{background:url(/img/cl.gif) no-repeat 0 0;left:-2px}
#main .cr{background:url(/img/cr.gif) no-repeat 0 0;right:-2px}
* html #main .cl, * html #main .cr{bottom:-3px;}
#left{width:215px;float:left;padding-left:5px;}
#left a {color: yellow; font-weight: 700; text-decoration:underline}
#left ul {list-style:none; padding:0px; margin:0px; margin-top:40px; margin-bottom:30px}
#left li {padding:0px; margin:0px;margin-bottom:15px;}
#content{padding-left:20px}
*>#content{margin-left:220px}
* html #content{height:1%}
* html #left{margin-right:-3px}
.hr{height:3px;line-height:0;width:100%;background:url(/img/sep.gif) repeat-x 0 0;margin:9px 0;}
.ad{text-align:center}
#left .text{padding-left:6px;}
.notices{list-style:none;font-size:12px;color:white}
.notices a{color:white;}
.notices li{padding-left:50px;min-height:45px;background:url(/img/marker.gif) no-repeat 0 0;margin-bottom:20px}
* html .notices li{height:45px;}
#b-menu{text-align:center;text-transform:uppercase;font:14px Tahoma, sans-serif;}
#b-menu span{color:#fff200;}
#b-menu a{color:white;text-decoration:none}
#b-menu a:hover{color:#fff200;}

/*png for ie*/
* html #page{background:none;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://www.master-driver.ru/img/shd-l.png',sizingMethod='crop');}
* html #shadow{background:none;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://www.master-driver.ru/img/shd-r.png',sizingMethod='crop');height:expression(this.parentNode.offsetHeight+"px");}
* html #pic{background:none;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://www.master-driver.ru/img/pic.png',sizingMethod='crop');}
* html #logo{background:none;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://www.master-driver.ru/img/logo.png',sizingMethod='crop');}
* html #footer{background:none;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://www.master-driver.ru/img/f-l.png',sizingMethod='crop');}
* html #footer .bg{background:none;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://www.master-driver.ru/img/f-r.png',sizingMethod='crop');}
* html #footer .bg .bg{background:none;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://www.master-driver.ru/img/f-bg.png',sizingMethod='crop');}