div.document {
    background-color: #ffffff !important;
}

footer {
    padding-bottom: 100%;
}

html {
    margin: 0px;
    padding: 0px;
    background: #FFF;
}

div.header {
    left: 0px !important;
    top: 0px !important;
    height: 50px !important;
    background: #ffffff !important;
    padding: 20px 40px 5px 40px!important;
    border: 0px !Important;
    margin: 0px !Important;
}


div.header h1 {
    font-size: 1.5em !Important;
    font-weight: bold !Important;
    letter-spacing: 1px;
    color: #452073;
    border: 0px !Important;
    margin: 0px !Important;
    padding: 0px !Important;

}

h1.heading  {
    border: 0px !Important;
    font-size: 1.7em !Important;
    font-weight: bold !Important;
}

div.header h1 a {
    font-weight: normal;
    color: #2a0952;
}

div.header h2 {
    display: none;

    font-size: .05em !important;
    font-weight: normal !important;
    letter-spacing: 1px;

    color: #ffffff;
    border: 0px !important;
    margin: 0px !important;
    padding: 0px !important;
    border-bottom: 0px !important;
    border-left: 0px !Important;
}

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

div.title {
    font-size: 1.3em;
    font-weight: bold;
    color: #0c3762;
    margin-bottom: 0px !Important;
    border-bottom: 0em thin #ffffff !Important;
}

div[class^='highlight'] pre {
    overflow: auto;
    text-align:left;
    overflow-x: auto; /* Use horizontal scroller if needed; for Firefox 2, not needed in Firefox 3 */
    white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
    white-space: pre-wrap; /* css-3 */
    word-wrap: break-word; /* Internet Explorer 5.5+ */
    margin: 0px 0px 0px 0px;
}

body div.topnav,
body div.bottomnav {
    background-color: #452073;
    min-height: 30px;
    width: auto;
    color: #ffffff;
    padding: 1px 40px 3px;
}

div.topnav form,
div.bottomnav form {
    margin-right: 40px !important;
}

body div.topnav p,
body div.bottomnav p {
    margin: 0;
    text-align: right;
    font-size: 0.8em;
    padding-top: 5px;
    display: inline-block;
    color: #ffffff;
}

.topnav a:link,
.bottomnav a:link {
    font-weight: normal;
    text-decoration: none;
    color: #ffffff;
}

.topnav a:visited,
.bottomnav a:visited {
    font-weight: normal;
    text-decoration: none;
    color: #ffffff;
}

.topnav a:hover, .topnav a:active
.bottomnav a:hover, .bottomnav a:active {
    text-decoration: underline;
    color: #ffffff;
}

div.related {
    background-color: #000000 !important;
    line-height: 30px;
    color: #133f52 !important;
}

div.related a {
    color: #133f52 !important;
}


ul.last {
    margin-right: 0px !important;
}

ul.top {
    list-style-type: none !important;
}

ul {
    margin-right: 3em;
}

li.closed {
    background-image: url(right-arrow1.png) !important;
    background-repeat: no-repeat !important;
    padding-top: 5px !important;
    padding-right: 5px;
}

li.open {
    background-image: url(down-arrow1.png) !important;
    background-repeat: no-repeat !important;
    background-position: text-top !important;

}

ol.arabic  {
    margin-left: 30px !important;
    margin-right: 30px !important;
    color: #330033 !important;
}

ol > li > p {
    font: 16px 'DejaVu Sans', Arial, Helvetica, sans-serif;

}

table {
    border-collapse:collapse;
    width: 100%;
}

table, th, tr, td {
    border-right:1px solid #aaa;
    border-bottom:1px solid #aaa;
    border-left:1px solid #aaa;
    border-top:1px solid #aaa;
}

td {
    vertical-align:top;
    padding-left: 5px ;

}

th, th.head {
    height:25px;
    background-color: #a6cbd1;
}


table.borderless {
    border:0px;
    width:50%;
}

td.borderless, th.borderless, tr.borderless {
    border:0px;
}


.head {
    border-right:1px solid #aaa;
    border-bottom:1px solid #aaa;
    border-left:1px solid #aaa;
    border-top:1px solid #aaa;
}


.loweralpha {
    margin-left: 3px !important;
}


.docutils literal,
.pre {
    background-color:transparent;
}

.red {
    color: #ee5805;
    font-weight: bold;
}

.green {
    color: #658e18;
    font-weight: bold;
}

.blue {
    color: #27bbdd;
}

div.important {
    padding: 10px 30px 10px 80px;
    background: #EFEBF8 url(star.png) 15px 15px no-repeat;
    min-height: 42px;
    title: Cool Stuff !important;
}

.pre {
    background-color: transparent !important;
    font-size: 14px;
}

div.note {
    background-color: #edeffb;
}

code,
tt,
.rst-content code {
    font-family: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace;
    font-size: 14px;
    letter-spacing: 0.01em;
    background-color: transparent !important;
}

.rst-content table td code {
     padding: 0;
     border: none;
     font-size: 14px;
     white-space: pre-wrap;
 }

.rst-content .wy-table-responsive table.docutils td {
    white-space: normal;
    vertical-align: top;
}

div.sidebar {
    background-color:#ffffff !important;
    padding: 7px 0px 0 2px !important;
    /*position: fixed; top: 0px;*/
    position: relative;
    top: -83px;
    right: -40px;
    width: 25% !important;
    margin: 0 0 0.5em 1em !important;
    font-size: 80%;
    color: #0c3762;
    border-left: 5px solid #c9bae3;
    border-right: none;
    border-top: none;
    border-bottom: 5px solid #c9bae3;
}

.rst-content div.sidebar {
    display: none;
}

div.admonition-cool-stuff {
    title: Cool Stuff;
    padding: 10px 30px 10px 80px;
    background: #EFEBF8 url(star.png) 15px 15px no-repeat;
    min-height: 42px;
}

.sidebar a:link {
    font-weight: normal !Important;
    text-decoration: none;
    color: #0c3762;
}

.sidebar a:visited {
    font-weight: bold;
    text-decoration: none;
    color: #3b5f41;
}

.sidebar a:hover, a:active {
    text-decoration: underline;
    color: #000000;
}

/* following are to override colors in pygments.css - (this didn't work - guess i have to upload pygment.css file)*/

.highlight .vc { color: #b679d6 !Important} /* Name.Variable.Class */
/*.highlight .vc { color: #bb60d5 } Name.Variable.Class */
.highlight .vg { color: #b679d6 !Important} /* Name.Variable.Global */
/*.highlight .vg { color: #bb60d5 } Name.Variable.Global */
.highlight .vi { color: #b679d6 !Important} /* Name.Variable.Instance */
/*.highlight .vi { color: #bb60d5 } Name.Variable.Instance */
.highlight .nt { color: #062873; font-weight: bold !Important} /* Name.Tag */
/*.highlight .nv { color: #bb60d5 }  Name.Variable */

table.reference {
    border:0px;
    padding: 2px;
    vertical-align: top;
    margin: 0px;
    width:90%;
}
th.reference {
    font-weight: bold;
    border:0px;
    background-color:#ffffff;
    padding: 2px;
    vertical-align: top;
    margin: 0px;
    width: 130px;
    text-align: left;
}
td.reference, tr.reference {
    border:0px;
    vertical-align: top;
    padding: 2px;
    margin: 0px;
}


/* RTD Theme */

h4, h5 { margin-top: 24px; }


/* RTD Theme Additions */

body {font-family: 'open sans'; color: #4b4b4b; }
h1, h2, h3, h4, h5 {font-family: 'open sans'; }
h1 { font-weight: 200; border-bottom: 1px solid #ccc; width: 100%; font-size: 185%; }
h2 { font-weight: 600; }
h3 { font-weight: 600; }
h4 { font-weight: 600; font-size: 110%; }
h5 { font-weight: 600; font-size: 90%; text-transform: uppercase }
h1, h2, h3, h4, h5, h6{
    margin-top: 1.75rem;
    margin-bottom: .25rem;
}
a, a:link {
    color: #007eb6;
    text-decoration: none;
}

a:visited {
    color: #007eb6;
}

a:hover {
    color: #009cd1; text-decoration: underline;
}

.wy-side-nav-search { background-color: #f3642f; }


@media screen and (min-width: 1400px)
.wy-nav-content {
    margin: 0;
    background: #fff;
}

.wy-nav-content { background: #fff; }


ol.arabic > li:before {
    background: #f3642f !important;
    font-weight: 500 !important;
    width: 28px !important;
    height: 28px !important;
    font-size: 16px !important;
}

ol.arabic { color: #4b4b4b !important; }

.wy-plain-list-decimal li, .rst-content .section ol li, .rst-content ol.arabic li, article ol li { list-style: none;  }

.wy-plain-list-disc, .rst-content .section ul, .rst-content .toctree-wrapper ul, article ul { line-height: 28px; }

.wy-side-nav-search a.icon { color: #fff; }

.wy-menu-vertical a { color: #b3b3b3; }

.wy-menu-vertical a:hover { color: #fff; }

.wy-menu-vertical {font-size: 110%; }

.number { background: #f3642f !important; }

.rst-content .warning {
    background: #fff3dd;
}
.wy-alert-title, .rst-content .admonition-title {
    background: #feac1f;
}
.rst-content .warning .admonition-title{
    background: #feac1f;
}
div[class^='highlight'] pre { font-size: 14px; }
.rst-content .admonition-title{ font-family: "open sans"; }
input[type="text"], input[type="password"], input[type="email"], input[type="url"], input[type="date"], input[type="month"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="week"], input[type="number"], input[type="search"], input[type="tel"], input[type="color"]{ font-family: "open sans"; box-shadow: none; font-size: 90%; }

th, th.head {
    background-color: #d9e7e9;
}

table.docutils td, table.docutils th { border: 1px solid #aaa !important; }

.wy-alert.wy-alert-info .wy-alert-title, .rst-content .note .wy-alert-title, .rst-content .wy-alert-info.attention .wy-alert-title, .rst-content .wy-alert-info.caution .wy-alert-title, .rst-content .wy-alert-info.danger .wy-alert-title, .rst-content .wy-alert-info.error .wy-alert-title, .rst-content .wy-alert-info.hint .wy-alert-title, .rst-content .wy-alert-info.important .wy-alert-title, .rst-content .wy-alert-info.tip .wy-alert-title, .rst-content .wy-alert-info.warning .wy-alert-title, .rst-content .seealso .wy-alert-title, .rst-content .wy-alert-info.admonition-todo .wy-alert-title, .wy-alert.wy-alert-info .rst-content .admonition-title, .rst-content .wy-alert.wy-alert-info .admonition-title, .rst-content .note .admonition-title, .rst-content .wy-alert-info.attention .admonition-title, .rst-content .wy-alert-info.caution .admonition-title, .rst-content .wy-alert-info.danger .admonition-title, .rst-content .wy-alert-info.error .admonition-title, .rst-content .wy-alert-info.hint .admonition-title, .rst-content .wy-alert-info.important .admonition-title, .rst-content .wy-alert-info.tip .admonition-title, .rst-content .wy-alert-info.warning .admonition-title, .rst-content .seealso .admonition-title, .rst-content .wy-alert-info.admonition-todo .admonition-title{
    background: #feac1f;
}

.wy-alert.wy-alert-success .wy-alert-title, .rst-content .wy-alert-success.note .wy-alert-title, .rst-content .wy-alert-success.attention .wy-alert-title, .rst-content .wy-alert-success.caution .wy-alert-title, .rst-content .wy-alert-success.danger .wy-alert-title, .rst-content .wy-alert-success.error .wy-alert-title, .rst-content .hint .wy-alert-title, .rst-content .important .wy-alert-title, .rst-content .tip .wy-alert-title, .rst-content .wy-alert-success.warning .wy-alert-title, .rst-content .wy-alert-success.seealso .wy-alert-title, .rst-content .wy-alert-success.admonition-todo .wy-alert-title, .wy-alert.wy-alert-success .rst-content .admonition-title, .rst-content .wy-alert.wy-alert-success .admonition-title, .rst-content .wy-alert-success.note .admonition-title, .rst-content .wy-alert-success.attention .admonition-title, .rst-content .wy-alert-success.caution .admonition-title, .rst-content .wy-alert-success.danger .admonition-title, .rst-content .wy-alert-success.error .admonition-title, .rst-content .hint .admonition-title, .rst-content .important .admonition-title, .rst-content .tip .admonition-title, .rst-content .wy-alert-success.warning .admonition-title, .rst-content .wy-alert-success.seealso .admonition-title, .rst-content .wy-alert-success.admonition-todo .admonition-title {
    background: #feac1f;
}

.wy-alert.wy-alert-info, .rst-content .note, .rst-content .wy-alert-info.attention, .rst-content .wy-alert-info.caution, .rst-content .wy-alert-info.danger, .rst-content .wy-alert-info.error, .rst-content .wy-alert-info.hint, .rst-content .wy-alert-info.important, .rst-content .wy-alert-info.tip, .rst-content .wy-alert-info.warning, .rst-content .seealso, .rst-content .wy-alert-info.admonition-todo {
    background: #ebf2f4;
}

.wy-alert, .rst-content .note, .rst-content .attention, .rst-content .caution, .rst-content .danger, .rst-content .error, .rst-content .hint, .rst-content .important, .rst-content .tip, .rst-content .warning, .rst-content .seealso, .rst-content .admonition-todo, .rst-content .admonition {
    padding: 12px;
    line-height: 24px;
    margin-bottom: 24px;
    background: #fff3dd;
}
.rst-content .admonition p:last-child{
    margin-bottom: 0; }
ol.arabic {
    font-weight: normal !important;
}

ol > li > p{
    font-family: "open sans";
    font-size: 16px;
    line-height: 24px;
}

.rst-content .warning .admonition-title{
    background: #f66421;
}

.rst-content .warning{
    background: #feede6;
}

.rst-content table.docutils thead { color: #4b4b4b; }

.wy-table thead th, .rst-content table.docutils thead th, .rst-content table.field-list thead th{ border-bottom: solid 1px #aaa; }

.wy-plain-list-disc li, .rst-content .section ul li, article ul li{ margin-bottom: .5rem; }

.rst-content .toctree-wrapper ul li { margin-bottom: 0; }

ul.simple li { padding-bottom: 8px; }

table { margin-bottom:20px; }

/* .wy-nav-side { transition: width 0.5s; } */
@media screen and (max-width: 768px){
    .wy-nav-side.shift { width: 100%; }
}
.wy-nav-top {
    background: #f56421;
    line-height: 30px;
}
.wy-nav-top a{ color: #fff; }

@media screen and (min-width: 767px){
    .close-mobile-menu {
        display: none;
    }
}
.close-mobile-menu {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
}

p, p.numlist, ul.simple li {
    font-size: 16px;
}

img {
    max-width: 800px;
    -webkit-box-shadow: 0px 0px 22px 0px #ccc;
    -moz-box-shadow:    0px 0px 22px 0px #ccc;
    box-shadow:         0px 0px 22px 0px #ccc;
}
ol.arabic {
    list-style: none;
    //counter-reset: ol-counter;
    list-style: decimal;
    font: bold 1.1em 'Open Sans', 'sans-serif';
}
ol.arabic li {
    counter-increment: ol-counter;
    padding: 11px 0;
}

ol.arabic.simple {
    margin-left: 0px !important;
}

ol.arabic {
    list-style-type: none;
    counter-reset: ol-counter;
}
ol.arabic > li:before {
    content: counter(ol-counter);
    color: white;
    background: #452073;
    border-radius: 140px;
    font-weight: 700;
    width: 30px;
    height: 30px;
    position: relative;
    font-size: 18px;
    line-height: 28px;
    text-indent: 0px;
    text-align: center;
    display: inline-block;
    margin-right:4px;
}

.number {
    color: white;
    background: #452073;
    border-radius: 140px;
    font-weight: 700;
    width: 30px;
    height: 30px;
    position: relative;
    font-size: 18px;
    line-height: 28px;
    text-indent: 0px;
    text-align: center;
    display: inline-block;
}

.wy-menu-vertical ul {
    width: 100%;
}

.wy-menu-vertical li.current a {
    color: #333;
}

.icon-home::before{content:none;}



p.instructions {
    font-size: 13px;
    line-height: 20px;
    color: #999;
}

.rst-content .highlighted {
    background: #Fff3dd;
    font-weight: 600;
    padding: 0;
}



.wy-side-nav-search input[type=text]{
    border-color: #cb5427;
    width: 80%;
    padding: 6px 8px 6px 32px;
    height: auto;
    margin-top: 1em;
}

.wy-side-nav-search>div.version {
    margin-top:-1rem;
}

.wy-side-nav-search .icon-home{
    background: url(/media/images/ak-logo-white.svg);
    background-size: 16px;
    background-position: 6px center;
    padding-left: 26px;
    background-repeat: no-repeat;
}

.wy-side-nav-search>a.icon-home:hover{
    background: rgba(255,255,255,0.1) url(/media/images/ak-logo-white.svg);
    background-size: 16px;
    background-position: 6px center;
    padding-left: 26px;
    background-repeat: no-repeat;
}

.wy-side-nav-search span.nav-slash{
    font-weight: 200;
    color: #f9b197;
}
