﻿
@import url(https://fonts.googleapis.com/css?family=Raleway:300,300i,400,400i,500,500i,700,700i);

body {
    color: #FFF;
    font-family: 'Raleway', sans-serif;
    min-width: 960px;
    top: 0;
    left: 0;
    position: absolute;
    height: 100%;
    width: 100%;
    margin: 0;
    background-size: cover;
}

h3 {
    font-size: 25px;
    margin: 0.2em 0;
}

h4 {
    margin-bottom: 5px;
}

p, pre {
    margin: 0 0 10px 0;
}

a {
    color: rgba(255, 255, 255, 0.57);
    text-decoration: none;
}

    a:hover {
        color: #BBB;
    }

#Header {
    position: relative;
    width: 100%;
    z-index: 1;
}

.logo {
    width: 80%;
    max-width: 480px;
    margin: 50px auto;
    display: block;
}

.wrapper {
    margin: 0 auto;
    position: relative;
    width: 920px;
    z-index: 1;
}

.footer {
    display: block;
    text-align: center;
    margin-top: 40px;
}

#Content h2 {
    margin: 5px 0 45px;
    padding: 0px;
    text-align: center;
    font-size: 28px;
    font-weight: 300;
    color: #fff;
    line-height: 36px;
}

#Content h3 {
    text-align: center;
    font-size: 20px;
    font-weight: normal;
    display: block;
    clear: both;
    margin: -35px 0 45px;
}

#form p {
    text-align: center;
}

#form input {
    outline: none;
    background: rgba(255, 255, 255, 0.52);
    color: #000;
    vertical-align: middle;
    width: 293px;
    border: 1px solid rgba(255, 255, 255, 0.76);
    padding: 0 10px;
    height: 40px;
}

    #form input[type="button"] {
        background: rgba(255, 255, 255, 1);
        width: auto;
        padding: 0px 25px;
        cursor: pointer;
        margin-left: 0px;
        font-weight: bold;
        height: 42px;
        display: inline-block;
    }

    #form input[type="submit"] {
        background: rgba(255, 255, 255, 1);
        width: auto;
        padding: 0px 25px;
        cursor: pointer;
        margin-left: -5px;
        font-weight: bold;
        height: 42px;
        display: inline-block;
    }

        #form input[type="submit"]:disabled {
            background: #ccc;
            color: dimgray;
        }

.intro {
    font-size: 22px;
    font-weight: normal;
    margin-bottom: 30px;
}

#overlay {
    background: rgba(0, 0, 0, 0.14);
    position: fixed;
    top: 0px;
    width: 100%;
    bottom: 0px;
    opacity: 0.8;
}

* + html .styled div {
    display: inline;
    zoom: 1;
}

footer {
    width: 100%;
    height: 30px;
    background: rgba(0, 0, 0, 0.64);
    position: absolute;
    bottom: 0px;
}

    footer span {
        float: right;
        margin: 10px;
    }

#error {
    color: red;
    font-weight: bold;
}

#langSelection {
    margin-top: 5px;
    text-align: center;
}

#canvas {
    background-color: gray;
    width: 75%;
    max-width: 640px;
    display: block;
    margin: auto;
}

#cameraContainer {
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 5;
    margin-top: -30px;
}

.centered {
    position: relative;
    text-align:center;
    top: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media(max-width:768px) {
    body {
        min-width: initial !important;
    }

    .wrapper {
        width: 100%;
    }

    #canvas {
        width: 100%;
    }
}

@media(max-width:420px) {
    h1 {
        float: initial;
        text-align: center;
        margin-left: 0px;
        margin-bottom: 0px;
    }

    #Content h2 {
        padding: 0px;
        text-align: center;
        font-size: 29px;
        font-weight: 300;
    }

    #form input {
        width: 50%;
    }

    footer {
        position: relative !important;
    }
}


.flag-icon-background {
    background-size: contain;
    background-position: 50%;
    background-repeat: no-repeat
}

.flag-icon {
    background-size: contain;
    background-position: 50%;
    background-repeat: no-repeat;
    position: relative;
    display: inline-block;
    width: 1.33333333em;
    line-height: 1em
}

    .flag-icon:before {
        content: '\00a0'
    }

    .flag-icon.flag-icon-squared {
        width: 1em
    }

.flag-icon-de {
    background-image: url(flags/de.svg)
}

.flag-icon-es {
    background-image: url(flags/es.svg)
}

.flag-icon-fr {
    background-image: url(flags/fr.svg)
}

.flag-icon-gb {
    background-image: url(flags/gb.svg)
}

.flag-icon-it {
    background-image: url(flags/it.svg)
}

.flag-icon-nl {
    background-image: url(flags/nl.svg)
}

.flag-icon-pt {
    background-image: url(flags/pt.svg)
}

.flag-icon-us {
    background-image: url(flags/us.svg)
}
