/**********************GLOBAL****************************/


* {
	box-sizing: border-box;
	outline: none;
}

html {
	font-size: 62.5%;
}

body {
	font-family: "Bree Serif", Arial, sans-serif;
	font-size: 1.4rem;
	line-height: 2;
	background-color: #FFFFFF;
	border-width:10px;
	border-style: solid;
	border-color: #00923e;
}

.container {
	margin: 0 auto;
}

h1 {
	font-size: 5rem;
	color: #FFFFFF;
	font-weight: bold;
	padding-left: 30px;
	margin: 0 auto;
}

h2 {
	color: black;
	font-size: 4rem;
	margin: 0 auto;
}

h3 {
	font-size: 3.5rem;
	text-align: center;
	padding-bottom: 15px;
	border-bottom: 2px solid rgba(60, 179, 113,0.1);
	color: #3CB371;
}

h4 {
	font-size: 2.5rem;
}

h5 {
	font-size: 2.5rem;
	color: #ff7744;
}

h6 {
	font-size: 2.3rem;
	font-weight: bold;
}

#services h2 img.iconetitre {
	font-size: 3.5rem;
}

a {
	text-decoration: none;
	color: rgba(60, 179, 113,1);
	transition: all 0.3s ease 0s;	
}

/******************************HEADER***************************/
header {
	background-color: #00923e;
}

ul.menu {
	margin: 0 auto;
}

nav a {
    color: #00923e;
    text-decoration: none;
}

nav a:hover {
    color: rgb(255, 138, 93);
}

nav {
    display: block;
    background: #45cc49;
}

.menu {
    display: block;
}

.menu li {
    display: inline-block;
    position: relative;
    z-index: 100;
}

.menu li:first-child {
    margin-left: 0;
}

.menu li a {
    text-decoration: none;
    padding: 20px 15px;
    display: block;
    color: #fff;
    transition: all 0.2s ease-in-out 0s;
}

.menu li a:hover,.menu li:hover>a {
    color: #fff;
    background: #ff7744;
}

.menu ul {
    visibility: hidden;
    opacity: 0;
    margin: 0;
    padding: 0;
    width: 170px;
    position: absolute;
    left: 0px;
    background: #00923e;
    z-index: 99;
    transform: translate(0,20px);
    transition: all 0.2s ease-out;
}

.menu ul:after {
    bottom: 100%;
    left: 20%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(255, 255, 255, 0);
    border-bottom-color: #45cc49;
    border-width: 6px;
    margin-left: -6px;
}

.menu ul li {
    display: block;
    float: none;
    background: none;
    margin: 0;
    padding: 0;
}

.menu ul li a {
    font-size: 12px;
    font-weight: normal;
    display: block;
    color: #45cc49;
    background: #fff;
}

.menu ul li a:hover,.menu ul li:hover>a {
    background:#ff7744;
    color: #fff;
}

.menu li:hover>ul {
    visibility: visible;
    opacity: 1;
    transform: translate(0,0);
}

.menu ul ul {
    left: 169px;
    top: 0px;
    visibility: hidden;
    opacity: 0;
    transform: translate(20px,20px);
    transition: all 0.2s ease-out;
}

.menu ul ul:after {
    left: -6px;
    top: 10%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(255, 255, 255, 0);
    border-right-color: #45cc49;
    border-width: 6px;
    margin-top: -6px;
}

.menu li>ul ul:hover {
    visibility: visible;
    opacity: 1;
    transform: translate(0,0);
}

.responsive-menu {
    display: none;
    width: 100%;
    padding: 20px 15px;
    background: #45cc49;
    color: #FFFFFF;
    text-transform: uppercase;
    font-weight: 600;
}

.responsive-menu:hover {
    background: #ff7744;
    color: #FFFFFF;
    text-decoration: none;
}

a.homer {
    background: #45cc49;
}

/******************************MAIN******************************/

/******************************BANDEAU****************************/

.chapeau {
	background-color: rgba(255, 255, 255,0.5);
	border-radius: 10px;
}

p.slogan {
	font-size: 3rem;
	line-height: 0;
}

section#presentation {
	background: url(../img/pathway_bandeau.jpg) no-repeat center center;
	background-size: cover;
	background-attachment: fixed;
	text-align: center;
	padding: 100px 50px 100px 50px;
} 

/********************MAIN*********************/


#contact p, #resume div {
	margin: 25px;
}

/*#resume img {
	width: 50%;
	box-shadow: 8px 8px 12px #45cc49;
}*/

#resume {
	margin: 0 auto;
	width: 70%;
}

span.strong {
	font-weight: bolder;
	color: #00923e;
}

.italic {
	font-style: italic;
	font-weight: bold;
}

.clear {
	border-width: 8px;
	border-left-style: solid;
	border-left-color: #ff7744;
	/*border-bottom-style: solid;
	border-bottom-color: #ff7744;
	padding-bottom: 10px;*/
	margin-bottom: 40px; 
	padding-left: 15px;
}

table.table-responsive {
	margin: 0 auto;
}

thead {
	background-color: #ff7744;
}

tbody {
	border-color: #ff7744;
	border-style: solid;
}


/**********PICTURES*************/

img.map_small {
	width: 40%;
	margin: 0 auto;
	display: block;
	box-shadow: 8px 8px 14px #000000;
}

.container #resume img.planet_earth {
	margin: 0 auto;
	box-shadow: none;
	display: block;
	width: 30%;
}

.juicy_grass {
	float: right;
	width: 40%;
	box-shadow: 8px 8px 14px #000000;
	margin: 20px;
}

.chafer {
	width: 40%;
	box-shadow: 8px 8px 14px #000000;
	display: block;
	margin: 20px auto 20px; 
}

.garden {
	display: block;
	margin: 20px auto 20px;
	width: 100%; 
}

.edge_cutting {
	display: block;
	margin: 20px auto 20px;
	width: 70%; 
	box-shadow: 8px 8px 14px #000000;
}

.snow_shovel, .gutter {
	float: left;
	margin: 20px;
	width: 50%; 
	box-shadow: 8px 8px 12px #000000;
}

.grass_seed {
	float: right;
	margin: 20px;
	width: 40%; 
	box-shadow: 8px 8px 12px #000000;
}
/***********************CONTACT************************/

article.media {
  background-image: linear-gradient(to bottom right, rgba(60, 179, 113, 0.2), #F5F5F5);
  border-radius: 7px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.4rem;
  width: 60%;
  box-shadow: 8px 8px 14px #000000;
}

.lawn_spring {
    width: 100%;
    border-radius: 7px;
    box-shadow: none;
}

.underline {
	text-decoration: underline overline #00923e;
	font-size: 3rem;
}

/***********************CHECKBOX***********************/

/* The container */
.singlebox {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-left: 15px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default radio button */
.singlebox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Create a custom radio button */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.singlebox:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the radio button is checked, add a green background */
.singlebox input:checked ~ .checkmark {
    background-color: #3CB371;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.singlebox input:checked ~ .checkmark:after {
    display: block;
}

/* Style the indicator (dot/circle) */
.singlebox .checkmark:after {
 	top: 9px;
	left: 9px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: white;
}

/***********************FORMULAIRE*********************/

h3#estimate {
	background-color: #00923e;
	color: #FFFFFF;
	margin: 0 auto 20px;
}

section#form {
	text-align: center;
	width: 40%;
	margin: 60px auto 25px;
	box-shadow: 6px 6px 6px #00923e;
	border-width:1px;
	border-style: solid;
	border-color: #00923e;
}

form .checkbox {
	text-align: left;
	width: 60%;
	margin-left: auto;
	margin-right: auto;
}

#form {
	background-color: rgba(60, 179, 113, 0.1);
	border-radius: 7px;
	position: relative;
	margin-bottom: 20px;
}

input, textarea {
	padding: 20px 20px 20px 70px;
	margin: 1%;
	color: #666;
	background-color: transparent;
	border-radius: 50px;
	border: 1px solid #ccc;
	font-family: Arial;
	font-size: 1.3rem;
	width: 60%;
	margin-left: auto;
	margin-right: auto;
}

input:focus {
	border-color: #3CB371;
}

textarea:focus {
	border-color: #3CB371;
}

input, textarea {
	background-repeat: no-repeat;
	background-size: 40px;
	background-position: 10px;
}

input:first-child {
	background-image: url(../img/icones_presentation/man-user.svg);	
}

input:nth-of-type(2) {
	background-image: url(../img/icones_presentation/location.svg);
}

input:nth-of-type(3) {
	background-image: url(../img/icones_presentation/vintage-telephone-call.svg);
}

input:nth-of-type(4) {
	background-image: url(../img/icones_presentation/at.svg);
}

textarea {
	background-image: url(../img/icones_presentation/edit.svg);
}

button {
	margin: 25px 0 0 0;
	padding: 15px 25px;
	color: #FFFFFF;
	font-size: 2rem;
	font-weight: bolder;
	border: none;
	width: 100%;
}

button:hover {
	cursor: pointer;
}

button[type="submit"] {
	background-color: #3CB371;
}

button[type=submit]:hover {
    background-color: #249129;
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

form .coordinates div.alert {
	font-weight: bolder;
	color: #3CB371;
}

/* LICENCE */
footer {
    text-align: center;
}

footer img {
	width: 10rem;
}

footer p {
	background-color: #00923e;
	color: #FFFFFF;
	margin: 0 auto;
	font-size: 1rem;
}

/*BUTTON TOP*/

.go-top {
    position: fixed;
    bottom: 3.2em;
    right: 2em;
    text-decoration: none;
    color: white;
    background-color: #ff7744;
    font-size: 16px;
    padding: 1em;
    display: none;

    transition: background-color .25s ease-in-out;
    -moz-transition: background-color .25s ease-in-out;
    -webkit-transition: background-color .25s ease-in-out;
  
    &:hover {
    background-color: darken(#45cc49, 10%);
    }
}

/********************MEDIA QUERY*********************/

/********************VERSION TABLET*****************/

@media screen and (max-width: 1024px) {
	/*HEADER*/

	.mainWrap {
        width: 768px;
    }

    .menu ul {
        top: 60px;
    }

    .menu li a {
        font-size: 12px;
    }

    a.homer {
        background: #45cc49;
    }

    /************/

	.language, .service {
		display: block;
		width: 100%;
	}

	.language + .language, .service + .service {
		margin-top: 80px;
	}

	#contact article {
	width: 95%;
	display: block;
	vertical-align: top;
	margin: 10px auto;
	}

	section#form {
		width: 70%;
	}
}

/*****************VERSION SMARTPHONE**************/

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

	html {
		font-size: 50%;
	}

	h1 {
		font-size: 3rem;
		text-align: center;
	}

	/*HEADER********/

	.mainWrap {
        width: auto;
        padding: 50px 20px;
    }

    .menu {
        display: none;
    }

    .responsive-menu {
        display: block;
    }

    nav {
        margin: 0;
        background: #45cc49;
    }

    .menu li {
        display: block;
        margin: 0;
    }

    .menu li a {
        background: #fff;
        color: #45cc49;
    }

    .menu li a:hover,.menu li:hover>a {
        background: #ff7744;
        color: #fff;
    }

    .menu ul {
        visibility: hidden;
        opacity: 0;
        top: 0;
        left: 0;
        width: 100%;
        transform: initial;
    }

    .menu li:hover>ul {
        visibility: visible;
        opacity: 1;
        position: relative;
        transform: initial;
    }

    .menu ul ul {
        left: 0;
        transform: initial;
    }

    .menu li>ul ul:hover {
        transform: initial;
    }

    /**********/
    p.slogan {
	line-height: 1.5;
	}

	#presentation {
		padding-left: 20px;
		padding-right: 20px;
	}

	#resume {
		width: 95%;
	}

	.language img {
		width: 70%;
	}

	#resume article:nth-child(even) img, #resume article:nth-child(odd) img {
		width: 50%;
	}

	.garden {
	width: 100%; 
}

	section#form {
		width: 85%;
	}

	input, textarea {
		float: none;
	}

	input, textarea {
		width: 95%;
		margin-left: auto;
		margin-right: auto;
	}
}




