* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	font-size: 1rem;
}

body {
	font-family: 'Source Sans Pro', Verdana, sans-serif;
	background: #000;
	color: #f4f2ed;
	line-height: 1.5;
}	

p { 
	font-size: 1rem;
}

h1, h2, h3 {
	font-family: 'Oswald', Trebuchet, sans-serif;
	letter-spacing: .1rem;
	font-weight: 400;
}

h1 { 
	font-size: 2rem; 
}

h2 { 
	font-size: 1.6rem; 
}

h3 { 
	font-size: 1.2rem; 
}

h4 {
	font-family: 'Source Sans Pro', Verdana, sans-serif;
	letter-spacing: .1em;
}

a {
	color: #f4f2ed;
	text-decoration: none;
}

ul {
	list-style: none;
}


/* Container Styling */
#container {
	width: 96%;
	max-width: 1400px;
	margin: auto;
}


/* Nav */
#nav-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 140px;
	padding-top: 10px;
}

#nav-head .logo {
	max-width: 400px;
}

#nav-head ul {
	display: flex;
}

#nav-head ul li {
	padding-left: 20px;
}

#nav-head ul li a {
	transition: opacity .1s ease-in-out;
}

#nav-head ul li a:hover {
	border-bottom: none;
	opacity: 0.8;
}

.soc-icons img {
	width: 40px;
}

#page-nav {
	display: flex;
	background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(51,51,51,1) 100%);
	border-bottom: #ed1c2a 6px solid;
	font-size: 1.1rem;
	justify-content: flex-end;
	height: 100%;
}

#page-nav li {
	padding: 5px 0;
	background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(51,51,51,1) 100%);
	transition: background 0.1s ease-in-out;
	border-right: 1px solid #222;
	text-align: center;
}

#page-nav li:first-child {
	border-left: 1px solid #222;
}

#page-nav li:hover {
	background: #111;
	border-bottom: 2px solid #a7ce45;
	padding-bottom: 3px;
}

#page-nav a {
	display: block;
	height: 100%;
	padding: 0 40px;
}

.menu-btn {
	display: none;
	cursor: pointer;
	position: absolute;
	top: 57px;
	right: 2%;
	z-index: 3;
	transition: opacity .1s ease;
}

.btn {
	cursor: pointer;
	display: inline-block;
	border: 0;
	font-weight: bold;
	padding: 10px 20px;
	background: #69A21C;
	color: #f4f2ed;
	font-size: 15px;
}

.btn:hover {
	background: rgba(105, 162, 28, .7);
}


/* Home Carousel */
#carousel {
	margin-top: 4px;
	display: grid;
	grid-template-columns: 22% 1fr 22%;
	grid-template-rows: 1fr 1fr 1fr auto;
	column-gap: 8px;
	row-gap: 2px;
}

#tn1 {
	grid-coloumn: 1;
	grid-row: 1;
}

#tn2 {
	grid-coloumn: 1;
	grid-row: 2;
}

#tn3 {
	grid-coloumn: 1;
	grid-row: 3;
}

#tn4 {
	grid-coloumn: 3;
	grid-row: 1;
}

#tn5 {
	grid-coloumn: 3;
	grid-row: 2;
}

#tn6 {
	grid-coloumn: 3;
	grid-row: 3;
}

.carousel-inner {
	grid-column: 2;
	grid-row: 1/4;
	align-self: center;
}

.home-slide {
	display: none;
}

.home-slide img {
	max-width: 100%;
	height: auto;
	transition: .15s ease;
}

.home-slide {
	overflow: hidden;
}

.home-slide:hover img {
	opacity: 0.85;
}

#arrow-btns {
	grid-column: 1/4;
	text-align: center;
	margin-bottom: 20px;
}

#arrow-btns .prev,
#arrow-btns .next {
    cursor: pointer;
    margin: 0 10px;
    padding: 16px;
    color: #bbb;
    font-weight: bold;
    font-size: 1.4rem;
    transition: .2s ease;
    border-radius: 0 3px 3px 0;
}
#arrow-btns .prev:hover,
#arrow-btns .next:hover {
	opacity: 0.8;
}

.text {
    font-size: 1rem;
    width: 100%;
    text-align: center;
}

.text h1 u {
	font-size: 1.6rem;
	text-decoration: none;
	border-bottom: 1px solid #ed1c2a;
}

.text h4 {
	padding-top: 10px;
	padding-bottom: 2%;
}

.dot {
    cursor: pointer;
    transition: opacity .15s ease;
}

.dot img {
	border-radius: 4px;
}

.dot:hover {
    opacity: .8;
}

.active img {
	outline: 2px solid #a7ce45;
	outline-offset: -2px;
}

	/* Fading animation */
	.fade {
		-webkit-animation-name: fade;
		-webkit-animation-duration: 1.5s;
		animation-name: fade;
		animation-duration: 1.5s;
	}

	@-webkit-keyframes fade {
		from {opacity: .4}
		to {opacity: 1}
	} 


/* Tiny Slider */
#slider {
	margin: 20px auto;
	justify-content: center;
	align-items: center;
	overflow: hidden;
}

.slide {
	cursor: pointer;
}

.slide img {
	width: 100%;
	transition: 0.2s;
}

.slide:hover img {
	opacity: 0.8;
}

.slide h3 {
	margin-bottom: 10px;
}


/* Prev & Next Buttons */
.control {
	display: flex;
	justify-content: center;
	column-gap: 10px;
	margin-top: 10px;
	list-style: none;
}

.control li {
	z-index: 1;
	color: white;
	background: #333;
	padding: 12px 20px;
	border-radius: 50%;
	cursor: pointer;
	transition: 0.2s;
}

.control li:hover {
	opacity: 0.8;
}


/* Header Images */
#header-img {
	width: 100%;
	height: 30vw;
	max-height: 525px;
	min-height: 200px;"
}

/* Body Content */
#content {
	margin: 10px 0 3% 0;
}

#content h1, #content h2, #content h3, #content p {
	margin-bottom: 15px;
}

#content a {
	text-decoration: underline;
}

#content a:hover {
	color: #a7ce45;
}

#content .services {
	display: flex;
	flex-flow: row wrap;
	list-style: inside;
	margin-left: 26px;
	justify-content: flex-start;
}

#content .services li {
	margin-right: 80px;
}

/* Services Container */
.serv-cont, .serv-cont-sub {
	margin-top: 20px;
	padding: 15px;
	background-color: #222;
	overflow: auto;
} 

.r-float-img {
	margin-left: 20px;
	width: 40%;
	float:right;
}

.serv-cont-sub {
	background-color: #333;
}


/* Gallery */
.gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 2%;
	margin-top: 20px;
}

.serv-cont-sub .gallery {
	grid-template-columns: repeat(4, 1fr);
}


/* Lightbox */
.lightbox a {
  /* Default to hidden */
  display: none;

  /* Overlay entire screen */
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  
  /* A bit of padding around image */
  padding: 1em;

  /* Translucent background */
  background: rgba(0, 0, 0, 0.8);
}

/* Unhide the lightbox when it's the target */
.lightbox a:target {
  display: block;
}

.lightbox a span {
  /* Width and height */
  display: block;
  margin: 0 auto;
  max-width: 1000px;
  width: 100%;
  height: 100%;

  /* Size and position background image */
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}


/* Products */

#products {
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 20px;
	text-align: center;
}

@media(max-width: 1024px) { 
	#products { grid-template-columns: repeat(3, 1fr);
	grid-gap: 16px;
	max-width: 860px; }
}

@media(max-width: 768px) { 
	#products { 
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 14px;
	}

	#products h2 { 
		font-size: 1.1rem !important;
		line-height: 1.4;
	}
}

/* @media(max-width: 480px) { 
	#products { grid-template-columns: repeat(1, 1fr); }
} */

#products h2 {
	margin: 0 10px 12px 10px;
	font-size: 1.2rem;
}

#products img {
	width:100%;
	transition: opacity .1s ease-in-out;
}

#products a {
	display: block;
	font-size: 24px;
	text-decoration: none;
	background-color: #222;
	transition: opacity .1s ease-in-out;
}

#products a:hover {
	background-color: #111;
}

#products a:hover h2 {
	color: #f4f2ed;;
}

#products a:hover img {
	opacity: .6;
}

/* Contact */
#contact {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	justify-content: space-between;
	grid-gap: 20px;
}

#contact table {
	padding-bottom: 20px;
}

#contact table th, #contact table td {
	padding-right: 20px;
}

/* Google Maps Widget */
#googleMap	{
	margin-top: 20px;
	width: 600px;
	height: 450px; 
	float:right;
}


/* Footer */
#footer {
	background: #222;
	padding: 20px 0 30px 0;
	text-align: center;
}

#footer h3 {
	margin-bottom:5px;
}

#footer ul {
	text-align: left;
}

#footer li {
	line-height: 1.8;
}

#footer a:hover {
	color: #a7ce45;
}

#sitemap {
	max-width: 1400px;
	width:90%;
	margin: 0 auto;
	padding: 10px 0 5px 0;
	display:flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

#sitemap ul#address {
	text-align: left;
	border-left: 1px solid;
	padding-left: 20px;
	margin-top:2em;
}

#sitemap i {
	padding-right: 10px;
}


/* Media Queries */

/* Desktop */
@media(max-width: 1200px) {

	h1 {
		font-size: 1.8rem;
	}

	h2 {
		font-size: 1.5rem;
	}

	/* Nav */
	#nav-head .logo {
		width: 100%;
		max-width: 400px;
		min-width: 180px;
	}

	.menu-btn {
		display: block;
	}

	.menu-btn:hover {
		opacity: 0.5;
	}

	#nav-head {
		margin: 0;
	}

	#nav-head ul {
		margin-right: 50px;
	}

	#page-nav {
		padding: 0;
	}

	#page-nav {
		display: block;
		position: fixed;
		z-index: 2;
		top: 0;
		left: 0;
		background: rgba(0, 0, 0, 0.9);
		height: 100%;
		width: 100%;
		border-right: #222 2px solid;
		border-bottom: none;
		padding: 120px 0 20px 0;
		transform: translateX(-1250px);
	}

	#page-nav li {
		padding: 10px 40px;
		border-bottom: #111 3px solid;
		font-size: 18px;
		text-align: center;
		width: 60%;
		min-width: 300px;
		margin: 20px auto;
	}

	#page-nav li:hover {
		border-bottom: 2px solid #a7ce45;
		padding-bottom: 11px;
	}

	#page-nav.show {
		transform: translateX(0px);
	}

	/* Contact */
	#contact {
		grid-template-columns: repeat(1, 1fr);
	}

	#googleMap {
		margin-top: 0;
		width: 720px;
		height: 555px;
		float: none;
	}

}
	
/* Laptop */
@media(max-width: 1024px) {

	.r-float-img {
		width: 50%;
	}
}

/* Tablet */
@media(max-width: 768px) {

	/* Nav */
	#nav-head {
		height: auto;
	}

	#nav-head .social {
		display: none;
	}

	#page-nav li {
		width: 80%;
	}

	/* Home Carousel */
	#carousel {
		grid-template-columns: 1fr 1fr 1fr;
		grid-template-rows: auto;
		place-items: start center;
		padding-bottom: 10px;
	}

	.carousel-inner {
		grid-column: 1/4;
		grid-row: 1/2;
		align-self: center;
		margin-bottom: 10px;
	}

	#arrow-btns {
		grid-row: 2;
		padding: 0;
	}
	
	#tn1 {
		grid-coloumn: 1;
		grid-row: 3;
	}

	#tn2 {
		grid-coloumn: 2;
		grid-row: 3;
	}

	#tn3 {
		grid-coloumn: 3;
		grid-row: 3;
	}

	#tn4 {
		grid-coloumn: 1;
		grid-row: 4;
	}

	#tn5 {
		grid-coloumn: 2;
		grid-row: 4;
	}

	#tn6 {
		grid-coloumn: 3;
		grid-row: 4;
	}


	/* Contact */
	#googleMap {
		width: 100%;
		height: 400px; 
	} 

	/* Services Gallery */
	.serv-cont-sub .gallery {
		grid-template-columns: repeat(2, 1fr);
		grid-gap: 4%;
		overflow: hidden;
	}

	.r-float-img {
		display: block;
		margin: 0 auto 10px auto;
		width: 100%;
		max-width: 500px;
		float: none;
	}

	/* Slider */
	#slider {
		margin-top: 0;
	}
}

/* Mobile */
@media(max-width: 480px) {

	/* Container */
	h1 {
		font-size: 1.6rem;
	}

	h2 {
		font-size: 1.4rem;
	}

	#container {
		width: 100%;
	}

	#nav-head {
		width: 96%;
		margin: auto;
		min-height: 86px;
	}

	.soc-icons img {
		width: 30px;
	}

	#nav-head ul li {
		padding-left: 14px;
	}

	#content {
		width: 100%;
		margin: 10px auto;
	}

	#content h1, h2, p {
		padding: 0 10px;
	}

	.serv-cont h2, .serv-cont-sub h2 {
		padding: 0;
	}

	.serv-cont p, .serv-cont-sub p {
		padding: 0;
	}

	.menu-btn {
		top: 29px;
		right: 2%;
	}

	#footer {
		padding-top: 10px;
	}

	/* About Page Gallery */
	.gallery {
		grid-template-columns: repeat(1, 1fr);
		margin: 0 auto 60px auto;
		width: 80%;
	}

	.serv-cont-sub {
		margin-bottom: 20px;
	}

	.serv-cont-sub .gallery {
		width: 100%;
		margin-bottom: 0;
	}

	/* Contact Page */
	#contact table {
	padding: 0 0 20px 10px;
	}
}