html{
    height: 100%;
}

body{
    height: 100%;
}

h1 {
    font-weight: 700;
    color: #384047;
    text-align: center;
    line-height: 1.5em;
    margin-bottom: 1.2em;
    margin-top: 0.2em;
}

a {
    font-size: 0.98em;
    color: #8a97a0;
    text-decoration: none;
}

.container {
    display: flex;
    -webkit-display: box;
    -moz-display: box;
    -ms-display: flexbox;
    -webkit-display: flex;
    overflow: hidden;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    padding: 6%;
    margin: 0;
}

form {
    max-width: 400px;
    background: #FFF url(../images/login.png) no-repeat top left;
    padding: 2em 2em 3em;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 10px 40px -14px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}
form input {
    color: #384047;
    background-color: #e8eeef;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03) inset;
    border: 1px solid #EEE;
    border-radius: 4px;
    padding: 1em;
    margin-bottom: 1.2em;
    width: 100%;
}
form input:focus {
    outline: none;
}

.button {
    font-weight: 600;
    text-align: center;
    font-size: 19px;
    color: #FFF;

    background-color: #384241;
    width: 100%;
    border: none;
    border-radius: 4px;
    padding: 0.8em;
    margin-top: 1em;
    margin-bottom: 1em;
    cursor: pointer;
    overflow: hidden;
    transition: all 200ms ease-in-out;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3);
}
.button:hover {
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.3);
    transform: translateY(-4px);
}
.button span {
    position: relative;
    z-index: 1;
}
.button .circle {
    position: absolute;
    z-index: 0;
    background-color: #384241;
    border-radius: 50%;
    transform: scale(0);
    opacity: 5;
    height: 50px;
    width: 50px;
}
.button .circle.animate {
    animation: grow 0.5s linear;
}
@keyframes grow {
    to {
        transform: scale(2.5);
        opacity: 0;
    }
}
.button .signup-message {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
}


.nav_ul {
    display: block;  /* Remove bullet points; allow greater control of positioning */
    padding: 0;      /* Override defaults for lists */
    margin: 0;       /* Override defaults for lists */
    width: 100%;     /* Get the row full width */

    /*display: inline-block; !* Get all images to show in a row *!*/
    /*width: 25%;            !* Show 4 logos per row *!*/
    /*text-align: center;    !* Centre align the images *!*/
    /*margin: 0;*/
    /*padding: 0;*/
    /*list-style: none;*/
    /*overflow: hidden;*/
}

.nav_ul li {
    display: inline-block; /* Get all images to show in a row */
    width: 30%;            /* Show 4 logos per row */
    text-align: center;    /* Centre align the images */
    margin-top: 5px;

    /*float: left;*/
    /*margin-right: 3px;*/
    /*margin-bottom: 0px;*/
}

ul.nav_ul li a {
    padding: 12px;
    display: block;
    color: #555;
    background-color: #FFF;
    border: 1px solid #EEE;
    text-decoration: none;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

ul.nav_ul li a:hover {
    background-color: #EEE;
}
ul.nav_ul li a.lang_active {
    background-color: #EEE;
}

@media (max-width: 960px) and (min-width: 501px) {
    ul.nav_ul li li {
        width: 50%;
    }

    /* Show 2 logos per row on medium devices (tablets, phones in landscape) */
}

@media (max-width: 500px) {
    ul.nav_ul li li {
        width: 100%;
    }

    /* On small screens, show one logo per row */
}

div#login-waiter {
     display:none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(249, 247, 247, 1);
}

.form-content {
    margin-top: 15px;
}

/*input:valid {*/
/*    border-color: green;*/
/*}*/

/*input:invalid {*/
/*    border-color: red;*/
/*}*/
