/* INFO Fonts */

@import url("../resources/fonts/CallunaLight-Regular.css");
@import url("../resources/fonts/CallunaSansLight-Regular.css");

/* INFO Reset */

* {
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    line-height: normal;
    margin: 0;
    padding: 0;
    outline: none;
    text-decoration: inherit;
    /* NOTE Prevents space below image and puts images */
    vertical-align: bottom;
}

/* NOTE Remove extra space inside buttons in Firefox */
*::-moz-focus-inner {
    border: none;
    padding: 0;
}

/* INFO Responsive font size */

@media (min-width:1281px) {
    html {
        font-size: 1.125em;
    }
}

@media (min-width:1441px) {
    html {
        font-size: 1.25em;
    }
}

@media (min-width:1601px) {
    html {
        font-size: 1.375em;
    }
}

@media (min-width:1921px) {
    html {
        font-size: 1.5em;
    }
}

/* INFO Animations */

@-webkit-keyframes ShowHide
{
    from {opacity:1;}
    to {opacity:0;}
}
@keyframes ShowHide
{
    from {opacity:1;}
    to {opacity:0;}
}

@-webkit-keyframes HideShow
{
    from {opacity:0;}
    to {opacity:1;}
}
@keyframes HideShow
{
    from {opacity:0;}
    to {opacity:1;}
}

/* INFO Viewport setup */

html, body, #Viewport {
    height: 100%;
}

/* IMFO Block elements */

body {
    font-family: "CallunaSansLight-Regular";
    color: #444440;
}

blockquote:before,
blockquote:after {
    content: "\"";
}

h1,h2,h3,h4,h5,h6 {
    font-family: "CallunaLight-Regular";
}

pre {
    font-family: monospace;
    font-size: 0.75em;
    overflow: auto;
    width: 100%;
}

/* INFO Inline elements */

button,
a.Button {
    cursor: pointer;
}
button img,
a.Button img {
    width: 1em;
    height: 1em;
    vertical-align: middle;
}
button img.Throbber,
a.Button img.Throbber {
    display: none;
}
button:disabled img,
a.Button.disabled img {
    display: none;
}
button:disabled img.Throbber,
a.Button.disabled img.Throbber {
    display: inline-block;
    -moz-animation: Spin 3s linear infinite;
    -ms-animation: Spin 3s linear infinite;
    -o-animation: Spin 3s linear infinite;
    -webkit-animation: Spin 3s linear infinite;
    animation: Spin 3s linear infinite;
}

img.Icon {
    height: 1em;
    width: 1em; /* FIX SVG size in IE */
}

input {
    /* MOTE Fixes invisible elements in Chrome */
    vertical-align: middle;
}

input[type=text],
input[type=password],
input[type=email] {
    background: rgba(0,0,0,0.025);
    border: 0.0625rem solid #444440;
    border-radius: 0.25rem;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0.125em 0.25em;
}
input:-webkit-input-placeholder {
    color: inherit;
    opacity: 0.4;
    font-style: italic;
}
input:focus:-webkit-input-placeholder {
    opacity: 0.2;
}
input:-moz-placeholder {
    color: inherit;
    opacity: 0.4;
    font-style: italic;
}
input:focus:-moz-input-placeholder {
    opacity: 0.2;
}
input:-ms-input-placeholder {  
    color: inherit;
    opacity: 0.4;
    font-style: italic;
}
input:focus:-ms-input-placeholder {
    opacity: 0.2;
}

/* INFO Anti-spam contact */

.Contact .S:after {
    content: "Fraunhoferstraße 13"
}

.Contact .C:after {
    content: "24118 Kiel"
}

.Contact .T:before {
    content: "+49 431 "
}

.Contact .E:after {
    content: "@flowyapps.com"
}

/* INFO Logos */

.Logo {
    display: table;
    text-align: right;
    position: relative;
}

.Logo> h1,
.Logo.side> h1 {
    font-size: 1em !important;
    /* NOTE left: 1.125em (image width) + 0.25em (space) */
    margin: -0.25em 0px 0px 1.375em !important;
}
.Logo.below> h1 {
    margin: 0 !important;
}

.Logo> h1 sup {
    font-size: 0.2em;
    position: absolute;
    top: -0.6em;
    right: 0;
}

.Logo> h1 a {
    color: inherit !important;
}

.Logo> h1 img,
.Logo.side> h1 img {
    position: absolute;
    height: 1.125em;
    width: 1.125em; /* FIX SVG size in IE */
    top: 0;
    left: 0;
}
.Logo.below> h1 img {
    display: block;
    margin: 0 auto 0.06333em auto;
    position: static;
    height: 2.625em;
    width: 2.625em; /* FIX SVG size in IE */
}

.Logo> p,
.Logo.wide> p {
    font-size: 0.25em;
    margin-top: 0.03333em; /* NOTE -0.3em (remove line-spacing) + 0.33333em (space) */
    text-align: right !important;
}
.Logo.compact> p {
    margin-top: -0.63333em; /* NOTE -0.3em (remove line-spacing) - 0.33333em (remove space) */
}

/* Justified layout */

.Justified {
    font-size: 0.1;
    line-height: 0;
    text-align: justify;
}

.Justified> * {
    display: inline-block;
    font-size: 1rem;
    line-height: normal;
    vertical-align: top;
}

.Justified> li {
    list-style: none;
}
.Justified.cols-2> li {
    width: 45%;
}
.Justified.cols-3> li {
    width: 28.33333%;
}
.Justified.cols-4> li {
    width: 22.5%;
}

.Justified> *> *:first-child {
    margin-top: 0 !important;
}
.Justified> *> *:last-child {
    margin-bottom: 0 !important;
}

/* NOTE Generic closing elemente for justify-aligned rows */
.Justified> *.Closing {
    display: inline-block !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    max-width: none !important;
    min-height: 0 !important;
    width: 100% !important;
    height: 0 !important;
}

/* INFO Menus */

/* INFO Frames */

.Frame {
    display: inline-block;
    background: #fff;
    border: 0.0625rem solid rgba(0,0,0,0.25);
    border-radius: 0.1825rem;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0.5rem;
}

.Frame> img {
    width: 100%;
}

/* INFO Texts */

.Text {
    text-align: left !important;
}

.Text h1 {
    font-size: 2.5em;
    margin: 1em auto 0.25em auto;
}
.Text h2 {
    font-size: 2em;
    margin: 1em auto 0.25em auto;
}
.Text h3 {
    font-size: 1.75em;
    margin: 1em auto 0.28571em auto;
}
.Text h4 {
    font-size: 1.5em;
    margin: 1em auto 0.33333em auto;
}
.Text h5 {
    font-size: 1.25em;
    margin: 1em auto 0.4em auto;
}
.Text h6 {
    font-size: 1.125em;
    margin: 1em auto 0.44444em auto;
}

.Text p {
    text-align: justify;
    margin: 0.5em auto;
}

.Text li {
    margin: 0.25em auto 0.25em 2em;
}

.Text a[href] {
    color: #f16b53;
}

.Text small {
    font-size: 0.75em;
}

/* INFO Page */

.Page {
    height: 100%;
}

.Page> header {
    overflow: hidden;
    position: fixed;
    height: 89%;
    width: 100%;
    /* NOTE Desktop web save area */
    min-height: 32em;
    min-width: 53em;
}

.Page> header .Logo {
    font-size: 4em;
    margin-top: 0.25em;
    position: absolute;
    top: 5%;
    left: 5%;
}

.Page> header .Menu {
    display: inline-table;
    margin-top: 0.75em;
    position: absolute;
    top: 5%;
    right: 5%;
}
.Page> header .Menu> * {
    display: table-cell;
    padding: 0 0.5em;
}
.Page> header .Menu> *.Social {
    padding-right: 0;
}

.Page> header .Stage {
    margin-bottom: -1em; /* NOTE Height of stage content */
    position: absolute;
    bottom: 50%;
    left: 0;
    width: 100%;
}

.Page> header .Slogan {
    font-size: 3em;
    text-align: center;
}

.Page> .Edge {
    position: relative;
    min-width: 53em;
    top: 89%;
    /* NOTE Fix mobile safari scrolling */
    -webkit-transform: translateZ(1px);
}

.Page> .Edge .Border {
    background: url("/resources/images/edge_border.png");
    background-position: center top;
    background-size: auto 200%;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 0.5em;
    width: 100%;
}

.Page> .Edge .Button {
    display: inline-table;
    overflow: hidden;
    text-align: center;
    position: absolute;
    bottom: -2em;
    left: 0;
    width: 100%;
    height: 2em;
}

.Page> .Edge .Button img {
    height: 4em;
    width: 4em;
}

.Page> section {
    background: #fffdf5;
    padding: 2em 5% 2.5em 5%;
    text-align: center;
    position: relative;
    min-width: 53em;
    top: 89%;
    /* NOTE Fix mobile safari scrolling */
    -webkit-transform: translateZ(1px);
}
.Page> section:nth-child(even) {
    background: #fff9e6;
    border: 0 solid rgba(0,0,0,0.25);
    border-width: 0.0625rem 0;
}
.Page> .Edge+section {
    padding-top: 1em;
}

.Page> section> * {
    max-width: 70rem;
    margin: 2rem auto;
}
.Page> section> *:first-child {
    margin-top: 0 !important;
}
.Page> section> *:last-child {
    margin-bottom: 0 !important;
}

.Page> section> .Justified.cols-2 {
    max-width: 50em;
}
.Page> section> .Justified.cols-3 {
    max-width: 60em;
}
.Page> section> .Justified.cols-4 {
    max-width: 70em;
}

.Page> section> .Justified.cols-2> li {
    max-width: 27em; /* NOTE 60em / 4 */
}
.Page> section> .Justified.cols-3> li {
    max-width: 17em
}
.Page> section> .Justified.cols-4> li {
    max-width: 13.5em;
}

.Page> section> h3 {
    font-size: 2em;
}

.Page> section> h4 {
    font-size: 1.5em;
}

.Page> section a[href] {
    color: #f16b53;
}

.Page> section> .Outro,
.Page> section> .Summary {
    font-size: 1.125em;
    text-align: center;
}
.Page> section> h3+.Summary,
.Page> section> h4+.Summary {
    margin-top: -1rem;
}

.Page> footer {
    background: #fffdf5;
    margin: 0 auto;
    padding: 2em 5%;
    text-align: center;
    position: relative;
    min-width: 53rem;
    top: 89%;
    /* NOTE Fix mobile safari scrolling */
    -webkit-transform: translateZ(1px);
}
.Page> section:nth-child(odd)+footer {
    background: #fff9e6;
    border: 0 solid rgba(0,0,0,0.25);
    border-width: 0.0625rem 0 0 0;
}

.Page> footer .Contact {
    font-size: 0.75em;
    list-style: none;
}
.Page> footer .Contact li {
    display: inline-block;
    margin: 0 0.5em 0 0;
}
.Page> footer .Contact li:first-child {
    margin: 0 3em 0 0;
}

.Page> footer .Contact .E:after {
    content: "";
}

.Page footer .Languages {
    font-size: 0.865em;
    list-style: none;
    position: fixed;
    top: 0;
    right: 0;
}

.Page footer .Languages li {
    display: inline-block;
    margin: 0.5em 0.5em 0 0;
}
