/*

Project   : Portefolio Yannick DERUNES
Author    : Yannick DERUNES
Version   : v.1.0
Date      : 2021
*/


/*--------------------------------------------------------*/
/* GLOBAL */
/*--------------------------------------------------------*/
html {
	box-sizing: border-box;
    border: none;
	height: 100%;
	font-size: 100%;
}
*, *:before, *:after {
	box-sizing: inherit;
}

body {
	position: relative;
	height: 100%;
	font-family: 'Open Sans', sans-serif;
	font-size: 1em;
	line-height: 1.5em;
	font-weight: 400;
	color: #76787c;
	background-color: #fff;
	overflow-x: hidden;
}

/* Typographie */
/*---------------------------------------*/
h1, .h1-like,
h2, .h2-like,
h3, .h3-like,
h4, .h4-like,
h5, .h5-like,
h6, .h6-like {
	font-weight: 300;
	color: #1c1f26;
	/*line-height: 1.5em;*/
	margin: 0 0 0.625em 0;
}
h1, .h1-like {
	font-size: 2em;
	text-transform: uppercase;
}
h2, .h2-like {
	font-size: 1.75em;
}
h3, .h3-like {
	font-size: 1.5em;
}
h4, .h4-like {
	font-size: 1.25em;
}
h5, .h5-like {
	font-size: 1.125em;
	text-transform: uppercase;
}
h6, .h6-like {
	font-size: 1em;
}
p {
	margin: 0 0 0.625em 0;
}

/* Links */
/*---------------------------------------*/
a {
	text-decoration: none;
	color: #ffffff;
}


/* table */
/*---------------------------*/
table {
	width: 100%;
	margin: 0.625em 0;
	table-layout: fixed;
	border-collapse: collapse;
}
tr,
td,
th {
	vertical-align: middle;
}
thead th {
	padding: 0.625em 0;
	border-bottom: 2px solid #c1c1c4;
	text-align: left;
	font-weight: 700;
}
tbody td {
	padding: 0.625em;
	border-bottom: 1px solid #c1c1c4;
}
tbody tr:nth-child(even) {
	background: #E7E7E7;
}


/* Forms */
/* -----------------------------------------------------*/
form ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
input,
label,
select {
    display: block;
    font-family: "HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;
    font-size: 1em;
}

label {
    margin-bottom: .35938em;
    font-weight: 700;
    cursor: pointer;
}

label.required:after {
    content: " *";
}

textarea,
input[type="email"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="url"],
input[type="color"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="month"],
input[type="time"],
input[type="week"],
select[multiple=multiple] {
    box-sizing: border-box;
    width: 100%;
    margin-bottom: .71875em;
    padding: .625em;
    border: 1px solid #e8e8e9;
    border-radius: 0;
    font-family: "HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;
    font-size: 1em;
    background-color: #fff;
    box-shadow: none;
    -webkit-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}

textarea:hover,
input[type="email"]:hover,
input[type="number"]:hover,
input[type="password"]:hover,
input[type="search"]:hover,
input[type="tel"]:hover,
input[type="text"]:hover,
input[type="url"]:hover,
input[type="color"]:hover,
input[type="date"]:hover,
input[type="datetime"]:hover,
input[type="datetime-local"]:hover,
input[type="month"]:hover,
input[type="time"]:hover,
input[type="week"]:hover,
select[multiple=multiple]:hover {
    border-color: #ceced0;
}

textarea:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="text"]:focus,
input[type="url"]:focus,
input[type="color"]:focus,
input[type="date"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
select[multiple=multiple]:focus {
    border-color: #D35F60;
    outline: none;
    box-shadow: 0 0 5px rgba(205,75,77,.7);
}

textarea {
    resize: vertical;
}

input[type="checkbox"],
input[type="radio"] {
    display: inline;
    margin-right: .71875em;
}

input[type="file"] {
    width: 100%;
    margin-bottom: .71875em;
    padding-bottom: .23958em;
}
input[type="submit"] {
   cursor: pointer;
}
select {
    width: auto;
    margin-bottom: .71875em;
    max-width: 100%;
}

fieldset {
    margin: 0 0 .71875em 0;
    padding: 1.4375em;
    border: 1px solid #e8e8e9;
    border-radius: 0;
    background: #fafafa;
}

::-webkit-input-placeholder {
    color: #c8c9ca;
}

:-moz-placeholder {
    color: #c8c9ca;
}

::-moz-placeholder {
    color: #c8c9ca;
}

:-ms-input-placeholder {
    color: #c8c9ca;
}
/* input[id="nom"], input[id="prenom"] {
    display: inline-block;
    width: 75%;
}
 label[for="nom"], label[for="prenom"] {
    display: inline-block;
    width: 20%;
} */

/* Grouping content */
/*---------------------------------------*/
img,
audio,
video {
	max-width: 100%;
	height: auto;
	vertical-align: top;
}
audio, video {
	vertical-align: bottom;
}
figure {
	margin: 0;
}

/* buttons */
/*---------------------------------------*/
.btn {
	position: relative;
	display: inline-block;
	color: #e2472b;
	background-color: #fff;
	border: none;
	border-radius: 3px;
	padding: 0 1.25em;
	line-height: 2.5em;
	white-space: nowrap;
	-webkit-transition: all 0.3s ease-in-out ;
	transition: all 0.3s ease-in-out ;
}
.btn:hover {
	color: #fff;
	background-color: #84250b;
}
.btn:active {
	top: 1px;
}
.btn--small {
	font-size: 0.75em;
}
.btn--large {
	font-size: 1.5em;
}
.btn--secondary {
	color: #666;
	background-color: #ededed;
}
.btn--secondary:hover {
	color: #ededed;
	background-color: #666;
}

/* team */
/*---------------------------------------*/
.team-title {
	font-style: italic;
	text-transform: uppercase;
	margin: 10px 0 0;
	font-size: 1.25em;
}
.team-detail {
	font-style: italic;
	font-size: 1.15em;
}
/*--------------------------------------------------------*/
/* GRID CSS */
/*--------------------------------------------------------*/

.grid:before,
.grid:after {
	display: block;
	content: "";
	clear: both;
}
.grid {
	margin-left: -10px;
	margin-right: -10px;
}
/* cible toutes les classes qui commencent par col- qui ont
un parent qui porte la classe grid  */
.grid [class*="col-"] {
	float: left;
	padding-left: 10px;
	padding-right: 10px;
}

.col-m-1 {
	width: 8.333%;
}
.col-m-2 {
	width: 16.667%;
}
.col-m-3 {
	width: 25%;
}
.col-m-4 {
	width: 33.333%;
}
.col-m-5 {
	width: 41.667%;
}
.col-m-6 {
	width: 50%;
}
.col-m-7 {
	width: 58.333%;
}
.col-m-8 {
	width: 66.667%;
}
.col-m-9 {
	width: 75%;
}
.col-m-10 {
	width: 83.333%;
}
.col-m-11 {
	width: 91.667%;
}
.col-m-12 {
	width: 100%;
}


/* grid tablet view */
/*--------------------------------------------------*/
@media (min-width: 481px) {

	.col-t-1 {
		width: 8.333%;
	}
	.col-t-2 {
		width: 16.667%;
	}
	.col-t-3 {
		width: 25%;
	}
	.col-t-4 {
		width: 33.333%;
	}
	.col-t-5 {
		width: 41.667%;
	}
	.col-t-6 {
		width: 50%;
	}
	.col-t-7 {
		width: 58.333%;
	}
	.col-t-8 {
		width: 66.667%;
	}
	.col-t-9 {
		width: 75%;
	}
	.col-t-10 {
		width: 83.333%;
	}
	.col-t-11 {
		width: 91.667%;
	}
	.col-t-12 {
		width: 100%;
	}
	.table {
		display: table;
		width: 100%;
	}
	.fixed {
		table-layout: fixed;
	}
	.row {
		display: table-row;
	}
	.cell {
		display: table-cell;
		vertical-align: top;
	}
}/*--------------------------------------------------*/

/* grid desktop view */
/*--------------------------------------------------*/
@media (min-width: 769px) {

	.col-d-1 {
		width: 8.333%;
	}
	.col-d-2 {
		width: 16.667%;
	}
	.col-d-3 {
		width: 25%;
	}
	.col-d-4 {
		width: 33.333%;
	}
	.col-d-5 {
		width: 41.667%;
	}
	.col-d-6 {
		width: 50%;
	}
	.col-d-7 {
		width: 58.333%;
	}
	.col-d-8 {
		width: 66.667%;
	}
	.col-d-9 {
		width: 75%;
	}
	.col-d-10 {
		width: 83.333%;
	}
	.col-d-11 {
		width: 91.667%;
	}
	.col-d-12 {
		width: 100%;
	}
}/*--------------------------------------------------*/


/* helpers */
/*---------------------------------------*/
.txt-center {
	text-align: center;
}
.txt-right {
	text-align: right;
}
.txt-left {
	text-align: left;
}
.v-top {
	vertical-align: top;
}
.v-middle {
	vertical-align: middle;
}
.v-bottom {
	vertical-align: bottom;
}

/*
m = margin
a, t, b = all, top, bottom
n, s, m, l = none, small, medium, large
*/
.menuinter {
line-height: 4em;	
}

.man {
	margin: 0px !important;
}
.mas {
	margin: 20px !important;
}
.mam {
	margin: 40px !important;
}
.mal {
	margin: 60px !important;
}

.mtn {
	margin-top: 0px !important;
}
.mts {
	margin-top: 20px !important;
}
.mtm {
	margin-top: 40px !important;
}
.mtl {
	margin-top: 60px !important;
}
.mtxl {
	margin-top: 160px !important;
}

.mbn {
	margin-bottom: 0px !important;
}
.mbs {
	margin-bottom: 20px !important;
}
.mbm {
	margin-bottom: 40px !important;
}
.mbl {
	margin-bottom: 60px !important;
}
.sprint{ margin: 20px !important;}

.marg {
	  margin:10px;
}

.center-box {
	margin-left: auto!important;
	margin-right: auto!important;
	float: none!important;
}
.right {
	float: right!important;
}

.left {
	float: left!important;
}

.round-img {
	border-radius: 50%;
}
.bg-light {
	background-color: #e6e6e6;
	padding: 40px 0;
}
.bg-blc {
	background-color: #ffffff;
	padding: 40px 0;
}
.bg-medium {
	background-color: #d8d8d8;
	padding: 40px 0;
}

.bg-menu-blue {
	background-color: #11a0c8;
}

.bg-menu-rouge {
	background-color: #e2472b;
}

.bg-menu-orange {
	background-color: #e97424;
}

.bg-menu-jaune {
	background-color: #e9a124;
}
.bg-menu-blc {
	background-color: #FFFFFF;
}



.bg-dark {
	background-color: #161b1f;
	padding: 40px 0;
}
.bg-dark-deux {
	background-color: #161b1f;

	padding: 6px;
}
.bg-blue {
	background-color: #11a0c8;
	padding: 40px 0;
}
.bg-clair {
	background-color: #70c6df;
	padding-top: 40px;
}
.bg-plusclair {
	background-color: #b7e2ef;
	padding-top: 40px;
}

.bg-rouge {
	background-color: #e2472b;
	padding: 25px 0;
}

.bg-orange {
	background-color: #e97424;
	padding: 40px 0;
}
.bg-jaune {
	background-color: #e9a124;
	padding: 40px 0;
}
.bg-mauve {
	background-color: #212e3e;
	padding: 40px 0;
}

.txt-lighten {
	color: #fff;
}


.txt-blu {
	color: #11a0c8;
}

.txt-orange {
	color: #e97424;
}

.txt-rouge {
	color: #e2472b;
}
.txt-mauve {
	color: #2e1055;
}

.txt-gris {
	color: #212e3d;
}


.overlay {
	background-color: rgba(0,0,0,0.5);
}
/* others */
/*---------------------------------------*/
.browsehappy {
	background-color: #5ab1ab;
	color: #324b4b;
	padding: 20px;
	margin: 20px 0;
	border: 10px solid;
	text-align: center;
}

.browsehappy a {
	color: #fff;
	text-decoration: underline;
}
.browsehappy a:hover {
	color: #fff;
	text-decoration: none;
}

/*--------------------------------------------------------*/
/* CONTENT */
/*--------------------------------------------------------*/

.wrap {
	max-width: 1100px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-left: 10px;
	padding-right: 10px;
}
/* header */
/*---------------------------------------*/
#header {
	background-color: #ffffff;
}
/* menu */
/*---------------------------------------*/
.menu {
	height: 0;
	opacity: 0;
	overflow: hidden;
	-webkit-transition: all 0.3s ease-in-out ;
		transition: all 0.3s ease-in-out ;
}
.menu-collapse {
	height: auto;
	opacity: 1;
}
.menu ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
.menu a {
	display: block;
	padding: 1em;
	color: #ededed;
	text-align: center;
}
.menu .current {
	background-color: #d35f60;
	color: #fff;
}
/* burger  */
/*---------------------------------------*/
.btn-menu {
	color: #e97424;
	position: absolute;
	top: 20px;
	right: 10px;
}
/* main */
/*---------------------------------------*/
.banner, .banner-app {
	/* background-color: #000; */
}

.banner {
	background-image: url('../img/img-01.jpg');
	background-repeat: no-repeat;
	-webkit-background-size: cover; /* pour affichage correct
									 sur  IOS */
	/*nota : le background attachment fixed fait planter le cover sur IOS*/
	background-size: cover;
	background-position: 65% 50%;


}
.overlay {
		padding: 10% 0;
}
.banner-app {
	background-image: url('../img/img-02.jpg');
	background-repeat: no-repeat;
	-webkit-background-size: cover; /* pour affichage correct
									 sur  IOS */
	/*nota : le background attachment fixed fait planter le cover sur IOS*/
	background-size: cover;
	background-position: 50% 0;
	padding: 10% 0;

}
/* team */
/*---------------------------------------*/
.team-title {
	font-style: italic;
	text-transform: uppercase;
	margin: 10px 0 0;
	font-size: 1.25em;
}
.team-detail {
	font-style: italic;
	font-size: 1.15em;
}

/* footer */
/*---------------------------------------*/
footer .wrap {
	border-top: 1px solid #333;
	padding-top: 20px;
}
footer small {
	display: block;
	text-align: center;
}
#totop {
	display: block;
	text-align: center;
	background-color: #e9a124;
	color: #fff;
	padding: 1em 2em;
	margin-top: 20px;
	margin-bottom: 20px;
	border-radius: 5px;
}

/*--------------------------------------------------------*/
/* RWD */
/*--------------------------------------------------------*/

/* tablet view */
/*--------------------------------------------------*/
@media (min-width: 481px) {
	/* menu */
	/*-----------------------------------*/
	.menu {
		opacity: 1;
		height: auto;
	}
	.menu li {
		display: inline-block;
	}
	.menu a {
		padding: 0.5em 1em;
	}
	/* burger  */
	/*---------------------------------------*/
	.btn-menu {
		display: none;
	}
	/* Main  */
	/*---------------------------------------*/

	/* footer */
	/*---------------------------------------*/
	footer small {
		display: inline;
		text-align: left;
	}
	#totop {
		display: inline;
		text-align: inherit;
		background-color: inherit;
		color: #e9a124;
		padding: 0;
		margin-top: 0;
		margin-bottom: 0;
		border-radius: 0;
	}
}
/*end tablet view----------------------------------*/

/* desktop view */
/*-------------------------------------------------*/
@media (min-width: 769px) {

	/* links */
	/*---------------------------------------*/
	a {
		-webkit-transition: all 0.3s ease-in-out ;
		transition: all 0.3s ease-in-out ;
	}
	a:active, a:hover {
		color: #e97424;
	}

	/* logo */
	/*---------------------------------------*/
	.logo a img {
		-webkit-transition: all 0.3s ease-in-out ;
		transition: all 0.3s ease-in-out ;
	}
	.logo a:hover img {
		opacity: 0.75;
		-webkit-transform: scale(0.85);
		transform: scale(0.85);
	}

	/* menu */
	/*---------------------------------------*/
	.menu a {
		-webkit-transition: all 0.3s ease-in-out ;
		transition: all 0.3s ease-in-out ;
	}
	.menu a:hover {
		background-color: #212e3d;
		color: #fff;
	}

	/* main */
	/*---------------------------------------*/
	.overlay {
		padding: 3% 0;
	}
	.banner, .banner-app {
		background-attachment: fixed;
	}
	/* team */
	/*---------------------------------------*/
	/*
	1- agrandir l'image au over
	2- masquer ce qui dépasse
	3- mettre en position absolue les légendes
	4- cacher les éléments à leur état initial
	5- afficher les éléments au hover
	6- temporiser les affichages des éléments
	*/
	.team figure {
		overflow: hidden; /*2*/
		position: relative;/*3*/
		cursor: pointer;
	}
	.team img {
		display: block;
		-webkit-transition: all 0.3s ease-in-out;
		transition: all 0.3s ease-in-out;
	}
	.team:hover img {
		transform: scale(1.5); /*1*/
	}
	.team-box {
		position: absolute; /*3*/
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background-color: rgba(0,0,0,0.7);
		opacity: 0;/*4*/
		-webkit-transition: 0.3s all ease;
		transition: 0.3s all ease; /*6*/
	}

	.team-title, .team-detail {
		opacity: 0;/*4*/
	}
	.team:hover .team-box {
		opacity: 1;/*5*/
	}
	.team:hover .team-title, .team:hover .team-detail {
		opacity: 1;/*5*/
	}
	.team:hover .team-title {
		-webkit-transition: 0.3s all ease 0.3s;
		transition: 0.3s all ease 0.3s;/*6*/
		padding-left: 20px;
		padding-top: 120px;
	}
	.team:hover .team-detail {
		-webkit-transition: 0.3s all ease 0.5s;
		transition: 0.3s all ease 0.5s;/*6*/
		padding-left: 20px;
	}
	/* footer */
	/*---------------------------------------*/
	#totop:hover {
		color: #ffffff;
	}
}
/*end desktop view---------------------------------*/
