/*
Theme Name:   The Colorado Independent
Theme URI:    http://statesnewsroom.com
Description:  Custom Newspaper child theme for The States Newsroom
Author:       IB5k
Author URI:   http://ib5k.com
Template:     Newspaper
Version:      7.7c
*/


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


/* newsmatch widget */

/* Change gap between cols */
.td-pb-row [class*="td-pb-span"] {
    padding-right: 8px;
    padding-left: 8px;
}
.td-pb-row {
	margin-right: -8px;
	margin-left: -8px;
}

 /* Change padding Trending Now */
.td-trending-now-wrapper {
	padding: 0 0px;
}
.td-trending-now-title {
	/*padding-left: 0;*/
}
.td-trending-now-wrapper .td-next-prev-wrap {
	right: 28px;
}

/* News Ticker - Show whole title */
.td-trending-now-wrapper, .td-trending-now-display-area, .td-trending-now-post {
    height: 50px;
}
@media (max-width: 767px) {
	.td-trending-now-wrapper, .td-trending-now-display-area, .td-trending-now-post {
		height: 110px !important;
	}
}

/* Increase tags height on mobiles */
@media (max-width: 767px) {
	.single .td-post-small-box span {
		padding: 10px 9px;
		height: 30px;
	}
	.single .td-post-small-box a {
		padding: 10px 8px;
		height: 30px;
	}
	.single .td-category a {
    	padding: 10px 10px 9px 10px;
	}
}

/* Blockquotes */
.td-post-content blockquote p {
	text-transform: none;
	font-style: normal;
	font-size: 15px;
	line-height: 26px;
	text-align: left;
	color: #222 !important;
}
.td-post-content blockquote {
	padding-left: 20px;
	border-left: solid 1px #5daa1d;
	color: #222;
}

/* Header */

/* Reduce space between items so that they don't drop into a new line */
.sf-menu > li > a {
	padding: 0 12px;
}

/* Style of submenu */
.sf-menu ul {
    width: auto !important;
    z-index: 9;
    padding-top: 10px;
    box-shadow: 7px 7px 21px -6px rgba(0, 0, 0, 0.49);
	-webkit-box-shadow:7px 7px 21px -6px rgba(0, 0, 0, 0.49);
	-moz-box-shadow:7px 7px 21px -6px rgba(0, 0, 0, 0.49);
}
.sf-menu ul li a {
    padding: 5px 20px;
	display: block;
	transition: 0.3s;
	/*font-weight: 600;*/
}
.sf-menu ul li a:hover{
	/*color:white;
	background:#5daa1d;*/
}

@media (max-width: 1018px) and (min-width: 768px) {
	
	/* Prevent items from dropping into a new line in iPad */
	.sf-menu a.sf-with-ul {
		padding-right: 15px;
	}
	.sf-menu > li > a {
		padding: 0 10px;
		font-size: 10px;
	}
}

/* Set up background image for header */
.td-header-style-9 .td-header-sp-logo {
    background: url(/wp-content/uploads/main-banner.jpg);
    background-size: cover;
	background-position: center center;
	line-height: 170px;
}
.td-header-style-9 .td-logo-wrap-full .td-logo {
    line-height: 170px;
}

/* Custom background image for the Election section */
.page-id-171453 .td-header-style-9 .td-header-sp-logo, .parent-pageid-171453 .td-header-style-9 .td-header-sp-logo {
	background: url(/wp-content/uploads/main-banner-purple.jpg);
	background-size: cover;
	background-position: center center;
	line-height: 200px;
}


/* Background color for last item in top menu */
.td-header-top-menu li.last-child {
	background-color: #5daa1d!important;
	padding-left: 12px;
}
.td-header-top-menu li.last-child:hover {
	background-color: #447C16 !important;
}
.td-header-top-menu li.last-child a:hover {
	color: white !important;
}

/* Homepage */

/* Big grid - Styles like in design */
.td-grid-style-1 .td-post-category {
    background-color: white;
    color: black;
    padding: 6px 10px;
	font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
}
.td-grid-style-1 .td-post-author-name {
	font-weight: normal;
}
.td-grid-style-1 .td-big-thumb .entry-title, .td-grid-style-1 .entry-title {
    font-size: 22px !important;
    line-height: 1.4 !important;
}
.td-grid-style-1 .td-module-meta-info {
    font-size: 12px !important;
}
@media (max-width: 1018px) and (min-width: 768px) {
	.td-grid-style-1 .td-big-thumb .entry-title, .td-grid-style-1 .entry-title {
		font-size: 22px !important;
		line-height: 1.2 !important;
	}
	.td-grid-style-1 .td-post-category, .td-grid-style-1 .td-module-meta-info {
		font-size: 12px !important;
	}
}
@media (max-width: 1018px) {
	.td-grid-style-1 .td-post-category {
		padding: 3px 7px;
	}
}
@media (max-width: 767px) {
	.td-grid-style-1 .td-big-thumb .entry-title, .td-grid-style-1 .entry-title {
		font-size: 16px !important;
		line-height: 1.2 !important;
	}
	.td-grid-style-1 .td-post-category, .td-grid-style-1 .td-module-meta-info {
		font-size: 10px !important;
	}
}

/* Just in - Highlight navigation */
.just-in .td-next-prev-wrap a:hover {
	background-color: white !important;
    border-color: #fc4d00 !important;
	color: #fc4d00 !important;
}
.just-in .td-next-prev-wrap a {
	background-color: #fc4d00;
    border-color: #fc4d00;
	color: white;
}

/* Footer - Fix layout in iPad Portrait */
@media (min-width: 1141px) {
	#sm-row1 {
		display: none;
	}
}
/* Footer - Change color of titles */
.td-footer-wrapper .vc_row .vc_column:nth-child(3) .block-title > span {
	/*color: #F01E94 !important;*/
}
.td-footer-wrapper .vc_row .vc_column:nth-child(4) .block-title > span {
	/*color: #0051FF !important;*/
}

.td-footer-wrapper .vc_row .vc_column:nth-child(5) .block-title > span {
	/*color: #FE7F00 !important;*/
}
/* Governors Race change color of read more */
.parent-pageid-171453 .td_module_11 .td-module-title a:hover, .parent-pageid-171453 .td_module_11:hover .td-module-title a {
	color: #9F0EBF;
}
.parent-pageid-171453 .td-read-more a {
	background-color: #9F0EBF;
}

/* Staff - align images to the left */
.page-id-171315 .tdm-member-image {
	background-position: left;
	/*background-color: #9F0EBF;*/
}
.page-id-171315 .tdm-descr a {
	color: #0051FF;
}
.page-id-171315 .td-footer-wrapper .tdm-descr a, .page-id-171315 .td-footer-wrapper .tdm-descr a:hover {
	color: white !important;
}
.page-id-171315 .tdm-descr a:hover {
	color: #003BBA;
}

/* Sidebar */

/*Donate Widget*/

.donate-widget{
    background-color: #ececec;
    padding: 0.5% 7% 6% 7%;
}

.donate-widget .tdm-title-md {
	color: #5daa1d;
    font-weight: 600;
    font-size: 28px;
    line-height: 36px;
}

.donate-widget a {
	color: white;
    margin-top: 10px;
}
.donate-widget a:hover {
	color: white !important;
    text-decoration: none !important;
}

/* FB widget */
#fb-root{
	display:none;
}
/* Newsletter signup CTA */
#newsletter-signup {
	padding: 0.5% 7% 6% 7%;
    width: 100%;
	background-color: #ececec;
	color: black;
}
#newsletter-signup h3, #newsletter-signup .tdc-font-fa {
	color: #2107B2;
	font-weight: 600;
	font-size: 28px;
    line-height: 36px;
}
#newsletter-signup p {
	/*font-family: "Quattrocento Sans", sans-serif;*/
    font-size: 17px;
    line-height: 24px;
	font-weight: 500;
}
#newsletter-signup .tds-button .tds-button1 {
	background-color: #2107B2;
}
#newsletter-signup .tds-button a, #newsletter-signup .tds-button a:hover {
    color: white;
	text-decoration: none !important;
}

/* NewsMatch Donate CTA */
#newsmatch-signup {
	padding: 0.5% 7% 6% 7%;
    width: 100%;
    background: #ececec url("https://www.coloradoindependent.com/wp-content/uploads/bg-1.jpg") no-repeat right top;
	color: black;
}
#newsmatch-signup h3, #newsmatch-signup .tdc-font-fa {
	color: #2107B2;
	font-weight: 600;
	font-size: 28px;
    line-height: 36px;
}
#newsmatch-signup p {
	/*font-family: "Quattrocento Sans", sans-serif;*/
    font-size: 17px;
    line-height: 24px;
	font-weight: 500;
}
#newsmatch-signup .tds-button .tds-button1 {
	background-color: #2107B2;
}
#newsmatch-signup .tds-button a, #newsmatch-signup .tds-button a:hover {
    color: white;
	text-decoration: none !important;
}

/* FB and Twitter widgets in sidebar */
aside.widget_twitter_timeline .block-title {
    border-bottom: 2px solid #FB0303;
}
aside.widget_twitter_timeline .block-title > span {
	background-color: #FB0303;
}
aside.widget_facebook_likebox .block-title {
    border-bottom: 2px solid #CB8CFE;
}
aside.widget_facebook_likebox .block-title > span, aside.widget_facebook_likebox .block-title > span > a {
	background-color: #CB8CFE;
}

/* Hide counters in author page */
.author .td-author-counters {
	display: none;
}

/* Mailchimp form styles */

#mc4wp-form-1{
    padding: 20px 15px !important;
    background: #ececec;
}
#mc4wp-form-1 p {
    margin-bottom: 10px;
}
#mc4wp-form-1 p:last-child {
    margin: 30px 0 20px 0;
}
#mc4wp-form-1 input[type="submit"]{
    background: #02E5FC;
    padding: 15px;
}
#mc4wp-form-1 input[type="submit"]:hover {
    background: #222;
}
#mc4wp-form-1 .title-subscribe {
	color: #02E5FC;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}
#mc4wp-form-1 input[type="email"], #mc4wp-form-1 input[type="text"] {
    height: 50px;
    border: none;
    border-radius: 3px;
	font-size: 14px;
}
#mc4wp-form-1 select {
	height: 30px;
    border: none;
    border-radius: 3px;
}
#mc4wp-form-1 input::placeholder {
    font-size: 14px;
}

/* Eventbrite widget */
/* Eventbrite */

#eb-widget.eaw-block li {
	margin-left: 0 !important;
}
#eb-widget .eaw-booknow a {
	color: #5daa1d;
	font-weight: bold;
	font-size: 14px;
}
#eb-widget .eaw-booknow a:hover {
	text-decoration: underline !important;
}
#eb-widget h3.eaw-title a {
	font-family: 'Quattrocento Sans', sans-serif;
    font-size: 17px;
    line-height: 24px;
    font-weight: 500;
	padding-top: 20px;
}
#eb-widget .eaw-thumb {
    border: none;
    margin: 0;
    padding: 0;
    width: 100%;
}
#eb-widget {
	padding: 6% 7%;
    background-color: #f7f7f7;
}
#eb-widget .eaw-time {
	color: #aaa;
	font-size: 14px;
    line-height: 120%;
	font-family: "NunitoSans-Light";
}
#eb-widget.eaw-block ul {
	margin-bottom: 0;
}
#eb-widget ul.eaw-ulx > li:last-child {
    border-bottom: 1px solid #f7f7f7;
    margin-bottom: 0;
	padding-bottom: 0;
}
#eb-widget img.eaw-alignleft {
    float: none;
}
/* Events widget/////////////////////////////////////////////////////// */
.events-widget .entry-thumb {
	width: 100%;

}


/* Author single increase font size */
.author-box-wrap .desc {
	font-size: 15px;
}

/* Just in - styles as per design */
.just-in .td_module_8 {
    padding-bottom: 10px;
    border-bottom: none;
}
.just-in .td_module_8 .entry-title {
	line-height: 22px;
}

/* Contact form styles */ 
.wpcf7-form input[type=text], .wpcf7-form input[type=email], .wpcf7-form textarea {
    font-size: 14px;
    line-height: 100%;
    color: #6f6f6f;
    border: 1px solid #f5f5f5;
    background-color: #f5f5f5;
    width: 100%;
    max-width: 100%;
    height: 45px;
    padding: 3px 9px;
    border-radius: 4px;
    margin-bottom: 12px;
}
.wpcf7-submit {
    border-radius: 4px !important;
    background-color:#FC7104 !important;
    width: 100%;
    max-width: 165px;
    height: 48px;
    font-size: 14px;
}
.wpcf7-submit:hover {
    background-color:#222 !important;
}


.wpcf7-form label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

.wpcf7-form textarea {
    padding-top: 8px;
}

.use-floating-validation-tip span.wpcf7-not-valid-tip {
    border: none !important;
    background: rgba(0, 0, 0, 0.81) !important;
    color: white;
    width: auto;
    border-radius: 4px;
    top: 0;
    right: 10%;
    left: auto;
}

.use-floating-validation-tip .your-message span.wpcf7-not-valid-tip {
    top: -40px;
}

div.wpcf7-response-output {
    margin: 2em 0;
    padding: 0.2em 1em;
    border: 2px solid #cda038;
    max-width: 358px;
}

/* Submit Your Article */

/*#usp_form fieldset.usp-email {
	width: 49%;
    margin-left: 1%;
    float: left;
}
#usp_form fieldset.usp-name {
	width: 49%;
    margin-right: 1%;
    float: left;
}*/
#usp_form fieldset{
	border: none;
    margin: 15px 0px;
    padding: 0;
}

#usp_form label{
	display:none;
}

#usp_form .usp-checkbox label{
	display:initial;
}

#usp_form input{
    font-size: 14px;
    border: 1px solid #e1e1e1;
    height: 50px;
    border-radius: 4px;
    padding: 3px 15px;
}
#usp_form input[type=submit] {
	background-color: #FCD604;
}
#usp_form input[type=submit]:hover {
	background-color: #222;
}


#user-submitted-checkbox{
	height:auto !important;
}

#usp_form textarea{ 
	 border-radius: 4px;
	  font-size: 14px;
}
#user-submitted-posts div#usp-success-message {
    border: solid 1px #5daa1d;
    padding: 10px;
}

#user-submitted-posts #usp-error-message {
    border: solid 1px #FFCC33;
    padding: 10px;
    margin-bottom: 40px;
}

#user-submitted-posts .parsley-errors-list li {
    color: #FFCC33;
}

/* Governor's Race */

/* Menu */
aside.td_block_template_1.widget.shailan-dropdown-menu-widget {
    overflow: visible;
}
aside.td_block_template_1.widget.shailan-dropdown-menu-widget ul.sub-menu {
	background-color: white;
}
aside.td_block_template_1.widget.shailan-dropdown-menu-widget ul.sub-menu li {
	padding: 8px 0;
}

.elections-menu{
	    background: #ddd;
    padding: 20px;
}

.elections-menu aside{
	    margin-bottom: 0px;
}

.elections-menu ul.dropdown li a {
    text-transform: uppercase;
    font-weight: bold;
}

.elections-menu .menu-alignment-wrap{
    margin-left: auto;
    float: none !important;
    margin-right: auto;
}

.elections-menu ul.sub-menu {
    background-color: white;
    box-shadow: 7px 7px 21px -6px rgba(0, 0, 0, 0.49);
    -webkit-box-shadow: 7px 7px 21px -6px rgba(0, 0, 0, 0.49);
    -moz-box-shadow: 7px 7px 21px -6px rgba(0, 0, 0, 0.49);
	margin-top: 10px;
}

.elections-menu .sub-menu a{
    color: #5daa1d;
    text-transform: inherit !important;
    display: block;
    padding: 10px 14px;
}

.elections-menu .sub-menu a:hover{
	background:#5daa1d;
	color:white;
}

.elections-menu .sub-menu li{
	padding:0px !important;
}

@media (max-width: 767px) {

	ul.dropdown > li {
		float: none;
	}
	.elections-menu ul.dropdown li a {
		display: inline-block;
		padding: 10px 0;
		width: auto;
	}
	.elections-menu ul.sub-menu {
		background-color: transparent !important;
		box-shadow: none;
		margin-top: 0;
		position: relative;
	}
	.elections-menu ul.dropdown > li {
		float: none;
		display: block;
	}
	.elections-menu .menu-alignment-wrap {
		margin: 0;
	}
	.elections-menu ul.dropdown li.parent:hover>a:after {
		top: 11%;
	}
	.elections-menu .sub-menu a {
    	padding: 10px 20px !important;
	}

}

/* Increase tab height on mobiles (Related posts / More from Authors) */
@media (max-width: 767px) {

	.td_block_template_1 .td-related-title > .td-related-left, .td_block_template_1 .td-related-title > .td-related-right {
		padding: 15px 12px 15px 12px !important;
	}
}

/* Hide link icon in carousel */
.dont-miss .sa_owl_theme .owl-item .sa_hover_container .sa_hover_buttons{
/*top: 0 !important;
    opacity: 0;
    left: 0 !important;
    width: 100%;
    height: 100%;
    margin-top: 0px !important;
    margin-left: 0px !important;*/
}

.dont-miss .sa_owl_theme .owl-item .sa_hover_container:hover .sa_hover_buttons .sa_slide_link_icon:hover, .dont-miss .sa_owl_theme .owl-item .sa_hover_container:hover .sa_hover_buttons .sa_popup_zoom_icon:hover, .dont-miss .sa_owl_theme .owl-item .sa_hover_container:hover .sa_hover_buttons .sa_popup_video_icon:hover {
	/*transition: none !important;
	-webkit-transition: none !important;
	-moz-transition: none !important;
	-o-transition: none !important;*/
}
.dont-miss .sa_hover_buttons {
	top: 0 !important;
	left: 0 !important;
	margin: 0 !important;
	width: 100% !important;
	height: 100% !important;
}


/* WHITE COLOR SCHEME */

.dont-miss .white .sa_owl_theme .owl-item .sa_hover_container .always_visible .sa_slide_link_icon, .dont-miss .white .sa_owl_theme .owl-item .sa_hover_container:hover .sa_hover_buttons .sa_slide_link_icon {
	background:none !important;
}

/* BLACK COLOR SCHEME */

.dont-miss .black .sa_owl_theme .owl-item .sa_hover_container .always_visible .sa_slide_link_icon, .dont-miss .black .sa_owl_theme .owl-item .sa_hover_container:hover .sa_hover_buttons .sa_slide_link_icon {
	background: none !important;
}
.dont-miss .sa_owl_theme .owl-item .sa_hover_container .always_visible .sa_slide_link_icon, .dont-miss .sa_owl_theme .owl-item .sa_hover_container:hover .sa_hover_buttons .sa_slide_link_icon {
	width: 100% !important;
	height: 100% !important;
	min-width: 100%;
	min-height: 100%;
}


/* Donorbox */
/* Center form */
iframe[name=donorbox] {
  max-width: 425px !important;
  margin: auto;
  display: block;
}
/* Do not center donors wall */
.page-id-157428 iframe[name=donorbox] {
  max-width: none !important;
  margin: 0;
  display: block;
}


/* Grids - no zoom on hover */
.td-hover-1 .td-module-thumb .entry-thumb {
     transition: none !important; 
    -webkit-transition: none !important; 
}
.td-hover-1 .td-big-grid-post:hover .td-module-thumb .entry-thumb {
    transform: none !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
}

/* Grid - change size of columns */
/* Apply to only devices bigger than mobile */
@media (min-width: 768px) {
	.td_block_big_grid_12 .td_module_mx5 {
		width: 68.3%;
		padding-right: 26px;
	}
	.td_block_big_grid_12 .td-big-grid-post-1, .td_block_big_grid_12 .td-big-grid-post-2 {
		width: 31.3%;
	}
	.td_block_big_grid_12 .td_module_mx5 .td-module-thumb {
		/*height: 480px;*/
	}
	.td_block_big_grid_12 .td-big-grid-wrapper .td-big-grid-post:last-child .td-module-thumb {
		margin-top: 26px;
	}
	.td_block_big_grid_12 .td_module_mx5 img.entry-thumb {
		min-width: 100% !important;
		-o-object-fit: contain !important;
		object-fit: contain !important;
		min-height: 450px;
	}
	.td_block_big_grid_12 .td-big-grid-wrapper .td-big-grid-post:last-child .td-module-thumb {
		margin-top: 20px !important;
	}
	.td_block_big_grid_12 .td-big-grid-post-2 .td-module-thumb {
		height: 215px !important;
	}
	.td_block_big_grid_12 .td-big-grid-post-1 .td-module-thumb {
		height: 215px !important;
	}

	.td_block_big_grid_12 .td_module_mx5 .td-module-thumb {
		height: 450px !important;
	}
}

/* Podcasts - Add margin below player */

.powerpress_player {
	margin-bottom: 30px;
}

/* Podcast - Home - Fix thumb size */

.podcast-home .td_module_mx17 .entry-thumb {
	/* max-width: 100% !important; */
}

/* Hide thumb in video section - featured post*/
.hide-thumb .td_module_mx16 .td-module-image {
	display: none;
}
.hide-thumb .td_module_mx16 .td-item-details {
	margin-left: 0;
}

/* The Mix - author and date next in same line */
.the-mix .td_module_mx7 .td-post-author-name {
	display: inline-block;
}
.td_module_mx7 .td-post-author-name span {
	display: inline;
}

/* Hide More from author in Guest Posts */
.single-post.guest-post .td-related-right {
	display: none !important;
}

#menu-item-173656 {
	background-color: #5daa1d;
	padding-left: 12px;
	padding-right: 12px;
}

#menu-item-173656 a:hover {
	color: black !important;
}

#menu-item-173656 a {
	width: auto;
	margin: 0;
	padding: 0;
}

.maclink {
	background-color: #5daa1d !important;
}

.mactitle {
	color: white !important;
}

.side-widget.republication tracker tool button.republication-tracker-tool-button, 
.widget.republication tracker tool button.republication-tracker-tool-button {
    width: 100%;
    background-color: red;
    border: 1px solid #2863a7;
    color: #fff;
    padding: 1em;
    font-size: 1.25em;
    margin: 0 0 1em 0;
    display: block;
    border-radius: .25em;
    font-weight: bold;
    text-shadow: 1px 1px 1px #2863a7;
}