@import url("global.css");

.paper {
    width: var(--pageWidth);
    height: var(--pageHeight);
    padding-left: var(--pagePadLeftRight);
    padding-right: var(--pagePadLeftRight);
    position: relative;
    background: #fff;
    border: 1px solid #d4d4d4;
}

.paper header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    height: 120px;
    position: relative;
    padding-top: 5px;
}

.paper header #headerLogo {
    width: var(--logoWidthHeight);
    height: var(--logoWidthHeight);
    position: absolute;
    left: 0;
}

.paper header #headers {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.paper header #headers .headersH1 {
    font-size: 16px;
    font-family: var(--generalFontFamily);
}

.paper header #headers .headersH2 {
    font-size: 14px;
    font-family: var(--generalFontFamily);
}

.paper header #headers .headersH2:last-child {
    margin-top: 15px;
}

.paper #applicationForm-1 {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    font-family: var(--generalFontFamily);
}

.paper #applicationForm-1 #formArea {
    font-weight: 700;
    font-size: 13px;
    width: 100%;
}

.paper #applicationForm-1 #formArea #applicationSteps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.paper #applicationForm-1 #formArea #applicationSteps #applicationLowerSteps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.paper #applicationForm-1 #formArea #applicationSteps #applicationLowerSteps #dateArea {
    padding: 40px 0;
    width: 100%;
    display: flex;
    align-items: end;
    justify-content: end;
    font-weight: 600;
}

.paper #applicationForm-1 #formArea #applicationSteps #applicationLowerSteps #dateArea #dateInput {
    border: none;
}

.paper #applicationForm-1 #formArea #applicationSteps #applicationLowerSteps #workingDetails {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.paper #applicationForm-1 #formArea #applicationSteps #applicationLowerSteps #workingDetails #details {
    width: 100%;
    height: 500px;
    border: 1px solid black;
    display: flex;
}

.paper #applicationForm-1 #formArea #applicationSteps #applicationLowerSteps #workingDetails #details #detailsHeaders {
    width: 30%;
    border-right: 1px solid black;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.paper #applicationForm-1 #formArea #applicationSteps #applicationLowerSteps #workingDetails #details #detailsHeaders .detailHeader {
    padding: 15px;
    width: 100%;
    height: calc(100% / 14);
    display: flex;
    align-items: center;
    padding-left: 5px;
    border: 1px solid black;
}

.paper #applicationForm-1 #formArea #applicationSteps #applicationLowerSteps #workingDetails #details #detailsHeaders .detailHeader:nth-child(2) {
    height: calc((100% / 14) * 4);
}
.paper #applicationForm-1 #formArea #applicationSteps #applicationLowerSteps #workingDetails #details #detailsHeaders .detailHeader:nth-child(1) {
    height: calc((100% / 14) * 5);
}

.paper #applicationForm-1 #formArea #applicationSteps #applicationLowerSteps #workingDetails #details #detailsContent {
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.paper #applicationForm-1 #formArea #applicationSteps #applicationLowerSteps #workingDetails #details #detailsContent #researchTypeContent {
    display: flex;
    width: 100%;
}

.paper #applicationForm-1 #formArea #applicationSteps #applicationLowerSteps #workingDetails #details #detailsContent #researchTypeContent .researchTypes {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    border: 1px none black;
    border-right-style: solid;
}

.paper #applicationForm-1 #formArea #applicationSteps #applicationLowerSteps #workingDetails #details #detailsContent #researchTypeContent .researchTypes:nth-child(2) .projectType {
    border-right: none;
}

.paper #applicationForm-1 #formArea #applicationSteps #applicationLowerSteps #workingDetails #details #detailsContent #researchTypeContent .researchTypes .projectType {
    padding-left: 5px;
    display: flex;
    align-items: center;
    height: calc(100% / 5);
    border-bottom: 1px solid black;
    border-top: 1px solid black;
}

.paper #applicationForm-1 #formArea #applicationSteps #applicationLowerSteps #workingDetails #details #detailsContent #researchTypeContent .researchTypes .projectType:nth-child(1) {
  border-top: none;
}

.paper #applicationForm-1 #formArea #applicationSteps #applicationLowerSteps #workingDetails #details #detailsContent #researchTypeContent .researchTypes .projectType:nth-child(2) {
  height: calc((100% / 5) * 1.5);
}

.paper #applicationForm-1 #formArea #applicationSteps #applicationLowerSteps #workingDetails #details #detailsContent #researchTypeContent .researchTypes .projectType:nth-child(4) {
  height: calc((100% / 5) * 1.5);
  border-bottom: none;
}

.paper #applicationForm-1 #formArea #applicationSteps #applicationLowerSteps #workingDetails #details #detailsContent #researchTypeContent .researchTypes .projectType label {
  width: 85%;
  height: 100%;
  display: flex;
  align-items: center;
}

.paper #applicationForm-1 #formArea #applicationSteps #applicationLowerSteps #workingDetails #details #detailsContent #researchTypeContent .researchTypes .projectType .checkboxContainer {
  width: 15%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.paper #applicationForm-1 #formArea #applicationSteps #applicationLowerSteps #workingDetails #details #detailsContent #researchTypeContent .researchTypes .projectType .checkboxContainer input[type="checkbox"] {
  width: 20px;
  height: 20px;
}

.paper #applicationForm-1 #formArea #applicationSteps #applicationLowerSteps #workingDetails #details #detailsContent .detailContent {
    width: 100%;
    height: calc(100% / 14);
    display: flex;
    align-items: center;
    border-left: none;
}

.paper #applicationForm-1 #formArea #applicationSteps #applicationLowerSteps #workingDetails #details #detailsContent .detailContent:nth-child(2) {
  height: calc((100% / 14) * 4);
  border: 1px solid black;
  border-right: none;
}
.paper #applicationForm-1 #formArea #applicationSteps #applicationLowerSteps #workingDetails #details #detailsContent .detailContent:nth-child(1) {
  height: calc((100% / 14) * 5);
  border: 1px solid black;
  border-right: none;
}

.paper #applicationForm-1 #formArea #applicationSteps #applicationLowerSteps #workingDetails #details #detailsContent .detailContent textarea,
.paper #applicationForm-1 #formArea #applicationSteps #applicationLowerSteps #workingDetails #details #detailsContent .detailContent input {
  width: 100%;
  height: 100%;
  border: 1px solid black;
  padding: 2px;
  font-size: 13px;
  outline: none;
}

.paper #applicationForm-1 #formArea #applicationSteps #applicationLowerSteps #workingDetails #details #detailsContent #researchTypeContent {
    display: flex;
}

.paper #applicationForm-1 #formArea #applicationSteps #applicationLowerSteps #signatureArea {
    height: 120px;
    padding-top: 30px;

    display: flex;
    flex-direction: column;
    align-items: end;
}

.paper #applicationForm-1 #formArea #applicationSteps #applicationLowerSteps #signatureArea #signatureContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.paper #applicationForm-1 #formArea #applicationSteps #applicationLowerSteps #signatureArea #signatureContainer #signatureInput {
  text-align: center;
  border: none;
  margin-bottom: 10px;
  color: black;
  width: 250px;
  height: 20px;
}

.paper #applicationForm-1 #formArea #applicationSteps #applicationLowerSteps #addition {
    height: 30px;
    display: flex;
    flex-direction: column;
}

.paper #applicationForm-1 #formArea #applicationSteps #applicationLowerSteps #addition .pageListedElement {
  font-weight: 900;
}

.paper #applicationForm-1 #formArea #applicationSteps #applicationLowerSteps #addition .pageListedElement:nth-child(2) {
  font-weight: 500;
}

.paper #applicationForm-1 #formArea #applicationSteps #applicationLowerSteps #information {
    padding-left: 5px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-size: 12px;
}

.paper #applicationForm-1 #formArea #applicationSteps #applicationLowerSteps #information .halfLine {
  position: absolute;
  top: -4px;
  left: 0;
  margin-left: 10px;
  width: 40%;
  height: 1px;
  background-color: black;
}

.paper #applicationForm-1 #formArea #applicationSteps #applicationLowerSteps #information span:nth-child(3) {
  color: gray;
}

#otherResearchTypeDescription {
    border:none !important;
    border-bottom:2px dotted black !important;
    outline:none;
    width:60%;
    font-size: 10px !important;
    height:30px !important;
}