/*!
 * Bootstrap v2.3.1
 *
 * Copyright 2012 Twitter, Inc
 * Licensed under the Apache License v2.0
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Designed and built with all the love in the world @twitter by @mdo and @fat.
 */

/* This is a part of original Bootstrap 2.3.1 css file */

.input-append .typeahead.dropdown-menu,
.input-prepend .typeahead.dropdown-menu,
.input-append .popover,
.input-prepend .popover {
    font-size: 14px;
}

.typeahead.dropdown-menu > li > a:hover > [class^="icon-"],
.typeahead.dropdown-menu > li > a:focus > [class^="icon-"],
.typeahead.dropdown-menu > li > a:hover > [class*=" icon-"],
.typeahead.dropdown-menu > li > a:focus > [class*=" icon-"],
.typeahead.dropdown-menu > .active > a > [class^="icon-"],
.typeahead.dropdown-menu > .active > a > [class*=" icon-"],
.dropdown-submenu:hover > a > [class^="icon-"],
.dropdown-submenu:focus > a > [class^="icon-"],
.dropdown-submenu:hover > a > [class*=" icon-"],
.dropdown-submenu:focus > a > [class*=" icon-"] {
    background-image: url("../img/glyphicons-halflings-white.png");
}

.typeahead.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 100px;
    max-width: 200px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    *border-right-width: 2px;
    *border-bottom-width: 2px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 2px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
}

.typeahead.dropdown-menu.pull-right {
    right: 0;
    left: auto;
}

.typeahead.dropdown-menu .divider {
    *width: 100%;
    height: 1px;
    margin: 9px 1px;
    *margin: -5px 0 5px;
    overflow: hidden;
    background-color: #e5e5e5;
    border-bottom: 1px solid #ffffff;
}

.typeahead.dropdown-menu > li > a {
    display: block;
    padding: 4px 10px;
    margin: 0 2px;
    clear: both;
    font-weight: normal;
    line-height: 12px;
    color: #333333;
    white-space: nowrap;
    text-decoration: none;
    letter-spacing: 1px;
    overflow: hidden;
}

.typeahead.dropdown-menu > li > a:hover,
.typeahead.dropdown-menu > li > a:focus,
.typeahead.dropdown-submenu:hover > a,
.typeahead.dropdown-submenu:focus > a {
    color: #ffffff;
    text-decoration: none;
    background-color: rgba(225, 225, 225, 0.88);
    background-image: -moz-linear-gradient(top, #e1e1e1, #898989);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#e1e1e1), to(#898989));
    background-image: -webkit-linear-gradient(top, #e1e1e1, #898989);
    background-image: -o-linear-gradient(top, #e1e1e1, #898989);
    background-image: linear-gradient(to bottom, #e1e1e1, #898989);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
}

.typeahead.dropdown-menu > .active > a,
.typeahead.dropdown-menu > .active > a:hover,
.typeahead.dropdown-menu > .active > a:focus {
    color: #ffffff;
    text-decoration: none;
    /*background-color: #0081c2;*/
    /*background-image: -moz-linear-gradient(top, #0088cc, #0077b3);*/
    /*background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));*/
    /*background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);*/
    /*background-image: -o-linear-gradient(top, #0088cc, #0077b3);*/
    /*background-image: linear-gradient(to bottom, #0088cc, #0077b3);*/
    background-color: rgba(225, 225, 225, 0.88);
    background-image: -moz-linear-gradient(top, #e1e1e1, #898989);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#e1e1e1), to(#898989));
    background-image: -webkit-linear-gradient(top, #e1e1e1, #898989);
    background-image: -o-linear-gradient(top, #e1e1e1, #898989);
    background-image: linear-gradient(to bottom, #e1e1e1, #898989);    background-repeat: repeat-x;
    outline: 0;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
}

.typeahead.dropdown-menu > .disabled > a,
.typeahead.dropdown-menu > .disabled > a:hover,
.typeahead.dropdown-menu > .disabled > a:focus {
    color: #999999;
}

.typeahead.dropdown-menu > .disabled > a:hover,
.typeahead.dropdown-menu > .disabled > a:focus {
    text-decoration: none;
    cursor: default;
    background-color: transparent;
    background-image: none;
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}

.open {
    *z-index: 1000;
}

.open > .typeahead.dropdown-menu {
    display: block;
}

.pull-right > .typeahead.dropdown-menu {
    right: 0;
    left: auto;
}

.dropup .caret,
.navbar-fixed-bottom .dropdown .caret {
    border-top: 0;
    border-bottom: 4px solid #000000;
    content: "";
}

.dropup .typeahead.dropdown-menu,
.navbar-fixed-bottom .dropdown .typeahead.dropdown-menu {
    top: auto;
    bottom: 100%;
    margin-bottom: 1px;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropup .dropdown-submenu > .dropdown-menu {
    top: auto;
    bottom: 0;
    margin-top: 0;
    margin-bottom: -2px;
    -webkit-border-radius: 5px 5px 5px 0;
    -moz-border-radius: 5px 5px 5px 0;
    border-radius: 5px 5px 5px 0;
}

.dropdown-submenu > a:after {
    display: block;
    float: right;
    width: 0;
    height: 0;
    margin-top: 5px;
    margin-right: -10px;
    border-color: transparent;
    border-left-color: #cccccc;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    content: " ";
}

.dropdown-submenu:hover > a:after {
    border-left-color: #ffffff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left > .dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

.dropdown .typeahead.dropdown-menu .nav-header {
    padding-right: 20px;
    padding-left: 20px;
}

.typeahead {
    z-index: 1051;
    margin-top: 2px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
