html {
    position: relative;
    height: 100%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

body {
    position: relative;
    width: 100%;
    height: 100%;
    /*overflow: auto;*/
    /*overflow-x: hidden;*/
    margin: 0px;
    padding: 0px;
    margin-left: auto;
    margin-right: auto;
    background-color: #AFAFAF;
    color: #000000;
    /*border: 1px solid #FF0000;*/
}

div#outer {
    position: relative;
    margin: 0px;
    padding: 0px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: 100%;
    padding-bottom: auto;
    /*background-color: #0000FF;*/
    /*border: 1px dashed #00FFFF;*/
}

div#header {
    position: static;
    top: 0px;
    left: 0px;
    height: 100px;
    width: 100%;
    /*background-image: url(../images/backtop.jpg);*/
    /*text-align: center;*/
    border-top: 0px none;
    border-right: 0px none;
    border-bottom: 1px solid #FFFFFF;
    border-left: 0px none;
    /*border: 2px dashed #FF00FF;*/
    /*border-bottom: solid 3px #aaaaaa;*/
    background-color: #3F3F3F;
}


/*div#header div#titletext
{
	position: relative;
	top: 20px;
	width: 100%;
	text-align: center;
	font: 2.5em Trebuchet, Verdana, Arial, Helvetica, sans-serif;
	font-weight: bold;
	color: #1CB5FF;
	margin-top: 0px;
}*/

div#header img {
    display: block;
    width: auto;
    max-width: fit-content;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    top: 28px;
}

div#header div#titlelogo {
    position: absolute;
    text-align: right;
    top: 0%;
    width: 40%;
    margin-top: 10px;
    /*border: 1px dashed #FFFF00;*/
}

div#links {
    /*position: static;*/
    top: 0px;
    left: 0%;
    /*width: 100%;*/
    height: 38px;
    /*font: 12px Verdana, sans-serif;*/
    z-index: 100;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 10px;
    /*background-image: url(../images/backmenu.jpg);*/
    border-top: 0px none;
    border-right: 0px none;
    border-bottom: 1px solid #B8B8B9;
    border-left: 0px none;
    /*border: 2px dashed #00FF00;*/
}

.menubar {
    margin: 0;
    height: 38px;
    padding: 0;
    float: left;
    width: 100%;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: bold;
    border-width: 1px 0;
    background-image: url(../images/menubar.png);
    background-color: #808080;
}

.menubar li {
    display: inline;
    line-height: 38px;
}

.menubar li a {
    line-height: 38px;
    color: #000000;
    background-color: #C0C0C0;
    background-image: url(../images/menubutton.png);
    padding-left: 35px;
    padding-right: 35px;
    padding-top: 12px;
    padding-bottom: 10px;
    /*padding: 7px 8px;*/
    text-decoration: none;
    border-right: 1px solid #808080;
    border-left: 1px solid #808080;
}

.menubar li#menubarselected a {
    background-image: none;
    background-color: #F4D94C;
    /*border-top: 5px solid #F4D94C;
	padding-left: 35px;
	padding-right: 35px;
	padding-top: 12px;
	padding-bottom: 10px;
	text-decoration: none;
	border-right: 1px solid #808080;
	border-left: 1px solid #808080;*/
}

.menubar li a:hover {
    color: #000000;
    /*text-decoration:underline;*/
    background-image: none;
    background-color: #F4D94C;
    /*background: transparent 0 0 no-repeat fixed;*/
    border-top: 1px solid #FFFFFF;
}

.menubar li a span {
    display: none;
}

.menubar li a:hover span {
    display: block;
    position: absolute;
    top: 81px;
    left: 5px;
    width: 100px;
    padding: 5px;
    margin: 10px;
    z-index: 100;
    color: #000000;
    font: 10px Verdana, sans-serif;
    text-align: center;
}

div#content {
    position: relative;
    /*top: 0px;*/
    /*left: 0%;*/
    width: 99%;
    height: 100%;
    color: #000000;
    /*min-width: 1268px;*/
    background-color: #AFAFAF;
    /*background-position: 0 0;
	background-repeat: no-repeat;
	background-attachment: fixed;*/
    font: 13px Verdana, sans-serif;
    border: 0px none #606060;
    word-spacing: 2px;
    padding: 0px;
    padding-top: 15px;
    padding-bottom: 23px;
    padding-left: 10px;
    /*margin: 0px;*/
    margin-left: auto;
    margin-right: auto;
    /*text-align: center;*/
    /*border: 1px solid #FFFF00;*/
}


/*div#content a
{
	color: #FFFFFF;
}*/

.link_button {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: solid 1px #333333;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    background: #555555;
    color: #FFFFFF;
    padding: 8px 12px;
    text-decoration: none;
}

p.center {
    margin-left: auto;
    margin-right: auto;
}

div#content h3 {
    margin-bottom: 0.25em;
}

h1 {
    margin: -9px -9px 0.5em;
    padding: 15px 0 5px;
    text-align: center;
    color: #797979;
    letter-spacing: 0.1em;
    font: bold 18px sans-serif;
    /*height: 65px;*/
    vertical-align: middle;
    white-space: nowrap;
}

dt {
    font-weight: bold;
}

dd {
    margin-bottom: 0.66em;
}

div#content select {
    background-color: #DDDDDD;
    color: #000000;
}

code,
pre {
    color: #EDC;
    font: 110% monospace;
}

table.centered {
    margin-left: auto;
    margin-right: auto;
}

table.centered td {
    text-align: right;
}

p.centered {
    text-align: center;
}

table.bordered {
    margin-left: auto;
    margin-right: auto;
    border: solid 1px #E1E1E1;
    border-collapse: collapse;
    text-align: center;
    font-size: 12px;
}

table.bordered th {
    border: solid 1px #E1E1E1;
    background-color: #505050;
    color: white;
    padding: 10px;
}

table.bordered tr,
td {
    border: solid 1px #E1E1E1;
    padding: 10px;
}

table.home-table {
    border: solid 1px #E1E1E1;
    text-align: center;
}

table.home-table th {
    border: solid 1px #F5F5F5;
    padding-top: 10px;
    padding-bottom: 10px;
}

table.home-table td {
    border: solid 1px #F5F5F5;
    padding: 3px;
}

div#footerpad {
    height: 23px;
}

div#footer {
    /*position: fixed !important;*/
    position: fixed;
    /*position: static;*/
    bottom: 0px;
    /*left: 0px;*/
    height: 23px;
    width: 100%;
    background-image: url(../images/menubar.png);
    color: #090909;
    border-top: 0px none;
    border-right: 0px none;
    border-bottom: 0px solid #FFFFFF;
    border-left: 0px none;
    text-align: center;
    font: 11px Verdana, sans-serif;
    padding-top: 0px;
    /*margin-top: 20px;*/
    /*line-height: 23px;*/
    background-color: #FFFFFF;
    z-index: 100;
    /*border: 2px dashed #00FFFF;*/
}

* html div#footer {
    width: expression( document.body.clientHeight - 23);
}

.message {
    color: #00FF00;
    background-color: #505050;
}

.error {
    color: #FF0000;
}

form {
    /*border: 1px dotted yellow;*/
    position: absolute;
    left: 20%;
    width: 60%;
}

.submit {
    position: static;
    padding-left: 52%;
}

select {
    width: 15em;
}

label {
    /*display: block;
	float: left;*/
    display: inline-block;
    width: 40%;
    height: 25px;
    text-align: right;
}

.error_constraint_required span {
    float: right;
    position: absolute;
    display: block;
    right: 28%;
}

.error_constraint_email span {
    float: right;
    position: absolute;
    display: block;
    right: 16%;
}

.error_constraint_equal span {
    float: right;
    position: absolute;
    display: block;
    right: 25%;
}

.error_constraint_length span {
    float: right;
    position: absolute;
    display: block;
    right: 23%;
}

.error_constraint_callback span {
    float: right;
    position: absolute;
    display: block;
    right: 30%;
}


/* New Flexbox content */

div {
    box-sizing: border-box;
}

.table-container {
    display: block;
    margin: 2em auto;
    width: 90%;
    max-width: 1920px;
}

.flex-table {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-flow: row wrap;
    border-left: solid 1px #d9d9d9;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

.flex-table:first-of-type {
    border-top: solid 1px #1565C0;
    border-left: solid 1px #1565C0;
}

.flex-table:first-of-type .flex-row {
    background: #1976D2;
    color: white;
    border-color: #1565C0;
}

.flex-table.row:nth-child(odd) .flex-row {
    background: #f4f2f1;
}

.flex-table:hover {
    background: #F5F5F5;
    -webkit-transition: 500ms;
    transition: 500ms;
}

.flex-row {
    width: calc(100% / 14);
    text-align: center;
    padding: 0.5em 0.5em;
    border-right: solid 1px #d9d9d9;
    border-bottom: solid 1px #d9d9d9;
}

.rowspan {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-flow: row wrap;
    -webkit-box-align: start;
    align-items: flex-start;
    -webkit-box-pack: center;
    justify-content: center;
}

.column {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-flow: column wrap;
    width: 75%;
    padding: 0;
}

.column .flex-row {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-flow: row wrap;
    width: 100%;
    padding: 0;
    border: 0;
    border-bottom: solid 1px #d9d9d9;
}

.column .flex-row:hover {
    background: #F5F5F5;
    -webkit-transition: 500ms;
    transition: 500ms;
}

.flex-cell {
    width: calc(100% / 3);
    text-align: center;
    padding: 0.5em 0.5em;
    border-right: solid 1px #d9d9d9;
}

@media all and (max-width: 767px) {
    .flex-row {
        width: calc(100% / 3);
    }
    .flex-row.first {
        width: 100%;
    }
    .column {
        width: 100%;
    }
}

@media all and (max-width: 430px) {
    .flex-table .flex-row {
        border-bottom: 0;
    }
    .flex-table .flex-row:last-of-type {
        border-bottom: solid 1px #d9d9d9;
    }
    .header .flex-row {
        border-bottom: solid 1px;
    }
    .flex-row {
        width: 100%;
    }
    .flex-row.first {
        width: 100%;
        border-bottom: solid 1px #d9d9d9;
    }
    .column {
        width: 100%;
    }
    .column .flex-row {
        border-bottom: solid 1px #d9d9d9;
    }
    .flex-cell {
        width: 100%;
    }
}
