*, *:before, *:after {-webkit-box-sizing: border-box;-moz-box-sizing: border-box;/* ;/* box-sizing: border-box; */}


    :root{
      --bg:#ffffff;
      --card:#fff;
      --text:#1f2937;
      --muted:#6b7280;
      --primary:#2563eb;
      --primary-600:#1d4ed8;
      --danger:#dc2626;
      --border:#dcdcdc;
      --border-light:#e5e7eb;
      --ring: rgba(37,99,235,.35);
      --radius:8px;
      --gap: 12px;
    }
    html,body{height:100%}
    
    
    
    /* Base Type Styles Using Modular Scale ---------------------- */
    body
    {
        margin: 0;
        padding: 0;
        font-size: 14px;
        font-family: 'Inria Sans', 'Arial';
        line-height: 1;
        direction: ltr;
        background:var(--bg);
        color:var(--text);
    }

    h1{margin:0 0 8px 0; font-size:clamp(1.25rem, 2.5vw, 1.75rem)}
    p.lead{margin:0 0 20px 0; color:var(--muted)}

    .card{
      background:var(--card);
      border:1px solid var(--border);
      border-radius:var(--radius);
      box-shadow: 0 6px 24px rgba(0,0,0,.06);
      padding: clamp(16px, 2.5vw, 24px);
    }

    .row{
      display:grid;
      gap: var(--gap);
      grid-template-columns: 1fr;
    }
    @media (min-width: 720px){
      .row.cols-2{grid-template-columns: 1fr 1fr;}
      .row.cols-3{grid-template-columns: repeat(3,1fr);}
    }    
    
    input[type="submit"],input[type="reset"],input[type="button"],button{
        margin:20px;
        padding:10px;
        color:#fff;
        font-weight:bold;
        background-color:#0484ee;
        border:1px solid #000;
        min-width:150px;
        cursor:pointer;
      border-radius:var(--radius);
    }
    input[type="submit"]:disabled,input[type="reset"]:disabled,input[type="button"]:disabled,button:disabled{
        background-color:#dcdcdc;
        border-style:none;
        background-image: url('../img/loading.gif');
        background-size: 25px 25px;
        background-position: center center;
        background-repeat: no-repeat;
        cursor: unset;
    }
    input:not([type="radio"], [type="checkbox"], [type="submit"], [type="reset"]), select{
      width:100%;
      box-sizing:border-box;
      display:block;
      padding:2px 10px;
      margin: 0 0 4px 0;
      border:1px solid var(--border);
      border-radius:5px;
      background:#fff;
      color:var(--text);
      outline:none;
      height:24px;
    }
    input:focus{
      border-color: var(--primary);
      box-shadow: 0 0 0 4px var(--ring);
    }
    input.is-invalid{
      border-color: var(--danger);
      box-shadow: 0 0 0 4px rgba(220,38,38,.15);
    }

    fieldset{
      border:1px solid var(--border);
      border-radius: var(--radius);
      padding:16px;
      background:#fff;
    }

    fieldset.participant{
      border:1px solid var(--border-light);
    }
    fieldset.participant legend{
      padding:0 8px;
      font-weight:700;
      color:var(--primary-600);
    }

    .error-summary{
      display:none;
      border:1px solid var(--danger);
      background: #fef2f2;
      color:#7f1d1d;
      border-radius:10px;
      padding:12px;
      margin-bottom:16px;
    }
    .error-summary.show{display:block;}
    .error-summary ul{margin:8px 0 0 18px;}

    /* Tiny badge for max participants note */
    .badge{
      display:inline-block; font-size:.8rem; color:#0f172a; background:#e2e8f0; padding:2px 8px; border-radius:999px; margin-left:8px;
    }


@media screen and (max-width: 500px){	
    div#page{
            width:500px;
            margin-left: 0;
            margin-right:0;
            background-color:white;
    }
    
    div{
        width:500px !important;
        text-align: left !important;
    }
    
    input, select {
        max-width:480px !important;
    }
    
    div.input{
        display:inline !important;
    }
    footer div.container div>div{
        margin-bottom:10px !important;
    }
}
@media screen and (min-width:501px){
    div#page{
            width:100%;
            margin-left: auto;
            margin-right:auto;
            background-color:white;
    }
}
@media screen and (min-width: 1000px){	
    div#page{
            width:1000px;
            margin-left: auto;
            margin-right:auto;
            background-color:white;
    }
    
    footer .container {
        width: 1000px !important;
    }
}
p{
    font-family: inherit;
    font-weight: normal;
    font-size: inherit;
    line-height: 1.5;
}
a{
    color: inherit;
    line-height:inherit;
}
.clear{
    clear: both;
}

div.libelle{
    display:block;float:left;margin-right:5px;padding-left:10px;padding-right:5px;text-align:right;
    margin-top:5px;
}
div.input{
    display:block;float:left;
    margin:0px;
    padding-right:6px;
}
div.size-xxs {width:25px;}
div.size-xxs2 {width:35px;}
div.size-xs2 {width:85px;}
div.size-xs {width:65px;}
div.size-s {width:120px; }
div.size-m {width:200px; }
div.size-l {width:400px; }
div.size-xl {width:550px; }
div.required {
    background-image: url('../img/req.png');
    background-repeat:no-repeat;
    background-position:right top;
}
div.right{
    text-align: right;
}
textarea {
    font-family:inherit;
    font-size:inherit;
    border:1px solid #cccccc;
    display:block;
    width:100%;
}
div.required>input, div.required>select, div.required>textarea {
	background-color:#ffdddd;
}
input.upper{
	text-transform:uppercase;
}
span.error, span.error ul li, p.error
{
    font-size:12px !important;
    font-style:italic;
    text-decoration:none;
    color:#ff0000;
}
span.error{
    display:inline-block;
    padding-bottom:10px;
}
a.linkbtn {
    background-color:#0484ee;
    border:1px solid #000000;
    color:#ffffff !important;
    padding:10px;
    font-weight:bold;
    text-decoration:none !important;
    font-family:arial,verdana,helvetica;
    font-size:12pt;
    display: inline-block;
}
a.linkbtn:visited {
    color: #ffffff;
    text-decoration:none;
}
a.linkbtn:hover {
    background-color: #40A6FB;
}
label>a{
    text-decoration:underline;
    font-weight:bold;
}
div.justify p{
    text-align: justify;
}
h2, h3{
    line-height: 1.2;
}
h2 {
    font-family : 'Inria Sans', 'Arial';
    font-weight: bold;
    color: #003567;
}
h3{
    font-size:22px;
    font-family: 'Inria Sans', Arial;
    color: #003567;
    margin:10px;
}
h4{
    font-size:40px;
    font-family: 'Inria Sans', Arial;
    color: #003567;
    margin: 20px 80px;
}
div.titre_bloc h2{
    font-size : 22px;    
}

div.texte_bloc h2{
    font-size : 16px;
}
div.reseau h2{
    padding-left:30px;
}
div.titre_bloc {
    display: contents !important;
    vertical-align: top;
    padding : 0px;
    border : 0px;
    width: 100%;
}
div.texte_bloc{
    display: contents !important;
    font-family: 'Inria Sans', Arial;
    font-size:14px;
    color: #003567;
    width: 100%;
}

div.texte_bloc p {
    margin-top: 0px;
    margin-bottom: 0px;
}

header{
    margin: 25px 40px 20px 40px;
    padding-bottom:20px;
    border-bottom: 1px solid #d8d8d8;
}
footer{
    width: 100%;
    background-color: #f7f7f7;
    padding-bottom:20px;
}

footer .container, header.container{
    width: 100%;
    padding:10px 80px;
    margin-left: auto;
    margin-right:auto;
}

div.container div {
    display: block;
    float: left;
    position: relative;
}
div .moitie {
    width:50%;
}
div .quart {
    width:25%;
}
div .trois_quarts {
    width:75%;
}
div .tiers {
    width:33%
}
div .deux_tiers{
    width:67%;
}
div .margeg {
    padding-left:20px;
}

h2.icon {
    background : url('../img/icones.png');
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-size:20px 130px; 
    line-height:1.4;
}
h2.fb {
    background-position: 0px 0px;
}
h2.in {
    background-position: 0px -34px;
}
h2.li {
    background-position: 0px -69px;
}
h2.yo {
    background-position: 0px -103px;
}

/* toggle button */
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 23px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .2s;
  transition: .2s;
  border-radius: 23px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: .2s;
  transition: .2s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(18px);
  -ms-transform: translateX(18px);
  transform: translateX(18px);
}

ul{
    list-style-type: none;
}
li{
    padding: 5px;
}