/*
Theme Name: Cartadiroma
Description: <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> - you can use child theme to make a lot of customization that's not gonna be deleted with any new theme update
Version: 1.0
Author: Momizat Team
Author URI: http://www.momizat.com
Template: goodnews5
*/
body { color:#444444 !important;
 font-size: 13px; }
#top {display:none}
#navigation ul.main-menu > li a {
font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif !important;
font-size: 14px;
font-weight: bold;
}
#navigation ul.main-menu li ul li a {font-size: 14px;}
a:link, a:visited, a:active, a:focus {	color:#40454d;}
a:hover { color:#a50000;}
.bottom_bar p.copyrights a {
color: #ff6600;
}

#soci li {padding: 0px 10px;margin-bottom:0px;}
.related_box ul li.related_item {width:90%!important;}
.cat_article_warap .cat_article_content p b a { color: #217DD3;}

#navigation ul.main-menu li:hover > a, #navigation ul.main-menu > li.current-menu-item > a, #navigation ul.main-menu > li.current-menu-ancestor > a {
color: #EE0E16;
}
/*home icon*/
#navigation ul.main-menu li.home > a {
 text-indent:-9999px;
 background:url(images/home_icon.png) no-repeat center;
 height:46px;
 width:27px;
}

.main-menu > li > a {
    padding: 0 13px;    
}

#navigation ul.main-menu li.home:hover > a, #navigation ul.main-menu > li.home.current-menu-item > a, #navigation ul.main-menu > li.home.current-menu-ancestor > a {
 background:#fff url(images/home_icon.png) no-repeat center;
 
}

ul#ticker01 li a:hover, #navigation ul.main-menu li ul li a:hover, #navigation ul.main-menu li:hover > a, 
#navigation ul.main-menu > li.current-menu-item > a, #navigation ul.main-menu > li.current-menu-ancestor > a, a:hover {
color: #EE0E16 !important;
}

.slider_item a img {
width: 100%;height: 100%;
}

.related_item h3, h5 {font-family: Open Sans; margin-bottom: 15px} .related_item h3 {font-size:90%!important}

ul li .more_news {margin-left: 30px;
line-height: 15pX;
font-size: 11px;}
.cat_article {/*max-height: 455px !important;*/}

.widget_recent_category_posts a img { max-width:265px} /* */
#seconda .widget_recent_factchecking_posts a img, #seconda .widget_recent_osservatoriotg_posts a img { max-width:160px}
#prima .widget_recent_factchecking_posts a img, #prima .widget_recent_osservatoriotg_posts a img { max-width:265px}

@media only screen and (max-width: 989px) and (min-width: 678px) {
.english {display:none;}
.widget_recent_category_posts a img { max-width:610px} /* */
#seconda .widget_recent_factchecking_posts a img, #seconda .widget_recent_osservatoriotg_posts a img { max-width:610px}
#prima .widget_recent_factchecking_posts a img, #prima .widget_recent_osservatoriotg_posts a img { max-width:610px}
}

@media only screen and (max-width: 678px) {
	
}

/*
.related_box ul li.related_item:nth-child(4n+1) {
margin-left: 15px !important;
margin-bottom: 15px !important;
}
*/

.related_box ul li.related_item {
margin-left: 15px !important;
margin-bottom: 15px !important;
}

#wp-calendar tbody tr td a { color:#EE0E16 ; font-weight:bold}

.widget-calendar-holder {float:left}
.widget_flat_events_calendar_widget { width: 265px; }
.widget_flat_events_calendar_widget .block-title span {
font-size: 15px;
 font-weight: bold;
 line-height: 1;
 text-transform: uppercase;
 margin-bottom: 0;
 
	color: #EE0E16;
	 font-family: 'Play', sans-serif;
 -webkit-font-smoothing: antialiased;
}
.widget_flat_events_calendar_widget .block-title {
background: #f8f8f8;
 padding: 16px 20px;
 border-bottom: 1px solid #eaeaea;
 margin: -20px;
 margin-bottom: 5px; 
	/* background: #f8f8f8 url(../goodnews5/images/nb-dots.png) repeat; */
}
.fc-footer {
 margin: 0px !important;
}

.related_box { border:none!important}
.widget_wysija { width: 265px;}

.header { padding: 10px 0; height:90px}
.header > .inner, .header .logo { line-height: 70px!important; height: 70px!important;}
.widget {float:left}
.more_news li {width: 100%; float: left;}
.slider_nav_main {display:none}
.cdrlogo-container { zoom: 1; margin: 0 auto; }
.cdrlogo-container:before, .cdrlogo-container:after { content: ""; display: table; }
.manchette-left {  position: absolute;
    width: 160px;
    height: 90px;
    left: 0;
    top: 0;}
.cartadiroma-logo {     position: relative;
    margin: 0 auto; width: 461px; height: 97px; margin-bottom:0;padding: 0px 0;    display: block;} /*width: 713px; height: 90px; */
.cartadiroma-logo a { display: block; height: 100%; text-align: center;
background-repeat: no-repeat; background-position: 50% 50%;background-size: 100%;
background-image: url("https://www.cartadiroma.org/wp-content/uploads/2012/12/logo_cartadiroma.png");/*images/logo-cartadiroma4.jpgfont-family: Open Sans; */
 }
.manchette-right {
    position: absolute;
    width: 160px;
    height: 90px;
    right: 0;
    top: 0;
}
.assistive-text { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px);}

@media only screen and (max-width: 1210px) and (min-width: 1001px) {
.cdrlogo-container { zoom: 1;width: 978px; margin: 0 auto;}
.cartadiroma-logo { width: 500px; }
.secondary-sidebar, #seconda_no { clear: both; width: 652px; margin: 0!important; display:block!important}
.both-sidebars-left .secondary-sidebar, .both-sidebars-left #seconda_no {margin-right:0!important}

.widget_search {width: 612px;}
/*.widget_wysija {width: 612px;}*/
}

.mom-cat-latest ul li .subcat-title span { display:none!important;}


@media only screen and (min-width: 768px) and (max-width: 989px) {
.inner iframe , .cdrlogo-container{ width: 651px!important; }
.cartadiroma-logo {  /*width: 331px!important;*/ width: 440px!important; }
.cartadiroma-logo a { /*background-size: 300px auto;*/background-size: 440px auto;}
.both-sidebars-left .secondary-sidebar, .both-sidebars-left #seconda_no {margin-right:0!important}
.secondary-sidebar, #seconda_no { clear: both; width: 652px; margin: 0!important; display:block!important}
.widget_search {width: 612px;}
.widget_wysija {width: 612px;}
}

@media only screen and (min-width: 671px) and (max-width: 1000px) {
.widget_search {width: 612px;}
.widget_wysija {width: 612px;}
}

@media only screen and (min-width: 0px) and (max-width: 670px) {
.widget_search {width: 91%;}
.widget_wysija {width: auto;}
.e3lanat-layout-rotator { display: block!important;}
}

@media only screen and (max-width: 767px) and (min-width: 451px) {
 .cdrlogo-container { width: 440px!important; }
 .inner iframe {width:100%}
.manchette-left, .manchette-right {display:none;}
.cartadiroma-logo { width: 440px!important;  }
.cartadiroma-logo a { background-size: 400px auto;}
.both-sidebars-left .secondary-sidebar, .both-sidebars-left #seconda_nory {margin-right:0!important}
.secondary-sidebar, #seconda_no { clear: both; width: 652px; margin: 0!important; display:block!important}
}

@media only screen and (max-width: 450px) and (min-width: 0) {
 .cdrlogo-container { width: 280px!important; }
 .inner iframe {width:100%}
.manchette-left, .manchette-right {display:none;}
.cartadiroma-logo { width: 280px!important;  }
.cartadiroma-logo a { background-size: 280px auto;}
.both-sidebars-left .secondary-sidebar {margin-right:0!important}
.secondary-sidebar, #seconda_no { clear: both; width: 652px; margin: 0!important; display:block!important}
}



.feature-slider .fslides .fslide img { max-height: 380px; }
.feature-slider .fslide .slide-caption p, .comment_number { display: none; }
.p-single .feature-img {overflow: hidden; max-height: 380px;}
.p-single .feature-img img { width:100% }
.navigation-inner .inner .mom-social-icons {float:right; padding: 7px !important;}
.navigation-inner .inner .mom-social-icons li a.vector_icon {color:#fff;}
.mom-social-icons li a.vector_icon:hover {color:#fff !important;}
.navigation-inner .inner .mom-social-icons li.twitter a.vector_icon {	background-color: #00baf0;}
.navigation-inner .inner .mom-social-icons li.facebook a.vector_icon {	background-color: #3b5997;}
.copyrights-area { line-height: 18px; padding: 18px 0;}
.widget ul.twiter-list { margin: 0px;}
.scrollToTop { right: 20px; bottom: 21px; color:#fff !important;}
.category-blog-cronache-migranti div div div div .main-col .category-description { background: #ede1e1;}
.widget_wysija_cont .wysija-submit { margin-top: 0px;}
.widget input { margin-bottom: 10px;}
.widget_wysija p { margin-bottom: 5px; line-height: 14px;}

.qmn_pagination, .mlw_qmn_message_before {
 border-top: none!important; border-bottom: none!important;
}
.nav-shaddow {   background: none!important }

#header-wrapper { position: fixed; margin: 0 auto; width: 100%; z-index: 999; top: 0; }
#navigation { position: fixed; width: 100%; top: 110px; box-shadow: 0 10px 15px rgba(0,0,0,.3);}
.boxed-content-wrapper.clearfix { top: 160px; position: relative;}
#footer { position: relative; top: 160px; padding-bottom: 140px!important; }
/*
.qmn_radio_answers {margin-top:20px}*/

header.smaller { height: 50px; }
header.smaller .manchette-left, header.smaller .manchette-right {width:80px;height:45px;line-height:45px}
header.smaller .cartadiroma-logo {    height: 50px; }
header.smaller .cartadiroma-logo a {  /*  background-size: 300px auto;*/ background-size: 266px auto; }
#navigation.smaller { top:70px;}
body.logged-in.admin-bar {margin-top: -20px}

.entry-content p a:link { color: #EE0E16!important;}
.entry-content p a:hover {     text-decoration: underline;}

.sd-content ul:not(.w-icon) li:before {  
    content: ''!important;   
}

.single-post .main-col {     width: 874px;	}	
.single-post .inner {     width: 1191px;	}
@media only screen and (max-width: 1310px) and (min-width: 1001px)
{
.single-post .inner {    width: 978px;}
.single-post .main-col {     width: 652px;	}
}


/* #wpadminbar {bottom: 0; top: initial!important;}
.clearfix:after { visibility: hidden; display: block; content: ""; clear: both; height: 0; }

@media all and (max-width: 660px) {
 header h1#logo { display: block; float: none; margin: 0 auto; height: 100px; line-height: 100px; text-align: center; }
 header nav { display: block; float: none; height: 50px; text-align: center; margin: 0 auto; }
 header nav a { line-height: 50px; margin: 0 10px; }
 header.smaller { height: 75px; }
 header.smaller h1#logo { height: 40px; line-height: 40px; font-size: 30px; }
 header.smaller nav { height: 35px; } 
 header.smaller nav a { line-height: 35px; } 
	 } */