/*
Theme Name:     Energy Source & Distribution
Theme URI: 		http://www.esdnews.com.au
Description:    Child theme for esdnews.com.au
Author:         GCweb Pty Ltd
Author URI: 	http://www.gcweb.com.au
Template:       Newspaper                             
Version:        1.5
*/


/*  -------------------------------------------------------------------------------- 
    This file will load automatically when the child theme is active. You can use it
    for custom CSS.
*/

/*	From customer Styling
======================================================================== */
.td-full-layout .td-header-style-3 .td-header-main-menu { padding-left: 0px; padding-right: 0px;}
.sf-menu > li > a { padding: 0 9px;}

.td-trending-now-title { line-height: 22px !important; font-size: 14px !important;}

@media (max-width: 767px) {
	.td-trending-now-display-area { top: 0px; }
}
.td-block-title-wrap h4.block-title { background: #000;}

h4.vc_custom_heading { font-weight: 700;}

aside.widget .block-title { border-color: #000;}
aside.widget .block-title > span { background: #000;}

.td-footer-wrapper aside.widget .block-title > span { background: #111;}

.td-footer-wrapper .widget_categories li span { display: none;}

.td-header-style-3 .td-header-sp-logo {  margin: 12px 28px;}
.td-header-style-3 .td-header-sp-recs {  margin: 12px 0;}
.td-header-style-3 .td-header-menu-wrap-full, .td-header-style-3 .td-affix {  background-color: #111 !important;}


.timeline-Tweet-media { display: none !important;}

.td-pb-row [class*="td-pb-span"] { padding-right: 14px; padding-left: 14px;}

body.category .td-pb-row .td-pb-row .td-pb-span6:first-child { padding-right: 1px;}
body.category .td-pb-row .td-pb-row .td-pb-span6:last-child { padding-left: 1px;}


.td-post-sharing-bottom .td-social-but-text, .td-classic-sharing { display: none;}

/*	General Styling
======================================================================== */

.td-main-page-wrap { padding-top: 18px;}
.td-main-content-wrap { padding-bottom: 0px;}

.wpb_button, .wpb_content_element, ul.wpb_thumbnails-fluid>li { margin-bottom: 18px;}
.td_block_wrap { margin-bottom: 18px;}

.td-module-meta-info { font-size: 10px;}
.td-excerpt { margin-top: 8px;}

.td-social-pinterest { margin-right: 10px;}
.td-social-linkedin .td-icon-linkedin { font-size: 13px; position: relative; top: 1px;}
.td-social-linkedin { background-color: #007bb6; margin-right: 0;}

.title-only .td_mod_wrap { display: none;}

aside.widget { margin-bottom: 18px;}

.widget_text .block-title { margin-bottom: 0px !important;}

.td-footer-wrapper .widget_text .block-title { margin-bottom: 30px !important;}


/*	E-News (sidebar)
--------------------------------- */
.textwidget .magazine { background-color: #20B3B3; color: #FFF; padding: 5px 15px; text-align: center;}
.mag-title { font-size: 48px; font-style:italic; font-weight: 700; margin-bottom: 0px; padding: 0px; margin-top: 10px; font-family: 'Roboto', sans-serif; line-height: 40px; color:#fff;}
.mag-subtitle {  font-family: 'Roboto', sans-serif; font-size: 35px; font-style:italic; line-height: 45px; margin: 0px; color:#fff;}
a.sub-btn { display: block; padding: 6px 12px; background: #000; color: #fff; text-decoration: none; height: 32px; line-height: 20px;}

.magazine p { margin-bottom: 0px !important;}

.td-footer-wrapper a.sub-btn { background: #20B3B3; color: #fff !important;  text-align: center;}

@media (max-width: 1140px) {
	.mag-title { font-size: 32px; line-height: 40px; margin-top: 0px;}
	.mag-subtitle { font-size: 25px; line-height: 30px;}
	a.sub-btn { font-size: 12px;}
}

.td-trending-now-wrapper {
    padding: 0 14px;
    height: 26px;
    position: relative;
    overflow: visible !important;
	margin-bottom: 20px;
}
.td-trending-now-title { display: block; float: left;}
.td-trending-now-display-area { display: block; float: left; visibility: hidden; width: 624px;}

.news-marquee { height: 26px; width: 608px; margin-left: 15px;}
.news-marquee-post { display: inline-block;}
.news-marquee-post h3 { margin: 0px !important; line-height: 26px; font-size: 13px; font-weight: 700; padding-left: 20px;}
.news-marquee-post h3:before { content:"»"; font-size:14px; font-weight: 400; position: relative; left: -12px; top: 0px;}
.news-marquee-post:first-child h3 { padding-left: 0px;}
.news-marquee-post:first-child h3:before { content: " ";}
.news-marquee-post h3 a { color: #111;}
.news-marquee-post h3 a:hover { color: #20b3b3;}

/*
.news-marquee {
 height: 26px; width: 608px; margin-left: 15px;
 overflow: hidden;
 position: relative;
}
.news-marquee .news-marquee-post {
 position: absolute;
 width: 100%;
 height: 100%;
 margin: 0;
 line-height: 26px;
 text-align: left;
 -moz-transform:translateX(100%);
 -webkit-transform:translateX(100%);	
 transform:translateX(100%);
 -moz-animation: news-marquee 15s linear infinite;
 -webkit-animation: news-marquee 15s linear infinite;
 animation: news-marquee 15s linear infinite;
}
@-moz-keyframes news-marquee {
 0%   { -moz-transform: translateX(100%); }
 100% { -moz-transform: translateX(-100%); }
}
@-webkit-keyframes news-marquee {
 0%   { -webkit-transform: translateX(100%); }
 100% { -webkit-transform: translateX(-100%); }
}
@keyframes news-marquee {
 0%   { 
 -moz-transform: translateX(100%);
 -webkit-transform: translateX(100%);
 transform: translateX(100%); 		
 }
 100% { 
 -moz-transform: translateX(-100%);
 -webkit-transform: translateX(-100%);
 transform: translateX(-100%); 
 }
}
*/


/*	Event Calendar + (sidebar)
---------------------------------  */

aside .tribe-events-adv-list-widget .block-title { margin-bottom: 0px;}
.tribe-mini-calendar-event.first { margin-top: 0px;}

aside .tribe-mini-calendar-event { padding: 8px !important; margin-bottom: 0px !important;}
aside .tribe-mini-calendar-event .list-date { background-color: #000 !important; margin: 0px 3% 0px 0; width: 27%;}
aside .tribe-mini-calendar-event .list-date .list-dayname { float: left !important; width: 55%; letter-spacing: 0px; font-size: 14px; font-family: 'Roboto', sans-serif;}
aside .tribe-mini-calendar-event .list-date .list-daynumber { display: inline-block; width: 45%; line-height: 27px;}
aside .tribe-mini-calendar-event .list-info { margin: 0 !important; width: 70%;}
aside .tribe-mini-calendar-event .list-info h2 { margin-bottom: 3px !important;}
aside .tribe-mini-calendar-event .list-info .tribe-events-duration { display: none;}

aside .type-tribe_events:nth-child(odd) { background-color: #F4F4F4 !important;}
aside .type-tribe_events:nth-child(odd) .tribe-mini-calendar-event .list-date { background-color: #20B3B3 !important;}

aside .tribe-events-widget-link { background: #000; padding: 5px; text-align: right; font-family: swiss-roman; font-size: 13px;}
aside .tribe-events-widget-link a { color: #fff;}

aside .tribe-events-adv-list-widget .type-tribe_events, .tribe-mini-calendar-list-wrapper .type-tribe_events { margin: 0 !important;}

aside .tribe-events-widget-link a { font-family: 'Roboto', sans-serif;}

#tribe-events .tribe-events-button, #tribe-events .tribe-events-button:hover, #tribe_events_filters_wrapper input[type=submit], .tribe-events-button, .tribe-events-button.tribe-active:hover, .tribe-events-button.tribe-inactive, .tribe-events-button:hover, .tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-], .tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-]>a {
    background-color: #20B3B3;
}
.tribe-events-event-image img {
    width: 30%;
    float: left;
    margin-right: 3%;
    margin-bottom: 10px;
}
.single-tribe_events .tribe-events-schedule h2 {
    font-size: 18px;
    margin: 0;
}

aside.widget_sp_image h4.block-title { margin-bottom: 0px;}

.wpb_wrapper .td-a-rec, .td-ss-main-sidebar .td-a-rec{ margin-bottom: 18px;}

.td-related-title.td-block-title .td-related-right { display: none;}



/*	Block Styling
---------------------------------  */

.td-block-span6 .td_module_1 { padding-bottom: 12px; }
.td-block-span6:first-child .td_module_1 { margin-left: -12px; margin-right: -16px;}
.td-block-span6:last-child .td_module_1 { margin-left: -16px; margin-right: -12px;}

.td-next-prev-wrap .td-ajax-next-page:after { content: "Show more"; font-size: 12px; position: absolute; left: 65px; color: #b7b7b7 !important;}

.block-title { margin-bottom: 0px;}
.td_block_wrap { margin-bottom: 18px;}

.td_block_7 .td-block-span12 { padding: 8px !important; border: 1px solid #eee; border-top: 0px;}
.td_block_7 .td-block-span12 .td_module_6 { padding-bottom: 0px;}
.td_block_7 .td-block-span12 .td_module_6 .td-module-thumb img { width: 140px; height: 96px;}
.td_block_7 .td-block-span12 .td_module_6 .item-details { margin-left: 150px; min-height: 96px}
.td_block_7 .td-next-prev-wrap { margin-top: 6px;}

.td_module_6 .entry-title { margin-bottom: 0px;}
.td_module_6.td_module_wrap:hover a { color: #20B3B3 !important;}


.td_block_14 .block-title { margin-bottom: 3px;}
.td_block_14 .td-block-row:last-child { margin-bottom: 0px;}
.td_block_14.td-column-2 .td-next-prev-wrap { margin-top: 6px !important;}


.td_block_9 .block-title { margin-bottom: 0px;}
.td_block_9 .td-block-span12 { padding: 8px !important; border: 1px solid #eee; border-top: 0px;}
.td_block_9 .td-block-span12 .td_module_8 { padding-bottom: 0px; margin-bottom: 0px !important; border-bottom: 0px !important;}
.td_block_9 .td-block-span12 .td_module_8 .entry-title { margin-bottom: 4px;}
.td_block_9 .td-block-span12 .td_module_8 .td-excerpt { margin-top: 2px;}
.td_block_9 .td-next-prev-wrap { margin-top: 6px !important;}


.td_block_18 .td_module_mx2 { padding: 8px !important; border: 1px solid #eee; border-top: 0px;}
.td_block_18 .td_module_mx2 .item-details { margin: 0 0 0px 90px;}

.td_block_18 .td-column-1 .td_module_mx8 .td-module-thumb { margin-bottom: 0px;}
.td_block_18 .td-next-prev-wrap {  margin-top: 6px !important;}


.td_block_15 .td-column-2 .td-block-row .td-block-span4 { padding-right: 2px;}
.td_block_15 .td-column-2 .td-block-row { margin-top: 2px;}
.td_module_mx4 .entry-title { padding-right: 20px;}


.td_block_big_grid_fl_6 .td_module_mx18 { padding-top: 42%;}
.td_block_big_grid_fl_6 .td_module_mx22 { width: 50%; padding-top: 23%;}

.td_block_big_grid_12 .td_module_mx5 { padding-right: 2px;}
.td_block_big_grid_12 .td-big-grid-wrapper .td-big-grid-post:last-child .td-module-thumb { margin-top: 2px;}
.td_block_big_grid_12 .td_module_mx5 .td-module-thumb { height: 450px;}
.td_block_big_grid_12 .td-big-grid-post-1 .td-module-thumb, .td_block_big_grid_12 .td-big-grid-post-2 .td-module-thumb { height: 224px;}


/*	Footer Styling
---------------------------------  */

.td-footer-wrapper .widget .block-title { border-bottom: 1px solid rgba(255,255,255,.1);}
.td-footer-wrapper aside.widget .block-title > span { border-bottom: 2px solid #20B3B3; padding-bottom: 10px;}

.td-footer-bottom-full .td-pb-span5 .block-title { display: none;}
.td-footer-bottom-full .footer-logo-wrap { margin-top: 15px;}

.td-footer-bottom-full .block-title { margin-bottom: 15px;}


/*	RESPONSIVE Styling
---------------------------------  */

@media (max-width: 1140px) and (min-width: 1019px) {
	.news-marquee { width: 536px;}
	.td-header-style-3 .td-header-sp-logo { margin: 12px 10px 28px;}
	ul.sf-menu > .td-menu-item > a { font-size: 12px !important;}
	
	.td-block-span6:first-child .td_module_1 { margin-left: -12px; margin-right: -12px;}
	.td-block-span6:last-child .td_module_1 { margin-left: -12px; margin-right: -12px;}
}

@media (max-width: 1018px) and (min-width: 768px) {
	.news-marquee { width: 356px;}
	
	.td_block_7 .td-block-span12 .td_module_6 .td-module-thumb img { width: 80px; height: 55px;}
	.td_block_7 .td-block-span12 .td_module_6 .item-details { margin-left: 90px; min-height: 55px}
	.td_block_7 .td-block-span12 .td_module_6 .td-excerpt { display: none;}
	
	.td-block-span6:first-child .td_module_1 { margin-left: -5px; margin-right: -5px;}
	.td-block-span6:last-child .td_module_1 { margin-left: -4px; margin-right: -8px;}
	
	.block-title > a, .block-title > span { font-size: 12px !important;}
	
	aside .tribe-mini-calendar-event { padding: 4px 8px !important;}
	.tribe-mini-calendar-event .list-info h2, aside .tribe-mini-calendar-event .list-date .list-dayname { font-size: 12px;}
	aside .tribe-mini-calendar-event .list-date .list-daynumber{ font-size: 11px; line-height: 25px;}
}

@media (min-width: 1018px) {
	.td_block_big_grid_fl_6 .td_module_mx18 { margin-bottom: 2px;}
	.td-big-grids-fl.td-big-grids-margin .td_module_mx22:first-child { border-width: 0 1px 0 6px;}
	.td-big-grids-fl.td-big-grids-margin .td_module_mx22:last-child { border-width: 0 6px 0 1px;}
}

@media (max-width: 767px) {
	.news-marquee { width: 70%;}
	
	.td-block-span6:first-child .td_module_1, .td-block-span6:last-child .td_module_1 { margin-left: 0px; margin-right: 0px;}
	
	.td-big-grids-fl, .td_block_big_grid_12 { margin-left: 0px; margin-right: 0px;}
	.td_block_wrap .td-big-grid-wrapper .td-big-grid-scroll .td-big-grid-post { width: 50%;}
	.td_block_big_grid_12 .td_module_mx5 .td-module-thumb { height: 240px;}
	.td_block_big_grid_12 .td-big-grid-post-1 .td-module-thumb, .td_block_big_grid_12 .td-big-grid-post-2 .td-module-thumb { height: 150px;}
	
	.td-pb-row [class*="td-pb-span"] { padding-right: 0px; padding-left: 0px;}
}

@media (max-width: 479px) { 
	.td-trending-now-wrapper { display: none;}
}