/*! STYLE HOME */
.pc{
    display: block;
}

.sp{
    display: none;
}

.testata{
    display: flex;
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
}

p{
  color: #7b1b02;
  /* margin-top: 30px; */
}

.corpo {
    height: 100%;

}

/* .container {
    display: flex;
    flex-wrap: wrap;
    width: 64%;
  } */
  
.box {
    display: flex;
    /* flex-wrap: wrap; */
    width: 65%;
}
.boxbanner {
    display: flex;
    margin-top: 10px;
    width: 51.5%;
    align-items: center;
    /* border: 1px solid #7b1b02; */
}
.boxbanner img{
    width: 100%;
    height: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    /* width: 250px; */
    height: 250px;
    border: 1px solid #7b1b02;
    background-size: cover; 
    box-shadow: 10px 10px 25px #000;
    border-radius: 5px;
}
.sub-box {
    width: 50%;
    margin: 10px 10px 0px 10px;
    /* display: flex; */
    box-sizing: border-box;
    /* flex-direction: column;
    align-items: center; */
}
.sub-box img {
    width: 100%;
    height: auto;
    /* object-fit: cover; */
    margin-top: 20px;
    margin-bottom: 5px;
    width: 250px;
    height: 250px;
    border: 1px solid #7b1b02;
    background-size: cover; 
    box-shadow: 10px 10px 25px #000;
    border-radius: 5px;
}
.sub-box a{
    text-decoration: none;
    color: #7b1b02;
}

.tab1{
    width: 52%;
    /* gap: 5px; */
    margin-bottom: 10px;
    /* margin-left: 55px; */
    /* margin: 0 auto; */
    display: grid;
    grid-template-columns: repeat(7, 1fr); 
    /* grid-template-rows: repeat(1, 1fr);     */
}
.tab2{
    width: 52%;
    /* gap: 5px; */
    /* margin-bottom: 5px; */
    /* margin-left: 55px; */
    /* margin: 0 auto; */
    display: grid;
    grid-template-columns: repeat(6, 1fr); 
    /* grid-template-rows: repeat(1, 1fr);     */
}

.sub-tab{
    /* width: 16%; */
    /* margin: 0 0 0 10px; */
    /* margin: 0 auto; */
    /* padding: 0 0 0 0; */
    box-sizing: border-box;
    align-items: center;
}

.sub-tab img {
    width: 100%;
    height: auto;
    /* object-fit: cover; */
    margin: 0 auto;
    /* margin-left: -10px; */
    padding: 0;
    width: 90px;
    height: 80px;
    /* width: 75px;
    height: 65px; */
    border: 1px solid #7b1b02;
    background-size: cover; 
    box-shadow: 10px 10px 25px #000;
    border-radius: 5px;
}

.sottopaginapc {
    display: flex;
    background-color: #7b1b02;
    color: antiquewhite;
    border: 1px solid #7b1b02;
    /* flex-wrap: wrap; */
    width: 62%;
}

.sub-sottopagina {
    width: 50%;
    margin: 10px;
    /* display: flex; */
    box-sizing: border-box;
    /* flex-direction: column;
    align-items: center; */
    text-align: center;
}

.titolosottopagina, .titolosottopagina0{
    font-size: 14px;
    text-align: left;
    padding-bottom: 5px;
    background-color: #7b1b02;
    color: antiquewhite;
}

.titolosottopagina0:hover{
    font-weight: bold;
}

.vocesottopagina{
    font-size: 12px;
    text-align: left;
    padding-top: 10px;
    background-color: #7b1b02;
    color: antiquewhite;
}

.vocesottopagina:hover{
    font-weight: bold;
}

/* .datisocieta {
    color: #7b1b02;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 14px;
    line-height: 18px;
    margin-top: 5px;
    margin-bottom: 5px;
} */

.fotolinksi:hover{
    transition-property:all; transition-duration: 0.5s; transition-timing-function: ease;
    transform: scale(110%,110%);
}

.fotolinkno:hover{
    cursor: default;
}

.riga1{
    margin-top: 10px;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
}

.riga2{
    font-size: 20px;
    text-align: center;
    margin-top: 6px;
    margin-bottom: 6px;
}

.riga3{
    font-size: 16px;
    text-align: center;
}

.amazonpc{
    display: block;
    width: 100%;
    height: 100px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.amazonsp{
    display: none;
}

.buttonsi {
    font-size: 12px;
    line-height: normal;
    width: auto;
    height: 25px;
    padding: 0px;
    padding: 9px 2px 0px 2px;
    margin-top: 3px;
    margin-bottom: 1px;
    background-color: whitesmoke;
    color: #7b1b02;
    text-decoration: none;
    display: inline-block;
    border: 1px solid #7b1b02;
    border-radius: 6px;
    cursor: default;
}

.buttonsi:hover {
    background-color: #7b1b02;
    color: whitesmoke;
    transition-property:all; transition-duration: 0.5s; transition-timing-function: ease;
    cursor: pointer;
}

/* ------------------------------------SMARTPHONE -----------------------------------------*/
/* @media screen and (max-width: 767px) { */
@media (max-width: 767px){
    .pc{
        display: none;
    }
    
    .sp{
        display: block;
    }

    .tabsp {
        /* display: flex; */
        /* flex-wrap: wrap; */
        /* border: 1px solid black; */
        /* width: 0 auto; */
        width: 100%;
        display: grid;
        margin-left: 15px;
        grid-template-rows: repeat(4, auto); 
        grid-template-columns: repeat(3, auto);
    }
    
    .sub-tabsp{
        width: 10%;
        margin: 5px 0 5px 25px;
        padding: 0 0 0 0;
        box-sizing: border-box;
        align-items: center;
    }
    
    .sub-tabsp img {
        width: 100%;
        height: auto;
        /* object-fit: cover; */
        margin: 0;
        padding: 0;
        /* width: 105px; */
        /* height: 84px; */
        width: 70px;
        height: 60px;
        border: 1px solid #7b1b02;
        background-size: cover; 
        box-shadow: 10px 10px 25px #000;
        border-radius: 5px;
    }

    .buttonsi {
        font-size: 12px;
        width: auto;
        /* height: 25px; */
        height: auto;
        padding: 2px 5px 2px 5px;
        background-color: whitesmoke;
        color: #7b1b02;
        text-decoration: none;
        display: inline-block;
        border: 1px solid #7b1b02;
        border-radius: 6px;
        cursor: default;
    }

    .buttonsi:hover {
        background-color: #7b1b02;
        color: whitesmoke;
        transition-property:all; transition-duration: 0.5s; transition-timing-function: ease;
        cursor: pointer;
    }
    

    .corpo{
        height: 100vh;
    }
    
    .box {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 95%;
    }

    .sub-box {
        height: 225px;
    }

    .box img{
        width: 125px;
        height: 125px;
    }

    .tab{
        display: flex;
        /* justify-content: space-between; */
        /* margin-left: 24px; */
        align-items: center;
        width: 95%;
    }

    .sub-tab{
        /* width: 15%; */
        margin: 0 0 0 0;
        padding: 0 0 0 0;
        box-sizing: border-box;
        align-items: center;
    }
    
    .sub-tab img {
        width: 100%;
        height: auto;
        /* object-fit: cover; */
        margin: 0 0 0 0;
        padding: 0;
        width: 45px;
        height: 35px;
        border: 1px solid #7b1b02;
        background-size: cover; 
        box-shadow: 10px 10px 25px #000;
        border-radius: 5px;
    }

    .sottopaginapc {
        display: none;
    }
    
    .sub-sottopagina {
        width: 50%;
        margin: 10px;
        /* display: flex; */
        box-sizing: border-box;
        /* flex-direction: column;
        align-items: center; */
        text-align: center;
    }
    
    .titolosottopagina{
        font-size: 12px;
        text-align: left;
        padding-bottom: 5px;
        background-color: #7b1b02;
        color: antiquewhite;
    }
    
    .vocesottopagina{
        font-size: 10px;
        text-align: left;
        padding-top: 10px;
        background-color: #7b1b02;
        color: antiquewhite;
    }

    .riga1{
        font-size: 15px;
        font-weight: bold;
        text-align: center;
        margin-bottom: 4px;
    }
    
    .riga2{
        font-size: 13px;
        text-align: center;
        margin-bottom: 4px;
    }
    
    .riga3{
        font-size: 11px;
        text-align: center;
    }

    hr{
        width: 95%;
    }

    .corpo {
        height: 100%;
    }

    .boxbanner {
        display: flex;
        margin-top: 10px;
        width: 80%;
        align-items: center;
        /* border: 1px solid #7b1b02; */
    }

    .boxbanner img{
        width: 100%;
        height: auto;
        margin-top: 20px;
        margin-bottom: 20px;
        /* width: 250px; */
        height: 125px;
        border: 1px solid #7b1b02;
        background-size: cover; 
        box-shadow: 10px 10px 25px #000;
        border-radius: 5px;
    }

    .amazonsp{
        display: block;
        width: 100%;
        height: 75px;
        margin-top: 5px;
        margin-bottom: 5px;
    }
    
    .amazonpc{
        display: none;
    }
    
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {

    .corpo{
        height: 100vh;
    }
    
    .box {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 95%;
    }

    .sub-box {
        /* height: 225px; */
        /* height: 275px; */
        height: 350px;
    }

    .box img{
        /* width: 125px; */
        /* height: 125px; */
        width: 250px;
        height: 250px;
    }

    .riga1{
        font-size: 15px;
        font-weight: bold;
        text-align: center;
        margin-bottom: 4px;
    }
    
    .riga2{
        font-size: 13px;
        text-align: center;
        margin-bottom: 4px;
    }
    
    .riga3{
        font-size: 11px;
        text-align: center;
    }

    hr{
        width: 95%;
    }

    .corpo {
        height: 100%;
    }

    .boxbanner {
        display: block;
        margin-top: 10px;
        width: 65%;
        align-items: center;
        /* border: 1px solid #7b1b02; */
    }

    .boxbanner img{
        width: 100%;
        height: auto;
        margin-top: 20px;
        margin-bottom: 20px;
        /* width: 250px; */
        height: 200px;
        border: 1px solid #7b1b02;
        background-size: cover; 
        box-shadow: 10px 10px 25px #000;
        border-radius: 5px;
        align-items: center;
    }

    .buttonsi {
        font-size: 12px;
        /* line-height: normal; */
        width: auto;
        height: auto;
        /* padding: 0; */
        padding: 0px 2px 0px 2px;
        /* display: inline-block; */
        margin-top: 3px;
        margin-bottom: 1px;
    }

    .tab{
        /* width: 65%; */
        width: 80%;
        margin: 0 auto;
        gap: 20px;
        /* margin-left: 55px; */
        display: grid;
        grid-template-columns: repeat(6, 1fr); 
        grid-template-rows: repeat(2, 1fr);
        justify-content: space-between;   
    }
    .sub-tab{
        /* width: 15%; */
        margin: 0 0 0 0;
        padding: 0 0 0 0;
        box-sizing: border-box;
        /* align-items: center; */
    }
    .sub-tab img {
        width: 100%;
        height: auto;
        margin: 0 auto;
        margin-left: -5px;
        padding: 0;
        width: 90px;
        height: 75px;
        border: 1px solid #7b1b02;
        background-size: cover; 
        box-shadow: 10px 10px 25px #000;
        border-radius: 5px;
    }

}
