@CHARSET "ISO-8859-1";

html, body {
	background: #fff;
	color: #056015;
	font-size: 18px;
	font-family: 'Montserrat', sans-serif;
	margin: auto;
}

h1 {
	color: #056015;
	font-size: 38px;
	font-weight: 700;
	line-height: 1em;
	margin: 30px 0 15px 0;
	padding: 0;
}

h2 {
	color: #056015;
	font-size: 24px;
	font-weight: 700;
	line-height: 1em;
	margin: 30px 0 15px 0;
	padding: 0;
}

h3 {
	color: #F71809;
	font-size:22px;
	margin:0;
}

h4 {
	color: #056015;
	font-size:18px;
	font-weight: 600;
	margin:0;
}
.mainlogo {
	box-sizing: border-box;
	padding: 15% ;
	width: 100%;
	
}
.mobile-phone-banner{
	display: none;
}
/* === Main TOP MENU ==== */

#burger-menu {
	display: none;
}

#hide_mob_nav {
	display: none;
}
/* === PC View MENU ==== */
nav {
	background-color: #7C7876;
	box-sizing: border-box;
	color: #fff;
	float: left;
	height: 100vh;
 	position: fixed;
    width: 15%;
}

#navmobile {
		display: none;
	}
	
#navmobile-header {
	display:none;
}

	a {
		color: inherit;
		text-decoration:none;
	}
	
	a:hover {
		color: #FB0606;
		text-decoration: none;
	}

	.navoff {
		box-sizing: border-box;
		cursor: pointer;
		font-size: 14px;
		padding: 5px 0 10px 15%;
		width: 100%;	
	}
	
	.navon {
		box-sizing: border-box;
		cursor: pointer;
		color: #FFFFFF;
		font-size: 14px;
		padding: 5px 0 10px 15%;
		width: 100%;	
	}
	
	.navoff .fa {
	color: #585655;
	}
	
		.dropdown {
			background-color: #ED1708;
			box-sizing: border-box;
			color: #ED91D9;
			display:none;
			font-size: 12px;
			margin: 0 0 0 -20%;
			border-right: 5px solid #
				#FBF8F8;
		}
.fling-minislide {width:100%; height:0px; padding-bottom: 31%; overflow:hidden; position:relative; }
.fling-minislide img{ position:absolute; animation:fling-minislide 20s infinite; opacity:0; width: 100%; height: auto;}

@keyframes fling-minislide {25%{opacity:1;} 40%{opacity:0;}} 
.fling-minislide img:nth-child(4){animation-delay:0s;}
.fling-minislide img:nth-child(3){animation-delay:5s;}
.fling-minislide img:nth-child(2){animation-delay:10s;}
.fling-minislide img:nth-child(1){animation-delay:15s;}	
	
#left-content {
	background-color: #F31418;
	box-sizing: border-box;
	color: #EC910D;
	float: left;
	padding: 2%;
 	position: fixed;
 	left: 0px;
    width: 15%;
}

.sidebartelphone {
	float: left;
	width: 30%;
}

.sidebartelphone .fa {
	font-size: 2.5vw;
	color: #ffffff;
}

.sidebartel {
	float: left;
	color: #ffffff;
	font-size: 20px;
	line-height: 0.9;
	width: 70%
}

.sidebartext {
	color: #FB0B03;
	font-size: 11px;
	float: left;
	padding: 10px 0 12px 0;
	width: 100%;
}

.socialmedia {
	float: left;
	padding: 10px 0;
	width: 100%
}

header {
	width: 100%;
}

.headerimg {
	width: 100%;
	display:block;
}

#content-wrapper {
	background-color: #FFFFFF;
	margin-left: 15%;
	width: 85%;
}

.greybackground {
	background-color: #B8F00C;
	float: left;
	width: 100%;
}

.content {
	box-sizing: border-box;
    float: left;
    margin: 0 5% 0% 15%;
    padding: 0 0 5% 0;
    width: 85%;
}


.homeheading {
	color: #064B0A;
	padding: 0 3% 0 0;
}

/* ---- PAGES HEADING --- */

.contactus-text {
	margin: 30px 0 15px 0;
}

#main-content {
	background-color: #FFFFFF;
	margin: 0 0 0% 5%;
	padding: 2% 0 5% 0;
	width: 67%;
}

/* == Tertiary navigation == */

.tertiarynav-mobile {
	display: none;
}

.tertiarynav {
	box-sizing: border-box;
	background-color: #F80909;
	color: #FFFFFF;
	font-size: 14px;
	padding: 20px 30% 20px 5%;
	width: 100%;
}

.tertiarynav a:hover {
	color: #EDC90E;
}

.tertiarynav a {
	color: #FFFFFF;
}

.tertiarynavcontent {
	display: inline-block;
	padding: 0 20px 0 0;
}

.breadcrumb {
	font-size: 14px;
}

.lightgrey {
	color:#F10F08;
}

/* ---- MAIN-CONTENT PAGES --- */

#main-content-pages {
	box-sizing: border-box;
	background-color: #FFFFFF;
	margin: 0 30% 0% 5%;
	overflow: hidden;
	padding: 2% 0;
	width: 80%;
}

/* --- ABOUT PAGE - MIDDLE CONTENT ---- */

#middle-content-wrapper {
	box-sizing: border-box;
	background-color: #D30FD8;
	background-image: url("barnesfencingsupplies.com/images/about-middle-content.jpg");
	background-position: top right;
	background-repeat: no-repeat;
	background-size: cover;
	color: #E7BC09;
	font-size: 15px;
	max-height:480px;
	padding: 0 0 5% 0;
	width: 100%;
}

#middle-content {
	margin: 0px 30% 0% 5%;
    padding: 20px 0 20px 0;
	width: 40%;
}

/* --- ABOUT PAGE - BOTTOM CONTENT ---- */

#bottom-content-wrapper {
	background-color: #F3F28A;
	color: #F8F2F2;
	font-size: 15px;
	float: left;
	width: 100%;
}

#bottom-content-left {
	float: left;
    width: 40%;
}

#bottom-content-left img {
	display: block;
	max-width: 100%; 

}

#bottom-content-right {
	box-sizing: border-box;
	float: left;
	padding: 20px 5%;
    width: 60%;
}

/* --- ABOUT PAGE MOBILE CONTENT ---- */

.image-mobile-middle {
	display: none;
}

.image-mobile-bottom {
	display: none;
}

#text-mobile-middle {
	display: none;
}

#text-mobile-bottom {
	display: none;
}

/* ------- FENCE PANELS PAGE ------ */

.fencepanels-wrapper {
	color: #FFFFFF;
	padding: 30px 0 20px 0;
	width: 100%;
}

.fence-text-header {
	font-size: 24px;
	font-weight: 700;
}

.fence-text {
	color: #A715C8;
	font-size: 15px;
}

.gallery {
	box-sizing: border-box;
    background-color: #fffff;
    overflow: hidden;
    width: 100%;
    padding: 0 5% 40px 5%;
}

.gallery:nth-child(even) {
	background-color: #FFFFFF;
}

/* -- Secondary Pages -- */
.gallerycontainer {
	box-sizing: border-box;
    overflow: hidden;
    width: 100%;
    padding: 0 5% 40px 5%;
}

.margin-right {
	margin-right: 4%;
}

.gallery-boxes-first {
    float: left;
    width: 29%;
}

.gallery-image {
	position: relative;
}

.gallery-image img {
	width: 100%;
	display: block;
}

#front {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1;	
}

#fronttwo {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1;	
}
#frontthree {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1;	
}

#reverse {
	position: absolute;
	top: 0;
	left: 0px;
	width: 100%;
}

#reversetwo {
	position: absolute;
	top: 0;
	left: 0px;
	width: 100%;
}
#reversethree {
	position: absolute;
	top: 0;
	left: 0px;
	width: 100%;
}

.gallery-boxes {
    float: left;
    width: 29%;
}

.one-quarter-col {
    float: left;
    width: 21%;
}

.gallery-wrapper {
	float: left;
	background-color: #259409;
	color: #F8FCFA;
}

.gallery-wrapper:hover {
	background-color: #F82203;
	color: #fff;
}

.gallery-wrapper-tertiary {
	float: left;
	background-color: #086713;
	color: #FFFFFF;
	width: 100%;
}

.gallerytext {
	padding: 14px 0 16px 0;
	text-align: center;
	font-size: 14px;
	font-weight: 700;
}

.gallerytextfirst {
	padding: 14px 0 16px 0;
	text-align: center;
	font-size: 14px;
	font-weight: 700;
	padding-top:23vw;
}

.gallerytextsecond {
	padding: 14px 0 16px 0;
	text-align: center;
	font-size: 14px;
	font-weight: 700;
	padding-top:23vw;
}

.reverse {
	position: absolute;
    height: 100vh;
    width: 50%;
    bottom: -22vw;
    right: 0;
    overflow: hidden;
    z-index: 2;
}

.reversetwo {
	position: absolute;
    height: 100vh;
    width: 50%;
    bottom: -22vw;
    right: 0;
    overflow: hidden;
    z-index: 2;
}
.reversethree {
	position: absolute;
    height: 100vh;
    width: 50%;
    bottom: -22vw;
    right: 0;
    overflow: hidden;
    z-index: 2;
}

.reverse-text {
	color: white;
    position: absolute;
    bottom: 0;
    width: 90%;
    text-align: right;
    padding-bottom: 10px;
}

.reverse-texttwo {
	color: white;
    position: absolute;
    bottom: 0;
    width: 90%;
    text-align: right;
    padding-bottom: 10px;
}

.reverse-text .fa {
	font-size: 30px;
}

.reverse-texttwo .fa {
	font-size: 30px;
}

.reverse:before {
	background-color: #056839;
    content: '';
    position: absolute;
    left: 20%;
    width: 100%; 
    height: 200%; 
    top: 0;
    transform: rotate(45deg);
}

.reverse:hover:before {
background-color: #388a32;
}

.reversetwo:before {
	background-color: #056839;
    content: '';
    position: absolute;
    left: 20%;
    width: 100%; 
    height: 200%; 
    top: 0;
    transform: rotate(45deg);
}

.reversetwo:hover:before {
background-color: #388a32;
}
.reversethree:before {
	background-color: #056839;
    content: '';
    position: absolute;
    left: 20%;
    width: 100%; 
    height: 200%; 
    top: 0;
    transform: rotate(45deg);
}

.reversethree:hover:before {
background-color: #388a32;
}
.callusmobile {
    background-color: #fffff;
    color: #FFFFFF;
    display: block;
    font-size: 18px;
    padding: 20px 0 10px;
    text-align: center;
    margin: 0 -100px;
    height: 40px;
}

.callusmobile .fa {
	font-size: 20px;
	vertical-align: middle;
	padding-right: 5px;
	}

	.numberspan {
	font-size: 20px;
	font-weight: 800;
	}

/* -------------------------------------- */

/* --- Contact Page ---- */

.one-col {
	box-sizing: border-box;
	float: left;
    padding: 2% 5% 0 5%;
	width: 100%;
}

.two-col {
	box-sizing: border-box;
	float: left;
    padding: 0 5%;
	width: 50%;
}

/* ------ FORM ON CONTACT PAGE ----- */

.contactform {
		font-size: 16px;
		font-weight: 600;
		color: #056839;
		width: 100%;
}

.contactform label {
	margin: 20px 0;
	display: block;
}

/* -- This adds : after the labels content/name -- */
.contactform label:after { content: ": " }

input[type="text"], [type="email"] {
	 	border: 1px solid #110101;
	 	border-radius: 5px 5px 5px 5px;
  		height: 25px;
  		padding: 10px 12px;
  		width: 96%;
}

input[type="submit"] {
  		border: 0;
}
.form {
	display: none;
}
#message {
		border: 1px solid #999;
		border-radius: 5px 5px 5px 5px;
  		display: block;
		height: 150px;
		width: 100%;
}

/* --- MyButton --- */

/* ---- BUTTON ----- */

	.myButton {
		background-color: #056839;
		color: #fff;
		display: inline-block;
		text-align: center;
		font-size: 18px;
		margin-top: 5px;
		padding: 16px 60px;
		transition: all 0.5s ease;
	}

	.myButton:hover {
		background-color: #2A0BC8;
		cursor:pointer;
		color: #fff;
		text-decoration: none;
	} 

/* ---------greenbanner openinghours--------- */

#greenbanneropeninghours {
	background-color: #AC1DAB;
	border-radius: 5px 5px 5px 5px;
	box-shadow: 0 0 20px 3px rgba(0,0,0,0.2);
	font-size: 15px;
	padding: 1% 1% 1% 1%;
	position: absolute;
	right: 60px;
	text-align: center;
	top: 240px;
	width: 14%;
	z-index: 1;
}

	.textwhiteheading {
		color: #fff;
		font-size: 24px;
		padding: 0 0 5px 0;
	}
	.textwhite {
		color: #fff;
	}
	
	.textgreen {
		color: #CD99B0;
	}


footer {
	background-color: #11A219;
	float: left;
	font-size: 15px;
	font-weight: 400;
	margin-left: 15%;
	padding: 3% 5% 3% 5%;
	width: 75%;
}

.openingimg {
		float: left;
		font-size: 25px;
		line-height: 1;
		padding: 2% 0 2% 0;
		width: 14%;
	}
	
.openinghoursimg {
		width: 30%;
	}
	
.openingimgmobile {
		display: none;	
	}
	
.openinghours {
		float: left;
		padding: 2% 2% 2% 0;
		width: 15%;
}

.openinghoursbankholidays {
		float: left;
		padding: 2% 0 2% 0;
		width: 20%;
}

.copyrightfooter {
		float: right;
		padding: 2% 0 2% 0;
		width: 17%;
}

.copyrightfooter a:hover {
		color: #FFFFFF;
		text-decoration: underline;
	}

.logo {
		width: 20%;
	}

.social {
		width: 17%;
	}
/* --------------------------- MOBILE Back to TOP of Page Button ----------------------*/
<style>
  /* Replace #lp-pom-button-18 with the ID of your back to top button */
  #lp-pom-button-18 {
  position: fixed;
  top: auto;
  left: auto;
  bottom: 0;
  right: 0;
  margin-bottom: 2%;
  margin-right: 2%;
  margin-left: 2%;
  display: none;  
} 
</style>
/* --------------------------- MEDIA QUERIES ----------------------*/
/* ------------------- Mobile Devices --------------------- */

@media screen and (min-width: 1400px) {
		.reverse-text .fa {
		font-size: 50px;
		}
		
		.reverse-texttwo .fa {
		font-size: 50px;
		}
	}


@media screen and (max-width: 1024px) {
	
	
	html, body {
	font-size: 16px;
	}
	
	nav {
	display: none;
	}
	.mobile-phone-banner{
		display: block;
	}
	/* === BURGER MENU ==== */
	
	.menutext {
	position: absolute;
	top: 20px;
    right: 72px;
	}
		
	#burger-menu {
		display: block;
		float: right;
		padding: 9px 0;
	}
	
	#burger-layer-one, #burger-layer-two, #burger-layer-three {
		width: 20px;
		height: 2px;
		background-color: #FFFFFF;
		margin: 0 0 5px 0;
		transition: all 0.8s;
	}
	
	#burger-layer-three {
		margin: 0;
	}
	
	/* --- END Burger Menu --- */
	
	#navmobile-header {
		background-color: #060101;
		box-sizing: border-box;
		display:block;
		color: #E4FB00;
		height: 60px;
		display: block;
		padding: 12px 15px;
	}
	
	#navmobile {
		background-color: #060101;
		box-sizing: border-box;
		color: #F9F4F4;
		display: block;
		}
	
	.navon {
	background-color: #22D713;
    box-sizing: border-box;
    cursor: pointer;
    color: #fffff;
    font-size: 16px;
    padding-top: 15px;
    padding-right: 0;
    padding-bottom: 15px;
    padding-left: 5%;
    width: 100%;
	}
	
	.navoff {
    box-sizing: border-box;
    cursor: pointer;
    font-size: 16px;
    padding-top: 15px;
    padding-right: 0;
    padding-bottom: 15px;
    padding-left: 5%;
    width: 100%;
	}

	.mainlogomobile {
		width: 150px;
	}
	
	#content-wrapper {
	margin-left: 0;
	width: 100%;
	}
	
	#main-content {
    background-color: #FFFFFF;
    margin: 0 auto;
    padding: 2% 0 5% 0;
    width: 90%;
	}
	
	.content {
	box-sizing: border-box;
    float: left;
    margin: 0;
    padding: 0%;
    width: 100%;
	}
	
	#greenbanneropeninghours {
		display: none;
	}
	
	.tertiarynav {
    padding: 20px 0 20px 5%;
	}
	
	/* --- ABOUT PAGE - MIDDLE CONTENT ---- */

	#middle-content-wrapper {
		font-size: 15px;
		max-height:580px;
		width: 100%;
	}
	
	.reverse {
    bottom: -26.1vw;
	}
	
	.reversetwo {
    bottom: -26.1vw;
	}
	
	
	.gallerytext {
	font-size: 12px;
	}
	
	.gallerytextfirst {
    padding-top: 27vw;
	}
	
	.gallerytextsecond {
    padding-top: 27vw;
	}
	
	#bottom-content {
    padding: 2% 0 0 55%;
    width: 40%;
    height: 300px;
	}
	
	footer {
	box-sizing: border-box;
    margin-left: 0;
   	padding: 5%;
    width: 100%;
	}
	
	.openingimg {
    width: 25%;
	}
	
	.openinghours {
    width: 25%;
	}
	
	.reverse-text {
	font-size: 12px;
	}
	
	.reverse-texttwo {
	font-size: 12px;
	}
	
}


@media screen and (max-width: 738px) {
	
	h1 {
		font-size: 28px;
	}
	
	h2 {
		font-size: 22px;
	}
	
	/* ---- CONTENT --- */
	
	.menutext {
    position: absolute;
    top: 20px;
    right: 45px;
	}
		
	#content-wrapper {
		margin-left: 0;
		width: 100%;
	}
		
	#main-content {
		box-sizing: border-box;
		margin:0;
		padding: 8%;
		width: 100%;
	}
	
	.tertiarynav {
    display: none;
}

	.tertiarynav-mobile {
	box-sizing: border-box;
    background-color: #4D4A46;
    color: #fff;
    display: block;
    font-size: 14px;
    padding: 20px 30% 20px 5%;
    width: 100%;
	}
	
	/* ---- MAIN-CONTENT PAGES --- */

	#main-content-pages {
		box-sizing: border-box;
		background-color: #FFFFFF;
		margin: 0;
		overflow: hidden;
		padding: 5%;
		width: 100%;
		
	}
	
	/* --- ABOUT PAGE - MIDDLE CONTENT ---- */
	
	#middle-content-wrapper {
		display: none;
	}
	
	/* --- ABOUT PAGE - BOTTOM CONTENT ---- */
	
	#bottom-content-wrapper {
		display: none;
		}
	
	/* --- ABOUT PAGE MOBILE CONTENT ---- */
	
	.image-mobile-middle {
		background-color: #FFFFFF;
		display: block;
	}
	
	.image-mobile-bottom {
		background-color: #E1C620;
		display: block;
	}
	
	.image-mobile-middle img {
		width: 100%;
		display:block;
	}
	
	.image-mobile-bottom img {
		width: 100%;
		display:block;
	}
	
	#text-mobile-middle {
		background-color: #F8970B;
		box-sizing: border-box;
		color: #ECE415;
		display: inline;
		float: left;
		font-size: 15px;
		padding: 8%;
		width: 100%;
	}
	
	#text-mobile-bottom {
		background-color: #FFFFFF;
		box-sizing: border-box;
		color: #E7E50F;
		display: inline;
		float: left;
		font-size: 15px;
		padding: 8%;
		width: 100%;
	}
	
	.gallerycontainer {
    padding: 0 5%;
	}
	
	.gallery-wrapper {
	margin-bottom: 20px;
	}
	
	.gallery-wrapper-tertiary {
	margin-bottom: 20px;
	}
	
	.gallery-boxes-first img {
		width: 100%;
	}
	
	.gallery-boxes-first {
    float: none;
    margin-bottom: 20px;
    width: 100%;
	}
	
	.gallery-boxes img {
		width: 100%;
	}
	
	.gallery-boxes {
    float: left;
    width: 48%;
	}
	
	.gallerytext {
    padding: 10px;
	}
	
	.reverse-text {
    padding-left: 12%;
    padding-bottom: 20px;
    text-align: right;
    font-size: 16px;
    width: 80%;
	}
	
	.reverse-texttwo {
    padding-left: 12%;
    padding-bottom: 10px;
    text-align: right;
    font-size: 9px;
    width: 80%;
	}
	
	.reverse-text .fa {
	font-size: 40px;
	}
	
	.reverse-texttwo .fa {
	font-size: 15px;
	}
	
	.reverse {
    bottom: -90vw;
	}
	
	.reversetwo {
    bottom: -43vw;
	}
	
	.gallerytextfirst {
    padding-top: 95vw;
	}
	
	.gallerytextsecond {
    padding-top: 47vw;
	}
	
	.one-quarter-col {
    float: left;
    width: 46%;
	}
	
	.callusmobile {
    padding: 16px;
    margin: 0 -30px;
	}
	
	/* --- Contact Page ---- */
	
	input[type="text"], [type="email"] {
  		padding: 10px 12px;
  		width: 90%;
		}
		
		
	#message {
		width: 95%;
		}
	
	.two-col {
		float: none;
		padding: 5% 20px;
		width: 100%;
	}
	
	.myButton {
	width:100%;
	}
	
	footer {
		font-size: 13px;
	}
	
	.openingimg {
			display:none;
	}
		
	.openingimgmobile {
			display:block;
			font-size: 24px;
			padding: 0 0 5% 0;
			width: 100%;
	}
		
	.openinghoursimg {
			width: 7%;
	}
	
	.openinghours {
			width: 50%;
	}
	
	.openinghoursbankholidays {
			width: 50%;
	}
	
	.copyrightfooter {
			width: 100%;
	}

	.logo {
			width: 10%;
	}

	.social {
			width: 7%;
	}
}

.small {
	font-size:13px;
}