@font-face {
    font-family: "font1";
    src: url("./Arimo-VariableFont_wght.ttf");
}
@font-face {
    font-family: "fonteTitre";
    src: url(./OpenSansCondensed-Light.ttf);
}

body
{background-color: #f6f1ef;}

h2,h3,.rubrique {
    font-family: font1,Helvetica,Arial,sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 1.3rem;
    line-height: 1.25;
    color: #3a4642;
    margin: 0;
    word-wrap: break-word;
    display: block;
   margin-block-start: 0.5em; 
    margin-block-end: 0.5em; 
    margin-inline-start: 0px; 
    margin-inline-end: 0px;
    -webkit-text-size-adjust: 100%;
}

.link    {
    font-family: font1,Helvetica,Arial,sans-serif;
    color: black;
    text-decoration: none;
    padding-top: 6px;
    padding-left: 6px;
    padding-bottom: 6px;
    width: 98%;
    height: 102px;
    display: inline-block;
    border: 2px solid #787878;
    border-radius: 8px;
    margin-top: 18px;
    background-color: snow;
    text-align: left;
    font-size: 2.5rem;
}


a {
    text-decoration: none;
    font-size:0.8rem;
    width: 100%;
    color: black;
    display: inline-block;
 }



.flex-container {
    display: flex;
    
    margin-top: 1px;
    margin-right: 1px;
    margin-bottom: 8px;
    margin-left: 1px;
    
    justify-content: flex-start;
    align-items: stretch;
    flex-direction: row;
    flex-wrap: nowrap;
    background-color: #f8f7f7;
    
    width: 95%;
    padding: 2px;
    gap: 3px;
    height: 105px;
    font-family: font1,Helvetica,Arial,sans-serif;
    position : relative
  }

.detail {
    display: flex;
    
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    
    border : 1px solid #86C7AF;
    border-radius: 5px;
    padding-left: 12px;
    padding-top: 6px;
    padding-bottom: 6px;
    background-color: rgba(214, 213, 213, 0.1);
    
    
        }
    .detail:hover { background-color: floralwhite; }

.cancelled
{display: flex;
justify-content: center;
 align-items: center; 
 position: absolute;
 z-index: 50;
 border: 1px red solid;
 background-color: rgba(255, 0, 0, 0.7);
 width: 50%;
 height: 50%;
 top:25%;
 left: 25%;
  font-family: font1,Helvetica,Arial,sans-serif;
  font-size: 1.5rem;
  border-radius: 10px;
  max-width: 265px;
  min-width: fit-content;
  max-height: 56px;
  min-height: fit-content;
  color: white;
}

  .pastille
{ 
    display: inline-block;
    width: 30%; 
    min-width: 48px;
    max-width: 148px;
    font-size: 0.7rem;
    text-align: center;
    color: black;
    height: 16px;
    border : 1px solid rgba(144, 185, 247, 0.5);
    border-radius: 5px;
    padding : 2px;
    background-color: rgba(107, 107, 107, 0.1);
    overflow: hidden;
  text-overflow: ellipsis; 
  white-space: nowrap;
    font-family: font1,Helvetica,Arial,sans-serif;    
    
}


.OPEN 
{ 
        background-color: rgba(53, 143, 179, 1);
        color: white;
}

.INT 
{ 
        background-color: rgba(35, 187, 88, 0.932);
        color: white;
}







.event {
        font-style: normal;
        color: rgb(105, 105, 105);
        font-size: 0.7rem;
        font-weight:normal;
        line-height: 1.05em;
    }


.dateconcours {
        font-style: normal;
        color: rgb(221, 148, 12);
        font-size: 0.9rem;
        font-weight:normal;
    }

.lieu {
        font-style: normal;
        color: rgb(32, 71, 5);
        font-size: 0.8rem;
        font-weight: bold;
        font-family: font1,Helvetica,Arial,sans-serif;   
    }
.icone
{
    display: flex; 
    justify-content: flex-start; 
    align-items: flex-start; 
    flex-direction: row;  
    font-style: normal;
    color: rgb(32, 71, 5);
    font-size: 0.8rem;
    font-weight: bold;
    font-family: font1,Helvetica,Arial,sans-serif;  
    gap: 2px; 
    }    

.box
{
display: flex;
flex-direction: column;

width: 100%;

margin-top: 20px;
justify-content: center;   
align-items: flex-end;
position: sticky;
top:10px;

right: 200px;
z-index: 1000;
}

.abtn
{
    font-family: font1;
    font-size: 1rem;
    display: block;
    color: rgba(255, 255, 255, 0.70);
    background-color: #86c7af;
    border: 1px forestgreen solid;
    border-radius: 20px;
    padding: 4px;
    margin-top: 10px;
    text-align: center;
    width: 100px;
    min-width: fit-content;
    padding-inline: 0px;
    text-decoration: none;
}
.abtn:hover
{
    background-color: #f8ebd8;
    color: #86c7af;
}
  

  


/* **************************************************************************************************** */

   

@media  ((hover: none) and (pointer: coarse)) or  (max-width: 768px) {  
    ::-webkit-scrollbar {
        display: none;
        overflow: auto;
        width: 0px;
        background: transparent; /* Chrome/Safari/Webkit */
    }
    .bandeau {overflow: auto;}
    
    
      } 