@media (min-width: 901px) {
	.scheda_consulente_foto {
		width: 435px;
		height: 495px;
		overflow: hidden;
	}
}

@media (max-width: 900px) {
	.scheda_consulente_foto {
		margin: 0 auto;
		max-height:300px;
		overflow: hidden;
	}
	
	.font-md_32_40 {
		font-size: 32px;
		line-height: 40px;
		padding: 5px 0;
	}
	
	.font-md_24_30 {
		font-size: 24px;
		line-height: 30px;
		padding: 5px 0;
	}
	
	.font-md_20_25 {
		font-size: 20px;
		line-height: 25px;
		padding: 4px 0;
	}
	
	.font-md_14_18 {
		font-size: 14px;
		line-height: 18px;
		padding: 4px 0;
	}
}
	

@media (min-width: 601px) {

	/* Structure from 981px */
	
	.desktop  { display:block; }
	.mobile  { display:none; }
	
	#logo { width: 40%; float:left; }
	#mainmenu {width:100%; }

	/*** Menu ***/
	#mainmenu			{ display:block; }

	#mainmenu ul 		{ width: 100%; display: flex; flex-direction: row; justify-content: space-around; align-items: center; }
	#mainmenu ul li 	{ float: left; position: relative; padding: 15px 0; display: flex; }
	#mainmenu a 		{ COLOR: #CB0808; display: block; font-family: 'Familjen Grotesk', sans-serif; font-weight: 600; font-size:18px; }
	#mainmenu a:hover	{ COLOR: #1C74C6; }
	
	#mainmenu li ul		{ display: none; }
	#mainmenu li:hover ul	{ display: block; position: absolute; z-index:1; background-color:#00aeef; }
	#mainmenu li li   	{ background-color:#FFF; margin: 0 -80px; text-align:center; } 
	#mainmenu li li a	{ margin: 0 auto; }
	
	#mainmenu ul li.hover,
	#mainmenu ul li:hover { position: relative; z-index: 599; cursor: default; }
	
	#mainmenu ul ul { visibility: hidden; position: absolute; top: 100%; left: 0; z-index: 598; width: 100%; }
	#mainmenu ul ul li { float: none; }
	#mainmenu ul ul ul { top: 0; left: auto; right: -99.5%; }
	
	#mainmenu ul li:hover>ul { visibility: visible; }
	
	#mainmenu ul ul { bottom: 0; left: 0; }	
	#mainmenu ul ul { margin-top: 0; }
	#mainmenu ul ul li { font-weight: normal; }
	
	.col-lg-12 { 
		position:relative; 
		width: 100%; 
		float:left; 
		padding:2%; 
	}
	
	.col-lg-8 { 
		position:relative; 
		width: 66.7%; 
		float:left; 
		padding:2%; 
	}
	
	.col-lg-6 { 
		position:relative; 
		width: 50%; 
		float:left; 
		padding:2%; 
	}
	
	.col-lg-4 { 
		position:relative; 
		width: 33.3%; 
		float:left; 
		padding:2%; 
	}
	
	.col-lg-3 { 
		position:relative; 
		width: 25%; 
		float:left; 
		padding:2%; 
	}
	
	.header { 
		position:relative; 
		float:left;
		background-color: #FFF;
		box-shadow: 0px 4px 31px 6px rgba(0, 0, 0, 0.12);
		margin-bottom: 55px;
		width: 100%;	
	}
	
	.home_splash_img {
		height: 567px;
		overflow:hidden;
	}
	
	.home_search {
		margin-top: -75px;
	}
	
	.carousel-box {
		margin-bottom: 50px;	
	}
	
	.carousel-inner {
		/*max-height: 220px;*/	
	}
	
	.carousel_text {
		min-height: 70px;
		text-align:center;
	}
	
	.copyright { 
		background-color:#0D4070; 
		color:#FFFFFF;
		padding: 2% 6% !important;
	}
	
	.box_search { 
		margin: auto;
  		width: 80%;
		padding: 35px;
		overflow: hidden;
	}
	
	.box_search_home { 
		background: #FFFFFF;
		box-shadow: 0px 4px 20px 4px rgba(0, 0, 0, 0.12);
		border-radius: 11px;
	}
	
	.box_counter {
		background: #FFFFFF;
		box-shadow: 0px 4px 20px 4px rgba(0, 0, 0, 0.12);
		border-radius: 11px;
		text-align:center;
		padding: 20px;
	}
	
	.item_carousel_foto {
		width:100%;
		float:left; 
		height:256px;
	}
	 
	.elenco_box_foto {
		width: 384px;		
		position:relative;
		float:left;
		overflow:hidden;
		height:256px;
	}
	
	.elenco_box_foto img {
		height:320px;
		min-width:250px;
	}
	
	.elenco_box_descrizione {
		/* Firefox */
		width: -moz-calc(100% - 384px);
		/* WebKit */
		width: -webkit-calc(100% - 384px);
		/* Opera */
		width: -o-calc(100% - 384px);
		/* Standard */
		width: calc(100% - 384px);	
		position:relative;
		float:left;
		padding:0 2%;
	}
	
	.scheda_box_foto {
		width:100%;
		float:left; 
		height:435px;
	}
	
	.scheda_ante_gallery {
		height:120px;
		margin:0; 
		overflow:hidden;;
	}
	
	.foto_agente { 
		width: 70px;
		height: 70px;
		overflow: hidden;
		border-radius: 50%;
		margin-right: 20px;
		float: left;
	}
	
	.scheda_agenzia_logo {
		float:left; 
		height:350px;
	}
	
	.scheda_agenzia_foto {
		float:left; 
		height:364px;
	}
	
	div.cropper {
		width: 100%;
		height: 100%;
		overflow: hidden;
	}
	
	.scheda_voci  { 
		background: #FFF;
		margin-bottom: 4px;
	}

    .scheda_etichetta { 
		position:relative; 
		width: 21%; 
		float:left; 
		padding:2%;
		font-size: 14px;
		font-weight: 700;
		color: #1C74C6;
	}
	
    .scheda_risultato { 
		position:relative; 
		width: 71%; 
		float:left; 
		padding:2%;
		font-size: 14px;
		font-weight: 400; 
	}
	
	.scheda_icone_voci {
		float: left; 
		margin-right: 55px;
	}
	
	.box_sede {
		background-color:#FFFFFF;
		border-radius: 24px;
		padding:40px;
	}
	
	.box_servizio {
		background-color:#FFFFFF;
		text-align:center;
		border-radius: 24px;
		padding:100px 75px;
		min-height:700px;
	}
	
	.box_servizio div {
		line-height: 1;
	}

}

@media (max-width: 600px) {

/* Structure 481 to 767 */
	/* Structure  < 980 */
		

	.mobile  { display:block; }
	.desktop  { display:none; }
	
	#logo { 
		width: 100%; 
		float:left; 
		text-align:center;
		padding: 25px 0;
	}

	/*** Menu ***/
	#mainmenu {
		width:100%; 
		padding-left:12%;
		padding-bottom: 50px;
		float:left; 
		background-color:#FFFFFF;
	}
	
	.btn-responsive-menu{
		display:block; 
		margin: 0px 0px 24px 12%;
		position: absolute;
		right: 0;
	}
	
	#mainmenu			{display:none;}
	
	#mainmenu ul 		{ margin: 20px 0px 0px 0px; float:left; list-style: none; background-color:#FFFFFF; }
	#mainmenu ul li 	{ float: none; position: relative; padding: 15px 0; }
	#mainmenu a 		{ COLOR: #CB0808; display: block; font-family: 'Familjen Grotesk', sans-serif; font-weight: 600; font-size:18px; }
	#mainmenu a:hover	{ COLOR: #1C74C6; }
	
	#mainmenu li ul		{ display: none;}
	#mainmenu li:hover ul	{ display: block; position: relative; z-index:1; padding: 0px; margin: 0px 0px 5px 0px; font-size:10pt; /*border-bottom:1px solid #d9251d;border-top:1px solid #d9251d;*/  }
	#mainmenu li li   	{ border:none;  } 
	#mainmenu li li a	{ padding: 0px 0px 5px 25px; }
	
	#mainmenu ul li.hover,
	#mainmenu ul li:hover {
	  position: relative;
	  z-index: 599;
	  cursor: default;
	}
	
	#mainmenu ul ul {
	  visibility: hidden;
	  position: absolute;
	  top: 100%;
	  left: 0;
	  z-index: 598;
	  width: 100%;
	   background-color:#FFFFFF;
	}
	
	#mainmenu ul ul li {
	  float: none;
	}
	
	#mainmenu ul ul ul {
	  top: 0;
	  left: auto;
	  right: -99.5%;
	}
	
	#mainmenu ul li:hover>ul {
	  visibility: visible;	}
	
	#mainmenu ul ul {
	  bottom: 0;
	  left: 0;
	}
	
	#mainmenu ul ul {
	  margin-top: 0;
	}
	
	#mainmenu ul ul li {
	  font-weight: normal;
	}
	
	.col-sm-12 { 
		position:relative; 
		width: 100%; 
		float:left; 
		padding:2%; 
	}
	
	.col-sm-8 { 
		position:relative; 
		width: 66.7%; 
		float:left; 
		padding:2%; 
	}
	
	.col-sm-6 { 
		position:relative; 
		width: 50%; 
		float:left; 
		padding:2%; 
	}
	
	.col-sm-4 { 
		position:relative; 
		width: 33.3%; 
		float:left; 
		padding:2%; 
	}
	
	.col-sm-3 { 
		position:relative; 
		width: 25%; 
		float:left; 
		padding:2%; 
	}
	
	.header { 
		position:relative; 
		width: 100%;
		float:left;
		margin-bottom: 15px;
		z-index: 1000;
	}
	
	.home_splash_img {
		height: 307px;
		overflow:hidden;
		position: absolute; 
	}
	
	.home_search {
		margin-top: 0px;
	}
	
	.carousel {
		margin: 0 -30px;
	}
	
	.carousel-box {
		margin-bottom: 10px;	
	}
	
	.carousel-inner {
		max-height: 220px;	
	}
	
	.carousel-control.left {
		margin-left: 7px;
	}
	
	.carousel-control.right {
		margin-right: 7px;
	}
	
	.item.active {
		margin-left: -10px;
	}
	
	.carousel_text {
		min-height: 110px;
		text-align:center;
	}
	
	.copyright { 
		background-color:#0D4070; 
		color:#FFFFFF;
		padding: 2% 6% !important;
	}
	
	.box_search { 
		margin: auto;
  		width: 90%;
		padding: 10px;
		overflow: hidden;
	}
	
	.box_search_home { 
		background: #FFFFFF;
		box-shadow: 0px 4px 20px 4px rgba(0, 0, 0, 0.12);
		border-radius: 11px;
	}
	
	.box_counter {
		background: #FFFFFF;
		box-shadow: 0px 4px 20px 4px rgba(0, 0, 0, 0.12);
		border-radius: 11px;
		text-align:center;
		padding: 20px;
	}
	
	.item_carousel_foto {
		width:100%;
		float:left; 
		height:100px;
	}
	 
	.elenco_box_foto {
		width: 100%;		
		position:relative;
		float:left;
		overflow:hidden;
		height:200px;
		text-align:center;
	}
	
	.elenco_box_foto img {
		max-height:250px;
		/* width:100%;*/
	}
	
	.elenco_box_descrizione {
		/* Firefox */
		width: -moz-calc(100% - 0px);
		/* WebKit */
		width: -webkit-calc(100% - 0px);
		/* Opera */
		width: -o-calc(100% - 0px);
		/* Standard */
		width: calc(100% - 0px);	
		position:relative;
		float:left;
		padding:0 2%;
	}
	
	.scheda_box_foto {
		width:100%;
		float:left; 
		height:240px;
	}
	
	.scheda_ante_gallery {
		height:70px;
		margin:0; 
		overflow:hidden;;
	}
	
	.foto_agente { 
		width:40px; 
		height: 40px;
		overflow: hidden;
		border-radius: 50%;
		margin-right: 10px;
		float: left;

	}
	
	.scheda_agenzia_logo {
		float:left; 
		height:210px;
	}
	
	.scheda_agenzia_foto {
		width: 200px;
		height: 200px;
		overflow: hidden;
		margin: 0 auto;
	}
	
	div.cropper {
		width: 100%;
		height: 100%;
		overflow: hidden;
	}
	
	.scheda_voci  { 
		background: #FFF;
		margin-bottom: 4px;
	}

    .scheda_etichetta { 
		position:relative; 
		width: 36%; 
		float:left; 
		padding:2%;
		font-size: 14px;
		font-weight: 700;
		color: #1C74C6;
	}
	
    .scheda_risultato { 
		position:relative; 
		width: 56%; 
		float:left; 
		padding:2%;
		font-size: 14px;
		font-weight: 400; 
	}
	
	.scheda_icone_voci {
		float: left; 
		margin-right: 35px;
	}
	
	.box_sede {
		background-color:#FFFFFF;
		border-radius: 12px;
		padding:12px;
	}
	
	.box_servizio {
		background-color:#FFFFFF;
		text-align:center;
		border-radius: 24px;
		padding:32px 60px;
		/*min-height:660px;*/
	}
	
	.box_servizio div {
		line-height: 1;
	}

	
}