.titolo {
    display: block;
}
.nome-codice {
    float: left; 
    display: block;
}
.bottoni-contatti {
    float: left;
    display: block;
}
.bottone-verde {
    color: white;
    margin-right: 5px;
    background: #307647;
    font-size: 16px !important;
}
.bottone-verde:hover {
    color: white;
    background: #3c9359;
}
.galleria {
    position: relative;
    text-align: center;
    background: rgba(211, 211, 211, 0.2196078431372549);
}
.galleria img {
    width: 100%;
    object-fit: cover
}
.prezzo {
    position: absolute;
    bottom: 0;
    color: white;
    font-size: 26px;
    background: #307647;
    padding: 10px 30px;
}
.apri {
    position: absolute;
    bottom: 0;
    right: 0;
    color: white;
    font-size: 26px;
    background: #307647;
    padding: 10px 30px;
}
.dettagli {
    display: block;
    margin: 30px 0 0 0;
}
.dettagli h2 {
    margin-bottom: 0;
}
.dettagli ul {
    list-style: none;
    padding: 0;
}
.dettagli li {
    border-bottom: solid 1px lightgray;
    line-height: 50px;
}
.distanze {
    float: left; 
    display: block;  
    margin-right: 1%;
}
.caratteristiche {
    float: left; 
    display: block; 
    margin-right: 1%;
}
.superficie {
    float: left; 
    display: block;  
    margin-right: 1%;    
}
.descrizione {
    padding: 10px 0 0 0;
}
.planimetrie-mappa {
    display: block;
    margin: 50px 0 0 0;
}
.planimetrie {
    float: left; 
    width: 49%;
    display: block;  
    margin-right: 2%;
}
.mappa {
    float: left; 
    width: 49%;
    display: block;    
}
.mappax2 {
    float: left; 
    width: 100%;
    display: block;    
}
#main {
    padding: 2% 15% !important;
}
.panel-heading {
    padding: 0 15px !important;
    background: rgba(48, 118, 71, 0.33) !important;
}
#accordian-planimetrie .panel-title .active .fa-fusion-box:before {
    content: "\f107" !important;
}
#accordian-planimetrie .panel-title a .fa-fusion-box:before {
    content: "\f106" !important;
    font-size: 18px !important;
}
#accordian-planimetrie .panel-title a.active .fa-fusion-box, #accordian-planimetrie .panel-title a:hover .fa-fusion-box {
    background-color: unset !important;
}
i.fa-fusion-box {
    color: black !important;
}
i.fa-fusion-box {
    background: none !important;
}
.panel-heading a {
    font-size: 17px;
}
.toggle-content {
    text-align: center;
}
.contatti {
    margin: 50px 0 0 0;
}
.caldera-grid {
    background: rgba(211, 211, 211, 0.2196078431372549);
    padding: 25px 10px 10px 25px;
}
.btn-default {
    background: #307647 !important;
    color: white !important;
    text-transform: uppercase;
    border: none !important;
    width: 100%;
}
.btn-default:hover {
    background: #3c9359 !important;
}
.descrizione p {
    text-align: justify;
}
.nome-codice h1 {
    font-size: 1.7em !important;
}
.codice {
    font-weight: normal; 
    margin: 0 0 0 10px; 
    font-size: smaller;
    font-style: italic;
}
.fancybox__container {
    z-index: 99999999999 !important;
}
@media screen and (min-width: 1400px) {
    #main {
        padding: 2% 15% !important;
    }
}
@media screen and (min-width: 0px) and (max-width: 1400px) {
    #main {
        padding: 2% 5% !important;
    }
}
@media screen and (min-width: 0px) and (max-width: 1025px) {
    .nome-codice {
        width: 100%;
    }
    .bottoni-contatti {
        width: 100%;
        margin-bottom: 1.2em;
    }
    .planimetrie {
        width: 100%;
    }
    .mappa {
        width: 100%;
    }
}
@media screen and (min-width: 1025px) {
    .nome-codice {
        width: 55%;
    }
    .bottoni-contatti {
        width: 45%;
        text-align: right;
        margin-top: 1.2em;
        margin-bottom: 1.2em;
    }
}
@media screen and (max-width: 480px) {
    .bottoni-contatti {
        text-align: center;
    }
    .bottoni-contatti .bottone-verde {
        margin: 10px !important;
    }
}
@media screen and (min-width: 901px) {
    .distanze {
        width: calc(33% - 1% - 1%);
    }
    .caratteristiche {
        width: calc(33% - 1% - 1%);
    }
    .superficie {
        width: calc(33% - 1% - 1%);    
    }
}
@media screen and (max-width: 900px) {
    .distanze {
        width: 100%;
    }
    .caratteristiche {
        width: 100%;
    }
    .superficie {
        width: 100%;
    }
}
@media screen and (max-width: 900px) {
    .apri {
        width: 100%;
        bottom: -65px;
        position: absolute;
    }
    .dettagli {
        display: block;
        margin: 75px 0 0 0;
    }
}

/* Mappa */
#map {
	width: 100%;
	height: 500px;
	border: #ccc solid 1px;
	margin: 0;
}

/* Print CSS */
@media print {
    header {
        display: none;
    }
    h1, h2, h3, ol, ul, div {     width: auto !important;     border: 0 !important;   padding: 0 !important;     overflow: visible !important; }
    .bottoni-contatti {
    	display: none;
    }
    .apri {
    	display: none;
    }
    .fusion-footer {
    	display: none;
    }
    .contatti {
    	display: none;
    }
    #moove_gdpr_cookie_info_bar {
    	display: none;
    }
    #moove_gdpr_save_popup_settings_button {
    	display: none !important;
    }
    .planimetrie-mappa {
	    display: none;
	}
	.caratteristiche {
	    float: none !important;
	}	
	.superficie {
	    float: none !important;
	}	
	.distanze {
	    float: none !important;
	}
	#main {
	    padding: 0 0 !important;
	}
	.galleria img {
		max-height: 700px;
	}
	.to-top-container {
		display: none !important;
	}
	.descrizione {
		display: block !important; 
		overflow: auto !important; 
		position: static !important; 
	}
}