/* CSS Document - personalizza i layout */

h1,h2,h3,h4,h5,h6 {
	margin:5px 0 10px 0;
	font-size:100%;
}
#contenuto,
#col-dx,
#col-sx {
	margin-bottom:40px;
}

#contenuto.pull-right,
#col-sx.pull-right  {
	float:none!important;
}
@media screen and (min-width:992px) {
	#contenuto.pull-right,
	#col-sx.pull-right  {
		float:right!important;
	}
}

.testo-default a {
	color:#da0d14;
	font-weight:600;
}
.testo-default ul a,
.testo-default ol a {
	font-weight:400;
}
.separator {
	background: #D6D6D6;
	height: 1px;
	margin: 20px 0;
	clear:both;
	float:none;
}
.text-center .didascalia {
	margin-bottom:40px;
}
.titolo-md {
	font-size:80%;
}
.testo-default {
	margin-top:20px;
}
@media screen and (min-width:320px) {
	.testo-default .pull-left {
		float:none!important;
		margin-right:0; 
		margin-bottom:3px;
	}
	.testo-default .pull-left img,
	.testo-default .pull-right img {
		margin:auto;
	}
	.testo-default .pull-right {
		float:none!important;
		margin-right:0; 
		margin-bottom:3px;
	}
}
@media screen and (min-width:480px) {
	.testo-default .pull-left {
		margin-right:20px; 
		float:left!important;
	}
	.testo-default .pull-right {
		margin-left:20px; 
		float:right!important;
	}
	.testo-default .pull-left img,
	.testo-default .pull-right img {
		margin:0;
	}
}
.pull-left .didascalia,
.pull-right .didascalia {
	width:215px;
	line-height:1.1;
	margin:auto auto 10px auto;
}
#wrapper-cols {
	margin-bottom:30px;
}
.ricerca .clearfix,
.login .clearfix {
	margin:20px 0 0;
	height:1px;
	background:#CCC;
}
.ricerca .text-center {
	margin-top:4px;
	margin-bottom:-5px;
}
.ricerca small a,
.news small a,
.news-img small a{
	text-decoration:underline;
}
.ricerca small a:hover,
.ricerca small a:focus,
.news small a:hover,
.news small a:focus,
.news-img small a:hover,
.news-img small a:focus {
	text-decoration:none;
}

#col-dx .titolo,
#col-dx p,
#col-sx .titolo,
#col-sx p {
	font-size:13px;
}

.lista-ico-testo .list-group-item,
.lista-img-testo .list-group-item,
.lista-img .list-group-item {
	border:0;
}
.lista-ico-testo .icon,
.lista-img-testo img {
	margin-right:10px;
}
.lista-img img {
	margin:auto;
}
.lista-img .list-group-item{
	padding:0;
	margin-bottom:0;
}

.data,
.occhiello {
	font-size:11px;
	margin-bottom:0;
}
#contenuto .titolo {
	font-size:17px;
	font-weight:600;
}
#contenuto .jumbotron .titolo {
	font-size:20px;
} 
#contenuto .sottotitolo-1 {
	font-size:14px;
	font-weight:600;
}
#contenuto .sottotitolo-2 {
	font-size:13px;
	font-weight:600;
}
.testo-default {
	font-size:13px;
}
@media screen and (min-width:992px) {
	.data,
	.occhiello {
		font-size:12px;
	}
	#contenuto .titolo {
		font-size:28px;
	}
	#contenuto .jumbotron .titolo {
		font-size:28px;
	} 
	#contenuto .sottotitolo-1 {
		font-size:20px;
	}
	#contenuto .sottotitolo-2 {
		font-size:16px;
		font-weight:600;
	}
	.testo-default {
		font-size:14px;
	}
}
.testo-default h2,
.testo-default h3 {
	margin:30px 0 20px;
} 
#col-dx .panel-title,
#col-sx .panel-title {
	font-size: 13px;
	text-transform: uppercase;
	font-weight: 700;
	display: block;
}

#col-dx .titolo,
#col-sx .titolo {
	font-size:13px;
	font-weight:700;
}
#col-dx .sottotitolo-1,
#col-sx .sottotitolo-1 {
	font-size:12px;
	font-weight:600;
}
#col-dx .sottotitolo-2,
#col-sx .sottotitolo-2 {
	font-size:12px;
	font-weight:400;
}
#col-dx .news .text-center,
#col-sx .news .text-center {
	padding:4px 0 7px 0;
}
#col-dx .panel-default .form-control:focus,
#col-sx .panel-default .form-control:focus {
  border-color: #858585;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(133,133,133,.075), 0 0 8px rgba(214, 214, 214, .6);
          box-shadow: inset 0 1px 1px rgba(133,133,133,.075), 0 0 8px rgba(214, 214, 214, .6);
}
.inline {
	display:inline;
}
.thead-default th {
	background-color:#666;
	color:#FFF;
	text-align:center;
}
#col-dx .list-group h1,
#col-dx .list-group h2,


#col-dx .list-group h3,
#col-dx .list-group h4,
#col-dx .list-group h5,
#col-dx .list-group h6,
#col-sx .list-group h1,
#col-sx .list-group h2,
#col-sx .list-group h3,
#col-sx .list-group h4,
#col-sx .list-group h5,
#col-sx .list-group h6 {
	margin:0;
}

#col-dx .list-group a,
#col-sx .list-group a {
	font-size:13px;
}
.text-light {
	font-weight:300;
}
.text-bold {
	font-weight:600;
}
.text-extra-bold {
	font-weight:700;
}
.rounded-list,
.square-list {
	counter-reset: li;
	list-style: none;
	padding: 0;
	margin-bottom:1px; /*20px;*/
	text-shadow: 0 1px 0 rgba(255,255,255,.5);
}
.rounded-list {
	padding:0 0 0 1em;
}
.rounded-list .rounded-list {
	padding:0 0 0 20px;
	margin-bottom:0;
}
.square-list .square-list {
	padding:0 0 0 16px; /*0 0 0 36px;*/
	margin-bottom:0;
}

.rounded-list li,
.square-list li {
	position:relative;
	list-style:none;	
}
.rounded-list .rounded-list li,
.square-list .square-list li {
	padding-right:0;
}
.rounded-list a {
	position: relative;
	display: block;
	padding:0.3em .4em .3em 1.8em;
	margin: .5em 0;
	background: #d6d6d6;
	color: #333;
	text-decoration: none;
	border-radius: .3em;
	font-weight: 600;
}
.rounded-list a:hover {
	text-decoration:none;/*underline;	*/
}

.rounded-list a:before {
	content: counter(li);
	counter-increment: li;
	position: absolute;
	left: -1.3em;
	top: 50%;
	margin-top: -1.3em;
	background: #da0d14;
	height: 2.5em;
	width: 2.5em;
	line-height: 2em;
	border: .3em solid #fff;
	text-align: center;
	font-weight: 600;
	border-radius: 2em;
	transition: all .3s ease-out;
	color:#FFF;
}
.square-list a {
	position: relative;
	display: block;
	padding:0.3em .4em .3em .8em; /*left era 2.0em*/
	margin: 0.5em 0 .5em 2.5em;
	background: #d6d6d6;
	color: #333;
	text-decoration: none;
	transition: all .3s ease-out;
	font-weight: 600;
}

.square-list a:before {
	/*content: counter(li);
	counter-increment: li;*/
	content: attr(qnumcode); /*andrea: visualizza il codice domanda dentro il quadrato rosso */
	position: absolute;
	left: -2.5em;
	top: 50%;
	margin-top: -1em;
	background: #00295B; /*#da0d14;*/
	height: 2em;
	width: 2em;/*3.5em;*/
	line-height: 2em;
	text-align: center;
	font-weight: 600;
	color:#F39A00; /*#FFF;*/
}

.square-list a:hover {
	text-decoration:none; /*underline;	*/
	cursor: default;
}
.testo-default .table {
	font-size:12px;
}
.table-responsive .didascalia {
	margin-top:-10px;
}
.table-responsive .didascalia small {
	font-size:80%;
}

.table-bordered-bottom {
	border-bottom:1px solid #ddd;
}
.jumbotron p {
	font-size:13px;
	font-weight:400;
}
@media screen and (min-width:992px) {
	.jumbotron p {
		font-size:16px;
	}
}

.link>.list-group .list-group-item, 
.link>.panel-collapse>.list-group .list-group-item {
	font-size:95%;
	font-weight:600;
}

.link a:hover,
.link a:focus {
	color:#da0d14;
}
.carousel-caption {
	background-color:rgba(77, 77, 77, 0.7);
	bottom:0;
	left:0;
	right:0;
	font-size: 75%;
	font-weight: 600;
	color: #FFF;
	line-height: 1.2;
	z-index: 50;
	text-align:left;
	padding:0.7% .9%; 
}
.carousel-indicators {
	display:none;
}
.carousel-caption h2,
.carousel-caption p {
	margin:0;
}
#contenuto .carousel-caption .titolo {
	color: #FFF;
	text-shadow: 0 0 0 #a91732;
	text-transform:uppercase;
	font-size:110%;
}
.carousel-control {
	z-index:1000;
}
@media screen and (min-width:480px) {
	.carousel-caption {
		font-size: 85%;
	}
	#contenuto .carousel-caption .titolo {
		font-size:120%;
	}
}
@media screen and (min-width:768px) {
	.carousel-caption {
		font-size: 90%;
		left:10%;
		right:10%;
	}
	
	#contenuto .carousel-caption .titolo {
		font-size:130%;
	}
	.carousel-indicators {
		display:block;
		top:20px;
		bottom:auto;
	}
}
@media screen and (min-width:992px) {
	.carousel-caption {
		left:15%;
		right:15%;
		bottom: 0;
		font-size: 115%;
	}
	.carousel-indicators {
		top:auto;
		bottom:20px;
	}
}
.panel-noborder {
	box-shadow:none;
}
.panel-noborder .panel-heading {
	border-bottom:1px solid #555;
}
.panel-title {
	font-size:18px;
	font-weight:600;
	text-transform:uppercase;
}
@media screen and (min-width:992px) {
	.panel-title {
		font-size:22px;
	}
}
#wrapper-cols .mobile-swap .panel-title{
	font-size:13px;
}

.link .panel-heading,
.news-img .panel-heading,
.news .panel-heading {
	margin-bottom:20px;
}
#col-dx .link .panel-heading,
#col-sx .link .panel-heading,
#col-dx .news-img .panel-heading,
#col-sx .news-img .panel-heading,
#col-dx .news .panel-heading,
#col-sx .news .panel-heading {
	margin-bottom:0;
}
#col-dx .link .list-group-istat,
#col-sx .link .list-group-istat {
	padding:10px 10px 10px 0;
}
.link .list-group-istat li.list-group-item {
	padding:0.1em 0 0.5em 2.5em;
}
.link .list-group-istat li.list-group-item:before {
	padding:0 .5em 0 0.3em;
	margin-left:-1.8em;
	
}
.link .list-group-istat li.list-group-item:before {
	font-size: 100%;
}

#contenuto .news-img .titolo,
#contenuto .news .titolo {
	display:block;
	font-size:14px;
	line-height:1.1;
}
#contenuto .news-inline .titolo {
	display:inline;
	font-size:13px;
	font-weight:700;
}
#contenuto .news-inline {
	display:inline;
	font-size:13px;
	font-weight:400;
}
.news-inline>.list-group .list-group-item, 
.news-inline>.panel-collapse>.list-group .list-group-item {
	line-height:1.23;
}

.news-inline h2,
.news-inline h3,
.news-inline h4,
.news-inline h5,
.news-inline h6,
.news-inline p,
.news-inline a {
	display:inline;
}
.news-inline .data,
.news-inline .occhiello {
	display:block;
	margin-bottom:3px;
}
@media screen and (min-width:992px) {
	#contenuto .news-img .titolo,
	#contenuto .news .titolo {
		font-size:16px;
	}
	#contenuto .news-inline .titolo {
		font-size:13px;
	}
}
.news-img img.pull-left {
	margin:0 10px 0 0;
}
.news-img h3,
.news h3{
	margin:3px 0 5px;
}
.news-img .titolo a,
.news-img a:hover,
.news-img a:focus,
.news .titolo a,
.news a:hover,
.news a:focus{
	color:#da0d14;
}
.news-img p, 
.news p{
	margin-bottom:0;
}
.news-img .pagination,
.news .pagination {
	margin-bottom:0;
}
.news-img .pagination>li>a, 
.news-img .pagination>li>span,
.news .pagination>li>a, 
.news .pagination>li>span {
	border:none;
}
#Coverflow {
	width:100%;
}
#Coverflow .flip-items {
	width:100%;
	padding-bottom:0;
}

.coverflow-inner {
	margin:auto; 
	width:100%;
	overflow:hidden;
}
#Coverflow .flipto-prev,
#Coverflow .flipto-next {
	display:block;
	font-size:130%;
	background:#da0d14;
	color:#FFF;
	position:absolute;
	top:42%;
	left:0;
	padding:0.3% 1.2% 0.3% 0.3%;
	overflow:hidden;
}
#Coverflow .flipto-next {
	padding:0.3% 1% 0.3% 0.5%;
	left:auto;
	right:0;
}
#Coverflow > a > .icon {
	position:relative;
	top:4px;
	left:3px;
}
#Coverflow .flipto-prev:hover,
#Coverflow .flipto-prev:focus,
#Coverflow .flipto-next:hover,
#Coverflow .flipto-next:focus {
	text-decoration:none;
}
#Coverflow .flip-item img {
	border:1px solid #CCC;
}
/* coverflow-xs (gestisce il coverflow piccolo nella sidebar e nelle colonne strette) */
#Coverflow.coverflow-xs .coverflow-inner {
	/*width:100%; img sotto le frecce di scorrimento*/
	width:76%; 
}
#Coverflow.coverflow-xs .flip-items {
	width:100%;
	padding-bottom:0;
}
#Coverflow.coverflow-xs .flipto-prev,
#Coverflow.coverflow-xs .flipto-next {
	font-size: 160%;
	padding: 0;
	width: 10%;
}
@media screen and (min-width:480px) {
	.coverflow-inner {
		width:88%;
	}
	#Coverflow .flip-items {
		width:50%;
	}
	#Coverflow.coverflow-xs .flipto-prev,
	#Coverflow.coverflow-xs .flipto-next {
		width: 7%;
	}
	#Coverflow .flipto-prev,
	#Coverflow .flipto-next {
		font-size:150%;
	}
}
@media screen and (min-width:600px) {
	#Coverflow.coverflow-xs .flipto-prev,
	#Coverflow.coverflow-xs .flipto-next {
		font-size:245%;
	}
}
/* ---------------- */
@media screen and (min-width:768px) {
	#Coverflow.coverflow-xs .flipto-prev,
	#Coverflow.coverflow-xs .flipto-next {
		font-size:245%;
		width:5.5%;
	}
}
@media screen and (min-width:992px) {
	#Coverflow.coverflow-xs .flipto-prev,
	#Coverflow.coverflow-xs .flipto-next {
		font-size:130%;
		width:12%;
	}
}
@media screen and (min-width:1200px) {
	#Coverflow.coverflow-xs .flipto-prev,
	#Coverflow.coverflow-xs .flipto-next {
		font-size:150%;
		width:10%;
	}
}

.panel-noborder .lista-img-testo,
.panel-noborder .lista-ico-testo {
	font-size:95%;
}
.lista-ico-testo .icon {
	font-size:300%;
}

.panel-noborder .lista-img-testo a,
.panel-noborder .lista-ico-testo a {
	background-color:#f5f5f5;
}
.panel-noborder .lista-img-testo a.list-group-item:hover,
.panel-noborder .lista-img-testo a.list-group-item:focus,
.panel-noborder .lista-ico-testo a.list-group-item:hover, 
.panel-noborder .lista-ico-testo a.list-group-item:focus {
	color:#da0d14;
} 
.panel-noborder .panel-heading {
	margin-bottom:20px;
}
.panel-noborder .panel {
	margin-bottom:10px;
	border-bottom:1px solid #f5f5f5;
}
.panel-noborder > .text-center {
	margin-top:5px;
	margin-bottom:20px;
}
@media screen and (min-width:992px) {
	.panel-noborder > .text-center {
		margin-top:0;
		margin-bottom:0;
	}
}
label,
.form-control,
.btn{
	font-size:13px;
}
@media screen and (min-width:768px) {
	label,
	.form-control,
	.btn{
		font-size:14px;
	}
}

.btn-continua {
	position:relative;
}
.btn-continua [class^="icon-"]:before,
.btn-continua [class*=" icon-"]:before {
	position:absolute;
	line-height:2em;
}
.btn-continua:hover,
.btn-continua:focus {
	color:#da0d14;
	text-decoration:underline;
}
.thumbnail-bg,
.thumbnail-noborder.thumbnail-bg {
	background:#F0F0F0;
	padding:3%;
}
.thumbnail-noborder {
	border:none;
	padding:0;
}
.thumbnail > .caption span a:hover,
.thumbnail > .caption span a:focus {
	color:#da0d14;
	text-decoration:none;
}
@media screen and (min-width:480px) {
	.thumbnail > .caption {
		text-align:center;
	}
}
@media screen and (min-width:768px) {
	.thumbnail > .caption {
		text-align:left;
	}
}
