/*CSS ASC95*/
*{
    font-family: Avenir, sans-serif;
    padding: 0px;
    margin: 0px;
    text-align: justify;
    box-sizing: border-box;
}
body{
    background: #ededed;
}
p{
    font-size: 1em;
    line-height: 1.5em;
}
a{
    text-decoration: none;
    color: #000;
}

/*HEADER*/
header{
    width: 100%;
    padding: 20px 0px;
    background: url("background.png") #4f4f4f;
    box-shadow: 0px 0px 15px #333;
}
header{
    height: 120px;
}
header h1{
    color: white;
    font-size: 1.5em;
    width: 90%;
    margin: 0 auto;
}
/*FOOTER*/
footer{
    width: 100%;
    padding: 20px 0px;
    background: url("background.png") #4f4f4f;
    box-shadow: 0px 0px 15px #333;
}
footer p{
    width: 33%;
    margin: 0 auto;
    color: #fff;
    text-align: center;
	background: #1E331E;
}
footer a{
    color: #fff;
}

/*SECTIONS*/
section{
    display: flex; 
    flex-flow: row wrap;
    justify-content: center;
    width: 100%;
    padding-bottom: 20px;
    margin: 20px auto;
    box-shadow: 0px 0px 10px #bbb;
    background-color: #fff;
}

section h2{
    margin: 20px 0;
    width: 90%;
}
section > div{
    width: 90%;
}

/*PRESENTATION ET COORDONNEES*/
.logo{
    text-align: center;
}
.logo img{
    width: 100%;
    height: auto;
    box-shadow: 0px 0px 10px #777;
    border-radius: 50%;
    margin-top: -80px;
}
.presentation{
    border-bottom: 2px dashed #ccc;
}
.presentation em{
	color: #EA3323;
}
.coordonnees-flex{
    display: flex;
    flex-flow: row wrap;
}
.coordonnees-flex p:first-child{
    flex: 0 0 50%;
}
.coordonnees-flex p:last-child{
    flex: 0 0 50%;
}
.coordonnees a{
    display: block;
    text-align: center;
    padding: 10px;
    margin: 10px auto 20px auto;
    color: #fff;
    background-color: #EA3323;
    box-shadow: 0px 0px 10px #ccc;
    border-radius: 5px;
}

/*PRESTATIONS*/
.prestations{
    display: flex;
    flex-flow: row wrap;
    border-bottom: 1px solid #bbb;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.prestations-info{
    display: flex;
    flex-flow: column wrap;
}
.prestations-logo{
    flex: 0 0 25%;
    max-width: 100px;
}
.prestations-info{
    flex: 0 0 70%;
    margin-left: auto;
}
.prestations img{
    width: 100%;
}
.prestations h3{
    font-size:  1.2em;
}
.prestations h4{
    font-size:  1em;
    font-weight: normal;
}

/*PARTENAIRES*/
.partenaires{
    flex: 0 1 50%;
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    margin-bottom: 20px;
}
.partenaires img{
    width: 35%;
    height: auto;
    border-radius: 0%;
    align-items: center;
	vertical-align: middle;
	align-content: center;
	align-self: center;
	justify-content: center;
	text-align: center;
}
figure{
	text-align: center;
	   align-items: center;
	vertical-align: middle;
	align-content: center;
	align-self: center;
	justify-content: center;
}

/*VERSION BUREAU DU CV*/
@media screen and (min-width: 980px){
    section{
        width: 80%;
        box-shadow: 0px 0px 10px #bbb;
    }
    a:hover{
        color: #EA3323;
    }
    header h1{
        width: 80%;
    }
	footer a{
		color: #fff;
}
	.logo img{
    width: 50%;
    height: auto;
}
    .presentation, .coordonnees{
        flex: 0 0 45%;
    }
    .presentation{
        border-bottom: none;
        border-right: 2px solid #ccc;
        padding-right: 20px;
        margin-left: auto;
    }
    .coordonnees{
        padding-left: 20px;
        margin-right: auto;
    }
    .presentation a{
        border: 2px solid transparent;
    }
    .presentation a:hover{
        color: #EA3323;
        background-color: #fff;
        border: 2px solid #EA3323;
        box-shadow: 0px 0px 20px #666;
    }
    .prestations-logo{
        flex: 0 0 10%;
    }
    .prestations-info, .prestations-desc{
        flex: 0 0 85%;
        margin-left: auto;
    }
    .partenaires{
        flex: 0 1 25%;
    }
}