/*
Theme Name:     Newspaper 7 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:        7.7c
*/


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

/* undo theme's Verdana */
body, p {
	font-family: 'Roboto', 'Open Sans', Arial, sans-serif;
	font-size: 14px;
	line-height: 21px;
}


/* -- COLORS -- */

.white, 
.white h1, .white h2, .white h3, .white h4, .white h5, .white h6, .white li, .white a,
h1.white, h2.white, h3.white, h4.white, h5.white, h6.white, li.white, a.white, p.white {
	color: #fff;
}

/* almost black */
.black, 
.black h1, .black h2, .black h3, .black h4, .black h5, .black h6, .black li, .black a,
h1.black, h2.black, h3.black, h4.black, h5.black, h6.black, li.black, a.black, p.black {
	color: #111;
}

/* red */
.primary, 
.primary h1, .primary h2, .primary  h3, .primary h4, .primary h5, .primary h6, .primary li, .primary a,
h1.primary, h2.primary, h3.primary, h4.primary, h5.primary, h6.primary, li.primary, a.primary, p.primary {
	color: #d90000;
}

/* light gray */
.secondary, 
.secondary h1, .secondary h2, .secondary h3, .secondary h4, .secondary h5, .secondary h6, .secondary li, .secondary a,
h1.secondary, h2.secondary, h3.secondary, h4.secondary, h5.secondary, h6.secondary, li.secondary, a.secondary, p.secondary {
	color: #e1e1e1;
}

/* dark gray */
.tertiary, 
.tertiary h1, .tertiary h2, .tertiary h3, .tertiary h4, .tertiary h5, .tertiary h6, .tertiary li, .tertiary a,
h1.tertiary, h2.tertiary, h3.tertiary, h4.tertiary, h5.tertiary, h6.tertiary, li.tertiary, a.tertiary, p.tertiary {
	color: #7c7c7c;
}

/* background colors */
.bg-white, a.bg-white {background-color: #fff;}
.bg-black, a.bg-black {background-color: #111;}
.bg-primary, a.bg-primary {background-color: #d90000;}
.bg-secondary, a.bg-secondary {background-color: #e1e1e1;}
.bg-tertiary, a.bg-tertiary {background-color: #7c7c7c;}

h1 > a, 
h2 > a, 
h3 > a, 
h4 > a, 
h5 > a, 
h6 > a {
	color: #000000;
}

/* -- END COLORS -- */


/* -- TYPOGRAPHY -- */

.text-lowercase, 
.text-lowercase h1, .text-lowercase h2, .text-lowercase h3, .text-lowercase h4, .text-lowercase h5, .text-lowercase h6, .text-lowercase li, .text-lowercase a {
	text-transform: lowercase !important;
}

.text-uppercase, 
.text-uppercase h1, .text-uppercase h2, .text-uppercase h3, .text-uppercase h4, .text-uppercase h5, .text-uppercase h6, .text-uppercase li, .text-uppercase a {
	text-transform: uppercase !important;
}

.text-capitalize, 
.text-capitalize h1, .text-capitalize h2, .text-capitalize h3, .text-capitalize h4, .text-capitalize h5, .text-capitalize h6, .text-capitalize li, .text-capitalize a {
	text-transform: capitalize !important;
}

.text-transform-none, 
.text-transform-none h1, .text-transform-none h2, .text-transform-none h3, .text-transform-none h4, .text-transform-none h5, .text-transform-none h6, .text-transform-none li, .text-transform-none a {
	text-transform: none !important;
}

.font-weight-bold, 
.font-weight-bold h1, .font-weight-bold h2, .font-weight-bold h3, .font-weight-bold h4, .font-weight-bold h5, .font-weight-bold h6, .font-weight-bold li, .font-weight-bold a {
	font-weight: 700;
}

.font-weight-normal, 
.font-weight-normal h1, .font-weight-normal h2, .font-weight-normal h3, .font-weight-normal h4, .font-weight-normal h5, .font-weight-normal h6, .font-weight-normal li, .font-weight-normal a {
	font-weight: 400;
}

.font-italic {font-style: italic;}

.text-underline-none, .text-underline-none a {text-decoration: none !important;}

.text-underline, .text-underline a {text-decoration: underline !important;}

.text-nowrap, .text-nowrap a {white-space: nowrap !important;}

.text-wrap-normal, .text-wrap-normal a {white-space: normal !important;}

/* -- END TYPOGRAPHY -- */


/* -- FOOTER -- */

#freshy_copyright span {
	display: inline-block;
	line-height: 1.5em;
}

/* vertical pipe divider */
#freshy_copyright span.copyright_via {
	width: 33.33333%;
	height: 1px;
	overflow: hidden;
	white-space: nowrap;
	text-indent: 100%;
	background: rgba(255,255,255,0.25);
	vertical-align: middle;
	margin: 10px auto 15px;
	display: block;
}

#freshy_copyright a.copyright_fs {
	display: block;
	vertical-align: middle;
	width: 45px;
	height: 20px;
	background-image: url("/wp-content/uploads/freshysites-logo-white.svg");
	background-repeat: no-repeat;
	background-size: 45px 20px;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
	margin: 0 auto;
}

/* fix if using Impreza to remove underline */
#freshy_copyright a:hover {
	border: 0 !important;
}

@media (min-width: 600px) {
	/* vertical pipe divider */
	#freshy_copyright span.copyright_via {
		width: 1px;
		height: 20px;
		margin: 0 10px;
		display: inline-block;
	}
	#freshy_copyright a.copyright_fs {
		display: inline-block;
	}
}

@media (max-width: 980px) {
	#footer-bottom .et-social-icons li:first-child {
		margin-left: 0;
	}
}

/* -- END FOOTER -- */


/* -- RESPONSIVE -- */

/* do for mobile */
@media screen and (max-width: 767px) {
	/* hide on mobile */
	.hide-mobile {
		display: none;
	}
}

/* do for desktop */
@media screen and (min-width: 768px) {
	/* hide on desktop */
	.hide-desktop {
		display: none;
	}
}

/* -- END RESPONSIVE -- */


/* -- CHECKLIST -- */

.checklist ul {
    margin: 0;
	padding: 0 !important;
    list-style: none;
}

.checklist ul li {
    position: relative;
    padding-left: 30px;
    margin: 0 0 6px !important;
}

.checklist-columns-2 ul li,
.checklist-columns-3 ul li,
.checklist-columns-4 ul li {
	margin-bottom: 30px !important;
}

@media (max-width: 638px) {
	.checklist-columns-2 ul li,
	.checklist-columns-3 ul li,
	.checklist-columns-4 ul li {
		margin-bottom: 20px !important;
	}
	.checklist-columns-2 ul li:last-child,
	.checklist-columns-3 ul li:last-child,
	.checklist-columns-4 ul li:last-child {
		margin-bottom: 0 !important;
	}
}

/* create columns of list items with this class */
@media (min-width: 639px) {
	.checklist-columns-2 ul::after,
	.checklist-columns-3 ul::after,
	.checklist-columns-4 ul::after {
		content: '';
		clear: both;
		display: table;
	}
	.checklist-columns-2 ul li,
	.checklist-columns-3 ul li,
	.checklist-columns-4 ul li {
		float: left;
		width: 50%;
      	padding-right: 30px;
	}
	.checklist-columns-2 ul li:nth-child(odd),
	.checklist-columns-3 ul li:nth-child(odd),
	.checklist-columns-4 ul li:nth-child(odd){
		clear: both;	
	}
	.checklist-columns-2-alt > ul,
	.checklist-columns-3-alt > ul,
	.checklist-columns-4-alt > ul {
		-moz-column-count: 2;
		-moz-column-gap: 8px;
		-webkit-column-count: 2;
		-webkit-column-gap: 8px;
		column-count: 2;
		column-gap: 20px;
	}
	.checklist-columns-2-alt ul li,
	.checklist-columns-3-alt ul li,
	.checklist-columns-4-alt ul li {
		break-inside: avoid-column;
	}
}
@media (min-width: 981px) {
	.checklist-columns-3 ul li,
	.checklist-columns-4 ul li {
		float: left;
		width: 33.333333%;
	}
	.checklist-columns-3 ul li:nth-child(odd),
	.checklist-columns-4 ul li:nth-child(odd) {
		clear: none;	
	}
	.checklist-columns-3 ul li:nth-child(3n+1),
	.checklist-columns-4 ul li:nth-child(3n+1) {
		clear: both;	
	}
	.checklist-columns-3-alt ul,
	.checklist-columns-4-alt ul {
		-moz-column-count: 3;
		-webkit-column-count: 3;
		column-count: 3;
	}
}
@media (min-width: 1199px) {
	.checklist-columns-4 ul li {
		float: left;
		width: 25%;
	}
	.checklist-columns-4 ul li:nth-child(odd) {
		clear: none;	
	}
	.checklist-columns-4 ul li:nth-child(3n+1) {
		clear: none;	
	}
	.checklist-columns-4 ul li:nth-child(4n+1) {
		clear: both;	
	}
	.checklist-columns-4-alt ul {
		-moz-column-count: 4;
		-webkit-column-count: 4;
		column-count: 4;
	}
}

.checklist ul li::before {
    font-family: 'FontAwesome';
    content: '\f058';
    width: 20px;
    margin: 0;
    display: inline-block;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    color: #32a709;
    /* set font size helps make icon sharper */
    font-size: 22px;
	font-weight: normal;
}

.pluslist ul li::before {
    content: '\f055';
}
.eventlist ul li::before {
    content: '\f274';
}
.locationlist ul li::before {
    content: '\f041';
}
.externallist ul li::before {
	content: '\f14c';	
}
.pdflist ul li::before {
    content: '\f1c1';
	color: red;
}
.userlist ul li::before {
	content: '\f2c0';
}

/* -- END CHECKLIST -- */


/* -- GRAVITY FORMS -- */

/* we swap out form ajax spinner via PHP Function, and add spinning if its PNG */
img.gform_ajax_spinner[src$=".png"] {
	-webkit-animation: lime-spin 1.5s linear infinite;
	-moz-animation: lime-spin 1.5s linear infinite;
	animation: lime-spin 1.5s linear infinite;
	padding: 0;
	margin-left: 10px;
}
@-moz-keyframes lime-spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes lime-spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes lime-spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }

/* fix for when Date Picker is used */
#ui-datepicker-div:empty {
	margin-top: 0;	
}

/* -- END HELPERS -- */


/* -- THEME SPECIFIC -- */

/* old version of sub mega menu */
.sf-menu li.fs-megamenu.menu-item.menu-item-has-children.td-menu-item {
    position: static;
}
.sf-menu li.fs-megamenu.menu-item.menu-item-has-children.td-menu-item > ul.sub-menu {
	width: 100% !important;
	left: 0;
	padding: 15px;
}
.sf-menu li.fs-megamenu.menu-item.menu-item-has-children.td-menu-item > ul.sub-menu > li {
    width: auto !important;
    float: none !important;
    display: inline-block;
}
.sf-menu li.fs-megamenu.menu-item.menu-item-has-children.td-menu-item > ul.sub-menu > li > a {
    padding: 6px 8px;
    line-height: 1.3em;
}

/* new version of sub mega menu */
.sf-menu li.fs-megamenu-col.menu-item.menu-item-has-children.td-menu-item {
    position: static;
}
/* mega menu wrapper */
.sf-menu li.fs-megamenu-col.menu-item.menu-item-has-children.td-menu-item > ul.sub-menu {
	width: 100% !important;
	left: 0;
	padding: 15px 15px 7px 15px;
	display: -webkit-flex !important;
	display: flex !important;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-flex-direction: row;
	flex-direction: row;
	margin-left: 0;
	list-style-type: none;
}
/* mega menu parent col wrapper */
.sf-menu li.fs-megamenu-col.menu-item.menu-item-has-children.td-menu-item > ul.sub-menu > li {
	width: 20% !important;
	padding-left: 1%;
	padding-right: 1%;
	display: block;
    float: none !important;
}
/* title */
.sf-menu li.fs-megamenu-col.menu-item.menu-item-has-children.td-menu-item > ul.sub-menu > li > a {
	text-transform: uppercase;
	padding: 3px !important;
	border-bottom: 2px solid gray;
	color: gray;
	font-size: 14px;
	cursor: default;
	margin-bottom: 12px;
	background-color: transparent !important;
}
.sf-menu li.fs-megamenu-col.menu-item.menu-item-has-children.td-menu-item > ul.sub-menu > li > a:hover {
	color: gray;
	background-color: transparent !important;
}
.sf-menu li.fs-megamenu-col.menu-item.menu-item-has-children.td-menu-item > ul.sub-menu > li > a > .td-icon-menu-down {
	display: none;
}
/* column content wrapper */
.sf-menu li.fs-megamenu-col.menu-item.menu-item-has-children.td-menu-item > ul.sub-menu > li > a + ul {
    padding: 0 0 8px;
    line-height: 1.3em;
	position: relative !important;
	top: auto !important;
	left: auto !important;
	float: none !important;
	width: 100% !important;
	display: block !important;
	background-color: transparent;
	margin: 0;
}
/* list items */
.sf-menu li.fs-megamenu-col.menu-item.menu-item-has-children.td-menu-item > ul.sub-menu > li > a + ul > li {
	float: none !important;
    line-height: 1.3em;
}
/* list item links */
.sf-menu li.fs-megamenu-col.menu-item.menu-item-has-children.td-menu-item > ul.sub-menu > li > a + ul > li a {
	padding: 3px !important;
    line-height: 1.3em;
	padding: 3px;
}

/* date in top bar */
.td-header-sp-top-menu .td_data_time {
	position: relative;
	padding-left: 20px;
}
.td-header-sp-top-menu .td_data_time::before {
    content: '\f073';
	font-family: 'fontawesome';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	text-align: center;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 14px;
	position: absolute;
	display: block;
	left: 0;
	top: 50%;
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	transform: translateY(-50%);
}

/* tweak style of all BLOCK TITLES that use version 14 */
.td_block_template_14 .td-block-title-wrap .td-block-title {
    text-align: left;
}

/* tweak styling for the "Block 9" news styles */
.td_block_9 .td_module_8 {
	padding-bottom: 14px;
	border-bottom: 1px solid #e1e1e1;
	margin-bottom: 14px;
}
.td_block_9 .td_module_8 .entry-title.td-module-title > a::after {
    content: '\00a0\00BB';
    color: #d90000;
    opacity: 0;
    -o-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
.td_block_9 .td_module_8 .entry-title.td-module-title > a:hover::after {
    opacity: 1;
}

/* custom bg for breaking news block on homepage */
.breaking-news-block {
    background-color: #ebebeb;    
}
.breaking-news-block .td-block-title-wrap .td-block-title {
    margin-bottom: 0;
}
.breaking-news-block .td_module_8 .item-details {
    border-left: 5px solid #d90000;
    padding-left: 7px;
}
.breaking-news-block .td_block_inner {
    padding: 14px;
}

body.home .td-main-content-wrap.td-main-page-wrap.td-container-wrap {
	padding-top: 20px;
}

/* home featured blocks via custom class */

.home-featured-block.td_block_wrap {
	margin-bottom: 24px;
	border-bottom: 3px solid #cdcdcd;
	padding-bottom: 12px;
}

.td_module_1 {
	padding-bottom: 12px;
}


/* - HOMEPAGE HTML CODE BLOCK - */

.top-code.td_block_wrap form {
    display: table;
    width: 100%;
    margin-bottom: 20px;
}
.top-code.td_block_wrap form input,
.top-code.td_block_wrap form button {
    display:  inline-block;
    vertical-align: middle;
}
.top-code.td_block_wrap form input {
    background-color: #f7f7f7;
    border: 1px solid #e7e7e7;
    border-radius: 3px 0 0 3px;
    padding: 0 8px;
	line-height: 40px;
	width: 60%;
	margin-right: 0;
	height: 40px;
}
.top-code.td_block_wrap form input:hover {
    background-color: #e7e7e7;
}
.top-code.td_block_wrap form input:focus {
    border-color: #d90000;
}
.top-code.td_block_wrap form button {
	font-size: 15px;
	font-weight: 500;
	line-height: 1.5em;
	border-radius: 0 3px 3px 0;
	padding: 0 8px;
	margin: 0;
	width: 40%;
	height: 40px;
	background-color: #f7f7f7;
    border: 1px solid #e7e7e7;
    border-left: 0;
}
.top-code.td_block_wrap form button:hover {
    background-color: #e7e7e7;
}
.top-code.td_block_wrap form button img {
	width: 71px;
	height: 24px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: 4px;
	-o-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-webkit-transition: all 0.2s ease;
	transition: all 0.2s ease;
}
.top-code.td_block_wrap form button:hover img {
    opacity: 0.8;   
}
.top-code.td_block_wrap .fb-like {
    margin-bottom: 20px; 
    display: block;
	line-height: 0;
	min-height: 28px;
}
.top-code.td_block_wrap .twitter-follow-button {
    display: block;
	line-height: 0;
	min-height: 28px;
}

/* -- GRAVITY FORMS -- */

.gform_wrapper {
    margin-top: 0;
    margin-bottom: 48px;
}
@media (max-width: 767px) {
    .gform_wrapper {
        margin-top: 0;
        margin-bottom: 32px;
    }
}
.gform_wrapper label {
    font-family: 'Roboto', 'Open Sans', Arial, sans-serif;
}
.gform_wrapper .gform_footer {
	padding: 0;
	margin-top: 16px;
}
.gform_wrapper .gform_footer input[type=submit] {
    font-size: 1.5em;
    background-color: #d90000;
}
.gform_wrapper .gform_footer input[type=submit]:hover {
    background-color: #111111;    
}

/* -- AD UNITS -- */

/* header ad */
.td-header-sp-recs .td-a-rec.td-a-rec-id-header > div, 
.td-header-sp-recs .td-a-rec.td-a-rec-id-header > div > div,
.td-header-sp-recs .td-a-rec.td-a-rec-id-header > div iframe {
	width: 100% !important;
	max-width: 728px;
}
@media (max-width: 767px) {
	.td-header-sp-recs .td-header-rec-wrap {
		display: block;
	}
}

#home-quad-ads > .vc_column.wpb_column.vc_column_container > .wpb_wrapper {
	display: table;
	width: 100%;
}
#home-quad-ads {
	margin-bottom: 20px;
}

#home-quad-ads > .vc_column.wpb_column.vc_column_container > .wpb_wrapper > .wpb_wrapper.td_block_wrap.vc_raw_html {
	display: table-cell;
	width: 25%;
	height: auto;
	vertical-align: middle;
	margin: 0;
	text-align: center;
	padding: 5px;
}
/* the Google ad div itself */
div[id^="div-gpt-ad-"] {

}
#home-quad-ads > .vc_column.wpb_column.vc_column_container > .wpb_wrapper > .wpb_wrapper.td_block_wrap.vc_raw_html > .td-fix-index > div[id^="div-gpt-ad-"] {
	margin-left: auto;
	margin-right: auto;
	max-width: 240px;
	width: 100% !important;
}
.td-main-sidebar .td-ss-main-sidebar .widget_text.widget_custom_html .textwidget.custom-html-widget > div[id^="div-gpt-ad-"],
.home .vc_column.td-pb-span4:last-child .td-fix-index > div[id^="div-gpt-ad-"],
.vc_widget_sidebar .widget_text.widget_custom_html .textwidget.custom-html-widget > div[id^="div-gpt-ad-"] {
	margin-left: auto;
	margin-right: auto;
	max-width: 300px;
	width: 100% !important;
}
.home .td-a-rec.td-a-rec-id-custom_ad_1.td_block_template_14 div[id^="div-gpt-ad-"] {
	margin-left: auto;
	margin-right: auto;
	display: inline-block;
	width: auto !important;
	height: auto !important;
	margin-bottom: 26px;
}

/* 970w ad */
.home .td-a-rec.td-a-rec-id-custom_ad_1.td_block_template_14 {
	display: block;
}

@media (max-width: 640px) {
	#home-quad-ads > .vc_column.wpb_column.vc_column_container > .wpb_wrapper {
		display: block;
	}
	#home-quad-ads > .vc_column.wpb_column.vc_column_container > .wpb_wrapper > .wpb_wrapper.td_block_wrap.vc_raw_html {
		display: inline-block;
		width: 50%;
	}
}
