/* ---------------------------------------------- */
/* ------------ NAVIGATION ELEMENTS ------------- */
/* ---------------------------------------------- */

.subnav {
  background: white;
  border-top: 1px dotted grey;
  display: flex;
  flex-basis: 100%;
  height: 3.3em;
  margin: 0 10px 0 10px;
  padding: 0.6em 0.4em 0.6em 1.2em;
}

.subnav > .element {
  background: #dbdbdb;
  border-radius: 2px;
  color: black;
  padding: 0.4em 0.8em;
  margin-left: 0.2em;
}

.subnav > .element:hover,
.subnav > .element:active,
.subnav > .element.active {
  background: deeppink;
  color: white;
}

.navigation-item .logout {
  background: deeppink;
  padding: 0 1em;
}

.navigation-item .logout:hover {
  background: black;
}

.overview {
  background-color: white;
  display: flex;
  flex-basis: 100%;
  flex-wrap: wrap;
  line-height: 130%;
  margin-bottom: 2vh;
  padding: 2vw 3vw 3vw 3vw;
  justify-content: space-between;
}

.memberEditEntry {
  display: flex;
  flex-basis: 100%;
  flex-wrap: wrap;
  justify-content: space-between;
}

.label {
  background: #ededed;
  padding: 0.4em;
}

.adminCompanyEditBtn .editBtn,
.adminEmptyCompanyEditBtn .editBtn {
  display: inline-block;
  justify-self: end;
}

.editBtn {
  background: #65ddca;
  border: 0;
  border-radius: 3px;
  color: white;
  cursor: pointer;
  display: flex;
  padding: 0.2em 0.8em;
  outline: none;
  line-height: unset;
}

.editBtn.approve {
  background: #189481;
}

.editBtn:hover,
.editBtn.delete:hover,
.editBtn.approve:hover {
  color: white;
  background: deeppink;
}

.editBtn.delete {
  background: grey;
  border-radius: 3px;
  min-height: unset;
}

.editBtn.delete.inactive {
  background: #dbdbdb;
  cursor: not-allowed;
}

.overviewBtn {
  margin-left: 0.2em;
}

.dataMarker.missing,
.label.missingData {
  background: red;
  color: white;
}

/* ---------------------------------------------- */
/* ---------------- FORM FIELDS ----------------- */
/* ---------------------------------------------- */

label {
  font-size: 90%;
}

.formLabel {
  display: block;
  font-size: 90%;
}

.radioOptionWrapper {
  display: inline-block;
  margin-top: 0.4em;
}

input {
  font-size: 100%;
  min-height: 2.8em;
  padding: 6px 8px;
  width: 100%;
}

input[type="text"],
input[type="search"],
input[type="number"],
input[type="textarea"],
input[type="submit"] {
  -webkit-appearance: none;
  -webkit-border-radius: 0;
  border-radius: 0;
}

input[type="text"],
input[type="search"],
input[type="number"],
input[type="date"],
input[type="textarea"] {
  border: 1px solid grey;
}

input[type="text"]:disabled,
input[type="search"]:disabled,
input[type="number"]:disabled,
input[type="textarea"]:disabled,
input[readonly] {
  border: 1px solid #dbdbdb;
}

input[type="text"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="submit"]:focus,
input[type="textarea"]:focus {
  outline: none;
}

input[type="checkbox"],
input[type="radio"] {
  min-height: unset;
}

label sup {
  color: deeppink;
  font-family: "iotaarchive-bold", "Lato", sans-serif;
  font-size: 100%;
  position: relative;
  top: -0.25em;
  vertical-align: top;
}

.dataMarker {
  padding: 0.2em 0.2em 0.2em 0.4em;
  background: #dbdbdb;
}

.redOutline {
  border: 1px solid red;
  color: red;
  line-height: 2.5;
  padding: 0.2em 0.4em;
}

.form,
.adminCompanyListEntry,
.adminNewsListEntry,
.adminNewsList {
  align-items: center;
  column-gap: 2%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  min-width: 0;
  row-gap: 0.4em;
  width: 100%;
}

.adminCompanyEmptyListEntry,
.adminEmptyNewsListEntry {
  background: whitesmoke;
  border-top: unset;
  padding: 0.6em 0.4em;
}

.adminCompanyListEntry label {
  font-size: 80%;
}

.adminCompanyListEntry .adminCompanyFullname {
  border-bottom: 1px solid grey;
}

.adminCompanyFullname {
  /* row start / col start / row end / col end */
  grid-area: 1 / 1 / 2 / 5;
  padding: 0.8em 0 0.4em 0;
}

.adminEmptyCompanyFullname {
  grid-area: 1 / 1 / 2 / 5;
}

#companyAddBtn {
  display: inline-block;
  margin: 0.6em 0.2em 0.4em;
  line-height: 1.4em;
}

.adminCompanyEditBtn {
  align-self: start;
  background: whitesmoke;
  grid-area: 4 / 1 / 5 / 5;
  border-top: 1px solid grey;
  padding: 0.4em 0 0.6em 0.2em;
}

.adminEmptyCompanyEditBtn {
  background: whitesmoke;
  grid-area: 1 / 4 / 2 / 5;
  justify-self: end;
}

.adminEmptyCompanyEditBtn form,
.adminNewsEditBtn form {
  display: inline-block;
}

.adminEmptyCompanyEditBtn form input,
.adminNewsEditBtn form input {
  cursor: pointer;
  border-radius: 3px;
  border: none;
}

.adminEmptyCompanyEditBtn form input:focus,
.adminNewsEditBtn form input:focus {
  outline: none;
}

.adminCompanyShortname {
  grid-area: 2 / 1 / 3 / 4;
  margin-top: 0.4em;
}
.adminCompanyShrtname {
  grid-area: 2 / 1 / 3 / 5;
  margin-top: 0.4em;
}

.adminCompanySlug {
  grid-area: 3 / 1 / 4 / 5;
}

.adminCompanyNewscount {
  grid-area: 2 / 4 / 3 / 5;
  margin-top: 0.4em;
}

.adminMemberListEntry {
  align-items: center;
  column-gap: 2%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  min-width: 0;
  row-gap: 0.4em;
  width: 100%;
  border-bottom: 1px solid grey;
}

.adminMemberFullname {
  grid-area: 1 / 1 / 2 / 4;
}

.adminMemberEditBtn {
  grid-area: 1 / 3 / 2 / 5;
  justify-self: end;
  align-self: start;
  display: inline-flex;
}

.adminMemberRole {
  border-top: 1px solid grey;
  grid-area: 2 / 1 / 3 / 5;
  padding-top: 0.4em;
}

.adminMemberEntryDate {
  grid-area: 3 / 1 / 4 / 3;
}

.adminMemberExitDate {
  grid-area: 3 / 3 / 4 / 5;
}

.adminMemberSlug {
  grid-area: 4 / 1 / 5 / 4;
}

.assocCompModule {
  background: whitesmoke;
  grid-area: 1 / 1 / 2 / 5;
  padding: 0.4em 0.4em 0.6em 0.4em;
}

.newsUrlsModule {
  grid-area: 2 / 1 / 3 / 5;
  padding-left: 0.4em;
}

.associatedUrl {
  border-radius: 3px;
  display: inline-block;
  margin: 0.4em 0.4em 0 0;
  padding: 0.2em 0.2em 0 0.2em;
}

.associatedUrl a {
  border-bottom: 1px dashed grey;
  word-break: break-all;
}

.associatedUrl .delete {
  color: deeppink;
  display: inline-block;
  margin-left: 0.2em;
  padding: 0.2em 0.4em;
}

.associatedUrl .delete:hover {
  background: deeppink;
  border-radius: 3px;
  color: white;
  cursor: pointer;
  padding: 0.2em 0.4em;
}

#urlInputField,
#companyInputField,
#familyNameInputField {
  display: inline-block;
  width: 81%;
}

.assocMembersModule {
  background: whitesmoke;
  grid-area: 3 / 1 / 4 / 5;
  padding: 0.4em 0.4em 0.6em 0.4em;
}

.assocCompModule .autocomplete,
.assocMembersModule .autocomplete,
.assocCountriesModule .autocomplete {
  width: 100%;
}

.assocCompModule .company,
.assocCompModule .selection {
  background: deeppink;
  padding: 0.35em 0.5em 0.1em 0.6em;
}

.assocMembersModule .company,
.assocMembersModule .selection,
.assocCountriesModule .selection {
  background: #40cab4;
  padding: 0.35em 0.5em 0.1em 0.6em;
}

.assocCompModule .company a,
.assocCompModule .company ion-icon,
.assocCompModule .selection a,
.assocCompModule .selection ion-icon,
.assocMembersModule .company a,
.assocMembersModule .company ion-icon,
.assocMembersModule .selection a,
.assocMembersModule .selection ion-icon,
.assocCountriesModule .selection a,
.assocCountriesModule .selection ion-icon {
  color: white;
}

.assocCompModule .company ion-icon:hover,
.assocCountriesModule .selection ion-icon:hover,
.assocCompModule .selection ion-icon:hover,
.assocMembersModule .company ion-icon:hover,
.assocMembersModule .selection ion-icon:hover {
  color: #ffffffcc;
}

.newsTypeModule {
  background: whitesmoke;
  grid-area: 4 / 1 / 5 / 5;
  padding: 0.4em 0 0.6em 0.6em;
}

.patentTitleModule {
  grid-area: 5 / 1 / 6 / 5;
}

.patentNumberModule {
  grid-area: 6 / 1 / 7 / 5;
}

.authorGivenNameModule {
  grid-area: 7 / 1 / 8 / 5;
}

.authorFamilyNameModule {
  grid-area: 8 / 1 / 9 / 5;
  margin-top: -0.8em;
}

#enteredAuthors {
  grid-area: 9 / 1 / 10 / 5;
}

.newsPubDateModule {
  grid-area: 11 / 1 / 12 / 5;
}

.newsAppDateModule {
  grid-area: 12 / 1 / 13 / 5;
}

.assocCountriesModule {
  grid-area: 13 / 1 / 14 / 5;
}

.newsBodyModule {
  grid-area: 14 / 1 / 15 / 5;
}

.relationModule {
  background: whitesmoke;
  grid-area: 15 / 1 / 16 / 5;
  padding: 0.4em 0.4em 0.6em 0.4em;
}

.maturityModule {
  background: whitesmoke;
  grid-area: 16 / 1 / 17 / 5;
  padding: 0.4em 0.4em 0.6em 0.4em;
}

.tweetSettingsModule {
  background: whitesmoke;
  grid-area: 17 / 1 / 18 / 5;
  justify-self: left;
  padding: 0.4em 0.4em 0.6em 0.4em;
  width: 100%;
}

.tweetBodyModule {
  align-self: start;
  grid-area: 18 / 1 / 19 / 5;
}

.submitterModule {
  grid-area: 19 / 1 / 20 / 5;
  margin-top: -1em;
}

.submitModule {
  grid-area: 20 / 1 / 21 / 5;
  justify-self: end;
  margin-top: unset;
}

.newsBodyModule textarea,
.tweetBodyModule textarea {
  outline: none;
  overflow: auto;
  padding: 0.4em;
  width: 100%;
}

.newsBodyModule textarea {
  height: 12em;
}

.adminNewsTweetIt,
.adminNewsTweetDelayed {
  display: inline-block;
}

.tweetBodyModule textarea {
  height: 8em;
}

.subLabel {
  line-height: 1.2em;
  display: block;
}

#tweetBodyCount {
  display: inline-block;
  text-align: right;
  width: 100%;
}

#submitter {
  display: inline-block;
  margin: 0.4em 0.4em 0 0;
}

#submitter .delete {
  color: deeppink;
  display: inline-block;
  margin-left: 0.2em;
  padding: 0.2em 0.4em;
}

#submitter .delete:hover {
  background: deeppink;
  border-radius: 3px;
  color: white;
  cursor: pointer;
  padding: 0.2em 0.4em;
}

#submitter a {
  background: lightgray;
  border-radius: 3px;
  padding: 0.2em 0.4em;
}

#copyrightForfeiture {
  margin: 0.2em 0.2em 0;
}

.adminNewsApprove {
  display: inline-block;
}

.formMemberSubmit.submitModule {
  display: inline-block;
  margin-top: unset;
}

#submitterFullnameCount,
.submitterUrl {
  font-size: 80%;
}

.autocomplete {
  /*the container must be positioned relative:*/
  position: relative;
  display: inline-block;
}

.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
}

.autocomplete b {
  color: deeppink;
}

.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}
.autocomplete-items div:hover {
  /*when hovering an item:*/
  background-color: #e9e9e9;
}
.autocomplete-active {
  /*when navigating through the items using the arrow keys:*/
  background-color: DodgerBlue !important;
  color: #ffffff;
}

.formMemberGivenName {
  grid-area: 1 / 1 / 2 / 5;
}

.formMemberFamilyName {
  grid-area: 2 / 1 / 3 / 5;
}

.formMemberSlug {
  grid-area: 3 / 1 / 4 / 4;
}

.formMemberId {
  grid-area: 3 / 4 / 4 / 5;
}

.formMemberRole {
  grid-area: 5 / 1 / 6 / 5;
}

.formMemberIntroDate {
  grid-area: 6 / 1 / 6 / 5;
}

.formMemberIntroUrl {
  grid-area: 7 / 1 / 8 / 5;
}

.formMemberExitDate {
  grid-area: 8 / 1 / 9 / 5;
}

.formMemberExitUrl {
  grid-area: 9 / 1 / 10 / 5;
}

.formMemberSubmit {
  background: #65ddca;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  color: white;
  display: block;
  grid-area: 10 / 1 / 11 / 5;
  height: 2em;
  justify-self: end;
  margin-top: 0.4em;
  min-height: unset;
  padding: 0.2em 1em;
  width: auto;
}

.formMemberSubmit:hover {
  color: white;
  background: deeppink;
}

.adminCompanyShortname {
  grid-area: 2 / 1 / 3 / 4;
}

.adminCompanyType {
  grid-area: 4 / 1 / 5 / 5;
}

/* .adminCompanyType label {
  grid-area: 5 / 1 / 6 / 5;
} */

.adminCompanyRevenue {
  grid-area: 5 / 1 / 6 / 5;
}

.adminCompanyRevenueSource {
  grid-area: 6 / 1 / 7 / 5;
}

.adminCompanyEmployeeCount {
  grid-area: 7 / 1 / 8 / 5;
}

.adminCompanyEmployeeCountSource {
  grid-area: 8 / 1 / 9 / 5;
}

.adminCompanyInactiveSwitch {
  align-self: center;
  grid-area: 9 / 1 / 10 / 5;
  justify-self: center;
  padding-top: 1.4em;
  margin-bottom: 0.4em;
}

.adminCompanyInactiveUrl {
  grid-area: 10 / 1 / 11 / 5;
}

.formCompanySubmit {
  background: #65ddca;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  color: white;
  display: block;
  grid-area: 11 / 1 / 12 / 5;
  height: 2em;
  justify-self: end;
  margin-top: 0.4em;
  min-height: unset;
  padding: 0.2em 1em;
  width: 5em;
}

.adminNewsSubmissionDate {
  grid-area: 1 / 1 / 2 / 5;
}

.adminNewsEditBtn {
  align-self: start;
  background: whitesmoke;
  grid-area: 6 / 2 / 7 / 5;
  justify-self: end;
  margin-top: -4px;
}

.adminNewsDeleteBtn {
  align-self: start;
  background: whitesmoke;
  grid-area: 6 / 1 / 7 / 2;
  justify-self: start;
  margin-top: -4px;
}

.adminNewsEditBtn .editBtn.desktopOnly {
  display: none;
}

.adminNewsEditBtn .editBtn,
.assocCompModule .editBtn,
.newsUrlsModule .editBtn,
.authorFamilyNameModule .editBtn {
  display: inline-block;
  justify-self: end;
  min-height: unset;
  margin-left: 0.4em;
}

.adminNewsCompanyMemberWrapper {
  grid-area: 2 / 1 / 3 / 5;
}

.adminNewsMemberNameWrapper,
.adminNewsCompanyNameWrapper {
  display: inline-block;
}

.adminNewsCompany,
.adminNewsMember {
  background: #40cab4;
  border-radius: 3px;
  color: white;
  padding: 0.2em 0.6em;
}

.adminNewsMember {
  background: deeppink;
}

.adminNewsDescription {
  align-self: start;
  grid-area: 3 / 1 / 4 / 5;
}

.adminNewsUrls {
  grid-area: 4 / 1 / 5 / 5;
}

.adminNewsUrl {
  border-bottom: 1px dotted grey;
  color: deeppink;
  display: block;
  padding: 0.4em 0;
}

.adminNewsUrl:last-child {
  border-bottom: unset;
}

.adminNewsUrl:hover {
  color: red;
}

.adminNewsMetadataWrapper {
  grid-area: 5 / 1 / 6 / 5;
  display: none;
}

.adminNewsMetadataWrapper div {
  display: inline-block;
  line-height: 230%;
}

.adminNewsRelation {
  margin-right: 0.8em;
}

.adminNewsType {
  margin-right: 0.8em;
}

.adminNewsMaturity {
  margin-right: 0.8em;
}

.adminNewsSubmitter {
  margin-right: 0.8em;
}

.adminNewsToBeTweeted {
  margin-right: 0.8em;
}

/* ---------------------------------------------- */
/* ---------------- INPUT TYPES ----------------- */
/* ---------------------------------------------- */

input:invalid {
  background-color: #ffdddd;
}

@supports (-webkit-appearance: none) or (-moz-appearance: none) {
  input[type="checkbox"],
  input[type="radio"] {
    --active: #275efe;
    --active-inner: #fff;
    --focus: 2px rgba(39, 94, 254, 0.3);
    --border: #bbc1e1;
    --border-hover: #275efe;
    --background: #fff;
    --disabled: #f6f8ff;
    --disabled-inner: #e1e6f9;
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 21px;
    outline: none;
    display: inline-block;
    vertical-align: top;
    position: relative;
    margin: 0;
    cursor: pointer;
    border: 1px solid var(--bc, var(--border));
    background: var(--b, var(--background));
    -webkit-transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
    transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
  }

  input[type="checkbox"]:after,
  input[type="radio"]:after {
    content: "";
    display: block;
    left: 0;
    top: 0;
    position: absolute;
    -webkit-transition: opacity var(--d-o, 0.2s), -webkit-transform var(--d-t, 0.3s) var(--d-t-e, ease);
    transition: opacity var(--d-o, 0.2s), -webkit-transform var(--d-t, 0.3s) var(--d-t-e, ease);
    transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
    transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s),
      -webkit-transform var(--d-t, 0.3s) var(--d-t-e, ease);
  }

  input[type="checkbox"]:checked,
  input[type="radio"]:checked {
    --b: var(--active);
    --bc: var(--active);
    --d-o: 0.3s;
    --d-t: 0.6s;
    --d-t-e: cubic-bezier(0.2, 0.85, 0.32, 1.2);
  }

  input[type="checkbox"]:disabled,
  input[type="radio"]:disabled {
    --b: var(--disabled);
    cursor: not-allowed;
    opacity: 0.9;
  }

  input[type="checkbox"]:disabled:checked,
  input[type="radio"]:disabled:checked {
    --b: var(--disabled-inner);
    --bc: var(--border);
  }

  input[type="checkbox"]:disabled + label,
  input[type="radio"]:disabled + label {
    cursor: not-allowed;
  }

  input[type="checkbox"]:hover:not(:checked):not(:disabled),
  input[type="radio"]:hover:not(:checked):not(:disabled) {
    --bc: var(--border-hover);
  }

  input[type="checkbox"]:focus,
  input[type="radio"]:focus {
    box-shadow: 0 0 0 var(--focus);
  }

  input[type="checkbox"]:not(.switch),
  input[type="radio"]:not(.switch) {
    width: 21px;
  }

  input[type="checkbox"]:not(.switch):after,
  input[type="radio"]:not(.switch):after {
    opacity: var(--o, 0);
  }

  input[type="checkbox"]:not(.switch):checked,
  input[type="radio"]:not(.switch):checked {
    --o: 1;
  }

  input[type="checkbox"] + label,
  input[type="radio"] + label {
    line-height: 21px;
    display: inline-block;
    cursor: pointer;
    margin-right: 0.8em;
  }

  input[type="checkbox"]:not(.switch) {
    border-radius: 2px;
  }

  input[type="checkbox"]:not(.switch):after {
    width: 5px;
    height: 9px;
    border: 2px solid var(--active-inner);
    border-top: 0;
    border-left: 0;
    left: 6px;
    top: 2px;
    -webkit-transform: rotate(var(--r, 20deg));
    transform: rotate(var(--r, 20deg));
  }

  input[type="checkbox"]:not(.switch):checked {
    --r: 43deg;
  }

  input[type="checkbox"].switch {
    width: 38px;
    border-radius: 11px;
  }

  input[type="checkbox"].switch:after {
    left: 2px;
    top: 2px;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    background: var(--ab, var(--border));
    -webkit-transform: translateX(var(--x, 0));
    transform: translateX(var(--x, 0));
  }

  input[type="checkbox"].switch:checked {
    --ab: var(--active-inner);
    --x: 17px;
  }

  input[type="checkbox"].switch:disabled:not(:checked):after {
    opacity: 0.6;
  }

  input[type="radio"] {
    border-radius: 50%;
  }

  input[type="radio"]:after {
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: var(--active-inner);
    opacity: 0;
    -webkit-transform: scale(var(--s, 0.7));
    transform: scale(var(--s, 0.7));
  }

  input[type="radio"]:checked {
    --s: 0.5;
  }
}

@media (min-width: 768px) {
  .formMemberGivenName {
    grid-area: 1 / 1 / 2 / 3;
  }

  .formMemberFamilyName {
    grid-area: 1 / 3 / 2 / 5;
  }

  .formMemberSlug {
    grid-area: 2 / 1 / 3 / 4;
  }

  .formMemberId {
    grid-area: 2 / 4 / 3 / 5;
  }

  .formMemberRole {
    grid-area: 3 / 1 / 4 / 5;
  }

  .formMemberIntroDate {
    grid-area: 4 / 1 / 5 / 2;
  }

  .formMemberIntroUrl {
    grid-area: 4 / 2 / 5 / 5;
  }

  .formMemberExitDate {
    grid-area: 5 / 1 / 6 / 2;
  }

  .formMemberExitUrl {
    grid-area: 5 / 2 / 6 / 5;
  }

  .adminCompanyShortname {
    grid-area: 2 / 1 / 3 / 3;
  }

  .adminCompanyShrtname {
    grid-area: 2 / 1 / 3 / 5;
  }

  .adminEmptyCompanyFullname {
    grid-area: 1 / 1 / 2 / 4;
  }

  .adminEmptyCompanyEditBtn {
    grid-area: 1 / 4 / 2 / 5;
  }

  .adminCompanySlug {
    grid-area: 2 / 3 / 3 / 4;
    margin-top: 0.4em;
  }

  .adminCompanySlugs {
    grid-area: 2 / 3 / 3 / 5;
    margin-top: 0.4em;
  }

  .adminCompanyId {
    grid-area: 2 / 4 / 3 / 5;
    justify-self: end;
    margin-top: 0.4em;
  }

  .adminCompanyNewscount {
    grid-area: 2 / 4 / 3 / 5;
    justify-self: end;
    margin-top: 0.2em;
  }

  .adminCompanyRevenue {
    grid-area: 5 / 1 / 6 / 2;
  }

  .adminCompanyRevenueSource {
    grid-area: 5 / 2 / 6 / 5;
  }

  .adminCompanyEmployeeCount {
    grid-area: 6 / 1 / 7 / 2;
  }

  .adminCompanyEmployeeCountSource {
    grid-area: 6 / 2 / 7 / 5;
  }

  .adminCompanyInactiveSwitch {
    align-self: center;
    grid-area: 7 / 4 / 8 / 5;
    justify-self: center;
    padding-top: 1.4em;
  }

  .adminCompanyInactiveUrl {
    grid-area: 7 / 1 / 8 / 4;
  }

  .formCompanySubmit {
    grid-area: 8 / 1 / 9 / 5;
  }

  .adminNewsSubmissionDate {
    align-self: start;
    grid-area: 1 / 1 / 2 / 4;
  }

  .authorGivenNameModule {
    grid-area: 5 / 1 / 6 / 3;
  }

  .authorFamilyNameModule {
    grid-area: 5 / 3 / 6 / 5;
    margin-top: unset;
  }

  #enteredAuthors {
    grid-area: 6 / 1 / 7 / 5;
  }

  .patentNumberModule {
    grid-area: 7 / 1 / 8 / 3;
  }

  .patentTitleModule {
    grid-area: 7 / 3 / 8 / 5;
  }

  .newsPubDateModule {
    grid-area: 9 / 1 / 10 / 3;
  }

  .newsAppDateModule {
    grid-area: 9 / 3 / 10 / 5;
  }

  #urlInputField {
    width: 89%;
  }

  #companyInputField {
    width: 89.6%;
  }

  .adminNewsEditBtn {
    align-self: start;
    background: whitesmoke;
    grid-area: 1 / 3 / 2 / 5;
    justify-self: end;
    margin-top: -4px;
  }

  .adminNewsDeleteBtn {
    display: none;
  }

  .adminNewsEditBtn .editBtn.desktopOnly {
    display: block;
  }

  .adminNewsMetadataWrapper {
    grid-area: 5 / 1 / 6 / 5;
    display: block;
  }
}