
body {
    font-family: 'Fira Sans', sans-serif;
}

label {
    font-weight: 500;
}

/* Header -------------------------- */

.header {
    margin-bottom: 30px;
    color: #fff;
    background-color: hsl(316, 72%, 18%);
}

nav {
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 18px;
}

nav a {
    display: inline-block;
    margin: 0 12px 0 0;
    color: inherit;
    line-height: 60px;
    vertical-align: middle;
}

nav a:hover {
    color: hsl(316, 72%, 90%);
    text-decoration: none;
}

nav a:active {
    color: hsl(316, 72%, 78%);
}

.header-logo {
    display: inline-block;
    height: 40px;
    vertical-align: middle;
}

.header-name {
    font-size: 28px;
    font-weight: 300;
}

/* Search -------------------------- */

.search input {
    line-height: 1;
    margin: 0 0 15px 0;
    border-radius: 6px;
    outline: none;
    color: inherit;
    border: 2px solid hsla(0, 0%, 100%, 0);
}

@media (min-width: 768px) {
    .search input {
        margin: 26px 0;
    }
}

.search input::-webkit-input-placeholder {
    padding: .4em 0 0 0;
}

.search input {
    font-size: 20px;
    padding: 2px 0.4em;
    background-color: hsla(0, 0%, 100%, 0.2);
}

.search input:hover {
    border-color: hsla(0, 0%, 100%, .2);
}

.search input:focus {
    border-color: hsla(0, 0%, 100%, .4);
    background-color: hsla(0, 0%, 100%, 0);
}

.github {
    text-align: center;
    vertical-align: middle;
    margin: 26px 0;
    text-align: right;
}
@media (max-width: 767px) {
    .github {
       position: absolute;
       right: 0;
       width: auto;
    }
}

.header-intro {
    font-size: 24px;
    padding: 0 15px;
    font-weight: 300;
}
@media (min-width: 768px) {
    .header-intro {
        font-size: 32px;
        padding: .5em 15px 1em 15px;
    }
}
@media (min-width: 992px) {
    .header-intro {
        font-size: 36px;
    }
}


/* https://github.com/twitter/typeahead.js/blob/master/doc/jquery_typeahead.md#look-and-feel */

.twitter-typeahead {
    width: 100%;
}

.tt-dropdown-menu {
    width: 100%;
    color: hsl(316, 72%, 30%);
    background-color: hsl(316, 72%, 96%);
    border: 2px solid hsl(316, 72%, 18%);
    border-radius: 6px;
    margin-top: -22px;
}

.tt-dataset-documents {
    padding: 10px 15px;
}

.tt-suggestions {
    margin: -10px -15px;
}

.tt-suggestion {
    padding: 10px 15px 0 15px;
    border-bottom: 1px solid hsla(0, 0%, 0%, 0.15);
    cursor: pointer;
}

.tt-suggestion:first-child {
    border-radius: 6px 6px 0 0;
}

.tt-suggestion:last-child {
    border-radius: 0 0 6px 6px;
}

.tt-suggestion:only-child {
    border-radius: 6px;
}

.tt-suggestion code {
    background: hsla(0, 0%, 0%, 0.1);
}

.tt-suggestion strong {
    color: #000;
    font-weight: 500;
}

.tt-cursor {
    background: #fff;
}

/* Content -------------------------- */

.questions .question {
    margin-bottom: 14px;
}

.questions .show {
    -webkit-animation: show .4s ease-out;
       -moz-animation: show .4s ease-out;
        -ms-animation: show .4s ease-out;
            animation: show .4s ease-out;
}
#shape.show {
    -webkit-animation: none;
       -moz-animation: none;
        -ms-animation: none;
            animation: none;
}
@-webkit-keyframes show { 0% { opacity: 0; } }
   @-moz-keyframes show { 0% { opacity: 0; } }
    @-ms-keyframes show { 0% { opacity: 0; } }
        @keyframes show { 0% { opacity: 0; } }

.property h2::before, .method h2::before {
    font-style: italic;
    color: #CCC;
    content: "collection.";
}

.deprecated {
    text-decoration: line-through;
}

/* REPL */

.repl {
    /* copied from bootstrap */
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;

    display: block;
    padding: 9.5px;
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.42857143;
    color: #333;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.repl pre {
    padding: 0;
    margin: 0;
    border: none;
}

.repl-input::before {
    content: "\00276F\0000a0";
}

.repl-output, .repl-log {
    color: hsl(316, 72%, 45%);
}

.repl-output::before {
    content: "\00276E\0000a0";
}

.repl-log::before {
    content: "\0000a0\0000a0";
}

.repl-output-comment {
    overflow: hidden;
    height: 1px;
    width: 1px;
    margin-left: -1px;
    display: inline-block;
}

.repl-command::before {
    content: "\00276F";
    position: absolute;
    padding: 9.5px;
}

.repl-command {
    border-radius: 0 0 4px 4px;
    background-color: white;
    margin: 4.5px -9.5px -9.5px -9.5px;
}

.repl-command input {
    background-color: transparent;
    border: 0;
    border-top: 1px solid #ccc;
    padding: 9.5px 9.5px 9.5px 2em;
    width: 100%;
}

/* Supplements --------------------- */
/* (the right hand side on the collection/method pages) */

/* Remove the top padding on the first title so that the top of title aligns
with the text on the left */
.supplements h3:first-child {
    margin-top: 0;
}

.generated-from {
    margin-top: 30px;
    text-align: center;
}

.generated-from a {
    color: #ccc;
}

/* Footer -------------------------- */

.footer {
    text-align: center;
    padding: 4em 1em;
    color: #fff;
    margin-top: 30px;
}

.footer-title {
    display: inline-block;
    font-weight: 300;
    margin: 0 1rem 1.5em 1rem;
}

.footer-logo {
    max-height: 100px;
    margin: 0 1rem;
}

@media all and (min-width: 701px) {

    .footer {
        background: #181724 url(/images/bg-footer.jpg) no-repeat top center;
        background-size: auto 100%;
    }

}

@media all and (max-width: 700px) {
    .footer {
        background: #181724 url(/images/bg-footer--vertical.jpg) no-repeat top center;
        background-size: 100% auto;
    }
}

/* index */

.all-link {
    /* same size as the bootsrap h4 */
    font-size: 18px;
}

/* cards */

.card.collection {
    display: block;
    height: 40px;
    text-align: center;
    line-height: 40px;
    text-height: 40px;
    border: solid 1px #dddddd;
    border-radius: 5px;
    margin: 3px;
    border: dashed 1px #aaaaaa;
}

.card.collection.unavailable {
    /*background-color: hsla(0, 0%, 100%, 0.2);*/
    border: none;
}

.card.collection.recommended {
    /*background-color: hsla(0, 0%, 100%, 0.2);*/
    background-color: hsla(50, 100%, 50%, 0.3);
    border: solid 1px #aaaaaa;
}

