/*
 Theme Name:   Cleanead Custom
 Theme URI:    http://themecountry.com/theme/cleanead (parent)
 Author:       customized by Steve Zilko
 Author URI:   https://themecountry.com (parent)
 Description:  Cleanead Child Theme for CFI
 Template:     cleanead
 Version:      1.0.54
 Tags:         one-column, two-columns, right-sidebar, accessibility-ready, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
*/


/** Page Header **/
.navbar {
	margin-top: 20px;
	margin-top: 10px;
}
.container {
	max-width: 990px; /* or 1035? */
	max-width: none;
}
.site-branding {
	padding-top: 12px;
	width: 500px;
}
/***** title and description not currently being displayed *****/
.site-title {
	line-height: 40px;
	font-size: 28px;
	font-size: 36px;
	line-height: 44px;
}
.site-description {
	display: block;
	font-size: 16px;
	color: #666666;
	float: left;
	margin-top: 16px;
	margin-top: 40px;
}
/***************************************************************/
.site-title img {
	display: block;
	margin-top: 7px;
}

/****** COLOR PALETTE ******/
.navbar,
.site-info {
	background-color: #293e6a; /* <1> dark blue */
}
.navbar h2.site-description {
	color: #b0d892; /* <1> light green */
}
.navbar {
/*	border-bottom: solid 10px #3b5998; /* medium blue */
}
.top-right .main-nav ul {
/*	background-color: #3c4c6e; /* grayer blue */
}
.top-right .main-nav ul ul {
/*	background-color: #3c4c6e; /* grayer blue */
}
.top-right .main-nav ul li:hover > a,
.top-right .main-nav ul li a:hover {
	background-color: #3b5998; /* <1> medium blue */
}
.top-right .main-nav .current_page_item > a,
.top-right .main-nav .current-menu-item > a,
.top-right .main-nav .current-menu-parent > a,
.top-right .main-nav .current_page_parent > a {
	background-color: #293e6a; /* <1> dark blue */
}

.search-form input.search-submit {
	border: solid 1px #3b5998; /* <1> medium blue */
	background-color: #3b5998; /* <1> medium blue */
}
.search-form input.search-submit:hover {
	background-color: #639bf1; /* <1> bright blue */
	border: solid 1px #639bf1; /* <1> bright blue */
}
.search-form a,
.search-form a:hover {
	color: #ffffff; /* <1> white - Dave insisted on this */
}

.site-info {
	border-top: solid 10px #3b5998; /* medium blue */
}
/**************************************/

/*** Main navigation menu ***/
.top-right .main-nav ul {
	margin-right: -12px;
}
.top-right .main-nav ul li a {
	padding: 10px 20px;
	font-family: "Merriweather";
	font-family: "Gill Sans", "Arial", "Helvetica", sans-serif;
	font-weight: normal;
    font-size: 14px;
	font-family: "Arial";
	font-weight: bold;
    font-size: 12px;
	letter-spacing: 0.75px;
	padding: 5px 12px 5px 12px;
}
/**************************************/

/****** LINK BEHAVIOR ******/
a:hover {
	text-decoration: underline;
}
.navbar a:hover {
	text-decoration: none;
}
.search-form a:hover {
	text-decoration: underline;
}
/**************************************/

#header-widget-area {
	float: right; 
	padding: 15px 15px 12px 30px;
	padding: 15px 15px 12px 26px;
}
/**
#header-widget-area label {
	margin-bottom: 0;
}
**/

/** Header mini search form **/
.cfi-header-widget input.search-field {
	font-size: 12px;
	line-height: 1;
	min-height: 24px;
	height: 24px;
	width: 300px;
}
.cfi-header-widget input.search-submit {
	font-family: "Arial";
	font-weight: bold;
    font-size: 12px;
	letter-spacing: 0.75px;
	line-height: 1;
	min-height: 24px;
	height: 24px;
}
.cfi-header-widget input.search-submit {
	margin-top: 3px;
}

div#cfi-header-search-placeholder {
	height: 30px;
}

	
.content-area {
	border-right: 0;
	padding: 0 15px;
	max-width: 990px; /* or 1035? */
	max-width: none;
}
p {
	margin: 0 0 25px 0;
	margin: 0 0 15px 0;
	line-height: 22px;
}

/** Home - intro content with image **/
div#home_intro {
	float: left;
	overflow: hidden;
}
div#home_intro_left {
	float: left;
	width: 50%;
	position: relative;
	text-align: center;
}
/** overlay still in use? **/
div#home_intro_overlay {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 80%;
}	
div#home_intro_overlay h2 {
	font-size: 24px;
	line-height: 30px;
	font-style: italic;
	letter-spacing: 2px;
	color: white;
}
div#home_intro_overlay h3 {
	font-size: 16px;
	line-height: 22px;
	font-weight: normal;
	letter-spacing: 0px;
	color: white;
	padding-top: 20px;
	padding-bottom: 30px;
	padding-left: 4px;
}
/** **/
div#home_intro_right {
	float: left;
	width: 50%;
	padding-bottom: 100%;
	margin-bottom: -100%;
	background-color: #cfa833; /* Scout22 gold */
	text-align: center;
}
div#home_intro_text {
	padding: 26px 20px 0 20px;
	padding: 26px 34px 0 34px;
}
div#home_intro_text h4 {
	color: white;
	margin-top: 0;
	margin-bottom: 18px;
}
div#home_intro_text p {
	color: white;
	font-size: 15px;
	line-height: 20px;
	margin-bottom: 20px;
}
div#home_intro_text b {
	font-size: 16px;
	padding-right: 2px;
}
div#home_intro_text i {
	font-size: 15px;
}
div#home_intro_text a {
	color: #293e6a; /* <1> dark blue */
}
div#home_intro_text p span#eval_crit {
	font-size: 13px;
}

.cfi_pre_companies p {
	float: right;
	width: auto;
	padding: 18px 0 12px 0;
}
.cfi_pre_companies .cfi-header-widget input.search-submit {
	margin-top: 1px;
	margin-top: 0;
	height: 28px;
}
.cfi_pre_companies .cfi-header-widget input.search-field {
	height: 28px;
}
.cfi_pre_companies .search-form .search-field {
	width: 350px;
}

/** Home - Alphabetical navigation **/
div#alpha_navigation {
 	float: left;
 	width: 70px;
}
div#alpha_navigation h2 {
	font-size: 11px;
	line-height: 12px;
	margin-bottom: 0;
}
ul.alphanav {
	float: left;
	clear: left;
	list-style: none;
	padding-top: 11px;
	padding-left: 0;
}
ul.alphanav li {
	float: left;
	clear: left;
	line-height: 20px;
}
ul.alphanav ul {
	float: left;
	clear: left;
	padding-left: 17px;
	margin-bottom: 2px;
	list-style: none;
}

p#jump-not-exploit {
	display: none;
	margin-bottom: 0;
}


/** Company Good/Bad lists **/
.cfi_companies {
	float: left;
	width: 100%;
	margin-bottom: 50px;
}
.cfi_comp_left {
	float: left;
	width: 335px;
	width: 50%;
	min-width: 400px;
}
.cfi_left_comp_list {
	float: left;
	width: -webkit-calc(100% - 70px);
    width:    -moz-calc(100% - 70px);
    width:         calc(100% - 70px);
}
.cfi_comp_right {
	float: left;
	width: 365px;
	width: 50%;
	min-width: 400px;
}
.cfi_companies h3 {
	margin-bottom: 0;
	white-space: nowrap;
	font-size: 18px;
}
.cfi_companies h3 b {
	color: #cfa833;
}
.cfi_companies hr {
	color: #aaa;
	background-color: #aaa;
	height: 1px;
	border: none;
	margin-top: 5px;
	margin-bottom: 8px;
}

/** Company summaries **/
.cfi_companies .post-item {
	float: left;
	clear:left;
	padding: 0;
	margin: 0;
	border-bottom: 0;
}
.cfi_companies .cfi_comp_left .post-item {
	padding-right: 20px;
}
.cfi_companies .entry-header {
	float: left;
	clear: left;
	margin: 0; padding: 0;
	margin-bottom: 4px;
}
.cfi_companies .entry-title {
	float: left;
	clear: none;
	margin: 0;
	padding: 0;
	font-weight: normal;
	font-size: 11px;
	line-height: 12px;
}
.cfi_companies .entry-title a { color: #333333; }
.cfi_companies .entry-title a:hover {
	color: #3399cc;
}
/** show links with blue color on smaller screen sizes **/
/** use red link color for exploiting companies **/
@media screen and (max-width: 990px) {
	.cfi_companies .entry-title a { color: #3399cc; }
	.cfi_companies .cfi_comp_left .entry-title a { color: red; }
}

.cfi_companies .company-symbol {
	float: left;
	clear: none;
	margin: 0; padding: 0;
	width: 46px;
	color: #333333;
	font-size: 10px;
	line-height: 11px;
}
.cfi_companies .company-symbol b {
	font-family: Arial Black;
}
.cfi_companies .company-symbol a { color: #333333; }
.cfi_companies .company-symbol a:hover { color: #3399cc; }

/** enlarge company entry upon hover **/
.cfi_companies .entry-header:hover a {
	line-height: 30px;
	text-decoration: none;
}
.cfi_companies .entry-header:hover .entry-title a {
	font-size: 18px;
}
.cfi_companies .entry-header:hover .company-symbol  {
/*	width: 60px; */
}
.cfi_companies .entry-header:hover .company-symbol a {
/*	font-size: 16px; */
}


/** Single - company detail **/
.single .site-main {
	padding-top: 10px;
}
.cleanead-breadcrumb a:hover {
	text-decoration: underline;
}
.single .entry-title {
	font-size: 36px;
	font-size: 30px;
}
.single .entry-content h2 {
	font-size: 30px;
	font-size: 24px;
	margin-bottom: 10px;
}
.entry-meta {
	float: left;
	clear: left;
	width: 100%;
	margin-bottom: 30px;
	font-size: 12px;
	line-height: 20px;
	color: #555;
}
.entry-meta * {
	color: #555;
}
.entry-meta a {
	color: #3399cc;
}
.entry-meta a:hover {
	text-decoration: underline;
}

.entry-meta > span {
/**	position: relative;
	padding: 0 10px; **/
	padding-left: 0;
	padding-right: 20px;
	float: left;
	clear: left;
	width: 100%;
}
.entry-meta > span:not(:last-child):before {
	content: '';
}
.entry-meta .meta_industry,
.entry-meta .meta_stock,
.entry-meta .meta_indexes,
.entry-meta .meta_usage {
}
.entry-meta .meta_usage {
	padding-top: 10px;
}
.entry-meta .meta_usage a {
	font-weight: bold;
	color: red;
}
.entry-meta .meta_usage .usage_none a {
	color: #66cc00;
}
.entry-meta .meta_symbol {
	font-family: Arial Black;
}
.entry-meta .meta_contact {
}

/** Custom Search Page - Form **/
.cfi-search-label {
	float: left;
	clear: left;
	margin-right: 10px;
	margin-left: 16px;
}

.cfi_comp_counters {
	float: left;
	margin-top: 40px;
}
.cfi_comp_counters p {
	line-height: 20px;
}
.cfi_comp_counters b {
	font-family: Arial Black;
	font-size: 20px;
	margin-right: 5px;
}

/** 10 Worst Companies page **/
div#ten-worst-list {
	float: left;
	width: 100%;
	font-size: 16px;
}
.ten-worst-entry {
	display: table;
	margin-bottom: 15px;
	width: 740px;
}
.ten-worst-img {
	display: table-cell;
	vertical-align: middle;
}
.ten-worst-lead {
	display: table-cell;
	vertical-align: middle;
	width: 625px;
	padding-left: 15px;
}
.ten-worst-lead a b {
	color: #333333;
}
.ten-worst-lead a:hover {
	text-decoration: none;
}
.ten-worst-lead a:hover .twl {
	text-decoration: underline;
}
.ten-worst-lead .twt {
	font-size: 15px;
	padding-left: 5px;
}

/** Vegan Venture Capital Funds page **/
div#vvcf-company-list {
	float: left;
	width: 100%;
	margin-top:50px;
}
.vvcf-entry {
	margin-bottom: 30px;
	width: 740px;
	width: auto;
}
.vvcf-logo {
	display: inline-block;
	vertical-align: middle;
	padding-right: 30px;
}
.vvcf-logo img {
	width: 250px;
	max-width: 250px;
}
.vvcf-content {
	display: inline-block;
	vertical-align: middle;
	width: 625px;
	width: auto;
}
.vvcf-content h4 {
	margin: 0 0 10px 0;
}

/** Full Search page **/
.search-form input.search-field {
}
.search-form input.search-full {
/**	width: 565px; **/
}
.search-form input.search-submit {
}

/** Footer **/
.site-info {
	text-align: right;
	padding-right: 30px;
	font-family: "Arial";
	font-weight: bold;
    font-size: 12px;
	letter-spacing: 0.75px;
}
.site-info a {
	text-decoration: none;
}

.site-info a:hover {
	text-decoration: underline;
}

/** Responsive rules **/

/** disable hiding default menu and replacing with menu toggle.  remove this from markup? **/
@media screen and (max-width: 1030px) {
	.arrow-menu,
	.menu-toggle {
		display: none;
	}
	.top-bar .top-left *,
	.navbar .top-right {
		display: block;  /** don't hide this **/
	}
	.top-bar .top-left {
		margin: 7px 0;
	}
	/** hide cow picture **/
	div#home_intro_left {
		display: none;
	}
	div#home_intro_right {
		width: 495px;
		width: auto;
	}
}

@media screen and (max-width: 990px) {
	.site-title {
		line-height: 40px;
		font-size: 32px;
	}
	.site-description {
		font-size: 14px;
		margin-top: 14px;
	}
	.navbar .top-right {
		float: left;
		clear: right;
	}
	.navbar .top-right .main-nav {
		float: left;
	}
	#header-widget-area {
		float: left;
		margin-top: 20px;
	}
	p#jump-not-exploit {
		display: block;
		float: left;
		clear: left;
		padding-top: 20px;
	}
}

@media only screen and (max-width: 767px) {
	.navbar .top-right {
		padding: 0;
	}
	/** no wrap on 10 worst page **/
	.ten-worst-entry {
		width: 500px;
	}
	.ten-worst-lead {
		width: 385px;
	}
	div#vvcf-company-list {
		text-align: center;
	}
	.vvcf-entry {
		margin-bottom: 50px;
	}
	.vvcf-logo {
		display: block;
		margin-bottom: 10px;
	}
	.vvcf-content {
		display: block;
	}
}

/** iphone portrait **/
@media only screen and (max-width: 479px) {
	.site-title {
		line-height: 32px;
		font-size: 24px;
	}
	.site-description {
		margin-top: 12px;
		font-size: 12px;
	}
	/** get content as flush to the left as possible on home page **/
	.home .container,
	.home .content-area {
		padding-left: 0;
	}
	.home .navbar,
	.home p#jump-not-exploit,
	.home .cfi_companies {
		padding-left: 15px;
	}
	div#home_intro_right {
		text-align: left;
	}
	div#home_intro_text {
		padding: 20px 10px 0 20px;
	}
	/** no wrap on 10 worst page **/
	.ten-worst-entry {
		width: 415px;
	}
	.ten-worst-lead {
		width: 300px;
	}
}
