/* ====================  ==================== 
May-June 2018 Website Redesign
Author: Luke Johns
Company: Pixelfeast
====================  ==================== */

/* ==================== GENERIC ==================== */

p {
	font: 400 18px/28px "lato";
}

h1 {
	font: 700 40px/46px "proxima-nova-condensed";
}

h2 {
	font: 700 30px/36px "proxima-nova-condensed";
}

.button {
	background: #d97927;
	border: 1px solid #d97927;
	border-radius: 10px;
	color: #ffffff !important;
	font: 700 18px/50px "lato";
	padding: 0 20px;
	text-decoration: none !important;
	text-transform: uppercase;
}

.button:hover {
	background: #ffffff;
	color: #d97927 !important;
}

.negMargin {
	margin: 0 -.9375rem 20px;
}

.centred {
	text-align: center;
}

@media (min-width: 640px) {

	.left {
		text-align: left;
	}

	.right {
		text-align: right;
	}
	
}

@media (max-width: 1024px) {

	.noMobile {
		display: none;
	}

}

/* ==================== HEADER ==================== */

.header {
	background: #000000;
	color: #ffffff;
	padding: 30px 0 25px;
	text-align: center;
}

.header .details {
	display: inline-block;
}

.header .title {
	font: 700 28px/28px "proxima-nova-condensed";
	margin: 0 0 20px;
	text-transform: uppercase;
}

.header .phone {
	font: 700 26px/26px "proxima-nova-condensed";
	text-transform: uppercase;
}

.header .tick {
	margin: 20px auto 0;
	width: 70px;
}

.header .tick img {
	width: 100%;
}

.header .bl {
	font: 700 16px/16px "lato";
}

.header span {
	color: #d97927;
}

@media (min-width: 640px) {
	
	.header {
		text-align: left;
	}

	.header .title {
		font: 700 34px/34px "proxima-nova-condensed";
		margin: 0;
	}

	.header .details {
		display: flex;
		align-items:center;
		justify-content: flex-end;
		text-align: right;
	}

	.header .tick {
		display: inline-block;
		margin: 0 0 0 20px;
	}

	.header .contact {
		display: inline-block;
		text-align: right;
	}
	
}

@media (min-width: 1200px) {

	.header .title {
		font: 700 44px/44px "proxima-nova-condensed";
		margin: 12px 0 0;
	}

}

/* ==================== SLIDER ==================== */

.slider .image img {
	width: 100%;
}

.innerSlider {
	background: url(../img/slider.jpg) no-repeat;
	background-size: cover;
	height: 100px;
	margin: 0;
}

.innerSlider h1 {
	color: #ffffff;
	font: 700 24px/100px "proxima-nova-condensed";
	margin: 0;
	text-align: center;
	text-shadow: 2px 2px 2px #000000;
}

@media (min-width: 640px) {

	.innerSlider h1 {
		font: 700 40px/150px "proxima-nova-condensed";
	}

	.innerSlider {
		height: 150px;
	}

}

/* ==================== NAVIGATION ==================== */

.navigation {
	background: #d97927;
    margin: 0;
    text-align: center;
}

.navigation input[type="checkbox"] { display: none; }

.navigation label {
    color: #fff;
    display: block;
    font: 600 24px/45px "Lato", sans-serif;
    padding: 0 30px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.5s;
}

.navigation .container + label:hover {
    border-radius: 10px 10px 0 0;
    cursor: pointer;
}

#menu:checked ~ ul {
    display: inline;
    height: 330px;
}

.navigation ul {
    display: none;
    height: 0;
    margin: 0;
    overflow: hidden;
    padding: 0;
    text-align: center;
}

.navigation li {
	border-top: 1px solid #fff;
    display: block;
    margin: 0 auto;
    width: 100%;
}

.navigation a {
    color: #ffffff;
    display: block;
    font: 700 18px/45px "Lato";
    padding: 0 20px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.5s;
}

.navigation li:hover a, .navigation li.selected a {
    color: #000000;
}

@media (min-width: 641px) {

    .navigation {
        text-align: center;
    }

    .navigation label {
        margin: 0 auto !important;
    }

    .navigation li {
    	border-top: 0;
    }

}

@media (min-width: 1120px) {

    .navigation label {
        display: none !important;
    }
    
    .navigation ul {
        display: inline;
    }
    
    .navigation li {
        display: inline-block;
        width: inherit;
    }

	.navigation a {
 	   border-left: 1px solid #ffffff;
 	   font: 700 18px/60px "Lato";
 }

    .navigation li:last-child a {
        border-right: 1px solid #ffffff;
    }
    
}

/* ==================== PICTURE BUTTONS ==================== */

.pictureButtons {
	margin: 40px 0 20px;
}

.pictureButtons .image {
	align-items:center;
	border-radius: 10px 10px 0 0;
	display: flex;
	max-height: 200px;
	overflow: hidden;
	vertical-align: middle;
}

.pictureButtons .text {
	background: #d97927;
	border: 1px solid #d97927;
	border-radius: 0 0 10px 10px;
	color: #ffffff;
	display: block;
	font: 700 18px/26px "lato";
	margin: 0 0 20px;
	padding: 10px 0;
	text-align: center;
	text-decoration: none !important;
	text-transform: uppercase;
}

.pictureButtons img {
	vertical-align: middle;
}

/* ==================== CONTENT ==================== */

.content {
	padding: 40px 0;
}

.content h1 {
	color: #d97927;
	text-align: center;
}

.slogan {
	color: #d97927;
	font: 700 40px/46px "proxima-nova-condensed", sans-serif;
	text-align: center;
	margin: 0 0 40px;
}

.content a {
	color: #d97927;
	text-decoration: underline;
}

.homeContent {
	background: url(../img/homeContent.jpg) no-repeat;
	background-size: cover;
	color: #ffffff;
	text-align: center;
}

.homeContent h1 {
	color: #ffffff;
}

.homeContent .row {
	max-width: 800px;
}

.homeContent a {
	color: #ffffff;
	text-decoration: underline;
}

/* ==================== BRANDS SERVICED ==================== */

.brandsServiced {
	font-size: 0;
	text-align: center;
}

.brandsServiced .brand {
	align-items:center;
	display: flex;
	float: left;
	height: 148px;
	justify-content: center;
	text-align: center;
	vertical-align: middle;
	width: 148px;
}

.brandsServiced img {
	display: block;
	max-height: 100px;
	max-width: 105px;
	vertical-align: middle;
}

/* ==================== FOOTER ==================== */

.footer {
	background: #d97927;
}

.footer .title {
	font: 700 16px/24px "lato";
	margin: 20px 0 10px;
	text-transform: uppercase;
}

.footer p {
	color: #ffffff;
	font: 400 16px/24px "lato";
	margin: 0 0 20px;
}

.footer a {
	color: #ffffff;
	text-decoration: underline;
}

.footer .credits {
	background: #000000;
	color: #ffffff;
	padding: 20px 0;
	font: 400 16px/24px "lato";

}

@media (max-width: 640px) {
	.footer .credits {
		text-align: center;
	}
}

.footer .credits a {
	color: #ffffff;
	text-decoration: none;
}

.flex {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    max-width: 1440px;
    padding: 0 .9375rem;
}

.grid {
    display: grid;
    gap: 2rem;
    margin: 0 auto;
    max-width: 1440px;
    padding: 0 .9375rem;
}

@media (min-width : 640px) {
    .flex{
    flex-direction: row;
    gap: 2rem;
    }
}

@media (min-width : 1000px) {
    .grid {
        grid-template-columns: repeat(5, 1fr);
    }
}