﻿* {
  box-sizing: border-box;
}

body {
  margin: 0px;
  padding: 0px;
  font-family: arial, helvetica, verdana, sans-serif;
  background-color: azure;
  background: url("../Images/bg-striped.png") repeat;
}

.contentForm {
  width: 1280px;
  margin: 20px auto 90px;
  background-color: white;
  -webkit-box-shadow: 0 0 60px 0 rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 60px 0 rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  min-height: 90vh;
}

h2 {
  font-size: 1.5em;
  font-weight: 400;
  line-height: 30px;
  margin: 0 0 12px;
}

.errorMsg {
  color: red;
  font-weight: bold;
}

/* HEADER */
.header {
  display: flex;
  flex-direction: column;
  padding: 15px;
  font-size: 0.8em;
}
.header a {
  text-decoration: none;
  color: #454545;
}
.header .header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.header .header-navi {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}
.header .header-navi li:first-child a {
  border-left: 1px solid #ccc;
  padding-left: 10px;
}
.header .header-navi a {
  padding: 0 10px 0 30px;
  border: 1px solid #ccc;
  border-left-color: transparent;
  border-right: 0;
  position: relative;
  height: 24px;
  display: flex;
  align-items: center;
}
.header .header-navi a:hover {
  color: #dc0018;
}
.header .header-navi a::before {
  content: "";
  display: block;
  position: absolute;
  top: -1px;
  right: -26px;
  width: 0;
  height: 0;
  border-color: transparent transparent transparent #ccc;
  border-style: solid;
  border-width: 1.05em;
}
.header .header-navi a::after {
  content: "";
  display: block;
  position: absolute;
  top: -1px;
  right: -25px;
  width: 0;
  height: 0;
  border-color: transparent transparent transparent #fff;
  border-style: solid;
  border-width: 1.05em;
}
.header .header-info {
  display: flex;
  align-items: center;
}
.header .header-info > a {
  margin-right: 12px;
}
.header .header-info a:hover {
  text-decoration: underline;
  color: #dc0018;
}
.header .header-info .header-language {
  display: flex;
  padding-left: 10px;
  border-left: 1px solid #ccc;
}
.header .header-info .header-language a {
  margin-left: 2px;
  padding: 4px;
}
.header .header-info .header-language a.active {
  background-color: #e5e5e5;
}
.header .header-info .header-language a:hover {
  color: #069;
}
.header .header-bottom {
  display: flex;
  margin-bottom: 20px;
}
.header .header-bottom img {
  width: 254px;
  padding-right: 20px;
  margin-right: 20px;
  border-right: 1px solid #ccc;
}
.header .header-bottom .projectTitle {
  font-size: 1.2em;
  font-weight: bold;
}

/* NAVIGATION */
.global-nav {
  border-top: 5px solid #dc0018;
  margin-bottom: 20px;
  height: 50px;
  background: #e4e4e4;
  background: -webkit-gradient(linear, left top, left bottom, from(#e4e4e4), color-stop(39%, #e2e2e2), color-stop(79%, #ddd), color-stop(91%, #d5d5d5), color-stop(95%, #cfcfcf), color-stop(99%, #bebebe));
  background: linear-gradient(to bottom, #e4e4e4 0, #e2e2e2 39%, #ddd 79%, #d5d5d5 91%, #cfcfcf 95%, #bebebe 99%);
  display: flex;
  padding-left: 20px;
}
.global-nav a {
  display: flex;
  align-items: center;
  text-decoration: none;
  background: #e8e8e8;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #e8e8e8), color-stop(61%, #f7f7f7), color-stop(89%, #f7f7f7), color-stop(91%, #f5f5f5), color-stop(95%, #ececec), to(#d7d7d7));
  background: linear-gradient(to bottom, #e8e8e8 0, #f7f7f7 61%, #f7f7f7 89%, #f5f5f5 91%, #ececec 95%, #d7d7d7 100%);
  color: #454545;
  padding: 0 15px;
  border-right: 1px solid #b8b8b8;
  border-left: 1px solid #fff;
  font-size: 0.8em;
}
.global-nav a.active {
  background: #fff;
  font-weight: bold;
}
.global-nav a:hover {
  background: #fff;
  color: #dc0018;
}
.global-nav a.margin_left {
  margin-left: 100px;
}
.global-nav a.hidden {
  display: none;
}

/* CONTENT CONTAINER */
.container {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.main-container {
  flex-grow: 1;
  display: flex;
}

.content {
  flex-grow: 1;
  margin-right: 15px;
}

/* NAVIGATION LEFT */
.left-nav {
  flex-basis: 25%;
  flex-shrink: 0;
  margin-right: 30px;
}

.breadcrumbs {
  padding: 10px 36px;
  margin-bottom: 20px;
  font-size: 0.9em;
}
.breadcrumbs a {
  text-decoration: none;
  color: #000000;
}

/* FOOTER */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #ccc;
  padding: 10px 15px;
  background-color: #f5f5f5;
  margin-top: 30px;
  font-size: 0.9em;
}
.footer a {
  color: #006699;
  margin-left: 0.8em;
}
.footer a:hover {
  color: #005580;
  text-decoration: underline;
}
.footer .footer-links {
  list-style: none;
  display: flex;
}

.footer #ctl00_footer_changelog{
  display: none;
}


/* OVERVIEW */
.overview-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.overview-list .mbottom {
  margin-bottom: 15px;
}
.overview-list .no-border {
  border-bottom-color: transparent;
}
.overview-list .indent > span {
  margin-right: 25px;
}
.overview-list a {
  text-decoration: none;
  color: #333;
  padding: 6px 0 6px 30px;
  display: flex;
  position: relative;
  border-bottom: 1px solid #e5e5e5;
}
.overview-list a span {
  padding-left: 20px;
  flex-basis: 80px;
}
.overview-list a:hover {
  border-bottom: 1px solid #333;
}
.overview-list a:before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  height: 22px;
  width: 20px;
  background: url(../Images/Icons/icon_white_form.svg) no-repeat;
}
.overview-list a.pdf:before {
  background-image: url(../Images/Icons/icon_white_pdf.svg);
}
.overview-list a.word:before {
  background-image: url(../Images/Icons/icon_white_word.svg);
}
.overview-list a.excel:before {
  background-image: url(../Images/Icons/icon_white_excel.svg);
}

/* FORM NAVIGATION */
.form-navigation {
  display: flex;
  flex-direction: column;
}
.form-navigation .form-navigation-item {
  display: flex;
  align-items: center;
  padding-left: 10px;
  border-left: 5px solid transparent;
  border-bottom: 1px solid #ccc;
}
.form-navigation .form-navigation-item:hover {
  border-bottom-color: #333;
}
.form-navigation .form-navigation-item.active {
  border-left-color: #dc0018;
  border-bottom-color: #333;
}
.form-navigation .form-navigation-item.active .number, .form-navigation .form-navigation-item.active a {
  color: #333;
  font-weight: bold;
}
.form-navigation .form-navigation-item .number {
  flex-basis: 20px;
  text-align: right;
  padding-right: 10px;
  color: #757575;
}
.form-navigation .form-navigation-item a {
  display: block;
  text-decoration: none;
  color: #757575;
  position: relative;
  flex-grow: 1;
  padding: 8px 30px 8px 0;
}
.form-navigation .form-navigation-item a:before {
  content: "";
  position: absolute;
  right: 3px;
  top: 6px;
  height: 22px;
  width: 22px;
  background: none no-repeat;
}
.form-navigation .form-navigation-item a.unvisited:before {
  background-image: url(../Images/Icons/icon_white_circle.svg);
}
.form-navigation .form-navigation-item a.incomplete:before {
  background-image: url(../Images/Icons/icon_white_x.svg);
}
.form-navigation .form-navigation-item a.complete:before {
  background-image: url(../Images/Icons/icon_white_check.svg);
}
.form-navigation .form-navigation-item:not(.active) a:before {
  filter: invert(46%) sepia(2%) saturate(8%) hue-rotate(326deg) brightness(98%) contrast(90%);
}

/* GENERAL FORM */
.section-container {
  margin: 50px 0;
  display: flex;
  flex-direction: column;
}

/*.section-container-information {
  margin: 50px 0;
 }*/
.content-row {
  padding: 5px 0;
  display: flex;
  align-items: flex-start;
}
.content-row .content-selector {
  flex: 0 0 30px;
  padding-top: 2px;
}
.content-row .content-number {
  flex: 0 0 60px;
  padding-top: 3px;
}
.content-row .content-container {
  flex-grow: 1;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
}
.content-row .content-container .content-div {
  flex: 0 0 auto;
  padding-bottom: 5px;
}
.content-row .content-container .content-div.duo:nth-child(odd) {
  margin-right: 10px;
}
.content-row .content-container .content-div.trio:not(:nth-child(3n)) {
  margin-right: 10px;
}
.content-row .content-container .content-div > * {
  width: 100%;
}
.content-row .content-listactions {
  flex: 0 0 60px;
  padding-top: 1px;
  display: flex;
  margin-left: 10px;
}
.content-row .content-listactions .listaction-item {
  width: 20px;
}
.content-row .content-listactions .listaction-item:first-child {
  margin-right: 4px;
}
.content-row .content-listactions .listaction-item.delete {
  filter: invert(58%) sepia(75%) saturate(1727%) hue-rotate(318deg) brightness(97%) contrast(91%);
}
.content-row .content-listactions .listaction-item.add {
  filter: invert(47%) sepia(98%) saturate(354%) hue-rotate(84deg) brightness(102%) contrast(87%);
}
.content-row.section-title {
  margin-bottom: 20px;
}
.content-row.section-title .content-number {
  font-size: 1.8rem;
}
.content-row.section-title .content-selector {
  padding-top: 8px;
}
.content-row.section-title .control.label {
  font-size: 1.8rem;
}

.control {
  padding: 2px 5px;
  font-size: 1rem;
}
.control.textbox {
  border: 1px solid #999;
}
.control.label {
  margin-top: 1px;
  display: inline-block;
}
.control.multiline {
  font-family: arial, helvetica, verdana, sans-serif;
  line-height: 1.5rem;
}
.control.dropdown {
  background-color: white;
  border: 1px solid #999;
}

.radioGroup {
  background-color: #efefef;
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 10px;
}

textarea {
  resize: vertical;
}

.navButtons {
  margin: 30px;
  display: flex;
  justify-content: space-between;
}
.navButtons input {
  background: none;
  padding: 5px;
  border: 1px solid #333;
  cursor: pointer;
}
.navButtons input:hover {
  background-color: #efefef;
}

.docgen_button {
  background: none;
  padding: 5px;
  border: 1px solid #333;
  cursor: pointer;
}
.docgen_button:hover {
  background-color: #efefef;
}

.upload_description {
  line-height: 1.4rem;
}

.upload_deprecated_hint {
  display: block;
  background-color: #ffc3c3;
  border: 2px solid red;
  padding: 1rem;
  margin-bottom: 2rem;
}

.settings-description {
  display: block;
  line-height: 1.5rem;
  margin: 20px 0;
  width: 70%;
}

.settings-row {
  padding: 5px 0;
  display: flex;
  align-items: flex-start;
}
.settings-row .settings-selector {
  flex: 0 0 30px;
  padding-top: 2px;
}
.settings-row .settings-container {
  flex-grow: 1;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
}
.settings-row .settings-container .control.label {
  width: 125px;
}

.settings-subrow {
  font-size: 0.9em;
  margin-left: 35px;
}

.last_contract {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.last_contract .last_contract_row {
  margin: 0.5rem 0;
  display: flex;
}
.last_contract .last_contract_row .last_contract_title {
  flex-basis: 150px;
  font-weight: bold;
}
.last_contract .last_contract_base64 {
  display: none;
}
.last_contract input {
  margin-top: 20px;
  width: 250px;
  align-self: center;
}

@media (max-width: 1300px) {
  .contentForm {
    width: 98vw;
  }
}
@media (max-width: 1050px) {
  .contentForm {
    width: 1024px;
  }
}
