/* GENERAL */

html {
    scroll-padding-top: 158px;
    height: 100%;
    scroll-behavior: smooth;
}
body {
    height: 100%;
    padding: 0;
    overflow-x: hidden !important;
    background-color: #000000;anemo
}
.module {
    height: 100vh; /* Use vh as a fallback for browsers that do not support Custom Properties */
    height: calc(var(--vh, 1vh) * 100);
    margin: 0 auto;
    max-width: 30%;
  }
*:focus {
    box-shadow: none !important;
}
:root {
    --barlow-extra-light: 'barlow_condensedthin';
    --barlow-light: 'barlow_condensedlight';
    --barlow-regular: 'barlow_condensedregular';
    --gobold-boldregular: 'gobold_boldregular';
    --yellow: #ffae00;
    --light-grey: #e5e5e5;
    --white: #ffffff;
    --thumb: #edf2f4;
    --mdb-btn-hover-bg: #707070 !important;
}
.section {
    scroll-padding-top: 95px;
}
.first-section {
    margin-top: 0 !important;
}
.empty-lowest {
    min-height: 80px;
}
.empty-low {
    min-height: 25vh;
}
.empty {
    min-height: 50vh;
}
.empty-tall {
    min-height: 100vh;
}
.empty-lower {
    min-height: 300px;
}
.empty-inner {
    min-height: 300px;
    margin-top: 84px;
}
.ripple-surface {
    display: block !important;
}
.sticky-top {
    padding-top: 95px;
    transition: .5s linear all;
}
.sticky-top-scrolled {
    background-color: #cccccc !important;
    transition: .5s linear all;
}
.modal-dialog.modal-frame.modal-top {
    width: 100% !important;
    max-width: unset;
    border-radius: 0;
    top: 0;
    margin: 0 auto;
}
.modal-content {
    border-radius: 0 !important;
}
.modal button.btn-close {
    position: absolute;
    right: 20px;
    width: 40px;
    height: 40px;
    opacity: 1;
    background: #ffae00;
    color: #ffffff;
    padding: 0;
    border-radius: 0;
}
.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}
.ripple-wrapper {
    position: fixed !important;
    width: 100vw !important;
    height: 10vh !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1 !important;
}
.modal-title {
    margin-bottom: 0;
    line-height: 4rem;
    margin: 0 auto;
    width: 100%;
    font-size: 2rem;
}
tbody {
    font-family: var(--barlow-regular);
}
td.left {
    width: 82%;
    text-align: left;
    border-bottom: 1px dotted #838593!important;
    font-size: 1.05rem;
    line-height: 1rem;
    color: #212121;
    font-weight: 500;
}
td.right {
    width: 18%;
    text-align: right;
    border-bottom: 1px dotted #838593!important;
    font-size: 1.05rem;
    line-height: 1rem;
    color: #212121;
    font-weight: 500;
}
tbody > tr:last-child > td {
    border-bottom: none !important;
}
button.btn.btn-red.ripple-surface {
    margin: 0 auto;
}
.list-wrapper {
    width: fit-content;
    width: -moz-fit-content;
}
.min-vh-25 {
    min-height: 25vh;
}
img.black-white, video.black-white {
    filter: grayscale(1) contrast(1.1) saturate(1);
    transition: .5s linear all;
}
img.black-white:hover, video.black-white:hover {
    filter: grayscale(0) contrast(1.1) saturate(1.1) !important;
    transition: .5s linear all;
}

/* TYPOGRAPHY */

h1, h2 {
    font-family: 'gobold_boldregular';
}
h1.cd-headline, h1.cd-headline b, h2.cd-headline, h2.cd-headline b {
    display: flex;
    font-family: 'goboldregular';
    font-weight: 400 !important;
    font-style: normal !important;
}
h2.largest {
    font-size: 4.5rem;
}
h2.largest span {
    display: block;
    font-size: 6rem;
}
h3, h4, h5, h6, .breadcrumb-item {
    font-family: var(--barlow-regular);
}
p {
    font-family: var(--barlow-light);
}
h1, h2.cd-headline {
    font-size: 2rem !important;
    color: #ffffff;
}
.scrolled-animated-text{
    font-size: 2rem !important;
    color: #333333 !important;
}
#text1, #text2 {
    position: relative;
    width: 100%;
    display: inline-block;
    font-size: 2rem;
    /* text-align: center; */
    user-select: none;
    left: 0;
}
section h2.fs-1 {
    font-size: 3.5rem;
}
h2.inner_slogan {
    font-size: 3rem !important;
    font-weight: 300;
}
a.page-link {
    font-size: calc(1.3rem + .6vw) !important;
    border-radius: 0 !important;
    color: #ffffff;
}
li.page-item.active {
    background-color: #212121 !important;
}
.page-item.active a.page-link {
    font-size: calc(1.3rem + .6vw) !important;
    background-color: #212121 !important;
    z-index: 3;
    color: #ffffff !important;
    border-color: #ffffff !important;
}
a.page-link:hover {
    border-radius: 0 !important;
}
.h5, h5 {
    font-size: 1.15rem;
}
.modal a {
    color: #ffae00;
}
.modal-body a:hover {
    color: #212121;
    transition: .3s linear all;;
}
span.icon-first, span.icon-last {
    font-size: 1.5rem;
}
.firstcharacter {
    color: #ffae00;
    float: left;
    font-family: var(--gobold-boldregular);
    text-align: center;
    font-size: 5.5rem;
    line-height: 80px;
    padding-top: 20px;
    padding-right: 8px;
    margin-right: 5px;
}
ol.breadcrumb {
    text-align: center;
    align-items: center;
    justify-content: center;
}
.inner_breadcrumb {
    font-size: 1.2rem;
    filter: drop-shadow(1px 1px 3px rgba(0,0,0,.6));
}
.inner_breadcrumb a, .breadcrumb a {
    color: #1f1f1f !important;
}
.sticky-top-scrolled .inner_breadcrumb a, .sticky-top-scrolled .breadcrumb a {
    color: #ffae00 !important;
}
.breadcrumb-item.active {
    color: #d5d5d5 !important;
}
.breadcrumb-item+.breadcrumb-item:before {
    color: #d5d5d5;
}
.fa-star {
    color: #202020;
}
ul {
    list-style-type: square;
}
em, i {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
h2.inner-title {
    display: block;
    width: max-content;
}
.inner-title-under {
    position: absolute;
    display: block;
    width: max-content;
    top: 50%;
    transform: translateY(-50%);
    left: 10%;
    font-size: 7.5rem;
    font-family: 'gobold_boldregular';
    color: #ffae00;
    z-index: -1;
    opacity: .6;
    transition: .5s linear all;
}
.inner-title-under:hover {
    filter: blur(5px);
    opacity: .7;
    z-index: 1 !important;
    transition: .5s linear all;
}
.inner-title-under-smaller {
    position: absolute;
    display: block;
    width: max-content;
    top: 50%;
    transform: translateY(-50%);
    left: 10%;
    font-size: 6rem;
    font-family: 'gobold_boldregular';
    color: #ffae00;
    z-index: -1;
    opacity: .6;
    transition: .5s linear all;
}
.inner-title-under-smaller:hover {
    filter: blur(5px);
    opacity: .7;
    z-index: 1 !important;
    transition: .5s linear all;
}
h2.contact-title {
    display: block;
    width: max-content;
    float: none;
    margin: 0 auto;
}
.contact-title-under {
    position: absolute;
    display: block;
    width: max-content;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
    font-size: 7.5rem;
    font-family: 'gobold_boldregular';
    color: #ffae00;
    z-index: -1;
    opacity: .6;
    transition: .5s linear all;
}
.contact-title-under:hover {
    filter: blur(5px);
    opacity: .7;
    z-index: 1 !important;
    transition: .5s linear all;
}

/* COLOR SCHEMA */

.btn-red {
    position: relative;
    margin: 0 auto;
    background-color: #cc0000;
    color: #ffffff;
    font-weight: bold;
}
.btn-yellow {
    background-color: #ffae00;
    color: #ffffff;
    transition: .3s linear all;
}
#contatti button.btn.bg-yellow.rounded-0.text-dark {
    background-color: #707070 !important;
    color: #ffffff;
    transition: .3s linear all;
}
a .bg-yellow:hover {
    background-color: #707070 !important;
    color: #ffffff;
    transition: .3s linear all;
}
.text-red {
    color: #cc0000;
}
.text-yellow {
    color: #ffae00;
}
.bg-dark {
    background-color: #1f1f1f !important;
}
.bg-yellow {
    background-color: #ffae00;
}
.bg-yellow-smitransparent {
    background-color: rgba(255,174,0,.6);
}
.bg-red, .sticky-top .bg-red {
    background-color: #cc0000;
}
a {
    color: #ffae00 !important;
    transition: .3s linear all;
}
a:hover {
    color: #212121;
    transition: .3s linear all;
}
a.btn:hover, span.btn:hover {
    background-color: #686868 !important;
    color: #ffffff !important;
    transition: .3s linear all;
}
.waves-effect.waves-light .waves-ripple {
    background-color: rgba(255,255,255,1);
}
.border-light {
    border-color: rgba(255,255,255,.3) !important;
}
.bd-gray-200 {
    background-color: #e9ecef;
}
.bg_gold {
    background: radial-gradient(ellipse at center, #eec569 0%,#c89636 100%);
    padding-top: 5px;
    padding-bottom: 5px;
}
.text-light-beige {
    color: #fef1d8 !important;
}
.text-brown {
    color: #ffae00;
}
.bg-light-beige {
    background-color: #fff4e3 !important;
}
.border-beige {
    border: 1px solid #ffae00 !important;
}
.mask {
    background-color: rgba(251, 251, 251, 0.15);
}

/* CARD HOVERS */

#chi_siamo .card h3:after {
    content: '';
    position: relative;
    margin: 0 auto;
    height: 1px;
    width: 0%;
    bottom: 0;
    text-align: center;
    background-color: #ffae00;
    display: block;
    transition: .3s linear all;
}
#chi_siamo .card:hover h3:after {
    content: '';
    position: relative;
    height: 1px;
    width: 100%;
    bottom: 0;
    text-align: center;
    background-color: #ffae00;
    display: block;
    transition: .3s linear all;
}

/* NAVBAR / OFFCANVAS / ROTATING TEXT STYLES */

.large-menu {
    position: absolute;
    margin-top: 10dvh;
    padding: 0;
    height: 80dvh;
    width: 100%;
    top: 0;
    font-family: 'gobold_boldregular';
    mix-blend-mode: exclusion;
}
.large-menu ul li {
    display: flex;
    align-items: center;
    height: 7rem;
    font-size: 6.5rem;
    line-height: 7rem;
    text-transform: uppercase;
}
.large-menu ul li a {
    margin-left: 0;
    filter: blur(0);
    transition: .5s linear;
}
.large-menu ul li a:hover {
    margin-left: 25px !important;
    filter: blur(3px);
    transition: .5s linear;
}
.small-menu-items-wrapper {
    position: relative;
    float: right;
    opacity: 0;
    display: block;
    margin-left: 100px;
    padding-bottom: 3rem !important;
    transition: .5s linear all;
}
.large-menu ul li:hover .small-menu-items-wrapper {
    position: relative;
    float: left;
    opacity: 1 !important;
    transform-origin: left;
    display: block !important;
    margin-left: 30px !important;
    padding-bottom: 3rem !important;
    transition: .5s linear all;
}
.menu-smaller-item a {
    font-size: 2rem !important;
    height: 7.5rem;
    line-height: 7.5rem;
    mix-blend-mode: none !important;
}
.cd-intro {
    width: auto;
    max-width: unset;
    text-align: center;
}
.cd-headline {
    font-size: 3rem;
    line-height: 1.2;
}
.cd-words-wrapper {
    display: inline-block;
    position: relative;
    text-align: left;
}
.cd-words-wrapper b {
    display: inline-block;
    position: absolute;
    white-space: nowrap;
    left: 0;
    top: 0;
    font-style: normal !important;
}
.cd-words-wrapper b.is-visible {
    position: relative;
}
.no-js .cd-words-wrapper b {
    opacity: 0;
}
.no-js .cd-words-wrapper b.is-visible {
    opacity: 1;
}
.cd-headline.rotate-2 .cd-words-wrapper {
    perspective: 300px;
}
.cd-headline.rotate-2 i, .cd-headline.rotate-2 em {
    display: inline-block;
    backface-visibility: hidden;
}
.cd-headline.rotate-2 b {
    opacity: 0;
}
.cd-headline.rotate-2 i {
    transform-style: preserve-3d;
    transform: translateZ(-20px) rotateX(90deg);
    opacity: 0;
}
.is-visible .cd-headline.rotate-2 i {
    opacity: 1;
}
.cd-headline.rotate-2 i.in {
    animation: cd-rotate-2-in 0.4s forwards;
}
.cd-headline.rotate-2 i.out {
    animation: cd-rotate-2-out 0.4s forwards;
}
.cd-headline.rotate-2 em {
    transform: translateZ(20px);
}
.no-csstransitions .cd-headline.rotate-2 i {
    transform: rotateX(0deg);
    opacity: 0;
}
.no-csstransitions .cd-headline.rotate-2 i em {
    transform: scale(1);
}
.no-csstransitions .cd-headline.rotate-2 .is-visible i {
    opacity: 1;
}
@keyframes cd-rotate-2-in {
    0% {
      opacity: 0;
      transform: translateZ(-20px) rotateX(90deg);
    }
    60% {
      opacity: 1;
      transform: translateZ(-20px) rotateX(-10deg);
    }
    100% {
      opacity: 1;
      transform: translateZ(-20px) rotateX(0deg);
    }
  }
  @keyframes cd-rotate-2-out {
    0% {
      opacity: 1;
      transform: translateZ(-20px) rotateX(0);
    }
    60% {
      opacity: 0;
      transform: translateZ(-20px) rotateX(-100deg);
    }
    100% {
      opacity: 0;
      transform: translateZ(-20px) rotateX(-90deg);
    }
}
.scrolling-text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100vw;
    overflow: hidden;
    display: flex;
    white-space: nowrap;
    mix-blend-mode: exclusion;
    z-index: 999;
}
.scrolling-text-inner {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100vw;
    overflow: hidden;
    display: flex;
    white-space: nowrap;
    mix-blend-mode: exclusion;
    z-index: 999;
}
.scrolling-text:hover {
    mix-blend-mode: difference !important;
}
.scrolling-inner-text {
    font-family: 'gobold_boldregular';
    font-size: 6.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    mix-blend-mode: exclusion;
    animation: animate_text 30s linear infinite;
}
.scrolling-inner-text-slower {
    font-family: 'gobold_boldregular';
    font-size: 6.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    mix-blend-mode: exclusion;
    animation: animate_text_slow 40s linear infinite;
}
.scrolling-inner-text span, .scrolling-inner-text-slower span {
    margin: 0 40px;
}
.scrolling-inner-text span a, .scrolling-inner-text-slower span a {
    color: #ffffff !important;
}
.scrolling-inner-text span:hover a, .scrolling-inner-text-slower span:hover a {
    filter: blur(3px);
}
@keyframes animate_text {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-100%, 0, 0);
    }
}
@keyframes animate_text_slow {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-100%, 0, 0);
    }
}
.social-contact-trigger {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    right: 3rem;
    bottom: 3rem;
    border-radius: 50%;
    background-color: #000000;
    border: 5px solid #ffffff;
    z-index: 111;
    text-align: center;
    font-size: .65rem;
    line-height: .8rem;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    transform: rotate(0deg);
    transition: .3s linear all;
}
.social-contact-trigger:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 5px solid #000000 !important;
    transform: rotate(180deg);
    transition: .3s linear all;
}
.social-contact-wrapper {
    position: fixed;
    width: calc(200px - 1.5rem);
    height: 200px;
    overflow: auto;
    word-wrap: break-word;
    line-height: 2rem;
    right: calc(3rem + 0px);
    bottom: calc(3rem + 35px);
    transform-origin: bottom center;
    padding: 2rem;
    transform: rotate(-90deg);
    opacity: 0;
    z-index: -1;
    transition: .2s linear all;
}
.social-contact-wrapper-rotated {
    display: flex;
    right: 0 !important;
    bottom: calc(3rem + 70px) !important;
    transform: rotate(0deg) !important;
    transform-origin: bottom center;
    opacity: 1 !important;
    z-index: 111;
    transition: .2s linear all;
}
.whatsapp-button {
    position: fixed;
    right: 3rem;
    bottom: calc(3rem + 80px);
    z-index: 110;
    display: block;
    width: 60px;
    height: 60px;
}
#main_navbar.navbar {
    border-bottom: 1px solid rgba(89,49,21,0);
    padding: 12px 20px !important;
}
#main_navbar.navbar_scrolled {
    position: fixed;
    background-color:#fffbf4 !important;
    transition: .5s linear all;
}
#main_navbar.navbar_scrolled h1, #main_navbar.navbar_scrolled h2.cd-headline {
    filter: invert(.6) !important;
    transition: .3s linear all;
}
#main_navbar.navbar_scrolled .navbar-toggler-btn {
    filter: invert(.6) !important;
    transition: .3s linear all;
}
#main_navbar.navbar_scrolled .logo.img-fluid.me-0 {
    filter: invert(.6);
    transition: .3s linear all;
}
.social-icons {
    height: 50px;
    width: fit-content;
}
button.navbar-toggler {
    position: absolute;
    top: 1rem;
    left: 2rem;
    color: #202020 !important;
    background-color: #ffffff;
    border-radius: 0;
    width: 50px;
    height: 50px;
    z-index: 1;
}
.social-icons object {
    pointer-events: none;
}
#offcanvas-menu {
    width: 100vw;
    height: 100vh;
    backdrop-filter: grayscale(1);
    background-color: rgba(0,0,0,.85);
    z-index: 9999;
}
#offcanvas-menu.offcanvas.offcanvas-start.show body {
    overflow-y: hidden;
}
i.fa-solid.fa-xmark, i.fas.fa-bars {
    transition: .3s linear all;
}
.navbar-toggler:hover i.fa-solid.fa-xmark, .navbar-toggler:hover i.fas.fa-bars {
    transform: rotate(180deg);
    transition: .3s linear all;
}

/* HOME STYLES */

#home {
    position: relative;
    padding: 0;
    opacity: 1;
    transition: .5s linear all;
}
#home-inner {
    position: fixed;
    width: calc(100% - 0px);
    height: 100vh;
    z-index: -1;
}
.carousel {
    z-index: -1;
}
.carousel::after {
    content: '';
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background: transparent url(../media/img-generali/pattern.png) repeat top left;
    z-index: 1;
}
.home_scrolled {
    opacity: .6 !important;
    transition: .5s linear all;
}
#slogan {
    position: fixed;
    left: 25%;
    bottom: 50px;
    width: 50%;
    opacity: 1 !important;
    transition: .5s linear all;
}
.slogan_scrolled {
    bottom: 100% !important;
    opacity: 0 !important;
    transition: .5s linear all;
}

/* CARDS */

.card_overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}
.card_overlay_inner {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
}
.card_overlay_inner .card-text {
    position: relative;
    height: 0;
    opacity: 0;
    transition: opacity .5s linear, height .5s linear;
}
#servizi .card h3 {
    filter: drop-shadow(1px 1px 1px rgba(0,0,0,.8));
}
#servizi .card:hover .card_overlay_inner .card-text {
    position: relative;
    height: 100%;
    opacity: 1;
    transition: opacity .5s linear, height .5s linear;
    transition: .3s linear all;
}
#servizi .card .bg-image {
    filter: grayscale(0);
    opacity: 1;
    transition: .3s linear;
}
#servizi .card:hover .bg-image {
    filter: grayscale(1);
    opacity: .5;
    transition: .3s linear;
}

/* BUTTONS */

.inner_wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
}
button.contact_btn {
    font-family: 'Roboto Condensed', sans-serif !important;
    color: #ffffff !important;
    font-weight: bold;
    transition: .3s linear all;
}
button.contact_btn:hover, button.contact_btn:focus {
    background-color: #ffffff;
    color: #cc0000 !important;
    transition: .3s linear all;
}
button.enter_btn {
    font-family: 'Roboto Condensed', sans-serif !important;
    color: #ffffff !important;
    font-size: 1.5rem !important;
    font-weight: bold;
    transition: .3s linear all;
}
button.enter_btn:hover, button.enter_btn:focus {
    background-color: #ffffff;
    color: #cc0000 !important;
    transition: .3s linear all;
}

/* LIGHTSLIDER & LIGHTGALLERY STYLES */

.lSSlideOuter .lSPager.lSpg>li.active a, .lSSlideOuter .lSPager.lSpg>li:hover a {
    background-color: #ffae00;
}
.lg-outer .lg-thumb-outer, .lg-outer .lg-toogle-thumb {
    background-color: #212121;
}
.gallery_image_wrapper {
    cursor: pointer;
}
.gallery_image_wrapper:hover {
    transition: .3s linear all;
}
.gallery_image_wrapper::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    display: block;
    background-color: rgba(255,255,255,.5);
    opacity: 0;
    transition: .3s linear all;
}
.gallery_image_wrapper::after {
    content: "\f00e";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    left: 50%;
    margin-left: -20px;
    align-content: center;
    justify-content: center;
    color: #ffae00;
    filter: drop-shadow(1px 1px 2px rgba(0,0,0,0));
    font-size: 2rem;
    text-align: center;
    z-index: 3;
    display: block;
    opacity: 0;
    transition: .3s linear all;
}
.gallery_image_wrapper:hover::before {
    opacity: 1 !important;
    transition: .3s linear all;
}
.gallery_image_wrapper:hover::after {
    opacity: 1 !important;
    filter: drop-shadow(1px 1px 2px rgba(0,0,0,.1));
    transition: .3s linear all;
}
.gallery_image_wrapper .img-fluid {
    transform: scale(1);
    transition: .3s linear all;
}
.gallery_image_wrapper:hover .img-fluid {
    transform: scale(1.5);
    transition: .3s linear all;
}
.lg-sub-html {
    background-color: transparent !important;
    font-family: 'Oswald', sans-serif !important;
    color: #ffffff;
    font-size: 1.5rem;
    padding: 10px 10px 15px 10px !important;
}
.lg-progress-bar .lg-progress {
    background-color: #ffae00 ;
    height: 5px;
    width: 0;
}
.lg-backdrop {
    background-color: #0c0c0c;
}
.lg-outer .lg-thumb-outer, .lg-outer .lg-toogle-thumb {
    background-color: #0a0a0a;
}
.lg-outer .lg-thumb-item.active, .lg-outer .lg-thumb-item:hover {
    border-color: #ffae00;
}
.video-link {
    z-index: 3;
    top: 0;
    left: 0;
}
.foto-link {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}
.horizontal-lightslider-foto li img {
    transform: scale(1);
    opacity: 1 !important;
    transition: .3s linear all;
}
.horizontal-lightslider-foto li:hover img {
    transform: scale(1.6);
    opacity: .4 !important;
    transition: .3s linear all;
}
.horizontal-lightslider-video li video {
    transform: scale(1);
    opacity: 1 !important;
    transition: .3s linear all;
}
.horizontal-lightslider-video li:hover video {
    transform: scale(1.6);
    opacity: .4 !important;
    transition: .3s linear all;
}

/* VIDEO GALLERY STYLES */

.video-js .vjs-big-play-button {
    font-size: 3em;
    line-height: 1.5em;
    height: 1.5em;
    width: 1.5em;
    display: block;
    position: absolute;
    top: 50%;
    /*transform: translateY(-50%);*/
    left: 50%;
    margin-left: -.75em;
    padding: 0;
    cursor: pointer;
    opacity: 1;
    border: none;
    background-color: rgba(255, 0, 0, .7) !important;
    transition: .2s linear all !important;
    border-radius: 0;
}
.vjs-controls-disabled .vjs-big-play-button, .vjs-error .vjs-big-play-button, .vjs-has-started .vjs-big-play-button, .vjs-using-native-controls .vjs-big-play-button {
    display: none !important;
}
.video-js .vjs-control-bar {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3em;
    background-color: transparent;
}
.video-js .vjs-menu :focus:not(:focus-visible), .video-js :focus:not(:focus-visible) {
    outline: 0;
    background: 0 0;
    background-repeat: no-repeat;
    background-size: cover;
}
video.object-fit-contain {
    max-width: 100%;
}

/* 360 TOUR SALON */

.embed-responsive, .salone_360 {
    width: 100%;
    height: fit-content !important;
    min-height: 70vh;
}

/* SCROLLING STYLIES */

.social-wrapper {
    position: relative;
    height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
}
.mCSB_scrollTools {
    opacity: 1 !important;
}
.mCSB_inside>.mCSB_container {
    margin-right: 25px !important;
}
.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
    background-color: rgba(255,174,0,1) !important;
    border-radius: 0 !important;
}

/* RECENSIONI SLIDING */

.cards {
    display: flex;
    padding: 25px 0px;
    list-style: none;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
}
.card {
    display: flex;
    flex-direction: column;
    flex: 0 0 100%;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 15%);
    scroll-snap-align: start;
    cursor: grab;
    transition: all 1s;
}
.card:active {
    cursor: grabbing;
}
.card:not(:last-child) {
    margin-right: 10px;
}
.card:hover {
    background: #f3f3f3;
}
.cards::-webkit-scrollbar {
    height: 1rem;
}
.cards::-webkit-scrollbar-thumb, .cards::-webkit-scrollbar-track {
    border-radius: 0;
}
.cards::-webkit-scrollbar-thumb {
    background: var(--yellow);
}
.cards::-webkit-scrollbar-track {
    background: var(--thumb);
}
/* @media (min-width: 500px) {
    .card {
        flex-basis: calc(50% - 10px);
    }
    .card:not(:last-child) {
        margin-right: 20px;
    }
} */
@media (min-width: 700px) {
    .card {
        flex-basis: calc(calc(100% / 3) - 20px);
    }
    .card:not(:last-child) {
        margin-right: 30px;
    }
}
@media (min-width: 1100px) {
    .card {
        flex-basis: calc(25% - 30px);
    }
    .card:not(:last-child) {
        margin-right: 40px;
    }
}
@media (min-width: 1300px) {
    .card {
        flex-basis: calc(20% - 30px);
    }
    .card:not(:last-child) {
        margin-right: 40px;
    }
}

/* CONTACT */

#map_main {
    position: relative !important;
    margin: 0 auto;
    width: 100%;
    height: 80vh;
    z-index: 99;
    filter: grayscale(1);
    transition: .3s linear all;
}
#map_main:hover {
    filter: grayscale(0) !important;
    transition: .3s linear all;
}

.leaflet-touch .leaflet-control-attribution, .leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar {
    box-shadow: none;
}
.leaflet-bottom.leaflet-right {
    display: none;
}
.leaflet-popup-content {
    margin: 13px 19px;
    line-height: 1.4;
    font-family: Roboto, sans-serif;
    text-align: center;
    color: black;
    font-weight: bold !important;
}
footer p.text-white {
    line-height: .9em;
}
.page-footer .footer-copyright {
    display: block !important;
}
a.leaflet-control-zoom-out, a.leaflet-control-zoom-in {
    color: black !important;
}

/* FOOTER */

.footer .navbar .nav {
    margin: 0px auto !important;
    padding: 0;
    height: 20px;
    float: none;
    list-style-type: none;
    text-align: center;
    position: relative;
}

/* CONTACT US FORM */

#contact textarea, #lavora textarea {
    height: 100px;
    max-width: 100%;
    resize: none;
}
#contact button[type="submit"] {
    cursor: pointer;
    width: 100%;
    border: none;
    background: #cc0000;
    color: #FFF;
    margin: 0 0 5px;
    padding: 10px;
    font-size: 15px;
}
#contact button[type="submit"]:hover {
    background: #cc0000;
    transition: background-color 0.3s ease-in-out;
}
#contact button[type="submit"]:active {
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}
.copyright {
    text-align: center;
}
.logo-azienda-desc {
    min-height: 70px;
    max-width: 100%;
    margin-right: 20px;
    float: left;
}
#contact input:focus, #contact textarea:focus {
    outline: 0;
    border: 1px solid #aaa;
}
#contact button[type="button"] {
    cursor: pointer;
    width: 100%;
    border: none;
    background: #cc0000;
    color: #ffffff !important;
    margin: 0 0 5px;
    padding: 10px;
    font-size: 15px;
}
#contact button[type="button"]:hover {
    background: #cc0000;
    color: #ffffff !important;
}
.swal2-popup .swal2-content {
    color: #545454;
    font-size: 1em !important;
    font-weight: 300;
    line-height: normal;
    word-wrap: break-word;
}
a.nav-link.dropdown-toggle {
    text-transform: uppercase;
}
div#browserOutdated {
    position: fixed;
    bottom: 0px;
    left: 0px;
    z-index: 9999999999999;
    color: white;
    font-size: 20px;
    width: 100%;
    background: #333333;
    display:none;
    border-top: 1px solid grey;
    padding:15px;
    text-align: center;
}
div#browserOutdated img{
    width:200px;
}
.closeBanner {
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 15px;
    color: red;
}
li.separator{
    display: none;
}
#contact select  {
    width: 100%;
    padding: 10px;
    border: 1px solid #cacaca;
    color: #828282;
}

/* BOOKING & CONTACT FORM */

#form_container {
    padding: 0;
    margin-top: 0;
    color:#222222;
}
#contact-modal .modal-content.rounded-0 {
    background-color: black;
}
#contact-modal h3.text-center.fw-bolder.text-red.mb-0, #contact-modal .text-red, #contact-modal .required {
    color: #ffae00;
}
#contact-modal p {
    color: #ffffff !important;
}
#contact-modal input.form-control.rounded-0 {
    font-size: 1rem !important;
    font-weight: 400 !important;
}
#contact-modal .modal-content * {
    font-family: 'Roboto Condensed', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
}
#contact-modal .modal-content h3 {
    font-size: 2rem !important;
}
#contact-modal .modal-content small, #contact-modal .modal-content .small {
    font-size: .85rem !important;
}
#idContactUs-submit {
    background: #ffae00 !important;
    color: #202020 !important
}

.upload-btn-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
}
.upload-btn-wrapper input[type=file] {
    font-size: 100px;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
}
.form-control {
    border-radius: 0px;
    font-size: .9rem;
    color: #212121 !important;
    font-weight: 600;
}
.submit_btn {
    width: 100%;
    border-radius: 0px;
    background-color: #ffae00;
    color: #212121;
    text-transform: uppercase;
    text-align: center !important;
    box-shadow: 0px 0px 3px rgba(0,0,0,.7);
    transition: .3s linear all;
    -webkit-transition: .3s linear all;
    -moz-transition: .3s linear all;
}
.submit_btn:hover {
    width: 100%;
    border-radius: 0px;
    background-color: #5e5e5e;
    color: #ffffff;
    box-shadow: inset 1px 1px 3px rgba(0,0,0,.7);
    transition: .3s linear all;
    -webkit-transition: .3s linear all;
    -moz-transition: .3s linear all;
}
input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
    background-color: #dedede !important;
    background-image: none !important;
    color: rgb(0, 0, 0) !important;
}
.form-control:focus {
    color: rgba(0,0,0,.8);
    background-color: #fff;
    border-color: #5e5e5e;
    outline: 0;
    box-shadow: none !important;
}
input:disabled, textarea:disabled {
    background-color: rgba(255,255,255,.9) !important;
    cursor: default;
}
.form-check-input:checked {
    border-color: transparent;
    background: rgb(179, 179, 179) !important;
}
input[type="checkbox"]:before{
    background: #FFF;
}
.form-check-input {
    background-color: red !important;
}
input {
    font-size: 80%;
    font-weight: 400;
}
.mail_form_reply div, .mail_form_reply p, .mail_form_reply span {
    font-size: 1.2rem !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
    color: #000000 !important;
    text-align: center
}
.mail_form_reply {
    color: #000;
    padding: 50px 1rem !important;
}
button.close, button.close.bg-red {
    background: #ffae00 !important;
    color: #202020 !important;
    border: 0 !important;
    z-index: 999999 !important;
    position: absolute !important;
    right: 20px !important;
    top: 20px !important;
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    font-size: 2rem !important;
}
.close:focus, .close:hover {
    background: #ffffff !important;
    color: #ffae00;
    opacity: 1;
}
.close {
    opacity: revert;
}
.form-check a {
    color: #ffae00;
}

/* MEDIA */

@media (min-width: 1450px){
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1130px;
    }
}
@media (max-width:1700px){
    #bgvid {
        height: 105%;
    }
    .video-js .vjs-tech {
        object-fit: cover !important;
    }
    #slogan {
        width: 34%;
    }
}
@media (max-width:1440px){
    i.fas.fa-chevron-up {
        line-height: 45px;
    }
    #slogan {
        width: 70%;
    }
    #navbar_logo {
        width: 200px !important;
        opacity: 1 !important;
    }
}
@media (max-width: 1200px){
    #navbar_top {
        text-align: center;
    }
    .navbar .navbar-nav .nav-item .dropdown-menu {
        position: relative;
    }
    .navbar .navbar-nav .nav-item .dropdown-menu a {
        text-align: center;
        font-size: .9rem;
        background: rgba(0,0,0,.3);
        padding: .5rem !important;
    }
    a.nav-link {
        line-height: .9rem;
        margin: 0 auto;
        padding: .5rem;
    }
    #slogan {
        width: 70%;
    }
    #slogan .img-fluid {
        max-width: 80% !important;
    }
    section {
        padding-left: 80px !important;
        padding-right: 80px !important;
    }
    .empty {
        min-height: 400px;
    }
    /*.card.h-100.hover-shadow.border.border-light.mob_no_margin {
        margin-top: 10px !important;
    }*/
    #salone h4 {
        margin-bottom: 20px;
    }
    #inner_section h5.text-yellow.text-start.mb-0 {
        margin-bottom: 20px;
    }
}
@media (max-width: 1100px){
    #slogan .img-fluid {
        max-width: 60% !important;
    }
    #servizi h3.card-title {
        font-size: 1.4rem;
    }
}
@media (max-width:1000px){
    ul.navbar-nav * {
        text-align: center !important;
    }
    .navbar .navbar-nav .nav-item .dropdown-menu {
        position: relative !important;
        display: block !important;
        text-align: center !important;
        float: none !important;
        width: 100% !important;
        background-color: transparent !important;
    }
    ul.navbar-nav.d-flex.flex-row.me-1 {
        -webkit-box-orient: vertical !important;
        display: block !important;
        text-align: center;
    }
    li.nav-item.me-3.me-lg-0.navbar_icons_wrapper {
        margin-right: 0 !important;
    }
    .alphabet_list.mt-3 {
        width: 85% !important;
    }
    .input-group.ms-auto {
        justify-content: center;
    }
}
@media (max-width:550px){
    #slogan {
        width: 90% !important;
        left: 5% !important;
    }
    #slogan object {
        display: none;
    }
    h1.fs-1, h1.text-yellow.fs-1, h2.cd-headline {
        font-size: 2rem !important;
    }
    section {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    section .container {
        padding: 20px !important;
    }
    #bgvid {
        height: 100%;
    }
    a#navbar_logo {
        width: 180px;
        opacity: 1 !important;
    }
    #navbar_top {
        padding-top: 5px;
        padding-bottom: 5px;
    }
    .navbar-dark .navbar-nav .nav-link.active, .navbar-dark .navbar-nav .show>.nav-link {
        padding-top: 0;
        padding-bottom: 0;
    }
    .navbar-dark .navbar-nav .nav-link {
        color: #ffffff;
    }
    .navbar .navbar-nav .nav-item .dropdown-menu a {
        font-size: .9rem;
    }
    .dropdown-menu>li {
        float: none !important;
        display: inline-flex !important;
        text-align: center !important;
        margin: 0 auto !important;
    }
    .empty {
        min-height: 250px;
    }
    #beautynews {
        margin-left: 0px;
        margin-right: 0px;
    }
    .announment_wrapper .mt-5 {
        margin-top: 0rem !important;
    }
    .announment_wrapper .mb-5 {
        margin-bottom: 0rem !important;
    }
    h2.inner_slogan {
        font-size: 2rem !important;
    }
    #salone h4 {
        margin-bottom: 20px;
    }
    .embed-responsive, .salone_360 {
        position: relative;
        width: 100%;
        height: 400px !important;
    }
    .col {
        -webkit-box-flex: 1;
        -ms-flex: 1 0 100%;
        flex: 1 0 100%;
    }
    p.card-text.text-black {
        font-size: 1rem;
    }
    #form_container {
        width: 100% !important;
    }
    img.img-fluid.rounded.lazy {
        width: 100%;
        height: auto;
    }
    #il_team {
        padding-top: 0 !important;
    }
    #inner_section hr {
        display: none !important;
    }
    #inner_section .pb-4 {
        padding-bottom: 0rem!important;
    }
    #inner_section .bd-gray-200 {
        margin-bottom: 20px !important;
    }
    .modal button.close {
        right: 0;
        top: 0;
    }
    .modal h4.text-dark {
        font-size: 1.1rem;
    }
    .modal-title {
        font-size: 1.5rem;
    }
}

/* BEAUTYNEWS */

#beautynews {
    margin-top: 40px;
}
#close_iframe {
    position: absolute;
    right: 0px;
    top: -40px;
    width: 40px;
    height: 40px;
    background-color: #cc0000;
    text-align: center;
    cursor: pointer;
    box-shadow: 0px 0px 5px black;
    transition: .3s linear all;
}
#close_iframe .fa-times {
    color: #ffffff;
    font-size: 30px;
    text-align: center;
    border-radius: 0 !important;
    line-height: 40px;
    transition: .3s linear all;
}
#close_iframe:hover {
    background-color: #ffffff;
    transition: .3s linear all;
}
#close_iframe:hover .fa-times {
    color: #cc0000;
    transition: .3s linear all;
}
.news_container {
    position: relative;
    margin: 0 auto;
    width: 100%;
    overflow: hidden;
    border: 5px solid #ffffff;
    height: auto;
    background: #000000;
}
#news_frame {
    position: relative !important;
    width: 100% !important;
    height: 1390px !important;
    overscroll-behavior: contain;
    background-color: #000000;
}
.announcement_container {
    padding: 30px;
}
@media (max-width: 500px){
    .announment_wrapper {
        margin-top: 0px !important;
    }
    .announment_wrapper row {
        margin-top: 0px !important;
    }
    #news_frame {
        height: 790px !important;
    }
    #chi_siamo .card.h-100.hover-shadow.border.border-light {
        margin-bottom: 20px;
    }
    #chi_siamo .mob_no_margin {
        margin-bottom: 0 !important;
    }
}

/* INSTAGRAM */

#es-new #es-header .es-free {
    display: none !important;
}

/* OFFICIAL WEB + PRIVACY */

#linkToSiteWrapper {
    position: fixed!important;
    width: 70px !important;
    height: auto !important;
    top: 50%!important;
    transform: translateY(-50%) !important;
    padding-left: 0px;
    padding-bottom: 0px !important;
    left: 0!important;
    z-index: 99999999!important;
}
#linkToSite {
    position: relative!important;
    margin: 0px auto;
    width: 100% !important;
    height: auto !important;
    padding-left: 0px;
    padding-top: 5px;
    padding-bottom: 10px !important;
    background-color: #9b0000!important;
    box-shadow: 0px 0px 3px rgba(0,0,0,1);
}
#linkToSite a {
    text-decoration:none
}
#linkToSite:hover{
    background: rgb(122, 0, 0)!important;
}
.siteLink {
    font-family: Verdana, Arial, Tahoma, Helvetica, sans-serif, Tahoma;
    text-shadow: 3px 3px 4px #000;
    color: white;
    text-align: center;
    font-size: 11px;
    margin-left: 10px !important;
    margin-top: 7px !important;
    margin-right: 15px;
    margin-bottom: 10px;
}
@media screen and (max-width:993px) {
    #linkToSite{
        top: auto!important;
        bottom: 0 !important;
        width: auto !important;
        height: auto!important;
        /*            padding: 5px 0px!important;*/
        box-shadow: 0px 0px 3px rgba(0,0,0,1);
    }
}
.privacy {
    font-family: sans-serif !important;
    text-align: center;
    background: rgba(0,0,0,0.4);
    padding: 5px;
    font-size: 12px;
    border: 2px solid white;
    margin-bottom: -10px;
    transition: all .3s;
    color: white !important;
    font-weight:normal;
    display: block;
    text-decoration: none !important;
}
.privacy:hover {
    background: rgba(0,0,0,1);
}
.privacy a:link,
.privacy a:visited,
.privacy a:active {
    color: #ffffff !important;
}
#closeHP {
    position: relative;
    margin: 0px auto 15px auto;
    text-align: center;
    padding-bottom: 0px;
}
#closeHP p {
    font-family: sans-serif !important;
    color: #9b0000  !important;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    line-height: 0px;
    text-shadow: 0px 0px 3px rgba(0,0,0,1);
    cursor: pointer;
    transition: all .3s;
}
#closeHP p:hover {
    color: #ffffff !important;
    transition: all .3s;
}
@media (max-width:450px){
    #linkToSiteWrapper {
        display: none !important;
    }
}

/*Top Hairstylist Logo*/

.wrapper_top {
    position: fixed;
    right: -1px;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: 80px;
    padding: 5px;
    background-color: #000000;
    box-shadow: 0px 0px 3px rgba(0,0,0,1);
    transition: .3s linear all;
    -webkit-transition: .3s linear all;
    -moz-transition: .3s linear all;
    border: 1px solid rgba(255,255,255,.6);
    z-index:  999 !important;
}
.logo_tophairstylist {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0px auto;
    background-image: url(img/general/top-hairstylists-small.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}
@media (max-width:450px){
    .wrapper_top {
        display: none;
    }
}

/* FLIP BOOK */

.flipbook-contenitore {
    position: relative;
    width: 100%;
    min-height: 740px;
    margin: 0 auto;
    border: none;
    /* background-color: rgba(0,0,0,.15); */
}

/* POPUP ANIMATION */

.modal-header.bg-dark.rounded-0 {
    border: none;
}
#modal_close_btn {
    position: absolute;
    top: -15px;
    right: -10px;
}
.btn-close:hover {
    background-color: #ffffff;
    color: #212121;
    transition: .3s linear all;
}
.animated_gifts_wrapper {
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    height: 450px;
    padding: 0;
}
.animated_gifts {
    position: absolute;
    width: 92%;
    height: 430px;
    left: 4% !important;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    top: 20px;
}
.animated_gift_1 {
    background-image: url(img/general/gift_card.webp);
    animation: giftAnima_1 2s forwards;
}
.animated_gift_2 {
    background-image: url(img/general/vip_card.webp);
    animation: giftAnima_2 2s forwards;
    animation-delay: 2s;
    opacity: 0;
    z-index: 2;
}
.animated_gift_3 {
    background-image: url(img/general/club_privilege.webp);
    animation: giftAnima_3 2s forwards;
    animation-delay: 4s;
    opacity: 0;
    z-index: 3;
}
@keyframes giftAnima_1 {
    0% {
        opacity: 0;
        transform: scale(0);
        margin-top: 0;
    }
    25% {
        opacity: 1;
        transform: scale(1);
        margin-top: 0;
    }
    75% {
        opacity: 1;
        transform: scale(1);
        margin-top: 0;
    }
    100% {
        opacity: 1;
        transform: scale(.7) rotate(-10deg);
        margin-top: -110px;
        z-index: 1;
    }
}
@keyframes giftAnima_2 {
    0% {
        opacity: 0;
        transform: scale(0);
        margin-top: 0;
    }
    25% {
        opacity: 1;
        transform: scale(1);
        margin-top: 0;
    }
    75% {
        opacity: 1;
        transform: scale(1);
        margin-top: 0;
    }
    100% {
        opacity: 1;
        transform: scale(.9);
        margin-top: 0px;
        z-index: 2;
    }
}
@keyframes giftAnima_3 {
    0% {
        opacity: 0;
        transform: scale(0);
        margin-top: 110px;
    }
    25% {
        opacity: 1;
        transform: scale(.75);
        margin-top: 110px;
    }
    75% {
        opacity: 1;
        transform: scale(.75);
        margin-top: 110px;
    }
    100% {
        opacity: 1;
        transform: scale(.65) rotate(10deg);
        margin-top: 110px;
        z-index: 3;
    }
}

/* WORK WITH US FIXED FORM */

input.form-control.rounded-0, textarea#messageTextareaPrenotaFixed, select#professionePrenotaFixed, #messageTextareaContactFixed {
    font-family: var(--barlow-light);
    font-size: 1.1rem !important;
    font-weight: 400;
}
#idContactFixed-submit {
    background-color: #ffae00;
}
#idContactFixed-submit:hover {
    background-color: #ffffff;
    color: #202020 !important;
}
fieldset span.small.mb-0 {
    color: #ffffff;
}
#prenota-policy-privacy {
    color: #ffae00 !important;
    font-family: var(--barlow-light);
    font-size: 1rem !important;
}

/* IUBENDA */

.iubenda-tp-btn[data-tp-float][data-tp-float=bottom-right] {
    left: 0 !important;
    width: 32px !important;
    opacity: .3 !important;
    transition: .3s linear all !important;
}
.iubenda-tp-btn[data-tp-float][data-tp-float=bottom-right]:hover {
    opacity: 1 !important;
    transition: .3s linear all !important;
}

/* BOOTSTRAP SIZE AND OTHER BUGS */

.breadcrumb-item+.breadcrumb-item::before {
    content: var(--mdb-breadcrumb-divider, "|") !important;
}
@media (min-width: 1201px) {
    .row-cols-xl-1>.col {
        flex: 0 0 auto;
        width: 100%;
    }
    .row-cols-xl-2>.col {
        flex: 0 0 auto;
        width: 50%;
    }
    .row-cols-xl-3>.col {
        flex: 0 0 auto;
        width: 33.333333%;
    }
    .row-cols-xl-4>.col {
        flex: 0 0 auto;
        width: 20%;
    }
    .row-cols-xl-5>.col {
        flex: 0 0 auto;
        width: 20%;
    }
    .row-cols-xl-6>.col {
        flex: 0 0 auto;
        width: 16.666666%;
    }
    .row-cols-xl-7>.col {
        flex: 0 0 auto;
        width: 14.285714%;
    }
    .row-cols-xl-8>.col {
        flex: 0 0 auto;
        width: 12.5%;
    }
    .row-cols-xl-9>.col {
        flex: 0 0 auto;
        width: 11.111111%;
    }
    .row-cols-xl-10>.col {
        flex: 0 0 auto;
        width: 10%;
    }
    .row-cols-xl-11>.col {
        flex: 0 0 auto;
        width: 9.090909%;
    }
    .row-cols-xl-12>.col {
        flex: 0 0 auto;
        width: 8.3%;
    }
}
@media (min-width: 993px) and (max-width: 1200px) {
    .row-cols-lg-1>.col {
        flex: 0 0 auto;
        width: 100%;
    }
    .row-cols-lg-2>.col {
        flex: 0 0 auto;
        width: 50%;
    }
    .row-cols-lg-3>.col {
        flex: 0 0 auto;
        width: 33.333333%;
    }
    .row-cols-lg-4>.col {
        flex: 0 0 auto;
        width: 20%;
    }
    .row-cols-lg-5>.col {
        flex: 0 0 auto;
        width: 20%;
    }
    .row-cols-lg-6>.col {
        flex: 0 0 auto;
        width: 16.666666%;
    }
    .row-cols-lg-7>.col {
        flex: 0 0 auto;
        width: 14.285714%;
    }
    .row-cols-lg-8>.col {
        flex: 0 0 auto;
        width: 12.5%;
    }
    .row-cols-lg-9>.col {
        flex: 0 0 auto;
        width: 11.111111%;
    }
    .row-cols-lg-10>.col {
        flex: 0 0 auto;
        width: 10%;
    }
    .row-cols-lg-11>.col {
        flex: 0 0 auto;
        width: 9.090909%;
    }
    .row-cols-lg-12>.col {
        flex: 0 0 auto;
        width: 8.3%;
    }
}
@media (min-width: 767px) and (max-width: 992px) {
    .row-cols-md-1>.col {
        flex: 0 0 auto;
        width: 100%;
    }
    .row-cols-md-2>.col {
        flex: 0 0 auto;
        width: 50%;
    }
    .row-cols-md-3>.col {
        flex: 0 0 auto;
        width: 33.333333%;
    }
    .row-cols-md-4>.col {
        flex: 0 0 auto;
        width: 20%;
    }
    .row-cols-md-5>.col {
        flex: 0 0 auto;
        width: 20%;
    }
    .row-cols-md-6>.col {
        flex: 0 0 auto;
        width: 16.666666%;
    }
    .row-cols-md-7>.col {
        flex: 0 0 auto;
        width: 14.285714%;
    }
    .row-cols-md-8>.col {
        flex: 0 0 auto;
        width: 12.5%;
    }
    .row-cols-md-9>.col {
        flex: 0 0 auto;
        width: 11.111111%;
    }
    .row-cols-md-10>.col {
        flex: 0 0 auto;
        width: 10%;
    }
    .row-cols-md-11>.col {
        flex: 0 0 auto;
        width: 9.090909%;
    }
    .row-cols-md-12>.col {
        flex: 0 0 auto;
        width: 8.3%;
    }
}

@media (min-width: 577px) and (max-width: 767px) {
    .row-cols-sm-1>.col {
        flex: 0 0 auto;
        width: 100%;
    }
    .row-cols-sm-2>.col {
        flex: 0 0 auto;
        width: 50%;
    }
    .row-cols-sm-3>.col {
        flex: 0 0 auto;
        width: 33.333333%;
    }
    .row-cols-sm-4>.col {
        flex: 0 0 auto;
        width: 20%;
    }
    .row-cols-sm-5>.col {
        flex: 0 0 auto;
        width: 20%;
    }
    .row-cols-sm-6>.col {
        flex: 0 0 auto;
        width: 16.666666%;
    }
}

@media (min-width: 0px) and (max-width: 576px){
    .row-cols-1>.col {
        flex: 0 0 auto;
        width: 100% !important;
    }
    .row-cols-2>.col {
        flex: 0 0 auto;
        width: 50% !important;
    }
    .row-cols-3>.col {
        flex: 0 0 auto;
        width: 33.333333% !important;
    }
    .row-cols-4>.col {
        flex: 0 0 auto;
        width: 20%;
    }
    .row-cols-5>.col {
        flex: 0 0 auto;
        width: 20%;
    }
    .row-cols-6>.col {
        flex: 0 0 auto;
        width: 16.666666%;
    }
}

/* MYNEWS STYLES */

@media (min-width: 1201px){
    .masonry {
        column-count: 4 !important;
    }
}
#clsContenitoreDati.container-fluid {
    padding-bottom: 3rem;
}
.clsPaginatoreTasti.mt-4 {
    margin-top: 0 !important;
}
.clsPaginatoreContenitorePrincipale a.clsPaginatoreCasellaSelezionata {
    background-color: #a3a3a3 !important;
    border-radius: 0 !important;
}
.clsPaginatoreContenitorePrincipale a:hover:not(.clsPaginatoreCasellaSelezionata) {
    background-color: #ffffff !important;
    border-radius: 0 !important;
}
.clsPaginatoreContenitorePrincipale a {
    padding: 6px 16px !important;
}
.masonry.bordered {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* MEDIA QUERIES */

@media (max-width: 550px){
    html {
        scroll-padding-top: 74px !important;
        overflow: hidden;
        width: 100%;
        position: fixed;
    }
    body {
        height: 100%;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    section {
        scroll-margin-top: 74px !important;
    }
    #estetica, #menu-dona, #menu-uomo, #speciale-giovani, #surfer {
        scroll-margin-top: 80px !important;
    }
    .large-menu {
        position: absolute;
        margin-top: 0 !important;
        padding: 0 !important;
        height: 100vh;
        width: 100%;
        top: 0;
        align-items: center;
        justify-content: center;
        display: flex;
    }
    .large-menu ul.mb-0 {
        padding-left: 0 !important;
    }
    .large-menu ul li {
        height: 3.5rem !important;
        font-size: 2.5rem !important;
        line-height: 3.5rem !important;
        text-align: center;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .large-menu ul li a:hover {
        margin-left: 0 !important;
    }
    .small-menu-items-wrapper, .large-menu ul li:hover .small-menu-items-wrapper {
        display: none !important;
    }
    .whatsapp-button {
        right: 1rem;
        bottom: calc(1rem + 60px) !important;
        z-index: 110;
        width: 50px;
        height: 50px;
    }
    .social-contact-trigger {
        width: 50px;
        height: 50px;
        right: 1rem;
        bottom: 1rem;
    }
    .social-contact-wrapper {
        position: fixed;
        width: auto;
        height: fit-content !important;
        overflow: auto;
        word-wrap: break-word;
        line-height: 2rem;
        padding: .3rem;
    }
    .social-contact-wrapper-rotated {
        right: 0 !important;
        bottom: calc(3rem + 25px) !important;
    }
    #main_navbar.navbar {
        position: fixed !important;
        top: 0 !important;
        height: fit-content !important;
        width: 100vw;
        height: 74px !important;
        border-bottom: 1px solid rgba(89,49,21,0);
        padding: .6rem 1rem !important;
    }
    #main_navbar .col-12 {
        padding-left: 0;
        padding-right: 0;
        display: flex !important;
        align-items: center !important;
    }
    .left-side.d-flex.align-items-center.justify-contne-center.me-auto.pt-3 {
        padding-top: 0 !important;
    }
    h1, h2.cd-headline {
        display: none !important;
    }
    .navbar-toggler-btn.me-3 {
        margin-right: 0 !important;
    }
    .navbar-brand.me-0 {
        position: relative;
        width: 150px !important;
        height: auto !important;
    }
    .sticky-top {
        position: relative;
        padding: 74px 0 0 0;
    }
    .sticky-top .container-fluid {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    h2.inner-title.position-relative.fs-1.text-start.text-white.mb-5, h2.contact-title.position-relative.fs-1.text-center.text-white.mb-5 {
        text-align: center !important;
        margin: auto;
        z-index: 111;
    }
    .inner-title-under, .contact-title-under, .inner-title-under-smaller {
        display: none;
    }
    .container-fluid {
        --mdb-gutter-x: 0 !important;
    }
    .empty-tall {
        min-height: 50vh;
    }
    .scrolling-inner-text {
        font-size: inherit;
    }
    .breadcrumb a {
        font-size: 1rem;
    }
    .social-wrapper {
        height: auto;
        overflow-y: visible;
    }
    .mCSB_inside>.mCSB_container {
        margin-right: 0px !important;
    }
    .card {
        padding: 1rem;
        align-items: center;
        text-align: center;
        justify-content: center;
    }
    .card a.btn.btn-lg.bg-yellow.rounded-0.text-dark {
        margin: 0 auto !important;
    }
    #galleria-video .col.position-relative.p-lg-5.p-4.d-flex.flex-column.align-items-start.justify-content-center {
        align-items: center !important;
    }
}