/*
Theme Name: Estense.Com 2016
Theme URI: http://magazine3.com
Description: Newspaper/Political Wordpress Magazine Theme
Version: 4.3
Author: Magazine3
Author URI: http://magazine3.com
Template: newspapertimes-codebase
*/

@import url("../newspapertimes-codebase/style.css");

body {
  font-family: 'Open Sans', sans-serif;
  font-size:14px;
}

#aside {
  width: 300px;
}

#content .post h2.occhiello { font-size:1.4em; font-style: italic; margin-bottom: 15px; color: #333; }
div.reply { display: none; }
ol.commentlist { display: none; }
#disqus_thread { display: none; }
a.button-showcomments {
  
  -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: solid 1px #20538D;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    background: #4479BA;
    color: #FFF;
    padding: 8px 12px;
    text-decoration: none;
}
div#displaying { text-align:center; }
/* =Theme customization starts here */
#header2 { background-color: #4971d7;  }
#footer { position: absolute; margin:0 auto; width:100%; }

/** SPECIALE ESTATE **/
#headerSpecialeEstate {
  background: url(http://www.estense.com/wp-content/themes/estense2016/images/speciale_estate2017_mobile.png);
  background-repeat: no-repeat;
  background-position: center center;

  min-height:50px;
  cursor:pointer;
}
@media all and (min-width:508px) {
	#headerSpecialeEstate {
		background: url(http://www.estense.com/wp-content/themes/estense2016/images/speciale_estate2017.png);
	}
}
/** FINE SPECIALE ESTATE **/

/*
#header3-1 { height: 50px; }
#header3-1-left { height:100%; background-color: red }
#header3-1-right {  height:100%; }
*/

#fsidebar1, #fsidebar2{display: none !important;}
#featbig p {font-size:16px !important;}
#featsmall { float: none; width: inherit; }

#colorcontent_left {width: 265px; }
#colorcontent_right {float:left;width:399px;}

#headerLogo {width:460px !important;float:left;margin-right:10px;}

#container-b-a1 { float:left; margin-right:5px; }
#container-b-b1 { float:left; }

div.eventi-cultura { background-color: #ffe6d9; }
div#featgalsliderp { color: white; }


#menu2 li {height: auto !important; }
#menu2 li a, #menu2 li a:link, #menu2 li a:visited { height:auto !important; }
/* BANNER */

#bannerTestataSx {
  float:left;margin-left:8px;margin-right:10px;margin-right:0px;width:250px;height:50px;
}
div#bannerAlto { width: 980px; float:left; }
div#bannerAlto2 { height:90px; margin-top:25px;}
div#bannerTestataDx { width:250px;}
div.blocco-seconda-news { margin-top: 20px; }
.banner_manuale_bordonero {
  width:100;
  border:1px solid black;
  margin:10px 0 10px 0;
  padding:10px;
  text-align:center;
}
div#authorarea { display: none; }
#adbg { display: none; z-index:-100;}

@media (min-width: 1280px) { 
  #adbg { display: block;}
}

img.size-foto_del_giorno {/*width:90%;*/ overflow:hidden; float:none !important;}
img.attachment-featgalimg { width:225px !important; height:auto !important;}


span.comment-badge {
  background-color: red;
  color:white;
  padding:0.5em 0.5em;
  border-radius:5px;
  font-size:0.8em;
  box-shadow:1px 1px #888;
}
span.comment-badge:nth-last-child(2) {
    display: none;
}

.topheaderbar {
float: right;
background-color: #545454;
color: #fff;
padding: 1px 10px 0;
margin: 0 0 -1px;
}
.topheaderbar a { color: white;}
#coloredblock4 {
  float:left;
  margin-bottom:5px;
  padding-bottom:1em;
}

#colorcontentwrap h2 a,#colorcontentwrap h3 a
{
  color:#045f9f;
}

#colorcontent2_left
{
  float:left;
  width:386px;
  padding:0 6px 0 0;
  border-right:1px dotted #CCCCCC;
}

#colorcontent2_right
{
  float:right;
  width:581px;
  padding:0 0 0 6px;
}

#colorcontent2_right_1
{
  float:left;
  width:386px;
  padding:0 8px 0 0;
  border-right:1px dotted #ccc;
}

#colorcontent2_right_2
{
  float:right;
  width:179px;
}
/*
#colorcontent2block
{
  display:inline-block;
}
*/
#colorcontent2h3
{
  /*border-bottom:1px solid #dedfde;*/
  font:normal 22px Georgia;
  text-transform:capitalize;
  padding:3px 0 3px 8px;
  margin:0 0 4px;
}

#colorcontent2wrap
{
  border-bottom:1px dotted #CCCCCC;
  padding:6px 0;
}
#colorcontent2wrap img {
  float:left;
  padding: 2px 6px 0 0;
}
#colorcontent2wrap h2
{
  font:16px "georgia",Arial,Sans-Serif !important;
  font-family: 'Open Sans', sans-serif;
  font-size:1.8em;
  font-weight:400;
  line-height:1.13em;
  padding:0 0 6px;
}

#colorcontent2wrap h3
{
  font-family:"georgia",Arial,Sans-Serif !important;
  font-size:22px;
  font-weight:400;
  padding:0 0 6px;
  line-height:26px;
}

#colorcontent2wrap p
{
  color:#262626;
  font-family:arial,helvetica,sans-serif;
  font-size:13px;
  line-height:1.3em;
  margin:0 0 6px;
  padding:0;
}

#colorcontent2wrap2 h2
{
  font:17px "georgia",Arial,Sans-Serif !important;
  font-size:1.8em;
  font-weight:400;
  line-height:1.13em;
  padding:0 0 6px;
}

#colorcontent2wrap3 p
{
  margin-bottom:9px;
  font-size:11px;
  font-family:tahoma, verdana;
  color:#222;
  line-height:15px;
}

#colorcontent2wrap2 h2 a, #colorcontent2wrap2 h3 a, #colorcontent2wrap8 h3 a, #colorcontent2wrap9 h3 a{
  color: #000;
  outline: 0px none;
  text-decoration: none;
}

#colorcontent2wrap3 h2
{
  border-bottom:1px dotted #dedfde;
  font:14px "georgia",Arial,Sans-Serif !important;
  font-weight:400;
  line-height:1.02em;
  padding:4px 0 6px;
}
#colorcontent2_left {width: 265px; }
#colorcontent2_right {float:left;width:399px;}
#footer2 {height:auto;}



div#footer2 { background-color: black; }

#pagr a, #pagl a,#pagr a:hover, #pagl a:hover  { text-indent: 0; background: none; }

.sliding-feat-cover p {
  display: none;
}

.addthis_button_print {
  display: none;
}
/*
.home-fotodelgiorno-wrap {
  overflow:hidden;  
}*/

@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 1) {

}

/* ----------- iPad mini ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 768px)  {
    #altre_notizie {
     margin-top:1em; 
    }
    .banner-margin-bottom {
      margin-bottom:1em;
    }
  .addthis_button_print {
    display: block;
  }
  #headerLogo { margin-top:20px; }
  .home-post-wrap h2 {
    background: none;
  }
  
}
/* Roba piccola */
@media only screen 
  and (max-width: 979px) {
    div#bannerAlto { display: none; }
    div#bannerTestataSx { display: none; }  
  div#bannerTestataDx { display: none; }  
  
  #container-b-a1 { display: none; }
  #container-b-b1 { display: none; }
  /* div#headerLogo {width: 90% !important; } */
  /*div#colorcontent_left {float:left;}*/
  div#foto_del_giorno { /*width:225px;*/ margin-right:5px; }
  div#altre_notizie {width: 420px;}
  div#altre_notizie div#colorcontentwrap {width:205px;}
  div#colorcontent { margin-left:5px; }
  div#altre_notizie div#colorcontentwrap a img {width:100%;}
  
}

@media only screen 
  and (max-width: 768px) {
    .nascondi-mobile { display: none; }
    div.mobile-banner { display: block !important;}
  div#headerLogo { width: 70% !important; }
  div#header3-1 { display: none; }
  #colorcontent2
  {
    margin-top:11px;
  }
}

/*
@media only screen 
  and (min-device-width: 962px) {
  div#headerLogo {width: 400px; }
}
*/
/* Portrait */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 1) {
  
  /*div.banner-container { display:none; }*/
  #colorcontent_right { width: 250px !important; margin: none !important; float:left; }
  #colorcontent_right_1 { width: 250px; }

}

/* Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 1) {

}

/* ----------- iPad 1 and 2 ----------- */
/* Portrait and Landscape */


/* Portrait 
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait)  {
  div.banner-container { display:none; }
}*/

.container {
	width: 80%;
	background:white;
	float: left;
	display: inline-block;
	overflow: hidden;
	box-sizing: border-box;
	height: 45px;
	position: relative;
	cursor: pointer;
/*  display: none;*/
}
/*
@media only screen and (min-width: 960px){
	.container {
		width: 600px;
		background:white;
		float: left;
		display: inline-block;
		overflow: hidden;
		box-sizing: border-box;
		height: 45px;
		position: relative;
		cursor: pointer;
	}
}*/
.estenseTV {
  text-align:center;
	margin-top:.5em;
  padding-top:15px;
  padding-bottom:15px;
}
h3.estenseTV a {
    color: #045f9f;
    font-family: "Times New Roman", serif;
    font-size:40px; 
    font-weight: bold;
  }
@media only screen and (min-width: 960px){
	h3.estenseTV a {
		font-size: 40px !important;
	}
}
div.estenseTV-container {
	background-color: #4971d7;
}
h3.vetrina {
  border-top: 3px solid #333;
  margin:.5em 0 .5em 0;
}
h3.vetrina a {
  color: #333;
}
h3.estenseTV {
  border-top: 3px solid #4971d7;
}
h3.estenseTV a {
  /*color: #045f9f;*/
  color: white;
  /*font: normal 22px Georgia;*/
}
#menu-item-686831 a, #menu-item-686830 a {
  color: #4971d7 !important;
}
div#tg-apertura {
	width: 300px;
	height:200px;
	margin-bottom:10px;
	overflow:hidden;
}
div#tg-apertura a.video-preview img {
	display: block;
}
div#tv-menu {
	width: 980px;
	background: url('images/menubg.png') repeat-x;
	height: 35px;
	margin: 0 auto auto;
	padding: 0;
	border-top: 0 solid #e6e6e6;
}
.marquee-sibling {
  padding: 0;
  background: red;
  width: 20%;
  height: 45px;
  line-height: 42px;
  font-size: 12px;
  font-weight: normal;
  color: #ffffff;
  text-align: center;
  float: left;
  left: 0;
  z-index: 2000;
}

.marquee,
*[class^="marquee"] {
  display: inline-block;
  white-space: nowrap;
  position: absolute;
}

.marquee { margin-left: 25%; }

.marquee-content-items {
  display: inline-block;
  padding: 5px;
  margin: 0;
  height: 45px;
  position: relative;
}

.marquee-content-items li {
  display: inline-block;
  line-height: 35px;
  color: #fff;
}

.marquee-content-items li:after {
  content: "|";
  margin: 0 1em;
}
#header3-1 { height:auto !important; }
menu2 li.current-post-ancestor a, #menu2 li.current_page_item a, #menu2 li.current-menu-item a {
  color: #4971d7 !important;
}
#menu2 li a:hover, #menu2 li a:active {
  color: black !important;
}

.navigation a {
border: none;
width:auto;
}
#footer1 {
border-top:none;
}

#colorcontenth3 { text-transform: none; }
#footersearch1
{
  background:url("images/sbg.png") no-repeat;
  /*width: 293px !important;*/
}
#footersearch1 input#s2
{
  margin-left:3px;
  width:258px !important;
}

div#left-insidebar {
	float:left;
}
/*
div.fsearchbg1 {
  margin-bottom: 5px;
  display:inline-block;
}
div.fsearchbg2 {
	display: none;
}
@media only screen and (min-width:960px){
	div.fsearchbg1 {
		display: none;
	}
	div.fsearchbg2 {
		display: inline-block;
		margin-top:8px;
		margin-left:65px;
	}
}*/
.altrenotizie {
  color: #1b7db1;
  border-top: 3px solid #1b7db1
}
div.mobile-banner { margin-top:20px; margin-bottom:20px; display: none; }

div.slideshow-picture-container {
  max-height:200px !important;
  width:100% !important;
  overflow:hidden;
}
.correlati-trailer {
  font-size:12px !important;
}
.titolo-correlati {
  color: #045f9f;
  font-size:14px !important;
  margin-top:5px;
}
.counter-commenti {
  color: white;
  background-color: red;
  padding: 5px;
  font-size: .8em;
  border-radius: 5px;
}
.disqus_numcomments {
  font-family: 'Open Sans Condensed', sans-serif;
  text-transform: uppercase;
  font-size: 1em;
  vertical-align:middle;
  background:url('images/message.png') no-repeat left center;
  padding-left:20px;
  margin-left:5px;
  display:inline-block;
}
#content .post p {
  font-family: 'Open Sans', sans-serif;
  font-size:14px;
}
.sliding-feat-cover{
    position: absolute;
    top:85px;
    left:0;
    width:100%;
    background-color: rgba(0,0,0,.4);
    height:100%;
    -webkit-transition: top .25s; /* Good browsers */
    -moz-transition: top .25s; /* Firefox */
    -ms-transition: top .25s; /* IE */
    transition: top .25s;
    
  }
  .sliding-feat-cover:hover {
    top:0;
  }
  .sliding-feat-cover p {
    display: block;
    position: absolute;
    top:40px;
    color:white;
    padding:0 .5em;
  }
  .sliding-feat-cover p a,.sliding-feat-cover p a:visited {
     color:white;
  }
  .sliding-feat-cover h2 {
    color: white;
    top:0;
  }
  .sliding-feat-cover h2 a {
    font-family: 'Open Sans Condensed', sans-serif;
  }
.disqus_numcomments-container {
  margin-top:1em;
}
.sliding-feat-cover div {
  position: absolute;
  bottom: .2em;  
}

.disqus_numcomments_white,
.disqus_numcomments_white:visited,
.disqus_numcomments_white:hover {
  color: white;
  font-family: 'Open Sans Condensed', sans-serif;
  text-transform: uppercase;
  font-size: 1em;
  vertical-align:middle;
  background:url('images/message-white.png') no-repeat left center;
  padding-left:20px;
  margin-left:5px;
  display:inline-block;
}
#lettere_direttore {
  margin-top:1em;
}
.slick-slide {
  font-size: 12px;
}
h1.posttitle {color: #333 !important;}

.responsive-slideshow {
	box-shadow: none !important;
	height:auto !important;
}

li#menu-item-627422 a {
  background-image: url(images/bg-spal.png);
  color: black !important;
}

.eTV-vBlock {
                width: 98%;
                display: block;
                float:left;
                margin-bottom:10px;
        }
        .eTV-vBlock div#meta_author {
                float:left;
        }
        .eTV-vBlock div#meta_author,
        .eTV-vBlock  div#meta_authorl,
        .eTV-vBlock div#meta_authorr {
                float:left;
                clear:both;
        }
        .eTV-vBlock h2 {
                float:left;
                clear: both;
        }
        .eTV-vBlock h2 a {
                font-size: 1.5em;
                font-weight: normal;
                line-height: 1.2em;
        }
        @media screen and (min-width:768px) {
                .eTV-vBlock {
                        margin-right: 2%;
                        width: 30%;
                        height:270px;
                }
                .eTV-vBlock .article-img {
                        width:100%;
                        height:134px;
                        background-color: #333;
                        overflow:hidden;
                }
                .eTV-vBlock .article-img .article-img-h {
                        position: relative;
                        height: 134px;
                        width:100%;
                }
                .eTV-vBlock h2 a {
                        font-size: 15px;
                        line-height:18px;
                }
                .eTV-vBlock .article-img .article-img-h img {
                        max-height: 100%;
                        max-width: 100%;
                        width: auto;
                        height: auto;
                        position: absolute;
                        top: 0;
                        bottom: 0;
                        left: 0;
                        right: 0;
                        margin: auto;
                }
        }
