#login-container,
#main-container {
  position: relative;
  margin: 5px auto;
  padding: 0;
  background-color: #ffffff;
}

#login-container {
  width: 666px;
}

#main-container {
  width: 970px;
  min-width: min-content;
}

#container-header {
  position: relative;
  height: 70px;
  overflow: hidden;
}

  #container-header > h1 {
    font-size: 16pt;
    font-style: italic;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 10px;
    bottom: 5px;
  }

#logo {
  display: inline-flex;
  height: inherit;
}

/* meta navigation */
#meta-navigation {
  display: flex;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 5px;
  right: 10px;
}

  #meta-navigation li {
    margin: 0;
    padding: 0;
    display: flex;
  }

    #meta-navigation li + li::before {
      content: '|';
      display: inline-block;
      margin: 0 4px;
    }

#main-navigation {
  display: flex;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 25px;
}

#language-items,
#main-items {
  /*display: -ms-inline-flexbox;*/
  display: inline-flex;
  margin: 0;
  padding: 0;
  max-width: 80%;
  background-color: #fff;
  align-items: center;
  list-style: none;
  flex: 9;
  z-index: 99;
  text-transform: uppercase;
}

  #language-items:empty {
    visibility: hidden;
  }

  #language-items li,
  #main-items li {
    list-style: none;
    display: inline-block;
    margin: 0;
  }

  #language-items > li > a {
    display: block;
    width: 23px;
    height: 15px;
    margin: 4px;
    border: 1px solid #fff; /* outline-offset not supported in IE */
    outline-style: solid;
    outline-width: 2px;
    outline-color: transparent;
    transition: all .3s;
  }

    #language-items > li > a.selected,
    #language-items > li > a:hover {
      outline-color: #5b6770;
    }

  #main-items > li {
    display: block;
    margin: 4px 12px;
    cursor: pointer;
    color: #a35d0c;
    text-decoration: none;
  }

    #main-items > li:hover {
      color: #336666;
      text-decoration: underline;
    }

#partner-list {
  /*display: -ms-inline-flexbox;*/
  display: inline-flex;
  flex: 4;
  padding: 4px;
  justify-content: flex-end;
  align-items: center;
}

.single-partner {
  padding: 2px 4px;
  font-weight: bold;
  color: #fff;
  white-space: nowrap;
}

#login-content,
#main-content {
  position: relative;
  margin: 0;
  padding: 0;
}

  #login-content > div,
  #main-content > div {
    margin: 0;
    padding: 8px;
  }

div.login-screen {
  position: relative;
  box-sizing: border-box;
  height: 447px;
  background: no-repeat 50% top;
  margin-top: -26px !important;
}

.access-warning {
  position: absolute;
  bottom: 0;
  font-size: 12px;
  padding: 12px;
  box-sizing: border-box;
  width: 100%;
}

.maintenance-info {
  margin: 50px 10px;
  padding: 1em;
}

.menu_link {
  color: #366b7b;
  text-decoration: none;
  font-style: normal;
  font-weight: normal;
  /*text-transform: lowercase;*/
}

a.menu_link {
  color: #a35d0c;
  text-decoration: none;
}

  a.menu_link:hover {
    color: #336666;
    text-decoration: underline;
  }

.menu_link.arrow {
  padding-right: 18px;
  background: url(../Images/ArrowDown.png) right no-repeat;
}

  .menu_link.arrow:hover {
    padding-right: 18px;
    background: url(../Images/ArrowDownSelected.png) right no-repeat;
  }

.menu_linkSelected {
  color: #336666;
  text-decoration: none;
  /*text-transform: lowercase;*/
  font-weight: bold;
}

  .menu_linkSelected.arrow {
    padding-right: 18px;
    background: url(../Images/ArrowDownSelected.png) right no-repeat;
  }

.menu_button {
  background-color: #f7f6f4;
  border: 1px solid #a35d0c;
  font-style: normal;
  font-weight: normal;
  color: #336666;
  padding: 2px 5px;
}





.header_label {
  font-size: 1.2em;
  font-weight: bold;
  display: block;
  margin-bottom: 1em;
}

  .header_label:empty {
    display: none;
  }

.subheader_label {
  font-weight: bold;
}

.policy-container {
  display: block;
  height: 400px;
  overflow-y: scroll;
  border-style: solid;
  border-width: 1px;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  max-width: 960px;
}

  .policy-container > article {
    margin: 5px;
  }



.modal-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: rgba(255, 255, 255, 0.75);
  z-index: 999;
  display: flex;
}

.modal-inner {
  position: relative;
  margin: auto;
  background-color: #ffffff;
  padding: 20px;
  border: 1px solid #7f7f7f;
  box-shadow: 1px 1px 4px #9e6d3d;
}


.flex-justify {
  display: flex;
  justify-content: space-between;
}

  .flex-justify span + span {
    margin-left: 4px;
  }

fieldset {
  border: 1px solid #7f7f7f;
  padding: 5px;
}

.link-button {
  display: inline-block;
  background-repeat: no-repeat;
  opacity: 0.75;
  transition: all .25s;
}

  .link-button > img {
    display: inline-block;
    margin-right: 3px;
  }

  .link-button:not([disabled]) {
    cursor: pointer;
  }

    .link-button:not([disabled]):hover {
      opacity: 1.0;
      color: #000;
    }

.alert-count {
  position: absolute;
  right: 0;
  bottom: -10px;
  background-color: #db1414;
  color: white;
  display: inline-block;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  text-align: center;
  padding-top: 2px;
  box-sizing: border-box;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.5);
}
