/* CSS Document */

/*@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&display=swap');

body {
	font-family: 'Montserrat', sans-serif;
	font-size: 13px;
	color:#1c1c1c;
}
header {
	margin: 10px auto;
	max-width: 1400px;
	margin-bottom: 100px;
}
#wrap {
	margin: 10px auto;
	max-width: 600px;
}

.titlenews {
	text-transform: uppercase;
	font-size: 14px;
    font-weight: 700;
	margin: 10px 0 20px;
	display: flex;
    align-items: center;
}
.titlenews.minuscules {
    text-transform: inherit;
}
.titlenews img {
	margin-right: 10px;
}
#form1 {
	display: flex;
    flex-direction: column;
}
#form1 label{
	margin: 0px 0 10px 0;
}
#form1 input{
	border: 1px solid #dccece;
	padding:14px 14px;
	border-radius: 5px 0px 0 5px;
	width: 60%;
	
}
#form1 button {
	background-color: #dccece;
	padding: 15px;
    border-width: 0px;
    border-style: none;
    border-color: transparent;
    border-image: none;
	border-radius: 0px 5px 5px 0px;
	margin-top: 10px;
	font-weight: 600;
}
.ml {
	font-size:12px;
}
.error {
	color:red;
}

/* Customize the label (the container) */
#form1 .container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
#form1 .container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
#form1 .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 15px;
  width: 15px;
  background-color: white;
  border: 1px solid #dccece;
	border-radius: 2px;
}

/* On mouse-over, add a grey background color */
#form1 .container:hover input ~ .checkmark {
  background-color: #f3e9e9;
}

/* When the checkbox is checked, add a blue background */
#form1 .container input:checked ~ .checkmark {
  /*background-color: #2196F3;*/
}

/* Create the checkmark/indicator (hidden when not checked) */
#form1 .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
#form1 .container input:checked ~ .checkmark:after, #form1 .container:hover input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
#form1 .container .checkmark:after,#form1 .container:hover .checkmark:after  {
 left: 9px;
    top: -6px;
    width: 5px;
    height: 14px;
    border: solid red;
    border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.contentpref {
	margin: 0px auto;
	max-width: 1100px;
}
.contentpref h1{
	font-size:40px;
	border-bottom: 1px solid lightgrey;
}
.contentpref h2{
	clear: both;
	font-size:24px;
	display: flex;
    align-items: center;
}
.contentpref h2 img{
	margin-right: 10px;
}
.titleoffres {
	display: flex;
    align-items: center;
}
.pucerouge {
    width: 7px;
    height: 7px;
   background-color: red;
	border-radius:2px;
	    margin-right: 12px;
}
.contentpref .colactu{
    display: flex;
    flex-direction: column;
	float: left;
    width: 50%;
    margin-bottom: 30px;
}
.bloctitle {
	border-bottom: 1px solid lightgrey;
	padding: 0px 0;
	font-weight: bold;
	 display: flex;
    flex-direction: row;
	justify-content: space-between;
	 align-items: center;
}
.contentpref .colactu strong, .bloctitle {
	font-size:15px;
	margin-bottom: 10px;
}

.blocoffres {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	    margin-bottom: 30px;
	
}
/* Customize the label (the container) */
#formpref .container {
  display: block;
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
   padding: 6px 35px;
}

/* Hide the browser's default radio button */
#formpref .colactu .container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom radio button */
#formpref .colactu .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 22px;
  width: 22px;
  background-color: white;
  border-radius: 50%;
  border: 1px solid #dccece;
}
/* Create a custom radio button */
/*#formpref .blocoffres .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 22px;
  width: 40px;
  background-color: #dccece;
  border-radius: 5px;
  border: 1px solid #dccece;
}*/

/* On mouse-over, add a grey background color */
#formpref .colactu .container:hover input ~ .checkmark {
  background-color: #f3e9e9;
}
/*#formpref .blocoffres .container:hover input ~ .checkmark {
  background-color: #f3e9e9;
}*/


/* When the radio button is checked, add a blue background */
#formpref .colactu .container input:checked ~ .checkmark {
/* background-color: #2196F3;*/
}

/* Create the indicator (the dot/circle - hidden when not checked) */
#formpref .colactu .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
#formpref .colactu .container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */
#formpref .colactu .container .checkmark:after {
    top: 6px;
    left: 6px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: black;
}
/*#formpref .blocoffres .container .checkmark:after {
    top: 6px;
    left: 6px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: black;
}*/

/* https://codeburst.io/pure-css3-input-as-the-ios-checkbox-8b6347d5cefb*/ 
#formpref .blocoffres label, label.switcher{
	    display: flex;
    flex-direction: row;
    align-items: center;
	    padding: 10px 0px;
	cursor: pointer;
}
#formpref .blocoffres label span{
	width: 50%;
}
#formpref .blocoffres input, label.switcher input{
	position: relative;
	appearance: none;
	-webkit-appearance: none;
	outline: none;
	width: 35px; 
	height: 15px;
	background-color: #e7e7e9; 
	border: 1px solid #e7e7e9;
	border-radius: 40px; 
	/*box-shadow: inset -2px 0 0 0 rgba(0,0,0,0.2);*/
	transition-duration: 200ms;
	cursor: pointer;
}

#formpref .blocoffres input:after, label.switcher input:after{
	content: "";
	position: absolute;
	top: 1px; 
	left: 1px;
	width: 11px; 
	height: 11px;
	background-color: white;
	border-radius: 50%;
	box-shadow: -3px 1px 2px rgba(0,0,0,0.2);
	transition-duration: 200ms;
}

#formpref .blocoffres input:checked, label.switcher input:checked{
	border-color: #c6baba;
	box-shadow: inset 21px 0 0 0 #c6baba;
}
#formpref .blocoffres input:checked:after, label.switcher input:checked:after{
	left: 21px;
/*	box-shadow: -2px 4px 3px rgba(0,0,0,0.05);*/
}

.finbouton {
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
}

button.submit,a.submit  {
	border-width: 0;
    border-style: none;
    border-color: transparent;
   
	background-color: #e9423a;
	color:white;
	padding: 30px 70px;
	text-transform: uppercase;
	cursor: pointer;
	text-decoration: none;
}
button.init {
	border-width: 0;
    border-style: none;
    border-color: transparent;
   
	background-color: #c5b9b9;
	color:white;
	padding: 30px 70px;
	text-transform: uppercase;
	cursor: pointer;
	
	margin-right: 20px;
	
}

button.submit:hover,a.submit:hover {
	background-color: #333;
}
button.init:hover{
	background-color: #999;
}



@media (max-width:480px){
	.contentpref .colactu {
		width: 100%; 
	}
	.blocoffres {	
    grid-template-columns: 1fr 1fr;
    margin-bottom: 10px;
	}
	button.init,button.submit { 
		padding: 30px;
	}
	#form1 input{
width: Calc(100% - 55px);
}
}
