@charset "utf-8";


html {
    overflow-x: hidden;
}

@media screen and (max-width:768px) {}


html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}


@font-face {
    font-family: m-1;
    src: url(../fonts/d_regular.otf);
}

@font-face {
    font-family: m-2;
    src: url(../fonts/d_bold.otf);
}

/* colors */

:root {
    --maincolor: #093c9b;
}



/* BODY */

body {
    margin: 0;
    padding: 0;
    font-family: m-2;
    color: black;
    background-color: white;
    -webkit-font-smoothing: antialiased;
}

p {
    font-size: 18px;
    line-height: 150%;
    font-weight: 300;
}


.navigazione {
    position: fixed;
    z-index: 20;
    background-color: white;
    width: 100%;
    height: 120px;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-transition: all 0.35s ease;
    transition: all 0.35s ease;
    -webkit-box-shadow: 0px 3px 22px 5px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 3px 22px 5px rgba(0, 0, 0, 0.1);
}

.navigazione--scroll {
    height: 70px;
}

.navigazione__container {
    width: 90%;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.preloader__content {
    width: 20vw;
    height: 20vw;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width:990px) {
    .preloader__content {
        width: 40vw;
        height: 40vw;
    }
}

.navigazione__container__logo img {
    height: 100px;
    width: auto;
    margin-right: 30px;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

.navigazione--scroll .navigazione__container__logo img {
    height: 50px;
}

.navigazione a {
    color: black;
    margin: 0 15px;
    font-family: m-1;
    font-size: 17px;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
}


.navigazione a:hover {
    color: var(--maincolor);
    cursor: pointer;
}

@media (min-width: 990px) {
    .burger {
        display: none;
    }
}


.burger {
    height: 25px;
    width: 25px;
    position: relative;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

.burger--line {
    background-color: black;
}

.burger--line--1 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    width: 3px;
    height: 100%;
}

.burger--line--2 {
    position: absolute;
    left: 0;
    transform: translateY(-50%);
    top: 50%;
    width: 100%;
    height: 3px;
}

.burger--close {
    transform: rotate(45deg);
}

.navigazione__mobile {
    position: fixed;
    z-index: 19;
    background-color: white;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    opacity: 0;
    visibility: hidden;
}

.navigazione__mobile--show {
    opacity: 1;
    visibility: visible;
}

.navigazione__mobile__links {
    padding-left: 10vw;
}

.navigazione__mobile__links a {
    display: block;
    color: black;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-size: 18px;
}

.navigazione__mobile__links a:last-child {
    margin-bottom: 0;
}

.navigazione_dx {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.pulsanti {
    margin-left: 30px;
}

.pulsanti a {
    color: white;
    border: 1px solid var(--maincolor);
    background-color: var(--maincolor);
    padding: 5px 10px;
    margin: 0;
    display: inline-block;
    margin-left: 5px;
}

.pulsanti--active {
    color: #15a487 !important;
    border: 1px solid #15a487 !important;
}

.pulsanti a:hover {
    color: var(--maincolor);
    border: 1px solid var(--maincolor);
    background-color: white;
}

@media (max-width:990px) {

    .navigazione_dx .pulsanti {
        display: none;
    }

    .navigazione__container__links {
        display: none;
    }

    .navigazione__container__logo img {
        height: 70px;
        position: relative;
        left: -20px;
    }

    .navigazione {
        height: 80px;
    }

    .navigazione--scroll {
        height: 60px;
    }

    .navigazione_dx {
        display: none;
    }

    .pulsanti {
        margin-left: 0;
        padding-left: 10vw;
        margin-top: 50px;
    }

    .pulsanti a {
        margin-right: 20px;
        padding: 10px 15px;
    }

}



@media (max-width:768px) {
    .foglia {
        height: 30px;
    }
}

h1 {
    font-size: 48px;
    margin-bottom: 40px;
    font-family: m-2;
    color: var(--maincolor);
}

h2 {
    font-size: 36px;
    margin-bottom: 40px;
    font-family: m-2;
    color: var(--maincolor);
}

@media (max-width: 990px) {

    h1 {
        font-size: 32px;
        margin-bottom: 30px;

    }

    h2 {
        font-size: 28px;
        transform: rotate(0deg);
    }
}

@media (max-width:768px) {
    p {
        font-size: 16px;
        line-height: 140%;
    }

    h2 {
        font-size: 24px;
    }
}



.colore {
    color: #0c223f;
}

.bianco {
    color: white;
}



.sfondo-bianco {
    background-color: white;
}

.padding--vh {
    padding-top: 10vh;
    padding-bottom: 10vh;
}

.padding-top--vh {
    padding-top: 5vh;
}

.padding-bottom--vh {
    padding-bottom: 5vh;
}

@media (max-width:768px) {
    .padding--vh {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .padding-top--vh {
        padding-top: 50px;
    }

    .padding-bottom--vh {
        padding-bottom: 50px;
    }
}


.container-80 {
    height: auto;
    width: 80%;
    margin: 0 auto;
    max-width: 1500px;
}

.container-50 {
    height: auto;
    width: 50%;
    margin: 0 auto;
    max-width: 1100px;
}

section {
    width: 100%;
    height: auto;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.separator {
    height: 1px;
    width: 100%;
    background-color: #aaa;
    margin-top: 60px;
    margin-bottom: 60px;
}

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

/* HERO */

.hero {
    height: calc(60vh - 120px);
    width: 100%;
    position: relative;
    overflow: hidden !important;
    margin-top: 120px;
}

.hero__inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero__content {
    position: absolute;
    top: 50%;
    right: 10vw;
    z-index: 10;
    color: var(--maincolor);
    text-align: left;
    font-size: 72px;
    transform: translateY(-50%);
}


.hero__slideshow .swiper-container {
    width: 100vw;
    height: 100vh;
    padding: 0;
}


.hero__slideshow {
    position: relative;
    height: 100vh;
    width: 100%;
}

.hero__slideshow:after {
    z-index: 2;
    top: 0;
    left: 0;
    content: "";
    position: absolute;
    height: 150px;
    width: 100%;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0.5+0,0+100 */
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=0);
    /* IE6-9 */
}

@media (max-width:990px) {
    .hero {
        height: calc(100vh - 80px);
        margin-top: 80px;
    }
}

@keyframes titoloappari {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.animazione_slideshow_custom__out .titolo_slide span {
    animation: titoloscompari 0.5s linear;
}



@keyframes titoloscompari {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}



.animazione_slideshow_custom .swiper-slide__inner__wrapper__img {
    animation: ingrandisci 8s linear;
    animation-delay: 0;
}

@keyframes ingrandisci {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.07);
    }
}


/* hero slideshow */

.hero__slideshow .swiper-slide {
    width: 100vw !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    color: white;
    position: relative;
}

.hero__slideshow .swiper-slide__inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero__slideshow .swiper-slide__inner__wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hero__slideshow .swiper-slide__inner__wrapper__img {
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}



.text_appear {
    height: 100%;
    overflow: hidden;
}

.text_appear__inner {
    font-family: m-1;
    color: white;
}

.text_appear__inner {
    line-height: 130%;
}

.hero__content img {
    height: 190px;
    width: auto;
    display: block;
    margin: 0 auto;
    margin-bottom: 30px;
}

.hero__cover {
    position: absolute;
    bottom: -1px;
    left: 0;
    z-index: 15;
    width: 100%;
    height: auto;
}

.hero__scoll {
    color: white;
    text-align: center;
    position: absolute;
    bottom: 20px;
    left: 10%;
    z-index: 10;
    width: auto;
}

.hero__scoll__text {
    margin-bottom: 80px;
}

.hero__scroll__inner {
    height: 70px;
    width: 2px;
    background-color: white;
    position: absolute;
    left: 50%;
    bottom: 0;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    from {
        height: 0;
    }

    to {
        height: 70px;
    }
}

@media (max-width:768px) {

    .hero__content {
        right: auto;
        left: 10%;
        text-align: left;
        font-size: 40px;
    }

    .hero__scoll {
        bottom: 10px;
    }

    .hero__scoll__text {
        margin-bottom: 80px;
    }

    .hero__scroll__inner {
        height: 60px;
        width: 2px;
        background-color: white;
        position: absolute;
        left: 50%;
        bottom: 0;
        animation: scroll 1.5s infinite;
    }

    @keyframes scroll {
        from {
            height: 0;
        }

        to {
            height: 80px;
        }
    }
}

section:nth-child(even) {
    background-color: #F6F8F9;
}

/* about section */

.about {
    background-color: white;
    color: dimgray;
    font-family: m-1;
}

.bold {
    font-family: m-2;
    color: black;
    font-size: 20px;
    text-decoration: underline;
}

.services-list {
    font-family: m-1;
    font-size: 40px;
    color: white;
}

@media (max-width:768px) {
    .services-list {
        font-size: 32px;
    }
}


.white-divider {
    width: 20vw;
    height: 6px;
    background-color: white;
    margin-top: 50px;
    margin-bottom: 50px;
}

@media (max-width:768px) {
    .white-divider {
        width: 100%;
    }
}


/* swiper gallery */

.swiper__gallery {
    position: relative;
    width: 100%;
    height: auto;
}

section {
    position: relative;
}

section .row {
    position: relative;
    z-index: 5;
}

section .number {
    font-size: 40vh;
    color: white;
    position: absolute;
    top: 50%;
    left: -30px;
    transform: translateY(-50%);
    z-index: 1;
    font-family: m-2;
}

section:nth-child(odd) .number {
    font-size: 40vh;
    color: #E4ECEC;
    position: absolute;
    top: 50%;
    left: auto;
    right: -30px;
    transform: translateY(-50%);
    z-index: 1;
    font-family: m-2;
}

@media (max-width:1350px) {
    .number {
        display: none;
    }
}

.swiper__gallery .swiper-pagination-bullet-active {
    background-color: #005F6A;
    ;
}

.swiper-button-next--custom,
.swiper-button-prev--custom {
    background-color: var(--maincolor);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    z-index: 10;
}

.swiper-button-next--custom:hover,
.swiper-button-prev--custom:hover {
    cursor: pointer;
}

.swiper-button-next--custom img,
.swiper-button-prev--custom img {
    height: 30px;
}

.swiper-button-prev--custom {
    left: -25px;
}

.swiper-button-next--custom {
    right: -25px;
}

@media (max-width:990px) {

    .swiper-button-next--custom,
    .swiper-button-prev--custom {
        width: 40px;
        height: 40px;
        border-radius: 0;
    }


    .swiper-button-prev--custom {
        left: 0;
    }

    .swiper-button-next--custom {
        right: 0;
    }
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 7px !important;
}

.swiper__gallery .swiper-container {
    width: 100%;
    height: auto;
    padding: 0;
    overflow: hidden;
}

.swiper__gallery .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper__gallery .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .swiper__gallery {
        margin-top: 30px;
    }
}

/* certificazioni */

.certificazione {
    padding: 15px 0;
    border-bottom: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.certificazione:last-child {
    border-bottom: none;
}

.certificazione__nome {
    font-family: m-2;
    color: black;
}

.certificazione__download a {
    text-decoration: underline;
    color: var(--maincolor);
}



/* footer */

footer {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: dimgray;
    display: block;
    width: 100%;
}

.footer {
    color: dimgray;
}

.footer a {
    padding: 10px 19px;
    border: 1px solid var(--maincolor);
    color: var(--maincolor);
}

.footer_contatti strong {
    color: black;
}

.footer_contatti {
    font-size: 16px;
}

.footer-credits {
    font-size: 13px;
    margin-top: 30px;
}
