@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) { 
      
.h1-c {
    font-size: 50px;
    line-height: 50px;
    margin-bottom:1rem;
    letter-spacing: -1px;
}


.close-gallery {
    right: 0.9rem;
}
      
.mobile{
    display:block;
}

.cursor, .my-cursor{
    display:none;
}

.nav-page {
    padding-top: 1rem;
    padding-bottom: 1rem;
}


.burger-menu .line {
    width: 3rem;
}

.logo svg {
    width: 6rem;
}

.items-menu {
    
    flex-direction: column;
    align-items: flex-start;
}


.item-menu {
    width: 100%;
    justify-content: flex-end;
    position: relative;
}


.item-menu::before {
    content: '';
    width: 100% !important;
    height: 1px;
    margin: 0 0.5rem;
    background: linear-gradient(to right, #ffffff 50%, #ffffff00 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: 0.3s;
    opacity: 0.5;
    position: absolute;
    right: 0;
    margin: 0 !important;
}

.item-menu a {
    font-size: 2rem;
    padding: 0;
    padding-right: 1rem;
    background: #141414;
}    
      
      
.item-menu a::after {
    font-size: 2.3rem;
    text-align:left;
}









.items-sub {
    flex-direction: column;
    align-items: flex-start;
}

.item-sub {
    
    height: 1.5rem;
}

.item-sub a {
    font-size: 12px;
}

.item-sub a::after {
    font-size: 14px;
}


.lateral {align-items: flex-end;}


.socials-menu {
    gap: 0.5rem;
    flex-direction: column;
}

.langs-menu {
    gap: 0.5rem;
    flex-direction: column;
}

.langs-menu a {
    padding: 0;
}

.socials-menu a {
    padding: 0;
}

.desktop{
    display:none !important;
}

.products-slide {
    display: none;
}

.slides {
   height:  80vh;
}

.text-slides {
   height: 60vh;
   bottom: 10rem;
}


.block-text-slide {
    width: 90%;
    transform: translateY(40rem) skew(-20deg);
}

.block-text-slide.active {
    transform: translateY(10rem) skew(0) !important;
}

.block-text-slide .title-slide {
    font-size: 2.7rem;
    line-height: 2.7rem;
}

.block-text-slide .title-slide span {
    font-size: 3rem;
    line-height: 3rem;
}

.grid-page.column-2 {
    grid-template-columns: auto;
}

.order-grid-1{
    order:0;
}

.order-grid-0{
    order:1;
}

.divider-navigation {
   display:none;
}


.navigations-slider {
    left: 12px;
    bottom: 2rem;
}


.h2-c  {
    font-size: 40px;
    line-height: 40px;
    letter-spacing: -1px;
}

.h2-c span {
    font-size: 2.3rem;
    line-height: 2.3rem;
}

.h3-c {
    font-size: 2.5rem;
    line-height: 3rem;

}


.grid-page {
    gap: 5rem;
}


.mansory-grid-image {grid-template-columns: calc(50% - 1rem);grid-auto-rows: 150px;}

.mansory-grid-image .big {
    grid-column: span 2;
    grid-row: span 1;
}

.mansory-grid-image .tall {
    grid-column: span 1;
    grid-row: span 1;
}

.divider-gallery-navigation {
    display: none;
}

.swiper-slide.big {
    width: 100%;
}

.swiper-slide.tall {
    width: 100%;
}




.buttons-flex {
    gap: 1rem;
    grid-template-columns: auto;
}


.full-arrow-link div {
    font-size: 1.3rem;
    line-height:1.3rem;
   
}

.full-arrow-link div span {
    font-size: 1.5rem;
    line-height:1.5rem;
}


.sec-padding {
    padding: 3rem 0 3rem 0;
}


.grid-page.v-2 {
    gap: 0rem;
}


.grid-page.column-2.reverse {
    grid-template-columns: auto;
}


.reverse  .order-grid-1{
    order:1;
}

.reverse  .order-grid-0{
    order:0;
}

.grid-page.column-3 {
    grid-template-columns:auto;
}

.column-3 .order-grid-0{
    order:0;
}

.column-3 .order-grid-1{
    order:1;
}


.image-full {
    margin: 2rem 0 3rem 0;
}

.image-full img {
    height: 300px;
    object-fit: cover;
}



.p-t-15 {
    padding-top: 10rem;
}

/*.bg-background {*/
/*    padding: 10rem 0 15rem 0;*/
/*}*/






.bg-background {
    padding: 10rem 0 14rem 0;
    background-image: url(/media/contatti_mobile.jpg);
}

.grid-page.column-2-c {
    grid-template-columns: auto;
    gap: 15%;
}

.grid-color {
    grid-template-columns: auto;
    display: flex;
    flex-direction: column;
}

.column-c {
    background-color: #00000060;
    height: 115vh;
}


.overlay-col {
    height: 140vh;
}






.middle-footer {
    margin-top: 0;
    margin-bottom: 2rem;
}


.m-b-5 {
    margin-bottom: 3rem;
    grid-gap: 0.8rem;
}

.container.b-footer {gap: 1rem;flex-direction: column;bottom: 0;}


.arrow-link {
    
    transform: translate3d(0, 0, 0);
}


.full-arrow-link .arrow-full-link {
    display: block;
    height: 4rem;
    width: 4rem;
}


.send-button {

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.send-button svg {
    display: block;
}


.go-back {
    height: 7rem;
    justify-content: flex-end;
    width: 100%;
}

.content-error-page {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-items: start;
    height: 100%;
    justify-content: center;
}

.control-gallery .container {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.close-gallery .line {
    width: 2.5rem;
}

.galleries-section {
    padding-top: 7rem;
}

.close-gallery .bar_1 {
    transform: rotate(45deg) translate(5px, 3px) scaleX(1);
}

.close-gallery .bar_3 {
    transform: rotate(-45deg) translate(4px, -2px) scaleX(1);
}

.item-list-links .text-link {
    
    font-size: 1.3rem;
    line-height: 1.3rem;
}

.item-list-links {
    padding: 0.8rem 0;
}

.item-list-links .text-link::after {
    font-size: 1.5rem;
    line-height: 1.5rem;
}

.item-list-links:hover .text-link::after {
    transform: translate3d(1rem, 0, 0);
}


.arrow-link {
    width: 2rem;
}

.p-content p {
    letter-spacing: 0;
}

.full-arrow-link {
    opacity: 1;
}



footer.page {
    margin-top: 0;
    padding-top: 2rem;
}

.divider-red {
    height: 2px;
    width: 100%;
}

.grid-contact {
    grid-template-columns: auto;
}

.grid-products {
    grid-template-columns: auto;
    gap: 2rem;
}

.burger-menu {
    top: 0.7rem;
    right: 1rem;
}

.modal-nav-mobile {
    top: -1.3rem;
    right: -1rem;
}

.sec_static {
    padding: 8rem 0 3rem 0;
}




.links-footer {
    justify-content: space-between;
    flex-direction: row;
    align-items: flex-start;
    margin: 0 !important;
}


.links-list {
    gap: 0;
    flex-direction: column;
    align-items: flex-start;
}


.item-link-footer {
    font-size:12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #ffffff20;
    width: 100%;
}


.item-link-footer:after {
    display:none !important;
}


.input-with-error .error {
    left: 0;

}

.message-contact {
    right: 12px;
    left: 12px;
    bottom: -3.5rem;
}


 .nav-mobile{
     
     display: block;
 }
 
 
 .grid-page.v-3 {
    gap: 3rem;
}

.m-b-4 {
    margin-bottom: 1.5rem;
}

.m-t-4 {
    margin-top: 2rem;
}

.grid-page.v-2.reverse {
    gap: 3rem;
}


.go-back svg {
    display: block;
}


.menu__item svg {
    width: 3rem;
    height: 3rem;
}


.menu__item {
    padding: 1.5rem 0;
    gap: 1rem;
}

.hover-reveal {
    display: none;
}


.column-c {
    background-color: #00000060;
}


footer {
    padding: 2rem 0 1rem 0;
}


.menu_list {
    padding-bottom: 10rem;
}




.control-gallery .container {
justify-content: space-between;
}



.scroll_top {
    height: 5rem;
    width: 5rem;
    bottom: 0;
    right: 12px;
    display: flex;
    justify-content: flex-end;
}

.buttons-col {
    width: 100%;
}

.aling-right {
    justify-content: flex-start;
}

.h1-c.v_min {
    font-size: 50px;
    line-height: 50px;
}

.sec_scroll{
    padding:5rem 0;
}


.sec_scroll p, .sec_scroll h1, .sec_scroll h2{
    text-align:center;
}




footer.page {
    transform: translateY(0) !important;
    position: relative;
}

.t-right{
    align-items: flex-end;
}

.breadcrumb-page {
    display:none;
}

.links-list li {
    font-size: 18px;
    line-height: 35px;
}

.copyright > p, .privacy-links > p {
    letter-spacing: 0.5px;
    font-size: 12px;
}

.h5-c {
    font-size: 20px;
}

.contacts a {
    font-size: 18px;
}

.label-check {
    font-size: 16px;
}

.btn {
    width: 100%;
}




.page.menu_scroll .logo svg {
    width: 5rem;
}

.burger-menu.scroll {
    top: 0.5rem;
}

.modal-nav-mobile.scroll {
    top: -1.5rem;
}

.button-product {
    color: #fff;
    background: #e30613;
    font-weight: 600;
}

.box-img-product {
    height: 350px;
}

.swiper-top-products {
    margin-right: 0;
}


.swiper-button-prev {
    left: 0;
}

.swiper-button-next {
    right: 0;
}

.sub-title {
    font-size: 20px;
    line-height: 24px;
}

.sec_static.v_2 {
    padding-bottom: 3rem;
    padding-top: 3rem;
}

.p-brevetto {
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #d7d7d7;
    padding-bottom: 1rem;
}

.p-brevetto:last-child{
    margin-bottom: 2rem;
}

.cms-item-accordion {
    padding: 1rem;
    gap: 1rem;
    grid-template-columns: 2.5rem auto;
}
.icon-accordion {
    height: 2.5rem;
}

.cms-header-accordion {
    
    font-size: 20px;
}


.sec_scroll {
    position: relative;
}

.menu_scroll {
    background: #fff;
        border-radius: 0 0 25px 25px;
}

.menu_scroll .logo svg {
    fill: #e30613;
}

.menu_scroll .logo svg {
    width: 5rem;
}

.burger-menu.scroll {
    top: 0.5rem;
}

.modal-nav-mobile.scroll {
    top: -1.5rem;
}

.p_slide {
    margin-top: 1rem;
}

.h2-c.v_max{
     font-size: 50px;
    line-height: 50px;
letter-spacing: -1px;
}


.images-puzzle {
    position: relative;
    width: 100%;
    right: 0;
    height: 22rem;
    margin-top: 3rem;
}

.img-puzzle{
    transform: rotate(0) !important;
    opacity:1 !important;
}


.img-right {
    right: 20vw;
    height: 60vh;
}

.p-botto-sec{
    padding-bottom:28rem;
}

.grid-contact {
    display: grid;
    grid-template-columns: auto;
    gap: 4rem;
}

.divider-red {
    height: 2px;
    width: 100%;
    background-color: #e3061350;
}

.grid-cards {
    grid-template-columns: repeat(1, 1fr);
}

.card-certificate {
    padding: 2rem;

}

.name-cert {
    font-size: 30px;
}

.grid-images-text {
    gap: 5rem;
}


.item-img-text:nth-child(odd) {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-direction: column;
}

.item-img-text:nth-child(odd) {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-direction: column;
}


.item-img-text:nth-child(even) {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-direction: column-reverse;
}

.box-rounded {
    width: 100%;
    height: 20rem;
}

.img-cert {
    height: 8rem;
    width: 8rem;
}

.mb-2-mobile{
    margin-bottom: 2rem !important;
}

.grid-portaabiti {

    grid-template-columns: auto;
    gap: 3rem;
}

}