a.btn {
    outline: none !important;
}

.btn {
    text-shadow: none;
    line-height: 18px;
    font-weight: 400;
    padding: 7px 12px;
    outline: 0 !important;
    border-radius: 2px;
}

    .btn, .btn:active {
        -webkit-box-shadow: none;
        box-shadow: none;
    }

        .btn > .fa-caret-down {
            font-size: 12px;
        }

.btn-lg, .btn-group-lg > .btn {
    border-radius: 2px;
}

.btn-lg {
    font-size: 15px;
    line-height: 19px;
    padding: 9px 18px;
}

.btn-sm {
    font-size: 12px;
    line-height: 15px;
    padding: 4px 9px;
}

    .btn-sm > .fa-caret-down {
        font-size: 10px;
    }

.btn-xs {
    font-size: 11px;
    line-height: 12px;
    padding: 4px 7px;
}

    .btn-xs > .fa-caret-down {
        font-size: 10px;
    }

.btn.btn-flat, .btn.btn-flat:focus {
    border-bottom-width: 3px;
}

    .btn.btn-flat:active {
        border-bottom-width: 1px !important;
        margin-top: 2px;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    .btn.btn-flat.btn-lg {
        border-bottom-width: 3px;
    }

        .btn.btn-flat.btn-lg:active {
            margin-top: 2px;
        }

    .btn.btn-flat.btn-xs {
        border-bottom-width: 2px;
    }

        .btn.btn-flat.btn-xs:active {
            margin-top: 1px;
        }

.btn.btn-outline, .btn.btn-outline.btn-flat, .btn.btn-outline.btn-flat.btn-primary, .btn.btn-outline.btn-primary {
    color: #555;
}

    .btn-group > .btn.btn-outline, .btn-group > .btn.btn-outline.btn-flat, .btn-group > .btn.btn-outline.btn-flat.btn-primary, .btn-group > .btn.btn-outline.btn-flat.btn-primary:focus, .btn-group > .btn.btn-outline.btn-flat:focus, .btn-group > .btn.btn-outline.btn-primary, .btn-group > .btn.btn-outline.btn-primary:focus, .btn-group > .btn.btn-outline:focus, .btn.btn-outline, .btn.btn-outline.btn-flat, .btn.btn-outline.btn-flat.btn-primary, .btn.btn-outline.btn-flat.btn-primary:focus, .btn.btn-outline.btn-flat:focus, .btn.btn-outline.btn-primary, .btn.btn-outline.btn-primary:focus, .btn.btn-outline:focus, .input-group-btn > .btn.btn-outline, .input-group-btn > .btn.btn-outline.btn-flat, .input-group-btn > .btn.btn-outline.btn-flat.btn-primary, .input-group-btn > .btn.btn-outline.btn-flat.btn-primary:focus, .input-group-btn > .btn.btn-outline.btn-flat:focus, .input-group-btn > .btn.btn-outline.btn-primary, .input-group-btn > .btn.btn-outline.btn-primary:focus, .input-group-btn > .btn.btn-outline:focus {
        background: 0 0;
        border-color: #e0e0e0;
        border-color: rgba(0,0,0,.12);
    }

        .btn.btn-outline.dark, .btn.btn-outline.dark.btn-primary {
            color: #fff;
            color: rgba(255,255,255,.8);
        }

            .btn.btn-outline.dark, .btn.btn-outline.dark.btn-primary, .btn.btn-outline.dark.btn-primary:focus, .btn.btn-outline.dark:focus {
                border-color: #595959;
                border-color: rgba(255,255,255,.12);
            }

                .btn.btn-outline.dark.btn-primary:active, .btn.btn-outline.dark.btn-primary:hover, .btn.btn-outline.dark:active, .btn.btn-outline.dark:hover {
                    border-color: transparent !important;
                }

.btn.btn-rounded {
    border-radius: 9999px;
}

.btn-rounded.btn-flat {
    border-top-color: transparent;
    border-left-color: transparent;
    border-right-color: transparent;
}

    .btn-rounded.btn-flat, .btn-rounded.btn-flat:focus, .btn-rounded.btn-flat:hover {
        border-bottom-width: 2px;
    }

        .btn-rounded.btn-flat.btn-lg, .btn-rounded.btn-flat.btn-lg:focus, .btn-rounded.btn-flat.btn-lg:hover {
            border-bottom-width: 3px;
        }

        .btn-rounded.btn-flat:active {
            margin-top: 1px;
        }

        .btn-rounded.btn-flat.btn-outline.btn:hover, .btn-rounded.btn-flat.btn:focus, .btn-rounded.btn-flat.btn:hover {
            border-top-color: transparent;
            border-left-color: transparent;
            border-right-color: transparent;
        }

        .btn-rounded.btn-flat.btn-outline:focus {
            border-color: #e0e0e0;
            border-color: rgba(0,0,0,.12);
        }

        .btn-rounded.btn-flat.btn-outline.dark:focus {
            border-color: #595959;
            border-color: rgba(255,255,255,.12);
        }

.btn, .btn-default {
    color: #555;
}

    .btn, .btn-default, .btn-default:focus, .btn:focus {
        border-color: #ddd;
        border-bottom-color: #cecece;
        background: #f4f4f4;
        background-image: -webkit-linear-gradient(top,#f4f4f4 0,#eaeaea 100%);
        background-image: linear-gradient(to bottom,#f4f4f4 0,#eaeaea 100%);
        background-repeat: repeat-x;
    }

        .btn-default:hover, .btn:hover {
            color: #555;
            border-color: #d5d5d5;
            border-bottom-color: #bcbcbc;
            background: #eaeaea !important;
            background-image: -webkit-linear-gradient(top,#efefef 0,#e5e5e5 100%) !important;
            background-image: linear-gradient(to bottom,#efefef 0,#e5e5e5 100%) !important;
            background-repeat: repeat-x;
        }

        .btn-default.active, .btn-default:active, .btn.active, .btn:active, .open .btn-default.dropdown-toggle, .open .btn.dropdown-toggle {
            background: 0 0;
            background: #ebebeb !important;
            border-color: #c6c6c6;
            border-bottom-color: #c6c6c6 !important;
            color: #555;
            -webkit-box-shadow: 0 0 12px rgba(0,0,0,.1)inset;
            box-shadow: 0 0 12px rgba(0,0,0,.1)inset;
        }

        .btn-default.btn-flat, .btn.btn-flat {
            background: #ececec;
        }

            .btn-default.btn-flat.active, .btn-default.btn-flat:active, .btn-default.btn-flat:hover, .btn.btn-flat.active, .btn.btn-flat:active, .btn.btn-flat:hover, .open .btn-default.btn-flat.dropdown-toggle, .open .btn.btn-flat.dropdown-toggle {
                background: #ececec !important;
                color: #555;
            }

        .btn-default.btn-outline.btn-flat:hover, .btn-default.btn-outline:hover, .btn.btn-outline.btn-flat:hover, .btn.btn-outline:hover {
            color: #555;
            border-color: #d5d5d5;
            border-bottom-color: #bcbcbc;
        }

        .btn-default.btn-outline.btn-flat:active, .btn-default.btn-outline:active, .btn.btn-outline.btn-flat:active, .btn.btn-outline:active {
            border-color: #c6c6c6;
        }

.btn-group .btn, .btn-group .btn-default, .btn-group .btn-default:focus, .btn-group .btn:focus, .input-group-btn .btn, .input-group-btn .btn-default, .input-group-btn .btn-default:focus, .input-group-btn .btn:focus {
    border-left-color: #d5d5d5;
    border-right-color: #d5d5d5;
}

    .btn-group .btn-default:hover, .btn-group .btn:hover, .btn-group.open .btn-default.dropdown-toggle, .btn-group.open .btn.dropdown-toggle, .input-group-btn .btn-default:hover, .input-group-btn .btn:hover, .input-group-btn.open .btn-default.dropdown-toggle, .input-group-btn.open .btn.dropdown-toggle {
        border-color: #d5d5d5;
        border-bottom-color: #bcbcbc;
    }

    .btn-group .btn-default.active, .btn-group .btn-default:active, .btn-group .btn.active, .btn-group .btn:active, .input-group-btn .btn-default.active, .input-group-btn .btn-default:active, .input-group-btn .btn.active, .input-group-btn .btn:active {
        border-left-color: #c6c6c6;
        border-right-color: #c6c6c6;
    }

.btn-info {
    color: #fff;
}

    .btn-info, .btn-info:focus {
        border-color: #46b8da;
        border-bottom-color: #2caed5;
        background: #5bc0de;
        background-image: -webkit-linear-gradient(top,#5fc2df 0,#46b8da 100%);
        background-image: linear-gradient(to bottom,#5fc2df 0,#46b8da 100%);
        background-repeat: repeat-x;
    }

        .btn-info:hover {
            color: #fff;
            border-color: #39b3d7;
            border-bottom-color: #2596b8;
            background: #46b8da !important;
            background-image: -webkit-linear-gradient(top,#53bddc 0,#39b3d7 100%) !important;
            background-image: linear-gradient(to bottom,#53bddc 0,#39b3d7 100%) !important;
            background-repeat: repeat-x;
        }

        .btn-info.active, .btn-info:active, .open .btn-info.dropdown-toggle {
            background: 0 0;
            background: #4ab9db !important;
            border-color: #28a4c9;
            border-bottom-color: #28a4c9 !important;
            color: #fff;
            -webkit-box-shadow: 0 0 12px rgba(0,0,0,.1)inset;
            box-shadow: 0 0 12px rgba(0,0,0,.1)inset;
        }

        .btn-info.btn-flat {
            background: #4ebbdb;
        }

            .btn-info.btn-flat.active, .btn-info.btn-flat:active, .btn-info.btn-flat:hover, .open .btn-info.btn-flat.dropdown-toggle {
                background: #4ebbdb !important;
                color: #fff;
            }

        .btn-info.btn-outline.btn-flat:hover, .btn-info.btn-outline:hover {
            color: #fff;
            border-color: #39b3d7;
            border-bottom-color: #2596b8;
        }

        .btn-info.btn-outline.btn-flat:active, .btn-info.btn-outline:active {
            border-color: #28a4c9;
        }

.btn-group .btn-info, .btn-group .btn-info:focus, .input-group-btn .btn-info, .input-group-btn .btn-info:focus {
    border-left-color: #39b3d7;
    border-right-color: #39b3d7;
}

    .btn-group .btn-info:hover, .btn-group.open .btn-info.dropdown-toggle, .input-group-btn .btn-info:hover, .input-group-btn.open .btn-info.dropdown-toggle {
        border-color: #39b3d7;
        border-bottom-color: #2596b8;
    }

    .btn-group .btn-info.active, .btn-group .btn-info:active, .input-group-btn .btn-info.active, .input-group-btn .btn-info:active {
        border-left-color: #28a4c9;
        border-right-color: #28a4c9;
    }

.btn-success {
    color: #fff;
}

    .btn-success, .btn-success:focus {
        border-color: #4cb64c;
        border-bottom-color: #42a142;
        background: #5ebd5e;
        background-image: -webkit-linear-gradient(top,#62be62 0,#4cb64c 100%);
        background-image: linear-gradient(to bottom,#62be62 0,#4cb64c 100%);
        background-repeat: repeat-x;
    }

        .btn-success:hover {
            color: #fff;
            border-color: #46ac46;
            border-bottom-color: #388838;
            background: #4cb64c !important;
            background-image: -webkit-linear-gradient(top,#57ba57 0,#46ac46 100%) !important;
            background-image: linear-gradient(to bottom,#57ba57 0,#46ac46 100%) !important;
            background-repeat: repeat-x;
        }

        .btn-success.active, .btn-success:active, .open .btn-success.dropdown-toggle {
            background: 0 0;
            background: #50b750 !important;
            border-color: #3e963e;
            border-bottom-color: #3e963e !important;
            color: #fff;
            -webkit-box-shadow: 0 0 12px rgba(0,0,0,.1)inset;
            box-shadow: 0 0 12px rgba(0,0,0,.1)inset;
        }

        .btn-success.btn-flat {
            background: #53b953;
        }

            .btn-success.btn-flat.active, .btn-success.btn-flat:active, .btn-success.btn-flat:hover, .open .btn-success.btn-flat.dropdown-toggle {
                background: #53b953 !important;
                color: #fff;
            }

        .btn-success.btn-outline.btn-flat:hover, .btn-success.btn-outline:hover {
            color: #fff;
            border-color: #46ac46;
            border-bottom-color: #388838;
        }

        .btn-success.btn-outline.btn-flat:active, .btn-success.btn-outline:active {
            border-color: #3e963e;
        }

.btn-group .btn-success, .btn-group .btn-success:focus, .input-group-btn .btn-success, .input-group-btn .btn-success:focus {
    border-left-color: #46ac46;
    border-right-color: #46ac46;
}

    .btn-group .btn-success:hover, .btn-group.open .btn-success.dropdown-toggle, .input-group-btn .btn-success:hover, .input-group-btn.open .btn-success.dropdown-toggle {
        border-color: #46ac46;
        border-bottom-color: #388838;
    }

    .btn-group .btn-success.active, .btn-group .btn-success:active, .input-group-btn .btn-success.active, .input-group-btn .btn-success:active {
        border-left-color: #3e963e;
        border-right-color: #3e963e;
    }

.btn-warning {
    color: #fff;
}

    .btn-warning, .btn-warning:focus {
        border-color: #f19a1f;
        border-bottom-color: #e38b0e;
        background: #f4b04f;
        background-image: -webkit-linear-gradient(top,#f4b254 0,#f3a537 100%);
        background-image: linear-gradient(to bottom,#f4b254 0,#f3a537 100%);
        background-repeat: repeat-x;
    }

        .btn-warning:hover {
            color: #fff;
            border-color: #f09411;
            border-bottom-color: #c2770c;
            background: #f3a537 !important;
            background-image: -webkit-linear-gradient(top,#f3ac45 0,#f29f29 100%) !important;
            background-image: linear-gradient(to bottom,#f3ac45 0,#f29f29 100%) !important;
            background-repeat: repeat-x;
        }

        .btn-warning.active, .btn-warning:active, .open .btn-warning.dropdown-toggle {
            background: 0 0;
            background: #f3a73c !important;
            border-color: #d5830d;
            border-bottom-color: #d5830d !important;
            color: #fff;
            -webkit-box-shadow: 0 0 12px rgba(0,0,0,.1)inset;
            box-shadow: 0 0 12px rgba(0,0,0,.1)inset;
        }

        .btn-warning.btn-flat {
            background: #f3aa41;
        }

            .btn-warning.btn-flat.active, .btn-warning.btn-flat:active, .btn-warning.btn-flat:hover, .open .btn-warning.btn-flat.dropdown-toggle {
                background: #f3aa41 !important;
                color: #fff;
            }

        .btn-warning.btn-outline.btn-flat:hover, .btn-warning.btn-outline:hover {
            color: #fff;
            border-color: #f09411;
            border-bottom-color: #c2770c;
        }

        .btn-warning.btn-outline.btn-flat:active, .btn-warning.btn-outline:active {
            border-color: #d5830d;
        }

.btn-group .btn-warning, .btn-group .btn-warning:focus, .input-group-btn .btn-warning, .input-group-btn .btn-warning:focus {
    border-left-color: #f09411;
    border-right-color: #f09411;
}

    .btn-group .btn-warning:hover, .btn-group.open .btn-warning.dropdown-toggle, .input-group-btn .btn-warning:hover, .input-group-btn.open .btn-warning.dropdown-toggle {
        border-color: #f09411;
        border-bottom-color: #c2770c;
    }

    .btn-group .btn-warning.active, .btn-group .btn-warning:active, .input-group-btn .btn-warning.active, .input-group-btn .btn-warning:active {
        border-left-color: #d5830d;
        border-right-color: #d5830d;
    }

.btn-danger {
    color: #fff;
}

    .btn-danger, .btn-danger:focus {
        border-color: #e3503e;
        border-bottom-color: #df3823;
        background: #e66454;
        background-image: -webkit-linear-gradient(top,#e76858 0,#e3503e 100%);
        background-image: linear-gradient(to bottom,#e76858 0,#e3503e 100%);
        background-repeat: repeat-x;
    }

        .btn-danger:hover {
            color: #fff;
            border-color: #e14430;
            border-bottom-color: #c22e1c;
            background: #e3503e !important;
            background-image: -webkit-linear-gradient(top,#e55c4b 0,#e14430 100%) !important;
            background-image: linear-gradient(to bottom,#e55c4b 0,#e14430 100%) !important;
            background-repeat: repeat-x;
        }

        .btn-danger.active, .btn-danger:active, .open .btn-danger.dropdown-toggle {
            background: 0 0;
            background: #e35442 !important;
            border-color: #d4331f;
            border-bottom-color: #d4331f !important;
            color: #fff;
            -webkit-box-shadow: 0 0 12px rgba(0,0,0,.1)inset;
            box-shadow: 0 0 12px rgba(0,0,0,.1)inset;
        }

        .btn-danger.btn-flat {
            background: #e45847;
        }

            .btn-danger.btn-flat.active, .btn-danger.btn-flat:active, .btn-danger.btn-flat:hover, .open .btn-danger.btn-flat.dropdown-toggle {
                background: #e45847 !important;
                color: #fff;
            }

        .btn-danger.btn-outline.btn-flat:hover, .btn-danger.btn-outline:hover {
            color: #fff;
            border-color: #e14430;
            border-bottom-color: #c22e1c;
        }

        .btn-danger.btn-outline.btn-flat:active, .btn-danger.btn-outline:active {
            border-color: #d4331f;
        }

.btn-group .btn-danger, .btn-group .btn-danger:focus, .input-group-btn .btn-danger, .input-group-btn .btn-danger:focus {
    border-left-color: #e14430;
    border-right-color: #e14430;
}

    .btn-group .btn-danger:hover, .btn-group.open .btn-danger.dropdown-toggle, .input-group-btn .btn-danger:hover, .input-group-btn.open .btn-danger.dropdown-toggle {
        border-color: #e14430;
        border-bottom-color: #c22e1c;
    }

    .btn-group .btn-danger.active, .btn-group .btn-danger:active, .input-group-btn .btn-danger.active, .input-group-btn .btn-danger:active {
        border-left-color: #d4331f;
        border-right-color: #d4331f;
    }

.btn.btn-outline.disabled, .btn.btn-outline[disabled] {
    color: #555 !important;
}

    .btn.btn-outline.disabled, .btn.btn-outline.disabled.active, .btn.btn-outline.disabled:active, .btn.btn-outline.disabled:focus, .btn.btn-outline.disabled:hover, .btn.btn-outline.disabled:link, .btn.btn-outline.disabled:visited, .btn.btn-outline[disabled], .btn.btn-outline[disabled].active, .btn.btn-outline[disabled]:active, .btn.btn-outline[disabled]:focus, .btn.btn-outline[disabled]:hover, .btn.btn-outline[disabled]:link, .btn.btn-outline[disabled]:visited {
        background: none !important;
        border-color: #e0e0e0 !important;
        border-color: rgba(0,0,0,.12) !important;
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }

.btn.btn-flat.disabled:active, .btn.btn-flat[disabled]:active {
    margin-top: 0 !important;
    border-bottom-width: 3px !important;
}

.btn.btn-flat.btn-rounded.disabled:active, .btn.btn-flat.btn-rounded[disabled]:active {
    border-bottom-width: 2px !important;
}

.btn.btn-labeled {
    position: relative;
}

    .btn.btn-labeled .btn-label {
        display: block;
        float: left;
        margin: -8px 12px -8px -13px;
        padding: 8px 10px;
        position: relative;
        background: rgba(0,0,0,.06);
        line-height: 18px;
        border-bottom-left-radius: 2px;
        border-top-left-radius: 2px;
    }

        .btn.btn-labeled .btn-label.icon {
            font-size: 14px;
        }

    .btn.btn-labeled.btn-lg .btn-label {
        margin: -10px 18px -10px -19px;
        padding: 10px 13px;
        line-height: 19px;
        border-bottom-left-radius: 3px;
        border-top-left-radius: 3px;
    }

        .btn.btn-labeled.btn-lg .btn-label.icon {
            font-size: 15px;
        }

    .btn.btn-labeled.btn-sm .btn-label {
        margin: -5px 9px -5px -10px;
        padding: 5px 7px;
        line-height: 15px;
        border-bottom-left-radius: 2px;
        border-top-left-radius: 2px;
    }

        .btn.btn-labeled.btn-sm .btn-label.icon {
            font-size: 11px;
        }

    .btn.btn-labeled.btn-xs .btn-label {
        margin: -5px 9px -5px -8px;
        padding: 5px 6px;
        line-height: 12px;
        border-bottom-left-radius: 2px;
        border-top-left-radius: 2px;
    }

        .btn.btn-labeled.btn-xs .btn-label.icon {
            font-size: 11px;
        }

.btn.btn-lg.btn-rounded.btn-labeled .btn-label, .btn.btn-rounded.btn-labeled .btn-label, .btn.btn-sm.btn-rounded.btn-labeled .btn-label, .btn.btn-xs.btn-rounded.btn-labeled .btn-label {
    border-bottom-left-radius: 9999px;
    border-top-left-radius: 9999px;
}


.btn-group-lg .btn {
    font-size: 15px;
    line-height: 19px;
    padding: 9px 18px;
}

.btn-group-sm .btn {
    font-size: 12px;
    line-height: 15px;
    padding: 4px 9px;
}

    .btn-group-sm .btn > .fa-caret-down {
        font-size: 10px;
    }

.btn-group-xs .btn {
    font-size: 11px;
    line-height: 12px;
    padding: 4px 7px;
}

    .btn-group-xs .btn > .fa-caret-down {
        font-size: 10px;
    }



.input-group-btn > .btn {
    line-height: 16px;
    margin: 0;
}

.input-group input {
    position: relative;
    z-index: 3;
}

.input-group > .input-group-btn + input {
    margin-left: -1px;
}

.input-group-addon > .fa {
    font-size: 14px;
}

.input-group > input + .input-group-btn .btn:first-child {
    border-left-width: 0;
}

.input-group-addon.no-background {
    background: #fff !important;
}






.btn, .btn-default {
    color: #555;
}

    .btn, .btn-default, .btn-default:focus, .btn:focus {
        border-color: #ddd;
        border-bottom-color: #cecece;
        background: #f4f4f4;
        background-image: -webkit-linear-gradient(top,#f4f4f4 0,#eaeaea 100%);
        background-image: linear-gradient(to bottom,#f4f4f4 0,#eaeaea 100%);
        background-repeat: repeat-x;
    }

        .btn-default:hover, .btn:hover {
            color: #555;
            border-color: #d5d5d5 !important;
            border-bottom-color: #bcbcbc;
            background: #eaeaea !important;
            background-image: -webkit-linear-gradient(top,#efefef 0,#e5e5e5 100%) !important;
            background-image: linear-gradient(to bottom,#efefef 0,#e5e5e5 100%) !important;
            background-repeat: repeat-x;
        }

        .btn-default.active, .btn-default:active, .btn.active, .btn:active, .open .btn-default.dropdown-toggle, .open .btn.dropdown-toggle {
            background: 0 0;
            background: #ebebeb !important;
            border-color: #c6c6c6 !important;
            border-bottom-color: #c6c6c6 !important;
            color: #555;
            -webkit-box-shadow: 0 0 12px rgba(0,0,0,.1)inset;
            box-shadow: 0 0 12px rgba(0,0,0,.1)inset;
        }

        .btn-default.btn-flat, .btn.btn-flat {
            background: #ececec;
        }

            .btn-default.btn-flat.active, .btn-default.btn-flat:active, .btn-default.btn-flat:hover, .btn.btn-flat.active, .btn.btn-flat:active, .btn.btn-flat:hover, .open .btn-default.btn-flat.dropdown-toggle, .open .btn.btn-flat.dropdown-toggle {
                background: #ececec !important;
                color: #555;
            }

        .btn-default.btn-outline.btn-flat:hover, .btn-default.btn-outline:hover, .btn.btn-outline.btn-flat:hover, .btn.btn-outline:hover {
            color: #555;
            border-color: #d5d5d5;
            border-bottom-color: #bcbcbc;
        }

        .btn-default.btn-outline.btn-flat:active, .btn-default.btn-outline:active, .btn.btn-outline.btn-flat:active, .btn.btn-outline:active {
            border-color: #c6c6c6;
        }

.btn-group .btn, .btn-group .btn-default, .btn-group .btn-default:focus, .btn-group .btn:focus, .input-group-btn .btn, .input-group-btn .btn-default, .input-group-btn .btn-default:focus, .input-group-btn .btn:focus {
    border-left-color: #d5d5d5;
    border-right-color: #d5d5d5;
}

    .btn-group .btn-default:hover, .btn-group .btn:hover, .btn-group.open .btn-default.dropdown-toggle, .btn-group.open .btn.dropdown-toggle, .input-group-btn .btn-default:hover, .input-group-btn .btn:hover, .input-group-btn.open .btn-default.dropdown-toggle, .input-group-btn.open .btn.dropdown-toggle {
        border-color: #d5d5d5;
        border-bottom-color: #bcbcbc;
    }

    .btn-group .btn-default.active, .btn-group .btn-default:active, .btn-group .btn.active, .btn-group .btn:active, .input-group-btn .btn-default.active, .input-group-btn .btn-default:active, .input-group-btn .btn.active, .input-group-btn .btn:active {
        border-left-color: #c6c6c6;
        border-right-color: #c6c6c6;
    }


.btn-primary {
    color: #fff;
}

    .btn-primary, .btn-primary:focus {
        border-color: #1a7ab9 !important;
        border-bottom-color: #16689e !important;
        background: #1d89cf;
        background-image: -webkit-linear-gradient(top,#1e8cd3 0,#1a7ab9 100%);
        background-image: linear-gradient(to bottom,#1e8cd3 0,#1a7ab9 100%);
        background-repeat: repeat-x;
    }

        .btn-primary:hover {
            color: #fff;
            border-color: #1871ab !important;
            border-bottom-color: #12547e !important;
            background: #1a7ab9 !important;
            background-image: -webkit-linear-gradient(top,#1c83c6 0,#1871ab 100%) !important;
            background-image: linear-gradient(to bottom,#1c83c6 0,#1871ab 100%) !important;
            background-repeat: repeat-x;
        }

        .open .btn-primary.dropdown-toggle, .btn-primary.active, .btn-primary:active {
            background: 0 0;
            background: #1a7dbd !important;
            border-color: #146090 !important;
            border-bottom-color: #146090 !important;
            color: #fff;
            -webkit-box-shadow: 0 0 12px rgba(0,0,0,.1)inset;
            box-shadow: 0 0 12px rgba(0,0,0,.1)inset;
        }

        .btn-primary.btn-flat {
            background: #1b80c2;
        }

            .open .btn-primary.btn-flat.dropdown-toggle, .btn-primary.btn-flat.active, .btn-primary.btn-flat:active, .btn-primary.btn-flat:hover {
                background: #1b80c2 !important;
                color: #fff;
            }

        .btn-primary.btn-outline.btn-flat:hover, .btn-primary.btn-outline:hover {
            color: #fff;
            border-color: #1871ab;
            border-bottom-color: #12547e;
        }

        .btn-primary.btn-outline.btn-flat:active, .btn-primary.btn-outline:active {
            border-color: #146090;
        }

.btn-group .btn-primary, .btn-group .btn-primary:focus, .input-group-btn .btn-primary, .input-group-btn .btn-primary:focus {
    border-left-color: #1871ab;
    border-right-color: #1871ab;
}

    .btn-group .btn-primary:hover, .btn-group.open .btn-primary.dropdown-toggle, .input-group-btn .btn-primary:hover, .input-group-btn.open .btn-primary.dropdown-toggle {
        border-color: #1871ab;
        border-bottom-color: #12547e;
    }

    .btn-group .btn-primary.active, .btn-group .btn-primary:active, .input-group-btn .btn-primary.active, .input-group-btn .btn-primary:active {
        border-left-color: #146090;
        border-right-color: #146090;
    }


.btn-info {
    color: #fff;
}

    .btn-info, .btn-info:focus {
        border-color: #46b8da;
        border-bottom-color: #2caed5;
        background: #5bc0de;
        background-image: -webkit-linear-gradient(top,#5fc2df 0,#46b8da 100%);
        background-image: linear-gradient(to bottom,#5fc2df 0,#46b8da 100%);
        background-repeat: repeat-x;
    }

        .btn-info:hover {
            color: #fff;
            border-color: #39b3d7;
            border-bottom-color: #2596b8;
            background: #46b8da !important;
            background-image: -webkit-linear-gradient(top,#53bddc 0,#39b3d7 100%) !important;
            background-image: linear-gradient(to bottom,#53bddc 0,#39b3d7 100%) !important;
            background-repeat: repeat-x;
        }

        .btn-info.active, .btn-info:active, .open .btn-info.dropdown-toggle {
            background: 0 0;
            background: #4ab9db !important;
            border-color: #28a4c9;
            border-bottom-color: #28a4c9 !important;
            color: #fff;
            -webkit-box-shadow: 0 0 12px rgba(0,0,0,.1)inset;
            box-shadow: 0 0 12px rgba(0,0,0,.1)inset;
        }

        .btn-info.btn-flat {
            background: #4ebbdb;
        }

            .btn-info.btn-flat.active, .btn-info.btn-flat:active, .btn-info.btn-flat:hover, .open .btn-info.btn-flat.dropdown-toggle {
                background: #4ebbdb !important;
                color: #fff;
            }

        .btn-info.btn-outline.btn-flat:hover, .btn-info.btn-outline:hover {
            color: #fff;
            border-color: #39b3d7;
            border-bottom-color: #2596b8;
        }

        .btn-info.btn-outline.btn-flat:active, .btn-info.btn-outline:active {
            border-color: #28a4c9;
        }

.btn-group .btn-info, .btn-group .btn-info:focus, .input-group-btn .btn-info, .input-group-btn .btn-info:focus {
    border-left-color: #39b3d7;
    border-right-color: #39b3d7;
}

    .btn-group .btn-info:hover, .btn-group.open .btn-info.dropdown-toggle, .input-group-btn .btn-info:hover, .input-group-btn.open .btn-info.dropdown-toggle {
        border-color: #39b3d7;
        border-bottom-color: #2596b8;
    }

    .btn-group .btn-info.active, .btn-group .btn-info:active, .input-group-btn .btn-info.active, .input-group-btn .btn-info:active {
        border-left-color: #28a4c9;
        border-right-color: #28a4c9;
    }

.btn-success {
    color: #fff;
}

    .btn-success, .btn-success:focus {
        border-color: #4cb64c;
        border-bottom-color: #42a142;
        background: #5ebd5e;
        background-image: -webkit-linear-gradient(top,#62be62 0,#4cb64c 100%);
        background-image: linear-gradient(to bottom,#62be62 0,#4cb64c 100%);
        background-repeat: repeat-x;
    }

        .btn-success:hover {
            color: #fff;
            border-color: #46ac46;
            border-bottom-color: #388838;
            background: #4cb64c !important;
            background-image: -webkit-linear-gradient(top,#57ba57 0,#46ac46 100%) !important;
            background-image: linear-gradient(to bottom,#57ba57 0,#46ac46 100%) !important;
            background-repeat: repeat-x;
        }

        .btn-success.active, .btn-success:active, .open .btn-success.dropdown-toggle {
            background: 0 0;
            background: #50b750 !important;
            border-color: #3e963e;
            border-bottom-color: #3e963e !important;
            color: #fff;
            -webkit-box-shadow: 0 0 12px rgba(0,0,0,.1)inset;
            box-shadow: 0 0 12px rgba(0,0,0,.1)inset;
        }

        .btn-success.btn-flat {
            background: #53b953;
        }

            .btn-success.btn-flat.active, .btn-success.btn-flat:active, .btn-success.btn-flat:hover, .open .btn-success.btn-flat.dropdown-toggle {
                background: #53b953 !important;
                color: #fff;
            }

        .btn-success.btn-outline.btn-flat:hover, .btn-success.btn-outline:hover {
            color: #fff;
            border-color: #46ac46;
            border-bottom-color: #388838;
        }

        .btn-success.btn-outline.btn-flat:active, .btn-success.btn-outline:active {
            border-color: #3e963e;
        }

.btn-group .btn-success, .btn-group .btn-success:focus, .input-group-btn .btn-success, .input-group-btn .btn-success:focus {
    border-left-color: #46ac46;
    border-right-color: #46ac46;
}

    .btn-group .btn-success:hover, .btn-group.open .btn-success.dropdown-toggle, .input-group-btn .btn-success:hover, .input-group-btn.open .btn-success.dropdown-toggle {
        border-color: #46ac46;
        border-bottom-color: #388838;
    }

    .btn-group .btn-success.active, .btn-group .btn-success:active, .input-group-btn .btn-success.active, .input-group-btn .btn-success:active {
        border-left-color: #3e963e;
        border-right-color: #3e963e;
    }

.btn-warning {
    color: #fff;
}

    .btn-warning, .btn-warning:focus {
        border-color: #f19a1f;
        border-bottom-color: #e38b0e;
        background: #f4b04f;
        background-image: -webkit-linear-gradient(top,#f4b254 0,#f3a537 100%);
        background-image: linear-gradient(to bottom,#f4b254 0,#f3a537 100%);
        background-repeat: repeat-x;
    }

        .btn-warning:hover {
            color: #fff;
            border-color: #f09411;
            border-bottom-color: #c2770c;
            background: #f3a537 !important;
            background-image: -webkit-linear-gradient(top,#f3ac45 0,#f29f29 100%) !important;
            background-image: linear-gradient(to bottom,#f3ac45 0,#f29f29 100%) !important;
            background-repeat: repeat-x;
        }

        .btn-warning.active, .btn-warning:active, .open .btn-warning.dropdown-toggle {
            background: 0 0;
            background: #f3a73c !important;
            border-color: #d5830d;
            border-bottom-color: #d5830d !important;
            color: #fff;
            -webkit-box-shadow: 0 0 12px rgba(0,0,0,.1)inset;
            box-shadow: 0 0 12px rgba(0,0,0,.1)inset;
        }

        .btn-warning.btn-flat {
            background: #f3aa41;
        }

            .btn-warning.btn-flat.active, .btn-warning.btn-flat:active, .btn-warning.btn-flat:hover, .open .btn-warning.btn-flat.dropdown-toggle {
                background: #f3aa41 !important;
                color: #fff;
            }

        .btn-warning.btn-outline.btn-flat:hover, .btn-warning.btn-outline:hover {
            color: #fff;
            border-color: #f09411;
            border-bottom-color: #c2770c;
        }

        .btn-warning.btn-outline.btn-flat:active, .btn-warning.btn-outline:active {
            border-color: #d5830d;
        }

.btn-group .btn-warning, .btn-group .btn-warning:focus, .input-group-btn .btn-warning, .input-group-btn .btn-warning:focus {
    border-left-color: #f09411;
    border-right-color: #f09411;
}

    .btn-group .btn-warning:hover, .btn-group.open .btn-warning.dropdown-toggle, .input-group-btn .btn-warning:hover, .input-group-btn.open .btn-warning.dropdown-toggle {
        border-color: #f09411;
        border-bottom-color: #c2770c;
    }

    .btn-group .btn-warning.active, .btn-group .btn-warning:active, .input-group-btn .btn-warning.active, .input-group-btn .btn-warning:active {
        border-left-color: #d5830d;
        border-right-color: #d5830d;
    }

.btn-danger {
    color: #fff;
}

    .btn-danger, .btn-danger:focus {
        border-color: #e3503e;
        border-bottom-color: #df3823;
        background: #e66454;
        background-image: -webkit-linear-gradient(top,#e76858 0,#e3503e 100%);
        background-image: linear-gradient(to bottom,#e76858 0,#e3503e 100%);
        background-repeat: repeat-x;
    }

        .btn-danger:hover {
            color: #fff;
            border-color: #e14430;
            border-bottom-color: #c22e1c;
            background: #e3503e !important;
            background-image: -webkit-linear-gradient(top,#e55c4b 0,#e14430 100%) !important;
            background-image: linear-gradient(to bottom,#e55c4b 0,#e14430 100%) !important;
            background-repeat: repeat-x;
        }

        .btn-danger.active, .btn-danger:active, .open .btn-danger.dropdown-toggle {
            background: 0 0;
            background: #e35442 !important;
            border-color: #d4331f;
            border-bottom-color: #d4331f !important;
            color: #fff;
            -webkit-box-shadow: 0 0 12px rgba(0,0,0,.1)inset;
            box-shadow: 0 0 12px rgba(0,0,0,.1)inset;
        }

        .btn-danger.btn-flat {
            background: #e45847;
        }

            .btn-danger.btn-flat.active, .btn-danger.btn-flat:active, .btn-danger.btn-flat:hover, .open .btn-danger.btn-flat.dropdown-toggle {
                background: #e45847 !important;
                color: #fff;
            }

        .btn-danger.btn-outline.btn-flat:hover, .btn-danger.btn-outline:hover {
            color: #fff;
            border-color: #e14430;
            border-bottom-color: #c22e1c;
        }

        .btn-danger.btn-outline.btn-flat:active, .btn-danger.btn-outline:active {
            border-color: #d4331f;
        }

.btn-group .btn-danger, .btn-group .btn-danger:focus, .input-group-btn .btn-danger, .input-group-btn .btn-danger:focus {
    border-left-color: #e14430;
    border-right-color: #e14430;
}

    .btn-group .btn-danger:hover, .btn-group.open .btn-danger.dropdown-toggle, .input-group-btn .btn-danger:hover, .input-group-btn.open .btn-danger.dropdown-toggle {
        border-color: #e14430;
        border-bottom-color: #c22e1c;
    }

    .btn-group .btn-danger.active, .btn-group .btn-danger:active, .input-group-btn .btn-danger.active, .input-group-btn .btn-danger:active {
        border-left-color: #d4331f;
        border-right-color: #d4331f;
    }

.btn.btn-outline.disabled, .btn.btn-outline[disabled] {
    color: #555 !important;
}

    .btn.btn-outline.disabled, .btn.btn-outline.disabled.active, .btn.btn-outline.disabled:active, .btn.btn-outline.disabled:focus, .btn.btn-outline.disabled:hover, .btn.btn-outline.disabled:link, .btn.btn-outline.disabled:visited, .btn.btn-outline[disabled], .btn.btn-outline[disabled].active, .btn.btn-outline[disabled]:active, .btn.btn-outline[disabled]:focus, .btn.btn-outline[disabled]:hover, .btn.btn-outline[disabled]:link, .btn.btn-outline[disabled]:visited {
        background: none !important;
        border-color: #e0e0e0 !important;
        border-color: rgba(0,0,0,.12) !important;
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }

.btn.btn-flat.disabled:active, .btn.btn-flat[disabled]:active {
    margin-top: 0 !important;
    border-bottom-width: 3px !important;
}

.btn.btn-flat.btn-rounded.disabled:active, .btn.btn-flat.btn-rounded[disabled]:active {
    border-bottom-width: 2px !important;
}

.btn.btn-labeled {
    position: relative;
}

    .btn.btn-labeled .btn-label {
        display: block;
        float: left;
        margin: -8px 12px -8px -13px;
        padding: 8px 10px;
        position: relative;
        background: rgba(0,0,0,.06);
        line-height: 18px;
        border-bottom-left-radius: 2px;
        border-top-left-radius: 2px;
    }

        .btn.btn-labeled .btn-label.icon {
            font-size: 14px;
        }

    .btn.btn-labeled.btn-lg .btn-label {
        margin: -10px 18px -10px -19px;
        padding: 10px 13px;
        line-height: 19px;
        border-bottom-left-radius: 3px;
        border-top-left-radius: 3px;
    }

        .btn.btn-labeled.btn-lg .btn-label.icon {
            font-size: 15px;
        }

    .btn.btn-labeled.btn-sm .btn-label {
        margin: -5px 9px -5px -10px;
        padding: 5px 7px;
        line-height: 15px;
        border-bottom-left-radius: 2px;
        border-top-left-radius: 2px;
    }

        .btn.btn-labeled.btn-sm .btn-label.icon {
            font-size: 11px;
        }

    .btn.btn-labeled.btn-xs .btn-label {
        margin: -5px 9px -5px -8px;
        padding: 5px 6px;
        line-height: 12px;
        border-bottom-left-radius: 2px;
        border-top-left-radius: 2px;
    }

        .btn.btn-labeled.btn-xs .btn-label.icon {
            font-size: 11px;
        }

.btn.btn-lg.btn-rounded.btn-labeled .btn-label, .btn.btn-rounded.btn-labeled .btn-label, .btn.btn-sm.btn-rounded.btn-labeled .btn-label, .btn.btn-xs.btn-rounded.btn-labeled .btn-label {
    border-bottom-left-radius: 9999px;
    border-top-left-radius: 9999px;
}

.buttons-with-margins .btn {
    margin-bottom: 10px;
}
