@charset "utf-8";
@media screen and (max-width: 1535px) {#top-link{display:none;}}
@media screen and (max-width: 1280px) {
	.wrapper { width: 1220px; }
	.wrapperm { width: 1220px; }
	header .logo { width: 200px; }
	header .center { width: 665px; padding: 0 0 0 80px; }	
}

@media screen and (max-width: 1024px) {
	.wrapper { width: 1000px; }
	.wrapperm { width: 1000px; }
	header .center { width: 600px; padding: 0; }
	/*header .center .search .lupa { left: 94px; }*/
	header .info { width: 190px; height: auto; background: #fafafa; background: -moz-linear-gradient(top,  #fafafa 0%, #e3e3e3 100%); background: -webkit-linear-gradient(top,  #fafafa 0%,#e3e3e3 100%); background: linear-gradient(to bottom,  #fafafa 0%,#e3e3e3 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fafafa', endColorstr='#e3e3e3',GradientType=0 ); color: #826749; font-family: calibry, verdana; font-size: 12px; padding: 10px 5px; box-shadow: 0 0 5px #666; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px; -moz-border-radius-bottomright: 5px; -moz-border-radius-bottomleft: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; margin: 0 0 20px; }
	header .info #phones { margin: 0; }
	header .info #phones .bigger { font-size: 16px; }
	header .info #e-mail { margin: 5px 0 0; }
	header .info #adress { margin: 10px 0 0; text-align: right; }
	header .info #skype { margin: 5px 0 0 0; text-align: right; }
	#middle .left { float: left; width: 80%; }
	#middle .right { float: right; width: 20%; }
	#middle .left_menu { float: left; width: 24%; }
	#middle .mid { float: right; width: 76%; }
}

@media screen and (max-width: 768px) {
	html { -webkit-text-size-adjust: none; }
	.wrapper { width: 740px; }
	.wrapperm { width: 740px; }
	header .center { width: 540px; padding: 0; }
	header .center .icons { text-align: right; }
	header .center .icons a { margin: 0 12px; }
	header .center .search { text-align: right; }
	header .info { width: 82%; margin: 0 6% 30px; text-align: center; padding: 3%; border-radius: 6px; -webkit-border-radius: 6px; -moz-border-radius: 6px; }
	header .info .inner { display: inline-block; width: 200px; }
	.toggleMenu { max-width: 100%; padding: 10px 0px!important; list-style: none; background: url(../images/bgMenuTop.png) left top no-repeat; background-size: contain; width: 675px; margin: 0 auto 25px; font: normal 26px 'Palatino Linotype'; color: #712a21; text-decoration: none; z-index: 2; }
	.active { display: block; }
	.nav { padding: 0; list-style: none; background: #fafafa; background: -moz-linear-gradient(top,  #fafafa 0%, #e3e3e3 100%); background: -webkit-linear-gradient(top,  #fafafa 0%,#e3e3e3 100%); background: linear-gradient(to bottom,  #fafafa 0%,#e3e3e3 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fafafa', endColorstr='#e3e3e3',GradientType=0 ); top: -30px; z-index: 1; position: relative; width: 88%; margin: 0 auto; border-radius: 5px; }
    .nav > li { float: none; display: block; padding: 0; text-align: center; font: normal 26px 'Palatino Linotype'; color: #000; }
	.nav > li > a { display: block; padding: 5px 0; border-top: 1px solid #cccccc; width: 100%;  }
	.nav > li:first-child > a { border: none; }
    .nav > li > .parent { }
    .nav li li .parent { }
    .nav ul { display: block; width: 100%; }
    .nav > li.hover > ul , .nav li li.hover ul { position: static; }
	.nav > li.hover > ul { left: 0; top: 0; margin: 0; padding: 0; background: #e6e6e6; -moz-border-radius: 0px; border-radius: 0px; border: none; }
	.nav li li { -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; }
	.nav li li a { border-top: 1px solid #cccccc; font-size: 18px; color: #712a21; padding: 15px; }
	.nav li li a:hover { background: #5e0000; border-top: 1px solid #8c0101; color: #ffffff; }
	.nav li li.hover ul { left: 0; background: #cecece; -moz-border-radius: 0px; border-radius: 0px; }
	.nav li li li { -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; }
	.nav li li li a { border-top: 1px solid #adadad; font-size: 14px; color: #712a21; padding: 15px; }
	.nav li li li a:hover { background: #3d0101; border-top: 1px solid #5e0000; color: #ffffff; }
	#middle .left { float: none; width: 100%; margin: 0 0 50px; }
	#middle .right { float: none; width: 100%; }
	#middle .left_menu { float: none; width: 100%; }
	#middle .mid { float: none; width: 100%; margin: 0 0 50px; }
	#middle .subMenu { width: 94%; margin: 0 auto; }
	#middle .subMenu ul li { display: block; text-align: center; padding: 5px; margin: 0 10px; }
	#middle .subMenu ul li a { font: normal 18px 'Pt Serif'; }
	#middle table.bg { margin: -40px 0 0; }
	#middle .blockButton { width: 100%; }
	#middle .blockButton div.box { width: 100%; text-align: center; margin: 0 0 19px; }
	#middle .blockButton div.box table { width: 100%; text-align: center; }
	#middle .blockButton div.box .title { width: 100%; }
	#middle .blockButton div.box .title a { font: normal 19px 'PT Sans'; }
	#middle .blockButton div.box .info { font: italic 15px 'PT Sans'; }
	#footer { width: 100%; background: url(../images/footer.png) center top no-repeat; background-size: cover; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; }
	#footer #footer_menu { width: 100%; }
	#footer #footer_menu a { margin: 0; }
	#footer #footer_left { font-size: 14px; }
	#footer #footer_right { font-size: 14px; }
    #reformal_tab img { display: none; }
	.address_map iframe {width: 100%;}
}

@media screen and (max-width: 736px) {
	.wrapper { width: 700px; max-width: 100%;}
	.wrapperm { width: 650px; max-width: 100%;}
	header .center { width: 500px; }
	header .center .search .lupa { left: 95px; }
	header .center .search input[type="text"] { width: 290px; }
	header .info { width: 86%; margin: 0 4% 30px; }
    #reformal_tab img { display: none; }
}

@media screen and (max-width: 667px) {
	.wrapper { width: 630px; max-width: 100%; }
	.wrapperm { width: 100%; }
	header { height: auto; min-height: 190px; }
	header .logo { width: 100%; line-height: 100px; text-align: center; padding: 50px 0 0; }
	header .center { text-align: center; width: 100%; margin: 0 0 30px; }
	header .center .icons { margin: 30px 0 0; text-align: center; }
	header .center .search { text-align: center; width: 100%;}
	header .center .search .lupa { left: -10px !important; }
	header .center .search input[type="text"] { width: 330px; }
	header .info { width: 94%; margin: 0 0 30px; }
	.toggleMenu { padding: 27px 0px; background: url(../images/bgMenuTop.png) center top no-repeat; background-size: 100% auto; -webkit-background-size:  100% auto; -moz-background-size:  100% auto; -o-background-size:  100% auto; width: 100%; margin: 0 auto!important; font: normal 26px 'Palatino Linotype'; color: #712a21; text-decoration: none; z-index: 2; }
	.nav { width: 96%; top: -15; }
	#middle { top: 20px; }
	#footer { overflow: hidden; }
	#footer #footer_left { left: 20px; }
	#footer #metrika_counter { display: none; }
	#footer #footer_right { right: 20px; }
    #reformal_tab img { display: none; }
}

@media screen and (max-width: 568px) {
	.wrapper { width: 520px; max-width: 100%; }
	header .center .search .lupa { left: 55px; }
	.toggleMenu { padding: 20px 0px; margin: 0 0 20px; font: normal 26px 'Palatino Linotype'; }
	.nav { width: 96%; top: -15; }
	#content { margin-top: 0; width: 100%; }
	#content h1 { line-height: 22px; padding: 10px 0 20px; }
	#content td { width: 46%; padding: 10px 2%; }
	#middle .subMenu { width: 100%; margin: 0 auto; }
	#middle .subMenu ul li a { font: normal 14px 'Pt Serif'; }
	#middle table.bg tr td.TL { display: none; }
	#middle table.bg tr td.TC { padding: 8px 0 0; width: 100%; }
	#middle table.bg tr td.TR { display: none; }
	#middle table.bg tr td.CL { display: none; }
	#middle table.bg tr td.CR { display: none; }
	#middle table.bg tr td.BL { display: none; }
	#middle table.bg tr td.BR { display: none; }
	#middle .blockButton div.box .title a { font: normal 15px 'PT Sans'; }
	#middle .blockButton div.box .info { font: italic 12px 'PT Sans'; }
	#menu li { padding: 0px 40px; }
    #reformal_tab img { display: none; }
	.customers_and_partners .img_partners-block {width: 80%;float: none;margin: 0 auto;margin-bottom: 20px;}
	.text_partners-block {text-align: center;}
	#content .td {/*width: 77%;*/ display: table-cell; width: 50%;}
}

@media screen and (max-width: 480px) {
	.wrapper { width: 440px; max-width: 100%;}
	header .center .search .lupa { left: 35px; }
	.toggleMenu { padding: 20px 0px; margin: 0 0 30px; font: normal 18px 'Palatino Linotype'; }
	.nav li li a { border-top: 1px solid #cccccc; font-size: 16px; color: #712a21; padding: 10px; }
	.nav li li li a { border-top: 1px solid #adadad; font-size: 14px; color: #712a21; padding: 10px; }
    #middle .blockButton div.box .title a { font: normal 19px 'PT Sans'; color: #757575; }
	#middle .blockButton div.box .info { font: italic 15px 'PT Sans'; }
	#footer #footer_left { font-size: 16px; width: 100%; text-align: center; left: 0; }
	#footer #footer_right { display: none; }
	#menu ul ul { left: 200px; }
    #content p { font-size: 16px; }
    #reformal_tab img { display: none; }
}

@media screen and (max-width: 420px) {
	.wrapper { width: 380px; max-width: 100%;}
	header .center .search .lupa { left: 5px; }
	header .center .search input[type="text"] { width: 250px; }
	.toggleMenu { padding: 20px 0px; margin: 0 0 30px; font: normal 18px 'Palatino Linotype'; }
    #reformal_tab img { display: none; }
}

@media screen and (max-width: 380px) {
	.wrapper { width: 340px; max-width: 100%;}
	header .center .search input[type="text"] { width: 210px; }
	.toggleMenu { padding: 15px 0px; margin: 0 0 30px; font: normal 14px 'Palatino Linotype'; line-height: 30px; text-transform: uppercase; }
	#footer #footer_menu a { margin-right: 10px; }
    #reformal_tab img { display: none; }
}

@media screen and (max-width: 320px) {
	.wrapper { width: 300px; max-width: 100%;}
	header .center .search input[type="text"] { width: 170px; }
	.toggleMenu { padding: 15px 0px; margin: 0 0 30px; font: normal 14px 'Palatino Linotype'; line-height: 26px; text-transform: uppercase; }
	#content td strong { font-size: 14px; }
	#footer #footer_menu a { margin-left: 5px; margin-right: 5px; font-size: 16px; }
    #reformal_tab img { display: none; }
}