/*figure counter*/ 
body {
  counter-reset: figure;
}

figcaption::before {
  counter-increment: figure;
  content: "Fig. " counter(figure) " - ";
}

figcaption {
	margin-top:16px; 
}


/* sidenav copié from w3schools*/
.sidenav {
  width: 150px;
  position: fixed;
  z-index: 1;
  top: 140px;
  left: 10px;
  background: CornFlowerBlue;/*#eee;*/
  overflow-x: hidden;
  padding: 8px 0;
}

.sidenav a {
  padding: 6px 8px 6px 16px;
  text-decoration: none;
  font-size: 14px;
  color: white; /*#2196F3;*/
  display: block;
}

.abloc a {
  text-decoration: none;
  color: #1065ba;/*#5C7497; #2196F3;*/
  display: block;
}

.abloc a:hover {
  color: white; /*#2196F3;*/
  background: #1065ba;/*#5C7497;#eee;*/
  text-decoration: none;
}

.abloc {
  overflow-x: hidden;
  z-index: 100;
}


.sidenav ul {
  color: white; /*#2196F3;*/
}

.sidenav a:hover {
  color: #064579;
}

@media screen and (max-width: 580px) {
    .sidenav {display: None;}
    .mainofsidebar {margin-left: 10px;}
}
	
@media screen and (max-height: 450px) {
	.sidenav {padding-top: 15px;}
  .sidenav a {font-size: 12px;}
}

.mainofsidebar {
  margin-left: 100px; /* Same width as the sidebar + left position in px */
  padding: 0px 10px;
}





.btn-rounded {
	border-radius:35px;
}



/* The container */
.container_rd1 {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background: white;
  color: CornFlowerBlue;
}


/* not selected */
.container_rd1  div{
  background: Grey;
  color: GhostWhite;
  line-height: 90%; 
  font-size:smaller;

}

/* background if selected */
.container_rd1 input:checked ~ div{
  background: GhostWhite;
  color: black;
  border-width: 2px;
  border-color: CornFlowerBlue;
  border-style: double;
  font-size:larger;
  line-height: 110%; 
 
}


/* background if selected no trash bin*/
.container_rd1 input:checked ~ div .nopoubifchecked {
  display: none;
}


/* hover */
.rota:hover {
  -ms-transform: rotate(-30deg); /* IE 9 */
  transform: rotate(-30deg);


}

/* hover */
.zoomxy:hover {
  -ms-transform: scale(1.5); /* IE 9 */
  transform: scale(1.5);

}



/* hover */
.container_rd1:hover div{
  background: CornFlowerBlue;
  color: white;

}


/* Hide the browser's default radio button */
.container_rd1 input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom radio button */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
  border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.container_rd1 input ~ .checkmark {
  background-color: #ccc;
}

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

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

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

/* Style the indicator (dot/circle) */
.container_rd1 .checkmark:after {
 	top: 9px;
	left: 9px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: white;
}


