body {
    margin: 0;
    padding: 0;
    background: white; /*overflow-y: scroll;*/
    *overflow-y: inherit;
}

body, input, textarea, select {
    font: 12px/1.2em Arial, Helvetica, sans-serif;
    color: #121212;
}

article, aside, details, figcaption, figure, dialog, footer, header, hgroup, menu, nav, section {
    margin: 0;
    padding: 0;
    display: block;
}

form {
    margin: 0;
}

h3, h4, h5, h6 {
    font-weight: normal;
}

h2, h3, h4, h5, h6, p, ul, ol, dl, address {
    margin: 1em 0;
}

h1 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
    line-height: 1em;
}

h2 {
    font-size: 24px;
    line-height: 1em;
    font-weight: bold;
}

h3 {
    font-size: 16px;
    line-height: 1em;
    font-weight: bold;
}

h4 {
    font-size: 1em;
    font-weight: bold;
}

h5 {
    font-size: 1em;
    font-weight: bold;
}

h6 {
    font-size: 1em;
}

blockquote:before, blockquote:after, q:before, q:after {
    content: '';
}

blockquote, q {
    quotes: "" "";
}

img {
    vertical-align: top;
}

a img {
    border: none;
    vertical-align: middle;
}

:focus {
    outline: 0;
}

a:focus, a[href]:hover {
    text-decoration: none;
}

a {
    color: #d62429;
    text-decoration: underline;
}

blockquote {
    margin: 1.5em;
    font-style: italic;
}

strong, dfn {
    font-weight: bold;
}

em, dfn {
    font-style: italic;
}

sup, sub {
    line-height: 0;
}

abbr, acronym {
    border-bottom: 1px dotted #666;
}

address {
    font-style: italic;
}

del {
    color: #666;
}

pre {
    margin: 1.5em 0;
    white-space: pre;
}

pre, code, tt {
    font: 1em 'andale mono', 'lucida console', monospace;
    line-height: 1.5;
}

ul, ol, dd {
    padding-left: 1.5em;
    margin-left: 0;
}

ul {
    list-style-type: disc;
}

ol {
    list-style-type: decimal;
}

dt {
    font-weight: bold;
}

table {
    border-collapse: separate;
    border-spacing: 0;
}

th {
    font-weight: bold;
}

thead th {
    text-align: center;
}

th, td, caption {
    padding: 2px;
}

tfoot {
    font-style: italic;
}

caption {
    background: #eee;
}

fieldset {
    padding: 0;
    border: none;
}

fieldset, input, textarea, select {
    margin: 0;
    vertical-align: top;
}

textarea {
    resize: none;
}

select {
    padding: 3px;
}

option {
    padding: 0 6px;
}

input[type=text], input[type=url], input[type=password], textarea {
}

input[type=submit], input[type=button], button {
}

input[type=submit]:hover, input[type=button]:hover, button:hover {
}

.error {
    color: red;
}

.hidden {
    display: none;
}

ul.list {
    margin: 0;
    padding: 0;
    list-style: none;
}

ul.list > li {
    margin: 1em 0;
}

.cols, .grid {
    display: table;
}

.cols > .row, .grid > .row {
    display: table-row;
}

.cols .col, .grid .cell {
    display: table-cell;
}

.cols .col {
    vertical-align: top;
}

.grid .cell {
    vertical-align: middle;
}

.animated {
    overflow: hidden;
    position: relative;
}

/*->flowpanes---------------------------------------------------------------*/
.flowpanes {
    position: relative;
}

.flowpanes .browse {
    float: left;
    margin: 0 15px 0 0;
    width: 20px;
    height: 28px;
    background: url(../images/browse.png) no-repeat 0 0;
    overflow: hidden;
    text-indent: -1000em;
    cursor: pointer;
}

.flowpanes .browse.next {
    float: right;
    margin-right: 0;
    margin-left: 15px;
    background-position: 100% 0;
}

.flowpanes .browse.disabled {
    cursor: default;
}

.flowpanes .panes {
    position: relative;
    overflow: hidden;
}

.flowpanes .panes > ul {
    margin: 0;
    padding: 0;
    list-style: none;
    position: absolute;
    width: 10000em;
    height: 100%;
}

.flowpanes .panes > ul > li {
    float: left;
    height: 100%;
    text-align: center;
    cursor: pointer;
}

.flowpanes .panes > ul > li:before {
    display: none;
}

.flowpanes .navi {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin-top: 4px;
    text-align: center;
}

.flowpanes .navi a {
    display: inline-block;
    margin: 0 1px;
    position: relative;
    text-align: left;
    text-indent: -1000em;
    background-color: #1e2320;
    width: 14px;
    height: 14px;
}

/*->browse------------------------------------------------------------------*/
#browse {
    position: fixed;
    top: 50%;
    width: 1200px;
    max-width: 100%;
    z-index: 20;
}

#browse span {
    float: left;
    text-align: right;
}

#browse .next {
    float: right;
    text-align: left;
    margin-top: -40px;
}

#browse a {
    position: absolute;
    top: 50%;
    width: 80px;
    height: 0;
    padding-top: 80px;
    margin: 0 0 0 -30px;
    text-indent: 1000em;
    overflow: hidden;
    background-color: rgba(0, 0, 0, .6);
    -moz-border-radius: 40px;
    -webkit-border-radius: 40px;
    border-radius: 40px;
    z-index: 8;
}

#browse .next a {
    margin-left: -50px;
    text-align: left;
    text-indent: -1000em;
}

#browse span:hover a {
    background-color: rgba(0, 0, 0, .9);
}

#browse a:before {
    content: '';
    position: absolute;
    top: 26px;
    left: 28px;
    width: 20px;
    height: 28px;
    background: url(../images/browse.png) no-repeat 0 1px;
    overflow: hidden;
    text-indent: -1000em;
}

#browse .next a:before {
    background-position: 100% 0;
    left: auto;
    right: 28px;
}

#browse a:after {
    content: '';
    position: fixed;
    display: block;
    top: 0;
    height: 100%;
    width: 100%;
    margin-left: -100%;
    background: url(../images/blank.gif);
}

#browse .next a:after {
    margin-left: 80px;
}

#browse .clone {
    content: '';
    position: fixed;
    display: block;
    top: 0;
    height: 100%;
    width: 100%;
    margin-left: -100%;
    background: url(../images/blank.gif);
}

#browse .next .clone {
    margin-left: 0;
}

#browse span:hover .clone {
    background: none;
}

/*->page--------------------------------------------------------------------*/
html, body {
    height: 100%;
}

#page {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-width: 1240px;
    min-height: 100%;
    height: auto !important;
    height: 100%;
    background-color: white;
}

.layout {
    width: 1200px;
    margin: 0 auto;
}

header {
    position: relative;
    z-index: 30;
}

header:after, header .layout:after, #content:after, footer:after, nav ul:after, menu:after {
    content: '';
    clear: both;
    display: block;
    height: 0;
    overflow: hidden;
    visibility: hidden;
}

header, footer {
    background-color: black;
}

header, footer, header:before, header a, footer a, header a:hover, header a:focus {
    color: white;
}

header > *, footer > * {
    position: relative;
}

/*->header------------------------------------------------------------------*/
header {
    padding: 14px 0;
}

.detail header {
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
}

#logo {
    float: left;
    width: 215px;
    height: 52px;
    margin: 0;
    overflow: hidden;
    text-align: left;
}

#logo img {
    width: 100%;
}

/*->nav---------------------------------------------------------------------*/
nav ul, header menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

nav {
    float: left;
    margin: 17px 0 17px 80px;
    font-size: 16px;
    line-height: 18px;
}

nav > ul > li, header menu li {
    float: left;
    margin-left: 30px;
    height: 18px;
}

nav > ul > li:first-child, header menu li:first-child {
    margin-left: 0;
}

nav a, header menu a, nav li > strong {
    display: inline-block;
}

nav > ul > .active > a, nav > ul > li > strong {
    padding: 5px 10px;
    z-index: 5;
    margin: -5px -8px -6px;
    font-weight: normal;
    background-color: #bc0500;
    -webkit-border-top-left-radius: 5px;
    -moz-border-radius-topleft: 5px;
    border-top-left-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -moz-border-radius-bottomright: 5px;
    border-bottom-right-radius: 5px;
}

nav > ul > li > strong {
    cursor: default;
}

nav > ul > li > a {
    text-decoration: none;
}

nav > ul > li > a:after {
    content: '';
    clear: both;
    display: block;
    border-bottom: 1px solid white;
    height: 0;
    overflow: hidden;
    margin-bottom: -1px;
}

nav > ul > .active > a:after {
    display: none;
}

nav ul .project_links {
    position: absolute;
    display: block;
    margin-top: 14px;
    left: 0;
    right: 0;
    top: 100%;
}

nav ul .project_links:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 100%;
    background-color: rgba(25, 25, 25, .9);
    margin: 0 -1000em;
    z-index: -1;
}

nav ul .project_links:after {
    content: '';
    display: block;
    clear: both;
}

nav ul .project_links .menu_left_block {
    float: left;
    width: 50%;
    padding-top: 60px;
    padding-bottom: 20px;
}
nav ul .project_links .menu_right_block {
    float: right;
    width: 50%;
    padding-top: 60px;
    padding-bottom: 20px;
}
nav ul .project_links .menu_list_block {
    /*margin-bottom: 40px;*/
    margin-bottom: 30px;
}

nav ul .project_links .menu_list_block .menu_list_title {
    /*margin-bottom: 21px;*/
    margin-bottom: 10px;
}

nav ul .project_links .menu_list_block .title_icon {
    display: inline-block;
    vertical-align: top;
    width: 43px;
    height: 37px;
    background: url(../images/menu_icons.png);
    position: relative;
    top: -3px;
}

nav ul .project_links .menu_list_block .title_link {
    display: inline-block;
    vertical-align: top;
    /*font-size: 31px;*/
    font-size: 26px;
    text-decoration: none;
    border-bottom: 2px solid #ba0c11;
    color: #ffffff;
    padding-bottom: 5px;
    line-height: 1;
}

nav ul .project_links .menu_list_block .title_link:hover {
    text-decoration: none;
    border-color: #ffffff;
}

nav ul .project_links .menu_list_block .menu_list {
}

nav ul .project_links .menu_list_block ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul .project_links .menu_list_block li {
    margin: 5px 0;
    padding-left: 53px;
}

nav ul .project_links .menu_list_block .list_link {
    color: #878787;
    text-decoration: none;
    border-bottom: 1px solid #878787;
    font-size: 14px;
}
nav ul .project_links .menu_list_block .list_link:hover {
    color: #ffffff;
    text-decoration: none;
    border-color: transparent;
}

nav ul .project_links .menu_list_block.automation_system .title_icon {
    background-position: 0px 0px;
}
nav ul .project_links .menu_list_block.create_sites .title_icon {
    background-position: 0px -111px;
}
nav ul .project_links .menu_list_block.support_sites .title_icon {
    background-position: 0px -37px;
}
nav ul .project_links .menu_list_block.internet_reclame .title_icon {
    background-position: 0px -74px;
}
nav ul .project_links .menu_list_block.leveling_reviews .title_icon {
    background-position: 0px -148px;
}


nav ul .project_links .menu_left_block {
    display: none;
}
nav ul .project_links .menu_right_block {
    display: none;
}

header menu {
    float: right;
    margin: 18px 0;
    font-size: 14px;
    line-height: 16px;
}

header menu li {
    margin-left: 15px;
}

header menu li.sep {
    margin-left: 45px;
}

header menu a {
    text-decoration: none;
    border-bottom: 1px solid white;
}

header menu .live {
    margin-left: 20px;
}

header menu .blog {
    margin-left: 25px;
}

header menu .ftp {
    margin-left: 27px;
}

header menu .vk, header menu .fb {
    width: 15px;
    height: 14px;
    margin: 2px 0;
    overflow: hidden;
    background: url(../images/icons.png) no-repeat -59px -2px;
    border-bottom: none;
    text-align: left;
    text-indent: -1000em;
}

header menu .twitter {
    width: 14px;
    height: 14px;
    margin: 2px 0;
    overflow: hidden;
    background: url(../images/twitter.png) no-repeat 0 0;
    border-bottom: none;
    text-align: left;
    text-indent: -1000em;
}

header menu .fb {
    background-position: -77px -2px;
}

header menu a:hover, nav > ul > li > a:hover:after {
    border-bottom-color: #bc0500;
}

header menu .live:before, header menu .blog:before, header menu .ftp:before {
    content: '';
    position: absolute;
    margin: 1px 0 0 -17px;
    width: 0;
    height: 18px;
    background: url(../images/icons.png) no-repeat 18px 18px;
    overflow: hidden;
    text-align: left;
    text-indent: -1000em;
}

header menu .live:before {
    width: 6px;
    background-position: -47px 0;
    margin-left: -15px;
}

header menu .blog:before {
    width: 12px;
    background-position: -23px 0;
    margin-left: -20px;
}

header menu .ftp:before {
    width: 15px;
    background-position: 0 0;
    margin-left: -22px;
}

header menu .vk:before, header menu .fb:before, header menu .vk:after, header menu .fb:after {
    display: none;
}

header menu .twitter:before, header menu .twitter:after {
    display: none;
}

/*->content-----------------------------------------------------------------*/
#content {
    padding-bottom: 80px;
    font-size: 14px;
    line-height: 20px;
}

.detail #content {
    padding-top: 80px;
}

/*->footer------------------------------------------------------------------*/
footer {
    position: absolute;
    bottom: 0;
    z-index: 10;
    width: 100%;
    padding: 33px 0;
    line-height: 14px;
    text-align: right;
}

footer a {
    display: inline-block;
    vertical-align: top;
    text-decoration: none;
    cursor: default;
    white-space: nowrap;
}

footer a[href] {
    cursor: pointer;
}

footer a[href]:after {
    content: '';
    clear: both;
    display: block;
    border-bottom: 1px solid white;
    height: 0;
    overflow: hidden;
    margin-bottom: -1px;
}

footer .active a:after {
    visibility: hidden;
}

footer a[href]:hover:after {
    border-bottom-color: #bc0500;
}

footer menu {
    float: left;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
    z-index: 11;
}

footer menu li {
    float: left;
    margin-left: 38px;
}

footer menu li:first-child {
    margin-left: 18px;
}

footer menu a:before {
    content: '';
    float: left;
    margin: 2px 0 0 -18px;
    width: 10px;
    height: 10px;
    overflow: hidden;
    text-align: left;
    text-indent: -1000em;
    -webkit-border-top-left-radius: 5px;
    -moz-border-radius-topleft: 5px;
    border-top-left-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -moz-border-radius-bottomright: 5px;
    border-bottom-right-radius: 5px;
}

footer menu a.communication:before {
    background-color: #b20000;
}

footer menu a.advertising:before {
    background-color: #ffcc33;
}

footer menu a.studio:before {
    background-color: #47d7fb;
}

footer menu a.press:before {
    background-color: #8f8f8f;
}

#copy {
    margin: 0;
}

/*->about-------------------------------------------------------------------*/
.about:after {
    content: '';
    display: block;
    clear: both;
    overflow: hidden;
    height: 0;
}

.about {
    position: relative;
    margin: 40px 0 260px;
    padding: 35px 40px;
    z-index: 20;
    background-color: white;
    -webkit-border-top-left-radius: 18px;
    -moz-border-radius-topleft: 18px;
    border-top-left-radius: 18px;
    -webkit-border-bottom-right-radius: 18px;
    -moz-border-radius-bottomright: 18px;
    border-bottom-right-radius: 18px;
    -moz-box-shadow: 5px 5px 0 rgba(0, 0, 0, .1);
    -webkit-box-shadow: 5px 5px 0 rgba(0, 0, 0, .1);
    box-shadow: 5px 5px 0 rgba(0, 0, 0, .1);
}

.about h1 {
    margin: 0;
}

.about p {
    margin: 1.5em 0 0;
}

.about h1 + p {
    margin-top: 1em;
}

.about a {
    display: inline-block;
    color: #121212;
    text-decoration: none;
    vertical-align: top;
}

.about a:after {
    content: '';
    display: block;
    margin: -2px 0 0;
    height: 0;
    overflow: hidden;
    border-bottom: 1px solid #121212;
}

.about a:hover:after {
    border-color: #ff0000;
}

.about .button {
    position: absolute;
    display: block;
    text-indent: -9999px;
    width: 34px;
    height: 22px;
    background: url(../images/buttons.gif) no-repeat 0 0;
    right: 20px;
    top: 13px;
}

.about .button:after {
    border-bottom: 0 !important;
}

.about .open {
    background: url(../images/buttons.gif) no-repeat 0 -22px;
    border-bottom: 0 !important;
    right: auto;
    left: 50%;
    margin-left: -17px;
}

.closed-section {
    padding: 23px 40px;
}

.about .main {
    float: left;
    width: 500px;
}

.about aside {
    float: right;
    width: 620px;
}

.about aside .block {
    float: left;
    margin-left: 80px;
    width: 230px;
}

.about aside .block.support {
    clear: both;
    margin-top: 30px;
    width: 540px;
}

.about aside .block.support p {
    margin-top: 1em;
}

.about aside h2 {
    margin: 0;
    position: relative;
}

.about aside h2 em {
    position: absolute;
    left: 0;
    bottom: 100%;
    color: #9f9f9f;
    font-size: 14px;
    line-height: 20px;
    font-style: normal;
    font-weight: normal;
}

.about aside h2 a {
    display: inline-block;
    position: relative;
}

.about aside h2 a.current {
    cursor: default;
}

.about aside h2 a:after {
    margin: 1px 0 -3px;
    border-bottom: 2px dashed #121212;
}

.about aside h2 a.current:after {
    display: none;
}

.about aside .addr {
    margin: 1em 0;
    font-style: normal;
}

.about aside .tel {
    font-size: 18px;
    font-weight: normal;
}

.map {
    position: absolute !important;
    z-index: 15 !important;
    left: 0;
    top: 80px;
    bottom: 80px;
    right: 0;
}

.map.current {
    z-index: 16 !important;
}

.map-tip {
    position: relative;
    padding: 30px 35px;
    margin: -165px 0 0 -20px;
    background-color: #272727;
    font: 15px Arial, Helvetica, sans-serif;
    color: white;
    -webkit-border-top-left-radius: 10px;
    -moz-border-radius-topleft: 10px;
    border-top-left-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
    -moz-border-radius-bottomright: 10px;
    border-bottom-right-radius: 10px;
    -moz-box-shadow: 5px 5px 0 rgba(0, 0, 0, .15);
    -webkit-box-shadow: 5px 5px 0 rgba(0, 0, 0, .15);
    box-shadow: 5px 5px 0 rgba(0, 0, 0, .15);
}

.map-tip:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 30px;
    margin-left: -13px;
    width: 26px;
    height: 25px;
    background: url(../images/mt.png) no-repeat 0 0;
    overflow: hidden;
    text-align: left;
    text-indent: -1000em;
}

.map-tip strong {
    display: block;
    white-space: nowrap;
    font: bold 20px/1.1em Arial, Helvetica, sans-serif;
}

.map-tip address {
    margin: 1em 0 0;
    font-style: normal;
    white-space: nowrap;
}

/*->portfolio---------------------------------------------------------------*/
.portfolio {
    font-family: 'Trebuchet MS';
}

.portfolio h1 {
    font: bold 16px/1.2em Arial, Helvetica, sans-serif;;
}

.portfolio h1 strong {
    display: block;
    font-size: 48px;
    line-height: 1em;
}

.portfolio h2, .portfolio h3 {
    margin: 0;
    font: bold 24px/1em Arial, Helvetica, sans-serif;
}

.portfolio h4 {
    margin: 0;
    font: bold 18px/1.2em Arial, Helvetica, sans-serif;
}

.portfolio a {
    text-decoration: underline;
}

.portfolio a:hover {
    text-decoration: none;
}

.portfolio .group {
    display: table;
    width: 100%;
    margin: 75px 0 65px;
}

.portfolio .group > * {
    display: table-cell;
    vertical-align: top;
    padding-left: 20px;
}

.portfolio .group > *:first-child {
    padding-left: 0;
}

.social-tools {
    height: 22px;
}

.social-tools table {
    border-collapse: collapse;
    table-layout: fixed;
    height: 22px;
}

.social-tools td {
    padding: 0 0 0 14px;
    vertical-align: top;
}

.social-tools td:first-child {
    padding-left: 0;
}

@media only screen and (device-width: 768px) {
    html {
        -webkit-text-size-adjust: none;
    }

    #page {
        width: 1240px;
    }

    nav ul div:hover > strong:before {
        background-position: 0 0;
    }

    nav ul div.hov > strong:before {
        background-position: 0 100%;
    }

    .detail header {
        position: relative;
    }

    .detail #content {
        padding-top: 0;
    }
}

@media only screen and (max-device-width: 480px) {
    html {
        -webkit-text-size-adjust: none;
    }

    #page {
        width: 1240px;
    }

    .detail header {
        position: relative;
    }

    .detail #content {
        padding-top: 0;
    }

    nav ul div:hover > strong:before {
        background-position: 0 0;
    }

    nav ul div.hov > strong:before {
        background-position: 0 100%;
    }
}

nav ul li.media a, nav ul li.support a, nav ul li.archive a, nav ul li.leveling a {
    padding-left: 25px;
}

nav ul li.media a:hover, nav ul li.support a:hover, nav ul li.archive a:hover, nav ul li.leveling a:hover, nav ul li.support strong, nav ul li.media strong, nav ul li.archive strong, nav ul li.leveling strong {
    padding-left: 35px;
}

nav ul li.media a i, nav ul li.media strong i, nav ul li.support a i, nav ul li.support strong i, nav ul li.archive a i, nav ul li.archive strong i, nav ul li.leveling a i, nav ul li.leveling strong i {
    background: url("/images/menu-icon-sprite.png") no-repeat -3px 0;
    display: block;
    position: absolute;
    top: -4px;
    left: 35px;
    width: 20px;
    height: 20px;
}

nav ul li.leveling a i, nav ul li.leveling strong i {
    background: url("/images/leveling--simple-logo.png") 0 0;
}

nav ul li.media a:hover i, nav ul li.media strong i {
    background-position: -28px 0;
}

nav ul li.support a i, nav ul li.support strong i {
    background-position: -3px -20px;
}

nav ul li.support a:hover i, nav ul li.support strong i {
    background-position: -28px -20px;
}

nav ul li.archive a i, nav ul li.archive strong i {
    background-position: -3px -40px;
}

nav ul li.archive a:hover i, nav ul li.archive strong i {
    background-position: -28px -40px;
}

nav ul li.leveling a:hover i, nav ul li.leveling strong i {
    background-position: 0 20px;
}

@media only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {
    nav ul li.media a i, nav ul li.media strong i, nav ul li.support a i, nav ul li.support strong i, nav ul li.archive a i, nav ul li.archive strong i {
        background-image: url(../../../images/menu-icon-sprite-2.png);
        background-size: 50px 60px;
    }
}

header .download:before {
    background: url("../images/sub_icons.png") no-repeat scroll -62px -1px rgba(0, 0, 0, 0);
    content: "";
    float: left;
    height: 13px;
    /*margin: 4px 0 0 250px;*/
    margin: 4px 0 0 265px;
    width: 15px;
}

header .download {
    float: left;
    font-size: 16px;
    line-height: 18px;
    list-style: none outside none;
    margin: 17px 0;
    padding: 0;
}

header .download a {
    position: relative;
}

header .download a {
    border-bottom: 1px solid white;
    display: inline-block;
    text-decoration: none;
}

header .download a small {
    font-size: 10px;
    left: 0;
    margin-top: 3px;
    position: absolute;
    top: 100%;
}

/*styles for payment form*/
.b-popup {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    display: none;
}

.b-popup .b-popup-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 570px;
    height: 285px;
    padding: 60px 70px;
    background-color: #ffffff;
    border-radius: 15px 0px 15px 0px;
    font-size: 14px;
    color: #000000;
}

.close-popup-form {
    text-decoration: none;
    position: absolute;
    top: 10px;
    right: 10px;
    background: url(../images/close_icon.jpg);
    width: 28px;
    height: 28px;
}

.b-popup .b-popup-content .form-left-side {
    float: left;
    width: 47%;
}

.b-popup .b-popup-content .form-right-side {
    float: right;
    width: 47%;
}

.b-popup .b-popup-content input[type=submit] {
    border: none;
    background: #000000;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    padding: 10px 16px;
    margin-top: 20px;
}

.b-popup .b-popup-content input[type=text] {
    border: 1px solid #cccccc;
    background: #ffffff;
    color: #000000;
    line-height: 20px;
    padding: 1% 5px;
    margin-bottom: 10px;
    display: block;
    width: 96%;
}

.b-popup .b-popup-content textarea {
    border: 1px solid #cccccc;
    background: #ffffff;
    color: #000000;
    padding: 2px 5px;
    margin-bottom: 10px;
    width: 260px;
    height: 140px;
}

.b-popup .b-popup-content .has-error {
    border: 1px solid #f25d5d !important;
}

.b-popup .b-popup-content .field-label {
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
}

.b-popup .b-popup-content .form-right-side input[type=radio] {
    display: none;
}

.b-popup .b-popup-content .form-right-side .radio-label {
    position: relative;
    padding-left: 30px;
    line-height: 25px;
    font-size: 14px;
    color: #b2b2b2;
    margin-bottom: 5px;
    display: inline-block;
}

.b-popup .b-popup-content .form-right-side input[type=radio]:checked + .radio-label {
    color: #000000;
}

.b-popup .b-popup-content .form-right-side input[type=radio]:checked + .radio-label:before {
    background: #42b1df;
}

.b-popup .b-popup-content .form-right-side .radio-label:before,
.b-popup .b-popup-content .form-right-side .radio-label:after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
}

.b-popup .b-popup-content .form-right-side .radio-label:before {
    background: transparent;
    width: 9px;
    height: 9px;
    left: 7px;
    border-radius: 21px;
}

.b-popup .b-popup-content .form-right-side .radio-label:after {
    width: 21px;
    height: 21px;
    left: 0;
    border-radius: 21px;
    border: 1px solid #cccccc;
}

/* end styles for payment form*/

/* Базовые адаптивные стили */
@media screen and (max-width: 1240px) {
    #page {
        min-width: auto;
    }
    
    .layout {
        width: 100%;
        max-width: 1200px;
        padding: 0 20px;
        box-sizing: border-box;
    }
}

/* Планшеты (горизонтальная ориентация) */
@media screen and (max-width: 1024px) {
    .about {
        margin: 20px 0 200px;
    }

    .about .main {
        width: 100%;
        float: none;
        margin-bottom: 30px;
    }

    .about aside {
        width: 100%;
        float: none;
    }

    .about aside .block {
        width: 45%;
        margin-left: 5%;
    }

    .about aside .block:first-child {
        margin-left: 0;
    }

    .about aside .block.support {
        width: 100%;
        margin-left: 0;
        clear: both;
    }
}

/* Планшеты (вертикальная ориентация) */
@media screen and (max-width: 768px) {
    nav {
        margin: 15px 0 15px 20px;
    }

    nav > ul > li {
        margin-left: 15px;
    }

    header menu {
        margin: 15px 0;
    }

    header menu li {
        margin-left: 10px;
    }
}

/* Мобильные устройства */
@media screen and (max-width: 480px) {
    body {
        overflow-x: hidden;
        width: 100%;
    }

    #page {
        min-width: 100%;
        width: 100%;
        overflow-x: hidden;
    }

    .layout {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
        min-width: auto;
    }

    .about {
        margin: 20px 0 0;
        padding: 20px;
        border-radius: 10px;
        width: auto;
        box-sizing: border-box;
        position: relative;
        z-index: 20;
        background: white;
    }

    .about .main {
        padding: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .about p {
        font-size: 14px;
        line-height: 1.5;
        margin: 10px 0;
        width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
    }

    .about aside {
        width: 100%;
        box-sizing: border-box;
    }

    .about aside .block {
        width: 100%;
        float: none;
        margin: 0 0 20px 0;
        padding: 15px;
        background: #f9f9f9;
        border-radius: 8px;
        box-sizing: border-box;
    }

    .map {
        position: fixed !important;
        top: 60px;
        bottom: 0;
        left: 0;
        right: 0;
        height: auto;
        width: 100%;
        z-index: 10;
    }

    /* Стили для Google Maps InfoWindow */
    .map-tip {
        width: auto;
        max-width: 280px;
        margin: 0;
        padding: 15px;
    }

    .map-tip strong {
        font-size: 16px;
    }

    .map-tip address {
        font-size: 14px;
    }

    /* Фиксим горизонтальный скролл в футере */
    footer {
        width: 100%;
        box-sizing: border-box;
        padding: 20px 15px;
    }

    footer menu {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    footer menu li {
        float: none;
        display: inline-block;
        margin: 5px;
    }

    /* Фиксим стрелку */
    .about .open {
        position: absolute;
        left: 50%;
        margin-left: -17px;
        bottom: -22px;
        z-index: 21;
        background: url(../images/buttons.gif) no-repeat 0 -22px;
    }

    /* Убираем стрелку при скрытом попапе */
    .closed-section .about .open {
        display: none;
    }

    /* Добавляем отступ снизу для контейнера about при скрытом попапе */
    .closed-section .about {
        margin-bottom: 20px;
    }
}