/*************

Webform

**************/

.webform-initial .form-group.label-floating:not(.is-empty) label.control-label {
  font-size: 16px;
  line-height: 22px;
}

.webform-submission-form .webform-actions,
.webform-submission-form .form-custom-btn {
  margin: 0;
}

.input-validation-message {
  font-size: 12px;
  color: #f44336;
  font-weight: 400;
}

.webform-button--previous {
  display: none;
}

/* new changes */

.webform-message {
  z-index: 99;
}

.webform-initial+.form-actions button.form-submit {
  display: none;
}

.webform-message-initial.webform-message a,
.webform-confirmation-modal.webform-message a {
  margin-top: 30px;
  display: inline-block;
  color: #23527c;
  font-size: 16px;
}

.webform-message-initial.webform-message a:hover,
.webform-confirmation-modal.webform-message a:hover {
  text-decoration: underline;
}

.webform-confirmation-modal br {
  display: none;
}

.webform-message-second .close {
  /* display: none; */
}

.webform-message-second .js-form-submit {
  margin-bottom: 0;
  /* pointer-events: none; */
}

.webform-submission-form .form-custom-btn {
  margin-top: 30px;
  margin-bottom: 30px;
}

.path-webform .webform-message::before {
  content: "";
  background: rgba(0, 0, 0, .7);
  position: absolute;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* overwrite file-upload */

::-webkit-file-upload-button {
  cursor: pointer;
}

.path-webform .form-group input[type=file] {
  opacity: 1;
  position: relative;
}

.path-webform .form-type-managed-file .checkbox input[type=checkbox] {
  opacity: 1;
  position: relative;
  top: 0;
  float: left;
  margin-top: 14px;
  width: auto;
  height: auto;
  z-index: 1;
  /* margin-left: -20px; */
}

.path-webform .form-type-managed-file .form-type-checkbox .control-label {
  display: flex;
}

.path-webform .form-type-managed-file .description.help-block {
  display: block;
  position: relative;
}

.path-webform .form-type-managed-file .checkbox {
  margin-bottom: 0;
}

.path-webform .popover-title,
.path-webform .popover-content {
  background-color: #00336a;
}

.path-webform .help-block {
  color: #fff;
  font-size: 14px;
}

/* .path-webform .help-block li:first-child {
  display: none;
}
 */

.path-webform .help-block li:not(:last-child) {
  margin-bottom: 5px;
}

.path-webform .file {
  margin-bottom: 0;
  font-size: 12px;
}

.path-webform .file>span {
  border: none;
}

.path-webform .form-managed-file>* {
  cursor: pointer;
}

/* End overwrite file-upload */

/* faq */

.faq {
  padding: 40px 15px;
  /* padding-top: 30px; */
  background: #fff;
  max-width: 300px;
  font-size: 16px;
  margin-left: 25px;
  margin-top: 50px;
  margin-bottom: 50px;
  font-weight: 400;
  opacity: 0;
  position: absolute;
  right: 5px;
}

.body-loaded .faq {
  opacity: 1;
}

.faq__title {
  margin-top: 0;
  font-size: 24px;
}

.faq__head {
  cursor: pointer;
  color: #fff;
  line-height: 20px;
  position: relative;
  padding: 10px;
  padding-right: 30px;
  background-color: #00336a;
}

.faq__head::after {
  /* content: '\e114'; */
  content: '\002b';
  display: inline-block;
  font-family: 'Glyphicons Halflings';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  font-size: 12px;
  color: #fff;
  transition: all .4s ease;
}

.faq__head.active::after {
  content: "\2212";
  transform: translateY(-50%) rotate(180deg);
}

.faq__body {
  display: none;
  margin-top: 10px;
  font-size: 14px;
  padding: 0 10px;
  padding-bottom: 10px;
  line-height: 18px;
}

.faq__body li:not(:last-child) {
  margin-bottom: 5px;
}

.faq__list {
  border-bottom: 1px solid #fff;
}

/* End faq */

.path-webform .region-content {
  /* max-width: 1075px; */
  display: flex;
}

.path-webform .form-type-processed-text {
  margin-top: 0;
}

.path-webform .webform-initial {
  margin-top: 0;
}

.path-webform .region-content>nav.tabs {
  position: absolute;
  max-width: calc(100vw - 655px);
  width: 100%;
  display: flex;
  justify-content: center;
  max-width: unset;
  width: 100%;
  left: 0;
}

.path-webform .region-content>nav.tabs .tabs--primary {
  background: transparent;
  border: none;
}

.path-webform .region-content>nav.tabs .tabs--primary>li:first-child {
  display: none;
}

.path-webform .region-content>nav.tabs .tabs--primary>li {
  background: #00336a;
  border: 1px solid #00336a;
  padding: 3px 5px;
  width: 71px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  transition: all .4s ease;
}

.path-webform .region-content>nav.tabs .tabs--primary>li:hover {
  background: #fff;
}

.path-webform .region-content>nav.tabs .tabs--primary>li:hover a {
  color: #00336a !important;
}

.path-webform .region-content>nav.tabs .tabs--primary>li:not(:last-child) {
  margin-right: 15px;
}

.popover.bottom {
  margin-top: 5px;
  width: 600px;
  max-width: none;
  background: transparent !important;
  margin-left: 66px;
  box-shadow: none;
  margin-left: 225px;
}

.path-webform .popover .popover-title {
  display: none !important;
}

.popover .popover-content {
  color: #4d4d4d;
  box-shadow: none;
  padding: 0;
}

.path-webform .popover .help-block li {
  color: #4d4d4d;
  font-size: 12px;
  /* border-right: 1px solid #9f9a9a; */
  padding-right: 15px;
  margin-right: 15px;
}

.path-webform .popover-title,
.path-webform .popover-content {
  background: transparent !important;
}

/* edited */
.path-webform .region-content {
  width: 100%;
  max-width: none;
  display: flex;
  justify-content: center;
  padding-right: 0;
  padding-left: 152px;
  padding-right: 325px;
}

.path-webform .webform-submission-form {
  width: 100%;
  max-width: 1140px;
}

#edit-second-page .form-type-processed-text {
  /* margin-top: 20px; */
  margin-top: 35px;
}

/* End edited */
#edit-response--wrapper {
  display: none;
}

/* @media screen and (min-width: 1200px) {
  .path-webform .region-content {
    max-width: calc(100vw - 655px);
    width: 750px;
  }
}
 */

.webform-confirmation-modal .messages__wrapper .webform-confirmation-modal--content {
  max-height: calc(100vh - 250px);
  overflow: auto;
}

.mCS-dark-thin.mCSB_scrollTools .mCSB_buttonUp {
  margin-top: 0 !important;
}

#edit-questions-header {
  margin-top: 30px;
  padding-bottom: 0;
}

#edit-questions-header+.form-group {
  margin-top: 20px
}

#edit-file-description .js-form-submit {
  margin: 0;
  white-space: normal;
}

/* 24-02-22 */
.form-item-file-upload .form-managed-file {
  display: flex;
  flex-wrap: wrap;
}

.form-managed-file .webform-file-button-input {
  flex: 1;
  margin-left: 25px;
}

.form-managed-file .webform-file-button {
  color: #000000;
}

.form-managed-file .form-item {
  width: 100%;
}

.asbc-download-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

.asbc-download-section>p {
  width: calc(50% - 15px);
  margin: 0;
}

.asbc-download-section>p:first-child {
  font-weight: 500;
}

.asbc-download-section>p:last-child {
  position: relative;
  top: 3px;
}

/* @media screen and (min-width: 991px) {
  .webform-confirmation-modal {
    max-width: 900px;
  }

  .webform-confirmation-modal .alert {
    padding: 30px 50px;
  }
} */



.webform-confirmation {
  margin: 0;
}

.webform-confirmation a {
  margin-top: 20px;
  display: inline-block;
  color: #23527c;
  font-size: 20px;
}

.confirmation-page .region-content {
  padding: 20px;
  margin: auto;
  max-width: 1140px;
}

.webform-confirmation__message {
  font-size: 24px;
  line-height: 30px;
  margin-bottom: 0;
}

.webform-confirmation__message p:not(:last-child) {
  margin-bottom: 20px;
}


.asbc-how-to-apply {
  font-size: 30px;
  margin-bottom: 20px;
}

.section-sub-title {
  font-size: 16px;
  color: #00336a;
}

.asbc-how-to-apply+.section-sub-title {
  margin-bottom: 40px;
}

@media screen and (max-width: 767px) {
  .asbc-download-section>p {
    width: 100%;
  }

  .asbc-download-section>p:not(:last-child) {
    margin-bottom: 15px;
  }

  .form-managed-file .webform-file-button-input {
    flex: unset;
    width: 100%;
    margin-left: 0;
  }

  .asbc-how-to-apply {
    font-size: 20px;
    /* margin-bottom: 20px; */
  }

  .webform-confirmation__message {
    font-size: 18px;
    line-height: 24px;
  }

  .webform-confirmation a {
    margin-top: 15px;
    font-size: 16px;
  }
}

/* end 24-02-22 */

@media screen and (max-width: 1200px) {
  .path-webform .region-content {
    width: 100%;
    max-width: unset;
    padding-right: 350px;
    padding-left: 40px;
  }
}

@media screen and (max-width: 991px) {
  .path-webform .region-content {
    padding-right: 40px;
  }

  .faq,
  .faq__btn {
    position: fixed;
    top: 100px;
    z-index: 101;
  }

  .faq {
    /* max-width: 250px; */
    transition: all .4s ease;
    right: -100%;
    max-width: unset;
    width: 100%;
    margin: 0;
  }

  .faq.active {
    right: 0;
  }

  .faq__btn {
    right: 0;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #00336a;
    width: 30px;
    height: 65px;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    transition: all .4s ease;
    opacity: 0;
    transform: translateX(30px);
  }

  .anm-faq .faq__btn {
    opacity: 1;
    transform: translateX(0);
  }

  .faq__content {
    max-height: calc(100vh - 311px);
    overflow: auto;
  }

  .faq__close {
    display: inline-block !important;
    position: absolute;
    right: 20px;
    top: 20px;
  }

  .faq__close::before {
    color: #00336a;
    font-size: 22px;
  }
}

@media screen and (max-width: 767px) {
  .path-webform .region-content {
    padding: 0 20px;
    display: block;
  }

  .path-webform .form-type-managed-file .description.help-block {
    padding: 0;
  }

  .popover.bottom {
    width: auto;
    margin: 0;
    margin-left: 10px;
    padding: 10px;
    padding-top: 5px;
    left: 0 !important;
  }

  .board h2 {
    max-width: 290px;
  }
}

/* .path-webform .region-content {
  width: 100%;
  max-width: none;
  display: flex;
  justify-content: center;
  padding-right: 0;
  padding-left: 152px;
  padding-right: 325px;
}
.path-webform .webform-submission-form {
  width: 100%;
  max-width: 1140px;
}
#edit-second-page .form-type-processed-text {
  margin-top: 20px;
} */
