/*
Theme Name: WhiteTheme
Author: Milo Caceffo
*/


/* non modificare più */
main {
	min-height: 100vh;
	padding-top: 0px;
}
@media (max-width: 767px) {
	main {
		padding-top: 54px;
	}
}

.hero {
	position: relative;
    width: 100%;
    min-height: 480px;
    height: calc(100vh - 80px);
    overflow: hidden;
}
.hero img {
	position: absolute;
	height: 100%;
    width: 100%;
	z-index: -1;
}

/* LOGO */
#logo_anim {
	position: absolute;
	width: 560px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
#logo_anim * {
	fill: transparent;
}
#logo_anim #logo * {
	animation: white 2s ease forwards .5s;
}

#logo_anim #claim *:nth-child(1) {
	animation: white 2s ease forwards 1.1s;
}
#logo_anim  #claim *:nth-child(2) {
	animation: white 2s ease forwards 1.2s;
}
#logo_anim #claim *:nth-child(3) {
	animation: white 2s ease forwards 1.3s;
}
#logo_anim #claim *:nth-child(4) {
	animation: white 2s ease forwards 1.4s;
}
#logo_anim #claim *:nth-child(5) {
	animation: white 2s ease forwards 1.5s;
}
#logo_anim #claim *:nth-child(6) {
	animation: white 2s ease forwards 1.6s;
}
#logo_anim #claim *:nth-child(7) {
	animation: white 2s ease forwards 1.7s;
}
#logo_anim #claim *:nth-child(8) {
	animation: white 2s ease forwards 1.8s;
}
#logo_anim #claim *:nth-child(9) {
	animation: white 2s ease forwards 1.9s;
}
#logo_anim #claim *:nth-child(10) {
	animation: white 2s ease forwards 2s;
}
#logo_anim #claim *:nth-child(11) {
	animation: white 2s ease forwards 2.1s;
}
#logo_anim #claim *:nth-child(12) {
	animation: white 2s ease forwards 2.2s;
}
#logo_anim #claim *:nth-child(13) {
	animation: white 2s ease forwards 2.3s;
}
#logo_anim #claim *:nth-child(14) {
	animation: white 2s ease forwards 2.4s;
}
#logo_anim #claim *:nth-child(15) {
	animation: white 2s ease forwards 2.5s;
}
#logo_anim #claim *:nth-child(16) {
	animation: white 2s ease forwards 2.6s;
}
@keyframes white {
	to { fill: white; }
}
@media (max-width: 767px) {
	#logo_anim {
		transform: translate(-50%, -50%) scale(.6);
	}
}
.hero-txt {
    position: absolute;
    bottom: 100px;
    left: 0;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 1.3rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 4px;
}
@media (max-width: 767px) {
	.hero-txt {
	    font-size: 1rem;
    	bottom: 50px;
	}
}


/* SERVIZIO */
.servizi-immagine,
.servizi-logo {
	height: 450px;
}
.servizi-immagine img {
	height: 100%;
}
.servizi-logo img {
	height: 100%;
    max-width: 420px;
    object-fit: contain;
    margin: auto;
}
.servizi-txt {
	position: relative;
    background-color: #accfe2;
    padding: 2rem;
    margin-top: 2rem;
    margin-bottom: 4rem;
}
.servizi-txt:before {
    position: absolute;
    content: '+';
    top: -20px;
    left: -20px;
    height: 40px;
    width: 40px;
    background-color: #456788;
    border-radius: 50%;
    color: #fff;
    text-align: center;
    line-height: 42px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}
.servizi-txt:after {
	position: absolute;
    content: '';
    bottom: 0px;
    left: 0px;
    height: 140px;
    width: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(172,207,226,1) 80%);
}
.servizi-txt .txt {
	max-height: 100px;
	overflow: hidden;
	transition: max-height 1s;
}
.servizi-txt.active .txt {
	max-height: 1000px;
}
.servizi-txt.active:after {
	height: 10px;
}
@media (min-width: 767px) {
	.wrap-servizi-img-1,
	.wrap-servizi-img-3,
	.wrap-servizi-img-5,
	.wrap-servizi-img-7,
	.wrap-servizi-img-9 {
		-webkit-box-orient: horizontal !important;
		-webkit-box-direction: reverse !important;
		-ms-flex-direction: row-reverse !important;
		flex-direction: row-reverse !important;
	}
}
@media (max-width: 767px) {
	.servizi-logo {
		height: 250px;
	}
	.wrap-servizi-txt .txt {
		padding: 1rem;
		margin-top: 0;
	}
	.servizi-txt {
		padding: 0px;
	}
	.servizi-txt:after {
		height: 100px;
	}
}




/* TEAM */
.wrap-team {
	text-align: center;
}
.team {
	padding-top: 2rem;
	padding-bottom: 2rem;
}
.team-img {
	margin: 0 auto;
}
.team-img img {
	height: 100%;
	object-fit: contain;
}
.team-nome {
	color: #456788;
	padding: 1rem 0;
}
.team-nome strong {
	font-family: "Grotesque MT Std Light";
	text-transform: uppercase;
	font-size: 1.6rem;
    line-height: 1.2;
}
.team-nome strong em {
	font-style: normal;
	font-family: 'Grotesque MT Std Bold';
}
.team-curr {
	color: #FFF;
	font-weight: normal;
	margin-bottom: 10px;
}
.curr-btn {
	position: relative;
	display: inline-block;
    background-color: #446788;
    color: #fff;
    padding: 5px 20px 3px 50px;
    border-radius: 100px;
    line-height: 1.5;
    font-weight: bold;
    cursor: pointer;
}
.curr-btn:before {
	position: absolute;
    content: '+';
    top: 50%;
    transform: translateY(-50%);
    left: -2px;
    height: 46px;
    width: 46px;
    background-color: #81afce;
    border-radius: 50%;
    color: #fff;
    text-align: center;
    line-height: 47px;
    font-size: 30px;
    font-weight: bold;
    border: 3px solid #fff
}
.curr-wrap {
    position: relative;
    transform: translateY(-20px);
    border-radius: 24px;
    z-index: -1;
    transition: max-height 1s;
    overflow: hidden;
    max-height: 0px;
}
.team-curr.active .curr-wrap {
	max-height: 1000px;
}
.curr-txt {
	background-color: #81afce;
	padding: 2rem 1rem;
    font-size: .8rem;
}
.curr-txt p {
	padding-bottom: 8px;
}
.team-mail {
	display: inline-block;
    color: #6b94b5;
    font-weight: bold;
    padding: 20px 0px 20px 60px;
    background-image: url(assets/img/email.svg);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 45px;
}
.team-mail:hover {
	color: #446788;
}

.team-title {
	position: relative;
	text-align: center;
}
.team-title:before {
	position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    content: '';
    background-color: #446788;
    height: 2px;
    z-index: -1;
}
.team-title span {
    display: inline-block;
    background-color: #446788;
    color: #fff;
    text-transform: uppercase;
    padding: 10px 20px 6px 20px;
}
.team-title strong {
	font-family: 'Grotesque MT Std Bold';
}



/* CONTACTS */
.wrap-contact {
	text-align: center;
	margin-top: 80px;
    margin-bottom: 80px;
}
.contact-logo {
	padding-top: 2rem;
}
.contact-logo img {
	object-fit: contain;
    min-height: auto;
    height: 180px;
    margin: 0 auto;
}



/* FOOTER */
.footer {
	text-align: center;
	background-color: #456888;
	font-size: .9rem;
	color: #fff;
	padding-top: 4rem;
	padding-bottom: 4rem;
}
.footer p {
	margin-bottom: .5em;
}
.footer a {
	color: #fff;
}




/* 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) {
}