/**
 * Copyright (c) 2014 Oracle and/or its affiliates. All rights reserved.
 *
 * You may not modify, use, reproduce, or distribute this software except in
 * compliance with  the terms of the License at:
 * http://java.net/projects/javaeetutorial/pages/BerkeleyLicense
 */
#top {
    position: relative;
    margin: auto;
}
body {
    background: linear-gradient(270deg, #438aee, #4d8ce4, #598cd4, #6699e1);
    background-size: 800% 800%;
    -webkit-animation: backgroundAnimation 30s ease infinite;
    -moz-animation: backgroundAnimation 30s ease infinite;
    animation: backgroundAnimation 30s ease infinite;
    font-family: Roboto;
    margin: auto;
    text-align: center;
}

/* #################    BACKGROUND      ############## */

@-webkit-keyframes backgroundAnimation {
    0%{background-position:0% 48%}
    50%{background-position:100% 53%}
    100%{background-position:0% 48%}
}
@-moz-keyframes backgroundAnimation {
    0%{background-position:0% 48%}
    50%{background-position:100% 53%}
    100%{background-position:0% 48%}
}
@keyframes backgroundAnimation {
    0%{background-position:0% 48%}
    50%{background-position:100% 53%}
    100%{background-position:0% 48%}
}

.welcomepage{
    position: relative;
    font-family: Roboto;
    font-size: 25px;
    text-transform: uppercase;
    line-height: 0.8;
    letter-spacing: 3px;
    font-weight: 300;
    text-align: center;
    margin: auto;
    margin-top: 25%;
}

form{
    margin: auto;
    position: relative;
    text-align: center;
    width: 800px;
    height: 700px;
}

.container{
    position: relative;
    font-family: Roboto;
    font-size: 25px;
    text-transform: uppercase;
    line-height: 0.8;
    letter-spacing: 3px;
}

h1 {
    font-family: Roboto;
    font-size: 50px;
    text-transform: uppercase;
    line-height: 0.8;
    letter-spacing: 3px;
    font-weight: 300;
    text-align: center;
    color: white;
}

h2 {
    font-family: Roboto;
    font-size:  16px;
    font-weight: bold;
    margin: auto;
    color: white;
}

a:link, a:visited {
  color: white;
  font-weight : bold;
  text-decoration: none;
}

a:link:hover, a:visited:hover  {
  color: white;
  font-weight : bold;
  text-decoration : underline;
}

.center_content {
    position: relative;
    padding: 5px;
}

.error-message {
  color: white;
    font-family: Roboto;
  font-style: oblique;
  text-decoration: overline;
}

.list-background {
    font-family: Roboto;
  font-size: 12pt;
  padding: 10px;
  width: 100%;
}

.list-caption {
    font-family: Roboto;
  font-size: 12pt;
  font-weight: bold;
  padding: 5px;
  text-align: center;
}

.list-column-center { 
  text-align: center;
  width: 15%;
}

.list-column-left {
  text-align: left;
  width: 70%;
}

.list-column-right {
  text-align: right;
  width: 15%;
}

.list-footer { 
  color: white;
  font-weight: bold;
  text-align: center;
}

.list-header { 
  color: white;
  text-align: center;
}

.list-row-even { 
}

.list-row-odd { 
}

.special-offer {
    font-family: Roboto;
  font-size: 12pt;
  text-align: left;
  padding: 10px;
}

table {
    border-collapse: collapse;
    border: thick;
    text-align: center;
    align-content: center;
    margin: auto;
    margin-top: 5%;
    position: relative;

}

td {
    padding: 0;
}

#staggered-test{
    text-align: center;
    color: white;
    font-size: 10px;
}

.menu{
    position: relative;
    font-family: Roboto;
    font-size: 10px;
    text-transform: uppercase;
    line-height: 0.8;
    letter-spacing: 3px;
    text-align: center;
    color: white;
}

h4{
    position: relative;
    font-family: Roboto;
    font-size: 10px;
    text-transform: uppercase;
    line-height: 0.8;
    letter-spacing: 3px;
    text-align: center;
    color: white;
}

#pokusy{
    position: relative;
    font-family: Roboto;
    font-size: 15px;
    text-transform: uppercase;
    line-height: 0.8;
    letter-spacing: 3px;
    text-align: center;
    color: white;
    margin-top: -20px;
}

#commandbutton{
    position: relative;
    margin-top: -30%;
    margin-right: 90px;
    float: right;
}

/* ########################## NAV BAR ######################## */
a {
    text-transform: uppercase;
    text-decoration: none;
    color: #151515;
    transition-delay: 0s;
    transition-duration: 0.36s;
    transition-property: all;
}
nav a:hover {
    font-weight: 400;
}
nav, nav:hover {
    padding: 1em;
}
nav a {
    text-indent: -100px;
}
nav:hover a {
    text-indent: 0px;
    color: #EEFFE5;
}
svg, a {
    vertical-align: top;
}
nav {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    display: block;
    height: auto;
    min-width: 10px;
    width: 10px;
    transition-delay: 0s;
    transition-duration: 0.4s;
    transition-property: all;
}
nav:hover {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    height: auto;
    width: 250px;
    opacity: 70;
}
nav a {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
    margin-left: 1em;
}
nav:hover a {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;
}
li {
    display: block;
    padding: 0.2em;
    height: 32px;
}
svg, a {
    display: inline-block;
}

 /* ########################## FLOATING BUTTON ################## */
.fab {
    background: #03A9F4;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    text-align: center;
    color: #FFF;
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5), 3px 3px 3px rgba(0, 0, 0, 0.25);
    position: fixed;
    bottom: 48px;
    right: 48px;
    font-size: 2.6667em;
    display: inline-block;
    cursor: default;
}
.fab span {
    vertical-align: middle;
}
.fab.child {
    right: 58.66666667px;
    width: 42.66666667px;
    height: 42.66666667px;
    display: none;
    opacity: 0;
    font-size: 2em;
}
.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    //background: #ECECEC;
    opacity: 0.9;
    display: none;
}

.main {
    background: #aaa no-repeat;
    width: 800px;
    height: 600px;
    margin: 50px auto;
}
.panel {
    background-color: #444;
    height: 34px;
    padding: 10px;
}
.panel a#login_pop, .panel a#join_pop {
    border: 2px solid #aaa;
    color: #fff;
    display: block;
    float: right;
    margin-right: 10px;
    padding: 5px 10px;
    text-decoration: none;
    text-shadow: 1px 1px #000;

    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 10px;
}
a#login_pop:hover, a#join_pop:hover {
    border-color: #eee;
}
.overlay {
    background-color: rgba(0, 0, 0, 0.6);
    bottom: 0;
    cursor: default;
    left: 0;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    visibility: hidden;
    z-index: 1;

    -webkit-transition: opacity .5s;
    -moz-transition: opacity .5s;
    -ms-transition: opacity .5s;
    -o-transition: opacity .5s;
    transition: opacity .5s;
}
.overlay:target {
    visibility: visible;
    opacity: 1;
}
.popup {
    background: linear-gradient(270deg, #438aee, #4d8ce4, #598cd4, #6699e1);
    display: inline-block;
    left: 50%;
    opacity: 0;
    padding: 15px;
    position: fixed;
    text-align: justify;
    top: 40%;
    visibility: hidden;
    z-index: 10;

    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);

    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 10px;

    -webkit-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    -moz-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    -ms-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    -o-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;

    -webkit-transition: opacity .5s, top .5s;
    -moz-transition: opacity .5s, top .5s;
    -ms-transition: opacity .5s, top .5s;
    -o-transition: opacity .5s, top .5s;
    transition: opacity .5s, top .5s;
}
.overlay:target+.popup {
    top: 50%;
    opacity: 1;
    visibility: visible;
}
.close {
    background-color: rgba(0, 0, 0, 0.8);
    height: 30px;
    line-height: 30px;
    position: absolute;
    right: 0;
    text-align: center;
    text-decoration: none;
    top: -15px;
    width: 30px;

    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    border-radius: 15px;
}
.close:before {
    color: rgba(255, 255, 255, 0.9);
    content: "X";
    font-size: 24px;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
}
.close:hover {
    background-color: rgba(64, 128, 128, 0.8);
}
.popup p, .popup div {
    margin-bottom: 10px;
}
.popup label {
    display: inline-block;
    text-align: left;
    width: 120px;
}
.popup input[type="text"], .popup input[type="password"] {
    border: 1px solid;
    border-color: #999 #ccc #ccc;
    margin: 0;
    padding: 2px;

    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
    border-radius: 2px;
}
.popup input[type="text"]:hover, .popup input[type="password"]:hover {
    border-color: #555 #888 #888;
}

