﻿/*Eraser*/
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;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    font: inherit;
}
table {
    border-spasing: 0;
    border-collapse: collapse;
}
img { border:none; }
input, select, textarea { vertical-align: 0; padding: 0; margin:0; }
:focus { outline: 0; }
textarea { resize :none; font-family: inherit; }
button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}
/*Base class*/
.hidden { display: none !important; }
.left{ float: left !important; }
.right{ float: right !important; }
.text_left{text-align:left;}
.text_right{text-align:right;}
.text_center{text-align:center;}
.clear{	clear: both; }
.clearfix:after{
	display: block;
	width: 100%;
	height: 1%;
	clear: both;
	overflow: hidden;
	content: '';
}

/*Base elements*/
body{
    color: #333333;
    font-size: 14px;
    font-family: 'PT Sans', sans-serif;
    background: #ffffff;
}
h1 { font-size: 30px; }
h2 { font-size: 24px; }
h3 { font-size: 20px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }
a{ color: #1161b3; }
a:hover{ text-decoration: none; }
p, ul, div, span{
    font-size: 16px;
    line-height: 1.5;
}
ul { list-style-position: inside;}
b,strong{ font-weight: bold; }

/*Style for content*/
.api_content{ 
    min-width: 1000px;
    margin-top: 142px;
}
.api_header{
    position: fixed;
    height: 70px;
    width: 100%;
    top: 0;
    z-index: 100;
    overflow: hidden;
    border-bottom: 1px solid #ebe9e8;    
    background: #ffffff url(../img/api_header_bckgr.png) no-repeat;
}
.api_search_panel{
    position: fixed;
    width: 100%;
    height: 70px;
    top: 71px;
    z-index: 100;
    overflow: hidden;
    background: #ffffff;
    border-bottom: 1px solid #ebe9e8;
}
.api_search_form{
    margin-top: 18px;
    margin-right: 45px;
}
.api_search_input {
    width: 300px;
    height: 30px;
    padding: 0 1em;
    font-size: 14px; 
    border: 1px solid #cbcbcb;
}
.api_search_btn{
    width: 32px;
    height: 32px;
    margin-left: -2px;
    border: 1px solid #cbcbcb;
    cursor: pointer;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    background: #ffffff url(../img/api_icon_search.png) 50% 50% no-repeat;
}
.api_search_btn:hover,
.api_move_btn:hover { border-color: #999999; }
.api_logo{
    display: block;
    width: 301px;
    height: 59px;
    margin: 6px 0 0 45px;
    -webkit-border-radius: 13px;
    -moz-border-radius: 13px;
    border-radius: 13px;
    box-shadow: 2px 1px 2px rgba(0, 0, 0, 0.1);
    background: url(../img/logo.png) no-repeat;
}
.api_bread_crumbs{
    list-style: none;
    overflow: hidden;
    margin: 24px 0 0 45px;
}
.api_bread_crumbs li {
    position: relative;
    float: left;
    font-size: 15px;
}
.api_bread_crumbs li:after {
    position: absolute;
    top: 0;
    right: .5em;
    content: '/';
    color: #ebe9e8;
}
.api_bread_crumbs li:last-child:after { display: none; }
.api_bread_crumbs a,
.api_bread_crumbs span {
    display: block;
    padding: 0 1.5em 0 0;
    text-decoration: none;
}
.api_left_column {
    position: fixed;
    width: 360px;
    float: left;
    border-right: 1px solid #ebe9e8;   
    background: #fcfcfb; 
    overflow: hidden;  
}
.api_scroller_bar{
    width: 7px;
    height: 100px;
    position: absolute;
    top: 20px;
    right: 4px;
    z-index: 10;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background: #cbcbcb;
}
.api_left_scroller{
    width: 380px;
    overflow-y: auto;
}
.api_left_menu{ 
    width: 360px;
}
.api_left_menu,
.api_left_menu ul{ list-style: none; }
.api_left_menu ul{ margin-left: 10px; }
.api_left_menu a{
    display: block;
    padding: 2px 0 2px 30px;
    color: #333333;
    font-size: 13px;
    text-decoration: none;
}
.api_left_menu li:first-child{ margin-top: 20px; }
.api_left_menu li:last-child{ margin-bottom: 40px; }
.api_left_menu ul li{ margin: 0 !important; }
.api_left_menu .arrow { position: relative; }
.api_left_menu .arrow:before {
    position: absolute;
    content: '';
    top: 4px;
    left: 9px;
    width: 16px;
    height: 16px;
    background: url(../img/api_icon_left_menu.png) no-repeat;
}
.api_left_menu a:hover { background: #f7f7f7; }
.api_left_menu .active{ background: #ffeba0; }
.api_right_column{
    position: relative;
    margin-left: 360px;
}
.api_right_content{
    position: relative;
    width: 780px;
    padding: 70px 50px;
}
.api_right_column p { margin-top: 10px; }
.api_right_column ul { margin: 10px 0 0 20px; }
.api_btn_block{
    position: absolute;
    top: 20px;
    right: 0;
    width: 320px;
}
.api_move_btn{
    width: 150px;
    height: 30px;
    font-size: 16px;
    color: #333333;
    text-align: center;
    line-height: 30px;
    text-decoration: none;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    border: 1px solid #cbcbcb;
}
.api_example{
    border-left: 3px double #bbb;
    padding-left: 20px;
    margin-top: 20px;
    line-height: 1.2;
}
.api_example_title{ font-weight: bold; }
.api_example code{
    display: block;
    margin-top: 10px;
    font-size: 13px;
    font-family: 'PT Mono';
    line-height: 1.4;
}
.api_code_str {
    margin-left: 20px;
    font-size: 13px;
}
.api_sub_success,
.api_sub_warning,
.api_sub_error {
    padding: 10px;
    border: 1px solid #e3e3e3;
}
.api_sub_success{ background: #dff0d8; }
.api_sub_warning{ background: #fdf6e3; }
.api_sub_error{ background: #f2dede; }
.api_green_text{ color: #2e9999; }
.api_blue_text { color: #268bd2; }
.api_red_text { color: #dc322f; }
.api_warning_block { 
    position: relative;
    padding-left: 25px;  
    margin-top: 25px;                   
}
.api_warning_block:before {
    position: absolute;
    content: '';
    top: 4px;
    left: 0;
    width: 16px;
    height: 16px;
    background: url(../img/api_icon_warning.png) no-repeat;
}