﻿/*
Theme Name: Goodnews Child
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
*/



/*---------------------------------
    Add your custom styles here
---------------------------------*/
html {
-ms-touch-action: auto !important;
touch-action: auto !important;
}

.topbar {
line-height:40px !important;
	height:45px !important;
}

/*Neutralisation de la réponse aux commentaires choisis*/
#comment-16853 a.comment-reply-link {
display:none !important;
} 
#comment-18993 a.comment-reply-link {
display:none !important;
} 

/*Masquage du nombre de commentaires du billet à la une*/
.mom-post-meta .comment_number {
display:none;
}

.single-post .entry-content iframe {
max-width:560px !important;
min-height:315px !important;
}

.single-post .entry-content iframe.free {
min-height:0px !important;
}

.single-post .entry-content iframe.twitter-tweet {
min-height:0px !important;
}

.camp {
font-size:300%;
background-color:#0098b6;
color:#0098b6;
float:left;
padding:12px 10px;
margin:0 15px 0 5px;
-moz-border-radius: 100%;
-webkit-border-radius: 100%;
border-radius: 100%;
}

.nb-title {
font-weight:bold !important;
}

.news-box.home-top .nb-header,
.widget_ultimate_posts .widget-head {
padding:18px 20px 18px 55px !important;
background : #f8f8f8 url("/imgs/stylo.png") no-repeat 10px center !important;
}

.widget_ultimate_posts .widget-title {
    font-size: 18px !important;
    height: 16px !important;
}

#entetelec {
display:none;
}

#canalfi {
display:block;
margin-top:25px !important;
}

#fi-wrap {
padding:20px 0;
}
#fi-content {
position: relative !important;
padding-bottom: 56.25% !important; /* 16:9 */
height: 0;
}
#fi-iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

.home-a-chaud-box {
margin-top:25px !important;
}

.home-a-chaud-box .nb-content {
padding:0 !important;
margin:0px -20px -20px -20px !important;
}
.home-a-chaud .fs-caption-alt {
line-height:1.3;
padding: 0px !important;
opacity:1 !important;
}
.home-a-chaud .fs-caption-alt p{
font-family: 'Open sans';
color:#f0f0f0 !important;
margin-right:0 !important;
padding:8px !important;
hyphens:auto;-moz-hyphens:auto;
background: rgba(0,0,0,1) !important;
}
.home-a-chaud .fs-caption-alt h2
{
padding:7px 15px 7px 7px !important;
background: rgba(0,0,0,1) !important;
border-radius: 0px 10px 10px 0px;
-moz-border-radius: 0px 10px 10px 0px;
-webkit-border-radius: 0px 10px 10px 0px;
}
.home-a-chaud .fs-caption-alt h2 a
{
color:#eaeaea !important;
font-family: 'Open sans';
}

.home-a-chaud .mom-carousel .owl-item {
background-color:#ffffff !important;
}

.feature-slider .fslide .slide-caption p {
margin-bottom:30px !important;
}

/*----------------------------
    Correction bug Menu principal 1001-1310 sur 5.8.4 et suivantes
 ----------------------------*/
@media only screen and (min-width: 1001px) and (max-width: 1310px) {
.main-menu >li > a {
padding : 0 9px !important;
}
}

/*----------------------------
    Feature Slider >1210
 ----------------------------*/
@media only screen and (min-width: 1211px)  {
.home-a-chaud .fslides {
max-height:435px !important;
background: rgba(0,0,0,1) !important;
}
.home-a-chaud .fslide {
height:435px !important;
}
.home-a-chaud .mom-carousel .owl-stage-outer.owl-height {
height:435px !important;
}

.home-a-chaud .fslide h2 {
font-size:24px !important;
margin-right:30px !important;
}
}

/*----------------------------
    Feature Slider 1001-1210
 ----------------------------*/
@media only screen and (min-width: 1001px) and (max-width: 1210px) {

.home-a-chaud .fslides {
max-height:340px !important;
background: rgba(0,0,0,1) !important;
}
.home-a-chaud .fslide {
height:340px !important;
}

.home-a-chaud .mom-carousel .owl-stage-outer.owl-height {
height:340px !important;
}

.home-a-chaud .fslide h2 {
font-size:22px !important;
margin-right:40px !important;
}
}

/*----------------------------
    Feature Slider 671-1000
 ----------------------------*/
@media only screen and (min-width: 671px) and (max-width: 1000px) {

.home-a-chaud .fs-caption-alt {
padding-bottom:0 !important;
min-height:0px !important;
max-width:100% !important;
}
.home-a-chaud .fslides {
max-height:325px !important;
background: rgba(0,0,0,1) !important;
}
.home-a-chaud .fslide {
height:325px !important;
}

.home-a-chaud .mom-carousel .owl-stage-outer.owl-height {
height:325px !important;
}

.home-a-chaud .fslide h2 {
font-size:20px !important;
}
}

@media only screen and (max-width: 800px) {
.topbar {
position:relative;
line-height:40px !important;	
height:100px !important;
}
.topbar .top-left-content {
		width:100%;
		text-align:center !important;
	}
.topbar .top-right-content {
		display:block !important;
		position:relative;
		width:100% !important;	
		text-align:center !important;
		align-content:center;	}
.topbar .top-right-content ul {
	display:inline-block !important;
		}

}

/*----------------------------
    Feature Slider 568-670
 ----------------------------*/
@media only screen and (min-width: 568px) and (max-width: 670px) {
	

	
.home-a-chaud .fslides {
max-height:280px !important;
background: rgba(0,0,0,1) !important;
max-width:100% !important;
}
.home-a-chaud .fslide {
display:inline-block;
height:280px !important;
max-width:100% !important;
}
.home-a-chaud .mom-carousel .owl-stage-outer.owl-height {
height:280px !important;
}
.home-a-chaud .fslide h2 {
font-size:16px !important;
}
.home-a-chaud .fs-caption-alt {
display:inline-block;
max-width:100% !important;
}
.home-a-chaud .fs-caption-alt p{
display:inline-block;
max-width:100% !important;
}
.single-post .entry-content iframe {
min-height:0px !important;
}
}

/*----------------------------
    Feature Slider 461-567
 ----------------------------*/
@media only screen and (min-width: 461px) and (max-width: 567px) {
.home-a-chaud .fs-caption-alt {
padding-bottom:0 !important;
min-height:0px !important;
max-width:100% !important;
}
.home-a-chaud .fs-caption-alt p{
display:block !important;
font-size:12px !important;
margin-bottom:0 !important;
max-width:100% !important;
}
.home-a-chaud .fslides {
max-height:240px !important;
background: rgba(0,0,0,1) !important;
max-width:100% !important;
}
.home-a-chaud .fslide {
max-height:240px !important;
max-width:100% !important;
}
.home-a-chaud .fslide h2 {
font-size:15px !important;
position:relative !important;
bottom:0 !important;
left:0 !important;
margin-right:20px !important;
}
.nav-buttons .nav-social-button {
display:none;
}
.mejs-container 
{ 
max-width:100% !important;
left: 0px !important;
}
.powerpress_player::before {
content: "" !important;
}
.single-post .entry-content iframe {
min-height:0px !important;
}
}

/*----------------------------
    Feature Slider >460
 ----------------------------*/
@media only screen and (min-width: 0) and (max-width: 460px) {
.home-a-chaud .fslides {
background: rgba(0,0,0,1) !important;
max-width:100% !important;
min-height:210px !important;
}
.home-a-chaud .fslide {
max-width:100% !important;
min-height:210px !important;
}
.home-a-chaud .fslide h2 {
font-size:14px !important;
padding:3px !important;
margin-bottom:0px !important;
}
.nav-buttons .nav-social-button {
display:none;
}
.home-a-chaud .slide-caption {
min-height:50px !important;
border:0px solid #fff;
margin:0 0 0px 0 !important;
padding:0 !important;
}
.home-a-chaud .slide-caption h2{
min-height:50px !important;
border:0px solid #fff;
margin:25px 0 0 0 !important;
padding:0 10px !important;
}

.mejs-container 
{ 
max-width:100% !important;
left: 0px !important;
}
.powerpress_player::before {
content: "" !important;
}
.single-post .entry-content iframe {
min-height:0px !important;
}
}

#navigation .device-menu li.mega_col_title > a {
display:block !important;
}

.header .logo {
display:block;
float:none !important;
}

.header .logo > h1 {
width:100%;
}

.header .logo > a,
.header .logo > h1 > a {
display:block;
max-width:430px;
margin-left: auto !important;
margin-right: auto !important;
}

.header {
    padding: 0 !important;
}

.header > .inner {
height:80px !important;
}

.video_frame>iframe {
display:block;
margin:0 auto !important;
}

#navigation .main-menu li.mom_mega.menu-item-depth-0 > .mom_mega_wrap {
padding:20px 0px 5px 0px;
}

.mom_mega_wrap .menu-item-depth-1.mega_column {
float: left;
width: 23.75%;
margin-right: 0.62%;
margin-left: 0.62%;
overflow-x:hidden !important;
}


.updated, .entry-date {
display:inline-block;
}

.upw-posts .entry-meta:first-letter, .tribe-events-page-title:first-letter, .updated:first-letter, .entry-date:first-letter{
text-transform: uppercase;
}

.ytbt {
display:inline-block;
margin-top:5px;
vertical-align:middle !important;
}
.ytbt div {
display:inline-block;
vertical-align:middle !important;
}

.twidget {
display:inline-block;
font-size:16px;
margin-bottom:5px;
}

.tribe-list-widget {
margin-left:0 !important;
padding-left:10px !important;
}

.tribe-list-widget li {
list-style-type: disc !important;
margin-bottom:10px !important;
padding: 0px !important;
}

.tribe-list-widget li h4.tribe-event-title, .tribe-list-widget li h4.tribe-event-title a {
font-size:14px !important;
font-weight:bold !important;
margin :0 !important;
text-align:left !important;
}

.tribe-list-widget  li h4.tribe-event-title, .tribe-list-widget li .tribe-event-duration {
font-size:13px !important;
font-weight:normal !important;
margin :0 !important;
text-align:left !important;
}

.tribe-clearfix::before {
content: none !important;
}

.tribe-events-widget-link {
margin-bottom:0px !important;
}


#comments  .comment-wrap {
padding:8px !important;
}

#comments .single-comment .comment-content {
margin-left:0px !important;
font-size:80% !important;
line-height:1.2 !important;
}

.news-box {
margin-bottom:0px !important;
}

#comments  .base-box {
margin-bottom:8px !important;
}


#comments  ol.children {
margin-left:40px !important;
}

#comments .comment-author {
font-size:13px !important;
font-family: 'Open sans' !important;
color:#666 !important;
}

#comments .comment-author a.url {
color:#a30017 !important;
font-weight :bold;
text-decoration:none;
}


#comments .commentmetadata a {
color: #666 !important;
}

#twitter-widget-0, iframe.twitter-timeline {
display:block;
max-width:100% !important;
overflow:hidden !important;
}

.mega_col_title {
font-weight:normal !important;
min-height:35px !important;
white-space: nowrap !important;
}
.mega_col_title .img_icon {
margin-top: 0px !important;
max-height:28px !important;
}

.entry-content h1, .entry-content h2 {
font-size:21px !important;
color:#a30017 !important;
}


.home-top h3 a,
.upw-posts .entry-title a {
font-size:20px !important;
color:#a30017 !important;
font-weight :bold;
text-decoration:none;
hyphens:auto;-moz-hyphens:auto;-webkit-hyphens:auto;
}

.upw-posts .entry-title a:hover {
text-decoration:none !important;
}

.upw-posts .entry-meta {
font-size:70% !important;
text-align:left !important;
color:#999 !important;
}

.upw-posts p {
margin-bottom:10px !important;
}

.upw-posts {
padding-bottom:0px !important;
}

.upw-posts article {
margin-bottom:0 !important;
}

.upw-posts footer {
}

.custom-field-views, .custom-field-overviews {
font-size:80% !important;
text-align:left !important;
color:#999 !important;
font-style:italic !important;
}

.custom-field-views::before, .custom-field-overviews::before {
content: "Ce billet a été lu " !important;
}

.custom-field-views::after, .custom-field-overviews::after {
content: " fois" !important;
}

.upw-posts a.more-link {
display:block !important;
text-align:right !important;
margin-bottom:0px !important;
margin-top:10px !important;
}

.upw-posts .entry-content p {
font-size:90% !important;
line-height:1.3 !important;
-moz-hyphens: auto;
hyphens: auto;
}
.video_wrap>iframe {
display:block;
margin:0 auto 15px auto !important;
}

.cat-post-item {
font-size:13px !important;
line-height:16px !important;
-moz-hyphens: auto;
hyphens: auto;
padding-left:0px !important;
}

.cat-post-item::before {
content :"" !important;
}

.cat-post-current a {
font-weight:normal !important;
text-transform:none !important;
line-height:16px !important;
}

.cat-post-thumbnail img {
margin-bottom:12px !important;
}

.cat-post-title {
font-size:13px !important;
}

.paypal-donations input {
display:block;
width:auto !important;
padding:0 !important;
margin:5px auto !important;
}

#comment-nav-below .section-heading {
display:none;
}
#comment-nav-below .nav-previous, 
#comment-nav-below .nav-next {
font-weight:bold;
}
h3#reply-title {
margin-top :20px;
}

.top_banner {
display:none !important;
}

.home .top_banner {
display:block !important;
}

.entry-content iframe {
margin-bottom:12px !important;
}

.entry-content .fb_iframe_widget {
margin-bottom:12px !important;
}

.entry-content .wp-caption-text {
font-size:10px !important;
margin:0 !important;
padding: 0 !important;
line-height: 10px !important;
}

.entry-content p {
hyphens:auto;-moz-hyphens:auto;-webkit-hyphens:auto;
}

.textwidget iframe {
margin-bottom:10px !important;
}

.textwidget .widgetsub iframe {
margin-bottom:0px !important;
margin-top:5px !important;
}

.entry-content #___ytsubscribe_0 iframe  {
margin-bottom:0px !important;
margin-top:5px !important;
}

.upw-posts a.comments {
display:block;
clear:left;
}

.upw-posts .published {
font-size:120% !important;
color:#333333 !important;
font-weight:bold !important;
}

#sompc img, p.archarg img {
-moz-border-radius: 8px !important;
border-radius: 8px !important;
-webkit-border-radius: 8px !important;
float:left;
margin: 5px 10px 5px 0px;
}

p.archarg {
font-size:85% !important;
line-height:1.3 !important;
}

#sompc {
line-height:1.3 !important;
font-size:13px !important;
}

#sompc p {
padding-left:210px;
overflow:hidden;
border-bottom:1px dotted #a0a0a0;
}

#sompc img {
margin-left:-210px !important;
}

#sompc p span {
display:inline-block;
margin-top:-10px !important;
}

#sompc i, #sompc em {
font-weight:bold !important;
}

.sttr {
font-weight:bold;
color:#a30017;
}

iframe {
margin-left : auto !important;
margin-right: auto !important;
}

.widget_newsletterwidget input.tnp-firstname,
.widget_newsletterwidget input.tnp-lastname,
.widget_newsletterwidget input.tnp-email,
.widget_newsletterwidget input.newsletter-firstname,
.widget_newsletterwidget input.newsletter-lastname,
.widget_newsletterwidget input.newsletter-email {
background-color:#fff !important;
font-size: 14px !important; 
line-height: 105% !important;
}

.widget_newsletterwidget input {
margin:0px 0px 0px 0px !important;
height:auto !important;
padding: 7px !important; 
}

.widget_newsletterwidget input.tnp-submit,
.widget_newsletterwidget input.newsletter-submit {
background-color:#a30017 !important;
color:#fff !important;
display: inline-block; 
vertical-align: middle; 
border-radius: 30px; 
text-decoration: none; 
margin-top:10px !important;
font-size: 16px; 
padding:10px !important;
line-height: 105%;
font-weight:bold;
width:80%;
}

.widget_newsletterwidget .tnp-field label{
margin:0 !important;
}

.widget_newsletterwidget .tnp-field-button,
.widget_newsletterwidget p {
margin:0 !important;
text-align:center !important;
}


.powerpress_player {
border-top:1px solid #cccccc;
padding:20px 0px 0px 0px !important;
height:30px !important;
margin-top:25px !important;
}

.powerpress_player::before {
content:url(/imgs/podcast2.png);
float:left;
}

.powerpress_player img {
margin:0 !important;
margin-left:15px !important;
}

.powerpress_player audio {
margin:0 !important;
margin-left:15px !important;
}

.powerpress_links_mp3 {
display:inline-block;
padding:0 !important;
font-size:80%;
line-height:90% !important;
margin-bottom:15px !important;
margin-left:15px !important;
}

.powerpress_subscribe_links {
display:inline-block;
padding:0 !important;
font-size:80%;
line-height:90% !important;
margin-bottom:15px !important;
margin-left:10px !important;
}

@media only screen and (min-width: 0px) and (max-width: 567px) {
.powerpress_links_mp3 {
text-align:left !important;
margin-top:10px !important;
margin-bottom:5px !important;
margin-left:0px !important;
}
.powerpress_subscribe_links {
clear:both;
text-align:left !important;
margin-bottom:5px !important;
margin-left:0px !important;
}
}

.mejs-container 
{ 
clear:none !important;
position :relative !important;
top: 0px !important;
left: 60px;
}

.mejs-inner {
height:30px !important;
}

.mejs-container, .mejs-container .mejs-controls, .mejs-embed, .mejs-embed body {
background:#a20417 !important;
-moz-border-radius: 8px !important;
-webkit-border-radius: 8px !important;
border-radius: 8px !important;
}

.mejs-controls .mejs-time-rail .mejs-time-current {
background:#cccccc !important;
}

.category-podcast .post-format-icon {
	width:54px !important;
}

.category-podcast .post-format-icon:before {
	content: "\e774  \e61e" !important;
}

.news-summary {
text-align:left !important;
font-size:90% !important;
line-height: 120% !important;
}

.post h4 {
text-align:left !important;
}

.sb-item h3 {
text-align:left !important;
}

.pp_social {display:none !important;}

.copyrights-area a:hover {
color:#dd7373 !important;
}
