.gsc-refinementsArea {
  border-bottom: 0 !important;
}

.gsc-tabsArea {
  border-bottom: 1px solid #ddd !important;
}

.gsc-tabHeader.gsc-tabhActive {
  border: 0 !important;
}

.gsc-tabHeader {
  overflow: hidden !important;
}

.gsc-webResult.gsc-result, .gsc-results .gsc-imageResult{
  border-color: transparent !important;
  cursor: pointer;
}

.gsc-webResult.gsc-result:hover, .gsc-results .gsc-imageResult:hover{
  border-color:#ddd !important
}

.gsc-tabHeader.gsc-tabhInactive, .gsc-refinementHeader.gsc-refinementhInactive{
  background: transparent !important;
}

html.dark *[class^=gsc], html.dark *[class^=gs-]{
  background: var(--main-background) !important;
  color:#fff !important
}
html.dark .gs-webResult.gs-result a.gs-title:link b {
  color:#fff !important;
  font-weight: 100 !important;
}
html.dark .gcsc-find-more-on-google{
  color: #ddd !important
}

@media (prefers-color-scheme: dark) {
  *[class^=gsc], *[class^=gs-]{
    background: var(--main-background) !important;
    color:#fff !important
  }
  .gs-webResult.gs-result a.gs-title:link b {
    color:#fff !important;
    font-weight: 100 !important;
  }
  .gcsc-find-more-on-google{
    color: #ddd !important
  }
}

html.light *[class^=gsc], html.light *[class^=gs-]{
  background: #fff !important;
  color:#000 !important
}

html.light .gs-webResult.gs-result a.gs-title:link b {
  color:#000 !important;
  font-weight: 100 !important;
}

html.light .gcsc-find-more-on-google{
  color: #333 !important
}

#content .gsc-selected-option-container *{
    background: transparent !important;
}

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

.gsc-results{
  width: auto !important;
}

.gsc-resultsRoot{
  margin-top:10px !important;
}

.gsc-adBlock{
  display: none !important;
}

div.gsc-tabHeader:hover {
  color: #f60 !important;
}

.gsc-wrapper a, .search_result .title {
  font-family: Arial, sans-serif !important;
  color: #000 !important;
  color: var(--main-color) !important;
  font-size: 16px;
}

.search_result {
  margin: 20px;
}

.search_result a:hover {
  color: #1155CC !important;
}

.search_result .link {
  font-family: Arial, sans-serif !important;
  color: #009933 !important;
  text-decoration: none !important;
  font-size: 13px;
}

.gs-image-box.gs-web-image-box.gs-web-image-box-portrait {
  height: auto !important;
  margin-right: 20px;
}

.gs-web-image-box-portrait img.gs-image {
  max-height: none !important;
}

button.gsc-search-button-v2:before, button.gsc-search-button-v2:after{
    display:none;
    content:none;
}
