@media only screen 
and (min-device-width: 320px) 
and (max-device-width: 568px) 
and (-webkit-min-device-pixel-ratio: 2)
and (orientation: portrait) { 



.button-header{
    display:none;
}

.section-with-bg {
    position: relative;
   
}

.grid-product {
    grid-template-columns: 1fr;
}


.item-product {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.grid-accessories {
    grid-template-columns: 1fr;
}

.footer-area {
    grid-template-columns: 1fr;
    gap: 2rem;
}
.site-footer{
    position:relative;
    margin-top: 0rem;
}

.p-max {
    font-size: 1.4rem;
    line-height: 1.8rem;
}

.p-max-mobile{
    font-size: 1.6rem;
    line-height: 1.8rem;
}

    .buttons-vertical a span {
        font-size: 1.4rem;
        line-height: 1.8rem;
    }

.buttons-vertical a span.button_more {
    gap: 0;
    font-size:0;
}

.top-head{
    padding:1rem;
}

.p-middle {
    font-size: 1.6rem;
    line-height: 1.8rem;
}

.title-prod-card {
    font-size: 1.2rem;
    line-height: 1.6rem;
}

.form-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
}

.white-form {
    padding: 1rem 0rem;
    border-radius: 10px;
}
.bg-contact{
        padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.footer-links a {
    color: #fff;
}

.footer-links li a svg {
    transform: translateY(0%);
}

.letter-strange {
    letter-spacing: -3px;
}

.bottom-footer .container {
    gap: 1rem;
    grid-template-columns: 1fr;

}
.loghi-footer img {
    width: 100%;
    height: auto;
}
.p-mobile-0{
    padding-right:0;
    padding-left:0;
}

.tabs{
    top: 5rem;
}
.bg-expert{
margin-bottom: 0;
        margin-top: 1rem;
}

.bg-contact {
    padding: 2rem 1rem !important;
}

    .section {
        padding: 2rem 0 ;
    }

    .top-head {
        padding: 1rem;
    }


.buttons-vertical {padding-top: 1rem;top: 0;}
.section-with-bg {
    min-height: inherit;
}

.container {
    padding-left: 1rem;
    padding-right: 1rem;
}

.pb-mobile-0{
    padding-bottom:0;
}

h2 {margin-bottom: 1rem;}

.p-middle-mobile{
    font-size:1.4rem;
    line-height:1.8rem;
}

.item-accessory {
    gap: 1.5rem;
}

.buttons-vertical a {
    padding: 1rem 0;
  
}

.miniature-prod{
    height: 20vh;
}

.fit-width {
    width: 100%;
}
.custom-button {
    justify-content: space-between;
    width:100%;
}

.item-product:hover {
    box-shadow: 0 0 0 0px #a5a5a550;
    background-color: #f5f5f9;
}

.item-accessory:hover {
    box-shadow: 0 0 0 0px #a5a5a550;
    background-color: #f5f5f9;
}

.item-product .custom-button {
    background-color: var(--primary-color);
    color: #fff;
}

.images-certifate {
    padding: 1rem 2rem;
    justify-content: space-between;
}

.white-form .col-12{
    padding:0 1rem;
}

.label-check {
    letter-spacing: 0;
    line-height: 20px;
}

.site-footer .sec-footer {
    padding: 1rem 0;
}

.contact-item p {
    font-size: 16px;
}

.footer-bottom p {
    letter-spacing: 0;
    font-size: 14px;
}

.bottom-footer {
    padding: 2rem 0;
}

.bottom-footer p {
    font-size: 14px;
}

    .hero-page {
        min-height: 40vh;
        align-items: flex-end;
        padding-bottom: 2rem;
    }
.text-grid {
    grid-template-columns: 100%;
}

.order-mobile-1{
    order:1;
}

.sec-accessorires > div:nth-child(even) .order-accessory-0 {
    order: 0;
}

.sec-accessorires > div:nth-child(even) .order-accessory-1 {
    order: 0;
}

.sec-accessorires > div:nth-child(odd) .order-accessory-1 {
    order: 0;
}

.sec-templates > section:nth-child(even) .order-template-0 {
    order: 1;
}

.sec-templates > section:nth-child(even) .order-template-1 {
    order: 0;
}

.sec-accessorires > .text-grid:nth-child(odd) {
    grid-template-columns: 100%;
    gap: 2rem;
    padding-top: 6rem;
}

.sec-accessorires > .text-grid:nth-child(even) {
    grid-template-columns: 100%;
    gap: 2rem;
    padding-top: 6rem;
}


.grid-item.width-100 {
width: 100%;
        height: 18rem;
}
.grid-item.width-50 {
width:  100%;
}
.grid-item.width-75 {
width:  100%;
}

.grid-item.width-33 {
width:  100%;
}

.grid-item.width-25 {
width:  100%;
}

.gallery-grid{
    padding:0;
}

.grid-contact {
    grid-template-columns: 100%;
}

.hero-page .hero-title{
    font-size: 1.8rem;
    line-height: 2rem;
    margin-bottom:1rem;
}

.breadcrumbs-container li {
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 16px;

}

.bg-page-case-history {
    background-position: center;
}

.bg-page-accessory {
    background-position: center;
}

.sec-accessorires {
    gap: 0;
}

.img-100-rounded {
    height: 40vh;
}

    .grid-product.inverse{
        margin-top:0;
    }
    
.sec-accessorires .img-100-rounded {
    height: 40vh;
}

.gap-mobile-0{
    gap:0;
}

.grid-container {
    gap: 1.5rem;
}

.grid-contact {
    
    gap: 1.5rem;
    margin-top: 0;
}

.item-grid-contact {
    padding: 1rem;

}

.p-middle-mobile-v2{
    font-size:1.2rem;
    line-height:1.4rem;
}

.grid-resources-private-area {
    grid-template-columns: 1fr;
}

.item-private-area{
   
    gap: 0.5rem;
    flex-direction: column;
        align-items: stretch;
}

.actions-file {
    width: 100%;
    justify-content: flex-end;
}

.item-private-area svg {
    height: 3rem;
}
.no-sticky-section-simple {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    margin-bottom: 0rem;
}

.file-private-area {
    gap: 1rem;
}

.navigation-arrow{
    padding: 0 1rem;
}

.glight-img .image_title {
    opacity: 1;
}

.certificate-img{
   margin-bottom: 2rem;
}

.certificate-img img{
    height: 3rem;
    width:auto;
}

.certificate-img img.v2{
    height: 5rem;
    width:auto;
}

.grid-item {

    height: 12rem;
}

.loader-left {
    transform: translateX(-3rem);
    height: 10rem;
}

.logo-loader {
    width: 60vw;

}

.loader-right {
    transform: translateX(3rem);
    height: 10rem;
}

.content-modal-to-signed
 {
    width: 100%;
    height: 100%;
    border-radius: 0;
    padding:1rem;
}
.close-modal-signed {
    top: 0;
    right: 0;
}

.view-detail-file iframe{
    min-height:70vh;
}

.view-detail-file img{
    height: 70vh;
}

.view-detail-file video{
    height: 70vh;
}

.row-signed {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.custom-button.inverse span{
    letter-spacing:0.5px;
    font-size:0.9rem;
    line-height:1.2rem;
}

.swiperReleatedProd .item-product:hover {
    background-color: #ffffff;
    box-shadow: 0 0 0 0px #a5a5a550;
}

.item-product:hover .miniature-prod img {
    transform: scale(1);
}

.swiperReleatedProd .item-product:hover .custom-button {
    background-color: var(--primary-color);
    color: #fff;
}

.item-product {
    gap: 1rem;

}

.no-mobile-span{
    display:none;
}


.bg-page-404{

    min-height: 70vh;
}

.hero-page.bg-page-404 .hero-content .hero-title{
    font-size:7rem;
    line-height:5rem;
}


}

@media only screen 
and (min-width: 667px) 
and (max-width: 926px)
and (max-height: 428px)
and (orientation: landscape) {



.button-header{
    display:none;
}

.section-with-bg {
    position: relative;
   
}

.grid-product {
    grid-template-columns: 1fr;
}


.item-product {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.grid-accessories {
    grid-template-columns: 1fr;
}

.footer-area {
    grid-template-columns: 1fr;
    gap: 2rem;
}
.site-footer{
    position:relative;
    margin-top: 0rem;
}

.p-max {
    font-size: 1.4rem;
    line-height: 1.8rem;
}

.p-max-mobile{
    font-size: 1.6rem;
    line-height: 1.8rem;
}

    .buttons-vertical a span {
        font-size: 1.4rem;
        line-height: 1.8rem;
    }

.buttons-vertical a span.button_more {
    gap: 0;
    font-size:0;
}

.top-head{
    padding:1rem;
}

.p-middle {
    font-size: 1.6rem;
    line-height: 1.8rem;
}

.title-prod-card {
    font-size: 1.2rem;
    line-height: 1.6rem;
}

.form-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
}

.white-form {
    padding: 1rem 0rem;
    border-radius: 10px;
}
.bg-contact{
        padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.footer-links a {
    color: #fff;
}

.footer-links li a svg {
    transform: translateY(0%);
}

.letter-strange {
    letter-spacing: -3px;
}

.bottom-footer .container {
    gap: 1rem;
    grid-template-columns: 1fr;

}
.loghi-footer img {
    width: 100%;
    height: auto;
}
.p-mobile-0{
    padding-right:0;
    padding-left:0;
}

.tabs{
    top: 5rem;
}
.bg-expert{
margin-bottom: 0;
        margin-top: 1rem;
}

.bg-contact {
    padding: 2rem 1rem !important;
}

    .section {
        padding: 2rem 0 ;
    }

    .top-head {
        padding: 1rem;
    }


.buttons-vertical {padding-top: 1rem;top: 0;}
.section-with-bg {
    min-height: inherit;
}

.container {
    padding-left: 1rem;
    padding-right: 1rem;
}

.pb-mobile-0{
    padding-bottom:0;
}

h2 {margin-bottom: 1rem;}

.p-middle-mobile{
    font-size:1.4rem;
    line-height:1.8rem;
}

.item-accessory {
    gap: 1.5rem;
}

.buttons-vertical a {
    padding: 1rem 0;
  
}

.miniature-prod{
    height: 20vh;
}

.fit-width {
    width: 100%;
}
.custom-button {
    justify-content: space-between;
    width:100%;
}

.item-product:hover {
    box-shadow: 0 0 0 0px #a5a5a550;
    background-color: #f5f5f9;
}

.item-accessory:hover {
    box-shadow: 0 0 0 0px #a5a5a550;
    background-color: #f5f5f9;
}

.item-product .custom-button {
    background-color: var(--primary-color);
    color: #fff;
}

.images-certifate {
    padding: 1rem 2rem;
    justify-content: space-between;
}

.white-form .col-12{
    padding:0 1rem;
}

.label-check {
    letter-spacing: 0;
    line-height: 20px;
}

.site-footer .sec-footer {
    padding: 1rem 0;
}

.contact-item p {
    font-size: 16px;
}

.footer-bottom p {
    letter-spacing: 0;
    font-size: 14px;
}

.bottom-footer {
    padding: 2rem 0;
}

.bottom-footer p {
    font-size: 14px;
}

    .hero-page {
        min-height: 40vh;
        align-items: flex-end;
        padding-bottom: 2rem;
    }
.text-grid {
    grid-template-columns: 100%;
}

.order-mobile-1{
    order:1;
}

.sec-accessorires > div:nth-child(even) .order-accessory-0 {
    order: 0;
}

.sec-accessorires > div:nth-child(even) .order-accessory-1 {
    order: 1;
}

.sec-accessorires > .text-grid:nth-child(odd) {
    grid-template-columns: 100%;
    gap: 2rem;
}

.sec-accessorires > .text-grid:nth-child(even) {
    grid-template-columns: 100%;
    gap: 2rem;
}


.grid-item.width-100 {
width: 100%;
        height: 18rem;
}
.grid-item.width-50 {
width:  100%;
}
.grid-item.width-75 {
width:  100%;
}

.grid-item.width-33 {
width:  100%;
}

.grid-item.width-25 {
width:  100%;
}

.gallery-grid{
    padding:0;
}

.grid-contact {
    grid-template-columns: 100%;
}

.hero-page .hero-title{
    font-size: 1.8rem;
    line-height: 2rem;
    margin-bottom:1rem;
}

.breadcrumbs-container li {
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 16px;

}

.bg-page-case-history {
    background-position: center;
}

.bg-page-accessory {
    background-position: center;
}

.sec-accessorires {
    gap: 3rem;
}

.img-100-rounded {
    height: 40vh;
}

    .grid-product.inverse{
        margin-top:0;
    }
    
.sec-accessorires .img-100-rounded {
    height: 40vh;
}

.gap-mobile-0{
    gap:0;
}

.grid-container {
    gap: 1.5rem;
}

.grid-contact {
    
    gap: 1.5rem;
    margin-top: 0;
}

.item-grid-contact {
    padding: 1rem;

}

.p-middle-mobile-v2{
    font-size:1.2rem;
    line-height:1.4rem;
}

.grid-resources-private-area {
    grid-template-columns: 1fr;
}

.item-private-area{
   
    gap: 0.5rem;
    flex-direction: column;
        align-items: stretch;
}

.actions-file {
    width: 100%;
    justify-content: flex-end;
}

.item-private-area svg {
    height: 3.5rem;
}
.no-sticky-section-simple {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    margin-bottom: 0rem;
}

.file-private-area {
    gap: 1rem;
}

.navigation-arrow{
    padding: 0 1rem;
}

.glight-img .image_title {
    opacity: 1;
}

.certificate-img{
   margin-bottom: 2rem;
}

.certificate-img img{
    height: 3rem;
    width:auto;
}

.certificate-img img.v2{
    height: 5rem;
    width:auto;
}

.grid-item {

    height: 12rem;
}

.loader-left {
    transform: translateX(-3rem);
    height: 10rem;
}

.logo-loader {
    width: 60vw;

}

.loader-right {
    transform: translateX(3rem);
    height: 10rem;
}


}