body {
    font-family: sans-serif;
    margin: 0em;
    padding: 0em;
    font-size: 15px;
    background: white;
}

#titlelogo {
    margin-top: 5em;
    margin-left: auto;
    margin-right: auto;
    max-width: 440px
}

#titlelogo img {
    height: 90px;
    width: auto;
}

#titlelogo h1 {
    font: bold 19px Sans-Serif;
}

#canvas {
    margin: 0 auto;
    max-width: 60em;
    min-width: 52em;
    padding: 0 1.2em 0 1.2em;
}

#wrapper {
    margin-left: 1.75em;
    box-sizing: border-box;
}

p {
    margin: 0 0 1em 0;
}

img {
    border: none;
}

#titleform{
    text-align: center;
    margin-top: 1.9em;
    width: 100%;
    font-size: 1.1em;
    box-sizing: border-box;
    padding: 1em 2em 1em 2em;
    color: rgba(255, 255, 255, 0.8);
    background-color: #53AA28;
    background: -moz-linear-gradient(-45deg, #49872B, #3D6928); /* FF3.6+ */
    background: -webkit-gradient(left top, right bottom, from(#49872B), to(#3D6928));/* Chrome, Safari4+ */
    background: -webkit-linear-gradient(-45deg, #49872B, #3D6928); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(-45deg, #49872B, #3D6928); /* Opera 11.10+ */
    background: -ms-linear-gradient(-45deg, #49872B, #3D6928); /* IE 10+ */
    background: linear-gradient(135deg, #49872B, #3D6928);/* W3C */
    border-radius: 0.3em;
    box-shadow:rgba(0,0,0,0.5) 0em 0em 0.5em;
    position: relative;
}

.TFtableHome{
    box-sizing: border-box;
    padding: 0.1em 2em 0.1em 0.1em;
}

table.query {
    padding: 0.1em;
    border-collapse: collapse;
    border-spacing: 0em;
    vertical-align: middle;
    box-sizing: border-box;
    width: 100%;
    border-radius: 0.3em;
}

table.query>tr {
    vertical-align: middle;
    height: 2.6em;
    box-sizing: border-box;
}

.queryLabel {
    width: 27.5%;
    vertical-align: bottom;
    font-size: 1.1em;
    text-align: left;
    padding: 0.6em;
    padding-bottom: 0em;
    white-space: nowrap;
    box-sizing: border-box;
}

.queryFormGap {
    width: 10%;
    min-width: 2.5em;
    padding: 0.3em;
    vertical-align: middle;
    text-align: left;
    white-space: nowrap;
    box-sizing: border-box;
}

.queryLabel a, .queryLabel a:visited {
    text-decoration: none;
    font-weight: normal;
    color: #C4D2BD;
}

.queryLabel sup {
    font-size: 0.6em;
}

.queryData {
    width: 27.5%;
    vertical-align: middle;
    text-align: left;
    padding: 0.6em;
    white-space: nowrap;
    box-sizing: border-box;
}

.queryCheckbox {
    font-size: 1.1em;
    /*font-weight: bold;*/
    width: 25%;
    vertical-align: middle;
    text-align: center;
    padding: 0.6em;
    white-space: nowrap;
    box-sizing: border-box;
}

.querySelect + .select2 {
    display: inline-block;
    box-sizing: border-box;
    width: 100%;
    font-family: sans-serif;
    font-size: 0.9em;
    color: black;
    background: white;
    height: 28px;
    vertical-align: middle;
    text-align: left;
    text-decoration: none;
/*    border: 0.1em solid #C4D2BD;*/
    border-radius: 0.3em;
    white-space: nowrap;
    box-sizing: border-box;
    cursor: pointer;
    z-index: 20;
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
}

.querySelect + .select2 .select2-selection__rendered {
    padding: 0 0 0 0.6em;
    color: black;
}

.querySelect {
    display: inline-block;
    width: 100%;
    height: 2em;
    box-sizing: border-box;
    vertical-align: middle;
    text-decoration: none;
    border: 0.1em solid #C4D2BD;
    border-radius: 0.3em;
    white-space: nowrap;
    box-sizing: border-box;
}

.querySelect + .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: black transparent transparent transparent;
        /*z-index: 20;*/
}

.querySelectMulti + .ui-multiselect {
    display: inline-block;
    box-sizing: border-box;
    width: 100%;
    font-family: sans-serif;
    font-size: 0.9em;
    color: black;
    background: white;
    height: 28px;
    vertical-align: middle;
    text-align: left;
    text-decoration: none;
    border: 0.1em solid #aaa;
    border-radius: 0.3em;
    white-space: nowrap;
    box-sizing: border-box;
    cursor: pointer;
    z-index: 20;
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 28px;
}

.search-bar {
    width: 100%;
    vertical-align: middle;
    text-decoration: none;
    border-radius: 0.4em;
    border: 0.1em solid #aaa;
}

.search-bar-layout {
    padding: 0em;
    border-collapse: collapse;
    border-spacing: 0em;
    border-radius: inherit;
    vertical-align: middle;
    width: 100%;
    box-sizing: border-box;
    border-collapse: expression('separate', cellSpacing = '0px'); /* ie fix */
}

.search-bar-layout tr {
    padding: 0em;
    border-collapse: collapse;
    border-spacing: 0em;
    border-radius: 0.3em;
    vertical-align: middle;
    width: 100%;
    box-sizing: border-box;
    border-collapse: expression('separate', cellSpacing = '0px'); /* ie fix */
}

.search-bar-layout td:last-child {
    width: 30%;
}

.search-bar-layout td {
    padding: 0em;
    border-collapse: collapse;
    border-spacing: 0em;
    border-radius: inherit;
    vertical-align: middle;
    box-sizing: border-box;
    border-collapse: expression('separate', cellSpacing = '0px'); /* ie fix */
}

.search-bar-input {
    display: inline-block;
    height: 28px;
    font-size: 0.9em;
    width: 100%;
    border: 0;
    padding-left: 0.4em;
    border-top-left-radius: inherit;
    border-bottom-left-radius: inherit;
    white-space: nowrap;
    box-sizing: border-box;
    line-height: 28px;
}

.search-bar-submit {
    cursor: pointer;
    height: 28px;
    font-size: 0.9em;
    display: inline-block;
    border: 0;
    width: 100%;
    border-top-right-radius: inherit;
    border-bottom-right-radius: inherit;
    white-space: nowrap;
    box-sizing: border-box;
    line-height: 28px;

    background-color: #FFFF66;
    background-image: -webkit-linear-gradient(top, #FFFF66, #FFCC00);
    background-image:    -moz-linear-gradient(top, #FFFF66, #FFCC00);
    background-image:     -ms-linear-gradient(top, #FFFF66, #FFCC00);
    background-image:      -o-linear-gradient(top, #FFFF66, #FFCC00);

}

.search-bar-submit:hover {
    background-color: #FFFF66;
    background-image: -webkit-linear-gradient(bottom, #FFFF66, #FFCC00);
    background-image:    -moz-linear-gradient(bottom, #FFFF66, #FFCC00);
    background-image:     -ms-linear-gradient(bottom, #FFFF66, #FFCC00);
    background-image:      -o-linear-gradient(bottom, #FFFF66, #FFCC00);
}

.queryFormGap button {
    display: inline-block;
    width: 100%;
    height: 28px;
    border: none;
    background: transparent;
    background-image: url("../graphics/switch.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center, center;
}

.queryFormGap button:hover {
    background-image: url("../graphics/switch_h.svg");
}

.ribbon-wrapper {
    width: 8.0em;
    height: 8.3em;
    overflow: hidden;
    position: absolute;
    top: -0.3em;
    right: -0.3em;
    font: bold 0.9em Sans-Serif;
    z-index: 10;
}

.ribbon-wrapper a {
    text-decoration: none;
}

.ribbon {
    font: 1em Sans-Serif;
    color: #333;
    text-align: center;
    text-shadow: rgba(255,255,255,0.3) 0em 0.07em 0em;
    -webkit-transform: rotate(45deg);
    -moz-transform:    rotate(45deg);
    -ms-transform:     rotate(45deg);
    -o-transform:      rotate(45deg);
    position: relative;
    padding: 0.5em 0;
    left: 2.5em;
    top: 0.6em;
    width: 7.5em;
    background-color: #FFFF66;
    background-image: -webkit-linear-gradient(top, #FFFF66, #FFCC00);
    background-image:    -moz-linear-gradient(top, #FFFF66, #FFCC00);
    background-image:     -ms-linear-gradient(top, #FFFF66, #FFCC00);
    background-image:      -o-linear-gradient(top, #FFFF66, #FFCC00);
    color: #00405A;

    box-shadow:         0em 0em 0.3em rgba(0,0,0,0.3);
}

.ribbon:hover {
    background-color: #FFFF66;
    background-image: -webkit-linear-gradient(bottom, #FFFF66, #FFCC00);
    background-image:    -moz-linear-gradient(bottom, #FFFF66, #FFCC00);
    background-image:     -ms-linear-gradient(bottom, #FFFF66, #FFCC00);
    background-image:      -o-linear-gradient(bottom, #FFFF66, #FFCC00);
}

.ribbon:before, .ribbon:after {
    content: " ";
    border-top:   0.3em solid #FF9900;
    border-left:  0.3em solid transparent;
    border-right: 0.3em solid transparent;
    position:absolute;
    bottom: -0.3em;
}

.ribbon:before {
    left: 0;
}
.ribbon:after {
    right: 0;
}

#main {
    width: 100%;
    margin: 0em;
    border: 0em;
    padding: 0em;
}

#changelog {
    display: none;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
    margin-top: 2em;
    background-color: #003565;
    color: rgba(255, 255, 255, 0.8);
    padding: 2em 5em;
    border-radius: 0.3em;
    box-shadow:rgba(0,0,0,0.5) 0em 0em 0.5em;
    background: -moz-linear-gradient(-45deg, #49872B, #3D6928); /* FF3.6+ */
    background: -webkit-gradient(left top, right bottom, from(#49872B), to(#3D6928));/* Chrome, Safari4+ */
    background: -webkit-linear-gradient(-45deg, #49872B, #3D6928); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(-45deg, #49872B, #3D6928); /* Opera 11.10+ */
    background: -ms-linear-gradient(-45deg, #49872B, #3D6928); /* IE 10+ */
    background: linear-gradient(135deg, #49872B, #3D6928);/* W3C */
}

#contents {
    width: 100%;
    margin-top: 2em;
    box-sizing: border-box;
    /*border: 0.2em solid #A6C9E2;*/
    border-radius: 0.3em;
    box-shadow:rgba(0,0,0,0.5) 0em 0em 0.5em;
    background-color: rgba(0,0,0,0.2);
}

#changelog a{
    text-decoration: none;
    color: white;
}

.right {
    float: right;
}

.left {
    float: left;
    display: inline-block;
}

#titleinfo {
    text-align: justify;
    margin-left: auto;
    margin-right: auto;
    margin: 3em 3em;
    border-radius: 0.3em;
    box-shadow:rgba(0,0,0,0.5) 0em 0em 0.5em;
}

#titleinfo ul {
    list-style-type: none;
}

#titleinfo li {
    text-align: left;
}

#titleinfo_header {
    margin: 0em;
    padding: .9em 2em;
    border-bottom: .1em solid rgba(0,0,0,0.15);
}

#titleinfo_header p {
    margin: 0em;
    padding: 0em;
    font-size: 1.3em;
}

#titleinfo_body {
    margin: 0em;
    padding: 1.4em 2em;
}

#titleinfo_footnote {
    margin: 0em;
    padding: 0.5em 3em;
    border-top: 1px solid #009EE0;
}

#titleinfo_footnote p {
    margin: 0em;
    padding: 0.1em;
}

#queryform {
    width: 100%;
    display: inline-block;
    padding: 1em;
    background-color: #003565;
    color: #ccc;
    -moz-border-radius: 0.3em;
    -webkit-border-radius: 0.3em;
    -khtml-border-radius: 0.3em;
    border-radius: 0.3em;
}

#queryform p {
    margin: 0.4em 0.3em;
}

#queryform a,a:visited {
    color: #7db6e6;
    text-decoration: none;
}

#queryform a:hover {
    text-decoration: underline;
}

.queryform-line {
    margin-top: 1em;
}

.queryform-indent {
    width: 3em;
    display: inline-block;
}

#titleinfo a,a:visited {
    color: #003565;
    text-decoration: none;
}

#titleinfo a:hover {
    text-decoration: underline;
}

.helpCloseButton{
    background-image:  url("../graphics/close2.svg");
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center, center;
    float: right;
    height: 1.8em;
    width: 1.8em;
    margin-right: -3.2em;
    margin-top: -0.5em;
}

.helpCloseButton:hover {
    background-image:  url("../graphics/close2_h.svg");
}

#copyright {
    color: grey;
    margin-bottom: 1em;
    text-align: center;
}

#copyright .link{
    color: grey;
    text-decoration: none;
}

.hidden {
    display: none;
}

.inline{
    display: inline-block;
}

.nobreak{
    overflow: hidden; white-space: nowrap;
}

.zeromb{
    margin-bottom: 0em;
}

.indent50{
    margin-top: 5em;
}

table.std {
    padding: 0em;
    border-collapse: separate;
    border-spacing: 0em;
    border: 0.1em solid #ccc;
    border-radius: 0.3em;
    vertical-align: middle;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    border-collapse: expression('separate', cellSpacing = '0px'); /* ie fix */
}
table.std th {
    background-color: #7DC9EA;
    padding: 0.3em 0.6em;
    color: #292929;
    font-weight: bold;
    border-bottom: 0.1em solid #acc7dd;
    border-right: 0.1em solid #acc7dd;
    border-top: 0.1em solid #dceffd;
    border-left: 0.1em solid #dceffd;
    white-space: nowrap;
}
table.std td {
    padding: 0.3em 0.6em;
    vertical-align: middle;
    border-bottom: 0.1em solid #c7d8e5;
    border-right: 0.1em solid #c7d8e5;
    border-top: 0.1em solid #fff;
    border-left: 0.1em solid #fff;
    color:#333;
    background-color: #eaf1f7;
}

table.std a.asc, table.std a.desc {
    display: inline-block;
    margin: 0.4em;
    height: 1em;
    width: 1em;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center, center;
 }

table.std a.asc  {
    background-image: url("../graphics/asc.svg");
}

table.std a.desc  {
    background-image: url("../graphics/desc.svg");
}

table.std a.asc:hover {
    background-image: url("../graphics/asc_h.svg");
}

table.std a.desc:hover {
    background-image: url("../graphics/desc_h.svg");
}

table.std thead  {
    font-weight: bold;
    font-size: medium;
}

input[type=checkbox].css-checkbox  {
    position: absolute;
    z-index: -1000;
    left: -1000px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}

input[type=checkbox].css-checkbox + label.css-checkbox-label {
    padding-left: 29px;
    height: 24px;
    display: inline-block;
    line-height: 24px;
    background-repeat: no-repeat;
    background-position: 0 0;
    /*font-size: 1.1em;*/
    vertical-align: middle;
    cursor: pointer;
}

input[type=checkbox].css-checkbox:checked + label.css-checkbox-label {
    background-position: 0 -24px;
}

input[type=checkbox].css-checkbox:disabled + label.css-checkbox-label {
    background-position: 0 -48px;
}

label.css-checkbox-label {
    background-image:  url("../graphics/csscheckbox.svg");
    background-size: 24px 72px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

a.context-help {
    text-decoration: none;
    font-size: 0.7em;
    border: 1px solid rgba(255,255,255, 0.4);
    padding: .2em .4em;
    color: rgba(255,255,255, .5);
    border-radius: .3em;
    cursor: pointer;
}

a.context-help:hover {
    color: white;
    border-color: rgba(255,255,255,0.8);
}

#help_header {
    margin: 0em;
    padding: .9em 2em 0.9em 1.4em;
    font-size: 1.3em;
    border-bottom: .1em solid rgba(0,0,0,0.15);
}

#help_header p {
    margin: 0em;
    padding: 0em;
    font-size: 1.1em;
}

#help_body {
    margin: 0em;
    padding: 1.4em 2em;
}

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.3);
  transition: opacity 400ms;
  display: none;
  z-index: -1;
}

.overlay:target {
  display: block;
  z-index: 90;
}

.popup {
  margin: 30vh auto;
  padding: 0 0;
  background: white;
  border-radius: 5px;
  width: 40vw;
  position: relative;
  transition: all 200ms ease-in-out;
}

.popup .helpCloseButton {
    height: 1.4em;
    width: 1.4em;
    margin-right: 1em;
    margin-top: 1em;
}

.popup .content {
  max-height: 30%;
  overflow: auto;
}
