@charset "UTF-8";


/*
PRELOADER
*/
@-webkit-keyframes PRELOAD {
    0%   { opacity: 0; }
    60%  { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes PRELOAD {
    0%   { opacity: 0; }
    60%  { opacity: 0; }
    100% { opacity: 1; }
}


/*
basic normalize
*/
hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:0;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type="button"],[type="reset"],[type="submit"]{-webkit-appearance:button}button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type="checkbox"],[type="radio"]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px}[type="search"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}*,*::after,*::before{-webkit-box-sizing:border-box;box-sizing:border-box;}


/*
kalam-regular - latin
*/
@font-face {
    font-family: 'Kalam';
    font-style: normal;
    font-weight: 400;
    src: local('Kalam'), local('Kalam-Regular'),
         url('../template/kalam-v8-latin-regular.woff2') format('woff2'),
         url('../template/kalam-v8-latin-regular.woff') format('woff');
}


/*
basic style definitions
*/
html, body {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0 auto;
}
html {
    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    font-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    scroll-behavior: smooth;
}
body {
    height: auto;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    font-size: calc( 18px + 6 * ( (100vw - 960px) / 786 ) );
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 150%;
    background: white;
    color: #333;
    -webkit-animation: PRELOAD 0.6s 1 normal ease-out forwards 0;
    animation: PRELOAD 0.6s 1 normal ease-out forwards 0;
}

.wrapped {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    padding-left: 8rem;
    padding-right: 8rem;
    max-width: 100%;
}



/*
layout definition
*/
h1,h2,h3,h4,h5,h6 {
	margin: 0;
    padding: 0;
    line-height: 125%;
}
h1 {
    font-size: 280%;
    font-weight: bolder;
}
h2,h4 {
    font-size: 125%;
}
h1,h2,h3 {
    font-family: 'Kalam', cursive;
}
h3 {
    font-size: 180%;
    line-height: 100%;
    margin-top: 0.5rem;
}
h3,h4 {
    color: #66aa00;
}
article a:not(:hover) {
	color: #66aa00;
}
nav {
    position: -webkit-sticky;
    position: sticky;
    z-index: 300;
    top: 0;
    left: 0;
    width: 100%;
    text-align: right;
    color: white;
    background: #66aa00;
}
nav > .logo {
    float: left;
    font-family: 'Kalam', cursive;
    font-size: 160%;
    line-height: 100%;
    padding: 0.5rem 0;
}
nav > a {
    display: inline-block;
    padding: 0.5rem 0.33rem;
    color: currentColor;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 80%;
}
@media all and (min-width:1279px) {
    nav > a {
        font-size: 90%;
        padding: 0.5rem 1rem;
    }
}
nav > a:hover {
    background: white;
    color: #66aa00;
}
header {
    position: relative;
    background:#66aa00;
    color:white;
    padding:3rem;
    -webkit-box-shadow: inset 0px -128px 180px -200px rgba(0,0,0,0.5);
    box-shadow: inset 0px -128px 180px -200px rgba(0,0,0,0.5);
}
header::after {
    content: "";
    position: absolute;
    bottom: -0.5%;
    left: 50%;
    margin-left: -40px;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 20px solid white;
}

section {
    padding-top: 5rem;
    /* overflow: hidden; */
    max-width: 100%;
}
.sectionimage {
    position: relative;
    z-index: 0;
    display: inline-block;
    vertical-align: top;
    width: 100%;
}
.sectionimage > img {
    display: block;
    width: calc(70% + 8.5rem);
    margin-left: -8rem;
    /*width: 100%;*/
}
article {
    display: inline-block;
    vertical-align: top;
    width: 70%;
    padding: 3rem 3.5rem;
    margin-left: 34%;
    margin-top: -16.5rem;
    background: rgba(255,255,255,0.93);
    -webkit-box-shadow: 0 0 24px -6px lightgray;
    box-shadow: 0 0 24px -6px lightgray;
    position: relative;
    z-index: 1;
}

/* .cms .sectionimage > img {
	max-width: 25% !important;
} */
/*.cms article {
	width: 100% !important;
	margin-left: 15% !important;
}*/

.content_section_item:nth-child(even) > section {
    direction: rtl;
}
.content_section_item:nth-child(even) > section > .sectionimage > img {
    direction: ltr;
    margin-right: -8rem;
    margin-left: 0;
}
.content_section_item:nth-child(even) > section > article {
    direction: ltr;
    margin-right: 34%;
    margin-left: 0;
}
/*.articleentry {
	margin-top: -7.7rem;
	padding: 3rem;
	background-color: rgba(255,255,255,0.95);
	-webkit-box-shadow: 0 0 16px 8px lightgray;
  box-shadow: 0 0 16px 8px lightgray;
}
.articleentry > * {
	max-width: 65ch;
}*/

.cms_content_section_single_overlay:not(.active_edit) {
    border: 2px solid lightgray;
}
.cms_content_section_single_overlay:not(.active_edit) + * {
    margin-bottom: 2rem;
    font-size: 80%;
    line-height: 100%;
}
.cms_content_section_single_overlay:not(.active_edit) .cms_content_section_single_overlay,
.cms_content_section_single_overlay:not(.active_edit) + * .cms_button_add_content_section {
    display: none !important;
}
.cms_content_section_single_overlay:not(.active_edit) + * .sectionimage {
    display: inline-block;
    vertical-align: top;
    width: 25% !important;
    margin: 0 !important;
}
.cms_content_section_single_overlay:not(.active_edit) + * article {
    display: inline-block;
    vertical-align: top;
    width: 70% !important;
    margin: 0 !important;
}

.portrait {
    display: inline-block;
    vertical-align: top;
    width: 60%;
    margin-right: 6%;
}
.portraitimage {
    display: inline-block;
    vertical-align: top;
    width: 33%;
    margin-left: -8px;
}
.portraitimage > img {
    width: 100%;
    border-radius: 100%;
    /* border: 4px solid rgb(22,22,22); */
    -webkit-box-shadow: 0 0 24px -6px lightgray;
    box-shadow: 0 0 24px -6px lightgray;
}

.accordionbutton {
    display: block;
    text-align: center;
    background-color: #66aa00;
    color: white;
    border: 3px solid #66aa00;
    font-weight: bold;
    font-size: 80%;
    line-height: 125%;
    padding: 0.33rem;
    margin: 0.5rem 0 0 0;
}
.accordionbutton:hover {
    cursor: pointer;
    color: #66aa00;
    background-color: white;
}
.accordionentry {
	display: block;
	width: 100%;
	margin-top: 1rem;
}

p:not([id]) + h3,
p:not([id]) + h4,
p:not([id]) + h5,
p:not([id]) + h6 {
    margin-top: 2rem;
}

.articleentry p[id] {
    position: absolute;
    top: -5rem;
    left: 0;
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

body:not(.editing) .accordionentry img {
    max-width: 100%;
    height: auto;
}
.accordionentry img {
    float: right;
    margin: 1rem;
}
body:not(.editing) .accordiontrigger:not(:checked) ~ .accordionentry,
.cms_content_section_single_overlay:not(.active_edit) + * .accordiontrigger ~ .accordionentry {
    display: none;
}
body:not(.editing) .accordiontrigger:checked + .accordionbutton {
    color: white;
    background-color: #333;
    border-color: #333;
}

footer {
    display: block;
    width: 100%;
    margin-top: 5rem;
    background: #333;
    color: white;
}
footer a {
    color: white;
}
footer a:hover {
    cursor: pointer;
    color: #66aa00;
}

.flex {
    display: flex;
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.flexentry {
	flex: 50%;
	max-width: 50%;
	padding: 1rem 0;
}

.targetreveal:not(:target) {
    display: none;
}

@media all and (max-width:970px) {
    .wrapped {
        padding-left: 0.6rem;
        padding-right: 0.6rem;
    }
    .wrapped > div,
    .wrapped > .portrait,
    .wrapped > article,
    .wrapped > .sectionimage > img {
        display: block !important;
        width: 100% !important;
        margin-top: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        -webkit-box-shadow: none;
        box-shadow: none;
    }
    .accordionentry p img {
        max-width: 50% !important;
    }
    .flex {
        display: block;
    }
    .flexentry {
        flex: 100%;
        max-width: 100%;
    }
    nav {
        text-align: center;
    }
    nav > .logo  {
        float: none;
        display: block;
        padding-bottom: 0.1rem;
    }
    nav > a {
        padding: 0.25rem 0.15rem;
    }
    header.wrapped > img {
        display: block !important;
        margin: 0 0 32px 18%;
        width: 60%;
    }
}