/* layout */

.content .gsc-control-cse {
    font-family: 'Open Sans', sans-serif;
}

.content .cse .gsc-control-cse, .gsc-control-cse {
    padding: 0;
}

.content .gsc-resultsbox-visible,
.content table.gsc-search-box,
.content .gsc-tabsArea > div,
.content .gsc-above-wrapper-area {
    display: block;
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
}

.content .gsc-above-wrapper-area {
    border-bottom: none;
}

.content .gsc-tabsArea {
    width: 100%;
    border-bottom: #b9bfc2 1px solid;
}

.content .gsc-resultsRoot,
.content table.gsc-search-box > tbody,
.content .gsc-tabsArea > div,
.content .gsc-above-wrapper-area > .gsc-above-wrapper-area-container {
    display: block;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    box-sizing: border-box;
}

.content .gsc-tabsArea > div > div:first-child {
    margin-left: 20%;
}

.content .gsc-above-wrapper-area > .gsc-above-wrapper-area-container > tbody {
    display: table;
    width: 100%;
    border-bottom: #b9bfc2 1px solid;
}

.content .gsc-above-wrapper-area > .gsc-above-wrapper-area-container > tbody td {
    padding-bottom: 6px;
}

.content table.gsc-search-box > tbody {
    padding-top: 8px;
    padding-bottom: 8px;
}

.content table.gsc-search-box > tbody:after {
    content: "";
    display: block;
    clear: both;
}

.content table.gsc-search-box > tbody > tr {
    display: block;
    width: 100%;
}

.content table.gsc-search-box > tbody > tr > td.gsc-input {
    display: block;
    float: left;
    width: 100%;
    padding-right: 80px !important;
    box-sizing: border-box;
}

.content table.gsc-search-box > tbody > tr > td.gsc-input table {
    margin: 0;
    padding: 0;
}

.content table.gsc-search-box > tbody > tr > td.gsc-input table td {
    padding: 0;
}

.content table.gsc-search-box > tbody > tr > td.gsc-input table input.gsc-input {
    padding: 0 16px !important;
    height: 35px !important;
    line-height: 35px;
    font: inherit;
    font-size: 14px;
    border: #b9bfc2 1px solid !important;
}

.content table.gsc-search-box > tbody > tr > td.gsc-search-button {
    display: block;
    float: left;
    margin-left: -70px;
}

.content table.gsc-search-box > tbody > tr > td.gsc-search-button input.gsc-search-button {
    display: block;
    width: 35px;
    height: 35px;
    margin: 0;
    padding: 11px;
    background-color: #000;
    border: none;
    border-radius: 0;
    box-sizing: border-box;
}
.gs-result .gs-title, .gs-result .gs-title * {
    color: #d50032 !important;
    text-decoration: underline;
}

@media screen and (min-width: 1200px) {
    .content .gsc-resultsbox-visible,
    .content table.gsc-search-box,
    .content .gsc-tabsArea > div,
    .content .gsc-above-wrapper-area {
        max-width: 1170px;
    }
    
    .content .gsc-resultsRoot,
    .content table.gsc-search-box > tbody,
    .content .gsc-above-wrapper-area > .gsc-above-wrapper-area-container {
        padding-right: 20%;
        padding-left: 20%;
    }
    
    .content .gsc-tabsArea > div {
        padding-right: 4px;
        padding-left: 4px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .content .gsc-resultsbox-visible,
    .content table.gsc-search-box,
    .content .gsc-tabsArea > div,
    .content .gsc-above-wrapper-area {
        max-width: 970px;
    }
    
    .content .gsc-resultsRoot,
    .content table.gsc-search-box > tbody,
    .content .gsc-above-wrapper-area > .gsc-above-wrapper-area-container {
        padding-right: 10%;
        padding-left: 10%;
    }
    
    .content .gsc-tabsArea > div > div:first-child {
        margin-left: 10%;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .content .gsc-resultsbox-visible,
    .content table.gsc-search-box,
    .content .gsc-tabsArea > div,
    .content .gsc-above-wrapper-area {
        max-width: 750px;
    }
    
    .content .gsc-resultsRoot,
    .content table.gsc-search-box > tbody,
    .content .gsc-above-wrapper-area > .gsc-above-wrapper-area-container {
        padding-right: 15px;
    }
    
    .content .gsc-tabsArea > div > div:first-child {
        margin-left: 0;
    }
}

@media screen and (max-width: 767px) {
    .content .gsc-resultsbox-visible,
    .content table.gsc-search-box,
    .content .gsc-tabsArea > div,
    .content .gsc-above-wrapper-area > .gsc-above-wrapper-area-container {
        max-width: none;
    }
    
    .content .gsc-tabsArea > div > div:first-child {
        margin-left: 0;
    }
}

.content .gsc-control-wrapper-cse table tr th, 
.content .gsc-control-wrapper-cse table tr td {
    background-color: transparent;
}



/* general styles */

.search-block {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 10001;
}

.search-block .search-form-wrapper {
    padding-top: 16px;
}
    
.search-block .search-input-wrapper {
    position: relative;
    float: right;
}
.search-block .search-input {
    background-color: #ebebeb;
    border: medium none;
    border-radius: 20px !important;
    cursor: pointer;
    float: none !important;
    height: 3px;
    transition: width 0.6s ease 0s, border-radius 0.6s ease 0s, background 0.6s ease 0s, box-shadow 0.6s ease 0s;
    width: 36px;
}
.search-block .search-input + label .search-icon {
    color: black;
}
.search-block .search-input:hover {
    background-color: #c8c8c8;
    box-shadow: 0 0 0 5px #3d4752;
    color: black;
}
.search-block .search-input:focus {
    background-color: #ebebeb;
    border: medium none;
    border-radius: 0;
    box-shadow: none;
    color: black;
    cursor: text;
    outline: medium none;
    padding-left: 15px;
    transition: width 0.6s cubic-bezier(0, 1.22, 0.66, 1.39) 0s, border-radius 0.6s ease 0s, background 0.6s ease 0s;
    width: 300px;
}
.search-block .search-input:focus + label .search-icon {
    color: black;
}
.search-block .search-input:not(:focus) {
    text-indent: -5000px;
}
.search-block .search-form-submit {
    display: none !important;
}
.search-block .search-input-wrapper label {
    color: #000;
    cursor: pointer;
    margin-top: 0;
    position: absolute;
    right: 8px;
    top: 10px;
}
.search-block .search-icon {
    color: white;
    cursor: pointer;
    margin-top: 0;
}

.ubermenu .ubermenu-nav li.widget_cltv-global-search {
    padding: 24px 22px 28px;
}

.search-title.hiddenable {
    background-position: center 2px;
    height: 23px;
    width: 30px;
    color: inherit;
}

.search-block .search-title {
    float: right;
    margin: 10px 16px 0 16px;
    color: #fec30a;
}

.gsc-search-box-tools .gsc-search-box .gsc-input {
    padding: 0 !important;
}

input.gsc-input,
.gsc-input-box,
.gsc-input-box-hover,
.gsc-input-box-focus {
    height: auto;
    background: transparent none;
    border: none;
}

.search-block input.gsc-input {
    background-color: #ebebeb;
    border: medium none;
    border-radius: 20px !important;
    cursor: pointer;
    float: none !important;
    height: 32px !important;
    line-height: 32px;
    margin-top: 1px !important;
    transition: width 0.6s ease 0s, border-radius 0.6s ease 0s, background 0.6s ease 0s, box-shadow 0.6s ease 0s;
    width: 32px !important;
}
.search-block input.gsc-input + label .search-icon {
    color: black;
}
.search-block input.gsc-input:hover {
    background-color: #c8c8c8;
    box-shadow: 0 0 0 5px #3d4752;
    color: black;
}
.search-block input.gsc-input:focus {
    background-color: #ebebeb;
    border: medium none;
    border-radius: 0;
    box-shadow: none;
    color: black;
    cursor: text;
    outline: medium none;
    padding-left: 15px !important;
    transition: width 0.6s cubic-bezier(0, 1.22, 0.66, 1.39) 0s, border-radius 0.6s ease 0s, background 0.6s ease 0s;
    width: 300px !important;
}
.search-block input.gsc-input:focus + label .search-icon {
    color: black;
}
.search-block input.gsc-input:not(:focus) {
    text-indent: -5000px;
}

.gsc-search-button {
    display: none;
}

.content .gsc-search-button {
    display: inline-block;
}

.gsib_a {
    padding-top: 3px;
    padding-right: 0;
    padding-left: 0;
}

.gsib_b {
    display: none;
}

.content .gsib_b {
    display: inline-block;
}



/* search results overwrite */

.gs-result {
    font-family: 'Open Sans', sans-serif;
}

.gsc-webResult .gsc-result {
    margin-top: 12px;
    margin-bottom: 12px;
}

.gsc-table-cell-thumbnail,
.gs-promotion-image-cell {
    width: 25%;
    padding-right: 16px;
    box-sizing: border-box;
}

.gs-web-image-box img.gs-image {
    width: 100%;
    max-width: 100%;
    max-height: none;
    margin: 0;
}

.gs-image-box.gs-web-image-box.gs-web-image-box-landscape,
.gs-image-box.gs-web-image-box.gs-web-image-box-portrait {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: none;
}

.gsc-table-result,
.gsc-thumbnail-inside,
.gsc-url-top {
    padding-left: 0;
    padding-right: 0;
}

.gs-result div.gs-title,
.gs-result div.gs-title {
    margin-bottom: 6px;
    height: auto;
    line-height: 1;
}

.gs-webResult.gs-result a.gs-title:link,
.gs-imageResult a.gs-title:link,
.gs-webResult.gs-result a.gs-title:visited,
.gs-imageResult a.gs-title:visited {
    color: #000 !important;
    font-size: 18px;
    line-height: 1.2;
    text-decoration: underline;
}

.gs-webResult.gs-result a.gs-title:link b,
.gs-imageResult a.gs-title:link b,
.gs-webResult.gs-result a.gs-title:visited b,
.gs-imageResult a.gs-title:visited b {
    color: inherit;
    font-size: inherit;
    font-family: inherit;
    text-decoration: none;
}

.gs-webResult div.gs-visibleUrl,
.gs-imageResult div.gs-visibleUrl {
    margin-bottom: 4px;
    color: #28282c;
    text-decoration: none;
    font-size: 14px;
}

.gs-webResult div.gs-visibleUrl {
    margin-bottom: 10px;
}

.gs-webResult .gs-snippet,
.gs-imageResult .gs-snippet,
.gs-fileFormatType {
    font-size: 14px;
    line-height: 1.4;
}

.gsc-control-cse .gsc-table-result .gs-per-result-labels {
    display: none;
    font-size: 14px;
    margin-top: 8px;
}



/* tabs styles */

.gsc-tabsArea {
    height: auto;
    padding-bottom: 0;
}

.gsc-tabsArea > div {
    height: auto;
    overflow: visible;
}

.gsc-tabHeader {
    margin-right: 0px;
    margin-top: 0px;
    font-weight: bold;
    height: 50px;
    line-height: 50px;
    min-width: 0;
    text-align: center;
    font-size: 14px;
    font-weight: normal;
    box-sizing: border-box;
}

.gsc-tabHeader.gsc-tabhActive {
    font-weight: bold;
    border: none;
    border-bottom: #28282c 2px solid;
}

.gsc-tabsArea .gs-spacer {
    font-size: 1px;
    margin-right: 0;
    overflow: hidden;
}

.gsc-tabHeader.gsc-tabhInactive {
    background: transparent none;
    color: #28282c;
    border: none;
}

.gsc-result-info {
    font-size: 14px;
}

.gsc-orderby-container {
    font-size: 14px;
}

.gsc-selected-option-container {
    width: auto !important;
    font-size: 14px;
    font-weight: normal;
}



/* paginator */

.gsc-cursor-box {
    border-top: #b9bfc2 1px solid;
}

.gsc-results .gsc-cursor-box {
    text-align: center;
}

.gsc-results .gsc-cursor {
    display: inline-block;
    margin: 16px auto 0;
    font-size: 13px;
}

.gsc-results .gsc-cursor-box .gsc-cursor-current-page {
    border: none;
    background: transparent none;;
    color: #000;
}

.gsc-results .gsc-cursor-box .gsc-cursor-page {
    margin-right: 14px;
    border: none;
    background: transparent none;
    color: #000;
}

.gsc-results .gsc-cursor-box .gsc-cursor-page:first-child {
    margin-left: 14px;
}



/* handheld styles */

@media screen and (max-width: 768px) {
    .gsc-table-cell-thumbnail,
    .gs-promotion-image-cell {
        display: none;
    }

    .gsc-table-cell-thumbnail > div {
        float: none;
    }
    
    .gs-web-image-box img.gs-image {
        margin: 4px 0 8px;
    }
    
    .gs-title.gsc-table-cell-thumbnail.gsc-thumbnail-left {
        display: none;
    }
}