/*!
 * FIle CSS per classi CUSTOM 
 * Da utilizzare per aggiungere classi una volta online o per cose che non modificanno Bootstrap
 * 
 */

/* EXTRA 
--------------------------------------------------*/

b,
strong {
    font-weight: 600;
}

::selection {
    background-color: var(--bs-primary);
}

a::selection {
    color: var(--bs-body-color);
}

.text-primary::selection,
.text-secondary::selection {
    color: var(--bs-body-color);
}

html {
    scroll-timeline: --page-scroll block;
}

h2,
h3,
h4,
h5,
p {
    scroll-margin-top: var(--height-menu);
}

#scroll-top {
    display: none;

    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 99;

    border-radius: 50%;
    border: #ffffff solid 2px;
    background-color: transparent;
    color: #ffffff;
    font-size: 20px;

    padding: 4px 10px;

    transition: all 0.5s;
}

:root {
    --height-menu: 105px;
    --screen-h: calc(100vh - var(--height-menu));

    /* Button */
    --btn-radius: 10px;
    --btn-padding: 10px 25px;
    --btn-font-size: 20px;
    --btn-font-weight: 400;

    /* Footer Color */
    --bg-footer: url(/sites/default/files/images/sfondo-footer-itabot.webp);
    --text-footer: #ffffff;

    /* Coli header */
    --header-color: #ffffff;
    --bb-h1-color: var(--header-color) !important;
    --bb-h2-color: var(--header-color) !important;
    --bb-h3-color: var(--header-color) !important;
}

.site-footer {
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

.site-footer a {
    color: #ffffff;
}

.site-footer i {
    color: var(--bs-primary);
}

.side-menu a {
    color: black !important;
    cursor: pointer;

    &:hover {
        color: var(--bs-primary) !important;
    }
}

@media (max-width: 564px) {
    .sticky-top {
        position: relative;
    }

    :root {
        --height-menu: 0;
    }
}

@keyframes grow-progress {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

#progress {
    position: fixed;
    left: 0;
    top: var(--height-menu);
    width: 100%;
    height: 0.5em;
    background: var(--bs-secondary);

    transform-origin: 0 50%;
    animation: grow-progress auto linear;
    animation-timeline: --page-scroll;
    z-index: 2;
}

.search-icon {
    color: white;
    font-size: 1.2rem;
    margin-left: 5px;
}

/* Dark mode switch */

.switch {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.switch .light {
    background-color: rgb(235, 245, 255);
}

.switch .dark {
    background-color: rgb(24, 24, 24);
    display: none;
}

.switch .dark,
.switch .light {
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
}

.switch .dark::before,
.switch .light::before {
    font-size: 20px;
    display: block;
}

.switch:hover .light {
    background-color: rgb(24, 24, 24);
    color: rgb(235, 245, 255);
}



.container-text-loop {
    transform: translateY(-50%);
    box-sizing: border-box;
    z-index: 2;

}

.text-loop {

    display: inline-block;
    padding-left: 100%;
    font-size: 10vw;
    color: transparent;
    -webkit-text-stroke: 2px #ffffff;
    white-space: nowrap;
    animation: loop-left 30s linear infinite;

    font-family: "Mitr", sans-serif;
}

@keyframes loop-left {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.number-counterup {
    text-align: center;
    font-size: 5rem;
}

@media (max-width: 768px) {
    .number-counterup {
        font-size: 3rem;
    }
}

.line-before {
    display: flex;
}

.line-before::before {
    content: '';
    position: relative;
    display: block;
    height: 5px;
    width: 150px;
    margin-top: 10px;
    margin-right: 20px;
    background-color: #ffffff;
}


h2.line-before::before {
    content: '';
    position: relative;
    display: block;
    height: 5px;
    width: 30px;
    margin-top: 30px;
    margin-right: 15px;
    background-color: #ffffff;
}


.forza .box,
.fiducia .box {
    padding: 30px;
    margin-bottom: 20px;
}

.forza .box {
    background-color: var(--bs-primary);
}

.fiducia .box {
    background-color: var(--bs-secondary);

}

.forza .box .counter,
.fiducia .box .counter {
    font-size: 40px;
    margin: 0;
    font-family: "Mitr", sans-serif;
}

.cta-bg {
    background-image: url(/sites/default/files/images/call-to-action-itabot.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}


a.btn-arrow {
    color: #ffffff;
    font-size: 20px;
    display: flex;
    align-items: center;
}

a.btn-arrow::after {
    content: '';
    padding: 10px 32px 10px 0;
    font-size: 20px;
    position: relative;
    display: block;
    border: #ffffff solid 1px;
    border-radius: 50%;
    font-family: 'Fontawesome';

    margin-left: 20px;

    transition: all 0.5s;
}

a.btn-arrow:hover::after {
    margin-left: 25px;
    transition: all 0.5s;
}

/* Title */

.title-img {
    position: relative;
}

.title-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.title-img::after {
    content: '';
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;

    background: rgba(2, 0, 2, 7.9);
    background: -webkit-linear-gradient(0deg, rgba(2, 0, 2, 1) 0%, rgba(2, 0, 2, 0) 100%);
    background: -moz-linear-gradient(0deg, rgba(2, 0, 2, 1) 0%, rgba(2, 0, 2, 0) 100%);
    background: linear-gradient(0deg, rgba(2, 0, 2, 1) 0%, rgba(2, 0, 2, 0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#020002", endColorstr="#020002", GradientType=0);

    top: 0;
    left: 0;
}

/* FONT 
--------------------------------------------------*/

body {
    letter-spacing: 1.5px;
    color: #ffffff;
    font-family: 'Kumbh Sans', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    color: #ffffff;
    font-family: "Mitr", sans-serif;
}


.alt-text {
    font-family: "Mitr", sans-serif;
}

/* HEADER 
--------------------------------------------------*/

/* animate */

header {
    transition: all 1s;
    position: static;
    z-index: 99;
}

header.animate-fade-in {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 99;
    transform: translateY(-10px);
    animation: header-animation 1s ease forwards;
}

@keyframes header-animation {
    from {
        transform: translateY(-100px);
    }

    to {
        transform: translateY(0);
    }
}

/* transparent */

.transparent-header {
    position: fixed;
    width: 100%;
}

.transparent-header nav {
    background: transparent !important;
}

/* animate-transparent */

.animate-transparent-header {
    position: absolute;
    width: 100%;
}

.animate-transparent-header nav {
    background: transparent !important;
}

.animate-transparent-fade-in {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99;
    transform: translateY(-10px);
    animation: header-animation 1s ease forwards;
    background: #0000008a;
    backdrop-filter: blur(5px);
}

/* MENU 
--------------------------------------------------*/

a.nav-link:hover,
span.nav-link:hover {
    color: var(--bs-primary);
}

.dropdown-menu {
    margin-top: 3px;
    border-radius: 0px !important;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
    background-color: var(--bs-body-color);
}

.dropdown-item {
    padding: 10px 15px !important;
    border-radius: 0px;
}

.dropdown-item a {
    color: #ffffff;
}

.dropdown-item:hover {
    color: var(--bs-primary);
    background-color: #1c1c1c;
    border-radius: 0;
}

.dropdown-item.active {
    background-color: #1c1c1c;
}

.dropdown-item.active a {
    color: var(--bs-primary) !important;
}

@media (max-width: 1024px) {

    span.menu-animation,
    a.nav-link.is-active {
        border-color: transparent;
    }
}

/* Fade In elements 
------------------------------------------------- */

.fade-in-right,
.fade-in-left,
.fade-in-top,
.fade-in-bottom {
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
    will-change: opacity, transform;
}

.fade-in-right {
    transform: translateX(100%);
}

.fade-in-left {
    transform: translateX(-100%);
}

.fade-in-top {
    transform: translatey(-100%);
}

.fade-in-bottom {
    transform: translatey(100%);
}

.fade-in-zoom {
    transform: scale(0);
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in-zoom.visible {
    transform: scale(100%);
    opacity: 1;
}

.fade-in-left.visible,
.fade-in-right.visible,
.fade-in-top.visibile,
.fade-in-bottom.visible {
    opacity: 1;
    transform: translate(0, 0);
}

@media (max-width: 768px) {

    .fade-in-left,
    .fade-in-right,
    .fade-in-top,
    .fade-in-bottom {
        opacity: 1;
        transform: translate(0, 0);
    }

}

/* BLOG 
--------------------------------------------------*/

.tag-field .field {
    margin: 0;
}

.tag-field .field__items li {
    padding: 0 5px !important;
    margin: 0 3px;
    background-color: var(--bs-secondary);
    border-radius: 5px;
}

/* HOME 
--------------------------------------------------*/

/* Carousel home */

.slick-track {
    text-align: inherit !important;
}

.carousel-home {
    overflow: hidden;
}

.carousel-home .carousel-child {
    position: relative;
}

.carousel-home .text-carousel {
    text-align: center;
    height: 100%;
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-home .slick-slide img {
    width: 100%;
    object-fit: cover;
    position: absolute;
    z-index: -1;
}

.carousel-home .slick-slide img,
.carousel-home .slick-slide,
.carousel-home .carousel-child {
    height: calc(100vh - var(--height-menu)) !important;
}

.carousel-home .slick>div {
    margin: 0 !important;
}

@media (max-width: 564px) {

    .carousel-home .slick-slide img,
    .carousel-home .slick-slide,
    .carousel-home .carousel-child {
        height: 50vh !important;
    }
}

/* Carousel single text */

.carousel-home-single-text {
    overflow: hidden;
}

.carousel-home-single-text .single-text {
    position: absolute;
    z-index: 2;
    right: 0;
    width: 50%;
    padding: 30px;
    background-color: rgba(240, 255, 255, 0.466);
}

.carousel-home-single-text .carousel-child {
    position: relative;
}

.carousel-home-single-text .slick-slide img {
    width: 100%;
    object-fit: cover;
    position: absolute;
    z-index: -1;
}

.carousel-home-single-text .slick-slide img,
.carousel-home-single-text .slick-slide,
.carousel-home-single-text .carousel-child,
.carousel-home-single-text .single-text {
    height: calc(100vh - var(--height-menu)) !important;
}

.carousel-home-single-text .slick>div {
    margin: 0 !important;
}

@media (max-width: 564px) {

    .carousel-home-single-text .slick-slide img,
    .carousel-home-single-text .slick-slide,
    .carousel-home-single-text .carousel-child,
    .carousel-home-single-text .single-text {
        height: 50vh !important;
    }
}

/* Arrow carousel */

.slick-prev.slick-arrow::before {
    content: "\f060" !important;
    font-family: "FontAwesome" !important;
}

.slick-next.slick-arrow::before {
    content: "\f061" !important;
    font-family: "FontAwesome" !important;
}

.slick-arrow {
    height: auto !important;
    width: auto !important;
    background-color: var(--bs-secondary) !important;
    border-radius: 0 !important;
    padding: 30px 5px !important;

    &:hover {
        filter: brightness(0.8) !important;
    }
}

.slick-arrow::before {
    color: var(--bs-primary) !important;
    opacity: 1 !important;
}

/* Parallax */

.parallax-container {
    background-image: url(/sites/default/files/images/sfondo-parallasse-test.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;

    padding: 30px 0;
}

/* .parallax-title {
    position: sticky;
    top: var(--height-menu);
    z-index: 2;
} */

.parallax-title h2 {
    padding: 10vh 0;
    font-size: 10vw;
    text-align: center;
    color: #ffffff;
    text-shadow: #0000006a 0 1px 30px;
}

.container-child {
    display: flex;
    flex-direction: column;
    row-gap: 30vh;
}

.parallax-child {
    position: sticky;
    top: 30vh;
    z-index: 0;
    padding: 10vh 0;
}

.parallax-child .row {
    padding: 50px 30px;
    background-color: #000000;
    color: #ffffff;

    border-radius: 30px;
}

.parallax-child h3 {
    text-align: center;
    font-size: 10rem;
}

@media (max-width: 768px) {
    .parallax-child .row {
        padding: 3vh 0;
    }

    .parallax-child {
        position: sticky;
        top: 10vh;
    }
}

.video-home-intro {
    height: 100vh;
    width: 100%;

    position: relative;
    display: flex;
    align-items: center;
}

.video-home-intro video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.video-home-intro .container .row {
    align-items: center;
}

.video-home-intro a {
    text-align: center;
    background-color: var(--bs-primary);
    color: #ffffff;
    padding: 30px 70px;

    border-radius: 50px;

    margin: auto;

}

.video-home-intro img {
    height: 80px;
    width: 220px;
    object-fit: cover;
    border-radius: 50px;
    margin: auto;
}

.video-home-intro .col-md-3 {
    display: flex;
    padding: 30px 0;
}



.valori {
    position: relative;
    height: 100%;
    min-height: 700px;
}

.valori .box {
    padding: 50px;
}

.valori img {
    position: absolute;
    z-index: -1;

    width: 100%;
    height: 100%;
    object-fit: cover;

    filter: brightness(0.3);
}



.aree div img {
    padding: 20px;
}

.processi {
    margin-bottom: 100px;
}

.processi .number {
    display: inline-block;
    font-size: 50px;
    height: 85px;
    width: 85px;
    border-radius: 50%;
    border: #ffffff solid 3px;
}



.vertical-line {
    height: 100%;
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.vertical-line.service span {
    background-color: var(--bs-primary);
}

.vertical-line.strategy span {
    background-color: #714BED;
}

.vertical-line.process span {
    background-color: var(--bs-secondary);
}

.vertical-line span {
    position: absolute;
    display: block;
    height: 100%;
    width: 8px;
    background-color: #ffffff;
}

.vertical-line p {
    position: sticky;
    top: calc(var(--height-menu) + 20px);
    font-size: 20px;

    padding: 30px 0;
    margin-top: 30px;

    writing-mode: sideways-lr;
    text-orientation: sideways;
    white-space: nowrap;
    background-color: var(--bs-body-color);
}


@media (max-width: 768px) {
    .vertical-line p {
        top: 30px;
    }
}


/* PAGINA AZIENDA
--------------------------------------------------*/

.azienda-forza {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.azienda-forza img {
    height: 150%;
    width: auto;
    position: absolute;
    z-index: -1;
}

.azienda-forza .box {
    padding: 30px;
    margin-bottom: 20px;
    background-color: #0000008f;
    backdrop-filter: blur(5px);
    border: solid 2px var(--bs-primary);
}

.azienda-forza .box .counter {
    font-size: 40px;
    margin: 0;
    font-family: "Mitr", sans-serif;
}

.our-numbers .counter {
    font-size: 80px;
    opacity: 30%;
    font-family: "Mitr", sans-serif;
    margin: 0;
}

.our-numbers .text {
    font-size: 1.2rem;
    transform: translateY(-30px);

}




.roadmap .box {
    position: relative;
    padding: 30px;
    min-height: 50vh;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.roadmap img {
    position: absolute;
    height: 100%;
    width: 100%;

    object-fit: cover;
    top: 0;
    left: 0;

    z-index: -1;

    filter: brightness(0.3);
}


@media (max-width: 768px) {
    .azienda-forza img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        position: absolute;
        z-index: -1;
    }
}

/*
--------------------------------------------------*/

.cover-img::after {
    content: "";
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgb(0, 0, 0, 0.3);
    z-index: -1;
}

/* WEBFORM
--------------------------------------------------*/

.webform-submission-form input,
.webform-submission-form .form-control:focus,
.webform-submission-form textarea {
    background-color: transparent;
    border: none;
    border-bottom: solid #ffffff 2px;
    color: #ffffff;
}

.webform-submission-form .form-check-input {
    border: solid #ffffff 1px;
}

.webform-submission-form .form-check .webform-element-description {
    color: #ffffff;
}

.form-check-input:checked {
    background-color: var(--bs-primary);
}






/*  */

.nome-icon,
.email-icon,
.telefono-icon,
.oggetto-icon {
    position: relative;
    width: 90%;
}

.nome-icon::before,
.email-icon::before,
.telefono-icon::before,
.oggetto-icon::before,
.messaggio-icon::before {
    color: var(--bs-primary) !important;
    font-size: 30px;

    font-family: 'Font Awesome 6 Free';
    font-style: normal;

    position: relative;
    display: block;
    left: -50px;
    top: 50px;
}

.nome-icon::before {
    content: '';
    font-weight: 400;
}

.email-icon::before {
    content: '@';
    font-weight: 900;
}

.telefono-icon::before {
    content: '';
    font-weight: 900;
}

.oggetto-icon::before {
    content: '';
    font-weight: 900;
    left: -35px;
}

.messaggio-icon::before {
    content: '';
    font-weight: 900;
}

.contact-end a {
    color: #ffffff;
}

.contact-end i {
    color: var(--bs-primary);
}