/* scaffolding */
/* ----------- */

html {
    overflow-y: scroll;
    *overflow-x: hidden;
}

.container {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

.tt-menu,
.gist {
    text-align: left;
}

/* base styles */
/* ----------- */

.table-of-contents li {
    display: inline-block;
    *display: inline;
    zoom: 1;
}

.table-of-contents li a {
    font-size: 16px;
    color: #999;
}

/* site theme */
/* ---------- */

.example {
    padding: 30px 0;
}

.example-name {
    margin: 20px 0;
    font-size: 32px;
}

.demo {
    position: relative;
    *z-index: 1;
    margin: 50px 0;
}

.typeahead,
.tt-query,
.tt-hint {
    width: 190px;
    height: 20px;
    padding: 8px 12px;
    font-size: 24px;
    line-height: 30px;
    border: 2px solid #ccc;
    border-radius: 8px;
    outline: none;
}

.typeahead {
    background-color: #fff;
}

.typeahead:focus {
    border: 2px solid #0097cf;
}

.tt-query {
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tt-hint {
    color: #999;
}

.tt-menu {
    width: 220px;
    margin: 1px 0;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

.tt-suggestion {
    padding: 3px 20px;
    font-size: 1rem;
    line-height: 24px;
    transition: none;
}

.tt-suggestion:hover {
    cursor: pointer;
    color: #fff;
}

.tt-suggestion.tt-cursor {
    color: #fff;
}

.tt-suggestion p {
    margin: 0;
}

.tt-highlight {
    transition: none;
}

.gist {
    font-size: 14px;
}

/* example specific styles */
/* ----------------------- */

#custom-templates .empty-message {
    padding: 5px 10px;
    text-align: center;
}

#multiple-datasets .league-name {
    margin: 0 20px 5px 20px;
    padding: 3px 0;
    border-bottom: 1px solid #ccc;
}

#scrollable-dropdown-menu .tt-menu {
    overflow-y: auto;
}

#rtl-support .tt-menu {
    text-align: right;
}
