#header .apri-menu,
ul#main-menu .chiudi-menu,
.block-multitab-home .block-multitab-nav span.espandi { display:none; }

@media only screen and (max-width: 1024px) {

    body{
        padding-top: 50px; /* altezza dell'header 'fixed' */
    }

    #layout{
        width: 100%;
        min-width: 320px;
        border: none;
    }

    #corpopagina { 
        position: relative;
    }

    /* HEADER */

    #header{
        position: fixed;
        top:0;
        background: #000;
        left:0;
        overflow: visible;
        height: 50px;
        z-index: 10000;
        box-shadow: 0 2px 3px rgba(0,0,0,.3);
    }

    #header-light,
    #header #header-search,
    #header #header-login{
        display: none;
    }

    #header .apri-menu{
        float:left;
        display:block;
        width: 32px;
        height:32px;
        margin: 9px 10px;        
        background: url("http://static.stbm.it/gamefinal/images/menu_responsive_games.png?cache") no-repeat center 0;
        background-size: 95%;
        text-indent: -9999px;
        
    }

    #header h1#header-logo{
        width: 99px;
        height: 40px;
        margin: 5px 0;
        background: url("http://static.stbm.it/gamefinal/images/logo-responsive_games.png") no-repeat 0 0;
        background-size: 100%; 
    }

    #header h1#header-logo a{
        width: 99px;
        height: 40px;
    }

    /* main menu */

    ul#main-menu{
        position: fixed;
        top: 0;
        left: -105%;
        z-index: 9999;
        width: 100%;
        height: 100%; /* sottraggo il padding */
        /* height: calc(100% - 50px); se voglio sottrarre il padding */
        padding: 0;
        margin:0;
        background: rgba(0,0,0,.7);
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        transition: .4s left ease-in-out;
    }

    /* Nascondo scrollbar */
    ul#main-menu::-webkit-scrollbar{
        width: 0px;  
        background:transparent;
    }

    /* Nascondo scrollbar */
    ul#main-menu::-webkit-scrollbar-thumb{
        background-color: rgba(0,0,0,0);
    }

    ul#main-menu::before,
    ul#main-menu.jq-open .chiudi-menu {
        content: "";
        position: fixed;
        top: 0;
        z-index: -1;
        display:block;
        width: 100%;
        height: 100%;
        text-indent: -999px;  
        transition: .4s left ease-in-out;        
    }

    ul#main-menu::before {    
        left:-100%;  
        background-color: rgba(0,0,0,0.5);
    }  
    
    ul#main-menu.jq-open,
    ul#main-menu.jq-open::before,
    ul#main-menu.jq-open .chiudi-menu {
        left: 0; 
    }

    ul#main-menu li {
        display:block;
        float: none;
        width: 40%;
        border: 0 !important;
        padding:0;
        margin: 0;
        background: #fff;
    }

    ul#main-menu::after{ 
        width: 40%;
        background: #fff;  
        content: "";
        position: fixed;
        top: 0;
        z-index: -1;
        display:block;    
        height: 100%;
        text-indent: -999px;  
        transition: .4s left ease-in-out;       
    } 

    ul#main-menu li:last-child {
        margin-bottom: 40px;
    }

    ul#main-menu li a {
        display:block;
        width: 100%;    
        box-sizing: border-box;    
        margin: 0 auto;          
        height: auto;  
        position: relative;
        font-weight:  normal;
        border-bottom: 1px solid #D4D4D4;
        padding: 15px !important;
        text-shadow: none !important;
        background-color: #fff !important;
        color: #393939 !important;        
        box-shadow: none !important;
    }

    ul#main-menu li a:hover {
        background: #EFEFEF !important;
        box-shadow: none;       
        border-right-width: 6px;
        border-right-style: solid;        
        border-right-color: #ffcc00;
    }

    ul#main-menu li a:hover:before {
        position: absolute;
        right: -1px;
        top: 50%;
        margin-top: -6px;
        z-index: 2;
        content: "";
        width: 0;
        height: 0;
        border-style: solid;
        border-color: transparent #ffcc00 transparent transparent;
        border-width: 6px 5px 6px 0;
    }

    ul#main-menu li.home a {
        width:auto;
        margin:0;
        text-indent:0;
        background: none;
        text-transform: capitalize;
    }

    ul#main-menu li.home a b { 
        font-weight:  normal;
    }

    /* sub menu */

    ul#sub-menu{
        display: none;
    }

    /* header small gallery */

    #header h1#header-logo-small {  
        width: 99px;
        height: 40px;
        margin-left: 10px;
    }

    #header h1#header-logo-small a {
        width: 99px;
        height: 40px;
        margin: 5px 0;
        background: url("http://static.stbm.it/gamefinal/images/sprite-responsive.png") no-repeat -40px 0;
    }

    #header .studenti { 
        display: none;
    }

    #header .back {  
        margin: 22px 20px 0 0;
    }
}

@media only screen and (max-width: 767px) {    
   
    ul#main-menu li,
    ul#main-menu::after {
        width:  80%;
    }
    
}

@media only screen and (max-width: 1023px) {  

    /* CORPO PAGINA */

    div#colonna_left{
        float: none;
        width: 94% !important;
        padding: 0 3%;
        margin: 20px 0;    
        max-width: 100%;
        height: auto;
        min-height: 700px;
    }

    /* sidebar */

    #colonna_right { 
        float: none;
        width: 94%;    
        padding: 0 3%;
        margin: 20px 0;    
    }  

    #colonna_right #sidebar h2,
    #colonna_right #sidebar ul,
    #colonna_right #sidebar div,
    #colonna_right #sidebar span.veditutti,
    #colonna_right .sidebar_sidebar-articoli {
    display: none;
    }  

    #colonna_right #sidebar div.box_mostanted,
    #colonna_right #sidebar div.box_mostanted ul,
    #colonna_right #sidebar div.box_mostanted h2,
    #colonna_right #sidebar div.box_mostanted div,
    #colonna_right #sidebar div.box_mostanted span.veditutti { 
        display: block;
        overflow: hidden;
    }  

    #colonna_right #sidebar .box_mostanted ul li div.date_hotgame {
        font-size: 14px;
        padding: 5px 0 0; 
    }

    #colonna_right #sidebar .box_mostanted ul li .inconcine span { 
        display: block !important;
    }

    /* FOGLIA */

    .colonna_articolo { 
        padding: 0;       
        min-height: 500px;
    }

    .articolo_col_big h1 {
        font-size: 33px;
        line-height: 36px;
    }

    .share-art,
    .articolo_commenti {
        display: none !important;
    }  

    .articolo_col_big .responsive-bannerRight img{
        width: auto;
        max-width: 100%;
        height: auto;
        margin: 0;
    }

    .articolo_col_big img{
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 0;
    }

    .articolo_col_big h2 a {
        font-size: 16px !important;
        color: #3366cc !important;
        font-weight: bold;
        line-height: 1.3;    
    }

    .widget-showItemPager .next-page-dx a{
        font-size: 20px;
    }  

    .jq-vuoto-banner-sb { 
        margin: 20px auto;
        text-align: center;
    }
    
    .block-webtool-bottom { 
        display:  none; 
    }

    /* lancio gallery in foglia */
    
    .articolo_col_big .mkmGallery ul.mkmGalleryAlbum {
        margin-top:  20px;
    }
    
    .articolo_col_big a.go-gall {   
        margin: 20px 0 0;
    }

    .articolo_col_big a.go-gall img { 
        width: 100%;
        max-width:  100%;
    }

    .articolo_col_big a.go-gall span.lens { 
        left: auto;
        right: 0;
    }

    .articolo_col_big a.go-gall p,
    .articolo_col_big a.go-gall .go-gall-label { 
        width: auto;
        font-size: 18px;
        line-height: 1.3;
        padding: 10px;
        font-weight: normal;
    }

    /* thumb gallery in foglia */

    .articolo_col_big .mkmGallery .gallery-head h3 { 
        margin-top: 10px;        
        line-height: 25px;
    }

    .articolo_col_big .mkmGallery h2, 
    .articolo_col_big .mkmGalleryZoom h2 { 
        margin: 0 0 10px;
    }

    .articolo_col_big div.mkmGallery div.gallery-head a.vaigallery {
        display: block;
        float: none;
        margin: 0;
        text-align: right;
        padding: 0;
        font-size: 15px;
    }

    .articolo_col_big div..mkmGallery ul.mkmGalleryAlbum {
        margin: 0;
        width: 100%;
    }  

    .articolo_col_big div.mkmGallery ul.mkmGalleryAlbum li.mkmGalleryElement a img {
        width: auto;
    }

    /* video in foglia */ 

    .articolo_col_big div.spazia_img iframe { 
        width: 100%;
        height: auto;
    }

    /* outbrain */

    .ob_strip_container.AR_7{
        width: 100% !important;
    }  

    .AR_7 .ob_org_header {   
        font-size: 20px !important;
    }

    .AR_7 div.strip-rec-link-title {   
        font-size: 18px !important;
        line-height: 1.3;
    } 

    /* articoli correlati */

    .advnext_correlati{    
        width: 300px;
        margin: 10px auto 20px;
        float:  none;
    }

    .solr-correlati,
    .articoli_correlati {
        width: 100%;
        margin: 0 auto;
        clear: both;
    }

    .solr-correlati > ol li,
    .articoli_correlati ul li {
        width: 30%;
        padding: 0 1.5%;
        margin: 0 0 10px;
    }

    .solr-correlati > ol li h2.mdrCommTit a { 
        font-size: 18px !important;
        line-height: 1.3;
        height: auto;
    }

    .mdrCommThumb a {
        width: 100%;
        max-width: 188px;
        max-height: 105px;
        margin: 0 auto;
        height: auto;
        border: 0;
    }

    .articoli_correlati ul li a.pic {
        height: 130px !important;
        overflow: hidden;
        width: 100%;        
        box-sizing: border-box;
        margin: 0 0 10px !important;
    }

    .mdrCommThumb img,
    .articoli_correlati ul li a.pic img { 
        width: 100%;
        min-height: 100%;
        margin: 0;
        height: auto;
    }

    /* FOOTER */

    #footer,
    .tools_footer,
    #banzai-footer .banzai-links a { 
        display: none;
    }

    #banzai-footer{
        width: 94%;
        padding: 10px 3%;
    }

    #banzai-footer > ul{
        display: block;
        clear: both;
        width: 100%;
        margin: 0;
    }

    #banzai-footer > ul > li a{
        padding: 0 10px;
    }

    #banzai-footer .copyright{
        width: 100%;
    }  

    #banzai-footer .banzai-links a.logo_banzai{
        display: block;
    }

} /*---- //FINE 'max-width: 1023px' ----*/


@media only screen and (max-width: 800px) {

    #pmPath,
    #breadcrumbs { 
        display: none;
    }

    /* banner e strip adv */    
    
    .bannerRight {
        float: none;
        width: 300px;
        margin: 20px auto;
        text-align: center;
    }

    .responsive-bannerRight { 
        margin: 20px auto;
        text-align: center;
        width: 300px;
    }

    .gallery-body .bannerRight { 
        display: none !important;
    }

    /* articoli correlati */

    .articoli_correlati ul {
      margin: 10px 0;
    }

    .solr-correlati > h3{
        border-bottom: 3px solid #ffcc00;    
        font-size: 20px !important;
        padding: 0 0 5px;
        margin: 0 0 15px;
    }

    .solr-correlati > ol li,
    .articoli_correlati ul li {
        float:none;
        width: 100%;
        padding: 0;
        clear:both;
        overflow: hidden;
        margin:0 0 20px;
    }

    .mdrCommThumb a {
        float:left;
        width:105px;
        height: 70px;
        margin:0 10px 0 0;    
    }

    .articoli_correlati ul li a.pic {
      height: 160px;
    }

    .solr-correlati > ol li .mdrCommTxt {
        display :none;
    }    

} /*---- //FINE 'max-width: 800px' ----*/ 


/*---- Eccezioni blocco video  ----*/ 

@media only screen and (max-width: 410px) {   

    .block-video-home h3 {
        background: none;
        color: #000;
        font-size: 1.5em;
        padding: 0;
        margin: 0 0 10px;
    }

    .block-video-home span.link-gamesvideotv {
        float: left;
        margin-top: 0;
        margin-bottom: 10px;
    }

}


@media only screen and (max-width: 800px) {      

    /* homepage - box gallery */

    .ad-gallery,
    .ad-gallery .ad-image-wrapper,
    .ad-gallery .ad-nav .ad-thumbs,
    .ad-gallery .ad-image-wrapper .ad-image,
    .ad-gallery .ad-image-wrapper .ad-loader { 
        width: 100% !important;    
        position: relative !important;    
        margin: 0 !important;    
        height: auto !important;
        max-height: 353px;
        overflow: hidden;
        top: 0 !important;
        left: 0 !important;      
    }  

    .ad-gallery { 
        margin: 20px 0 0 !important;
    }  

    .ad-gallery .ad-image-wrapper .ad-image a img { 
        width: 100% !important;
        height: auto !important;
    }

    .ad-gallery .ad-image-wrapper .ad-image .ad-image-description {
        width: auto !important;
        position: relative !important;
        margin: 0;
        bottom: 0 !important;
        background: #4C4C4C;    
    }  

    p.ad-image-description strong.ad-description-title { 
        font-size: 24px;
    }

    p.ad-image-description span { 
        font-size: 16px;
    }

    .ad-gallery .ad-nav,
    p.ad-image-description span { 
        display: none;
    }

    /* blocco multi tab */

    .block-multitab-home {
        overflow: hidden;
        margin-bottom: 20px;
        margin-top: 20px;
    }

    .block-multitab-home .block-multitab-nav { 
        position: relative; 
        padding: 40px 0 0 !important;
        width: 100%;
        margin: 0 auto 20px;
        z-index: 1;  
        overflow: visible;
        background: #4c4c4c !important;
        height: auto;
        border-bottom: 0;
    }

    .block-multitab-home .block-multitab-nav a { 
        display: none; 
        float: none !important;  
        padding: 4px 0;    
        margin: 1px 0 0;
        background: #222;
        height: 32px;
        line-height: 32px;
        text-align: center;
        color: #fff;
        border-right: 0;
        width: 100%;
    }

    .block-multitab-home .block-multitab-nav.open a { 
        display: block;
    }

    .block-multitab-home .block-multitab-nav a.linkOn { 
        display: block;
        background: #FFCC00;
        color: #000;
        width: 80%;
        position: absolute;
        top: 0;
        margin: 0;
        padding: 4px 0;
        left: 0;
    }

    .block-multitab-home .block-multitab-nav a.linkOn:after { 
        content: "";
        border-top: 6px solid #FC0;
        border-right: 6px solid transparent;
        border-bottom: 0 dotted;
        border-left: 6px solid transparent;
        position: absolute;
        bottom: -6px;
        left: 50%;
        margin-left: -6px;
    }

    .block-multitab-home .block-multitab-nav span.espandi { 
        position: absolute;
        top: 4px;
        right: 7px;
        display: block;
        width: 15%;
        padding: 0;
        margin: 0;
        height: 33px;
        line-height: 30px;
        background: #000;
        border: none;
        color: #fff;
        font-size: 20px;
        font-weight: bold;
        text-align: center;
        cursor: pointer;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        cursor: pointer;
    }  
    
    h3.titlist { 
        margin-bottom: 15px;
    }

    ul.art_tagged li:first-child,  
    .showCustomItems_box ul li:first-child,
    .last_art_list li.last_art_element:first-child,
    .tpl-challenge .challenge-related ul li:first-child {
        margin-top: 0 !important;
    }

    .block-canale-video .block-video-home .descrizione-video {    
        padding: 15px;
    }  

    .tpl-challenge .challenge-related ul,  
    .mezzacol-left .showCustomItems_box ul li:first-child, 
    .mezzacol-right .showCustomItems_box ul li:first-child,  
    .block-multitab-home .showCustomItems_box ul li:first-child,
    .showCustomItems_box_video .showCustomItems_box ul li:first-child {
        margin-bottom: 0 !important;     
        height: auto;
    }

    h1.titcat { 
        display: none;
    }  

    a.lrpic span.img-lentina { 
        top: 0;
        margin-top: 0 !important;
        width: 40px  !important;
        height: 40px  !important; 
        background-position: -403px -403px  !important;
    }

    /* homepage - box video */

    .block-video-home span.link-gamesvideotv a { 
        background-position:  180px -344px;
    }

    .block-video-home .box-video iframe {
        max-width: 100% !important;    
        height: auto;
        min-height: 170px;
        max-height: 330px;
    }  
    
    /* blocchi colonna */
    
    #colonna_left .mezzacol-left,
    #colonna_left .mezzacol-right { 
        width: 100%;
        float: none;
        overflow: hidden;
    }

    .mezzacol-left .showCustomItems_conprimopiano,
    .mezzacol-right .showCustomItems_conprimopiano {  
        position: relative;
    }

    .mezzacol-left .showCustomItems_conprimopiano ul li a.lrpic,
    .mezzacol-right .showCustomItems_conprimopiano ul li a.lrpic,
    .mezzacol-left .showCustomItems_conprimopiano ul li a.lrpic img,
    .mezzacol-right .showCustomItems_conprimopiano ul li a.lrpic img { 
        width: 100%;
        height: auto;
    }  

    .showCustomItems_conprimopiano ul li a.showCustomItems_title {
        width: 95%;
        padding: 10px 2.5%;
        overflow: hidden;
    }

    /* categorie - primo piano */  

    #primopianobig,
    #primopianobig a img { 
        width: 100%;
        height: auto;
        float: none;
        max-height:  400px;
    }

    #primopianobig .topper_foto { 
        position: relative;
    }

    #primopianobig .topper_foto p {
        margin: 5px 10px 10px;
    }

    #primopianobig a {
        display: block;
        overflow: hidden;
        position: relative;
    }

    #primopianobig .topper_foto h2 {    
        margin: 5px 10px;
    }

    #primopianobig .topper_foto h2 a {  
        line-height: 35px;
        font-size: 27px;
    }  

    /* cateogorie secondo livello - listati */ 

    .showCustomItems_box ul li:first-child a img,
    .last_art_list .last_art_element:first-child .last_art_img img { 
        width: 100%;
        height: auto;
    }

    .showCustomItems_box ul li b.showCustomItems_date { 
        display: none;
    }

    /* nascondi caegorie */

    span._x360,  span._xone,
    span._iphone,span._ipad,  
    span._microsoft, span.playstation,
    span._ds,span._3ds,  span._wiiu, span._wii,
    span._pc,span._ps2, span._ps3,span._ps4,span._psp, span._vita { 
        display: none;
    }

    span.veditutti a { 
        background-image: none;
        font-size: 15px;
        text-transform: lowercase;
        color:#888;
        padding: 3px;
        text-align: center;
    }

    .block-multitab-home .altri-articoli a {
        background-image: none;
    }

    /* gallery */
    
    h1.titcat.titcat-gallery,
    .screenshot-home h1.titcat {       
        display: block;
        font-size: 20px;
        margin: 0 10px;
    }

    div.galInfo { 
        overflow: hidden;
    }

    div.galInfo a { 
        font-size: 15px;
    }

    div.galInfo em { 
        margin-bottom: 5px;
    }

    .mkmGallery ul.mkmGalleryAlbum { 
        margin: 0;
        width: 100% !important;
    }

    .screenshot-home div.mkmGalleryList ul li:nth-child(n+4) {
        display: block; 
    }
    
    /* gallery lista */
    
    div.mkmGalleryList { 
        margin: 15px 0 0;
    }
    
    div.mkmGalleryList ul li,
    div.mkmGallery ul.mkmGalleryAlbum li.mkmGalleryElement {
        margin: 0 3% 10px 0;
        width: 22%;
    }
    
    div.mkmGalleryList ul li:nth-child(4n),
    div.mkmGallery ul.mkmGalleryAlbum li.mkmGalleryElement:nth-child(4n) { 
        margin: 0 0 10px 0;
    }
    
    div.mkmGalleryList ul li div.galListThumb a,
    div.mkmGallery ul.mkmGalleryAlbum li.mkmGalleryElement a { 
        display:  block;
        position:  relative;
    }
    
    div.mkmGalleryList ul li div.galListThumb a img,
    div.mkmGallery ul.mkmGalleryAlbum li.mkmGalleryElement a img {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
    }

    /* gallery - singola foto */

    .bodygallery-noside { 
        padding: 0 3% 250px 3%;
        position: relative;
        overflow: hidden;
    }  

    .gallery_page h2 { 
        margin: 15px 0;
        width: 70%; 
        float: left;
    }
        
    .pagertop_gallery {
        overflow: hidden;
        float: right;
        margin: 15px 0 0;
        max-width: 30%;
    }

    .pagertop_gallery a.next,
    .pagertop_gallery a.back {        
        background-image: none !important;
        padding:  10px;        
        margin: 0;       
    } 
    
    .pagertop_gallery a.back { 
        margin: 0 10px 0 0;
    }
    
    .pagertop_gallery a:before {    
        width: 0; 
        height: 0; 
        line-height: 0px; 
        content: "";
        display: block;        
        margin: auto;
    }
    
    .pagertop_gallery a.next:before {
        border-top: 8px solid transparent;
        border-left: 16px solid #FFCC00;
        border-bottom: 8px solid transparent;
    }
    
    .pagertop_gallery a.back:before {   
        border-top: 8px solid transparent;
        border-right: 16px solid #FFCC00;
        border-bottom: 8px solid transparent;
    }
    
    .pagertop_gallery a b {  
        display: none;
    }
    
    .bodygallery-noside .gallery_img { 
        clear:  both;
    }

    .bodygallery-noside .gallerypage {
        display:  none;
    }
    
    .bodygallery-noside .webtoolgallery_external { 
        display: none;
    }  

    .bodygallery-noside .gallery_img {
        padding: 0;     
        background: transparent;
    }

    .bodygallery-noside .gallery_img img { 
        width: 100%;
        height: auto;
    }
    
    .bodygallery-noside .galle-adv .galLink { 
        font-size:  16px;
        text-align: center;
    }

    .bodygallery-noside div.ThumbPager,
    .bodygallery-noside .gallery_img .page_img,
    .bodygallery-noside .gallery_img span.zoom-lentina { 
        display: none;
    }

    .bodygallery-noside .galle-adv { 
        margin: 20px auto;
        clear: both;
    }

    .bodygallery-noside div.gallery_correlate ul li,
    .bodygallery-noside div.custom-related-item ul li {
        width: auto;
        float: none;
        overflow: hidden;
        margin: 10px 0 15px;
    }

    .gallery_correlate .custom-related-img ul li .pic img { 
        width: 100%;
        height:auto;
        max-width: 100%;
    }

    .bodygallery-noside div.gallery_correlate h3,
    .bodygallery-noside div.custom-related-item h3 {
        font-size: 17px; 
        padding-bottom: 10px;
    }

    .bodygallery-noside div.gallery_correlate h3 b,
    .bodygallery-noside div.custom-related-item h3 b { 
        font-family: PT Sans, Arial, Helvetica, sans-serif !important;
        font-size: 17px !important;
        color: #000 !important;
    } 

    .bodygallery-noside div.gallery_correlate b a,
    .bodygallery-noside .custom-related-item ul li strong a { 
        font-size: 16px;
    } 

    .bodygallery-noside div.gallery_correlate a b,
    .bodygallery-noside .custom-related-item ul li p { 
        font-size: 14px;
    }

    .bodygallery-noside .custom-related-item ul li p a { 
        font-weight: normal;
    }

    .bodygallery-noside .custom-related-item ul li a.pic {   
        margin: 0 10px 10px 0;
    }

    /* listato tag */

    .tagContent { 
        margin: 20px 0;
    }

    .tagContent h2,
    .tagContent a.tagRss { 
        display: none;
    }

    ul.art_tagged li:first-child {
        padding-top: 0;
    }

    ul.art_tagged li a img,   
    ul.art_tagged li a.lrpic,
    .last_art_list .last_art_element .last_art_img,
    .last_art_list .last_art_element .last_art_img img { 
        width: 100%;
        height: auto;
        float: none;
    }

    ul.art_tagged li a.lrpic,
    .last_art_list .last_art_element .last_art_img  { 
        margin: 0 0 10px;
        overflow: hidden;
        display: block;
    }

    .last_art_list .last_art_element .last_art_img a {   
        overflow: hidden;
        display: block;
    }

    .last_art_list .last_art_element .last_art_social { 
        display: none;
    }

    ul.art_tagged li div.showCustomItems_abstract,
    .last_art_list .last_art_element .last_art_abstract {     
        overflow: hidden;
        float: none;
        width: auto;
        margin:5px 0 0;
        max-height: 60px; /* testo troppo lungo rispetto agli altri listati */
    }

    /* sfide */  
    
    .sidebar-model-challenge { 
        display:  none;
    }

    .tpl-challenge {  
        width: 94% !important;
        padding: 0 3%;
        float: none;
        margin-right: 0;
    }

    .tpl-challenge footer.social {
        display: none;
    }

    .tpl-challenge h1 { 
        font-size: 24px;
        padding: 0;
        font-weight: bold;
        line-height: 1.2;
        margin:  15px 0 0;
    }

    .tpl-challenge h3 { 
        font-size: 15px;
        line-height: 20px !important;
        padding-bottom: 0;
        border: 0;
    }

    .tpl-challenge ul { 
        padding-top: 10px;
    }
    
    .tpl-challenge ul li {  
        width: 49%;
        margin: 0px 0% 10px 2%;
    }
    
    .tpl-challenge ul li:first-child {
        margin-left: 0;
    }

    .tpl-challenge ul li > a { 
        height: auto;
    }

    .tpl-challenge ul li > a > img { 
        height: auto !important;
        width: 100%  !important;
        margin: 0 !important;
    }

    .challenge-related { 
        padding: 0;
        margin-top: 0;
    }
    
    .challenge-related > .fascetta {
        margin: 0 0 15px 0;
    }

    .challenge-related ul li {     
        width: 31%;
        margin: 0 3.5% 10px 0 !important;
        height:  210px;
    }
    
    .challenge-related ul li figure > a { 
        width: 100%;
        height: auto;
        max-height: 129px;
        overflow: hidden;
    }

    .challenge-related ul li figure img {  
        width: 100%;
        height: auto;
    }

    .challenge-related ul li  span.vai-sfida { 
        width: 100%;
        display: none;
    }

    .challenge-related span > a.tc_Link { 
        font-size: 18px;
        font-weight: bold;
        padding: 10px 5px 0;
    }
}

@media only screen and (max-width: 767px) {   
  
    .adv980x50 { 
        position: fixed;
        bottom: 0;
        margin: 0 auto;
        z-index: 9999;
        text-align: center;
        width: 100%;
    }  

    .ad-gallery, 
    .ad-gallery .ad-image-wrapper, 
    .ad-gallery .ad-nav .ad-thumbs, 
    .ad-gallery .ad-image-wrapper .ad-image, 
    .ad-gallery .ad-image-wrapper .ad-loader { 
      max-height: 194px !important;
    }
  
    .ad-gallery .ad-image-wrapper .ad-image .ad-image-description {
        width: 92% !important;
        position: absolute !important;        
        bottom: 0 !important;  
        padding: 10px 4%;
    }  
  
    p.ad-image-description strong.ad-description-title { 
        font-size: 20px;
    }

    /* paginatore */
    
    ul.showCustomItems_pager li {
        padding: 0 6px;
    }  

    ul.showCustomItems_pager li a {     
        background: #FFCC00;
        margin: 0;  
        padding: 0;
    }

    ul.showCustomItems_pager li.showCustomItems_page_next {   
        clear: both;
        margin: 10px 0;
        text-align: center;
        display: block;
        width: 100%;
    }

    ul.showCustomItems_pager li.showCustomItems_page_next a {
        padding: 5px 0;
    }    
    
    /* gallery lista */ 
    
    div.mkmGalleryList ul li,
    div.mkmGallery ul.mkmGalleryAlbum li.mkmGalleryElement {
        margin: 0 3% 10px 0;
        width: 31%;
    }
    
    div.mkmGalleryList ul li:nth-child(4n),
    div.mkmGallery ul.mkmGalleryAlbum li.mkmGalleryElement:nth-child(4n) { 
        margin: 0 3% 10px 0;
    }
    
    div.mkmGalleryList ul li:nth-child(3n),
    div.mkmGallery ul.mkmGalleryAlbum li.mkmGalleryElement:nth-child(3n) { 
        margin: 0 0 10px 0;
    }
    
    /* gallery singola foto */
    
     .adv-foto-gallery {  
        float: none;
        margin: 0 auto;
        position: absolute;
        bottom: 0;
        left: 0;
        text-align: center;
        width: 100%;
    }
    
     .bodygallery-noside div.gallery_correlate,
    .bodygallery-noside div.custom-related-item { 
        float: none;
        width: auto;
        margin: 0 0 20px;
        padding: 8px;    
    }
    
    /* footer */

    #banzai-footer > ul > li {
        float: left;
        width: calc(50% - 70px);
        margin: 0;
    }

    #banzai-footer > ul > li:first-child {
        float: left;
        width: 140px;
        height: 100px;
    }
    
    /* pagina chi siamo */
    
    #colonna_left .chs_container {
        margin: 20px 0;
        padding: 0;
    }
    
    #colonna_left .chs_container .text_box { 
        float:  none;
        width: 100%;
    }
    
    #colonna_left .chs_container .text_box p { 
        border:  0;
        padding: 0;
    }
    
    #colonna_left .chs_container div.team_text { 
        height:  255px;
    }
    
    #colonna_left .chs_container img.img_left {
        margin-bottom:  10px; 
    }
    
}

@media only screen and (min-width: 480px) and (max-width: 1023px){ 

    /*  dai 480px in poi le immagini dei listati tornano ad avere il formato small con testo laterale */
    ul.art_tagged li a.lrpic,   
    .last_art_list .last_art_element .last_art_img,
    .block-multitab-tabs .showCustomItems_box ul li a.lrpic,  
    .showCustomItems_box_video .showCustomItems_box ul li:first-child a.lrpic {
        float: left;
        margin-right: 10px;
        height: 115px;
        width: 200px;
    }

    .challenge-related ul li span.vai-sfida { 
        top: 110px;
    }

    .tpl-challenge .challenge-related ul li:nth-child(3n) { 
        margin-right: 0 !important;
    }

}

@media only screen and (max-width: 479px) {   

    /* homepage - listato */

    .ad-gallery, 
    .ad-gallery .ad-image-wrapper, 
    .ad-gallery .ad-nav .ad-thumbs, 
    .ad-gallery .ad-image-wrapper .ad-image, 
    .ad-gallery .ad-image-wrapper .ad-loader { 
      max-height: 169px !important;
    }

    .showCustomItems_box ul li a.lrpic,
    ul.challenge-list > li figure > a,
    ul.challenge-list figure.first-item .thumb,
    ul.challenge-list figure.first-item .img_link { 
        float: none;
        width: 100%;
        margin: 0 0 10px;
        overflow: hidden;
        display: block;
        height: auto;
        max-height: 198px;
    }

    .showCustomItems_box ul li a img,
    ul.challenge-list > li figure > a > img,
    .block-video-home ul.lista-video li img,
    ul.challenge-list figure.first-item .thumb img,
    ul.challenge-list figure.first-item .img_link img { 
        width: 100%;
        height: auto;
    }
    
    ul.challenge-list > li figure > a,
    ul.challenge-list figure.first-item .img_link { 
        height: 198px;
    }

    /* homepage - box video */  

    .block-video-home ul.lista-video { 
        border-top: 0;
    }

    .block-video-home ul.lista-video li { 
        float: none;
        margin: 0 0 10px;
    }

    .block-video-home ul.lista-video li a { 
        float: none;
        width: 100%;  
        overflow: hidden;
        display: block;
        height: auto;
    }

    .block-video-home .primopianomini .primopianomini_testo { 
        height: auto;
    }

    .block-video-home .descrizione-video a,
    .block-video-home .primopianomini .primopianomini_testo a { 
        width: 80%;
        line-height: 1.3;
        font-size: 17px;
        color: #FFCC00;
        height: auto;
        display: block;
        min-height: 38px;
        padding: 6px 10px;
    }

    .block-video-home ul.lista-video li span { 
        right: 0 !important;
        bottom: 5px !important;  
        left: auto !important;
        top: auto !important;
    }  

    .block-video-home .descrizione-video {
        color: #FFCC00;
        font-size: 13px;
        padding: 0 40px 0 0 !important;
        overflow: hidden;
        background: #000 url("http://static.stbm.it/gamefinal/images/sprite-bullet_2012.png") no-repeat -145px -322px;
        border: 0 !important;
    }
    
    .showCustomItems_box ul li div.showCustomItems_abstract { 
        margin-top: 5px; 
    }
    
    .showCustomItems_box ul li div.showCustomItems_abstract span.leggitutto a { 
        font-size:  16px;
    }
    
    .showCustomItems_box ul li div.showCustomItems_abstract span.leggitutto a b { 
        font-weight: normal; 
    }
    
    .showCustomItems_conprimopiano ul li a.showCustomItems_title { 
        height: auto;
        position:  relative;
        margin-top:  0;
        display:  block;
    }

    /* foglia */

    #box-infoart { 
        margin: 15px 0;
        padding: 0;
    }

    #locandina-gioco { 
        margin-right: 0;
        width: 100%;
        height: auto;
    } 

    #locandina-gioco img { 
        max-height: 500px;
        float: none;
        margin-right: 0;
    } 

    #box-voto,
    #recensione_dettagli {
        width: 100%;
        margin: 5px 0 10px;
        float: none;
        padding: 0;
        height: auto;
    }

    #recensione_dettagli ul li { 
        font-size: 15px;
        padding: 7px 0;
        float: none;
        width: 100%;
        display: block;
    }

    #voto-redazione { 
        padding: 5px 10px;  
        float: none;
        width: auto;
        margin-right: 0;
    }
    
    /* sfide */
    
    .tpl-challenge ul li {
        width: 100%;
        margin:  0 0 10px;
    }
    
    .tpl-challenge ul li > a > span {
        padding: 10px 2%;
        margin: 5px 4%;  
        font-size: 13px;
    }
    
    .tpl-challenge .challenge-related ul li {    
        width: auto;
        float: none;
        margin: 20px 0 0 !important;
        height: auto;
    }
    
    .challenge-related ul li figure > a { 
        max-height:  198px;
        height:  auto !important;
    }
    
    .challenge-related ul li figure > a.titolo-correlato { 
        font-size:  20px;
        font-weight: bold;
    }
    
    ul.challenge-list figure.first-item {     
        background: #000;
    }
    
    ul.challenge-list figure.first-item  figcaption {     
        padding: 0 15px 10px;
    }
    
    ul.challenge-list figure.first-item  figcaption > a,
    ul.challenge-list figure.first-item  figcaption > p {
        color: #fff !important;
    }
    
    ul.challenge-list > li {
        padding: 0;    
        margin-top: 20px;
    }
    
    /* gallery lista */
    
    div.mkmGalleryList ul li,
    div.mkmGallery ul.mkmGalleryAlbum li.mkmGalleryElement {
        margin: 0 3% 10px 0;
        width: 48%;
    }
    
    div.mkmGalleryList ul li:nth-child(3n),
    div.mkmGallery ul.mkmGalleryAlbum li.mkmGalleryElement:nth-child(3n) { 
        margin: 0 3% 10px 0;
    }
    
    div.mkmGalleryList ul li:nth-child(2n),
    div.mkmGallery ul.mkmGalleryAlbum li.mkmGalleryElement:nth-child(2n) { 
        margin: 0 0 10px 0;
    }


} /*---- //FINE 'max-width: 479px' ----*/

@media only screen and (min-width: 410px) and (max-width: 500px){ 
    
    .ad-gallery, 
    .ad-gallery .ad-image-wrapper, 
    .ad-gallery .ad-nav .ad-thumbs, 
    .ad-gallery .ad-image-wrapper .ad-image, 
    .ad-gallery .ad-image-wrapper .ad-loader { 
      max-height: 194px !important;
    }

    .block-video-home .box-video iframe { 
        min-height: 210px;
    }

    .block-video-home ul.lista-video li {  
        float: left;    
        margin: 5px 10px 0 0;
        border: 1px solid #000;
        width: 48%;
        overflow: hidden;
    }

    .block-video-home ul.lista-video li:nth-child(2) { 
        margin: 5px 0 0 0;
    }

    .block-video-home ul.lista-video li:last-child { 
        display: none;
    }

    .block-video-home ul.lista-video li a,
    .block-video-home ul.lista-video li img {   
        width: 100%;
        border: 0;
    }

    .block-video-home .primopianomini .primopianomini_testo { 
        height: auto;
    }

    .block-video-home .primopianomini .primopianomini_testo a {     
        padding: 6px 2% 6px 2%;
        width: auto;
        font-size: 18px;
        height: auto;
        min-height: 33px;
    }

    .block-video-home ul.lista-video li span {   
        top: 5px;
        left: 180px;
    }

    .mezzacol-left .listatitolo ul.showCustomItems_list li,
    .mezzacol-right .listatitolo ul.showCustomItems_list li {   
        background-position: 360px -163px;
    }  
    
}

@media only screen and (max-width: 409px){

    .mezzacol-left .listatitolo ul.showCustomItems_list li,
    .mezzacol-right .listatitolo ul.showCustomItems_list li {   
        background: none;
    }  
    
}

@media only screen and (min-width: 501px) and (max-width: 800px){ 

    .box_mostanted ul li { 
        clear: none;
        width: 48%;
        float: left;
        margin-right: 2%;
        height: 130px;
    }

    .ad-gallery .ad-image-wrapper .ad-image .ad-image-description { 
        position: absolute !important;
        width: 95% !important;
        padding: 10px 2.5%;  
    }  
    
    .block-video-home .box-video iframe { 
        min-height: 300px;
    }

    .block-video-home ul.lista-video li {
        float: left;
        margin: 5px 2.5% 0 0;
        border: 1px solid #000;
        width: 31%;
    }

    .block-video-home ul.lista-video li:last-child { 
        margin: 5px 0 0 0;
    }

    .block-video-home ul.lista-video li a,
    .block-video-home ul.lista-video li img {   
        width: 100%;
        border: 0;
    }

    .block-video-home .primopianomini .primopianomini_testo { 
        height: auto;
        margin-top: -20px;
    }

    .block-video-home .primopianomini .primopianomini_testo a {     
        padding: 6px 2% 6px 2%;
        width: auto;
        font-size: 15px;
        height: auto;
        min-height: 33px;
    }

    .block-video-home h3,
    .block-video-home span.link-gamesvideotv {
        display: none;
    }

    .block-video-home ul.lista-video li span {   
        top: 5px;
        left: 140px;
    }

    .mezzacol-left .listatitolo ul.showCustomItems_list li,
    .mezzacol-right .listatitolo ul.showCustomItems_list li {   
        background-position: 535px -160px;
    }

    .mezzacol-left .listatitolo ul.showCustomItems_list li a,
    .mezzacol-right .listatitolo ul.showCustomItems_list li a {   
        font-size: 17px;
        padding: 10px 15px 3px 5px;  
    }

    .challenge-related ul li span.vai-sfida { 
        top: 130px;    
    }
    
}


@media only screen and (min-width: 768px) and (max-width: 1023px) { 

    #colonna_left .mezzacol-left,
    #colonna_left .mezzacol-right { 
        width: 48%;
        float: left;
    } 

    #colonna_left .mezzacol-right { 
        float: right;
    }

    .mezzacol-left .listatitolo ul.showCustomItems_list li, 
    .mezzacol-right .listatitolo ul.showCustomItems_list li {
        background-position: 315px -160px;
    }   

    .block-video-home h3,
    .block-video-home span.link-gamesvideotv { 
        display: none;
    }

    .block-video-home .box-video iframe { 
        width: 100%;
        height: 400px;
    }  

    .block-video-home ul.lista-video li span {      
        right: 0;
        left: auto;
    }

    .bodygallery-noside div.custom-related-item { 
        float: right;
    }

    .articolo_col_big div.spazia_img iframe {
        min-height: 400px;
    }
    
    .articolo_col_big a.go-gall {    
        max-width: 610px;
        margin: 0 auto;
    }

    .ob_strip_container.AR_7 {
        width: 45% !important;
    }

    .solr-correlati {   
        width: 45%;
        margin: 13px 0 20px;
        clear: none;
        float: right;
    }

}

           
       