/*

Die Schrift EssonnesDisplay-BoldItalic fehlt.  Betroffener Text wird mit einer Ersatzschrift angezeigt.
Die Schrift EssonnesHeadline-Bold fehlt.  Betroffener Text wird mit einer Ersatzschrift angezeigt.
Die Schrift EssonnesHeadline-BoldItalic fehlt.  Betroffener Text wird mit einer Ersatzschrift angezeigt.
Die Schrift EssonnesHeadline-Regular fehlt.  Betroffener Text wird mit einer Ersatzschrift angezeigt.
Die Schrift NeuzeitGro-Bol fehlt.  Betroffener Text wird mit einer Ersatzschrift angezeigt.
Die Schrift NeuzeitGro-Lig fehlt.  Betroffener Text wird mit einer Ersatzschrift angezeigt.

*/
@keyframes splash_fade {
  0%   { opacity: 1;}
  99%  { opacity: 0; height: 100%; }
  100% { height: 0; z-index: -1; }
}

.splash {
  position: absolute;
  height: 200%;
  width: 100%;
  background: #FFF;
  top: 0;
  left: 0;
  z-index: 99;

  animation-name: splash_fade;
  animation-duration: 0.5s;
  animation-delay: 0.2s;
  animation-fill-mode: forwards;
}

body {
  font-family: "neuzeit-grotesk", sans-serif;
  background: -webkit-linear-gradient(left top, #00173F, #003650);
  background: -moz-linear-gradient(left top, #00173F, #003650);
  background: linear-gradient(to right bottom, #00173F, #003650);

  color: #F7F7F7;
  font-size: 16px;
  line-height: 1.75em;
  padding: 0;
  margin: 0;

  min-height: calc(100vh - 4em);
}

a[ng-click]{
  cursor: pointer;
}


.fixedWidth {
  width: 90%;
  max-width: 1360px;
  margin: 0 auto;
}
.fixedWidth.question {
  max-width: 800px;
}
.f50 {
  width: 50%;
  float: left;
}
.clearfix {
  clear: both;
}


.content {
  margin-top: 4em;
}


.head {
  position: fixed;
  width: calc(100% - 2em);
  top: 0;
  z-index: 2;
  overflow: hidden;
  padding: 0 1em;

  background: #003955;
  background: -webkit-linear-gradient(left, #001944, #003955);
  background: -moz-linear-gradient(left, #001944, #003955);
  background: linear-gradient(to right, #001944, #003955);

  box-shadow: 0 0.1em 0.2em rgba(0,0,0,0.1);
}
.head h1 {
  float: left;
  font-size: 20px;
  line-height: 3em;
  margin: 0;
  font-weight: normal;
}
.head h1 a {
  color: #FFF;
  text-decoration: none;
}
.head .navi { float: right; }
.head .navi a {
  display: block;
  border-left: 4px solid #002C44;
  border-width: 0 4px;
  height: 60px;
  width: 60px;
  float: left;
  color: #FFF;
  text-align: center;
  line-height: 60px;
  text-decoration: none;
}
.head .navi a:last-child {
  border-right: 4px solid #002C44;
}
.head .navi a:hover {
  background-color: #113D55;
}
.head .navi a.selected {
  background-color: #033149;
}
.head .navi a {
  background-repeat: no-repeat;
  background-position: center center;
}
.head .navi a.filters { background-image: url(icons/filter.svg);}
.head .navi a.showAll { background-image: url(icons/cards.svg);}
.head .navi a.search { background-image: url(icons/search.svg);}
.head .navi a.help { background-image: url(icons/help.svg);}



.show-all-link {
  display: block;
  margin-top: 2em;
  margin-bottom: 1em;
  color: #fff;
}
.question {
  text-align: center;
}
.question .title {
  font-size: 50px;
  line-height: 2em;
  font-weight: lighter;
}
.question .option {
  margin: auto;
  margin-top: 3em;


  box-shadow:
    1px 1px 0px 0px #FFF,
    2px 2px 0px 0px #558A94,
    4px 4px 0px 0px #FFF,
    5px 5px 0px 0px #558A94,
    7px 7px 0px 0px #FFF,
    8px 8px 0px 0px #558A94,
    10px 10px 0px 0px #FFF,
    11px 12px 0px 0px #558A94,
    13px 13px 0px 0px #FFF,   /*3D bottom border colour*/
    14px 14px 20px 0px rgba(0,0,0,0.50);

  border: 1px solid #f7f7f7;
  border-radius: 1em;

  color: #000;
  width: 300px;
  height: 450px;

  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.question .option:hover {
  box-shadow:
    1px 1px 0px 0px #FFF,
    2px 2px 0px 0px #558A94,
    5px 5px 0px 0px #FFF,
    6px 6px 0px 0px #558A94,
    9px 9px 0px 0px #FFF,
    10px 10px 0px 0px #558A94,
    13px 13px 0px 0px #FFF,
    14px 14px 0px 0px #558A94,
    17px 17px 0px 0px #FFF,
    22px 22px 20px 0px rgba(0,0,0,0.50);
}
.question .option > span {
  display: block;
  font-size: 25px;
  font-weight: bold;
  text-transform: uppercase;
  margin-top: 400px;
  font-family: "essonnes-headline",sans-serif;
}
.question .option.option-viel { background: url(icons/option_viel.png) no-repeat center center #FFF; }
.question .option.option-wenig { background: url(icons/option_wenig.png) no-repeat center center #FFF; }
.question .option.option-analytisch { background: url(icons/option_analytisch.png) no-repeat center center #FFF; }
.question .option.option-intuitiv { background: url(icons/option_intuitiv.png) no-repeat center center #FFF; }
ul.questionNavi {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 0.5em;
  top: calc(50% - 1.5em);
}
ul.questionNavi a {
  text-decoration: none;
  display: block;
  float: right;
  height: 0.5em;
  width: 0.5em;
  border-radius: 50%;
  background: #6e8795;
  margin: 0.5em;
}
ul.questionNavi a:hover {
  background: #a9b8c0;
}
ul.questionNavi a.selected {
  background: #FFFFFF;
}




.theCards {
  margin-bottom: 2em;
  overflow: hidden;
  transition: all .7s ease;
}
.flippable {
  cursor: pointer;
  float: left;
  margin: 1em;
  transition: all 0.5s ease-in-out;
}
.flippable:hover  { transform: scale(1.04); }
.flippable .face > div {
  border: 1px solid #FFF;
  border-radius: 1em;
  overflow: hidden;
}
.flippable .face .text {
  text-align: center;
  padding: 1.5em;
  text-align: left;
  font-size: 13px;
  line-height: 1.4em;
}
.face .back .text ul,
.face .back .text ol {
  margin: 0.25em;
  padding: 0;
  padding-left: 1.25em;
}
.cardImage {
  margin-top: 2em;
  height: 130px;
  background-repeat: no-repeat;
  background-position: center center;
}
.front .info p {
  margin: 0.5em 0;
}
h3 {
  text-align: center;
  font-size: 14px;
  text-transform: uppercase;
}

/* dont touch */
.flippable {
  width: 300px;
  height: 450px;
  position: relative;
  perspective: 800px;

  -webkit-user-select:none;
  -khtml-user-select:none;
  -moz-user-select:none;
  -ms-user-select:none;
  -o-user-select:none;
  user-select:none;
}
.face {
  width: 100%;
  height: 100%;
  position: absolute;
  transform-style: preserve-3d;
  transition: transform 0.75s;
}
.face > div {
  margin: 0;
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 0.25em #000;

  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.face .front {
  background: #FFF;
  color: #000;
}
.face .back {
  background: #FFF;
  color: #000;
  transform: rotateY(180deg);
}
.face.flipped {
  transform: rotateY(180deg) scale(1.04);
}
.flippable:hover .face.flipped {
  transform: rotateY(180deg) scale(1.0);
}
/* end */

h2.no-cards-found {
  font-weight: lighter;
  margin-top: 2em;
  color: #5F8FAF;
  text-shadow: 1px 1px #000;
}


.overlay {
  position: fixed;
  top: 60px;
  right: 0;
  width: 100%;
  overflow: auto;
  height: 0;
  background: #033149;
  background: rgba(3, 49, 73, 1);
  transition: 0.3s all ease;
  opacity: 0;
  box-shadow: 0 0 0.25em rgba(0,0,0,0.3);
}
.overlay.visible {
  height: calc(100% - 60px);
  opacity: 1;
  z-index: 9;
}
.overlay > div {
  padding: 1em;
}

.overlay.search {
  height: 4em !important;
  max-width: 500px;
  text-align: right;
}
.overlay.visible.search input {
  margin: auto;
  padding: 1em;
  margin: 1em;
  width: calc(100% - 2em);
  box-sizing: border-box;
}

.overlay.cardFilter {
  max-width: 300px;
}
.cardFilter .field {
  margin-bottom: 2em;
}
.cardFilter label {
  display: block;
  -webkit-user-select:none;
  -khtml-user-select:none;
  -moz-user-select:none;
  -ms-user-select:none;
  -o-user-select:none;
  user-select:none;
}
.cardFilter input[type="range"] {
  width: 100%;
}
.cardFilter output {
  float: right;
  margin-top: -0.5em;
  font-size: 14px;
}


.filter-small-answers {
  margin-top: 4em;
  padding-top: 4em;
  border-top: 1px solid rgba(255,255,255,0.2)
}
.filter-small-answers .show-all-link {
  text-align: center;
}

.cardFilter .small-answer {
  border: 1px solid #000;
  border-radius: 1em;
  height: 100px;
  width: 100px;
  float: left;
  margin-left: 1em;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: #FFF;
  position: relative;
}
.cardFilter .small-answer:after {
  text-align: center;
  display: block;
  position: absolute;
  bottom: -1.8em;
  width: 100%;
  color: #FFF;
}
.cardFilter .answer-plenty {background-image: url(icons/option_viel_small.png);}
.cardFilter .answer-plenty:after { content: 'viel'; }

.cardFilter .answer-little {background-image: url(icons/option_wenig_small.png);}
.cardFilter .answer-little:after { content: 'wenig'; }

.cardFilter .answer-analytic {background-image: url(icons/option_analytisch_small.png);}
.cardFilter .answer-analytic:after { content: 'analytisch'; }

.cardFilter .answer-intuitive {background-image: url(icons/option_intuitiv_small.png);}
.cardFilter .answer-intuitive:after { content: 'intuitiv'; }



.overlay.help { background: rgba(0,0,0,0.2); }
.overlay.help > div {
  margin: 2em;
  height: calc(100vh - 60px - 4em - 2em);
  background: #F7F7F7;
  overflow: auto;
  color: #222;
}









footer {
  text-align: center;
  margin-top: 5rem;
}
footer div {
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.3);
}
footer a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}
footer a:hover {
  color: rgba(255,255,255,0.9);
}


/* hacks */
.small85 {
  font-size: 85%;
  line-height: 1.3em;
}