.dropdown.dropdown-lg .dropdown-menu {
    margin-top: -1px;
    padding: 6px 20px;
}

.input-group-btn .btn-group {
    display: flex !important;
}

.btn-group .btn {
    border-radius: 0;
    margin-left: -1px;
}

    .btn-group .btn:last-child {
        border-top-right-radius: 4px;
        border-bottom-right-radius: 4px;
    }

.btn-group .form-horizontal .btn[type="submit"] {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.form-horizontal .form-group {
    margin-left: 0;
    margin-right: 0;
}

.form-group .form-control:last-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.searchTextBox {
    background-color: transparent !important;
    border: 0px !important;
    border-radius: 0px !important;
    border-bottom: 1px solid #bbbbbb !important;
    -webkit-box-shadow: inset 0 0px 0px rgba(0,0,0,.075) !important;
    box-shadow: inset 0 0px 0px rgba(0,0,0,.075) !important;
    -webkit-transition: border-color ease-in-out .0s,box-shadow ease-in-out .0s !important;
}

.searchButton, .searchButton:focus, .searchButton:active, .searchButton:hover {
    background-color: #fe8637!important;
    border-color: #fe8637!important;
    border-radius: 50% !important;
    height: 45px!important;
    margin-top:-5px!important;
}

@media screen and (min-width: 768px) {
    #adv-search {
        width: 350px;
        margin: 0 auto;
    }

    .dropdown.dropdown-lg {
        position: static !important;
    }

        .dropdown.dropdown-lg .dropdown-menu {
            min-width: 300px;
        }
}

.search {
    text-align: left;
}

.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
    border-radius: 4px 0px 0px 4px;
}

.fancy-checkbox {
    margin-bottom: 10px;
}

    .fancy-checkbox input[type="checkbox"] {
        display: none;
    }

        .fancy-checkbox input[type="checkbox"] + .btn-group > label span {
            width: 16px;
            height: 20px;
        }

            .fancy-checkbox input[type="checkbox"] + .btn-group > label span:first-child {
                display: none;
            }

            .fancy-checkbox input[type="checkbox"] + .btn-group > label span:last-child {
                display: inline-block;
            }

        .fancy-checkbox input[type="checkbox"]:checked + .btn-group > label span:first-child {
            display: inline-block;
        }

        .fancy-checkbox input[type="checkbox"]:checked + .btn-group > label span:last-child {
            display: none;
        }

    .fancy-checkbox .btn.btn-default.active {
        min-width: 100px;
        text-align: left;
    }
