/*  columns  */
main > .columns, #bottom { padding: var(--gutter-y, 0rem) var(--gutter-x, 0rem) calc(var(--triangle-y, 0rem) * 1 + var(--gutter-y, 0rem)) var(--gutter-x, 0rem); }
main > .columns .columns { --columns-gutter-y: 2rem; }
main > .columns .columns + .columns { margin-top: var(--columns-gutter-x, 1rem); }

main > .columns:before, #bottom:before, footer:before { content: ''; position: absolute; display: block; top: calc(var(--triangle-y) * -1 + 1px); left: 0; width: 100%; height: var(--triangle-y, 2rem); background: url(../files/design/bg-transparent-white.svg) center top no-repeat; background-size: 100% 100%; z-index: 1; }
main > .columns:nth-child(2n):before, footer:before { transform: scale(-1, 1); }
main > .slider + .columns:before { display: none; }
main > .video + .columns:before { display: none; }
main > .columns-bgcolor-blue:before { background-image: url(../files/design/bg-transparent-blue.svg); }
main > .columns-bgcolor-lightgrey:before { background-image: url(../files/design/bg-transparent-lightgrey.svg); }
footer:before { background-image: url(../files/design/bg-transparent-darkgrey.svg); }

.columns-bgcolor-lightgrey { background: #DDDDDD; }

.columns-bgcolor-blue { background: var(--color-blue, #00ABE5); color: var(--color-white, #FFFFFF); }
.columns-bgcolor-blue .button { background: var(--color-dark-blue, #006283); }
.columns-bgcolor-blue a { color: var(--color-white, #FFFFFF); }


/*  image  */
.image picture, .image img { border-radius: .25rem; }
.image { overflow: visible; }


/*  video  */
.video-width-content { display: flex; align-items: center; justify-content: center; max-width: var(--max-width, 76rem); margin-left: auto; margin-right: auto; }


/*  card  */
.card { --card-padding-x: 1.5rem; --card-padding-y: 1.5rem; border: none; border-radius: 0; background: var(--color-light-grey, #E8E8E8); box-shadow: none; }
.card > h1:first-child, .card > h2:first-child, .card > h3:first-child, .card > h4:first-child { padding-top: 0; }
.card > ul { margin: 0; }
.card > ul > li { list-style: none; margin: 0; padding: .25em 0; }
.card > ul > li:before { content: ''; display: inline-block; margin: 0 .5em .125em 0; width: 1rem; height: 1rem; vertical-align: middle; background: url("../files/design/check.svg") center center no-repeat; background-size: contain; }


/*  masonry  */
/*
.masonry { margin: 0 auto; padding: .5rem; max-width: 1680px; }
.masonry-column > * { margin: .5rem !important; }
.masonry-column > *:not(:first-child) { margin-top: 1rem !important; }
*/


/*  slider  */
.slider { margin-bottom: 0; }
.slider:after { padding-top: 30%; }
.slider:not(:first-child) { margin-top: calc(var(--gutter-y, 1rem) * .5); }
.slider .pagination { display: flex; flex-flow: row nowrap; width: auto; left: 50%; transform: translateX(-50%); padding: .5rem; }
.slider .pagination:empty { display: none; }
.slider .pagination .bullet { display: block; background: var(--color-white); border-color: var(--color-white); transform: scale(1); transition: all .25s ease; }
.slider .pagination .bullet:hover { opacity: 1; }
.slider .pagination .bullet.active { background: transparent; transform: scale(1.2); }
.slider .previous, .slider .next { background: var(--color-white); width: 1.75rem; height: 4rem; margin-top: -2rem; }
.slider .previous:hover, .slider .next:hover { background: var(--color-white); }
.slider .previous::before, .slider .next::before { width: .75rem; height: .75rem; border-width: .2rem; border-color: var(--color-blue, #00ABE5); }
.slider .image { transform: scale(1.1); }
.slider .slide .inner { justify-content: flex-start; }
.slider .slide:after { content: ''; position: absolute; right: -1rem; bottom: -1rem; width: 5rem; height: 5rem; background: var(--color-blue, #00ABE5); border-radius: .5rem; }
.slider .box { position: relative; background: none; overflow: visible; opacity: 0; color: var(--color-text-blue, #0097C9); padding: 1rem 3rem 1rem 4rem; margin: 0 2rem 0 -1rem; text-align: left; }
.slider .box:before, .slider .box:after { content: ''; display: block; position: absolute; left: 0; top: 0; width: 100%; height: 100%; border-radius: .5rem; z-index: -1; }
.slider .box:before { transform: translate(-.25rem, -.25rem); border: 2px solid transparent; background: rgba(255, 255, 255, .8); }
.slider .box:after { transform: translate(.25rem, .25rem); border: 2px solid #FFF; }
.slider .title, .slider .text { text-transform: none; font-weight: 500; line-height: 1; }
.slider .title { font-size: 2.75rem; }
.slider .title:not(:last-child) { margin-bottom: 0; }
.slider .text { font-size: 2.25rem; }
.slider .active .image { animation: slider-image-fade-in 10s ease forwards; }
.slider .active .box { animation: slider-box-fade-left 3s ease forwards; }
@keyframes slider-image-fade-in {
    0% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
@keyframes slider-box-fade-left {
    0% { opacity: 0; transform: translate(-2rem, 0); }
    100% { opacity: 1; transform: translate(0, 0); }
}
@keyframes slider-box-fade-right {
    0% { opacity: 0; transform: translate(2rem, 0); }
    100% { opacity: 1; transform: translate(0, 0); }
}

.slider-layout-right .slide .inner { justify-content: flex-end; }
/*.slider-layout-right .slide:after { left: -1rem; right: auto; }*/
.slider-layout-right .slide:after { left: -1rem; right: auto; top: -1rem; bottom: auto; }
.slider-layout-right .box { padding: 1rem 4rem 1rem 3rem; margin: 0 -1rem 0 2rem; }
.slider-layout-right .active .box { animation: slider-box-fade-right 3s ease forwards; }
.slider-layout-right .box:before { transform: translate(.25rem, -.25rem); }
.slider-layout-right .box:after { transform: translate(-.25rem, .25rem); }


@media (max-width: 60rem) {
    .slider .slide:after { width: 4rem; height: 4rem; }
    .slider .box { padding: 1rem 2rem 1rem 3rem; }
    .slider .title { font-size: 2.5rem; }
    .slider .text { font-size: 2rem; }
    .slider-layout-right .box { padding: 1rem 3rem 1rem 2rem; }
}

@media (max-width: 40rem) {
    .slider .slide:after { width: 3rem; height: 3rem; }
    .slider .box { padding: 1rem 1rem 1rem 2rem; }
    .slider .title { font-size: 2rem; }
    .slider .text { font-size: 1.5rem; }
    .slider-layout-right .box { padding: 1rem 2rem 1rem 1rem; }
}

@media (max-width: 30rem) {
    .slider .box { margin-right: 1rem; }
    .slider .title { font-size: 1.5rem; }
    .slider .text { font-size: 1.125rem; }
    .slider-layout-right .box { margin-right: -1rem; margin-left: 1rem; }
}


/*  hoverbox  */
.hoverbox + .hoverbox { margin-top: 1rem; }
.hoverbox { font-family: Eurostile, sans-serif; border-radius: .5rem; }
.hoverbox:before { content: ''; position: absolute; display: block; background: var(--color-blue, #00ABE5); font-size: 2rem; line-height: 2.5rem; border-radius: .5rem 0 0 0; right: 0; bottom: 0; width: 2.5rem; height: 2.5rem; transition: width .5s ease, height .5s ease, opacity .5s ease; z-index: 1; }
.hoverbox:after { content: '+'; position: absolute; display: block; color: #FFFFFF; font-size: 2rem; line-height: 2.5rem; border-radius: .5rem 0 0 0; right: 0; bottom: 0; width: 2.5rem; height: 2.5rem; transition: color .5s ease; text-align: center; z-index: 1; }
.hoverbox:hover:before { width: calc(100% + 1rem); height: calc(100% + 1rem); opacity: .7; }
.hoverbox:hover:after { color: transparent; }
.hoverbox .wrapper, .hoverbox:hover .wrapper, .hoverbox:active .wrapper  { z-index: 2; }
.hoverbox .link { text-decoration: none !important; }
.hoverbox .image { opacity: 1; }
.hoverbox:hover .image img { transform: none; }
.hoverbox .box { background: none; font-weight: bold; border-radius: .5rem; text-shadow: 0 0 .5rem rgba(0, 0, 0, .5), 0 0 1rem rgba(0, 0, 0 , .5); opacity: 1; transform: none; }
.hoverbox .box .title { text-transform: none; }
.using-keyboard .hoverbox .link:focus .box { outline: 2px solid var(--color-blue, #00ABE5); }


/*  link  */
.link { color: var(--color-link, #00933A); text-decoration: underline; }
.link:hover { color: var(--color-link-hover, #00933A); text-decoration: underline; }


/*  button  */
.button {
    display: inline-block;
    padding: .75em 2em;
    border: 0;
    border-radius: .5rem;
    background: var(--color-blue, #00ABE5);
    color: var(--color-white, #FFFFFF);
    font-family: var(--font-family, inherit);
    font-size: var(--font-size, 1rem);
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: color .2s ease, border .2s ease, background-color .2s ease, box-shadow .2s ease;
    cursor: pointer;
}
.button:not(:last-child) { margin-right: .5rem; margin-bottom: .5rem; }
.button.disabled { background: var(--color-grey); }
.button:hover, .button:focus { background: var(--color-link-hover); color: var(--color-white, #FFFFFF); }
.using-keyboard .button:focus { outline: 2px solid var(--color-link-focus, #00933A); outline-offset: 2px; }
.button.disabled:hover, .button.disabled:focus { background: var(--color-light-grey, #E9E9E9); cursor: default; }
.button.mailformreset { background: var(--color-light-grey, #E9E9E9); color: #990000; }
.button.mailformreset:hover, .button.mailformreset:focus { background: var(--color-petrol, #008784); color: var(--color-white); border: 0; box-shadow: none; }
@media (max-width: 60rem) {
    .button { padding: .5em 1em; }
}

.button-icon:before { font-weight: 900; font-family: "Font Awesome 5 Free"; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; display: inline-block; font-style: normal; font-variant: normal; text-rendering: auto; line-height: 1; margin-left: -.25em; margin-right: .5em; }
.button-icon-phone::before { content: "\f879"; }
.button-icon-mobile::before { content: "\f3cd"; }
.button-icon-email::before { content: "\f0e0"; }
.button-icon-map::before { content: "\f279"; }
.button-icon-list::before { content: "\f03a"; }
.button-icon-chevron::before { content: "\f054"; }


/*  mailform  */
.mailform .label .mandatory:after { color: var(--color-blue, #00ABE5); }
.mailform .message.success { border-color: var(--color-blue, #00ABE5); background: #D3E9F3; }
.mailform form { display: flex; flex-flow: row wrap; justify-content: space-between; }
.mailform .group { width: 100%; }
.mailform .group:not(:first-child:last-child) { width: calc(50% - (var(--columns-gutter-x, 1rem) * .5)); }
.mailform .group:not(:last-child) { margin-bottom: 1rem; }
.mailform .valid .label::after { background-color: var(--color-blue, #00ABE5); }
.mailform .mailformtextarea { min-height: 14em; resize: vertical; }


/*  horizonal rule  */
hr { border: 0; border-top: 2px solid var(--color-light-grey, #B1B1B1); width: 100%; height: 0; margin: 2.5em auto; }
h1 + hr, h2 + hr, h3 + hr, h4 + hr { margin-top: .5em; }
hr + h1:not(:first-child), hr + h2:not(:first-child), hr + h3:not(:first-child), hr + h4:not(:first-child) { padding-top: 0; }
@media (max-width: 40rem) {
    hr { margin: 1em auto; }
}


/*  text  */
.text-style-large { font-size: 1.875em; line-height: 1.25; font-weight: 300; color: var(--color-text-blue, #0097C9); }
.text-style-medium { font-size: 1.625em; line-height: 1.25; font-weight: 300; color: var(--color-text-blue, #0097C9); }
.text-style-subheader { font-size: 1.625em; font-weight: bold; }
.text-style-subheader:not(:last-child) { padding-bottom: .5em; margin-bottom: 0; }
p .fas, p .fab, .contact-block .fas, .contact-block .fab { color: var(--color-grey, #B1B1B1); margin-right: .25em; }
.contact-block { margin: 1em 0 2em 0; list-style-type: none;}
.contact-block li { margin: 0; }
.contact-block li .fas ,.contact-block li .fab { width: 1em; text-align: center; }
.contact-block li:not(:last-child) { margin-bottom: .5em; }
@media (max-width: 40rem) {
    .text-style-large { font-size: 1.75em; }
    .text-style-medium { font-size: 1.5em; }
}


/*  gallery  */
.gallery { overflow: visible; }
.gallery a { text-decoration: none; border-radius: .5rem; }
.gallery > *:first-child { width: 100%; }
.gallery > *:not(:first-child) { width: 33.333%; max-width: 13rem; }
.gallery a picture, .gallery a img { border-radius: .5rem; }