:root {
	--site-brand-width: 360px;
	--new-site-brand-width: 252px;
}

#masthead {
	border-bottom: none;
}

#masthead .container {
	flex-wrap: wrap;
}

#masthead .container .site-branding {
	flex: 0 0 100%;
	max-width: 100%;
	text-align: center;
}

#masthead .container .site-branding img {
	width: var(--site-brand-width);
	max-width: calc(100vw - 160px);
	transition: filter .6s linear;
}

#masthead.header-scrolled .site-branding img {
	filter: invert(1);
}

.custom-logo-link img {
	max-height: none;
}

/* .header-info ~ img {
	filter: brightness(.4);
} */

.main-navigation {
	text-align: center;
	float: none;
	flex: 0 0 100%;
	max-width: 100%;
}

#mainnav > div {
	display: inline-block;
}

#primary-menu {
	background: black;
}

#button-wrap div {
	left: 50% ;
	transform: translateX(-50%);
}

#follow-us {
	display: none;
}

.header-info {
	top: 50%;
	transform: translateY(-50%);
	background: linear-gradient(to right, transparent 10%, rgba(255,255,255,.6), transparent 90%);
	margin-top: 10px;
}

.header-text {
	color: black;
	font-size: 4vmax;
}

.header-info .container {
	max-width: 80% !important;
}

.header-info .container .image-wrap {
	display: inline-block;
	width: 100vw;
	margin-left: calc(-50vw + 50%);
	padding: 0 10px;
	/* margin-bottom: 20px; */
}

.header-info .container::after {
	content: "";
	clear: both;
	display: block;
}

.header-info .container img {
	width: 8.333333%;
	height: auto;
	float:  left;
	margin-top: 0;
}

.header-info h3 {
	margin-top:10px;
}

.header-info .container img:hover {
	filter: brightness(.7);
}

.image-wrap a:not(:last-child) img {
	border-right: 1px solid black;
}


/*custom owl carousel*/
.owl-stage img {
	/*filter: brightness(.6);*/
}

.owl-stage .captions {
	display: none !important;
}

/* hidden distributors search-bar */
.wpsl-search {
	display: none;
}

/*new social media icons */
#social-icon {
	display: inline-block;
	vertical-align: bottom;
	/* margin-top: 23px; */
	margin-right: -45px;
	/* float: right; */
}

#social-icon span {
	display: inline-block;
	transform: scale(.8);
	transition: all .1s linear;
}

#social-icon span:hover {
	transform: scale(1);
}

#social-icon i::before {
	font-family: 'Font Awesome 5 Brands';
}

#social-icon a:not(:first-child) {
	margin-left: -5px;
}

#social-icon .fb-icon i {
	background: linear-gradient(#16acff, #0064e0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#social-icon .fb-icon {
	background: radial-gradient(circle at 50% 50%, white 60%, transparent 60%);
}

#social-icon .ig-icon {
	width: 48px;
  height: 48px;
  border-radius: 50%;
  background:  
    radial-gradient(circle at 20% 110%, #ffd46e 15%, #fe5c2d 40%, transparent 60%),
    radial-gradient(circle at 30% -10%, #5e34de 15%, #e01f7a 50%, transparent 70%),
    linear-gradient(#e11a9b,#e11a9b);
  display: inline-block;
  position: relative;
  vertical-align: top;
}

#social-icon .ig-icon i {
	color: white;
  font-size: 3.7rem;
  position: absolute;
  top:50%;
  left:50%;
  transform: translate(-50%, -50%);
}

/* this make search bar below the main menu
#keysearch-bar {
	position: static !important;
	top: 87% !important;
	right: 50% !important;
	transform: translateX(50%) !important;
	width: 50% !important;
	padding: 0 10px !important;
	transition: max-height .3s linear !important;
	overflow-y: hidden !important;
	height: auto !important;
	max-height: 30px;
}
*/

.widget-area {
	float: right;
	position: -webkit-sticky;
	position: sticky;
	top: 160px;
	margin-right: 0;
}

#keysearch-bar {
	display: none;
}

#keysearch-bar {
	top: 60% !important;
	/*left: calc(var(--site-brand-width) + 20px);
	right: auto !important;*/
	/*width: calc(50% - var(--site-brand-width) - 20px) !important; */
	padding: 0 10px !important;
	transition: max-height .3s linear !important;
	overflow-y: hidden !important;
	height: auto !important;
	max-height: 30px;
}

#keysearch-bar input {
	height: 30px;
}

#keysearch-bar.bar-closing {
	max-height: 0 !important;
}

#search-logo {
	top: 90px !important;
}

#search-logo i:first-child {
	opacity: 0;
}

#search-logo i:last-child {
	opacity: 1;
}

#search-logo.logo-closing i:first-child {
	opacity: 1;
}

#search-logo.logo-closing i:last-child {
	opacity: 0;
}

/* switch */

#page .layout-switch {
	position: fixed;
	left: 50%;
	bottom: 0;
/* 	width: 25%;
	max-width: calc(var(--switch-height) * 2 + 20px);
	height: calc(var(--switch-height) + 10px); */
	transform: translateX(-50%);
	border-radius: calc(var(--switch-height) + 10px) calc(var(--switch-height) + 10px) 0 0;
	background: black;
	padding: 10px 15px 0px;
	border: 2px solid white;
	border-bottom: none;
	text-align: center;
	width: 200px;
	z-index: 10000;
}

#layout-switch span {
	font-size: 1.5rem;
}

@media only screen and (max-width: 1024px){
	#masthead .site-branding img {
		filter: invert(1);
	}
	/*
	.header-image {
		min-height: 60vh;
		background-image: url("http://www.broncoatv.com/wp-content/uploads/2020/05/20200511_bg.jpg");
		background-size: auto 100%;
		background-position: 50% 0;
	}
	*/
	.header-image .small-header {
		display: none;
	}
	
	.header-info .container {
		display: none;
	}

	.header-info .container img {
		width: 16.66666%;
	}

	.image-wrap a:nth-child(n+7) img {
		border-top: 1px solid black;
	}

	.image-wrap a:nth-child(6n) img {
		border-right: none;
	}

	#keysearch-bar {
		width: 100% !important;
		overflow: hidden !important;
		margin-top: 10px !important;
		padding: 0 10px !important;
		transform: translate(0, 0) !important;
	}

	#keysearch-bar {
		position: static;
		top: unset;
		left: unset;
	}

	#masthead .btn-menu {
		display: inline-block;
		width: auto;
		margin-left: calc(50% - 12.25px);
	}

	#search-logo {
		position: relative !important;
		top: 0 !important;
		margin-left: 30px;
		display: inline-block;
		transform: none;
	}

	#search-logo i {
		top: 50%;
	}

	.header-info {
		top: 50% !important;
		transform: translateY(-50%);
	}

	#button-wrap div {
		left: 0%;
		transform: translateX(0%);
		top: 0;
	}

	.header-info .container h3 {
		font-size: 2vw !important;
	}
}

@media only screen and (max-width: 768px) {

}

@media (min-width: 1200px){
	.container {
		max-width: 1450px;
		width: 90%;
    	
	}
	
	.content-area.list {
		max-width: calc(100% - 400px);
		width: auto;
	}
}



/* 20230419 new header style for desktop */
@media only screen and (min-width: 1025px) {
	:root {
		--site-brand-width: 252px;
	}

	#masthead {
		position: relative;
		border-bottom: 2px solid rgb(130,130,130) !important;
		padding: 15px 0 !important;
		background-color: white !important;
	}

	/* header.header-scrolled {
		background-color: white !important;
	} */

	#masthead::after {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		width: calc(var(--site-brand-width) + 30px);
		height: calc(100% + 2px);
		background: black;
		z-index: 2;
	}

	#masthead::before {
		content: "";
		position: absolute;
		bottom: 0;
		left: calc(var(--site-brand-width) + 30px);
		border-top: 200px solid black;
		border-left: 200px solid transparent;
		width: 200px;
		transform: rotate(-90deg);
		filter: drop-shadow(2px 0px 7px black);
	}

	#masthead .container {
		display: flex;
		margin: 0px;
		max-width: 100%;
		width: 100%;
		position: relative;
		z-index: 20;
	}

	#masthead .container .site-branding,
	#masthead .container #mainnav {
		width: auto;
		display: inline-flex;
		max-width: none !important;
		flex: auto !important;
	}

	#masthead .container .site-branding img {
		filter: invert(1);
		width: var(--site-brand-width) !important;
	}

	#masthead .container .site-branding #social-icon {
		display: none;
	}

	#masthead .container #mainnav ul {
		background-color: white;
	}

	#masthead .container #mainnav ul ul {
		background-color: white !important;
		box-shadow: 0px 15px 10px -5px rgba(20,20,20,0.5), 0px 0px 2px 0px rgba(20,20,20,.5) !important;
	}

	#masthead .container #mainnav ul a {
		color: black;
		font-weight: 700;
		font-size: 1.15em
	}
}