﻿
/* start: typeahead fixes */
.tt-menu {
    max-height: 280px;
    overflow-y: auto;
}
/* end: typeahead fixes */

/* start: Bootstrap fixes */

/* address override */
address {
    margin-bottom: 10px;
}

/* address inside a list-item-group */
.list-group-item-text address {
    margin-bottom: 0;
}

/* center align table */
table.center-block {
    display: table;
}


/* highlight validation errors fix for bs select */
.has-error .bootstrap-select .btn {
    color: #b94a48;
    border-color: #b94a48;
}

/* bootstrap select: used inside input-group as the btn */
.input-group-btn .bootstrap-select  {
    margin-left: -1px;
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
    z-index: initial;
}

.input-group-btn .bootstrap-select button:focus {
    outline:none !important;
}

/* bootstrap select: add some height to empty select list */
.bootstrap-select.btn-group .dropdown-menu:empty, /* no select elements */
.bootstrap-select.btn-group .dropdown-menu li > a span.text:empty { /* 1 select element with no text value */
    display: block;
    min-height: 20px !important;
    line-height: 20px;
}

.bootstrap-select.btn-group.input-sm > .btn {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

/* add some height to empty modal header */
.modal-title:empty {
    min-height: 12px;
}



/* add new dark button style */
.btn-inverse {
    color: #ffffff;
    background-color: #464545;
    border-color: #464545;
}

    .btn-inverse:active, .btn-inverse.active {
        background-image: none;
        color: #ffffff;
        background-color: #2c2c2c;
        border-color: #272727;
    }

    .btn-inverse:focus, .btn-inverse.focus {
        color: #ffffff;
        background-color: #2c2c2c;
        border-color: #060606;
    }

    .btn-inverse:hover {
        color: #ffffff;
        background-color: #2c2c2c;
        border-color: #272727;
    }


/* add white button style - this is the non-themed btn-default from bootstrap */
.btn-white {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

    .btn-white:focus,
    .btn-white.focus {
        color: #333;
        background-color: #e6e6e6;
        border-color: #8c8c8c;
    }

    .btn-white:hover {
        color: #333;
        background-color: #e6e6e6;
        border-color: #adadad;
    }

    .btn-white:active,
    .btn-white.active,
    .open > .dropdown-toggle.btn-white {
        color: #333;
        background-color: #e6e6e6;
        border-color: #adadad;
    }

        .btn-white:active:hover,
        .btn-white.active:hover,
        .open > .dropdown-toggle.btn-white:hover,
        .btn-white:active:focus,
        .btn-white.active:focus,
        .open > .dropdown-toggle.btn-white:focus,
        .btn-white:active.focus,
        .btn-white.active.focus,
        .open > .dropdown-toggle.btn-white.focus {
            color: #333;
            background-color: #d4d4d4;
            border-color: #8c8c8c;
        }

    .btn-white:active,
    .btn-white.active,
    .open > .dropdown-toggle.btn-white {
        background-image: none;
    }

    .btn-white.disabled:hover,
    .btn-white[disabled]:hover,
    fieldset[disabled] .btn-white:hover,
    .btn-white.disabled:focus,
    .btn-white[disabled]:focus,
    fieldset[disabled] .btn-white:focus,
    .btn-white.disabled.focus,
    .btn-white[disabled].focus,
    fieldset[disabled] .btn-white.focus {
        background-color: #fff;
        border-color: #ccc;
    }


/* add xxs btn*/
.btn-xxs, .btn-group-xxs > .btn {
    padding: 1px 3px;
    font-size: 12px;
    /*line-height: 1;*/
    border-radius: 2px;
}

/* start: tab-pane classes */
.tab-pane {
    margin-top: 10px;
}
/* end: tab-pane classes */

/* start: modal trigger btn highlights */
[data-toggle="modal"]:focus,
[data-dismiss]:focus {
    outline: none;
}
/* end: modal trigger btn highlights */

/* start: alert classes */
/*.alert:first-of-type {
    margin-top: 100px;
}*/
/* end: alert classes */

/* end: Bootstrap fixes */

/* start: float media queries */
@media (max-width: 767px) {
    .pull-left-xs {
        float: left !important;
        /*background-color: red;*/
    }

    .pull-right-xs {
        float: right !important;
        /*background-color: red;*/
    }
}

@media (min-width: 768px) {
    .pull-left-sm {
        float: left !important;
        /*background-color: red;*/
    }

    .pull-right-sm {
        float: right !important;
        /*background-color: red;*/
    }
}

@media (min-width: 992px) {
    .pull-left-md {
        float: left !important;
        /*background-color: red;*/
    }

    .pull-right-md {
        float: right !important;
        /*background-color: red;*/
    }
}

@media (min-width: 1200px) {
    .pull-left-lg {
        float: left !important;
        /*background-color: red;*/
    }

    .pull-right-lg {
        float: right !important;
        /*background-color: red;*/
    }
}
/* end: float media queries */
