/**
 * Copyright (c) 2017-present, Facebook, Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */


html {
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    min-height: 100vh;
}

/* remove default margin-top*/
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
}

.mainContainer .wrapper .post h4 {
   color: #3f88c5;
}

.homeContainer h3 {
   font-weight: 400;
}

.footer-logo {
    padding-top: 1em;
    display: flex;
    justify-content: center;
}

/* Reset .navToggle box-sizing */
.navToggle {
    box-sizing: content-box;
}


/* HOME */

.homeContainer {
    flex: 1 0 auto;
    padding-bottom: 1em;
}

.homeContainer .homeWrapper .projectLogo {
    justify-content: center;
    position: relative;
    padding: 0em;
}

.homeContainer .homeWrapper .projectLogo img {
    max-height: 200px;
}

.separateOnPageNav .wrapper,
.separateOnPageNav .headerWrapper.wrapper,
.wrapper {
   max-width: 1300px;
}


/* DOCS  */

.docMainWrapper {
    width: 100%;
}


/* HEADINGS */

/* TODO, do we really needs all that? */

.mainContainer .wrapper .post h2,
.mainContainer .wrapper .post h3,
.mainContainer .wrapper .post h4,
.mainContainer .wrapper .post h5,
.mainContainer .wrapper .post h6 {
    /* margin-top: 2.5rem; */
}

.mainContainer .wrapper .post .postHeader h1 {
    font-size: 2.909rem;
}

.mainContainer .wrapper .post h2 {
    font-size: 2.218rem;
}

.mainContainer .wrapper .post h3 {
    font-size: 1.798rem;
    color: #a6a6a6;
}

.mainContainer .wrapper .post h4 {
    font-size: 1.618rem;
    color: #a6a6a6;
    font-weight: 300;
    line-height: 1.5;
    padding: 10px 0;
}

.mainContainer .wrapper .post h5 {
    font-size: 1.111rem;
    color: #a6a6a6;
    font-weight: 300;
    line-height: 1.5;
    padding: 10px 0;
}

.mainContainer .wrapper .post h6 {
    font-size: 1rem;
    color: #a6a6a6;
    font-weight: 300;
    line-height: 1.5;
    padding: 10px 0;
}




@media only screen and (max-width: 1023px) {
}

@media only screen and (min-width: 1400px) {
}

@media only screen and (min-width: 1500px) {
}


/*
    CODE
*/

code {
    padding: 0;
    border: 0;
}

/* 
    API PAGES
*/

/* make scrollbar transparent */
::-webkit-scrollbar {
    width: 0px;
    background: transparent; 
}


/* Sidebar: if text is too long, clip it. */

.navItem {
    text-overflow: clip;
    overflow: hidden;
    white-space: nowrap;
}

/* Do not wrap the first column of API tables */
table td:first-child {
    white-space:nowrap;
}

/* Define box around code example */
.highlight pre {
    padding: 10px;
    color: #222;
    line-height: 1.2em;
    border: 1px solid #3f88c552;
    margin: 5px 0;
    box-shadow: 1px 1px 1px #d8d8d8;
}

/* remove space in descname 
.section dt {
    display: flex; 
}
*/


/* Add blue color to 'name_function' in descname */
code.descname {
    color: #3f88c5;
}

/* reduce space between x : y */
.classifier:before {
    font-style: normal;
    margin: 0.3em;
    content: ":";
}

/* Allineate examples to parameters */
p.rubric, .doctest {
    padding-left: 0.5em;
}

/* Less space between parameters and examples */
p.rubric {
    margin-top: 10px;
}

.highlight{
    font-size: 15px;
    color: grey;
}

/* Larger sidebar */

@media only screen and (min-width: 1024px) {
    .separateOnPageNav .docsNavContainer {
        flex: 0 0 280px;
    }
}

/* Reduce section title to allow it in one line. */
.section h1 {
    font-size: 27px;
}

/* Make cite behave like code */
cite {
    background-color: rgba(27, 31, 35, 0.05);
    border-radius: 3px;
    color: inherit;
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
    font-size: 85%;
    margin: 0;
    padding: 3.2px 3.2px;
}

/* Make docs-prevnext button 1px smaller */
.docs-prevnext .button {
    font-size: 13px;
}


.showcase {
    width: 70%;
    margin: auto;
    text-align: left;
}

.homebox {
    width: 45%;
}

.left {
    margin-left: 0px;
    margin-right: auto;
}

.right {
    margin-left: auto;
    margin-right: 0px;
}

/* for small screen, do not position box to left and right */

/* @media only screen and (min-device-width: 360px) and (max-device-width: 736px) { */

@media only screen and (max-width: 750px){
    .right {
        margin-left: 0px;
        margin-right: auto;
    }

    .homebox {
        width: 100%;
    }
}



.home_separator {
    width: 60%;
    border-top: 2px solid #3f88c5;
    margin: 0px auto 20px auto;
}

/* Homepage code box */

/* basically copy the code from pygments. TODO unite pygments and highlight.js */
.hljs {
    text-align: left;
    padding: 10px;
    color: #222;
    line-height: 1.2em;
    border: 1px solid #3f88c552;
    margin: 5px 0;
    box-shadow: 1px 1px 1px #d8d8d8;
    background: #f8f8f8;
}

.hljs-keyword {
    color: #3f88c5;
    font-weight: bold;
}

/* Table size a bit smaller ... */

.showcase table {
    font-size: 80%;
}

.showcase table td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 280px;
}

.showcase blockquote {
    background-color: rgba(255, 229, 100, 0.3);
    border-left: 8px solid #ffe564;
    font-size: 80%;
    padding: 5px 30px 5px 15px;
}

.showcase blockquote a {
    color: black;
    font-weight: 400;
}

.hljs-string {
    color: #3f88c5cf;
}

.showcase .projectTitle > small {
    display: block;
    font-weight: normal;
    font-size: 50%;
    line-height: 1em;
    margin: 0;
}

.showcase .btnIcon {
    display: none;
}
