/******Style pour la navigation par onglets*****/
:root {
--fond-onglet-actif:#FAFAF8;
}
	
.onglets {	
	display : flex;
	flex-direction : column;
}

#onglets #boutons {
	display: flex;
    flex-wrap: wrap;
	border-bottom: 0 none;
    justify-content: flex-start;
}
body.afficher-territoire #onglets #boutons {
	justify-content: space-between;
}
/* Style tab links */
.tablink {
  float: left;
  cursor: pointer;
  height : 60px;
  padding : 5px 10px !important;
  color : #555 !important;
  box-shadow: none !important;
  background-color: #f1f1f1;
  font-size: 14px;
  border: #ccc solid 1px !important;
  font-weight: 400;
  border-radius: 10px 10px 0 0 !important;
  position: relative;
  top: 1px;
  z-index : 100;
}
.size-25 {
	width : 25%;
}
.size-33{
	width : 33.33%;
}
.size-50{
	width : 50%;
}
.size-20{
	width : 20%;
}
.size-16{
	width : 16.6665%;
}
.size-14{
	width : 14.2857%;
}
.tablink:not(.selected):hover {
	background-color: #fff;
	-webkit-box-shadow: 5px 5px 10px 0px #CACACA; 
	box-shadow: 5px 5px 10px 0px #CACACA;
}
.tablink.selected {
    background-color: var(--fond-onglet-actif) !important;
	border-color: #ccd0d4;
	border-bottom : 0 none !important;
	color: var(--bleu-fonce) !important;
    font-weight: 600;
}

/* Style the tab content (and add height:100% for full page content) */
.tabcontent {
  display: none;
  padding: 10px 2%;
  border : 1px solid #CCC;
  background-color: var(--fond-onglet-actif);
}
body:not(.afficher-territoire) .tabcontent {
  border-top : none;
}

/****************************/
@media 
only screen and (max-width: 950px){
	.boutons {
		display : flex;
		flex-direction : column
	}
}
	
@media 
only screen and (max-width: 950px){
	.tablink {
		width : 100%;
		height : unset;
	}
	.tablink.selected {
		font-size : 16px;
	}
	.tablink:not(.selected) {
		font-size : 14px;
	}
}
/********************
/******Fin du style pour la navigation par onglets*****/