/*!
Theme Name: Forcast
Theme URI: https://byteflows.net/wp/forcast-main
Author: byteflows
Author URI: http://byteflows.com/
Description: Forcast - WordPress News Magazine Theme
Version: 1.0.5
Tested up to: 8.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: forcast
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Empath is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/


/* CCG sitewide header repair */
.ccg-site-header{
	position:relative;
	z-index:1000;
	width:100%;
	background:#fff;
	border-bottom:1px solid #dce7ef;
	box-shadow:0 3px 18px rgba(7,26,51,.05);
}
.ccg-header-shell{
	max-width:1180px;
	margin:0 auto;
	padding:18px 20px 14px;
}
.ccg-brand{
	display:flex;
	justify-content:center;
	align-items:center;
	margin-bottom:14px;
}
.ccg-brand a{
	display:inline-flex;
	align-items:center;
	justify-content:center;
}
.ccg-brand img{
	display:block;
	width:auto;
	max-width:250px;
	max-height:105px;
	object-fit:contain;
}
.ccg-nav-wrap{
	display:flex;
	align-items:center;
	justify-content:center;
	min-height:44px;
	border-top:1px solid #edf2f6;
}
.ccg-primary-nav{
	width:100%;
}
.ccg-primary-nav .nav{
	display:flex;
	flex-wrap:wrap;
	align-items:center;
	justify-content:center;
	gap:0;
	margin:0;
	padding:0;
	list-style:none;
}
.ccg-primary-nav .nav>li{
	position:relative;
	margin:0;
	padding:0;
	list-style:none;
}
.ccg-primary-nav .nav>li>a{
	display:block;
	padding:13px 14px 11px;
	color:#071a33;
	font-size:13px;
	line-height:1.2;
	font-weight:800;
	letter-spacing:.015em;
	text-transform:uppercase;
	text-decoration:none;
	border-bottom:3px solid transparent;
	transition:color .18s ease,border-color .18s ease,background .18s ease;
}
.ccg-primary-nav .nav>li>a:hover,
.ccg-primary-nav .nav>li.current-menu-item>a,
.ccg-primary-nav .nav>li.current-menu-ancestor>a{
	color:#0b65d8;
	border-bottom-color:#18c9d2;
	background:#f7fbfe;
}
.ccg-primary-nav .dropdown-menu{
	position:absolute;
	top:100%;
	left:0;
	z-index:1002;
	display:none;
	min-width:230px;
	margin:0;
	padding:8px 0;
	list-style:none;
	background:#fff;
	border:1px solid #dce7ef;
	border-radius:8px;
	box-shadow:0 12px 30px rgba(7,26,51,.12);
}
.ccg-primary-nav li:hover>.dropdown-menu,
.ccg-primary-nav li:focus-within>.dropdown-menu{
	display:block;
}
.ccg-primary-nav .dropdown-menu li{
	margin:0;
	list-style:none;
}
.ccg-primary-nav .dropdown-menu a{
	display:block;
	padding:10px 16px;
	color:#071a33;
	font-size:13px;
	font-weight:700;
	text-decoration:none;
}
.ccg-primary-nav .dropdown-menu a:hover{
	color:#0b65d8;
	background:#f4f8fb;
}
.ccg-mobile-nav{
	display:none;
}
@media (max-width:991px){
	.ccg-header-shell{
		display:flex;
		align-items:center;
		justify-content:space-between;
		gap:18px;
		padding:12px 16px;
	}
	.ccg-brand{
		justify-content:flex-start;
		margin:0;
	}
	.ccg-brand img{
		max-width:165px;
		max-height:72px;
	}
	.ccg-nav-wrap{
		min-height:0;
		border-top:0;
	}
	.ccg-primary-nav{
		display:none;
	}
	.ccg-mobile-nav{
		display:block;
	}
	.ccg-mobile-nav .mobile_menu_button{
		display:flex;
		align-items:center;
		justify-content:center;
		width:44px;
		height:44px;
		border-radius:7px;
		background:#071a33;
		color:#fff;
		font-size:20px;
		cursor:pointer;
	}
}
@media (max-width:480px){
	.ccg-brand img{
		max-width:140px;
		max-height:62px;
	}
}

/* CCG full-width brand logo sizing */
.ccg-header-shell{padding-top:10px;padding-bottom:10px;}
.ccg-brand{margin-bottom:8px;}
.ccg-brand-link{display:block;width:min(100%,430px);}
.ccg-brand-logo{display:block;width:100%!important;height:auto!important;max-width:430px!important;max-height:none!important;object-fit:contain;}
.ccg-nav-wrap{min-height:40px;}
@media (max-width:991px){
	.ccg-header-shell{padding:8px 14px;}
	.ccg-brand{margin:0;}
	.ccg-brand-link{width:min(72vw,280px);}
	.ccg-brand-logo{max-width:280px!important;max-height:none!important;}
}
@media (max-width:480px){
	.ccg-brand-link{width:min(70vw,235px);}
	.ccg-brand-logo{max-width:235px!important;max-height:none!important;}
}
