body,
html {
  font-family: "Lato", sans-serif !important;
}

.card-navi a:visited {
  color: #fff;
}

.card-navi a {
  color: #fff !important;
}

.card-page {
  background-color: #ffffff;
  flex: 1;
}

.card-content {
  max-width: 1280px;
  padding: 15px;
  margin: 0 280px 0 auto;
  font-size: 12px;
}

.card-content-full {
  max-width: 1280px;
  padding: 15px;
  margin: auto;
  font-size: 12px;
}

#not-found {
  max-width: 1170px;
  margin: auto;
  display: flex;
  justify-content: center;
}

#not-found .title {
  display: flex;
  align-items: center;
}

#not-found .title-header {
  letter-spacing: 6px;
  margin-right: 15px;
  padding-right: 15px;
  border-right: 2px solid #ff7a2c;
  font-size: 45px;
  font-weight: bold;
  color: #2e65ff;
}

.card-navi {
  background-color: #2e2d3b;
  background: linear-gradient(to bottom, rgb(46 45 59) 0%, rgb(23 22 29) 100%);
  display: flex;
  font-size: 14px;
  color: #fff;
  padding: 4px 8px;
}

.panel-logout {
  letter-spacing: 1.5px;
  text-decoration: none !important;
}

.card-navi .navi-actions {
  flex: 1;
}

.card-page-inner {
  display: flex;
  flex-direction: column-reverse;
}

.card .panel-logout {
  padding: 0 10px;
  cursor: pointer;
}

.nav-action {
  padding: 0 8px;
  font-weight: 600;
  letter-spacing: 1px;
}

.details-info-header {
  margin: 10px;
}

.login-header-text {
  padding: 20px 10px 0;
  text-align: center;
  font-weight: 600;
  color: #4f4396;
}

.app-header {
  margin: 5px;
}

.app-name {
  width: 100%;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  color: #507dad;
  letter-spacing: 1px;
}

.available-cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 10px;
}

.single-card-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 10px 15px;
  border: 1px solid #c1c1c1;
  margin: 10px;
  border-radius: 4px;
}

.set-card-btn {
  width: 100%;
  cursor: pointer;
  margin: 10px 0 5px 0;
}

.card-info-box {
  display: flex;
  align-items: center;
}

.card-box-title {
  font-size: 20px;
  font-weight: 600;
  margin: 10px 0;
}

.single-card-box .card-box-title {
  min-height: 60px;
}

.card-box-client {
  font-size: 16px;
  margin-bottom: 10px;
  word-break: break-word;
}

.card-box-client i {
  margin-right: 8px;
}

.card-box-date {
  display: flex;
  align-items: center;
}

.card-box-person {
  padding: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-date-value {
  margin-left: 5px;
}

.card-details {
  flex: 1;
}

.card-info-icon {
  font-size: 55px;
  color: #007bff;
  margin: 0 10px 0 20px;
}

.card-box-description {
  min-height: 40px;
  display: flex;
  align-items: flex-end;
}

.questions-container {
  display: flex;
  flex-direction: column;
}

.question-box {
  padding: 10px 0;
}

.question-title {
  font-size: 20px;
  font-weight: 600;
  align-items: center;
  display: flex;
}

.section-box {
  padding: 10px 20px;
  margin: 5px 0;
}

.single-option {
  display: flex;
}

.option-checkbox {
  width: 21px;
  height: 21px;
  float: left;
  margin-right: 10px;
  cursor: pointer;
  border: 2px solid #ff9c66;
  content: "";
  transition-duration: 0.3s;
}

.checkbox-checked .single-checkbox-content::before {
  content: attr(data-labelicon);
}

.checkbox-checked .single-checkbox-content {
  text-align: center;
  line-height: 17px;
  color: #fb813f;
  font-weight: bold;
  font-size: 16px;
}

.checkbox-disabled {
  background-color: #e2e2e2;
}

.single-option {
  margin: 10px 5px;
}

.section-inner {
  padding: 5px;
}

.option-graphic {
  width: 200px;
  height: 150px;
  background-size: contain !important;
  margin: 5px 15px;
}

.option-val {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.option-title.with-graphic,
.option-subtitle.with-graphic,
.option-description.with-graphic {
  margin-left: 15px;
}

.option-title:not(.with-graphic) {
  margin-left: 5px;
}

.option-title {
  font-size: 14px;
  color: #3e3e3e;
  display: flex;
}

.options-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.option-box {
  width: calc(50% - 30px);
  min-width: 400px;
  display: flex;
  align-items: center;
}

.option-box.option-highlighted {
  animation: highlightPulse 0.5s ease-in-out 3;
  box-shadow: 0 0 10px rgba(255, 193, 7, 0.8);
  border-radius: 5px;
}

@keyframes highlightPulse {
  0%,
  100% {
    background-color: transparent;
  }
  50% {
    background-color: rgba(255, 193, 7, 0.3);
  }
}

.section-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

.sections-container {
  padding-top: 15px;
  display: flex;
  flex-direction: column;
}

.option-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.option-number,
.option-text {
  border: 0 !important;
  border-bottom: 1px solid #ff9c66 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  width: 80px !important;
  margin: 0 10px;
  background-color: transparent !important;
}

.option-number {
  width: 100px !important;
}

.option-text {
  width: 200px !important;
}

.option-textarea {
  margin-left: 10px;
  background-color: transparent !important;
  width: calc(100% - 20px) !important;
}

.depend-hidden {
  display: none;
}

.option-title-value {
  margin-left: 2px;
  font-weight: 600;
  min-width: 125px;
  display: inline;
}

.option-title-value span {
  display: inline-block;
}

.option-box-clause {
  width: 100%;
  font-size: 16px;
}

.submit-box {
  display: flex;
  justify-content: center;
  padding: 15px;
  border-top: 1px solid #d8d8d8;
}

.submit_form {
  width: 50%;
  min-width: 200px;
}

.option-inner {
  width: 100%;
}

.option-textarea-outer {
  flex: 1;
}

.section-box.valid-error {
  background-color: #ffe2e2;
  border-radius: 3px;
}

.section-box.valid-success {
  background-color: #e6ffe2;
  border-radius: 3px;
}

.option-input.input-error {
  border-bottom: 2px solid red !important;
}

.option-checkbox.input-error {
  border-color: #ff0707;
}

.section-depend-hidden {
  display: none;
}

.option-box-clause {
  color: #565656;
}

.single-option.type-textarea {
  flex-direction: column;
}

.option-textarea-outer {
  margin-top: 10px;
}

.scroll-up {
  position: fixed;
  bottom: 20px;
  right: 20px;
  cursor: pointer;
  font-size: 50px;
  color: #ff9c66;
  z-index: 10;
}

.card-notfound-box {
  display: flex;
  justify-content: center;
  font-size: 20px;
  margin-top: 25px;
}

.cards-list {
  margin: 20px 15px;
}

.single-card-row {
  margin-bottom: 15px;
  padding: 10px;
  width: 400px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  background-color: #e6e6e6;
}

.set-card-btn-box {
  flex: 1;
  display: flex;
  align-items: flex-end;
}

.single-card-row.card-completed {
  background-color: #31e80378;
}

.single-card-row.card-new {
  background-color: #ff89898a;
  border: 1px solid #ea0101;
}

.single-card-row.card-notready {
  background-color: #ff89898a;
}

.card-new-info {
  text-align: center;
  color: #e60d0d;
  font-weight: 600;
  font-size: 14px;
}

.card-notready-info {
  text-align: center;
  color: #e60d0d;
  font-weight: 600;
  font-size: 14px;
}

.card-configured-info {
  text-align: center;
  color: #292929;
  font-weight: 600;
  font-size: 14px;
}

.card-admin-box {
  margin: 20px 10px;
}

.ca-home {
  cursor: pointer;
  font-size: 16px;
  color: #007bff;
}

.ca-home i {
  margin-right: 8px;
}

.card-admin-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.single-card-box.card-completed {
  border-color: #21c126;
}

.single-card-box:not(.card-completed) .icon-completed {
  display: none;
}

.single-card-box.card-completed .icon-completed {
  display: block;
}

.single-card-box:not(.card-completed) .icon-normal {
  display: block;
}

.single-card-box.card-completed .icon-normal {
  display: none;
}

.single-card-box.card-completed .card-info-icon {
  color: #21c126;
}

.unlock-btn-box {
  margin-right: 10px;
  cursor: pointer;
}

.unlock-btn-box.unlock-btn-box-disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.unlock-btn {
  transition-duration: 0.3s;
}

.unlock-title {
  font-size: 12px;
  font-weight: normal;
  margin-left: 8px;
}

.title-unlocked,
.unlock-btn-box .fa-unlock:hover {
  color: #21c126;
}

.title-locked,
.unlock-btn-box .fa-lock:hover {
  color: #d60000;
}

.position-value.positiv {
  color: #21c126;
}

.position-value.negativ {
  color: #d60000;
}

.card-details-box {
  position: fixed;
  z-index: 11;
  right: 0;
  top: 31px;
  padding: 2px 2px 2px 0;
  background-color: #ffffff;
  color: #5d5c5c;
  border: 1px solid #ff9c66;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  display: flex;
  box-shadow: 0 0 8px 2px rgba(207, 207, 207, 1);
}

.card-details-navi {
  display: none;
}

.card-details-box.hide .card-details-navi {
  transform: rotate(180deg);
}

.card-details-content {
  max-width: 280px;
  width: 280px;
  padding: 5px 10px 10px 5px;
}

.card-details-offer {
  padding: 5px 10px 10px 5px;
}

.card-details-content-outer {
  overflow-y: auto;
  max-height: calc(100vh - 100px);
}

.card-details-header {
  text-align: center;
  border-bottom: 1px solid #e2e2e2;
  font-weight: 600;
  margin-bottom: 12px;
  padding-bottom: 5px;
  font-size: 14px;
}

.details-positions.offer-positions {
  font-size: 16px;
}

.card-offer-header {
  text-align: center;
  border-bottom: 1px solid #e2e2e2;
  font-weight: 600;
  margin-bottom: 12px;
  padding-bottom: 10px;
  font-size: 20px;
}

.amount-position,
.extra-amount-position,
.payment-position {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 5px 0;
  border-bottom: 1px dashed #e8e8e8;
}

.position-name {
  padding-right: 5px;
  transition-duration: 0.3s;
}

.position-value {
  color: #ff9c66;
  font-weight: 600;
  padding-left: 5px;
  min-width: max-content;
}

.payment-position-value {
  color: #30c535;
  font-weight: 600;
  padding-left: 5px;
  min-width: max-content;
}

.amount-total-value,
.payment-total-value {
  color: #3915ff;
  font-size: 16px;
}

.amount-position.amount-option,
.extra-amount-position.amount-option:not(.amount-offer) {
  cursor: pointer;
}

.total-border {
  border: 1px solid #bdbdbd;
  margin-top: -1px;
}

.account-no-box {
  margin-top: 12px;
}

.account-no-value {
  font-weight: 600;
}

.account-no-text {
  font-size: 10px;
}

.amount-total-box {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  padding-top: 8px;
  color: #4e4e4e;
  font-weight: 600;
}

.section-option-info {
  color: #e68307;
  font-size: 14px;
  font-weight: 600;
  background-color: #ffeaba;
  padding: 10px;
  border-radius: 2px;
  margin-top: 5px;
  display: flex;
  align-items: center;
  border: 1px solid #ffdb87;
}

.option-value-changed-info {
  color: #f00d0d !important;
  font-size: 14px;
  font-weight: 600;
  background-color: #f00d0d45 !important;
  padding: 10px;
  border-radius: 2px;
  margin-top: 5px;
  display: flex;
  align-items: center;
  border: 1px solid #ff8787;
}

.option-value-changed-info i {
  font-size: 18px;
  margin-right: 5px;
}

.valid-error .section-error-text {
  display: flex !important;
}

.section-error-text {
  color: #e60707;
  font-size: 14px;
  font-weight: 600;
  background-color: #ffcdba;
  padding: 10px;
  border-radius: 2px;
  margin-top: 5px;
  display: flex;
  align-items: center;
  border: 1px solid #ff5a5a;
}

.question-unlocked-info {
  color: #289626;
  font-size: 14px;
  font-weight: 600;
  background-color: #ccffd0;
  padding: 10px;
  border-radius: 2px;
  margin-top: 5px;
  display: flex;
  align-items: center;
  border: 1px solid #289626;
}

.section-option-info i,
.section-error-text i,
.question-unlocked-info i {
  font-size: 18px;
  margin-right: 5px;
}

.client-attachments-box {
  margin: 30px 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.single-attachment {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px 15px;
  width: 300px;
}

.single-attachment i.fas {
  font-size: 55px;
  color: #007bff;
  padding: 10px;
  transition-duration: 0.3s;
  cursor: pointer;
}

.single-attachment i.fas:hover {
  color: #0008ff;
  transform: translateY(-5px);
}

.attachment-title {
  font-size: 20px;
  font-weight: 600;
}

.single-card-row .card-box-client {
  margin-bottom: 5px;
}

.amount-card .position-name,
.payment-position-name {
  color: #020067;
}

.admin-card-lists {
  display: flex;
  flex-wrap: wrap;
}

.card-row-persons {
  display: flex;
  flex-wrap: wrap;
  padding-top: 5px;
  margin-bottom: 10px;
  border-top: 1px dashed #3a3a3a;
  border-bottom: 1px dashed #3a3a3a;
}

.card-row-person .card-box-client {
  font-size: 12px;
  font-weight: 600;
}

.card-row-person {
  margin: 5px 10px;
  width: calc(50% - 20px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.loadingBox,
.modalBox {
  display: none;
}

.loadingInfo {
  z-index: 23;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: fixed;
  background: url(../img/loading.gif) no-repeat center;
  background-size: 120px;
}

.modalContent {
  background-size: 120px;
  z-index: 1001;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid #dcdcdc;
  background: #fff;
  max-height: calc(100% - 50px);
  overflow-y: auto;
  min-width: 320px;
  width: 40%;
  display: flex;
}

.loadingParent,
.modalParent {
  z-index: 22;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: fixed;
  background-color: #b5b5b5;
  opacity: 0.4;
}

.confirmBox {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 10px;
  width: 100%;
}

.confirm-title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 30px;
}

.confirm-options {
  display: flex;
}

.confirm-single-option {
  min-width: 90px;
  padding: 5px;
  margin: 0 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.confirm-single-option.option-yes,
.confirm-single-option.option-ok {
  background: #e68307;
  color: #fff;
  border: 1px solid #dc5b00;
  transition: ease 0.3s;
}
.confirm-single-option.option-yes:hover,
.confirm-single-option.option-ok:hover {
  background: #dc5b00;
}
.confirm-single-option.option-no {
  background-color: #b3b3b3;
  color: #fff;
  border: 1px solid #929292;
  transition: ease 0.3s;
}
.confirm-single-option.option-no:hover {
  background-color: #929292;
}

.amount-total-text {
  font-size: 16px;
}

@media only screen and (max-width: 767px) {
  .option-box {
    width: unset;
    min-width: unset;
  }

  .option-title {
    flex-direction: column;
  }

  .option-title-value {
    margin-left: 0;
    font-size: 12px;
  }

  .options-container {
    flex-direction: column;
  }

  .scroll-up {
    bottom: 8px;
    right: 5px;
    font-size: 40px;
    opacity: 0.5;
  }

  .card-content {
    margin: auto;
  }

  .card-details-content {
    display: none;
  }

  .card-details-navi {
    padding: 5px;
    font-size: 30px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition-duration: 0.5s;
  }

  .card-details-content {
    max-width: 260px;
    padding: 10px 10px 10px 5px;
  }

  .card-content-full {
    padding: unset;
    margin: unset;
  }
}

@media only screen and (min-width: 768px) {
  .amount-position.amount-option .position-name:hover,
  .extra-amount-position.amount-option:not(.amount-offer) .position-name:hover {
    text-decoration: underline;
  }
}

.login-box-outer {
  display: flex;
  justify-content: center;
}

.login-box {
  width: 600px;
}

.login-box {
  margin-top: 30px;
}

.login-box-inner {
  display: flex;
  flex-direction: column;
  border: 1px solid #dcdcdc;
  padding: 40px;
}

.login-box-inner > div:not(:first-child) {
  margin-top: 10px;
}

.rs_title {
  font-size: 18px;
  font-weight: 600;
  padding-bottom: 20px;
}

.login-row {
  display: flex;
  align-items: center;
  color: #252525;
}

.login-row-title {
  width: 130px;
  min-width: 130px;
  font-weight: 600;
  padding-right: 17px;
}

.login-row-title span {
  color: #ff0909;
}

.login-row-val {
  flex: 1;
  display: flex;
  align-items: baseline;
}

.login-input {
  height: 54px;
  border: 1px solid #dcdcdc;
  width: 100%;
  padding: 5px 15px;
  font-size: 18px;
}

.forgot-password-box {
  display: flex;
  justify-content: flex-end;
}

.forgot-password {
  width: calc(100% - 130px);
  text-decoration: underline;
  margin-top: 15px;
  color: #df0321;
  cursor: pointer;
}

.login-button {
  display: flex !important;
  align-self: center;
  align-items: center;
  width: 290px;
  background-color: #2065ff !important;
  color: #fff !important;
  cursor: pointer !important;
  padding: 15px !important;
  margin-top: 40px;
  border: none !important;
  border-radius: 0 !important;
}

.login-text {
  flex: 1;
  margin-left: 20px;
  text-align: left;
}

.submit-box-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
}

.button-partial-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

.partial-save-info {
  margin-top: 5px;
  font-style: italic;
  color: #313131;
}

.payment-position-name {
  display: flex;
}

.single-payment-date {
  font-size: 8px;
}

.show_attachments {
  display: flex;
  justify-content: flex-end;
  font-size: 12px;
  cursor: pointer;
  font-weight: 600;
}

.get_attachment_box {
  font-size: 10px;
}

.note_attachments_box {
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  align-items: flex-end;
  padding-top: 10px;
}

@media (max-width: 767px) {
  .login-box-outer > div {
    width: unset;
    padding: 4px;
  }

  .login-box-outer .login-box-inner {
    padding: 5px;
  }

  .login-box-outer .login-row-title {
    width: 100px;
  }

  .login-box-outer {
    max-width: 80%;
    margin: auto;
  }
  .login-box-outer .login-row-title {
    margin-bottom: 10px;
  }

  .login-box-inner {
    padding: 20px !important;
  }

  .rs_title {
    text-align: center;
  }
}

.content-page-container {
  display: flex;
  flex-direction: column;
  padding: 20px;
  min-height: 500px;
}

.question-depend.question-hidden {
  display: none;
}

.card-edit-lock-banner {
  position: sticky;
  top: 30px;
  z-index: 9;
  background: #dc3545;
  color: #fff;
  padding: 12px 20px;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  margin-bottom: 10px;
}

.card-form-locked {
  opacity: 0.75;
}
