/*
Theme Name:     Newspaper X Child theme
Theme URI: 	http://themeforest.net/user/tagDiv/portfolio
Description:    Child theme made by tagDiv
Author:         tagDiv
Author URI: 	http://themeforest.net/user/tagDiv/portfolio
Template:       Newspaper
Version: 		10.4
*/


/* ----------------------------------------------------------------------------  */

/* from plugin custom css: Link sottolineati */
div.td-post-content p a { text-decoration:underline; }

/* from plugin custom css: Sfide [PROVA] */
.sfide_thumbwrapper:hover { background-color: #d42022 !important; }
#sfide { background-image: url(https://i.imgur.com/Vz9WPG4.png); }
#sfide h3 a { color: #d42022 !important; }
@media (max-width: 767px) {
	div.sfide_item h3 { font-size: 0.8em !important; }
}

/* from plugin custom css: Smart List 7 titoli */
div.td_smart_list_7.td-2-columns div.td-item h2 { padding: 0; }
div.td_smart_list_7.td-2-columns div.td-item h2 span.td-sml-current-item-title { margin-top: 50px !important; min-width: 100% !important; max-width: 100% !important; }
@media (max-width: 767px) {
	div.td_smart_list_7.td-2-columns div.td-item h2 span.td-sml-current-item-title { margin-top: 0px !important; }
}

/* from plugin custom css: Spazio parte superiore */
div.td-main-content-wrap.td-main-page-wrap.td-container-wrap { padding-top: 0px !important }

/* from plugin custom css: Links */
td.post-content a,
td.post-content a:hover { color: #d42022 !important; }

/* from plugin custom css: Smart List 8 */
div.td-smart-list-dropdown-wrap { background-color: #d42022 !important; }
div.td-smart-list-dropdown-wrap .td-smart-list-button span { color: white !important; }
div.td-smart-list-dropdown-wrap .td-smart-list-container:before { border-top: 4px solid white !important; }
div.td-smart-list-dropdown-wrap a.td-smart-list-button span { color: white !important; }
div.td-smart-list-dropdown-wrap a.td-smart-list-button { background-color: transparent !important; }
div.td-smart-list-container select.td-smart-list-dropdown { background-color: #d42022 !important; color:white !important; }
div.td-smart-list-dropdown-wrap a.td-smart-list-button.td-smart-next i.td-icon-right {color: white !important; }
div.td-smart-list-dropdown-wrap a.td-smart-list-button.td-smart-next i.td-icon-left {color: white !important; }

@media only screen and (max-device-width: 480px) {
	div.td-smart-list-dropdown-wrap { background-color: #d42022 !important; }
	div.td-smart-list-dropdown-wrap .td-smart-list-button span { color: white !important; }
	div.td-smart-list-dropdown-wrap .td-smart-list-container:before { border-top: 4px solid white !important; }
	div.td-smart-list-dropdown-wrap a.td-smart-list-button span { color: white !important; }
	div.td-smart-list-dropdown-wrap a.td-smart-list-button { background-color: transparent !important; }
	div.td-smart-list-container select.td-smart-list-dropdown { background-color: #d42022 !important; color:white !important; }
	div.td-smart-list-dropdown-wrap a.td-smart-list-button.td-smart-next i.td-icon-right {color: white !important; }
	div.td-smart-list-dropdown-wrap a.td-smart-list-button.td-smart-next i.td-icon-right {color: white !important; }
}

/* from plugin custom css: Featured image */
/* .td-post-featured-image { min-width:100% !important; height:auto; margin: 0 auto !important; } */
img.entry-thumb { margin:0 auto !important; }

/* from plugin custom css: Indietro-Avanti pulsanti */
a.td-smart-list-button.td-smart-next, a.td-smart-list-button.td-smart-back { background-color: #d42022 !important; }
a.td-smart-list-button.td-smart-next:hover, a.td-smart-list-button.td-smart-back:hover { background-color: #ea9c00 !important; color: #d42022 !important; }

/* from plugin custom css: Footer */
.td-footer-wrapper .block-title { background-color: transparent !important; display:none !important; }
.td-footer-bottom-full .footer-logo-wrap { margin-top: 0px; }

/* from plugin custom css: Colore pulsanti - descrizione categorie post */
.td-category a, .block-title { background-color: #d42022 !important;}
.td-category .entry-category a { border-radius: 1em 0 !important; padding:0.5em !important; }

/* from plugin custom css: Icona Commenti - Numero smart-list (Sparire) */
.td-module-comments, .td-sml-current-item-nr { display: none !important; }
span.td-sml-current-item-title { padding-left: 0px !important;}

/* from plugin custom css: Blockquote */
blockquote { display:block; background: inherit; padding: 15px 20px 15px 45px; margin: 0 0 20px; position: relative; /*Borders - (Optional)*/ border-left: 8px solid #d42022 !important; }
blockquote a { text-decoration: none; padding: 0 3px; color: #d42022; font-weight:bold; }
blockquote em { font-style: italic; }
blockquote p { font-size: inherit !important; text-transform: initial !important; line-height: inherit !important; color: #505050 !important; padding-left: 10px; text-align:left; }


/*  ----------------------------------------------------------------------------  */

/*
	1141 <= w         -> DESKTOP
	1019 <= w < 1141  -> TABLET LANDSCAPE
	 768 <= w < 1019  -> TABLET PORTRAIT
	   0 <= w <  768  -> PHONE
*/


/*---------------------------------------------------------------------*/
/* sidebar a 300px */

/* sidebar a 300px (desktop, tablet landscape e tablet portrait) */
@media screen and (min-width:768px) {
	.td-main-sidebar.td-pb-span4 .adunit,
	.vc_column.td-pb-span4 .adunit { width:320px; margin-left:-10px; margin-right:-10px;}
}

/* sidebar a 300px (desktop) */
@media screen and (min-width:1141px) {
	.td-main-sidebar.td-pb-span4,
	.vc_column.td-pb-span4 { width:300px; padding:0; margin:0 30px 0 15px; }
	.td-main-content.td-pb-span8,
	.vc_column.td-pb-span8 { width:655px; padding:0 0 0 30px; margin:0; }
}

/* sidebar a 300px (tablet landscape) */
@media screen and (min-width:1019px) and (max-width:1140px) {
	.td-main-sidebar.td-pb-span4,
	.vc_column.td-pb-span4 { width:300px; padding:0; margin:0 15px 0 15px; }
	.td-main-content.td-pb-span8,
	.vc_column.td-pb-span8 { width:690px; padding:0 0 0 15px; margin:0; }
}

/* sidebar a 300px (tablet portrait) */
@media screen and (min-width:768px) and (max-width:1018px) {
	.td-main-sidebar.td-pb-span4,
	.vc_column.td-pb-span4 { width:300px; padding:0; margin:0 15px 0 15px; }
	.td-main-content.td-pb-span8,
	.vc_column.td-pb-span8 { width:438px; padding:0 0 0 15px; margin:0; }
}

/* sidebar a 300px (phone) */
@media screen and (max-width:767px) {
	.td-main-sidebar.td-pb-span4,
	.vc_column.td-pb-span4 { padding:0; margin:0; }
	.vc_column.td-pb-span8 { padding:0; margin:0;}
}

/*---------------------------------------------------------------------*/
/* pagina desktop a 1000px */

/* desktop */
@media screen and (min-width:1141px) {
	.td-boxed-layout .td-container-wrap { width:1000px!important; }
	.td-boxed-layout .td-header-menu-wrap.td-affix { width:1000px!important; }
	.td-container,
	.tdc-row,
	.tdc-row-composer { width:1000px; }
	.td-header-style-1 .td-header-sp-logo { width: 216px!important; margin:28px 20px 9px 20px!important; }
	.td-affix .td-logo-sticky { margin:0 10px 0 10px; }
	.td-crumb-container { padding-left:24px; }
	.td-pb-row { margin-right:0; margin-left:0; }
	.td-pb-row .td-main-sidebar { padding:0; }

	.td-header-style-1 .td-header-sp-recs,
	.td-header-style-1 .td-header-sp-logo { margin-bottom:0!important; }
	.td-header-wrap .td-affix .sf-menu > li.menu-item > a { line-height:1.2em!important; }

	.td-boxed-layout .tdc-header-wrap .td-pb-row [class*="td-pb-span"] { padding-right:0; padding-left:0; }
	.td-boxed-layout .tdc-header-wrap .td-header-style-8 .td-header-sp-logo { margin-left:10px; }
	.td-boxed-layout .tdc-header-wrap .td-header-style-8 .td-header-top-menu { width:718px; margin-left:282px; padding-right:10px; }
	.td-boxed-layout .tdc-header-wrap .td-header-style-8 .td_stretch_container { width:1000px!important; }
	#td-outer-wrap { max-width:1000px; margin-left:auto; margin-right:auto; }
}

/*---------------------------------------------------------------------*/
/* JWPLAYER */

.jw_global .player-container { background-color:black; float:left; margin:10px 20px 10px 0; width:100% }
.jw_global .player-minimize .player-position { background-color:white; border-radius:2px; top:50px; box-shadow:0 0 20px 0 rgba(0, 0, 0, 0.25); left:20px; padding:7px; position:fixed; width:350px; z-index:10000; }
.jw_global .player-minimize .icon-close { display:initial; position:absolute; right:10px; top:10px; cursor:pointer; width:32px; z-index:10001; fill:white; }
.jw_global .player-position { position:relative; }
.jw_global .icon-close { display:none; }
.jw_global .title { font-weight:bold;margin-bottom:5px;color:black;line-height:18px; }
.jw_global .description { color:black;max-width:640px;line-height:17px;margin-top:8px; }

@media screen and (max-width:380px) {
	.jw_global .player-container { background-color:black; float:left; margin:10px 20px 10px 0; width:100% }
	.jw_global .player-minimize .player-position {width:270px}
}

/*---------------------------------------------------------------------*/
/* Advertising */

#adunit-skin { position: absolute; width:1px; height:1px; }
#adunit-masthead { margin:20px 0 0 0; }
#adasta_video_comp_box_mobile { width:320px;display:none;position:fixed;bottom:0px;left:calc((100vw - 320px)/2);z-index:10; }
#adasta_video_comp_box { width:300px;border:black;border-width:1px;border-style:solid;display:none; }
aside.adunit>div.jw_global { display:block; }

/* desktop, tablet landscape, tablet portrait */
@media screen and (min-width:768px) {
}

/* desktop, tablet landscape */
@media screen and (min-width:1019px) {
}

/* desktop */
@media screen and (min-width:1141px) {
}

/* tablet landscape */
@media screen and (min-width:1019px) and (max-width:1140px) {
}

/* tablet portrait */
@media screen and (min-width:768px) and (max-width:1018px) {
}

/* phone */
@media screen and (max-width:767px) {
	aside.adunit { margin: 0 auto 20px auto; }
	.wpvqgr-wrapper { margin: 0 -35px; }
	.wpvqgr-wrapper div.wpvqgr-question div.wpvqgr-answer { margin-left: 20px; margin-right: 20px; }
}

/*---------------------------------------------------------------------*/

.td-post-featured-image { margin: 0 0 30px 0; }
.td-post-sharing-top { margin:0; }

.td_block_wrap { margin-bottom:20px!important;}

.block-title { margin: 0 0 20px 0; }

.td-header-wrap .td-header-menu-wrap .sf-menu > li > a,
.td-header-wrap .header-search-wrap .td-icon-search { display: table-cell; vertical-align: middle; width: 130px; text-align: center; height: 48px; line-height:1.2em!important;}

.single-post .td-bred-no-url-last { display: none; }

/* -- barra icone social (configurato nel db) --
.td-header-wrap .td-header-sp-top-widget .td-icon-font { color:#FFF; }
.td-header-wrap .td-header-top-menu-full,
.td-header-wrap .top-header-menu .sub-menu { background-color: #2e3192; }
*/
.td-mobile-content li { text-transform: uppercase;}

/* desktop, tablet landscape, tablet portrait */
@media screen and (min-width:768px) {
}

/* desktop, tablet landscape */
@media screen and (min-width:1019px) {
}

/* desktop */
@media screen and (min-width:1141px) {

	#menu-principale-1 li a{ width: 140px!important; }

}

/* tablet landscape */
@media screen and (min-width:1019px) and (max-width:1140px) {
}

/* tablet portrait */
@media screen and (min-width:768px) and (max-width:1018px) {
	.td-header-wrap .td-header-menu-wrap .sf-menu > li > a,
	.td-header-wrap .header-search-wrap .td-icon-search { width:100px; }
	#menu-principale-1 li a { width: 90px!important; line-height:12px!important; }
}

/* phone */
@media screen and (max-width:767px) {
	.td_block_14 .td-block-span12:last-child .td_module_mx1 { margin-bottom: 20px !important; }
}

.td-related-right{
display: none !important;
}

.td-scroll-up{
display: none !important;
}

/* sendpress */
div#sendpress-public { padding: 20px 65px 20px; background-color: #FFF; }
div#sendpress-public > h1 { margin: 0 0 20px 0; }
div#sendpress-public form>div { display:none; }
div#sendpress-public form>table>tbody>tr>th:nth-child(4),
div#sendpress-public form>table>tbody>tr>th:nth-child(5),
div#sendpress-public form>table>tbody>tr>td:nth-child(4),
div#sendpress-public form>table>tbody>tr>td:nth-child(5) { display:none; }

.PDS_Poll { visibility: hidden }

