/* stili Drupal Cineca */

#google-cse-results {float: left;width: 70%;}
.inrubrica {float: left;width: 30%;}

/* aggiunti Oscar */
.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;}
.inrubrica .page_navigation  {text-align: center;}
.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;}
#wrapRisultato {border-bottom: 1px solid #eaeaea;border-top: 1px solid #eaeaea;}
.inrubrica .currentPageButton {font-weight: 700 !important;}
.inrubrica {padding-top: 2em;padding-left:0 !important;width: 30% !important}
.inrubrica td {padding:10px;}
.inrubrica a {text-decoration: none;}
.inrubrica > h1 + p {border-top: 1px solid #e5e5e5;margin-top: 0;padding-top: 12px;text-align:center;}
.inrubrica > h1 + p + p + p + p {font-size: 0.9em;} /* in attesa che si elimini il p da codice, dopo la regola diventa .inrubrica > h1 + p + p + p */
.inrubrica h2 {font-size:16px;}
.inrubrica p.last span i{font-size:0.9em !important;}
.inrubrica #page_navigation {text-align: center;margin-top:1em;}
.risultato {overflow: hidden;padding:1em;}
.risultato:hover {background: #f3f3f3;}
.risultato p {margin:0;}
.firstbutton, .prevbutton {margin-right:8px;}
.lastbutton, .nextbutton {margin-left:8px;}
table.gsc-resultsHeader {display:none;}
.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%;}
table.gsc-above-wrapper-area-container {border: 0 !important;margin: 0 !important;}
.gsc-result-info {margin:0 !important;}

/* 1) 2) */
/* 1) gestione colore per i diversi temi all screen, per il mobile vedi 2) */
#___gcse_0 a, #___gcse_0 a b,
.gsc-cursor-page,
a.gs-title:link *,
a.gs-title,
.gsc-cursor-current-page,
.gs-snippet a,
.gsc-tabHeader,
.gs-webResult div.gs-per-result-labels a.gs-label,
a.gs-title,
.gs-snippet a,
.gs-visibleUrl,
.gs-visibleUrl-short,
.inrubrica .currentPageButton {color:#d61524 !important;}
.inrubrica a, .gsc-tabHeader {color:#d61524;}
.gs-webResult .gs-visibleUrl, .gs-visibleUrl.gs-visibleUrl-long {color:#333333 !important;}
.gsc-tabhActive {border-top: 5px solid #d61524 !important;background: #ffffff !important;color: #222222 !important;}
.gsc-promotion {border-left: 4px solid #d61524  !important;}
.gsc-results .gsc-cursor-current-page, .inrubrica .currentPageButton {background-color: #d61524 !important;color:#fff !important;}
.gsc-webResult.gsc-result.gsc-promotion {background-color: transparent !important;}
.gs-no-results-result .gs-snippet, .gs-error-result .gs-snippet {background: #fae937 !important}
.gsc-completion-title {color:#d61524 !important;}

#___gcse_0 .gsc-control-cse .gsc-tabHeader:first-child::after {content: " i risultati";}
#___gcse_0 .gsc-control-cse-en .gsc-tabHeader:first-child::after {content: " results";}
.gsc-tabHeader, .gsc-tabhActive {white-space: nowrap;}

/* 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;}
#region-content > div {display: -webkit-box;display: -moz-box;display: -ms-flexbox;display: -webkit-flex;display: flex;
-webkit-flex-direction: column;-ms-flex-direction: column;flex-direction: column;}
.inrubrica {-webkit-box-ordinal-group: 1;-moz-box-ordinal-group: 1;-ms-flex-order: 1;-webkit-order: 1;order: 1;width:auto !important;padding:1em !important;}
#google-cse-results {-webkit-box-ordinal-group: 2;-moz-box-ordinal-group: 2;-ms-flex-order: 2;-webkit-order: 2;order: 2;width:100%;}
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;}
table.gsc-table-result .gsc-thumbnail {width:100%;height:100%;}
.prevbutton, .nextbutton {font-weight: 700;padding: 8px 12px;}

/* 2) gestione colore per i diversi temi mobile */
.prevbutton, .nextbutton {background-color: #d61524;font-weight: 700;color: #fff !important;padding: 8px 12px;}
}

