@import url(http://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic,700italic&subset=latin,cyrillic);

/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}
body {
    margin: 0;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
    display: block;
}
audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}
audio:not([controls]) {
    display: none;
    height: 0;
}
[hidden],
template {
    display: none;
}
abbr[title] {
    border-bottom: 1px dotted;
}
b,
strong {
    font-weight: bold;
}
dfn {
    font-style: italic;
}
h1 {
    margin: 0.67em 0;
    font-size: 2em;
}
p {
    margin: 0 0 10px 0;
    padding: 0px;
}
mark {
    background: #ff0;
    color: #000;
}
small {
    font-size: 80%;
}
sub,
sup {
    position: relative;
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
}
sup {
    top: -0.5em;
}
sub {
    bottom: -0.25em;
}
img {
    border: 0;
}
svg:not(:root) {
    overflow: hidden;
}
figure {
    margin: 1em 40px;
}
hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
    border: none;
    border-top: 2px solid #d6d6d6;
}
pre {
    overflow: auto;
}
code,
kbd,
pre,
samp {
    font-size: 1em;
    font-family: monospace;
}
button,
input,
optgroup,
select,
textarea {
    margin: 0;
    color: inherit;
    font: inherit;
}
button {
    overflow: visible;
}
button,
select {
    text-transform: none;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    cursor: pointer;
    -webkit-appearance: button;
}
button[disabled],
html input[disabled] {
    cursor: default;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
    padding: 0;
    border: 0;
}
input {
    line-height: normal;
}
input[type="checkbox"],
input[type="radio"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}
input[type="search"] {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    -webkit-appearance: textfield;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}
fieldset {
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
    border: 1px solid #d6d6d6;
}
legend {
    padding: 0;
    border: 0;
}
optgroup {
    font-weight: bold;
}
table {
    border-spacing: 0;
    border-collapse: collapse;
}
td,
th {
    padding: 0;
}
/*----------common-----------*/

body {
    position: relative;
    min-width: 1170px;
    font-family: 'PT Sans', sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-weight: 400;
    line-height: 45px;
}
a {
    background-color: transparent;
    color: #4a7cd7;
    text-decoration: none;
    -webkit-transition: all .15s ease-out;
    transition: all .15s ease-out;
}
a:active,
a:hover {
    outline: 0;
    color: #12181e;
}
ul,
li {
    margin: 0;
    padding: 0;
    list-style: none;
}
.clr:after {
    display: table;
    clear: both;
    content: '';
}
:focus {
    outline: none;
}
.wrap {
    position: relative;
}
.text-replace {
    overflow: hidden;
    text-indent: 150%;
    white-space: nowrap;
}
.btn {
    display: inline-block;
    margin-bottom: 3px;
    padding: 0 15px;
    border-radius: 5px;
    color: #FFF;
    vertical-align: middle;
    text-align: center;
    white-space: nowrap;
    font-weight: 700;
    font-size: 20px;
    line-height: 40px;
    cursor: pointer;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
}
.btn:hover {
    color: #fff;
}
.btn-primary {
    background-color: #5b7ed0;
}
.btn-primary:hover {
    background-color: #7798ec;
}
.btn-succes {
    background-color: #4ba975;
}
.btn-succes:hover {
    background-color: #69c690;
}
.btn-warning {
    background-color: #d55730;
}
.btn-warning:hover {
    background-color: #f57348;
}
.btn-default {
    padding: 0 13px;
    border: 2px solid #5b7ed0;
    color: #5b7ed0;
    line-height: 36px;
}
.btn-default.btn-lg {
    padding: 0 18px;
    line-height: 46px;
}
.btn-default.btn-sm {
    line-height: 28px;
}
.btn-default:hover {
    background-color: #5b7ed0;
    color: #fff;
}
.btn-sm {
    font-size: 15px;
    line-height: 32px;
}
.btn-lg {
    padding: 0 20px;
    font-size: 25px;
    line-height: 50px;
}
.alert {
    position: relative;
    margin-bottom: 20px;
    padding: 15px 15px 15px 45px;
    border: 1px solid rgba(0, 0, 0, 0);
    border-radius: 4px;
}
.alert:before {
    position: absolute;
    top: 50%;
    left: 13px;
    display: block;
    margin-top: -8px;
    width: 16px;
    height: 16px;
    background: url('/api-page/img/alert.png') no-repeat 0 0;
    content: '';
}
.alert-success {
    border-color: #d6e9c6;
    background-color: #dff0d8;
    color: #3c763d;
}
.alert-info {
    border-color: #bce8f1;
    background-color: #d9edf7;
    color: #31708f;
}
.alert-info:before {
    background-position: 0 -16px;
}
.alert-warning {
    border-color: #faebcc;
    background-color: #fcf8e3;
    color: #8a6d3b;
}
.alert-warning:before {
    background-position: 0 -32px;
}
.alert-danger {
    border-color: #ebccd1;
    background-color: #f2dede;
    color: #a94442;
}
.alert-danger:before {
    background-position: 0 -48px;
}
.api-section p {
    padding: 10px 0;
}
.api-descr {
    padding: 10px 0;
    font-size: 15px;
    line-height: 30px;
}
.api-section a {
    font-weight: bold;
}
.api-descr h1 {
    font-size: 30px;
}
.api-descr h2 {
    font-size: 25px;
}
.api-descr h3 {
    font-size: 20px;
}
.api-header {
    padding-bottom: 7px;
    border-bottom: 1px solid #d6d6d6;
}
.api-descr code {
    padding: 2px 5px;
    border-radius: 4px;
    background-color: #edf1f2;
    font-family: 'PT Sans', sans-serif;
}
.api-descr ul li {
    padding-left: 15px;
}
.api-descr ul li:before {
    display: inline-block;
    margin-right: 10px;
    width: 5px;
    height: 5px;
    border-radius: 100%;
    background-color: #5b7ed0;
    content: '';
    vertical-align: middle;
    line-height: 30px;
}
.callout {
    margin: 20px 0;
    margin-left: 15px;
    padding: 10px 40px 20px 20px;
    border-left: 2px solid #6485d2;
    background-color: #edf1f2;
}
.api-descr blockquote {
    position: relative;
    margin: 0 0 0 15px;
    padding: 10px 40px 20px 20px;
}
.api-descr blockquote:before,
.api-descr blockquote:after {
    position: absolute;
    display: inline-block;
    width: 13px;
    height: 11px;
    background: url('/api-page/img/quote.png') no-repeat 0 0;
    content: '';
}
.api-descr blockquote:before {
    top: 19px;
    left: 0;
}
.api-descr blockquote:after {
    right: 0;
    bottom: 20px;
    background-position: 0 -11px;
    ;
}
.api-descr table {
    width: 100%;
    text-align: left;
}
.api-descr table h1,
.api-descr table h2,
.api-descr table h3,
.api-descr table h4,
.api-descr table h5,
.api-descr table h6 {
    font-weight: 400;
    line-height: 30px;
}
.api-descr table h1 {
    font-size: 25px;
}
.api-descr table h2 {
    font-size: 20px;
}
.api-descr table h3 {
    font-size: 15px;
}
.api-descr th {
    background-color: #dfe4e5;
    vertical-align: text-top;
}
.api-descr thead th {
    padding: 10px 20px;
    border: 1px solid #5b7ed0;
    background-color: #5b7ed0;
    color: #fff;
}
.api-descr td,
.api-descr th {
    padding: 5px 20px;
    border: 1px solid #e2e2e2;
    line-height: 1.4;
}
.api-descr tr:nth-child(2n+1) {
    background-color: #edf1f2;
}
.api-descr tr.head-row {
    background-color: #dfe4e5;
}
/*------------------------------------*\
    $General
\*------------------------------------*/

.col-questions {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 25;
    overflow: hidden;
    overflow-y: auto;
    width: 263px;
    background: #edf1f2;
}
.col-docs {
    margin-left: 263px;
    padding-top: 17px;
    min-width: 750px;
    background: #FFF;
}
/*--------- $col-questions -----------*/

.questions-l {
    padding-top: 50px;
}
.questions-l.affix {
    position: fixed;
    top: 0;
    left: 0;
    width: 263px;
}
.questions-l a {
    display: block;
    padding: 0 24px;
    line-height: 30px;
}
.questions-l .active a {
    position: relative;
    background-color: #fff;
    color: #12181e;
}
.questions-l .active a:before,
.questions-l .active a:after {
    position: absolute;
    right: 0;
    display: block;
    display: block;
    width: 6px;
    height: 6px;
    background: url('/api-page/img/question-corner.png') no-repeat 0 0;
    content: '';
}
.questions-l .active a:before {
    top: -6px;
}
.questions-l .active a:after {
    bottom: -6px;
    background-position: 0 -6px;
}
/*--------- $api -----------*/

.api-tabs {
    position: absolute;
    z-index: 1;
    width: 100%;
    background-color: #fff;
}
.api-tabs.affix {
    position: fixed;
    top: 0;
    padding-top: 20px;
}
.api-tabs li {
    float: left;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-right: 5px;
    max-width: 250px;
    width: 50%;
}
.api-tab {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 47px;
    color: #565c61;
    text-align: center;
    text-transform: uppercase;
    font-size: 25px;
    line-height: 50px;
}
.active .api-tab {
    border-radius: 5px 5px 0 0;
    background-color: #292e33;
    color: #fff;
}
.api-tab:after,
.api-tab:before {
    position: absolute;
    bottom: 0;
    display: block;
    width: 5px;
    height: 5px;
    background: url('/api-page/img/lang-corner.png') no-repeat 0 0;
    content: '';
    opacity: 0;
    -webkit-transition: opacity .15s ease-out;
    transition: opacity .15s ease-out;
}
.active .api-tab:after,
.active .api-tab:before {
    opacity: 1;
}
.api-tab:after {
    right: -4px;
}
.api-tab:before {
    left: -4px;
    background-position: 0 -5px;
}
.active:first-child .api-tab:before {
    display: none;
}
.api {
    position: relative;
    margin-left: 50%;
}
.api-i {
    background-color: #292e33;
}
.api-anchor {
    display: block;
    height: 0;
}
.api-section {
    position: relative;
    clear: left;
    margin-left: -100%;
    padding-bottom: 45px;
    font-size: 13px;
    line-height: 1.9em;
/*    display: table;*/
}
.api-descr {
    position: relative;
    z-index: 15;
    float: left;
/*    display: table-cell;*/
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 20px 30px 0;
    width: 50%;
    color: #292e33;
}
.api-descr:before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    display: block;
    height: 2px;
    border-top: 1px solid #d6d6d6;
    border-bottom: 1px solid #d6d6d6;
    content: "";
}
.api-example {
    position: relative;
/*    display: table-cell;*/
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin-left: 50%;
    padding: 85px 30px 0; /*38px 30px 0*/
    width: 50%;
    color: #DAE4F2;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.7);
    font-size: 12px;
    line-height: 1.7em;
    -webkit-font-smoothing: antialiased;
}
.api-tabs + .api-i .api-example {
    padding-top: 85px;
}
.api-tabs + .api-i .api-descr:before {
    display: none;
}
.api-i + .api-i .api-descr {
    padding-top: 38px;
}
.api-example code {
    white-space: pre;
    white-space: -o-pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: Monaco, Consolas, "Lucida Console", monospace;
}
.lang-curl,
.lang-php {
    display: none;
}
.curl .lang-curl {
    display: block;
}
.php .lang-php {
    display: block;
}
.api-example p {
    font-style: italic;
    font-size: 13px;
    margin: 0;
}
.api-example ul {
    padding: 15px 0;
}
.api-example li {
    padding: 4px 0;
}
.api-example li {
    font-size: 12px;
    font-family: Monaco, Consolas, "Lucida Console", monospace;
}
.api-example a {
    color: #80B2FF;
}
.api-example h1 {
    font-size: 20px;
}
.api-example h2 {
    font-size: 20px;
}
.api-example h3 {
    font-size: 18px;
}
.api-example h4 {
    font-size: 16px;
}
.api-example h5 {
    font-size: 14px;
}
.api-example h6 {
    font-size: 13px;
}
.api-example h1,
.api-example h2,
.api-example h3,
.api-example h4,
.api-example h5,
.api-example h6 {
    padding-top: 38px;
    color: #FFF;
}
.api-example h1:first-child,
.api-example h2:first-child,
.api-example h3:first-child,
.api-example h4:first-child,
.api-example h5:first-child,
.api-example h6:first-child {
    padding-top: 0;
}
.api-code-w:before {
    display: block;
    padding-bottom: 4px;
    color: #acb9bf;
    content: "";
}
.api-error:before {
    content: "EXAMPLE ERROR";
}
.api-declaration:before {
    content: "DEFINITION";
}
.api-request:before {
    content: "EXAMPLE REQUEST";
}
.api-response:before {
    content: "EXAMPLE RESPONSE";
}
.api-object:before {
    content: "EXAMPLE OBJECT";
}
.expected-result:before {
    content: "RESULT";
}
.api-code-w + .api-code-w {
    margin-top: 26px;
}
/*------------------------------------*\
    $Header
\*------------------------------------*/

.header {
    position: relative;
    padding: 0 24px;
    height: 50px;
    background-color: #00040d;
    text-align: right;
    white-space: nowrap;
    font-size: 0;
    line-height: 50px;
}
.header-logo {
    position: absolute;
    top: 50%;
    left: 23px;
    display: inline-block;
    overflow: hidden;
    margin-top: -23px;
/*    width: 105px;*/
    height: 47px;
    background: url(/api-page/img/logo.png) no-repeat 0 0;
    padding-left: 50px;
    font-size: 40px;
    line-height: 47px;
    font-weight: bold;
    color: #fff;
    text-align: left;
    -webkit-font-smoothing: antialiased;
/*
    text-indent: 150%;
    white-space: nowrap;
*/
}

.header-logo:hover,
.header-logo:active {
    color: #fff;
}

.header-nav {
    display: block;
    display: inline-block;
    float: left;
    margin-left: 263px;
    height: 50px;
}
.header-nav li {
    display: inline-block;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 5px;
    height: 50px;
    list-style: none;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 12px;
}
.header-nav a {
    position: relative;
    display: inline-block;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 3px 10px 0;
    height: 50px;
    color: #777777;
    text-decoration: none;
    font-weight: 700;
    line-height: 50px;
}
.header-nav a:before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 0;
    background-color: #488bfa;
    content: '';
    -webkit-transition: height .15s ease-out;
    transition: height .15s ease-out;
}
.header-nav a:hover:before,
.header-nav a.active:before {
    height: 5px;
}
.header-nav a:hover,
.header-nav a.active {
    color: #fff;
}
.header .btn {
    margin: 0 6px;
    margin-top: 4px;
}
.page-lang {
    float: right;
    padding-left: 14px;
    height: 50px;
}
.page-lang li {
    display: inline-block;
    font-size: 15px;
}
.page-lang li + li:before {
    padding: 0 5px;
    color: #5f5f5f;
    content: '|';
}
.page-lang a {
    color: #5f5f5f;
}
.page-lang a:hover,
.page-lang .active a {
    color: #ffffff;
}
/*------------------------------------*\
 $Footer
\*------------------------------------*/

.footer {
    overflow: hidden;
    padding: 50px 0 50px 263px;
    border-top: 1px solid #d2dee3;
}
.copiright {
    float: left;
    margin-right: 45px;
    color: #96999e;
    font-size: 13px;
}
.footer-logo {
    display: block;
    margin-bottom: 20px;
    width: 105px;
    height: 84px;
    background: url('/api-page/img/logo-f.png') no-repeat 0 0;
}
.footer-navigation {
    display: inline-block;
    float: left;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-right: 20px;
    width: 180px;
}
.footer-n-about {
    width: 170px;
}
.footer-n-legal {
    width: 240px;
}
.footer-n-comm {
    padding-right: 0;
    width: 145px;
}
.footer-navigation h3 {
    margin: 0 0 3px 0;
    color: #222;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 14px;
    font-weight: bold;
}
.footer-n-list {
    margin: 0;
    padding: 0;
}
.footer-n-list a {
    color: #444;
    font-size: 14px;
}
.footer-n-list a:hover {
    color: #2390f6;
}
.footer-navigation li {
    padding: 5px 0;
    list-style: none;
}
.soc-l {
    margin: 0;
    padding: 3px 0 0;
}
.soc-l li,
.soc-l a {
    display: block;
    float: left;
    padding: 0;
    width: 24px;
    height: 24px;
}
.soc-l li {
    padding-left: 6px;
}
.soc-l li:first-child {
    padding-left: 0;
}
.soc-l a {
    overflow: hidden;
    width: 24px;
    height: 24px;
    background: url(/api-page/img/soc-icons.png) no-repeat;
    text-indent: 150%;
    white-space: nowrap;
    -webkit-transition: opacity .15s ease-out;
    transition: opacity .15s ease-out;
}
.soc-l a:hover {
    opacity: .6;
}
.soc-lnk.vk {
    background-position: 0 0;
}
.soc-lnk.fb {
    background-position: -25px 0;
}
.soc-lnk.gp {
    background-position: -75px 0;
}
.soc-lnk.tw {
    background-position: -50px 0;
}
.soc-lnk.ok {
    background-position: -100px 0;
}

#totop {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 100;
    display: none;
    visibility: hidden;
    width: 41px;
    height: 43px;
    background: url(/api-page/img/top.png) no-repeat center center;
    opacity: 0;
}
#totop.visible {
    visibility: visible;
    opacity: 1;
}
#totop.visible:hover {
    opacity: .8;
}



@media only screen and (max-width: 1170px) {
    .questions-l {
        position: static!important;
    }
    .api-tabs {
        position: static!important;
    }
    #totop {
        display: block;
    }
}