/* Common */
:root {
  --bs-primary: #337ab7;
}
.btn.btn-secondary:hover {
  background: #286090;
  color: #fff;
}
button.btn-secondary,
input[type="submit"].btn-secondary {
  --bs-btn-bg: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
}
body {
  margin: 0;
}
/*Header */
body .navbar-collapse {
  flex-basis: inherit;
}
body header .navbar-nav.justify-content-end {
  justify-content: flex-start !important;
}
.navbar .navbar-nav li a:hover {
  text-decoration: none;
}
/* Footer */
.footer a {
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}
a {
  text-decoration: none;
}
/* Home */
body.path-frontpage .home-carousel .views-slideshow-pager-bullets {
  z-index: 30 !important;
}
.slick-initialized .slick-slide {
  padding-right: 15px;
  padding-left: 15px;
}
.block-partner .more-link {
  text-align: center;
}
.block-partner .more-link a {
  text-decoration: none;
}
.slick-next ,
.slick-prev {
  transition: all .3s ease;
}
body .slick-arrow {
  background-repeat: no-repeat;
  background-size: 63%;
  background-position: center;
  background-color: transparent;
}
body .slick-next {
  background-image: url(/themes/custom/b5ap3f/assets/components/common/../../images/homepage/Right_arrow_usfullinks.png);
  right: -54px;
}
body .slick-prev {
  background-image: url(/themes/custom/b5ap3f/assets/components/common/../../images/homepage/Left_arrow_usfullinks.png);
  left: -54px;
}
body .slick-next:hover {
  background-image: url(/themes/custom/b5ap3f/assets/components/common/../../images/homepage/Right_arrow_hover.png);
}
body .slick-prev:hover {
  background-image: url(/themes/custom/b5ap3f/assets/components/common/../../images/homepage/Left_arrow_hover.png);
}
.home-carousel .view-home-carousal .carousal-description-wrapper .title a {
  text-decoration: none;
}
body .home-carousel .view-home-carousal .views_slideshow_cycle_main .views_slideshow_cycle_slide .field-content {
  height: 430px !important;
}
.navbar-brand a.site-title {
  display: none;
}
header .navbar-brand {
  padding: 0;
}
body .navbar .navbar-nav li a {
  padding-top: 15px;
  padding-left: 19px;
}
/* What we do*/
.block-whatWeDo .more-link a {
  text-decoration: none;
}
/* Resources */
body .quicktabs-tabs > li:hover {
  border-bottom: 3px solid #3198c6;
}
.block-resource .quicktabs-tabs > li a:hover {
  color: #3198c6 !important;
}
/* Contact */
body .secondary-container .contact-frm .js-form-type-email {
  margin: 0;
}
body .secondary-container .contact-frm .form-item {
  margin-bottom: 53px;
}
body .secondary-container .contact-frm .contact-grp-wrap > .form-wrapper div {
  height: auto;
}
body.path-contact-us .form-actions {
  text-align: center;
}
body.path-contact-us .form-actions .button {
  margin: 0;
  transition: all .5s ease;
  font-size: 12px;
  border-radius: 0;
  color: #1e417b;
  border: 1px solid #1e417b;
  font-weight: 700;
  width: 120px;
  padding: 10px 14px;
  background: transparent;
  text-transform: uppercase;
}
body.path-contact-us .form-actions .button:hover {
  background-color: #1e417b;
  color: #fff;
}
/* Activities */
.tile-view .view-filters .form-item .select2 {
  min-height: 25px;
}
/* Login */
.path-user .main-container {
  padding-top: 5.2em;
}
.path-user .main-container-pd {
  padding-top: 10em;
}
.editor:not(.path-frontpage) .main-container {
  padding-top: 3em;
}
.path-user .user-login-form .form-actions {
  position: relative;
  float: right;
}
.path-user .user-login-form .form-actions::before {
  background: url(/themes/custom/b5ap3f/assets/components/common/../../images/login.svg) no-repeat center;
  content: '';
  position: absolute;
  left: 7px;
  top: 11px;
  background-size: 14px 14px;
  width: 14px;
  height: 14px;
}
.path-user .user-login-form .form-actions input {
  padding-left: 25px;
}
/* Dashboard */
.user-logged-in .dialog-off-canvas-main-canvas {
  padding-top: 81px;
}
.user-logged-in.path-contact-us .js-form-type-item label {
  padding-bottom: 15px;
}
.form-check-input[type=checkbox] {
  border-radius: 0.25em;
  margin-top: 10px;
  margin-bottom: 10px;
}
label {
  margin-right: 10px;
}
.dashboard-list .view-filters form > div .form-item-status label {
  margin-right: 16px;
  min-width: 118px;
}
.form-check-input:checked[type=checkbox] {
  background-image: url(/themes/custom/b5ap3f/assets/components/common/../../images/dashboard/tick.svg) !important;
}
.dashboard-list .view-filters form > div > div:not(:last-child) {
  margin-right: 20px;
  display: flex;
  align-items: center;
}
.ap3fdatabase-mongo {
  padding-bottom: 3em;
}
.ap3fdatabase-mongo .js-form-submit#edit-submit {
  background-color: #f0ad4e;
  border-color: #eea236;
  position: relative;
  padding-left: 34px;
  padding-right: 13px;
}
.input-with-icon {
  position: relative;
  display: inline-block;
}

.input-with-icon input {
  padding-right: 30px;
}
.icon-class {
  width: 20px;
  height: 20px;
}
.input-with-icon .icon-class {
  position: absolute;
  z-index: 10;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background-image: url(/themes/custom/b5ap3f/assets/components/common/../../images/dashboard/import.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.form--inline .form-item {
  display: flex;
  align-items: center;
}
.form--inline .form-actions {
  position: relative;
  display: flex;
}
.path-our-activities .form--inline .form-actions::before {
  background: none;
}
.form--inline .form-actions::before {
  background: url(/themes/custom/b5ap3f/assets/components/common/../../images/dashboard/filter.svg) no-repeat center;
  content: '';
  position: absolute;
  left: 7px;
  top: 9px;
  background-size: 14px 14px;
  width: 14px;
  height: 14px;
}
.form--inline .form-actions::after {
  background: url(/themes/custom/b5ap3f/assets/components/common/../../images/dashboard/delete.svg) no-repeat center;
  content: '';
  position: absolute;
  left: 89px;
  top: 9px;
  background-size: 14px 14px;
  width: 14px;
  height: 14px;
}
.form--inline .form-actions input {
  padding-left: 25px;
}
body .tablesort--asc {
  background: url(/themes/custom/b5ap3f/assets/components/common/../../images/dashboard/down_arrow.svg) no-repeat center;
  margin-left: 4px;
  height: 10px;
}
body .tablesort--desc {
  background: url(/themes/custom/b5ap3f/assets/components/common/../../images/dashboard/up_arrow.svg) no-repeat center;
  margin-left: 4px;
  height: 10px;
}
body.path-admin .form-boolean--type-checkbox[disabled]:checked {
  background: url(/themes/custom/b5ap3f/assets/components/common/../../images/dashboard/checked-tick.svg) no-repeat center;
}
/* Apply Page */
.block-form-apply  .quicktabs-wrapper .item-list:has(.expression-of-interest) {
  background: #f2f2f2;
}
.block-form-apply .apply-eoi .quicktabs-tabs li {
  margin-left: 0;
}
.block-form-apply  .quicktabs-wrapper .item-list .quicktabs-tabs:has(.expression-of-interest) {
  border-bottom: 0;
  padding-left: 0;
  margin: 0;
  /* display: table-cell; */
  background: #f2f2f2;
  width: 260px;
}
body.path-apply .js-form-item-indicative-amount {
  margin-top: 7px !important;
}
.block-form-apply  .quicktabs-wrapper .item-list .quicktabs-tabs:has(.expression-of-interest) li {
  border-bottom: 0;
  display: block;
  white-space: pre-wrap;
  min-height: 120px;
  padding: 0;
  margin: 0;
  border-bottom: 1px solid #fff;
}
.block-form-apply  .quicktabs-wrapper .item-list .quicktabs-tabs:has(.expression-of-interest) li a {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  display: -webkit-flex;
  -webkit-align-items: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  padding: 27px;
  position: relative;
  text-align: left;
  transition: all 0.1s ease;
}
.block-form-apply  .quicktabs-wrapper .item-list .quicktabs-tabs:has(.expression-of-interest) li:not(.active) a {
  background: #f2f2f2;
  color: #999;
}
.block-form-apply  .quicktabs-wrapper .item-list .quicktabs-tabs:has(.expression-of-interest) li:hover a {
  background: #3198c6;
  color: #fff;
}
.block-form-apply  .quicktabs-wrapper .item-list .quicktabs-tabs:has(.expression-of-interest) li.active a {
  background: #3198c6;
}
.block-form-apply  .quicktabs-wrapper .item-list .quicktabs-tabs:has(.expression-of-interest) li a::after {
  transition: all 0.1s ease;
}
.block-form-apply  .quicktabs-wrapper .item-list .quicktabs-tabs:has(.expression-of-interest) li a:after {
  content: '';
  position: absolute;
  top: 38%;
  right: -30px;
  height: 30px;
  width: 30px;
}
.block-form-apply  .quicktabs-wrapper .item-list .quicktabs-tabs:has(.expression-of-interest) li:hover a::after {
  background: url(/themes/custom/b5ap3f/assets/components/common/../../images/blue-box-arrow-3.png) no-repeat !important;
}
.block-form-apply  .quicktabs-wrapper .item-list .quicktabs-tabs:has(.expression-of-interest) li:first-child.active a:after {
  background: url(/themes/custom/b5ap3f/assets/components/common/../../images/blue-box-arrow-3.png) no-repeat;
}
.eoi-online-form .webform-submission-form .form-item.form-item-country1 {
  border-bottom: 1px solid #000;
  margin-top: 19px;
}
.eoi-online-form .webform-submission-form .form-item.form-item-country1 .select2-container {
  width: 100% !important;
}
/* .eoi-online-form .webform-submission-form .form-item.form-item-country1 label {
  top: -19px;
} */
.form-item-country1 .select2-container--default .select2-selection--single {
  border: none;
}
.path-search .container .srch-filter-block input#edit-submit-search-page--2::after,
.path-search .container .srch-filter-block #edit-actions--2::before {
  display: none;
}
.path-search .container .srch-filter-block [for="edit-search-api-fulltext--2"] {
  display: none;
}
#views-exposed-form-search-page-page-1 .form--inline .form-actions input {
  padding-left: 13px;
  border-radius: 0px;
  height: 40px;
}
#views-exposed-form-search-page-page-1 .form--inline {
  display: flex;
  align-items: center;
  justify-content: center;
}
#edit-search-api-fulltext--2 {
  border-radius: 0px;
  height: 40px;
}
#views-exposed-form-search-page-page-1 .form--inline .form-item {
  margin-right: 0;
}
body.path-search .page-header {
  padding-top: 109px !important;
}
.path-apply .select2-container--default .select2-selection--single {
  border: none;
  border-radius: 0;
}
.eoi-online-form .webform-submission-form .form-item.form-item-sector1 .select2-container,
.eoi-online-form .webform-submission-form .form-item.form-item-subsector1 .select2-container {
  border-bottom: 1px solid #000;
}
.eoi-online-form .webform-submission-form .select2-container {
  width: 100% !important;
}
.form-item-sector1 {
  margin-top: 6px;
}

/* Task #382718 20-11-2024*/
.quicktabs-tabpage.responsive-quick {
  position: relative;
  /* padding-bottom: 3em; */
  padding-bottom: 0;
}
.quicktabs-tabpage.responsive-quick #edit-submit--2 {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}
.eoi-online-form .quicktabs-tabpage legend {
  border-bottom: none;
}
.path-apply .file--mime-application-pdf.file--application-pdf {
  background-image: none;
}
.path-apply .file--mime-application-pdf.file--application-pdf a {
  padding-left: 0 !important;
}
.path-apply .view-footer .more-link {
  text-align: center;
}
.eoi-online-form .webform-submission-form .form-item.fieldgroup .form-item:has(input[type="checkbox"]) {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.eoi-online-form .webform-submission-form .form-item input[type="checkbox"] {
  width: 12px;
  height: 12px;
  border: 1px solid #1c191a7a;
  margin: 0;
  margin-right: 10px;
  border-radius: 3px;
}
body .eoi-online-form .webform-submission-form .form-item label {
  position: relative;
}
/* body .eoi-online-form .webform-submission-form .form-item:not(.focused-input) input {
  margin-top: 4px;
} */
.editor .image-widget-data .file {
  position: relative;
}
.editor .image-widget-data .file::after {
  background: url(/themes/custom/b5ap3f/assets/components/common/../../images/dashboard/delete.svg) no-repeat center;
  content: '';
  position: absolute;
  right: -27px;
  top: 3px;
  background-size: 14px 14px;
  width: 14px;
  height: 14px;
}
.editor .image-widget-data .form-submit[type="submit"] {
  color: #fff;
  background-color: #d9534f;
  border-color: #d43f3a;
  padding-left: 21px;
}
.editor .image-widget-data .form-submit[type="submit"] :hover {
  color: #fff;
  background-color: #c9302c;
  border-color: #ac2925;
}
.editor .node-form .form-actions {
  text-align: left;
  position: relative;
}
.editor .node-form .form-actions::after {
  background: url(/themes/custom/b5ap3f/assets/components/common/../../images/dashboard/tick.svg) no-repeat center;
  content: '';
  position: absolute;
  left: 3px;
  top: 10px;
  background-size: 14px 14px;
  width: 14px;
  height: 14px;
}
.editor .node-form .form-actions input {
  padding-left: 19px;
}
.editor .form-check-input:checked[type=checkbox] {
  margin: 3px 0;
}
/* Edited on 5-Nov-24 */
/* Who we are */
.page-node-type-article .node__links {
  padding: 10px 100px;
}
.page-node-type-article .node__links ul.inline li {
  padding: 0;
}
.block-map .map-data .data-body .projectDetail-wrapper .project-fields {
  padding-right: 2px;
}
body .alert.show {
  opacity: 1 !important;
}
.navbar-nav .nav-link.active {
  color: #1e417a !important;
}
body .view-empty {
  border: 1px solid #999 !important;
  font-weight: 600 !important;
  color: #4d4d4d !important;
  font-family: 'Open Sans', sans-serif;
  font-style: inherit !important;
}
.block-whatWeDo .technical .quicktabs-tabs li {
  border-bottom: 3px solid #fff;
}
body .home-carousel .views_slideshow_controls_text .views_slideshow_controls_text_previous,
body .home-carousel .views_slideshow_controls_text .views_slideshow_controls_text_next {
  top: calc(58% - 20px);
}
legend.captcha__title {
  border-bottom: none;
  margin-bottom: .5rem;
}
/****** Media ******/
@media screen and (min-width: 768px) and (max-width: 1180px) and (orientation:landscape) {
  .block-partner .view-home-carousal {
    padding: 0 36px;
  }
}
@media screen and (min-width: 1024px) and (max-width: 1366px) and (orientation:portrait) {
  .block-partner .view-home-carousal {
    padding: 0 36px;
  }
}
@media screen and (min-width: 1200px) {
  .path-search .container .srch-filter-block input#edit-submit-search-page--2 {
    width: auto;
  }
}
@media screen and (min-width: 992px) {
  .block-form-apply  .quicktabs-wrapper .item-list .quicktabs-tabs:has(.expression-of-interest) {
    min-height: 700px;
  }
}
@media screen and (max-width: 1024px) {
  .navbar-toggle.open span {
    position: absolute;
    transform-origin: left center;
  }
  .navbar-toggle.open span:nth-child(2) {
    transform: rotate(45deg);
    top: 7px;
    left: 9px;
  }
  .navbar-toggle.open span:nth-child(3) {
    opacity: 0;
  }
  .navbar-toggle.open span:last-child {
    transform: rotate(-45deg);
    top: 19px;
    left: 9px;
  }

  /* .navbar-collapse.collapse:not(.in) {
  display: none !important;
 } */
  .navbar-collapse.show {
    display: block !important;
  }
  .navbar {
    width: 100%;
}
  .navbar-header.logo-section {
    width: 100%;
  }
}
@media (min-width: 768px) and (max-width: 1180px) {
  body .navbar-collapse.collapse {
    display: none !important;
  }
  body .navbar-collapse.collapse.show {
    display: block !important;
  }
}
@media screen and (min-width: 1025px) {
  header .navbar-nav {
    flex-direction: row;
    top: 0;
  }
  /* 21-11-24 header issue Task #367666 */
  .amt-header .navbar-header a img {
    height: auto;
  }
  .navbar-brand {
    margin-top: 8px;
    margin-bottom: 8px;
  }
  body .navbar.amt-header {
    transition: all 0.25s ease !important;
    padding: 14px 15px 15px 15px;
  }
  body .navbar {
    padding: 7px 15px 8px 15px;
    justify-content: flex-start !important;
  }
  body .navbar:not(.amt-header) .navbar-header a img {
    height: auto;
  }
  body .amt-header .navbar-nav {
    top: 0;
  }
}
@media screen and (min-width: 820px) and (max-width: 1180px) and (orientation:landscape) {
  .navbar-header .navbar-toggle {
    display: block;
    margin-right: 0;
  }
  .navbar-toggle {
    padding: 15px 10px;
  }
}
@media screen and (min-width: 992px) and (max-width: 1199px) {
  .navbar .logo-section {
    padding-left: 0px !important;
    width: 100%;
  }
  .navbar-header .navbar-toggle {
    display: block;
    /* height: 47px;
    margin-right: 0; */
  }
  .amt-header .srch-icon {
    top: 23px;
    transition: all 0.25s ease;
  }
  body .amt-header {
    justify-content: flex-start !important;
  }
}
@media screen and (max-width: 767px) {
  .page-node-type-article .node__links {
    padding: 0 5px;
  }
  body .home-carousel .views_slideshow_controls_text .views_slideshow_controls_text_previous,
  body .home-carousel .views_slideshow_controls_text .views_slideshow_controls_text_next {
    top: calc(29% - 20px);
  }
  body .home-carousel .view-home-carousal .views_slideshow_cycle_main .views_slideshow_cycle_slide .field-content {
    height: 312px !important;
    position: relative;
  }
  body .amt-header .navbar-toggle {
    right: -32px;
  }
  body .navbar:not(.amt-header) .navbar-toggle {
    right: -32px;
  }
  .secondary-container .region-secondary-container .contact-frm .contact-grp-wrap .contact-fld-wrap {
    width: 100%;
    padding-bottom: 0;
  }
  .dashboard-list .view-filters form > div {
    flex-direction: column;
  }
  .dashboard-list form {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .block-form-apply .quicktabs-wrapper .item-list .quicktabs-tabs:has(.expression-of-interest) li a {
    font-size: 12px;
    padding: 9px;
  }
  .quicktabs-tabpage.responsive-quick {
    padding-bottom: 0;
  }
  .eoi-overview .views-field-body {
    margin-bottom: 20px;
  }
  .path-apply .select2-container--default .select2-selection--single .select2-selection__rendered {
    background: #f3f3f3;
  }
  .quicktabs-tabpage.responsive-quick #edit-submit--2 {
    bottom: 11px;
  }
}
@media (min-width: 992px) {
  body .navbar-brand img {
    height: 53px;
  }
  body .navbar-brand {
    height: 63px;
  }
}
@media screen and (max-width: 991px) {
  .block-whatWeDo .quicktabs-tabs {
    display: flex;
  }
  .block-resource .quicktabs-tabs {
    display: flex;
  }
  .block-resource .quicktabs-tabs > li {
    margin-left: 7px;
  }
  .block-form-apply .quicktabs-wrapper .item-list .quicktabs-tabs:has(.expression-of-interest) {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
  }
}

/* Bug #380139 21-11-24 */

.path-node .vertical-tabs__menu {
  display: none;
}
.path-node .vertical-tabs,
.vertical-tabs .card {
  margin: 0;
  border: none;
}
details > .details-wrapper {
  padding: 15px;
}
.vertical-tabs .form-item {
  margin-top: 0;
  margin-bottom: 0;
}
.editor:not(.path-contact-us):not(.path-apply) .form-actions .button--danger {
  display: none;
}
/* .resource-data-container .show-hide:nth-child(2){
display: none;
} */


/*  */
body.path-user .captcha-type-challenge--image .captcha__element>.form-item {
  flex: 100%;
  padding-top: 10px;
}
.secondary-container .contact-frm .form-item:nth-child(4) label {
  bottom: 20px;
}

@media screen and (min-width: 1025px) {
  .amt-header .navbar-nav {
    display: flex;
    top: 6px;
    transition: all 0.25s ease;
  }
}
