@font-face {
	font-family: 'TitilliumWeb';
	src: url(../fonts/TitilliumWeb-Regular.ttf) format('truetype');
}

@font-face{
    font-family:'fontawesome-alloy';
    src:url("../fonts/fontawesome-alloy.eot");
    src:url("../fonts/fontawesome-alloy.eot?#iefix") format("embedded-opentype"),url("../fonts/fontawesome-alloy.woff") format("woff"),url("../fonts/fontawesome-alloy.ttf") format("truetype"),url("../fonts/fontawesome-alloy.svg#fontawesome-alloy") format("svg");
    font-weight:normal;
    font-style:normal
}

body{
	font-family: 'Titillium Web',sans-serif;
	font-size: 14px;
	
	font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
}

@media (min-width: 1380px){
	body {
	    max-width: 1380px;
	    width: 100%;
	    background: white;
	    margin: 0 auto;
	    overflow-x: hidden;
	}
}

::-webkit-scrollbar-thumb:window-inactive {
   /* Select the thumb when the browser window isn't in focus */
   background-color: none;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: #bbb;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #d2d2d2;
}

::-webkit-scrollbar-track {
	background-color: #ededed4f;
}

a {
	color: rgba(0,0,0,.5);
    text-decoration: none;
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
}

a.unlink {
    cursor: default;
    pointer-events: none;
    color: black !important;
    font-weight: bold;
    border-bottom: solid 2px;
}

nav {
	display: block !important;
	padding: 5px 15px !important;
/* 	background-color: #f3f8f8 !important; */
	background-color: white !important;
	border-top: 1px solid #dbebeb;
	border-bottom: 1px solid #dbebeb;
	width: 100% !important;
}

nav .nav-item, nav .nav-link {
	display: inline;
/* 	padding-right: 20px; */
/* 	padding: 0 10px !important; */
/* 	padding-left: 0 !important; */
}

.nav-link{
	padding-bottom:18px!important;
/* 	text-transform: uppercase; */
}

nav > div#navbarSupportedContent {
	width: 85%;
	display: inline-block;
}

nav span.oi.oi-print {
	cursor: pointer;
}

@media screen and (max-width: 1048px) {
	nav {
		display: none !important;
	}
	.nav-link {
		font-size: 10px;
	}
}

@media screen and (min-width: 1048px) {
	.sidenavButton {
		display: none;
	}
	
	#header h1 {
		padding: 0 !important;
		line-height: 1.8 !important;
	}
}

@media screen and (min-width: 1028px) and (max-width: 1280px) {
	.nav-link {
		font-size: 12px;
	}
}

@media screen and (min-width: 1280px) {
	.nav-link {
		font-size: 14px;
	}
}

@media screen and (min-width: 1480px) {
	.nav-item{
		padding-right:20px!important;
	}
}

#header {
	position: relative;
	height: 80px;
	padding: 10px 15px;
	background-color: #f3f8f8;
}

#header h1 {
	padding: 0 3%;
	display: inline-block !important;
	font-size: 30px;
}

#content {
	padding: 20px 15px;
	text-align: center;
}

@media screen and (max-width: 745px) {
	#header > * {
		font-size: calc(4.2vw) !important;
	}
	
	#header > div:not(#mainSidenav) {
		line-height: 1.5 !important;
	}
	
	#header > div:not(#mainSidenav) img#logoConsiglio {
		width: calc(12vw) !important;
	}
	
	img#flagEuropee {
		width: calc(12vw) !important;
	}
	
	#header > div:not(#mainSidenav) img#logoOsservatorio {
		width: calc(6vw) !important;
	}
}

#content h3 {
	text-align: center;
}

@media screen and (max-width: 1150px) {
	nav > div#navbarSupportedContent {
/* 		width: 66%; */
		display: inline-block;
	}
}

@media screen and (max-width: 750px) {
	div:not(#filters) > .header > h4 {
		font-size: calc(2.9vw) !important;
	}
	
	nav > div#navbarSupportedContent {
		width: 64%;
		display: inline-block;
	}
}

@media screen and (max-width: 550px) {
	
	#content > */*, #sezioni, #aggiornamento, #testoSottotitolo, #fonte, #elettori, #votanti*/ {
		font-size: calc(2.7vw) !important;
	}
	
	#content div#filters {
		font-size: 15px !important;
	}
	
	#content h3 {
		font-size: calc(5vw);
	}
	
	#content div:not(#filters) .header h4 {
	    font-size: calc(3.2vw);
	}
	
	#content #risultati > .header {
		height: auto;
	}
	
	#content .header button {
		font-size: calc(2.5vw);
		top: 5px;
		right: 5px;
	}
	
	#refreshButton {
/* 		border-radius: 25px; */
	}
	
	#header {
		height: 50px;
	}
	
	#refreshButton span:nth-child(2) {
		display: none;
	}
	
	#refreshButton span {
		margin: auto;
	}
}

#header > div:not(#mainSidenav) {
	display: inline-block;
	float: right;
	line-height: 3.5;
}

#header > div:not(#mainSidenav) img {
	margin: 0 10px;
}

.btn {
	padding: 4px 6px;
}

.urlAltriSiti{
    font-weight: bold;
    color: #3b75af;
}

#content > div:not(#filters):not(#pdf) {
	position: relative;
	text-align: left !important;
}

#content > div:not(#filters):not(#risultati):not(#pdf) {
	margin-bottom: 40px;
}

#pdf {
	text-align: center !important;
	margin-botton: 30px;
}

embed {
	border: 1px solid #f3f8f8;
}

#footer {
	display: none;
	text-align: center;
	font-style: italic;
	position: relative;
	width: 100%;
	height: 40px;
	padding: 10px 15px;
	background-color: #f3f8f8;
	bottom: -200px;
}

button#printButton {
    box-shadow: 2px 2px 3px 2px rgba(0,0,0,0.16), 2px 2px 7px 2px rgba(0,0,0,0.12);
    z-index: 1;
}

.intestazione>div>h1, .intestazione-r {
    color: #3b75af;
    font-size: 14px;
    font-family: 'Titillium Web',sans-serif;
    font-weight: 600;
    padding-top: 16px;
    text-align: left;
}

ul.social-network.elezioni-style {
    padding: 0;
}

.list-group-item-action.active{
	background-color: #d8d8d8;
}

/* STILI SHARING */
#sharing {
    height: 180px;
    position: fixed;
    margin-top: 30px;
    right: 20px;
    z-index: 9;
}

ul.sharing-link {
    list-style: none;
    margin: 0;
}

ul.sharing-link li {
    display: block;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 6px;
    color: #3b75af;
}

ul.sharing-link li a, ul.sharing-link li a i, ul.sharing-link li span, ul.sharing-link li span i {
    cursor: pointer;
}

@media (max-width: 990px) {

    #sharing {
        display: none;
    }
}

i.icon-bg-blue {
    color: #3b75af;
    background: #fff;
    border: 2px solid #3b75af;
    display: inline-block;
}

i.icon-bg-blue:hover {
    color: #fff;
    background: #3b75af;
    border: 2px solid #3b75af;
    display: inline-block;
    text-decoration:none;
}

.icon-1x, .icon-2x, .icon-3x, .icon-4x, .icon-5x {
    text-align: center;
}

.icon-1x {
    font-size: 17px !important;
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
}

#toggle-sharing {
    display: flex;
    position: absolute;
    top: -4px;
    right: 45px;
    left: -130px;
}

.d-none, .hide {
    display: none !important;
}

.share-links a {
    padding: 4px 10px;
    border-radius: 3px;
    color: #fff;
    text-decoration: none;
    display: inline-block;
}

.facebookBtn {
    background-color: #3b5998;
}

.twitterBtn {
    background-color: #4099ff;
}

.fa, .fas {
    font-weight: 900;
}

.fa, .far, .fas {
    font-family: "Font Awesome 5 Free";
}

.fa, .fab, .fal, .far, .fas {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

.icon-facebook, .icon-twitter, .icon-youtube, .icon-instagram{  
    font-family: 'fontawesome-alloy';
    -webkit-font-smoothing: antialiased;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1;
    *margin-right: .3em;
    speak: none;
    text-decoration: inherit;
    text-transform: none;
    vertical-align: baseline;
    margin-top: 0;
}

.icon-facebook:before, .icon-twitter:before, .icon-youtube:before, .icon-instagram:before{  
    display: inline-block;
    speak: none;
    text-decoration: inherit;
}

.icon-facebook:before {
    content: "\f09a";
}

.icon-twitter:before {
    content: "\f099";
}

.icon-youtube:before {
    content: "\f167";
}

.icon-instagram:before {
    content: "\f16d";
}

/* NEW BODY STYLE */
.bg-light.bg-white, .sez-doc {
    border-left: 2px solid #f7f8f8 !important;
    border-right: 2px solid #f7f8f8 !important;
}

@media (min-width: 1380px){
	#body, .bg-light.bg-white {
	    max-width: 1380px;
	}
}

.bg-light.bg-white {
    background-color: white !important;
    display: block;
    padding-top: 0;
    box-shadow: 0 5px 30px -5px rgba(0,0,0,0.2);
}

i.icon-bg-light:hover {
    color: #fff;
    background: #3b75af;
    display: inline-block;
    text-decoration:none;
}

/* NEW NAVBAR STYLE */
.navbar {
    border-width: 0;
}

.navbar>.container {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    display: block;
}

.intestazione {
    height: 48px;
    width: 100%;
    border-bottom: 2px solid #e5effa;
    padding-left: 1rem;
    padding-right: 1rem;
}

.social-network.d-none {
    display: block !important;
}

ul.social-network {
    list-style: none;
    margin: 0;
    padding-top: 15px;
}

ul.social-network li {
    display: inline;
    margin-right: 0;
    margin-left: 0;
    color: #3b75af;
}

ul.social-network li a, ul.social-network li a i {
    cursor: pointer;
}

ul.social-network li a i {
    margin-bottom: 10px;
}

i.icon-bg-light {
    color: #3b75af;
    background: #fff;
    display: inline-block;
}

.icon-circled {
    border-radius: 1000px !important;
    -moz-border-radius: 1000px !important;
    -webkit-border-radius: 1000px !important;
    -o-border-radius: 1000px !important;
    -ms-border-radius: 1000px !important;
}

.container>.cont-logo-social-link {
    height: 140px;
    margin: 0;
    padding-top: 32px;
    text-align: left;
    padding-left: .5rem;
    padding-right: 1rem;
}

.container>.cont-logo-social-link span.title {
    color: #3b75af;
    font-weight: bold;
    font-size: 32px;
    font-family: 'Titillium Web',sans-serif;
    position: relative;
    top: 4px;
}

@media (min-width: 768px){
	.container {
	    max-width: 100%;
	}
}

.no-p-l {
    padding-left: 0 !important;
}

.no-p-r {
    padding-right: 0 !important;
}

@media (min-width: 992px){
	.col-lg-6 {
	    flex: 0 0 50%;
	    max-width: 50%;
	}
}

@media (min-width: 768px){
	.container>.cont-logo-social-link span.title {
	    font-size: 28px;
	}
}

@media (min-width: 992px){
	.navbar-expand-lg .navbar-collapse .navbar-nav {
	    flex-direction: row;
	    flex-wrap: wrap;
	}
}

#navbarResponsive {
    margin-left: -1rem;
    margin-right: -1rem;
}

.navbar-expand-lg .nav-item {
    align-items: center;
    display: flex;
}

.navbar-nav .nav-item {
    word-wrap: normal;
}

.nav-item.dropdown.show>.nav-link, .nav-item.dropdown>.nav-link.active, .nav-item.dropdown>.nav-link:hover {
    border-bottom: 3px solid #fec23c;
    z-index: 9999;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 1.5rem;
    padding-left: 1.25rem;
    position: relative;
    bottom: -8px;
    border-bottom: 3px solid #Fff;
    text-align: center;
    font-size: 18px;
    font-family: Titillium Web;
    font-weight: 600;
}

.nav-link {
    font-family: 'Titillium Web',sans-serif;
    font-size: 18px;
    color: #3b75af !important;
    font-weight: 600;
}

.row, .form-horizontal>.form-group {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.dropdown-toggle::after {
    display: none;
    border-width: 0;
    content: normal;
}

/* FOOTER STYLE */
footer .container {
    padding: 0 45px;
}

.bg-blue {
    background-color: #3b75af !important;
    bottom: 0;
    left: 0;
    position: relative;
    text-align: left;
}

.pb-5, .py-5 {
    padding-bottom: 3rem !important;
}

.pt-5, .py-5 {
    padding-top: 3rem !important;
}

.logo {
    padding-left: 1.5rem;
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
}

.footer-title {
    float: left;
    color: white;
    font-weight: bold;
    line-height: 1.3;
    font-size: 24px;
    font-family: "Titillium Web";
}

.note-link {
    text-align: center;
}

.note-link>a {
    display: inline;
    font-size: 16px;
    line-height: 2;
}

.footer-link {
    font-family: 'Titillium Web',sans-serif;
    font-size: 16px;
    line-height: 1.25;
    color: #fff !important;
    padding: 0 0 .75rem 1.5rem;
    white-space: normal;
    display: block;
    text-decoration: underline;
/*     text-transform: capitalize; */
}

.note-footer {
    text-align: center;
    color: white;
    font-size: 16px;
    padding-top: 20px;
    line-height: 2;
}

@media (min-width: 992px){
	.col-lg-12 {
	    flex: 0 0 100%;
	    max-width: 100%;
	}
}

@media (min-width: 992px){
	.col-lg-4 {
	    flex: 0 0 33.333333333%;
	    max-width: 33.333333333%;
	}
}

iframe {
  border: none;
  width: 100%;
}

@media screen and (max-width: 1144px){
    iframe {
      height: 1200px;
    }
}

.carousel {
    background-color: #1a4876;
}

#carouselFooter .carousel-inner {
    padding-top: 72px;
    text-align: center;
    width: calc(100% - 75px) !important;
}

.carousel-item {
    height: 480px;
    min-height: 300px;
    margin: 0;
    position: relative;
    align-items: center;
    width: 100%;
    backface-visibility: hidden;
    perspective: 1000px;
}

#carouselFooter .card {
    background-color: transparent;
}

.card {
    font-family: 'Titillium Web',sans-serif;
    border-radius: 0;
    border: 0;
    box-shadow: 0 5px 30px -5px rgba(0,0,0,0.2);
    margin-bottom: 12px;
}

#carouselFooter .item-box-blog-heading {
    height: 80px;
    background: #1c344c;
    color: white;
    font-family: 'Titillium Web',sans-serif;
    text-align: center;
    padding: 5px;
    border-top: 0;
    text-align: center;
    white-space: nowrap;
}

#carouselFooter .item-box-blog-heading h5 {
    letter-spacing: -0.18px;
    font-size: 25px;
    padding-left: 10px;
    padding-right: 10px;
}

#carouselFooter .item-box-blog-heading h5 a {
    color: white;
}

#messaggioMobile{
    color: white;
    display: none;
    position: absolute;
    top: 400px;
    text-align: center;
}

@media (max-width: 390px){
    #messaggioMobile{
        display: block;
    }
}

.bannerLandingPage{
	width: 100%;
}

@media (min-width: 768px){
    .carousel-item {
        display: block !important;
    }

    .carousel-control-prev, .carousel-control-next{
        display: none;
    }
}

@media (max-width: 767px){

    .card.mb-2{
        width: 70%;
        margin: auto;
    }

    #carouselFooter .item-box-blog-heading h5 {
        font-size: 30px;
    }

}

@media (max-width: 570px){

    .card.mb-2{
        width: 100%;
        margin: auto;
    }

    #carouselFooter .item-box-blog-heading h5 {
        font-size: 20px;
    }

}

@media (max-width: 340px){
    #carouselFooter .item-box-blog-heading h5 {
        font-size: 15px;
    }

}

.carousel-item-left, .carousel-item-right{
    display: none;
}
