/*
Theme Name: WebMap
Text Domain: WebMap
*/

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&display=swap');

.otgs-development-site-front-end {
	display: none;
}

* {
	font-weight: 400;
}
html, 
body {
    min-height: 100%;
	margin:0;
	padding:0;
	box-sizing: border-box;
}
body {
	font-family: 'Lato', sans-serif;
	color: #656565;
}
a:link, a:visited, a:hover {
	color: #656565;
}

.mobile {
	height: 100vh;
 }
.desktop {
	display: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Playfair Display', serif;
}
a {
	text-decoration:none;
}
p { 
	line-height: 20px;
}
strong {
	font-weight:bolder;
}
i {
	font-style:italic;
}
hr {
	border-bottom: 1px solid #f1f1f1;
	border-top: none;
	border-left: none;
	border-right: none;
    width: 95%;
}
.clear	{ clear:both;}

.aligncenter {
  clear: both;
  text-align: center;
  display: block;
  margin: 0 auto;
}


/*fino a 680px di risoluzione*/

/*PRE HOME*/

.col-xs-6 {
	width:50%;
	float:left
}

.col-xs-4 {
	width:33.3%;
	float:left
}

.col-xs-6 img, .col-xs-4 img{
	width:80%;
	margin:10px auto;
	max-width:200px;
	display:block;
}




/* home screen */
nav.home_mn {
	padding-bottom: 15px;	
	/* background-image: linear-gradient(to right, #b9d2c2, #d3e6e1); */
}
nav.home_mn img.custom-logo {
	display: block;
	margin: auto;
	max-width: 90%;
	height: auto;
	padding: 30px 0 0 0;
}
nav.home_mn h1 {
	text-align:center;
	font-size: 1.5rem;
}
div.main_home {
	height: 100vh;
	/* padding-top: 10px;
	background-image: linear-gradient(to right, #b9d2c2, #d3e6e1); */
	background-image: url("img/molinetto_home.png");
	background-size: cover;
	background-position: center top;
    background-repeat: no-repeat;
}
div.main_home section {
	background-color: rgba(255, 255, 255, 0.6);
}
div.main_home .tit_percorso h2 {
	font-size: 15px;
	line-height: 50px;
	margin: 0 auto;
	width: 90%;
	position: relative;
}
div.main_home .tit_percorso h2 i {
	line-height: 35px;
}

.button {
	background-color: #347570;
	color: white !important;
	padding: 10px 25px;
}



/* generico titoli liste */
.tit_percorso {
	color: #656565;
    font-weight: 400;
    line-height: 45px;
    height: 50px;
    border-bottom: 1px solid #d9d9d9;
}
.tit_percorso h2 i {
    position: absolute;
    right: 0;
    top: 10px;
}

#listcat .tit_percorso{
    line-height: 25px;
    font-size: 15px !important;
    margin-top: 25px;
	padding-bottom: 10px;
}

#listcat .tit_percorso h2 {
	position:relative;
	font-size: 16px;
}
#listcat .tit_percorso p {
	margin-top:-15px;
}

.home_mn a i {
	color:#fff;
	text-align:center;
	font-size:34px;
	display:block;
}

.fa-info-circle{
    color: #fff;
    position: absolute;
    right: 2%;
    top: 20px;
    font-size: 22px;
}

.home_mn i {
	position: static;
}
.percordso_mn h1 a {
	 color:#fff;
}

.circle_taximg { /* immagine tondo singola categoria */
	width: 40px;
	height: 40px;
	float:left;
	margin-left: 5%;
    margin-right: 20px;
	margin-top: 3px;
	border-radius: 50%;
    overflow: hidden;
}
.circle_taximg img {
	width: 100%;
	height: auto;
}
.circle_taximg.turistico { /* immagine tondo info e contatti */
	background-image: url("img/info.png");
	background-position: center;
	background-size: contain;
}

.circle_taximg.prossimi { /* immagine tondo prossimi eventi */
	background-image: url("img/prossimi.png");
	background-position: center;
	background-size: contain;
}



/* bandiere start */
.boxLingue {
	margin: 0 auto;
	text-align: center;
}
.indexFlag {
	margin-right: 20px;
}



/* menu toggle */
/* Navigation Menu */
.menu-toggle {
	top: 10px;
	right: 10px;
	background-color: #2A6461;
	border-radius: 100%;
	height: 40px;
	width: 40px;
	border: none;
	font-size: 23px;
	color: #fff;
	z-index: 999;
	position: fixed;
	cursor: pointer;
	display: block;
	padding: 5px;
}
.main-navigation {
 background-color: #1c9181;
}
.main-navigation li {
	font-size: 1rem;
	list-style-type: none;
	padding: 15px 0;
}
.main-navigation a {
	color: #fff;
}
.main-navigation a:hover,
.main-navigation a:focus {
	color: #fff;
}
.main-navigation ul.nav-menu,
.main-navigation div.nav-menu > ul {
	display: none;
}

.main-navigation ul.nav-menu.toggled-on {
	display: inline-block;
}


@media screen and (min-width: 1200px) {
.main-navigation ul.nav-menu,
.main-navigation div.nav-menu > ul {
border-bottom: 1px solid #ededed;
border-top: 1px solid #ededed;
display: inline-block !important;
text-align: left;
width: 100%;
}
.main-navigation ul {
margin: 0;
text-indent: 0;
}
.main-navigation li a,
.main-navigation li {
display: inline-block;
text-decoration: none;
}
.main-navigation li a {
border-bottom: 0;
color: #6a6a6a;
line-height: 3.692307692;
text-transform: uppercase;
white-space: nowrap;
}
.main-navigation li a:hover,
.main-navigation li a:focus {
color: #000;
}
.main-navigation li {
margin: 0 40px 0 0;
margin: 0 2.857142857rem 0 0;
position: relative;
}

.main-navigation li ul {
margin: 0;
padding: 0;
position: absolute;
top: 100%;
z-index: 1;
height: 1px;
width: 1px;
overflow: hidden;
clip: rect(1px, 1px, 1px, 1px);
}
.main-navigation li ul ul {
top: 0;
left: 100%;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li:focus > ul,
.main-navigation .focus > ul {
border-left: 0;
clip: inherit;
overflow: inherit;
height: inherit;
width: inherit;
}
.main-navigation li ul li a {
background: #efefef;
border-bottom: 1px solid #ededed;
display: block;
font-size: 11px;
font-size: 0.785714286rem;
line-height: 2.181818182;
padding: 8px 10px;
padding: 0.571428571rem 0.714285714rem;
width: 180px;
width: 12.85714286rem;
white-space: normal;
}

.main-navigation li ul li a:hover,
.main-navigation li ul li a:focus {
background: #e3e3e3;
color: #444;
}
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a,
.main-navigation .current_page_item > a,
.main-navigation .current_page_ancestor > a {
color: #636363;
font-weight: bold;
}
.menu-toggle {
display: none;
}

}


/*pag. PERCORSO*/
.percordso_mn {
	width:100%;
	height:60px;
	margin:0;
	position: sticky;
	top:0;
	z-index: 100;
	
	background-color: #347570; /* bg barra top */
    background-size: 0px;
    color: #fff;
	
	/* W3C */
    display: box;
    box-pack: center;
    box-align: center;

    /* Internet Explorer 10 */
    display: -ms-flexbox;
    -ms-flex-pack: center;
    -ms-flex-align: center;

    /* Firefox */
    display: -moz-box;
    -moz-box-pack: center;
    -moz-box-align: center;

    /* Safari, Opera, and Chrome */
    display: -webkit-box;
    -webkit-box-pack: center;
    -webkit-box-align: center;

}

.percordso_mn h1 {
	color: #fff;
	display: block;
	margin: 0 auto;
	text-align: center;
	font-size: 1.1rem;
	width: 69%;
}

.percordso_mn .back {
	position: absolute;
	left: 5px;
	top: 20px;
	color: #fff;
}

.percordso_mn .back i {
	padding-right:5px;
	font-size:20px;
}

.main {
	padding-bottom: 60px;
}

.main section {
	height: 100%;
	width:90%;
	margin:0 auto 30px;
	padding:10px 0;
}

.circle_img { /* immagine tondo singolo luogo */
    background-size: cover;
    border-radius: 50%;
    float: left;
    height: 70px;
    margin: 5px 20px 5px 0;
    overflow: hidden;
    width: 70px;
	background-color: #efefef;
	/* per centrare orizzontalmente il contenuto del div: */
	display: flex;
	justify-content: center;
}
.circle_img img {
	height: 100%;
	width: auto;
}



/* footer */
footer {
	width:100%;
	height:20px;
	background-color:#347570;
	color:#fff;
	bottom:0;
	position: fixed;
}

footer a {
	color: #ffffff !important;
	
}



footer p {
	text-align:center;
	font-size:13px;
	color:#eee;
	margin: 0 auto;
}

/* POPUP */
body > nav > a:nth-child(2) {
	position:absolute;
	right:5px;
	top:0;
	bottom:0;
	line-height:58px;
	color:#fff;
	font-size:30px;
	float:right;

}
 .ie8-or-less body{
	 width: 100%;
	 margin: 0px;   
}
 
.ie8-or-less .page-content {    
	 width: 99%;
	 margin: auto;
	 padding: 5px;
}
 
.ovl{
	 display: none;
	 position: absolute;
	 top: 0px;
	 left: 0px;
	 width: 100%;
	 height: 100%;
	 background-color: black;
	 z-index: 1001;
	 -moz-opacity: 0.7;
	 opacity: .70;
	 filter: alpha(opacity=70);
}
 
.popup {
    display: none;
    position: absolute;
    top: 7%;
    left: 5%;
    width: 87%;
    height: 90%;
    padding: 4px 4px 4px 4px;
    border: 2px solid white;
    border-radius: 5px;
    background-color: white;
    z-index: 9999;
    overflow: auto;
}


 
#contatti > div > a > i{
	 display: block;
	 float: right;
	 width: 16px;
	 color:#b61d29;
	 position: fixed;
}
 
.title-close{
	 display: table-cell;
	 width: 16px;
}

.popup p {
    
    padding: 10px;
}

#contatti > h3 {
	padding:0 10px;
    font-weight:bolder;
	font-size:18px;
}



/* SINGLE*/
article {
	padding-bottom: 50px;
}

.img_crop {
	width:100%;
	height: 300px;
	background-size: cover;
    background-repeat: no-repeat !important;
    background-position: center;
	background-color: #efefef;
}

.innerArticle {
	padding: 5px 25px;
}
.innerArticle h1 {
	color: #000;
	font-size: 2em;
}

.sponsor h3, sponsor a {
	width:96%;
	padding-left:2%;
}

.sponsor p img {
	width:100%;
	height:auto;
	max-width: 700px;
    display: block;
    margin: 0 auto;
    padding-bottom: 30px;
}


/*article p {
	padding-bottom:100px !important;
}*/




/* AZIENDE */
.page-template-aziende section div.azienda,
.page-template-aziende02 section div.azienda,
.page-template-aziende03 section div.azienda,
.page-template-aziende04 section div.azienda,
.page-template-aziende05 section div.azienda {
	border-bottom: 1px solid #f1f1f1;
	margin-bottom: 25px;
	padding-bottom: 25px;
}
.page-template-aziende section div:nth-last-child(2),
.page-template-aziende02 section div:nth-last-child(2),
.page-template-aziende03 section div:nth-last-child(2),
.page-template-aziende04 section div:nth-last-child(2),
.page-template-aziende05 section div:nth-last-child(2) {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: unset;
}
.page-template-aziende section div.azienda h3,
.page-template-aziende02 section div.azienda h3,
.page-template-aziende03 section div.azienda h3,
.page-template-aziende04 section div.azienda h3,
.page-template-aziende05 section div.azienda h3 {
    font-weight: bold;
	margin: 0;
}
.page-template-aziende section div.azienda p,
.page-template-aziende02 section div.azienda p,
.page-template-aziende03 section div.azienda p,
.page-template-aziende04 section div.azienda p,
.page-template-aziende05 section div.azienda p {
	font-family: Arial, sans-serif;
	font-size: 0.8em;
	line-height: normal;
	margin: 5px 0;
}
.page-template-aziende section div.azienda p.azind,
.page-template-aziende02 section div.azienda p.azind,
.page-template-aziende03 section div.azienda p.azind,
.page-template-aziende04 section div.azienda p.azind,
.page-template-aziende05 section div.azienda p.azind {
    font-size: 0.7em;
	color: #666666;
}
.page-template-aziende05 section div.azienda p.azcat {
	color: #999999;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}




/* EVENTI */
.page-template-eventi section div.evento {
	border-bottom: 1px solid #f1f1f1;
	margin-bottom: 25px;
	padding-bottom: 25px;
}
.page-template-eventi section div:nth-last-child(2) {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: unset;
}
.page-template-eventi section div.evento h3 {
    font-weight: bold;
	margin: 0;
}
.page-template-eventi section div.evento p  {
	font-family: Arial, sans-serif;
	font-size: 0.8em;
	line-height: normal;
	margin: 5px 0;
}
.page-template-eventi section div.evento p.evind {
    font-size: 0.7em;
	color: #666666;
}
.page-template-eventi section div.evento p.evcat {
	color: #999999;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}




/* media queries */
@media only screen and (min-width: 1025px) {
	 .mobile {
		  display: none;
	 }
	 .desktop {
		display: block;
		width: 100%;
	 }
  
  	.desktop h1 {
	  margin:40px auto;
	  text-align:center;
	  display:block;
	  font-size:26px;
	}
}
@media only screen and (min-width: 600px) {
	.percordso_mn h1 {
		font-size: 16px;
	}

	.tit_percorso h2 {
		font-size: 16px;
	}

	.tit_percorso p {
		line-height: 8px;
	}
	.percordso_mn .back {
	position:absolute;
	left:5px;
	top:0;
	bottom:0;
	line-height:58px;
	color:#fff;
	font-size:14px;
	float:left;
	}

	.percordso_mn .back i {
		padding-right:5px;
		font-size:14px;
	}
	body > nav > a:nth-child(2) {
    font-size: 20px;
	}

}
 @media only screen and (max-width:420px) {
	 #listcat .tit_percorso h2 {
		position:relative;
		font-size: 16px;
	}
}