/*****************************************

	Variables

*****************************************/

@default-blue: #0000ff;
@default-red: #ff0000;
@default-green: #00fa5a;
@default-black: #000000;
@default-grey: #999999;
@default-border-color: #929292;
@default-font-weight: 400;
@default-big-font-size: 2.2em;
@default-small-font-size: 1.8em;
@filter-font-size: 1.2em;

@default-element-width: 219px;
@default-element-height: 297px;
@default-element-innter-width: 209px;
@default-element-innter-height: 288px;

@default-element-back-width: 209px;
@default-element-back-height: 308px;

@mobile-element-width: 212px;
@mobile-element-height: 311px;
@mobile-element-innter-width: 203px;
@mobile-element-innter-height: 302px;

@mobile-element-back-width: 202px;
@mobile-element-back-height: 252px;

@default-text-width: 600px;
@default-line-height: 130%;

@default-font-family: Helvetica, Arial, sans-serif;

/*****************************************

	Mixins

*****************************************/

.default-header-text {
  font-size: @default-big-font-size;
  font-weight: @default-font-weight;
  line-height: @default-line-height;
}

/*------- clearfix ----------------*/

.clearfix {

  &:after {
    clear: both;
    content: ' ';
    display: block;
    font-size: 0;
    line-height: 0;
    visibility: hidden;
    width: 0;
    height: 0;
  }

  display: inline-block;
}

* html .clearfix {
  height: 1%;

}

.clearfix {
  display: block;
}

#paginator {
  display: none;
}


/* =============================================================================
   HTML5 Boilerplate CSS: h5bp.com/css
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
html, button, input, select, textarea { font-family: sans-serif; color: #222; }
body { margin: 0; font-size: 1em; line-height: 1.4; }

::-moz-selection { background: #0000ff; color: #fff; text-shadow: none; }
::selection { background: #0000ff; color: #fff; text-shadow: none; }

a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }

abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }

sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

svg:not(:root) { overflow: hidden; }

figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }




/* =============================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {
	/* Style adjustments for viewports that meet the condition */
}

/* =============================================================================
   Non-Semantic Helper Classes
   ========================================================================== */

.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }

/* =============================================================================
   Print Styles
   ========================================================================== */

@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}


/*****************************************

	Defaults

*****************************************/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

}

html {
  font-size: 62.5%;
  height: 100%;
}

body {
  position: relative;
  font-size: 1em;
  line-height: @default-line-height;
  font-weight: @default-font-weight;
  font-family: Helvetica, Arial, sans-serif;
  //border: 1px solid @default-green;
  //min-width: 480px;
}

ul, ol {
  padding: 0px;
  margin: 0px;
}

.fancybox-is-open {
  transform: translateZ(1000px);

  .fancybox-bg {
    background-color: rgb(255, 255, 255);
    opacity: 1;
  }
}

.fancybox-close {
  position: fixed;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  z-index: 8040;
}

.fancybox-button {
  padding: 0;

  svg {
    max-width: 28px;
    width: 100%;
  }
}

#fancybox-overlay,
.fancybox-bg {
  background-color: #FFFFFF;
  /*perspective: 1000;
  -webkit-perspective: 1000;
  -moz-perspective: 1000;*/
  //-webkit-transform: translate3d(0,0,0);
  //transform: translate3d(0,0,0);

}

.fancybox-button {
  background: transparent;
  color: inherit;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  display: inline-block;
  height: auto;
  margin: 0;
  padding: 10px;
  position: relative;
  transition: color .2s;
  vertical-align: top;
  visibility: inherit;
  width: auto;
  color: #000000;

  &:hover {
    color: #000000;
  }
}

.fancybox-button--play,
.fancybox-button--pause {
  position: fixed;
  bottom: 10px;
  left: ~"calc(50% - 22px)";
  color: #ffffff;

  &:hover {
    color: #ffffff !important;
  }
}

.fancybox-toolbar,
.fancybox-button--arrow_left,
.fancybox-button--arrow_right {
  opacity: 1 !important;
  visibility: visible !important;
  color: #ffffff;

  &:hover {
    color: #ffffff !important;
  }
}


.fancybox-progress {
  background: #0000ff;
}

.fancybox-button[disabled] {
  display: none;
}

a:link {
  color: @default-black;
  text-decoration: none;
}

a:visited {
  color: @default-black;
  text-decoration: none;
}

a:hover {
  color: @default-blue;
  text-decoration: none;
}

a:active {
  color: @default-black;
  text-decoration: none;
}

.underline {
  text-decoration: underline !important;
}

.no-underline {
  text-decoration: none !important;
}

/*-------- Infinite Loading ----------------*/

#infscr-loading {
  .clearfix;

  margin: 20px 0px;

  img {
    float: left;
    margin-right: 5px;
  }

}

#homeVideo_wrapper {
  border: 1px solid @default-blue;
  margin-bottom: 20px;
}

.fancybox-title {
  color: @default-black;
  font-size: 1.2em;
  font-weight: @default-font-weight;
  font-family: @default-font-family;
}

.fancybox-inner {
  font-size: 3.4em;
  color: @default-black;
  font-weight: @default-font-weight;
  font-family: @default-font-family;
  line-height: @default-line-height;
}

.fancybox-desktop.comic .fancybox-skin, .fancybox-mobile.comic .fancybox-skin {
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  -ms-box-shadow: none;

}

.fancybox-title img {
  display: none;
}

#gallery-fake {
  display: none;
}

/*****************************************

	CSS3 Flip

*****************************************/

#gallery .element, #comic .element.gallery {
  position: relative;
  z-index: 1;
  /*perspective: 550;
  -webkit-perspective: 550;
  -moz-perspective: 550;*/
  //width: @default-element-width;
  //height: @default-element-height;
  //width: 22%;

  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;

  .element-container {
    //width: @default-element-width;
    //height: @default-element-height;

    transition: 0.6s;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;

    position: relative;

    /*
            transform-style: preserve-3d;
            transition: all 0.2s linear;
            -webkit-transform-style: preserve-3d;
            -webkit-transition: all 0.2s linear;
            -moz-transform-style: preserve-3d;
            -moz-transition: all 0.2s linear;
    */
  }

  &:hover {
    .element-container {
      /*
                  transform: rotateY(180deg);
                  -webkit-transform: rotateY(180deg);
                  -moz-transform: rotateY(180deg);
      */
    }

    .front {
      transform: rotateY(180deg);
      -webkit-transform: rotateY(180deg);
      -moz-transform: rotateY(180deg);
    }

    .back {
      transform: rotateY(0deg);
      -webkit-transform: rotateY(0deg);
      -moz-transform: rotateY(0deg);
    }
  }

  .front, .back {
    /*width: @default-element-width;
    height: @default-element-height;
    position: absolute;*/
    display: block;
    /*width: 100%;
    height: 100%;*/
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    background-color: #fff;
    box-shadow: 1px 1px 0px #000,
    2px 2px 0px #000,
    3px 3px 0px #000,
    4px 4px 0px #000,
    5px 5px 5px rgba(0, 0, 0, 0.6);
    transition: 0.6s;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;

  }

  .front .element-wrapper img {
    //width: 158px;
  }

  .back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotateY(180deg);
    box-sizing: border-box;
    -webkit-transform: rotateY(180deg);
    -webkit-box-sizing: border-box;
    -moz-transform: rotateY(180deg);
    -moz-box-sizing: border-box;

    font-size: @default-small-font-size;
    text-align: center;
    line-height: @default-line-height;

    .element-wrapper {
      height: 100%;

      div {
        display: flex;
        flex-direction: column;
        justify-content: center;
        //padding-top: 30px;
        height: 100%;
        //border: 1px solid @default-border-color;
        //width: @default-element-back-width;
        //height: @default-element-back-height;
        /*width: 209px;
        height: 259px;*/
        background-color: #e6e6e6;
      }
    }

    a {
      color: @default-black;
      text-decoration: underline;

      &:hover {
        color: @default-blue;
      }
    }

    p {
      margin-bottom: 1em;
    }
  }
}

/*****************************************

	Icons

*****************************************/

.icon {
  background-position: top left;
  background-repeat: no-repeat;
  padding-bottom: 1px;
  padding-left: 35px;
  color: @default-blue;

  &:hover {
    background-position: bottom left;
    color: @default-red;
  }

  &.doc {
    padding-bottom: 2px;
    padding-top: 2px;
    background-image: url(../images/icons/icon-doc.png);
    background-position: 0px 0px;
    line-height: 140%;

    &:hover {
      background-position: 0px -28px;
    }
  }

  &.link {
    background-image: url(../images/icons/icon-eye.png);
    background-position: 0px 0px;

    &:hover {
      background-position: 0px -21px;
    }
  }
  &.form-info {
    background-image: url(../images/icons/icon-info.png);
    display: inline;
    float: none;
    background-position: 0px 0px;
    line-height: 22px;
    margin-top: -5px;
    text-indent: 0;
    padding: 0px;
    padding-left: 29px;
    padding-bottom: 2px;

    &:hover {
      background-position: 0px -33px;
    }
  }
}

.formtext, .formcheckbox {
  .icon {
    &.form-info {
      display: block;
      float: left;
      margin-top: 0px;
      width: 22px;
      height: 21px;
      margin-left: 10px;
    }
  }
}

.formcheckbox {
  .icon {
    &.form-info {
      margin-left: 0px;
    }
  }
}

/*****************************************

	Layout

*****************************************/

#page {
  width: 100%;
  padding: 0 15px;
  //max-width: 960px;
  //min-width: 420px;
  //margin: 0 auto;

  #main {
    padding-top: 116px;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;

    .next {
      font-size: 1.4em;
    }

    .claim {
      display: none;
      .default-header-text;

      font-size: @default-small-font-size;
      margin-right: 15px;
      margin-left: 15px;
      text-align: left;
      color: @default-green;
      border-left: 2px solid @default-green;
      padding-left: 10px;
      padding-right: 10px;

      a {
        color: @default-green;
      }
    }
  }

  /*-------- Header / Navigation ----------------*/
  header {
    position: fixed;
    display: block;
    top: 0px;
    left: 0px;
    height: 126px;
    border-bottom: 0px;
    border-right: 0px;
    background-color: rgba(255, 255, 255, 0.95) !important;
    background-color: #fff;
    padding: 10px;
    width: 100%;
    z-index: 9;
    //-webkit-transform: translateZ(2000) perspective(2000);
    .container {
      width: 100%;
      //max-width: 895px;
      //margin: 0 auto;
      position: relative;
      top: 0px;
      height: 65px;
      border: 1px solid transparent;

      h1, li {
        .default-header-text;
      }

      h1 {
        float: left;

        img {
          &.big {
            display: block;
            margin-left: 15px;
            margin-top: 10px;
          }

          &.small {
            display: none;
            margin-top: 10px;
          }
        }
      }

      .claim {
        display: none;
        .default-header-text;

        font-size: @default-small-font-size;
        position: absolute;
        top: 196px;
        right: 5px;
        text-align: right;
        color: @default-green;
        border-right: 2px solid @default-green;
        padding-right: 5px;
        width: 200px;

        a {
          color: @default-green;
        }
      }

      .nav {
        //float: right;
        margin: 0;
        margin-top: 5px;
        padding: 0;
        //margin-right: 20%;
        list-style: none none;
        position: absolute;
        right: 20px;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;

        li {
          float: left;
          padding: 1px 10px;

          &:last-child {
            padding-right: 0px;
          }

          &.active {
            a {
              color: @default-blue;
            }
          }
        }
      }

      .nav__mobile-wrapper {
        display: none;
      }

      .nav__mobile-inner {
        display: flex;
        width: 100%;
        justify-content: flex-start;
        background: #ffffff;
        padding-left: 10vw;
      }

      .mobile__toggle {
        &:focus {
          outline: none !important;
        }

        > img {
          width: 80%;
        }
      }

      #buy-btn {
        position: absolute;
        right: 10px;
        top: 0px;
        .default-header-text;
        line-height: @default-line-height;
        padding-left: 35px;
        padding-top: 5px;
        padding-bottom: 0px;
        background: url(../images/icons/icon-buy.png) 0px 0px no-repeat;

        &:hover, &.active {
          background-position: 0px -36px;
          color: @default-blue;
        }
      }
    }

    /*-------- Small Header Adaptions ----------------*/

    &.small {
      height: 60px;

      .container {
        //height: 60px;

        p {
          display: none;
        }

        h1 {
          img {
            &.big {
              display: none;
            }

            &.small {
              display: block;
            }
          }
        }
      }
    }

    /*-------- Gallery specifiy Header ----------------*/

    &.gallery {
      p {
        display: none;
      }

      h1 {
        img {
          &.big {
            display: block;
          }

          &.small {
            display: none;
          }
        }
      }

      #filters {
        display: block;
      }
    }

    /*-------- Home specifiy Header ----------------*/

    &.home {
      .claim {
        display: block;
      }
    }
  }

  /*-------- Gallery Sort Header ----------------*/

  /*#filters-sort {
    border: 1px solid @default-border-color;
    padding: 20px;
    margin: 0 15px;
    margin-bottom: 20px;
    display: none;
    .clearfix;

    ul {
      float: left;
      width: 50%;

      list-style: none none;

      li {
        line-height: @default-line-height;
        font-size: @filter-font-size;
        margin-bottom: 10px;

        a {
          color: @default-grey;
          display: block;
          width: 90%;

          &:hover {
            color: @default-blue;
          }
        }

        &.active a {
          color: @default-blue;
        }
      }
    }
  }*/

  /*****************************************

      Content

  *****************************************/

  section {
    //padding: 0 15px;
    margin-bottom: 100px;
    //.clearfix;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;

    &#about {
      .clearfix;
      display: block;
      flex-wrap: initial;
      justify-content: initial;
    }

    .level {
      border-left: 2px solid @default-blue;
      padding-left: 10px;
      color: @default-blue;

      img.border {
        border: 1px solid @default-blue;
      }
    }

    .text-element {
      font-size: @default-small-font-size;
      max-width: @default-text-width;
      line-height: @default-line-height;
      color: @default-blue;

      p, ul, ol {
        margin-bottom: 1.2em;
      }

    }
  }

  /*---------- Home Style ------------*/

  #home {

    padding-top: 80px;

    .text-element {

      padding-bottom: 80px;

      h2 {
        font-size: 1em;
        font-weight: @default-font-weight;
        color: @default-black;
        margin-bottom: 1.2em;
      }
    }
  }

  /*---------- Gallery & Comic Style ------------*/

  #gallery, #comic {

    .element {

      //float: left;
      //margin: 0px 10px 10px 0px;
      margin: 1%;
      width: 23%;

      .element-wrapper {
        //-webkit-transform: translatez(1px);
        //width: @default-element-innter-width;
        //height: @default-element-innter-height;
        //padding-right: 9px;
        //padding-bottom: 9px;
        //background: url(../images/backgrounds/bg-portrait.png) no-repeat bottom right;
        //background-size: @default-element-innter-width @default-element-innter-height;

        .element-wrapper-info {
          padding: 0px 5px;
          width: auto;
          height: 195px; //145px;
        }

        .element-wrapper-fullscreen {
          padding-top: 10px;
          width: 100%;
          height: 30px;
        }

        img {
          //width: 208px; //158px;//@default-element-innter-width;
          //height: 288px; //@default-element-innter-height;
          width: 100%;

          &.icon {
            width: auto;
            height: auto;
            padding: 0px;
          }
        }
      }
    }
  }

  #comic {
    .element {
      .element-wrapper {
        background: none;
      }

      &.text {
        .element-wrapper {
          font-size: @default-small-font-size;
          //height: 268px;
          padding-top: 20px;
          line-height: @default-line-height;
        }
      }

      &.gallery {
        .element-wrapper {
          background: url(../images/backgrounds/bg-portrait.png) no-repeat bottom right;
        }
      }
    }
  }

  /*---------- About Style ------------*/

  #about {
    max-width: 940px;
    margin: auto;

    h2 {
      .default-header-text;
      .clearfix;

      font-size: @default-big-font-size;
      max-width: 1280px;
      cursor: pointer;
      width: 100%;

      &:hover, &:hover a {
        color: @default-blue;
      }
      &:focus {
        outline: none;
      }
      &:active {
        outline: none;
      }

      margin-top: 0px;
      margin-bottom: 0px;

      span {
        float: left;
        max-width: 550px;
      }

      span.number {
        width: 50px;
      }

      &.margin-top {
        margin-top: 2em;
      }

      &.active {
        color: @default-blue;

        a {
          color: @default-blue;
          &:after {
            content: ':';
          }
        }
      }
    }

    p, ul, ol, img {
      margin-bottom: 1em;
    }

    article {
      padding-top: 5px;

      max-width: 1280px;
      font-size: @default-small-font-size;
      line-height: @default-line-height;

      h3 {
        font-style: @default-big-font-size;
        margin-bottom: 1em;
        font-weight: @default-font-weight;
      }

      a {
        text-decoration: underline;
        color: @default-blue;

        &:hover {
          color: @default-red;
        }
      }

      img.border {
        margin-bottom: 0.2em;
      }

      .legend {
        font-size: 0.7em;
        line-height: 120%;
        display: block;
        margin-bottom: 2em;

      }
    }

    .geyst_logo {
      width: 170px;
    }

  }
}

/*********************************************************************

		FORMULAR START

*********************************************************************/

#rex-xform {
  /*----- GENERALS -----------------------------------------*/

  .costs1 {
    .default-header-text;
    float: left;
    clear: both;
  }

  .costs2 {
    .default-header-text;
    font-size: 1.7em;
    float: left;
    clear: both;
  }

  #more-people {
    clear: both;
    float: left;
    .clearfix;
  }

  .duty {
    clear: both;
  }

  p a {
    color: @default-blue;

    &:hover {
      text-decoration: underline;
    }
  }

  .clearfix;

  position: relative;
  color: @default-blue;

  form#form_formular {
    border-left: 2px solid @default-blue;
    padding-left: 15px;
  }

  .text_name {
    label {
      display: none;
    }
  }

  .error {
    label:first-child {
      color: #ff0000;
    }
  }

  p {
    .clearfix;
    line-height: 150%;

    label {
      float: left;
      padding-top: 4px;
      padding-right: 10px;
      font-size: @default-small-font-size;
      line-height: 120%;
    }
    input {
      float: left;

      &.text {
        float: left;
        padding: 1px 0px;
        font-size: @default-small-font-size;
        color: @default-black;
        width: 335px;
        border: none;
        margin: 0px 0 0 0px;
        position: relative;
        // background: transparent url(../images/backgrounds/bg-input-text.png) repeat-x left bottom;
        border-bottom: 1px dotted @default-blue;
        font-family: @default-font-family;
        background: none;

      }
    }
  }

  fieldset {
    .clearfix;

    clear: both;
    border: 0px;
    padding: 0;
    margin: 20px 0 0 0;

    legend {
      .clearfix;

      clear: both;
      font-size: @default-small-font-size;
      color: @default-blue;
      padding: 5px 0;
      line-height: 120%;
    }

  }

  div.toggle {
    .clearfix;

    clear: both;
    margin: 0;
    padding: 5px 0 15px 10px;
    border-left: 2px solid @default-red;
    margin-left: -10px;

    fieldset {
      .clearfix;

      margin: 0;
      padding: 0;

      legend {
        .clearfix;

        clear: both;
        font-size: @default-small-font-size;
        color: @default-blue;
        padding: 5px 0;
      }

    }
  }

  /*----- INPUT / TEXTAREA -----------------------------------------*/

  p {

    &.formtext,
    &.formmediafile {
      .clearfix;

      clear: both;

      input {
        color: @default-black;
      }
    }

    &.formmediafile {
      margin-top: 5px;

      input {
        margin-left: 10px;
        margin-top: 5px;
      }
    }

    &.formtextarea {
      label {

      }

      textarea {
        float: left;
        width: 335px;
        padding: 5px 0;
        font-size: 13px;
        background: #fff;
        resize: none;
        color: @default-black;
      }
    }

    &:first-child {
      margin: 0;
    }
  }

  select {
    float: left;
    margin-top: 5px;
    width: 335px;
  }

  p + p {
    &.radio,
    &.formradio {
      margin-top: 3px;
    }
  }

  p + p {
    &.formcheckbox {
      margin-top: 3px;
    }
    &.formcheckbox.formcheckboxlist {
      margin-top: 0px;
    }
  }

  /*----- CHECKBOX -----------------------------------------*/

  .formcheckbox {
    float: left;
    padding-right: 0;
    margin-top: 20px;

    &.formcheckboxlist {

      margin-left: 0px;

      span.checkbox {
        width: 230px;
        margin-left: 0px;
      }
    }

    label {
      float: left;
      width: auto;
      margin-left: 10px;
      padding-top: 2px;
    }

    span.checkbox {
      padding-left: 10px;
      float: left;
      width: 315px;
    }

    input {
      margin-top: 8px;
    }
    label {
      margin-top: 0px;
    }
  }

  legend {

    + p.formcheckbox {
      margin-top: 0;
    }
  }

  p + p.label {
    padding-top: 8px;
  }
  p.label {

    font-size: @default-small-font-size;
    line-height: 120%;
  }

  /*----- RADIO -----------------------------------------*/

  p.formradio {
    float: left;
    padding-right: 0;
    margin-top: 20px;

    label {
      .clearfix;

      clear: both;
      padding: 5px 0;
    }
  }

  form > p,
  form > div.duty:first-child p {
    &.formradio {
      &:first-child {
        margin-top: 0;
      }
    }
  }

  .radios {
    .clearfix;

    clear: both;
    display: block;
    margin-top: 15px;
    margin-bottom: 15px;

    label {
      float: left;
      width: auto;
      margin-left: 10px;
    }

    p.radio {
      .clearfix;

      clear: both;

      input {
        margin-top: 8px;
      }
      label {
        margin-top: 0px;
      }
    }

    div.radio {
      .clearfix;

      margin-top: 0;

      label {
        float: left;
        padding-top: 4px;
        margin-top: 0px;
        font-size: @default-small-font-size;
      }

      .error {
        &.formtext input {
          &.text {
            border-bottom-color: #ff0000;
          }
        }
      }

      input {
        float: left;
        margin-top: 8px;
        background: none;
      }

      div.input_name {
        float: left;

        input {
          width: 450px;
          margin: 0 0 0 15px;
          padding: 0;
          font-size: @default-small-font-size;
          color: @default-black;
          font-family: @default-font-family;
        }
      }
    }
    .radio {
      padding-left: 0px !important;
    }
  }

  /*----- SUBMIT -----------------------------------------*/

  .formsubmit {
    .clearfix;

    clear: both;
    width: auto;
    margin-top: 20px;

    .submit {
      display: block;
      line-height: 22px;
      font-size: @default-small-font-size;
      color: @default-blue;
      font-weight: normal;
      height: 27px;
      border: none;
      padding-left: 45px;
      background: transparent url(../images/icons/icon-mail.png) no-repeat 0 0;
      font-family: @default-font-family;

      &:hover {
        color: @default-red;
        background: transparent url(../images/icons/icon-mail.png) no-repeat 0 -55px;
      }

    }

    .submit_loader {
      position: relative;
      margin: 12px 0 0 20px;
    }

  }

  /*----- FORM WARNING -----------------------------------------*/

  p.validate {
    float: left;
    margin-top: 7px !important;
  }

  ul.form_warning, .validate_msg {
    li {
      color: #006483;
    }
  }

  /*------------------------------------------------------------*/

}

/*----- TOOL TIP -----------------------------------------*/

#form-tooltips {
  display: none;
}

/*----- DSGVO -----------------------------------------*/
.cc-link {
  padding: 0 !important;
}

.gdpr {
  margin-top: 40px;

 p {
   font-size: 1.8em;
   line-height: 1.8;
   margin-bottom: 25px;
 }
}

/*------------------------------------------------------------*/

/*----- Mediaquerys -----------------------------------------*/

@media only screen and (max-width: 800px) {

  #page {
    /*    header {
          .container {
            .nav {
              margin-right: 30%;
            }
          }

          &.home {
            .container .nav {
              margin-right: 0;
              margin-top: 40px;
            }
          }
        }*/
  }
}

@media only screen and (max-width: 700px) {
  #page {
    header {
      &.home {
        .claim {
          display: none;
        }
      }
    }

    #home {
      padding-top: 20px;
    }

    #main {
      .claim.home {
        display: block;
        margin-top: 40px;
      }
    }

  }

  #rex-xform {
    label {
      max-width: 400px;
    }

    p.formtext {
      input {
        max-width: 200px !important;
      }
    }
  }
}

@media only screen and (max-width: 620px) {

  .fancybox-inner {
    font-size: 2.4em;
  }

  #page {
    header {
      .container {
        h1 {
          a {
            .big {
              display: none;
            }

            .small {
              display: block;
            }
          }
        }
      }
    }
    /*    header {
          .container {
            .nav {
              float: right;
              clear: both;
              margin: 10px 0px;
              position: absolute;
              top: 30px;
              right: 5px;
            }

            #filters {
              margin-top: 77px;

              .meta {
                li {
                  margin-right: 0.5em;

                  input {
                    width: 150px;
                  }
                }
              }
            }
          }
        }*/
  }
}

@media only screen and (max-width: 500px) {

  .fancybox-next span {
    right: 1px;
  }

  .fancybox-prev span {
    left: 1px;
  }

  /*****************************************

      CSS3 Flip

  *****************************************/
  /*  #gallery .element, #comic .element.gallery {
      width: @mobile-element-width;
      height: @mobile-element-height;

      .element-container {
        width: @mobile-element-width;
        height: @mobile-element-height;
      }

      .front, .back {
        width: @mobile-element-width;
        height: @mobile-element-height;
      }

      .back {
        .element-wrapper {
          div {
            padding-top: 50px;
            width: 209px;
            height: 259px;

            //width: @mobile-element-back-width;
            //height: @mobile-element-back-height;
          }
        }
      }
    }*/
  /*****************************************

      Icons

  *****************************************/
  .icon {

    &.doc {
      padding-bottom: 0px;
      padding-top: 0px;
      background-position: 0px 4px;
    }

    &.link {
      background-position: 0px 6px;
    }
  }

  #page {
    //max-width: 480px;

    #about h2 span {
      width: ~"calc(100% - 50px)";
    }

    #comic {
      .element {
        margin: 2%;
        width: 46%;

        &.text {
          p {
            font-size: 14px;
          }
        }
      }
    }

    #gallery {
      .element {
        margin: 2%;
        width: 46%;
      }
    }

    section {
      padding: 0;
    }

    header {
      height: 58px;

      &.small {
        //height: 70px;
      }

      .container {
        max-width: 478px;

        .nav {
          display: none;
        }

        .nav__mobile-wrapper {
          display: block;

          > a {
            position: absolute;
            right: 0;
            top: 5px;
          }

          .nav__mobile {
            display: none;
            margin-top: 2vh;
            background: #FFFFFF;
            height: 100vh;
            padding-top: 10vh;

            &.open {
              display: block;
            }

            li {
              margin-bottom: 30px;
              list-style: none;
              //text-align: center;

              &:last-child {
                margin-bottom: 0;
              }

              a {

                &:hover {
                  color: #0000ff;
                }

              }
            }
          }

        }

      }

      h1 {
        img {
          &.big {
            max-width: 180px;
          }

          &.small {
          }
        }
      }

      &.home {

        .claim {
          display: none;
        }

        #buy-btn {
          .default-header-text;
          line-height: @default-line-height;
          margin-right: 0px;

          font-size: @default-small-font-size;
          padding-bottom: 8px;

          background: url(../images/icons/icon-buy-blue.png) top left no-repeat;
          display: inline;

          &:hover, &.active {
            background-position: bottom left;
          }
        }

      }
    }

    #main {
      .claim {
        margin-top: 0px;
      }
    }

    /*---------- Gallery & Comic Style ------------*/

    /* #gallery, #comic {

       .element {
         .element-wrapper {
           //width: @mobile-element-innter-width;
           //height: @mobile-element-innter-height;
           background: url(../images/backgrounds/bg-portrait-big.png) no-repeat bottom right;

           img {
             width: 100%;
             //width: 202px; //@mobile-element-innter-width;
             //height: @mobile-element-innter-height;
           }
         }

         !*        &:nth-child(2) {
                   margin-right: 0;
                 }*!
       }
     }

     #comic {
       .element {
         .element-wrapper {
           background: none;
         }

         &.text {
           .element-wrapper {
             //height: 282px;
           }
         }

         &.gallery {
           .element-wrapper {
             background: url(../images/backgrounds/bg-portrait-big.png) no-repeat bottom right;
           }
         }
       }
     }

     #filters-sort {
       ul {
         li {
           width: 50%;
         }
       }
     }
 */
    /*---------- About Style ------------*/

    #about {

      h2 {
        font-size: 2.6em; //changed

        span {
          max-width: 400px;
        }
      }

      article {
        font-size: 2.4em; //changed
      }
    }
  }
}

@media only screen and (max-width: 374px) {

  #page #gallery .element .element-wrapper .element-wrapper-info, #page #comic .element .element-wrapper .element-wrapper-info {
    height: 145px
  }

  #gallery .element .back p, #comic .element.gallery .back p {
    font-size: 0.7em;
    margin-bottom: 0em;

    br + br {

      display: none;
    }
  }

  #page {
    #gallery {
      width: 100%;
      max-width: 320px;
      margin: 0;

      .element {
        //width: 100%;

        .element-container {
          margin: 0 auto;
        }
      }
    }
  }
}

@media only screen and (max-width: 320px) {
  #page {
    #about {
      h2 {
        font-size: 2em;
        margin-bottom: 10px;
      }
    }
  }
}

/*------------------------------------------------------------*/