
/* Global */
td, body {
font-family: "Barlow-regular", sans-serif;
font-weight: 400; 
font-size: 14px;
line-height: 145%;
margin: 0px;
background-color: #f8f8fb;
color: #00008c;    

}
 
/* Set global color here */
div, select, .selfcare_color, .file-name {
    color: #00008c;    
}

/* Adjust images for iconn use */
.iconized {
    width: 36px;
    height: 36px;
    object-fit: contain; 
    display: inline-block;
}*
th, .subtitle{
    font-family: "Barlow-regular", sans-serif;
    color: #0000FF;        
    font-weight: 500; 
    font-size: 16px;
    line-height: 125%;
}

.docatitle{
    font-family: "Montserrat-regular", sans-serif;
    color: #0000FF;   
    font-weight: 600; 
    font-size: 16px;
    line-height: 125%; 
}

.header-image {
    background-image: url("/static/webchecker/img/cobalt-background.svg");
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.docabloc {
    background-color: #ffffff; /* Fond blanc uni */
    border-radius: 8px; /* Arrondis des cards */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Ombre par défaut */    
    padding: 14px; /* Espace interne pour éviter que le contenu touche les bords */
    margin: 10px; /* Espace externe pour séparer les divs entre elles */
    }
    
.docacard {
    background-color: #ffffff; /* Fond blanc uni */
    border-radius: 8px; /* Arrondis des cards */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Ombre par défaut */
    margin: 10px; /* Marges externes */
    padding: 20px; /* Marge interne de base */
    }

.success {

    background-color: #F4FAF6 ;   
    color: #4A801A;        
    border: 2px solid #4A801A;
    }


.warning {
    background-color: #F4FAF6 ;   
    color: #D92C01;    
    }

.error {
    background-color: #FEF4F5;
    color: #D00000;       
    border: 2px solid #D00000; 
    }

.special {
    color: darkblue; /* Fond plus sombre au survol */
    }    

.restricted {

    color: #303846;       
    }    
.impossible {
    background-color: #ffffff;
    color: #c2c2c2;       
    border: 2px solid #d8d8d8; 
    }

.neutral {
    background-color: #ffffff;
    color:  blue;     
    border: 2px solid #d8d8d8; 
    }

.possible {
    background-color: blue;   
    color: #ffffff;       
    border: 2px solid  blue; 
    }
  
button {
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 25px; /* arrondis */
    background-color: blue;     
    color: white; 
    border: none;    
    cursor: pointer;
    transition: all 0.3s ease; /* Animation fluide lors du survol */
    }
    
    /* Bouton rempli */
    button.filled {
    background-color: blue; 
    color: white; 
    border: none;
    }
    
    /* Effet de survol pour le bouton rempli */
    button.filled:hover {
    background-color: darkblue; /* Fond plus sombre au survol */
    }
    
    /* Bouton avec contour */
    button.outlined {
    background-color: transparent; 
    border: 1px solid; /* Bordure plus fine */
    }
    
    /* Effet de survol pour le bouton avec contour */
    button:hover {
    background-color: blue; 
    color: white; 
      }

.small {
    font-size: 13px;
    padding: 10px;
    border: 1px solid /* Bordure bleue */    
}

.width-10 {
    width: 10%;
}

.width-13 {
    width: 13%;
}



/* Inclusion composition PDF  */
      
.pdf-container {
    width: 100%;
    height: 700px;
    margin-top: 20px;
    }
    
    .pdf-container object {
    width: 100%;
    height: 100%;
    }
  
  /* Boutons */
  
  /* Bouton avec div dépliable  */
  .collapsible {
    cursor: pointer;
    padding: 18px;
    border: none;
    outline: none;
  }
  
  /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
  .active, .collapsible:hover {
    background-color: #ccc;
  }
  
  /* Style the collapsible content. Note: hidden by default */
  .collapsing-content {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
  }
  .collapsible:after {
    content: '+'; /* Unicode character for "plus" sign (+) */
    font-size: 13px;
    color: white;
    float: right;
    margin-left: 5px;
  }
  
  /* Pieds de page */
  
  .bottom_container {
    position: relative;
  }
  
  .bottom_container_position {
    position: absolute;
    bottom: 0;
  }
  
  .wrapper {
    box-sizing: border-box;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    }
  
  .page-header, .page-footer {
    flex-grow: 0;
    flex-shrink: 0;
    }
  
  .page-body {
    flex-grow: 1;
    }
  .active:after {
    content: "-"; /* Unicode character for "minus" sign (-) */
  }
    
  .link-box {
    word-wrap: anywhere;
  }
  
  .link-box:hover {
    text-decoration: underline; /* Underline on hover for accessibility */
  }
  
  /* Sliding news pannel */
  
  .slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%; /* Adjust as needed */
  flex: 1;
  }
  
  .slides {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
  position: relative;
  }
  
  .slide {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  }
  
  .small-slide
  {
  width: 80%;
  height: 100%;
  background-size: cover;
  background-position: center;
  margin: auto;
  }
  
  .buttons-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 1rem;
  margin-block: 1rem;
  
  }
  
  .button-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  padding: 10px;
  background: unset;
  }
  
  
  .left {
  left: 20px;
  }
  
  .right {
  right: 20px;
  }
  
  .indicators {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  }
  
  .indicator {
  height: 10px;
  width: 10px;
  margin: 0 5px;
  border-radius: 50%;
  background-color: lightgray;
  cursor: pointer;
  }
  
  .indicator.active {
  background-color: #00008c;
  }
  
  .item-right {
  text-align: right;
  margin-right: 25px;
  margin-bottom: 20px;
  }
  
  .has-discs {
          list-style-type: disc;
          padding-left: 1.5em;
      }
  
input {
  border: 1px solid #00008c;    
  border-radius: 25px; /* Coins arrondis */
  padding: 5px 30px 5px 12px; /* Espacement à l'intérieur */
  font-size: 14px; /* Taille de la police */
  color:  #00008c;   
  transition: all 0.3s ease; /* Transition pour un effet fluide */
  outline: none; /* Supprime le contour bleu par défaut sur certains navigateurs */
}

      
select {
  border: 1px solid #00008c;    
  border-radius: 25px; /* Coins arrondis */
  padding: 5px 30px 5px 12px; /* Espacement à l'intérieur */
  font-size: 14px; /* Taille de la police */
  color: #00008c;   
  outline: none; /* Supprime le contour bleu par défaut sur certains navigateurs */
  transition: all 0.3s ease; /* Transition pour un effet fluide */
}

/* Ajout d'un effet au survol */
select:hover {
  border-color: #888;
  background-color: #fff;
}

/* Style lorsque l'utilisateur sélectionne */
select:focus {
  border-color: #007BFF;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.edit-article {
border: none;  cursor: pointer; padding: 0px;
background-color: transparent;
}

.edit-article:hover {
    background-color: transparent;
    color: inherit;
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px; /* Adjust width for smaller switch */
    height: 20px; /* Adjust height for smaller switch */
}

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

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 16px; /* Adjust height for smaller switch */
    width: 16px; /* Adjust width for smaller switch */
    left: 2px; /* Adjust left position for smaller switch */
    bottom: 2px; /* Adjust bottom position for smaller switch */
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .switch-slider {
    background-color: darkblue;
}

input:checked + .switch-slider:before {
    transform: translateX(20px); /* Adjust for smaller switch */
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.round-shape {
    background-color: #fef8d1;
    color: darkblue;
    border-radius: 25px;
    padding: 10px 20px;
    text-align: center; /* Center the text */
    display: inline-block; /* Make the div fit the content */
    font-weight: bold; /* Optional: make the text bold */
}

.input-center {
    width: 100%;
    max-width: 30%;
}

.pd-1 {
  padding: 1em;
}