.certificate {
    width: 100%;
    height: 570px;
    display: flex;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    align-items: center;
    justify-content: center;
}

.certificate-image {
    width: auto;
    display: inline-block;
    padding: 0;
}

.certificate-image img {
    width: 100%;
    max-width: 390px;
    display: inline-block;
    height: auto;
}

@media (max-width:767px) {
    .certificate {
        height: auto;
        padding: 6px;
        box-sizing: border-box;
    }
}

body{
  font-family: Arial, Sans-Serif;
  color: rgb(70,70,70);
  font-size: 10px;
  margin: 0;
}

a{
  color: rgb(0,67,132);
  text-decoration: none;
}

a:hover{
  text-decoration: underline;
}

img{
  border: 0px none;
}

.justmobile{
  display: none;
}

.clearer{
  clear: both;
}
.bigImage .frame-default{
  font-size: 1em;
}
.frame-default{
  font-size: 1.4em;
  line-height: 1.5em;
}

/* .h1: a section heading below the first one. The page keeps a single h1, the look stays that of an h1 (#59). */
.frame-default h1,
.frame-default .h1{
  font-size: 1.7em;
  color: rgb(230,0,0);
  font-weight: normal;
  line-height: 1.3em;
  margin: .8em 0; 
}

.frame-default h2{
  font-size: 1.3em;
  color: rgb(0,67,132);
  line-height: 1.3em;
  font-weight: normal;
  margin: .6em 0 0 0;
}

.frame-default h3{
  font-size: 1.3em;
  color: rgb(70,70,70);
  line-height: 1.3em;
  font-weight: normal;
  margin: .6em 0 0 0;
}

.frame-default p{
  margin: 0 0 1em 0;
}

.frame-default img{
  max-width: 100%;
  height: auto !important;
}

.container{
  width: 96.5em;
}

.logo{
  padding: 4.6em 0em 2.6em 4.5em;
  width: 23.3em;
  height: 5.7em;
  float: left;
}

/* On the start pages the logo is the h1: it must not take the size or margins of a heading. */
h1.logo{
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.logo img{
  width: 100%;
  height: auto;
}

.headerTop{
  height: 2.7em;
  margin-bottom: 6.4em;
  float: right;
  width: 30.5em;
}

.headerTop nav.lang{
  width: 7.7em;
  float: left;
  line-height: 2.7em;
  text-align: right;
}

.headerTop nav.lang a{
  margin-right: 1.4em;
  font-size: 1.1em;
  color: rgb(70,70,70);
  font-weight: bold;
}

nav.top{
  line-height: 1em;
  float: left;
  width: 68.2em;
}

nav.top a{
  font-size: 1.1em;
  margin: 0 0 0 5em;
  display: inline;
  text-transform: uppercase;
  font-weight: bold;
}

nav.top a:hover{
  text-decoration: none;
  color: rgb(230,0,0);
}

.bigImage .frame-default{
  overflow: hidden;
}

nav.main ul{
  list-style-type: 0;
  margin: 0;
  padding: 0;
  width: 92.5em;
  padding: 1.5em 0 0 4em;
}

nav.main li{
  display: inline-block;
  margin: 0;
  padding: 0;
  width: 18em;
  height: 3.4em;
  line-height: 3.4em;
  background: #ccc;
  margin-left: 0.5em;
}

nav.main a{
  display: block;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1.6em;
  font-weight: bold;
  margin: 0;
  padding: 0 .8em;
}

li.theme-blue a{
  background: rgb(0,67,132);
}

li.theme-blue.active a,
li.theme-blue a:hover{
  background: rgb(0,40,80);
}

li.theme-green a{
  background: rgb(160,180,10);
}

li.theme-green.active a,
li.theme-green a:hover{
  background: rgb(100,120,0);
}

li.theme-red a{
  background: rgb(230,0,0);
}

li.theme-red.active a,
li.theme-red a:hover{
  background: rgb(160,0,0);
}

li.theme-cyan a{
  background: rgb(5,145,210);
}

li.theme-cyan.active a,
li.theme-cyan a:hover{
  background: rgb(0,90,150);
}

li.theme-brown a{
  background: rgb(190,125,50);
}

li.theme-brown.active a,
li.theme-brown a:hover{
  background: rgb(130,85,15);
}

.leftContent{
  width: 69em;
  padding: 2.1em 5em 0 4.5em;
  float: left;
}

.rightContent{
  width: 18em;
  float: left;
  margin-top: 3.7em;
  margin-bottom: -0.9em;
}

.rightContent .frame-default{
  padding: 0 .3em;
}

.rightContent .frame-default h2{
  text-transform: uppercase;
}

footer{
  clear: both;
  margin: -0.1em 0 0 4.5em;
  border-top: 1px solid rgb(70,70,70);
  line-height: 4.5em;
  text-align: right;
  width: 69em;
}

footer .inner{
  font-size: 1.1em;
}

footer a{
  color: rgb(70,70,70);
  text-decoration: none;
}

footer a:hover{
  text-decoration: underline;
  color: #000;
}

#home .bigImage{
  height: calc(100vh - 238px);
  height: calc(100svh - 238px);
  overflow: hidden;
}

.slider{
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #fff;
  touch-action: pan-y;
}

#home .sliderElement{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s;
  background-position: center center;
  background-size: cover;
}

#home .sliderElement.is-active{
  opacity: 1;
  z-index: 50;
}

#home .sliderElementInner{
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.slider-pager{
  position: absolute;
  bottom: 2.1em;
  right: 1.5em;
  z-index: 100;
  width: 90%;
  padding-top: 20px;
  font-size: .85em;
  text-align: right;
}

.slider-pager button{
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  outline: 0;
  background: #fff;
  cursor: pointer;
}

.slider-pager button.active,
.slider-pager button:focus,
.slider-pager button:hover{
  background: rgb(230,0,0);
}

.slider-prev,
.slider-next{
  position: absolute;
  top: 50%;
  z-index: 9999;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  padding: 0;
  border: 0;
  outline: 0;
  cursor: pointer;
  background-color: transparent;
  background-image: url('../images/controls.png');
  background-repeat: no-repeat;
}

.slider-prev{
  left: 10px;
  background-position: 0 -32px;
}

.slider-prev:focus,
.slider-prev:hover{
  background-position: 0 0;
}

.slider-next{
  right: 10px;
  background-position: -43px -32px;
}

.slider-next:focus,
.slider-next:hover{
  background-position: -43px 0;
}

#home footer{
  width: 92em;
  border: 0px none;
  max-width: 100%;
}

#home .sliderElement .sliderContent{
  width: 96.5em;
  height: 20em;
  background: #fff;
  bottom: 0;
}

#home .sliderElement div.bodytext{
  float: left; 
  width: 60em;
  padding-left: 7.24em;
  height: 20em;
}

#home .sliderElement .bodyContent{
  font-size: 2.6em;
  line-height: 1.4em;
  color: rgb(160,0,0);
  display: inline;
  height: 7.69em;
  display: table-cell;
  vertical-align: middle;
}

#home .sliderElement div.bodytext .bodyContent span.important{
  color: rgb(0,90,150);
}

#home .sliderElement .image{
  float: right;
  width: 20em;
  height: 16em;
  margin-right: 5.5em;
  margin-top: 2em;
  background-size: contain;
  background-position: center right;
  background-repeat: no-repeat;
}
#home .sliderElement .sliderContent{
  font-size: 0.6218em;
}


.rightContent nav {
  font-size: 12px;
  padding: 0px 4px;
}

.rightContent nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgb(0, 67, 132);
}

.rightContent nav ul li {
  border-top: 1px solid rgb(0, 67, 132);
}

.rightContent nav ul li a {
  display: block;
  padding: 6px 0px;
}
.rightContent nav ul li.active a {
  color: rgb(230,0,0);
}

.rightContent nav ul li  a:hover {
  text-decoration: none;
  color: #000;
  transition: .5s;
}


@media (max-width: 965px) {
.container{
  width: 90%;
  margin: auto;
}

.logo{
  padding-top: 2.1em;
  padding-left: 0;
}

.headerTop{
  margin-bottom: 2.4em;
}

nav.top{
  width: 38em;
  float: right;
  text-align: right;
}

nav.top a{
  margin-left: 1em;
}

nav.main ul{
  padding-left: 0;
  width: auto;
}

nav.main li:first-child{
  margin-left: 0;
}

nav.main li{
  margin-left: 1%;
  width: 19.2%;
}

nav.main a{
  font-size: 1.2em;
}

.leftContent{
  float: none;
  margin: 0;
  padding-right: 0;
  padding-left: 0;
  width: auto;
}

.rightContent{
  float: none;
  width: auto;
  /* Without a float beside it the left column no longer holds an image at the end of its content. */
  clear: both;
}

footer{
  width: 90%;
  margin: auto;
}

#home .sliderElement .sliderContent{
  width: 100%;
  height: 10em;
}
#home .sliderElement div.bodytext{
  width: 70%;
  padding-left: 2%;
  height: 10em;
}
#home .sliderElement .bodyContent{
  font-size: 1.3em;
}

#home .sliderElement .sliderContent{
  font-size: 1.3em;
}
#home .sliderElement .image{
  float: right;
  width: 25%;
  height: 8em;
  margin-right: 2%;
  margin-top: 1%;
}

#home footer{
  width: 90%;
  margin: auto;
  text-align: right;
}
}

@media (max-width: 719px) {
.justmobile{
  display: block;
}
.nomobile{
  display: none;
}



.logo{
  width: 15.5em;
  height: 3.8em;
}
#navbutton{
  float: right;
  margin-top: 2.5em;
  width: 3em; 
  height: 3em;
  background: url('../images/navbutton.png') top right no-repeat;
  background-size: contain;
  cursor: pointer;
  
}

.headerTop{
  float: right;
  width: 100%;
  text-align: right;
  margin-bottom: 0;
  height: 0;
  overflow: hidden;
}

.headerTop nav.lang{
  text-align: left;
}

nav.mobilenav{
  width: 90%;
  margin: auto;
  font-size: 1.8em;
  height: 0;
  overflow: hidden;
}

nav.mobilenav ul{
  list-style-type: none;
  margin: 0;
  padding: 0;
  
}

nav.mobilenav a{
  display: block;
  border-bottom: 1px solid rgb(70,70,70);
  color: rgb(70,70,70);
  line-height: 1.2em;
  padding: 0.4em;
}

nav.mobilenav a:hover{
  text-decoration: none;
}

nav.mobilenav .mainnav a{
  border-bottom: 0.3em solid #fff; 
  color: #fff;
  text-transform: uppercase;
}

nav.mobilenav ul.mainnav {
  border-bottom: 1px solid rgb(70,70,70);
}

footer{
  text-align: center;
}
#home footer{
  width: 100%; margin: auto;
  color: #fff;
  background: rgb(0,67,132);
}


}

@media (max-width: 579px) {
#home .sliderElement div.bodytext{
  width: auto;
}
#home .sliderElement .image{
  display: none;
}
}

.ils-logo img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    padding: 5px 0;
}

.block-image figure{
  margin: 0;
}

.block-image picture{
  display: block;
}

.block-image img{
  display: block;
}

.frame-default .image-right{
  float: right;
  margin: 0 0 10px 10px;
}

.frame-default .image-left{
  float: left;
  margin: 0 10px 10px 0;
}

/* Text beside an aligned image stays in its own column, it does not wrap below the image. */
.frame-default .image-right ~ p,
.frame-default .image-left ~ p{
  overflow: hidden;
}

/* A heading opens the next section: it must not start beside the image of the section before. */
.frame-default .image-right ~ h1,
.frame-default .image-left ~ h1,
.frame-default .image-right ~ .h1,
.frame-default .image-left ~ .h1{
  clear: both;
}

/* The image in its own paragraph: no gap for the descenders below it, TYPO3 had none. On the phone width the
   margins below already account for it. */
@media (min-width: 768px) {
.frame-default .image-right img,
.frame-default .image-left img{
  display: block;
}
}

/* The text above used to be a separate element, its bottom margin did not collapse into the heading. */
.frame-default .new-block{
  padding-top: 14px;
}

/* TYPO3 gave the last paragraph of every image section the padding below, not only that of the page. */
.frame-default .image-right ~ .new-block{
  padding-top: 13px;
}

.map-frame{
  position: relative;
  width: 96.5em;
  max-width: 100%;
  height: 57em;
  /* The iframe sat on the text baseline, which added this gap below the frame on production. */
  margin-bottom: 4px;
  overflow: hidden;
}

.map-frame a{
  display: block;
  height: 100%;
}

/* Important only because of the general .frame-default img rule: the frame keeps its height on small screens. */
.frame-default .map-frame img{
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.map-frame .map-credit{
  position: absolute;
  right: 0;
  bottom: 0;
  height: auto;
  padding: 2px 6px;
  font-size: 11px;
  color: #333;
  background-color: rgba(255, 255, 255, 0.85);
}

#navbutton{
  padding: 0;
  border: 0;
  font: inherit;
  background-color: transparent;
}

@media (max-width: 965px) {
.slider-pager{
  top: 0;
  bottom: auto;
  padding-top: 27px;
}

.frame-default .image-right ~ p:last-child,
.frame-default .image-left ~ p:last-child{
  padding-bottom: 1em;
}

/* The sidebar now follows the image, and sits 60px below it as on TYPO3. */
.frame-default .image-right,
.frame-default .image-left{
  margin-bottom: 47px;
}
}

@media (max-width: 767px) {
.block-image,
.block-image figure{
  display: inline-block;
  width: 100%;
  margin: 0 0 calc(30px + .15em);
  overflow: auto;
}

.block-image picture{
  display: inline-block;
  width: 100%;
  overflow: auto;
}

/* TYPO3 nested this image one wrapper deeper, which left the gap below it 1px smaller. */
.bigImage .block-image{
  margin-bottom: calc(29px + .15em);
}

.frame-default .image-right,
.frame-default .image-left{
  float: none;
  margin: 55px 0 36px;
}

.frame-default .image-right ~ p:last-child,
.frame-default .image-left ~ p:last-child{
  padding-bottom: 86px;
}

.frame-default .image-right ~ .new-block{
  padding-top: 86px;
}
}

@media (max-width: 719px) {
#home .bigImage{
  height: calc(100vh - 130px);
  height: calc(100svh - 130px);
}

.headerTop,
nav.mobilenav{
  transition: height .4s ease-in-out;
}
}

@media (max-height: 600px) and (orientation: landscape) {
#home .bigImage{
  height: calc(100vh + 25px);
  height: calc(100svh + 25px);
}
}

@media (max-height: 600px) and (orientation: landscape) and (max-width: 719px) {
#home .bigImage{
  height: calc(100vh + 45px);
  height: calc(100svh + 45px);
}
}
