@media (min-width: 1200px) {
    .content {
        font-size: 1.35rem !important;
    }

    .content h1 {
        font-size: 2.5rem !important;
    }

    .content h2 {
        font-size: 2.35rem !important;
    }

    .content h3 {
        font-size: 2.15rem !important;
    }

    .content h4 {
        font-size: 2rem !important;
    }

    .content h5 {
        font-size: 1.75rem !important;
    }

    .content h6 {
        font-size: 1.5rem !important;
    }

    .content p {
        font-size: 1.35rem !important;
    }
}

@media (min-width: 768px) {
    .col-md-25 {
        flex: 0 0 auto;
        width: 20.4%;
    }
}

@media only screen and (max-width: 1110px) {
    .caesar-shape-container .tns-row-centered .tns-ovh::after,
    .caesar-shape-container .tns-row-centered .tns-ovh::before {
        display: none;
        visibility: hidden;
    }

    .nav-link.fs-3 {
        font-size: calc(0.85rem + 0.12vw) !important;
    }

    .tl-section__wrapper {
        margin-right: auto;
    }

    .tl-nav {
        position: relative !important;
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        padding: 0;
        text-align: center;
        background: #eaeaea !important;
        z-index: 9;
        overflow: auto;
        white-space: nowrap;
        height: 50px;
    }

    [data-bs-theme="dark"] .tl-nav{
        background: #15171c !important;
    }

    .tl-nav:after {
        content: "";
        position: fixed;
        bottom: 0;
        right: 0;
        width: 50px;
        height: 50px;
        background: -webkit-linear-gradient(
            right,
            #eaeaea 0,
            rgba(234, 234, 234, 0) 100%
        );
        background: linear-gradient(
            to left,
            #eaeaea 0,
            rgba(234, 234, 234, 0) 100%
        );
    }

    [data-bs-theme="dark"] .tl-nav:after{
        background: -webkit-linear-gradient(
            right,
            #15171c 0,
            rgba(21, 23, 28, 0) 100%
        );
        background: linear-gradient(
            to left,
            #15171c 0,
            rgba(21, 23, 28, 0) 100%
        );
    }

    .tl-nav > ul {
        margin-left: 15px;
    }

    .tl-nav .tl-nav__item {
        display: inline-block;
        padding: 0;
        margin: 0 5px;
    }

    .tl-nav .tl-nav__item span {
        border-bottom: 0;
        padding: 0;
        font-size: 16px;
        line-height: 50px;
    }

    .tl-nav .tl-nav__item:last-child {
        margin-right: 50px;
    }

    .tl-nav-btn {
        display: none !important;
    }
}

@media only screen and (max-width: 1024px) {
    .tl-nav .tl-nav__item span {
        font-size: 14px;
    }

    .show-gamma-color-single .show-gamma-color-single-formati,
    .flex__item,
    .list__item__spec,
    .formato,
    .show-gamma-color-single .show-gamma-color-single-variabilita {
        opacity: 1;
    }

    .scrolltop {
        bottom: 70px;
    }
}

@media only screen and (max-width: 900px) {
    #action-bar a{
        padding: 5px;
    }
    #modalMegaMenuProdotti .modal-fullscreen .modal-body {
        overflow-y: auto;
    }

    #modalMegaMenuProdotti .mh-80 {
        max-height: auto !important;
        height: auto !important;
    }

    .tl-img {
        width: 400px;
        height: 264px;
    }

    .tl-bg {
        width: 150px;
    }

    .tl-list__item:nth-child(odd) .tl-cnt {
        margin-left: calc(50% + 75px + 20px);
    }

    .tl-list__item:nth-child(even) .tl-cnt {
        margin-right: calc(50% + 75px + 20px);
    }

    .actionbarModal a {
        margin: 0 !important;
        margin-bottom: 15px !important;
        width: 100%;
    }

    .tns.tns-default.tns-row .tns-outer .tns-inner#tns1-iw {
        max-width: 100%;
    }
}

@media (max-width: 768px) {

    .btn.btn-light {
        white-space: nowrap;
    }
    
    .app-container .row {
        margin-left: 0;
        margin-right: 0;
    }

    .app-container .row > * {
        padding: 0;
    }

    .sm-mt-10 {
        margin-top: 2.5rem !important;
    }

    .sm-p-10 {
        padding: 2.5rem !important;
    }

    .sm-pb-10 {
        padding-bottom: 2.5rem !important;
    }

    .h-75-vh {
        height: auto !important;
    }

    .sm-60-vh {
        height: 60vh !important;
    }

    .xs-margin-25px-bottom {
        margin-bottom: 25px;
    }

    .row-abs-minus-100 {
        margin-top: 0;
    }

    .slide-title.title_lines {
        margin-bottom: 0 !important;
        text-shadow:
            0 0 10px #fff,
            0 0 15px #fff,
            0 0 20px rgba(255, 255, 255, 0.9),
            0 0 25px rgba(255, 255, 255, 0.4);
    }

    [data-bs-theme="dark"] .slide-title.title_lines{
        text-shadow:
            0 0 10px #15171c,
            0 0 15px #15171c,
            0 0 20px rgba(21, 23, 28, 0.9),
            0 0 25px rgba(21, 23, 28, 0.4);
    }

    #formati-section .btn-bordered {
        width: 100%;
        border: 0;
        padding-right: 50px;
    }

    .format-info.text-start {
        font-size: 1.2rem;
    }

    .mobile-cards-wrapper .card-header {
        padding: 0 1.25rem;
    }

    .card.mobile-color-card .card-header h5.card-title {
        font-size: calc(1rem + 0.9vw) !important;
        font-weight: normal !important;
        padding-top: 0.5rem;
    }

    .list-group-flush > .list-group-item {
        padding-left: 1.25rem;
        border-bottom: 1px solid #eaeaea;
    }

    .filter-buttons .single-filter {
        position: relative;
    }

    .filter-buttons .single-filter::after {
        content: "";
        position: absolute;
        right: 0;
        top: 30px;
        bottom: 0;
        width: 50px;
        background: linear-gradient(
            to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 1) 90%
        );
        pointer-events: none;
        z-index: 5;
    }

    [data-bs-theme="dark"] .filter-buttons .single-filter::after {
        background: linear-gradient(
            to right,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 1) 90%
        );
    }

    #cc_drawer_menu .card .card-header .card-title .btn-bordered {
        display: inline-block;
    }

    .mobile-color-card {
        overflow: hidden;
    }

    #project-slider .title_lines {
        text-align: center !important;
        margin-bottom: 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .colori-swiper .swiper-wrapper {
        justify-content: unset;
    }

    .nascondi-loop {
        visibility: visible;
    }

    .swiper {
        padding-right: calc(var(--bs-gutter-x) * 0.5);
        padding-left: calc(var(--bs-gutter-x) * 0.5);
    }

    .fastlink-swiper-wrapper {
        flex-wrap: nowrap !important;
        align-items: center;
        padding: 0 !important;
    }

    .fastlink-swiper-wrapper i {
        padding-right: 0;
    }

    .fastlink-swiper-wrapper .swiper-slide {
        margin-right: auto;
    }

    .links {
        text-align: left !important;
    }

    .linksDx {
        margin-top: 0.5rem !important;
    }

    .forms__caesar input {
        width: 100%;
    }

    .soluzioni-card {
        background: #fff;
        padding: 2.5rem !important;
        border-radius: 0.95rem !important;
        text-align: center;
    }

    .stack-wrapper {
        position: relative;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .stack-card {
        padding: 0;
    }

    .tl-nav:after {
        display: none;
    }

    .swiper-container-mobile .swiper-wrapper,
    .row-desktop-reset-mobile {
        flex-wrap: nowrap !important;
    }

    .tl-nav {
        border-radius: 0.95rem !important;
        position: sticky !important;
        overflow-y: hidden;
    }

    .tl-nav > ul {
        margin-left: 0;
    }

    .tl-cnt__title {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .tl-cnt__title:before {
        display: none;
    }

    .tl-list__item:nth-child(even) .tl-cnt::before,
    .tl-cnt::before {
        position: relative;
        margin-left: -25px;
        left: 50%;
        right: auto;
    }

    .tl-title {
        font-size: 48px;
        text-align: center;
    }

    .tl-description {
        width: 100%;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        padding-top: 20px;
        padding-bottom: 30px;
    }

    .CollezionePageColore .links a {
        margin-bottom: 0.5rem;
    }

    .CollezionePageColore .linksDx {
        margin-top: 0 !important;
    }

    .mb-sm-10 {
        margin-bottom: 20px !important;
    }

    .stack-section {
        padding-bottom: 0;
    }

    [data-kt-app-header-fixed-mobile="true"] .app-wrapper {
        margin-top: 90px !important;
    }

    .tl-unexpected-info {
        padding-left: 10px;
        padding-right: 10px;
    }

    .tl-section {
        padding-top: 60px;
    }

    .tl-section__intro {
        background: #fff;
        text-align: center;
        padding-top: 30px;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    [data-bs-theme="dark"] .tl-section__intro {
        background: #000 !important;
    }

    .tl-cnt {
        background: #fff;
        padding-top: 20px;
        padding-bottom: 30px;
        margin: 0 auto !important;
        text-align: center !important;
        width: 100%;
        max-width: 400px;
    }

    [data-bs-theme="dark"] .tl-cnt {
        background: #15171c !important;
    } 

    .single-item .text-overlay {
        max-width: 100% !important;
        width: 100% !important;
        left: 0 !important;
    }

    #accessible-slider .single-item .text-overlay {
        bottom: 70px !important;
    }

    .hero-media.position-absolute {
        position: relative !important;
        top: auto !important;
    }

    .hero-media.position-absolute .single-item .text-overlay {
        position: relative !important;
        top: auto !important;
    }

    .row-hero-magazine .single-item .text-overlay {
        position: relative !important;
        top: auto !important;
        padding: 0 !important;
        margin-bottom: 2.5rem !important;
    }

    .gotoall,
    .blog-content {
        text-align: center !important;
    }

    .swiper-wrapper-realizzazioni {
        margin-bottom: 50px;
    }

    .swiper-wrapper--product {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .swiper-controls-app {
        position: relative;
        bottom: 0;
        text-align: center;
        padding: 0;
        margin: 0;
        width: 100%;
        height: 60px;
        display: flex;
        align-content: center;
        justify-content: center;
        align-items: center;
    }

    .swiper-btn {
        height: 60px;
        width: 60px;
        top: 0;
        margin: 0;
        padding: 0;
        left: auto;
        right: auto;
    }

    .header_dark .text-overlay {
        bottom: 30px !important;
    }

    .tl-award-item__img {
        width: 120px;
        height: auto;
        margin-left: auto;
        margin-right: auto;
    }

    .ki-outline.fs-1 {
        font-size: calc(1.3rem + 1vw) !important;
    }

    .tl-unexpected-item {
        padding: 120px 20px 20px;
        text-align: center;
        background-size: 85px auto;
        background-position: center 20px;
    }

    .tl-img {
        position: relative;
        height: auto;
        left: auto !important;
        right: auto !important;
        -webkit-box-align: end;
        -ms-flex-align: end;
        -webkit-align-items: flex-end;
        -moz-align-items: flex-end;
        align-items: flex-end;
        margin-left: auto;
        margin-right: auto;
    }

    .tl-img:before {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 50px;
        background: #fff;
    }

    .tl-img img {
        position: relative;
    }

    .tl-img--bordered:after {
        display: none;
    }

    .tl-bg {
        width: 70px;
    }

    .action-bar {
        width: 85%;
    }

    .tl-section ol,
    .tl-section ul {
        padding-left: 0 !important;
    }

    .super-small-section {
        text-align: center;
    }

    .checkboxesmarker {
        margin-bottom: 2.5rem;
    }

    .map__navigation {
        padding: 0;
    }

    .selctriv {
        padding-right: 0.5rem !important;
    }

    .cittaindirizzo {
        padding-right: 0.5rem !important;
    }

    .fixed__sidebar {
        width: 50%;
        position: absolute;
        z-index: 99999;
        background: #fff;
        border-radius: 0.95rem;
    }

    .fixed__sidebar .style-2 {
        width: 90%;
    }

    .style-2 .trigger a {
        line-height: 1;
        padding-bottom: 0.5rem;
    }

    #abstract-section {
        text-align: center;
    }

    #classicloop-section h4 {
        margin-top: 0.5rem;
    }

    .js-collezione {
        margin-bottom: 2.5rem;
    }

    .filterRealizzazioni {
        padding: 1rem;
    }
}

@media only screen and (max-width: 480px) {
    .tl-img {
        width: 100%;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .tl-img a {
        margin-left: auto;
        margin-right: auto;
    }

    .tl-img img {
        margin-right: auto;
        margin-left: auto;
    }
}

@media only screen and (max-width: 450px) {
    .tl-highlight__title {
        text-align: center;
    }
}

@media (max-width: 991px) {
    .filter-buttons .d-flex.flex-wrap {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
    }

    .filter-buttons .single-filter {
        width: 100%;
        margin-right: 0 !important;
    }

    .filter-buttons .single-filter > span {
        display: block;
        margin-bottom: 8px;
        font-size: 1.1rem;
    }

    #filterSpessoreGroup,
    #filterFinituraGroup {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 10px;
        padding-bottom: 8px;
        width: 100%;

        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    #filterSpessoreGroup::-webkit-scrollbar,
    #filterFinituraGroup::-webkit-scrollbar {
        display: none;
    }

    #filterSpessoreGroup .btn,
    #filterFinituraGroup .btn {
        flex: 0 0 auto;
        white-space: nowrap !important;
        border: 1px solid #e4e6ef !important;
        border-radius: 20px !important;
        padding: 8px 18px;
        font-size: 0.95rem;

        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    #filterFinituraGroup .btn span.icon-sign,
    #filterFinituraGroup .btn span.icon-touchplus {
        display: flex;
        align-items: center;
    }

    #filterFinituraGroup .btn img.tip {
        height: 18px;
        width: auto;
        display: block;
    }
}

@media (max-width: 991px) {
    .hero-sectionvideo .responsive-iframe,
    .hero-sectionvideo .plyr,
    .hero-sectionvideo .plyr__video-wrapper {
        position: absolute !important;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
        aspect-ratio: unset !important;
        overflow: hidden;
    }

    .hero-sectionvideo .plyr iframe {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;

        min-width: 177.77vh !important;
        min-height: 100vh !important;

        width: 100vw !important;
        height: 56.25vw !important;

        transform: translate(-50%, -50%) !important;
    }
}
