
body {
	font-family: "Space Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
	color: #FAF8F4;
    background: #1E1E1C;
	font-size: 1.8rem;
	line-height: 2.4rem;
}
a {
	color: #FAF8F4;
}
a:hover {
	color: #A98B5B;
}
a:focus,
button:focus,
input:focus {
    outline: 0px !important;
}
strong, .strong, b {
	font-weight: 700;
}
@media (prefers-reduced-motion: no-preference) {
	:focus {
		outline-offset: 0px;
		background-color: inherit;
		border-radius: 0;
	}
}




h1, h2, h3 {
	font-family: "Playfair Display", serif;
    font-weight: 400;
}

h1 {
    font-size: 3.1rem;
    line-height: 4.2rem;
    margin: 0;
}
h2 {
    font-size: 3.1rem;
    line-height: 4.2rem;
    margin: 0;
}
h3 {
    font-size: 2.4rem;
    line-height: 3.2rem;
    font-weight: 700;
    margin: 20px 0;
}
h2 + h3 {
    font-size: 2.5rem;
    line-height: 3.3rem;
    font-weight: 400;
    margin: -10px 0 10px 0;
}
h4 {
    font-size: 1.8rem;
    line-height: 2.4rem;
    font-weight: 700;
    margin: 0;
}

.line {
    border-top: 2px solid #A98B5A;
    text-align: center;
}
.line h2 {
    margin-top: 0;
    display: inline-block;
    background: #1E1E1C;
    position: relative;
    top: -25px;
    padding: 0 30px;
}


.btn {
    background: #3E5145;
    color: #F8F5EF;
    min-width: 350px;
    font-size: 2rem;
    padding: 13px 40px;
    box-sizing: border-box;
    text-transform: none;
}
.btn:hover {
    background: #3C3C3B;
}



#masthead {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 118px;
	background: #3E5145;
    color: #fff;
	z-index: 999;
}

#logo {
    position: absolute;
    left: 40px;
    top: 35px;
}

#menusCont {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 12px;
}

#contactMenu {
    list-style: none;
    margin: 0;
    padding: 0;
}
#contactMenu li {
    display: inline-block;
}

#navigation ul {
    list-style: none;
    margin: 0 100px 0 0;
    padding: 0;
	font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 2rem;
    line-height: 2.7rem;
}
#navigation ul li {
    display: inline-block;
}
#navigation ul li a {
    text-decoration: none;
    margin: 0 15px;
}





#sliderBackground {
	width: 100vw;
	height: calc(100vh - 50px);
	margin: 0;
	position: relative;
	z-index: 0;
	border: 0;
    border-radius: 0;
    background: #1E1E1C;
}
#sliderBackground::after {
    content: "";
    position: absolute;
    z-index: 9;
    width: 100%;
    height: 180px;
    bottom: 0;
    left: 0;
    background: linear-gradient(to top, rgba(30, 30, 28, 1) 0%, rgba(30, 30, 28, 0) 100%);
}
#sliderBackground ul.slides,
#sliderBackground ul.slides li {
	width: 100%;
	height: 100%;
}
#sliderBackground ul.slides li {
	background-size: cover !important;
	background-position: center center !important;
}
.flex-direction-nav a {
	top: calc(50% + 40px) !important;
}
#sliderBackground .flex-direction-nav .flex-next {
	right: 40px;
}
#sliderBackground .flex-direction-nav .flex-prev {
	left: 40px;
}
.flex-direction-nav a.flex-next:before {
	content: "❯" !important;
}
.flex-direction-nav a.flex-prev:before {
	content: "❮" !important;
}
.flex-direction-nav a.flex-next:before,
.flex-direction-nav a.flex-prev:before {
	width: 40px;
	height: 40px;
	text-align: center;
	line-height: 40px;
}



#intro {
    background: #A98B5B;
    color: #fff;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    padding: 40px 60px;
    box-sizing: border-box;
    margin-top: -130px;
    position: relative;
}
#logoC {
    margin: 40px auto 0;
}



.icons {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.iconItem {
    width: calc(25% - 30px);
    text-align: center;
    position: relative;
}
.iconItem svg {
    position: absolute;
    top: -15px;
    left: calc(50% - 84px);
}
.iconItem img {
    border-radius: 50%;
    width: 140px;
    margin: 0 auto;
}
.iconItem p {
    text-align: left;
    font-size: 1.4rem;
}


.icons2 {
    gap: 60px;
    justify-content: center;
}
.icons2 .iconItem {
    width: calc(50% - 30px);
    display: flex;
    gap: 50px;
    max-width: 380px;
}
.icons2 .iconItem .bli21 {
    width: 140px;
    position: relative;
    flex-shrink: 0;
}
.icons2 .iconItem .bli22 {
    flex: 1;
}
.icons2 h3 {
    margin: 30px 0 10px;
    text-align: left;
}
.icons2 p {
    margin: 0;
}
.icons2 p {
    font-size: 1.8rem;
}



#cta,
#cta2 {
    background: #A98B5B;
    color: #3C3C3B;
    text-align: center;
    margin-top: 70px;
}

#cta .btn,
#cta2 .btn {
    margin: 40px auto;
}

.ctaLogo {
    margin: 0 auto;
    position: relative;
    top: -70px;
    margin-bottom: -40px;
}




.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 6px;
    flex-wrap: wrap;
    gap: 6px;
    position: sticky;
    top: 118px;
    background: #1E1E1C;
    z-index: 99;
    padding-top: 10px;
}

.tabs .tab {
    padding: 10px 20px;
    background: #A98B5B;
    color: #fff;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    border: 0;
    cursor: pointer;
    transition: background 0.3s;
	font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 1.9rem;
    line-height: 2.2rem;
    padding: 18px;
    width: calc(25% - 5px);
}
.tabs .tab:focus {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
.tabs .tab.active {
    background: #2f4d3b;
    color: white;
}



.tour-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.tour-list li {
    position: relative;
    padding-left: 105px;
    margin-bottom: 30px;
}

.tour-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background-image: url('../images/i-tours.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.tour-list li h4 + p {
    margin-top: 0;
}
.tour-list.tltype1 li::before {
    background-image: url('../images/tlt1.svg');
}
.tour-list.tltype2 li::before {
    background-image: url('../images/tlt2.svg');
}
.tour-list.tltype3 li::before {
    background-image: url('../images/tlt3.svg');
}
.tour-list.tltype4 li::before {
    background-image: url('../images/tlt4.svg');
}




#contactus {
    background: #A98B5B;
    color: #3C3C3B;
    text-align: center;
}


.ctaLogo2 {
    margin: 50px auto;
}



#colophon {
    background: #3E5145;
    text-align: center;
}
#colophon small {
    font-size: 1.6rem;
}
#logoFooter {
    margin: 50px auto 30px;
}




.flexsliderTab {
    padding: 0 !important;
    border: 0 !important;
    margin: 0 !important;
}




/*
animazioni
*/


@-webkit-keyframes slideInFromBottom {
	from {
		transform: translateY(100px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}
@keyframes slideInFromBottom {
	from {
		transform: translateY(100px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}
	
@-webkit-keyframes fade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
@keyframes fade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}


#home {
	animation: fade 2s 0s forwards;
	opacity: 0;
}
#intro {
	animation: slideInFromBottom 2s 1s forwards;
	opacity: 0;
}

.digit {
	opacity: 0;
    transition: all 1s ease-out;
}

.digit.visible {
	opacity: 1;
}


#logoC {
	transform: translateY(50px);
}
#logoC.visible {
    transform: none;
}


.text {
	transform: translateY(50px);
}
.text.visible {
    transform: none;
}

.line {
	transform: scale(0);
}
.line.visible {
    transform: none;
}


.icons .iconItem:nth-child(2) img {
	transition-delay: 0.3s;
}
.icons .iconItem:nth-child(3) img {
	transition-delay: 0.6s;
}
.icons .iconItem:nth-child(4) img {
	transition-delay: 0.9s;
}


.icons .iconItem:nth-child(2) svg {
	transition-delay: 0.3s;
}
.icons .iconItem:nth-child(3) svg {
	transition-delay: 0.6s;
}
.icons .iconItem:nth-child(4) svg {
	transition-delay: 0.9s;
}

.icons .iconItem svg.digit {
    transform: rotate(360deg);
}
.icons .iconItem svg.visible {
    transform: none;
}


.icons .iconItem:nth-child(2) h3 {
	transition-delay: 0.3s;
}
.icons .iconItem:nth-child(3) h3 {
	transition-delay: 0.6s;
}
.icons .iconItem:nth-child(4) h3 {
	transition-delay: 0.9s;
}
.icons .iconItem h3.digit {
	transform: translateY(-30px);
}
.icons .iconItem h3.visible {
    transform: none;
}


.icons .iconItem:nth-child(2) p {
	transition-delay: 0.3s;
}
.icons .iconItem:nth-child(3) p {
	transition-delay: 0.6s;
}
.icons .iconItem:nth-child(4) p {
	transition-delay: 0.9s;
}
.icons .iconItem p.digit {
	transform: translateX(-30px);
}
.icons .iconItem p.visible {
    transform: none;
}


.btn.digit {
    transform: translateY(50px);
}
.btn.digit.visible {
    transform: none;
}


.tabs.digit {
    transform: translateY(50px);
}
.tabs.visible {
    transform: none;
}

.tab-content.digit {
    transform: translateX(-100px);
}
.tab-content.visible {
    transform: none;
}




@media screen and (max-width: 790px) {
	
	#masthead {
		height: auto;
	}
    #masthead .column12-12 {
        margin-bottom: 0;
    }
    
    #contactMenu {
        transform: scale(0.7);
    }
    
    #logo {
        position: absolute;
        left: 20px;
        top: 20px;
        width: calc(100vw - 180px);
    }
    
    #menusCont {
        margin: -6px 20px 0 0;
    }
    
    
	#burger {
		width: 30px;
		height: 30px;
		margin: 0;
		position: absolute;
		top: 22px;
		right: 20px;
	}
	#burger .close {
		display: none;
	}
	#burger.active .close {
		display: block;
	}
	#burger.active .open {
		display: none;
	}
	#navigation {
		display: none;
		background: rgba(0, 0, 0, 0.8);
        margin: 0;
        width: 100%;
        position: absolute;
        right: 0;
        top: 74px;
        padding: 0 35px 20px;
        box-sizing: border-box;
        font-size: 3rem;
        height: calc(100vh - 74px);
	}
	#navigation ul {
        font-size: 3rem;
        text-align: center;
        margin: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        height: 100%;
        gap: 0;
		padding: 15vh 0;
        box-sizing: border-box;
	}
	#navigation ul li {
		display: block;
		margin: 0;
	}
	#navigation ul li a {
        padding: 4vh 0;
	}
	#navigation ul li a:focus,
	#navigation ul li a:hover {
		color: #fff;
	}
    
    
    
	
    section > .whiteSpace.doubleSpace + .whiteSpace.doubleSpace + .whiteSpace.doubleSpace {
        display: none;
    }
    
    .line h2 {
        max-width: 60%;
    }
    
    .iconItem {
        width: calc(100% - 0px);
    }
    .iconItem img,
    .iconItem svg,
    .iconItem h3,
    .iconItem p {
    	transition-delay: 0.9s !important;
    }
    
    h2 {
        font-size: 2.4rem;
        line-height: 3.2rem;
    }
    
    .btn {
        max-width: 100% !important;
        min-width: 100%;
    }
    
    
    .icons2 .iconItem {
        width: calc(100% - 0px);
        gap: 0;
        flex-direction: column;
    }
    
    .tabs {
        top: 70px;
    }
    .tabs .tab {
        width: calc(50% - 5px);
        padding: 8px 18px;
    }
	
	#sliderBackground {
		height: 500px;
	}
	
	
}