@charset "UTF-8";
/* CSS Document */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'OpenSansLight';
    src: url('../Fonts/OpenSans-Light.woff2') format("woff2");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'OpenSansLight';
    src: url('../Fonts/OpenSans-Medium.woff2') format("woff2");
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'OpenSansLight';
    src: url('../Fonts/OpenSans-LightItalic.woff2') format("woff2");
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'OpenSansLight';
    src: url('../Fonts/OpenSans-MediumItalic.woff2') format("woff2");
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'OpenSansSemiCond';
    src: url('../Fonts/OpenSans_SemiCondensed-Light.woff2') format("woff2");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'OpenSansSemiCond';
    src: url('../Fonts/OpenSans_SemiCondensed-Medium.woff2') format("woff2");
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'OpenSansSemiCond';
    src: url('../Fonts/OpenSans_SemiCondensed-LightItalic.woff2') format("woff2");
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'OpenSansSemiCond';
    src: url('../Fonts/OpenSans_SemiCondensed-MediumItalic.woff2') format("woff2");
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'SourceCodePro';
    src: url('../Fonts/SourceCodePro-Semibold.woff2') format("woff2");
    font-weight: normal;
    font-style: normal;
}


:root {
  --text-color: hsl(0deg 0% 20%);
  --link-color: hsl(211deg 100% 45%);
  --link-color-hover: hsl(211deg 100% 70%);
  --title-color: hsl(0deg 0% 20%);
  --grey: hsl(0deg 0% 60%);
  --light-grey: hsl(0deg 0% 80%);
  --light-red: hsl(0deg 100% 90%);
  --page-width: 1024px;
  --pagehead-height: 120px;
  --text-font: 'OpenSansSemiCond', Arial, Helvetica, sans-serif;
  --title-font: 'OpenSansSemiCond', Arial, Helvetica, sans-serif;
  --gap: 1rem;
  --doublegap: 2rem;
  --teaser-height: 40vw;
}


* {
	margin:0px;
	padding:0px;
	border:none;
	box-sizing: border-box;
}


.clear {
    clear: both;
}
.vihi {
    position: absolute;
    display: block;
    margin: -1px;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

body {
	width:100%;
	background-color: #fff;
    font-family: var(--text-font);
	font-size: 1.2rem;
    line-height: 1.9rem;
	font-weight: 300;
	color: var(--text-color);
}
.pagehead {
    display: block;
    position: sticky;
    top: 0;
    height: var(--pagehead-height);
    width: 100%;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 20px white;
}
.pagehead > div {
    width: var(--page-width);
    height: var(--pagehead-height);
    margin: 0 auto;
    position: relative;
}
#homelink {
    position: absolute;
    left: var(--gap);
    top: 10px;
    z-index: 110;
}
#homelink a {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: -15px 0;
    width: 400px;
    height: 106px;
    display: block;
}
.contenthead {
    position: relative;
}
#pagetitle {
    position: sticky;
    z-index: 1;
    top: var(--pagehead-height);
    height: 50px;
    background-color: var(--link-color);
    width: 100%;
}
#pagetitle h1 {
    width: var(--page-width);
    margin: 0 auto;
    padding: 0 var(--gap);
    font-size: 24px;
    line-height: 50px;
    color: #fff;
    font-family: var(--text-font);
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.01em;
    white-space: nowrap;
    opacity: 0.8;
}



.contentmain {
    margin-top: 5rem;
}
.contentmain > div,
.contentmain > section {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--doublegap);
    width: var(--page-width);
    padding: 0 var(--gap) 0 calc(var(--gap) + 85px);
}
.contentmain > .teaser-full {
    width: 100%;
    padding: 0;
}

section {
    clear: left;
}
footer {
    clear: both;
    display: block;
    height: 250px;
    font-size: 0.9rem;
    line-height: 50px;
    color: white;
    background: var(--link-color);
}
.contentfoot {
    width: var(--page-width);
    margin: 0 auto;
    padding: 0 var(--gap);
}
footer a {
    color: white;
    text-shadow: 0 0 2px white;
}





/** GENERAL **/
optgroup
{
    padding-top:3px;
    padding-bottom:3px;
}
    
table {
    border-collapse:collapse;
}
th, td {
    text-align:left;
    vertical-align:top;
}
p {
  -ms-hyphens: auto;
  -webkit-hyphens: auto;
    hyphens: auto;
}
p + p {
	padding-top:16px;
	}
#content table {
	width: 100%;
}
#content tr:nth-of-type(even) {
    background: rgba(0,0,0,0.1);
}
thead tr {
    background: var(--link-color);
}
th {
    font-weight: bold;
    white-space: nowrap;
}
td, th {
    padding-left: 10px;
    padding-right:10px;
}
td:first-of-type {
    padding-left: 0;
}
td:last-of-type {
    padding-right: 0;
}
#content td:first-of-type {
	padding-left: 2px;
}
#content td:last-of-type {
	padding-right: 2px;
}
dl {
}
dt {
    float: left;
    clear: left;
    width: 110px;
    font-size: 12px;
    color: var(--grey);
    padding-right: 9px;
}
dd {
    font-size: 12px;
}
.align-center, .text-center {
    text-align: center;
}

/** Titles */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--title-color);
    font-style: normal;
    font-weight: 700;
    font-family: var(--title-font);
    clear: left;
}

h1 {
    margin-bottom: 30px;
    font-size: 52px;
    line-height: 58px;
    font-weight: 300;
}
h2 {
    margin: 80px 0px 20px 0px;
    font-size: 26px;
    line-height: 32px;
}
h3 {
    margin:30px 0px 8px 0px;
    font-size: 22px;
    line-height: 26px;
}
h4 {
    font-size: 20px;
    line-height: 23px;
    margin-bottom: 5px;
    margin-top: 30px;
}
h5, h6 {
    font-size: 18px;
    line-height: 20px;
}
.contentmain > div:first-of-type h2 {
    margin-top: 0;
}
.contentright h2 {
    font-size: 28px;
    line-height: 33px;
}
footer h2 {
    font-size: 22px;
    margin: 16px 0 16px 0;
    line-height: 24px;
}
hr {
    border-width: 0 0 1px 0;
    border-style: solid;
    border-color: var(--light-grey);
    }
div.divider {
    margin-bottom: 10px;
}


time {
    font-size: 11px;
    color: var(--grey);
}

/** Lists */
li {
	margin:0; 
	padding:0; 
	text-indent: -18px;
	list-style: none;
}
.frame {
    clear: both;
}
.frame li {
  margin: 5px 0 5px 22px;
}
.frame li:before {
    content: '•';
    font-weight: bold;
    color: var(--link-color);
    padding-right: 10px;
}


/* frame classes */


/** Links */
a {
	text-decoration:none;
	color: var(--link-color);
    transition: 1s;
	}

a:hover {
	text-decoration:none;
	color: var(--link-color-hover);
    transition: 0s;
	}
.btn {
    width: auto;
    min-width: 20px;
    cursor: pointer;
    display: inline-block;
    padding: 0 1rem;
    border-width: 1px;
    border-style: solid;
    transition: 0.2s;
    font-size: 1rem;
    line-height: 2.1rem;
    user-select: none;
    text-transform: uppercase;
    margin-top: 1rem;
    margin-right: 1rem;
}
.btn.btn-primary {
    border-color: var(--link-color);
    background-color: var(--link-color);
    color: white;
}
.btn.btn-primary:hover {
    background-color: white;
    color: var(--link-color);
}
.btn.btn-secondary {
    border-color: var(--grey);
    background-color: var(--grey);
    color: white;
}
.btn.btn-secondary:hover {
    background-color: white;
    color: var(--grey);
}

/* image gallery */
.imagegallery .gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.imagegallery .gallery a {
    display: flex;
}
.imagegallery .gallery.cols-10 a {
    width: calc((var(--page-width) - var(--doublegap)) / 10 - 4px);
}
.imagegallery .gallery.cols-9 a {
    width: calc((var(--page-width) - var(--doublegap)) / 9 - 4px);
}
.imagegallery .gallery.cols-8 a {
    width: calc((var(--page-width) - var(--doublegap)) / 8 - 4px);
}
.imagegallery .gallery.cols-7 a {
    width: calc((var(--page-width) - var(--doublegap)) / 7 - 4px);
}
.imagegallery .gallery.cols-6 a {
    width: calc((var(--page-width) - var(--doublegap)) / 6 - 4px);
}
.imagegallery .gallery.cols-5 a {
    width: calc((var(--page-width) - var(--doublegap)) / 5 - 4px);
}
.imagegallery .gallery.cols-4 a {
    width: calc((var(--page-width) - var(--doublegap)) / 4 - 4px);
}
.imagegallery .gallery.cols-3 a {
    width: calc((var(--page-width) - var(--doublegap)) / 3 - 4px);
}
.imagegallery .gallery.cols-2 a {
    width: calc((var(--page-width) - var(--doublegap)) / 2 - 4px);
}
.imagegallery .gallery a img {
    width: 100%;
    height: auto;
    border: 1px solid var(--light-grey);
}



/* container overwrites */
.container-grid-col {
    display: block;
}


.question {
    font-style: italic;
}
.author {
    font-size: 12px;
    text-transform: uppercase;
}
.quotes {
    color: rgb(205,25,25);
    font-size: 30px;
    line-height: 40px;
}
.quotes:before {
    color: var(--light-grey);
    display: inline-block;
    content: '«';
    font-size: 50px;
    transform: scale(1,1.5);
}
.quotes:after {
    color: var(--light-grey);
    display: inline-block;
    content: '»';
    font-size: 50px;
    transform: scale(1,1.5);
    margin-left: 8px;
}

.ce-gallery img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
}
.ce-gallery[data-ce-columns="2"] .ce-column {
    width: calc(50% - 9px);
}
.ce-gallery[data-ce-columns="3"] .ce-column {
    width: calc(33.3% - 12px);
}
.ce-gallery[data-ce-columns="4"] .ce-column {
    width: calc(25% - 13.5px);
}
.ce-gallery[data-ce-columns="5"] .ce-column {
    width: calc(20% - 14.4px);
}
.ce-gallery[data-ce-columns="6"] .ce-column {
    width: calc(16.66% - 15px);
}
.ce-gallery[data-ce-columns="7"] .ce-column {
    width: calc(14.28% - 15.43px);
}
.ce-gallery[data-ce-columns="8"] .ce-column {
    width: calc(12.5% - 15.75px);
}
.ce-gallery figcaption {
    font-size: 80%;
    line-height: 130%;
}

/* file icons in links */
p a[href$=".pdf"]:before, li a[href$=".pdf"]:before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('../Icons/FileExt/pdf.png');
    background-repeat: no-repeat;
    background-size: 100%;
    margin-right: 3px;
    top: 2px;
    position: relative;
}
p a[href$=".zip"]:before, li a[href$=".zip"]:before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('../Icons/FileExt/zip.png');
    background-repeat: no-repeat;
    background-size: 100%;
    margin-right: 3px;
    top: 2px;
    position: relative;
}
p a[href$=".doc"]:before,  li a[href$=".doc"]:before,
p a[href$=".docx"]:before, li a[href$=".docx"]:before,
p a[href$=".dot"]:before,  li a[href$=".dot"]:before,
p a[href$=".dotm"]:before, li a[href$=".dotm"]:before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('../Icons/FileExt/doc.png');
    background-repeat: no-repeat;
    background-size: 100%;
    margin-right: 3px;
    top: 2px;
    position: relative;
}
p a[href$=".xls"]:before,  li a[href$=".xls"]:before,
p a[href$=".xlsx"]:before, li a[href$=".xlsx"]:before,
p a[href$=".xlt"]:before,  li a[href$=".xlt"]:before,
p a[href$=".xltm"]:before, li a[href$=".xltm"]:before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('../Icons/FileExt/xls.png');
    background-repeat: no-repeat;
    background-size: 100%;
    margin-right: 3px;
    top: 2px;
    position: relative;
}
p a[href$=".jpg"]:before,  li a[href$=".jpg"]:before,
p a[href$=".jpeg"]:before, li a[href$=".jpeg"]:before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('../Icons/FileExt/jpg.png');
    background-repeat: no-repeat;
    background-size: 100%;
    margin-right: 3px;
    top: 2px;
    position: relative;
}
p a[href^="https://www.google.com/maps/place/"]:before, li a[href^="https://www.google.com/maps/place/"]:before {
    content: '';
    display: inline-block;
    width: 29px;
    height: 29px;
    background-image: url(/fileadmin/ic_place_24px_red.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    margin-right: 3px;
    top: 2px;
    position: relative;
    margin-top: -9px;
}
p a.thumbnail:before, li a.thumbnail:before {
    display: none;
}





/* forms, powermail, registration */
label {
  display: block;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}
div.checkbox label, div.radio label {
    margin-top: 0px;
    margin-bottom: 1px;
}
.powermail_fieldwrap_type_text {
    margin-top: 1rem;
}
input, 
select, 
textarea {
    border-width: 1px 1px 1px 5px;
    border-color: var(--light-grey);
    border-style: solid;
    padding: 5px 5px;
    font-size: 1rem;
    font-family: var(--text-font);
}

input[required], 
select[required], 
textarea[required],
input[data-validation*=required],
input.required,
select.required,
textarea.required {
    border-left-color: var(--link-color);
}
input[type=text], 
input[type=tel], 
input[type=date], 
input[type=datetime-local], 
input[type=email], 
input[type=url], 
input[type=number], 
input[type=password], 
input[type=submit],
select, 
textarea,
.tx-indexedsearch input {
    width: 100%;
    max-width: 500px;
}
.powermail_field .radio,
.powermail_field .checkbox,
.registration .radio ,
.registration .checkbox  {
    display: inline-block;
    margin-right: 1.5rem;
}
input.powermail_field_error,
select.powermail_field_error,
textarea.powermail_field_error {
    background-color: var(--light-red);
    border-top: 1px solid var(--link-color);
    border-right: 1px solid var(--link-color);
    border-bottom: 1px solid var(--link-color);
}
ul.powermail-errors-list li:before, div.field-errors:before {
    display: block;
    content: ' ';
    width: 0;
    height: 0;
    border-width: 12px;
    border-color: transparent transparent var(--link-color);
    border-style: solid;
    margin-top: -16px;
    padding-right: 0;
}
ul.powermail-errors-list, div.field-errors {
    color: var(--link-color);
    font-weight: bold;
    padding: 0;
}
div.powermail_fieldwrap_text,
div.powermail_fieldwrap_submit {
    margin-top: 20px;
}
input[type=submit][disabled],
button[disabled] {
    opacity: 0.4 !important;
    cursor: not-allowed;
}

fieldset.nolabel legend {
    display: none;
}
fieldset {
    margin-bottom: 40px;
}
.tx-powermail h3 {
    display: none;
}
legend.powermail_legend {
}





/* fileuploads */
.ce-uploads-2 {
    display: flex;
    flex-wrap: wrap;
}
.ce-uploads li {
    margin: 0 0 0.6rem 0;
    text-indent: 0;
}
.ce-uploads-2 li {
    margin: 0 2rem 2rem 0;
}
.ce-uploads li:before {
    display: none;
}
.ce-uploads img {
    padding-right: 8px;
    float: left;
}
.ce-uploads-2 img {
    border: 1px solid var(--light-grey);
    padding: 0;
    box-sizing: content-box;
    float: none;
}
.ce-uploads span {
    padding-top: 4px;
    display: inline-block;
}
.ce-uploads-filesize {
    padding-left: 8px;
    font-size: 0.9rem;
    color: var(--grey);
}
.ce-uploads img.icon {
    width: 32px;
}

.csc-textpic-intext-left-nowrap h1,
.csc-textpic-intext-right-nowrap h1 {
    margin-top: 0;
}






/* navigation */
nav {
    user-select: none;
}
.hnav ul, .hnav li {
    text-indent: 0;
    padding: 0;
    list-style: none;
}

.hnav > ul {
    z-index: 200;
    display: flex;
}

.hnav > ul > li {
    display:inline-block;
    z-index: 200;
    position: relative;
}
.hnav a {
    font-family: var(--title-font);
    font-weight: 300;
    color: var(--title-color);
    transition:  0.3s;
    white-space: nowrap;
    text-transform: uppercase;
    font-size: 1rem;
    line-height: 3rem;
    padding: 0 var(--gap);
    height: 3rem;
    display: block;
}
.hnav li.act > a {
    transition:  0s;
    color: var(--link-color);
}
.hnav a:hover {
    transition:  0s;
    color: var(--link-color-hover);
}
.hnav > ul > li > a {
    display: inline-block;
}

.hnav > ul > li b {
    display: inline-block;
    width: 100%;
    height: 3rem;
    background: rgba(255,255,255,0);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 100;
    transition: 0s 0.2s;
}
.hnav > ul > li:hover b {
    height: 0;
}


/* sub */
.hnav > ul > li > ul {
    background-color: rgba(255,255,255,0.98);
    position: absolute;
    max-height: calc(100vh - var(--pagehead-height) - 10px);
    overflow: auto;
    left: 0;
    text-align: left;
    opacity: 0;
    transform: scale(1,0);
    transform-origin: top center;
    /*
    transition: opacity 1s;
    transition-delay: 0.3s;
    transition-timing-function: cubic-bezier(0.3,0,0.1,1);
    */
    transition: opacity 0.3s linear 0.3s, transform 0s linear 0.6s;
    box-shadow: 3px 10px 30px rgb(0 0 0 / 30%);
    min-width: 204px;
    padding: var(--gap) 0;
    border-radius: 0 0 5px 5px;
}

.hnav > ul > li:hover  ul {
    opacity: 1;
    transform: scale(1,1);
    /*
    transition: opacity 0.6s;
    transition-duration: 0.6s;
    transition-delay: 0s;
    transition-timing-function: cubic-bezier(0.3,0,0.1,1);
    */
    transition: opacity 0.2s linear 0s, transform 0s linear 0s;
    }
/* sub sub */ 
.hnav ul ul ul {
    padding-left: var(--gap);
    margin-top: -0.4rem;
    margin-bottom: 0.4rem;
}
.hnav ul ul ul a {
    line-height: 1.8rem;
    height: 1.8rem;
    text-transform: none;
}   


.rootnav {
    position: absolute;
    bottom: 15px;
    right: 0;
}

.metanav {
    position: absolute;
    left: 0;
    top: 0;
}
/* Facebook Insta */
/*
.menuid50 a, .menuid51 a {
    color: rgba(255,255,255,0) !important;
    width: 24px;
    overflow: hidden;
    display: inline-block;
}
.menuid50 a:before, .menuid51 a:before {
    font-family: 'Font Awesome 5 Brands';
    font-size: 18px;
    color: hsl(0deg 0% 37%);
    position: relative;
}
.menuid50 a:hover:before, .menuid51 a:hover:before {
    color: var(--link-color);
}
.menuid50 a:before {
    content: "\F39E";
    left: -2px;
    top: 0px;
}
.menuid51 a:before {
    content: "\F16D";
    left: -5px;
    top: 0px;
}
*/

/* meta menu */
.metanav {
    position: absolute;
    top: 8px;
    right: 100px;
}
.metanav > ul,
.metanav > ul > li {
    z-index: 75;
}
.metanav > ul > li > a {
    height: 36px;
}


/* language menu */
.langnav > ul,
.langnav > ul > li {
    z-index: 75;
}
.langnav > ul > li > span {
    display: inline-block;
    height: 36px;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 42px;
}





    
/* footer menu */
footer .frame-type-menu_pages ul, footer .frame-type-menu_subpages ul {
    padding: 0px;
    display: inline-block;
}
footer .frame-type-menu_pages li, footer .frame-type-menu_subpages li {
    list-style: none;
    text-indent: 0;
    padding: 0;
    margin: 0;
    display: inline-block;
    float: left;
    border-right: 1px solid var(--grey);
}
footer .frame-type-menu_pages li:last-of-type, footer .frame-type-menu_subpages li:last-of-type {
    border-right: none;
}
footer .frame-type-menu_pages li:before, footer .frame-type-menu_subpages li:before {
    content: none;
    display: none;
}
footer .frame-type-menu_pages a, footer .frame-type-menu_subpages a {
    color: black;
    font-weight: normal;
    margin: 0 8px;
    display: block;
}
footer .frame-type-menu_pages a, footer:hover .frame-type-menu_subpages a:hover {
    color: rgb(205,25,25);
}





/* Responsive Section */
@media only screen 
    and (max-width: 1023px) 
{
:root {
  --page-width: 100%;
}

#homelink a {
    width: 260px;
}
.person-item {
    width: calc(33% - var(--gap) );
}
.imagegallery .gallery.cols-10 a {
    width: calc(var(--page-width) / 10 - 4px);
}
.imagegallery .gallery.cols-9 a {
    width: calc(var(--page-width) / 9 - 4px);
}
.imagegallery .gallery.cols-8 a {
    width: calc(var(--page-width) / 8 - 4px);
}
.imagegallery .gallery.cols-7 a {
    width: calc(var(--page-width) / 7 - 4px);
}
.imagegallery .gallery.cols-6 a {
    width: calc(var(--page-width) / 6 - 4px);
}
.imagegallery .gallery.cols-5 a {
    width: calc(var(--page-width) / 5 - 4px);
}
.imagegallery .gallery.cols-4 a {
    width: calc(var(--page-width) / 4 - 4px);
}
.imagegallery .gallery.cols-3 a {
    width: calc(var(--page-width) / 3 - 4px);
}
.imagegallery .gallery.cols-2 a {
    width: calc(var(--page-width) / 2 - 4px);
}
}


    
@media only screen 
    and (max-width: 767px) 
{

.contentmain > div,
.contentmain > section {
    padding: 0 var(--gap) 0 var(--gap);
}



.imagegallery .gallery.cols-10 a {
    width: calc(var(--page-width) / 5 - 4px);
}
.imagegallery .gallery.cols-9 a {
    width: calc(var(--page-width) / 5 - 4px);
}
.imagegallery .gallery.cols-8 a {
    width: calc(var(--page-width) / 4 - 4px);
}
.imagegallery .gallery.cols-7 a {
    width: calc(var(--page-width) / 4 - 4px);
}
.imagegallery .gallery.cols-6 a {
    width: calc(var(--page-width) / 3 - 4px);
}
.imagegallery .gallery.cols-5 a {
    width: calc(var(--page-width) / 3 - 4px);
}
.imagegallery .gallery.cols-4 a {
    width: calc(var(--page-width) / 2 - 4px);
}
.imagegallery .gallery.cols-3 a {
    width: calc(var(--page-width) / 2 - 4px);
}
.imagegallery .gallery.cols-2 a {
    width: calc(var(--page-width) / 2 - 4px);
}
.hnav a {
    padding: 0 9px;
}
.person-item {
    width: calc(50% - var(--gap) );
}
.hnav > ul > li:last-of-type > ul {
    text-align: right;
    left: auto;
    right: 0;
}
.hnav > ul > li:last-of-type ul ul {
    padding-left: 0;
    padding-right: var(--gap);
}

}


@media only screen 
    and (max-width: 687px) 
{
.container-grid-row {
    display: block !important;
}
.container-grid .container-grid-col {
    width: 100%;
    margin-bottom: var(--doublegap);
}

}


@media only screen 
    and (max-width: 497px) 
{
.hnav a {
    text-transform: none;
    font-size: 0.8rem;
    line-height: 2rem;
    height: 2rem;
}
.hnav > ul > li > a {
    padding: 0 5px;
}

}

