.uppercase {
	text-transform: uppercase;
}
.agency-name {
	font-size: 1.5rem !important;
	font-weight: 800 !important;
	color: #fff !important;
}

.hero-bg-fade {
	height: 45rem !important;
	border-bottom-left-radius: 35rem;
     border-bottom-right-radius: 35rem; 
     border-top-left-radius: 35rem; 
     border-top-right-radius: .8rem; 
     position: relative !important;
	background-position: center !important;
	background-size: cover !important;
	left: unset !important;
	right: 0;
	width: 100% !important;
	top: unset !important;
	bottom: 0 !important;
	pointer-events: none !important;
	background-repeat: no-repeat !important;
	background-color: #00205c !important;
}

.landing-slider-button{
    top: unset !important;
    bottom: unset !important;
    top: 40px !important;
    right: 50px !important;
}
.hero-bg-fade * {
    pointer-events: auto !important;
}

section.hero {
	padding-bottom: 340px !important;
	background-color: #00205c !important;
	background-size: cover !important;
}

section.hero .module-hero {
	background: none !important;
}

.module-hero > .container .row .caption p {
	display: inline-block !important;
	margin-top: 0 !important;
}

#agenzia-contact-form {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

@media (min-width: 768px) {
	section.hero {
		background: linear-gradient(
			270deg,
			#eef0f4 0,
			#eef0f4 66%,
			#00205c 0,
			#00205c
		);
		padding-bottom: 0 !important;
		background-size: 60% !important;
	}
	.hero-bg-fade {
	    top: 0 !important;
		height: 45rem !important;
		background-position: center center !important;
		background-size: cover !important;
		/*width: 58% !important;*/
		width: 45rem !important;
		

		z-index: 1001 !important;
	}
	.landing-slider-button{
    bottom: unset !important;
    top: 40px !important;
    right: 40px !important;

}

	.module-hero > .container:before {
		transform: translateX(-18%) !important;
	}
	.module-hero > .container .row .caption .title *:not(.agency-name) {
		font-size: 4.6rem !important;
	}
	.module-hero > .container:before {
		border-bottom-right-radius: 25rem !important;
	}

	main section.contatti .contact-form {
		padding: 80px;
	}
}

@media (min-width:992px){
.hero-bg-fade{
height: 55rem !important;
width: 55rem !important;
}
}

@media (min-width:1200px){
.hero-bg-fade{
    height: 65rem !important;
    width: 65rem !important;
}
}

ul#accordionNav a.nav-link {
	color: #00205c;
}
.slide .bg {
	margin-top: 0;
	/* background-position: center right !important;
	background-size: 50% !important;
	background-color: #00205c !important; */
}
.carousel-inner .carousel-item div {
	background-position: top left !important;
}

@media (max-width: 576px) {
	.module-hero-dropimage.color-a .container {
		padding-top: 0 !important;
	}
	#agency-name {
		display: none;
	}
	.slide .bg {
		margin-top: 0;
	}
	.module-hero > .container {
		padding-bottom: 2rem !important;
	}
	.module-hero-dropimage .d-md-flex .caption {
		padding-top: 16.5rem !important;
	}
	.navbar-brand {
		padding-top: 0.8125rem !important;
	}
	.navbar-expand .main-menu .navbar-brand span {
		height: 45px !important;
	}
	.tabs-control.buttons a {
		font-size: 1.2rem !important;
	}
	.carousel-inner .carousel-item div {
		background-position: center center !important;
	}
}
.slick-prev:before,
.slick-next:before {
	content: '' !important;
}

.nav-action-active {
	background: #fff !important;
	border-color: #fff !important;
	color: #04398e !important;
}

.nav-action-active:hover {
	background-color: #fff !important;
}

.navbar-expand .main-menu {
	padding: 1rem 0 0 0 !important;
}

.c-hamburger.active-color span:after,
.c-hamburger.active-color span:before,
.c-hamburger.active-color span {
	background-color: #fff !important; /* Overrides the original !important */
}

@media (min-width: 768px) {
	footer .bg-color-a .row + .row + .row nav li {
		margin: 0 0 0 2.5rem !important;
	}
}
footer .bg-color-a .row + .row + .row nav li {
	font-size: 1.2rem !important;
}

main section.contatti {
	padding-top: 10rem;
}

main section.contatti .contact-form {
	background-color: #dde2ed;
	padding: 4.5rem;
	border-radius: 1rem;
}

main section.contatti .container {
	padding-bottom: 10rem !important;
}

.contact-form h1 {
	font-size: 32px !important;
}

.contact-form h3 {
	font-size: 22px !important;
}

.btn-contattaci-container {
	position: fixed;
	bottom: 0;
	display: inline-block;
	width: 100%;
	z-index: 999;
}

.btn-contattaci-container .btn.btn-bottom {
	background-color: #f5d328;
	color: #00205c;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	border-radius: 0;
	font-size: 2rem;
}

.btn-contattaci-container .btn.btn-bottom svg {
	display: none;
}

@media (min-width: 768px) {
	.btn-contattaci-container {
		right: 20px;
		bottom: 20px;
		width: auto;
	}

	.btn-contattaci-container .btn.btn-bottom {
		background-color: #fff;
		border: 2px solid #f5d328;
		padding: 10px 15px;
		border-radius: 25px;
	}

	.btn-contattaci-container .btn.btn-bottom:hover,
	.btn-contattaci-container .btn.btn-bottom:focus {
		background-color: #03398d;
		color: #fff;
		border: 2px solid #f5d328;
	}

	.btn-contattaci-container .btn.btn-bottom svg {
		margin-left: 5px;
		display: inline-block;
	}
}

.c-hamburger span {
	background-color: #fff !important;
}

section.contatti .form-group .form-control {
	height: 5rem;
}


/* ============================================================
   Sedi secondarie — "Altre sedi"
   ============================================================ */

#dove-siamo .block-rounded {
	padding-bottom: 3rem !important;
}

.altre-sedi {
	margin-top: 30px;
	padding-top: 24px;
	border-top: 1px solid #e5e5e5;
	width: 100%;
}

.altre-sedi .module {
	padding: 0 !important;
}

.altre-sedi__title {
	font-weight: 700;
	font-size: 1.1rem;
	margin-bottom: 24px;
	color: #222;
}

.altre-sedi__list {
	display: flex;
	flex-wrap: wrap;
	gap: 40px 48px;
}

.altre-sedi__item {
	flex: 0 0 100%;
}

.altre-sedi__item .display-3 {
	font-size: 3rem !important;
	color: #2470ba !important;
}

.altre-sedi__item .display-4,
.altre-sedi__item .list-clear li {
	font-size: 1.4rem !important;
	line-height: 1.8 !important;
}

@media (min-width: 992px) {
	.altre-sedi__item {
		flex: 0 0 calc(50% - 24px);
	}
}

/* Icone uniformate al blu scuro del brand (#04398E).
   Usiamo mask-image per ricolorare le SVG del parent theme
   senza toccare gli asset condivisi. */
.altre-sedi__icon {
	display: inline-block;
	width: 24px;
	height: 24px;
	background-color: #04398E;
	-webkit-mask-size: contain;
	        mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	        mask-repeat: no-repeat;
	-webkit-mask-position: center;
	        mask-position: center;
	vertical-align: middle;
}

.altre-sedi__icon--indications {
	-webkit-mask-image: url('/wp-content/themes/vittoria-theme/img/icons/icon-indications.svg');
	        mask-image: url('/wp-content/themes/vittoria-theme/img/icons/icon-indications.svg');
}

.altre-sedi__icon--phone {
	-webkit-mask-image: url('/wp-content/themes/vittoria-theme/img/icons/icon-phone.svg');
	        mask-image: url('/wp-content/themes/vittoria-theme/img/icons/icon-phone.svg');
}

.altre-sedi__icon--email {
	-webkit-mask-image: url('/wp-content/themes/vittoria-theme/img/icons/icon-email.svg');
	        mask-image: url('/wp-content/themes/vittoria-theme/img/icons/icon-email.svg');
}

@media (min-width: 768px) {
	.module-hero-fullimage {
		background-color: #00205c !important;
	}
	.module-hero-fullimage .position-relative .col-12 {
		margin-top: -11rem !important;
		padding-top: 11rem !important;
		height: calc(60vh + 11rem) !important;
		min-height: calc(60rem + 11rem) !important;
	}
}