/*Bg open site*/
.open-bg {
    background: url("../img/cover.jpg") no-repeat center;
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
    background-size: cover !important;
    height: 95vh;
    border-radius: 40px 40px 40px 40px;
}
.open-bg.ernia{
    background: url("../img/ernia/cover.jpg") no-repeat center !important;
}
.title {
    font-size: 3em;
    line-height: 1em;
    margin-bottom: 15px;
    letter-spacing: -1px;
}
.subtitle {
    letter-spacing: 3px;
    font-size: 1em;
    font-weight: 300;
    text-transform: uppercase;
    color: rgb(165, 174, 168);
}
.section-bg {
    margin: 20px 60px;
    padding: 20px 60px;
}
.section-bg-w {
    padding: 20px 60px;
}
.link-arrow {
    font-weight: 600;
}
.link-arrow i {
    font-weight: 800;
    font-size: 1.8em;
    position: relative;
    top: 8px;
}
.cover-title-relative {
    position: absolute;
    z-index: 3;
    bottom: 0;
}
.cover-box-grain {
    background-color: #FFFFFF33 !important;
    background-image: url("../img/grain-pattern.png") !important;
    background-position: center center;
    background-repeat: repeat;
    background-size: auto;
    border: 1px solid #fff;
    color: #fff !important;
    position: absolute;
    bottom: 0;
    right: 0;
    margin: 30px;
    z-index: 3;
    width: 40%;
}
.arrow-animate {
  display: inline-block;
  animation: arrow-bounce 1.6s infinite ease-in-out;
}

@keyframes arrow-bounce {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  50% {
    transform: translateY(10px);
    opacity: 1;
  }
}
/*Section*/
.section {
    margin: 20px 60px;
}
.box-white {
    background-color: #fff;
    padding: 60px;
}
.box-base {
    background: radial-gradient(circle at 20% 30%, rgba(147, 86, 177, 0.95), transparent 40%), radial-gradient(circle at 80% 20%, rgba(42, 84, 150, 0.9), transparent 45%), radial-gradient(circle at 70% 80%, rgba(74, 18, 118, 0.9), transparent 50%), radial-gradient(circle at 30% 70%, rgba(30, 150, 135, 0.92), transparent 45%), linear-gradient(135deg, rgb(147, 86, 177) 0%, rgb(42, 84, 150) 59%, rgb(74, 18, 118) 78%, rgb(30, 150, 135) 100%) !important;
    color: #fff !important;
    padding: 60px;
}
.box-base-2 {
    background-color: #3465AC !important;
    color: #fff !important;
    padding: 60px;
}
.box-base-3 {
    background-color: #3465AC !important;
    color: rgba(255, 255, 255, 0.9) !important;
}
.big-padding-box {
    padding: 80px 50px;
}
.box-grain {
    background-color: #7b7b7b33;
    background-image: url("../img/grain-pattern.png");
    background-position: center center;
    background-repeat: repeat;
    background-size: auto;
    border: 1px solid #fff;
    color: #fff !important;
    padding: 60px;
    backdrop-filter: blur(10px); /* Puoi cambiare il valore per intensificare o ridurre l'effetto */
    -webkit-backdrop-filter: blur(10px); /* Per il supporto su browser WebKit */
}
.absolute-element {
    position: absolute !important;
    z-index: 3 !important;
}
.box-google {
    position: relative !important;
    left: 40%;
    bottom: 180px;
}
.box-absolute-right {
    position: absolute;
    color: #585858 !important;
    right: 100px;
    z-index: 3;
}
.section-small-title {
    font-size: 1.3em;
}
.section-big-title {
    font-size: 2.5em;
}
.link-bottom-inside {
    position: relative;
}
.link-bottom {
    position: absolute;
    bottom: 10%;
    max-width: 400px;
}
.cit {
    border-left: 3px solid #f78e11;
    border-bottom: 3px solid #f78e11;
    padding-left: 20px;
    padding-bottom: 30px;
}
.cit-2 {
    border-left: 3px solid #f78e11;
    padding-left: 20px;
}

.img-metodo {
    background: url("../img/2.jpg") no-repeat center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    border-radius: 40px 40px 40px 40px;
}
.pi-icon-box-icon-semicircle {
    background: #fff !important;
    color: #333 !important;
    border: 1px solid #dfe4e1 !important;
    border-radius: 30px !important;
}
.cta-bg {
    background: url("../img/cta.jpg") no-repeat center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
#doc .doc-col-left {
  position: relative;
}

#doc .doc-sticky {
  position: static;
}

@media (min-width: 992px) {
  #doc .doc-sticky {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    will-change: transform;
  }
}

@media (max-width: 991px) {
  #doc .doc-col-left {
    height: auto !important;
  }

  #doc .doc-sticky {
    position: static !important;
    transform: none !important;
    width: auto !important;
  }
}
.border-map iframe {
    border-radius: 40px 40px 40px 40px;
}
.border-video iframe {
    border-radius: 35px !important;
}
@media (max-width: 767px) {
    .col-video {
        min-width: 100%;
    }
}
.title-inside-relative {
    position: absolute;
    z-index: 3;
    bottom: 7%;
    padding: 40px;
}
.highlight {
    display: inline;
    width: max-content;
    background-size: 200% auto;
    background-image: linear-gradient(to right, #fff 50%, #FFB600 50%);
    background-position: 0% 0;
    animation-duration: 2s;
    animation-delay: 0s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}
.highlight.active {
    animation-name: highlight;
}
@keyframes highlight {
    from {
        background-position: 0% 0;
    }
    to {
        background-position: -100% 0;
    }
}
/*Footer*/
.btn-whatsapp {
    z-index: 999999;
    background: #3BBF5A;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    box-shadow: 0px 0px 1px 1px rgba(59, 191, 90, 0.5);
}
.pulse {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0px rgba(37, 211, 102, 0.5);
    }
    100% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
}
.wa-center {
    display: block;
    margin: 10px auto;
}
.footer-fixed {
    position: fixed;
    z-index: 1002;
    bottom: 0;
    width: 100%;
}
@media (min-width: 320px) and (max-width: 479px) {
    .section {
        margin: 0 20px;
    }
    .section-bg {
        margin: 0 20px;
        padding: 20px 30px;
    }
    .pi-box {
        margin-bottom: 20px;
    }
    .box-bottom {
        position: absolute;
        bottom: 0;
        left: 10%;
        width: 80%;
    }
    .open-bg {
        background: url("../img/cover-xs.jpg") no-repeat center !important;
        -webkit-background-size: cover !important;
        -moz-background-size: cover !important;
        -o-background-size: cover !important;
        background-size: cover !important;
        height: 90vh;
    }
    .title {
        font-size: 2em;
    }
    .section-big-title {
        font-size: 2em;
    }
        .box-absolute-padding-mobile{
        padding-top: 150px;
    }

    .box-absolute-right {
  max-width: 300px !important;
}
    .link-bottom {
  position: relative;
}
}
@media (min-width: 320px) and (max-width: 767px) {
    .section {
        margin: 0 20px;
    }
    .pi-box {
        margin-bottom: 20px;
        padding: 30px;
    }
    .img-metodo {
        height: 30vh !important;
        margin: 20px;
    }
    .cover-title-relative {
        top: 60%;
        width: 95%;
    }
        .box-absolute-right {
  max-width: 300px;
            right: 30px;
}
    .box-absolute-padding-mobile{
        padding-top: 350px !important;
    }
    .link-bottom {
  position: relative;
}
}
@media (min-width: 768px) and (max-width: 991px) {
    .open-bg {
        background: url("../img/cover-s.jpg") no-repeat center;
        -webkit-background-size: cover !important;
        -moz-background-size: cover !important;
        -o-background-size: cover !important;
        background-size: cover !important;
    }
    .cover-title-relative {
        bottom: 0;
    }
    .section {
        margin: 0 20px;
    }
    .pi-box {
        margin-bottom: 20px;
    }
    .title {
        font-size: 3em;
    }
    .box-bottom {
        position: absolute;
        bottom: 0;
        width: 70%;
    }
    .section-bg {
        margin: 20px 30px;
    }
    .img-metodo {
        height: 30vh !important;
        margin: 20px;
    }
        .box-absolute-padding-mobile{
        padding-top: 150px;
    }

}
@media (min-width: 992px) and (max-width: 1279px) {
    .section {
        margin: 0 20px;
    }
}
@media (min-width: 1540px) {
    .cover-title-relative {
        bottom: 7%;
    }
    .cover-box-grain {
        width: 30%;
    }
}