body  {
	color: #444c57;
	font-family: "Roboto", sans-serif;
	font-size: 16px;
}

.c-gris { color: #eeeeee; }
.c-rouge { color: #ea5156; }
.c-bleu { color: #0a4da4; }

.bg-gris { background-color: #eeeeee; }
.bg-rouge { background-color: #ea5156; color: #ffffff; }
.bg-bleu { background-color: #0a4da4; color: #ffffff; }

.btn {
    font-size: 1em;
	padding: 8px 40px;
}
.btn.bg-rouge:hover {
	background-color: #e32026;
	color: #ffffff;
}

.mainForm {
    display: flex;
}
.mainForm > .left {
	background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url(../images/bg1.jpg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	color: #ffffff;
	flex: 1 auto;
	padding: 60px 24% 30px 5%;
}

.mainForm > .left h1 {
	font-size: 3em;
	margin-bottom: 1em;
}
.mainForm > .left .description {
    line-height: 1.7em;
}
.mainForm > .right {
	min-width: 400px;
	padding-top: 20px;
	width: 400px;
}

.mainForm .right .col-xs-4 {
    padding-top: 4px;
}

.mainForm .right hr {
    border-top: 1px solid #d9d9d9;
    margin: 12px 0;
}
.small.minimized span {
	cursor: pointer;
    margin-left: 10px;
}
.small.minimized span::after {
	background-image: url(../images/chevron.png);
    background-repeat: no-repeat;
    background-size: 100%;
    content: " ";
    display: inline-block;
    height: 7px;
    margin-left: 6px;
    position: relative;
    top: -1px;
    width: 12px;
}

.with-arrow {
    border-bottom: 1px solid #ea5156;
    padding-bottom: 4px;
}
.with-arrow:hover {
	color: inherit;
	text-decoration: none;
}

.btn.submit {
	border-radius: 8px;
	font-size: 1.1em;
	margin: 22px 0 12px;
	padding: 12px;
    width: 100%;
}

.blocs {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
	margin-top: 30px;
}
.blocs.formules > .bloc {
	width: 50%;
}
.blocs.formules h3 {
    margin: 30px 0;
}
.blocs.formules > .bloc1 {
	padding: 0 10%;
}
.blocs.formules .sub .bloc {
    width: 45%;
}
.blocs.formules .sub .bloc > div {
    padding: 20px 16px;
}
.blocs.formules .bloc .haut {
    border-radius: 10px 10px 0 0;
    font-size: .9em;
    height: 200px;
}
.blocs.formules .bloc .bas {
    border-radius: 0 0 10px 10px;
    /*box-shadow: 1px 1px 4px 0px #aaa;*/
}
.blocs.formules .bloc .pct {
    font-size: 3em;
    font-weight: bold;
    line-height: .9em;
}
.blocs.formules .big {
    font-size: 1.2em;
    margin: 0 0 6px;
}

.blocs.echange {
    flex-wrap: nowrap;
	margin: 60px 0;
}
.blocs.echange .bloc1,
.blocs.echange .bloc3 {
	flex: 0 0 24%;
}
.blocs.echange .bloc2 {
	align-items: center;
	display: flex;
	flex: auto;
	padding-bottom: 16px;
}
.blocs.echange .bloc2 .contenu {
	align-items: center;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    max-width: 360px;
}
.blocs.echange .bloc2 .contenu > * {
    margin: 10px 0;
}
.blocs.echange .bloc2 p {
	line-height: 1.7em;
}
.blocs.echange img {
	display: block;
	margin: 0 auto;
	max-width: 382px;
	width: 100%;
}

.blocs.puces {
	align-items: baseline;
    flex-direction: row;
    justify-content: space-between;
	margin-top: 30px;
}
.blocs.puces h3 {
    margin-top: 0;
}
.blocs.puces .bloc {
	width: 50%;
}
.blocs.puces .bloc:first-child {
    border-right: 1px solid silver;
    padding-right: 5%;
}
.blocs.puces .bloc:last-child {
    padding-left: 5%;
}
.blocs.puces .item {
    margin: 20px 0;
}
.blocs.puces .item::before {
    background-image: url('../images/puce.png');
    background-repeat: no-repeat;
    background-size: 100%;
	content: " ";
    display: inline-block;
    height: 20px;
    margin-right: 6px;
	position: relative;
	top: 5px;
    width: 20px;
}
.blocs.puces a {
	display: inline-block;
	margin-top: 20px;
}

.blocs.pastilles {
	justify-content: space-evenly;
    margin-top: 90px;
	padding-bottom: 40px;
}
.blocs.pastilles .bloc {
    width: 16%;
}
.blocs.pastilles .image {
    background-image: url(../images/icons.png);
    background-repeat: no-repeat;
    background-size: 1149px;
    height: 188px;
	left: 12px;
	margin: 0 auto -60px;
	position: relative;
	top: -60px;
    width: 189px;
}
.blocs.pastilles .bloc2 .image {
	background-position: -193px 0;
}
.blocs.pastilles .bloc3 .image {
	background-position: -386px 0;
}
.blocs.pastilles .bloc4 .image {
	background-position: -579px 0;
}
.blocs.pastilles .bloc5 .image {
	background-position: -772px 0;
}
.blocs.pastilles .bloc6 .image {
	background-position: -965px 0;
}
.blocs.pastilles .texte {
	font-size: .9em;
	line-height: 1.6em;
	text-align: center;
	text-transform: uppercase;
}

.bloc-document {
    margin: 60px auto;
    padding: 50px 20px;
}

.foot {
	font-size: .7em;
	text-align: justify;
}
.doc-cp {
	margin: 30px auto 50px;
	text-transform: uppercase;
}

a:visited, a:active, a:hover, a:focus {
    text-decoration: none;
}

.showonmobile { display: none; }

@media (max-width: 992px) {
	.mainForm,
	.blocs {
		align-items: center;
	    flex-direction: column;
		margin-top: 10px;
	}
	.mainForm .left {
		background-image: 
			linear-gradient(
				rgba(0, 0, 0, 0.2),
				rgba(0, 0, 0, 0.2)
			),
			url(../images/bg1.jpg)
		;
		padding: 10px 5% 30px 5%;
	}
	.mainForm > .left h1 {
	    font-size: 2em;
	}
	.mainForm > .left .description {
		font-size: .8em;
	    line-height: 1.4em;
	}

	.mainForm > .right {
	    min-width: 100%;
	    padding-top: 20px;
	    width: 100%;
	}
	
	.small.minimized span {
	    margin-left: 0px;
	}

	body {
		font-size: 14px;
	}
	.form-group {
		margin-bottom: 14px;
	}
	.bloc {
		margin: 10px 0; 
	    width: 80%;
	}
	
	.blocs.formules > .bloc {
	    width: 90%;
	}
	.blocs.formules > .bloc1 {
	    padding: 0;
	}
	.blocs.formules .blocs.sub {
	    flex-direction: row;
	}
	.blocs.formules .big {
	    font-size: 1em;
	}
	
	.blocs.echange {
	    margin: 20px 0;
	}
	.blocs.echange .bloc {
	    margin: 0 auto;
	    padding: 7% 10%;
		width: 100%;
	}
	.blocs.echange img {
	    width: 60%;
	}
	
	.blocs.pastilles {
		flex-direction: row;
	}
	.blocs.pastilles .bloc {
	    width: 50%;
	}
	.blocs.pastilles .bloc3 .image,
	.blocs.pastilles .bloc4 .image,
	.blocs.pastilles .bloc5 .image,
	.blocs.pastilles .bloc6 .image {
		margin: 0 auto 0px;
		top: 0px;
	}
	
	.hideonmobile { display: none; }
	.showonmobile { display: block; }
}

@media (max-width: 390px) {
	.blocs.formules .bloc4 .pct {
	    margin-top: 28px;
	}
	.blocs.formules .bloc .haut {
	    height: 230px;
	}
}

@media (min-width: 1500px) {
	.blocs.echange .bloc2 .contenu > * {
	    margin: 16px 0;
	}
}
@media (min-width: 1600px) {
	.mainForm > .right {
		min-width: 500px;
		padding: 30px 50px 50px;
		width: 500px;
	}
	
	.blocs.echange .bloc1,
	.blocs.echange .bloc3 {
		flex: 0 0 20%;
	}
}
@media (min-width: 1700px) {
	.mainForm > .right {
		min-width: 600px;
		padding: 30px 50px 70px;
		width: 600px;
	}
}
@media (min-width: 1800px) {
	.mainForm > .right {
		min-width: 700px;
		padding: 30px 50px 100px;
		width: 600px;
	}
}




/*** GENERIC ELEMENTS & BOOTSTRAP OVERRIDES ***/

.textcenter { text-align: center; }
.mini { font-size: 11px; }
.clear { clear: both; }
.toupper { text-transform: uppercase; }
.uppercase { text-transform: uppercase; }
small, .small { font-size: .80em; }
label { 
	font-weight: inherit; 
	line-height: 1.0em;
	position: relative; 
	top: 3px;
}

.form-control {
    border: none;
    box-shadow: 1px 1px 4px 0px #aaa;
    border-radius: 2px;
}
.has-success .form-control,
.has-error .form-control {
    box-shadow: 1px 1px 4px 0px #aaa;
    -webkit-box-shadow: 1px 1px 4px 0px #aaa;
}

input[type=checkbox], input[type=radio] {
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #fff;
	border: 1px solid #ccc;
	border-radius: 2px;
    display: inline-block;
    height: 20px;
    margin-left: 0;
    margin-right: 6px;
    vertical-align: middle;
    width: 20px;
}
input[type=checkbox]:checked:after,
input[type=radio]:checked:after {
    background: url(../images/check.png);
    content: '';
    display: block;
    height: 12px;
    margin: 4px 4px;
    width: 12px;
}
.form-checkbox label > span {
    display: inline-block;
    position: relative;
	top: 3px;
}
.form-checkbox label {
    display: block;
}
.form-inline.form-checkbox label {
	display: inline-block;
    margin-right: 16px;
}
.form-checkbox label, .form-checkbox input {
    cursor: pointer;
}
.label-blocks label {
    display: block;
    margin-bottom: 6px;
}
.form-checkbox {
    position: relative;
}
.form-checkbox .form-control-feedback {
    top: -2px;
}
.has-error input[type="radio"],
.has-error input[type="checkbox"] {
    border: 1px solid #a94442;
}




.has-error .form-control {
    border: 1px solid #a94442;
	color: red;
}

span.glyphicon.glyphicon-remove.form-control-feedback,
span.glyphicon.glyphicon-ok.form-control-feedback {
    display: none;
}
.has-error span.glyphicon.glyphicon-remove.form-control-feedback {
    display: block;
}
.has-success span.glyphicon.glyphicon-ok.form-control-feedback {
    display: block;
}
.has-error .form-control {
    color: #a94442;
}
label {
	margin-bottom: 0px;
}
