@media only screen and (min-width: 1421px) {
	.cbp-spmenu-left { display: none; }
}
 @media only screen and (max-width: 1620px) {
    .itemslide .titleslide h3 { font-size: 48px; margin-bottom: 15px; }
    .itemslide .testoslide { font-size: 16px; line-height: 23px; }
}
@media only screen and (max-width: 1420px) {
    #header-website.myrow { position: fixed; top: 0; background-color: #fff; }
    .myrow.blocco-cover.forpages.inhome { height: 58px; }
    #header-website.sticky { top: 0; }
    #header-website.sticky.displayfixed { top: 0; -webkit-animation: none; -moz-animation: none; -o-animation: none; animation: none; }
    .logoweb { margin-top: 12px; }
    .menuweb ul li a { padding: 20px 10px; }
    .menuweb > ul > li.menu-item-has-children > a::after {	top: 19px; }
    .menuweb .buttonlink a, .fixed-header .buttonlink a, .menuweb .buttonlink button, .fixed-header .buttonlink button { height: 30px; line-height: 30px; margin-top: 13px; width: 30px; }
    /*wp_is_mobile*/
    .wpjef_is_mobile #header-website { height: 50px; }
    .wpjef_is_mobile #header-website header { background-color: transparent; padding: 0; }
    .wpjef_is_mobile #header-website header .menuweb > ul { display: none; }
    .wpjef_is_mobile #header-website header .logoweb { position: absolute; width: 100%; max-width: 100%; top: 0; left: 0; z-index: 1; text-align: center; height: 100%; margin: 0; }
    .wpjef_is_mobile #header-website header .logoweb img { display: inline-block; position: relative; max-width: 90px; height: auto; margin-top: 7px; }
    .wpjef_is_mobile #header-website header button#showLeft { display: inline-block; }
    .wpjef_is_mobile #header-website header .menuweb .buttonlink a, .wpjef_is_mobile #header-website header .menuweb .buttonlink button { margin-top: 10px; }
    /*header area riservata*/
    .fixed-header.for_reserved_menu .loghetto { width: 100px; }
    .fixed-header.for_reserved_menu button#showLeft { display: inline-block; color: #fff; width: auto; margin-right: 20px;   }
     
    .fixed-header.for_reserved_menu .buttonlink a { margin-top: 2px; margin-left: 10px; }
    .fixed-header.for_reserved_menu .menu-private { display: none; }
    /*cover page*/
    .myrow.blocco-cover.forpages { height: 250px; }
}


@media only screen and (max-width: 1380px) {
    .wpjef_is_desktop #header-website header .menuweb > ul { display: none; }
    .wpjef_is_desktop #header-website header button#showLeft { display: inline-block; }
}

@media only screen and (max-width: 1124px) {
    /*is_desktop*/
    .wpjef_is_desktop #header-website { height: 50px; }
    .myrow.blocco-cover.forpages.inhome { height: 51px; }
    .wpjef_is_desktop #header-website header { background-color: transparent; padding: 0; }
    
    .wpjef_is_desktop #header-website header .logoweb { position: absolute; width: 100%; max-width: 100%; top: 0; left: 0; z-index: 1; text-align: center; height: 100%; margin: 0; }
    .wpjef_is_desktop #header-website header .logoweb img { display: inline-block; position: relative; max-width: 90px; height: auto; margin-top: 7px; }
    
    .wpjef_is_desktop #header-website header .menuweb .buttonlink a, .wpjef_is_desktop #header-website header .menuweb .buttonlink button { margin-top: 10px; }
    #searchsite { width: 100%; margin-top: 5px; }
    /*fine*/
    /*banner home*/
    .alert_box_steat .thetitle a { font-size: 14px; }
    .banner_single_steat { min-height: 50px; line-height: 50px; }
    .banner_single_steat .icon_banner { font-size: 24px !important; top: 3px; }
    .banner_single_steat h5 { font-size: 16px; }
}
@media only screen and (max-width: 1124px) and (max-height: 767px) {
    /*popup*/
    .preview-alert { position: relative; top: unset; left: unset; transform: none; -moz-transform: none; -webkit-transform: none; -o-transform: none; margin: 50px auto; display: block; }
    .preview-alert > figure { height: 200px; }
}
/*popup mobile no limit size: only mobile device*/
.wpjef_is_mobile .preview-alert { position: relative; top: unset; left: unset; transform: none; -moz-transform: none; -webkit-transform: none; -o-transform: none; margin: 50px auto; display: block; }
.wpjef_is_mobile .preview-alert > figure { height: 200px; }
.wpjef_is_mobile .blocco-cover.forslidehome { display: none; }
.wpjef_is_mobile .myrow.scrollnews-website { margin-top: 50px; }
@media only screen and (max-width: 1024px) {
    /*is_mobile*/
    /*slidehome*/
    .vc_row#blocco_home_orari { padding-top: 60px; }
    /*popup search*/
    .allsearch_box { width: 90%; max-width: 90%; }
    #modal-mysearch form.mysearchform > div, #modal-mysearch .mysearchform button[type="submit"] { float: left; max-width: 100%; width: 100%; }
}
@media only screen and (max-width: 980px) {
    .topfooter { background-color: #2b3239; padding: 30px 0; }
    .topfooter .block-foot { margin-bottom: 20px; font-size: 14px; line-height: 19px; }
    /*struttura */
    main { margin-top: 20px; margin-bottom: 20px; }
    .add_padding_top_bottom { padding: 20px 0; }
    .mycontent, aside { width: 100%; padding-left: 0; }
    aside { margin-top: 60px; }
    /*pagine related in aside*/.myblock.list-related { display: none; }
    .myrow.blocco-cover.forpages { height: 210px; }
    /*cover page*/
    .myrow.blocco-cover.forpages { height: auto; float: left; }
    .blocco-cover.forpages h1.titlesite, .blocco-cover.forpages div.titlesite { bottom: unset; font-size: 26px; left: unset; position: relative; text-align: center; transform: none; -webkit-transform: none; -moz-transform: none; -o-transform: none; width: 100%; padding: 90px 20px 20px; float: left; max-width: 100%; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -o-box-sizing: border-box; }
    body.page article h2 { font-size: 14px; padding: 10px; }
    .iconfoot .myblock li { width: 48%; margin-top: 20px; }
    /*riservata*/
    .page-template-page-riservatadettaglio .container .vc_col-sm-6 { width: 100% }
}
@media only screen and (max-width: 767px) {
    #header-website header .logoweb img { max-width: 78px !important; }
    /*slidehome*/
    .blocco-cover.forslidehome { display: none; }
    .myrow.blocco-cover.forpages.inhome { height: 51px; }
    /*.myrow.scrollnews-website { margin-top: 50px; }/*
    /*banner info home */
    .steat_box_home h3 a { padding: 20px 30px 50px 20px; }
    .steat_box_home figure { display: none; }
    .steat_box_home.alert_box_steat { display: none; }
    .steat_box_home.only_repsonsive_link { display: inline-block; }
    #abouthome .preview-about { padding: 20px 30px !important; }
    .banner_single_steat { min-height: 95px; }
    .banner_single_steat h5 { display: inline-block; text-align: left !important; width: 70%; float: left; margin-top: 15px }
    .banner_single_steat .icon_banner { position: absolute; right: 20px; top: 50%; margin: 0; left: unset; height: auto; transform: translateY(-50%); -webkit-transform: translateY(-50%); -moz-transform: translateY(-50%); -o-transform: translateY(-50%); }
    .banner_single_steat:hover .icon_banner { position: absolute; right: 30px; left: unset; }
    /*struttura*/
    article h1, .intro-list h2, .intro-list h2.vc_custom_heading, .intro-list h1, .intro-list h1.vc_custom_heading { font-size: 21px; line-height: 24px; margin-bottom: 20px; }
    .mytitle_block { font-size: 18px; }
    .one-third, .two-third { width: 100%; padding-left: 0; }
    /*archivio lista bandi avvisi*/
    .list-testo { margin: 15px 0; }
    .listfile li > .fa { font-size: 23px; }
    .listfile.avvisi li > .fa { font-size: 26px; }
    .listfile > li { padding-left: 40px; }
    .single span.day_scadenza.scaduto { text-align: left; }
    span.day_scadenza { margin-right: 0; width: 100%; }
    .mycountdown { margin-top: 8px; }
    .listfile li h3 { font-size: 16px; }
    /*pageine related aside*/
    .related-page ul li { width: 93% }
    .related-page ul li a { display: inline-block; float: left; margin-right: 0; padding: 10px; width: 100%; }
    article p { font-size: 13px; line-height: 16px; }
    .wp-pagenavi span.pages { width: 100%; display: inline-block; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; margin-bottom: 10px !important; text-align: center; }
    /*riservata*/
    .primary-riservata .um-form { margin-bottom: 120px; }
    .primary-riservata { margin-top: 80px; margin-bottom: 40px; }
    #abouthome { text-align: center !important; }
    #abouthome .preview-about h3 { font-size: 32px; text-align: center !important; }
    #abouthome .preview-about .wpb_text_column { font-size: 16px; line-height: 21px; }
    body #abouthome .preview-about .vc_btn3-container > .vc_general { font-size: 14px; }
    /*single avvisi*/
    .single-avvisi .myhalf, .single-bandigare .myhalf { width: 100%; margin-bottom: 20px; }
    .topfooter .block-foot { width: 100%; padding: 0; text-align: center; background-image: none !important; }
    /*gallery*/
    .mygrid .item_gal { width: calc(50% - 10px); }
}
@media only screen and (max-width: 580px) {
    /*form google transit*/
    #GoogleTransit form { padding: 10px; }
    #GoogleTransit form .halfblock { float: left; width: 100%; margin-right: 0; }
    #GoogleTransit form .myrow { margin-bottom: 20px; }
    .wpjef_is_desktop #header-website header .logoweb, .wpjef_is_mobile #header-website header .logoweb { text-align: left; padding-left: 30px; }
    .iconfoot .myblock li { width: 100%; margin-right: 0; }
    .myaccordion-website.for_rivendite li .myrow.detail_rivendite { margin-bottom: 10px; }
    .myaccordion-website.for_rivendite li .myrow.detail_rivendite .info_rivendita { max-width: 100% !important; width: 100% !important; }
    .myaccordion-website.for_rivendite li .myrow.detail_rivendite .info_rivendita.abbonamento { font-weight: 700; text-align: left }
    /*popup*/
    .preview-alert > figure { margin-bottom: 20px; }
    /*.preview-alert .myrow.txt-featured { display: none; }*/
    /*riservata*/ 
    
    .fixed-header.for_reserved_menu button#showLeft { margin-right: 10px; }
    .fixed-header.for_reserved_menu .loghetto { width: 90px; margin-top: 3px; }
    /*gallery*/
    .mygrid .item_gal { width: 100%; margin: 10px 0 0; }
}
/*BADGE*/
/*only device mobile*/
.wpjef_is_mobile .menuweb { /*margin-right: 50px;*/ }
.wpjef_is_mobile button#open_badge, .wpjef_is_mobile .box_badge { top: 8px; z-index: 9999 }

/*end only device mobile*/
@media only screen and (max-width: 1124px) {
/*.menuweb { margin-right: 50px; } ho nascosto pulsante badge quindi non serve piu*/
button#open_badge, .box_badge { top: 8px; z-index: 9999 }
}
 @media only screen and (max-width: 580px) {
/*button#open_badge {top:unset; bottom:40px;}
 	.box_badge {top:50px;}*/
/*.menuweb { margin-right: 45px; } ho nascosto pulsante badge quindi non serve piu*/
button#open_badge, button#close_badge { width: 40px; }
.panel_badge { width: calc(100% - 40px); }
.content_main_badge { font-size: 18px; line-height: 22px; margin-bottom: 10px; }
}


/*BANNER ADV FULL WIDTH*/
@media only screen and (max-width: 1024px) {
.banner_adv_fw .myhalf.contentadv .title_banner_fw { font-size: 32px; line-height: 36px; margin-top: 40px; }
.banner_adv_fw .myhalf.contentadv .content_button_banner_fw .button_banner img { max-height: 35px; }
.banner_adv_fw .myhalf.divLeft.imageadv { width: 60%; }
.banner_adv_fw .myhalf.divRight.contentadv { width: 40%; }
}
 @media only screen and (max-width: 767px) {
.banner_adv_fw .myhalf.divLeft.imageadv { position: relative; height: auto; min-height: 1px; }
/*.banner_adv_fw .myhalf.divLeft.imageadv::after { display: block; padding-top: 75%; content: ""; }*/
.banner_adv_fw .myhalf.divLeft.imageadv, .banner_adv_fw .myhalf.divRight.contentadv { width: 100%; }
}

/*BANNER ADV FOOTER */
@media only screen and (max-width: 1467px) {
.myrow.banner_adv_footer .image_banner_adv_footer { left: 10px; }
.myrow.banner_adv_footer .image_banner_adv_footer img { max-width: 190px; }
.myrow.banner_adv_footer { padding-left: 230px; }
.myrow.banner_adv_footer .title_banner_adv_footer { font-size: 28px; line-height: 32px; }
.myrow.banner_adv_footer .button_banner_adv_footer .button_banner img { max-height: 40px; }
}
@media only screen and (max-width: 1190px) {
.myrow.banner_adv_footer { padding: 20px; }
.myrow.banner_adv_footer .image_banner_adv_footer img { max-width: 210px; }
.myrow.banner_adv_footer .title_banner_adv_footer { max-width: 100%; width: 100%; text-align: center; }
.myrow.banner_adv_footer .button_banner_adv_footer { margin-left: 0; margin-top: 20px; max-width: 100%; width: 100%; text-align: center; }
}
@media only screen and (max-width: 980px) and (min-width:767px) {
.myrow.banner_adv_footer { padding-left: 245px; }
.myrow.banner_adv_footer .title_banner_adv_footer, .myrow.banner_adv_footer .button_banner_adv_footer { text-align: left; }
}
@media only screen and (max-width:767px) {
.myrow.banner_adv_footer .image_banner_adv_footer { display: none; }
}

/*NEWS HOME*/
@media only screen and (max-width: 1024px) {
    .container_block_news {  width: 100%;  }
    .square_block_news::after { padding-top: 50%; }
    .container_block_news.middle .square_block_news::after { padding-top: 75%; }
}
@media only screen and (max-width: 767px) {
    .container_block_news {  width: 100%;  display: inline-block; }
    .square_block_news::after { padding-top: 75%; }
    .container_block_news .square_block_news .title_block_news > a { font-size:18px; line-height:24px;padding:10px 12px;}
}
@media only screen and (max-width: 420px) {
    .square_block_news::after, .container_block_news.middle .square_block_news::after { padding-top: 125%; }
}
/*page blog*/
@media only screen and (max-width: 980px) {
    .preview_blog.square_block_news { width:50%;}
}
@media only screen and (max-width: 580px) {
    .preview_blog.square_block_news { width:100%;}
}