*, *::before, *::after { box-sizing: border-box; }

* {
    line-height: 1.4em;
}

:root {
    --red: rgb(221,0,9);
    --gla-yellow: #ffcc00;
    --shd: 0 1px 4px rgba(0, 0, 0, 0.6);
    --blue: rgb(10,108,168);
}

@font-face {
    font-family: "Museo W01 300";
    src: url("https://db.onlinewebfonts.com/t/c8068413938f1b2ca7a5c7998979da48.eot");
    src: url("https://db.onlinewebfonts.com/t/c8068413938f1b2ca7a5c7998979da48.eot?#iefix")format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/c8068413938f1b2ca7a5c7998979da48.woff2")format("woff2"),
    url("https://db.onlinewebfonts.com/t/c8068413938f1b2ca7a5c7998979da48.woff")format("woff"),
    url("https://db.onlinewebfonts.com/t/c8068413938f1b2ca7a5c7998979da48.ttf")format("truetype"),
    url("https://db.onlinewebfonts.com/t/c8068413938f1b2ca7a5c7998979da48.svg#Museo W01 300")format("svg");
}

@font-face {
    font-family: "museo-w01-700";
    src: url("https://db.onlinewebfonts.com/t/5cfbe76f00e7c4d6ba5d963f6c179606.eot");
    src: url("https://db.onlinewebfonts.com/t/5cfbe76f00e7c4d6ba5d963f6c179606.eot?#iefix")format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/5cfbe76f00e7c4d6ba5d963f6c179606.woff2")format("woff2"),
    url("https://db.onlinewebfonts.com/t/5cfbe76f00e7c4d6ba5d963f6c179606.woff")format("woff"),
    url("https://db.onlinewebfonts.com/t/5cfbe76f00e7c4d6ba5d963f6c179606.ttf")format("truetype"),
    url("https://db.onlinewebfonts.com/t/5cfbe76f00e7c4d6ba5d963f6c179606.svg#Museo W01 700")format("svg");
}

h1 {
    font-family: "museo-w01-700";
}

body {
    margin: 0;
    /* font-family: system-ui, sans-serif; */
    font-family: "Museo W01 300";
    color: #222;

    background-color: var(--red);
}

.page-background {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-height: 1044px;

  background-image: url('/public/img/hero_bg.jpg');
  background-repeat: no-repeat;
  background-position: top;
  
}

.container, footer {
    min-height: 800px;
    min-width: 50%;

    margin-left: 440px;
}

.container {
    background-color: white;
    min-height: 800px;
    min-width: 800px;

    margin-top: 220px;
    border-radius: 20px;
}

header {
    padding: 1rem 2rem;
    /* border-bottom: 1px solid #ddd; */
}

nav {
    margin-top: 40px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

nav a {
    margin-right: 1rem;
    text-decoration: none;
    color: inherit;

    color: rgba(255,255,255,.88) !important; 
    font-weight: 500; 
  
    margin-left: 0px; margin-right: 5px;
    padding-left: 20px; padding-right: 20px; 
    padding-top: 10px; padding-bottom: 12px;
    background-color: rgb(10,108,168);
    color: white;
    border-radius: 10px;

    box-shadow: var(--shd, 0 1px 4px rgba(0, 0, 0, .6));

}

nav a:hover { 
    background-color: var(--gla-yellow);
    color: black !important;
}

nav a.active  { 
    background-color: var(--gla-yellow);
    color: black !important;
}

main {
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
}


footer {
    text-align: center;
    font-size: 0.85rem;
    color: white;
}


/* Forms */
.field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.field label { font-weight: 500; }

.field input,
.field textarea {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font: inherit;
    width: 100%;
}

.field input:focus,
.field textarea:focus {
    outline: 2px solid #0066cc;
    border-color: transparent;
}

button[type="submit"] {
    margin-top: 1rem;
    padding: 0.6rem 1.4rem;
    background: #0066cc;
    color: #fff;
    border: none;
    border-radius: 4px;
    font: inherit;
    cursor: pointer;
}

button[type="submit"]:hover { background: #0052a3; }

/* Alerts */
.alert {
    padding: 0.75rem 1rem;
    border-radius: 4px;
    margin-bottom: 1.25rem;
}

.alert--success { background: #d4edda; color: #155724; }
.alert--error   { background: #f8d7da; color: #721c24; }

/* Slider */
.slider {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.slider__track {
    display: flex;
    transition: transform 0.45s ease;
}

.slider__slide {
    min-width: 100%;
}

.slider__slide img {
    display: block;
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.slider__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,.45);
    color: #fff;
    border: none;
    font-size: 2.5rem;
    line-height: 1;
    padding: 0.2rem 0.7rem;
    cursor: pointer;
    border-radius: 6px;
    z-index: 10;
}

.slider__btn--prev { left:  10px; }
.slider__btn--next { right: 10px; }
.slider__btn:hover { background: rgba(0,0,0,.7); }

.slider__dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.slider__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.55);
    cursor: pointer;
    padding: 0;
}

.slider__dot--active { background: #fff; }

.slider__slide {
    position: relative;
}

.slider__legend {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    text-align: center;
    box-sizing: border-box;
}

/* push dots above the legend bar */
.slider__dots {
    bottom: 42px;
    z-index: 20;
}


ol li {
    margin: 15px 0;
}

ol li a {
    color: var(--blue);
}

span.required {
    color: red;
}

span.required::before {
    content: ' ';
}

p a {
    color: var(--blue);
}

h2 {
    color: var(--blue);   
}

h3 {
    color: var(--blue);
}

h2.highlight {
    color: black;
    background-color:#ECCF53;
}

.chapeau {
    color: var(--red);
    font-weight: 600;
    font-size: 1.2em;
}

h3 {
    margin-bottom: 0em;
}

h3 + * {
    /* color: blue; */
    margin: 0px;
}


.title {
   width:100%;
   text-align:center; 
   position: relative;
   margin-top: 2.5em;
}

div.title h2 {
   position:relative; 
   padding:10px; 
   background: white;
   display: inline-block;
   z-index: 1;
}

.title::after {
   content:'';
   position: absolute;
   left: 0;
   right: 0;
   top: 50%;
   height: 1px;
   background: var(--blue);
   z-index:0;
}

div.callout {
    background-color: rgb(255, 205, 0);
    padding: 25px;
}



.flex-column {
  display: flex;
  flex-wrap: wrap;
}

.column-item {
  flex: 1 0 61%;  /* flex-grow, flex-shrink, flex-basis */
  margin: 2px;
  /* background-color: lightgreen; */
  flex-basis: 40%;
}

.column-item h2 {
    margin-top: 10px;
}

.column-item ul {
    margin-top: 10px;
}

/* ================ */

.row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;

  column-gap: 50px;
}

.column {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 1;
}
