/* Core Stuff */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-size: 1rem;
    line-height: 1.7;
    color: #000000;
    font-family: 'titillium';
    font-size: larger;
    margin: 0 5px;
}

/*
#body {
    padding-top: 100px;
}
*/

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'titillium';
    color: #000000;
}

div.proj-blocks h4 {
  line-height: initial;
}

span.proj-nav,
a.proj-nav {
  color: #777;
  border: none;
}

a {
    color: #000000;
    /* text-decoration: underline; */
    display: inline-flex;
    text-decoration: none;
    border-bottom: 2px solid;
    line-height: 130%;
    
}

h3 a {
  line-height: 100%;
}

div.image {
  line-height: 0;
}

div.proj-blocks a {
  display: inline-block;
  /* border-bottom: 1px solid; */
  border-bottom: none;
  line-height: 100%;
}

div.proj-blocks p a {
  display: inline-block;
  /* border-bottom: 1px solid; */
  border-bottom: none;
  line-height: 100%;
  text-decoration: underline;
}

a:hover,
a:hover div p {
    text-decoration: none;
    background-image: url('/user/themes/weise7-os/images/bg-wafle.png');
    color: #000000;
}



a.logo {
  line-height: unset;
}

a.logo:hover {
  background: none;
}

div.block-title-center {
  position: absolute;
  color: #000000;
  background-color: #ffffff;
  /*
  top: 100px;
  left: 100px;
  */
  line-height: initial;
}

a div.block-title-center p {
  font-family: '7px2bus';
  font-size: 35px;
  padding: 0 20px;
  line-height: 1.9em;
  margin: 0;
  padding: 0.3em 0.6em 0em 0.6em;
  text-align: center;
}

pre {
    background: #F0F0F0;
    margin: 1rem 0;
    border-radius: 2px;
}

blockquote {
    border-left: 10px solid #f3f3f3;
    margin: 0;
    padding: 0 2rem;
}

/* Utility Classes */
.wrapper {
    /* margin: 0 3rem; */
    margin: 0;
}

.padding {
    /* padding: 0 1rem 3rem 1rem; */
    padding: 0;
}

.left {
    float: left;
}

.right {
    float: right
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.text-120 {
  font-size: 120%;
}

.text-115 {
  font-size: 115%;
}



/* Content Styling */
.header .padding {
    padding: 0;
    border-bottom: 2px solid;
    display: flex;
}

.header .wrapper {
  margin: 0;
  padding-top: 5px;
}

.header > div {
    background-color: #ffffffcc;
    color: #000000;
    font-size: 1.6rem;
    /* border-bottom-style: dotted;
    border-bottom-color: #bdbdbd;
    border-bottom-width: 2px; */
    font-family: 'titillium';
    font-weight: bold;
    padding-bottom: 1rem;
    /* position: fixed; */
    position: inherit;
    width: 100vw;
    /* position: relative; */
    z-index: 100000;
    background-image: url('/user/themes/weise7-os/images/bg-wafle-white.png');
}

.header a {
    color: #000000;
}

.header .logo {
    text-decoration: none;
    display: block;
    /* line-height: 45px; */
    border-bottom: 2px none;
    /* text-transform: uppercase; */
}

.header-block {
    display:table-cell;
    /* border-right: solid 2px; */
    width: 200px;
    /* padding: 20px; */
    padding: 5px 20px 20px;
    position: relative;
    margin: auto;
    z-index: 1000;
}

.header-block.middle {
    width: 100vw;
    max-width: 100vw;
    border-left: solid 2px; 
    /* margin-left: -50vw; */
}



.header-block.last {
    border: none;
}

.header-block.vspacer {
  width: 5px;
  padding: 0;
  margin: 0;
  border: 5px solid white;
  position: relative;
  bottom: -2px;
}

.footer {
    background-color: #fff;
    padding: 20px;
    border-top: 2px solid;
}

/* Menu Settings */

/*
.main-nav span {
  padding-left: 0.2em;
}
*/


.main-nav p {
  /* text-align: center; */
    display: inline;
    /* padding-left: 0.2em; */
}

.main-nav a {
  line-height: 22px;
  display: inline-flex;
  text-decoration: none;
  border-bottom: 2px solid;
}

.main-nav a.selected { 
  color: #777;
}

.main-nav a:hover {
  text-decoration: none;
  background-image: url('/user/themes/weise7-os/images/bg-wafle.png');
}

.main-nav ul {
    /* text-align: center; */
    letter-spacing: -1em;
    margin: 0;
    padding: 0;
}

.main-nav ul li {
    display: inline-block;
    letter-spacing: normal;
}

.main-nav ul li a {
    position: relative;
    display: block;
    line-height: 45px;
    color: #000000;
    padding: 0 20px;
    white-space: nowrap;
}

.main-nav > ul > li > a {
    border-radius: 2px;
}

/*Active dropdown nav item */
.main-nav ul li:hover > a {
    /* background-color: #175E91; */
    /* text-decoration:underline; */
    background-image: url('/user/themes/weise7-os/images/bg-wafle.png');
  }

/* Selected Dropdown nav item */
.main-nav ul li.selected > a {
    background-color: #fff;
    color: #777;
}

/* Dropdown CSS */
.main-nav ul li {position: relative;}

.main-nav ul li ul {
    position: absolute;
    background-color: #1F8DD6;
    min-width: 100%;
    text-align: left;
    z-index: 999;

    display: none;
}
.main-nav ul li ul li {
    display: block;
}

/* Dropdown CSS */
.main-nav ul li ul ul {
    left: 100%;
    top: 0;
}

/* Active on Hover */
.main-nav li:hover > ul {
    display: block;
}

/* Child Indicator */
.main-nav .has-children > a {
    padding-right: 30px;
}
.main-nav .has-children > a:after {
    font-family: FontAwesome;
    content: '\f107';
    position: absolute;
    display: inline-block;
    right: 8px;
    top: 0;
}

.main-nav .has-children .has-children > a:after {
    content: '\f105';
}

div.home-blocks-top,
div.proj-blocks {
    /* min-height: 450px; */
    /* padding: 0 10px; */
    padding: 20px;
    line-height: 0;
    /* display: grid; */
    /* border: solid 16px #fff; */
    /* border-bottom: 2px solid; */
}

div.home-blocks-top h3,
div.proj-blocks h3 {
    line-height: 1em;
}

div.home-blocks-top p,
div.proj-blocks p {
  line-height: initial;
}

div.home-blocks-top a,
div.proj-blocks a {
  display: flex;
  border: none;
  align-items: center;
  justify-content: center;
}

div.proj-blocks h4 a {
  display: inline-block;
  border: none;
  text-decoration: underline;
}

div.home-blocks-top a img,
div.proj-blocks a img {
  min-width: 100%;
  min-height: 100%;
}

div.proj-blocks {
  min-height: initial;
  position: relative;
}

div.proj-blocks div {
  position: relative;
  line-height: 0;
}

div.proj-blocks div.label {
  position: absolute;
  /* bottom: 0; */
  /* padding: 0 10px 0 0; */
  background-color: #fff;
  /* width: 100%; */
  /* border: 1px solid; */
  line-height: 1.2em;
  font-size: 1rem;
}

div.proj-blocks div.label p {
font-family: '7px2bus';
  font-size: 20px;
  padding: 0 20px;
  line-height: 1.3em;
  margin: 0;
  margin-top: 0px;
  margin-bottom: 0px;
  padding: 0.3em 0.6em 0em 0.6em;
  text-align: center;
}

div.home-blocks-top a {
  display: flex;
  align-items: center;
  justify-content: center;
}

div.home-blocks-top#block-1 {
  min-height: 180px;
  border-bottom: 2px solid;
}

div.sub-blocks-top {
    min-height: 100px;
    /* padding: 0 10px; */
    padding: 10px;
    /* border: solid 16px #fff; */
    /* border-bottom: 2px solid; */
}

div.sub-blocks-top#block-1 {
  /* min-height: 120px; */
  border-bottom: 2px solid;
}

div.home-blocks-top#block-2 {
  border-top-width: 0;
}

div.home-blocks-top p:first-of-type,
div.home-blocks-top h2:first-of-type {
  margin-top: 0;
  margin-bottom: 0;
}

div.home-blocks-top h1 {
    font-size: 4rem;
    margin: 0;
}

div.sub-blocks-top h2 {
  font-size: 3rem;
  margin: 0;
}

div.home-blocks-top h3 {
  font-size: 200%;
  margin: 0;
}

div.home-blocks-top#block-1 div,
div.sub-blocks-top#block-1 div {
  left: 180px;
  position: relative;
}

div.home-blocks-title {
  min-height: auto;
}

div.home-blocks-title h2 {
  font-size: revert;
}

div.newsletter-block {
  border: 20px solid white;
  border-width: 10px 20px 40px;
  background-color: #fff;
}

div.sub-blocks-top h3 {
  font-size: 180%;
  line-height: 100%;
}

div.sub-blocks-top {
  min-height: initial;
}

div.home-blocks-top {
  position: relative;
}

div.header-block img.ce-logo {
  width: 80px;
  position: relative;
  margin: 15px 0 0 0;
}

div.header-block.last {
  display: flex;
}

div.header-block a.ce-logo {
  text-decoration: none;
  border: none;
}

div.header-block a.ce-logo:hover {
  background-image: none;
}

/*
div.home-blocks-top#block-1 div,
div.home-blocks-top.title-block div {
  height: 100%;
  padding: 0 32px;
  border-image: url('/user/themes/weise7-os/images/10px.png');
  border-image-width: 6px;
}

div.home-blocks-top#block-1 div:hover,
div.home-blocks-top.title-block div:hover  {
  border:solid 0px;
}
*/

/*
div.home-blocks-top#block-4:hover,
div.home-blocks-top#block-5:hover {
  /* border-image: url('/user/themes/weise7-os/images/bg-wafle.png'); */
  /* border:solid 8px #000; */
  /* background-image: url('/user/themes/weise7-os/images/bg-wafle.png'); */
/* } */


div.home-blocks-top#block-2,
div.home-blocks-top#block-5,
div.home-blocks-top.gray-bg {
    background-color:#f3f3f3;
    padding: 1rem;
}

/*
div.home-blocks-top#block-2:hover,
div.home-blocks-top.waffle-bg {
  background-image: url('/user/themes/weise7-os/images/bg-wafle.png');
  padding: 1rem;
}
*/

div.home-blocks-top img,
div.proj-blocks img {
  position:relative;
  max-height: 100%;
  min-width: 100%;
  /* min-height: 100%; */
  max-width: 100%;
}

div.proj-blocks img.original-size {
  min-width: initial;
}

div.banner-home {
  min-height: 250px;
  /* padding: 0 10px; */
  padding: 0;
  /* border: solid 16px #fff; */
  border-bottom: 2px solid;
  line-height: 0;
}

div.banner-home img {
  position:relative;
  max-height: 100%;
  min-width: 100%;
  /* min-height: 100%; */
  max-width: 100%;
}

div.banner-home p {
  line-height: 0;
  margin: 0;
}

a div.banner-home {
  color: #000000;
  text-decoration: underline;
  text-decoration: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

div.banner-home p,
div.banner-home h1, 
div.banner-home h2,
div.banner-home h3 {
  text-align: center;
  width: 100%;
  display: inline-block;
}

div.banner-home h2 {
  font-family: '7px2bus';
  font-size: 40px;
}

div.banner-home img.img-flip {
  transform: scalex(-1);
}

div.banner-home div#banner-middle {
  /* margin-top: 15%; */
  cursor: pointer;
}

/*
div.banner-home:hover {
  text-decoration: none;
  background-image: url('/user/themes/weise7-os/images/bg-wafle.png');
  color: #000000;
}
*/

div.home-blocks-top.image-block {
  line-height: 0;
}

div.home-blocks-top p > a {
  float: right;
}

div.v-divider {
  border-right: 2px solid;
}

div.v-divider.last {
  border-right: none;
}

div.h-divider {
  border-top: 2px solid;
  border-bottom: 2px solid;
}

div.h-divider.bottom {
  border-top: none;
  border-bottom: 2px solid;
  padding: 20px 0;
  line-height: 0;
}

div.h-divider.bottom:first-child {
  padding: 0 0 20px 0;
}

div.h-divider.bottom:nth-last-child(1) {
  border-top: none;
  border-bottom: none;
  /* margin-bottom: 10px; */
}

div.x-divider {
  border-top: 2px solid;
  border-right: 2px solid;
}

div.x-divider:nth-child(2n+2) {
  border-right: none;
}

div.x-divider:nth-child(1n) {
  border-top: none;
  border-bottom: 2px solid;
}

div.proj-block {
  background-color: #777;
  min-height: 400px;
  border: 20px solid white;
  border-width: 40px 20px;
}

div.proj-block-title {
  padding: 0 20px;
}

div#authors {
  text-transform: uppercase;
  font-size: 115%;
}

.pure-g {
  /* margin: 0 -38px; */
  margin: 0;
}

form#contact label {
  display: none;
}

form#contact .form-field  {
  padding: 0 0 20px 0;
}

form.listmonk-form input, 
form#contact input,
form#contact button,
form#contact textarea {
  min-width: 50%;
  max-width: 500px;
}

form#contact button#reload-captcha {
  min-width: unset;
  max-width: unset;
}

div.form-input-wrapper {
  border: none !important;
}

div.form-input-wrapper input[name=data\[basic-captcha\]] {
  min-width: unset !important;
  width: 10em;
  padding-left: 5px;
  margin-left: 10px;
}

/* Fonts */
@font-face {
  font-family: 'playregular';
  src: url('/user/themes/weise7-os/fonts/play-regular-webfont.eot');
  src: url('/user/themes/weise7-os/fonts/play-regular-webfont.eot?#iefix') format('embedded-opentype'),
       url('/user/themes/weise7-os/fonts/play-regular-webfont.woff2') format('woff2'),
       url('/user/themes/weise7-os/fonts/play-regular-webfont.woff') format('woff'),
       url('/user/themes/weise7-os/fonts/play-regular-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'playbold';
  src: url('/user/themes/weise7-os/fonts/play-bold-webfont.eot');
  src: url('/user/themes/weise7-os/fonts/play-bold-webfont.eot?#iefix') format('embedded-opentype'),
       url('/user/themes/weise7-os/fonts/play-bold-webfont.woff2') format('woff2'),
       url('/user/themes/weise7-os/fonts/play-bold-webfont.woff') format('woff'),
       url('/user/themes/weise7-os/fonts/play-bold-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'titillium';
  src: url('/user/themes/weise7-os/fonts/TitilliumWeb-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'titillium';
  src: url('/user/themes/weise7-os/fonts/TitilliumWeb-SemiBold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
    font-family: '7px2bus';
    src: url('/user/themes/weise7-os/fonts/7px2bus.woff2') format('woff2'),
        url('/user/themes/weise7-os/fonts/7px2bus.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@media screen and (max-width: 96em) {
  div.banner-home h2 {
    font-size: 30px;
  }
  div.banner-home h3 {
    font-size: 18px;
  }
}

@media screen and (max-width: 64em) {
  .wrapper { margin: 0 0.2rem; }
  .padding { padding: 0 0.2rem; }
  /* div.home-blocks-top { border: 16px; } */
  div.home-blocks-top h1 { font-size: 3rem; }
  div.home-blocks-top#block-1 div { padding: 0 22px; }
  .pure-g { margin: 0; }
  .header .wrapper { 
    margin: 0;
  }
  .main-nav {
    font-size: 0.8em;
  }

  .header-block {
    width: 80px;
    padding: 5px;
    display: block;
  }

  .header-block.middle {
    display: block;
    border-left: none;
  }

  .header-block.last {
    display: none;
  }

  .header-block-logo {
    transform: scale(.5);
  }

  div.v-divider {
    border-right: none;
  }

  div.sub-blocks-top {
    padding: 0;
  }

  .padding {
    padding: 0;
  }

  .wrapper {
    margin: 0;
  }

  div.sub-blocks-top#block-1 div {
    left: 10px;
    position: relative;
  }

  div.home-blocks-top, 
  div.proj-blocks {
    min-height: 250px;
    padding: 5px 0;
    border: none;
  }

  div.header-block {
    display: none;
  }

  .header .logo {
    text-decoration: none;
    display: block;
    line-height: 45px;
    border-bottom: 2px none;
    text-transform: uppercase;
    right: 30px;
    position: relative;
  }

  div.banner-home div#banner-middle {
    margin-top: 0;
    cursor: pointer;
  }

  div.banner-home h2 {
    font-size: 16px;

  }

  div.sub-blocks-top h3 {
    font-size: 150%;
  }

  a.banner-home {
    display: none;
  }

  a div.block-title-center p {
    font-family: '7px2bus';
    font-size: 25px;
    padding: 0 15px;
    line-height: 1.9em;
    margin: 0;
    padding: 0.3em 0.6em 0em 0.6em;
  }

  div.header-block.last {
    display: none;
  }

}

@keyframes spin {
  0% { transform: rotateY(0deg) rotateX(0deg); }
  100% { transform: rotateY(360deg) rotateX(360deg); }
}

@keyframes hide {
  0% { opacity: 0; }
  20% { opacity: 1;}
  80% { opacity: 1;}
  100% { opacity: 0; }
}

#shared-loader {
  box-sizing: border-box;
  font-family: '7px2bus';
  width: 150px;
  height: 40px;
  margin: 0;
  perspective: 800px;
  transform: scale(0.2);
  position: relative;
  top: -40px;
  left: -50px;
}
    
.cube {
  width: 200px;
  height: 200px;
  position: relative;
}

.cube:hover,
#cube-el.change {
  transform-style: preserve-3d;
  transform: translateZ(-100px);
  transition: transform 2s;
  animation: spin 2s cubic-bezier(0.5, 0.1, 0.3, 0.7) infinite;
  animation-iteration-count: 1;
}

.cube:hover .cube-face {
  animation: hide 2s; 
  animation-iteration-count: 1;
}

.cube-face {
  position: absolute;
  width: 300px;
  height: 300px;
  border: 2px solid #fff;
  line-height: 600px;
  font-size: 380px;
  font-weight: bold;
  color: rgb(0, 0, 0);
  text-align: center;
  background: #ffffff;
  opacity: 0;
}

.cube-face-front  { transform: rotateY(  0deg) translateZ(100px); opacity: 1;}
.cube-face-right  { transform: rotateY( 90deg) translateZ(-100px);}
.cube-face-back   { transform: rotateY(0deg) translateZ(-100px);}
.cube-face-left   { transform: rotateY(-90deg) translateZ(-100px); }
.cube-face-top    { transform: rotateX( 90deg) translateZ(-100px); }
.cube-face-bottom { transform: rotateX(-90deg) translateZ(-100px);}
