/* Meyer's reset */
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, font, 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 {
    margin: 0; padding: 0;
    border: 0; outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}
body { line-height: 1; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after { content: ''; content: none; }

/* remember to define focus styles! */
:focus { outline: 0; }

/* remember to highlight inserts somehow! */
ins { text-decoration: none; }
del { text-decoration: line-through; }

/* tables still need 'cellspacing="0"' in the markup */
table { border-collapse: collapse; border-spacing: 0; }

/*
Yiiframework.ru CSS
Alexander Makarov, sam@rmcreative.ru
*/
body {
    font: normal 10pt Arial, Helvetica, sans-serif;
    background: #196e9c url(/img/bg.png);
    color: #555;
    text-align: center;
}

a, a:visited {
    color: #306495;
    text-decoration: none;
}

a:hover {
    color: #73471b;
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    font-family: Calibri, Helvetica, Arial, sans-serif;
}

h1 {
    font-size: 1.6em;
    margin: 1em 0 .5em;
}

h2 {
    font-size: 1.5em;
    margin: 1.07em 0 .535em;
}

h3 {
    font-size: 1.3em;
    margin: 1.23em 0 .615em;
}

h4 {
    font-size: 1.2em;
    margin: 1.33em 0 .67em;
}

h5 {
    font-size: 1.1em;
    margin: 1.6em 0 .8em;
}

h6 {
    font-size: 1em;
    margin: 1.9em 0 .9em;
}

::selection {
    background: #d3dfee;
    color: #000;
}

::-moz-selection {
    background: #d3dfee;
    color: #000;
}

acronym, abbr {
    cursor: help;
}

label {
    cursor: pointer;
}

hr {
    height: 1px;
    color: #ccc;
    background-color: #ccc;
    border: none;
}

/**/

#container {
    background: url(/img/bg-shade.png) repeat-x;
}

#content {
    width: 980px;
    margin: 0 auto;
    text-align: left;

    background: url(/img/content-middle.png) repeat-y;
    overflow: hidden;

    clear: both;
}

#content-top {
    width: 980px;
    margin: 0 auto;
    text-align: left;

    height: 47px;
    background: url(/img/content-top.png) no-repeat;
}

#content-top .version {
    float: right;
    display: inline;
    margin: 17px 15px 0;
}

#content-top h1 {
    float: left;
    margin: 10px;
}

#content-top .wrapper,
#content .wrapper {
    margin: 0 10px 0 25px;
    overflow: hidden;
}

#content .wrapper {
    background: #fff;
}

#content-top .wrapper h1,
#content-top .wrapper .version {
    background: #fafafa
}

/* header */
.twitter {
    margin-top: -3px;
}

#header {
    width: 980px;
    margin: 0 auto;
    text-align: left;

    background: url(/img/header-bg.png) no-repeat;
    height: 81px;
    padding-top: 10px;

	position: relative;
}

#header .logo {
    margin-left: 40px;
    margin-right: 6px;
    margin-top: -2px;
    float: left;
    background: #fff;
}

#header ul {
    margin: 20px 10px 0 0;
    float: right;
    font-size: 12px;

    list-style: none;
    overflow: hidden;

    background: #fff;
}

#header ul a, #header ul a:visited {
    color: #333;
    text-decoration: none;
}

#header ul a:hover {
    color: #000;
    text-decoration: underline;
}

#header ul li {
    float: left;
    padding: .3em 1em;
    margin-left: -1px;
    border-left: 1px solid #b0b0b0;
}

/* footer */
#footer {
    color: #fff;
    line-height: 160%;
    font-size: 11px;

    width: 980px;
    margin: 0 auto;
    text-align: left;

    height: 62px;
    background: url(/img/content-bottom.png) no-repeat;

    padding-top: 52px;
}

#footer a, #footer a:visited, #footer a:hover {
    color: #fff;
}

#copyrights {
    float: right;
    text-align: right;
    margin-right:20px;
}

#footer-menu {
    float: left;
    margin-left: 40px;
}

/* messages */
.message {
    font-weight: normal;
    font-style: italic;
    background: #f4f8fb;
    padding: 2px;
    margin: .5em;
}

/* guide content */
div.image {
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    -khtml-border-radius: 7px;
    border-radius: 7px;
    margin: 10px 0;
    border: 3px solid #eee;
    text-align: center;
}

div.image > p {
    background: #eee;
    margin: 0;
    font-weight: bold;
    display: block;
}

.article {
    margin: 0 230px 0 0;
    padding: 0 20px;
}

.article ul {
    list-style: disc inside;
}

.article ol {
    list-style: decimal inside;
}

.article li {
    line-height: 160%;
}

.article ul li li {
    list-style-type: circle;
}

.article ul, .article ol {
    margin: 0 0 1em 2em;
}

.article ul p, .article ol p {
    display: inline;
}

.article p {
    line-height: 160%;
    margin-bottom: 1em;
}

div.revision {
    display: none;
}

blockquote.tip, blockquote.info, blockquote.note {
    border-top: 1px solid;
    border-bottom: 1px solid;
    padding: .4em 1em 0em 55px;
    margin: 1em 0em;
    border-color: #E4DFB8;
    background: #FFFAE6 url(/img/tip.gif) 10px 50% no-repeat;
}

blockquote.note {
    background-color: #FFE6E6;
    border-color: #D9C3C3;
    background-image: url(/img/note.gif);
}

blockquote.info {
    border-color: #B4DAA5;
    background-color: #EBFFCE;
    background-image: url(/img/info.gif);
}

span.type {
    float: left;
    font-size: 1em;
    padding-right: 0.5em;
    font-weight: bold;
}

/* language selection */
#languages {
    margin: 1em 0;
}

#languages .active {
    background: #d3dfee;
}

/* toc */
#toc {
    float: right;
    width: 200px;
    padding: 15px 10px;
    border-left: 1px solid #eee;
    line-height: 130%;

    font-family: Calibri, Helvetica, Arial, sans-serif;
    font-size: 10.5pt;
}

ul.toc, ul.toc ul, ul.toc li, ul.toc li li {
    list-style: none outside;
    margin: 0;
    padding: 0;
}

ul.toc {
  margin-top: 8px;
}

ul.toc li {
    padding: 2px 0 2px 2px;
    margin: 0 0 0 10px;
	cursor: pointer;
}

.toc .topics {
	width: 190px;
	overflow: hidden;
	margin: 0;
	padding: 0;
}

.toc .topics li {
    padding: 2px 0 8px 20px;
    margin: 0 0 0 -10px;
}

ul.toc li.active {
    background: #D3DFEE;
    margin: 0 -5px 0 -20px;
    padding: 2px 5px 8px 30px;
}

/* code */
pre {
    display: block;
    padding: 1em;
    background: #fcfcfc;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    font-family: Consolas, "Courier New", Courier, mono;
    margin: 1em 0;
    font-size: 10pt;
    line-height: 130%;
}

code {
    border-bottom: 1px dotted #ccc;
    font-weight: bold;
    color: #666;
}

/* --- code highlighting --- */

/* html-code */
.html-hl-brackets,
.html-hl-reserved {
    color: #0000e6;
}

.html-hl-var,
.html-hl-code,
.html-hl-quotes,
.html-hl-string {
    color: #009933;
}

/* php-code */
.php-hl-inlinetags {
    font-weight: bold;
}

.php-hl-comment {
    color: #777;
}

.php-hl-quotes,
.php-hl-string {
    color: #009933;
}

.php-hl-var {
    color: #6d3206;
}

.php-hl-reserved {
    color: #00e;
}

/* css-code */
.css-hl-identifier {
    color: #007c00;
    font-weight: bold;
}

.css-hl-reserved {
    color: #0000e6;
}

/* css-sql */
.sql-hl-reserved {
    color: #0000e6;
}

.sql-hl-identifier {
    color: #007c00;
}

.sql-hl-var {
    color: #0000e6;
}

.sql-hl-quotes, .sql-hl-string {
    color: #007c00;
}

/* front page */
#news {
    float: left;
    width: 400px;
    padding-left: 20px;
}

#about {
    float: right;
    width: 492px;
    padding-right: 20px;
}

.features {
    margin-bottom: 30px;
}

.features li {
    padding: 5px;
    padding-left: 15px;
    background: url(/img/bullet.png) no-repeat 5px 50%;
}

.features .odd {
    background-color: #edefee;
}

/* post formatting */
.post {
    border-bottom: 1px solid #ebebeb;
    width: 100%;
    margin-top: 8px;
    padding-bottom: 8px;
}

.post .content ul {
    list-style: disc outside;
    margin-left: 1em;
}

.post .content li {
    margin-bottom: .5em;
}

.post .content ol {
    list-style: decimal outside;
    margin-left: 1.5em;
}

.post .content ul,
.post .content ol {
    margin-bottom: 1em;
}

.post .content p {
    margin-bottom: 1em;
}

/* fullpage text */
.fullpage {
    padding: 0 20px;
}

/* orphus */
#orphus {
    margin: 1em 0;
}

/* logged in user styles */
#user-panel {
	position: absolute;
	right: 22px;
	top: -2px;
	background: #f4f8fb;
	padding:4px;

	border-bottom: 1px solid #ccc;

	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.adm-panel {
    margin: 1em 0;
}

.adm-panel a {
    background: #f4f8fb;
    padding: 2px;
}

/* pager */
#content ul.yiiPager {
    display: block;
    margin: 1em 0;
}

#content ul.yiiPager .hidden {
    display: none;
}

#t13nc {
  display: none;
}

html > body div .inputapi-inline-block {
    display: none;
}

.plusone {
    float: left;
}
