

.carousel-control{
	width:50%;
}

#myCarouselInsideArticles img{
	object-fit: contain!important;
}


.carousel{
	cursor:pointer;
}

/*
.Footer a{
	color:blue !important;
}

*/    
 
 /*
.Breadcrumb-link, a {color:#06d !important; }
#post-container a{color:#06c !important;}
*/ 

.u-text-h2{ font-size:30px !important; line-height:4px; margin-bottom:0px!important; padding-bottom:0px!important; margin-top:5px!important; }
.Hero-text{font-size:15px !important; padding-top:0px!important; margin-top:0px!important; line-height:15px;}

@media only screen and (min-width: 1201px) {	
.u-text-h2{ font-size:30px !important; line-height:4px; margin-bottom:0px!important; padding-bottom:0px!important; margin-top:5px!important; }
.Hero-text{font-size:15px !important; padding-top:0px!important; margin-top:0px!important; line-height:15px;}
}

/*INIZIO CSS PER IL BANNER*/
.carousel-control.left, .carousel-control.right {
	  /*background: true !important;
	  filter: progid: none !important;*/
	  filter:none !important;
	  background-image:none;
	  outline: 0;
	  opacity: 1;
	 }
	 
	.lead_container {
		background-attachment: scroll;
		background-position: 50% 0 !important;
		background-repeat: no-repeat;
		background-size: cover;
		min-height: 440px;
		max-width: 100%;
		width: 100%;
		position: relative;
		z-index: 0;
		font-size: 1.15em;
		font-family: Arial !important;
		font-weight: normal;
	}

.lead_container .lead_links_wrapper {
	position: absolute;
	z-index: 1;
	bottom: 10px;
	width: 100%;
	text-align: center;
}

.lead_container_bootstrap ul {
	padding: 12px;
	width: 680px;
	height: 88px;
	margin: 0 auto 0 auto;
	background: #fff;
	background: transparent\9;
	/*background: rgba(255,255,255,0.4);*/
	background: rgba(153, 153, 153, 0.28);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#66ffffff,endColorstr=#66ffffff);
	zoom: 1;
}

.carousel-indicators{
	margin-left: 10px;
    margin-right: 10px;
}

.lead_container_bootstrap ul li {
	display: block;
	float: left;
	width: 33.3333%;
}

.lead_container_bootstrap ul li a {
	font-weight: normal;
	color: rgba(0, 0, 0, 0.73);
	text-decoration: none;
	text-transform: uppercase;
	
	/*background: #f4f4ef;*/
	/*background: rgba(255,255,255,0.4);*/
	/*Chrome*/
	
	background: rgba(255, 255, 255, 0.82);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#66ffffff,endColorstr=#66ffffff);
	margin-right: 10px;
	margin-left: 5px;
	display: block;
	height: 65px;
	line-height: 65px;
	text-align: center;
	/*border-right: 1px solid #cccccc;*/
}

.lead_container_bootstrap ul li a:hover {
	background: #fabc00 !important;
	text-decoration: none !important;
	color: white;
	font-weight: normal;
	text-align: center;
}

#ama-header{
	/*background: #eee;*/
	
}

#ama-header .carousel-caption {
    top: 50px;
    bottom: auto;
    text-align: left;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 1);
    font-family: Arial;
}

#ama-header .nav-banner{
	z-index: 2;
    position: absolute;
    top: 82%;
    /*left: 29%;*/
}

#ama-header .carousel-indicators{
    position: absolute;
    /* bottom: 10px; */
    top: 1%;
    left: 50%;
    height:10px;	
    z-index: 15;
    width: 60%;
    padding-left: 0;
    margin-left: -30%;
    text-align: center;
    list-style: none;
}	

#ama-header .carousel-indicators li{
	background:#D6D6D6;
	-webkit-backface-visibility:visible;
	transition:opacity .2s ease;border-radius:30px;
	border:none;
}

#ama-header .carousel-indicators li:hover{
	background:#869791;
}

#ama-header .carousel-indicators li.active{
	background:#869791;
}


#ama-header .carousel-indicators li{
	margin-left: 10px !important;
    margin-right: 10px !important;
}

   

@media only screen and (min-width: 1200px) {
    .carousel-inner>.item>img{
		 min-height: 440px !important;
	}
}

@media only screen and (min-width: 800px) {
    .carousel-inner>.item>img{
		 min-height: 400px !important;
	}
}

@media only screen and (min-width: 600px) {
    .carousel-inner>.item>img{
		 min-height: 360px !important;
	}
}

@media only screen and (max-width: 400px) {
    .carousel-inner>.item>img{
		 min-height: 320px !important;
	}
}


.carousel, .item, .active {
    height: 100%;
}
.carousel-inner {
	 height: 100%;
}
.fill {
    width: 100%;
    height: 100%;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}
.carousel.fade {
    opacity: 1;
}


.carousel.fade .item:first-child {
    top: auto;
    position: relative;
}
.carousel.fade .item.active {
    opacity: 1;
    -moz-transition: opacity ease-in-out .7s;
    -o-transition: opacity ease-in-out .7s;
    -webkit-transition: opacity ease-in-out .7s;
    transition: opacity ease-in-out .7s;
    z-index: 2;
}
.carousel-control {
    z-index: 2;
}



.carousel.fade .item {
    -moz-transition: opacity ease-in-out .7s;
    -o-transition: opacity ease-in-out .7s;
    -webkit-transition: opacity ease-in-out .7s;
    transition: opacity ease-in-out .7s;
    left: 0 !important;
    opacity: 0;
    top: 0;
    position: absolute;
    width: 100%;
    display: block !important;
    z-index: 1;
    width:100%;
    min-height:170px;
    background-position: 50% 0 !important;
    background-size: cover !important;
}




@media only screen and (max-width: 800px) {
    
	#ama-header .nav-banner{
		width:100%;		
		left:0%;
		top: 80%;
		position:relative;
	}
	
.carousel.fade .item {    
    min-height:200px;
}

	
}

@media only screen and (min-width: 800px) and (max-width: 839px) {
	#ama-header .nav-banner{
		width:100%;		
		left:0%;	
	}
	
.carousel.fade .item {    
    min-height:250px;
}
	
}

@media only screen and (min-width: 840px) and (max-width: 1200px) {
	
	#ama-header .nav-banner{
		width:100%;		
		left:0%;	
	}
	
	.carousel.fade .item {    
    min-height:450px;
	}
		
}

@media only screen and (min-width: 1201px) {
	
	#ama-header .nav-banner{
		width:100%;		
		/*top: ;
		left: 23%;*/
	}
	
	.carousel.fade .item {    
    min-height:550px;
	}

	.amaroma-modal-registrazione.modal-dialog{
		width: 900px;
		
	}

	#ama-modal-aiuto-compilazione-tari .img-class{
		text-align: center;
	}
	
	
}

/********** finestra modale registrazione tari ********/
#ama-modal-aiuto-compilazione-tari .img-class img{
	border: 1px solid black;
	box-shadow: 2px 2px 4px #000000;
	
}
/*****************************************************/


/*LINK BLU */

/** REGOLE CSS PER LINK */


.nav-bottom li .primary{
	color:#044877!important;
	text-decoration:underline!important;
}

a{
	color:#0e6baa!important;
	text-decoration:none!important;
}

a:hover{
	color:#0e6baa!important;
	text-decoration:underline!important;
}

h1 a, h2 a, h3 a, h4 a, a h1, a h2, a h3, a h4,
a .u-text-h2 .u-textClean .u-color-title{
	color:#0e6baa!important;
}

a.u-color-title{
	color:#0e6baa!important;
	text-decoration: underline;
}

a.u-color-black{
	color:#0e6baa!important;
	text-decoration: underline;
}


article a{
	color:#0e6baa!important;
}

article a:hover{
	color:#0e6baa!important;
	text-decoration:underline!important;
}

.Footer a{
	color:#0e6baa !important;
}

.Footer a:hover{
	text-decoration:underline!important;
}

a.u-color-white{text-decoration:underline!important;}
a.u-color-white:hover{color:#0e6baa !important; text-decoration:underline!important;}

a.u-color-amatext, a.Breadcrumb-link, .Linklist-link.Linklist-link--lev2, .Linklist-link.Linklist-link--lev2:hover, .u-background-20{color:#0e6baa!important;}
a.u-color-amatext:hover, .Linklist-link.Linklist-link--lev2:hover, .Linklist-link.Linklist-link--lev2:hover, .u-background-20:hover{text-decoration:underline!important;}

#menu a, .menu-icon .fa .fa-home{
	color:#0e6baa !important;
}


.Footer a.primary{
	font-weight: bold!important;
}

.Footer-block a{
	font-weight: normal!important;
}

.Ama-Pre-Footer .Leads-link:after{
	content: none!important;
}

.Ama-Pre-Footer a{
	color:#0e6baa !important;
}

a.link_footer{
	color:#0e6baa !important;
}

/* fine regole link **/







/*******************************************************
Slider B-flat
*******************************************************/
.checkbox-slider--b-flat {
	position: relative;
}
.checkbox-slider--b-flat input {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 0%;
	height: 0%;
	margin: 0 0;
	cursor: pointer;
	opacity: 0;
	filter: alpha(opacity=0);
}
.checkbox-slider--b-flat input + span {
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.checkbox-slider--b-flat input + span:before {
	position: absolute;
	left: 0px;
	display: inline-block;
}
.checkbox-slider--b-flat input + span > h4 {
	display: inline;
}
.checkbox-slider--b-flat input + span {
	padding-left: 40px;
}
.checkbox-slider--b-flat input + span:before {
	content: "";
	height: 20px;
	width: 40px;
	background: rgba(100, 100, 100, 0.2);
	box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.8);
	transition: background 0.2s ease-out;
}
.checkbox-slider--b-flat input + span:after {
	width: 20px;
	height: 20px;
	position: absolute;
	left: 0px;
	top: 0;
	display: block;
	background: #ffffff;
	transition: margin-left 0.1s ease-in-out;
	text-align: center;
	font-weight: bold;
	content: "";
}
.checkbox-slider--b-flat input:checked + span:after {
	margin-left: 20px;
	content: "";
}
.checkbox-slider--b-flat input:checked + span:before {
	transition: background 0.2s ease-in;
}
.checkbox-slider--b-flat input + span {
	padding-left: 40px;
}
.checkbox-slider--b-flat input + span:before {
	border-radius: 20px;
	width: 40px;
}
.checkbox-slider--b-flat input + span:after {
	background: #ffffff;
	content: "";
	width: 20px;
	border: solid transparent 2px;
	background-clip: padding-box;
	border-radius: 20px;
}
.checkbox-slider--b-flat input:not(:checked) + span:after {
	-webkit-animation: popOut ease-in 0.3s normal;
	animation: popOut ease-in 0.3s normal;
}
.checkbox-slider--b-flat input:checked + span:after {
	content: "";
	margin-left: 20px;
	border: solid transparent 2px;
	background-clip: padding-box;
	-webkit-animation: popIn ease-in 0.3s normal;
	animation: popIn ease-in 0.3s normal;
}
.checkbox-slider--b-flat input:checked + span:before {
	background: #0e6baa;
}
.checkbox-slider--b-flat.checkbox-slider-md input + span:before {
	border-radius: 30px;
}
.checkbox-slider--b-flat.checkbox-slider-md input + span:after {
	border-radius: 30px;
}
.checkbox-slider--b-flat.checkbox-slider-lg input + span:before {
	border-radius: 40px;
}
.checkbox-slider--b-flat.checkbox-slider-lg input + span:after {
	border-radius: 40px;
}
.checkbox-slider--b-flat input + span:before {
	box-shadow: none;
}

/*#####*/
.checkbox-slider-info.checkbox-slider--b input:checked + span:before,
.checkbox-slider-info.checkbox-slider--b-flat input:checked + span:before,
.checkbox-slider-info.checkbox-slider--c input:checked + span:before,
.checkbox-slider-info.checkbox-slider--c-weight input:checked + span:before {
	background: #5bc0de;
}

.checkbox-slider-warning.checkbox-slider--b input:checked + span:before,
.checkbox-slider-warning.checkbox-slider--b-flat input:checked + span:before,
.checkbox-slider-warning.checkbox-slider--c input:checked + span:before,
.checkbox-slider-warning.checkbox-slider--c-weight input:checked + span:before {
	background: #f0ad4e;
}

.checkbox-slider-danger.checkbox-slider--b input:checked + span:before,
.checkbox-slider-danger.checkbox-slider--b-flat input:checked + span:before,
.checkbox-slider-danger.checkbox-slider--c input:checked + span:before,
.checkbox-slider-danger.checkbox-slider--c-weight input:checked + span:before {
	background: #d9534f;
}

/*******************************************************
Sizes
*******************************************************/
.checkbox-slider-sm {
	line-height: 10px;
}
.checkbox-slider-sm input + span {
	padding-left: 20px;
}
.checkbox-slider-sm input + span:before {
	width: 20px;
}
.checkbox-slider-sm input + span:after,
.checkbox-slider-sm input + span:before {
	height: 10px;
	line-height: 10px;
}
.checkbox-slider-sm input + span:after {
	width: 10px;
	vertical-align: middle;
}
.checkbox-slider-sm input:checked + span:after {
	margin-left: 10px;
}
.checkbox-slider-md {
	line-height: 30px;
}
.checkbox-slider-md input + span {
	padding-left: 60px;
}
.checkbox-slider-md input + span:before {
	width: 60px;
}
.checkbox-slider-md input + span:after,
.checkbox-slider-md input + span:before {
	height: 30px;
	line-height: 30px;
}
.checkbox-slider-md input + span:after {
	width: 30px;
	vertical-align: middle;
}
.checkbox-slider-md input:checked + span:after {
	margin-left: 30px;
}
.checkbox-slider-lg {
	line-height: 40px;
}
.checkbox-slider-lg input + span {
	padding-left: 80px;
}
.checkbox-slider-lg input + span:before {
	width: 80px;
}
.checkbox-slider-lg input + span:after,
.checkbox-slider-lg input + span:before {
	height: 40px;
	line-height: 40px;
}
.checkbox-slider-lg input + span:after {
	width: 40px;
	vertical-align: middle;
}
.checkbox-slider-lg input:checked + span:after {
	margin-left: 40px;
}

.btn-prenotazione {
	cursor: pointer;
	color: white !important;
	font-weight: bold;
	background-color: #0066CC;
	padding: 10px;
	text-align: center;
	border-radius: 6px;
}

.btn-prenotazione:hover {
	color: white !important;
	background-color: #004A94;
}

.btn-primary {
	cursor: pointer;
	color: white !important;
	background-color: #0066CC;
	text-align: center;
	/* border-radius: 6px; */
	background-image: none;
}

.btn-primary:hover {
	background-color: #004A94;
}

.btn-gray {
	background-image: none !important;
	background-color: rgb(156, 156, 156);
	color: white;

}

.btn-gray:hover {
	background-color:rgb(136, 136, 136);
	color: white;
}

.ama-custom-btn {
	/* background: #FFB300; */
    color: #646464 !important;
    font-weight: bold;
    margin-right: 32px;
	margin-bottom: 10px;
	padding: 14px 48px !important;
	font-size: 18px;
}

.scopri-servizi-online {
	color: #303030;
}

.scopri-servizi-online:hover {
	color: #303030;
}