/*
Theme Name: WWW Basic Theme
Theme URI: https://www.webworkwizards.co.uk/
Author: Simon Holmes
Author URI: https://www.nadrenisworkshop.com/
Description: Default Theme Template (Bootstrap 4)
Version: 1.0
*/

/* Import Google Fonts */

@import url('https://fonts.googleapis.com/css?family=Lato&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Electrolize&family=Nova+Square&display=swap');

/* Responsive Definitions */


@media only screen and (max-height: 450px) {
	
	.overlay a {
	  
		font-size: 20px;
	
	}
  
  .overlay .closebtn {
	  
		font-size: 40px;
		top: 15px;
		right: 35px;
	
	}
	
}

/* Header Definitions */

.top-bar {
	
	background-color: #446084;
	
}

.top-bar-inner {
	
	width: 50%;
	
}

.top-bar-left {
	
	background-color: transparent;
	margin: 0;
	padding: 5px;
	border: 0;
	font-size: 0.85rem;
	
}

.top-bar-right {
	
	background-color: transparent;
	margin: 0;
	padding: 5px;
	border: 0;
	font-size: 0.85rem;
	
}

.top-bar-breadcrumbs {
	
	color: white !important;
	
}

.breadcrumb-item + .breadcrumb-item::before {
	
	content: "|";
	
}

.facebook-button {
	
	border: 0;
	padding: 0;
	background-color: transparent;
	line-height: 1.5;
	color: white;
	
}

.top-bar .container {
	
	width: 80%;
	
}

.top-bar-left i {
	
	line-height: 1.5;
	padding-right: 0.2rem;
	
}

.top-bar-breadcrumbs a {
	
	text-decoration: none;
	color: #E3E3E3 !important;
	
}

.top-bar-breadcrumbs a:hover {
	
	color: white !important;
	
}

.header-menu {
	
	width: 100%;
	padding: 0;
	
}

.navbar-expand-xl {
	
	justify-content: center;
	
}

.navbar-brand img {
	
	padding-top: 10px;
	padding-bottom: 10px;
	margin-right: 1vw;
	height: 120px;
	
}

.navbar-collapse {
	
	flex-grow: 0;
	
}

.navbar-nav a {
	
	font-family: "Lato", sans-serif;
	font-size: 1.2rem;
	font-weight: 600;
	color: grey;
	text-transform: uppercase;
	
}

.navbar-nav a:hover {
	
	color: black;
	
}

.overlay {
   
	height: 100%;
	width: 0;
	position: fixed; 
	z-index: 5; 
	left: 0;
	top: 0;
	background-color: rgb(0,0,0); 
	background-color: rgba(0,0,0, 0.9); 
	overflow-x: hidden; 
	transition: 0.5s;
  
}

.overlay-menu-content {
	
	position: relative;
	top: 25%; 
	width: 100%; 
	text-align: center; 
	margin-top: 30px;
	
}

.overlay a {
	padding: 8px;
	text-decoration: none;
	font-size: 1.5rem;
	color: #818181;
	display: block; 
	transition: 0.3s; 
}


.overlay a:hover, .overlay a:focus {
	
	color: #f1f1f1;
	
}

.overlay .closebtn {
	
	position: absolute;
	top: 20px;
	right: 45px;
	font-size: 60px;
	
}

.sticky {
  position: fixed !important;
  top: 0;
  width: 100% !important;
  z-index: 10;
  background-color: white;
}

.sticky .navbar-brand img {
	
	height: 80px;
	padding-top: 0;
	padding-bottom: 0;
	transition: height .8s, padding-top .8s, padding-bottom .8s;
	
}

/* Content Definitions */

.page-block {
	
	width: 90%;
	margin-left: auto;
	margin-right: auto;
	
}

.page-content {
	
	margin-bottom: 5vh;
	
}

.bg-overlay {
    background: linear-gradient(rgba(0,0,0,.3), rgba(0,0,0,.3)), url(https://www.ohmzelectrical.co.uk/wp-content/uploads/2020/07/board-img-1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    color: #fff;
    height: 60vh;
	width: auto;
}

.hero-card-box {
	
	padding: 15vh;
	
}

.hero-card-text {
	
	top: 160px;
	height: 60%;
	padding: 0;
	
}

.hero-card-title {
	
	font-size: 4rem;
	font-family: 'Quicksand', sans-serif;
	
}

.hero-card-tagline {
	
	font-size: 3rem;
	font-family: 'Quicksand', sans-serif;
	
}

.content-text-heading {
	
	font-family: 'Quicksand', sans-serif;
	
}

.nav-pills .nav-link {
	
	border-radius: 0px;
	color: #446084;
	
}

.nav-pills .nav-link.active {
	
	background-color: #446084;
	color: white;
	
}

.project-tab {
	
	text-decoration: uppercase;
	
}

.review-block div.wp-gr.wpac {
	
	padding: 2vh !important;
	
}

.review-block .wp-gr .wp-google-left img {
	
	display: none;
	
}

.review-block .wp-gr .wp-google-right {
	
	text-align: center !important;

}

.section-group-container {
	
	width: 80vw;
	margin-bottom: 5vh;
}

.card-button a {
	
	color: white;
	text-decoration: none;
	
}

.home-text-container {
	
	margin-bottom: 5vh;
	width: 80vw;
	
}

.hero-card-img {
	
	height: auto;
	max-width: 100%;
	opacity: 0.5;
	object-fit: cover;
	
}

.hero-card {
	
	margin-bottom: 5vh;
	
}

.content-text-container {
	
	margin-bottom: 5vh;
	
}

.home-text-body {
	
	margin-bottom: 5vh;
	
}

.image-right-text-container {
	
	margin-bottom: 5vh;
	
}

.carousel-inner {
	
	width: 50%;
	margin-left: auto;
	margin-right: auto;
	
}

.mapouter {
	
overflow:hidden;
padding-bottom: 56.25%;
position:relative;
height:0;
	
}

.gmap-canvas {
	
left:0;
top:0;
height:100%;
width:100%;
position:absolute;
	
}

.map-card-container {
	
	margin-bottom: 5vh;
	
}

.project-tab {
	
	display: flex;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	justify-content: center;
	
}

.contact-label {
	
	font-weight: 500;
	
}

.contact-bar {
	
	width: 100%;
	
}

.contact-button {
	
	background-color: #446084;
	border-color: #446084;
	color: white;
	
}

.gallery-img {
	
	height: 10vw;
	object-fit: cover;
	
}

.home-card-img {
	
	height: 25vw;
	object-fit: cover;
	
}

.carousel-item img {
	
	height: 25vh;
	object-fit: cover;
	
}

.contact-card {
	
	width: 50%;
	
}

/* Footer Definitions */

.top-footer {
	
	background-color: #446084;
	line-height: 1 !important;
	
}

.top-footer .footer-card .card-header {
	
	padding: 0.5rem;
	
}

.top-footer .last-footer-card .card-header {
	
	padding: 0.5rem;
	
}

.top-footer .footer-card ul {
	
	margin-top: 0.3vh;
	
}

.top-footer .last-footer-card ul {
	
	margin-top: 0.3vh;
	
}

.top-footer .footer-card li {
	
	font-size: 0.75rem;
	padding: 0.2rem;
	
}

.top-footer .last-footer-card li {
	
	font-size: 0.75rem;
	padding: 0.2rem;
	
}

.top-footer .footer-card {
	
	padding-bottom: 1vh;
	
}

.top-footer .last-footer-card {
	
	padding-bottom: 1vh;
	
}

.top-footer .list-group-item {
	
	border: 0 !important;
	background-color: transparent;
	
}

.top-footer a {
	
	color: white;
	
}

.bottom-footer {
	
	background-color: grey;
	color: white;
	padding: 0.5rem;
	font-size: 0.75rem;

	
}

.bottom-footer a {
	
	color: white;
	
}

#topbutton {
  position: fixed;
  display: none;
  height: 40px;
  width: 40px;
  line-height: 40px;
  left: 15px;
  bottom: 15px;
  z-index: 1;
  background: #000000;
  border-radius: 2px;
  text-decoration: none;
  color: #ffffff;
  text-align: center;
}

#topbutton:after {
  content: "\2191";
}

/* Test Definitions */

@media only screen and (max-width: 1400px) {
	
	.top-bar-inner {
		
		width: 80%;
		
	}
	
	.header-main {
		
		width: 100% !important;
		
	}
	
	.navbar-nav a {
		
		font-size: 1rem;
		
	}
	
	.navbar-expand-xl {
		
		justify-content: center;
		
	}
	
	.hero-card-box {
		
		padding-top: 23vh;
		padding-bottom: 23vh;
		padding-left: 0;
		padding-right: 0;
		
	}
	
	.hero-card-title {
		
		font-size: 3rem;
		
	}
	
	.hero-card-tagline {
		
		font-size: 2.5rem;
		
	}
	
	.section-group-container {
		
		width: 90vw;
		
	}
	
}

@media only screen and (max-width: 1100px) and (orientation: landscape) {
	
	.navbar-expand-xl {
		
		justify-content: space-around;
		
	}
	
	.hero-card-box {
		
		padding-top: 17vh;
		padding-bottom: 17vh;
		padding-left: 0;
		padding-right: 0;
		
	}
	
	.hero-card-text {
		
		top: 128px;
		
	}
	
	.hero-card-title {
		
		font-size: 3rem;
		
	}
	
	.hero-card-tagline {
		
		font-size: 2.5rem;
		
	}
	
	.section-group-container {
		
		width: 90vw;
		
	}
	
}

@media only screen and (max-width: 850px) and (orientation: landscape) {
	
	.navbar-brand {
		
		padding-top: 5px;
		padding-bottom: 5px;
		width: 700px;
		
	}
	
	.navbar-brand img {
		
		padding: 0;
		height: 75px;
		width: auto;
		
	}
	
	.sticky .navbar-brand img {
		
		padding: 0;
		height: 70px;
		
	}
	
	.navbar-expand-xl {
		
		justify-content: space-around;
		
	}
	
	.bg-overlay {
		
		height: 70vh;
		
	}
	
	.hero-card-box {
		
		padding-top: 20vh;
		padding-bottom: 20vh;
		padding-left: 0;
		padding-right: 0;
		
	}
	
	.hero-card-title {
		
		font-size: 2rem;
		
	}
	
	.hero-card-tagline {
		
		font-size: 1.5rem;
		
	}
	
	.home-card-img {
		
		height: 85vw;
		
	}
	
	.top-contact-block {
		
		padding-bottom: 5vh;
		
	}
	
}

@media only screen and (max-width: 800px) {
	
	.navbar-expand-xl {
		
		justify-content: space-around;
		
	}
	
	.hero-card-box {
		
		padding-top: 23vh;
		padding-bottom: 23vh;
		padding-left: 0;
		padding-right: 0;
		
	}
	
	.hero-card-title {
		
		font-size: 2.2rem;
		
	}
	
	.hero-card-tagline {
		
		font-size: 1.9rem;
		
	}
	
	.home-card-img {
		
		height: 80vw;
		
	}
	
	.gallery-img {
		
		height: 20vw;
		
	}
	
	#gallery .col {
		
		padding-left: 5px;
		padding-right: 5px;
	
}

@media only screen and (max-width: 750px) {
	
	.top-bar-inner {
		
		width: 100%
		
	}
	
	.top-bar-inner .flex-column {
		
		margin-left: auto;
		margin-right: auto;
		
	}
	
	.top-bar-inner li {
		
		font-size: 0.75rem;
		
	}
	
	.navbar-brand {
		
		width: 330px;
		
	}
	
	.navbar-brand img {
		
		height: 70px;
		width: auto;
		
	}
	
	.sticky .navbar-brand img {
	
	height: 55px;
	padding-top: 0;
	padding-bottom: 0;
	transition: height .8s, padding-top .8s, padding-bottom .8s;
	
	}
	
	.navbar-expand-xl {
		
		justify-content: space-around;
		
	}
	
	.bg-overlay {
		
		height: 40vh;
		
	}
	
	.hero-card-box {
		
		padding-top: 16vh;
		padding-bottom: 16vh;
		padding-left: 0;
		padding-right: 0;
		
	}
	
	.hero-card-text {
		
		height: 30%;
		
	}
	
	.hero-card-title {
		
		font-size: 1.7rem;
		
	}
	
	.hero-card-tagline {
		
		font-size: 1.3rem;
		
	}
	
	.page-content {
	
	padding-top: 1vh;
	
	}
	
	.home-card-img {
		
		height: 80vw;
		
	}
	
	.gallery-img {
		
		height: 25vw;
		
	}
	
	#gallery .col {
		
		padding-left: 5px;
		padding-right: 5px;
		
	}
	
	.top-contact-block {
		
		padding-bottom: 5vh;
		
	}
	
}

@media only screen and (max-width: 750px) and (orientation: landscape) {
	
	.top-bar-inner li {
		
		font-size: 0.8rem;
		
	}
	
	.navbar-brand {
	
		padding: 0;
		
		}
		
	.navbar-brand img {
	
		height: 85px;
		padding-top: 5px;
		padding-bottom: 5px;
		
	}
	
	.sticky .navbar-brand img {
		
		height: 60px;
		padding-top: 5px;
		padding-bottom: 5px;
		
	}
	
	.overlay a {
		
		padding: 0.4rem;
		font-size: 1.2rem;
		
	}
	
	.overlay .closebtn {
		
		font-size: 50px;
		
	}
	
	.bg-overlay {
		
		height: 60vh;
		
	}
	
	.hero-card-box {
		
		padding-top: 13vh;
		padding-bottom: 13vh;
		padding-left: 0;
		padding-right: 0;
		
	}
	
	.hero-card-text {
		
		height: 40%
		
	}
	
	.hero-card-title {
		
		font-size: 2.1rem;
		
	}
	
	.hero-card-tagline {
		
		font-size: 1.7rem;
		
	}
	
	.top-footer .footer-card li {
		
		padding: 0.5rem;
		
	}
	
	.top-footer .last-footer-card li {
		
		padding: 0.5rem;
		
	}
	
	.bottom-footer div {
		
		padding-bottom: 0.5rem;
		
	}
	
}

@media only screen and (max-width: 650px) and (orientation: landscape) {
	
	.top-bar-inner li {
		
		font-size: 0.7rem;
		
	}
	
	.navbar-brand {
	
		padding-top: 5px;
		padding-bottom: 5px;
		width: 280px;
		
		}
		
	.navbar-brand img {
	
		height: 50px;
		width: auto;
		padding: 0;
		
	}
	
	.sticky .navbar-brand img {
		
		height: 50px;
		
	}
	
	.overlay a {
		
		padding: 0.4rem;
		font-size: 1rem;
		
	}
	
	.overlay .closebtn {
		
		font-size: 40px;
		
	}
	
	.bg-overlay {
		
		height: 60vh;
		
	}
	
	.hero-card-box {
		
		padding-top: 13vh;
		padding-bottom: 13vh;
		padding-left: 0;
		padding-right: 0;
		
	}
	
	.hero-card-title {
		
		font-size: 1.6rem;
		
	}
	
	.hero-card-tagline {
		
		font-size: 1.2rem;
		
	}
	
	.hero-card-text {
		
		height: 20%;
		
	}
	
	.home-card-img {
		
		height: 80vw;
		
	}
	
	.top-contact-block {
		
		padding: 5vh;
		
	}
	
	#gallery .col {
		
		padding-left: 5px;
		padding-right: 5px;
		
	}
	
	.top-footer .footer-card li {
		
		padding: 0.5rem;
		
	}
	
	.top-footer .last-footer-card li {
		
		padding: 0.5rem;
		
	}
	
	.bottom-footer div {
		
		padding-bottom: 0.5rem;
		
	}
	
	.logo-bar {
		
		width: 30%;
		
	}
	
	.home-text-body {
		
		font-size: 0.9rem;
		
	}
	
	.home-text-heading {
		
		font-size: 1.5rem;
		
	}
	
	.card-text {
		
		font-size: 0.9rem;
		
	}
	
	.content-text-heading {
		
		font-size: 1.5rem;
		
	}
	
	.content-text-body {
		
		font-size: 0.9rem;
		
	}
	
}

@media only screen and (max-width: 450px) {
	
	.top-bar-right-col {
		
		display: none;
		
	}
	
	.hero-card-title {
		
		font-size: 1.1rem;
		
	}
	
	.hero-card-tagline {
		
		font-size: 0.9rem;
		
	}
	
	.logo-bar {
		
		width: 50%;
		
	}
	
}

@media only screen and (max-width: 400px) {
	
	.top-bar-inner {
		
		width: 100%;
		
	}
	
	.top-bar-inner .flex-column {
		
		margin-left: auto;
		margin-right: auto;
		
	}
	
	.top-bar-inner li {
		
		font-size: 0.7rem;
		
	}
	
	.top-bar-right-col {
		
		display: none;
		
	}
	
	.header-main {
		
		width: 100% !important;
		
	}
	
	.navbar-brand {
		
		width: 280px;
		
	}
	
	.navbar-brand img {
		
		height: 65px;
		width: auto;
		
	}
	
	.navbar-expand-xl {
		
		justify-content: space-around;
		
	}
	
	.sticky .navbar-brand img {
	
	height: 45px;
	padding-top: 0;
	padding-bottom: 0;
	transition: height .8s, padding-top .8s, padding-bottom .8s;
	
	}
	
	.hero-card-box {
		
		padding-top: 12vh;
		padding-left: 0;
		padding-right: 0;
		padding-bottom: 12vh;
		
	}
	
	.hero-card-title {
		
		font-size: 0.9rem;
		
	}
	
	.hero-card-tagline {
		
		font-size: 0.7rem;
		
	}
	
	.hero-card-text {
		
		height: 20%;
		
	}
	
	.bg-overlay {
		
		height: 35vh;
		
	}
	
	.page-content {
		
		padding-top: 1vh;
		
	}
	
	.home-card-img {
		
		height: 65vw;
		
	}
	
	.card-text {
		
		font-size: 0.8rem;
		
	}
	
	.home-text-body {
		
		font-size: 0.8rem;
		
	}
	
	.content-text-heading {
		
		font-size: 1.3rem;
		
	}
	
	.content-text-body {
		
		font-size: 0.8rem;
		
	}
	
	.home-bottom-heading {
		
		font-size: 1.4rem;
		
	}
	
	.logo-bar {
		
		width: 50%;
		
	}
	
	#gallery .col {
		
		padding-left: 5px;
		padding-right: 5px;
		
	}
	
	.gallery-img {
		
		height: 30vw;
		
	}
	
	.top-contact-block {
		
		padding-bottom: 5vh;
		
	}
	
	.contact-card {
		
		width: 100%;
		
	}
	
}

@media only screen and (max-width: 350px) {
	
	.top-bar-inner {
		
		width: 100%;
		
	}
	
	.top-bar-inner .flex-column {
		
		margin-left: auto;
		margin-right: auto;
		
	}
	
	.top-bar-inner li {
		
		font-size: 0.6rem;
		
	}
	
	.navbar-brand {
		
		width: 250px;
		
	}
	
	.bg-overlay {
		
		height: 50vh;
		
	}
	
	.hero-card-box {
		
		padding-top: 19vh;
		padding-bottom: 19vh;
		padding-left: 0;
		padding-right: 0;
		
	}
	
	.hero-card-text {
		
		height: 33%;
		
	}
	
	.hero-card-title {
		
		font-size: 0.8rem;
		
	}
	
	.hero-card-tagline {
		
		font-size: 0.7rem;
		
	}

}