﻿* {
	margin: 0;
	padding: 0;
}

/*******************************************
	general
********************************************/

body {
	background: #fff;
	font-family: arial, sans-serif;
	text-align: center;
	color: #333;
}
h1, h2, h3, h4, h5, h6, p, li {
	line-height: 1.5;
}
h1, h2, h3, h4, h5, h6, p, label {
	margin-bottom: 12px;
}
h1, h2, h3, h4, h5, h6 {
	font-size: 30px;
	font-weight: 600;
	text-transform: uppercase;
}
p, li, label {
	font-size: 18px;
	text-align: left;
}
p:last-child {
	margin: 0;
}
ul {
	list-style-type: square;
	margin: 0 0 12px 40px;
}
li {
	margin-bottom: 10px;
	text-align:left;
}
a:link, a:active, a:visited, a:hover {
	color: #cc1820;
}
a:link, a:active, a:visited {
	text-decoration: underline;
}
a:hover {
	text-decoration: none;
}
hr {
	border: 0;
	width: 100%;
	height: 1px;
	margin: 40px 0;
	background-color: #eee;
	color: #eee;
	clear: both;
}
small {
	font-size: .75em;
}
strong {
	font-weight: 600;
}
label {
	display: block;
	margin: 0;
	padding: 0;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.3;
	color: rgb(54, 56, 56);
}
input, textarea {
	display: block;
	margin: 0;
	padding: .5rem;
	width: 100%;
	height: auto;
	background-color: rgba(30, 75, 235, .2);
	border: 1px solid rgba(30, 75, 235, .3);
	box-sizing: border-box;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 1rem;
	font-weight: normal;
	line-height: 1;
	color: rgb(54, 56, 56);
}
textarea {
	height: 100px;
}
input[type="submit"]{
	cursor: pointer;
	display: inline-block;
	width: auto;
	padding: 1rem;
	background-color: rgb(30, 75, 235);
	border: 1px solid rgb(30, 75, 235);
	border-radius: .3rem;
	transition: .5s;
	color: rgb(255, 255, 255, .8);
}
input[type="submit"]:hover {
	background-color: rgba(30, 75, 235, .8);
}
.required {
	color: rgb(255, 0, 0);
}
.form {
	display: block;
	margin: 1rem auto;
	padding: 1rem;
	width: 100%;
	max-width: 380px;
	height: auto;
	box-sizing: border-box;
	background-color: rgb(255, 255, 255);
	border: 1px solid rgba(54, 56, 56, .3);
	border-radius: .3rem;
}
.warning, .success {
	display: block;
	width: 100%;
	height: auto;
	margin: 1rem 0;
	padding: 1rem;
	box-sizing: border-box;
}
.warning {
	background-color: rgba(235, 64, 52, .2);
	border: 1px solid rgb(235, 64, 52);
	color: rgb(235, 64, 52);	
}
.success {
	background-color: rgba(82, 179, 46, .2);
	border: 1px solid rgb(82, 179, 46);
	color: rgb(82, 179, 46);
}
.warning p, .success p {
	margin: 0;
	padding: 0;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 1rem;
	font-weight: normal;
	line-height: 1.3;
}
.warning p {
	color: rgb(235, 64, 52);	
}
.success p {
	color: rgb(82, 179, 46);
}
div, nav {
	display: block;
}
/*******************************************
	class
********************************************/

.floatLeft,
.floatRight {
	display: block;
	float: none;
	margin: 0;
}
.clear {
	clear: both;
}
.title {
	padding: 1em 2em;
	background-color: #eee;
}
.title h1 {
	font-size: 24px;
	margin-bottom: 0;
}
.content {
	padding: 4em 2em;
	margin: 0 auto;
	max-width: 62.5em;
}
.width75,
.width50,
.width25 {
	display: block;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-o-box-sizing: border-box;
}
.width75 {
	width: 75%;
}
.width50 {
	width: 50%;
}
.width25 {
	width: 25%;
}
.greenwarning, .redwarning {
	display: block;
	padding: 1em;
	font-weight: 400;
	text-align: center;
}
.greenwarning {
	border: 1px solid green;
	color: green;
}
.redwarning {
	border: 1px solid red;
	color: red;
}
.redWrap,
.greyWrap {
	color: #fff;
}
.redWrap {
	background-color: #cc1820;
}
.greyWrap {
	background-color: #333;
}
.redWrap h1,
.redWrap h2,
.redWrap h3,
.redWrap h4,
.redWrap h5,
.redWrap h6,
.greyWrap h1,
.greyWrap h2,
.greyWrap h3,
.greyWrap h4,
.greyWrap h5,
.greyWrap h6,
.redWrap a,
.greyWrap a {
	color: #fff;
}
.redWrap a,
.greyWrap a {
	text-decoration: none;
}
a.link {
	display: block;
	margin-top: 20px;
	padding: 10px;
	width: 100px;
	background-color: #cc1820;
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
	color: #fff;
}
a.link:hover {
	background-color: #000;
	text-decoration: none;
	color: #fff;
}
.thirdCol {
	padding: 50px;
	text-align: left;
}
/*****************************
	id
*****************************/

#header {
	padding: 2em;
}
a#logo img {
	display: block;
	width: 100%;
	max-width: 470px;
	height: auto;
}
#mainnav a {
	display: inline-block;
	padding: 1em;
	transition: .2s;
	font-size: 18px;
	font-weight: 600;
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
	color: #999;
}
#mainnav a:hover {
	text-decoration: underline;
	color: #cc1820;
}
#copyright {
	background-color: #333;
	padding: 50px;
}
#copyright p {
	font-size: 11px;
	text-transform: uppercase;
	color: #fff;
}
#copyright a {
	color: #999;
}
#intro {
	background: url('img/camion.jpg') no-repeat fixed center ;
	background-size: cover;
}
#intro h1 {
	background: rgba(0, 0, 0, .5);
	padding: 100px 50px;
	margin: 0;
	font-size: 48px;
	font-weight: 600;
	text-transform: uppercase;
	text-align: center;
	color: #fff;
}
#services,
#contact,
#moving {
	padding: 50px;
	box-sizing: border-box;
}
#services a {
	display: block;
	margin-top: 20px;
	padding: 10px;
	width: 100px;
	background-color: #fff;
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
	color: #000;
}
#services a:hover {
	background-color: #000;
	text-decoration: none;
	color: #fff;
}
#moving img {
	display: block;
	margin: 0 auto 25px auto;
}
#contactPhoto,
#servicesPhoto {
	display: block;
	width: 100%;
	height: 100%;
	min-width: 300px;
	min-height: 230px;
}
#contactPhoto {
	background: url('img/front.jpg') no-repeat center;
	background-size: cover;
}
#servicesPhoto {
	background: url('img/volant.jpg') no-repeat center;
	background-size: cover;
}
#materials {
	list-style: none;
	margin: 0;
	padding: 0;
}
#materials li {
	display: inline-block;
	padding: 10px;
	margin: 10px;
	background-color: #eee;
	border-left: 5px solid #cc1820;
}
#materialsPhotos {
	padding: 1em;
	background-color: #cc1820;
}
#materialsPhotos img {
	display: inline-block;
	margin: 10px;
	border: 5px solid #fff;
}
/***************************
	desktop
****************************/

@media screen and ( min-width: 62.5em ) {

/*******************************************
	general
********************************************/

body {
	text-align: left;
}
h1, h2, h3, h4, h5, h6 {
	font-size: 48px;
}
/*******************************************
	classes
********************************************/
 
.floatLeft {
	float: left;
	margin-right: 25px;
}
.floatRight {
	float: right;
	margin-left: 25px;
}
.thirdCol {
	display: inline-block;
	width: 33%;
	box-sizing: border-box;
}
/*****************************
	id
*****************************/
a#logo img {
	float: left;
}
#mainnav {
	float: right;
	position: relative;
	top: 1em;
	width: 43em;
	text-align: right;
}
#mainnav a {
	display: inline-block;
	margin-left: 2em;
	padding: 0;
}
#intro h1 {
	padding: 300px 50px; 
	font-size: 72px;
}
#moving img {
	float: left;
	margin: 0 25px 0 0;
}
#contact,
#services {
	width: 70%;
}
#contact {
	float: right;
}
#services {
	float: left;
}
#contactPhoto,
#servicesPhoto {
	width: 30%;
	height: 100%;
	min-height: 400px;
}
#contactPhoto {
	float: left;
}
#servicesPhoto {
	float: right;
}
}
