/* ################################################### CONFIG CONTENT ################################################## */


.section-background-image {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
}

.frame-container .frame-container {
    padding-left: 0px;
    padding-right: 0px;
}

/* ##################################################
# CONTENT GRID
################################################## */
.contentgrid {
    display: grid;
    gap: 1.5em;
}

.contentgrid {
    grid-template-columns: 1fr 3fr 1fr;
    grid-template-rows: auto 1fr 100px;
}



/* ##################################################
# GRIDELEMENTS
################################################## */
.container .row .frame {
  padding-top: 0rem;
  padding-bottom: 0rem;
}

.accordion-content-item .frame {
  padding-top: 1.8rem!important;
  padding-bottom: 1.8rem!important;
}


.accordion-content-item .frame-inner {
  margin-left: inherit;
  margin-right: inherit;
}


/* ##################################################
# CONTENT SPACING
################################################## */

#page-content .frame-space-before-extra-small {
    margin-top: -2.5rem;
}

#page-content .frame-space-before-small {
    margin-top: 2rem;
}

#page-content .frame-space-before-medium {
    margin-top: 4rem;
}

#page-content .frame-space-before-large {
    margin-top: 6rem;
}

#page-content .frame-space-before-extra-large {
    margin-top: 8rem;
}

#page-content .frame-space-before-ancor {
    margin-top: -6rem;
}

#page-content .frame-space-before-ancor .frame-container {
    margin-top: 4rem;
}

#page-content .frame-space-after-extra-small {
    margin-bottom: -2.5rem;
}

#page-content .frame-space-after-small {
    margin-bottom: 2rem;
}

#page-content .frame-space-after-medium {
    margin-bottom: 4rem;
}

#page-content .frame-space-after-large {
    margin-bottom: 6rem;
}

#page-content .frame-space-after-extra-large {
    margin-bottom: 8rem;
}



/* ##################################################
# RESONSIVE TABLES
################################################## */

@media (max-width:992px)  {
    table {
        width: calc(100vw - 20px)!important;
        display:table-caption;
    }
}

/* ##################################################
# BUGFIX FULLSCREEN CAROUSEL ON MOBILE
################################################## */

.todo_carousel-type-fullscreen.sm-down .body-bg-top {
    padding-top: 0px;
}

.carousel-type-fullscreen.sm-down .card-group-element-item {
    padding: 5px!important;
}

.carousel-type-fullscreen.sm-down .card-group-element-item .card-footer {
    display: none;
}



/* ##################################################
# BACKGOUND IMAGE ALIGNMENT
################################################## */

.frame-backgroundimage-centertop,
.carousel-backgroundimage-centertop {
    background-position: center top!important;
}

.frame-backgroundimage-centercenter,
.carousel-backgroundimage-centercenter {
    background-position: center center!important;
}

.frame-backgroundimage-centerbottom,
.carousel-backgroundimage-centerbottom {
    background-position: center bottom!important;
}

.frame-backgroundimage-lefttop,
.carousel-backgroundimage-lefttop {
    background-position: left top!important;
}

.frame-backgroundimage-leftcenter,
.carousel-backgroundimage-leftcenter {
    background-position: left center!important;
}

.frame-backgroundimage-leftbottom,
.carousel-backgroundimage-leftbottom {
    background-position: left bottom!important;
}

.frame-backgroundimage-righttop,
.carousel-backgroundimage-righttop {
    background-position: right top!important;
}

.frame-backgroundimage-rightcenter,
.carousel-backgroundimage-rightcenter {
    background-position: right center!important;
}

.frame-backgroundimage-rightbottom,
.carousel-backgroundimage-rightbottom {
    background-position: right bottom!important;
}




/* ##################################################
# INDENT TOP
################################################## */

.desktop .section.section-default {
    overflow: visible;
}

.desktop .section.section-default .frame-inner {
    overflow: hidden;
}

.lg-up [class*='frame-indent-'][class*='frame-background-'] {
    background: transparent;
}

.lg-up [class*='frame-indent-'].frame-background-none .frame-container {
    background: transparent;
}

.lg-up [class*='frame-indent-'].frame-background-white .frame-container {
    background: var(--white);
}

.lg-up [class*='frame-indent-'].frame-background-black .frame-container {
    color: #ffffff:
    background: var(--black);
}

.lg-up [class*='frame-indent-'].frame-background-primary .frame-container {
    background: var(--primary);
}

.lg-up [class*='frame-indent-'].frame-background-secondary .frame-container {
    background: var(--secondary);
}

.lg-up [class*='frame-indent-'].frame-background-dark .frame-container {
    background: var(--dark);
}

.lg-up [class*='frame-indent-'].frame-background-light .frame-container {
    background: var(--light);
}

.frame-background-none {
    background: transparent;
}
.frame-background-white {
    background: var(--white);
}
.frame-background-black {
    background: var(--black);
}
.frame-background-primary {
    background: var(--primary);
}
.frame-background-secondary {
    background: var(--secondary);
}
.frame-background-dark {
    background: var(--dark);
}
.frame-background-light {
    background: var(--light);
}

.lg-up [class*='frame-indent-'] .frame-container {
    z-index: 1;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.lg-up .frame-indent-top-small .frame-container {
    margin: -6rem auto 0px;
}

.lg-up .frame-indent-top .frame-container {
    margin: -9rem auto 0px;
}

.lg-up .frame-indent-top-large .frame-container {
    margin: -18rem auto 0px;
}


.mobile [class*='frame-indent-'].frame-background-none {
    background: var(--transparent);
}

.mobile [class*='frame-indent-'].frame-background-white {
    background: var(--white);
}

.mobile [class*='frame-indent-'].frame-background-black {
    color: #ffffff:
    background: #000000;
}




/* ##################################################
# CONTENT GRID
################################################## */
.grid-double,
.grid-doubleone,
.grid-onedouble,
.grid-triple,
.grid-quad {

}

.grid-double {
    display: grid;
    gap:0 1.5em;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
}

.grid-doubleone {
    display: grid;
    gap: 0 1.5em;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto;
}

.grid-onedouble {
    display: grid;
    gap: 0 1.5em;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: auto;
}

.grid-triple {
    display: grid;
    gap: 0 1.5em;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
}

.grid-onethree {
    display: grid;
    gap: 0 1.5em;
    grid-template-columns: 1fr 3fr;
    grid-template-rows: auto;
}

.grid-quad {
    display: grid;
    gap: 0 1.5em;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
}

.md-down .grid-double,
.md-down .grid-doubleone,
.md-down .grid-onedouble,
.md-down .grid-triple,
.md-down .grid-quad {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
}

.grid-double .frame-container,
.grid-doubleone .frame-container,
.grid-onedouble .frame-container,
.grid-triple .frame-container,
.grid-quad .frame-container {
    margin: 0 0 0 0!important;
    paffing: 0 0 0 0!important;
}


.grid-double .frame,
.grid-doubleone .frame,
.grid-onedouble .frame,
.grid-triple .frame,
.grid-quad .frame {
    margin: 0;
    padding: 0;
}

.desktop .grid-doubleone .frame:first-child,
.desktop .grid-onedouble .frame:first-child,
.desktop .grid-double .frame:first-child {
    margin-right: 50px!important;
}



/* ##################################################
# EXTENSION EVENT REGISTRATION
################################################## */

.event-registration-row input {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.event-registration-row  {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.event-registration-row.error-class input {
  border: 1px solid #dd0000;
}

.event-registration-row.error-class .field-errors {
  color: #dd0000;
  margin-top: -24px;
  font-size: .8rem;
}



/* ##################################################
# SEARCH
################################################## */
ul.tx-indexedsearch-browsebox {
    list-style: none;
    display: inline-flex;
    padding-left: 0px;
}
ul.tx-indexedsearch-browsebox li {
    margin-right: 20px;
}



/* ##################################################
# LAYOUT
################################################## */


.frame-space-before-no {
  margin-top: -3.5rem;
}

.frame-space-after-no {
    margin-bottom: -3.5rem;
}
.frame-layout-darken a picture:hover {
    -webkit-filter: brightness(50%);
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
}


.frame-layout-lighten a picture:hover {
    -webkit-filter: brightness(150%);
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
}



/* ##################################################
# CONTAINER
################################################## */

.frame-fullwidth .frame-container {
    padding-left: 0px;
    padding-right: 0px;
  	max-width: 100%;
}




/* ##################################################
# GIF IMAGES
################################################## */

figure.image.gallery-image-gif {
    display: flex;
}

figure.image.gallery-image-gif .caption {
    padding-top: 15px;
}
