@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@100;200;300;400;500&family=Marcellus+SC&display=swap');





/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}
strong {
    font-weight:500;
}
blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}
.quiet {
    color: #999;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* END OF
    http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

/* Best image reset */
img {
  max-width: 100%;              /* [1] */ 
  height: auto;                 /* [1] */ 
  vertical-align: middle;       /* [2] */ 
  font-style: italic;           /* [3] */ 
  background-repeat: no-repeat; /* [4] */ 
  background-size: cover;       /* [4] */ 
  shape-margin: 0.75rem;        /* [5] */ 
}




* {
    box-sizing: border-box;
    --primary-700: #8d6905;
    --primary:#c5a349;
    --primary-200:#f7de9a;
    --primary-100:#fdeec6;
    --secondary-200:#ebf1dc;
    --secondary-500:#4c8310;
    --secondary-700:#113423;
    --secondary-900:#071710;
    --dark:#060606;
    --dark-200:#ccc;
    font-family: 'Fira Sans', sans-serif;
}

body {
    /* font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif; */
    font-family: 'Fira Sans', sans-serif;
    font-weight:300;
    /* display: flex;
    flex-direction: column; */
    color:var(--dark);
    perspective: 1000px;
    line-height: 1.4em;
    min-height: 100vh;
    
}

header {
    text-align: center;
}

main {
    padding-bottom:16rem;
}

footer {
    text-align: center;
    padding: 6rem 0;
    width: 100%;
    background-color: var(--dark);
    color: #c5a348;
    bottom:0px;
    position:absolute;
}


h1,
h2,
h3,
h4,
h5 {
    font-weight: normal;
    font-family: 'Marcellus SC', serif;
    color: #333;
}

h1 {
    margin-top:4rem !important;
    font-size: 2rem;
    color: var(--primary-700);
    padding-bottom:2rem;
}

h2 {
    padding-bottom:0.5rem;
    border-bottom: 1px solid #ddd;
    font-size: 1.6rem;
}

h3 {
    font-size: 1.3rem;
}

h4 {
    font-size: 1.1rem;
}
a {
    color:var(--secondary-500);
}
p {
    margin: 0;
}
img {
    max-width:100%;
}
small {
    font-size:0.7em;
}
ul, ol {
    margin:0.5rem 0 0.5rem 1.25rem;
}
ul {
    list-style-type:square;
}
ol {
    list-style-type:decimal;
}
ol > li::marker, ul > li::marker {
    color:var(--primary);
}

ul.spaced li {
    margin-top:1rem;
}

ul li span.indented {
    margin-left:2rem;
    display: block;
}

ol.strong, ul.strong {
    font-size: 1.3rem;
    font-family: 'Marcellus SC', serif;
}
ol.strong li, ul.strong li {
    margin-bottom:1.5rem;
}
ol.strong li span, ul.strong li span {
    font-size: 1rem;
    display: block;
    margin-top: 0.5rem;
    font-family: 'Fira Sans', sans-serif;
    color:var(--primary-700);
}


.c {
    text-align:center;
}
.r {
    text-align:right;
}
blockquote {
    border-left: solid 0.5rem #fff3d3;
    color: #555;
    padding-left: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    font-style: italic;
}
blockquote cite {
    color:var(--primary-700);
}
blockquote cite::before {
    content: ' - ';
}
header.site-header {
    /* container-type:inline-size; */
    font-weight:400;
}
header.site-header .logo {
    height: 140px;
    width: 240px;
    object-fit: contain;
    display:block;
    margin:auto;
}
nav.site-navigation {
    background-color: var(--secondary-700);
    /* background-image: linear-gradient(180deg, transparent, transparent 50%, #00000006 50%, #0000); */
    background-image:linear-gradient(75deg, transparent, #8d69050c);
    box-shadow:0 0 0.5rem rgba(0,0,0,0.3);
    position:sticky;
    color:#fff;
    top:0px;
    z-index:1000;

}
header.site-header:has(+ section.hero-banner)::after {
    content:'';
    display:block;
    /* margin-bottom: calc(-1 * 100cqh); */
}
nav.site-navigation menu {
    display:flex;
    gap:min(1rem, 1vw);
    justify-content:center;
    list-style-type:none;
}
nav.site-navigation menu li a {
    display:block;
    padding:1rem min(1rem, 1vw);
    text-decoration: none;
    color:inherit;
    line-height:1em;
    text-align:center;
    width: 8rem;
}
nav.site-navigation menu li a:hover {
    backdrop-filter:brightness(0.9);
    translate:0 1px;
}
nav.site-navigation menu li a.contact {
    background-color:var(--secondary-200);
    padding:0.5rem 1rem;
    margin:0.5rem 0;
    border:solid 1px var(--dark-200);
    font-weight:400;
    box-shadow:0.25rem 0.25rem 0 0 rgba(0,0,0,0.5);
    transition:all 0.1s ease-in-out;
    color:var(--dark);
}
nav.site-navigation menu li a.contact:hover {
    box-shadow: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0 rgba(0, 0, 0, 0.5);
}
nav.site-navigation menu .logo {
    width:5rem;
    height:3rem;
    padding:0.5rem 0 0;
    transition:opacity 0.3s ease-in-out;

    img {
        filter:brightness(0.6);
    }
}

body.logo-visible nav.site-navigation menu .logo {
    opacity:0;
    pointer-events: none;
}


section.hero-banner {
    position:relative;
    z-index:-1;
    background-color:var(--dark);
    margin-bottom:2rem;
}
section.hero-banner>div {
    position:absolute;
    inset:0;
    display:flex;
    flex-direction:column;
    justify-content: space-between;
    align-items: center;
    padding:2rem 2rem 3rem;
}
section.hero-banner .hero-image {
    display:block;
    mask: linear-gradient(180deg, #000 50%, #0000 95%);
    min-height:40rem;
    max-height:60vh;
    width:100%;
    margin-inline:auto;
    object-fit: cover;
    object-position: top center;
}
section.hero-banner::after {
    content:'';
    background-color:var(--dark);
    clip-path:polygon(0% 0%, 100% 0%, 100% 100%, 0% 0%);
    translate:0 -1px;
    display:block;
    position:absolute;
    bottom:calc(-1 * min(80px, 4vw));
    width:100%;
    height:min(80px, 4vw);
}

section.hero-banner-noimg {
    position:relative;
    z-index:-1;
    background-color:var(--secondary-900);
    margin-bottom:2rem;
}
section.hero-banner-noimg >div {
    display:flex;
    flex-direction:column;
    justify-content: space-between;
    align-items: center;
    padding:2rem;
}
section.hero-banner-noimg::after {
    content:'';
    background-color:var(--secondary-900);
    clip-path:polygon(0% 0%, 100% 0%, 100% 100%, 0% 0%);
    translate:0 -1px;
    display:block;
    position:absolute;
    bottom:-60px;
    width:100%;
    height:60px;
}

details summary::-webkit-details-marker { display: none; }
details summary {list-style: none}
details summary {
    display: block;
    cursor: pointer;
    outline: 0;
}
details[open] summary::after { 
    display: none;
}
details summary::after {
    content:"Read more \2026"; 
    padding-top:3rem;
    width:100%;
    color:var(--secondary-500);
    background-image:linear-gradient(180deg, rgba(255,255,255,0.0), rgba(255,255,255,0.9), #fff);
    display: block;
    position:absolute;
    margin-top:-5rem;
}
details[open] > *:not(summary) {
  animation: open-details 0.4s ease-in-out;
}
@keyframes open-details {
  0% {
    opacity: 0;
    max-height: 0;
  }
  100% {
    opacity: 1;
    max-height: 50rem;
  }
}

main>* {
    max-width:min(1200px, calc(100% - 2rem));
    margin:auto;
}


.angle-bg {
    margin:4rem 0;
    padding:2rem;
    display:block;
    font-weight:400;
    text-align:center;
    max-width:unset;
    position:relative;
}
.angle-bg>*{
    margin:0 auto;
    max-width:1200px;
    text-align:center;
}
.angle-bg::before {
    content:'';
    display:block;
    position:absolute;
    inset:0;
    background-color: var(--primary-200);
    transform: skewY(-2deg);
    z-index:-1;
}
.angle-bg.alt::before {
    transform: skewY(2deg);
    background-color:var(--secondary-200);
}

.slideshow>article {
    display: flex;
    flex-direction: row;
    flex-wrap:wrap;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: var(--dark);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.4em;
    text-align: center;
    position: relative;
}

.slideshow>article::after {
    content: '';
    background-image: url(/images/Logo-BW.png);
    background-size: 3rem 3rem;
    width: 3rem;
    height: 3rem;
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    opacity:0.5;
}

.slideshow>article>p {
    max-width: 40rem;
    margin: auto;
}

.slideshow>article>img {
    width: 300px;
    height: 300px;
    object-fit: cover;
}


.quote-with-image {
    overflow: hidden;
    background-color: var(--primary-200);
    max-width: unset;
    padding: 0 calc(50% - 600px);
    background-image:var(--image, url(/images/IMG_0978.webp));
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1200px;
    position: relative;
}

.quote-with-image.alt {
    background-color: var(--secondary-200);
}

.quote-with-image::before {
    margin: 0 calc(50% - 600px);
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--dark);
    display: flex;
    align-items: flex-end;
    mask: linear-gradient(180deg, #0000, #0000, #0005, #000c);
    -webkit-mask: linear-gradient(180deg, #0000, #0000, #0005, #000c);

}

.quote-with-image>* {
    position: relative;
    z-index: 2;
}



article p {
    margin-top:1rem;
}
article h2 {
    margin-top:3rem;
}
article h3 {
    margin-top:2rem;
}
article ul {    
    margin-left:0;
}
article ul li {
    margin-top:1rem;
}
article ul li ul li {
    list-style-type: circle;
    margin-top:0.3rem;
}


.gold {
    color: #8b712d;
}

tagline {
    font-size: 1rem;
}

banner {
    width: 100%;
    height: 600px;
    padding: 400px 0 100px 0;
}

banner p {
    font-weight: normal;
    font-size: 3rem;
    font-family: 'Marcellus SC', serif;
    color: #fff;
    text-align: center;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.2);
}

main.easy-read p {
    color: #222;
    margin-top: 0.8rem;
    margin-bottom: 0.5rem;
    letter-spacing: 10%;
    text-indent: 1.5rem;
    line-height: 1.3rem;
}

main.easy-read p.one-liner {
    text-indent: 0;
}

main.easy-read ul {
    margin: 1rem 1rem 2rem 1.5rem;
}

main.easy-read ul li {
    list-style-type: square;
    margin-bottom: 0.8rem;
    color: #000;
}

main.easy-read h2 {
    margin-top: 2rem;
    margin-bottom: 2rem;
    font-size: 1.4rem;
    border-bottom: 1px solid #888;

}

.btn-top {
    display: inline-block;
    border: 1px solid #ccc;
    background-color: #eee;
    padding: 4px 8px;
    text-decoration: none;
    color: #222;
}

.btn-top:active {
    color: #222;
}

.btn-top:hover {
    background-color: #fff;
}

profile {
    display: block;
    margin-bottom: 2rem;
}

profile h2 {
    border-left: 0.25rem solid #fff3d3;
    border-bottom: none;
    padding-bottom: 0rem;
    padding-left: 1rem;
    margin-bottom:1rem;
}

profile h2 span {
    display:block;
    margin-top:0.3rem;
    font-size: 1rem;
    margin-left: 0rem;
}

profile .external {
    display: block;
}

profile img {
    max-width: 250px;
    max-height: 250px;
    padding: 1rem;
    border: 0.25rem solid #ccc;
    margin-bottom: 1rem;
    background-color: #fff;
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}

profile p {
    margin: 0.8rem 0;
}

section {}

nav {
    background-color: #fff3d3;
    box-shadow: 0 0.2rem 0.2rem rgba(255, 255, 255, 0.3);
}

nav ul {
    display: flex;
    margin: 0 auto;
    max-width: 800px;
    justify-content: center;
}

nav ul li {
    flex-direction: row;
    list-style: none;
}

nav ul li a {
    display: block;
    padding: 1rem 2rem;
    text-transform: uppercase;
    font-size: 1rem;
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: bold;
    font-family: 'Marcellus SC', serif;
}

nav ul li a:hover {
    background-color: #fff;
    color: #c5a349;
}

ul {
    padding-left: 2rem;
}

ul li {}

.btn {
    font-family: 'Marcellus SC', serif;
    display: inline-block;
    font-size: 1.3rem;
    background-color: #c5a348;
    padding: 1rem 2rem;
    margin: 0;
    color: #222;
    text-decoration: none;
    border: none;
}

.btn-sm-alt {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    background-color: #999;
}

.btn-sm-alt:hover {
    background-color: #aaa;
}

.btn:hover {
    color: #333;
    filter: brightness(0.9);
}

fieldset {
    border: none;
    margin-bottom: 1rem;
    display: flex;
    gap: 5px;
    flex-direction: row;
    max-width: 40rem;
}

fieldset >* {
    flex-basis: 50%;
    width: auto;
}

.form_error_msg {
    color: red; 
    background-color: pink;
    border: 1px solid red;
    padding: 0.5rem 1rem;
    margin-top:-0.5rem;
    margin-bottom:1rem;
}

.noflex {
    display: block;
}

label {
    display: block;
}

input,
select {
    height: 1.5rem;
    width: 15rem;
}

textarea {
    width: 15rem;
    height: 10rem;
}

input[type=checkbox] {
    width:1.5rem;
}

input[type=radio] {
    width:1.5rem;
}

input[type=submit] {
    height: 4rem;
    width: auto;
    cursor: pointer;
}

.required {}

section.course h2,
section.course h3,
section.course h4 {
    margin-top:1.5rem;
    margin-bottom:0.5rem;
}

section.course>p {
    text-align: justify;
}

section.course a {}

section.course h2 {}

sub {
    font-size: 80%;
    display: block;
}

.center {
    text-align: center;
}

dl {
    display: grid;
    grid-template-columns: 10rem auto;
}

dt {
    grid-column: 1;
    padding-right: 1rem;
}

dd {
    grid-column: 2;
    margin-left: 1rem;
}

dt,
dd {
    margin: 0.3rem 0 0.2rem 0;
    border-bottom: 1px dashed #fff3d3;
}

.image-grid {
    margin: 1rem 0;
    padding: 1rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    overflow: hidden;
    background-color: #fff;
    padding: 1rem;
    border: 1px solid #ccc;
}

.image-grid imageset {
    flex-grow: 1;
    text-align: center;
}

.image-grid img {
    width: auto;
    height: 120px;
    border: none;
}

.image-md-right img {
    float: right;
    max-width: 400px;
    border: none;
}

.media-block {
    margin-top:1rem;
}
.media-block img {
    float:left;
    margin-bottom:1rem;
    margin-right:1rem;
    max-width:max(30%, 150px);
}
.media-block::after {
    display:block;
    content: '';
    clear:both;
}
.media-block.right img {
    float:right;
    margin-left:1rem;
    margin-right:0;
}

.image-md-twin {
  display: flex;
  gap: 1rem;
  margin-right:1rem;
  margin-top:1rem;
}
.image-md-twin img {
  flex: 0 0 50%;
  width: 200px;
  height: auto;
  object-fit: cover;
}

.money {
    text-decoration: none;
    cursor:help;
}
.money::before {
    content:'$';
    margin-right:0.25rem;
}

.table {
    display: table;
    width: 100%;
    border-collapse: collapse;
    --highlight-color:#eeeeee7e;
    border:solid 1px var(--highlight-color);
    table-layout: fixed;
}
.table-primary {
    --highlight-color:var(--primary-200);
    border-width:2px;
}
.table th {
    padding:0.25rem;
    font-weight:500;
    text-align:left;
    border: solid 1px var(--highlight-color);
}
.table td {
    padding:0.25rem;
    border: solid 1px var(--highlight-color);
}
.table-big td {
    padding:1.5rem 1rem 1.5rem 0.8rem;
}
.table>tbody>tr:nth-child(even) {
    background-color: var(--highlight-color);
}


@media(max-width:800px) {
    .table>tbody>tr {
        display:flex;
        flex-wrap:wrap;
    }
    .table>tbody>tr>th {
        flex:1 0 100%;
    }
    .table>tbody>tr>td {
        flex:1 0 20%;
    }
}


.text-primary {
    color:var(--primary);
}
.text-strong {
    font-weight:500;
}

/* News */
news {
    background-color: white;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    display: flex;
    align-items: top;
}
news:hover {
    transform: scale(1.01);
}
news > featured {
    width: 300px;
    height: 200px;
    margin-right: 1rem;
    background-color: #fff;
    flex-basis: 300px;
    flex-grow: 0;
    flex-shrink: 0;
}
news > featured > img {
    width: 100%;
    height: 200px;
    object-fit: cover; 
}
date {
    line-height:2rem;
    font-size: 0.9em;
}
date::before {
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
    content: '📅 ';
}
news > div > p {
    margin-top:0;
}
news h2 {
    margin: 0;
    font-size: 1.4rem;
}
news p {
    color: #666;
}
news a {
    text-decoration: none;
    color: #007BFF;
}


@media only screen and (min-width: 760px) {
    nav {
        background-image: linear-gradient(180deg, transparent, transparent 50%, #00000006 50%, #0000);
    }
}

@media only screen and (max-width: 760px) {
    body {
        font-size: 0.9rem;
    }
    nav.site-navigation menu li a {
        font-size: 0.7rem;
        width: auto;
    }

    nav.site-navigation menu li a.logo>div {
        transform:scale(0.75);
        transform-origin: top center;
    }
    news {
        flex-wrap: wrap;
    }
    news > featured {
        margin-bottom: 1rem;
        width: 100%;
        height: 200px;
        margin-right: 0;
        flex-basis: none;
        flex-grow: 1;
        flex-shrink: 1;
    }

    .image-grid img {
        height: 80px;
    }

    ul {
        padding-left: 1rem;
    }

    nav ul {
        flex-direction: column;
        padding: 0;
    }

    nav ul li {
        text-align: center;
    }

    nav ul li a {
        padding: 1rem 1rem;
        font-size: 1rem;
    }

    fieldset {
        border: none;
        width:100%
    }

    fieldset * {
        width: auto;
    }

    fieldset select, fieldset input, fieldset textarea {
        min-width:50%;
        width: auto;
    }

    fieldset input[type=checkbox], fieldset input[type=radio] {
        min-width:1.5rem;
    }

    h1 {
        font-size: 1.4rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    h3,
    h4 {
        font-size: 1.2rem;
    }
    
    .image-md-twin {
        flex-direction: column;
        margin-right:0;
    }
    .image-md-twin img {
        width: 100%;
    }
    
    .media-block img {
        float:none !important;
        margin:0 !important;
        max-width:unset;
        width:100%;
    }
    .media-block::after {
        content: none;
    }

    .table {
        width:100% !important;
    }

}
