/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* core */

html {
	font-size:62.5%;
}
body {
	padding-top: 57px;
	font-size: 1.6rem;
	font-family: 'Lato', sans-serif;
	line-height: 1.4;
	color: #23282d;
}
* {	
	box-sizing: border-box;
}

p {
	margin: 0 0 12px;
}

p i {
	font-size: 80%;
	font-style: italic;
}

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

h1 strong {
	font-size: 120%;
}

h2 {
	margin-top: 35px;
	margin-bottom: 25px;
	font-size: 2.8rem;
	font-weight: 900;
}

h3 {
	font-size: 2.4rem;
	font-weight: 900;
}

h4 {
	margin-top: 0;
	margin-bottom: 12px;
	font-weight: 900;
	color: #0073aa;
}

div {
	padding: 1px 0;
}

strong {
	font-weight: 900;
}

/* ========================================
================= LAYOUT ================
==========================================*/

* {
	box-sizing: border-box;
}

.container {
	width: 940px;
	max-width: calc(100% - 30px);
	margin: auto;
}

.description {
	margin: 45px auto;
	border: 1px solid rgba(0,0,0,0.4);
	padding: 25px;
	width: 830px;
	max-width: 100%;
	text-align: center;
}

.btn {
	margin-top: 25px;
	display: inline-block;
	padding: 10px 20px;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: 900;
    background-color: #0073aa;
    color: #fff;
    letter-spacing: 2px;
    transition: background-color 0.4s;
}

.btn:hover {
	background-color: #00557d;
}

.mw450 {
	width: 450px;
	max-width: 100%;
	margin:auto;
}

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

.navbar {
	position: fixed;
	top: 0;left: 0;
	right: 0;
	z-index: 8;
	background: #23282d;
	padding: 15px;
	color: #fff;
}

.navbar .container {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content: space-between;
	-ms-align-items: center;
	align-items: center;
}

.navbar .brand {
	font-size: 2.4rem;
	font-weight: 900;
	margin: 0 auto;
}

.navbar ul {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	list-style: none;
	padding-left: 0;
}

.navbar a {
	color: #fff;
	text-transform: uppercase;
	padding-left: 16px;
	text-decoration: none;
	font-size: 1.4rem;
	letter-spacing: 1px;
}



/* ========================================
=================== HERO ==================
==========================================*/

.hero_section {
	padding: 65px 0; 
	background-color: #0073aa;
}

	

.hero_section .container h1 { 
	padding-left: 30px;
	flex-basis: calc(100% - 337px);
	text-align: left;
	color: #fff;
	line-height: 1.4;
	letter-spacing: 2px;
	font-size: 4.2rem;
}

svg {
	max-width: 100%;
	height: auto;
}

@media screen and (min-width: 700px) {
	.hero_section .container { 
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flex;
		display: -o-flex;
		display: flex;
		-ms-align-items: center;
		align-items: center;
	}
}

.svgs {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	-o-flex-wrap: wrap;
	flex-wrap: wrap;
	width: 337px;
	max-width: 100%;
	flex-basis: 337px;
}

.svgs svg {
	display: block;
	width: 160px;
	height: 140px;
}

.svgs svg {
	width: 160px;
	height: 140px;
}

.svgs svg:nth-child(2) {
	margin-top: 85px;
}

.svgs svg:last-child {
	margin-top: -45px;
}

/* ========================================
================= CONTACT =================
==========================================*/

.contact {
	position: fixed;
	bottom: 15px;
	right: 15px;
	padding: 25px;
	text-align: center;
	background-color: #fff;
	box-shadow: 0 0 12px rgba(0,0,0,0.1);
	z-index: 5;
}

.contact a {
	color: #0073aa;
	font-weight: 900;
	letter-spacing: 1px;
}

/* ========================================
================= SERVICES ================
==========================================*/

.services_container {
	padding-top: 45px;
}

.services_container h3 {
	padding-bottom: 25px;
}

.service {
	margin: 15px 0;
	padding: 25px;
	border: 1px solid rgba(0,0,0,0.15);
}

.service p {
	margin-bottom: 0;
}

.formules_container {
	padding: 45px 0 65px;
	background-color: #0073aa;
}

.formules_container .container {
	width: 1100px;
}

@media screen and (min-width: 768px) {
	.formules {
		margin-top: 75px;
	}
}

.formule {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-webkit-flex-direction: column;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
	-o-flex-direction: column;
	flex-direction: column;
	position: relative;
	box-shadow: 0 0 8px rgba(0,0,0,0.12);
	background-color: #fff;
	padding: 45px 20px 20px 20px;
	text-align: center;
	height: 100%;
}

.formule .action {
	margin-top: auto;
}

.formule h2 {
	position: absolute;
	box-shadow: 0 0 8px rgba(0,0,0,0.12);
	top: -40px;
	left: 50%;
	transform: translateX(-50%);
	background-color: #23282d;
	padding: 10px 30px 7px;
	color: #fff;
	text-align: center;
	text-transform: uppercase;
	font-size: 3.2rem;
	line-height: 1.2;
	min-width: 264px;
}

.formule h2 small {
	display: block;
	font-size: 1.2rem;
}

.formule ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.formule ul li {
	padding: 8px 0 0;
	color: #0073aa;
}

.formule ul li:after{
	content: "";
	margin: 8px auto 2px;
	display: block;
	height: 3px;
	width: 15px;
	background-color: rgba(0,0,0,0.15);
}

.formule ul li:last-child:after {
	display: none;
}

.formule ul li!last-child:after{
	display: none;
}

.price {
	margin-bottom: 25px;
	font-size: 2.4rem;
	font-weight: bold;
	line-height: 1;
}

.price small {
	font-size: 70%;
	font-weight: normal;
}

.tac {
	text-align: center;
}

.twhite {
	color: #fff;
}

h2 {
	margin-top: 0;
	font-size: 3.2rem;
}


@media screen and (max-width: 768px) {
	.col-half {
		margin-top: 50px;
	}
}

@media screen and (min-width: 768px) {
	.col {
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flex;
		display: -o-flex;
		display: flex;
		-webkit-flex-wrap: wrap;
		-moz-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		-o-flex-wrap: wrap;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	.icon-service {
		width: 180px;
	}
	.service {
		width: calc(100% - 240px);
	}
	.col-half {
		width: calc(50% - 15px);
	}
	.col-tiers {
		width: calc(33.33% - 15px);
	}
}

@media screen and (min-width: 500px) {
	.services {
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flex;
		display: -o-flex;
		display: flex;
		-webkit-flex-wrap: wrap;
		-moz-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		-o-flex-wrap: wrap;
		flex-wrap: wrap;
		justify-content: space-between;
		-ms-align-items: center;
		align-items: center;
	}
	.icon-service {
		width: 100px;
	}
	.service {
		width: calc(100% - 140px);
	}
	.icon-service-mobile {
		display: none;
	}
}

@media screen and (max-width: 500px) {
	.services {
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flex;
		display: -o-flex;
		display: flex;
		-webkit-flex-direction: column;
		-moz-flex-direction: column;
		-ms-flex-direction: column;
		-o-flex-direction: column;
		flex-direction: column;
	}
	.icon-service {
		width: 150px;
		margin: auto;
	}
	.icon-service:nth-child(5n + 5) {
		display: none;
		
	}
}


/* ========================================
================== MODAL =================
==========================================*/
.modal {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	background-color: rgba(0,0,0,0.6);
	z-index: 9;
}

.modal-content {
	position: relative;
	background-color: #ffffff;
	width: 700px;
	max-width: 90%;
	margin: 50px auto;
	max-height: calc(100vh - 100px);
	overflow-y: auto;
	padding: 50px 35px 35px;
}

.modal .close {
	font-size: 75px;
	position: absolute;
	top: 0px;
	right: 25px;
	cursor: pointer;
	line-height: 1;
}

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

.footer {
	padding: 45px 20px 60px;
	background-color: #23282d;
}

.footer h3 {
	margin-bottom: 20px;
}

.footer a {
	color: #fff;
	white-space: nowrap;
}


@media screen and (max-width: 700px) {
	.hero_section .container h1 {
		padding-right: 30px;
		padding-left: 30px;
		font-size: 3rem;
		text-align: center;
		
	}
	.navbar .menu {
		/*display: none;*/
	}
	.footer a {
		font-size: 80%;
	}
	.svgs svg {
		display: none;
	}
	.svgs svg:last-child {
		display: block;
		width: 120px;
	}
	.svgs {
		margin: auto;
		justify-content: center;
	}
	.menu {
		flex-direction: column;
	}
	.menu li {
		margin: 20px auto;
	}
	#site-navigation {
		position: absolute;
	    background-color: #23282d;
	    top: 67px;
	    left: 0;
	    right: 0;
	    overflow: auto;
	    height: calc(50vh - 68px);
	    display : none;
	}
	.bar1, .bar2, .bar3 {
		width: 35px;
		height: 5px;
		background-color: #FFFFFF;
		margin: 6px 0;
		transition: 0.4s;
	}
	/* Rotate first bar */
	.bar1.change {
	  	-webkit-transform: rotate(-45deg) translate(-9px, 6px) ;
	  	transform: rotate(-45deg) translate(-9px, 6px) ;
	}

	/* Fade out the second bar */
	.bar2.change {
	  	opacity: 0;
	}

	/* Rotate last bar */
	.bar3.change {
	  	-webkit-transform: rotate(45deg) translate(-8px, -8px) ;
	  	transform: rotate(45deg) translate(-8px, -8px) ;
	}
}