/**
 * Theme Name:  Good News Child - Multi-Niche Blog / Magazine WordPress Theme
 * Theme URI:   http://goodnews.xplodedthemes.com/
 * Description: Good News a complete solution for any kind of blog, news or magazine website.
 * Tags: one-column, two-columns, left-sidebar, right-sidebar, responsive-layout, custom-menu, full-width-template, rtl-language-support, sticky-post, theme-options, translation-ready
 *
 * Author:      XplodedThemes
 * Author URI:  http://xplodedthemes.com
 *
 * Version:     2.0.8
 * Template:    goodnews
 * Text Domain: goodnews-child
 *
 * License:     GNU General Public License v2 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 *
 */


/* Child Theme customization starts here
-------------------------------------------------------------- */

/*** MODIFICA PER I TAG H ***/

.similar-h3 a:hover, .similar-h4 a:hover, .similar-h5 a:hover, .similar-h6 a:hover {
    color: #1193f6 !important;
}

.similar-h3 a, .similar-h4 a, .similar-h5 a,  .similar-h6 a {
    color: #181818;
}

.similar-h6 {
	font-weight: 400 !important;
	font-size:0.875rem !important;
	font-family: PT Serif;
	text-align: inherit;
	color: #181818 !important;
}

.similar-h5 {
	font-weight: 400 !important;
	font-size: 16px !important;
	line-height: 24px !important;
	font-family: PT Serif;
	text-align: inherit;
	color: #181818 !important;
}

.similar-h4 {
 font-weight: 700 !important;
    font-family: PT Serif;
    font-size: 1.125rem;
    color: #181818 !important;
}

.similar-h3 {
    font-family: PT Serif;
    /*font-weight: 700 !important;*/
    font-size: 1.375rem;
    line-height: 1.75rem;
    color: #181818 !important;
}

/* start -newsletter form */
form#subscribeForm{
  margin-bottom : 40px;
}

form#subscribeForm fieldset#subscribeDataTable{
  width: 100%!important;  
}

form#subscribeForm input[type=text] {
    width: 100%!important;
}

/* end - newsletter form*/


.img-tax{
	max-width: 1036px;
	max-height: 650px;
}

body.single-post h1.xt-post-title a{
	color: #00CC00;
}

body.single-post h1.xt-post-title a:hover{
	color: green;
}

body.page h1.xt-post-title a:nth-of-type(2), 
body.page h2.xt-post-title a:nth-of-type(2),
body.page h3.xt-post-title a:nth-of-type(2),
body.page h4.xt-post-title a:nth-of-type(2),
body.page p.xt-post-title a:nth-of-type(2),
body.archive h1.xt-post-title a:nth-of-type(2), 
body.archive h2.xt-post-title a:nth-of-type(2),
body.archive h3.xt-post-title a:nth-of-type(2),
body.archive h4.xt-post-title a:nth-of-type(2),
body.archive p.xt-post-title a:nth-of-type(2)
{
	color: #00CC00 !important;
}

body.page h1.xt-post-title a:hover:nth-of-type(2), 
body.page h2.xt-post-title a:hover:nth-of-type(2),
body.page h3.xt-post-title a:hover:nth-of-type(2),
body.page h4.xt-post-title a:hover:nth-of-type(2),
body.page p.xt-post-title a:hover:nth-of-type(2),
body.archive h1.xt-post-title a:hover:nth-of-type(2), 
body.archive h2.xt-post-title a:hover:nth-of-type(2),
body.archive h3.xt-post-title a:hover:nth-of-type(2),
body.archive h4.xt-post-title a:hover:nth-of-type(2),
body.archive p.xt-post-title a:hover:nth-of-type(2){
	color: green !important;
}

/* sezione contenente i social buttons, in coda ai contenuti dell'articolo, sovrascritto margin-top: -10px; */
div.small-12.column > div.article-content > div.xtss-below-post{
margin-top: 20px!important;
}

/** START BANNER*/

.adv-masthead{
  text-align: center;
}

.adv-mpu-naz{
  margin-left: 25px;
  margin-bottom: 30px;
}

#outer_wrapper{
    background: white;
}

.page .adv-masthead{
  margin-bottom: 20px;
}

body.event_page .adv-masthead, body.recipe_page .adv-masthead{
  margin-top: 0px;
  margin-bottom: 20px;
}

body.search-results .adv-masthead{
  margin-bottom: 20px;
}

.single .adv-masthead, .archive .adv-masthead {
  margin-bottom: 40px ;
}

/***** MOBILE RULES ******/
body.is-mobile.home header{
  margin: 10px 0 ;
}

body.is-mobile header{
  margin-top: 10px;
}

body.is-mobile .page-header-row{
  margin-top: 0;
}

body.is-mobile.mobile-menu-expanded .adv-leaderboard_mobile{
  display: none!important;
}

body.is-mobile.mobile-menu-expanded header{
  margin-top: 0px!important;
}

h2.subheader.xt-post-excerpt{
	font-style: italic;
}

p.widgettitle {
	margin-bottom: 0;
    font-family: PT Serif !important;
    font-weight: 700 !important;
    font-size: 1.125rem !important;
    text-transform: initial !important;
    color: #212121 !important;
}

@media screen and (max-width: 849px){
  .adv-skin, 
  .adv-skin div[id^="div-gpt-ad"], 
  .adv-masthead,
  .adv-masthead div[id^="div-gpt-ad"],
  .adv-mpu-naz,
  .adv-mpu-naz div[id^="div-gpt-ad"],
  .adv-mpu-nazionale,
  .adv-mpu-nazionale div[id^="div-gpt-ad"],
  .adv-mpu_1-locale,
  .adv-mpu_1-locale div[id^="div-gpt-ad"],
  .adv-mpu_2-locale,
  .adv-mpu_2-locale div[id^="div-gpt-ad"],
  .adv-leaderboard,
  .adv-leaderboard div[id^="div-gpt-ad"],
  .adv-684x120_1-locale,
  .adv-684x120_1-locale div[id^="div-gpt-ad"],
  .adv-684x120_2-locale,
  .adv-684x120_2-locale div[id^="div-gpt-ad"],
  .adv-684x120_3-locale,
  .adv-684x120_3-locale div[id^="div-gpt-ad"],
  .adv-684x120-after-content,
  .adv-684x120-after-content div[id^="div-gpt-ad"],
  ._desktop,
  ._desktop div[id^="div-gpt-ad"]
    {
      display: none!important;
  }

  /* only for demo, hide placholder images */
  .adv-skin img, 
  .adv-masthead img,
  .adv-mpu-naz img,
  .adv-mpu-nazionale img,
  .adv-mpu_1-locale img,
  .adv-mpu_2-locale img,
  .adv-leaderboard img,
  .adv-684x120_1-locale img,
  .adv-684x120_2-locale img,
  .adv-684x120_3-locale img,
  .adv-684x120-after-content img{
  	display: none!important;
  }

  .adv-leaderboard_mobile,
  .adv-leaderboard_mobile div[id^="div-gpt-ad"],
  .adv-mpu-naz_mobile,
  .adv-mpu-naz_mobile div[id^="div-gpt-ad"],
  .adv-mpu_1_mobile,
  .adv-mpu_1_mobile div[id^="div-gpt-ad"],
  .adv-native-nazionale,
  .adv-native-nazionale div[id^="div-gpt-ad"],
  ._mobile,
  ._mobile div[id^="div-gpt-ad"]
  {
    display: block;
  }

  .adv-leaderboard_mobile, 
  .adv-mpu-naz_mobile,
  .adv-mpu_1_mobile,
  .adv-native-nazionale,
  ._mobile,
  ._mobile div[id^="div-gpt-ad"] {
    text-align: center;
  }

  .adv-leaderboard_mobile, .adv-mpu_1_mobile{
    margin-top: 10px;
  }

  .adv-leaderboard_mobile{
    margin-bottom: 10px;
  }

  .adv-native-nazionale{
    margin-bottom: 20px;
  }

  .adv-mpu-naz_mobile, ._mobile{
    padding-bottom: 30px;
  }
  
  div[class*="adv-"] div[id^="div-gpt-ad"] {
      margin: 0 auto;
  }
}

/*
 * this so logo is still centered
 * when left manchette is missing
 * since .adv-leaderboard is used
 * as left manchette in some cases
 */
.logo-bar .adv-leaderboard {
    min-height: 55px;
}

/*
 * this so right manchette is
 * pushed to the right border
 */
.logo-bar .adv-manchette div[id^="div-gpt-ad"] {
    margin-left: auto;
}

/*
 * this so mastheads are centered
 * whatever thin their width is
 */
._desktop[class*="adv-masthead"] div[id^="div-gpt-ad"] {
    text-align: center;
}

@media screen and (min-width: 1024px){
	.adv-leaderboard_mobile,
	.adv-leaderboard_mobile div[id^="div-gpt-ad"],
	.adv-mpu-naz_mobile,
	.adv-mpu-naz_mobile div[id^="div-gpt-ad"],
	.adv-mpu_1_mobile,
	.adv-mpu_1_mobile div[id^="div-gpt-ad"],
	.adv-native-nazionale,
	.adv-native-nazionale div[id^="div-gpt-ad"],
 	._mobile,
  	._mobile div[id^="div-gpt-ad"]
	{
		display: none!important;
	}

  .adv-skin, 
  .adv-skin div[id^="div-gpt-ad"], 
  .adv-masthead,
  .adv-masthead div[id^="div-gpt-ad"],
  .adv-mpu-naz,
  .adv-mpu-naz div[id^="div-gpt-ad"],
  .adv-mpu-nazionale,
  .adv-mpu-nazionale div[id^="div-gpt-ad"],
  .adv-mpu_1-locale,
  .adv-mpu_1-locale div[id^="div-gpt-ad"],
  .adv-mpu_2-locale,
  .adv-mpu_2-locale div[id^="div-gpt-ad"],
  .adv-leaderboard,
  .adv-leaderboard div[id^="div-gpt-ad"],
  .adv-684x120_1-locale,
  .adv-684x120_1-locale div[id^="div-gpt-ad"],
  .adv-684x120_2-locale,
  .adv-684x120_2-locale div[id^="div-gpt-ad"],
  .adv-684x120_3-locale,
  .adv-684x120_3-locale div[id^="div-gpt-ad"],
  .adv-684x120-after-content,
  .adv-684x120-after-content div[id^="div-gpt-ad"],
  ._desktop,
  ._desktop div[id^="div-gpt-ad"]
    {
      display: block;
  }

  /* only for demo, hide placholder images */
  .adv-skin img, 
  .adv-masthead img,
  .adv-mpu-naz img,
  .adv-mpu-nazionale img,
  .adv-mpu_1-locale img,
  .adv-mpu_2-locale img,
  .adv-leaderboard img,
  .adv-684x120_1-locale img,
  .adv-684x120_2-locale img,
  .adv-684x120_3-locale img,
  .adv-684x120-after-content img{
    display: block;
  }
}


@media only screen and (min-width: 850px){
	body.layout-boxed #pusher:before {
		cursor:default !important;
	}
}

div.adv-skin {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
  margin-top: 20px;
}

div.adv-skin > div{
  margin: 0 auto;
}

header#main-header{
  position: static!important;
}

#inner_wrapper{
  margin-top: 20px;
}