/*
Better Google Custom Search style
*/

/**
 * =>General
 **/

.better-gcs-wrapper .gsc-control-cse {
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

/**
 * =>Loading
 **/

#bs-gcse-results-loading {
    display: none;
}

#bs-gcse-results-loading:first-child:last-child {
    display: block;
}

/**
 * =>Hide Ads
 **/
.better-gcs-wrapper.hide-adsin .gsc-adBlock {
    display: none !important;
    visibility: hidden !important;
}

/**
 * =>Search Result
 **/
.better-gcs-wrapper .gsc-result {
    background: transparent !important;
    padding: 0 0 20px !important;
    margin: 0 0 20px !important;
    border-bottom: 1px solid #eee !important;
}

.better-gcs-wrapper .gsc-url-top,
.better-gcs-wrapper .gsc-thumbnail-inside {
    padding-left: 0;
    padding-right: 0;
}

.better-gcs-wrapper .gs-web-image-box {
    margin-right: 10px;
}

.better-gcs-wrapper .gsc-result .gs-title {
    margin-bottom: 5px;
}

.better-gcs-wrapper .gs-webResult .gs-visibleUrl {
    margin-top: 3px;
}

.better-gcs-wrapper .gs-web-image-box img.gs-image,
.better-gcs-wrapper .gs-promotion-image-box img.gs-promotion-image {
    max-width: 150px;
    max-height: 150px;
}

.better-gcs-wrapper .gs-web-image-box,
.better-gcs-wrapper .gs-promotion-image-box {
    width: auto !important;
    height: auto !important;
}

.better-gcs-wrapper .gsc-result .gs-title {
    text-decoration: none;
    font-size: 18px !important;
}

.better-gcs-wrapper .gsc-result .gs-title *:hover,
.better-gcs-wrapper .gsc-result .gs-title * {
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

.better-gcs-wrapper .gsc-result .gs-title * {
    color: #2b2b2b !important;
    text-decoration: none;
}

.better-gcs-wrapper .gsc-result .gs-title a {
    text-decoration: none;
}

.better-gcs-wrapper .gs-result a.gs-visibleUrl,
.better-gcs-wrapper .gs-result .gs-visibleUrl,
.better-gcs-wrapper .gsc-result .gs-title:hover *,
.better-gcs-wrapper .gsc-result .gs-title:hover {
    color: #909090;
}

/**
 * =>Branding
 **/
.better-gcs-wrapper .gsc-branding {
    display: none;
}

.better-gcs-wrapper .gcsc-branding-img-noclear {
    vertical-align: middle;
}

/**
 * =>Pagination
 **/
.better-gcs-wrapper .gsc-results .gsc-cursor-box {
    margin: 20px 0 0;
}

.better-gcs-wrapper .gsc-results .gsc-cursor-box .gsc-cursor-page {
    display: inline-block;
    padding: 0 12px;
    line-height: 28px;
    border: 1px solid #eee;
    text-align: center;
    text-decoration: none;
    color: #808080;
}

.better-gcs-wrapper .gsc-results .gsc-cursor-box .gsc-cursor-page:hover,
.better-gcs-wrapper .gsc-results .gsc-cursor-box .gsc-cursor-current-page {
    color: #0073c3;
}

/**
 * =>Search Input
 **/
.better-gcs-wrapper .gsc-input-box {
    height: auto !important;
}

.better-gcs-wrapper .gsc-input-box .gsc-input {
    box-shadow: none;
    border: none;
}

.better-gcs-wrapper input.gsc-search-button-v2 {
    background: #0073c3;
    border: 1px solid rgba(0, 0, 0, 0.11);
    height: auto;
    width: auto;
    margin: 0;
    line-height: 60px;
    padding: 9px 27px;
    vertical-align: top;
}
