/* ====================================================
 * Company: Unity Technologies
 * Contributors: 
   - Rickard Andersson, rickard@unity3d.com
======================================================= */

/****************************************
  ==== RESET
****************************************/

div.gsc-input-box, div.gsc-tabsArea, div.gsc-result-info, div.gsc-results, .gsc-control-cse, table.gsc-table-result, .gsc-completion-container {
  font: 16px/135% 'Roboto', sans-serif !important; font-weight: 300 !important; margin: 0;
}
div.gsc-control-cse, form.gsc-search-box, table.gsc-search-box, td.gsc-input, td.gsib_a, table.gsc-resultsHeader,
.search-box table tbody tr, .search-box table tbody td {
  padding: 0 !important; margin: 0 !important; background: none !important; border: 0 !important;
}
.search-box table tbody tr:hover {
  background: none !important;
}
/****************************************
  ==== SEARCH BOX
****************************************/

form.gsc-search-box {
  padding: 0 30px 0 30px !important;
}
table.gsc-search-box {
  position: relative;
}
table.gsc-search-box td {
  padding: 0;
}
div.gsc-input-box {
  background: #fff; height: 46px; border: #ececec 1px solid; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;
}
div.gsc-input-box:hover {
  border-color: #9e9e9e;
}
div.gsc-input-box-focus {
  border-color: #00bcd4 !important;
}
input.gsc-input {
  width: 100% !important; height: 44px !important; font-size: 1.0625em !important; padding: 0 13px !important; margin: 0 !important; border: none; background: #fff none 0 0 no-repeat !important; -webkit-box-shadow: none !important; -moz-box-shadow: none !important; box-shadow: none !important;
}
td.gsc-search-button {
  width: 0 !important;
}
input.gsc-search-button {
  width: 46px !important; height: 46px !important; margin: 0 !important; padding: 0px !important; border: 0 !important; position: absolute; top: 0; right: 0; background: #222c37 url(../../images/ui/sprites/core-sprite.png) -256px 12px no-repeat !important; -webkit-border-radius: 0 3px 3px 0 !important; -moz-border-radius: 0 3px 3px 0 !important; border-radius: 0 3px 3px 0 !important;
}
div.gsc-clear-button {
  display: none;
}
a.gsst_a { 
  padding: 4px 50px 0 0 !important;
}
span.gscb_a {
  line-height: 38px; color: #99a0a7 !important;
}
a.gsst_a:hover span.gscb_a {
  color: #222c37 !important;
}

/****************************************
  ==== AUTO SUGGESTIONS
****************************************/

td.gssb_e {
  -webkit-box-shadow: none !important; -moz-box-shadow: none !important; box-shadow: none !important;
}
table.gsc-completion-container {
  border: #e9ebec 1px solid !important; -webkit-box-shadow: none !important; -moz-box-shadow: none !important; box-shadow: none !important; font-size:  !important;
}
td.gssb_a {
  padding: 5px 15px !important;
}

/****************************************
  ==== FILTER
****************************************/

div.gsc-tabsArea {
  margin: 15px 0 10px 0 !important; height: auto !important; border: 0 !important; padding: 0 30px;
}
.gsc-tabsArea > div {
  height: auto !important; overflow: visible !important;
}
div.gsc-tabHeader {
  height: 26px !important; line-height: 26px !important; padding: 0 0 0 25px !important; margin: 0 15px 5px 0; border: 0 !important; position: relative !important; font-weight: 300 !important; text-align: left; font-size: 0.9375em !important; outline: none;
}
div.gsc-tabHeader:before {
  content: ''; width: 16px; height: 16px; display: block; border: #ececec 1px solid; position: absolute; top: 3px; left: 0; background: #fff; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%;
}
div.gsc-tabHeader:after {
  content: ""; display: block; width: 8px; height: 8px; position: absolute; left: 5px; top: 8px; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%;
}
div.gsc-tabHeader:hover:after {
  background-color: #ececec;
}
div.gsc-tabhInactive, div.gsc-tabhActive {
  background-color: transparent !important;
}
div.gsc-tabhActive:after, div.gsc-tabhActive:hover:after {
  background-color: #00bcd4;
}

/****************************************
  ==== RESULT
****************************************/

div.gsc-above-wrapper-area {
  border-bottom: 1px solid #e9ebec; padding: 5px 30px 0 30px;
}
div.gsc-result-info {
  margin: 0; padding: 0; color: #5a5a5b; font-size: 0.9375em !important;
}
div.gsc-results {
  width: 100% !important;
}
.gsc-webResult.gsc-result, .gsc-results .gsc-imageResult {
  background-color: #fff !important; border-color: transparent !important;
}
.gsc-webResult .gsc-result {
   padding: 30px !important; border-bottom: #ececec 1px solid !important;
}
div.gsc-results, div.gsc-thumbnail-inside, div.gsc-url-top, div.gs-visibleUrl {
  padding: 0 !important;
}
.gsc-result .gs-title, a.gs-title {
  display: block; height: auto !important; text-decoration: none !important;
}
a.gs-title, a.gs-title b {
  color: #222c37 !important; font-size: 1.0625em !important; font-weight: 700; margin: 0 0 10px 0 !important; text-decoration: none !important;
}
a.gs-title:hover, a.gs-title:hover b {
  color: #222c37 !important; text-decoration: underline !important;
}
a.gs-title:focus, a.gs-title:active, a.gs-title:focus b, a.gs-title:active b {
  color: #222c37 !important; text-decoration: underline !important;
}
div.gs-visibleUrl {
  display: none !important;
}
div.gs-snippet {
  margin: 0 !important; color: #5a5a5b !important; font-size: 0.9375em !important;
}
div.gs-per-result-labels {
  font-size: 0.875em !important;display: none;
}
div.gs-per-result-labels, div.gs-per-result-labels a {
  color: #9e9e9e !important;
}
div.gs-per-result-labels a.gs-label:hover {
  text-decoration: underline !important;
}
div.gs-per-result-labels span:first-child:after {
  content:":";
}
div.gs-no-results-result div.gs-snippet {
  padding: 5px 10px !important; border: 0 !important; background-color: #fffbd8 !important; font-size: 0.875em !important;
}
div.gsc-thumbnail-left {
  display: none !important;
}

/****************************************
  ==== PAGING
****************************************/

div.gsc-results div.gsc-cursor-box {
  margin: 0 !important; padding: 30px;
}
div.gsc-results div.gsc-cursor {
  display: inline !important;
}
div.gsc-results div.gsc-cursor-box div.gsc-cursor-page {
  min-width: 36px; height: 36px; line-height: 36px; float: left; margin: 0 6px 5px 0 !important; display: block !important; padding: 0 !important; font-size: 0.9375em !important; text-decoration: none !important; border: #e9ebec 1px solid !important; outline: none; color: #5a5a5b !important; text-align: center; background: #fff !important; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;
}
div.gsc-results div.gsc-cursor-box div.gsc-cursor-page:hover {
  border-color: #9e9e9e !important; color: #5a5a5b !important;
}
div.gsc-results div.gsc-cursor-box div.gsc-cursor-page:active {
  border-color: #00bcd4 !important; color: #5a5a5b !important;
}
div.gsc-results div.gsc-cursor-box div.gsc-cursor-current-page, div.gsc-results div.gsc-cursor-box div.gsc-cursor-current-page:hover {
  color: #fff !important; background: #00bcd4 !important; border-color: #00bcd4 !important; font-weight: 300 !important;
}

/****************************************
  ==== BREAKPOINT < 768px
****************************************/

@media only screen and (min-width: 150px) and (max-width: 767px){

form.gsc-search-box {
  padding: 0 20px !important;
}
div.gsc-tabsArea {
  padding: 0 20px;
}
div.gsc-above-wrapper-area {
  padding: 5px 20px 0 20px;
}
.gsc-webResult .gsc-result {
   padding: 15px !important;
}
div.gsc-results div.gsc-cursor-box {
  padding: 20px;
}

}

/****************************************
  ==== RETINA IMAGES
****************************************/

@media only screen and (-moz-min-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio:2){

input.gsc-search-button {
  background-image: url(../../images/ui/sprites/core-sprite@2x.png); -webkit-background-size: 500px 500px; -moz-background-size: 500px 500px; -o-background-size: 500px 500px; background-size: 500px 500px;
}

}
