:root {
	--primary-color: #007297;
	--container-max-width: 1140px;
	--grey-color: #707070;
	--yellow-color: #e7b500;
	--red-color: #b50808;
	--bezier-animation: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body, html {
	margin: 0;
	padding: 0;
	font-family: 'Open Sans', sans-serif;
	
  }


  .text-bold {
	font-weight: 700;
  }

  .container {
	margin: auto;
	max-width: var(--container-max-width);
  }




/* THREE JS SLIDER */
.content__slider {
	position: relative;
	top: 0;
	margin-top: 0;
	width: 100vw;
	height: 100vh;
	overflow: hidden;
}
.slider_home {
	display: block;
	width: 100%;
	height: 100%;
}

@media screen and (max-width: 768px) {
	.slider_home {
		display: flex;
		justify-content: center;
		align-items: center;
	}
	
	.slider_home canvas {
		max-width: 100vw;
		max-height: 100vh;
	}
}

/* HOME */

.white_bar_home {
	width: 100vw;
	height: 50px;
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 9;
	background-color: white;
}

.white_bar_home .white_triangle {
	height: 100px;
	width: 100px;
	background-color: white;
	transform: rotate(45deg);
	position: absolute;
	bottom: 0px;
	left: 200px;
}

.logo_bianco {
	width: 400px;
	height: auto;
	position: absolute;
	bottom: 100px;
	left: 140px;
}

/* HEADER */
.site_logo {
	padding: 5px;
	width: 200px;
	height: auto;
}

.site_logo img {
	width: 100%;
	height: auto;
}
body.home header.site-header {
	background-color: transparent;
	color: white;
	position: absolute;
	top: 0;
	left: 0;
	width: 100vw;
	z-index: 10;
	height: 80px;
}
body.home header.site-header .site_logo  {
	opacity: 0;
	transition: all 0.3s ease-in-out;
}
.scrolled-logo {
	opacity: 1 !important;
}

body:not(.home) header.site-header {
	background-color: white;
	color: var(--primary-color);
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	z-index: 10;
	height: 80px;
	transition: all 0.3s ease-in-out;
} 
.nav-menu{
	z-index: 19;
	position: absolute;
	top: 20px;
	right: 30px;
	cursor: pointer;
  }

  .scrolled-menu {
	position: fixed !important;
	background-color: white !important;
	box-shadow: 0 0 20px rgba(0,0,0,0.8);
  }

  .nav-menu .menu-icon {
	width: 30px;
	height: 20px;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-end;
  }
  .nav-menu .menu-icon span {
	height: 2px;
	background-color: var(--primary-color);
	transition: all 0.3s ease-in-out;
  }
  .nav-menu .menu-icon span:nth-child(1) {
	width: 100%;
  }
  .nav-menu .menu-icon span:nth-child(2) {
	width: 90%;
  }
  .nav-menu .menu-icon span:nth-child(3) {
	width: 80%;
  }

  .nav-menu.open .menu-icon span {
	height: 2px;
	background-color: white;
	transition: all 0.3s ease-in-out;

  }

  .nav-menu.open .menu-icon span:nth-child(1) {
	transform: rotate(45deg) translate(0, 6px);
  }
  .nav-menu.open .menu-icon span:nth-child(2) {
	opacity: 0;
	right: -20px;
  }
  .nav-menu.open .menu-icon span:nth-child(3) {
	transform: rotate(-45deg) translate(6px, -12px);
	width: 100%;
  }

  .menu-container {
	z-index:18;
	position:fixed;
	height: 100vh;
	width: 100vw;
	background-color: var(--primary-color);
	color: white;
	top: 0;
   }

   .menu-content ul {
	padding-left: 0;
   }
  
  .center {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	
  }
  li.menu-item {
	list-style-type: none;
	font-size: 50px;
	margin-bottom: 20px;
	text-align: center;
	font-weight: bold;
	text-transform: uppercase;
	}

li.menu-item a{
	text-decoration: none;
	color: white;
}



.white_footer__container {
	position: fixed;
	z-index:19;
	height: 200px;
	width: 100vw;
	bottom: 0;
  }

  .white_footer__container .white_bar {
	height: inherit;
	background-color: transparent;
	width: 100vw;
	bottom: -100px;
	left: 0;
	position: absolute;
	display: flex;
	align-items: flex-start;
	justify-content: flex-end;
  }

  .white_footer__container .white_bar .white_rectangle {
	height: 100px;
	width: 100px;
	background-color: white;
	transform: rotate(45deg);
	position: absolute;
	bottom: 100px;
	left: 200px;
  }

  .whatsapp_icon {
	margin-right: 20px;
  }

  .whatsapp_icon_fixed {
	position: fixed;
	bottom: -200px;
	transition: all 0.5s ease-in-out;
	right: 20px;
	z-index: 20;
	cursor: pointer;
  }

  .show {
	bottom: 20px !important;
  }


/* PAGE */
.air_title {
	position: relative;
	padding-left: 30px;
  }

  .air_title::after {
	content: '';
	width : 120%;
	height: 1px;
	display: block;
	background-color: var(--primary-color);
	left: -10%;
	top: 50%;
	position: absolute;
  }
.page_title {
	font-size: 90px;
	font-weight: var(--e-global-typography-primary-font-weight);
	text-transform: uppercase;
	margin-top: 150px;
	margin-bottom: 100px;
	color: var(--primary-color);
	

}

/* LOADER */


@keyframes rotateTriangleRotate {
	from {
	  transform: rotate(0deg);
	}
	50%, to {
	  transform: rotate(180deg);
	}
  }
  .rotator {
	animation: rotateTriangleRotate 6s steps(1) infinite;
  }
  
  @keyframes shrinkTriangleShrink {
	from {
	  transform: scale(1);
	}
	to {
	  transform: scale(0.5);
	}
  }
  .loader__container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: white;
	z-index: 100;
	opacity: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	transition:all 1s var(--bezier-animation);
	font-size: 100px;
	
  }
  
  .triangle {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 1em;
	height: 0.866em;
	margin-left: -0.5em;
	margin-top: -0.5774em;
	overflow: hidden;
	transform-origin: 50% 66.666%;
  }
  .triangle::before {
	content: "";
	display: block;
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0.707em;
	height: 0.707em;
	background: currentColor;
	transform: translate(-50%, 50%) scaleY(1.732) rotate(45deg);
  }
  .triangle:nth-child(1) {
	animation: growTrianglesGrow-1 3s infinite;
  }
  @keyframes growTrianglesGrow-1 {
	from, 10% {
	  transform: scale(0) rotate(180deg) translateY(-66.1%);
	  color: var(--primary-color);
	}
	75% {
	  transform: scale(1) rotate(180deg) translateY(-66.1%);
	  color: var(--primary-color);
	}
	to {
	  transform: scale(1) rotate(180deg) translateY(-66.1%);
	  color: currentColor;
	}
  }
  .triangle:nth-child(2) {
	animation: growTrianglesGrow-2 3s infinite;
  }
  @keyframes growTrianglesGrow-2 {
	from, 20% {
	  transform: scale(0) rotate(300deg) translateY(-66.1%);
	  color: var(--yellow-color);
	}
	75% {
	  transform: scale(1) rotate(300deg) translateY(-66.1%);
	  color: var(--yellow-color);
	}
	to {
	  transform: scale(1) rotate(300deg) translateY(-66.1%);
	  color: currentColor;
	}
  }
  .triangle:nth-child(3) {
	animation: growTrianglesGrow-3 3s infinite;
  }
  @keyframes growTrianglesGrow-3 {
	from, 30% {
	  transform: scale(0) rotate(420deg) translateY(-66.1%);
	  color: var(--red-color);
	}
	75% {
	  transform: scale(1) rotate(420deg) translateY(-66.1%);
	  color: var(--red-color);
	}
	to {
	  transform: scale(1) rotate(420deg) translateY(-66.1%);
	  color: currentColor;
	}
  }



.hide {
	opacity: 0;
}

/* FOOTER */
  

  footer {
	background-color: var(--primary-color);
	color: white;
	text-align: center;
	width: 100vw;
	min-height: 300px;
	padding-top: 15%;
	position: relative;
	clip-path: polygon(0 33%, 100% 0%, 100% 100%, 0% 100%);
  }

  footer p {
	font-size: 20px;
	margin: 0;
  }
  footer a {
	color: white;
  }

  /* CORSI */

  .corsi__container {
	width: 100%;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 50px;
	cursor: pointer;
	
  }

  .corsi__container .outline {
	position: absolute;
	width: 80%;
	height: 100%;
	padding: 20px 0;
	border: 1px solid var(--primary-color);
	background-color: white;
	top: 0;
	left: 10%;
	z-index: 0;
	transition: all 0.2s ease;
  }

  .corsi__container .image {
	z-index: 2;
	margin-top: 20px;
	transition: all 0.2s ease;
	object-fit: cover;
	display: block;
	opacity: 1;
  }
  .corsi__container .imageHover {
	z-index: 1;
	margin-top: 20px;
	transition: all 0.2s ease;
	object-fit: cover;
	display: none;
	opacity: 0;
  }

  .corsi__container:hover .image {
	opacity: 0;
	display: none;
  }
  .corsi__container:hover .imageHover {
	display: block;
	opacity: 1;
  }

  .corsi__container:hover .outline {
	background-color: var(--primary-color);
  }



  .corsi__container .title {
	color: var(--primary-color);
	font-size: 20px;
	text-transform: uppercase;
	text-align: center;
	margin-bottom: 0;
	transition: all 0.2s ease;
	z-index: 1;
  }

  .corsi__container .subtitle {
	color: var(--primary-color);
	font-size: 14px;
	text-transform: uppercase;
	text-align: center;
	transition: all 0.2s ease;
	z-index: 1;
  }

  .corsi__container:hover .title, .corsi__container:hover .subtitle {
	color: white ;
  }
  
  /* TARIFFE */
  .tariffe__container {
	width: 100%;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 50px;
	border: 1px solid var(--primary-color);
	min-height: 200px;
  }

  .block_initial, .block_hover {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	width: 100%;
	height: 100%;
	transition: all 0.2s ease;
  }

  .block_initial {
	opacity: 1;
  }

  .block_hover {
	opacity: 0;
  }
  


  .block_initial .title {
	color: var(--primary-color);
	font-size: 20px;
	text-transform: uppercase;
	text-align: center;
	margin-bottom: 0;
	transition: all 0.2s ease;
	margin-top: 0;
	
  }

  .block_initial .icon {
	z-index: 2;
	transition: all 0.2s ease;
	width: 100px;
	object-fit: cover;
	display: block;
	opacity: 1;
  }

  .block_hover .price {
	color: white;
	font-size: 20px;
	font-weight: 700;
	text-transform: uppercase;
	text-align: center;
	margin-bottom: 0;
	transition: all 0.2s ease;
  }

  .block_hover .desc {
	color: white;
	font-size: 14px;
	text-align: center;
	margin-bottom: 0;
	transition: all 0.2s ease;

  }
  .tariffe__container:hover {
	background-color: var(--primary-color);
  }

  .tariffe__container:hover .block_initial {
	opacity: 0;
  }
  .tariffe__container:hover .block_hover {
	opacity: 1;
  }

  /* PAGE CORSI */

  .page_corsi__title {
	font-size: 40px;
	font-weight: 300;
	text-align: center;
	text-transform: uppercase;
	margin-top: 20px;
	margin-bottom: 20px;
	color: var(--primary-color);
  }

  .wp-post-image {
	width: 100vw;
	height: 65vh;
	margin: 0;
	display: block;
	object-fit: cover;
  }

  /* CONTATTI */

  input, textarea {
	border: 1px solid var(--grey-color);
	width: 100%;
	padding: 10px 20px;
  }
  label {
	color: var(--grey-color);
	font-size: 14px;
	margin-bottom: 10px;
  }

  input[type=submit] {
	background-color: var(--grey-color);
	color: white;
	padding: 20px 30px;
	width: auto;
	cursor: pointer;
	transition: all 0.2s ease;
  }

  input[type=submit]:hover {
	background-color: var(--primary-color);
  }

  .wpcf7-form p {
	color: var(--grey-color)
  }

  @media screen and (max-width: 768px) {
	/* MENU */
	li.menu-item {
		font-size: 30px;
		}
	/* HOME */
	.white_bar_home {
		height: 150px;
	}

	.white_bar_home .white_triangle {
		height: 40px;
		width: 40px;
		left: 50px;
		bottom: 125px;
	}

	.logo_bianco {
		width: 200px;
		bottom: 170px;
		left: 15px;
	}
	/* PAGE */
	.air_title h2 {
		font-size: 48px !important;
	}
	.page_title {
		font-size: 48px;
		padding-left: 15px;
		margin-top: 90px;
		margin-bottom: 10px;
	}

	/* FOOTER */
  
	footer {
		clip-path: polygon(0 17%, 100% 0%, 100% 100%, 0% 100%);
	}
	  footer p {
		font-size: 16px;
	  }
  }
