/*
 * Theme Name: My Timber 2.x Starter Theme
 * Description: Starter Theme to use with Timber
 * Author: Upstatement and YOU!
*/

html{scroll-behavior: smooth;}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #082C38;
}

.absolute{position: absolute;}
.fixed{position: fixed;}
.relative {position: relative;}

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; color: #077175;}

.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 {
    color: #fff;
    border: #fff 1px solid;
    padding: 15px 35px;
    border-radius: 50px;
}

.w-fit{width: fit-content;}
.btn:hover{background-color: #fff; color: #077175;}
.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;
    top: 15%;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    opacity: 0;
    display: none;
    overflow-y: auto;
    width: 100vw;
    height: 100vh;
    text-align: end;
    background-color: #fff;
}
.mega-menu nav {
    padding-top: 70px;
}
.mega-menu.reveal {
    opacity: 1;
}
.close-menu {
    cursor: pointer;
}

.remove-scrolling { 
    height: 100%; 
    overflow: hidden; 
} 

.mega-menu a{
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 1.4rem;
}


.nav-main ul{list-style-type: none; padding: 0; margin: 0;}

/* hp_hero */

.hp_hero{
    height: 600px;
}

.black-layer{
    background-color: #000;
    opacity: .4;
}

/* titolo_sezione */

.titolo_sezione{
    background-color: #077175;
}

.titolo_sezione h1{
    color: #fff;
}


/* sezione_cta */

.sezione_cta{
    background-color: #077175;
    color: #fff;
}

.sezione_cta a{
    color: #fff;
    border: #fff 1px solid;
    padding: 15px 35px;
    border-radius: 50px;
}

.btn-outline-primary{
    border: 1px solid #198754;;
    color: #198754;;
}


.btn-outline-primary:hover{
    background-color: #198754;;
    color: #fff;
    border: none;
}

.btn-success {
    color: #fff !important;
}
.btn-success:hover {
    color: #198754 !important;
}