/*
Theme Name: Happy Confident - V2.0
Theme URI: https://happyconfident.com.com/
Author: Proof Digital
Author URI: http://madewithproof.com/
Description: Custom
Tags: accessibility-ready, one-column, two-columns, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
Version: 2021
Requires at least: 5.0
Tested up to: 5.8
Requires PHP: 7.0
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: blankslate
*/



#header {
	padding: 2rem 1.5rem;
}

.main-header { 
	background:#f5f5f5;
}

.logo { 
	width: 250px;
	padding: 0;
}

.menu-bar { 
	background:#2d3b51;
	margin-bottom: 0 !important;
}

.navbar-start { 
	justify-content: center !important;
	width: 100%;
}

.video-header,
.image-header { 
	position: relative;
	top: 0;
	bottom: 0;
	width: 100%;
	height: 600px; 
	overflow: hidden;
}

.video-container,
.header-container { 
	position: relative;
	top: 0;
	bottom: 0;
	width: 100%;
	height: 100%; 
	overflow: hidden;
}

.video-header .video-container video {
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.shade { 
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,.5);
}

.shade-dark { 
	background-color: rgba(0,0,0,.75);
}

.video-overlay { 
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.has-overlay {
  position: relative;
  margin: auto;
  overflow: hidden;
  cursor: pointer;
}

.has-overlay .shade {
  background: rgba(245,205,70,1);
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  -webkit-transition: all 0.4s ease-in-out 0s;
  -moz-transition: all 0.4s ease-in-out 0s;
  transition: all 0.4s ease-in-out 0s;
}

.has-overlay:hover .shade{
  opacity: 1;
}

.details {
  position: absolute;
  text-align: center;
  padding-left: 1em;
  padding-right: 1em;
  width: 100%;
  top: 50%;
  left: 50%;
  opacity: 0;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

.has-overlay:hover .details{
  top: 50%;
  left: 50%;
  opacity: 1;
}

.anchor-bottom  { 
	top: auto !important;
}


.review-image { 
	object-fit: cover;
	width: 150px;
	height: 150px;
	border-radius: 75px;
}



.footer-nav { 
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.footer-nav a { 
	color:#fff;
}

footer i { 
	font-size: 2rem;
}

.reverse { 
	flex-direction: column-reverse;
}

.accordion .inner { 
	display: none;
	padding: 20px;
	border: solid 1px #f5f5f5;
	margin-bottom: 2px;
}

a.toggle { 
	width: 100%;
	display: block;
	padding: 20px 30px;
	background: #f5f5f5;
	margin-bottom: 2px;
}



@media only screen and (max-width: 768px) {
	
	
	.ordered-mobile { 
		display: flex;
		flex-direction: column-reverse;
	}
	
	.morph-main-menu-button-wrapper { 
		top: 22px !important;
	}
	
	.main-header { 
		padding:20px !important;
	}
	
	.logo { 
		width: 200px;
		padding: 0;
	}
	
	.video-header { 
		height: 200px;
	}
	
	.image-header { 
		height: 300px;
	}
	
	.video-overlay { 
		width: 80%;
	}
	
}