html {
    min-height: 100%;
}

body {
    margin: 0;
    padding: 0;
    background: white;
    font: 12px/1.2em Arial, Helvetica, sans-serif;
    color: #121212;
}

:focus {
    outline: 0;
}

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

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

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

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

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

header:after, header .layout: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;
}

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

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

#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: 30px;
}

nav ul .project_links .menu_list_block .menu_list_title {
    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: 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;
}

/*->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;
}

@media only screen and (device-width: 768px) {
    #page {
        width: 1240px;
    }

    .detail header {
        position: relative;
    }

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

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

@media only screen and (max-device-width: 480px) {
    #page {
        width: 1240px;
    }

    .detail header {
        position: relative;
    }

    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;
    width: 15px;
}
header .download.main-page:before {
    margin-left: 265px;
}

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

header .download a {
    position: relative;
}

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

header .download small {
    display: block;
    font-size: 10px;
    margin-bottom: -18px;
    padding-left: 2px;
}