@charset "UTF-8";
/* CSS Document */

/*############-- TIPOGRAFIA --############*/
body{
	font-family: 'robotoregular';
}
b, strong, .strong{
	font-family: 'robotobold';
}
/*p{
	font-size: 0.8rem;
}*/
h1, .h1, h2, .h2, h3, .h3, h4, .h4{
	font-family: 'ralewaybold';
}
hr.hr{
	border-top-width: 1px;
	border-top-style: solid;
	position: relative;
}
hr.hr:after{
	position: absolute;
	content: "";
	border-top-width: 6px;
	border-top-style: solid;
	width: 50%;
	margin-left: 25%;
	margin-top: -3px;
}
hr.hr-white{
	border-top-color: #fff;
}
hr.hr-white:after{
	border-top-color: #fff;
}
hr.hr-green{
	/*border-top-color: #009e47;*/
	border-top-color: #20b53f;
}
hr.hr-green:after{
	/*border-top-color: #009e47;*/
	border-top-color: #20b53f;
}

/*############-- SFONDI E COLORI --############*/

.bg-dark {
    background-color: #35393C !important;
}
.bg-green {
    /*background-color: #72f129 !important;*/
	background-color: #20b53f !important;
}
.bg-dark-green{
	background-color: #377c4a;
	color: #fff;
}
.bg-pale-green{
	background-color: #d0e1b8;
	color: #000;
}
footer{
	background-color: #35393C;
	color: #fff;
	padding-top: 3rem;
	padding-bottom: 3rem;
}
footer a{
	color: #fff;
}
footer a:hover{
	color: #72f129;
}
.bg-black{
	background-color: #000;
	color:#fff;
}
.jumbotron {
	background-color: transparent;
	border-radius: 0rem;
	/*border: 4px solid #009e47;*/
	border: 4px solid #20b53f;
}

/*############-- SISTEMA PER FARE LE COLONNE UGUALI IN ALTEZZA --############*/
.row-eq-height {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
}
.col-wrap{
    overflow: hidden; 
}
.col-wrap .card{
	margin-bottom: -99999px;
    padding-bottom: 99999px;
    background-color:rgba(223, 219, 210, 0.4);
}

/*############-- NAVBAR MENU --############*/

.navbar > .container,
.navbar > .container-fluid {
  display: block;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
}
button.navbar-toggler{
	position: absolute;
	top:1rem;
	right: 1rem;
	color: #fff;
	z-index: 3;
}
ul.navbarMenu{
	width: 100%;
	text-align: center;
}
@media (min-width: 768px){
ul.navbarMenu > .nav-item{
	width: 25%;
}	
}
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 1);
}
.navbar-dark .navbar-nav .nav-item.active .nav-link {
    /*color: #009e47;*/
	/*color: #72f129;*/
	color: #20b53f;
}

/*############-- SFONDI --############*/
.base-anim{
	background: #cce1b4;
	background-image: url(../img/base-slide.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	min-height: 300px;
}
.bubbles{
	background-image: url(../img/bubbles.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: top;
	min-height: 600px;
}

/*############-- TITOLI --############*/
.title-news{
	/*background: #84DD63;*/
	/*background-color: #009e47;*/
	background-color: #35393C;
	color: #fff;
	text-align: center;
	text-transform: uppercase;
	font-family: 'ralewaybold';
	padding: 8px 0px;
	margin-bottom: 0;
}
h3.title-news{
	font-size: 1.3rem;
}
a.title-news{
	display: block;
	color: #000;
	text-decoration: none;
	transition: background 0.3s;
}
a.title-news:hover{
	background: #84dd63;
}
.title-news-bottom{
	position: absolute;
	width: 100%;
	bottom:0px;
	margin-bottom: 0;
	margin-top: 45px;
}

/*############-- NEWS HOMEPAGE --############*/
.news-home-text{
	min-height: 200px;
}
@media (min-width: 768px){
.news-home-text, .news-home-img{
	position: relative;
	height: 400px;
}
.news-home-img img{
	max-height: 400px;
	min-width: 100%;
}
}
@media (min-width: 992px){
.news-home-text, .news-home-img{
	position: relative;
	height: 300px;
}
.news-home-img img{
	max-height: 300px;
	min-width: 100%;
}
}
.news-home-img{
 overflow: hidden;
}
.news-home-img img, .box-foto-img img{
	transition: all 0.3s;
}
.news-home-text p{
	margin-left: 15px;
	margin-right: 15px;
}
.box-foto{
	position: relative;
	cursor: pointer;
}
.box-foto-img{
	position: relative;
	overflow: hidden;
}

.news-home-img:hover img, .box-foto:hover .box-foto-img img{
	-ms-transform: scale(1.2,1.2);
    -webkit-transform: scale(1.2,1.2);
    transform: scale(1.2,1.2);
}
.news-home-img a.btn{
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.char1{
	font-size: 1.3em;
	/*color: #72f129;*/
	color: #009e47;
	color: #20b53f;	
}
.word4 .char1{
	font-size: 1em;
	color: #000;
}
/*############-- PULSANTI --############*/

.btn-custom {
  	color: #fff;
	padding: 0.5rem 1.8rem;
  	border-color: transparent;
	border-radius: 23px;
	font-family: 'ralewaybold';
}

.btn-custom:hover {
  	border-color: transparent;
}
.btn-custom:focus, .btn-custom.focus {
  	box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}
.btn-dark.btn-bordered{
	border: 4px solid #fff;
}
.btn-dark{
	color: #fff;
	background-color: #35393C;
}
.btn-dark:hover{
	color: #000;
	background-color: #72f129;
}
.btn-light{
	color: #000;
	background-color: #72f129;
}
.btn-light.btn-bordered{
	border: 4px solid #35393C;
}
.btn-light:hover{
	color: #fff;
	background-color: #35393C;
}

/*############-- FORM --############*/
.form-control,.input-group-text{
	border-radius: 25px;
	border: 4px solid #333;
}
.input-group-text{
	background-color: #72f129;
}
.input-group-text{
	border-right: none;
}
/*############-- LISTE --############*/
ul.list-1, ul.list-2{
	list-style: none;
	padding-left: 0;
}
ul.list-1 li, ul.list-2 li{
	padding: 0 2em 0 0;
}
ul.list-1 .far{
	color: #fff;
}
ul.list-2 .fas{
	/*color: #75b15f;*/
	font-size: 2em;
}
.list{
	opacity: 0;
}
.circle {
	justify-content: center;
	height: 0;
	align-items: center;
	border-radius: 100%;
	text-align: center;
	display: flex;
	background: #75b15f;
	margin: 1em auto;
	padding: 50% 0;
}
.circle p{	
	margin-left: 2em;
	margin-right: 2em;
	font-family: 'ralewaybold';
	font-size: 1.5em;
}
.circle p strong{
	color: #fff;
	font-family: 'ralewaybold';
}
@media (min-width: 768px){
.circle p{	
	font-size: 1.3em;
}
}
@media (min-width: 1200px){
.circle p{	
	font-size: 1.6em;
}
}
a.partner-link{
	position: relative;
	width: 100%;
	display: block;
	opacity: 1;
	transition: all 0.3s;
}
a.partner-link:hover{
	opacity: 0.5;
}
a.partner-link:before{
	position: absolute;
	z-index: 2;
	width: 100%;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, 0);
	-moz-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
	text-align: center;
	font-family:"Font Awesome 5 Free";
	font-weight:900;
	font-size: 2em;
	content: "\f360";
	color: #000;
	opacity: 0;
	transition: all 0.3s;
}
a.partner-link:hover:before{
	opacity: 1;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

/*NEWS*/
.card {
	background-color: #f8f9fa;
    border: none;
    border-radius: 0;	
}
.card-img-top, .card-img {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
	border-radius: 0;
}
.card-title {
    font-family: 'ralewaybold';
}
.card footer{
	background-color: inherit;
	color: inherit;
	text-align: center;
	padding-top: 1rem;
	padding-bottom: 1rem;
}
.photo-news-container{
	margin-bottom: 3rem;
	overflow: hidden;
	max-height: 500px;
	position: relative;
}

.photo-news-container img{
	min-width: 110%;
	/*position: relative;
	width: 100%;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);*/
	
}
.photo-news-container2{
	margin-bottom: 3rem;
	overflow: hidden;
	max-height: 500px;
	position: relative;
}

.photo-news-container2 img{
	min-width: 110%;
	position: relative;
	width: 100%;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
	
}
.txt-news-container{
	padding: 3rem;
	text-align: justify;
}
.shadow{
	-webkit-box-shadow: 0px 0px 29px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 0px 29px 0px rgba(0,0,0,0.3);
	box-shadow: 0px 0px 29px 0px rgba(0,0,0,0.3);
}
/*RADIO*/

.prova:before{
	-webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
	font-family: "Font Awesome 5 Free";
	content: "\f111";
	font-weight: 400;
	color: #fff;
}
label.label-radio{
	position: relative;
	cursor: pointer;
	font-size: 1.2em;
}

input[type="checkbox"], input[type="radio"]{
	position: absolute;
	right: 9000px;
	z-index: 9000000;
}
input[type="radio"] + .label-text:before{
	-webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
	font-family: "Font Awesome 5 Free";
	content: "\f111";
	font-weight: 400;
	color: #333;
	margin-right: 8px;
	font-size: 1.5em;

	/*content: "\f111";
	font-family:"Font Awesome 5 Free";
	speak: none;
	font-style: normal;
	font-weight: 900;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing:antialiased;
	width: 1em;
	display: inline-block;
	margin-right: 5px;*/

}
input[type="radio"]:checked + .label-text:before{
	content: "\f192";
	font-weight: 900;
	animation: effect 250ms ease-in;
}

input[type="radio"]:disabled + .label-text{
	color: #aaa;
}

input[type="radio"]:disabled + .label-text:before{
	content: "\f111";
	color: #ccc;
}
@keyframes effect{
	0%{transform: scale(0);}
	25%{transform: scale(1.3);}
	75%{transform: scale(1.4);}
	100%{transform: scale(1);}
}
