section.regular-flow {
    padding-bottom: 0;
}

#rendering {
    position: relative;
}

#rendering .img-rendering {
    position: relative;
    margin: 0 auto;
    text-align: center;
    width: 85%;
}

#rendering .img-rendering img {
    width: 100%;
    overflow: hidden;
    transform: translate3d(0, 0, 0) scale(1);
    transition: .5s ease-out;
    will-change: auto;
}

#rendering.ecodry-view .img-rendering img {
    transform: translate3d(35%, -20%, 0) scale(3);
}

#rendering .testi-rendering {
    position: absolute;
    right: 50px;
    bottom: 50px;
    text-align: right;
    width: 400px;
}

.hotspot-guide {
    position: relative;
    height: 100%;
    width: 100%;
    ;
}

.hotspot img {
    background-color: rgba(49, 127, 203, .5);
    border-radius: 24px;
    padding: 2px;
}

.modal-text-container {
    transform: translateY(-40px);
    width: 80%;
    z-index: 4;
    margin: 0 auto;
    position: relative;
}

.swipe-cta {
    position: absolute;
    width: 50px !important;
    height: auto;
    bottom: 10px;
    left: 0;
    opacity: 0;
    transform: translate3d(0%, 0, 0) rotate(65deg);
}

.swipe-cta.animate {
    animation: swipeAnim 1.6s linear infinite;
}

@keyframes swipeAnim {
    0% {
        opacity: 0;
        transform: translate3d(600%, 0, 0) rotate(65deg);
    }

    /* 20% {
        opacity: 1;
        transform: translate3d(500%, 0, 0) rotate(55deg);
    } */
    40% {
        opacity: 1;
        transform: translate3d(400%, 0, 0) rotate(45deg);
    }

    60% {
        opacity: 1;
        transform: translate3d(300%, 0, 0) rotate(35deg);
    }

    /* 80% {
        opacity: 1;
        transform: translate3d(200%, 0, 0) rotate(25deg);
    } */
    100% {
        opacity: 0;
        transform: translate3d(100%, 0, 0) rotate(15deg);
    }
}

.no-touch .swipe-cta {
    display: none;
}

#rendering .modal-rendering {
    /* height: 70%; */
    width: 100%;
    height: 100vh;
    position: fixed;
    right: 0;
    top: 0;
    background-color: #fff;
    transform: translate3d(120%, 0, 0);
    transition: .5s ease-out;
    -webkit-box-shadow: -20px 0px 21px -8px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: -20px 0px 21px -8px rgba(0, 0, 0, 0.1);
    box-shadow: -20px 0px 21px -8px rgba(0, 0, 0, 0.1);
    z-index: 999999999;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
    overflow-y: scroll;
}

#rendering .modal-rendering>p {
    width: 50%;
    margin: 16px 0;
}

#rendering .modal-rendering>.close-modal {
    position: sticky;
    position: -webkit-sticky;
    top: 10px;
    right: 10px;
    border-radius: 50%;
    background-color: #fff;
    z-index: 9999;
    width: 50px;
    height: 50px;
    cursor: pointer;
    margin-left: auto;
    margin-right: 10px;
    margin-top: 10px;
}

#rendering .modal-rendering>.close-modal svg {
    width: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}

#rendering .gallery {
    width: 100%;
    /* display: flex;
    justify-content: center; */
}

#rendering .gallery img {
    margin-right: 16px;
}

#rendering .gallery img:last-child {
    margin-right: 0;
}

#rendering .modal-rendering.open-modal {
    transform: translate3d(0, 0, 0);
}

#rendering .testi-rendering h3 {
    font-size: 2rem;
}

#rendering .testi-rendering p {
    font-size: 1.2rem;
}

.blocchimodal {
    display: flex;
}

.blocchimodal>div {
    padding: 8px 16px;
}

.testo-bloccomodal h3 {
    font-size: 1.8rem;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-main-blu);
}

.testo-bloccomodal h5 {
    font-size: 1.2rem;
}

.testo-bloccomodal .vantaggi h3 {
    border-bottom: 0;
}

.testo-bloccomodal .vantaggi ul {
    list-style-type: none;
    padding: 0;
}

.testo-bloccomodal .vantaggi li {
    padding-left: 32px;
    padding-bottom: 8px;
    background-image: url(../img/list.svg);
    background-repeat: no-repeat;
    background-position: left 5px;
    background-size: 20px;
    margin-bottom: 8px;
    color: var(--color-grey-dark);
    font-size: 1rem;
}

.img-bloccomodal {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.particolare {
    position: relative;
    padding-left: 40px
}

.particolare:before {
    position: absolute;
    content: "";
    background-color: var(--color-main-blu);
    width: 1px;
    height: 110%;
    left: 0;
    top: 0;
}

.particolare:after {
    position: absolute;
    content: "";
    background-color: var(--color-main-blu);
    width: 4px;
    height: 40%;
    left: 0;
    top: 0;
}

.particolare h5 {
    margin: 20px 0 10px 0;
    font-size: 1.1rem;
}

.particolare img {
    display: block;
    border-radius: 10px;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.45);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.45);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.45);
}

/* MODAL */

/* The Modal (background) */

.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.2);
}

/* Modal Content */

.modal-container {
    background-color: #fefefe;
    margin: auto;
    padding: 0 20px;
    border: 1px solid #888;
    width: 50vw;
    animation-duration: 0.4s;
    animation-name: animatetop;
    position: relative;
    border-radius: 20px;
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2), 0 4px 20px 0 rgba(0, 0, 0, 0.19);
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

.modal-header,
.modal-footer {
    position: relative;
    height: 30px;
    background: white;
}

/* The Close Button */

.close {
    color: #aaaaaa;
    position: absolute;
    right: -8px;
    top: 0px;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* FINE Modal */

/* Hot Spots */

.hotspot {
    cursor: pointer;
    position: absolute;
    z-index: 0;
    transition: .5s ease-out;
    transition-delay: .5s;
}

.hide-hot-spot .hotspot {
    opacity: 0;
    transition-delay: unset;
}

.read-story-button {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    width: 30px;
    height: 30px;
    opacity: 0;
    cursor: pointer
}

.pulse-wrapper {
    position: absolute;
    width: 65px;
    height: 65px;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%)
}

.inner-story-button img {
    position: absolute;
    width: 20px;
    top: 50%;
    left: 50%;
    -webkit-transform: translate3d(-50%, -50%, 0);
    transform: translate3d(-50%, -50%, 0)
}

.read-story .read-story-button .inner-story-button:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: #000;
    border-radius: 100%
}

.pulse {
    background-color: #ce1318;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 100%;
    opacity: .2
}

.pulse.pulse-1 {
    -webkit-animation: pulse-animation 3s infinite;
    animation: pulse-animation 3s infinite
}

.pulse.pulse-2 {
    -webkit-animation: pulse-animation 3s infinite;
    -webkit-animation-delay: -.7s;
    animation: pulse-animation 3s infinite;
    animation-delay: -.7s
}

.pulse.pulse-3 {
    -webkit-animation: pulse-animation 3s infinite;
    -webkit-animation-delay: -1.4s;
    animation: pulse-animation 3s infinite;
    animation-delay: -1.4s
}

.inner-story-button {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    -webkit-transform: translate3d(-50%, -50%, 0);
    transform: translate3d(-50%, -50%, 0);
    border-radius: 100%;
    border: 1px solid #ce1318;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #fff;
    text-align: center;
    ;
}

.inner-story-button:before {
    content: "+";
    font-size: 12px;
    line-height: 28px;
    width: 28px;
    height: 28px;
    color: #fff;
    font-weight: 700;
    display: inline-block;
}

.inner-story-button.info:before {
    content: "\f129";
    font-family: FontAwesome;
}

.circle-hover-white {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    stroke-dasharray: 201.072px;
    stroke-dashoffset: 201px;
    -webkit-transition: all .5s linear;
    transition: all .5s linear
}

.read-story-button:hover .circle-hover-white {
    stroke-dasharray: 201.072px;
    stroke-dashoffset: 0
}

@-webkit-keyframes pulse-animation {
    0% {
        opacity: 0;
        -webkit-transform: scale3d(.25, .25, .25)
    }

    25% {
        opacity: .65
    }

    100% {
        opacity: 0;
        -webkit-transform: scale3d(1, 1, 1)
    }
}

@keyframes pulse-animation {
    0% {
        opacity: 0;
        -webkit-transform: scale3d(.25, .25, .25);
        transform: scale3d(.25, .25, .25)
    }

    25% {
        opacity: .65
    }

    100% {
        opacity: 0;
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1)
    }
}