* { margin:0; padding:0;}
html, body, div, span, object, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, acronym, big, cite, code, del, img, small, strong, sub, sup, b, u, i, dl, dt, dd, ol, legend, table, tbody, tfoot, thead, tr, th, td{margin: 0;padding: 0;border: 0;outline: 0;vertical-align: baseline;background: transparent;}
ul {list-style: none;}
:focus {outline: 0;}
.ph{opacity:0.5;}
img{vertical-align:middle;}
.layout{overflow:hidden;}
b,strong{font-weight:bold}
i,em{font-style:italic}
u{text-decoration:underline}
del,strike,s{text-decoration:line-through}
textarea{overflow:auto;}
a.png img,a .png img,.png a img{cursor:pointer}
html,body{height:100%;}
.red {color:red}
#content{line-height:19px;}
#right{line-height:19px;}

/*----------Header--------------------*/

#podarki{position:absolute;margin-top:140px;}
#podarki img{padding:10px;}
#icq{float:right;width:100px;}
#main2{background: url(http://master-driver.ru/img/bg2.gif) repeat-y center top;}
body{background:#99CCFF /*url(http://master-driver.ru/img/grstripe.gif) repeat center top*/;font-family:Trebuchet MS, Tahoma;font-size: 14px;}
#main{width:1024px; margin: auto;background:url(http://master-driver.ru/img/bg.gif) no-repeat center top;}
#header{height: 100px;margin-top:-10px;}
#header small {font-size:12px}
img.logo{margin:23px 30px 0;width:233px; height:52px;}
.logo_text{float:left;font-size:30px;font-style:italic;height:20px;padding-top:10px;padding-bottom:10px;}
#vopros{float: left; padding: 24px 20px 0;}
a.a1{font-size:14px;vertical-align: top; float: left; padding-left: 5px; color: #2054A9;}
.info{float: left;margin-top: 5px;}
.phone_text_left{float: left;text-align: right; margin-left: 35px;}
#tel{padding-top: 20px; padding-right: 30px;width:230px;float:right;}
.phone_text{float: right; text-align: right; font-size: 18px;}
.clear{clear: both; float: none;margin:0;padding:0;}
iframe{z-index:0}
#school{margin-left:30px;padding:0;color:#2054A9;font-size: 14px;}
.re{top:55px;left:415px;font-weight:bold;color:#E90202;}

.dater {margin-left:50px;margin-top:-15px;//margin-top:-15px;padding:0;color:#2054A9;font-size: 12px;position:absolute;}
#logo{float:left;}
#logo a{height:52px;}
#head_text{float:left;width:290px;margin-top:20px;}

/*----------Top Menu--------------------*/

#top_menu{padding-left:30px; height: 48px; padding-bottom: 15px;}
#left_corner{background:url(http://master-driver.ru/img/left_menu_corner.png);width:8px;height:48px;float:left;}
#right_corner{background:url(http://master-driver.ru/img/right_menu_corner.png);width:8px;height:48px;float:left;}
#centr_menu{background:url(http://master-driver.ru/img/center_menu.png) repeat-x;height:48px;float:left;width:950px;text-align:center}
.menu_item{margin-top: 10px; margin-left: 25px; margin-right: 25px;z-index:10000}
.menu-h-d {font-size:0.7em;list-style-type:none;height:48px;display:inline-block;line-height:35px;padding:5px 0;}
.menu-h-d li {float:left;display:block;position:relative;list-style:none;/*width:120px;*/z-index:20000}
.menu-h-d a {text-decoration:none;padding:2px 25px;display:block;font-size:18px;color:#444;text-shadow:white 1px 1px 1px, white 0 0 1em;} 
.menu-h-d ul {display:none;position:absolute;top:36px;left:-20px;width:300px;border:1px solid #444;border-top:none;background-color:#F9EDC8;text-align:left;z-index:20000}
.menu-h-d ul li{width:300px!important;z-index:20000}
.menu-h-d ul ul {left:100%;top:-1px;background-color:#F9EDC8} 
.menu-h-d li li {float:none;background-color:#F9EDC8;z-index:20000}
.menu-h-d li li a{text-shadow:none;font-size:12px!important;color:#000;z-index:20000;}
.menu-h-d li li a:hover{text-shadow:none;font-size:12px!important;color:#444;text-decoration:underline}
.menu-h-d li:hover {}
.menu-h-d a:hover {color:#fff;}
 .menu-h-d li:hover ul,
.menu-h-d li:hover ul li:hover ul,
.menu-h-d li:hover ul li:hover ul li:hover ul {display: block;}
.menu-h-d li:hover ul ul,.menu-h-d li:hover ul li:hover ul ul {display: none;}
.plaha {margin:5px;float:left;padding:15px;font-weight:700;font-size:14px;color:white;text-align:center;background-image:url(http://master-driver.ru/img/plaha.jpg);width:180px;height:65px}
.actual {text-align:center!important; margin-bottom:15px}
.actual h5{color:white}
.actual ul{list-style:circle;list-style-position:outside;font-size:12px;text-align:left;color:yellow;margin-left:15px}


/*----------Content--------------------*/
.h{height:28px;padding:10px 20px;color:#fff;}
.hl{width:11px;float:left;background:url(/img/hl.gif) no-repeat top left;height:28px;}
.hr{width:11px;float:left;background:url(/img/hr.gif) no-repeat top left;height:28px;}
.hc{float:left;background:url(/img/hc.gif) repeat-x top left;}
.hc p b{color:#fff;}
#banners{margin:10px;}
.banner{margin: 5px; float: left; width:150px;}
#content{margin-left: 30px;//padding-left: 15px; width: 694px; float: left;}

#content a{color:#444}
#opacity{background:url(http://master-driver.ru/img/text-corner.png) no-repeat top transparent;width:694px;padding-top:14px;}
#main-text{background:url(http://master-driver.ru/img/opacity2.png);text-align:justify;min-height:570px;
//min-height:570px;
//height:auto !important;
//height:570px;}
#main-text td {text-align:justify!important}
#main-text a{color:#444;text-decoration:underline}
#main-text p,ul{padding:5px 15px;}
h1,h2,h3,h4,h5{font-size: 18px; font-weight: bold; padding:0 10px; color: #2054A9;}
.pic{float: right; padding:0 10px;}
#content ol{margin-left:25px}
#content li{list-style-image:url(http://master-driver.ru/img/li.gif); margin-left: 15px;}
#content ol li{list-style-image:none;margin-left:15px}
#opacity2{background:url(http://master-driver.ru/img/text-corner2.png) no-repeat bottom transparent;width:694px;padding-bottom:14px;}
#instruktor{background:#fff;padding-top:20px;height:270px;}
.instr{padding: 10px;float: left; width: 300px;height:100px}
.instr a{color:#CC2420;}
.instr img{float: left;padding-right: 10px;}
.tahoma{font-family: Tahoma; font-size: 13px; color: #7D7E7E; font-style:italic;}
.milkgallery img {float:left;margin:5px}
.milkgallery {clear:both;margin:20px;padding-bottom:30px}
.pricetable {border:1px solid #444;width:650px;margin:0px auto;margin-top:15px}
.pricetable tr{padding:5px;text-align:center;border:1px solid #444;text-align:center;}
.pricetable td {padding:5px;text-align:center;border:1px solid #444;}
.tableheader {background-color:#1B4385;color:white;font-weight:700}
#content li.order_form{list-style-image: none;}
.pdd_img{padding: 0 20px;}
.pdd1{color:#2054A9;font-size:25px;}
#main-text p.pdd2{padding-left:40px;}
#main-text div.pdd3{margin-left: 60px;}
#main-text .sub-items{padding:20px;}
.za{float:right;}
.za form{text-align:right;}

.foto_instr{float:right; }
.button{float:right;}
.comments {margin:15px}
.button form {margin-left:17px}
.foto_instr img{float:right; padding:5px;}
.instruktor {min-height:355px;height:auto !important;height:355px;width:100%!important;}
#main-text .pricetable p{padding:0;}

.instruktorer {min-height:215px;height:auto !important;height:215px;width:100%!important;}

/*--------------Стереть после нового года -----------------------*/

.marquee-container {
    position: relative; 
      height:30px;
    width:200px;
    overflow: hidden;
    margin:0px auto;
}

.marquee-subcontainer {
    position: relative;
    width:9999999px;
    height:30px;
    margin:0px;
}

.marquee-text {
    position: absolute;
    margin: 0px;
    top:0px;
    left:0px;
    height:30px;
    font: bold 16px Arial Georgia;
    color:red;
}



/*------------------Right-------------------------------*/
#right{float:right;width: 238px;margin-right: 30px; //padding-right:15px;/*height:730px;*/}
#right_top{background:url(http://master-driver.ru/img/top_programm.gif) no-repeat top;height: 12px;width: 239px;padding:0;margin:0;}
#right_center{float:left;background:#1B4385;url(http://master-driver.ru/img/right_center.png) repeat-x;/*height:1200px;*/padding:0;margin:0;}
#right_center img{padding:0 15px; float: left;}
#right_center a{color:#fff;}
#right_center p{padding:20px 10px 0px 20px; float: left; color:#fff; font-family:Trebuchet MS; font-size: 12px;}
#right_bottom{background:url(http://master-driver.ru/img/bottom_programm.gif) no-repeat bottom;width: 239px;height:12px;padding:0;margin:0;}
.white{color: #fff; padding: 5px;}
#butt{width:200px;height:44px;background:url(/img/butt.gif) no-repeat left top;margin-left:15px;margin-bottom:15px;}
#butt p{font-size:16px;font-weight:bold;padding:10px 8px;color:#0078BE;}
/*------------------Footer------------------------------*/

.v{float: none; margin-left:1px;clear: both;padding-bottom:10px;}
.footer_png{float: none; clear: both;padding-top: 15px;}
.footer_item{float: left; padding: 0 18px;}
.footer_item p{font-size: 12px;}
.footer_item a{color:#000;text-decoration:none;}
a.menu-f{text-decoration:none;padding-top:10px;display:block;font-size:18px;color:#444;text-shadow:white 1px 1px 1px, white 0 0 1em;} 
#footer_menu{margin-left: 30px;padding-top:25px;margin-bottom:10px; height:300px;}
#footer_left_corner{background:url(http://master-driver.ru/img/footer_left_corner.gif); height: 136px;float: left;}
#footer_right_corner{background:url(http://master-driver.ru/img/footer_right_corner.gif);height: 136px;float: left;}
#footer_centr_menu{background:url(http://master-driver.ru/img/footer_center2.gif);height:300px;float: left;padding-left: 15px; padding-right: 15px;}

#footer{padding-left:30px;padding-right:30px;padding-bottom:10px;height:50px;}
#footer a{color:black}
#footer img{float:left; margin-bottom: 20px;margin-right: 10px;}
#footer p{font-size: 12px;}
#adress{float: left;width: 600px;}
#copyright{float: right;text-align:right;}
.instructor {float:left;margin-right:20px;width:500px;display:block;}


