/*
* Styles for form pages
*/

#form-wrapper {
padding: 0em 0.6em 3.2em 0.6em;
color: #34495e;
}

@media screen and (max-width: 640px) {
#form-wrapper {
padding-left: 0;
padding-right: 0;
}
}


h1 {
text-align: center;
font-weight: normal;
font-size: 1.32em;
line-height: 1.4em;
}

h1 span {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
display: inline-block;
max-width: 100%;
vertical-align: bottom;
}

h2 {
margin: 3.52em 0 1em 0;
font-size: 1.32em;
font-weight: normal;
text-align: center;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

h2:first-of-type {
margin-top: 1.52em;
}

.form-info {
margin: 3.2em 0 3.2em 0;
padding: 0 0.6em;
font-size: 0.92em;
line-height: 1.6em;
text-indent: 0.8em;
color: #d64541;
}

@media screen and (max-width: 360px) {
h1 {
font-size: 1.12em;
}
}



.form-nav {
margin: 1.52em auto;
text-align: center;
}

.form-nav a {
color: #2455c3;
text-decoration: none;
white-space: nowrap;
padding: 0 0.32em;
}

.form-nav a:hover {
text-decoration: underline;
}

.form-nav a:visited {
color: #2455c3;
}

.form-nav-title, .form-nav-title-top {
display: inline-block;
width: 7.8em;
padding: 0 0.52em 0 0.32em;
font-weight: bold;
text-align: right;
}

.form-nav-title-top {
width: unset;
}

.form-nav-more {
padding: 0.52em 0;
border-bottom: 1px solid #ecf0f1;
width: max-content;
margin: 0 auto;
}

.form-nav-less {
padding: 0.52em 0;
border-top: 1px solid #ecf0f1;
width: max-content;
margin: 0 auto;
}

.form-nav-title {
display: none;
}

.form-nav-first, .form-nav-second {
display: inline-block;
}

.form-nav-first {
width: max-content;
text-align: right;
}

.form-nav-right {
text-align: right;
width: unset;
}

@media screen and (max-width: 760px) {
.form-nav-first {
display: none;
}
.form-nav {
text-align: unset;
width: max-content;
}
.form-nav a {
padding: 0;
margin: 0.32em 0.72em;
display: block;
width: max-content;
}
.form-nav-title {
padding: 0;
margin: 0.32em 0.72em 0.72em 0.72em;
display: block;
width: max-content;
}
.form-nav-more {
display: inline-block;
border-bottom: unset;
border-right: 1px solid #ecf0f1;
}
.form-nav-less {
display: inline-block;
border-top: unset;
border-left: 1px solid #ecf0f1;
}
}

@media screen and (max-width: 460px) {
.form-nav-more {
display: block;
border-bottom: 1px solid #ecf0f1;
border-right: unset;
}
.form-nav-less {
display: block;
border-top: 1px solid #ecf0f1;
border-left: unset;
}
}




table.form {
width: 100%;
margin: 0;
border-collapse: collapse;
}

table.form th {
vertical-align: top;
line-height: 2.2em;
text-align: center;
font-weight: bold;
background: #367691;
color: #ffffff;
}

table.form th:first-of-type {
border-radius: 2px 0 0 0;
}

table.form th:last-of-type {
border-radius: 0 2px 0 0;
}

table.form td {
line-height: 2.2em;
border-bottom: 1px solid #ecf0f1;
}

table.form td.tm {
vertical-align: top;
padding-left: 10px;
}

table.form td.ps {
width: 24px;
white-space: nowrap;
text-align: right;
padding-right: 12px;
}

table.form td.sc, table.form td.gm {
width: 52px;
white-space: nowrap;
text-align: right;
padding-right: 32px;
}

table.form td.pr {
width: 72px;
white-space: nowrap;
text-align: right;
padding-right: 24px;
}

table.form a {
text-decoration: none;
color: #2455c3;
}

table.form a:hover {
text-decoration: underline;
}

table.form a:visited {
color: #2455c3;
}

table.form .st {
display: none;
}

.fgl {
display: inline-block;
margin: 0 0 0 0.52em;
width: 2.2em;
height: 2.2em;
line-height: 2.2em;
vertical-align: top;
text-align: center;
}

.fgl img {
width: 24px;
vertical-align: middle;
}

.fgl:hover {
background-color: #ecf0f1;
}


@media screen and (max-width: 768px) {
table.form a.tl {
display: inline-block;
width: calc(100% - 3.04em);
}
}


@media screen and (max-width: 640px) {
table.form th:first-of-type, table.form th:last-of-type {
border-radius: 0;
}
}


@media screen and (max-width: 480px) {
table.form .lt {
display: none;
}
table.form .st {
display: unset;
}
table.form td.ps {
width: 24px;
padding-right: 6px;
}
table.form td.tm {
padding-left: 8px;
}
table.form td.sc, table.form td.gm {
width: 28px;
padding-right: 12px;
}
table.form td.pr {
width: 52px;
padding-right: 12px;
}
}


@media screen and (max-width: 360px) {
table.form td.ps {
width: 22px;
padding-right: 4px;
}
table.form td.tm {
padding-left: 6px;
}
table.form td.sc, table.form td.gm {
width: 26px;
padding-right: 10px;
}
table.form td.pr {
width: 48px;
padding-right: 8px;
}
}





.dc {
position: relative;
max-width: 100%;
display: block;
}

.dce {
position: absolute;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 100%;
width: 100%;
top: 0;
left: 0;
}

.dce a {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
