html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; }
body { line-height: 1; }
[hidden] { display: none; }
ol, ul { list-style: none; }
table { border-collapse: collapse; border-spacing: 0; }
caption, th, td { font-weight: normal; vertical-align: middle; }
q, blockquote { quotes: none; }
q:before, q:after, blockquote:before, blockquote:after { content: ""; content: none; }
a img { border: none; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary { display: block; }
body { min-width: 760px; max-width: 1550px; background: white; color: #666666; font: 0.9em "PT Serif", Georgia, "Times New Roman", serif; margin-right: 20px; -webkit-text-size-adjust: none; -ms-text-size-adjust: none; }
h1, h2, h3, h4 { font-family: "PT Sans", sans-serif; margin-bottom: 1em; }
body:before, body:after { content: ""; display: block; position: absolute; left: 0; top: 0; width: 10px; height: 60px; background: #666666; }
::selection { background: #ff7f00; color: white; }
::-moz-selection { background: #ff7f00; color: white; }
a { -webkit-tap-highlight-color: #ff7f00; color: #006199; }
a:hover { text-decoration: none; }
a:hover, a:active { outline: none; }
a.dyn { text-decoration: none; border-bottom: 1px dashed #006199; }
a.dyn:hover { border-bottom: none; }
strong { font-weight: bold; }
em, .proj_info { font-style: italic; }
img { -ms-interpolation-mode: bicubic; max-width: 100%; height: auto; }
article { hyphens: auto; }
button { width: auto; overflow: visible; cursor: pointer; -webkit-appearance: button; }
button::-moz-focus-inner, input::-moz-focus-inner { padding: 0; border: 0; }
label, button { cursor: pointer; }
input, select { vertical-align: middle; }
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; }
th, tr, td { border: 1px solid #dfdfdf; padding: 0.35em; }

table { margin-bottom: 1em; }
td ul, .s_content td ul { margin-bottom:0; }


header { margin-bottom: 39px; overflow: hidden; }
header div, header nav, header li { float: left; }
header div { margin-top: 33px; }
header nav { overflow: hidden; margin-left: -1%; margin-top: 39px; }
#p_index header nav { margin-left: 0; }
header ul { margin-left: 50px; float: left; }
header li { display: inline; margin-right: 9px; font-size: 1.1em; }
footer { padding-top: 2em; }
#p_index footer { overflow: hidden; padding-top: 0; }
footer div { float: left; min-height: 1px; }
footer div p, footer div form { margin-left: 40px; }
footer div:first-of-type p, footer div:first-of-type form { margin-left: 80px; }
#p_index header div, #p_index footer div { width: 34%; }
#p_index footer div:last-child { width: 32%; }
#logo { margin-left: 80px; }
#entrance { float: right; font-size: 0.9em; line-height: 0.9em; text-align: right; }
#entrance img { float: right; margin: -18px 0 0 7px; }
#entrance a { display: block; margin-right: 20px; }
#sidebar { float: left; overflow: hidden; }
#sidebar ul, #sidebar form { margin-left: 80px; }
.title { display: block; overflow: hidden; margin-bottom: 28px; background: #f8b612 url(img/left_col_grad.gif) right top repeat-y; color: white; text-decoration: none; }
.title span { display: inline-block; margin-left: 80px; }
.cur_menu { margin-bottom: 27px; }
.cur_menu li { position: relative; margin-bottom: 2px; padding-left: 23px; left: -23px; background: url(img/secmenu_out.gif) bottom left no-repeat; }
.cur_menu .current { background-image: url(img/secmenu_over.gif); }
.all_menu { border-top: solid 1px #e8e8e8; }
.all_menu li { border-bottom: solid 1px #e8e8e8; padding: 11px 0 8px 0; }
.all_menu, .title span, .s_content h1, .s_news h1, #web_services h1 { font: 1.3em "PT Sans", sans-serif; -webkit-font-smoothing: antialiased; }
.title span, .s_content h1, .s_news h1 { line-height: 2.2em; } 
.all_menu a { text-decoration: none; }
.all_menu a.current { }
.s_content, .s_news { margin-left: 260px; }
h2, h3 { -webkit-font-smoothing: antialiased; }
.s_content h1, .s_news h1 { margin-bottom: 28px; color: #222; }
.s_content h2 { font-size: 1.2em; }
.s_content h3 { font-size: 1.1em; margin-bottom: 1em; }

.s_content ul { margin-bottom: 1em; }
.s_content li { margin-left: 17px; list-style: disc; }

.s_content p, .s_news p { margin-bottom: 1em; }
.s_content table p { margin-bottom: 0; }

#order h2 { font-weight: bold; }
#order p, #order h2, #order form { margin-bottom: 17px; }
#p_graphic .s_content figure { float: left; width: 33%; text-align: center; }
#p_graphic .s_content img { max-width: 100%; margin: 0 6px; }
.s_content article.hwblock { width: 50%; float: left; overflow: auto; }
.row { overflow: hidden; margin-bottom: 20px; }
.hlogo { background: #f7f7f7; border-right: solid 7px #c2c2c2; padding: 13px; }
#p_success .s_content article { overflow: hidden; margin-bottom: 2em; }
#p_success .s_content strong, #p_success .s_content p { float: left; margin-right: 300px; }
#p_success .s_content strong { display: block; margin-top: 4px; margin-bottom: 6px; font-size: 1.1em; }
#p_success .s_content figure { width: 270px; float: right; text-align: right; }
#p_success .s_content figure img { border: solid 10px #f7f7f7; }
.desc { width: 100%; margin-right: -300px; float: left; }
#p_own .hwblock p { padding: 6px 13px; }
#p_own .hwblock div { padding: 0px 13px; }
#p_own .hwblock p, #p_own .hwblock div, #p_own .hwblock .hlogo { margin-right: 25px; }

#p_sites .s_content article, #p_graphic .s_content article { margin-bottom: 2em; width: auto; }

#p_sites .s_content article.hwblock { width: 50%; }
#p_sites .s_content figure { float: left; margin: 0 15px 6px 0; border: 1px solid #e8e8e8; text-align: center; }
#p_sites .s_content img { vertical-align: top; }
#p_sites .s_content p { margin-right: 25px; }

#about { overflow: hidden; margin-bottom: 40px; }
#about div, #about article { float: left; }
#about div { width: 34%; }
#about div h2, #about div img { margin-left: 80px; }
#about div h2 { font: 1.4em "PT Sans", sans-serif; -webkit-font-smoothing: antialiased; word-spacing: -0.3ex; }
#about article { width: 66%; }
#about article p { margin: 0 0 17px 50px; }
.cont3 { overflow: hidden; }
.cont3 div { float: left; width: 33%; }
.cont3 div img, .cont3 div p, .cont3 div ul, .cont3 div h1, .cont3 div > strong, .cont3 div form { margin-left: 50px; }
.cont3 div:first-of-type { width: 34%; }
.cont3 div:first-of-type img, .cont3 div:first-of-type p, .cont3 div:first-of-type ul, .cont3 div:first-of-type h1, .cont3 div:first-of-type > strong, .cont3 div:first-of-type form { margin-left: 80px; }
#directions { margin-bottom: 29px; padding: 21px 0 23px 0; border: solid 1px red; border-left: none; background-color: #f76d02; background-image: -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, #f7b000), color-stop(14%, #f8ac00), color-stop(36%, #fb8800), color-stop(49%, #f76d02), color-stop(78%, #be1c14), color-stop(88%, #ba1716), color-stop(100%, #bb1a19)); background-image: -webkit-linear-gradient(left, #f7b000, #f8ac00 14%, #fb8800 36%, #f76d02 49%, #be1c14 78%, #ba1716 88%, #bb1a19); background-image: -moz-linear-gradient(left, #f7b000, #f8ac00 14%, #fb8800 36%, #f76d02 49%, #be1c14 78%, #ba1716 88%, #bb1a19); background-image: -o-linear-gradient(left, #f7b000, #f8ac00 14%, #fb8800 36%, #f76d02 49%, #be1c14 78%, #ba1716 88%, #bb1a19); background-image: -ms-linear-gradient(left, #f7b000, #f8ac00 14%, #fb8800 36%, #f76d02 49%, #be1c14 78%, #ba1716 88%, #bb1a19); background-image: linear-gradient(left, #f7b000, #f8ac00 14%, #fb8800 36%, #f76d02 49%, #be1c14 78%, #ba1716 88%, #bb1a19); }
.no-cssgradients #directions { background-image: url(img/directions.png); }
#directions ul { margin-top: 0.7em; }
#directions li { position: relative; left: -23px; padding-left: 23px; background: url(img/li.png) no-repeat scroll left bottom; }
#directions a { color: white; }
#directions ::selection { background: #444466; color: white; }
#directions ::-moz-selection { background: #444466; color: white; }
#directions h1, #info h1 { font-size: 1.4em; -webkit-font-smoothing: antialiased; }
#directions h1 { color: #fff; }
#info h1 { margin-bottom: 16px; font-size: 1.2em; color: #777777; word-spacing: -0.2ex; }
#info .proj_info { margin-bottom: 1.4em; }
.sub { margin-left: 0 !important; vertical-align: bottom; }
#news li { margin-bottom: 1.4em; }
#news img { float: left; vertical-align: top; margin: 3px 10px 0 0 !important; }
.proj_name { display: block; margin: 6px 0; }
#web_services { margin-top: 2em; padding-bottom: 16px; border: solid 1px #c1c1c1; border-left: none; }
#web_services h1 { text-align: center; width: 22ex; margin: 0 0 19px 80px; background: #c1c1c1; color: #fff; line-height: 1.4em; font-size: 1.1em; padding: 0.2em 0; }
html, body, #wrap { height: 100%; }
body > #wrap { height: auto; min-height: 100%; }
#main { padding-bottom: 100px; }
#p_index #main { padding-bottom: 190px; }
footer { clear: both; height: 100px; margin-top: -100px; position: relative; }
footer .lbl, footer div:first-child, footer a.url { color: #999999; text-decoration: none; }
footer:after { content: ""; display: block; position: relative; left: 80px; top: 90px; width: 80px; height: 10px; background: #dddddd; }
.all_services { width: auto !important; float: right !important; padding: 9px 26px 0 0; }
.all_services a { font-size: 0.9em; }
.all_services a, .all_services img { vertical-align: bottom; }
.all_services img { margin-left: 3px !important; }
.tel { font-size: 1.2em; }
.tel .country_code { color: #afafaf; }
.tel .city_code { color: #ff7f00; }
.tel .body { color: #b30000; }
.current a { color: #666666; text-decoration: none; }
label, input { display: block; }
label span { color: #ba1716; }
input:invalid { border-color: #ba1716; }
/* .mini input { margin: 2px 0; float: right; width: 60%; } */
/* .mini button { clear: left; padding: 3px 7px 2px; } */
/* .mini label { float: left; clear: both; width: 38%; font-size: 0.8em; padding: 5px 0; } */
input, textarea, select, .btn {
  margin: 0; outline: 0; padding: 2px;
  font-size: 100%; font-family: inherit; text-transform: none;
  line-height: normal; vertical-align: top;
  min-height: 1.9em;
  border: #eb6f02 solid 1px;
  -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;
  -webkit-appearance: none;
  -moz-background-clip: padding; -webkit-background-clip: padding; background-clip: padding-box;
  -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
}
.btn {
  display: inline-block;
  vertical-align: top;
  width: auto;
  overflow: visible;
  line-height: 1.2em;
  color: #fafafa;
  padding-left: 0.8em; padding-right: 0.8em;
  text-align: center;
  text-decoration: none !important;
  background-color: #f7ae00; background-image: -webkit-gradient(linear, left top, left bottom, from(#f7ae00), to(#f86f02)); background-image: -webkit-linear-gradient(top, #f7ae00, #f86f02); background-image: -moz-linear-gradient(top, #f7ae00, #f86f02); background-image: -ms-linear-gradient(top, #f7ae00, #f86f02); background-image: -o-linear-gradient(top, #f7ae00, #f86f02); background-image: linear-gradient(to bottom, #f7ae00, #f86f02);
  text-shadow: #f86f02 0 1px 0;
}

button[disabled], html input[disabled] { cursor: default; }
input:focus, textarea:focus, .btn:focus, .btn:hover { border: #f7ae00 solid 1px; -webkit-box-shadow: 0 0 6px #f7ae00; -moz-box-shadow: 0 0 6px #f7ae00; box-shadow: 0 0 6px #f7ae00; outline: 0; outline: thin dotted \9; }
textarea { resize: vertical; }
.btn:active { background: #f7ae00; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; }
#order_form label, #order_form input, #order_form fieldset { width: 60%; margin-bottom: 3px; }
#js-whois-form input:first-of-type { width: 40%; }
#js-whois-form select { width: 25%; }
.oneline input, .oneline select, .oneline button { float: left; margin-right: 0.5em; }
.checkboxes div { float: left; width: 50%; }
.checkboxes input { float: left; }
.checkboxes input, .checkboxes label { width: auto !important; }
.submit { width: 100% !important; text-align: center; margin-top: 3px; }
.pwork h2 { color: #ba1817; font-size: 1.2em; margin: 0 0 14px; border-bottom: 1px solid #ba1817; }
.pwork h3 { margin-top: 1em; font-weight: bold; }
.pwork img { border: 10px solid #f7f7f7; max-width: 100%; }
.pwork figcaption { text-align: center; margin-top: 10px; }
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background: transparent; }
#l_do { color: #ffad00; }
#l_promotion { color: #ff5d00; }
#l_hosting { color: #c90000; }

.std-table td, .std-table tr { border: none; }
.std-table td { border: #fefefe solid 2px; border-top: none; border-bottom: none; }
.std-table tr:first-child { font-family: "PT Sans", sans-serif; }
.std-table tr:nth-child(odd) { background: #fefefe; }
.std-table tr:nth-child(even) { background: #f9f9f9; }
.std-table td:first-child { border-left: none; font-weight: bold; color: #888888; }
.std-table td:last-child { border-right: none; }

#tariffs_h { text-align: center; font-size: 1.2em; margin-bottom: 0.4em; }
#tariffs td:nth-child(3) { font-size: 1.2em; border-color: #ff7f00; border-width: 3px; }
#tariffs tr:first-child td:nth-child(3) { border-top: #ff7f00 solid 3px; }
#tariffs tr:last-child td:nth-child(3)  { border-bottom: #ff7f00 solid 3px; }
#tariffs tr:nth-child(even) td:nth-child(3) { background: #fbf3e9; }
#tariffs tr:first-child { color: #b30000; }
#domains td { padding-left: 1em; padding-right: 1em; }

.cf:before, .cf:after { content: ""; display: table; }
.cf:after { clear: both; } 
.cf { *zoom: 1; }

header div, #sidebar, footer div, .title { width: 220px; }

#feedback { background: #f4f4f4; padding: 0 0.5em 0.5em; z-index: 999; }
#feedback input, #feedback textarea { width: 100%; margin-bottom: 1em; }
#feedback textarea { min-height: 4em; }
#feedback input[type=submit] { width: auto; padding: 0.3em 0.6em; margin: 0 auto; display: block; opacity: 0.9; }
#feedback input[type=submit]:hover { opacity: 1; }
#feedback h1 { margin: 0.5em 0 0.8em; font-size: 1.2em; }
#closefeedback { display: none; float: right; color: #bb1a19; margin-top: 11px; }
#p_index #feedback { display: none; position: fixed; bottom: 0; z-index: 100500; -webkit-box-shadow: 0px 3px 8px #747474; -moz-box-shadow: 0px 3px 8px #747474; box-shadow: 0px 3px 8px #747474;}

@media screen and (min-height: 600px) and (min-width: 900px) {
  #feedback { position: fixed; bottom: 0; }
  footer div:nth-of-type(3) { width: auto; text-align: right; position: absolute; right: 0; }
}

@media screen and (min-width: 900px) {
  footer div:nth-of-type(2) { width: 380px; }
  header li { margin-right: 13px; padding-right: 13px; background: url(img/sub.gif) right bottom no-repeat; }
  header div, #sidebar, footer div, .title { width: 320px; }
  .s_content, .s_news { margin-left: 360px; }
  .s_content { max-width: 550px; }
}

@media screen and (min-width: 1120px) {
  header li { margin-right: 19px; padding-right: 19px; }
  /* body { font-size: 16px; } */
  header nav { width: 66%; }
  #js-whois-form select { width: 22%; }
  .s_content { margin-left: 40px; float: left; }
  .s_news { margin-left: 930px; }
}

@media screen and (min-width: 1330px) {
  body { font-size: 16px; }
  .s_content { max-width: 700px; }
  .s_news { margin-left: 1090px; }
}

@media screen and (max-width: 640px) {
  body { min-width: 320px; }
  .cont3 div { float: none; }
  .cont3 div, .cont3 div:first-of-type, header nav { width: 100%; }
  header div, #sidebar, footer div, .title { width: 100% !important; }
  #logo, #web_services h1, .cont3 div img, .cont3 div p, .cont3 div ul, .cont3 div h1, .cont3 div > strong, .cont3 div form,
  .cont3 div:first-of-type img, .cont3 div:first-of-type p, .cont3 div:first-of-type ul, .cont3 div:first-of-type h1, .cont3 div:first-of-type > strong, .cont3 div:first-of-type form,
  footer div:first-of-type p, footer div p, #about div h2, #about div img, #about article p, header nav, #p_index header nav, .s_content, .s_news, #sidebar ul, .title span { margin-left: 10%; }
  header ul, #entrance { margin-left: 0; }
  #about article { margin-top: 1em; }
  #directions h1, #info h1 { margin-top: 1.5em; }
  #directions li { margin-bottom: 0.4em; }
  #directions div:last-child { margin-bottom: 1.5em; }
  #web_services p { margin-bottom: 1em; }
  #p_index header div, #p_index footer div { width: 100%; float: none; }
  #p_index #main { padding-bottom: 2em; }
  #p_sites .s_content article.hwblock, #about div, #about article { float: none; width: 100%; }
  header li { float: none; display: block; margin-bottom: 0.4em; font-size: 1.3em; }
  #entrance { float: left; clear: both; line-height: 1em; font-size: 1em; text-align: left; }
  footer { height: auto; margin: 0; padding-bottom: 20px; overflow: hidden; }
  footer:after { left: 10% !important; top: auto !important; bottom: 0 !important; position: absolute; }
  .s_content { clear: both; }
  .s_content h1 { font-size: 1.4em; padding-top: 1.5em; }
  .s_content article { width: auto; }
  .s_content article.hwblock { width: 100%; float: none; }
}

@media (-webkit-min-device-pixel-ratio: 0) {
  select {
    -webkit-appearance: none;
    background-image: url(data:image/png;base64,R0lGODlhDQAEAIAAAAAAAP8A/yH5BAEHAAEALAAAAAANAAQAAAILhA+hG5jMDpxvhgIAOw==);
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 20px;
  }
}

@-ms-viewport { width: device-width; }
@viewport { width: device-width; }

@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; }
  @page { margin: 0.5cm; }
  a[href]:after { content: " (" attr(href) ")"; }
  a[href^="/"]:after { content: " (http://wm.ru" attr(href) ")"; }
  a[href^="javascript:"]:after, a[href^="#"]:after, footer .url a:after { content: "" !important; }
  abbr[title]:after, dfn[title]:after { content: " (" attr(title) ")"; }
  img, pre, blockquote { page-break-inside: avoid; }
}
