/* #30afe3 = 48, 175, 227 */

/* BMI colours, according to the CI */
:root {
  /* General */
  --bmi-grey:           rgb(111, 111, 110);
  --bmi-grey-100pc:     rgb(111, 111, 110); /* essentially the same, but eh */
  --bmi-grey-90pc:      rgb(125, 125, 125);
  --bmi-grey-80pc:      rgb(140, 140, 139);
  --bmi-grey-70pc:      rgb(154, 154, 154);
  --bmi-grey-60pc:      rgb(169, 169, 168);
  --bmi-grey-50pc:      rgb(183, 183, 183);
  --bmi-grey-40pc:      rgb(197, 197, 197);
  --bmi-grey-30pc:      rgb(212, 212, 212);
  --bmi-grey-20pc:      rgb(226, 226, 226);
  --bmi-grey-10pc:      rgb(241, 241, 241);

  --bmi-cyan:           rgb(0, 159, 227);
  --bmi-cyan-60pc:      rgb(102, 197, 238);
  --bmi-cyan-20pc:      rgb(204, 236, 249);

  --bmi-braas:          rgb(227,   6,  19);
  --bmi-braas-60pc:     rgb(238, 106, 113);
  --bmi-braas-20pc:     rgb(249, 205, 208);

  /* legacy websites */
  --bmi-green-zdi:      rgb(166, 206, 57);
  /* --bmi-green-60pc-zdi: rgb(122, 205, 181);
  --bmi-green-20pc-zdi: rgb(211, 238, 230); */

  /* 2017 CI */
  --bmi-red:            rgb(203, 62, 39);
  --bmi-red-60pc:       rgb(224, 139, 125);
  --bmi-red-20pc:       rgb(245, 216, 212);

  --bmi-green:          rgb(33, 171, 132);
  --bmi-green-60pc:     rgb(122, 205, 181);
  --bmi-green-20pc:     rgb(211, 238, 230);

  --bmi-mauve:          rgb(107, 53, 80);
  --bmi-mauve-60pc:     rgb(166, 134, 150);
  --bmi-mauve-20pc:     rgb(225, 215, 220);

  --bmi-yellow:         rgb(246, 192, 35);
  --bmi-yellow-60pc:    rgb(250, 217, 123);
  --bmi-yellow-20pc:    rgb(253, 242, 211);

  /* 2020 CI */
  --bmi-orange:         rgb(235, 51, 0);
  --bmi-orange-60pc:    rgb(243, 133, 102);
  --bmi-orange-20pc:    rgb(251, 214, 204);

  --bmi-aqua:           rgb(101, 178, 162);
  --bmi-aqua-60pc:      rgb(163, 209, 199);
  --bmi-aqua-20pc:      rgb(224, 240, 236);

  --bmi-magenta:        rgb(164, 18, 63);
  --bmi-magenta-60pc:   rgb(200, 113, 140);
  --bmi-magenta-20pc:   rgb(237, 208, 217);

  --bmi-teal:           rgb(0, 103, 127);
  --bmi-teal-60pc:      rgb(102, 164, 178);
  --bmi-teal-20pc:      rgb(204, 225, 229);

  --bmi-purple:         rgb(114, 34, 87);
  --bmi-purple-60pc:    rgb(170, 122, 154);
  --bmi-purple-20pc:    rgb(227, 211, 221);

  --bmi-dark-blue:      rgb(52, 56, 79);
  --bmi-dark-blue-60pc: rgb(133, 136, 149);
  --bmi-dark-blue-20pc: rgb(214, 215, 220);
}

/* ---------------------------------------------------------------------------------------------------
 * The colour association (which is mapped to --main-color, --secondary-color and --tertiary-color
 * is done by including one of the bmi_icopal_theme_*.css files; this is done for simplicity ;)
 * --------------------------------------------------------------------------------------------------- */

:root {
  --max-website-width: 960px;
}

/* ################################################################################################ */
/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

/* ################################################################################################ */
/* page global */

html, body {
  height: 100%;
  scrollbar-width: 15px !important;
  /* display: flex; */
  flex-direction: column;
}

body {
  /* font: 12px/15px "Roboto", Helvetica, Arial, sans-serif; */
  font: 16px/19px "Effra Light", Helvetica, Arial, sans-serif;
  overflow-y: scroll; /* Show scrollbars */
  overflow: overlay;
  /* padding-bottom: 60px; */
}

strong {
  font-weight: bold;
}

a {
  color: var(--main-color);
  text-decoration: none;
  transition: color 0.4s;
}

a:active, a:hover {
  color: var(--secondary-color);
  transition: color 0.4s;
}

h1, h2, h3 {
  color: var(--main-color);
}

h1, h2 {
  font-weight: bold;
}

h1 {
  font: 30px/33px "Effra Bold";
}

h2 {
  font: 22px/24px "Effra Bold";
}

h3 {
  font: 17px/19px "Effra Bold";
}



.float-separator {
  width: 100%;
  height: 0px;
  clear: both;
  display: block;
}

p {
  /* font: 13px/18px "Roboto", Helvetica, Arial, sans-serif; */
  font: 16px/21px "Effra Light", Helvetica, Arial, sans-serif;
  margin-top: 5px;
  margin-bottom: 3px;
}


/* ################################################################################################ */
/* page general */

div#website-background {
  position: fixed;
    left:   0px;
    right:  0px;
    top:    0px;
    bottom: 0px;

  /* background: url('img/BMI-Icopal__TloStrony__2020__5k72ppi.jpg') no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover; */

  z-index: -10;
}

@media screen and (max-width: 960px){
  div#website-background {
    display: none;
  }
}

/* ################################################################################################ */
/* page top */

div#page-header {
  width: 100%;
  height: 120px;
  background: #fff;
}

div#navigation-top, div#navigation-mobile-burger-menu {
  width: 100%;
  --navigation-header-height: 48px;
  height: var(--navigation-header-height);
  background-color: var(--main-color);
  /* background: linear-gradient(0deg, var(--main-color) 0%, var(--secondary-color) 100%); */
  /* filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.7)); */
}

div#navigation-mobile-burger-menu {
  display: none;
}

div#navigation-mobile-burger-menu img {
  display: block;
  width: 20%;
  height: 27px;
  margin: 0 auto;
  padding-top: 10px;
  transform: translateZ(0);
  image-rendering: pixelated;
  image-rendering: -webkit-optimize-contrast;
}

div#navigation-top ul {
  max-width: var(--max-website-width);
  margin: 0 auto;
}

div#navigation-top ul li {
  float: left;
}

div#navigation-top ul li a {
  display: inline-block;
  padding: 0px 20px;
  font: 18px/var(--navigation-header-height) "Roboto Condensed", Helvetica, Arial, sans-serif;
  font-weight: bold;
  color: #fff;
  height: var(--navigation-header-height);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

div#navigation-top ul li a:hover, div#navigation-top ul li a:active {
  background-color: var(--bmi-grey);
  /* background: linear-gradient(0deg, var(--bmi-grey) 0%, var(--bmi-grey-60pc) 100%); */
}

@media screen and (min-width: 961px){
  div#navigation-top > ul > li.current a {
    background-color: var(--bmi-grey);
    /* background: linear-gradient(0deg, var(--bmi-grey) 0%, var(--bmi-grey-60pc) 100%); */
  }
}

div#page-header-social-media {
  position: absolute;
  bottom: 3px;
  right: 45px;
}

div#page-footer-social-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  margin-top: 20px;
}

#page-footer-social-media a:last-of-type > img {
  margin-right: 0;
}

#page-footer-social-media a img {
  height: 16px;
  width: auto;
}

a.social-media-link {
  border: none;
  float: left;
}

img.social-media-icon {
  margin-right: 10px;
}

a#link-bmigroup {
  font-weight: bold;
  display: inline-block;
  font-size: 13px;
  margin-top: 1px;
}

div#page-header-content {
  position: relative;
  height: 100%;
  max-width: var(--max-website-width);
  margin: 0 auto;
}

img#bmi-icopal-header-logo {
  width: auto;
  height: 80px;
  position: absolute;
  top: 20px;
  left: 23px;
}

#page-header-title, #page-header-subtitle {
  color: var(--secondary-color);
  position: absolute;
  left: 250px;
  display: none; /* 2022-04-12 */
}

#page-header-title {
  font-weight: normal;
  font-size: 28px;
  top: 42px;
}

#page-header-subtitle {
  font-size: 16px;
  top: 70px;
}

div#navigation-top ul li.navigation-sublevel {
  display: none;
}

@media screen and (max-width: 960px){
  div#navigation-mobile-burger-menu {
    display: block;
  }

  div#navigation-top {
    height: 0px;
    overflow: hidden;
    background-color: var(--secondary-color);
  }

  div#navigation-top ul li.navigation-sublevel {
    display: block;
  }

  li.navigation-sublevel a {
    height: auto !important;
  }

  div#navigation-top ul li {
    float: none;
    min-height: 40px;
    border-bottom: 1px solid var(--bmi-grey-20pc);
  }

  div#navigation-top ul li a {
    width: auto;
    text-shadow: none;
  }

  div#navigation-top ul li a:hover, div#navigation-top ul li a:active, div#navigation-top a.current {
    background: none;
  }

  .navigation-level-0 {
    padding-left: 0px;
    margin-left: -10px;
  }
  .navigation-level-0 a {
    font: 28px/40px "Roboto Condensed", Helvetica, Arial, sans-serif !important;
    height: 32px !important;
  }

  .navigation-level-1 {
    padding-left: 6px;
  }
  .navigation-level-1 a {
    font: 26px/40px "Roboto Condensed", Helvetica, Arial, sans-serif !important;
    height: 32px !important;
  }

  .navigation-level-2 {
    padding-left: 15px;
  }
  .navigation-level-2 a {
    font: 20px/40px "Roboto Condensed", Helvetica, Arial, sans-serif !important;
  }

  .navigation-level-3 {
    padding-left: 24px;
  }
  .navigation-level-3 a {
    font: 20px/40px "Roboto Condensed", Helvetica, Arial, sans-serif !important;
  }

  .navigation-level-4 {
    padding-left: 33px;
  }
  .navigation-level-4 a {
    font: 16px/40px "Roboto Condensed", Helvetica, Arial, sans-serif !important;
  }

  .navigation-level-5 {
    padding-left: 42px;
  }
  .navigation-level-5 a {
    font: 16px/40px "Roboto Condensed", Helvetica, Arial, sans-serif !important;
  }
}

@media screen and (min-width: 501px) and (max-width: 750px){
  div#page-header {
    height: 90px;
  }

  img#bmi-icopal-header-logo {
    position: relative;
    height: auto;
    width: 90px;
  }

  #page-header-title, #page-header-subtitle {
    left: 125px;
  }

  #page-header-title {
    font-size: 20px;
    top: 25px;
  }

  #page-header-subtitle {
    font-size: 14px;
    top: 43px;
  }
}

@media screen and (max-width: 500px){
  div#page-header {
    height: auto;
  }

  img#bmi-icopal-header-logo {
    height: auto;
    width: 50%;
    position: relative;
    top: auto;
    left: auto;
    margin-left: 20px;
    margin-top: 20px;
  }

  #page-header-title, #page-header-subtitle {
    position: relative;
    top: auto;
    left: auto;
    margin: 5px 10px;
    padding: 5px 20px;
    font-size: 10vw;
    text-align: center;
  }

  #page-header-title {
    position: relative;
    font-size: 28px;
    line-height: 28px;
  }

  #page-header-subtitle {
    position: relative;
    font-size: 18px;
    line-height: 18px;
  }

  div#page-header-social-media {
    position: relative;
    bottom: auto;
    right: auto;
    margin: 0 auto;
    height: 20px;
    width: 190px;
    margin-bottom: 10px;
    margin-top: 10px;
  }
}

div.mobile-menu-expanded {
  height: auto !important;
}


/* ################################################################################################ */
/* page content */

div#page-content {
  max-width: var(--max-website-width);
  margin: 0 auto;
  background: #fff;
  /* padding-top: 1px;
  margin-top: -1px; */
}

div#page-content-inner {
  min-height: 400px;
}

div.content-layout-component {
  display: inline-block;
  vertical-align: top;
}

div#page-content-inner div#content-right {
  width: 776px;
}

div#page-content-inner div#content-menu-left {
  width: 184px;
}

@media screen and (max-width: 960px){
  div#page-content-inner {
    min-height: auto;
  }

  div#page-content-inner div#content-menu-left {
    display: none;
    width: 0px;
  }

  div#page-content-inner div#content-right {
    width: 100%;
  }
}


/* ################################################################################################ */
/* -------------------------------------- */
/* Front-page Slider */

div#main-page-slideshow {
  position: relative;
  height: 340px; /* = 960 / 3.2542372881355934 */
}

div#main-page-slideshow ul:nth-of-type(1) {
  position: absolute;
  top:  0px;
  left: 0px;
}

div#main-page-slideshow ul:nth-of-type(1) li img {
  position: absolute;
  top:  0px;
  left: 0px;
  opacity: 0;
  transition: opacity 0.4s;
}

div#main-page-slideshow ul li:nth-of-type(1) img {
  opacity: 1.0;
}

.slider-image {
  pointer-events: none;
}

.slider-image-active {
  opacity: 1.0 !important;
  transition: opacity 0.4s;
  pointer-events: auto;
}

div#main-page-slideshow ul:nth-of-type(2) {
  max-width: var(--max-website-width);
  margin: 0 auto;
  position: absolute;
  top: 295px;
  left: 0px;
  height: 45px;
  width: 100%;
  /* background: var(--bmi-grey-20pc);
  background: linear-gradient(180deg, #fff 0%, var(--bmi-grey-20pc) 100%); */
  background: #fff;
}

div#main-page-slideshow ul:nth-of-type(2) li {
  float: left;
  font: 15px/45px "Roboto", Helvetica, Arial, sans-serif;
  color: var(--bmi-grey-100pc);
  position: relative;
}

div#main-page-slideshow ul:nth-of-type(2) li:nth-child(1) {
  font-weight: bold;
  padding: 0px 15px;
}

div#main-page-slideshow ul:nth-of-type(2) li:not(:first-child):after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 45px;
  width: 1px;
  background: var(--bmi-grey-20pc);
  background: linear-gradient(180deg, var(--bmi-grey-20pc) 0%, #efefef 100%);
}

div#main-page-slideshow ul:nth-of-type(2) li a, div#main-page-slideshow ul:nth-child(2) li a:visited {
  display: inline-block;
  padding: 0px 20px;
  color: var(--main-color);
}

div#main-page-slideshow ul:nth-of-type(2) li a:hover, div#main-page-slideshow ul:nth-child(2) li a:active {
  color: var(--main-color);
  background: var(--bmi-grey-30pc);
  background: linear-gradient(180deg, #fff 0%, var(--bmi-grey-30pc) 100%);
}

span.drop-shadow-light {
  filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.3));
}

span.drop-shadow {
  filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.7));
}

.slider-image-link {
  cursor: pointer;
}

span.slider-list-first-entry {
  font: 15px/45px "Roboto Condensed", Helvetica, Arial, sans-serif !important;
  font-weight: 700;
}



/* -------------------------------------- */
/* Front-page Spots */

div#frontpage-spots-container {
  padding: 0px 15px;
  padding-bottom: 20px;
  margin: 0 auto;
  margin-top: 10px;
}

div.frontpage-spot {
  display: inline-block;
  vertical-align: top;
  margin-bottom: 15px !important;
}

.frontpage-spot h1 {
  font-size: 20px;
  margin-bottom: 16px;
  padding-left: 16px;
  font-weight: normal;
}

.frontpage-spot img {
  width: 100%;
  height: auto;
}

.frontpage-spot p {
  padding: 8px 8px 10px 16px;
}

.frontpage-spot a.frontpage-spot-text-link {
  width: 100%;
  padding-left: 16px;
}

.frontpage-spot a.frontpage-spot-text-link div.frontpage-spot-text-link-before {
  width:  12px;
  height: 12px;
  text-align: center;
  font-weight: bold;
  color: #fff;
  font-size: 16px;
  line-height: 12px;
  margin-right: 8px;
  display: inline-block;
  background: var(--main-color);
}

div.frontpage-spot-small { /* 320px per spot */
  max-width: 290px;
  margin: 10px 10px;
}

div.frontpage-spot-big { /* 480px per spot */
  max-width: 445px;
  margin: 10px 10px;
}

@media screen and (max-width: 960px){
  div#frontpage-spots-container {
    padding: 0 1.5vw;
  }

  div.frontpage-spot-small, div.frontpage-spot-big {
    max-width: 43vw;
    margin: 5vw 2vw;
  }
}

@media screen and (max-width: 564px){
  div.frontpage-spot-small, div.frontpage-spot-big {
    max-width: 90vw;
    margin: 5vw 5vw;
  }
  .frontpage-spot-text-link {
    display: none;
  }
}


/* ################################################################################################ */
/* -------------------------------------- */
/* General pages */
div#content-right img#content-top {
  width: calc(100% - 1px);
  height: auto;
  border-bottom: 1px solid var(--bmi-grey-10pc);
  border-left: 1px solid var(--bmi-grey-10pc);
  display: none;
}

div#content-right.content-format-no-menu {
  width: 100% !important;
}

div#content-left-separator {
  position: relative;
  clear: both;
  width: 100%;
  height: 0px;
  margin-top: -4px;
}

div#content-left-separator:after {
  content: "";
  position: absolute;
  left: 0px;
  top: 0px;
  height: 80px;
  width: 1px;
  background: var(--bmi-grey-20pc);
  background: linear-gradient(180deg, var(--bmi-grey-10pc) 0%, #fff 100%);
}

div#content-block {
  margin: 10px 8px 50px 18px;
  overflow-x: hidden;
}

div#content-block h1, div#content-block h2, div#content-block h3, div#content-block h4, div#content-block h5, {
  margin-top: 14px;
}

div#content-block h1 {
  font-size: 24px;
  line-height: 28px;
  margin-bottom: 20px;
}

div#content-block h2 {
  font-size: 21px;
  line-height: 23px;
  margin-bottom: 17px;
}

div#content-block h3 {
  font-size: 18px;
  line-height: 20px;
  font-weight: bold;
  margin-bottom: 14px;
}

div#content-block h4 {
  font-size: 16px;
  line-height: 19px;
  font-weight: bold;
  margin-bottom: 10px;
}

div#content-block h5 {
  font-size: 16px;
  line-height: 19px;
  font-weight: normal;
  margin-bottom: 6px;
}

div#content-block ul {
   padding-left: 40px;
}

/* -------------------------------------- */
/* Breadcrumbs */

div#content-breadcrumbs {
  margin-left: 18px;
  margin-top: 10px;
  margin-bottom: 26px;
}

div#content-breadcrumbs ul li {
  display: inline-block;
}

div#content-breadcrumbs ul li:not(:first-child) {
  margin-left: 6px;
  padding-left: 14px;
  background: url(img/blue_arrow.gif) no-repeat 0px 3px;
  background-size: 6px 8px;
}


/* ################################################################################################ */
/* -------------------------------------- */
/* Content page left menu */
div#content-menu-left ul {
  margin-top: 12px;
}

div#content-menu-left ul li {
  min-height: 20px;
  padding: 2px 0px;
  margin-bottom: 2px;
}

div#content-menu-left ul li:not(:first-child):hover,
div#content-menu-left ul li:not(:first-child):active,
div#content-menu-left ul li:not(:first-child).current {
  background: var(--tertiary-color);
}

div#content-menu-left ul li a {
  display: inline-block;
  padding: 3px 0px;
  color: black;
}

div#content-menu-left ul li.navigation-level-1 a,
div#content-menu-left ul li.navigation-level-2 a {
  margin-left: 14px;
}

div#content-menu-left ul li.navigation-level-1 a {
  font-size: 18px;
  padding-left: 14px;
  background: url(img/blue_arrow.gif) no-repeat 0px 5px;
}

div#content-menu-left ul li.navigation-level-2 a {
  font-weight: bold;
  font-size: 13px;
}

div#content-menu-left ul li.navigation-level-3 a {
  margin-left: 21px;
  font-weight: bold;
  font-size: 11px;
}

div#content-menu-left ul li.navigation-level-4 a {
  margin-left: 28px;
  font-weight: normal;
  font-size: 11px;
}

div#content-menu-left ul li.navigation-level-5 a {
  margin-left: 35px;
  font-weight: normal;
  font-size: 11px;
}


/* ################################################################################################ */
/* -------------------------------------- */
/* ? */


/* ################################################################################################ */
/* -------------------------------------- */
/* Bottom spots */

div.page-content-bottom-spots {
  width: 100%;
  padding-top: 30px !important;
  max-width: var(--max-website-width);
  padding-bottom: 15px;
  display: flex;
  justify-content: space-between;
}

div.page-content-below-bottom-spots {
  width: 100%;
  padding-top: 30px !important;
  max-width: var(--max-website-width);
  padding-bottom: 15px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgb(100, 100, 110);
}

div.page-content-below-bottom-spots img {
  height: 45px;
  width: auto;
}


div.page-content-bottom-spots div.bottom-spot {
  display: inline-block;
  vertical-align: top;
  position: relative;
  height: 100%;
}


div.page-content-bottom-spots div.bottom-spot li {
  margin: 3px 0px 6px 5px;
  font-size: 13px;
}

div.page-content-bottom-spots div.bottom-spot p {
  margin-top: 30px;
  font-size: 120%;
  line-height: 30px;
}

div.page-content-bottom-spots div.bottom-spot:not(:first-child):after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 70px;
  width: 1px;
  /* background: var(--bmi-grey-20pc); */
  /* background: linear-gradient(180deg, var(--bmi-grey-20pc) 0%, #efefef 100%); */
}

div.page-content-bottom-spots div.bottom-spot h2 {
  font-size: 19px;
  font-weight: normal;
  margin-bottom: 7px;
}

div.page-content-bottom-spots div.bottom-spot a,
div.page-content-bottom-spots div.bottom-spot a:visited {
  transition: color 0.4s;
}

div.page-content-bottom-spots div.bottom-spot a:hover,
div.page-content-bottom-spots div.bottom-spot a:active {
  color: var(--bmi-grey);
  transition: color 0.4s;
}

div.page-content-bottom-spots-alt > div.bottom-spot:nth-child(1) {
  width: 62%;
}

div.page-content-bottom-spots-alt > div.bottom-spot:nth-child(2) {
  width: 29%;
}

@media screen and (max-width: 960px){
  div.page-content-bottom-spots div.bottom-spot {
    width: 96% !important;
  }

  div.page-content-bottom-spots div.bottom-spot:not(:last-child) {
    border-bottom: 1px solid var(--bmi-grey-30pc);
  }

  div.page-content-bottom-spots div.bottom-spot:not(:first-child):after {
    content: none;
  }

  div.page-content-bottom-spots {
    overflow-x: hidden;
  }
}

@media screen and (max-width: 564px){
  div.page-content-bottom-spots div.bottom-spot {
    width: 90%;
  }
}



/* ################################################################################################ */
/* page bottom */

div#page-footer {
  /* background: rgba(255, 255, 255, 0.73); */
  /* max-width: var(--max-website-width); */
  /* margin: 14px auto 30px auto; */
  padding-bottom: 20px;
  /* flex-grow: 1; */
}

div#page-footer, div#page-footer * {
  background-color: var(--bmi-dark-blue);
  color: #fff;
}

div#page-footer > * {
  margin: 0 auto;
}

/* #page-footer address {
  text-align: center;
  max-width: var(--max-website-width);
} */

/* #page-footer address {
  padding: 20px;
  font: 18px/24px "Roboto", Helvetica, Arial, sans-serif;
} */

/* @media screen and (max-width: 960px){
  div#page-footer address {
    max-width: 90%;
  }

  #page-footer address {
    font: 12px/22px "Roboto", Helvetica, Arial, sans-serif;
    padding: 14px;
  }
}
 */

div#page-footer #copyright {
  margin-top: 20px;
  padding: 2%;
}



/* nominal width of desktop page: 960px */
/* minimal width of desktop page: 620px */

/* ################################################################################################ */
/* -------------------------------------- */
/* COOKIE INFO */

div#cookie-notice {
  position: fixed;
  left: 0px;
  bottom: 0px;
  width: 100%;
  height: 200px;
  background: var(--main-color);
  z-index: 2000; /* Google ReCaptcha is at 1010... like wtf?! */
}

@media screen and (max-width: 960px){
}

@media screen and (max-width: 564px){
}


/* ################################################################################################ */
/* -------------------------------------- */
/* FRONTPAGE BLOCKS */

.frontpage-block {
   box-sizing: border-box;
   width: 100%;
   background-size: cover !important;
   background-position: 50% 0% !important;
   aspect-ratio: 960/270;
   overflow: hidden;
   position: relative;
}

.frontpage-block-image-overlay {
   position: absolute; top: 0px; left: 0px;
   width: 100%;
   height: 100%;
   background: url('/template-bmi/img/gradient-mask-line.png');
   background-repeat: repeat-y;
   background-size: 100% 100%;
}

.frontpage-block a { width: 100%; height: 100%; display: block; position: absolute; top: 0px; left: 0px; }
.frontpage-block > .frontpage-inside-block { left:  0px; }

/* inside blocks: mobile */
.frontpage-inside-block { width: 50%; height: 100%; position: absolute; top: 0px; }

.frontpage-inside-block > * { position: relative; color: #fff; margin: 7px 10px; }
.frontpage-inside-block-background { width: 100%; height: 100%; position: absolute; top: 0px; left: 0px; opacity: 0.9; padding: 0 !important; margin: 0 !important; }

.frontpage-inside-block > h1 { font-size: 3vw; line-height: 3.4vw; margin-top: 10px; }
.frontpage-inside-block > hr { border: none; background: none; border-top: 2px solid var(--main-color); width: 20%; margin: 10px 0px; }
.frontpage-inside-block > h2 { font-size: 1.8vw; line-height: 2vw; }
.frontpage-inside-block > h3 { font-size: 1.2vw; line-height: 1.4vw; }
.frontpage-inside-block > h1, .frontpage-inside-block > h2, .frontpage-inside-block > h3, .frontpage-inside-block > hr { margin-left: 20px; }

.frontpage-inside-block > p.cta {
  /* CTA */
  margin-left: 60px;
  display: inline-block;
  font-weight: normal !important;
  border: 1px solid;
  padding: 6px 9px;
  padding-top: 15px;
  font-size: 110% !important;
  margin-top: 0px !important;
  background: #fff;
}

.frontpage-block-right .frontpage-inside-block > p.cta {
  margin-left: 30px !important;
}

/* inside blocks: desktop */
@media screen and (min-width: 961px){
   .frontpage-inside-block > h1 {
      font-size: 30px;
      line-height: 33px;
      margin-left: 60px;
      margin-top:  50px;
   }
   .frontpage-inside-block > h2 { font-size: 17px; line-height: 19px; }
   .frontpage-inside-block > h3 { font-size: 14px; line-height: 16px; }
   .frontpage-inside-block > hr { border-top: 4px solid var(--main-color); width: 20%; margin: 13px 0px; }
   .frontpage-inside-block > h1, .frontpage-inside-block > h2, .frontpage-inside-block > h3, .frontpage-inside-block > hr { margin-left: 60px; }
}

/* provisions for right-side blocks */
.frontpage-block-right > .frontpage-inside-block { left: initial; right: 0px; }
.frontpage-block-right > .frontpage-block-image-overlay { transform: rotate(180deg); }

/* provisions for double blocks */
.frontpage-block-double > .frontpage-inside-block:nth-child(2) { left: initial; right: 0px; }
.frontpage-block-double > .frontpage-block-image-overlay { display: none; }
.frontpage-block-double > .frontpage-inside-block > .frontpage-inside-block-background { opacity: 1; }

.frontpage-block.frontpage-block-right > .frontpage-inside-block > h1,
.frontpage-block.frontpage-block-right > .frontpage-inside-block > h2,
.frontpage-block.frontpage-block-right > .frontpage-inside-block > h3,
.frontpage-block.frontpage-block-right > .frontpage-inside-block > hr {
   margin-left: 30px;
}


/* ============================ */
/* block colours */

/* block: BMI blue 90% */
.block-blue        > .frontpage-inside-block > .frontpage-inside-block-background,
.second-block-blue > .frontpage-inside-block:nth-child(2) > .frontpage-inside-block-background { background: var(--bmi-dark-blue); }

/* block: BMI Braas 90% */
.block-braas        > .frontpage-inside-block > hr,
.second-block-braas > .frontpage-inside-block:nth-child(2) > hr { border-top-color: #fff; }

.block-braas        > .frontpage-inside-block > h1,
.second-block-braas > .frontpage-inside-block:nth-child(2) > h1 { color: #fff; }
.block-braas        > .frontpage-inside-block > h2,
.second-block-braas > .frontpage-inside-block:nth-child(2) > h2 { color: #fff; }
.block-braas        > .frontpage-inside-block > h3,
.second-block-braas > .frontpage-inside-block:nth-child(2) > h3 { color: #fff; }

.block-braas        > .frontpage-inside-block > .frontpage-inside-block-background,
.second-block-braas > .frontpage-inside-block:nth-child(2) > .frontpage-inside-block-background { background: var(--bmi-braas); }

/* block: BMI teal 90% */
.block-teal        > .frontpage-inside-block > .frontpage-inside-block-background,
.second-block-teal > .frontpage-inside-block:nth-child(2) > .frontpage-inside-block-background { background: var(--bmi-teal); }

/* block: BMI cyan 90% */
.block-cyan        > .frontpage-inside-block > .frontpage-inside-block-background,
.second-block-cyan > .frontpage-inside-block:nth-child(2) > .frontpage-inside-block-background { background: var(--bmi-cyan); }

.block-cyan        > .frontpage-inside-block > hr,
.second-block-cyan > .frontpage-inside-block:nth-child(2) > hr { border-top-color: var(--bmi-yellow); }

/* block: white 90% */
.block-white        > .frontpage-inside-block > .frontpage-inside-block-background,
.second-block-white > .frontpage-inside-block:nth-child(2) > .frontpage-inside-block-background { background: #fff; }

.block-white        > .frontpage-inside-block > *,
.second-block-white > .frontpage-inside-block:nth-child(2) > * { color: #000; }

/* block: plain (no colour at all, no gradient overlay) */
.block-plain > .frontpage-block-image-overlay { display: none; }

.block-plain        > .frontpage-inside-block > *,
.second-block-plain > .frontpage-inside-block:nth-child(2) > * { color: #000; }

/* block: BMI green 90% */
.block-green        > .frontpage-inside-block > .frontpage-inside-block-background,
.second-block-green > .frontpage-inside-block:nth-child(2) > .frontpage-inside-block-background { background: var(--bmi-green-zdi); }

/* block: BMI yellow 90% */
.block-yellow        > .frontpage-inside-block > .frontpage-inside-block-background,
.second-block-yellow > .frontpage-inside-block:nth-child(2) > .frontpage-inside-block-background { background: var(--bmi-yellow); }



/* fontawesome icons inside frontpage blocks */
.frontpage-block > .frontpage-inside-block > i {
   font-size: 8vw;
   position: absolute;
   right: 30px;
   bottom: 17px;
   opacity: 0.8;
}

@media screen and (min-width: 961px){
   .frontpage-block > .frontpage-inside-block > i {
      font-size: 700%;
   }
}

/* ################################################################################################ */
/* -------------------------------------- */
/* OVERRIDES */

@media screen and (max-width: 960px){
  div#main-page-slideshow {
    display: none;
  }
}

.frontpage-spot a.frontpage-spot-text-link {
  display: block;
  margin-bottom: 8px;
}

p.frontpage-summary-empty {
  padding: 0px 8px 7px 16px;
}

/* ################################################################################################ */
/* -------------------------------------- */
/* Misc */

/* Make the download PDF icons a nice Adobe Red ;) */
.GlossaryKontenerNormal a > i.fa-solid.fa-file-pdf { color: #F40F02; }

#produkty-content > .produkt > .produkt-link p,
#produkty-content > .produkt > .produkt-link a {
  font-weight: bold;
}

#bmi-icopal-header-logo.header-svg.header-logo-braas {
  height: 25px;
  top: 52px;
}

div.clear {
  width: 100%;
  height: 1px;
  display: block;
  clear: both;
}

.bottom-spot .social-media-link img {
  height: 20px;
  width: auto;
}

/* Make the download PDF icons a nice Adobe Red ;) */
.GlossaryKontenerNormal a > i.fa-solid.fa-file-pdf { color: #F40F02; }

#produkty-content > .produkt > .produkt-link p,
#produkty-content > .produkt > .produkt-link a {
  font-weight: bold;
}

.cookie-table {}

.cookie-table th, .cookie-table td {
  border: 1px solid #ccc;
  padding: 3px;
  min-width: 100px;
  vertical-align: middle;
}

.cookie-table th {
  align: center;
  background: #eee;
  font-weight: bold;
}
.cookie-table td {}

.menu-item-current {
  background: #eee;
}

.frontpage-block-image-overlay.block-overlay-short {
   background: url('/template-bmi/img/gradient-mask-line-shorter.png');
}