a:link {color: #0b67a2;text-decoration: none;border-bottom: 1px solid #0b67a2;}
a:visited {color: #0b67a2;text-decoration: none;border-bottom: 1px solid #0b67a2;}
a:hover {color: #0b67a2;text-decoration: none;border-bottom: 1px solid #0b67a2;}
a:active {color: #0b67a2;text-decoration: none;border-bottom: 1px solid #0b67a2;}


html * {max-height:1000000px;}

::-webkit-input-placeholder {color:#5b5b5b;}
::-moz-placeholder          {color:#5b5b5b;}/* Firefox 19+ */
:-moz-placeholder           {color:#5b5b5b;}/* Firefox 18- */
:-ms-input-placeholder      {color:#5b5b5b;}

html {height: 100%; max-height: 100000000px !important;}
body {
	font-family: 'PT Sans', Arial, Tahoma, sans-serif, Arial;
	font-size: 16px;
        font-weight: normal;
	color: #303030;
	margin: 0px;
	padding: 0px;
        color: #151515;
        height: 100%;
        line-height: 25px;
}
textarea, input, button {
	font-family: 'PT Sans', Arial, Tahoma, sans-serif, Arial;
	font-size: 16px;
}
input[type=text], input[type=password], input[type=number]  {
        padding: 0px 8px;
        line-height: 34px;
        height: 34px;
        border: 1px solid #1e6ba5;
        box-sizing: border-box;        
}
.select select {
        border: 0px;
        background: url('/img/input.jpg');
        padding: 2px 8px;
        margin: 0px;
        height: 29px;
        width: 250px;
}
.select  {
        width: 216px;
        height: 29px;
        overflow: hidden;
        display:  inline-block;
        vertical-align: bottom;       
}
textarea{
        border: 0px;
        background: url('/img/input.jpg');
        padding: 2px 8px;
        border-radius: 2px;
}
button[type=submit] {
        color: #202020;
        line-height: 36px;
        height: 36px;
        padding: 0px 6px;
        cursor: pointer;
        vertical-align: bottom;
        border: 1px solid #1e6ba5;
        box-sizing: border-box;
        background: #1e6ba5;
        color: #FFFFFF;
        text-transform: uppercase;
}
.likebtn {
        display: inline-block;
        padding: 0px 12px;
        cursor: pointer;
        height: 36px;
        line-height: 34px;
        background: #FFFFFF;
        color: #ff0000 !important;
        text-decoration: none !important;
        box-sizing: border-box;
        border: 1px solid #1e6ba5;
}
.likebtn:hover {
        background: #1e6ba5 !important;
        color: #ffffff !important;
}
.clear {
        clear: both;
}
h1, .h1 {
        font-family: 'PT Sans', Arial, Tahoma, sans-serif, Arial;
	font-size: 32px;
	padding-top: 0px;
	margin-top: 0px;
        margin-bottom: 15px;
        font-weight: normal;
        color:  #000;
        line-height: 40px;
}
h2 {
	font-size: 24px;
	padding-top: 0px;
	margin-top: 25px;
        font-weight: normal;
        color:  #000;
}
h3, .h3 {
	font-size: 22px;
	padding-top: 0px;
	margin-top: 25px;
        font-weight: normal;
        color:  #000;
}
h4 {
	font-size: 18px;
	padding-top: 0px;
	margin-top: 25px;
        font-weight: bold;
        color:  #000;
}
p{
	text-align: justify;
        margin: 15px 0px;
        padding: 0px;
}
/* MessageBox */
.messageBox {
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        
        background: #ff4e00; /* old browsers */
        
        opacity: 0.9;
        
        position: fixed;
        right: 10px;
        top: 10px;
        
        border: 1px solid #039735;
        width: 250px;
        padding: 15px;
        
        text-align: center;
        
        font-family: 'PT Sans';
        color: white;
        z-index: 1001;
        
        box-shadow: 0px 0px 8px #ffffff,  0px 0px 8px #ffffff,  0px 0px 8px #ffffff;
}
.mb_error {
        color: red;
}
.mb_success {
        color: green;
}
.mb_notice {
        color: #DD5502;
}
.mb_normal {
        color: white;
}
/* MessageBox */

.redborder {border: 1px solid #cccccc;}
.red {color: #ff0000;}
.upper {text-transform: uppercase !important;}
.bold {font-weight: bold;}
.center {text-align: center;}
.color1 {color: #505050;}
.orange {color: #ff4e00;}
.zag {font-size: 40px;}
.fancybox {border-bottom: 0px !important;}
.bigger {font-size: 22px;}
.more_bigger {font-size: 26px;}

#all {width: 100%; min-height: 100%; background: #fff; position: relative; }
.main {width: 1240px; margin: 0px auto;}
#header {height: 185px; position: relative;}
#header a{border: 0px !important;}

#header .phones {position: absolute; font-size: 28px; color: #000000; width: auto; height: auto; right: 0px; top: 5px; text-align: right; line-height: 35px;}
#header .phones img{position: absolute; top: 10px; right: 250px;}
#header .adres {position: absolute; font-size: 16px; width: auto; height: auto; line-height: 20px; right: 0px; top: 155px; text-align: right; line-height: 17px;}
#header .zvonok {font-weight: bold; display: block; width: 232px; height: 52px; line-height: 50px; text-align: center; text-transform: uppercase; color: #1e6ba5; position: absolute; right: 0px; top: 87px; font-size: 18px;}

.menu {background: #1e6ba5;}

#banners {height: 370px; margin-bottom: 40px;}
.banners {padding: 0px !important;}
.banners p.h1 {line-height: 50px;}
#banners ul {width: 100% !important; margin: 0px auto !important;} 
#banners ul li {width: 100% !important; margin: 0px auto !important;}
.banners .h1, .banners .bantext {font-size: 40px; margin: 20px;}
.banners .h1.h1s {font-size: 30px; line-height: 45px;}
.banner_item {height: 370px; width: 1240px; box-sizing: border-box; padding: 10px; margin: 0px auto;}
.banner_img {width: 400px; height: 350px; float: left; text-align: center; line-height: 350px;}
.banner_img img{max-width: 350px; max-height: 350px; vertical-align: middle;}
.banner_text .likebtn {height: 55px; line-height: 54px; min-width: 250px;text-align: center; text-transform: uppercase; font-size: 25px;}
.banners .sban1 {float: left; height: 299px;}
.banners .sban2 {float: right; height: 299px;}

.banners4 {font-size: 0px; margin-bottom: 40px;}
.ban4elem {display: inline-block; width: 25%; height: 115px; font-size: 18px; color: #707070; line-height: 30px; padding-top: 25px; box-sizing: border-box;}
.ban4elem img {float: left; margin: -10px 25px 0px 25px;}

.razds_on_index {font-size: 0px; margin: 40px 0px;}
.razd_item {display:  inline-block; vertical-align: middle; width: 50%; height: 200px; font-size: 16px; cursor: pointer;}
.razd_item .razd_item_img {width: 200px; height: 200px; float: left; text-align: center; line-height: 200px;}
.razd_item .razd_item_img img{max-width: 170px; max-height: 170px; vertical-align: middle;}
.razd_item a{font-weight: bold; border-bottom: 0px ; color: #ff4e00;}

#cont {width: 100%; height: 500px; position: relative; padding-bottom: 125px;}
.cont {width: 360px; height: 430px; text-align: center; font-size: 20px; color: #000000; position: absolute; left: 50%; top: 40px; margin-left: 260px; background: #ffffff;}
.cont p {text-align: center; margin: 30px 0px;}
.cont p.zag {color: #1e6ba5; font-size: 30px; font-weight: bold;}
.cont p.phone {font-size: 30px;}
.cont .likebtn {height: 58px; line-height: 56px; min-width: 270px;text-align: center; text-transform: uppercase; font-size: 25px;}


#hity {margin: 40px auto; border-top: 0px solid #0b1a35;}

#uslugi {font-size: 0px;}
.usluga {display: inline-block; width: 620px; box-sizing: border-box; font-size: 16px; margin-bottom: 50px;}
.usluga:nth-child(1) {padding: 0px 30px 0px 0px;}
.usluga:nth-child(2) {padding: 0px 0px 0px 30px;}
.usluga img {margin: 0px auto; display: block;}
.zakaz_usluga {line-height: 58px; height: 60px; padding: 0px 45px; font-size: 25px; border: 2px solid #ff4e00;} 

#content {padding: 15px 0px; min-height: 100%; padding-bottom: 250px; position: relative;}

#prefooter {height: 15px; background: #1e6ba5; position: absolute; bottom: 110px; left: 0px; width: 100%;}
#footer {padding: 0px; position: absolute; height: 110px; bottom: 0px; left: 50%; margin-left: -650px; line-height: 100px;}
#footer a {text-decoration: none !important; border-bottom: 0px !important;}
#footerlogo {height: 95px; vertical-align: middle;}
#footername {height: 50px;  vertical-align: middle;}
.footermenu {line-height: 100px; float: right;}
.footermenu a {display: inline-block; margin: 0px 10px; font-size: 18px;}
.footermenu a:first-child {margin-left: 0px;}
.footermenu a:last-child {margin-right: 0px;}

.pages a {
        display: inline-block;
        border: 1px solid #ffffff;
        width: 40px;
        height: 40px;
        line-height: 40px;
        margin: 0px 5px;
        text-align: center;
        text-decoration: none;
        border-radius: 50%;
        font-weight: bold;
        font-size: 20px;
        color: #000;
}
.pages .current{
        border: 1px solid #1e6ba5;
}

.nav, .nav a {color: #888; font-size: 13px; margin-bottom: 15px;}
.nav a{border-bottom: 1px solid #888 !important;}

.catalog_left {float: left; width: 260px; margin-right: 20px;}
.catalog_left div a {color: #000000; border-bottom: 0px; display: inline-block; width: 100%; font-size: 16px;} 
.catalog_left div {line-height: 40px; border: 1px solid #1e6ba5; border-bottom: 0px; padding: 0px 7px; width: 100%; box-sizing: border-box; mar}
.catalog_left div:last-child {border-bottom: 1px solid #1e6ba5;}
.catalog_left div:hover {background: #d8eefe;}
.catalog_left div:hover a{color: #000000; }
.catalog_left div.level_1 {padding-left: 20px !important;} 
.catalog_left .selected {background: #2382ca !important; font-weight: bold;}
.catalog_left .selected a{color: #ffffff !important; }
.catalog_right {float: right; width: 960px;}

.item {display: inline-block;vertical-align: top; width: 305px; height: 445px; margin: 10px; position: relative; box-sizing: border-box; padding: 10px; border: 1px solid #CCCCCC;}
.item:nth-child(3n) {margin-right: 0px;}
.item:nth-child(3n-2) {margin-left: 0px;}
.item:hover {box-shadow: 0px 0px 4px #555555;}
.item .itemimg {width: 283px; height: 283px; line-height: 283px; font-size: 0px; margin: 0px 10px 0px 0px; text-align: center;}
.item .itemimg a{border-bottom: 0px !important;}
.item .itemimg img{max-width: 282px; max-height: 282px; vertical-align: middle;}
.item .itemfooter {width: 100%; position: absolute; bottom: 10px;left: 0px; padding: 10px 10px 0px 10px; box-sizing: border-box;}
.item .itemfooter .itemcena {width: 180px; margin: 0px 0px 10px 0px; color: #000000; font-size: 22px; font-weight: bold; display: inline-block; line-height: 36px; margin: 0px;}
.item .itemname {cursor: pointer; color:#0a4674;font-size: 16px; font-weight: bold; line-height: 22px; height: 115px; overflow: hidden; margin-top: 8px;}
.item .itemname .available {background: #3cc051; display: inline-block; vertical-align: middle; height: 19px; line-height: 16px; font-size: 12px; color: #ffffff; padding: 0px 5px; margin-top: 10px;}
.item .itemdesc {font-size: 16px; color: #bbbbbb;font-size: 13px; text-align: left;}
.item .itemfooter .zakaz {float: right;}
.item .hit {position: absolute; top: 2px; right: 2px;}
.item .akciya {position: absolute; top: 2px; left: 2px;}
.zakaz, .zakaz2 {border: 1px solid #ff4e00;}

.incat .item {margin: 20px 30px;}
.incat .item:nth-child(3n-2){margin-left: 0px !important;}
.incat .item:nth-child(3n){margin-right: 0px !important;}

.zakaz2 {line-height: 58px; height: 60px; padding: 0px 45px; font-size: 25px; border: 2px solid #1e6ba5;}

#mainimg, #item_multi_imgs img {max-width: 396px;max-height: 396px;}
#mainitemimglink {display: inline-block; font-size: 0px; width: 400px; height: auto; text-align: center;}

.tovar_info {float: right; width: 540px;}
#item_multi_imgs {margin: 0px auto;height: 400px;width: 400px;box-sizing: border-box;}
#item_multi_imgs a{display: inline-block;text-align: center;} 
#item_multi_imgs_next {cursor: pointer;position: absolute;left: 350px;top: 150px;z-index: 1000;}
#item_multi_imgs_prev {cursor: pointer;position: absolute;left: 0px;top: 150px;z-index: 1000;}

.tovar .hit {position: absolute; top: 2px; right: 2px;}
.tovar .akciya {position: absolute; top: 2px; left: 2px;}
.itemcena {line-height: 80px; margin-bottom: 15px; color: #000000; font-size: 50px; font-weight: bold;}
.available {background: #3cc051; display: inline-block; vertical-align: middle; height: 30px; line-height: 28px; font-size: 16px; color: #ffffff; padding: 0px 8px;} 
.item_img {width: 396px; height: 396px; font-size: 0px; line-height: 396px;}
.tovar_desc {width: 100%; margin-top: 30px;}
.tovar_art {font-size: 17px; color: #000000;}
.tovar_files {text-align: left; margin: 10px 0px 0px 0px; line-height: 26px;}
.tovar_files a{border: 0px !important;}
.tovar_file {vertical-align: middle; width: 18px;}
.sres {margin: 10px 0px;}
.sres img {width: 100px; vertical-align: middle; margin: 0px 10px 0px 0px;}
.sres a {border: 0px !important;}

.params {border-collapse: collapse; width: 530px; box-sizing: border-box;}
.params td {border: 1px solid #bbbbbb; padding: 5px;}        
.params tr:first-child td:first-child {width: 200px;}
.params tr td:nth-child(1) {color: #505050; font-family: 'PT Sans';}
.params tr td:nth-child(2) {color: #000000;}
.params tr:hover{ background: #ededed; cursor: pointer;}

.tbl {border-collapse: collapse; box-sizing: border-box;}
.tbl th {border: 1px solid #bbbbbb; padding: 10px; vertical-align: bottom !important;}
.tbl td {border: 1px solid #bbbbbb; padding: 10px;}        
/*.tbl tr:first-child td:first-child {width: 200px;}
.tbl tr td:nth-child(1) {color: #ff4e00;}
.tbl tr td:nth-child(2), .tbl tr td:nth-child(3), .tbl tr td:nth-child(4), .tbl tr td:nth-child(5), .tbl tr td:nth-child(6), .tbl tr td:nth-child(7), .tbl tr td:nth-child(8)  {text-align: right;}
.tbl tr:hover{background: #ededed;}*/

.razd_table tr {cursor: pointer;}
.razd_table2 tr {cursor: pointer;}
.razdimg {float: right; width: 300px; height: auto; margin: 0px 0px 15px 0px;}
.razd_zakaz {font-family: 'PT Sans'; display: block; margin: 0px auto; width: 500px; height: 60px; border: 1px solid #ff4e00; line-height: 58px; text-align: center; text-transform: uppercase; color: #ff4e00; font-size: 30px;}
.razd_cena_block {display: inline-block; width: 465px; height: 100px; box-sizing: border-box; line-height: 100px; vertical-align: middle; border: 1px solid #ff4e00; text-align: center;}
.razd_cena_block_1 {font-size: 30px; margin-right: 30px;}
.razd_cena_block_1 span{font-size: 34px; color: red;}

.razd_info_block {display: block; width: 100%; height: auto; box-sizing: border-box; padding: 15px; border: 1px solid #ff4e00;}
.razd_info_block_img {float: left; height: 120px; margin-right: 15px;}
.razd_info_block ul {font-size: 18px; line-height: 30px;}
.razd_info_block ul li {font-size: 16px; line-height: 24px;}
 


#menu2 ul{line-height: 40px; height: 40px; display: block; width: 1000px; margin: 0px ; padding: 0px;}
#menu2 ul li a{margin: 0px 60px; text-decoration: none !important; border-bottom: 0px ; padding: 0px 15px; font-weight: normal; color: #000;}
#menu2 li{line-height: 40px; height: 40px; text-align: center; display: table-cell; font-size: 22px; text-decoration: none !important;}
#menu2 li:first-child{margin-left: 0px;}
#menu2 li:last-child{margin-right: 15px;}

.shop_sub_razds {margin: -30px 0px;}
.shop_sub_razd {display: inline-block; vertical-align: top; width: 280px; height: auto; margin: 30px; background: #ffffff; font-size: 0px; line-height: 196px; box-sizing: border-box; text-align: center; cursor: pointer;}
.shop_sub_razd:hover {box-shadow: 0px 0px 4px #555555;}
.shop_sub_razd:nth-child(3n-2) {margin-left: 0px;}
.shop_sub_razd:nth-child(3n) {margin-right: 0px;}
.shop_sub_razd img {max-width: 260px; max-height: 260px; vertical-align: middle;}
.shop_sub_razd_name {font-size: 16px; line-height: 20px; text-align: center; color: #000000; margin: 0px 0px 5px 0px; padding: 0px 10px;}

.shop_sub_razd.is_brand {width: 300px; height: 300px; margin: 25px; line-height: 290px;}
.shop_sub_razd.is_brand img{max-width: 280px; max-height: 280px;}
.shop_sub_razd.is_brand:nth-child(3n-2) {margin-left: 0px;}
.shop_sub_razd.is_brand:nth-child(3n) {margin-right: 0px;}

.shop_sub_razd_text {display: inline-block; margin: 15px 30px 30px 0px; border-bottom: 0px !important; border-radius: 4px; box-shadow: 0px 0px 3px #2d63b8, 0px 0px 3px #2d63b8, 0px 0px 3px #2d63b8, 0px 0px 3px #2d63b8; font-weight: normal; color: #2d63b8 !important;}
.shop_sub_razd_text:first-child {margin-left: 0px;}

.btn_in_menu, .btn_in_menu2 {box-shadow: 0px 0px 3px #bd3737, 0px 0px 3px #bd3737, 0px 0px 3px #bd3737, 0px 0px 3px #bd3737;}
.btn_in_menu2 {width: auto !important;}

#bg {
	position: absolute;
	left: 0px;
	top: 0px;
	background: #000000;
	width: 100%; 
	height: 100%; 
	position: fixed; 
	z-index: 1000;
	filter:progid:DXImageTransform.Microsoft.Alpha(opacity=70);
	-moz-opacity: 0.7;
	-khtml-opacity: 0.7;
	opacity: 0.7; 
        display: none;      
}
#modal {
        border: 1px solid #000000;
        width: 620px;
        padding: 30px;
        position: absolute;
        display: none;
        z-index: 1001;
        background: #ffffff; 
        box-shadow: 0px 0px 50px #ffffff;
        border-radius: 5px;
        overflow: hidden;
        color: #202020;
}
#modal input{
        background: #ffffff; 
}
#modalmsg {
        position: absolute;
        width: 620px;
        height: 100%;
        margin-left: -30px;
        margin-top: -30px;
        padding: 30px;
        background: #ffffff;
        opacity: 0.98;
        z-index: 200;
        border-radius: 10px;
        font-size: 22px;
        text-align: center;
        display: none;
}
#modalclose {
        position: absolute;
        right: 5px;
        top: 5px;
        cursor: pointer;
}
#modalzag {
        margin-bottom: 10px;
        font-size: 26px;
        font-weight: bold;
        text-align: center;
        color: #ff4e00;
}
#modalleft {
        width: 300px;
        float: left;
        border-right: 1px solid #000000;
        margin-right: 19px;
        font-size: 13px;
        text-align: center;
        color: #000000;
}
#modalright {
        width: 300px;
        min-height: 200px;
        float: right;
        font-size: 13px;
        line-height: 16px;
}
#modalleft img{
        max-width: 300px;
        max-height: 300px; 
}
#modalform input,  #modalform textarea {
        width: 300px;
}
#modalform label {
        display: inline-block;        
        position: absolute;
        z-index: 100;
        height: 29px;
        line-height: 29px;
        margin-top: -31px;
        right: 30px;
        /*margin-left: -31px;*/        
}
#modalform label img{
        vertical-align: middle;
}
#modalloading {
        float: right;
        width: 150px;
        height: 30px;
        line-height: 30px;
        text-align: right;
        display: none;
}


.map {position: absolute; right: 10px; top: 50px; width: 700px; height: 400px;}
.kontakty {min-height: 400px;}

.toTop {display: block; position: fixed; right: 22px; bottom: 95px; width: 72px; box-sizing: border-box; border: 0px solid #000 !important; box-shadow: 0px 0px 8px #CCCCCC; height: 72px; border-radius: 50%; background: #ff0000; text-align: center; line-height: 64px; z-index: 100000;
  -moz-transform: translateY(180px) !important;
  -ms-transform: translateY(180px) !important;
  -o-transform: translateY(180px) !important;
  -webkit-transform: translateY(180px) !important;
  transform: translateY(180px) !important;
  -moz-transition: 0.3s ease;
  -o-transition: 0.3s ease;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;  
}
.toTop.active {transform: translateY(0) !important;}
.toTop img{vertical-align: middle;}

.sert {display: inline-block; width: 300px; margin-right: 10px;}

#fromurl {display: none;}


.ol {
    text-align: justify;
    clear: both;
    margin-bottom: 30px;
    clear: both;
    min-height: 225px;
}

.olimg {
    float: left;
    margin-right: 10px;
    width: 300px;
}

.ptbl {
        border-collapse: collapse;
}
.ptbl td{
        border: 1px solid #aaaaaa;
        vertical-align: middle;
        text-align: center;
}

.dogcena {font-size: 15px;}

.mmap {display: none;}

.foto{display: inline-block; vertical-align: middle; width: 280px; height: 330px; margin: 20px 18px; border: 0px !important; font-size: 15px;}
.foto {margin: 20px 14px !important;}
.foto a {border-bottom: 0px;}
.foto:nth-child(4n-3) {margin-left: 0px !important;} 
.foto:nth-child(4n) {margin-right: 0px !important;}
.foto img {width: 278px; height: 278px; margin-bottom: 10px;  border: 1px solid #1e6ba5;}
.foto_img {width: 280px; height: 280px; display: inline-block; vertical-align: middle; margin: 20px 20px;}
.foto_img img{width: 278px; height: 278px; border: 1px solid #1e6ba5;}
.foto_img:nth-child(4n-3) {margin-left: 0px !important;} 
.foto_img:nth-child(4n) {margin-right: 0px !important;}

.index_imgs {text-align: center;}
.index_imgs img {display: inline-block; margin: 10px; max-height: 150px; vertical-align: middle;}

img[src^='/img/gd'] {width: 960px;}

.foto_name {margin-top: 0px;}

.index_video {display: block; width: 1240px; height: 500px;}

#main-menu {
	padding: 0px;
        margin: 0px;
	height: 50px; /* высота подложки меню */
	width: 1240px/*90%*/; /* ширина подложки меню */
}
	#main-menu li {
		margin: 0px 0px 0px 0px; 
                padding: 0px;
                /*border-bottom: 1px solid #a1a1a1 !important;*/
	}
        #main-menu li:first-child a.level1 {
                margin-left: 0px !important;
                padding-left: 0px !important;
        }
        #main-menu li:last-child a.level1 {
                margin-right: 0px !important;
                padding-right: 0px !important;
        }
	#main-menu a {
	        font-size: 22px; 
                font-weight: normal;
		color: #ffffff !important;
                height: 50px; /* высота кнопки */
		text-align: center; /* центрируем надпись на кнопке */
		text-decoration: none;
                text-transform: uppercase;
		width: auto; /* ширина кнопки */
		/*padding: 0px 0px 0px 0px;
                margin: 0px 22px;*/
		padding: 0px 0px;
                margin: 0px 13px;                
                letter-spacing: -0.2px;
                border: 0px !important;
                line-height: 50px;
	}
                
		#main-menu a:hover {
		      color: #ffffff;
		}
		#main-menu li:hover {


		}
		#main-menu li:hover ul {
			background: #d44709;
                        border-radius: 0px;
			text-align: left; /* центрируем надпись на кнопке */
			top: 50px; /* Отступ равен высоте меню */
                        left: 50px;
		}
			#main-menu ul li {
				background: #d44709;
				margin: 0;
				/*text-align: center;*/
			}
				#main-menu ul a {
                        		font-size: 18px !important;
                                        height: 40px; 
                        		font-family: 'PT Sans', Arial, Tahoma, Helvetica, sans-serif;				    
					background: none;
					color: #000000;
					display: inline-block;
					height: auto;
					padding: 5px 15px;
                                        margin: 5px;
					white-space: nowrap;
					width: auto; /* Ширина кнопки подменю бутет зависеть от длины текста */
				}
					#main-menu ul a:hover,
					#main-menu ul li:hover {
						background: none; /* фон кнопки при наведении */
					}
					#main-menu ul a:hover {
					}
					#main-menu li ul li:hover ul {
						top: 0px; /* Отступ равен высоте меню */
					}



/* MENU ******************************************************************/

/* MENU HORIZONTAL */

.menu-h-d {
	/* Прменяется к ul */
	z-index: 60;
}
.menu-h-d,
.menu-h-d li,
.menu-h-d ul {
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
}
	.menu-h-d li {
		float: left;
	}
		.menu-h-d a {
			display: inline-block;
		}
		.menu-h-d ul {
			display: none;
		}
			.menu-h-d li:hover ul {
				display: block;
				position: absolute !important;
				left: 0;
				z-index: 70;
			}
				.menu-h-d ul li {
					float: none;
				}
					.menu-h-d ul a {
						display: inline;
					}
					.menu-h-d li:hover ul ul {
						display: none;
					}
					.menu-h-d li ul li:hover ul {
						display: block;
						left: 100%;
						margin: 0;
						padding: 0;
					}
                                        
                                        
                                        
                                        
                                        
                                        