/*
Theme Name: 	AO-Rummo
Description: 	Tema per il sito AO-Rummo
Version: 		2.0
Author: 		Neikos S.r.l.
Author URI: 	http://www.neikos.it
*/

body {
	background: #f4f8fc;
    font-family: "Source Sans Pro",sans-serif;
    margin: 0;
}

/* HEADER */

header #top-bar {
	height:35px;
	background: #f4f68e;
	width:100%;
}

header ul#top-menu {
	display: block;
    list-style:none;
    margin: 0;
}

header ul#top-menu li {
	display: inline-block;
}

header ul#top-menu li.current-menu-item a {
	color:#016b9d;
}

header ul#top-menu li a {
    color: #222;
    display: block;
    font-size: 16px;
    padding:4px 10px 5px 10px;
}

header ul#top-menu li a:hover {
	color:#016b9d;
}

header #menu-bar #main-menu ul li.current-menu-item a {
	color:#cfe3e5;
	font-weight: 800;
}

header h1 {
	margin:0;
}

header h1 a.logo{
	background:url(images/logo2018.png) top center no-repeat;
	display: block;
    height: 130px;
    margin:20px 0;
    text-indent: -9999px;
}

p.payoff {
	text-align: center;
	line-height: 1.1rem;
	color: #434647;
}

header .strumenti {
	margin:67px 0 0 0;
}

header #emergenza{
	height:37px;
	background:#C00;
	display:block;
	color:#FFF;
	text-align:right;
	padding:3px 10px 0 0;
	position:relative;
}

header #emergenza:before {
	content:'';
	background:url(images/ambulanza.png) top left no-repeat;
	width:27px;
	height:21px;
	display:block;
	position:absolute;
	top:6px;
	left:10px;
}

header #search {
	width:440px;
	height:34px;
	display:block;
	float:left;
	margin:0 30px 0 0;
}

header #search form {
	height:34px;
}

header #search form input#testo{
	border-bottom: 1px solid #82c79a;
    border-left: 1px solid #82c79a;
    border-top: 1px solid #82c79a;
    float: left;
    width: 374px;
}

header #search form input#cerca{
	background-color: #222;
    border: medium none;
    color: #fff;
    display: block;
    float: left;
    font-size: 14px;
    height: 37px;
    width: 66px;
	cursor:pointer;
}

header #menu-bar #main-menu {
	width:100%;
	/* height:55px; */
	border-bottom:7px solid #CCCCCC;
	background-color: #e00e1b;
}

header #menu-bar #main-menu ul {
	display: block;
    list-style:none;
    margin: 0;
    text-align: center;
}

header #menu-bar #main-menu ul li {
	display: inline-block;
        position: relative;
}

ul li.servizi-on-line:before {
    content:'';
    background: rgba(0, 0, 0, 0) url("images/servizi.png") no-repeat scroll center center;
    display: block;
    height: 19px;
    width: 17px;
    position: absolute;
    top:15px;
    left:0;
}
ul li.servizi-on-line{
    padding: 0 0 0 10px;
}
ul li.donare-sangue:before {
    content:'';
    background: rgba(0, 0, 0, 0) url("images/sangue.png") no-repeat scroll center center;
    display: block;
    height: 19px;
    width: 17px;
    position: absolute;
    top:15px;
    left:0;
}
ul li.donare-sangue{
    padding: 0 0 0 10px;
}
ul li.farmacia :before {
    content:'';
    background: rgba(0, 0, 0, 0) url("images/farmacia.png") no-repeat scroll center center;
    display: block;
    height: 19px;
    width: 17px;
    position: absolute;
    top:15px;
    left:0;
}
ul li.farmacia{
    padding: 0 0 0 10px;
}
/* header #menu-bar #main-menu ul li:nth-of-type(2) {
    background: #ffffff none repeat scroll 0 0;
    border-radius: 10px 10px 0 0;
	margin:7px 0 0 0;
	padding:0;
}

header #menu-bar #main-menu ul li:nth-of-type(2) a {
	color:#016B9D;
} */

header #menu-bar #main-menu ul li a {
	color: #fff;
    display: block;
    font-size: 16px;
    padding: 12px;
}

header #menu-bar #main-menu ul li a:hover {
	color: #81c89a;
}

header #center-menu .row {
    background: #fff none repeat scroll 0 0;
    border-color: -moz-use-text-color #79ba90 #79ba90;
    border-radius: 0 0 10px 10px;
    border-style: none solid solid;
    border-width: medium 1px 1px;
    display: block;
    width: 100%;
}

header #center-menu ul {
    display: block;
    height: 35px;
    margin: 10px 0 0;
    padding: 5px 50px 10px 50px;
}

header #center-menu ul li {
    border-right: 1px solid #cccccc;
    display: block;
    float: left;
    margin: 0;
    padding: 0;
    width: auto;
}

header #center-menu ul li.current-menu-item a {
	color:#81C99B;
}

header #center-menu ul li:last-child {
	border-right:none;
}

header #center-menu ul li a {
    color: #016b9d;
    font-size: 14px;
    padding: 5px 10px;
    text-decoration: none;
}

header #center-menu ul li a:hover {
	color:#81C99B;
}

header #menu-bar #bottom-menu {
	display: block;
    height: 30px;
    margin: 20px 0 0;
    width: 100%;
}

header #menu-bar #bottom-menu ul {
	display: block;
    list-style:none;
    margin: 0;
}

header #menu-bar #bottom-menu ul li {
	display: inline-block;
	border-right: 1px solid #cccccc;
}

header #menu-bar #bottom-menu ul li:last-child {
	border-right:none;
}

header #menu-bar #bottom-menu ul li a {
	color: #016b9d;
    display: block;
    font-size: 12px;
    padding: 5px 12px;
}

header #menu-bar #bottom-menu ul li a:hover {
	color: #81c89a;
}

header #main-bar .main-bar__search-block {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

header #main-bar .main-bar__buttons {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

header #main-bar .main-bar__buttons a {
	width: 100%;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
}

header #main-bar .main-bar__buttons a.main-bar__buttons--red {
	background: #e00e1b;
}

header #main-bar .main-bar__buttons a.main-bar__buttons--blue {
	background: #222;
}

header #main-bar .main-bar__buttons a:not(:last-child) {
	margin-bottom: 10px;
}



#aosanpio-slider-menu {
	margin-top: 20px;
}

.aosanpio-slider-menu__item {
	height: 250px;
	padding: 0 10px;
}

.aosanpio-slider-menu__item a {
	width: 100%;
	height: 100%;
	position: relative;
	display: flex;
	justify-content: flex-start;
    align-items: flex-end;
    background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

.aosanpio-slider-menu__item a span {
    width: 100%;
    padding: 10px;
    color: #000;
    font-weight: 800;
    background: #fff;
    opacity: 0.8;
}

#aosanpio-slider-menu .slick-next {
	right: -25px;
    top: 50%;
    transform: translateY(-50%);
}

#aosanpio-slider-menu .slick-prev {
	left: -25px;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
}

.aosanpio-info-box-fixed {
	position: fixed;
	left: -20px;
	padding: 10px 10px 10px 30px;
	background: #e00e1b;
	border-radius: 0 5px 5px 0;
	color: #fff;
	cursor: pointer;
	z-index: 99999;
	transition: all 300ms ease-in-out;
}

.aosanpio-info-box-fixed span {
	display: block;
    text-align: center;
    font-weight: 800;
}

.aosanpio-info-box-fixed:hover {
	color: #cfe3e5;
	left: 0px;
	transition: all 300ms ease-in-out;
}




.right-off-canvas-menu {
    background: #333;
    padding: 0 5px 0 5px;
    color: #ccc;
}
.right-off-canvas-menu li{
    list-style-type: none !important;
}
.right-off-canvas-menu ul li label {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    color:#eee;
}
.right-off-canvas-menu ul li a {
    font-size: 14px;
    font-weight: 400;
    color: #ccc;
    border-bottom: 1px solid #5e5e5e;
    display: block;
    transition: background 300ms ease;
}
.right-off-canvas-menu ul li a:hover{
    color:#fff;
    background: #666;
}
.right-off-canvas-menu ul li.current_page_item a{
    color:#fff;
    background: #666;
}
.right-off-canvas-menu ul li > a:before {
    content: "\BB";
    margin-right: 0.5rem;
    display: inline;
}


/* SLIDER */

#slider {
    background:#fff;
    border: 1px solid #82c79a;
    display:block;
	height:auto!important;
	min-height:300px;
   	height: 300px;
    margin:20px auto 10px auto;
	padding:15px 0;
}

.slide {
	background:#FFF;
}

#slider .meta h3 {
	font-size: 22px;
    line-height: 24px;
    margin: 0;
}

#slider .meta h3 a {
    color: #016b9d;
    font-weight: 600;
    margin: 0;
    text-decoration: none;
}

#slider .meta span {
    color: #ccc;
    font-size: 12px;
    margin: 5px 0 0;
}

#slider .meta p {
    font-size: 14px;
    line-height: 16px;
    margin: 10px 0 0;
}

#slider .meta a.leggi-tutto {
    background-color:#222;
	color:#FFF;
    display: block;
    height: 37px;
	text-align:center;
	padding:3px 0 0 0;
	margin:10px 0 0 0;
	width:50%;
}

/* BOX AREA */

.box {
    background:#fff none repeat scroll 0 0;
    border:1px solid #82c79a;
    display:block;
}

.box.azzurro {
	border: 1px solid #80b5ce;
}

.box .intestazione {
    background:#feffd9;
    padding:0;
	position:relative;
}

.box.azzurro .intestazione {
	background: #feffd9;
}

.box .intestazione h2 {
    color: #016b9d;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
	padding:10px 20px;
    text-decoration: none;
}

.box.azzurro .intestazione h2 {
	color:#016b9d;
	padding:10px 20px 10px 35px;
}

.box .intestazione h2:before {
	content:'';
	background:url(images/ricovero.png) top left no-repeat;
	width:20px;
	height:20px;
	display:block;
	margin:0;
	padding:0;
	position:absolute;
	top:10px;
	left:5px;
}

.box.azzurro .intestazione h2:before {
	background:url(images/ricovero_white.png) top left no-repeat;
}

.box .intestazione.referti h2:before {
	background:url(images/specialista.png) top left no-repeat;
}

.box .intestazione.profilo h2 {
	padding:10px 20px 10px 35px;
}

.box .intestazione.profilo h2:before {
	background:url(images/profilo.png) top left no-repeat;
	width:30px;
}

.box h3 {
    color: #006b9d;
    font-size: 15px;
    font-weight: 400;
    margin: 0;
    padding: 10px;
}

.box h3 a {
    color: #006b9d;
    margin: 0;
    padding: 0;
    text-decoration: none;
}

.box p {
    color: #000000;
    font-size: 14px;
    line-height: 15px;
    margin: 0;
	padding:10px 0;
}


.box .intestazione h2:after {
	content:'';
	background:url(images/freccia.png) top left no-repeat;
	width:11px;
	height:17px;
	display:block;
	margin:0;
	padding:0;
	position:absolute;
	top:10px;
	right:5px;
}

.box .intestazione h2 a {
    color: #016b9d;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
	padding:5px 0 5px 10px;
    text-decoration: none;
}

.box a.banner {
    background:url(images/banner.jpg) top left no-repeat;
    display: block;
    width: 100%;
	height:196px;
}

.box .img {
    border:1px solid #000;
    display:block;
    margin:0;
	width:100%;
}

.box.blu {
    border:1px solid #cccccc;
	height:100%;
	overflow:hidden;
}

.box .intestazione.blu {
    background:#feffd9;
}

.box .intestazione.blu h2 {
	padding:10px 20px 10px 0;
}

.box .intestazione.blu h2:before {
	background:none;
}

.box .intestazione.blu h2:after {
	background:url(images/freccia_blu.png) top left no-repeat;
}

#maps {
	background:url(images/maps.png) top center no-repeat;
	height:100%;
	display:block;
}

.box.blu ul {
	margin:10px;
	padding:0;
}

.box.blu ul li {
    color: #006b9d;
    font-size: 15px;
    font-weight: 400;
    list-style:inside disc none;
    padding: 0;
}

.box.blu ul li a {
    color: #006b9d;
    margin: 0;
    text-decoration: none;
}

.box.blu ul li a:hover {
    color: #283657;
}

.box.blu a.archive {
    color: #006b9d;
    display: block;
    padding: 0 10px 0 0;
    text-align: right;
    text-decoration: underline;
}

/* FOOTER */

footer {
	margin:10px 0 0 0;
	display:block;
	background:url(images/ombra_down.png) bottom center no-repeat;
}

footer #blu-footer {
	background-color: #e00e1b;
    border-bottom: 7px solid #cccccc;
    height: auto;
    width: 100%;
}

footer ul#menu_footer {
    height: 100%;
    margin: 0 auto;
    text-align: center;
}

footer ul#menu_footer li {
    display: inline-block;
    height: 100%;
    margin: 0 auto;
    padding: 16px 10px 0;
    text-align: center;
    width: auto;
}

footer ul#menu_footer li:last-child {
    padding-top: 0;
}

footer ul#menu_footer li span {
	float:left;
	padding:0 10px 0 0;
}

footer ul#menu_footer li a {
    color: #ffffff;
    display: block;
	float:left;
    font-size: 14px;
    margin:0;
    text-decoration: none;
}

footer ul#menu_footer li a:hover {
	color:#000;
}

footer ul#menu_footer li.operazione-trasparenza a {
    background:url(images/operazione_trasparenza.png) top left no-repeat;
    height:28px;
    margin:0;
    width: 118px;
	text-indent:-9999px;
	display:block;
}

footer .credits {
    color: #006b9d;
	text-align:center;
    font-size: 12px;
    font-weight: 400;
    margin:10px 0;
}

footer .wai {
    display: block;
    height: auto;
    margin:15px auto;
    text-align: center;
}

footer .wai ul {
    display: inline-block;
    list-style: outside none none;
    margin: 0 auto;
    text-align: center;
    width: auto;
}

footer .wai ul li {
    float: left;
    margin: 0 10px 0 0;
	padding:0 5px;
    width: auto;
        color: #006b9d;

}

footer .wai ul li a {
    color: #006b9d;
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
}

footer .validate {
   	display: block;
    margin: 20px auto 0;
    text-align: center;
}

footer .validate a {
	display: inline-block;
    margin: 0 10px;
    text-align: center;
}


footer .validate a img {
    display: block;
    height: 31px;
    width: 88px !important;
}

footer .neikos {
    color:#000;
    display: block;
    font-size: 11px !important;
	margin: 0 auto;
    padding: 15px 0;
	text-align:center;
}

footer .neikos a {
    background:url(images/neikos.png) no-repeat right center;
    color:#000;
    margin: 0 5px 0 0;
    padding: 0 15px 0 0;
    text-decoration: none;
}

/* CONTAINER */

#container {
	margin:20px 0 0 0;
}

/* SIDEBAR */

#sidebar {}

#sidebar ul {
	margin:0;
	list-style:none;
}

#sidebar ul li {
	margin:0 0 15px 0;
}

#sidebar ul li .box {
	padding:0 0 20px 0;
}

#sidebar ul li .box.small {
	padding:0;
}

#sidebar .box.blu {
	padding:0;
}

#sidebar #maps {
	background-size:cover;
	height:170px;
}

#sidebar ul li .box.small h2 a, #sidebar ul li .box.white h2 a {
	color:#FFF;
}

#sidebar ul li .box.small h2 a:hover, #sidebar ul li .box.white h2 a:hover {
	color:#016B9D;
}

#sidebar .sfondo {
    background:url(images/biblioteca.jpg) top left no-repeat;
	background-size:contain;
    display: block;
    height: 200px;
    margin: 0;
    width: 100%;
}

#sidebar .box ul {
    font-size: 13px;
    line-height: 15px;
    list-style: outside none none;
    padding: 10px;
}

#sidebar .box ul li {
    margin: 0 0 5px;
}

#sidebar .box ul li a {
    color: #006b9d;
    margin: 0;
    padding: 0;
    text-decoration: none;
}

.box .intestazione.home h2:before {
    background:url(images/home.png) left top no-repeat;
}

.box .intestazione.book h2:before {
    background:url(images/book.png) left top no-repeat;
}

.box .intestazione.specialista h2:before {
    background:url(images/specialista_white.png) left top no-repeat;
}

.box .intestazione.doctor h2:before {
    background:url(images/doctor.png) left top no-repeat;
}

.box .intestazione.mail h2:before {
    background:url(images/mail.png) left top no-repeat;
	width:25px;
}

.box .intestazione.delibere h2:before {
    background:url(images/delibere.png) left top no-repeat;
	width:25px;
}

.box .intestazione.ospedale h2:before {
    background:url(images/ospedale.png) left top no-repeat;
	width:25px;
}

.box .intestazione.medical h2:before {
    background:url(images/medical.png) left top no-repeat;
	width:25px;
}

#share {
    background: #81c89a;
    height: 60px;
    margin: 0 0 10px;
	padding:10px 0;
}

#share h3.text {
    color: #fff;
    display: block;
    font-size: 16px;
    font-weight: 400;
    margin:0;
    padding:10px 0 0 0;
}

/* PAGINA */

#breadcrumb {
    background:#e00e1b;
    color:#ffffff;
    font-size:13px;
    margin:0 0 10px;
    padding:5px 5px 5px 10px;
}

#breadcrumb a {
    color:#fff;
    text-decoration:none;
}

#titolo_page {
    background:#6b6b6b;
    padding:10px 5px 10px 10px;
}

#titolo_page h3.page {
    color: #fff;
    font-size: 20px;
    font-weight: 200;
	margin:0;
}

#titolo_page h3.page span {
    font-weight: 400;
}

#main #content {
    margin: 0 0 20px;
    padding: 15px 10px;
}

#main p {
    color: #000;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    margin: 0 0 20px;
}

#main p strong {
    font-weight: 600;
}

#main p a {
    color: #016b9d;
    text-decoration: none;
}

#main p em {
    font-style: italic;
}

#content ul {
	margin-top:15px;
	margin-bottom:15px;
}

#immagine-reparto {
    display: block;
    height: auto !important;
    margin: 0 0 10px;
    min-height: 300px;
    position: relative;
}

#immagine-reparto img.attachment- {
    height: auto;
    max-height: 550px;
}

#titolo-reparto {
    background-color: rgba(107, 107, 107, 0.7);
    left: 0;
    padding: 10px;
    position: absolute;
    top: 0;
    width: 100%;
}

#titolo-reparto h1 {
    color: #fff;
    font-size:30px;
	margin:0;
    font-weight: 600;
    text-transform: uppercase;
}

ul#reparti {
    border-bottom: 1px solid #016b9d;
    border-top: 1px solid #016b9d;
    color: #016b9d;
    display: block;
    height: auto !important;
    list-style: inside none disc;
    min-height: 30px;
    padding: 0 0 0 5px;
    width: 100%;
}

ul#reparti li {
    margin: 5px 0;
    padding: 0;
}

ul#reparti li a {
    color: #016b9d;
    font-size: 14px;
    text-decoration: none;
}

#main article.estratto {
    border-bottom: 1px solid #016b9d;
    height: auto !important;
    min-height: 30px;
    padding: 25px 10px 15px;
    position: relative;
}

#main article .img {
    border: 1px solid #000000;
    display: block;
    margin:20px 0 0 0;
    width: 100%;
	height:auto;
}

#main article h2 {
    display: block;
    font-size: 0;
    margin:20px 0 10px 0;
    width: 100%;
}

#main article h2 a {
    color: #016b9d;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    padding: 0;
    text-decoration: none;
}

#main article time {
    color: #016b9d;
    font-size: 12px;
    display:block;
    text-align: left;
    margin:0 0 10px 0;
    padding:0;
    width: 100%;
}

#main article.estratto p {
    color: #000000;
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    margin: 0;
}

#main .navigation {
    height: 30px;
    margin: 20px auto 0;
    width: 100%;
}

#main .navigation .alignleft {
    text-align: left;
}

#main .navigation .alignright {
    text-align: right;
}

#main .navigation .alignleft a, #main .navigation .alignright a {
    color: #016b9d;
    text-decoration: none;
}

#main time {
    color: #016b9d;
    display: block;
    font-size: 12px;
    margin: 10px 0 0;
    text-align: right;
}

#main article {
    border-bottom: 1px solid #016b9d;
    margin: 20px 0 10px;
}

#main article p img.alignleft {
    float: left;
}

#main article p img.alignright {
    float: right;
}

#main #content #map{
	width:auto;
	min-height:500px;
	display:block;
	border:1px solid #7AB1CC;
	margin:0 auto;
    text-align: center;
}

.slick-next, .slick-prev{
    text-indent: -9999px;
    background-image: url('images/arrow.png');
    background-position: center center;
    background-size:cover;
    display: block;
    width: 25px;
    height: auto;
    background-color:transparent;
    position: absolute;
    right:1px;
    top:90%;
    z-index:99;
}
.slick-prev{
    left:1px;
    right:auto;
    text-indent: 9999px;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

a.monitoraggio {
    background:url(images/monitoraggio_tempi.png) no-repeat scroll left center;
    display: block;
    float: left;
    height: 120px;
    width: 260px;
}

a.ricerca-prestazione {
    background:url(images/ricerca_prestazione.png) no-repeat scroll left center;
    display: block;
    float: left;
    height: 120px;
    width: 260px;
}

a.ricerca-disponibilita-prestazione {
    background:url(images/ricerca_disponibilita_prestazione.png) no-repeat scroll left center;
    display: block;
    float: left;
    height: 120px;
    width: 260px;
}

a.ricerca-prestazione-esenzione {
    background:url(images/ricerca_prestazione_esenzione.png) no-repeat scroll left center;
    display: block;
    float: left;
    height: 120px;
    width: 260px;
}

a.ecupt {
    background:url(images/e-cupt.png) no-repeat scroll left center;
    display: block;
    float: left;
    height: 120px;
    width: 260px;
}

a.ricerca-referti {
    background:url(images/ricerca_referti.png) no-repeat scroll left center;
    display: block;
    float: left;
    height: 120px;
    width: 260px;
}

.servizionline {
    display: block;
    float: left;
    height: 120px;
    margin: 0 30px 0 0;
    width: 260px;
}

.servizionline span.margine {
    float: right;
    margin: 20px 0 0;
}
.servizionline span {
    color: #006b9d;
    display: block;
    float: right;
    font-size: 14px;
    margin: 30px 0 0;
    text-align: left;
    width: 120px;
}







/* - - - MEDIA QUERIES  - - - */

@media only screen and (min-width: 40.063em) and (max-width: 64em) {
	
	header #main-bar .main-bar__buttons a:last-child {
		margin-bottom: 10px !important;
	}

	.aosanpio-info-box-fixed {
	    width: 100%;
	    position: initial;
	    top: 0;
	    left: 0;
	    padding: 10px 10px 10px 20px;
	    margin-top: 10px;
	    margin-bottom: 10px;
	    border-radius: 5px;
	    text-align: center;
	}
	
	
	header ul#top-menu {
	    text-align: center;
	}

	header h1 a.logo {
		background-position:center center;
	}

	header .strumenti {
		margin: 20px 0;
	}
	
	header #search form input#testo {
		width: 80%;
	}

	header #search form input#cerca {
		width: 20%;
	}

	header #search {
		display: block;
		float: none;
		height: auto;
		margin:0;
		width:100%;
	}

	header #search form input#testo {
		margin:0;
	}

	.box a.banner {
		background-size:contain;
	}

	ul.area {
		margin:0;
	}

	.tab-bar {
		background:none;
	}

	header #menu-bar #bottom-menu {
		display:none;
	}

	#center-menu {
		display:none;
	}

	.box .img {
		border:none;
		text-align:center;
	}
	
	#aosanpio-slider-menu .slick-next {
		right: 0px;
	    top: 50%;
	    transform: translateY(-50%);
	}
	
	#aosanpio-slider-menu .slick-prev {
		left: 0px;
	    top: 50%;
	    transform: translateY(-50%) rotate(180deg);
	}
}

@media only screen and (max-width: 40em) {
	
	header #main-bar .main-bar__buttons a:last-child {
		margin-bottom: 10px !important;
	}

	.aosanpio-info-box-fixed {
	    width: 100%;
	    position: initial;
	    top: 0;
	    left: 0;
	    padding: 10px 10px 10px 20px;
	    margin-bottom: 10px;
	    border-radius: 5px;
	    text-align: center;
	}
	
	header ul#top-menu {
	    text-align: center;
	}

    header ul#top-menu li a {
        font-size: 14px;
    }

	header h1 a.logo {
		background-position:center center;
		background-size: contain;
	}

	header .strumenti {
		margin: 20px 0;
	}

	header #search {
		display: block;
		float: none;
		height: auto;
		margin: 10px 0;
		width: 100%;
	}

	header #search form input#testo {
		width: 80%;
	}

	header #search form input#cerca {
		width: 20%;
	}


	.slick-next, .slick-prev{
    	width: 16px;
    	height: auto;
	}

	ul.area {
		margin:0;
	}

	.box .img {
		text-align:center;
	}

	footer #blu-footer {
		height:auto;
		padding:20px 0;
	}

	footer ul#menu_footer li {
		display: inline-block;
		height: 100%;
		margin: 0 auto;
		padding: 16px 10px 0;
		text-align: center;
		width: 100%;
	}

	footer ul#menu_footer li span {
		text-align:center;
		float:none;
		padding:0;
	}

	footer ul#menu_footer li a {
		float:none;
		text-align:center;
	}

	footer ul#menu_footer li.operazione-trasparenza a {
		background-position: center center;
    	margin: 0 auto;
	}

	footer .credits {
		font-size:14px;
	}

	footer .wai {
		display: block;
		height: auto;
		margin: 15px auto;
		text-align: center;
	}

	footer .wai ul {
		display: inline-block;
		list-style: outside none none;
		margin: 0 auto;
		text-align: center;
		width: auto;
	}

	footer .wai ul li {
		float: none;
		margin: 0 auto;
		padding: 0;
		width: auto;
	}

	footer .wai ul li a {
		color: #006b9d;
		font-size: 14px;
		font-weight: 400;
		text-decoration: none;
	}

	.tab-bar {
		background:none;
	}

	header #menu-bar #bottom-menu {
		display:none;
	}

	#maps {
		background-size:cover;
	}

	#center-menu {
		display:none;
	}

	#aosanpio-slider-menu .slick-next {
		right: 0px;
	    top: 50%;
	    transform: translateY(-50%);
	}
	
	#aosanpio-slider-menu .slick-prev {
		left: 0px;
	    top: 50%;
	    transform: translateY(-50%) rotate(180deg);
	}
}













#sidebar.sidebar-private .widget ul li {
	display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #80b5ce;
    padding: 0;
}

#sidebar.sidebar-private .widget ul li a {
	color: #016b9d;
    font-size: 17px;
    font-weight: 600;
    margin: 0;
    padding: 10px;
    background: #feffd9;
    text-decoration: none;
}

#sidebar.sidebar-private .widget ul li ul.sub-menu li {
	display: block;
    background: #fff;
    padding: 0px 10px;
    margin: 0;
    border: 0px;
}

#sidebar.sidebar-private .widget ul li ul.sub-menu li a {
	color: #006b9d;
    font-size: 13px;
    font-weight: 500;
    margin: 0;
    padding: 0;
    background: #fff;
    text-decoration: none;
}
