@media (orientation: landscape) {
    /* @media screen and (min-width: 1024px) { */

    @keyframes flyicon {
        from {
            transform: translate3d(0, -300%, 0) rotate3d(0, 0, 1, -200deg);
            opacity: 1;
            visibility: visible;
        }

        90%,
        to {
            opacity: 1;
        }

        85%,
        95% {
            opacity: 0;
        }

        80% {
            transform: translate3d(0, 0, 0);
            opacity: 1;
        }
    }

    .portrait {
        display: none !important;
    }

    #Main {
        background-color: #f7f7f7;
    }

    .navbar-vertical-content {
        width: 3.5rem;
        border-radius: 0 .5rem .5rem 0;
        z-index: 1050;
    }

    .navbar-vertical-content li:hover {
        background-color: #eee;
        border-radius: .7rem;
        cursor: pointer;
    }

    .navbar-vertical-content li {
        margin-bottom: 1.5rem;
    }

    .navbar-nav.mappa li:nth-child(3),
    .navbar-nav.mappa li:nth-child(5),
    .navbar-nav.esplodi li:nth-child(3),
    .navbar-nav.esplodi li:nth-child(5) {
        opacity: .3;
        pointer-events: none;
        cursor: default;
    }


    .carousel-control.left,
    .carousel-control.right {
        background: none !important;
        color: #000 !important;
        width: 6rem;
        opacity: 1;
    }

    .carousel-control-next,
    .carousel-control-prev {
        position: inherit;
        cursor: pointer;
    }

    .main {
        margin-left: 3.5rem;
        margin-right: 3.5rem;
        transition: 0.5s;
        /* test */
        position: relative;
        /* test */
        height: 100vh;
        /* test */
    }

    .main.w-right {
        margin-right: 20rem;
    }

    .carousel-item>div {
        width: fit-content
    }

    .fill-screen img {
        max-height: calc(100vh - 5rem);
        width: 100%;
        height: auto;
    }

    .fill-screen .img_background {
        display: none;
    }

    .fill-screen .img_foreground {
        
    }

    .fill-screen .img_bck {
        height: calc(100vh - 5rem);
        width: auto;
    }

    .carousel-control.left,
    .carousel-control.right {
        background: none !important;
        color: #000 !important;
        width: 5rem;
        opacity: 1;
    }

    /* carousel button */
    .btn-arrow-content.left {
        border-radius: .5rem 0 0 .5rem;
    }

    .btn-arrow-content.right {
        border-radius: 0 .5rem .5rem 0;
    }

    .btn-arrow-content {
        box-shadow: 0 0 3px 0 #eee, 0 0 8px 2px #eee;
        background-color: #fff;
    }

    .btn-arrow {
        height: 3.5rem;
        width: 3.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #000;
    }

    .bottomdoc>div {
        width: fit-content;
        background-color: rgb(255, 255, 255);
        border-radius: 0.5rem 0.5rem 0 0;
        padding: 0;
        border: 1px solid #eee;
        box-shadow: 0 0 3px 0 #eee, 0 0 8px 2px #eee;
    }

    .bottomdoc .logo {
        max-height: 2.5rem;
        margin: 0 0.2rem;
        width: auto;
    }

    #bottom-input {
        background-color: #eee;
        border: 0;
        text-align: center;
        max-width: 6rem;
        height: 2rem;
        border-radius: 0.2rem;
    }

    .offcanvas-header .logo img {
        max-height: 4rem;
        width: auto;
    }

    .offcanvas-start {
        box-shadow: 0.1rem 0 0.2rem #ddd;
        border-radius: 0 .5rem .5rem 0;
        border: 0 !important;
    }

    .offcanvas-start {
        padding-left: 3.5rem;
    }

    .close-canvas {
        right: -1rem;
        top: 3rem;
    }

    .img_vol:hover {
        opacity: 0.7;
        background-color: #fff;
    }

    .img_vol:hover .plus_icon {
        opacity: 0.7;
    }

    .esplosione .barra_laterale {
        width: 25rem;
        box-shadow: 0.1rem 0 0.2rem #ddd;
        border-radius: 0 .5rem .5rem 0;
        font-size: calc(15px + (17 - 15) * ((100vw - 320px) / (1920 - 320)));
        font-weight: 400;
    }

    .esplosione .contenuto {}

    .esplosione {
        margin-left: 3.5rem;
        transition: 0.5s;
        position: relative;
        height: 100vh;
        background-color: #F6F7FA;
    }

    .esplosione .filtro_meccaniche img {
        max-width: 5rem;
        cursor: pointer;
    }

    .esplosione .list-group-item>p {
        display: none;
        width: fit-content;
        float: left;
        text-transform: uppercase;
        font-weight: bold;
    }

    .esplosione .list-group-item.show>p {
        display: block;
    }

    .esplosione .list-group-item.show .badge {
        background-color: #000;
        color: #f3f2f1 !important;
    }

    .esplosione .list-group-item.show {
        font-weight: bold;
    }

    .esplosione .col.space {
        padding-left: 0;
        /* margin-bottom: 1rem; */
    }

    .esplosione .interattivi {
        margin: 0 -5px;
        font-size: .6rem;
    }

    .esplosione .interattivi>a>span {
        position: absolute;
        top: 0;
        right: 0.5rem;
        background-color: #dc3545;
        border: 0.2rem solid #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        border-radius: 50%;
        width: 1.5rem;
        height: 1.5rem;
        font-weight: 600;
    }

    .esplosione .interattivi>a {
        opacity: .5;
        transition: all 0.5s ease;
    }

    .esplosione .interattivi>a:hover {
        opacity: 1;
    }

    #offcanvasPagine span {
        font-size: .7rem;
    }

    .img_vol {
        cursor: pointer;
    }

    #navbar-right {
        /* transition: 0.5s; */
        box-shadow: -0.1rem 0 0.2rem #ddd;
        border-radius: .5rem 0 0 .5rem;
        text-align: center;
    }

    #navbar-right:not(.active) .hide_close {
        display: none;
    }

    #navbar-right:not(.active) figure,
    #navbar-right:not(.active) a {
        border: 0 !important;
    }

    #navbar-right.active img.animated {
        padding-left: .5rem;
        padding-right: .5rem;
        width: 15%;
    }

    #navbar-right.active {
        width: 20rem;
    }

    .nr-btn-close {
        width: 1.6rem;
        height: 1.6rem;
    }

    #navbar-right .nr-open a>img {
        -moz-transform: scale(-1, 1);
        -webkit-transform: scale(-1, 1);
        -o-transform: scale(-1, 1);
        -ms-transform: scale(-1, 1);
        transform: scale(-1, 1);
    }

    #navbar-right .nr-open a {
        left: -.8rem;
        top: 2.5rem;
    }

    #navbar-right.active>.nr-open,
    #navbar-right>.nr-close {
        display: block;
    }

    #navbar-right>.nr-open,
    #navbar-right.active>.nr-close {
        display: none;
    }

    .img_vol .info img {
        max-width: 2.5rem !important;
        max-height: 2.5rem;
    }

    .img_vol .info img.flash {
        max-width: 2rem !important;
        max-height: 2rem;
    }

    .lista_punti_vendita {
        position: absolute;
        left: 10rem;
        z-index: 1;
        top: 10vh;
        max-height: 80vh;
        width: 35rem;
        overflow: auto;
        border-radius: 1rem;
        background-color: #fff;
        padding: 1rem;
    }

    .marker-link:hover {
        border-radius: 1rem;
        box-shadow: 0 0.3rem 0.5rem #bebebe;
        cursor: pointer;
    }

    .marker-link {
        border: 0 !important;
        margin-bottom: .5rem;
    }

    #close_punti_vendita {
        position: absolute;
        right: 2rem;
        top: 2rem;
    }

    .gm-ui-hover-effect {
        display: none !important;
    }

    #toast_condividi,
    #toast_lista {
        left: 4rem;
        padding: 1rem;
    }

    .toast-header>img {
        max-width: 2rem;
    }

    .modal>.modal-xl .modal-body {
        max-height: 40rem;
        height: 40rem;
    }

    .modal-content {
        border-radius: 1.3rem;
    }

    .modal-footer,
    .modal-footer ul {
        border-bottom-right-radius: 1.3rem;
        border-bottom-left-radius: 1.3rem;
    }

    .from_sidenav {
        opacity: 0.7;
        background-color: #fff;
    }

    .figure-background:hover {
        opacity: .7;
        transition: 0.5s;
        min-height: 10rem;
    }

    .card .figure {
        padding: 1rem 3rem;
    }

    .card .bollino {
        max-width: 25%;
        height: auto;
    }

    .card:hover .figure a {
        /* opacity: 1; */
        -webkit-transform: translateX(0);
        transform: translateX(0);
        right: 1.5rem;
    }

    .carousel-inner:not(.inZoom) {
        cursor: auto !important;
    }

    .carousel-inner.inZoom .img_vol {
        display: none !important;
    }

    .carousel-inner.inZoom .image {
        pointer-events: none;
    }

    .plus_icon {
        opacity: 0;
    }

    .card-body .text-ellipsis h6 {
        font-size: .9rem;
        line-height: 1rem;
    }

    .card-body .text-ellipsis p {
        font-size: .8rem;
        padding-top: .2rem !important;
        line-height: 1rem;
    }

    .card-body .text-ellipsis,
    .card-body .text-ellipsis p.text-ellipsis {
        height: 3.2rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        /* line-height: 1.3rem; */
    }

    .card-body .meccanica {
        width: 60%;
    }

    .card>figure>a>img {
        width: 2.5rem;
        height: 2.5rem;
    }

    .nav-popup a>span {
        display: none;
    }

    .abbinamento_consigliato {
        border-radius: 3rem 0 0 3rem;
        background-color: #eee;
        text-align: center;
        padding-top: 2rem;
    }

    .sendmail .form_content,
    .sendmail .col-lg-6 {
        height: 95%;
    }

    .sendmail-footer {
        border-radius: 0 0 1.3rem 1.3rem;
    }

    .prodotto_desktop .meccanica>span>img {
        max-height: 6rem;
        max-width: 6rem;
    }

    .card_prodotto .meccanica>span>img {
        max-height: 3.5rem;
    }

    .prezzo_base {
        font-size: .7rem;
    }

    .m-product {
        margin-bottom: auto;
    }

    .figure-background {
        min-height: 7rem;
    }

    .button-container {
        margin-top: .5rem;
    }

    .select_attributi {
        margin-bottom: 0;
        margin-top: .5rem;
    }
}

@media (min-width: 1600px) {
    .modal-xl {
        max-width: 1300px;
    }
}