:root{
    --primary_color: #002A63;
    --secondary_color: #d28425;
}
@font-face{
    src: url('../fonts/Manrope.ttf');
    font-family: "Manrope";
    font-weight: 200 800;
    font-style: normal;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a {
    text-decoration: none;
    color: inherit;
}
h1,h2, h3{
    font-weight: 800;
    color: var(--primary_color);
}
h2.mg_bt{
    margin-bottom: 20px;
}
.subtitle{
    color: var(--secondary_color);
    font-weight: 700;
    font-style: italic;
    font-size: 22px;
    margin-bottom: 20px;
}
p{
    font-size: 18px;
    line-height: 27px;
    margin-bottom: 5px;
}
ul.std{
    padding-left: 20px;
    font-size: 18px;
    line-height: 27px;
    margin-bottom: 5px;
}
img.cover{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
img.scaledown{
    width: 100%;
    height: 100%;
    object-fit: scale-down;
}
.link{
    color: var(--primary_color);
    text-decoration: underline;
    cursor: pointer;
}
body{
    font-family: "Manrope";
}
.w_def{
    width: 90%;
    margin: auto;
}
.space.p{
    height: 5px;
}
.btn{
    padding: 7px 15px;
    background-color: var(--primary_color);
    color: white;
    display: inline-block;
    border-radius: 5px;
    font-weight: 700;
    transition: 400ms;
    cursor: pointer;
}
.btn:hover{
    background-color: var(--secondary_color);
}
.btn svg, .btn_minimal svg{
    vertical-align: bottom;
}
.btn.mg_tp{
    margin-top: 20px;
}
.btn.mg_bt{
    margin-bottom: 20px;
}
.btn_minimal{
    color: var(--primary_color);
    display: inline-block;
    font-weight: 700;
    text-decoration: underline;
    transition: 400ms;
    cursor: pointer;
}
.btn_minimal:hover{
    color: var(--secondary_color);
}
.cols2{
    display: flex;
}
header{
    color: var(--primary_color);
    position: relative;
}
header .top_info{
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 10px 0;
}
header .logo{
    display: flex;
    gap: 20px;
}
header .hbtn{
    display: flex;
    justify-content: center;
    gap: 10px;
}
header .hbtn p{
    letter-spacing: .7px; 
    font-weight: 700;
}
header .wrap_menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    color: white;
    z-index: 30;
    box-shadow: 0 20px 20px rgba(0,0,0,.1);
    /* clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); */
    opacity: 0;
    visibility: hidden;
    transition: 400ms ease;
}
/******* ICO_MENU ********/
header .ph_menu{
    position: relative;
    cursor: pointer;
}
header .ph_menu::after{
    content: 'MENU';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.menu_opened header .ph_menu::after{
    content: 'CHIUDI';
}
.wrap_ico_menu{
    width: 35px;
    height: 20px;
    position: relative;
}
#ico_menu{
	position: absolute;
	z-index: 70;
	cursor: pointer;
    height: 20px;
    width: 35px;
    right: 0;
}
#ico_menu .line, #ico_menu:before, #ico_menu:after{
	background-color: var(--primary_color);
}
#ico_menu .line{
	width: 100%;
	height: 2px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	transition: 400ms ease;
}
#ico_menu:before, #ico_menu:after{
	content: ' ';
	position: absolute;
	right: 0;
	height: 2px;
	transition: 400ms ease;
}
#ico_menu:before{
	top: 0;
	width: 100%;
}
#ico_menu:after{
	bottom: 0;
	width: 100%;
}
.menu_opened #ico_menu .line{
	opacity: 0;
} 
.menu_opened #ico_menu:before{
	transform: rotate(45deg);
	top: 50%;
}
.menu_opened #ico_menu:after{
	transform: rotate(-45deg);
	width: 100% !important;
	top: 50%;
}
/******* END ICO_MENU ********/
.menu_opened{
    overflow-y: hidden;
}
.menu_opened header .wrap_menu {
    /* clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 0); */
    opacity: 1;
    visibility: visible;
}
header .wrap_menu ul {
    list-style-type: none;
    font-style: normal;
    font-weight: 900;
    font-size: 40px;
    display: grid;
    grid-template-rows: repeat(6, 1fr);
    height: 100%;
}
header .wrap_menu ul li {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    color: var(--green);
    cursor: pointer;
}
header .wrap_menu li [data-type='hover']{
    display: none;
}
.fw_slider{
    aspect-ratio: 16 / 4;
    overflow: hidden;
}
.fw_slider .swiper-slide img {
    transform: scale(1);
    transition: transform 2.6s ease-in-out;
}
.fw_slider figure {
    width: 100%;
    height: 100%;
}
.fw_slider .wrap_slider .swiper-slide img {
    transform: scale(1);
    transition: transform 2.6s ease-in-out;
}
.fw_slider .swiper-slide.swiper-slide-active img {
    transform: scale(1.05); /* Zoom in effect */
}
.fw_slider figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card_preview{
    position: relative;
}
.card_preview .label{
    position: absolute;
    top: 20px;
    right: 0px;
    color: white;
    font-weight: 800;
    padding: 4px 0;
    text-align: center;
    width: 100%;
    z-index: 20;
}
.card_preview .label.annullato{
    background-color: #930002;
}
.card_preview figure{
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: 10px;
    background-color: #DCEAF4;
}
.card_preview h3, .card_preview p{
    margin-bottom: 5px;
}
.grid_support{
    display: flex;
    gap: 20px;
}
.grid_support > div:not(.line){
    flex: 1;
    text-align: center;
}
.grid_support > .line{
    width: 1px;
    background-color: #b8b8b8;
}
.grid_support h3{
    margin-bottom: 10px;
    font-size: 27px;
}
.grid_support img{
    display: inline-block;
    margin-bottom: 10px;
}
.boat_details > .row{
    display: grid;
    grid-template-columns: 150px auto;
    padding: 4px;
}
.boat_details > .row:nth-of-type(odd){
    background-color: #f2f6ff;
}
.boat_details > .row:nth-of-type(even){
    background-color: #e9eaed;
}
footer{
    background-color: var(--primary_color);
    color: white;
}
footer .grid{
    display: grid;
}
footer p{
    font-size: 16px;
    line-height: 2;
}
footer .pointer{
    cursor: pointer;
}
footer .logo{
    width: 400px;
    max-width: 100%;
    background-color: #DCEAF4; 
    padding: 5px; 
    border-radius: 5px;
}
form label{
    display: block;
    margin-bottom: 10px;
}
form input[type='text'], form textarea{
    display: block;
    width: 100%;
    font-size: inherit;
    font-family: inherit;
    padding: 4px;
}
form textarea{
    max-width: 100%;
    min-width: 100%;
    width: 100%;
}
form .privacy{
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    margin-bottom: 15px;
}
form .privacy input[type='checkbox']{
    width: 25px;
    height: 25px;
}
.gallery{
    display: grid;
    gap: 10px;
    margin: 0 10px;
}
.gallery figure{
    aspect-ratio: 1 / 1;
    background-color: #DCEAF4;
    overflow: hidden;
}
.dates .date{
    border: 1px solid #3E3E3E;
    border-radius: 15px;
    overflow:hidden;
    text-align: center;
}
.dates .date p{
    margin-bottom: 0;
}
.dates .date p:first-of-type{
    background-color: var(--primary_color);
    color: white;
    padding: 10px;
    font-weight: 800;
    font-size: 20px;
}
.dates .date .bull{
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 10px;
    margin-right: 10px;
}
.dates .date .attivo{
    color: #179d24;
    font-weight: 800;
    background-color: white;
    padding: 5px 0;
}
.dates .date .attivo .bull{
    background-color: #179d24;
    box-shadow: 0 0 5px #179d24;
}
.dates .date .annullato{
    color: #930002;
    font-weight: 800;
    background-color: white;
    padding: 5px 0;
}
.dates .date .annullato .bull{
    background-color: #930002;
    box-shadow: 0 0 5px #930002;
}
.wrap_as169, .wrap_as169 figure{
    aspect-ratio: 16 / 9; 
    overflow: hidden;
}
h1.home_title{
    font-style: italic; 
    text-align: center; 
    font-weight: 800; 
    margin-bottom: 20px;
}
.howsupport_longtitle{
    font-style: italic;  
}




