.gsc-control-cse
{
    padding: 0px !important;
    border-width: 0 !important;
    background: transparent !important;
}

form.gsc-search-box
{
    margin-bottom: 0px !important;
}

table.gsc-search-box
{
    margin-bottom: 0px !important;
}

/* style search button */

button.gsc-search-button
{
    /* .btn */
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    cursor: pointer;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;

    /* .btn-outline-success */
    color: #009959;
    background-color: transparent;
    background-image: none;
    border-color: #009959;


    padding: 6px 27px;
}

button.gsc-search-button svg
{
    transition: fill .15s ease-in-out;
}

button.gsc-search-button:hover, button.gsc-search-button:active
{
    color: #ffffff;
    background-color: #009959;
    border-color: #009959;
}

button.gsc-search-button:hover svg, button.gsc-search-button:active svg
{
    fill: #ffffff;
}

button.gsc-search-button:focus
{
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(40,167,69,.5);
}

/* Disable padding for fake search box table */
div.gsc-input-box td
{
    padding: 0 !important;
}

/* Disable display for fake search box table */
div.gsc-input-box
{
    border-width: 0;
    background: transparent;
    box-shadow: none;
}

/* Disable clear search x button */
div.gsc-input-box td:last-child
{
    display: none;
}

/* Disable default padding between input and search buttons */
.gsc-search-box-tools .gsc-search-box .gsc-input
{
    padding-right: 0 !important;
}

input.gsc-input
{
    /* .form-control */
    display: block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: .375rem .75rem !important;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da !important;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

input.gsc-input:focus
{
    /* .form-control:focus */
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

@media (min-width: 576px)
{
    input.gsc-input
    {
        /* .form-inline .form-control */
        display: inline-block;
        width: auto !important;
        vertical-align: middle;
    }

    .gsc-search-box-tools .gsc-search-box .gsc-input
    {
        /* mr-sm-2 */
        padding-right: .5rem !important;
    }
}
