/**
 * Default theme
 *
 */
/* Slight reset to make the preview have ample padding. */
.cse .gsc-control-cse,
.gsc-control-cse {
  padding: 1em;
  /*width: auto;*/
}
.cse .gsc-control-wrapper-cse,
.gsc-control-wrapper-cse {
  /*width: 100%;*/
}
.cse .gsc-branding,
.gsc-branding {
  display: none;
}

/*error
 .cse .gsc-control-cse div,
.gsc-control-cse div {
  position: normal;
}*/


/* Selector for entire element. */
.SearchArea .cse .gsc-control-cse,
.SearchArea .gsc-control-cse,
.SearchArea .gsc-control-cse-ja {
  background: transparent !important;
  border: none !important;
	padding: 0 !important;
}
.cse .gsc-control-cse:after,
.gsc-control-cse:after {
  content:".";
  display:block;
  height:0;
  clear:both;
  visibility:hidden;
}

/* error .cse .gsc-resultsHeader,
.gsc-resultsHeader {
  border: block;
}
*/

table.gsc-search-box td { border: none; }

table.gsc-search-box td.gsc-input {
  padding-right: 12px;
}

input.gsc-input {
  border-color: #666 !important;
  /*font-size: 13px;*/
  padding: 1px 6px;
}
/* Search button */
.cse input.gsc-search-button,
input.gsc-search-button {
  font-family: inherit;
  /*font-size: 11px;*/
  font-weight: bold;
  color: #000;
  padding: 0 8px;
  height: 20px;
  min-width: 54px;
  background-color: #CECECE;
  border: 1px solid #666;
/*  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;*/
}

#MainType1 input {
height: 40px;
border: 2px solid #666;
}

#MainType1 input.gsc-search-button {
height: 46px;
border: 2px solid #666;
font-size: 14px;
color: #fff;
background: #666;
width: 6em;
}

/* Inactive tab */
.cse .gsc-tabHeader.gsc-tabhInactive,
.gsc-tabHeader.gsc-tabhInactive {
  border-bottom: none;
  color: #666666;
  background-color: #e9e9e9;
  border: 1px solid;
  border-color: #e9e9e9;
  border-bottom: none;
}
/* Active tab */
.cse .gsc-tabHeader.gsc-tabhActive,
.gsc-tabHeader.gsc-tabhActive {
  background-color: #FFFFFF;
  border: 1px solid;
  border-top: 2px solid;
  border-color: #e9e9e9;
  border-top-color: #FF9900;
  border-bottom: none;
}
/* This is the tab bar bottom border. */
.cse .gsc-tabsArea,
.gsc-tabsArea {
  margin-top: 1em;
  border-bottom: 1px solid #e9e9e9;
}
/* Inner wrapper for a result */
.cse .gsc-webResult.gsc-result,
.gsc-webResult.gsc-result,
.gsc-imageResult-column,
.gsc-imageResult-classic {
  padding: .25em;
  border: 1px solid;
  border-color: #ffffff;
  margin-bottom: 1em;
}
/* Result hover event styling */
.cse .gsc-webResult.gsc-result:hover,
.gsc-webResult.gsc-result:hover,
.gsc-webResult.gsc-result.gsc-promotion:hover,
.gsc-results .gsc-imageResult-classic:hover,
.gsc-results .gsc-imageResult-column:hover {
 border: 1px solid;
  border-color: #FFFFFF;
}
/*Promotion Settings*/
/* The entire promo */
.cse .gsc-webResult.gsc-result.gsc-promotion,
.gsc-webResult.gsc-result.gsc-promotion {
  background-color: #FFFFFF;
  border-color: #336699;
}
/* Promotion links */
.cse .gs-promotion a.gs-title:link,
.gs-promotion a.gs-title:link,
.cse .gs-promotion a.gs-title:link *,
.gs-promotion a.gs-title:link *,
.cse .gs-promotion .gs-snippet a:link,
.gs-promotion .gs-snippet a:link {
  color: #0000CC;
}
.cse .gs-promotion a.gs-title:visited,
.gs-promotion a.gs-title:visited,
.cse .gs-promotion a.gs-title:visited *,
.gs-promotion a.gs-title:visited *,
.cse .gs-promotion .gs-snippet a:visited,
.gs-promotion .gs-snippet a:visited {
  color: #0000CC;
}
.cse .gs-promotion a.gs-title:hover,
.gs-promotion a.gs-title:hover,
.cse .gs-promotion a.gs-title:hover *,
.gs-promotion a.gs-title:hover *,
.cse .gs-promotion .gs-snippet a:hover,
.gs-promotion .gs-snippet a:hover {
  color: #0000CC;
}
.cse .gs-promotion a.gs-title:active,
.gs-promotion a.gs-title:active,
.cse .gs-promotion a.gs-title:active *,
.gs-promotion a.gs-title:active *,
.cse .gs-promotion .gs-snippet a:active,
.gs-promotion .gs-snippet a:active {
  color: #0000CC;
}
/* Promotion snippet */
.cse .gs-promotion .gs-snippet,
.gs-promotion .gs-snippet,
.cse .gs-promotion .gs-title .gs-promotion-title-right,
.gs-promotion .gs-title .gs-promotion-title-right,
.cse .gs-promotion .gs-title .gs-promotion-title-right *,
.gs-promotion .gs-title .gs-promotion-title-right * {
  color: #000000;
}
/* Promotion url */
.cse .gs-promotion .gs-visibleUrl,
.gs-promotion .gs-visibleUrl {
  color: #008000;
}
/* Style for auto-completion table
 * .gsc-completion-selected : styling for a suggested query which the user has moused-over
 * .gsc-completion-container : styling for the table which contains the completions
 */
.gsc-completion-selected {
  background: #EEE;
}
.gsc-completion-container {
   /*font-family: Arial, sans-serif;
 font-size: 13px;
  background: white;*/
  border: 1px solid #CCC;
  border-top-color: #D9D9D9;
  margin-left: 0;
  margin-right: 0;
  /* The top, left, and width are set in JavaScript. */
}
.gsc-completion-title {
  color: #0000CC;
}
.gsc-completion-snippet {
  color: #000000;
}

/* Full URL */
.gs-webResult div.gs-visibleUrl-short,
.gs-promotion div.gs-visibleUrl-short {
  display: none;
}
.gs-webResult div.gs-visibleUrl-long,
.gs-promotion div.gs-visibleUrl-long {
  display: block;
}


/*_____________________________________________*/


.gsc-control-cse, .gsc-control-cse, .gsc-table-result {
	font-size: 100% !important;
	width: auto !important;
}
#cse-search-form {margin:3px 0 0 0;}
#cse-search-form input[type="button"] {
	padding:2px 0 0 0 !important;
}

.gsc-input.gsc-input-focus {
	padding-left: 6px !important;
	padding-right: 6px !important;
}

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

.gsc-table-result {
    font-size: 100%  !important;
}

div.gsc-wrapper td {
  border-style: none !important;
}

.gsc-results .gsc-cursor-box {
	margin-top: 10px;
}



/*____IE対応　検索ボタン周り_________________________________________*/

*:first-child+html td.gsc-clear-button {
	padding-left: 10px !important;
}

/*____カラー_________________________________________*/
.blue #cse a,
.blue #cse a b,
.blue #cse span,
.blue .gsc-results .gsc-cursor-box .gsc-cursor-current-page,
.blue .gsc-results .gsc-cursor-box .gsc-cursor-page,
.blue .gsc-result-info,
.blue p.topagetop a 
 {
	color: #FF0 !important;
}

.black #cse a,
.black #cse a b,
.black #cse span,
.black .gsc-results .gsc-cursor-box .gsc-cursor-current-page,
.black .gsc-results .gsc-cursor-box .gsc-cursor-page,
.black .gsc-result-info,
.black p.topagetop a {
	color: #FFF !important;
}

/*___ 201804 ____________________*/

#TopMain #Search #___gcse_0 {
  margin: 10px 30px 10px 0;
	float: right;
	width: 350px;
}

#TopMain #Search .gsc-input-box {
  border: 3px solid #666;
  background: #fff;
  height: 32px;
  padding: 4px 0 0 0;
}

#TopMain #Search .gsc-search-box .gsc-search-button {
	position: relative;
	border-top: 1px solid #666;
	border-left: 1px solid #666;
	border-right: 1px solid #666;
	border-bottom: 1px solid #666;
	background: #666 96% center no-repeat;
	cursor: pointer;
}

#TopMain #Search .cse .gsc-search-button-v2,
#TopMain #Search .gsc-search-button-v2 {
  background-image: none;
	background-color: #666;
	border: none;
	height: 36px;
	opacity: 0;
}

#TopMain #Search .gsc-search-box .gsc-search-button:before {
	position: absolute;
	top: 25%;
	left: 30%;
	content: '検索' !important;
	color: #FFF;
	font-size: 16px;
}

/*__ 下層 & トップ共通 __*/

.cse .gsc-control-cse,
.gsc-control-cse {
  background-color: transparent !important;
  border: none !important;
	padding: 0 !important;
}
.gsc-search-button-v2 svg { display: none; }

td.gsc-input { width: 204px; padding-right: 0 !important; }

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

/*__ 下層用__*/
.SearchArea #___gcse_0 {
  margin: 0;
	float: right;
	width: 210px;
}

.SearchArea td.gsc-input { width: 204px; padding: 0; }

.SearchArea input.gsc-input {
  font-size: 12px;
}

.SearchArea .gsc-input-box {
  border: 2px solid #666;
  background: #fff;
  height: 20px;
  padding: 3px 0 0 0;
}

.SearchArea input.gsc-input::-moz-placeholder {
  font-size: 12px;
	background: transparent;
}

.SearchArea .gsc-search-box .gsc-search-button {
	position: relative;
	border: none; 
	background: #666 96% center no-repeat;
	cursor: pointer;
	padding: 4px 8px;
}
.SearchArea .gsib_a { padding: 0; }

.SearchArea .cse .gsc-search-button-v2,
.SearchArea .gsc-search-button-v2 {
  background-image: none;
	background-color: #666;
	border: none;
	padding: 2px 8px;
	height: 18px;
	opacity: 0;
}

.SearchArea .gsc-search-box .gsc-search-button:before {
	position: absolute;
	top: 20%;
	left: 15%;
	content: '検索' !important;
	color: #FFF;
	font-size: 12px;
}
