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

.twitter-typeahead {
    width: 100%;
}

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

.typeahead {
    background-color: #fff;
}

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

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

.tt-hint {
    color: #999
}

.tt-menu {
    width: auto;
    top: 26px !important;
    margin: 12px 0;
    padding: 2px 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
    -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

.tt-suggestion {
    padding: 3px 20px;
    font-size: 18px;
    line-height: 24px;
}

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

.tt-suggestion.tt-cursor {
    color: #fff;
    background-color: #a32c3d;

}

.tt-suggestion p {
    margin: 0;
}

.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 {
    max-height: 150px;
    overflow-y: auto;
}

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


/* modal styles */
/* ----------------------- */
#searchModal {
    overflow-y: visible;
}

#modalTitle {
    font-size: 28px;
    color: #a32c3d;
    margin-bottom: 0;
}

#searchModal h4 {
    font-size: 18px;
    font-weight: bold;
}

#smb-search-form-modal {
    -webkit-border-top-left-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-bottomleft: 4px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

#searchformModal .button {
    background-color: #a32c3d;
    border-bottom: 0;
    -webkit-border-top-right-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    -moz-border-radius-topright: 4px;
    -moz-border-radius-bottomright: 4px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

#searchformModal .button:hover {
    background-color: rgba(163, 44, 61, .8);
}

#searchform .scrollable-dropdown-menu {
    -ms-flex-preferred-size: 675px;
    flex-basis: 675px;
    z-index: 0;
}

#searchform .scrollable-dropdown-menu .tt-menu {
    top: 68px !important;
    margin: 0;
    width: 300px;
    text-align: left;
}

#searchform #searchsubmit {
    z-index: 1;
    cursor: pointer;
}