/*
Theme Name: Eco in città theme
Theme URI: https://www.ecoincitta.it/
Description: Tema Child di Magazine Hoot
Author: Massimo Ciccolini
Author URI: https://massimociccolini.idra.it
Template: magazine-hoot
Version: 1.0.0
Tags: 
Text Domain: ecoincitta-theme
*/


@import url("../magazine-hoot/style.css");



.site-description {
    display: none;
}


.gm-map {
	display: none;
}
.home .gm-map {
    display: block;
}
.site-header iframe {
    margin: 0 !important;
}
.site-header .gm-map {
    display: block;
    position: absolute !important;
}
.poi .gm-map, #geo-mashup-search-results .gm-map, .singular-page-21280 .gm-map {
	display: block;
	clear: both;
	margin-bottom: 40px;
}
.mappa_home {
    clear: both;
    display: block;
	width: 70% !important;
    min-height: 500px;
	float: left;
	margin-right: 20px;
	margin-bottom: 40px;
}
.singular-poi #content .gm-map {
    position: relative !important;
    height: 400px !important;
    width: 50% !important;
    display: block;
    float: left;
    margin-right: 20px;
    min-width: 400px;
    max-width: 100%;
    border: 1px solid #44444438;
}
.singular-poi #content .gm-map iframe {
	margin: 0 !important;
}	
@media only screen and (max-width: 426px) {
	.home .gm-map {
		width: 100% !important;
	}
	.singular-poi #content .gm-map {
		min-width: 100%;
	}
}
#geo-mashup-search-results .search-result {
    border-bottom: 3px solid;
    border-top: 2px solid;
    padding-top: 20px;
}


.singular-poi ul, .singular-poi ol {
    list-style: none outside;
}
.scheda-poi img  {
    display: none;
}


.widget .view-all-top.view-all-withtitle {
    background-color: #ee903380;
}
.widget .view-all a {
    color: #d22254;
}
.posts-listunit-excerpt p, .entry-summary p {
    text-align: justify !important;
}
#network .poi .poi-thumbnail {
    width: 100px;
    border: 1px solid #c0c0c0;
    float: left;
    margin: 5px;
}

.cerca_poi{
    width: 100%;
    height: 40px;
}
.titolo_cerca_poi {
    float: left;
    margin: -20px 10px 0 0;
    display: none;
}
.campo_cerca_poi {
    float: left;
}
.campo_cerca_poi .button {
    margin-top: -2px;
}

#header-primary .hgrid{
    width: 165px !important;
    float: left;
    min-width: 165px;
    margin-left: 40px;
}
#branding {
    width: 165px;
}



.gm-style img {
    max-width: 100% !important;
}


.custom-logo-link img {
    /*border: 1px solid #44444438;
    box-shadow: 2px 2px #44444426;*/
}
#header-primary .hgrid {
    /*margin-top: 70px;
    margin-left: 70px;
    margin: 70px auto 100px;
    margin: 92.72px auto 92.72px;*/
    width: 165px !important;
height: 114.55px;
padding: 92.72px 17.5px;
margin: 0;
/*background-color: #3f8aca;*/ /* #a2bd3d */
}
#header-primary .hgrid-span-12{
    padding: 0 0px !important;
}
#site-logo {
    /*margin: 0px 0 35px;*/
    margin: 0px 0 0px;
    max-width: 100%;
    display: inline-block;
    vertical-align: top;
}
@media only screen and (max-width: 969px) {
  #page-wrapper #site-description {
    display: none;
  }
}




.singular-poi .entry-content-featured-img {
    display: block;
    margin: 0 auto 20px;
    max-width: 500px;
    max-height: 500px;
    width: auto;
    height: auto;
}
@media only screen and (max-width: 426px) {
	.singular-poi .entry-content-featured-img {
		max-width: 100%;
	}
}




.mc4wp-form {
    padding: 25px;
    background-color: #eee;
}
.mc4wp-form h3 {
    text-align: center;
    margin: 0 auto 10px;
    font-style: italic;
}
.mc4wp-form  p {
    margin: 0;
}
.mc4wp-form  input {
    width: 100%;
}




.comments-closed {
    display: none;
}

@media (min-width: 1287px) {
	#rpb_carousel-1 .rpb_carousel_item {
		height: 132px;
	}
}
@media (max-width: 1286px) {
	#rpb_carousel-1 .rpb_carousel_item {
		height: 156px;
	}
}
@media (max-width: 1128px) {
	#rpb_carousel-1 .rpb_carousel_item {
		height: 140px;
	}
}
@media (max-width: 1038px) {
	#rpb_carousel-1 .rpb_carousel_item {
		height: 124px;
	}
}
@media (max-width: 962px) {
	#rpb_carousel-1 .rpb_carousel_item {
		height: 154px;
	}
}
@media (max-width: 845px) {
	#rpb_carousel-1 .rpb_carousel_item {
		height: 135px;
	}
}
@media (max-width: 709px) {
	#rpb_carousel-1 .rpb_carousel_item {
		height: 108px;
	}
}
@media (max-width: 648px) {
	#rpb_carousel-1 .rpb_carousel_item {
		height: 156px;
	}
}
@media (max-width: 799px) {
	#rpb_carousel-1 .rpb_carousel_item {
		height: 136px;
	}
	#header-primary .hgrid {
    	margin-top: 0px;
    	margin-bottom: 306px;
    	margin-left: calc(50% - 82.5px);
    	
    	padding: 0;
		background-color: #fff;
	}
	.taxonomy-category-rm-news #mi_map,
	.taxonomy-category-mi-news #rm_map,
	.rm-news #mi_map,
	.mi-news #rm_map {
    	display: none !important;
	}
	.home #header-primary .hgrid, 
	.singular-page #header-primary .hgrid, 
	.singular-post #header-primary .hgrid, 
	.taxonomy-category-news #header-primary .hgrid,
	.taxonomy-category-az-news #header-primary .hgrid,
	.taxonomy-category-nz-news #header-primary .hgrid,
	.taxonomy-category-video #header-primary .hgrid,
	.taxonomy-category-galleria #header-primary .hgrid,
	.taxonomy-category-rubriche #header-primary .hgrid {
    	margin-top: 0px;
    	margin-bottom: 606px !important;
    	margin-left: calc(50% - 82.5px);
    	
    	padding: 0;
		background-color: #fff;
	}
	.taxonomy-category-rm-news #header-primary .hgrid,
	.rm-news #header-primary .hgrid,
	.mi-news #header-primary .hgrid,
	.bo-news #header-primary .hgrid,
	.taxonomy-category-mi-news #header-primary .hgrid {
    	margin-top: 0px;
    	margin-bottom: 306px !important;
    	margin-left: calc(50% - 82.5px);
    	
    	padding: 0;
		background-color: #fff;
	}
	#header .gm-map {
		height: 300px !important;
	}
	.gm-map {
    	margin-top: 140px;
	}
#roma {
    position: absolute;
    margin-left: 230px;
    z-index: 2;
    font-size: 24px;
    margin-top: 150px;
    background-color: #fff;
    padding: 8px;
    /*text-transform: uppercase;*/
    border-radius: 2px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
    /*width: calc((100% - 200px) / 2) !important;*/
}
	#rm_map .gm-map {
    	margin-top: 140px;
	}
#milano {
    position: absolute;
    margin-left: 230px;
    z-index: 2;
    font-size: 24px;
    margin-top: 450px;
    background-color: #fff;
    padding: 8px;
    /*text-transform: uppercase;*/
    border-radius: 2px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
    /*width: calc((100% - 200px) / 2) !important;*/
}
	#mi_map .gm-map {
    	margin-top: 440px;
    }
}
@media (min-width: 800px) {
#header .gm-map {
    height: 300px !important;
    width: calc(100% - 200px) !important;
	margin-left: 200px;
}
#rm_map {
    width: calc((100% - 200px) / 2) !important;
    /*margin-left: 200px;*/
}
#roma {
    position: absolute;
    margin-left: 410px;
    z-index: 2;
    font-size: 24px;
    margin-top: 10px;
    background-color: #fff;
    padding: 8px;
    /*text-transform: uppercase;*/
    border-radius: 2px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
    /*width: calc((100% - 200px) / 2) !important;*/
}
#rm_map .gm-map {
    height: 300px !important;
    width: calc((100% - 205px) / 2) !important;
    float: left;
}
#mi_map {
    width: calc((100% - 200px) / 2) !important;
    float: right;
}
#milano {
    position: absolute;
    margin-left: 210px;
    z-index: 2;
    font-size: 24px;
    margin-top: 10px;
    background-color: #fff;
    padding: 8px;
    /*text-transform: uppercase;*/
    border-radius: 2px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
    /*width: calc((100% - 200px) / 2) !important;*/
}
#mi_map .gm-map {
    height: 300px !important;
    width: calc((100% - 205px) / 2) !important;
	margin-left: 2.5px;
    float: right;
}
}

#rpb_carousel-3 .rpb_carousel_item {
    height: 120px;
}



.nonvisibile {
    display: none !important;
}


#header-supplementary .hgrid-span-12 {
    /*margin-top: 16px;*/
}
#hoot-social-icons-widget-2 {
    margin-top: 52.5px;
}

article p {
    text-align: justify;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
}


#mc4wp_form_widget-3 {
    margin: -10px 0 !important;
}
#maghoot-posts-list-widget-10 .posts-list-style2 .posts-listunit-small .posts-listunit-image {
    width: 90px;
    height: 70px;
}




#maghoot-posts-list-widget-12 .accent-typo, #maghoot-posts-list-widget-12 .cat-typo {
    background: #0066cc !important;
    color: #ffffff;
    border-color: #0066cc !important;
}
#maghoot-posts-list-widget-14 .accent-typo, #maghoot-posts-list-widget-14 .cat-typo {
    background: #669933 !important;
    color: #ffffff;
    border-color: #669933 !important;
}
#maghoot-posts-list-widget-16 .accent-typo, #maghoot-posts-list-widget-16 .cat-typo {
    background: #ffcc33 !important;
    color: #ffffff;
    border-color: #ffcc33 !important;
}
#maghoot-posts-list-widget-13 .accent-typo, #maghoot-posts-list-widget-13 .cat-typo {
    background: #ff6633 !important;
    color: #ffffff;
    border-color: #ff6633 !important;
}
#maghoot-posts-list-widget-15 .accent-typo, #maghoot-posts-list-widget-15 .cat-typo {
    background: #333333 !important;
    color: #ffffff;
    border-color: #333333 !important;
}
#maghoot-posts-list-widget-17 .accent-typo, #maghoot-posts-list-widget-17 .cat-typo {
    background: #cc0033 !important;
    color: #ffffff;
    border-color: #cc0033 !important;
}
