/* #5c5c5c */

input.gsc-input {
  /*height: 25px;*/
  padding: 0px 0px 0px 3px;
  position: absolute !important;
  top: 0 !important;
  left: 0;
  font-size: 22px !important;
  color: #fff;
  /*background-color: #5c5c5c;*/
  /*border: none !important;*/
  /*border-color: none !important;*//

  /*width: 180px !important;*/
  margin: 0px !important;
  background-image: none !important;
  background: transparent!important;
  border: none!important;
  border-bottom: 2px solid #fff!important;
}

input.gsc-input::-ms-clear {
  display: none;
}

.gsc-input-box {
  border: none !important;
  border-color: none !important;
  background: none !important;
  background-color: none !important;
}
div.search-icon {
  background: url('/profiles/aetv/themes/custom/aetv/images/header/search_icon_2.png') no-repeat scroll 0px center transparent;
  width: 17px;
  height: 17px;
  margin: 10px 0 0 -25px;
}
table.gsc-search-box td {
  width: 210px;
}

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

/*.search-wrapper * {
  background-color: #5c5c5c;
}*/
.aetv-cse-wrapper .search-wrapper {
  display: none!important;
}
.aetv-cse-wrapper.open .search-wrapper {
  display: block!important;
}

.gsc-search-box {
  padding:0px;
}

.gsc-search-box tbody {
  border-top: none;
}

.gsc-control-cse {
  padding: 0px !important;
  height: 33px;
  /*background-color: #5c5c5c !important;*/
  border: none !important;

  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  -moz-border-top-right-radius: 4px;
  -moz-border-bottom-right-radius: 4px;
  -webkit-border-top-right-radius: 4px;
  -webkit-border-bottom-right-radius: 4px;

}

.gsc-control-cse table {
  border: none !important;
}

.gsc-search-box table {
  border: none !important;
  margin: 0px !important;
}

.gsc-search-box tr td:last-child {
  border-right: none;
}

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

/* autocomplete table */
#gs_id50 {
  /*border: 1px solid yellow;*/
}

#gs_cb50 {
  position: absolute;
  top: 7px;
  right: 3px;
  padding: 0px !important;
  width: 21px !important;
  height: 21px !important;
  /*background: #5c5c5c url(/profiles/aetv/themes/custom/aetv/images/header/search_clear.png) no-repeat top left !important;*/
  background: transparent url(/profiles/aetv/themes/custom/aetv/images/header/search_clear.png) no-repeat top left !important;
  font-size: 0px !important;
  color: #5c5c5c !important;
}

.gssb_c {
  /*display: block !important;*/
  /*display: table;
  border: 1px solid red;
  position: absolute;
  right: 10px !important; */

  top: 70px !important;
  
  border-radius: 10px !important;
  -moz-border-radius: 10px !important;
  -webkit-border-radius: 10px !important;
}

/* OVERLAY */
.gsc-modal-background-image {
  background-color: #000 !important;
  -webkit-transition: none !important;
  z-index: 999 !important;
}

.gsc-modal-background-image-visible {
  opacity: 0.6 !important;
  -ms-filter: "alpha(opacity=60)" !important;
  filter: alpha(opacity=60) !important;
}

.gsc-results-wrapper-nooverlay {
  width: 465px !important;
  /*left: auto !important;
  right: -2px !important;*/
  left: 50%;
  /*margin-left: -232px;*//* not accounting for padding here */
  margin-left: -257px;
  top: 46px !important;
  -webkit-transition: none !important;

  border-radius: 8px !important;
  -moz-border-radius: 8px !important;
  -webkit-border-radius: 8px !important;
  /*border: 3px solid #B9B9B9 !important;*/

  float: right;
  overflow: auto;
  background: #fff;
  /*position: relative !important;*/
  position: fixed !important;
  
  padding: 5px 20px 0px 30px;
  
  z-index: 1000;
  display: none;
}

/* resetting to override stuff happening for header nav. ugh */
.gsc-results-wrapper-nooverlay a {
  cursor: auto !important;
  padding: 0px !important;
  color: inherit !important;
  text-decoration: underline !important;
  font-size: inherit !important;
  text-transform: none !important;
}

/*.gsc-results-wrapper-nooverlay * {
  margin: 0;
  padding: 0;
  float: none;
  border: none;
}*/


.gsc-results-wrapper-nooverlay table {
  margin: 0px !important;
}

.gsc-results-wrapper-nooverlay table td, table th {
  padding: 0px !important;
}

.gsc-results-wrapper-nooverlay .gsc-table-result {
  border: none;
}

.gsc-results-wrapper-nooverlay .gsc-table-result tbody {
  border-top: none;
}

.gsc-results-wrapper-nooverlay .gs-snippet {
  line-height: 150%;
  margin-top: -43px;
}


.gsc-above-wrapper-area-container tbody {
  border: none;
}

.gsc-result-info-container {
  padding: 0px;
}

.gsc-webResult.gsc-result {
  border: none;
}

.gsc-resultsRoot table, .gsc-resultsRoot tbody {
  border: none;
}

.gsc-table-result tr td:last-child, 
.gsc-resultsHeader tr td:last-child, 
.gsc-above-wrapper-area-container tr td:last-child {
  border-right: none !important;
}

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

.gs-result .gs-title {
  height: auto !important;
  line-height: 120% !important;
}

.gs-result .gs-visibleUrl {
  line-height: 120% !important;
}


.gsc-resultsRoot a.gs-title {
  color: #0a63b0 !important;
}

.gsc-resultsRoot a.gs-title b {
  color: #0a63b0 !important;
}

.gsc-resultsRoot .gs-visibleUrl {
  color: #b1b1b1 !important;
}

.gsc-resultsRoot .gsc-table-result {
  color: #646464 !important;
}


.gsc-above-wrapper-area {
  border-bottom: none !important;
  padding: 0px !important;
}

.gsc-result-info {
  padding: 0px !important;
  margin: 3px 0px 0px 0px;
  font-size: 10px !important;
  line-height: 20px !important;
}

.gs-result .gs-title * {
  font-size: 13px !important;
}

.gs-result .gs-snippet {
  font-size: 11px;
}

.gsc-url-bottom {
  font-size: 10px;
}

.gsc-completion-container {
  display: block;
  width: 500px!important;
  font-size: 14px !important;
  background: transparent!important;
  
  box-shadow: none !important;
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
  /*
  border-radius: 10px !important;
  -moz-border-radius: 10px !important;
  -webkit-border-radius: 10px !important;
  border: 2px solid #B9B9B9 !important;
  */
  border: none!important;
}
.gsc-completion-selected {
  background: transparent!important;
}

.gssb_e {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}

#google-search table {
  border: none !important;
}

.gssb_a table tr td {
  border-bottom: 1px solid #ccc !important;
  padding: 3px 0!important;
  cursor: pointer;
}

.gssb_a table tr td.trlast {
  border-bottom: none !important;
}

.gsq_a span {
  /*color: #ccc;
  font-weight: bold;
  font-size: 12px;*/
  color: #fff;
  font-size: 20px;
}

.gsq_a span b {
  color: #ccc;
  font-weight: normal!important;
}

.gsq_a > table {
  width: 485px!important;
}

.gs-rounded-edges {
  border-radius: 8px !important;
  -moz-border-radius: 8px !important;
  -webkit-border-radius: 8px !important;
}

.gssb_c {
  border: 0 !important;

}


/* result content tweaks */
.gsc-table-result .gs-snippet {
  margin-top: 1px;
}

.gsc-table-result .gsc-table-cell-thumbnail + div,
.gsc-table-result .gs-fileFormat + div {
  display: none !important;
}

.gsc-orderby-container {
  display: none;
}

.gsc-search-result-hdr {
  margin-bottom: -11px !important;
  font-size: 18px;
  line-height: 24px;
  display: block;
  clear: both;
}

.gsc-results-wrapper-nooverlay .gsc-adBlock {
  display: none;
}


/* JS API VERSION result box */

/*.gsc-results-wrapper-nooverlay {
  position: absolute;
  right: 240px;
  background: #fff;
  width: 465px;
}*/

.cse form.gsc-search-box {
  padding: 0;
  margin-bottom: 0;
}

form.gsc-search-box {
  margin-bottom: 0 !important;
  padding: 0 !important;
}

.cse input.gsc-input, input.gsc-input {
  padding: 0 !important;
  width: 500px !important;
}

input.gsc-input {
  top: 5px !important;
  border-bottom: 1px solid #fff;
}
.aetv-cse-wrapper div.gsc-clear-button {
  display: none;
}
.aetv-cse-wrapper.open div.gsc-clear-button {
  position: absolute !important;
  /*left: 93px;
  top: -12px;*/
  /*left: 225px;*/
  right: 0;
  top: 6px;
  display: inline;
  padding: 0px !important;
  width: 21px !important;
  height: 21px !important;
  /*background: #5c5c5c url(/profiles/aetv/themes/custom/aetv/images/header/search_clear.png) no-repeat top left !important;*/
  background: transparent url(/profiles/aetv/themes/custom/aetv/images/header/search_clear.png) no-repeat top left !important;
  font-size: 0px !important;
  /*color: #5c5c5c !important;*/
}


/* alignment try */
.aetv-cse-wrapper {
  width: 100%;
  /*height: 100%;*/
  /*height: calc(100% - 70px);*/
  /*top: 0px;*/
  top: 0;
  left: 0px;
  position: absolute;
  /*background: #ccc;*/ /*turn on for debugging*/
  background: rgba(0,0,0,0.8);
  z-index: 9999;
  height: 0;
  overflow: hidden;
}

.aetv-cse-wrapper.open {
  height: calc(100% - 70px);
  overflow: visible;
}
/*
.aetv_showBranding_ .aetv-cse-wrapper {
  height: calc(100% - 160px);
  top: 100px;
}
*/
.gstl_50, .gssb_c {
/*
  left: auto !important;
  right: 10px !important;
  top: 10px !important;
*/
  left: 50%!important;
  margin-left: -250px!important;
}

.gsc-above-wrapper-area {
  margin-top: 32px;
}

.gsc-results-close-btn {
  top: 15px !important;
}
