#links a {
    display: inline-block;
}

#links span {
    padding: 5px
}

#links {
    margin-bottom: 20px;
    text-align: center
}

#links a.active {
    color: #cf2123 !important;
    font-weight: bold;
}

#links a.active i {
    color: #cf2123 !important;
}

#links i {
    color: #000
}

#results-articoli div.ewr {
    padding: 0px;
    display: inline-block;
    padding-bottom:15px;
}

.immagine_articolo img, .immagine_articolo picture{
    max-height: 200px;
    /*max-width: 220px !important;*/
    box-shadow: 0 0 0 0 !important;
    border-radius: unset !important;
    margin: auto;
    float: none !important;
    
    margin-right: auto !important;
    vertical-align: middle !important;
    width: auto !important;
    
}


#results-articoli .ewr img {
    margin-bottom: auto !important;
}

.immagine_articolo {
    width: 250px;
    border-radius: 15px;
    
    display: inline;
    float: left;
    margin-right: 35px;
    display: flex;
    position: relative;
    box-sizing: border-box;
    padding: 20px;
    padding-top:0;
    padding-bottom:5px;
}

.prices .art_piu {
    float: right !important;
    margin-right: 0px !important
}

.prices {
    margin-top: 20px
}

.prices div {
    display: inline-block;
    float: none !important;
    margin-right: 20px;
}

.prices .sconto.prezzo_barrato {
    float: none !important;
    padding-top: 3px;
    padding-bottom: 3px;
    vertical-align: middle;
}

.prices div.prezzo_barrato.top {
    float: none !important;
    display: inline-block;
    margin-left: 0px;
    
}

 #results-articoli .ewr h2{
    margin-bottom:10px !important;
    margin-top:15px;
    display: inline-block;
}

.prices div.prezzo_barrato {
    margin-left: 0px;
}

.prices div.prezzo_barrato.top,
.prices div.prezzo_barrato.no{
    font-size: 20px;
    line-height: 25px;
}

.prices .sconto.prezzo_barrato span {
    font-size: 17px  !important;
    line-height: 17px !important;
}

.prices .sconto.prezzo_barrato span b {
    font-size: 17px  !important;
     line-height: 17px !important;
}

.prices .sconto.prezzo_barrato span b span {
    font-size: 17px  !important;
     line-height: 17px !important;
}

.prices .prezzo_promo {
    margin-top: -10px !important;
    font-size: 25px;
    line-height: 25px
}

.clear {
    clear: both !important;
    display: none !important
}

.prices .prezzo_barrato.no {
    float: none !important
}

.img_sl {
    margin: 0 auto;
    margin-bottom: 20px
}

.immagine_slider {
    max-width: 100%
}

#results-articoli div a {
    display: inline-block !important;
}


.prices div.art:first-child {
    display: inline-block !important;
}

.loading-div {
    display: none;
}

.immagine_articolo {
    display: flex !important;
}

#map {
    margin-bottom: 20px;
}


.img_sl {
    display: block !important
}

#art1 {
    width: 100%;
    margin: 0;
}
    


@media screen and (max-width: 1050px) {
    #results-articoli .txtewr {
        display: block !important
    }
    
    #results-articoli .ewr h2 {
        display: initial !important;
    }
    
    #results-articoli .art_piu {
        margin-right: 0 !important;
    }

}

@media screen and (max-width: 1000px) {
    #results-articoli .txtewr {
        display: none !important
    }
    
    #results-articoli div.art {
        display: inline-block !important;
        margin: 0 !important;
    }
    
   
    
    .prices {
    margin-top: 5px;
}

.prices .sconto.prezzo_barrato span {
    font-size: 17px !important;
    line-height: 17px !important;
}

.prices .sconto.prezzo_barrato span b {
    font-size: 17px !important;
    line-height: 17px !important;
}
.prices #sc{
      font-size: 17px !important;
    line-height: 17px !important;
}
    
    #results-articoli div.prezzo_promo {
        margin-top: 10px !important;
    }
    
    .immagine_articolo {
        width: 100% !important;
         margin-bottom: 10px !important;
    }
    
    #results-articoli .prices div {
        display: inherit !important;
    }
    
    #results-articoli .prices {
        float: right;
    }
    
    #results-articoli .prices div.art {
        float: right !important
    }
    
    .prices{
         width:100%;
    } 
    
    .prices a.segue{
        float:none !important;
        margin-top:20px !important;
        margin-bottom: 20px !important;
        display: block;
    }
    
  

        #art1 #results-articoli .ewr h2 {
        font-size: 3vw;
        line-height: 3.5vw;
        text-align:left;
    }
 
    
     #results-articoli  div.art_piu art{
        text-align: center;
        width:100%;
        margin-bottom:20px !important;
        margin-top:15px !important;
        float:none; 
    }
    
    .prezzo_barrato.no{
        font-size:20px;
        line-height:20px;
    }
}

@media screen and (max-width: 550px) { 
        #art1 #results-articoli .ewr h2 {
        font-size: 5vw;
        line-height: 5.5vw;
        text-align:left;
    }
    
    .prices div.prezzo_barrato.no{
       margin-bottom:0;
       padding-bottom:0;
    }


}

.img_pr {
    position: absolute;
    width: 100%;
    bottom: 0;
    right: 0;
}


.img_pr.p{
     position: relative;
    width: 100%;
    float: right;
    right: auto;
    bottom:auto;
   display: inline !important;
    margin-top:-30px;
}

@supports (-ms-ime-align:auto) {
	.img_pr.p{
     
    margin-top:-150px; 
}
}

 
@media screen\0 {
	.img_pr.p{
     
    margin-top:-150px;
}
}

.ewr.p .txtewr{
    max-width: 82%;
}

#art1 .ewr .img_pr.p img{
    max-width:130px !important;
}

.img_pr.p img{
    border-radius: 0 !important;
    margin-right:0 !important;
}

.img_pr img {
    max-width: 100px !important;
    bottom: 15px;
    right: 5px;
}

.immagine_articolo {
    min-height: 150px;
}

@media screen and (max-width: 800px) {
    #art1 .ewr .img_pr.p img{
    max-width:100px !important;
}
}
