/* cmsms stylesheet: 2507mainstyle modified: Monday, October 13, 2025 10:40:53 PM */
* {
    /* Global settings */
    font-family: Arial, sans-serif;

    --width-max: 950px;

    /* Header settings */
    --header-color-background: #1e1e1e;
    --header-color-text: #ddd;
    --header-logo-height: 100px;
    /* Navigator setting */
    --nav-link-color: var(--header-color-text, fuchsia);

    /* Body settings */
    --body-background: #222d;
    --body-font-color: #111;
    --body-text-size: large;

    --color-reddie: #b22;
    --alternating-background-A: #bbb;
    --alternating-background-B: #eee;

    box-sizing: border-box;
}

html {
    scroll-padding-top: 2.6rem;
    font-size: var(--body-text-size);
    scroll-behavior: smooth;
}

body {
    background-color: var(--body-background, #012);
    color: var(--body-font-color);

    margin: 0 auto;

    max-width: var(--width-max, 1200px);

    .group-elements {
        display: inline-block;
        height: auto;

        &>* {
            vertical-align: middle;
        }
    }

    .reddie {
        color: var(--color-reddie, firebrickred);
    }
}

/* Header */
header {
    background-image: url("../../uploads/images/header_bg.jpg");
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: right top;
    background-color: var(--header-color-background);

    .logo {
        height: var(--header-logo-height, 50px);
        padding: 10px;
        margin-left: 50px;
    }

    h1 {
        display: inline-block;

        font-size: 1.8em;
        color: var(--header-color-text, fuchsia);
    }
}

nav {
    background-image: linear-gradient(var(--header-color-background) 2em, color-mix(in srgb, var(--alternating-background-A), transparent 100%));

    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 100;

    font-size: 1.2rem;
    padding: 0.5em 1em 1.5em 1em;

    align-items: end;

    ul {
        display: flex;
        justify-content: right;
        list-style-type: none;
        margin: 0;
        padding: 0;
    }

    a {
        border-radius: 5px;
        text-decoration: none;
        color: var(--nav-link-color, fuchsia);
        margin-left: 1em;
        margin-right: 0.5em;
        padding: 0.5em;
    }

    a:hover,
    a:focus {
        background-color: var(--color-reddie, pink);
        box-shadow: inset 0px 0px 10px black;
    }

    a:active {
        box-shadow: inset 0px 0px 5px black;
    }
}

main {
    display: flex;
    flex-wrap: wrap;

}

main>* {
    padding: 1rem;
    margin: 0;
}

/* All sections under main receive class bg-color-X from script.js*/
main>.bg-color-A {
    background-color: var(--alternating-background-A);
}

main>.bg-color-B {
    background-color: var(--alternating-background-B);
}


/*  USE SAME WIDTH IN JS: window.addEventListener("resize" ... */
[class*="width"] {
    @media screen and (max-width: 800px) {
        width: 100% !important;
    }
}

h2 {
    font-size: 2em;
    padding: 1em 1em;
}

/* Images */
.responsive-img {
    width: 100%;
    height: auto;
}

/* List with location directions */
ul.locationDirections {
    list-style-type: none;
    margin: 0;
    padding: 0;

    &>li {
        margin: 0.25em 0;
    }
}

/* Tooltips */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted var(--header-color-background);
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: auto;
  background-color: var(--header-color-background);
  opacity: 0.95;
  color: var(--header-color-text);
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  top: 100%;
  left: 50%;
  margin-left: -60px;
}
.tooltiptext{
    font-size: small;
}
.tooltip:hover .tooltiptext {
  visibility: visible;
}


/* Prijslijst inschrijvingen */
.dot-leaders {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;


    .formule,
    .prijs {
        flex-shrink: 0;
        white-space: nowrap;
        min-width: 3em;

    }

    .dots {
        flex-grow: 1;
        flex-shrink: 1;
        overflow: hidden;
        white-space: nowrap;
    }

    &>.dots:after {
        content: '....................................................................................';
    }
}




/* Form */
form {
    display: flex;
    flex-direction: column;

    label {
        margin-top: 10px;
    }

    input,
    textarea {
        padding: 8px;
        margin-top: 5px;
        border: 1px solid #d8d8d8;
        border-radius: 4px;
        resize: none;
    }

    input:focus,
    textarea:focus {
        outline: none;
        border-color: var(--header-color-background);
    }

    button {
        margin-top: 15px;
        padding: 10px;
        background-color: var(--body-background);
        color: var(--header-color-text);
        border: none;
        border-radius: 4px;
        cursor: pointer;
    }

    button:hover {
        background-color: var(--header-color-background);
    }
}


/* Footer */
body>footer {
    background-image: linear-gradient(color-mix(in srgb, var(--header-color-background), transparent 100%), var(--header-color-background) 1.25rem);
    color: var(--header-color-text);
    font-size: small;
    text-align: center;
    padding: 20px 5px 3px 5px;
}

h2,
h3,
.width100 {
    width: 100%;
}

.width50 {
    width: 50%;
}

.width35 {
    width: 35%;
}

.width65 {
    width: 65%;
}

.width40 {
    width: 40%;
}

.width60 {
    width: 60%;
}

.width45 {
    width: 45%;
}

.width55 {
    width: 55%;
}

.width33 {
    width: 33.333%;
}

.width30 {
    width: 30%;
}
