@font-face {
  font-family: 'Orchestra-Regular';
  src: url("Ofis.Fonts.Web.Averta.Regular.woff") format("woff");
}

textarea, input, select {
  font-family: "Orchestra-Regular";
}

html {
  background-color: #FFFFFF;
}

html, body {
  font-family: "Orchestra-Regular";
  font-size: 1em;
  color: #0B2A48;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: #0B2A48;
}

p {
  color: #58595B;
}

#toolbar {
  background: none;
  border: none;
  line-height: 1.5em;
  position: absolute;
}

#toolbar a {
  text-decoration: none;
}

.collapsed .tab,
.Menu li.collapsed > span,
#toolbar .Menu li.collapsed > span {
  background-image: url("Ofis.UserInterface.Icon.Collapsed.Blue.svg");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: left center;
}

.expanded .tab,
.Menu li.expanded > span,
#toolbar .Menu li.expanded > span {
  background-image: url("Ofis.UserInterface.Icon.Expanded.Blue.svg");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: left center;
}

.Menu.Horizontal > ol > li > span:hover {
  border-bottom: 2px solid #0b2a48;
}

#toolbar .Menu.Horizontal > ol > li > ol {
  top: 1.5em;
  right: 0;
  left: auto;
}

#toolbar .Maximize,
#toolbar .Normal {
  display: none;
}

body[data--source*="ApplyForGrant"] #main {
  height: auto;
}

#main {
  font-family: "Orchestra-Regular";
  font-weight: normal;
  font-style: normal;
  height: 100%;
}

body[data--source*="ApplyForGrant"] #content > div {
  padding-bottom: 5em;
  margin: auto;
}

#content {
  padding: 0;
  display: flex;
  height: 100%;
}

#content .Form {
  padding: 0;
  text-align: left;
  border: none;
}

#content .Form:not(#Message) .header {
  background-color: transparent;
  border-bottom: none;
  font-size: 1em;
}

#content .Form td.value {
  border: none;
  line-height: 2em;
}

.Form .FormSection.Vertical tr > td.caption:empty,
.Form .FormSection.Vertical tr > td.value:empty {
  display: none;
}

#content .Form td.caption:not(.Leaf) {
  font-weight: bold;
}

.section .header {
  margin-top: 30px;
  font-weight: bold;
}

#content .Form td.caption:not(.Leaf) td.caption {
  font-weight: normal;
}

div#Client {
  display: block;
  box-shadow: 0 2px 3px rgba(0,0,0,0.22), 0 2px 6px rgba(0,0,0,0.12);
  margin: auto;
  width: 22em;
}

div#Client > h1 {
  font-size: 0px;
  height: 70px;
  width: auto;
  background-image: url(Ofis.Logo.White.svg);
  background-position: center;
  background-size: 180px;
  background-repeat: no-repeat;
  background-color: #0B2A48;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
}

div#Client > div {
  padding: 2em;
}

div#Client > div > p {
  text-align: left;
  font-size: 0.95em;
}

div#Client table {
  margin: 3em 0;
  width: 100%;
}

div#Client .FormSection td.caption {
  display: none;
}

div#Client .Field {
  min-width: unset;
  max-width: unset;
  background-color: #FFFFFF;
  border-bottom: none;
}

#Client form input[type="text"] {
  background-color: #FFFFFF;
  height: 2.5em;
  box-sizing: border-box;
  border-bottom: 1px solid #d3d3d3;
}

#Client form input[type="text"]::placeholder {
  font-size: 1em;
  font-style: normal;
}

#Client form input[type="submit"] {
  background-color: #0B2A48;
  width: 100%;
  color: #FFFFFF;
  padding: 0px;
  padding-top: 5px;
  padding-bottom: 5px;
  border-radius: 0;
}

#Client form input[type="submit"]:hover {
  background-color: #092540;
}


#Client .section.error {
  border: none;
  padding: 0;
  margin: 0;
}

#Client .section.error .body {
  padding: 0;
  height: 0;
}

#Client .section.error p,
#Client .section.error thead,
#Client .section.error tbody td {
  display: none;
}

#Client .section.error tbody td:last-child {
  display: block;
  border: none;
  position: absolute;
  top: 8.5em;
  left: 0;
  color: rgba(222, 0, 0, 1);
  font-size: 0.75em;
  line-height: 1.5em;
}

#Client .section.error table {
  display: inline;
}

.Form .FormSection.Vertical tr > td.caption:empty,
.Form .FormSection.Vertical tr > td.value:empty {
  display: none;
}

.Field {
  font-size: 1em;
}

.BankAccount > div {
  display: block;
}

.BankAccount > div > div {
  margin-right: 2em;
}

.Form .ButtonPanel {
  margin-top: 10px;
}

input[type="submit"],
input[type="button"] {
  border: 1px solid #0B2A48;
  border-radius: 5px;
  background-color: #FFFFFF;
  line-height: 2em;
  color: #0B2A48;
}

input[type="submit"]:hover,
input[type="button"]:hover {
  background-color: #0B2A48;
  color: #FFFFFF;
}

input[type="button"] {
  vertical-align: top;
}

#login a {
  position: relative;
  top: 6px;
  left: auto;
  right: auto;
}

div.Message {
  text-align: left;
}

#OnlineApplication td.caption {
  min-width: 200px;
  max-width: 350px;
  white-space: normal;
}

#OnlineApplication .Table .Toolbar .Menu,
#OnlineApplication .Table .Toolbar .Cursor {
  height: 20px;
}

#OnlineApplication .Menu.Horizontal > li {
  vertical-align: top;
}

#OnlineApplication .Suggest table td,
#OnlineApplication .Suggest table th {
  white-space: nowrap;
}
