﻿@import url("colors.css");
@import url("material-ui.css");

/* Login Screen: http://codepen.io/jayshua/pen/raoRgp */
html, body {
    box-sizing: border-box;
    height: 100%;
    margin: 0;
    padding: 0;
    width: 100%;

    font-family: 'Roboto', 'Noto', sans-serif;
    font-size: 14px;
}

*, *::before, *::after {
    box-sizing: inherit;
    margin: 0;
}

body {
    background-image: url(./images/globe.svg);
    background-color: #3B347B;
    background-size: 75% 75%;
    background-repeat: no-repeat;
    background-position: center center;
    background-position-y: calc(50%);
    background-blend-mode: overlay;
}

h1 {
    font-family: Raleway;
    font-size: 3em;
    font-weight: 100;
}

button {
    background-color: #43B02A;
    background-color: var(--threegis-main-color);
    border: none;
    color: white;
    color: var(--threegis-login-button-text-color);
    padding: 1em 2em;
}

button + button {
    margin-left: 3em;
}

@media (max-width: 25em) {
    button + button {
        margin-left: 1em;
    }
}

input {
    padding: 0.5em;
    width: 25em;
}

@media (max-width: 25em) {
    input {
        width: 15em;
    }
}

.c-signin {
    -ms-flex-align: center;
    -ms-flex-direction: column;
    -ms-flex-pack: distribute;
    -webkit-align-items: center;
    -webkit-box-align: center;
    -webkit-box-direction: normal;
    -webkit-box-orient: vertical;
    -webkit-flex-direction: column;
    -webkit-justify-content: space-around;
    -webkit-transition: height 1s, top 1s, background-position 1s;
    -webkit-transition-delay: 1s;
    align-items: center;
    background-size: 100% 202%;
    color: white;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    height: 50%;
    justify-content: space-around;
    max-height: 200px;
    min-height: 18em;
    padding: 1em;
    position: absolute;
    top: calc(50% - 9em);
    transition: height 1s, top 1s, background-position 1s, max-height .5s;
    transition-delay: 1s;
    width: 100%;
    opacity: 0;
    /* display: none; */
}

.c-signin--exit {
    -webkit-transition-delay: 0.5s;
    background-position: 0 100%;
    height: 100%;
    max-height: 100%;
    top: 0;
    transition-delay: 0.5s;
}

.c-signin > * {
    -webkit-transition: opacity 0.5s;
    -webkit-transition-delay: 2s;
    transition: opacity 0.5s;
    transition-delay: 2s;
}

.c-signin--exit > * {
    -webkit-transition-delay: 0s;
    opacity: 0;
    transition-delay: 0s;
}

.c-signin_buttonContainer {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.newPage {
    -ms-flex-align: center;
    -ms-flex-direction: column;
    -ms-flex-pack: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    -webkit-box-direction: normal;
    -webkit-box-orient: vertical;
    -webkit-box-pack: center;
    -webkit-flex-direction: column;
    -webkit-justify-content: center;
    -webkit-transition: opacity 1s, visibility 1s;
    align-items: center;
    background-color: #eee;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    font-size: 1.2em;
    height: 100%;
    justify-content: center;
    left: 0;
    margin: 0;
    opacity: 0;
    padding: 1em;
    position: absolute;
    text-align: center;
    top: 0;
    transition: opacity 1s, visibility 1s;
    visibility: hidden;
    width: 100%;
}

.newPage > * + * {
    margin-top: 2em;
}

.c-signin--exit ~ .newPage {
    -webkit-transition-delay: 1.5s;
    opacity: 1;
    transition-delay: 1.5s;
    visibility: visible;
}

#logo {
    width: 300px;
    height: 65px;
}