/*
Theme Name:  Ri Maxazine Child Theme
Theme URI: http://	.rivertheme.com/ri-maxazine/
Author:  ZooTemplate
Author URI: http://www.zootemplate.com/
Template: ri-maxazine
Description: Ri Maxazine Child Theme
Version: 1.0.0
*/
/************************/
/** HEADER **/
/************************/
/* sfondo per logo /wp-content/uploads/2016/09/sfondo-header-brandrighe1.jpg*/
#rit-main-header {background:url('/images/sfondo-header-brandrighe_3_2500.jpg') repeat-y center center !important; }

/* top header */
#rit-top-header {background-color:#fff; font-size:13px;}

 /* social nel top*/
.rit-socail-page a i {font-size: 18px; }

/* ricerca dal menu*/
/*.wrapper-top-nav #activesearch{display:none;}*/
.header-group-style #activesearch { color: #000;}
.header-group-style #activesearch:hover, .header-group-style #activesearch:hover i{color:#DE2431;}

/* accorcio menu principale*/
#sticky-wrapper{height:50px !important;}

/* img per menu sticky */
#rit-header-page .is-sticky .wrapper-top-nav, #rit-header-page .is-sticky .wrapper-top-nav nav
{ background: #eff0f2; }

/*#rit-header-page .is-sticky .wrapper-top-nav nav{
    background: #eff0f2 url("/images/brand_logo_piccolo.jpg") no-repeat scroll 10px 0;
text-align:center;
}*/
/* quando il menu è a barrette lo metto bianco*/

.mobile-nav span, .mobile-nav span::after, .mobile-nav span::before{ background: #fff none repeat scroll 0 0;}

/************************/
/** per mega menu **/
/************************/
/* tolgo menumenu dall'header*/
.mega-toggle-label-closed, .mega-toggle-label-open{display:none;}

#mega-menu-primary li.mega-home  {	display:none;  }
#mega-menu-primary li.mega-home a {	padding: 3px 20px; }

/* menu principale link nero */
#header-style-2 nav #mega-menu-primary > li > a::after, #header-style-2 nav #mega-menu-primary > li > a{color:#000;}
#header-style-2 nav #mega-menu-primary > li:hover > a::after, #header-style-2 nav #mega-menu-primary > li:hover > a{color:#000; }
.header-group-style .menu > li > a, .header-group-style .mega-menu > li > a {line-height: 22px;}
.mega-menu .mega-menu-megamenu > ul li[class*="mega-menu-columns"]:first-child{padding-left:20px;}
.mega-menu .mega-menu-megamenu > ul {padding:4px;}
.mega-menu .mega-menu-megamenu > ul > li > a {font-size:11px !important;}
.mega-menu .mega-menu-megamenu > ul > li > a::after  { background: #383838 none repeat scroll 0 0;width: 90px; }
a.mega-menu-link:visited, a.mega-menu-link:active{color:#000 !important; }
a.mega-menu-link:hover {color:#fff !important;}
.mega-menu > li > ul { left: auto;}

/*menu brand #DE2431 item-81367 mega-rosso figli #db767c*/
#header-style-2 nav #mega-menu-primary > li.mega-rosso:hover > a::after, #header-style-2 nav #mega-menu-primary > li.mega-rosso:hover > a{background-color:#DE2431;}
/*.mega-rosso{background-color:#fff;}*/
.mega-menu > li.mega-rosso:link a:link{background-color:#DE2431; color:#fff;}
.mega-menu > li.mega-rosso a:hover{ color:#000;}
.mega-menu > li.mega-rosso ul{background-color:#DE2431; width:450px;}
/* figli */
.mega-menu > li.mega-rosso ul > li:hover{background-color:#db767c;}

/*player #E74D27 item-81341 mega-arancio-scuro figli #e9846b*/
#header-style-2 nav #mega-menu-primary > li.mega-arancio-scuro:hover > a::after, #header-style-2 nav #mega-menu-primary > li.mega-arancio-scuro:hover > a{background-color:#E74D27;}
/*.mega-arancio-scuro{background-color:#FFF;}*/
.mega-menu > li.mega-arancio-scuro a:hover {}
.mega-menu > li.mega-arancio-scuro ul{background-color:#E74D27; width:400px;}
/* figli */
.mega-menu > li.mega-arancio-scuro ul > li:hover{background-color:#e9846b;}

/*comunicazione #F3992B item-81342 mega-arancio-chiaro figli (arancio-scuro #cf8326)*/
#header-style-2 nav #mega-menu-primary > li.mega-arancio-chiaro:hover > a::after, #header-style-2 nav #mega-menu-primary > li.mega-arancio-chiaro:hover > a{background-color:#F3992B;}
/*.mega-arancio-chiaro{background-color:#FFF;}*/
.mega-menu > li.mega-arancio-chiaro a:hover {}
.mega-menu > li.mega-arancio-chiaro ul{background-color:#F3992B; width:560px;}
/* figli */
.mega-menu > li.mega-arancio-chiaro ul > li:hover{background-color:#cf8326;}


/*marketing #B81D56 item-81343 mega-porpora figli #f92a76*/
#header-style-2 nav #mega-menu-primary > li.mega-porpora:hover > a::after, #header-style-2 nav #mega-menu-primary > li.mega-porpora:hover > a{background-color:#B81D56;}
/*.mega-porpora{background-color:#FFF;}*/
.mega-menu > li.mega-porpora a:hover { }
.mega-menu > li.mega-porpora ul{background-color:#B81D56; width:200px;}
/*figli*/
.mega-menu > li.mega-porpora ul > li:hover{background-color:#f92a76;}

/*media #3560fd   item-81344 mega-blu  (blu-chiaro #083cfc)*/
#header-style-2 nav #mega-menu-primary > li.mega-blu:hover > a::after, #header-style-2 nav #mega-menu-primary > li.mega-blu:hover > a{background-color: #3560fd;}
/*.mega-blu{background-color:#FFF;}*/
.mega-menu > li.mega-blu a:hover {}
.mega-menu > li.mega-blu ul{background-color: #3560fd; width:400px;}
/* figli */
/*.mega-menu .mega-blu > ul > li > a:link,.mega-menu .mega-blu > ul > li > a:visited,.mega-menu .mega-blu > ul > li > a:active{color:#e3e3e9 !important;}*/
.mega-menu > li.mega-blu ul > li:hover{background-color:#083cfc;}
.mega-menu .mega-blu > ul > li > a:hover{color:#fff;}

/*gare #FFD32C item-81336 mega-giallo*/
#header-style-2 nav #mega-menu-primary > li.mega-menu-item-81336:hover > a::after, #header-style-2 nav #mega-menu-primary > li.mega-giallo:hover > a{background-color:#FFD32C;}
/*.mega-giallo{background-color:#FFF;}*/
.mega-menu > li.mega-giallo a:hover {background-color:#FFD32C;}
.mega-menu > li.mega-giallo ul{background-color:#FFD32C; width:200px;}


/*intelligence #AD34CB item-81345 mega-viola figli #a263b1 */
#header-style-2 nav #mega-menu-primary > li.mega-viola:hover > a::after, #header-style-2 nav #mega-menu-primary > li.mega-viola:hover > a{background-color:#ad34cb;}
/*/.mega-viola{background-color:#FFF;}*/
.mega-menu > li.mega-viola a:hover {}
.mega-menu > li.mega-viola ul{background-color:#ad34cb; width:400px;}
/*figli*/
/*/.mega-menu .mega-viola > ul > li > a:link, .mega-menu .mega-viola > ul > li > a:visited, .mega-menu .mega-viola > ul > li > a:active{color:#e3e3e9 !important;}*/
.mega-menu .mega-viola > ul > li > a:hover{color:#fff;}
.mega-menu > li.mega-viola ul > li:hover{background-color:#a263b1;}


/*agenda #9FCDC0 item-81335 mega-grigio*/
#header-style-2 nav #mega-menu-primary > li.mega-grigio:hover > a::after, #header-style-2 nav #mega-menu-primary > li.mega-grigio:hover > a{background-color:#9FCDC0;}
/*/.mega-grigio{background-color:#FFF;}*/
.mega-menu > li.mega-grigio a:hover {background-color:#9FCDC0;}
.mega-menu > li.mega-grigio ul{background-color:#9FCDC0; width:200px;}



/************************/
/* fine megamenu */
/************************/
/************************/
/* spazio per il banner in home metto spazio sotto*/
/************************/
#spazio_sottobanner{line-height: 8px;}

/************************/
/* spazio per lo slider in home gestita da media query più sotto*/
/************************/
/* SLIDER IN HOME APERTURA*/
/************************/
.apertura .time-post{display:none;}
.apertura .grid-carousel .blog-carousel-item .rit-grid-layout:first-child .title-post a {font-size:22px;}

/* modifica per posizionare il primo banner andrà cambiata*/
.apertura .wrapper-slider{height:500px;}

.apertura {margin-bottom:20px;}

/* apertura notizia grande carattere grande*/
.apertura .grid-carousel .blog-carousel-item .rit-grid-layout:first-child .title-post a {
    font-size: 28px;font-weight: 700;
}
/* apertura notizie laterali */
.grid-carousel .blog-carousel-item .rit-grid-layout .title-post a {
    font-size: 18px;font-weight: 700;
}


a.premium {background-color:#01B2DE; cursor:default; }
a.free	{background-color:#2FA359; cursor:default; }
a.premium:hover {color:#fff !important;}
a.free:hover {color:#fff !important;}


#my_loginform {    margin: 0 auto;    width: 410px; }
#my_loginform p { margin-bottom:0px;}
#my_loginform p.login-remember, #my_loginform p.login-submit {text-align:right;}
#my_loginform label { width: 190px; font-weight:normal;}


/* maiuscolo nei titoli*/
.title-post{ text-transform: uppercase;}
.title-post{font-weight: 700;}

/* aumento in padding in home tra il centro e la sidebar*/
.home .vc_column-inner {padding-right:35px;}

/* rendo uguale lo spazio tra le immagini */
.grid-carousel .blog-carousel-item .rit-grid-layout {
    padding-right: 2px;
}


/* allineo i tag colorati delle news in home con la foto*/
 .header-blog-item {  margin-top: -5px;}

/************************/
/*Sezione BLOG*/
/************************/

#blog .list-cat {
	position:relative;
	height:43px;
}
#blog .wpb_content_element {
	margin-bottom:15px;
}
#blog .title-block-shortcode a {
	color:#fff !important;
}
#blog .title-block-shortcode a:hover {
	color:gray;
}

/* tag colorati per fascia blog*/
.canali a{background-color:#F73D09 !important;
padding:5px 10px;}
.canali a:hover{color:#000 !important;}

/* pulsante loadmore per il Blog */
.wrapper-loadmore #blog-loadmore {
   -webkit-font-smoothing: antialiased;  -moz-osx-font-smoothing: grayscale; 
    padding: 1px 12px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    letter-spacing: 1px;
    background: #f9f9fa;
    margin: 0 auto;
    display: inline-block; 
}
.wrapper-loadmore #blog-loadmore i {
      margin-left: 5px;
      color: #000;
      transition: all 500ms;
      -webkit-transition: all 500ms;
      -moz-transition: all 500ms;
      -o-transition: all 500ms;
      -ms-transition: all 500ms; 
}
.wrapper-loadmore #blog-loadmore:hover {color: #fff !important;background: #F33A22; }
.wrapper-loadmore #blog-loadmore:hover i {color: #fff; }

#blog-sezione-3 #load-more {
   -webkit-font-smoothing: antialiased;  -moz-osx-font-smoothing: grayscale; 
    padding: 1px 12px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    letter-spacing: 1px;
    background: #f9f9fa;
    margin: 0 auto;
    display: inline-block; 
}
#blog-sezione-3 #load-more:hover  { color: #fff !important;background: #F33A22; }




.title-widget, .title-block-shortcode {margin:0;}
/* fascia intelligence*/
.intellige .title-block-shortcode{margin:0 0 10px;}
/* titolo le nostre news */
.rit-blog-medium-layout  .title-block-shortcode{margin:0 0 20px;}

/* titoli news in carousel*/

.rit-blog-grid-layout h3 a, .white h3 a{color:#fff !important;}
.rit-blog-grid-layout .description{color:#000 !important;}
.rit-grid-layout .wrapper-blog-item .title-post{ text-transform: uppercase;}

/* titoli in banda colorata*/
.rit-blog-large-layout h2.title-block-shortcode span, .rit-blog-grid-layout h2.title-block-shortcode span{color:#fff !important;}
.white .rit-blog-list-2-layout h2, .white .rit-blog-list-2-layout h2 span,.white .rit-blog-list-2-layout h2 a{color:#fff !important;}
.white .owl-wrapper h2, .white .owl-wrapper h2 a, h2.white{color:#fff !important;}

/* testo su fondo scuro per fascia Blog*/
.testochiaro .rit-wrapper-ajax-load h3.title-post a{color:#fff !important;}
.testochiaro .rit-wrapper-ajax-load h3.title-post a:hover{color:#f33a22;}
.testochiaro .rit-wrapper-ajax-load .header-blog-item{background:#494646;}

/*tag colorati hover*/
.header-blog-item a:hover{color:#000000 !important;}
.list-cat a:hover{color:#000000 !important;} 


/* riduco spazio in fasce grigie era 35px*/
.vc_col-has-fill > .vc_column-inner, .vc_row-has-fill + .vc_row-full-width + .vc_row > .vc_column_container > .vc_column-inner, .vc_row-has-fill + .vc_row > .vc_column_container > .vc_column-inner, .vc_row-has-fill + .vc_vc_row > .vc_row > .vc_vc_column > .vc_column_container > .vc_column-inner, .vc_row-has-fill + .vc_vc_row_inner > .vc_row > .vc_vc_column_inner > .vc_column_container > .vc_column-inner, .vc_row-has-fill > .vc_column_container > .vc_column-inner, .vc_row-has-fill > .vc_row > .vc_vc_column > .vc_column_container > .vc_column-inner, .vc_row-has-fill > .vc_vc_column_inner > .vc_column_container > .vc_column-inner {    padding-top: 10px !important;}


/* fascia intelligence titoli*/
.full-width .title-post a { font-size: 20px;  }
/* fascia creativita titoli*/
.wrapper-content-slider h2.title-post a { font-size: 20px;}

/* tolgo commenti*/
.go-comments, .tt-cmt,#respond, .total-comments, .add-cmt, .fa-comments{display:none;}
.post-info span{display:none;}
/* tolgo autore */
.author-name, .author-socail, .post-author{display:none;}
/* tolgo letture */
.tt-view, .total-view{display:none;}


/* scurisco link social*/
.with-socail .wrapper-share .share-links::after, .with-socail .wrapper-share .share-links::before {
    background: #353535 none repeat scroll 0 0;}

/*per le notizie singole*/
.wrapper-rit-blog-item {
    background: transparent !important;
}

/* articolo singolo */
.blog-detail .post-thumb{display:none;}
.wrapper-detail-post .page-link {display:none;}


/* per correggere i breadcrumb*/
.rit-breadcrumb {
    display: flex;}
.rit-breadcrumb span {margin:0 4px;}
.rit-breadcrumb span.name{display:none;}

/* widget numero per i più letti */

.rpw .rit_rpw_img div {
color:#969696 !important;  
font-size: 2.2em; 
text-align:center;
line-height: 2.2em;
padding:0px 30%; 
}

/* titoli news in barra laterale*/
.sidebar-item .rit_rpw .rit_rpw_info h4 a {text-transform: uppercase; line-height: 1.2em;}

/*per le categorie colorate nell-elenco news*/
.header-blog-item a {
    color: #fff;
    display: inline-block;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: normal;
    margin-right: 3px;
    padding: 3px 5px;
    text-transform: uppercase;
    transition: all 300ms ease 0s;
}

/* per i titoli della pagina altre notizie*/
.vc_custom_heading h3{margin:0;}
.vc_custom_heading h3 > a {
    font-size: 26px ;
    font-weight: 500;
    line-height: 32px;
letter-spacing: 1px;
}

/* archivio newsletter */
.m1dll_filelist {margin-left:50px !important;}

/* ricerca avanzata */

#ricerca {width:90%; margin:0 auto;}
#ricerca ul {padding:5px 0px 0px 40px;  }
#ricerca ul ul {padding-left:20px; margin:0px;}

#ricerca ul.categorie li {border-bottom:1px dotted gray;  border-top:1px dotted gray; 
	list-style-type: none; list-style-position: inside; 
	padding: 10px 0px 0px 0px;
}
#ricerca ul.categorie li li{	border:none; padding:0px; }
#ricerca ul.categorie li:nth-child(1) {border-top:none }

#ricerca .toggle {
    background: url("/images/updown.gif") repeat scroll 0 0 rgba(0, 0, 0, 0);
    display: inline-block; cursor:pointer;
 height: 20px;   width: 20px; }
 
#ricerca label { margin-right:5px; margin-top:20px;  }
#ricerca input.periodo {width:100px;}
#ricerca span.request {font-style: italic;}
#ricerca #imgall {cursor:pointer;}
#ricerca #all {display:none;}
#ricerca #start_search_button {margin-left:30px; padding:3px 5px;}

/* testo nel footer */
#rit-bottom-footer .textwidget p, #rit-bottom-footer .textwidget{font-size:12px;}
/* titoli nel footer*/
.footer-default #rit-bottom-footer .widget .title-widget::after, .footer-default #rit-bottom-footer .widget .title-block-shortcode::after {
    background: rgba(255, 255, 255, 0.1) none repeat scroll 0 0;
    height: 5px;
    top: 100%;
    width: 100%;
    z-index: 0;
}
#rit-bottom-footer .widget .title-widget{margin-bottom:10px !important;}
#rit-footer h3 span{color:#fff !important;line-height: 2;
}

#rit-bottom-footer .textwidget h4{color:#fff !important;}
/* menu nel footer */
.widget_nav_menu ul li a {font-family:"Montserrat" !important;}


a.subtitle {font-size:20px;}

/* login nel post */
#my_for_login p { margin-bottom:0px;}
#my_for_login label { width: 190px; font-weight:normal;}

div.hatom-extra {display:none;}

		.advanced_search {color:#fff; margin-top:10px; float:right;}

.addtoany_content {text-align:right;}

button.mega-toggle-animated {display:none;}

.piuletti .tptn_posts_widget li {
	float: left;
	width: 100%;
	border:none;
}
.piuletti li .tptn_left {
	width:30%;
	float:left;
}
.piuletti li .tptn_left span, .rit_rpw_img span {
    color: #969696 !important;
    font-size: 2.2em;
    float:left;
    width:90%;
    line-height: 2.2em;
    text-align: center;
}

.piuletti li .tptn_left .tptn_thumb {
	width:90%;
	display: block;
   float: left;
}

.piuletti .tptn_date { font-size: 12px; }
.piuletti .tptn_after_thumb {
	float: left;
    padding-left: 10px;
    width: 70%;
}
.piuletti .tptn_link span { 
line-height: 1.2em; 
text-transform: uppercase; 
color: #333;
font-size: 16px;
display:block;

}














/******************************/
/* MEDIA QUERY per i vari formati di schermo*/
/******************************/

/* per far vedere il logo piccolo */
@media only screen and (min-width: 1173px) {
#rit-header-page .is-sticky .wrapper-top-nav{ background: #eff0f2; }
#rit-header-page .is-sticky .wrapper-top-nav #mega-menu-primary li.mega-home {display:inline;}
/*/#rit-header-page .is-sticky .wrapper-top-nav nav{
    background: #eff0f2 url("/images/brand_logo_piccolo.png") no-repeat scroll 10px 3px;
text-align:center; height:56px;}*/

}

/* sul desktop grande 1920*/
@media only screen and (min-width: 1281px) {
.apertura{margin-bottom:20px;}
.banner-apertura{margin-top:60px; margin-bottom:60px !important; }
}

/* sul desktop medio 1280*/
@media only screen and (max-width: 1280px) {
#logo{padding-left:0px;}
.wrapper-logo {height: 114px !important;}
#logo img {  height: 114px !important;}
/*/ul.rit-blog-carousel, ul.owl-carousel, ul.owl-theme,li.blog-carousel-item{height:400px !important;}*/
.banner-apertura{margin-bottom:60px !important;margin-top:40px;}
}

/* sul video piccolo 1024*/
@media only screen and (max-width: 1024px)and (min-width:450px) {
#logo{padding-left:0px;}
#header-style-2 #logo .wrapper-logo {    padding: 0 !important;}
#header-style-2 #rit-right-top-header {background-color:#fff;}
#rit-right-top-header .rit-socail-page{display:inline;}
.wrapper-logo {height: 80px !important;}
#logo img {max-height: 80px;}
#header-style-2 .wrapper-top-nav #activesearch {right: -8px;}
.apertura .wrapper-slider { height: auto;}
.banner-apertura{margin-top:-120px !important; }
}



/*sul tablet orizzontale 1020*/
@media only screen and (max-width: 1020px) {
.wrapper-slider {margin-top:10px;}
#rit-right-top-header .rit-socail-page{display:inline;}

}

/* su display piccoli verticali per avere elenco news con img 100% e testo sotto*/
@media only screen and (max-width: 800px) {
.search-results .col-xs-5, .search-results .col-xs-7, .category .col-xs-5, .category .col-xs-7, .archive .col-xs-5, .archive .col-xs-7 {width:100%;}

.rit-blog-carousel .owl-controls {
    visibility: visible;
}
}

@media (max-width: 768px) {
.rit-blog-carousel .owl-controls {
    visibility: visible;
}

}

/* su iphone 414*/
@media only screen and (max-width: 414px) {
.wrapper-logo {height: 50px !important;}

}


