/* Своя страница — документация и конструктор api. Самостоятельный файл (desktop.css на api.* не подключается). IE 5.5+. */
body.docs{margin:0;padding:0;background:#fff;font-family:Tahoma,Verdana,Arial,sans-serif;font-size:12px;color:#333}
.docs a{color:#d86a00;text-decoration:none}
.docs a:hover{color:#b35a06;text-decoration:underline}
.docs img{border:0}
/* шапка: верхняя строка превращена в оранжевую полосу с логотипом */
.docs #topline{height:46px;line-height:46px;padding:0 12px 0 184px;background:#ee7d13 url(../img/logo.gif) no-repeat 12px 8px;color:#fff;font-size:12px;border:0;white-space:nowrap;overflow:hidden}
.docs #topline a{color:#fff;font-weight:bold}
/* sv-p139 */ .docs #topline{position:relative}.docs #topline a.tl-logo{position:absolute;left:0;top:0;width:180px;height:46px;display:block;overflow:hidden;font-size:0;line-height:0}
.docs #topline a:hover{color:#fff0e0}
.docs #topline .right{float:right;font-weight:normal}
.docs #topline .right a{font-weight:normal;text-decoration:underline}
/* сетка: фиксированная раскладка, чтобы длинный код не распирал колонку */
.docs #grid{table-layout:fixed;margin:14px 0 0 0;min-width:780px}
.doc-nav{width:192px;padding:10px 14px 14px 14px;background:#f6f2ec;border:1px solid #e3ded6;border-left:0;font-size:12px;line-height:16px;vertical-align:top}
.doc-nav a{display:block;padding:3px 0;color:#d86a00}
.doc-nav a:hover{color:#d06a0a}
.doc-nav .cur{color:#333;font-weight:bold}
.doc-sect{font-family:Arial,Verdana,sans-serif;font-weight:bold;margin:12px 0 4px 0;color:#888;font-size:10px;text-transform:uppercase;letter-spacing:1px;line-height:13px}
.doc-body{padding:0 16px 16px 24px;line-height:18px;font-size:12px;vertical-align:top;word-wrap:break-word}
.doc-body h1{font-family:Arial,Verdana,sans-serif;font-size:22px;font-weight:bold;line-height:28px;margin:0 0 12px 0;color:#333}
.doc-body h2{font-family:Arial,Verdana,sans-serif;font-size:16px;font-weight:bold;margin:24px 0 8px 0;padding:0 0 5px 0;border-bottom:1px solid #eee;color:#333}
.doc-body h3{font-size:13px;margin:14px 0 6px 0;color:#555}
.doc-body p{margin:0 0 10px 0}
.doc-body ol,.doc-body ul{margin:6px 0 12px 0;padding-left:24px}
.doc-body li{margin-bottom:5px}
.dim{color:#888}.small{font-size:11px}.b{font-weight:bold}
pre,.code{background:#faf8f5;border:1px solid #e3ded6;border-left:3px solid #ee7d13;padding:8px 10px;margin:0 0 12px 0;font-family:"Courier New",monospace;font-size:12px;line-height:16px;overflow:auto;color:#333;width:auto}
* html pre{width:98%;overflow-x:auto;overflow-y:hidden;padding-bottom:18px}
code{font-family:"Courier New",monospace;font-size:12px;background:#fff0e0;padding:0 3px;color:#b35a06}
pre code{background:none;padding:0;color:#333}
table.api{border-collapse:collapse;width:100%;margin:8px 0 14px 0}
table.api th,table.api td{border:1px solid #e3ded6;padding:5px 8px;text-align:left;vertical-align:top;font-size:12px;line-height:16px}
table.api th{background:#f6f2ec;color:#555;font-weight:bold}
table.api td code{white-space:nowrap}
/* вкладки */
.docs .tabs{height:26px;margin:0 0 14px 0;border-bottom:2px solid #ee7d13;overflow:hidden;zoom:1}
.docs .tab{display:block;float:left;height:26px;line-height:26px;padding:0 12px;margin:0 2px 0 0;color:#d86a00;background:#f6f2ec;white-space:nowrap}
.docs .tab:hover{background:#fff0e0;text-decoration:none}
.docs .tabs .cur,.docs .tabs .cur:hover{background:#ee7d13;color:#fff;font-weight:bold}
/* кнопки и поля */
.docs .btn{display:inline-block;background:#ee7d13 url(../img/bg-btn.gif) repeat-x 0 0;color:#fff;border:1px solid #d06a0a;padding:0 14px;height:26px;line-height:24px;font-weight:bold;font-size:12px;font-family:Tahoma,Verdana,Arial,sans-serif;cursor:pointer;vertical-align:middle;white-space:nowrap}
.docs a.btn:hover{background:#dc6e08;color:#fff;text-decoration:none}
.docs .inp{border:1px solid #c8bfb5;border-top-color:#b3a89c;padding:4px 6px;height:16px;line-height:16px;font-size:12px;font-family:Tahoma,Verdana,Arial,sans-serif;color:#333;background:#fff;vertical-align:middle;width:94%}
.docs textarea.inp{height:auto;line-height:16px;overflow:auto;resize:vertical}
.docs textarea.code{width:92%;border-left:3px solid #ee7d13;background:#faf8f5;padding:6px 8px;font-family:"Courier New",monospace;font-size:12px}
.docs select{height:24px;border:1px solid #c8bfb5;font-size:12px;vertical-align:middle}
.docs .inp-year{width:50px}
.docs .frow{margin:0 0 12px 0;zoom:1}
.docs .frow label{display:block;margin:0 0 4px 0;color:#555;font-weight:bold;font-size:11px}
.docs .frow label.chk{display:inline;font-weight:normal;font-size:12px;color:#333}
.docs .chk input{vertical-align:middle;margin:0 4px 2px 0}
/* конструктор: две колонки, настройки слева, предпросмотр и код справа */
table.builder{width:100%;border-collapse:collapse;table-layout:fixed}
table.builder td{vertical-align:top;padding:0 18px 0 0}
table.builder td.b-r{padding:0}
.builder .frow{line-height:26px}
.builder .frow label{display:inline;margin:0 6px 0 0}
.builder .frow .inp-year{margin-right:14px}
.builder .frow .inp{margin-top:2px}
.builder .frow textarea.inp{display:block}
.b-preview,#g-preview{padding:6px;border:1px dashed #c8bfb5;background:#faf8f5;min-height:30px;text-align:center}
#g-preview iframe{background:#fff}
/* подвал */
.docs #footer{margin:24px 0 0 0;padding:12px;border-top:1px solid #eee;font-size:11px;color:#999}
.docs #footer a{color:#6b6055}
#g-preview{overflow-x:auto;overflow-y:hidden}
/* sv-p134 */
/* #134: кнопки документации — отступами (FF 1.5/Mozilla без inline-block рисовали текст впритык) */
.docs .btn{height:auto;line-height:16px;padding:5px 14px}
.docs input.btn{padding:4px 14px}
/* /sv-p134 */
