/*
 * basic.css
 * ~~~~~~~~~
 *
 * Sphinx stylesheet -- basic theme.
 *
 * :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS.
 * :license: BSD, see LICENSE for details.
 *
 */

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

/* -- main layout ----------------------------------------------------------- */

div.clearer {
    clear: both;
}

/* -- relbar ---------------------------------------------------------------- */

div.related {
    position: fixed;
	top: 0px;
	padding: 1px;
	width: 100%;
    font-size: 90%;
	background-color: #E3E3E3;
	/*добавлено*/z-index: 1000;
	/*добавлено*/border-bottom: solid 1px #cccccc;
}

div.related h3 {
    display: none;
}

div.related ul {
    margin: 0;
    padding: 0 0 0 10px;
    list-style: none;
}

div.related li {
    display: inline;
}

div.related li.right {
    float: right;
    margin-right: 5px;
}

/* -- sidebar --------------------------------------------------------------- */

div.sphinxsidebarwrapper {
    padding: 10px 5px 0 10px;
}

div.sphinxsidebar {
    float: left;
    width: 300px;
    margin-left: -100%;
    font-size: 90%;
	bottom: 40px;
}

div.sphinxsidebar ul {
    list-style: none;
}

div.sphinxsidebar ul ul,
div.sphinxsidebar ul.want-points {
    margin-left: 20px;
    margin-right: 0px;
    list-style: square;
}

div.sphinxsidebar ul ul {
    margin-top: 0;
    margin-bottom: 0;
}

div.sphinxsidebar form {
    margin-top: 10px;
}

div.sphinxsidebar input {
    border: 1px solid #98dbcc;
    font-family: sans-serif;
    font-size: 1em;
}

div.sphinxsidebar #searchbox input[type="text"] {
    width: 170px;
}

div.sphinxsidebar #searchbox input[type="submit"] {
    width: 80px;
    border:0.25px solid;
    box-shadow: 0px 1px 1px rgb(0, 0, 0);
}

div.sphinxsidebar #searchbox input[type="submit"]:active {
    box-shadow: 0px 0px 0.5px rgb(0, 0, 0);
}

img {
    border: 0;
    max-width: 100%;
}

/* -- search page ----------------------------------------------------------- */

ul.search {
    margin: 10px 0 0 20px;
    padding: 0;
}

ul.search li {
    padding: 5px 0 5px 20px;
    background-image: url(file.png);
    background-repeat: no-repeat;
    background-position: 0 7px;
}

ul.search li a {
    font-weight: bold;
}

ul.search li div.context {
    color: #888;
    margin: 2px 0 0 30px;
    text-align: left;
}

ul.keywordmatches li.goodmatch a {
    font-weight: bold;
}

/* -- index page ------------------------------------------------------------ */

table.contentstable {
    width: 90%;
}

table.contentstable p.biglink {
    line-height: 150%;
}

a.biglink {
    font-size: 1.3em;
}

span.linkdescr {
    font-style: italic;
    padding-top: 5px;
    font-size: 90%;
}

/* -- general index --------------------------------------------------------- */

table.indextable {
    width: 100%;
}

table.indextable td {
    text-align: left;
    vertical-align: top;
}

table.indextable dl, table.indextable dd {
    margin-top: 0;
    margin-bottom: 0;
}

table.indextable tr.pcap {
    height: 10px;
}

table.indextable tr.cap {
    margin-top: 10px;
    background-color: #f2f2f2;
}

img.toggler {
    margin-right: 3px;
    margin-top: 3px;
    cursor: pointer;
}

div.modindex-jumpbox {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    margin: 1em 0 1em 0;
    padding: 0.4em;
}

div.genindex-jumpbox {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    margin: 1em 0 1em 0;
    padding: 0.4em;
}

/* -- general body styles --------------------------------------------------- */

a.headerlink {
    visibility: hidden;
}

h1:hover > a.headerlink,
h2:hover > a.headerlink,
h3:hover > a.headerlink,
h4:hover > a.headerlink,
h5:hover > a.headerlink,
h6:hover > a.headerlink,
dt:hover > a.headerlink {
    visibility: visible;
}

div.body p.caption {
    text-align: inherit;
}

table caption {
    color: grey;
    font-style:italic;
}

p.caption {
    color: grey;
    font-style:italic;
}

div.body td {
    text-align: left;
}

.field-list ul {
    padding-left: 1em;
}

.first {
    margin-top: 0 !important;
}

p.rubric {
    margin-top: 30px;
    font-weight: bold;
}

img.align-left, .figure.align-left, object.align-left {
    clear:both;
    float: left;
    margin-right: 1em;
    padding: 15px;
}

img.align-right, .figure.align-right, object.align-right {
    clear:both;
    float: right;
    margin-left: 1em;
    padding: 15px;
}

.admonition {
    clear:both;
}

img.align-center, .figure.align-center, object.align-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding: 15px;
}

.align-left {
    text-align: left;
}

.align-center {
    text-align: center;
}

.align-right {
    text-align: right;
}

/* -- sidebars -------------------------------------------------------------- */

div.sidebar {
    margin: 0 0 0.5em 1em;
    border: 1px solid #ddb;
    padding: 7px 7px 0 7px;
    background-color: #ffe;
    width: 40%;
    float: right;
}

p.sidebar-title {
    font-weight: bold;
}

/* -- topics ---------------------------------------------------------------- */

div.topic {
    border: 1px solid #ccc;
    padding: 7px 7px 0 7px;
    margin: 10px 0 10px 0;
}

p.topic-title {
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 10px;
}

/* -- admonitions ----------------------------------------------------------- */

div.admonition {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px;
    line-height: 120%;
    box-shadow: 0px 0px 2px #B3B3B3;
    border-radius:3px;

/*    -moz-border-radius:3px; */
/*    -moz-box-shadow:0 1px 0 rgba(0,0,0,0.2),0 0 0 2px #fff inset; */
/*    -webkit-border-radius:3px; */
/*    -webkit-box-shadow:0 1px 0 rgba(0,0,0,0.2),0 0 0 2px #fff inset; */
    background-color:#FFFFFF;
    border-radius:3px;
    border:1px solid #e7e7e7;
    box-shadow:0 2px 0 rgba(0,0,0,0.2),0 0 0 1px #fff inset;
    color:#333;
    text-shadow:0 1px 0 #fff;
}


div.admonition dt {
    font-weight: bold;
}

div.admonition dl {
    margin-bottom: 0;
}

p.admonition-title {
    margin: 0px 10px 5px 0px;
    font-weight: bold;
}

div.body p.centered {
    text-align: center;
    margin-top: 25px;
}

div.warning {
    background-color: #ffe4e4;
    border:1px solid #FF9797;
    box-shadow:0 2px 0 #FF9797,0 0 0 1px #fff inset;
}

div.tip {
    background-color: #EDFAFF;
    border:1px solid #B1BCBF;
    box-shadow:0 2px 0 #B1BCBF,0 0 0 1px #fff inset;
}

div.note {
    background-color: #F0F0F0;
    border:1px solid #B0B0B0;
    box-shadow:0 2px 0 #B0B0B0,0 0 0 1px #fff inset;
}
div.seealso {
    background-color: #ffc;
    border:1px solid #BFBF99;
    box-shadow:0 2px 0 #BFBF99,0 0 0 1px #fff inset;
}
div.regimes {
    background-color: #ECF6E4;
    border:1px solid #AFB6A9;
    box-shadow:0 2px 0 #AFB6A9,0 0 0 1px #fff inset;
}

/* -- tables ---------------------------------------------------------------- */

table.docutils {
    border: 0;
    border-collapse: collapse;
}

table.docutils td, table.docutils th {
    padding: 1px 8px 1px 5px;
    border: 1px solid #cccccc;
}

table.field-list td, table.field-list th {
    border: 0 !important;
}

table.footnote td, table.footnote th {
    border: 0 !important;
}

th {
    text-align: left;
    padding-right: 5px;
}

table.citation {
    border-left: solid 1px gray;
    margin-left: 1px;
}

table.citation td {
    border-bottom: none;
}

/* -- other body styles ----------------------------------------------------- */

ol.arabic {
    list-style: decimal;
}

ol.loweralpha {
    list-style: lower-alpha;
}

ol.upperalpha {
    list-style: upper-alpha;
}

ol.lowerroman {
    list-style: lower-roman;
}

ol.upperroman {
    list-style: upper-roman;
}

dl {
    margin-bottom: 15px;
}

dd p {
    margin-top: 0px;
}

dd ul, dd table {
    margin-bottom: 10px;
}

dd {
    margin-top: 3px;
    margin-bottom: 10px;
    margin-left: 30px;
}

dt:target, .highlighted {
    background-color: #fbe54e;
}

dl.glossary dt {
    font-weight: bold;
    font-size: 1.1em;
}

.field-list ul {
    margin: 0;
    padding-left: 1em;
}

.field-list p {
    margin: 0;
}

.optional {
    font-size: 1.3em;
}

.versionmodified {
    font-style: italic;
}

.system-message {
    background-color: #fda;
    padding: 5px;
    border: 3px solid red;
}

.footnote:target  {
    background-color: #ffa;
}

.line-block {
    display: block;
    margin-top: 1em;
    margin-bottom: 1em;
}

.line-block .line-block {
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 1.5em;
}

.guilabel, .menuselection {
    font-family: sans-serif;
}

.accelerator {
    text-decoration: underline;
}

.classifier {
    font-style: oblique;
}

abbr, acronym {
    border-bottom: dotted 1px;
    cursor: help;
}

/* -- code displays --------------------------------------------------------- */

pre {
    overflow: auto;
    overflow-y: hidden;  /* fixes display issues on Chrome browsers */
}

td.linenos pre {
    padding: 5px 0px;
    border: 0;
    background-color: transparent;
    color: #aaa;
}

table.highlighttable {
    margin-left: 0.5em;
}

table.highlighttable td {
    padding: 0 0.5em 0 0.5em;
}

tt.descname {
    background-color: transparent;
    font-weight: bold;
    font-size: 1.2em;
}

tt.descclassname {
    background-color: transparent;
}

tt.xref, a tt {
    background-color: transparent;
    font-weight: bold;
}

h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt {
    background-color: transparent;
}

.viewcode-link {
    float: right;
}

.viewcode-back {
    float: right;
    font-family: sans-serif;
}

div.viewcode-block:target {
    margin: -1px -10px;
    padding: 0 10px;
}

/* -- math display ---------------------------------------------------------- */

img.math {
    vertical-align: middle;
}

div.body div.math p {
    text-align: center;
}

span.eqno {
    float: right;
}

/* -- printout stylesheet --------------------------------------------------- */

@media print {
    div.document,
    div.documentwrapper,
    div.bodywrapper {
        margin: 0 !important;
        width: 100%;
    }

    div.sphinxsidebar,
    div.related,
    div.footer,
    #top-link {
        display: none;
    }
}


/*
 * default.css_t
 * ~~~~~~~~~~~~~
 *
 * Sphinx stylesheet -- default theme.
 *
 * :copyright: Copyright 2007-2013 by the Sphinx team, see AUTHORS.
 * :license: BSD, see LICENSE for details.
 *
 */

/*@import url("basic.css");*/

/* -- page layout ----------------------------------------------------------- */

html {
    margin: 0;
    height: 100%;
}

body {
    height: 100%;
    background: #f8f8f8 url('../fp_img/layout_pattern.png') repeat-x 0 0;
    font-family: 'PT Sans', sans-serif;
    font-size: 16px;
    line-height: 20px;
    color: rgb(88, 89, 91);
    padding: 0 0 0 0;
    margin: 0 0 0 0;
}

div.document {
	padding-bottom: 15px;
	/*height: 90%;*/
	margin-top: 30px;
}

div.documentwrapper {
    float: left;
    width: 100%;
	/*добавлено*/height: 100%;
}

div.bodywrapper {
    margin: 0 0 0 300px;
    position: relative;
}

div.body {
    padding: 30px 20px 30px 50px;
    box-shadow: 1px 1px 4px rgb(0, 0, 0);
    border-radius: 3px 0px 0px 3px;
    background-color: rgb(255, 255, 255);
}

div.footer {
    color: #999;
    width: 100%;
    height: auto;
	position: fixed;
	bottom: 0;
    padding: 9px 0 9px 0;
    text-align: center;
    font-size: 75%;
    border-top: solid 1px #cccccc;
    background: #eeeeee;
    font-size: 13px;
    margin: 0 0 0 0;
    text-shadow:0 1px 0 #fff;
	/*доавлено*/z-index: 1000;
}

div.footer a {
    color: #999;
    text-decoration: underline;
}

div.related {
    line-height: 30px;
    color: #999;
    text-shadow:0 1px 0 #fff;
}

div.related a {
    color: #999;
    text-decoration: none;
}

div.related a:hover {
    color: #888;
    text-decoration: underline;
}

div.sphinxsidebar {
    top: 30px;
    bottom: 40px;
    margin: 0;
    position: fixed;
    overflow: auto;
    height: auto;
    text-shadow:0 1px 0 #fff;
	/*добавлено*/ background: #f8f8f8 url('../fp_img/layout_pattern.png') repeat-x 0 0;
	/*добавлено*/ border-right: solid 1px #cccccc;
}
/* this is nice, but it it leads to hidden headings when jumping
   to an anchor */
/*
div.related {
    position: fixed;
}

div.documentwrapper {
    margin-top: 30px;
}
*/

div.sphinxsidebar h3 {
    font-family: ;
    color: #575656;
    font-size: 1.4em;
    font-weight: normal;
    margin: 0;
    padding: 0;
}

div.sphinxsidebar h3 a {
    color: #575656;
    text-decoration: none;
}

div.sphinxsidebar h4 {
    font-family: ;
    color: #575656;
    font-size: 1.3em;
    font-weight: normal;
    margin: 5px 0 0 0;
    padding: 0;
}

div.sphinxsidebar p {
    color: #575656;
}

div.sphinxsidebar p.topless {
    margin: 5px 10px 10px 10px;
}

div.sphinxsidebar ul {
    margin: 10px;
    padding: 0;
    color: #575656;
}

div.sphinxsidebar a {
    color: #575656;
    text-decoration: none;
}

div.sphinxsidebar a:hover {
    color: #575656;
    text-decoration: underline;
}

div.sphinxsidebar input {
    border: 1px solid #575656;
    font-family: Roboto, sans-serif;
    font-size: 1em;
    text-shadow:0 1px 0 #fff;
}

.logo {
    max-width: 80%;
    height: 80px;
	text-align: left;
    margin-left:auto;
	/* margin-right:auto; */
}
/* -- hyperlink styles ------------------------------------------------------ */

a {
    color: rgb(255, 120, 0); 
    text-decoration: underline;
}

a:visited {
    color: ;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}



/* -- body styles ----------------------------------------------------------- */

div.body h1,
div.body h2 {
    font-family: Roboto, sans-serif;
    font-weight: normal;
    color: rgb(255, 120, 0);
    margin: 8px -20px 10px -20px;
    padding: 3px 0 3px 5px;
    bottom-border 1px solid grey;
    line-height: 100%;
}

div.body h3,
div.body h4,
div.body h5,
div.body h6 {
    font-family: Roboto, sans-serif;
    font-weight: normal;
    color: rgb(255, 120, 0);
    margin: 8px -20px 10px -20px;
    padding: 3px 0 3px 5px;
    bottom-border 1px solid grey;
    line-height: 100%;
}

div.body h1 { margin-top: 0; font-size: 200%; }
div.body h2 { font-size: 170%; }
div.body h3 { font-size: 140%; }
div.body h4 { font-size: 120%; }
div.body h5 { font-size: 110%; }
div.body h6 { font-size: 100%; }

div.body h5,
div.body h6 {
    margin-top: 30px;
    color: rgb(88, 89, 91);
    font-weight: bold;
}

div.body h5,
div.body h6 {
    color: rgb(135, 135, 135);
}

div.body h2,
div.body h3,
div.body h4 {
    //border-bottom-width: 0.07em;
    //border-bottom-style: solid;
    //display: inline-block;
}

div.body h1 {
    border-bottom-color: rgba(255, 120, 0, 1.0);
}

div.body h2 {
    border-bottom-color: rgba(255, 120, 0, 0.75);
}

div.body h3 {
    border-bottom-color: rgba(255, 120, 0, 0.5);
}

div.body h4 {
    border-bottom-color: rgba(255, 120, 0, 0.25);
}


a.headerlink {
    color: #F3F3F3;
    font-size: 0.8em;
    padding: 0 4px 0 4px;
    text-decoration: none;
}

a.headerlink:hover {
    color: #C0C0C0;
}

div.body p, div.body dd, div.body li {
    line-height: 130%;
}

div.admonition p.admonition-title + p {
    display: inline;
}

div.admonition p {
    margin-bottom: 5px;
}

div.admonition pre {
    margin-bottom: 5px;
}

div.admonition ul, div.admonition ol {
    margin-bottom: 5px;
}

div.topic {
    background-color: #eee;
}

p.admonition-title {
    display: inline;
}

p.admonition-title:after {
    content: ":";
}

pre {
    padding: 10px;
    background-color: #F8F8F8;
    line-height: 100%;
    box-shadow: 0px 0px 2px #B3B3B3;
    border-radius:3px;
    font-family: 'Anonymous Pro', monospace;
}


tt {
    font-family: 'Anonymous Pro', monospace;
    white-space: pre-wrap; /* css-3 */
    white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
    white-space: -pre-wrap; /* Opera 4-6 */
    white-space: -o-pre-wrap; /* Opera 7 */
    word-wrap: break-word; /* Internet Explorer 5.5+ */
}

span.pre {
    margin: 0px;
    font-family: 'Anonymous Pro', monospace;
}

th {
    background-color: #ede;
}

.viewcode-back {
    font-family: ;
}

div.viewcode-block:target {
    background-color: #f4debf;
    border-top: 1px solid #ac9;
    border-bottom: 1px solid #ac9;
}

.underline {
    text-decoration: underline;
    text-size: 69px;
}

tbody tr th {
    background-color: transparent;
}

tbody tr {
    border-top: 1px solid #C5C5C5;
}

::selection {
    background: #FFC999; /* Safari */
    }
::-moz-selection {
    background: #FFC999; /* Firefox */
}

pre::selection {
    color: #FFFFFF;
    }
pre::-moz-selection {
    color: #FFFFFF;
}

tt.kbd
{
    -moz-border-radius:3px;
    -moz-box-shadow:0 1px 0 rgba(0,0,0,0.2),0 0 0 2px #fff inset;
    -webkit-border-radius:3px;
    -webkit-box-shadow:0 1px 0 rgba(0,0,0,0.2),0 0 0 2px #fff inset;
    background-color:#f7f7f7;
    border:1px solid #ccc;
    border-radius:3px;
    box-shadow:0 1px 0 rgba(0,0,0,0.2),0 0 0 2px #fff inset;
    color:#333;
    display:inline-block;
    font-family:Arial,Helvetica,sans-serif;
    font-size:11px;
    line-height:1.4;
    margin:0 .1em;
    padding:.1em .6em;
    text-shadow:0 1px 0 #fff;
}

p {
    text-align: justify;
}

blockquote {
    color: #b4b4b4;
    font-style:italic;
}

/* Front Page */

.frontpage td {
    padding: 10px;
    vertical-align: top;
    text-align: left;
    margin: 0px;
    border-top: 1px solid #C0C0C0;
}

.frontpage td img {
    align: top;
    width: 100%;
    height: 100%;
    margin-bottom: 5px;
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    border-radius:10px;
}

/* BUGFIXES */

#search-results .context {
    display: none;
}


/* custom css */ 

/* выделение для плашки deprecated */
.deprecated {
    background-color: #F0FFF0;
	border: 1px solid #B0B0B0;
    box-shadow: 0 2px 0 #B0B0B0,0 0 0 1px #fff inset;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px;
    line-height: 120%;
	color: #333;
}

/*Для развертывающихся примеров кода*/

.toggle .header {
    display: block;
    clear: both;
	cursor: pointer;
	width: auto;
}

.toggle .header:after {
    content: url(plus.png);
}

.toggle .header.open:after {
    content: url(minus.png);
}