/*
Theme Name: Powerhouse Direct
Author: CDALogic
Description: Wordpress theme built with css grid framework
Version: 2.0
Date: March 2018
*/

/*
BLUE: #298ec6
RED 1: #ea1d25
RED 2: #79101a
*/

:root {
	--grey1: #343434;
	--grey2: #939498;
	--red: #d81e05;
}
#wpadminbar {
	bottom: 0;
	top: auto;
}
.red {
	color: var(--red);
}
* {
	box-sizing:border-box;
	margin: 0;
	padding: 0;
	line-height: 1;
}
body {
	color: #222;
	font-family: 'Roboto', sans-serif;
	overflow-x: hidden;
}
img {
	height: auto;
	max-width: 100%;	
}
.img-full {
	min-width: 100%;
}
.white-on-black,
.white-on-black a {
	background: #000;
	color: #fff;
}
.secondary-on-primary,
.secondary-on-primary a {
	background: var(--grey1);
	color: var(--red);	
}
.primary-on-secondary,
.primary-on-secondary a {
	background: var(--red);
	color: var(--grey1);	
}
/*
===================================================================================================================
HEADINGS
===================================================================================================================
*/
h1,
h2,
h3,
h4,
h5 {
	margin-bottom: 20px;
	text-transform: uppercase;
	line-height: 1.4;
}
h1 {
	font-size: 40px;
}
h2 {
	font-size: 32px;
}
h3 {
	font-size: 26px;
}
h4 {
	font-size: 20px;
}
h5 {
	font-size: 18px;
}
.heading-red-box {
	background: var(--red);
	color: #fff;
	display: inline-block;
	font-size: 24px;
	font-weight: 800;
	padding: 20px;
	text-transform: uppercase;
}
.heading-grey-box {
	background: var(--grey1);
	color: #fff;
	display: inline-block;
	font-size: 24px;
	font-weight: 800;
	padding: 20px;
	text-transform: uppercase;
}
.heading-black-box {
	background: #000;
	color: #fff;
	display: inline-block;
	font-size: 24px;
	font-weight: 800;
	padding: 20px;
	text-transform: uppercase;
}
.heading-mini {
	font-family: 'Montserrat';
	font-size: 24px;
	letter-spacing: 3px;
	margin-bottom: 5px;
	text-transform: uppercase;
}
/*
===================================================================================================================
PARAGRAPH TEXT
===================================================================================================================
*/
p {
	font-size: 16px;
	font-weight: 300;
	line-height: 1.4;
	margin-bottom: 20px;
}
.font-xl {
	font-size: 120%;
}
.font-l {
	font-size: 110%;
}
.font-s {
	font-size: 90%;
}
.font-xs {
	font-size: 80%;
}
/*
===================================================================================================================
LISTS
===================================================================================================================
*/
ul {
	list-style-type: none;
	margin: 0;
	padding-left: 0;
}
ul:after {
	clear: both;
	content: "";
	display: block;	
	float: none;
	/*margin-bottom: 40px;*/
}
li,
dt,
dd {
	font-size: 16px;
	font-weight: 300;
	line-height: 1;
	margin-bottom: 10px;
}
li a {
	display: block;
}
figure {
	margin: 0;
}
ol li {
	list-style-position: inside;
}
/*
===================================================================================================================
LINKS
===================================================================================================================
*/
a, 
a:hover, 
a:active, 
a:focus {
	text-decoration: none;
  	transition: all 0.25s ease-in-out;
}
a {
	color: var(--red);
	font-weight: bold;
}
a.btn,
.btn {
	background: #222;
	color: #eee;	
	text-align: center;
	display: inline-block;
	font-size: 18px;
	font-weight: bold;
	margin: 0 auto 20px auto;
	padding: 20px 40px;
}
.btn-white {
	color: #343434;
	background-color: #ffffff;
	border: 2px solid #343434;
}
/*
===================================================================================================================
FRAMEWORK
===================================================================================================================
*/
.container {	
	margin: 0 auto;
	max-width: 1200px;
	padding: 0 20px;
}
.container-fluid {	
	margin: 0 auto;
	max-width: 100%;
	padding: 0 20px;
}
#page {
	background: #fff;
	border-bottom: 5px solid var(--red);
	/*min-height: 100vh;*/
	padding: 0;
}
/*
===================================================================================================================
FIXES
===================================================================================================================
*/
.clearfix,
.clear {
	clear: both;
	float: none;
}
/*
===================================================================================================================
ALIGNMENTS
===================================================================================================================
*/
.center {
	text-align: center;
}
.right {
	text-align: right;
}
img.alignright { 
	float: right;
	margin: 0 0 15px 15px; 
}
img.alignleft { 
	float: left;
	margin: 0 20px 20px 0;
}
img.aligncenter { 
	display: block; 
	margin-left: auto; 
	margin-right: auto; 
}
.alignright { 
	float: right; 
}
.alignleft {
	float: left; 
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto; 
}
/*
===================================================================================================================
FORM ELEMENTS
===================================================================================================================
*/
input[type="text"], 
input[type="password"], 
input[type="date"], 
input[type="datetime"], 
input[type="datetime-local"], 
input[type="month"], 
input[type="week"], 
input[type="email"], 
input[type="number"],
input[type="tel"], 
input[type="time"], 
input[type="url"], 
input[type="color"], 
textarea {
	background: rgba(255,255,255,0.7);
	border: 1px solid rgba(220,220,220,1);
	color: rgba(0,0,0,1);
	font-family: 'Roboto', sans-serif;	
	font-size: 16px;	
	height: auto;
	margin-bottom: 5px;
	padding: 10px;	
	width: 100%;
}
input[type="submit"] {
	background: var(--grey1);
	border: 0;
	color: rgba(255,255,255,1);
	cursor: pointer;
	/*display: block;*/
	font-size: 19px;
	font-weight: 600;
	letter-spacing: 1px;		
	margin:0 auto 20px auto;
	padding: 10px;
	text-transform: uppercase;
	text-align: center;
	/*width: 100%;*/
}
input[type="number"] {
	width: auto;
}
::placeholder {
    color: inherit;
    opacity: 0.7;
}
/*
===================================================================================================================
RESPONSIVE VIDEOS
===================================================================================================================
*/
.video-container {
	padding-bottom: 56.25%;
	padding-top: 30px; height: 0; overflow: hidden;
	position: relative;
}
.video-container iframe,
.video-container object,
.video-container embed {
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}
/*
===================================================================================================================
UP BUTTON
===================================================================================================================
*/
#up {	
	bottom: 10%;
	border: 2px solid rgba(255,255,255,0.5);
	background: rgba(0,0,0,0.5);	
	position: fixed;	
	right: 10px;	
	text-align: center;	
	z-index: 999;
}
#up a {
	color: rgba(255,255,255,0.5);
	display: flex;
	font-size: 35px;
	height: 50px;
	justify-content: center;
	width: 50px;
}
#up a .fa {
	align-self: center;
}
/*
===================================================================================================================
FOOTER
===================================================================================================================
*/
#footer-main {
	background: #222;
	color: var(--grey2);
	padding: 40px 0 0 0;
}
#footer-main .row {
	grid-gap: 30px;
}
.footer-fixed {
	bottom: 0;
	left: 0;
	position: fixed;	
	width: 100%;
	z-index: -1;
}
#footer-main p {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
}
#footer-legal {
	padding: 20px;
}
.footer-logo {
	max-width: 150px !important;
}
#footer-main li {
	font-size: 14px;
	margin-bottom: 0;
}
#footer-main li a,
#footer-main .fly-out-open-button {
	padding: 20px 0;
}
#footer-main a {
	color: #c9cace;
}
.footer-contact a:hover {
	color: #fff;
}
#footer-main li:last-child {
	border-bottom: 0;
}
.footer-widget-title {
	color: #c9cace;
	font-family: 'Montserrat';
	font-size: 19px;
	letter-spacing: 2px;
	margin-bottom: 15px;
	text-transform: uppercase;
}
#footer-main .btn {
	border: 2px solid #c9cace;
	font-size: 16px;
	padding: 20px;
}
#footer-main strong {
	color: #c9cace;
	font-weight: 600;
}
#social-links li {
	display: inline-block;
	margin-right: 20px;
}
#social-links li:last-child {
	margin-right: 0;
}
#social-links li a {
	padding: 0;
}
.footer-img {
	margin-bottom: 20px;
	max-width: 150px;
}
/*
===================================================================================================================
MAIN NAVIGATION MENU
===================================================================================================================
*/
#top-bar {
	background: var(--grey1);
	height: 100%;
	left: -100%;
	padding: 10px;
	position: fixed;
	text-align: center;
	transition: all 0.25s ease-in-out;
	width: 100%;
	z-index: 11;  	
}
.open {
	left: 0 !important;
  	transition: all 0.25s ease-in-out;
}
.show {
	display: block;
}
#main-menu li {
	margin-bottom: 0;
}
#main-menu li a {
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	padding:20px;
	/*text-transform: uppercase;*/
}
#nav-hamburger {
	background: rgba(0,0,0,0.5);
	border: 2px solid rgba(255,255,255,0.5);
	cursor: pointer;
	font-size: 35px;
	height: 50px;
	padding: 10px;	
	position: fixed;	
	right: 10px;
	top: 80px;
	width: 50px;
	z-index: 12;
}
.bar {	
	border-bottom: 5px solid rgba(255,255,255,0.5);
	margin-bottom: 7px;
  	transition: all 0.5s ease-in-out;
  	width: 100%;
}
.bar.blackout {
	border-bottom: 5px solid transparent;
  	transition: all 0.5s ease-in-out;
}
#top-contact {
	display: none;
}
/*
===================================================================================================================
HERO
===================================================================================================================
*/
#hero {
	padding: 200px 0;
}
/*
===================================================================================================================
PARALLAX
===================================================================================================================
*/
.parallax-bg {
	background-position: center 0;
	background-repeat: no-repeat;
	background-size: cover;	
}
/*
===================================================================================================================
SLIDER
===================================================================================================================
*/
.flexslider {
	border: 0;
	border-radius: 0;	
	box-shadow: none;	
	margin: 0 auto;
	overflow: hidden;
	padding: 0;
	z-index: 1;
}
/*
===================================================================================================================
FLY OUT MENU
===================================================================================================================
*/
#fly-out-menu select,
#fly-out-menu input,
#fly-out-menu textarea {
	border:1px solid #222;
}
#fly-out-menu select,
#fly-out-menu input {
	height: 50px !important;
}
.fly-out-open-button {
	cursor: pointer;
}
#fly-out-close-button {
	color: red;
	cursor: pointer;
	font-size: 48px;
	height: 50px;
	position: absolute;
	right: 20px;
	top: 20px;
	width: 50px;
	z-index: 999;
}
.fly-out-close {
	cursor: pointer;
}
#fly-out-menu {
	background: #fff;
	height: 100%;
	overflow-y: scroll;
	padding: 100px 40px;
	right: -100%;
	position: fixed;
	text-align: center;
	text-transform: capitalize;
	top: 0;
	transition: all 0.25s ease-in-out;
	width: 100%;
	z-index: 999;  	
}
#fly-out-overlay {
	background: rgba(0,0,0,0);
	cursor: pointer;
	display: none;
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	transition: all 0.25s ease-in-out;
	width: 100%;
	z-index: 998;
}
.fly-out-open {
	right: 0 !important;
  	transition: all 0.25s ease-in-out;
}
.lights-out {
	background: rgba(0,0,0,0.8) !important;
	display: block !important;
	transition: all 0.25s ease-in-out;
}
.kc_row:not(.kc_row_inner),
.kc-elm {
	clear: both;
	float: none !important;
}
.kc_row:after {
	clear: both !important;
	content: "";
	display: block !important;
	float: none !important;
}
/*
===================================================================================================================
MEDIA QUERIES
===================================================================================================================
*/
@media only screen and (min-width: 641px) {
	.row {
		display: grid;
		grid-template-columns: repeat(12, 1fr);
		grid-gap: 20px;
	}
	.big-gap {
		grid-gap: 60px;
	}
	.span-1 {
		grid-column: span 1;
	}
	.span-2 {
		grid-column: span 2;
	}
	.span-2-4 {
		grid-column: span 2.4;
	}
	.span-3 {
		grid-column: span 3;
	}
	.span-4 {
		grid-column: span 4;
	}
	.span-5 {
		grid-column: span 5;
	}
	.span-6 {
		grid-column: span 6;
	}
	.span-7 {
		grid-column: span 7;
	}
	.span-8 {
		grid-column: span 8;
	}
	.span-9 {
		grid-column: span 9;
	}
	.span-10 {
		grid-column: span 10;
	}
	.span-11 {
		grid-column: span 11;
	}
	.span-12 {
		grid-column: span 12;
	}
	
	#fly-out-menu {
		height: 100%;
		width: 400px;
	}
	.heading-red-box {
		font-size: 40px;
		padding: 20px 40px;
	}
	.heading-grey-box {
		font-size: 40px;
		padding: 20px 40px;
	}
	.heading-black-box {
		font-size: 40px;
		padding: 20px 40px;
	}
}
@media only screen and (min-width: 841px) {
	#top-bar {
		height: auto;
		left: auto;
		/*position: static;*/
		margin-bottom: 0;
		padding: 0;
		top: 0;
		width: 100%;
	}
	#top-bar:after {
		clear: both;
		content: "";
		display: block;
		float: none;
	}
	#logo {
		float: left;
		padding: 15px 0 0 20px;
	}
	#main-menu {
		background: var(--red);
		background: var(--grey1);
		border-top: 1px solid #f5f5;
		padding-bottom: 20px;
		/*height: 70px;*/
		/*float: right;*/
	}
	#top-contact {
		color: #fff;
		display: block;
		float: right;
		margin-bottom: 0;
		padding: 0;
	}
	#top-contact li {
		display: inline-block;
		margin-bottom: 0;
	}
	#top-contact a {
		background: var(--grey2);
		color: #fff;
		font-size: 26px;
		margin-bottom: 0;
		padding: 30px;
	}
	#call {
		padding: 0 20px;
	}
	#main-menu li {
		float: left;
	}
	#main-menu li a {
		font-size: 14px;
		margin-bottom: 0;
		padding:40px 20px 0 20px;
		padding:20px 20px 0 20px;
	}
	#top-contact a:after {
		margin-bottom: 0;
		padding-bottom: 0;
		content: "";
		display: block;
	}
	#nav-hamburger {
		display: none;
	}
	#main-menu .sub-menu {
		background: #d2c605;
		display: none;
		padding: 0;
		position: absolute;
		z-index: 4;
	}
	#main-menu .sub-menu li {
		float: none;
	}
	#main-menu .menu-item-has-children:hover .sub-menu {
		display: block;
	}
	#main-menu li a:after {
		background: transparent;
		content: "";
		display: block;
		height: 3px;
		margin-top: 10px;
		margin:10px auto 0 auto;
		transition: all 0.25s ease-in-out;
		width: 0px;
	}
	#main-menu li:hover a:after {
		background: var(--red);
		/*background: #000;*/
		content: "";
		display: block;
		height: 3px;
		transition: all 0.25s ease-in-out;
		width: 100%;
	}
	#main-menu .current_page_item a:after {
		background: #f9ed33;
		content: "";
		display: block;
		height: 3px;
		transition: all 0.25s ease-in-out;
		width: 100%;
	}

}