/*
	Theme Name: The Mayne Theme
	Theme URI: http://aMayneAndSon.co.uk
	Description: A Custom theme for Chris Mayne
	Version: 1000000
	Author: Alex Bdale
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/
body {
	margin: 0;
	padding: 0;
	font-family: 'Raleway', sans-serif;
	
}

h1{
    font-size: 28px;
    color: #0F0F0F;
    border-bottom: 2px solid #A02F38;
    padding: 0 0 6px 0;
	width: fit-content;
	line-height: normal;
}

h2 {font-size: 20px;
	color: #0F0F0F;
	border-bottom: 2px solid #F1BF8A;
	padding: 0 0 6px 0;
	width: fit-content;
	line-height: normal;
}

h3 {font-size: 18px;
	color: #0F0F0F;
	padding: 0 0 6px 0;
	margin: 0;
	width: fit-content;
	line-height: normal;
	font-weight: 400;
}



a {
    text-decoration: none;
	color: #0F0F0F;
}

p {
	text-decoration: none;
	color: #0F0F0F;
}

.full-width-row {
	width: 100%;
	height: auto;
	float: left;
	overflow: hidden;
	line-height: 1.6;
}

.full-width-row h3 {
	width: 100%;
	height: auto;
	float: left;
	overflow: hidden;
}

.full-width-full-height {
	width: 100%;
	height: 100vh;
	float: left;
	overflow: hidden;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	background-color: #eeeeee;
	display: flex;
	justify-content: center;
	align-items: center;
}

.business-card-parent-container {
	width: 70%;
	height: 583px;
	margin: 0 auto;
	background-color:#FFFFFF;
	display: flex;
	flex-wrap: wrap;
	overflow: hidden;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}
.contact-info-container {
	width: 100%;
	margin: 0 auto;
	height: 100%;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
}
.image-container {
	width: 170%;
	height: 100%;
	float: left;
	overflow: hidden;
background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	background-image: url(http://amayneandson.co.uk/wp-content/themes/mayne/img/buscrop.png);
}


.contact-info-text {
	width: 100%;
	height: auto;
	margin: auto; 
	overflow: hidden;
	padding: 100px;
}
@media screen and (max-width: 1000px) {
	.business-card-parent-container {
		width: 80%;
		height: 50%;
	}
}

@media screen and (max-width: 680px) {

	.full-width-full-height {
		height:80%;
	}

	.business-card-parent-container {
		width: 90%;
		margin-top: 20px;
	}
	.contact-info-container {
		width: 100%;
		flex-wrap: wrap;
		height: 100vh;
	}


	.contact-info-text {
		padding: 30px;
	}

	.image-container {
		width: 100%;
		height: 60%;
		margin-bottom: -82px;
	}
}