body {
    /* font-family: 'Roboto', sans-serif; */
    /* font-family: 'Noto Sans', sans-serif; */
    font-family: 'Hind Madurai', sans-serif;
    font-size: 16px;
}

.grena-rev {
    background:#009F4F;
    color: #FFFFFF;
}

.grena-col {
    background: #FFFFFF;
    color:#009F4F;
}

.space-after {
    margin-right: 2em;
}

.titolo {
    padding: 0.5em 1.0em;
    font-size: 1.0em;
    font-weight: bold;
    background:#009F4F;
    color: #FFFFFF;
    text-align: center;
    margin: 0;
}

a, a:link, a:visited, a:hover, a:active {
    color: #000000;
}

li a, a:link, a:visited, a:hover, a:active {
    color: #009F4F;
    font-weight: bold;
}

.icon-bar {
    background: #009F4F;
}

.navbar {
    margin-bottom: 1em;
}
.navbar-left img {
    width: 70vw;
    max-width: 500px;
}
ul.navbar-nav {
    float: none; 
    display: inline-block;
    height: 30px;
}
.navbar-nav>li.active {
    background: #80cc28;
}
.navbar-nav>li.active>a {
    color: #ffffff !important;
}
.navbar-nav>li>a {
    padding-top: 5px;
    padding-bottom: 5px;
}
.carousel {
	height: 30vh;
}
.carousel-inner {
	height: 100%;
}
.carousel-control {
	height: 50%;
}
.carousel-caption {
	bottom: 1%;
}
.carousel-indicators {
	bottom: 1%;
}
.carousel .item {
  height: 100%;
}
.carousel-inner > .item > img {
    position: absolute;
    object-fit: cover;
    top: 0;
    left: 0;
	width: 100%;
	height: 100%;
}
.carousel-control {
	height: 100%;
}
.carousel-bottom-shadow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10%;
    background-image: -webkit-linear-gradient(top,rgba(255,255,255,.0001) 0,rgba(255,255,255,1) 100%);
    background-image: -o-linear-gradient(top,rgba(255,255,255,.0001) 0,rgba(255,255,255,1) 100%);
    background-image: -webkit-gradient(linear,top,top,from(rgba(255,255,255,.0001)),to(rgba(255,255,255,1)));
    background-image: linear-gradient(to bottom,rgba(255,255,255,.0001) 0,rgba(255,255,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00FFFFFF', endColorstr='#80FFFFFF', GradientType=0);
    background-repeat: repeat-y;
}

.bg-v0 {
    background: #02a14f;
    color: #ffffff;
}
.bg-v1 {
    background: #80cc28;
    color: #ffffff;
}
.bg-v2 {
    background: #157947;
    color: #ffffff;
}
.bg-v3 {
    background: #3b9b3d;
    color: #ffffff;
}
.bg-v4 {
    background: #43ab3b;
    color: #ffffff;
}
.bg-v5 {
    background: #68b530;
    color: #ffffff;
}
.bg-v6 {
    background: #8cd139;
    color: #ffffff;
}
.bg-g0 {
    background: #fcc707;
    color: #ffffff;
}
.bg-g1 {
    background: #fcc707;
    color: #02a14f;
}
.bg-g2 {
    background: #fdd74b;
    color: #02a14f;
}
.bg-a0 {
    background: #00adef;
    color: #ffffff;
}
.bg-a1 {
    background: #3d5dff;
    color: #ffffff;
}
.col-v0{
    color: #02a14f;
}
.col-v1{
    color: #80cc28;
}
.col-v2{
    color: #157947;
}
.col-m0 {
	color: #712B0F;
}
.tutto {
    width: 100%;
}
.evidenza {
    margin: 0.5em 0;
    padding: 0.3em 2em;
}
.s1 {
	font-size: 1.2em;
}
.s2 {
	font-size: 1.5em;
}
.s3 {
	font-size: 1.8em;
}
.s4 {
	font-size: 2.1em;
}

.principale {
    display: flex;
    flex-flow: row wrap;
	justify-content: center;
    align-content: flex-start;
	margin-top: 1em;
}
.certificati {
    display: flex;
    flex-flow: row wrap;
	justify-content: center;
    align-content: center;
	margin-top: 1em;
}
.certificati-circular {
	flex: 1;
	text-align: center;
}
.certificati-circular > img {
	max-height: 80px;
}
.certificati-testo {
	flex: 10;
	box-sizing: border-box;
	padding: 0 2em;
	text-align: left;
}
.certificati-certificazione {
	flex: 1;
	text-align: center;
}
.certificati-certificazione > img {
	max-height: 80px;
}
.footer {
    display: flex;
    flex-flow: row wrap;
	justify-content: center;
    align-content: center;
	margin-top: 1em;
}
.footer-indirizzo {
	flex: 1 1 33%;
}
.footer-contatti {
	flex: 1 1 33%;
}
.footer-isgreen {
	flex: 1 1 33%;
}
.screensaver {
    display: none;
    justify-content: center;
    align-items: center;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 1.0);
	z-index: 9999;
	transition: opacity 1s;
}
.screensaver-content {
    flex: 0 0 50%;
    text-align: center;
}
.screensaver-content > img {
    width: 50%;
}

.home-sx {
    flex: 1 0 66%;
    padding-right: 1em;
}
.home-dx {
    flex: 1 0 33%;
	max-width: 320px;
}
.home-sx-sub2 {
    flex: 1 0 50%;
    box-sizing: border-box;
    padding: 0.2em 1em;
    text-align: center;
}
.home-sx-sub2 > .img-container {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-image: url("../img/mucchio.jpg");
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center; 
}
.home-sx-sub2 > .posiziona {
	position: absolute;
}
.img-text-2 {
    box-sizing: border-box;
    display: inline-block;
    width: 48%;
    padding: 0 0.5em;
    font-size: 0.8em;
    vertical-align: top;
}
.img-text-2 > img {
    width: 100%;
}
.news {
    box-sizing: border-box;
    width: 100%;
    padding: 0 1em;
    font-size: 1em;
}
.news > img {
    box-sizing: border-box;
    width: 25%;
    margin-right: 3%;
}
.news-text {
    display: inline-block;
    box-sizing: border-box;
    width: 70%;
    vertical-align: top;
}
.tweet-titolo {
    margin: 0.5em 0;
    font-size: 1.2em;
}
.tweet {
    box-sizing: border-box;
    width: 100%;
    margin: 0.5em 0;
    padding: 0.5em;
    border: 1px solid #CCC;
    border-radius: 0.5em;
}
.tweet > img {
    width: 100%;
}
.chisiamo-mondo {
    width: 80%;
    margin: 0 10%;
}
.notizia {
    flex-flow: row-reverse wrap;
    display: flex;
}
.notizia-img {
    flex: 1;
    text-align: center;
    box-sizing: border-box;
    padding: 0.5em;
}
.notizia-img > img {
    width: 50%;
    max-width: 240px;
}
.notizia-data {
    flex: 0 0 3.5em;
    height: 3.5em;
    box-sizing: border-box;
    padding: 0.5em;
    text-align: center;
    font-weight: bold;
    line-height: 1.5em;
    margin: 0.5em;
}
.notizia-data-mese {
    font-size: 2em;
    border-bottom: 1px solid;
}
.notizia-txt {
    flex: 2;
    box-sizing: border-box;
    padding: 0.5em;
}
.contatti-1 {
    flex: 4 4;
    /*font-weight: bold;*/
    box-sizing: border-box;
    padding: 0.5em;
}
.contatti-2 {
    flex: 6 6;
    box-sizing: border-box;
    padding: 0.5em;
}
.contatti-3 {
    flex: 1 1 100%;
    text-align: center;
    box-sizing: border-box;
    padding: 0.5em;
}
.contatti-3 > iframe {
    display: inline-block;
    width: 100%;
    max-width: 640px;
    height: 480px;
}
.contatti-obbligatori {
    text-align: right;
    font-style: italic;
    font-size: 0.8em;
}
.contatti-privacy {
    display: inline-block;
    vertical-align: top;
    width: 70%;
    font-style: italic;
    overflow: hidden;
}
.contatti-submit {
    display: inline-block;
    vertical-align: top;
    width: 29%;
    text-align: right;
    overflow: hidden;
}

.b-tutto {
    flex: 1 1 100%;
}
.b-icona {
    flex: 0 0 20%;
    text-align: center;
    box-sizing: border-box;
    padding: 1em;
}
.b-icona img {
    width: 100%;
}
.b-icona:hover .img-wrap {
	background-color: black;
}
.b-icona:hover img {
	opacity: 0.8;
}
.b-icona p {
    line-height: 1.3em;
    margin: 0.2em 0 !important;
}
.b-spacer {
    flex: 0 0 20%;
}
.b-piccola {
    flex: 0 0 16%;
    text-align: center;
    box-sizing: border-box;
    padding: 1em;
    font-size: 0.8em;
}
.b-piccola img {
    width: 100%;
}
.b-piccola:hover .img-wrap {
	background-color: black;
}
.b-piccola:hover img {
	opacity: 0.8;
}
.b-piccola p {
    line-height: 1.3em;
    margin: 0.2em 0 !important;
}

@media screen and (max-width: 640px) {
    .home-sx {
        flex: 1 0 100%;
    }
    .home-dx {
        flex: 1 0 100%;
    }
    .home-sx-sub2 {
        flex: 1 0 100%;
    }
	.certificati-circular {
		flex: 1 1 30%;
	}
	.certificati-testo {
		flex: 1 1 65%;
	}
	.certificati-certificazione {
		flex: 1 1 30%;
    }
	.footer-indirizzo {
		flex: 1 1 100%;
	}
	.footer-contatti {
		flex: 1 1 100%;
	}
	.footer-isgreen {
		flex: 1 1 100%;
    }
    .notizia-img {
        flex: 1;
    }
    .notizia-data {
        flex: 0 0 3.5em;
        align-self: flex-end;
    }
    .notizia-txt {
        flex: 1 100%;
    }
    .contatti-1 {
        flex: 1 100%;
    }
    .contatti-2 {
        flex: 1 100%;
    }
    .contatti-privacy {
        width: 100%;
    }
    .contatti-submit {
        width: 100%;
        text-align: center;
    }
    .b-icona {
        flex: 0 0 80%;
        max-width: 200px;
    }
    .b-spacer {
        flex: 0 0 0%;
    }
    .b-piccola {
        flex: 0 0 50%;
        max-width: 200px;
    }
}
