@font-face {
  font-family: 'Lato';
url('../fonts/Lato-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
  /*for buttons and inputs etc*/
  --main-accent-color: #96bebe;
  --main-contrast-color: #fff;
  /*for hover etc*/
  --main-accent-color-light: #9ec1c1;
  --main-accent-color-dark: #85909c;
  /*for invalid forms etc*/
  --error-color: #EE5252;
  --gray-bg-color: #D9D9D9;
  --text-color: #404040;
  --font-family: 'Lato', sans-serif
}

/**inubit */
html {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

/* reset default values to default */
html, body {
  margin: 0;
  padding: 0;
  font: normal 14px/18px var(--font-family);
}

body {
  text-align: left;
  background: url("../images/backgrounds/bg1.jpg");
  background-size: cover;
  border: none;
  font-size: 16px;
  font-family: var(--font-family);
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

h1 {
  font-family: var(--font-family);
  font-weight: normal;
  font-size: 40px;
  line-height: 60px;
  color: var(--main-accent-color);
  padding: 0;
  margin: 0;
}

h2, h3, h4 {
  font: normal 32px var(--font-family);
  padding: 0;
  color: var(--main-accent-color-dark);
  margin: 0 0 16px 0;
}

p {
  padding: 0;
  margin: 0;
}

a {
  color: var(--main-accent-color-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: var(--main-accent-color);
}

a img {
  border: 0;
}

.hidden {
  visibility: hidden;
}

div {
  width: auto;
  border: none;
  padding: 0;
  margin: 0;
}

#bg-image-2 {
  position: absolute;
  background: url("../images/backgrounds/bg2.jpg");
  background-size: cover;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  -webkit-animation: flickerAnimation-2 30s infinite;
  -moz-animation: flickerAnimation-2 30s infinite;
  animation: flickerAnimation-2 30s infinite;
  z-index: -2;

}

#bg-image-3 {
  position: absolute;
  background: url("../images/backgrounds/bg3.jpg");
  background-size: cover;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  -webkit-animation: flickerAnimation-3 30s infinite;
  -moz-animation: flickerAnimation-3 30s infinite;
  animation: flickerAnimation-3 30s infinite;
  z-index: -1;

}

@keyframes flickerAnimation-2 {
  0% {
    opacity: 0;
  }
  60% {
    opacity: 0;
  }
  65% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes flickerAnimation-3 {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 0;
  }
  35% {
    opacity: 1;
  }
  60% {
    opacity: 1;
  }
  65% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* main regions & areas */
#wrapperAll {
  width: 100%;
  margin: 80px 0 60px 0;;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  max-height: calc(100% - 140px);
}

#wrapperAll .inner-content {
  min-width: 600px;
  width: 100%;
  margin-bottom: 16px;
  align-items: center;
  display: flex;
  flex-direction: column;
}

#wrapperAll #contentArea {
  width: 80%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
}

#wrapperAll #contentArea .contentBox {
  padding: 16px;
  margin-top: 16px;
  flex-shrink: 1;
  background: rgba(255, 255, 255, .9);
}

#scrollWrapper {
  overflow: auto;
  width: 100%;
}


.contentBox.address {
  min-width: 280px;
  flex-grow: 0;
}

.contentBox.infos {
  width: 62%;
  min-width: 400px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.contentBox.infos .info-box-wrapper {
  overflow-y: auto;
  max-height: 100%;
  padding-right: 16px;
  box-sizing: border-box;
}

.info-box {
  border-bottom: 1px solid var(--main-accent-color);
  padding: 16px 0;
  margin-bottom: 16px;
  overflow-y: auto;
}

.info-box:last-child {
  border-bottom: none;
}

.info-box .relatedLnk {
  display: inline-block;
  margin: 8px 0;
  position: relative;
  left: 16px;

}

.info-box .relatedLnk:before {
  content: '';
  border-style: solid;
  border-width: 8px 0 8px 16px;
  border-color: transparent transparent transparent var(--main-accent-color);
  position: absolute;
  left: -20px;
  top: 2px;

}

.hero-banner-wrapper {
  min-height: 150px;
  width: 80%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 16px;
  padding: 16px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, .9);
}

.hero-banner {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  min-width: 280px;
}

.hero-banner-wrapper .banner-inubit-icon {
  width: 100px;
}

.hero-banner-wrapper .banner-inubit-icon img {
  max-height: 100%;
  max-width: 100%;
}

.hero-banner-wrapper .hero-welcome-msg {
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-banner-wrapper .hero-welcome-msg h1 {
  text-overflow: ellipsis;
  overflow: hidden;
}

.hero-banner-wrapper .banner-powered-by {
  display: flex;
  justify-content: center;
  flex-direction: column;
  font-size: 24px;
  margin-left: 24px;
}

.hero-banner-wrapper .banner-powered-by img {
  width: 150px;
  margin-top: 16px;
}

/* header */
#header {
  background: rgba(255, 255, 255, .9);
  position: absolute;
  top: 0;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.25);
  box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.25);
}

#header .inner-header {
  width: 80%;
  height: 100%;
  padding: 0 16px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#header .inner-header #websiteTitleArea {
  font-size: 40px;
  line-height: 40px;
  position: relative;
  white-space: nowrap;
  bottom: 4px;
  max-width: 48%;
}

#header #virtimoLogo {
  max-width: 48%;
}

#header #virtimoLogo a {
  text-decoration: none;
  width: 100%;
}

#header #virtimoLogo img {
  border: 0;
  width: 250px;
  max-width: 100%;
}

/* website footer */
#footer {
  position: absolute;
  bottom: 0;
  background: none #000;
  color: var(--main-contrast-color);
  width: 100%;
  margin: 0 auto;
  height: 60px;
  display: flex;
  justify-content: center;

}

#footer .inner-footer {
  height: 100%;
  width: 80%;
}

#footer ul {
  margin: 0;
  padding: 0;
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
}

#footer li {
  list-style: none;
  margin: 0;
  padding: 10px;
}

/* website footer linkstyles */
#footer a {
  color: #fff;
  text-decoration: none;
}

#footer span {
  color: #fff;
  font: bold 12px Arial;
  padding: 8px 8px 5px 3px;
  display: block;
  float: none;
}

div.inverse {
  background-color: var(--main-accent-color);
  color: var(--main-contrast-color);
}

div.inverse h1, div.inverse h2, div.inverse h3, div.inverse h4, div.inverse h5, div.inverse h6 {
  color: #FFFFFF !important;
}

/* ---   Forms   --- */
a.button {
  text-decoration: none;
  display: inline-block;
  padding: 8px 16px;
  margin: 16px 0 8px 0;
  background: var(--main-accent-color);
  color: var(--main-contrast-color);
}


/* Expand the adress box when it moves to new row */
@media (max-width: 1200px) {
  .contentBox.address {
    flex-grow: 1;
  }
}