/*
Theme Name: Aula Scienze 2014
Theme URI: 
Author: duDAT Srl
Author URI: http://www.dudat.it
Description: 
Version: 1.2
=======
 */

body {
	background:url(img/bg-body.png) repeat 0 0;
}


#container {
	-moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: #FFFFFF;
    border-color: -moz-use-text-color #BEBEBE #BEBEBE;
    border-image: none;
    border-right: 1px solid #BEBEBE;
    border-style: none solid solid;
    border-width: 0 1px 1px;
    color: #454545;
	margin-bottom:20px;
	}

.clear {
	display:block;
	clear:both;	
	}
	
iframe {border:none;}	

/**************************
Header
*************************/

#header	{
	min-height:55px;
	background:url(img/bg-header.png) repeat-x;
	/*background-color:#E20613;*/
	padding-top:60px;
	position:relative;
	margin-bottom:10px;
}

#header #zanichelli {
    /*background: url("img/zanichelli.png") no-repeat scroll 0 0 transparent;	*/
	width:500px;
	height:40px;
    /*text-indent: -9999px;	*/
	margin:-50px 0 0 0;
    position: relative;	
}

#header #show-login {
    /*background: url("img/tab-login.png") no-repeat scroll 0 0 transparent;*/
    cursor: pointer;
    float: right;
    height: 40px;
    margin: -43px 30px 0 0;
    position: relative;
    /*text-indent: -9999px;*/
    width: 275px;
}

#header #logo-container {
	min-width:300px;	
	}

#header	h1#logo {
	background-color:#FFF;
	margin:0 10px 0 0;
	padding:0;
	height:64px;
	}

#header	#logo {
}

#header .ricerca {
	display: none;
    background: url("img/bg-texture-grey.png") repeat 0 0;	
	}
	
#header .ricerca .input {
	padding:6px 10px;
}

#header .ricerca form {
	margin:0;
}

#header .ricerca #searchform {	
	float:left; 
	width:90%	
	}


	
.ricerca .input input {
	border:1px solid #FFF;
  -webkit-border-radius: 10px;
     -moz-border-radius: 10px;
          border-radius: 10px;
	color:#BBB;	 
	background:#EFEFF0 url(img/ico-lente.png) no-repeat right 10px;	
}

#header .ricerca .input input {
	font-size:2.2em;	
	height:52px;	
}


#header .advbutt {
	background-color:#454545; 
	text-align:center; 
	width:10%; 
	float:left;	
	}

#header .advbutt a {	
	color:#FFF; display:block; 
	width:100%; 
	padding-top:20px; 
	padding-bottom:20px; 
	font-weight:bold; 
	font-size:0.8em; 
	line-height:1.1em;
}

/***********************
Menù
***********************/
	
#nav_menu-2, #nav_menu-3, #nav_menu-4, #nav_menu-5, #nav_menu-6, #nav_menu-7, #tribe-events-list-widget-2 {
    background: url("img/bg-texture-grey.png") repeat 0 0;
	padding:8px 12px;
	margin:10px 10px 10px;	
	}	

#nav_menu-2 h3, #nav_menu-3 h3, #nav_menu-4 h3, #nav_menu-5 h3, #nav_menu-6 h3, #nav_menu-7 h3, #tribe-events-list-widget-2 h3 {
	text-transform:uppercase;
	font-size:1.1em;
	margin:0;
}

.widget_nav_menu ul {
	list-style-type:none;
	margin:0;
}

.widget_nav_menu ul li {
	margin:8px 0px;
}

.widget_nav_menu ul li a {	
	background-color:#f7f7f8;
	display:block;
	color:#525557;
	font-size:1.1em;
	padding:7px 5px 7px 18px;
}

.widget_nav_menu ul li a:hover {
    background-color:#505557;
    color:#f7f7f8;
	text-decoration:none;
}

.widget_nav_menu ul li.current-menu-item a {
    background-color:#505557;
    color:#f7f7f8;	
	text-decoration:none;
	cursor:default;	
	}

.menu-sezioni-container ul li a {
	padding-left:10px;		
	}
	
.menu-sezioni-container ul li.lab a { border-left:8px solid #0094d9;}	
.menu-sezioni-container ul li.bed a { border-left:8px solid #017836;}	
.menu-sezioni-container ul li.esperti a { border-left:8px solid #b90065;}	
.menu-sezioni-container ul li.spiego a { border-left:8px solid #cf5411;}	
.menu-sezioni-container ul li.multimedia a { border-left:8px solid #b60f1d;}	
.menu-sezioni-container ul li.sportello a { border-left:8px solid #666;}
.menu-sezioni-container ul li.ieri a { border-left:8px solid #ffcc00;}
.menu-sezioni-container ul li.youtube a { border-left:8px solid #996600;}
.menu-sezioni-container ul li.pagine a { border-left:8px solid #6802f9;}
.menu-sezioni-container ul li.idee a { border-left:8px solid #00BDAE;}

.menu-materie-container ul li.coronavirus a { border-left:8px solid red;}
.menu-materie-container ul li.scterra a { border-left:8px solid #cf5411;}
.menu-materie-container ul li.biologia a { border-left:8px solid #017836;}
.menu-materie-container ul li.chimica a { border-left:8px solid #ffcc00;}
.menu-materie-container ul li.fisica a { border-left:8px solid #6802f9;}
.menu-materie-container ul li.matematica a { border-left:8px solid #b60f1d;}	



.widget_nav_menu ul li#menu-item-60341 a {
	background-color:#cce7fe;
	color:#525557;		
}
.widget_nav_menu ul li#menu-item-60341 a:hover {
	background-color:#058cfe;
	color:#FFF;
}

.widget_nav_menu ul li#menu-item-60341.current-menu-item a {
	background-color:#058cfe;
	color:#FFF;	
	text-decoration:none;
	cursor:default;		
}

.tribe-events-list-widget a, .widget_simple_events_listplugin a {
	color:#0088cc;
}

.tribe-events-list-widget, .widget_simple_events_listplugin {
position: relative;
padding: 19px;
margin-right:10px;
margin-left:10px;
margin-bottom: 20px;
/*background: #ffffcc;
border: 1px solid #fafafa;
-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(128, 128, 128, 0.1) inset;
-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(128, 128, 128, 0.1) inset;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(128, 128, 128, 0.1) inset;*/
background-color:#f7f7f8;
/*    background: url("img/bg-texture-grey.png") repeat 0 0;*/
}
.tribe-events-list-widget:before, .tribe-events-list-widget:after,
.widget_simple_events_listplugin:before, .widget_simple_events_listplugin:after {
content: "";
position: absolute;
z-index: -2;
}
 
.tribe-events-list-widget:before, .tribe-events-list-widget:after,
.widget_simple_events_listplugin:before, .widget_simple_events_listplugin:after {
bottom: 15px;
width: 50%;
height: 20%;
max-width: 300px;
max-height: 100px;
-webkit-box-shadow: 0 15px 10px rgba(31, 31, 31, 0.7);
-moz-box-shadow: 0 15px 10px rgba(31, 31, 31, 0.7);
box-shadow: 0 15px 10px rgba(31, 31, 31, 0.7);
}
.tribe-events-list-widget:before,
.widget_simple_events_listplugin:before {
left: 10px;
-webkit-transform: rotate(-3deg);
-moz-transform: rotate(-3deg);
-ms-transform: rotate(-3deg);
-o-transform: rotate(-3deg);
transform: rotate(-3deg);
}
.tribe-events-list-widget:after,
.widget_simple_events_listplugin:after {
right: 10px;
-webkit-transform: rotate(3deg);
-moz-transform: rotate(3deg);
-ms-transform: rotate(3deg);
-o-transform: rotate(3deg);
transform: rotate(3deg);
}	


.widget-area .tribe-events-list-widget h3, 
.widget-area .widget_simple_events_listplugin h3{
	margin-bottom:50px;
	line-height:40px;	
	}


.widget-area .tribe-events-list-widget ol,
.widget-area .widget_simple_events_listplugin ol {
    margin-left: 0px; 
	list-style-type:none;
}

.widget-area .tribe-events-list-widget ol li,
.widget-area .widget_simple_events_listplugin ol li {
    margin-bottom: 25px; 
}

.widget-area .tribe-events-list-widget ol li h4,
.widget-area .widget_simple_events_listplugin ol li h4 {
	margin:0;
	padding:0;
	font-size:1.1em;
}

.widget-area .widget_simple_events_listplugin ol li .duration {
	font-weight:bold;
}

.widget-area .tribe-events-list-widget .tribe-events-widget-link,
.widget-area .widget_simple_events_listplugin .tribe-events-widget-link {
	border-top:1px solid #9E9E9E;
	padding-top:10px;
	margin-top:40px;
	font-weight:bold;		
	}





/**************************
Content
***************************/
#home-boxes {
	/*margin-top:20px;	*/
	}

.home-box {
	margin-right:10px;
	border-top:3px solid #000;	
	margin-top:20px;
	margin-bottom:15px;
	}

.home-box-sezione, .home-box-sezione-evidenza {
	text-transform:uppercase;
	font-weight:bold;
	font-size:0.9em;
	margin:0 0 2px 0;		
	}

/*.home-box-lab .home-box-sezione a {color:#0094d9;}
.home-box-bed .home-box-sezione a {color:#017836;}
.home-box-esperti .home-box-sezione a {color:#b90065;}
.home-box-spiego .home-box-sezione a {color:#cf5411;}
.home-box-multimedia .home-box-sezione a {color:#b60f1d;}	
.home-box-sportello .home-box-sezione a {color:#666;}
.home-box-ieri .home-box-sezione a {color:#ffcc00;}
.home-box-youtube .home-box-sezione a {color:#996600;}
.home-box-pagine .home-box-sezione a {color:#6802f9;}
.home-box-idee .home-box-sezione a {color:#00BDAE;}*/

.home-box .home-box-sezione a {color:#666;}

.home-box-img a img {
		border:1px solid #C1C1C1; !important
}

.home-box h3 {
	margin:0;
	padding:3px 0;
	font-weight:normal;
	font-size:1.8em;
	line-height:1.1em;
}

.home-box h3 a {
	color:#000;
}

.home-box .home-box-autore {
	text-transform:uppercase;	
	font-size:0.9em;
	}

.home-box .home-box-autore a {
    color:#454545;
	}

.home-box .home-box-abstract {
	margin-top:5px;	
	}

.home-box .home-box-abstract a {
	color:#000;
}

/**************************
Evidenza Box
*************************/

.home-box-sezione-evidenza {
	margin:5px 0 0 0;
}

.home-box-evidenza .home-box, .home-box-evidenza.home-box{
	margin-right: 10px !important;
	margin-bottom: 10px;
	margin-top:0; !important;
	padding-top:5px;
}

.carousel{
	margin-bottom: 0;
	height: 350px;
}

.carousel-caption{
	position: static;
	background: transparent;
	color: #000;
	padding: 0;
}

.carousel-caption h4,.carousel-caption p{
	color:#000000;
}

.carousel-indicators{
	bottom: 15px;
	height: 50px;
}

.carousel-control span {
	/*line-height:0.45em;*/
	line-height:0.1em;
	font-size:1.2em;
	}

/*************************
Multimedia Box
**************************/

#multimedia-box {
	margin:20px 0px 60px 0;	
	}

#multimedia-box-title {
	border-top:3px solid #000;
	margin:0 10px;	
	}

#multimedia-box-title h3 {
	text-transform:uppercase;
	font-weight:bold;
	font-size:0.9em;
	margin:0 0 8px 0;
	padding:0;
	line-height:1.5em;	
	}
	
#multimedia-box-title h3 a {
	color:#b60f1d;	
}

.multimedia-box-content {
	margin:0 0 25px 0;	

	}

.multimedia-box-content-first {
	margin-left:10px;
	overflow:hidden;
}

.multimedia-img {
	margin:0 10px 0 0;
}

.multimedia-img a img {
	border:1px solid #C1C1C1; 	
}

.multimedia-box-content-first .multimedia-img a img {
	/*margin-right:10px;*/
	height:225px; /* Porcheria per avere la prima immagine meno larga di 10 px. Cfr sotto per il supporto alla responsività */
}

.multimedia-img a span {
	background:url(img/play.png) no-repeat 0 0;
	display:block;
	width:102px;
	height:102px;
	position:absolute;
	margin:-157px 0 0 145px;
}

/*.multimedia-img a:hover span {
	background:url(https://sibbm.zanichelli.it/wp-content/themes/sibbm/img/play-hover.png) no-repeat 0 0;	
}*/

.multimedia-box-content .multimedia-title {
	margin:10px 10px 0 0;	
	}

.multimedia-box-content .multimedia-title a {
	color:#000;
	font-weight:normal;
	font-size:1.8em;
}

/**************************
Footer
**************************/

#footer {
	background-color:#505557;
	}

#footer1 ul {
	margin:20px 0;
	}
/*
#footer1 ul li {
	margin:0 8px;
}
	
#footer1 ul li a {
	color:#FFF;
	font-size:0.9em;
}*/
	

#footer1 ul li {
	margin:0 65px;

}
	
#footer1 ul li.sl {
	margin-top:16px;
	margin-bottom:10px;
}
	
#footer1 ul li a {
	color:#FFF;
	font-size:1.1em;
}
	
	
	
	
#footer1 .ricerca {
	margin:10px	
	}	

#footer1 .ricerca .input input {
	font-size:1.4em;	
	height:32px;	
	background:#EFEFF0 url(img/ico-lente-small.png) no-repeat right 3px;		
}
	
#footer #footer2 h3 {
		color:#FFF;
		font-weight:normal;
		font-size:1.3em;
		margin:0;
		padding:0;
}

#footer #footer2 ul {
		margin:0;
		padding:0 0 8px 0;
		min-height:100px;	
	}

#footer #footer2 ul li a {
		color:#FFF;
		font-size:0.95em;
}

#footer-col1, #footer-col2, #footer-col3, #footer-col4 {
		border-left:1px solid #FFF;
		margin:10px 10px 20px 10px;
		padding-left:10px;
		}

/*******************************
NEW FOOTER
*******************************/

/*************************
Flat Icon
**************************/


/*
!!! see all icon at http://glyphsearch.com/
*/
/* .../../font/flaticon/.../../font/flaticon/font/flaticon */
@font-face {
  font-family: "Flaticon";
  src: url("css/Flaticon.eot");
  src: url("css/Flaticon%EF%B9%96.eot#iefix") format("embedded-opentype"), url("css/Flaticon.woff") format("woff"), url("css/Flaticon.ttf") format("truetype"), url("css/Flaticon.svg#Flaticon") format("svg");
  font-weight: normal;
  font-style: normal;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  @font-face {
    font-family: "Flaticon";
    src: url("css/Flaticon.svg#Flaticon") format("svg");
  }
}
[class^="flaticon-"]:before,
[class*=" flaticon-"]:before,
[class^="flaticon-"]:after,
[class*=" flaticon-"]:after {
  font-family: Flaticon;
  font-style: normal;
}
.flaticon-youtube-logo:before {
  content: "\f103";
}
.flaticon-facebook:before {
  content: "\f10a";
}
.flaticon-twitter:before {
  content: "\f10d";
}
.flaticon-envelope:before {
  content: "\f112";
}


/****************/

#footer2 {
		margin-top:40px;
}

.gcp-logo-footer {

	margin-bottom:20px;
}

.gcp-logo-footer a {
    background: rgba(0, 0, 0, 0) url("img/logo-footer.png") no-repeat scroll 0 0;	
    display: block;
    height: 23px;
    text-indent: -9999px;
    width: 130px;	
}
	
.footernew #footer-col1, .footernew #footer-col3, .footernew #footer-col4 {
		border-left:none;
}

.footernew #footer-col1 ul li {
	font-size:0.95em;
	color:#FFF;			
	}

.footernew #footer2 #footer-col2 {
	padding-left:20px !important;
}

.footernew #footer-col2 ul li {
	line-height:26px;
	}

.footernew #footer-col4 ul {
	list-style-type:none;
}

.footernew #footer-col4 ul li {
	text-align:right;
	line-height:40px;
}

.footernew #footer-col4 ul li a {
	font-size:1.9em !important;
}

.footernew #footer-col4 ul li a:hover {	
	color:#e20613 !Important;
	text-decoration:none;
}
	
/****************
Elements
*****************/

.square {
  display: inline-block;
  line-height: 14px;
  height:14px;
  width:14px;
  vertical-align: baseline;
  margin-right:7px;
}

#scterra .square { background-color:#cf5411;}
#biologia .square { background-color:#017836;}	
#matematica .square { background-color:#b60f1d;}
#chimica .square { background-color:#ffcc00;}
#fisica .square { background-color:#6802f9;}


/**********************
Breadcrumbs
**********************/

.breadcrumbs {
	margin:7px 0 20px 2px;
	text-transform:uppercase;
	font-size:0.9em;	
	}

/*.bc-post { color:#0094d9; }
.bc-biologia-e-dintorni { color:#017836; }
.bc-esperti, .bc-esperto-matematica, .bc-esperto-fisica, .bc-esperto-chimica { color:#b90065; }
.bc-come-te-lo-spiego { color:#cf5411; }
.bc-sportello-tesine { color:#666; }
.bc-ieri-oggi-scienza { color:#ffcc00; }
.bc-scienze-su-youtube { color:#996600; }
.bc-pagine-di-scienza { color:#6802f9; }
.bc-ideedigitali { color:#00BDAE; }
.bc-multimedia, .bc-video, .bc-premio-videolab, .bc-interviste, .bc-animazioni { color:#b60f1d; }*/

/**********************
Paginazione
**********************/

.paging {
	margin:20px 12px;	
	}

.pagination ul li.current a {
	color:#969595;
	cursor:default;	
	}

.pagination ul li.current a:hover {
	background-color:transparent;
}

/**********************
Single
**********************/

.article-wrapper {
	padding:10px 0 10px 0;	
	}

.entry-header {
	margin:0 10px 10px 0;	
	}

.main-category {
	text-align:right;
	margin-bottom:3px;
	font-size:1.1em;	
	}

h1.entry-title {
	margin-top:20px;
	margin-right:10px;
	font-weight:normal;	
	border-bottom:3px solid #454545;
	}	

h1.entry-title a {
	color:#000;
	font-weight:normal;
}
	
.entry-autore {
	font-size:1.3em;	
	}

.main-category .scienze-della-terra {color:#cf5411;}
.main-category .biologia  { color:#017836;}	
.main-category .matematica { color:#b60f1d;}
.main-category .chimica { color:#ffcc00;}
.main-category .fisica { color:#6802f9;}

.entry-categories {
	margin:15px 0 0 0;
	}

.entry-categories a {
	font-size:1.1em;
}

.entry-content {
	margin:80px 0 10px 0;
	/* margin:25px 0 10px 0; NOSOCIAL */	
	padding:0 10px 0 0;
	}

.entry-date {
	color:#9B9B9B;
	margin-bottom:5px;
	}

.entry-meta {
	margin:10px 0;	
	}

.tags {
	display:inline-block;
	background-color:#8C8A8A;
	color:#FFF;
	margin-right:15px;	
	text-transform:uppercase; 
	padding:0 5px;
	}

.entry-box {
	margin:80px 0 0 0;	
	}

.entry-box h3 {
	margin:0 10px 0 0;
	padding-top:0;
	border-top:3px solid #000;	
	line-height:1.1em;			
}

.html2pdf-button a {
	padding:0 60px 0 0;
	display:inline-block;
	background:url(img/ico-pdf-download.png) no-repeat right 2px;
	}

.rel-item {
	margin:20px 10px 0 0;
	}

.rel-cat {
	text-transform:uppercase;
	font-size:0.9em;	
	}

.rel-img a img {
	border:1px solid #C1C1C1;	
	}

h3.rel-tit {
	border:none;
	line-height:1.1em;	
	padding:7px 0;
	margin-right:10px;			
	}

h3.rel-tit a { 
	font-weight:normal;
	color:#000;
}

.rel-abstract {
	padding:0 10px 0 0;	
	}

.rel-abstract a {
	color:#000;	
	}
	
	
.comments-area {
	margin:0 10px 0 0;	
	}

.comments-area h2 {
	font-size:1.8em;
	margin:0 10px 20px 0;
	padding-top:0;
	border-top:3px solid #000;			
	}

.comments-area textarea {
	width:775px;
	}

.comments-area code {
	white-space:normal;	
	border:none;
	background-color:#FFF;
	}	

/**********************
File protetto
**********************/
.file-protetto {
	float:right;
	width:50%;
	/*margin-top:-30px;*/
}

.file-protetto a {
	margin:20px 20px 10px 0;
	background:#e32400 url(img/myzani-icon.png) no-repeat 12px 20px;	
	background-size: 26px 33px;
	color:#FFF;
    display: block;
    font-size: 0.9em;
	line-height:1.1em;
	font-weight:bold;
    padding: 10px 5px 10px 55px;
	}
	
.file-protetto#filedownload a {
	background:#e32400 url(img/ppt-down.png) no-repeat 8px 6px;	
	background-size: 35px 35px;
	}


/**********************
Scheda
**********************/

.scheda {
	margin:0 0 30px 0;	
	}

.scheda-img {
	margin-top:10px;
	border:1px solid #C1C1C1;	
	}

.scheda-content {
	margin:0 10px;	
	}

.scheda-content h3 {
	margin:5px 0 0 0;
	padding:0;
	font-weight:normal;
	line-height:1.1em;		
}

.scheda-text {
	margin:3px 0 0 3px;
}

.scheda-scrivi {
	margin:20px 0 0 0;
	}

.scheda-scrivi h3 {
	margin:0 10px 0 0;
	padding:3px 3px;
	line-height:1.1em;
	font-size:1.1em;
	text-transform:uppercase;
	color:#FFF;
	background-color:#b90065;	
	}

.scheda-scrivi .warning {
	
	}

/**********************
Box orizzontali
***********************/

.box-hor {
	margin:25px 0;	
	}

.hor-sezione {
	margin:0 0 5px 0;	
	}

.hor-sezione a {
	text-transform:uppercase;
	font-weight:bold;
	font-size:0.9em;
}

.box-hor .hor-img {
	max-width:390px;
	border:1px solid #C1C1C1; 			
	}

.box-hor h3 {
	margin:0 10px 0 0;
	padding:0 0 3px 5px;
	font-weight:normal;
	font-size:1.8em;
	line-height:1.1em;	
	}

.box-hor h3 a {
	color:#000;
}

.box-hor .box-hor-autore {
	text-transform:uppercase;	
	padding:0 0px 0px 5px;	
	}

.box-hor .box-hor-autore a {
    color:#454545;
	}

.box-hor .box-hor-abstract {
	margin-top:5px;	
	padding:0 20px 5px 5px;
	}	


.box-hor .box-hor-abstract a {
	color:#000;
}

.box-hor-esperto {	
	margin-bottom:40px;
}

.box-hor-esperto .box-hor-autore, .box-hor-esperto .box-hor-abstract, .box-hor-esperto h3 {
	padding-left:0;	
	}

/************************
Share buttons
************************/

.new-share{
	/*position: relative;*/
	margin:5px 0 0 0;
}

.new-share-fb{
	/*position: absolute;
	top: 0;
	left: 0;*/
	margin-right:10px;
	float: left;
}

.new-share-gplus{
	/*position: absolute;
	top: 0;
	left: 113px;*/
	
}

 .new-share-twitter{
	/*position: absolute;
	top: 0;
	left: 103px;*/
}

#fb-root iframe, .vlnew-share-fb iframe, .new-share-fb iframe {
	max-width:500%;	
	}


/**** Goals 2030 ****/

.goals {float:right}
.goals a img {width:90px; height:90px; float:left; margin-right:5px;}



/**********************
Commenti
**********************/
#comments {
	display: none;
}
#comments #submit{
	color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #006dcc;
  background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
  background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
  background-image: -o-linear-gradient(top, #0088cc, #0044cc);
  background-image: linear-gradient(to bottom, #0088cc, #0044cc);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0);
  border-color: #0044cc #0044cc #002a80;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  *background-color: #0044cc;
  /* Darken IE7 buttons by default so they stand out more given they won't have borders */

  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  float: right;
}

#comments ul.children{ /* equivalente a offset1*/
	 margin-left: 70px;
}

/**********************
Multimedia
**********************/
.related-resources{
	margin-top: 30px;
}
	
.related-resources .main-category {
	margin-right:10px;	
	margin-top:20px;
}

.mmsection {
	margin-top:30px;	
	}

.mmsection h3 {
	margin-bottom:0;
	line-height:1.2em;
}

.mmsection .mmdesc {
	margin:0 10px 10px 0;
}

/***********************
Contenuto dei post 
***********************/

/* Responsive images */
.entry-content img,
.comment-content img,
.widget img {
	max-width: 100%; /* Fluid images for posts, comments, and widgets */
}
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
img.size-full,
img.size-large,
img.header-image,
img.wp-post-image {
	max-width: 100%;
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}

/* Make sure videos and embeds fit their containers */
embed,
iframe,
object,
video {
	max-width: 100%;
}
.entry-content .twitter-tweet-rendered {
	max-width: 100% !important; /* Override the Twitter embed fixed width */
}

/* Images */
.alignleft {
	float: left;
	margin-right:5px;	
}
.alignright {
	float: right;
	margin-left:5px;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.entry-content img,
.comment-content img,
.widget img,
img.header-image,
.author-avatar img,
img.wp-post-image {
	/* Add fancy borders to all WordPress-added images but not things like badges and icons and the like */
	border-radius: 3px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.wp-caption {
	max-width: 100%; /* Keep wide captions from overflowing their container. */
	padding: 4px;
}
.wp-caption .wp-caption-text,
.gallery-caption,
.entry-caption {
	font-style: italic;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 2;
	color: #757575;
}
img.wp-smiley,
.rsswidget img {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.entry-content dl.gallery-item {
	margin: 0;
}
.gallery-item a,
.gallery-caption {
	width: 90%;
}
.gallery-item a {
	display: block;
}
.gallery-caption a {
	display: inline;
}
.gallery-columns-1 .gallery-item a {
	max-width: 100%;
	width: auto;
}
.gallery .gallery-icon img {
	height: auto;
	max-width: 90%;
	padding: 5%;
}
.gallery-columns-1 .gallery-icon img {
	padding: 3%;
}

sup, sub {
	width:0.8em;	
	}

.entry-content img {
	/*border:1px solid #C4C4C4;
	padding:10px;*/
	}

.video-centrato {
	margin:20px auto;
	text-align:center;
}

.didascalia {
	font-style:italic;
	color:#777;
	font-size:0.85em;	
	margin-bottom:20px;	
	text-align:center;
	}
	
.raccordo {
	font-style:italic;
	background-color:#EDECEC;
	padding:10px;
	margin:20px 0;	
	}	

/*********************
Calendario eventi
*********************/

#tribe-events-content .tribe-events-calendar .tribe-events-category-mostre-2 a { color:#000; }
#tribe-events-content .tribe-events-calendar .tribe-events-category-appuntamenti a { color:#e20000; }
	
/**********************
Responsive fixes
**********************/
	
@media (min-width: 768px) and (max-width: 979px) { 
	.comments-area textarea {
	width:475px;
	}
	
	#header	h1#logo {
		margin-right:10px;
	}

#header .advbutt a {
	font-size:0.6em; 
	line-height:0.9em;	
	}	
	
	
	/*#multimedia-box .span4{
		width: 100%;
		margin-left: 10px;
	}
	
	#multimedia-box .span4 .multimedia-box-content-first{
		margin-left: 0px;
	}*/

	.multimedia-img a span {
		margin:-117px 0 0 75px;
	}
	
	.carousel {
		height:280px;	
		}
	
	.carousel-control{
		top: 90px;
	}
	
	#header .span8.ricerca{
		width: 443px;
	}

.multimedia-box-content-first .multimedia-img a img {
	height:136px; /* Porcheria per avere la prima immagine meno larga di 10 px. Cfr sotto per gli altri casi di responsività */
}
	
	
}
	
@media (min-width: 980px) and  (max-width: 1220px){ 
	.comments-area textarea {
	width:600px;
	}
	
	#header	h1#logo {
		margin-right:10px;	
	}

	.multimedia-img a span {
		margin:-135px 0 0 110px;
	}
	
	/*#multimedia-box .span4{
		width: 48%;
		margin-left: 10px;
	}
	
	#multimedia-box .span4 .multimedia-box-content-first{
		margin-left: 0px;
	}*/

	.carousel {
		height:310px;	
		}

.multimedia-box-content-first .multimedia-img a img {
	height:178px; /* Porcheria per avere la prima immagine meno larga di 10 px. Cfr sotto per gli altri casi di responsività  */
}

	
}	
		
		
@media (max-width: 767px) { 

#header #show-login {
	display:none;
}

#header	h1#logo {
	margin-right:0;
	}
	

.comments-area textarea {
	width:475px;
	}	
		
#content{
	padding-left: 10px;
}

.multimedia-box-content {
	margin-left:10px;
}

#fancybox-title-wrap {
	visibility:hidden;
	}	
	
.carousel-control { 
	top:35%;
}

.carousel {
	height:320px;	
}
	
}

@media (max-width: 600px) { 

#header .advbutt a {
	font-size:0.6em; 
	line-height:0.9em;	
	}	
	

.file-protetto {
	float:none;
	display:block;
	width:100%;
	margin-top:60px;
	margin-bottom:-40px;
}	

.file-protetto a {background-position:6px 10px; }
.file-protetto#filedownload a {padding-bottom:30px;}

}

@media (max-width: 480px) {
/* Smartphone */
.carousel-control { 
	top:15%;
}	

.carousel-indicators {
	top:7px;	
	}

.carousel {
	height:280px;	
}
	
#header #logo-container {
	min-width:0;	
	}	

.comments-area textarea {
	width:95%;
	}	

footer.entry-meta {
	width:95%;
	}

	.multimedia-img a span {
		margin:-120px 0 0 85px;
	}

.multimedia-box-content-first .multimedia-img a img {
	height:50%; /* Porcheria per avere la prima immagine meno larga di 10 px. */
}

.file-protetto {
	float:none;
	display:block;
	width:100%;
	margin-top:60px;
	margin-bottom:-40px;
}



}







/***** typeadhad autosugget ****/

.twitter-typeahead{
width:100%;

}

.tt-query{
}

.twitter-typeahead .tt-query,
.twitter-typeahead .tt-hint {
  margin-bottom: 0;
}

.ricerca .input input.tt-hint{
	background-image: none !important;
	background-color: rgb(239,239,240) !important;
	width: 100%;
	  color: transparent !important;
	  font-size:0px !important;
	margin: 0 !important;
	padding: 0 !important;
}

.tt-dropdown-menu {
  min-width: 160px;
  margin-top: 2px;
  padding: 5px 0;
  background-color: #fff;
  border: 1px solid #ccc;
  border: 1px solid rgba(0,0,0,.2);
  *border-right-width: 2px;
  *border-bottom-width: 2px;
  -webkit-border-radius: 6px;
     -moz-border-radius: 6px;
          border-radius: 6px;
  -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
     -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
          box-shadow: 0 5px 10px rgba(0,0,0,.2);
  -webkit-background-clip: padding-box;
     -moz-background-clip: padding;
          background-clip: padding-box;
  width:100%;        
}

.tt-suggestion {
  display: block;
  padding: 3px 20px;
}

.tt-suggestion.tt-is-under-cursor {
  color: #fff;
  background-color: #0081c2;
  background-image: -moz-linear-gradient(top, #0088cc, #0077b3);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));
  background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);
  background-image: -o-linear-gradient(top, #0088cc, #0077b3);
  background-image: linear-gradient(to bottom, #0088cc, #0077b3);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0)
}

.tt-suggestion.tt-is-under-cursor a {
  color: #fff;
}

.tt-suggestion p {
  margin: 0;
}
/************************************
La scienza a scuola
************************************/

.scienzaascuola .multimedia-box-content .multimedia-title {
    min-height: 75px;
}


/*.advanced-search div ul li:nth-child(4) h4::after {content:"da"}*/

.advanced-search div ul li:last-child input {margin-left:620px; line-height:26px; margin-top:-3px;}


/******** Menu responsive **********/

.widget_nav_menu .menu_label, .tribe-events-list-widget .menu_label
{
    margin-bottom: 0;
}

.widget_nav_menu .menu_label + input[type=checkbox], .tribe-events-list-widget .menu_label + input[type=checkbox]
{
    display: none;
    /* opacity: 0;                 checkboxes invisible and use no space */
}                               /* display: none; is better but fails in ie8 */

@media all and (max-width : 767px)
{

    .widget_nav_menu .menu_label, .tribe-events-list-widget .menu_label {
        cursor: pointer;        /* cursor changes when you mouse over this class */
    }                           /* could add the many user-select: none; commands here */

    .widget_nav_menu .menu_label + input[type=checkbox] + div, .tribe-events-list-widget .menu_label + input[type=checkbox] + ol, .tribe-events-list-widget .menu_label + input[type=checkbox] + ol + p
    {
        display: none;          /* prevents divs below unchecked labels from displaying */
    }

    .widget_nav_menu .menu_label + input[type=checkbox]:checked + div, .tribe-events-list-widget .menu_label + input[type=checkbox]:checked + ol, .tribe-events-list-widget .menu_label + input[type=checkbox]:checked + ol + p
    {
        display: block;         /* display div on click */
    }

}


.entry-box.per-la-lezione {
	display:none;
}