a[href~='error:'] {
	background: red;
	color: white;
}

tr.today {
	background: #AFD9FF;
}

@font-face {
    font-family: sans-serif-font;
    src: url(Raleway-Light.ttf);
}

@font-face {
    font-family: serif-font;
    src: url(BookAntiqua.ttf);
}


html {
    width: 100%;
    height: 100%;
    margin: 0px;
}

body {
    font-family: serif-font;
    font-size: 100%;
    margin: 0px;
}

body > * {
    margin: 8px;
}

body.signin {
    text-align: center;
    
    background: radial-gradient(closest-corner at 30% 35%,
        rgba(255, 255, 255, 0.9), rgba(255, 230, 185, 0.75)), url("../img/background.jpg");
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

body.tableconfirmregister, body.tableconfirmcancel {
    text-align: center;
}

.logo {
    padding-bottom: 40px;
}

h1, h2 {
    font-family: sans-serif-font;
}

#ajax {
    color: white;
    font-size: 125%;
}

.msgform {
    padding-top: 30px;
    margin: auto;
    text-align: center;
}

#flash {
    text-align: center;
}

.signinform {
    width: 250px;
    min-width: 250px;
    margin: auto;
    padding: 3px;
    
    border-width: 3px;
    border-style: solid;
    border-bottom-color: #888;
    border-right-color: #888;
    border-top-color: #ddd;
    border-left-color: #ddd;
    
    font-family: sans-serif-font;
    border-radius: 10px;
    margin-bottom: 30px;
    white-space: nowrap;
    background: rgba(104, 178, 255, 0.4);
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.5); 
}

table.signinform tr td h2 {
    text-align: left;
}

table.signinform th {
    text-align: left;
    padding-top: 15px;
}

table.signinform tr td input {
    width: 95%;
}

.button {
    border: 1px;
    border-width: 2px;
    border-style: solid;
    border-bottom-color: #888;
    border-right-color: #888;
    border-top-color: #ddd;
    border-left-color: #ddd;
    border-radius: 5px;
    padding: 10px;
    
    font-family: sans-serif-font;
    font-size: 16pt;
    background-color: #68B2FF;
    transition: all 0.25s;
    cursor: pointer;
    color: black;
    text-decoration: none;
}

.button.accept {
    background-color: #aaf24d;
}

.button.storno {
    background-color: #f2b34d;
}

.button.close {
    background-color: #ED8383;
}

.button.signin {
    display: inline-block;
    width: 100%;
    margin-top: 35px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.button:active {
    color: black;
    border-bottom-color: #ddd;
    border-right-color: #ddd;
    border-top-color: #555;
    border-left-color: #555;
}


.button.signin span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.button.signin span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.button.signin:hover span {
  padding-right: 25px;
}

.button.signin:hover span:after {
  opacity: 1;
  right: 0;
}

.flash {
    position: relative;
    width: max-content;
    margin: auto;
    margin-bottom: 30px;
    border-radius: 5px;
    text-align: center;
    padding: 20px;
    list-style: none;
    font-size: 16pt;
}

#navigation {
    width: 100%;
    height: 30px;
    background: rgba(175, 217, 255, 0.85);
    position: fixed;
    margin: auto;
    padding: 2px;
    padding-top: 15px;
}

#content {
    margin: 8px;
    margin-top: 0px;
    padding-top: 50px;
}

.flash.info {
    background: #aaf24d;
}

.flash.warning {
    background: #f2b34d;
}

.flash.error {
    background: #ED8383;
}

.modal {
    display: block;
    margin: 0px;
    text-align: center;
    padding: 20% 0;
    position: fixed;
    z-index: 1;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    border: 5px;
    border-color: #349800;
}

.jsonly {
    display: none;
}

.loader {
    margin: auto;
    border: 8px solid #dcdcdc;
    border-radius: 50%;
    border-top: 8px solid #565656;
    width: 60px;
    height: 60px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

#loader-text {
    font-size: 18pt;
    color: white;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.tooltip {
    font-family: serif-font;
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 600px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    text-align: center;
    line-height: 175%;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    top: 150%;
    left: 50%;
    margin-left: -300px;
    opacity: 0;
    transition: opacity 1s;
    white-space: normal;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent black transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}