/* 145/147 slides CSS File */

html {
    font-size: 16px;
}

.fs-6rem {
    /* font-size: 6rem; */
}

.lh-5rem {
    line-height: 5rem;
}

.pb-5rem {
    padding-bottom: 5rem;
}

.pt-5rem {
    padding-top: 5rem;
}

.bd-6rem {
    padding-top: 6rem;
}

.bg-img-risorse {
    background-size: unset;
    background-repeat: repeat;
}

.bg-dark-custom {
    color: white;
    background-color: rgb(0, 0, 0, 0.7);
}

.mh-85vh {
    max-height: 85vh !important;
}

.opacity-50 {
    opacity: .5;
}

.bigger-size {
    font-size: 26px !important;
    border: 1px solid;
    border-radius: 90px;
    padding: 4px;
    text-decoration: none;
    color: currentcolor;
}

.container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline {
    width: 80%;
    height: auto;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline ul {
    list-style: none;
}

.timeline ul li {
    padding: 20px;
    background-color: #1e1f22;
    color: white;
    border-radius: 10px;
    margin-bottom: 20px;
}

.timeline ul li:last-child {
    margin-bottom: 0;
}

.timeline-content {
    margin-top: 10px;
    font-size: 22px !important;
    line-height: 1.5 !important;
}

.timeline-content h1 {
    font-weight: 500;
    font-size: 25px !important;
    line-height: 30px;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 300;
}

.timeline-content .date {
    font-weight: 300;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.timeline-white ul li {
    color: black;
    background-color: #fddec9;
}



.pyramid-right-text {
    display: flex;
    height: 100%;
    justify-content: space-evenly;
    align-items: flex-start;
    flex-direction: column;
}

.pyramid {
    float: left;
    shape-outside: polygon(calc(6e16px + 19vw - 6e16px) 0px, calc(6e16px + 11vw - 6e16px) calc(6e16px + 1vw - 6e16px), calc(6e16px + 36vw - 6e16px) calc(6e16px + 30vw - 6e16px));
    padding-right: 60px;
    width: calc(6e16px + 36vw - 6e16px);
}

.zone {
    padding: 40px 0;
    margin: 0 auto;
    text-align: center;
    color: black;
    background-blend-mode: darken;
    transition: 0.5s;

    height: 14vh;
}

.zone:nth-child(1) {
    background: radial-gradient(circle at center, red, black 250%);
    width: 25%;
    clip-path: url("#part1");
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    -webkit-clip-path: polygon(50% 0%, 100% 100%, 0% 100%);

}

.zone:nth-child(2) {
    background: radial-gradient(circle at center, #ffb100, black 250%);
    width: 50%;
    clip-path: url("#part2");
    clip-path: polygon(25% 0%, 75% 0, 100% 100%, 0% 100%);
    -webkit-clip-path: polygon(25% 0%, 75% 0, 100% 100%, 0% 100%);
}

.zone:nth-child(3) {
    width: 75%;
    background: radial-gradient(circle at center, #00ffb8, black 250%);
    clip-path: url("#part3");
    clip-path: polygon(16.5% 0, 83% 0, 100% 100%, 0% 100%);
    -webkit-clip-path: polygon(16.5% 0, 83% 0, 100% 100%, 0% 100%);
}

.zone:nth-child(4) {
    background: radial-gradient(circle at center, #00a1ff, black 250%);
    width: 100%;
    clip-path: polygon(12.5% 0, 0%, 87.5% 0, 100% 100%, 0% 100%);
    -webkit-clip-path: polygon(12.5% 0, 87.5% 0, 100% 100%, 0% 100%);
}

/* Adapt CSS Desktop Version */
.text-intro {
    text-align: justify;
    font-size: 20px !important;
    line-height: 1.5rem !important;
    margin-bottom: 1.2rem !important;
}
.text-intro br {
    line-height: 2rem !important;
}

.description li span {
    font-size: 16px !important;
    line-height: 1.3 !important;
}

.text-data {
    font-size: 6.4rem;
    line-height: unset;
}

h3 {
    font-size: 3rem;
}

.text p {
    font-size: 20px !important;
    line-height: 2rem !important;
    margin-bottom: 40px !important;
}

.logo-helicopters-cosa-facciamo {
    background-color: rgba(0, 0, 0, .35);
}

.titolo-benvenuti {
    text-align: center;
    padding-top: 70px;
    padding-bottom: 30px;
    font-size: 60px;
    line-height: 4rem;
}

.intestazione-logo-helicopters-cosa-facciamo {
    padding: 1rem;
    padding-left: 2rem;
    padding-top: 1.5rem;
}

.text h5 {
    line-height: 1.3 !important;
}

.timeline ul li {
    margin-top: -40px !important;
}

.timeline-content a div h2 {
    font-size: 34px !important;
    line-height: 3rem !important;
}

.timeline-content a div {
    font-size: 20px !important;
    line-height: 3rem !important;
}

ul.description li {
    line-height: 1.75rem !important;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}
.dark-bg-custom {
    background-color: rgba(0, 0, 0, .35);
}

section,
.slide {
    padding-top: 0px !important;
}

.dark-bg-147 {
    background: rgba(212, 212, 212, 0.2);
}

@media only screen and (max-width: 580px) {
    [class*='bg-'] a, [class*='bg-gradient-'] a {
        color: #44d;
    }

    .wrap[class*='bg-'], .wrap.frame, [class*='content-'][class*='bg-'], [class*='content-'].frame, [class*='align'][class*='bg-'] {
        padding: 0rem;
    }

    .mobile-padding {
        padding: 20px !important;
    }
    .title-mobile-padding {
        line-height: 2.4rem;
        padding-left: 25px !important;
        padding-top: 20px;
    }

    .intestazione-logo-helicopters-cosa-facciamo {
        padding-left: 0;
    }

    .titolo-benvenuti {
        margin-right: 20px;
        margin-left: 20px;
        line-height: 2.2rem;
    }

    .grid > .column {
        padding: 1em !important;
    }

    .timeline-content a div {
        font-size: 16px !important;
        line-height: 3rem !important;
    }

    .timeline ul li {
        margin-top: 0px !important;
    }

    div a h2 {
        font-size: 2em !important;
    }

    .timeline ul li {
        margin-bottom: 1.5em !important;
    }

    h5 {
        padding-top: 40px;
        padding-bottom: 10px;
    }

    .wrapper {
        display: flex;
        flex-direction: column;
    }

    .pyramid {
        width: 100% !important;
        padding-right: 0px !important;
    }

    .zone {
        height: unset;
    }

    .text-intro {
        font-size: 16px !important;
        line-height: 1.5 !important;
    }

    .text p {
        font-size: 16px !important;
        line-height: 1.4 !important;
    }

    .text h5 {
        font-size: 22px;
        line-height: 1.2;
    }

    .description li {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }

    .description li span {
        font-size: 16px !important;
        line-height: 1.3 !important;
    }

    .timeline-content {
        font-size: 16px !important;
        line-height: 1.4 !important;
    }

    .timeline-content .date {
        margin-bottom: 0px !important;
        font-size: 26px !important;
    }

    section,
    .slide {
        padding: 0px !important;
    }

    li {
        line-height: .7 !important;
    }

    .column>p {
        margin-bottom: 0.1rem;
    }

    .pb-5rem {
        padding-bottom: 1rem !important;
    }

    .timeline-content p {
        line-height: 1.3 !important;
    }

    .timeline {
        width: 95% !important;
    }

    .timeline-content .date {
        position: absolute;
        top: -30px;
    }

    .timeline-white ul li {
        position: relative;
    }

    .timeline ul li {
        position: relative;
    }

    .timeline-content a div h2 {
        font-size: 20px !important;
        line-height: 1.5rem !important;
    }
}

@media (max-width:768px) {
    h2 {
        font-size: 26px !important;
    }

    h3 {
        font-size: 22px !important;
    }
}

@media (max-width:1024px) {
    h2 {
        font-size: 30px !important;
    }

    h3 {
        font-size: 26px !important;
    }
}

@media (max-width:1280px) {
    h2 {
        font-size: 32px !important;
    }

    h3 {
        font-size: 28px !important;
    }
}

@media only screen and (min-width: 580px) {
    .timeline:before {
        content: "";
        position: absolute;
        top: -40px;
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: 100%;
        background-color: gray;
    }

    .timeline-white:before {
        content: "";
        position: absolute;
        top: -40px;
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: 100%;
        background-color: rgb(25, 25, 25);
    }

    .timeline ul li {
        width: 50%;
        position: relative;
        margin-bottom: 50px;
    }

    .timeline ul li:nth-child(odd) {
        float: left;
        clear: right;
        transform: translateX(-30px);
        border-radius: 20px 0px 20px 20px;
    }

    .timeline ul li:nth-child(even) {
        float: right;
        clear: left;
        transform: translateX(30px);
        border-radius: 0px 20px 20px 20px;
    }

    .timeline ul li::before {
        content: "";
        position: absolute;
        height: 20px;
        width: 20px;
        border-radius: 50%;
        background-color: gray;
        top: 0px;
    }

    .timeline-white ul li::before {
        content: "";
        position: absolute;
        height: 20px;
        width: 20px;
        border-radius: 50%;
        background-color: #2d2d2d;
        top: 0px;
    }

    .timeline ul li:nth-child(odd)::before {
        transform: translate(50%, -50%);
        right: -30px;
    }

    .timeline ul li:nth-child(even)::before {
        transform: translate(-50%, -50%);
        left: -30px;
    }

    .timeline-content .date {
        position: absolute;
        top: -43px;
    }

    .timeline ul li:hover::before {
        background-color: aqua;
    }

    .timeline-white ul li:hover::before {
        background-color: rgb(254, 198, 198);
    }

    .timeline-white ul li .timeline-content a {
        color: rgb(0, 0, 0);
    }
}