/*
 * Theme Name: ScubaPoint
 * Description: Custom theme with Timber
 * Author: MS3
*/

html{scroll-behavior: smooth;}

body {
    font-family: 'Open Sans';
    font-size: 16px;
    font-weight: 300;
    color: #082C38;
    position: relative;
}

p{
    margin-bottom: 0;
}

.absolute{position: absolute;}
.fixed{position: fixed;}
.relative {position: relative;}
.w-fit{width: fit-content;}
.h-min{height: min-content;}
ul{list-style: none; padding-left: 0;}


h1{font-size: 32px;}
h2{font-size: 28px; font-weight: 700;}
h3{font-size: 22px;}
h4{font-size: 18px;}

a, a:hover, a:visited{text-decoration: none;}

.testo_bianco{color:#ffffff;}
.testo_blu{color:#082C38;}
.testo_verde{color:#077175;}

.mini_text{font-size:10px;}

.bg_bianco{background-color: #fff;}
.bg_blu{background-color:#082C38; color:#fff;}
.bg_verde{background-color:#077175; color:#fff;}

.second_bg_verde{background: linear-gradient(90deg, #077175 50%, transparent 50%);}
.second_bg_blu{background: linear-gradient(90deg, transparent 50%, #082C38 50%);}

.circle{border-radius: 50%;}
.bordered{border: 5px solid #fff;}

.btn {
    border-radius: 30px;
    border: 0;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 16px;
    padding: 8px 30px;
}
.btn:hover{background-color: #ccc;}
.btn:active, .btn:focus{outline: none;box-shadow: none;}
.btn-blu{background-color: #082C38; color: #ffffff;}
.btn-verde{background-color: #00524F; color: #ffffff;}
.btn-blu a, .btn-verde a{color:#ffffff;}
.btn-bianco{background-color: #ffffff; color: #082C38;}

.uppercase {text-transform: uppercase;}
.italic {font-style: italic;}

.light {font-weight: 300;}
.regular {font-weight: 400;}
.medium {font-weight: 500;}
.semibold {font-weight: 600;}
.bold {font-weight: 700;}
.extrabold {font-weight: 800;}
.black {font-weight: 6900;}

.overflow-h{overflow: hidden;}

header.sticky{transition: max-height 0.3s ease-out;}
header.sticky .logo{transition: width 0.3s ease-out;}

.mega-menu ul{list-style: none; font-size: 1.8rem;}
.mega-menu .menu a{color:#fff;}
.mega-menu nav{margin-top: 100px;}

/*
.mega-menu {
    transition: .3s ease-in-out;
    position: fixed;
    padding-bottom: 78px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    opacity: 0;
    display: none;
    overflow-y: auto;
}
.mega-menu nav {
    padding-top: 70px;
}
.mega-menu.reveal {
    opacity: 1;
}
.close-menu {
    height: 30px;
    cursor: pointer;
    display: none;
}
*/

/* colori */
.blue{
    color: #02437E;
}
.blue-bg{
    background-color: #02437E;
}
.orange{
    color: #FF8625;
}
.orange-bg{
    background-color: #FF8625;
}

strong{
    color: #02437E;
    font-weight: 700;
}

.cta-btn{
    background-color: #FF8625;
    color: #fff !important;
    font-size: 18px;
    padding: 10px 80px;
    border-radius: 50px;
    display: block;
    width: fit-content;
    transition: ease-in-out 0.3s;
}

.cta-btn:hover{
    background-color: #02437E;

}

@media screen and (min-width: 992px){
    .cta-btn{
        font-size: 24px !important;
    }
    
}

.testo-paragrafo{
 font-size: 18px;
}

/* sezione icone home */

.titolo-icona{
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    font-weight: 700;

}

.testo-icona{
    font-size: 20px;
    color: #fff;
    font-weight: 300;
}

.titolo-bianco{
    font-size: 36px;
    color: #fff;
    font-weight: 700;


}
.testo-bianco{
    font-size: 22px;
    color: #fff;
    font-weight: 300;

}

.testo-icona strong, .testo-bianco strong{
    color: #fff;
    font-weight: 700;
}

.paragrafo-icona{
    font-size: 22px;
    color: #fff;
}

.paragrafo-icona strong{
    color: #fff;
    font-weight: 700;
}

.testo-paragrafo-home{
    font-size: 22px;
    color: #02437E;
    font-weight: llight;

}

/* testo generale */

.titolo-sfondo-bianco{
    font-size: 20px;
    color: #FF8625;
    font-weight: 700;
}
.titolo-grande-sfondo-bianco{
    font-size: 36px;
    color: #FF8625;
    font-weight: 700;
}
.titolo-icone-arancio{
    font-size: 20px;
    color: #FF8625;
    font-weight: 700;

}
.titolo-grande-alt-sfondo-bianco{
    font-size: 42px;
    color: #02437E;
    font-weight: 700;
}
.sottotitolo-grande-alt-sfondo-bianco{
    font-size: 36px;
    color: #02437E;
    font-weight: 700;
}

.testo-sfondo-bianco{
    color: #02437E;
    font-size: 22px;
}

.py-100{
    padding: 50px 0;
}

.h-10{
    height: 10px;
}

.icon-hover{
    transition: ease-in-out 0.3s !important;
}

.icon-hover:hover{
    scale: 1.2;
}

@media screen and (min-width: 991px) and (max-width: 1400px){
/*     .titolo-grande-sfondo-bianco{
        font-size: 24px;
        color: #FF8625;
        font-weight: 700;
    } */
    .testo-sfondo-bianco{
        color: #02437E;
        font-size: 16px;
    }
    .menu-text{
        font-size: 14px;
        color: #02437E;
    }

    .titolo-grande-alt-sfondo-bianco{
        font-size: 36px;
        color: #02437E;
        font-weight: 700;
    }

    .sottotitolo-grande-alt-sfondo-bianco{
        font-size: 24px;
        color: #02437E;
        font-weight: 700;
    }
}

@media screen and (min-width: 768px){
    .py-100{
        padding: 110px 0;
    }
    .titolo-icone-arancio{
        font-size: 32px;
        color: #FF8625;
        font-weight: 700;
    
    }
}

/* footer */
.h-divider{
    height: 200px;
    overflow: hidden;
}

.logo-footer{
    width: 150px;
}

.logo-parco-footer{
    width: 300px;
}

footer a{
    color: #02437E;
    font-weight: bold;
}

footer p{
    color: #02437E;
}

.menu-text{
    font-size: 16px;
    color: #02437E;
}

.border-footer{
    border-right: 2px solid #FF8625;
}
.border-footer-specific{
    border-right: 2px solid #FF8625;
}
.h-footer{
    height: 300px !important;
}

@media (min-width: 991px ) and (max-width: 1200px){
    .f-position{
        position: absolute;
        bottom: -275px;
        left: 50%;
        transform: translateX(-50%);
    }
    .f-pb{
        padding-bottom: 40px !important;
    }
    
}

@media screen and (max-width: 992px){
    .border-footer{
        border-right: none;
    }
    .h-footer{
        height: auto !important;
    }
    
}
@media screen and (max-width: 1200px){
    .border-footer-specific{
        border-right: none;
    }
}
@media screen and (min-width: 1200px){
    .border-footer-specific{
        border-right: 2px solid #FF8625 !important;
    }
}

/* header */

header{
    color: #02437E;
}

header .logo img{
    width: 400px;
}

.sub-header{
    border-bottom: 1px solid #02437E;
}

.menu-width{
    width: 50vw;
}

@media screen and (max-width: 992px){
    header .logo img{
        width: 200px;
    }
    .menu-width{
        width: 100vw !important;
    }
}

.menu a:hover{
    color: #FF8625;
}
.menuToggler {
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    position: relative; /* Added for positioning spans */
    cursor: pointer;
}

.menuToggler span {
    width: 40px;
    height: 3px;
    background-color: #02437E;
    display: block;
    transition: transform 0.3s ease; /* Smooth transition for transform */
    margin-bottom: -10px;
}

.closeMenu span {
    width: 25px;
    height: 1px;
    background-color: #fff;
    display: block;
    position: absolute; /* Changed to absolute positioning */
    transition: transform 0.3s ease; /* Smooth transition for transform */
}

.closeMenu span:first-child {
    transform: rotate(45deg) translate(5px, 5px); /* Adjusted translation for proper positioning */
    top: 3%;
    left: 0;
}

.closeMenu span:last-child {
    transform: rotate(-45deg) translate(5px, -5px); /* Adjusted translation for proper positioning */
    top: 30%;
    left: 0;
}

.menu-border{
    border-bottom: 1px solid #fff;
}

/* table */

.table-header{
    background-color: #02437E;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.td-30{
    border-bottom: 1px solid #000;
    border-left: 1px solid #000;
}
.td-70{
    border-bottom: 1px solid #000;
}

/* form */
.page-id-318 input[type="text"], .page-id-318 input[type="email"]{
    width: 100%;
    padding: 5px 0;  
    border: none;  
    border-bottom: 1px solid #02437E;
    outline: none;
    color: #02437E;
}
.page-id-318 input:focus{
    width: 100%;
    border: none;
    outline: none;
}

.page-id-318 textarea{
    width: 100%;
    padding: 5px 0;  
    border: none;  
    border-bottom: 1px solid #02437E;
    outline: none;
    resize: none;
    color: #02437E;
}

.button-row{
    display: flex;
    justify-content: end;
    margin: 20px 0;
}

.button-row input{
    background-color: #FF8625;
    color: #fff !important;
    font-size: 22px;
    padding: 10px 8rem;
    border-radius: 50px;
    display: block;
    width: fit-content;
    transition: ease-in-out 0.3s;
    outline: none;
    border: none;
}

.button-row input:hover{
    background-color: #02437E;
}

.acceptance p{
    display: flex;
}
.acceptance p input{
    margin-right: 5px;
}

@media screen and (max-width: 991px){
    .button-row{
        justify-content: center;
    }
    
}

/* font home */
.page-id-9 #paragrafo{
    font-size: 28px !important;
}
.page-id-9 .testo-paragrafo-home, .page-id-9 .testo-bianco{
    font-size: 24px !important;
}

