/*
Theme Name: ToffaliniTheme
*/

main {
	min-height: 100vh;
}


/* HOME PARTIAL DIMORA */
.wrap-dimora {}
.dimora {
	position: relative;
	display: block;
    height: 70vh;
    min-height: 400px;
    background-color: #eee;

    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
	-ms-flex-pack: center;
	justify-content: center;
}
.dimora-coming .dimora-img,
.dimora.ani .dimora-img {
	filter: grayscale(1);
	-webkit-transition: filter 2s linear;
    transition: filter 2s linear;
}
.dimora.ani.iw .dimora-img {
	filter: grayscale(0);
}
.dimora-img {
	position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}
.dimora-tit {
	position: relative;
    padding: 1rem;
    text-align: center;
	background-color: rgb(210 10 17 / 80%);
    color: #fff;
    font-weight: bold;
	font-size: 2rem;
    line-height: 1.2;
    width: 300px;
    min-height: 300px;
    z-index: 2;

    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
	-ms-flex-pack: center;
    justify-content: center;
	-ms-flex-direction: column;
    flex-direction: column;
}
.dimora-tit .dimora-sub {
	display: block;
	font-size: 1.2rem;
    padding-top: 20px;
    font-weight: 400;
}
.dimora-tit .dimora-coming {
    position: absolute;
    top: -10px;
    font-size: 15px;
    background-color: #fff;
    color: #000;
    font-weight: normal;
    padding: 6px 12px;
    border-radius: 2px;
    transform: rotate(-1deg);
}



/* DIMORA */
.dimora-top {
	position: relative;
	margin-bottom: 6rem;
	color: #fff;
	text-align: center;
	background-color: var(--red);
	background-size: cover;
	background-position: center;
	overflow:  hidden;
}
.dimora-top:after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgb(210 10 17 / 100%);
	z-index: 0;
	animation: redfade 2s 0s forwards linear;
}
@keyframes redfade {
	to {
		background-color: rgb(210 10 17 / 60%);
	}
}
.dimora-top .dimora-img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	object-position: center;
	filter: grayscale(1);
}
.dimora-top .dimora-wrap {
	position: relative;
	height: 100vh;
    min-height: 400px;
	z-index: 1;
}
.dimora-top .dimora-zona {
	font-weight: 400;
    font-size: 1.3rem;
}
.dimora-top .dimora-titolo {
	font-size: 4rem;
	line-height: 1.1;
    margin-bottom: 20px;
}
.dimora-top .dimora-good {
	text-transform: uppercase;
}
@media (max-width: 767px) {
	.dimora-top .dimora-titolo {
		font-size: 2.5rem;
	    -webkit-text-fill-color: initial;
	    -webkit-text-stroke-width: initial;
	    -webkit-text-stroke-color: initial;
	}
	.dimora-top .dimora-good {
		display: none;
	}
}


.text.text-narrow {
	max-width: 480px;
    margin: 0 auto;
}
.text.text-center {
	text-align: center;
}
.text h2 {
	font-weight: bold;
	text-transform: uppercase;
	font-size: 2.2rem;
	line-height: 1.2;
	padding-bottom: 1rem;
}
.text p {
	padding-bottom: 1rem;
}
.text ul {
	list-style: none;
	margin-bottom: 1em;
}
.text li {
	clear: left;
	background-image: url(assets/img/icons/li.svg);
    background-position: .3em .65em;
    background-repeat: no-repeat;
    background-size: 8px;
    padding-left: 1.2em;
}
  
.text p.text-name {
	color: var(--red);
	font-style: italic;
	font-weight: 400;
	padding-bottom: 0;
}
.wrap-intro img {
	margin-bottom: 1rem;
}

.base-wrap {
	background-color: var(--red);
	color: #fff;
	margin-top: 80px;
	margin-bottom: 80px;
}
.base-wrap > *:nth-child(1),
.base-wrap > *:nth-child(2) {
	border-right: 2px solid #fff;
}
.base-txt {
	max-width: 260px;
    margin: 30px auto;
    font-size: 1.2rem;
	line-height: 1.3;
}
.base-txt span {
	display: block;
	font-size: 1.8em;
	font-weight: bold;
}
@media (max-width: 767px) {
	.base-wrap > * {
		border-right: none !important;
		text-align: center;
		margin: 20px auto;
	}
}


/* SWIPER TOUR */
.tour-bg {
	background: #fafafa;
	margin: 8rem 0 4rem 0;
    padding: 4rem 0 3rem 0;
	overflow: hidden;
}
.swiper-tour {
	position: relative;
	max-width: 700px;
	margin: 0 auto;
}
.swiper-tour .swiper-slide {
	background-color: #fafafa;
	height: 470px;
}
.swiper-tour .swiper-slide img {
	display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.swiper-tour .swiper-slide .tour-desc {
    position: absolute;
    bottom: 0;
    background-color: #fafafa;
    width: 100%;
    font-size: .8rem;
    padding: 5px;
    text-align: center;
}
.swiper-tour .swiper-button-next {
	right: -60px;
    width: 60px;
}
.swiper-tour .swiper-button-prev {
	left: -60px;
    width: 60px;
}
@media (max-width: 767px) {
	.swiper-tour:after,
	.swiper-tour:before {
		content: none;
	}
	.swiper-tour .swiper-button-next,
	.swiper-tour .swiper-button-prev {
		display: none;
	}
}



/* UNITA */
.col-camere {
	text-align: center;
	margin-bottom: 40px;
}
@media (max-width: 767px) {
	.col-camere {
	    text-align: left;
	    padding-bottom: 40px;
	    overflow-x: auto;
	}
	.col-camere-inner {
		width: max-content;
		max-width: max-content;
	}
}
.question-camere {
	display: block;
    padding-bottom: 20px;
    font-weight: 500;
}
.btn-camere {
	position: relative;
    display: inline-block;
	box-shadow: inset 0 0 0px 2px #eee;
    padding: 1rem 2rem;
    margin: 0 5px;
    font-weight: bold;
	white-space: nowrap;
}
.btn-camere span {
    position: absolute;
    bottom: -6px;
    left: 50%;
    background-color: var(--red);
    color: #fff;
    padding: 0px 6px;
    border-radius: 2px;
    white-space: nowrap;
    font-size: 12px;
    transform: rotate(-3deg) translateX(-50%);
}
.btn-camere.active {
	box-shadow: inset 0 0 0px 2px #d20b10;
    background-color: #fff;
}

.tabs-content {
	font-size: .8rem;
}
.tab-col {
	padding-right: 1rem;
	padding-left: 1rem;
}
.carat-ico {
    display: block;
    padding: 5px 0 5px 50px;
    font-weight: 400;

    background-size: 32px;
    background-position: left center;
    background-repeat: no-repeat;
}
a.carat-ico {
	color: var(--red);
}
.carat-ico.carat-energia { background-image: url(assets/img/caratteristiche/carat-energia.svg) }
.carat-ico.carat-metratura { background-image: url(assets/img/caratteristiche/carat-metratura.svg) }
.carat-ico.carat-bagni { background-image: url(assets/img/caratteristiche/carat-bagni.svg) }
.carat-ico.carat-auto { background-image: url(assets/img/caratteristiche/carat-auto.svg) }
.carat-ico.carat-verde { background-image: url(assets/img/caratteristiche/carat-verde.svg) }
.tab-tabella {
    padding: 5px 0;
    margin: 10px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.ico-scarica {
	display: inline-block;
	padding: 5px 0 5px 40px;
	margin: 5px 0;
	font-weight: 400;
	font-size: .9rem;
	color: var(--red) !important;
	background-image: url(assets/img/caratteristiche/carat-down.svg);
	background-size: 32px;
	background-position: left center;
	background-repeat: no-repeat;
}
.ico-scarica.padd {
	margin: 20px 0;
}
.tab-tabella table {
	width: 100%;
}
.tab-tabella td:first-child {
	font-weight: 400;
	padding-right: 1rem;
}
.tab-venduto {
	color: var(--red);
    font-size: 1.3em;
    font-weight: 400;
}
.tab-cta {
    display: inline-block;
    background-color: var(--red);
    padding: 10px 20px;
    color: #fff !important;
    font-weight: bold;
    margin: 10px 0;
}
.tab-cta:hover {
	color: #fff;
	opacity: .8;
}



/* SWIPER DETTAGLI */
.dettagli-bg {
	background: #fafafa;
	margin: 8rem 0 4rem 0;
    padding: 4rem 0 3rem 0;
	overflow: hidden;
}
.swiper-dettagli {
	position: relative;
	max-width: 700px;
	margin: 0 auto;
}
.swiper-dettagli .swiper-slide {
	background-color: #fafafa;
	height: 470px;
}
.swiper-dettagli .swiper-slide img {
	display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.swiper-dettagli .swiper-slide .dettagli-desc {
    position: absolute;
    bottom: 0;
    background-color: #fafafa;
    width: 100%;
    font-size: .8rem;
    padding: 5px;
    text-align: center;
}
/*
.swiper-dettagli:before {
    content: '';
    background-color: #ddd;
    display: block;
    width: 60px;
    top: 40px;
    bottom: 40px;
    left: -60px;
    position: absolute;
}
.swiper-dettagli:after {
    content: '';
    background-color: #ddd;
    display: block;
    width: 60px;
    top: 40px;
    bottom: 40px;
    right: -60px;
    position: absolute;
}
*/
.swiper-dettagli .swiper-button-next {
	right: -60px;
    width: 60px;
}
.swiper-dettagli .swiper-button-prev {
	left: -60px;
    width: 60px;
}
@media (max-width: 767px) {
	.swiper-dettagli:after,
	.swiper-dettagli:before {
		content: none;
	}
	.swiper-dettagli .swiper-button-next,
	.swiper-dettagli .swiper-button-prev {
		display: none;
	}
}



/* LOGHI PARTNER */
.partner-wrap {}
.partner-tit {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.col-partner img {
	max-width: 150px;
    margin: 10px auto;
    filter: grayscale(1);
	-webkit-transition: filter .4s ease-in-out;
    transition: filter .4s ease-in-out;
}
.col-partner img:hover {
	filter: grayscale(0);
}



/* BLOCK VANTAGGI */
.vantaggi-bg {
    background-color: #313030;
    background-image: url(assets/img/vantaggi.jpg);
    background-size: cover;
    background-position: center;
    padding-top: 60px;
    padding-bottom: 120px;
    margin-top: 80px;
    margin-bottom: 80px;
}
.vantaggi-wrap .text-name,
.vantaggi-wrap h2 {
	color: #fff !important;
}
.col-vantaggi {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 1rem;
    margin-bottom: 1rem;
}
.vantaggio {
	position: relative;
	display: block;
	min-height: 240px;
	color: #fff !important;
	font-size: 1rem;
    line-height: 1.3;
	background-color: var(--red);
	background-position: center 30%;
	background-size: 140px;
	background-repeat: no-repeat;
}
.vantaggio span {
	display: block;
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 2rem;
    text-align: center;
    font-size: .9rem;
    font-weight: 600;
}
.vantaggio.classe { background-image: url(assets/img/vantaggi/vantaggio-classe.svg) }
.vantaggio.assistenza { background-image: url(assets/img/vantaggi/vantaggio-assistenza.svg) }
.vantaggio.autonoma { background-image: url(assets/img/vantaggi/vantaggio-autonoma.svg) }
.vantaggio.domotica { background-image: url(assets/img/vantaggi/vantaggio-domotica.svg) }
.vantaggio.garanzia { background-image: url(assets/img/vantaggi/vantaggio-garanzia.svg) }
.vantaggio.smartlocker { background-image: url(assets/img/vantaggi/vantaggio-locker.svg) }
.vantaggio.personalizzazione { background-image: url(assets/img/vantaggi/vantaggio-personalizzazione.svg) }
.vantaggio.sicurezza { background-image: url(assets/img/vantaggi/vantaggio-sicurezza.svg) }
.vantaggio.ventilazione { background-image: url(assets/img/vantaggi/vantaggio-ventilazione.svg) }
.vantaggio.xlam { background-image: url(assets/img/vantaggi/vantaggio-xlam.svg) }
@media (max-width: 767px) {
	.col-vantaggi {
    	grid-template-columns: 1fr 1fr;
	}
	.vantaggio {
		min-height: 180px;
	    background-size: 100px;
		background-position: center 20%;
	}
	.vantaggio span {
		padding: 1rem 2rem;
	}
}


.showroom-wrap {}
.showroom-cta {
	display: inline-block;
    background-color: var(--red);
    padding: 10px 20px;
    color: #fff;
    font-weight: bold;
    margin-top: 10px;
    text-transform: uppercase;
}
.showroom-cta:hover,
.showroom-cta:visited {
	color: #fff;
}
@media (max-width: 767px) {
	.showroom-wrap img {
		display: none;
	}
}


.capitolato-bg {
	background-color: var(--red);
	color: #fff;
	padding-top: 60px;
	padding-bottom: 60px;
}
.capitolato-wrap .cta {
	display: inline-block;
    background-color: #fff;
    padding: 10px 20px;
    color: var(--red);
    font-weight: bold;
    margin-top: 10px;
    text-transform: uppercase;
}

.contattaci-bg {
	background-color: #7b1619;
	color: #fff;
	padding-top: 60px;
	padding-bottom: 60px;
}
.contattaci-wrap .cta {
	display: inline-block;
    background-color: #fff;
    padding: 10px 20px;
    color: #7b1619;
    font-weight: bold;
    margin-top: 10px;
    text-transform: uppercase;
}



/* SINGLE VANTAGGIO */
.wrap-slider-vantaggi {
	margin-bottom: 60px;
}
.wrap-slider-vantaggi .swiper-slide img {
	display: block;
    width: 100%;
	height: 100%;
    object-fit: cover;
    object-position: center;
}
.swiper-vantaggio1 .swiper-slide {
	height: 70vh;
	min-height: 500px;
}
.swiper-vantaggio2 .swiper-slide {
	height: 200px;
}
.swiper-vantaggio1,
.swiper-vantaggio2 {
	position: relative;
	overflow: hidden;
	margin-bottom: 15px;
}
.swiper-vantaggio2 .swiper-slide.swiper-slide-active {
	border: 2px solid var(--red);
}
.vantaggio-logo {
	margin: 10px 0 40px 0;
	border-top: 2px solid #ccc;
	border-bottom: 2px solid #ccc;
	color: #888;
	font-weight: 400;
}
.vantaggio-logo img {
    display: inline-block;
    height: 80px;
    width: auto;
	float: left;
}
.vantaggio-logo span {
    display: inline-block;
    height: 80px;
    line-height: 80px;
	text-transform: uppercase;
}
.col-vantaggi-titolo {
	text-align: center;
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: 400;
    margin: 80px 0 40px 0;
}
.wrap-header-vantaggi {
	position: relative;
}
.header-vantaggi-back {
	display: block;
    position: absolute;
    height: 60px;
    width: 60px;
	box-shadow: 0 2px 8px rgb(0 0 0 / 20%);
    border-radius: 50%;
    z-index: 99;

    background-color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 30px;
    background-image: url(assets/img/icons/arrow-left.svg);
}
.header-vantaggi-nome {
	height: 60px;
    line-height: 60px;
    margin: 60px 0;
    padding-left: 100px;
    color: var(--red);
    font-size: 1.2rem;
    font-weight: 400;
}



/* CHI SIAMO */
.wrap-sezione {
	margin-bottom: 80px;
}
.red-realizzazioni {
	background-color: var(--red);
    padding: 60px 0;
	margin-top: 80px;
    color: #fff;
}
.red-realizzazioni .text p.text-name {
	color: #fff;
}
.gray-realizzazioni {
	background: linear-gradient(0deg, rgba(238,238,238,0) 0%, rgba(238,238,238,1) 100%);
	padding: 4rem 0 3rem 0;
}
.bg-blu {
    background-color: #031f38;
    padding: 60px 0;
	margin-top: 80px;
    color: #fff;
}
.bg-blu .text p.text-name {
	color: #fff;
}


/* FOOTER */
.footer {
	font-size: 14px;
	padding-top: 40px;
	padding-bottom: 40px;
	background-color: #313030;
	color: #999;
	text-align: center;
}
.footer a {
	color: #999;
}
.footer-logo {
	max-width: 120px;
	margin: 20px auto;
}
.footer-logo-anniversario {
	max-width: 300px;
}




/* LG - small desktop */
@media (max-width: 1199px) {
}

/* MD - tablet landscape */
@media (max-width: 991px) {
}

/* SM - tablet portrait */
@media (max-width: 767px) {
}

/* XS - smartphone */
@media (max-width: 575px) {
}