/* 1- positionning the 2 divs */
.content-center form {
    display: flex;
}

form {
	display: flex;
	padding:10px;
}

/* 2- fluid inputs */
.form-title {
    font-size: 24px;
    justify-content: flex-end;
}

.form-p {
	font-family: Raleway;
    font-size: 20px;
    color: #766036;
    padding: 20px;
    text-align: center;
    width: 80%;
    display: flex;
    margin: 0 auto;
}

form input:not([type=submit]) {
	flex: 1; /* fluid width */
	display: block; /* IE fix */
	min-width: 0; /* fix for min-width: auto */
}

form input[type=checkbox], input[type=radio] {
	flex: 1; /* fluid width */
	display: block; /* IE fix */
	min-width: 0; /* fix for min-width: auto */
	box-sizing: border-box;
    padding: 0;
}

/* Decoration */
h1 {
	margin-top: 20px;
	margin-bottom: 40px;
	color: #345;
	text-shadow: 1px 1px 1px #fff;
}

.bloc1 {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
	padding: 2em;
	background: #fff;
	border: 1px solid gray;
	border-radius: 10px;
}

.bloc1 p {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

input,
textarea {
	flex: 1; /* fluid height */
	display: block; /* IE fix */
	padding: .3em;
	border: 1px solid #766036;
	border-radius: 10px;
	font-family: inherit;
	font-size: inherit;
}

textarea {
	flex:1;
}

input[type="submit"] {
	padding: .3em 1em;
	background: #555;
	border: none;
	color: #fff;   
	border-radius: 4px;
	cursor: pointer;
}
label {
    width: 5em;
    margin-right: 0.5em;
    text-align: right;
    margin-top: 0.4rem;
}

input[type="submit"], input[type="checkbox"] {
	margin-left: auto;
}

div:first-child p:first-child {
	justify-content: flex-end;
}

textarea {
	resize: vertical;
	color: #aaa;
}

div > p:first-child {margin-top: 0;}
div > p:last-child {margin-bottom: 0;}

small {
	font-size: 0.8rem;
	color: #aaa;
}

#clients-infos {
	display: block !important;
    margin: 0 auto !important;
    min-width: 650px !important;
}

/* small screens */
@media (max-width: 800px) {
	#clients-infos {
		display: block !important;
		margin: 0 auto !important;
		min-width: 100% !important;
	}

	input {
		width : 100%
	}
}
@media (max-width: 600px) {
	form {
		flex-direction: column;
	}
	
	form p {
		display: block;
	}
	
	label {
		display: block;
		width: auto;
		text-align: left;
	}
	
	form > div {
		width: auto;
	}
	
	form > div + div {
		margin-left: 0;
		margin-bottom: 1em;
		order: -1;
	}
	
	input {
		width : 100%
	}
}
