/***********************************************/
/**** Pour les boutons de formulaire **************************/
/***********************************************/
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 32px;
  margin-right: 10px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #ccc;
  transition: .3s;
  border-radius: 20px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #0d6efd; /* bleu Joomla / Bootstrap */
}

input:checked + .slider:before {
  transform: translateX(28px);
}

/***********************************************/
/**** Pour les images **************************/
/***********************************************/

/**** On conserve la taille initiale ****/
.image-originale {
    width: auto;
    height: auto;
    max-width: none;
  }


/***********************************************/
/**** Pour la partie gestion du cccalais.fr ****/
/***********************************************/

/**** Titres de la page ****/
.ccc_titre_gestion{

  color: peru;  /* bleu CCC */
  border: solid;
  border-color: peru;  /* bleu CCC */
  padding:5px;
  border-width:5px;
  valign: top;
} 

/*******************************************/
/**** Pour le MaxiMenuCK ****/
/*******************************************/
#maximenuck120 {
flex: 1;
}
body div#maximenuck120 ul.maximenuck {
display: flex !important;
justify-content: space-around;
}

/**** Colonne mise en avant ****/
.ccc_colonne_en_avant{

  color: white;  /* bleu CCC */
  border: solid;
  bgcolor: #043eb1;  /* bleu CCC */
  padding:5px;
  border-width:5px;
  valign: top;
} 


// Quand l'utilisateur est connecté, on permet le lien vers des pages
.ccc_user_bandeau
{
  bgcolor: red
  padding :0px;
}



.container-footer
{
  background-color: #043eb1;  /* bleu CCC */
  box-shadow: inset 0 0 0 5000px rgba(4, 62, 177, 0.9);
  background-size: 100% auto;
  background-repeat: no-repeat;
  
}

.footer .grid-child 
{
  background-color: red
  padding :0px;
}

.ccc_toutes_les_pages
{
		display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
}

.ccc_pagination
{
  color: #043eb1;  /* bleu CCC */
  border: solid;
  border-color: #043eb1;  /* bleu CCC */
  padding:5px;
  border-width:2px;
  width: 150px;
  text-align:center;
} 
/**** Titres de la page ****/
.ccc_titre, ccc_titre{

  color: #043eb1;  /* bleu CCC */
  border: solid;
  border-color: #043eb1;  /* bleu CCC */
  padding:5px;
  border-width:5px;
  valign: top;
} 

.ccc_table, ccc_table{
  width:100%;
  valign: center;;
  tr:nth-child(even) {background: #fbfbad; /* jaune un peu plus sombre CCC */}
  tr:hover {background-color: #f7f711; } /* jaune encore un peu plus sombre CCC */
} 

/********************************/
/*********** Onglets ************/
/********************************/
@import "compass/css3";

* {
  box-sizing: border-box;
}

body {
  background: url(https://subtlepatterns.com/patterns/use_your_illusion.png);
  /*color: #eee;*/
  font: 1em 'PT Sans', sans-serif;
}

::selection {
  background-color: #92b3f4; /* bleu clair CCC */
  font-color: white;
}

.tabbed {
  width: 100%;
  margin: 50px auto;
}

.tabbed > input {
  display: none;
}

.tabbed > label {
  display: block;
  float: left;
  padding: 12px 20px;
  margin-right: 5px;
  cursor: pointer;
}

.tabbed > label:hover,
.tabbed > input:checked + label {
  background: #043eb1; /* bleu CCC */
  text-color: white;
}

.tabs {
  clear: both;
  perspective: 600px;
}

.tabs > div {
  width: 100%;
  position: absolute;
  border: 2px solid #043eb1; /* bleu CCC */
  background-color: #92b3f4; /* bleu clair CCC */
  color: #043eb1; /* bleu CCC */
  padding: 10px 30px 40px;
  line-height: 1.4em;
  opacity: 0;
  z-index: 0;
}

#tab-nav-1:checked ~ .tabs > div:nth-of-type(1),
#tab-nav-2:checked ~ .tabs > div:nth-of-type(2),
#tab-nav-3:checked ~ .tabs > div:nth-of-type(3),
#tab-nav-4:checked ~ .tabs > div:nth-of-type(4){
  transform: rotateX(0);
  opacity: 1;
  z-index: 1;
}

@media screen and (max-width: 700px) {
  .tabbed { width: 400px }
  .tabbed > label { display: none }
  .tabs > div {
    position: relative;
    opacity: 1 !important;
    z-index: 1 !important;
    transform: none;
    width: auto;
    border: none;
    padding: 10px;
    margin-bottom: 60px;
  }
  .tabs > div h2 {
    border-bottom: 2px solid #043eb1; /* bleu CCC */
    background-color: #92b3f4; /* bleu clair CCC */
    padding-bottom: .5em;
  }
}

color: #92b3f4; /* bleu clair CCC */
}  


/********************************/
/******* Classes CCC ************/
/********************************/
.ccc_une
{
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 13px;
color:black;
}

.ccc_standard3
{
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 13px;
color:#043eb1;  /* bleu CCC */
}

.ccc_titre{

  color: #043eb1;  /* bleu CCC */
  border: solid;
  border-color: #043eb1;  /* bleu CCC */
  padding:5px;
  //display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
    display: block !important;
} 

.ccc_titre {
  display: block !important;
  position: relative !important;
  overflow: visible !important;
  height: auto !important;
  width: auto !important;
  transform: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  filter: none !important;
  -webkit-mask: none !important;
  mask: none !important;
  -webkit-text-fill-color: initial !important;
}

.ccc_titre span {
  display: inline-block !important;
  color: red !important;
  background: yellow !important;
  font-family: Arial, sans-serif !important;
  font-size: 24px !important;
  line-height: 1.2 !important;
  position: relative !important;
  z-index: 9999 !important;
}




.ccc_titre_edition {
  background-color: goldenrod;
  padding: 0.5rem;
  border-radius: 5px;
}

.ccc_on_off{

  color: #043eb1;  /* bleu CCC */
  background-color: #92b3f4; /* bleu clair CCC */
  border: solid;
  border-color: #043eb1;  /* bleu CCC */
  padding:1em;
}

.container-header {
    position: relative;
  	padding: 10px 0;
    z-index: 10;
    margin-bottom: 20px;
	box-shadow: 0 5px 5px rgba(0, 0, 0, 0.03) inset;
	background: rgb(4,62,177);  /* bleu CCC */

}

.container-header .navbar-brand {margin: auto;}


body 
{
margin: 0;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 13px;
line-height: 18px;
color: #333;
background-color: #ffffd6; /* jaune CCC */
}


.breadcrumb {
background-color: #043eb1; /*bleu CCC */
margin-bottom: 0;
  color: white;
}

@media screen and (max-width:700px) {
  .ccc_titre h2 {
    isolation: isolate !important;
    mix-blend-mode: normal !important;
    filter: none !important;
    mask: none !important;
    -webkit-mask: none !important;
  }
}
