*{margin: 0;padding:0;}

/* ##########
	TYPO
############ */

body{
	font-family: Avenir Next;
	width: 100%;

}
p{
	text-align: justify;
}
a{
	text-decoration: none;
}

#nav-logo{
	display: none;
}


.alert{
	padding: 1rem 1rem;
	margin-bottom: 1rem;
	border: 1px solid transparent;
	border-top-color: transparent;
	border-right-color: transparent;
	border-bottom-color: transparent;
	border-left-color: transparent;
	border-radius: .25rem;
	font-size: 0.7em;
}
.danger{
	color: #842029;
	background-color: #f8d7da;
	border-color: #f5c2c7;
}
.success{
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

a.selected:after{
	opacity: 1 !important;
	-webkit-transform: scale(1) !important;
	transform: scale(1) !important;
}


/* #######
	TOP AND NAV
########### */

nav{
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	background: white;
	z-index: 99;
}

nav .top{
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 5vh;
	background-color: #598589;
	padding: 0 5%;
	box-shadow: 0px 1px 7px #c2c2c2;
	box-sizing: border-box;
}
nav .top a{
	display: flex;
	align-items: center;
	color: white;
	font-size: 0.9em;
	font-weight: 500;
}

nav .top a img{
	width: 0.8em;
	margin-right: 1em;
}

.nav{
	width: 100%;
	height: 18vh;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	padding: 0 5%;
	box-sizing: border-box;
	box-shadow: 0 1px 8px #c2c2c2;
	z-index: 999;
}
.nav a{
	width: 10%;
	text-transform: uppercase;
	color: #000000;
	display: block;
}
nav .nav a img{
	width: 100%;
}

nav .nav div{
	width: 55%;
	font-size: 0.9em;
	display: flex;
	align-items: center;
	justify-content: space-around;
}
.nav div a{
	width: inherit;
	letter-spacing: 0.2vh;
	position: relative;
	text-align: center;
}

.nav div a::after {
    content: '';
    position: absolute;
    left: 20%;
    display: inline-block;
    height: 1em;
    width: 60%;
    border-bottom: 3px solid #E6B8AE;
    margin-top: 10px;
    opacity: 0;
    transition: opacity 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    transform: scale(0,1);
}
.nav a:hover:after {
	opacity: 1;
	  -webkit-transform: scale(1);
	  transform: scale(1);
}

/* ########
	HEADER
########## */

header{
	margin-top: 23vh;
	display: flex;
}
header div{
	width: 50%;
	background-image: url('../images/bg.png');
	padding: 7%;
	box-sizing: border-box;
}
header div h1,
header div h2,
header div p,
header div a{
	width: 100%;
	margin-bottom: 3vh;
}

header div h1{
	text-transform: uppercase;
	font-size: 3em;
	color: black;
	line-height: 1.2em;
	font-weight: 600;
}
header div h2{
	font-weight: 300;
	text-transform: uppercase;
	font-size: 1em;
}
header div h1 span{
	color: white;
}
header div p{
	font-weight: 500;
}
header > img{
	width: 50%;
}
a.arrow{
	background: #598589;
	color: white;
	border-radius: 1em;
	padding: 1vh 1vh 1vh 0;
	position: relative;
	display: flex;
	align-items: center;
	width: 40% !important;
	justify-content: space-around;
	text-transform: uppercase;
	font-weight: 500;
	transition: 0.3s;
}
a.arrow img{
	width: 1.8em;
	margin-left: -1vh;
}
a.arrow:hover{
	box-shadow: 0px 0px 5px 0.5px rgb(148, 148, 148);
	letter-spacing: 0.1vh;
}

/* ########
	HEADER PAGE ACCUEIL 
########## */

.header-home{
	display: flex;
	margin-top: 23vh;
	align-items: center;
	padding: 0 5%;
	flex-wrap: wrap;
}
.header-home div,
.header-home img{
	width: 50%;
	box-sizing: border-box;
	padding: 3%;
}
.header-home > img{
	border-radius: 3em;
}
.header-home h1{
	font-family: 'Didot';
	font-size: 4em;
	line-height: 1em;
	margin-bottom: 5vh;
}
.header-home p{
	font-family: 'Didot';
	font-style: italic;
	margin-bottom: 5vh;
}

.question{
	width: 100%;
}
.question{
	background: #598589;
	width: 100%;
	display: flex;
	align-items: center;
	padding: 5vh 10%;
	box-sizing: border-box;
	justify-content: space-between;
	flex-wrap: wrap;
}
.question h3{
	color: white;
	font-family: 'Didot';
	font-size: 1.5em;
	font-weight: 100;
}
.question a{
	width: 25% !important;
}




/* ##########
	ACCUEIL 
############# */

article{
	width: 85%;
	margin: 5vh auto;
}
article h2{
	font-family: 'Didot';
	margin-bottom: 5vh;
	position: relative;
	display: flex;
	align-items: center;
	white-space: pre;
}
article h2.right{
	justify-content: flex-end;
	text-align: center !important;
}

article h2 img{
	position: absolute;
	left: -8%;
	width: 7%;
}
article h2.right img{
	right: -8%;
	left: inherit;
}
article h2 span{
	color: #D3C37B
}
article h3{
	font-weight: 400;
	margin: 3vh 0;
}
article h3 span{
	color: #D3C37B;
}
article p{
	font-size: 0.9em;
}
.italic{
	font-style: italic;
}
article .architecture{
	width: 100%;
	max-height: 35vh;
	overflow: hidden;
	margin: 3vh 0;
}
article .architecture img{
	width: 100%;
}

article.pink{
	background-color: #EADDDA;
	width: 100%;
	box-sizing: border-box;
	padding: 5vh 0;
}

.pink-inside{
	width: 85%;
	margin: auto;
}

article.pink .domaines{
	display: flex;
	justify-content: space-around;
	align-items: center;
	flex-wrap: wrap;
}
article.pink .domaines a{
	width: 28%;
	height: 70vh;
	background-image: url('../images/famille.png');
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #929292 !important;
	background-blend-mode: multiply;
	background-position: center;
	border-radius: 1vh;
	transition: 0.4s;
}
article.pink .domaines a:hover{
	background-blend-mode: inherit;
	box-shadow: 0px 0px 30px 0.5px rgb(148, 148, 148);
}

article.pink .domaines a:nth-child(2){
	background-image: url('../images/penal.jpeg');
}
article.pink .domaines a:nth-child(3){
	background-image: url('../images/successions.png');
}

article.pink .domaines a div{
	color: white;
	font-family: 'Didot';
	font-size: 1.3em;
	text-align: center;
}
article.pink .domaines a div img{
	width: 2em;
	margin-bottom: 5vh;
}


/* ##########
	PRESTATIONS 
############# */

.flex{
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}
.flex div{
	width: 45%;
}
.flex img{
	width: 30%;
}
.flex section h3{
	display: flex;
	align-items: center;
	font-size: 1em;
	cursor: pointer;
	transition: 0.3s;
}
.flex section h3:hover{
	font-weight: 500;
}
.flex section h3 img{
	width: 1em;
	margin-right: 1em;
}
.flex section p{
	margin-left: 2.5em;
	font-size: 0.8em;
	opacity: 0.8;
}

.hidden{
	opacity: 0.5;
}

.hidden p{
	display: none;
}
.visible p{
	display: block;
}

/* ##########
	CABINET
############ */

.flex iframe{
	height: 50vh;
	width: 50%;
}
.flex > div a{
	display: flex;
	align-items: center;
	color: black;
	margin-left: 2em;
}
.flex > div a:hover{
	text-decoration: underline;
}
.flex > div a img{
	width: 1.3em;
	margin-right: 1em;
}
.flex > div a img#bg{
	height: 1.3em;
	background: #598589;
	padding: 1vh;
	border-radius: 1em;
}


/* ##########
	CABINET - SLIDER
############ */

.slider{
	width: 50%;
	margin: 5vh auto;
}
.slider .big{
	width: 100%;
	height: 60vh;
	border-radius: 1vh;
	position: relative;
	background-image: url('../images/slider/1.jpg');
	background-size: cover;
	background-position: center;
}
.slider .big img{
	position: absolute;
	left: -1em;
	top: 30vh;
	width: 1em;
	height: 1em;
	background: white;
	opacity: 0.7;
	border-radius: 2em;
	padding: 1vh;
	cursor: pointer;
	transition: 0.3s;
}
.slider .big img:hover{
	opacity: 1;
}
.slider .big img#right{
	left: inherit;
	right: -1em;
}
.slider h5{
	text-align: center;
	margin: 1em 0;
	font-size: 1em;
	font-weight: 500;
}
.slider .images{
	display: flex;
	justify-content: space-around;
	align-items: center;
}
.slider .images img{
	width: 20%;
	border-radius: 1vh;
	opacity: 0.5;
	cursor: pointer;
	transition: 0.3s;
}
.slider .images img:hover{
	opacity: 1;
}
.slider .images img.selected{
	border: 1px solid white;
	opacity: 1;
}

/* ###########
	CONTACT
############ */

.bg-contact{
	background-image: url('../images/bg-contact.png');
	background-position: 10% 0%;
	background-repeat: no-repeat;
}

a#phone{
	background: white;
	border-radius: 1em;
	padding: 0 1vh;
	color: black;
	display: flex;
	align-items: center;
	width: 15%;
	justify-content: space-around;
	margin-left: 5%;
}
a#phone img{
	width: 1em;
}

form{
	width: 90%;
	margin: 5vh auto;
	box-shadow: 0px 0px 10px 0.5px rgb(148, 148, 148);
	padding: 5%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	background: white;
	border-radius: 1vh;
}
form input{
	width: 48%;
	height: 5vh;
}
form textarea{
	width: 100%;
}
form input,
form textarea{
	border: none;
	background: #EAEAEA;
	padding: 1vh;
	margin-bottom: 2vh;
	font-size: 0.7em !important;
}
form input[type="submit"]{
	width: 15%;
	background: #E6B8AE;
	color: white;
	margin-left: 85%;
	border-radius: 1vh;
}

.questions{
	display: flex;
	align-items: center;
	justify-content: space-around;
	flex-wrap: wrap;
	margin-top: 10vh;
}
.questions section{
	width: 50%;
}
.questions div h3{
	display: flex;
	align-items: center;
	color: #598589;
	font-weight: 500;
}
.questions div h3 img{
	width: 0.6em;
	margin-right: 1em;
}
.questions section div p{
	margin-left: 2em;
}

.questions > img{
	width: 30%;
}

footer{
	background: #000000;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	padding: 5vh 0;
}
footer div{
	width: 20%;
	color: white;
}
footer div h4{
	font-family: 'Didot';
}
footer div h5{
	text-transform: uppercase;
	font-weight: 300;
	letter-spacing: 0.4vh;
	font-size: 1em;
	line-height: 3em;
}

footer div a{
	color: white;
	line-height: 2em;
	opacity: 0.8;
}
footer div a:hover{
	opacity: 1;
}