html .bg-color-primary, html .bg-primary {
    background-color: #004e70 !important;
}

a.readmore {
    color: #568327;
    font-family: "Shadows Into Light";
    font-style: italic;
    font-size: 1.8em;
    font-weight: normal !important;
}

    a.readmore:hover {
        color: #444;
    }

.breadcrumb {
    z-index: 0;
}

.page-header.page-header-sm {
    padding: 10px 0;
}

section.section {
    background: #f7f7f7;
    border-top: 5px solid #f1f1f1;
    margin: 20px 0;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px 0;
}

/* DESKTOP */
@media (min-width: 992px) {
    #header .header-nav-bar .header-nav {
        min-height: 55px;
    }
}

.card {
    --bs-card-border-radius: 0rem;
    border: 0px solid rgba(0, 0, 0, 0.06);
}

.accordion .card:first-of-type, .accordion .card:not(:first-of-type):not(:last-of-type), .accordion .card:last-of-type {
    border-radius: 0rem;
}

.card-img, .card-img-top {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.card-img, .card-img-bottom {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.thumb-info.thumb-info-no-borders.thumb-info-no-borders-rounded, .thumb-info.thumb-info-no-borders.thumb-info-no-borders-rounded img, .thumb-info.thumb-info-no-borders.thumb-info-no-borders-rounded .thumb-info-wrapper, .thumb-info.thumb-info-no-borders.thumb-info-no-borders-rounded .thumb-info-wrapper::after {
    border-radius: 0px;
}

.card.card-custom.card-stretch {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: stretch !important;
    -ms-flex-align: stretch !important;
    align-items: stretch !important;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 95.8%;
}

.ui-widget.ui-widget-content {
    position: relative;
    z-index: 200000;
}

.accordion.accordion-modern-status > .card + .card {
    margin-top: 0px;
}

.cat-list {
    list-style: none;
}

.pretty.p-bigger label::before, .pretty.p-bigger label::after, .pretty.p-bigger .icon, .pretty.p-bigger .svg, .pretty.p-bigger .img {
    font-size: 1.5em !important;
    top: calc((0% - (100% - 1em)) - 80%) !important;
}

.pretty input:checked ~ .state.p-success label::after, .pretty.p-toggle .state.p-success label::after {
    background-color: #0088cc !important;
}

.alert {
    --bs-alert-padding-y: 0rem;
}

.btn.btn-clear {
    padding: 0.8rem;
    border-radius: 0;
    background-color: #fff;
    color: #000;
    border: 1px solid #ddd;
}

.add-margin {
    margin-top: -3rem;
}

.badge-over {
    position: absolute;
    left: 1rem;
    top: 1rem;
    z-index: 1000;
}

.thumb-info .thumb-info-type {
    padding: 2px 25px;
    line-height: 3;
}

.thumb-info .thumb-info-type, .thumb-info .thumb-info-action-icon, .thumb-info-social-icons a, .thumbnail .zoom, .img-thumbnail .zoom, .thumb-info-ribbon {
    background-color: #222;
    color: #fff;
    opacity: 0.9;
}

/* CURVES LINE */
#balloon {
    transform: rotate(0deg) scaleX(-1);
    margin-right: 200px;
}

#arch {
    border-left: solid 10px #fff;
    /*transform: rotate(1deg);*/
    border-radius: 100%;
    height: 700px;
    width: 500px;
    margin-left: -350px;
    padding-top: 100px;
    margin-top: -80px;
    transform: rotate(0deg) scaleX(-1);
}

#arch-outer {
    /* serves as a blade to cut off overly curved area */
    height: 600px;
    width: 500px;
    overflow: hidden;
    /* Cuts off the overly cured area */
}

#arch li {
    font-size: 10rem;
    height: 100px;
    color: rgb(153, 217, 234);
}

    #arch li:nth-of-type(1) {
        margin-left: 16rem;
        list-style-image: url("../img/home/BV-01.png");
    }

    #arch li:nth-of-type(2) {
        margin-left: 17.9rem;
        list-style-image: url("../img/home/BV-02.png");
    }

    #arch li:nth-of-type(3) {
        margin-left: 18.9rem;
        list-style-image: url("../img/home/BV-03.png");
    }

    #arch li:nth-of-type(4) {
        margin-left: 18.3rem;
        list-style-image: url("../img/home/BV-04.png");
    }

    #arch li:nth-of-type(5) {
        margin-left: 16.4rem;
        list-style-image: url("../img/home/BV-05.png");
    }

    #arch li:nth-of-type(6) {
        margin-left: 1.25em;
        margin-top: -0.7rem;
        list-style-image: url("../img/home/BV-06.png");
    }

    #arch li a {
        font-size: 2.3rem;
        line-height: 76px;
        vertical-align: middle;
        color: #fff;
        margin-left: 0rem;
        cursor: default;
    }

@-moz-document url-prefix() {
    #arch li:nth-of-type(1) {
        margin-left: 19.6rem;
        list-style-image: url("../img/home/BV-01.png");
    }

    #arch li:nth-of-type(2) {
        margin-left: 21.8rem;
        list-style-image: url("../img/home/BV-02.png");
    }

    #arch li:nth-of-type(3) {
        margin-left: 22.5rem;
        list-style-image: url("../img/home/BV-03.png");
    }

    #arch li:nth-of-type(4) {
        margin-left: 21.9rem;
        list-style-image: url("../img/home/BV-04.png");
    }

    #arch li:nth-of-type(5) {
        margin-left: 20rem;
        list-style-image: url("../img/home/BV-05.png");
    }

    #arch li:nth-of-type(6) {
        margin-left: 1.64em;
        margin-top: -0.7rem;
        list-style-image: url("../img/home/BV-06.png");
    }

    #arch li a {
        font-size: 2.3rem;
        line-height: 76px;
        vertical-align: middle;
        color: #fff;
        margin-left: -3rem;
        cursor: default;
    }
}


#arch li a:hover {
    text-decoration: none;
}


#balloon2 {
    transform: rotate(0deg) scaleX(-1);
    margin-right: 200px;
}

#arch2 {
    border-left: solid 10px #fff;
    /*transform: rotate(1deg);*/
    border-radius: 100%;
    height: 700px;
    width: 500px;
    margin-left: -350px;
    padding-top: 100px;
    margin-top: -80px;
    transform: rotate(0deg) scaleX(-1);
}

#arch-outer2 {
    /* serves as a blade to cut off overly curved area */
    height: 600px;
    width: 500px;
    overflow: hidden;
    /* Cuts off the overly cured area */
}

#arch-outer3 {
    /* serves as a blade to cut off overly curved area */
    height: 500px;
    width: 500px;
    overflow: hidden;
    text-align: center
}

#arch2 li {
    font-size: 10rem;
    height: 100px;
    color: rgb(153, 217, 234);
    margin-bottom: 1.0rem;
}

    #arch2 li:nth-of-type(1) {
        margin-left: 16rem;
        list-style-image: url("../img/home/BG-01.png");
    }

    #arch2 li:nth-of-type(2) {
        margin-left: 18.4rem;
        list-style-image: url("../img/home/BG-02.png");
    }

    #arch2 li:nth-of-type(3) {
        margin-left: 18.9rem;
        list-style-image: url("../img/home/BG-03.png");
    }

    #arch2 li:nth-of-type(4) {
        margin-left: 17.8rem;
        list-style-image: url("../img/home/BG-04.png");
    }

    #arch2 li:nth-of-type(5) {
        margin-left: 13.8rem;
        list-style-image: url("../img/home/BG-05.png");
    }

    #arch2 li a {
        font-size: 2.3rem;
        line-height: 76px;
        vertical-align: middle;
        color: #fff;
        margin-left: 0rem;
        cursor: pointer;
        text-decoration:underline;
    }

@-moz-document url-prefix() {
    #arch2 li:nth-of-type(1) {
        margin-left: 19.6rem;
        list-style-image: url("../img/home/BG-01.png");
    }

    #arch2 li:nth-of-type(2) {
        margin-left: 22rem;
        list-style-image: url("../img/home/BG-02.png");
    }

    #arch2 li:nth-of-type(3) {
        margin-left: 22.5rem;
        list-style-image: url("../img/home/BG-03.png");
    }

    #arch2 li:nth-of-type(4) {
        margin-left: 21.4rem;
        list-style-image: url("../img/home/BG-04.png");
    }

    #arch2 li:nth-of-type(5) {
        margin-left: 17.4rem;
        list-style-image: url("../img/home/BG-05.png");
    }

    #arch2 li a {
        font-size: 2.3rem;
        line-height: 76px;
        vertical-align: middle;
        color: #fff;
        margin-left: -3rem;
        cursor: pointer;
        text-decoration: underline;
    }
}

#arch2 li a:hover {
    text-decoration: none;
}



/* HOME */
.p-text {
    line-height: 20px;
    font-size: 0.9rem;
    color: #444;
}

html .bg-color-tertiary, html .bg-tertiary {
    background-color: #49A300 !important;
}

html .bg-color-quaternary, html .bg-quaternary {
    margin: 0;
    background: url(../img/home/bg-aluminium2.jpg) no-repeat 50% 50% fixed;
    background-size: cover;
}

a.active.dropdown-item {
    background-color: #8CD123;
}

@media (min-width: 992px) {
    .custom-highlight-1::after {
        background-color: #8CD123;
    }
}

.timeline {
    display: block;
}

.timeline-mobile {
    display: none;
}

@media only screen and (max-width: 760px) {
    .timeline {
        display: none;
    }

    .timeline-mobile {
        display: block;
    }

    #arch li a {
        font-size: 1.5rem;
    }
}

@media (min-width: 992px) {
    #header .header-nav-main nav > ul > li > a {
        font-size: inherit;
    }
}

@media (min-width: 1200px) {
    .container:not(.container-bs):not(.container-xl-custom):not(.container-xxl-custom) {
        max-width: 1650px;
    }

    .page-header {
        margin: 0px
    }

    body {
        background: #EAEDED;
    }
}

.vertical-center {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 40%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}


.custom-highlight-text-1 {
    position: absolute;
    right: -64px;
    bottom: -41px;
    font-size: 36.8px;
    font-size: 2.3rem;
    transform: rotate(-15deg);
}

.alternative-font-3 {
    font-family: 'Segoe Script', 'Zapfino', 'Savoye LET' !important;
}

.left-45pct {
    left: 45%;
}

.left-27pct {
    left: 27%;
}

.top-42pct {
    top: 42%;
}

.transform3dy-n42 {
    transform: translate3d(0, -42%, 0);
}

.left-36pct {
    left: 36%;
}

.top-64pct {
    top: 64%;
}

.transform3dy-n64 {
    transform: translate3d(0, -64%, 0);
}

.left-62pct {
    left: 62.7%;
}

.top-45pct {
    top: 45%;
}

.transform3dy-n45 {
    transform: translate3d(0, -45%, 0);
}

#LAVORAZIONI {
    font-size: 1.5em !important;
    line-height: 4rem;
}

#ESTERNA {
    font-size: 1.2rem;
    line-height: 0.5rem;
    letter-spacing: normal;
}


@media (min-width: 320px) {
    .d-md-block {
        display: block !important;
    }

    #LAVORAZIONI {
        font-size: 1.5em !important;
        line-height: normal;
    }

    #PREZIOSO {
        line-height: 2.7rem;
        text-align: center;
    }

    #RESISTENTE {
        font-size: 1.5em !important;
        line-height: 2rem;
    }

    #ESTRUSIONE {
        font-size: 1.0em !important;
        line-height: normal;
        text-align: center;
    }

    #VITA, #RESISTENTE {
        text-align: center;
        font-weight: 700;
    }

    #ESTERNA {
        font-size: 1.0rem;
        line-height: 1rem;
    }

    #PASSIONE, #RIFERIMENTO {
        font-size: 1.0rem !important;
        font-weight: 700 !important
    }

    #MISSION {
        text-align: center;
        font-size: 5rem;
    }

    #arch2 li a {
        font-size: 1.5rem;
    }

    html .text-color-secondary, html .text-secondary {
        color: #c00000 !important;
    }

    .alternative-font-3 {
        font-family: 'Segoe Script', 'Zapfino', 'Savoye LET' !important;
    }

    .custom-highlight-text-1 {
        position: absolute;
        right: 60px;
        bottom: -11px;
        font-size: 36.8px;
        font-size: 1.2rem;
        transform: rotate(-15deg);
    }

    .riquadro {
        background-color: #000;
        opacity: 0.7;
        border-radius: 10px;
    }


