/**
 * capta.org custom Google CSE theme
 *
 */

/* Bootstrap compatability fix - http://stackoverflow.com/questions/21932819/google-cse-with-twitter-bootstrap-not-displaying-the-search-box-correctly */
 .gsc-results-wrapper-overlay, .gsc-results-wrapper-visible, .gsc-search-button, .gsc-search-button-v2 {
        box-sizing: content-box;
    }

/* Custom wrapper for search box */
.capta-gcse-search-box {
  width:320px;
  float:right;
}

/* Search Box */
form.gsc-search-box {
    margin-bottom: 0 !important;
    font-size:10px !important;
    line-height:10px !important;
}

table.gsc-search-box {
    margin-bottom: 0 !important;
}
.gsc-search-box-tools .gsc-search-box .gsc-input {
    padding-right: 0 !important;
}
/* Search Input */

@media (min-width: 768px) {
  input.gsc-input {
      height: 35px !important;
  }
}
@media (min-width: 641px) {
  input.gsc-input {
      height: 28px !important;
  }
}

.gsc-input-box {
    height: inherit !important;
    margin-top:2px !important;
    margin-bottom:2px !important;
}

input.gsc-input, .gsc-input-box {
    border-width: 1px !important;
    border-color: #FFFFFF !important;
}

.gsc-input-box-hover, .gsc-input-box-focus {
    border-color: #f9c734 !important;
}

/* Search Button */


@media (min-width: 641px) {
  .cse .gsc-search-button input.gsc-search-button-v2, input.gsc-search-button-v2 {
      padding: 12px 9px 12px 8px !important;
  }
}

@media (min-width: 768px) {
  .cse .gsc-search-button input.gsc-search-button-v2, input.gsc-search-button-v2 {
      padding: 15px 13px 15px 12px !important;

  }
}

.cse .gsc-search-button input.gsc-search-button-v2, input.gsc-search-button-v2 {
    margin-top: 0 !important;

}
.cse input.gsc-search-button,
input.gsc-search-button {
    -webkit-border-radius: 0 !important;
    border: 0 !important;
    margin-left: 0 !important;
    display:block !important;
}
input.gsc-search-button {
    background-color: #1f4268 !important;
    transition: background-color .3s ease-in-out,color .3s ease-in-out,border-color .3s ease-in-out,opacity .3s ease-in-out;
}
input.gsc-search-button:hover, input.gsc-search-button:focus {
    background-color: #f9c734 !important;
}


/* Search Results */


@media (min-width: 992px) {
  .gsc-control-cse, .gsc-control-cse .gsc-table-result {
      font-size: 18px !important;
  }
}
@media (min-width: 641px) {
  .gsc-control-cse, .gsc-control-cse .gsc-table-result {
      font-size: 16px !important;
  }
}

.cse .gsc-control-cse, .gsc-control-cse {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.gsc-control-cse {
    font-family: brandon_grotesque_regularRg, Helvetica, Arial, sans-serif !important;
}

.gs-webResult.gs-result a.gs-title:visited, .gs-webResult.gs-result a.gs-title:visited b, .gs-imageResult a.gs-title:visited, .gs-imageResult a.gs-title:visited b {
    color: #2188b5 !important;
}
.gs-webResult.gs-result a.gs-title:link, .gs-webResult.gs-result a.gs-title:link b, .gs-imageResult a.gs-title:link, .gs-imageResult a.gs-title:link b {
    color: #2188b5 !important;
}
.gsc-control-cse .gs-spelling, .gsc-control-cse .gs-result .gs-title, .gsc-control-cse .gs-result .gs-title * {
    font-size: 20px !important;
}
.gs-webResult div.gs-visibleUrl, .gs-imageResult div.gs-visibleUrl {
    color: #F26E20 !important;
}
.gs-result .gs-title, .gs-result .gs-title * {
    text-decoration: none !important;
}
.gsc-table-result, .gsc-thumbnail-inside, .gsc-url-top {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.gsc-control-cse .gsc-table-result {
    font-family: brandon_grotesque_regularRg, Helvetica, Arial, sans-serif !important;
}
.gsc-results .gsc-cursor-box .gsc-cursor-page {
    color: #19a664 !important;
}
