/* VARIABLES */
:root {
  --primary-color: #0066CC;
  --secondary-color: #f5f5f0;
  --light-color: #fff;
  --dark-color: #30373d;
}


/* GLOBAL */
* {
    font-size: 16px;
}
body {
	/* background: url('../img/bg-pattern.png') repeat; */
	overflow-x: hidden;
    background-color: #ddd;
}

.h1, h1 {
    font-size: 35px;
}
.h2, h2 {
    font-size: 32px;
}
.h3, h3 {
    font-size: 28px;
}

.text-secondary {
	color: #f5f5f0;
}
.text-dark {
	color: #1C2024;
}
.text-aqua {
    color: #65dcdf;
}
.text-white {
    color: #fff;
}

.bg-secondary {
	background-color: #eee;
}
.bg-light {
	background-color: #fff;
}
.bg-section {
	background-color: #ede6de;
}
.bg-grey {
    background-color: #444e57;
}
.bg-dark {
	background-color: #30373d;
}
.bg-blue {
	background-color: #004080;
}
.bg-dark-blue {
    background-color: #00264d;
}

.padding {
    padding: 10px;
}
.no-margin { margin: 0; }
.no-margin-top { margin-top: 0; }
.no-padding { padding: 0; }
.no-padding-top { padding-top: 0 }
.no-decoration {
	text-decoration: none !important;
}

.v-center {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.contenuti {
    margin-top: 20px;
    padding-bottom: 0;
}

.img-block {
    overflow: hidden;
}
.img-full-block,
.img-full-block img {
    width: 100%;
}

.panel {
    overflow: hidden;
    box-shadow: 0 1px 3px #000;
}

/* HEADER */
.page-header {
    padding: 0;
}
.page-header .logo-txt {
	color: #fff;
	font-size: 2em;
	padding: 15px 0 0 15px;
}
.header-info > div {
	padding: 5px 20px;
	color: #fff;
}
.header-info > div a {
	color: #fff;
}
.header-info > div i {
	color: #0066CC;
}

ul.bjqs {
    height: 255px !important;
}

/* LOGIN */
.login_form {
    position: absolute;
    right: 0px;
    width: 80%;
    z-index: 999;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 3px #000;
    top: 100px;
    padding: 10px
}

/* Menu */
#aree-tematiche li {
	font-size: 1.2em;
}
#aree-tematiche li a strong {
    font-weight: 500;
    font-size: 1.1em;
}
#aree-tematiche li.active {
	background-color: #0066CC;
}
#aree-tematiche li.active a {
	color: #f5f5f0;
}
.navbar-header .navbar-toggle {
	padding: 0;
	color: #0468CD;
}

.menu_1_area {
    text-align: center;
}
.menu_1_area .navbar-nav {
    float: none;
    display: inline-block;
}
.menu_1_area li a {
    text-transform: uppercase;
}

#menu-scomparsa {
    position: fixed;
    top: 0;
    box-shadow: 0 0 5px;
    height: 100%;
    z-index: 999999;
    max-width: 210px;
    transition: all 0.5s;
}
#menu-scomparsa #btn-scomparsa {
    position: absolute;
    right: -60px;
    top: 100px;
}
#menu-scomparsa .menu_aree {
    overflow-y: scroll;
    height: 100%;
}
#menu-scomparsa ul {
    list-style-type: none;
    padding: 0;
}
#menu-scomparsa ul li {

}
#menu-scomparsa ul li a {
    padding: 5px 20px;
    border-bottom: 2px solid #0066cc;
    display: block;
    text-decoration: none;
}
#menu-scomparsa ul li a:hover {
    background-color: #f5f5f0;
}


nav.navbar {
    margin-bottom: 0;
    padding: 0 50px;
    border-top: 1px solid #fff;
}
nav.navbar a {
    color: #fff;
}
nav.stiky.navbar-fixed-top .container {
	width: 100%;
	padding: 0;
	box-shadow: 0 2px 1px rgba(0, 0, 0, 0.5);
}
nav.stiky.navbar-fixed-top .navbar-header {
	padding: 0 20px;
}
nav.stiky.navbar-fixed-top .navbar-header .stiky a {
	color: #fff !important;
}
nav.stiky.navbar-fixed-top .navbar-header .logo-img {
	padding: 0;
}
nav.stiky.navbar-fixed-top #navbar {
    float: right;
    font-size: 0.8em;
    padding: 10px;
}
nav.stiky.navbar-fixed-top #navbar li a {
	color: #fff !important;
    font-size: 0.8em;
}

#corpo-pagina {
    background-color: #fff;
    padding-top: 10px;
    width: 1280px;
}

footer .container {
    width: 1280px;
}


/* SLIDESHOW */
.content-slideshow {
	width: 100%;
	margin-top: -55px;
	min-height: 300px;
}


/* PRIMO PIANO */
#primo-piano {
    margin-top: -40px;
}
#primo-piano h2 {
    text-transform: uppercase;
    text-align: center;
    border-bottom: 2px solid;
    margin: 0;
    padding-top: 10px;
}
#primo-piano .bx-viewport {
	position: initial !important;
}
#primo-piano p {
	color: #000;
}
#primo-piano .primo-piano-img {
	height: 220px;
	overflow: hidden;
}
#primo-piano .primo-piano-img img {
	width: 100%;
}


/* HOME */
.aree-tematiche-btns .btn {
    width: 100%;
    text-align: left;
    height: 67px;
    white-space: normal;
    padding: 9px 5px;
}
.aree-tematiche-btns .btn i {
    margin-top: 5px;
}


/* BREADCRUMBS */
.navigazione {
    color: #fff;
}
.navigazione a {
    color: #ddd;
    text-decoration: none;
}
.navigazione a:hover {
    color: #fff;
}
.navigazione a::after {
    content: ' > ';
}


/* NEWS */
article h3.nc-titolo {
    margin-top: 0px;
    font-size: 1.5em;
    text-align: justify;
}
article div.text {
    text-align: justify;
}

.nc-img {
	overflow: hidden;
	max-height: 150px;
}
.nc-img img {
    width: 100%;
}

.altre-news {
    margin-top: 20px;
}

div.home-news {
    height: auto;
}
div.home-news .panel {
    height: 290px;
}
div.home-news .img-block {
    height: 150px;
    background-color: #eee;
}
/* div.home-news .img-block img {
    width: 100%;
} */
div.home-news a span {
    font-weight: bold;
    font-size: 1.1em;
}


/* ASIDE */
/* Aside header */
.aside-header {
	margin-bottom: 20px;
}
aside.aside {
    padding-top: 20px;
}

/* Aside right */
aside .menu-spalletta ul {
    padding: 0;
    list-style-type: none;
}
aside .menu-spalletta ul li {
    cursor: pointer;
}
aside .menu-spalletta > ul > li a {
    color: #fff;
    display: block;
    padding: 10px;
    border-bottom: 1px solid #fff;
    text-decoration: none;
}
aside .menu-spalletta > ul > li:not(.tit-blocco-area) a {
    background-color: #0066cc;
}
aside .menu-spalletta > ul > li a:hover {
    background-color: #30373d;
}
aside .menu-spalletta > ul > li > ul {
    background-color: #fff;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: 1s all;
}
aside .menu-spalletta > ul > li:hover > ul {
    height: auto;
    opacity: 1;
}
aside .standing a {
    background-color: #0066cc !important;
}

/* Banner */
aside .panel {
	overflow: hidden;
}
aside .banner img {
	width: 100%;
}
aside .bannerini-img {
	overflow: hidden;
}
aside .bannerini-txt {
	color: #000;
	height: 50px;
	overflow: hidden;
    line-height: 1.2em;
}
aside .banner-menu-dinamico h5 {
	text-transform: uppercase;
}
aside .banner-menu-dinamico ul {
	list-style-type: none;
}
aside .banner-menu-dinamico .panel-body > ul {
	padding: 0;
}
aside .banner-menu-dinamico ul li {
	padding-bottom: 10px;
}
aside .banner-menu-dinamico a {
	color: #fff;
}
aside .banner-menu-dinamico a.stand {
	color: #f5f5f0;
}
aside .banner .titolo {
    margin: 0;
    padding: 10px;
}

/* Menu */
aside.aside-header .menu-aside a:hover,
aside.aside-footer .menu-aside a:hover {
	color: #fff;
}

aside .banner-menu-dinamico ul > li > ul > li > ul > li ul {
	display: none !important;
}

/* Gallery */
/* aside .bx-wrapper .bx-viewport {
	box-shadow: none;
	border: none;
	left: 0;
} */

aside .bx-wrapper {
    margin: 0;
}
aside .bx-wrapper .bx-viewport {
	height: 195px !important;
    border: 0;
    box-shadow: none;
    width: 100%;
    left: 0;
    background-color: #ede6de;
}
aside #foo4 li a {
    display: block;
    text-align: center;
}
aside #foo4 li a img {
    height: 100px;
    margin: 20px auto 0;
    border: 2px solid;
    padding: 10px;
    box-shadow: 0 0 3px #000;
    background-color: #fff;
}
aside .list_carousel .bx-controls {
    display: none !important;
}

.comuni-link h4 {
    color: #1C2024;
}
section .bx-wrapper {
    margin: 0;
}
section .bx-wrapper .bx-viewport {
	height: 195px !important;
    border: 0;
    box-shadow: none;
    width: 100%;
    left: 0;
    background-color: #ede6de;
}
section #foo4 li a {
    display: block;
    text-align: center;
}
section #foo4 li a img {
    height: 100px;
    margin: 20px auto 0;
    border: 2px solid;
    padding: 10px;
    box-shadow: 0 0 3px #000;
    background-color: #fff;
}
section .list_carousel .bx-controls {
    display: none !important;
}


/* HOMES */
.gruppi-pagine .gruppi-titolo {
	text-transform: uppercase;
	float: left;
	width: 100%;
}
.gruppi-pagine ul {
	list-style-type: none;
	padding: 0;
}
.gruppi-pagine ul li {
	padding-top: 20px;
}
.gruppi-pagine ul li .panel {
	height: 140px;
	margin: 0;
	overflow: hidden;
}


/* PAGES */
.contenuti h2 {
	margin: 0;
	font-size: 1.5em;
	color: #30373D;
	border-bottom: 2px solid;
}
h2.homes {
	font-size: 2em;
	color: #0066CC;
}
.contenuti .foto-det {
	width: 100%;
	margin-bottom: 20px;
	border: 2px solid #ccc;
}
#allegati, #foto-pag {
    margin: 20px auto;
    padding: 20px;
    border: 1px solid;
    box-shadow: 0 1px 1px;
    background-color: #f5f5f0;
}
#allegati a, #allegati i {
	font-weight: 500;
}
#condividi > div > div:nth-child(2) {
	margin-top: 8px;
}
#foto-pag .img-gallerie {
	float: left;
	width: 30%;
	margin: 1.5%;
	border: 2px solid;
	overflow: hidden;
	height: 100px;
}
#pagine-collegate {
	background-color: #e2ded9;
	padding: 20px;
}
#pagine-collegate ul {
	list-style-type: none;
	padding: 0;
}
#pagine-collegate ul li {
    padding: 5px;
    border-bottom: 1px solid;
}


/* SOCIAL */
/* SOCIAL PLUGIN */
.social-plugin {
    color: #fff !important;
}
.social-plugin .social-content {
    padding: 8px 0;
    width: 35px;
    height: 35px;
    border-radius: 50px;
    display: inline;
    float: right;
    margin: 0 5px;
}
.social-plugin .social-btn {
    position: relative;
    color: #FFF;
}
.social-plugin .social-btn i,
.social-plugin .social-btn em {
    font-size: 1.3em;
    color: #fff;
}
.social-plugin #social-seguici {
    width: 100px;
    text-align: right;
}
.social-plugin .social-seguici {
    width: 100px;
    text-align: right;
}
#social-fb {
    background-color: #3B5998;
}
#social-fb a {
    padding: 11px;
}
#social-tw {
    background-color: #55ACEE;
}
#social-tw a {
    padding: 9px;
}

.social-fb {
    background-color: #3B5998;
}
.social-fb a {
    padding: 11px;
}
.social-tw {
    background-color: #55ACEE;
}
.social-tw a {
    padding: 9px;
}

#block-rss {
    margin-bottom: 20px;
}
#block-rss #mask_rss {
    height: 220px !important;
}
.titolo_rss a,
.fonte_rss a span {
    font-family: "Titillium Web";
}


/* TRASLATIONS */
#lingue {
	display: none;
}
#google_translate_element {
    position: fixed;
    bottom: 0;
    right: 1%;
    border: 1px solid #0066CC;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    box-shadow: 0 0 3px;
}
#google_translate_element .goog-te-gadget-simple {
	background: #f5f5f0;
	padding: 2px 5px;
}
#google_translate_element .goog-te-gadget-simple .goog-te-menu-value span {
	color: #0066CC !important;
	font-weight: bold;
	font-size: 1em;
}


/* NEWS */
.altre-news .img-block {
    max-height: 200px
}
.altre-news img {
    width: 100%
}

.altre-news .archivio-news .img-block {
    float: left;
    margin: 20px 10px 10px 0;
    width: 110px;
    height: 100px;
}
.altre-news .archivio-news img {
    width: 150%;
    margin-left: -25%;
}

.voce_menu_pagine:hover {
    cursor: pointer;
    background-color: #eee;
}
#ricettive .cat-principale:hover {
    cursor: pointer;
    text-decoration: underline;
}


/* Pagination */
.indice {
    clear: both;
}
.paginazione {
    color: #fff;
}
.paginazione a {
    background-color: #0066cc;
    color: #fff;
    border-radius: 50px;
    width: 35px;
    height: 35px;
    display: inline-block;
    text-align: center;
    padding: 5px;
    text-decoration: none;
    transition: all 0.5s;
}
.paginazione a:hover {
    box-shadow: 0 0 5px #333;
}
.paginazione a#inizio,
.paginazione a#indietro,
.paginazione a#avanti,
.paginazione a#fine {
    width: auto;
}
.paginazione a#avanti::after {
    content: ' >';
}
.paginazione a#fine::after {
    content: ' >>';
}
.paginazione a#inizio::before {
    content: '<< ';
}
.paginazione a#indietro::before {
    content: '< ';
}


/* SEARCH */
.search-spalla {
    position: relative;
}
form#search { position: relative; }
.search-spalla input, form#search input {
    background-color: #eee;
    border: 1px solid #aaa;
    box-shadow: 0 0 3px inset;
    font-size: 1.2em;
    padding: 2% 1%;
    width: 97%;
}
#ricerca form#search input {
    padding: 1.25% 1%;
}
form#search i {
    font-size: 4em;
    line-height: 36px;
    height: 48px;
    top: 0;
    background-color: #0066CC;
    color: #fff;
    overflow: hidden;
    padding: 0 10px;
    position: absolute;
    right: 0;
    text-align: center;
    cursor: pointer;
}
#ricerca {
    position: relative;
}
#ricerca #risultati-ricerca-resizer {
    margin-top: 25px;
}
#ricerca #risultati-ricerca-resizer h3 {
    background-color: #0066CC;
    color: #fff;
    font-size: 1.5em;
    cursor: pointer;
    border: 1px solid #ccc;
}
#ricerca #risultati-ricerca-resizer li {
    font-size: 1.3em;
    padding: 5px;
}
#ricerca #risultati-ricerca-resizer li:nth-child(even) {
    background-color: #eee;
}
#risultati-ricerca div {
    height: auto !important;
}


/* TABLE */
table tr {
    border-bottom: 1px dotted #ccc;
}
table td {
    padding: 5px 5px 0;
}
table th {
    padding: 5px 5px 0;
    border-bottom: 1px solid #ccc;
    background-color: #eee;
}


/* FOOTER */
footer a {
	color: #65dcdf !important;
}
footer h1, footer h2, footer h3, footer h4, footer h5, footer h6,
footer p {
    color: #fff !important;
}

footer #small_footer ul {
    padding: 0;
}
footer #small_footer ul li {
    display: inline-block;
    padding: 5px 15px;
}
footer #logo-wecom {
    padding: 5px;
    border-radius: 5px;
}

footer #powered-by {
    padding-left: 8%;
}


.divisore_small,
#valutaarea,
.stampatore {
    float: none !important;
    clear: both !important;
}


/* RESPONSIVE */
/* Tablet (portrait) */
@media only screen and (max-width : 768px) {
    #corpo-pagina,
    footer .container {
        width: auto;
    }

	header .login,
	header .newsletter,
    .header-info,
    #btn-profile,
    #btn-login,
    .credits .text-right {
		display: none;
	}

	header .logo,
	header .content-logo-img,
	header .logo-txt {
		text-align: center;
	}

    #search-widget {
        margin-top: 30px;
    }

    .primo-piano div.img-block {
        width:100% !important;
    }
    .primo-piano div.img-block img {
        margin-left: 0 !important;
    }

    #block-rss {
        margin-top: 60px;
        height: 320px;
    }

    .content-logo-img img {
        height: auto;
        width: 90%;
    }

    .navbar-fixed-bottom, .navbar-fixed-top {
        position: relative !important;
    }

	nav.stiky.navbar-fixed-top .container {
    	padding: 0 0 10px 0;
   	}
	nav.stiky.navbar-fixed-top .navbar-header .stiky a {
		display: none;
	}
	nav.stiky.navbar-fixed-top .navbar-header .navbar-toggle {
		color: #fff !important;
	}
	nav.stiky.navbar-fixed-top #navbar {
		width: 100%;
	}

	.content-slideshow {
	    min-height: 145px;
	}

    div.menu_aree ul li {
        float: none
    }

    #powered-by {
        clear: both;
        padding-top: 30px;
    }
    #powered-by img {
        width: 100%;
        height: auto;
    }
}

/* Smartphones (portrait) */
@media only screen and (max-width : 360px) {
	.content-slideshow {
	    min-height: 95px;
	}
}


/* VARIE */
.clear {
	clear: both;
}
