:root {
    --primary: #164EDC;
    --secondary: #426DA9;
    --tertiary: #2BAAB1;
    --quaternary: #383f48;
    --5th: #383f48;
    --6th: #383f48;
}

html #header .header-logo.custom-header-logo::before {
    background-color: var(--primary);
}

.container:not(.container-bs):not(.container-xl-custom):not(.container-xxl-custom) {
    max-width: 1320px;
}

html:not(.sticky-header-active) #header.header-semi-transparent-light .header-body {
    background-color: rgba(255, 255, 255, 0.75) !important;
}

.custom-big-text-style-1 {
    font-size: 5.8rem;
    letter-spacing: 3px;
    line-height: 0.85;
    color: #000;
}

html #header .header-nav-main nav > ul > li > a {
    font-size: .95rem;
}

#header .header-nav.header-nav-links nav > ul li:hover > a, #header .header-nav.header-nav-links nav > ul:not(:hover) > li > a.active {
    color: var(--secondary);
}

#header .header-nav-main.header-nav-main-text-capitalize nav > ul > li > a {
    text-transform: uppercase;
}

.nav-link, .nav-link:hover, .nav-link:focus {
    color: #426DA9;
}

.custom-outline-text-style-1 {
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-color: lightblue;
    -webkit-text-stroke-width: 1.5px;
    letter-spacing: 5px;
    font-size: 0.9rem;
}

html .text-color-primary, html .text-primary {
    color: #426DA9 !important;
}

a {
    color: #426DA9;
}

    a:hover {
        color: #426DA9;
    }

    a:active {
        color: #426DA9;
    }

html .svg-fill-color-primary svg path, html .svg-fill-color-primary svg rect, html .svg-fill-color-primary svg line, html .svg-fill-color-primary svg polyline, html .svg-fill-color-primary svg polygon {
    fill: #426DA9 !important;
}

.diamonds > li {
    display: inline-block;
    font-size: 18px;
    margin-right: 60px;
    margin-bottom: 7em;
}

    .diamonds > li:nth-child(3) {
        position: static;
        margin-right: none;
    }

    .diamonds > li:nth-child(4) {
        position: static;
        margin-left: 65px;
    }

    .diamonds > li:nth-child(5) {
        position: static;
        margin-right: none;
    }

html .bg-color-dark, html .bg-dark {
    background-color: #426DA9 !important;
}

.bg-dark {
    background-color: #426DA9 !important;
}

.custom-square-1 {
    width: 100px;
    height: 100px;
    background-color: #CCC;
    transform: rotate(45deg);
    transform-origin: -40% 100%;
}

h2.imgbg {
    opacity: .9;
    border: 1px solid rgb(33,37,41,.2);
    padding: 10px 0;
}

h2 span {
    font-size: .9rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    margin-left: 1em;
}

.arrow.vbl {
    background-position: 0 -144px;
    width: 47px;
    height: 96px;
    position: absolute;
    margin-left: 10px;
    top: 0;
}

html .btn-primary {
    background-color: #426DA9;
    border-color: #fff;
    color: #FFF;
}

    html .btn-primary:hover, html .btn-primary.hover, html .btn-primary.focus {
        background-color: #426DCC;
        border-color: #fff;
    }

        html .btn-primary:hover:not(.bg-transparent), html .btn-primary.hover:not(.bg-transparent), html .btn-primary.focus:not(.bg-transparent) {
            background-color: #212529;
        }

    html .btn-primary:active:not(.bg-transparent), html .btn-primary.active:not(.bg-transparent) {
        background-color: #212529 !important;
        background-image: none !important;
    }

    html .btn-primary:focus:not(.bg-transparent), html .btn-primary.focus:not(.bg-transparent) {
        background-color: #426DCC;
        border-color: none;
    }

    html .btn-primary:focus, html .btn-primary.focus {
        border-color: #fff;
        color: #FFF;
        box-shadow: 0 0 0 3px rgba(224, 70, 34, 0.5);
    }

.img-overlay, .text-overlay {
    z-index: 1;
    max-width: 50%;
    padding: 0 50px 50px;
}

.section {
    padding: 100px;
    margin-bottom: 0;
}

.section-overlay {
    background-color: rgba(34, 115, 248, 0.75);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    padding: 50px 50px;
}

.parallax blockquote span {
    font-size: 16px;
    line-height: 20px;
    color: #FFF;
    position: relative;
    left: -5px;
}

.overtext {
    position: absolute;
    width: 100%;
    top: 0;
    right: 0;
    font-size: 1.7rem;
    padding: .7rem;
    font-weight: 500;
    text-shadow: 2px 2px 1px #FFF;
    background-color: aliceblue;
}

::selection {
    color: #FFF;
    background: #426DA9;
}

.diamonds .diamond::before {
    transition: all 0.2s ease;
    color: #fff;
    content: "\e08d";
    font-family: "simple-line-icons";
    font-size: 28px;
    position: absolute;
    left: 50%;
    top: 50%;
    opacity: 0;
    z-index: 1000;
    transform-origin: 50% 50%;
    transform: translate3d(-50%, -50%, 0) rotate(45deg) scale(2);
}

.testimonial.testimonial-with-quotes.testimonial-quotes-dark blockquote::before, .testimonial.testimonial-with-quotes.testimonial-quotes-dark blockquote::after {
    color: #FFF !important;
}

.dropdown-menu {
    position: absolute;
    z-index: 1000;
    display: none;
    min-width: 2rem;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: .25rem;
}

#header .header-nav-main nav > ul > li.dropdown .dropdown-menu li a {
    border-bottom: 1px solid #f7f7f7;
    color: #777;
    font-size: 0.95em;
    font-weight: 500;
    padding: 8px 18px;
    position: relative;
    text-transform: none;
    text-decoration: none;
    letter-spacing: .5px;
}

#header .header-nav-main nav > ul > li.dropdown .dropdown-menu li:hover > a,
#header .header-nav-main nav > ul > li.dropdown .dropdown-menu li:focus > a,
#header .header-nav-main nav > ul > li.dropdown .dropdown-menu li.active > a,
#header .header-nav-main nav > ul > li.dropdown .dropdown-menu li:active > a,
#header .header-nav-main nav > ul > li.dropdown .dropdown-menu li.open > a,
#header .header-nav-main nav > ul > li.dropdown .dropdown-menu li.accessibility-open > a {
    background-color: aliceblue;
}

#header .header-nav.header-nav-links nav > ul > li.dropdown.open > .dropdown-menu, #header .header-nav.header-nav-links nav > ul > li.dropdown.accessibility-open > .dropdown-menu, #header .header-nav.header-nav-links nav > ul > li.dropdown:hover > .dropdown-menu, #header .header-nav.header-nav-line nav > ul > li.dropdown.open > .dropdown-menu, #header .header-nav.header-nav-line nav > ul > li.dropdown.accessibility-open > .dropdown-menu, #header .header-nav.header-nav-line nav > ul > li.dropdown:hover > .dropdown-menu {
    margin-top: -1px;
}

html .svg-fill-color-dark, .svg-fill-color-dark {
    fill: #164EDC !important;
}

html .svg-fill-color-primary {
    fill: var(--primary) !important;
}

.custom-card:hover::before {
    background-color: #426DA9;
}

html .text-color-secondary, html .text-secondary {
    color: #212529 !important;
}

span.products {
    letter-spacing: .02rem;
}

html .text-color-hover-primary:hover, html .text-hover-primary:hover {
    color: #426DA9 !important;
}

.custom-process-style-1.process.process-vertical .process-step::after {
    width: 2px;
    height: calc(100% - 110px);
    top: 95px;
    left: 35px;
    background-color: #d4d4d4;
}

.custom-process-style-1.process.process-vertical .process-step-circle {
    width: 70px;
    height: 70px;
    border-color: #CCC;
    flex: 0 0 auto;
}

.process .process-step:hover .process-step-circle {
    background-color: aliceblue;
}

    .process .process-step:hover .process-step-circle .process-step-circle-content {
        color: #000 !important;
    }

.custom-process-style-1.process.process-vertical .process-step:hover .process-step-circle {
    border-color: #ccc;
}

.sidebar ul li {
    line-height: 2.1;
}

    .sidebar ul li a:before {
        position: relative;
        content: '';
        left: 0;
        top: 0;
        bottom: 0;
        border-left: 5px solid aliceblue;
        padding: 20px 0;
        margin-right: 20px;
    }

    .sidebar ul li a.active:before {
        border-left: 5px solid var(--secondary);
    }

.custom-text-6-cat-subcat {
    font-size: 1.80em !important;
}

html .highlight-primary.highlight-bg-opacity {
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 50%, rgba(66,109,169, 0.8) 0);
    color: #fff;
}

html body .tabs.tabs-simple .nav-tabs > li .nav-link.active, html.dark body .tabs.tabs-simple .nav-tabs > li .nav-link.active, html body .tabs.tabs-simple .nav-tabs > li .nav-link.active:focus, html.dark body .tabs.tabs-simple .nav-tabs > li .nav-link.active:focus, html body .tabs.tabs-simple .nav-tabs > li .nav-link:hover, html.dark body .tabs.tabs-simple .nav-tabs > li .nav-link:hover, html body .tabs.tabs-simple .nav-tabs > li .nav-link.active:hover, html.dark body .tabs.tabs-simple .nav-tabs > li .nav-link.active:hover {
    border-top-color: #426DA9;
    color: #426DA9;
}

html body .tabs.tabs-bottom .nav-tabs li .nav-link:hover, html.dark body .tabs.tabs-bottom .nav-tabs li .nav-link:hover, html body .tabs.tabs-bottom .nav-tabs .nav-link.active, html.dark body .tabs.tabs-bottom .nav-tabs .nav-link.active, html body .tabs.tabs-bottom .nav-tabs .nav-link.active:hover, html.dark body .tabs.tabs-bottom .nav-tabs .nav-link.active:hover, html body .tabs.tabs-bottom .nav-tabs .nav-link.active:focus, html.dark body .tabs.tabs-bottom .nav-tabs .nav-link.active:focus {
    border-bottom-color: #426DA9;
}

.custom-process-style-1.process.process-vertical .process-step-circle .process-step-circle-content {
    color: #426DA9;
}

#sidebar a.active {
    color: #426DA9 !important;
    font-weight: 600;
}

.text-13 {
    font-size: 2.6em !important;
}

.custom-accordion-style-1 > .card:hover .card-header a.collapsed {
    color: #426DA9 !important;
}

.custom-accordion-style-1 > .card .card-header a:not(.collapsed) {
    background-color: #426DA9;
    color: #FFF !important;
}

.process-vertical .process-step {
    width: 100%;
    flex-direction: row;
    justify-content: start;
    align-items: start;
    position: relative;
    padding-bottom: 55px;
}

.readmore-button-wrapper {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 1px;
    z-index: -1;
    background-color: transparent;
}

.mt-40 {
    margin-top: 2.5rem !important;
}

.readmore-overlay {
    background: linear-gradient(rgba(2, 0, 36, 0) 0%, #f4f4f4 36%) !important;
}

.text-color-3 {
    color: green;
    font-size: 1.1rem;
    line-height: 1.2;
}

.img-thumbnail.prodotti {
    padding: .25rem;
    background-color: #f7f7f7;
    border: 1px solid var(--bs-border-color);
    border-radius: .375rem;
    max-width: 100%;
    height: auto;
}

.recent-posts .date .month, article.post .post-date .month {
    background-color: var(--secondary);
}

article.post .post-date .day {
    color: var(--secondary);
}

.owl-carousel .owl-dots .owl-dot.active span, .owl-carousel .owl-dots .owl-dot:hover span {
    background-color: var(--secondary);
}


html .bg-color-light, html .bg-light {
    background-color: #fff !important;
}

.overlay:hover::before {
    opacity: 0.15;
}

.btn-modern {
    font-size: 1em;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus, .pagination .page-item.active .page-link {
    background-color: #f4f4f4 !important;
    border-color: #00000020;
}

.pagination > a, .pagination > a:hover, .pagination > a:focus, .pagination > li > a, .pagination > li > span, .pagination > li > a:hover, .pagination > li > span:hover, .pagination > li > a:focus, .pagination > li > span:focus {
    color: #426DA9;
}

.pagination > .active > a, body.dark .pagination > .active > a {
    background-color: #ff3f00;
    border-color: #ff3f00 #ff3f00 #cc3200;
    color: #426DA9;
}

    .pagination > .active > a:hover, body.dark .pagination > .active > a:hover, .pagination > .active > a.hover, body.dark .pagination > .active > a.hover {
        border-color: #ff6533 #ff6533 #ff3f00;
        color: #426DA9;
    }

#header .header-btn-collapse-nav {
    background: #426DA9;
}

#header .header-nav-main:not(.header-nav-main-mobile-dark) nav > ul > li > a {
    color: #000;
}

    #header .header-nav-main:not(.header-nav-main-mobile-dark) nav > ul > li > a.active {
        background: #f4f4f4;
    }

        #header .header-nav-main:not(.header-nav-main-mobile-dark) nav > ul > li > a.active:focus, #header .header-nav-main:not(.header-nav-main-mobile-dark) nav > ul > li > a.active:hover {
            background: #f4f4f4;
        }

#header .header-nav-main nav > ul > li > a.active {
    color: #426DA9 !important;
    background: #ccc;
}

.text-center-footer {
    visibility: visible;
}

article.post .post-date {
    float: left;
    margin-right: 10px;
    text-align: center;
}

html .bg-color-primary, html .bg-primary {
    background-color: var(--secondary) !important;
}

@media (max-width:575px) {
    .diamonds-wrapper {
        min-height: 1550px;
    }
}

@media (max-width:1280px) {
    .diamonds > li {
        margin-right: 40px;
    }
}

@media (max-width:1024px) {
    .diamonds > li {
        margin-right: 50px;
    }

    html #header .header-nav-main nav > ul > li > a {
        font-size: .88rem;
    }
}

@media (max-width:810px) {
    .diamonds > li:nth-child(2n+2) {
        margin-top: 0px;
    }

    .custom-big-text-style-1 {
        font-size: 4.6rem;
    }

    .left-100pct {
        top: 10%;
        left: 80%;
    }

    .text-center-footer {
        text-align: center !important;
    }

    .custom-svg-position-1 {
        left: -250px;
        top: 0%;
        transform: translate(0, -38%);
    }


    h1 span._h1 {
        position: absolute;
        min-width: 500px;
        margin: 0 auto;
        top: 50%;
        transform: translate(0, -50%);
        right: 10em;
        font-size: 1.2rem;
        letter-spacing: 0;
    }

    h2 span {
        font-size: 1.3rem;
        margin-left: 0;
    }
}

@media (max-width:460px) {
    .custom-big-text-style-1 {
        font-size: 2.8rem;
    }

    .left-100pct {
        top: 48%;
        left: 76%;
    }

    .img-overlay, .text-overlay {
        z-index: 1;
        max-width: 100%;
        padding: 0 50px 500px;
    }


    .custom-svg-position-1 {
        left: -160px;
        top: 0%;
        transform: translate(0, -30%);
    }


    h1 span._h1 {
        position: absolute;
        min-width: 360px;
        margin: 0 auto;
        top: 50%;
        transform: translate(0, -10%);
        right: 8em;
        font-size: 1.15rem;
        letter-spacing: 0;
    }

    h2 span {
        font-size: 1.3rem;
        margin-left: 0;
    }
}

.ribo{
    padding: 5rem 15px;
}

.ribo h2 {
    color: #212529;
    font-weight: 400;
    line-height: 1;
    font-size: 2.75em;
    letter-spacing: -.05em;
    margin: 0;
}

.ribo p {
    color: #777;
    font-weight: 300;
    line-height: 26px;
    font-size: 1.1em;
    margin: 0;
}

.ribo.overlay::before{
    content: ' ';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.5) !important;
}

.ribo .btn{
    font-size: 1rem;
    padding: 0.8rem 2rem;
    text-transform: uppercase;
    font-weight: 600;
    border-width: 1px;
    border-style: solid;
    width: fit-content;
    min-width: 180px;
    background-color: #000;
    border-color: #000;
    color: #FFF;
}

.ribo .btn:hover{
    background-color: #fff !important;
    border-color: #000 !important;
    color: #000 !important;
}

.ribo .btn.btn-classic{
    background-color: #426DA9;
    border-color: #426DA9;
    color: #FFF;
}

.ribo .btn.btn-classic:hover{
    background-color: #212529 !important;
    border-color: #FFF !important;
    color: #FFF !important;
}

.ribo.bg-blue {
    background-color: rgba(34, 115, 248, 0.75);
}

.ribo.bg-blue h2,
.ribo.bg-blue p,
.ribo.bg-blue ::before,
.ribo.bg-blue ::after{
    color: #fff;
}

.ribo.d-flex {
    gap: 3rem;
}

.ribo .text-right {
    text-align: right;
}

.ribo .align-center{
    align-items: center;
}

.ribo .title-content {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.ribo .gap-3{
    gap: 3rem!important;
}

.ribo .w-50-g-3{
    width: calc(((100% - (3rem * 1))/2)*1);
}

.ribo .timeline {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 2rem;
}

    .ribo .timeline .timeline-event {
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2rem;
        padding: 2rem 1rem;
        background-color: #212529;
        align-items: center;
    }

        .ribo .timeline .timeline-event .timeline-date {
            color: #fff;
            font-weight: 700;
            line-height: 50px;
            font-size: 2.6em;
        }

        .ribo .timeline .timeline-event hr {
            color: #fff;
            height: 3rem;
            width: 2px;
            background-color: #fff;
            display: block;
            margin: 0;
        }

        .ribo .timeline .timeline-event .timeline-content {
            color: #fff;
            flex-grow: 1;
        }
        
.ribo .citation{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    position: relative;
}

.ribo .citation .citation-content{
    line-height: 150%;
    font-size: 1.575em;
    position: relative;
}

.ribo .citation .citation-content::before{
    display: block;
    left: -30px;
    top: -10px;
    content: "\201C";
    font-size: 65px;
    line-height: 1;
    position: absolute;
}

.ribo .citation .citation-content::after{
    display: block;
    right: -30px;
    bottom: -10px;
    content: "\201C";
    font-size: 65px;
    line-height: 1;
    position: absolute;
    transform: rotate(180deg);
}

.ribo .citation .citation-content *{
    line-height: inherit;
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
}

.ribo form{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
}

.ribo form .w-50{
    width: calc(((100% - (1rem * 1))/2)*1)!important;
}

.ribo form input:not([type="checkbox"]),
.ribo form select,
.ribo form textarea{
    border-style: solid;
    border-width: 1px;
    border-color: rgba(66, 109, 169, 0.65)!important;
    padding: 0.8rem 2rem;
    font-family: "Poppins", Arial, sans-serif;
    transition: all 0.3s ease;
    color: rgba(33, 37, 41, 1);
    line-height: 1;
    margin: 0;
    font-size: 0.9rem;
}

.ribo form input:not([type="checkbox"])::placeholder,
.ribo form select::placeholder,
.ribo form textarea::placeholder{
    color: rgba(33, 37, 41, 0.75);
    font-size: 0.9rem;
    line-height: 1;
}

.ribo form input:not([type="checkbox"]):focus-visible,
.ribo form select:focus-visible,
.ribo form textarea:focus-visible{
    outline: none;
}

.ribo form input:not([type="checkbox"]):focus,
.ribo form select:focus,
.ribo form textarea:focus{
    border-color: rgba(66, 109, 169, 1);
}

.ribo form textarea{
    min-height: 200px;
}

.ribo form span{
    font-family: "Poppins", Arial, sans-serif;
    color: #212529;
    margin-bottom: 10px;
    font-size: 1.15rem;
    font-weight: 400;
}

.ribo form input[type="checkbox"]+span{
    margin-bottom: 0;
}


@media (max-width: 1023px) {

    .ribo .timeline {
        flex-direction: row;
    }

        .ribo .timeline .timeline-event {
            flex-direction: column;
            gap: 1.5rem;
            width: calc(((100% - (2rem * 1)) / 2) * 1);
        }

            .ribo .timeline .timeline-event .timeline-date {
                order: 0;
            }

            .ribo .timeline .timeline-event hr {
                width: 15%;
                height: 1px;
                order: 1;
            }

            .ribo .timeline .timeline-event .timeline-content {
                order: 2;
                text-align: center;
            }
            
    .d-none-tablet{
        display: none;
    }
    
    .ribo .citation{
        width: 100%;
        text-align: center;
    }
    
    .ribo .citation .citation-content{
        margin: 0 30px;
    }
    
}

@media (max-width: 767px) {

    .text-center-cell{
        text-align: center;
    }

    .ribo .timeline .timeline-event {
        width: 100%;
    }
    
    .ribo form{
        justify-content: center;
    }
    
    .ribo form .w-50{
        width: 100% !important;
    }
}
