/* =============================================================== */
/* 31.05.2022 ver 1.0
/* media-query-custom.css
/* css personalizzato
/* =============================================================== */

@media (min-width: 1700px) {


	.container{
		max-width: 1670px;
	}


/*	.container{
		max-width: 100%;
		padding-left: 36px !important;
		padding-right: 36px !important;
	}
*/

	.carousel-item img {
	  object-fit: contain;
	  height: 550px;
	}
	.carousel-item iframe {
	  /*object-fit: cover;*/
	  height: 550px;
	}
	
	.modal-riv{
		overflow-y: scroll;
		max-height: 350px;
	}
	
	.map_pv{
		height: 700px;
		/* The height is 400 pixels */
		width: 100%;
		/* The width is the width of the web page */
		border-radius: 30px;
	}
}

@media screen and (min-width: 1200px) and (max-width: 1699px) {
	.fam-font-text {
		font-family: 'AvenirNext-Regular', sans-serif;
		font-size: 17px;
		line-height: 1.4;
	}
	.sdp-button {
		float: left;
		color: #10150A;
		height: 43px;
		width: 137px;
		background: none;
		border-radius: 25px;
		font-family: 'AvenirNext-DemiBold', sans-serif;
		font-size: 14px;
		border: 1px solid #EBE5E5;
		box-shadow: none;
		padding: 0px;
	}
	.text-cat-mh{
		min-height: 140px;
	}
	.fam-text {
		padding: 30px 15px 30px 25px;
		background: #707070;
		color: white;
		min-height: 400px;
/*		max-height: 259px;*/
		border-radius: 30px;
	}
	.fam-title {
		font-family: 'AvenirNext-Heavy', sans-serif;
		font-size: 35px;
		/*padding-left: 15px;*/
		color: #10150A;
	}
	.fam-title-i {
		font-size: 35px;
	}
	.fam-title-light {
		font-family: 'AvenirNext-Regular', sans-serif;
		font-size: 35px;
		padding-left: 5px;
		color: #10150A;
	}
	.gruppo-title{
		font-family: 'AvenirNext-Regular', sans-serif;
		font-size: 35px;
		padding-left: 15px;
		color: #10150A;
	}
	.fam-button {
		float: right;
		color: white;
		height: 42px;
		width: auto;
		background: #10150A;
		border-radius: 25px;
		font-family: 'AvenirNext-DemiBold', sans-serif;
		font-size: 12px;
	}
	.carousel-item img{
		object-fit: contain;
		height: 400px;
	}
	.carousel-item iframe{
		/*object-fit: cover;*/
		height: 400px;
	}
	.carousel-custom-thumb{
		object-fit: cover;
		width: 128px;
		height: 70px;
	}
	.carousel-indicators [data-bs-target]{
		width: 128px;
		height: min-content;
	}
	.idea-text {
		padding: 45px 25px;
		color: white;
		/*min-height: 255px;*/
		border-radius: 30px;
		height: auto;
	}
	.text-idea{
		font-family: 'AvenirNext-Italic', sans-serif;
		font-size: 23px;
	}
	
	.gruppo-el{
		background: white;
		border-radius: 30px 30px 30px 30px;
		min-height: 170px;
		padding: 30px 20px 20px 20px;
	}
	
	.map_pv{
		height: 500px;
		/* The height is 400 pixels */
		width: 100%;
		/* The width is the width of the web page */
		border-radius: 30px;
	}
	
}




/* RESPONSIVE VIEWPORT WIDTH */
@media (max-width: 1112px) {
	.mt{
		font-family: 'AvenirNext-Medium', sans-serif;
		/*font-size: 38px;*/
		font-size:	3vw; 28px;
		color: #10150A;
	}
	
	input[type="search"]{
		font-family: 'AvenirNext-Regular', sans-serif;
		border-color: #DDDDDD;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 100px;
		border-style: solid;
		border-width: 1px;
		color: #93988F;
		font-size: 20px;
		margin-bottom: 10px;
		height: 40px;
		padding-left: 7%;
		background-image: url('/assets/ico/icon-awesome-search.png');
		background-repeat: no-repeat;
		background-position: 95%;
		max-width: 575px;
	}
	.fam-font-text {
		font-family: 'AvenirNext-Regular', sans-serif;
		font-size: 1.5vw; 17px;
		line-height: 1.2;
	}
	
	.fam-title {
		font-family: 'AvenirNext-Heavy', sans-serif;
		font-size: 40px;
/*		padding-left: 15px;*/
		color: #10150A;
	}
	.fam-title-light {
		font-family: 'AvenirNext-Regular', sans-serif;
		font-size: 40px;
		padding-left: 5px;
		color: #10150A;
	}
	.gruppo-title{
		font-family: 'AvenirNext-Regular', sans-serif;
		font-size: 40px;
		padding-left: 15px;
		color: #10150A;
	}
	.fam-title-i {
		font-size: 40px;
	}
	
	.fam-text {
		padding: 25px 15px 25px 20px;
		background: #707070;
		color: white;
		min-height: 259px;
/*		max-height: 259px;*/
		border-radius: 30px;
	}
	.carousel-item img{
		object-fit: contain;
		height: 350px;
	}
	.carousel-item iframe{
		/*object-fit: cover;*/
		height: 350px;
	}
	.carousel-custom-thumb{
		object-fit: cover;
		width: 128px;
		height: 70px;
	}
	.carousel-indicators [data-bs-target]{
		width: 128px;
		height: min-content;
	}
	.idea-text {
		padding: 45px 25px;
		color: white;
		/*min-height: 255px;*/
		border-radius: 30px;
		height: auto;
	}
	.text-idea{
		font-family: 'AvenirNext-Italic', sans-serif;
		font-size: 23px;
	}
	
	.menu-translate-hide { transform: translate(100%, 0); }
	.menu-translate { transform: translate(-93%, 0); }
	
	.map_pv{
		height: 400px;
		/* The height is 400 pixels */
		width: 100%;
		/* The width is the width of the web page */
		border-radius: 30px;
	}
}



@media (max-width: 768px) {
	.fam-font-text {
		font-family: 'AvenirNext-Regular', sans-serif;
		font-size: 23px;
		line-height: 1.2;
	}
	.fam-title {
		font-family: 'AvenirNext-Heavy', sans-serif;
		font-size: 35px;
/*		padding-left: 15px;*/
		color: #10150A;
	}
	.fam-title-light {
		font-family: 'AvenirNext-Regular', sans-serif;
		font-size: 35px;
		padding-left: 5px;
		color: #10150A;
	}
	.gruppo-title{
		font-family: 'AvenirNext-Regular', sans-serif;
		font-size: 35px;
		padding-left: 15px;
		color: #10150A;
	}
	.fam-title-i {
		font-size: 35px;
	}
	.fam-text {
		padding: 25px 15px 25px 20px;
		background: #707070;
		color: white;
		/*max-height: 259px;*/
		border-radius: 30px;
	}
	
	.menu-translate-hide { transform: translate(100%, 0); }
	.menu-translate { transform: translate(-90%, 0); }
}



@media (max-width: 736px) {
	.mt{
		font-family: 'AvenirNext-Medium', sans-serif;
		/*font-size: 38px;*/
		font-size:	3.5vw; 28px;
		color: #10150A;
	}
	
	input[type="search"]{
		font-family: 'AvenirNext-Regular', sans-serif;
		border-color: #DDDDDD;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 100px;
		border-style: solid;
		border-width: 1px;
		color: #93988F;
		font-size: 20px;
		margin-bottom: 10px;
		height: 7vw; 50px;
		padding-left: 7%;
		background-image: url('/assets/ico/icon-awesome-search.png');
		background-repeat: no-repeat;
		background-position: 95%;
	}
	
	.fam-font-text {
		font-family: 'AvenirNext-Regular', sans-serif;
		font-size: 3vw; 13px;
		line-height: 1.2;
	}
	
	.fam-title {
		font-family: 'AvenirNext-Heavy', sans-serif;
		font-size: 35px;
/*		padding-left: 15px;*/
		color: #10150A;
	}
	.fam-title-light {
		font-family: 'AvenirNext-Regular', sans-serif;
		font-size: 35px;
		padding-left: 5px;
		color: #10150A;
	}
	.gruppo-title{
		font-family: 'AvenirNext-Regular', sans-serif;
		font-size: 35px;
		padding-left: 15px;
		color: #10150A;
	}
	.fam-title-i {
		font-size: 35px;
	}
	
	.dn{
		display: none !important;
	}
}


@media (max-width: 414px) {
	.fam-title {
		font-family: 'AvenirNext-Heavy', sans-serif;
		font-size: 25px;
/*		padding-left: 15px;*/
		color: #10150A;
	}
	.fam-title-light {
		font-family: 'AvenirNext-Regular', sans-serif;
		font-size: 25px;
		padding-left: 5px;
		color: #10150A;
	}
	.fam-sezt{
		margin-bottom: 30px;
	}
	
	.gruppo-title{
		font-family: 'AvenirNext-Regular', sans-serif;
		font-size: 25px;
		padding-left: 15px;
		color: #10150A;
	}
	.fam-title-i {
		font-size: 25px;
	}
	
	.fam-font-text {
		font-family: 'AvenirNext-Regular', sans-serif;
		font-size: 4vw; 13px;
		line-height: 1.2;
	}
	
	.menu-translate-hide { transform: translate(100%, 0); }
	.menu-translate { transform: translate(-81%, 0); }
	
}

@media (max-width: 375px) {
	.menu-translate-hide { transform: translate(100%, 0); }
	.menu-translate { transform: translate(-79%, 0); }
}



@media (max-width: 320px) {
	.menu-translate-hide { transform: translate(100%, 0); }
	.menu-translate { transform: translate(-76%, 0); }
}

@media (max-width: 1699px){
	.container{
		max-width: 100%;
		padding-left: 36px !important;
		padding-right: 36px !important;
	}
}
