/* stili Drupal Cineca */

#google-cse-results {
	float: left;
	width: 100%;
}




/* aggiunti Oscar (tema BLU,...) */
.gsc-control-cse .gsc-table-result,
.cse .gsc-tabHeader,
.gsc-tabHeader,
.gsc-completion-container,
.gsc-results .gsc-cursor-page,
.gsc-results .gsc-cursor-current-page,
.gsc-above-wrapper-area-container,
a.gs-title,
.gsc-control-cse {
	font-family: 'Roboto','Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif !important;
}

.gsc-control-cse {
	font-size: 1em !important;
}

.gsc-wrapper table,
.gsc-wrapper table td{
	border:0 !important;
}

.gsc-wrapper table tr:hover td {
	background:none !important;
}

#___gcse_0 td,
.gsc-result-info-container {
	border:0 !important;
}

.gsc-cursor-page,
.gsc-cursor-current-page,
.inrubrica .currentPageButton,
.inrubrica .numericButton {
	padding:8px 12px !important;
	margin-right:0 !important;
}

.gsc-cursor-current-page,
.inrubrica .currentPageButton {
	text-shadow: 0 0px 0px #000 !important;
	font-weight: 700 !important;
}

.gsc-results .gsc-cursor-box .gsc-cursor-page {
	text-decoration: none !important;
}

.gsc-tabsArea {
	border-bottom: 1px solid #eaeaea !important;
	position:relative;
	z-index:99;
	margin-bottom:0 !important;
}

.gsc-tabHeader {
	border-top: 3px #eaeaea solid !important;
	background: #eaeaea !important;
	position: relative !important;
	top: 1px !important;
	text-decoration: none;
	padding: 10px !important;
	margin:0 !important;
	border-left:1px solid #fff !important;
	border-right:0 !important;
	font-size:14px !important;
	font-weight:400 !important;	
}

.gsc-tabhActive {	
	position: relative !important;
	top: 1px !important;
	text-decoration: none;
	padding: 8px 12px !important;
	border-left:1px solid #eaeaea !important;
	border-right:1px solid #eaeaea !important;
	border-bottom: 1px solid #fff !important;
	z-index:100;
	height: 20px;
}

.gsc-cursor-box.gs-bidi-start-align {
	border-top:1px solid #eaeaea;
}

.cse .gsc-cursor-box,
.gsc-cursor-box {
	padding-top:2em !important;
}

.gsc-promotion{
	border: 0 !important;
	margin:10px 0 !important;
}

.gs-promotion a.gs-title:active,
.gs-promotion a.gs-title:active *,
.gs-promotion .gs-snippet a:active,
.gs-promotion a.gs-title:hover,
.gs-promotion a.gs-title:hover *,
.gs-promotion .gs-snippet a:hover,
.gs-no-results-result .gs-snippet,
.gs-error-result .gs-snippet
{
	border:0 !important;
}

.cse .gs-webResult a.gs-visibleUrl,
.gs-webResult a.gs-visibleUrl,
.cse .gs-webResult .gs-visibleUrl,
.gs-webResult .gs-visibleUrl,
.gs-imageResult a.gs-visibleUrl,
.gs-imageResult .gs-visibleUrl 
{	
  font-size: 14px !important;
}

.gsc-result-info,
.gsc-orderby-label {
	color:inherit !important;
}

.gs-webResult div.gs-per-result-labels a.gs-label {
	text-decoration:none !important;
}

.gsc-thumbnail {
	width:13%;
}

.gsc-table-cell-snippet-close {
	width:83%;
}

.gs-web-image-box,
.gs-promotion-image-box {
	width:auto !important;
}

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

#block-custom-google-cse-custom-google-cse {
	width: 60%;
}

table.gsc-search-box {
	width: 100%;
}

#___gcse_0 .gsc-tabHeader:first-child::after {
	content: " i risultati";
}

.gsc-tabHeader,
.gsc-tabhActive {
	white-space: nowrap;
}

input.gsc-input,
input.gsc-search-button {
	padding: 8px 12px !important;
	font-size: 1.2em !important;
}
input.gsc-search-button {
	height: auto !important;
}
input.gsc-search-button {
	border-width: 1px !important;
	border-style: solid !important;
}


input#gsc-i-id1 {
	height:40px;
}



table.gsc-search-box td.gsc-input {
	width:88% !important;
}

table.gsc-search-box td.gsc-search-button {
	width:8% !important;
}

table.gsc-search-box td.gsc-clear-button {
	width:4% !important;
}


table.gsc-above-wrapper-area-container {
	border: 0 !important;
	margin: 0 !important;
}

.gsc-result-info {
	margin:0 !important;
}

/* 1) gestione colore per i diversi temi all screen */
.gs-webResult .gs-visibleUrl,
.gs-visibleUrl.gs-visibleUrl-long {
	color:#333333 !important;
}

.gsc-tabhActive {
	border-top: 5px solid !important;
	background: #ffffff !important;
	color: #222222 !important;
}

.gsc-promotion {
	border-left: 4px solid !important;
}


.gsc-webResult.gsc-result.gsc-promotion {
	background-color: transparent !important;
}
.gsc-results .gsc-cursor-current-page {
	color: #ffffff !important;
}

.gs-no-results-result .gs-snippet,
.gs-error-result .gs-snippet {
	background: #fae937 !important
}

.cse input.gsc-input,
input.gsc-input {
	border: 1px solid #e9e9e9 !important;
}



table.gsc-table-result tr{
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}

/* mail Oscar 31/5/17 */
/* table.gsc-table-result .gsc-thumbnail {
	width:100%;
} */
.gsc-table-cell-snippet-close, .gs-promotion-text-cell {
	vertical-align: top;
}
/***/


table.gsc-resultsHeader {
	display:none;
}

/* gestione versione tablet-mobile */
@media (max-width: 480px) {	
	.gsc-tabsArea {
		width: 100%;
		margin-bottom: 15px;
		overflow-x: auto;
		overflow-y: hidden;
	}
	
	.gsc-tabsArea > div{
		width:100%;
	}
	
	.gsc-tabHeader,
	span.gs-spacer {
		display: table-cell !important;
	}
}


