body {
  font-family: "Noto Naskh Arabic UI", "Frederik", "DM Sans", Verdana,
    sans-serif;
  overflow-x: hidden;
}
html {
  overflow-x: hidden;
}

.header-elements {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}

.top-menu {
  display: flex;
  flex-direction: row;
  justify-content: end;
  margin-bottom: 15px;
}

.left-group {
  display: flex;
  flex-wrap: wrap;
}
.left-group > div {
  flex: 1;
}

.we-mega-menu-ul > .we-mega-menu-li > a {
  background: transparent !important;
  color: #2e3436;
  text-transform: capitalize;
  padding: 0px !important;
  margin-right: 15px;
  font-size: 13.6px !important;
  font-weight: normal !important;
  font-family: "Noto Naskh Arabic UI", "Frederik", "DM Sans", Verdana,
    sans-serif;
}

.we-mega-menu-ul .dropdown-menu {
  border: none !important;
}

.we-mega-menu-ul .dropdown-menu > a:before {
  display: none !important;
}

.main-menu .we-mega-menu-ul > .we-mega-menu-li > a {
  font-size: 14.8px !important;
  font-weight: 600 !important;
  /* padding: 0px !important; */
}

.navbar-brand img {
  height: 84px;
  width: 220px;
  margin-top: -26px;
}

.container-fluid > .navbar-we-mega-menu .nav-tabs {
  border-bottom: 0 none;
  width: 100%;
  display: flex;
  justify-content: end;
}

.main-menu .we-mega-menu-ul > .we-mega-menu-li > a {
  margin-right: 0px !important;
  margin-left: 15px !important;
}

/* new */
.sf-sub-indicator {
  display: none;
}
.sf-depth-1.menuparent > a {
  background: transparent !important;
  color: #2e3436;
  text-transform: capitalize;
/*   padding: 0px !important; */
/*   margin-right: 15px; */
  font-size: 0.95em !important;
  font-weight: 600 !important;
  font-family: "Noto Naskh Arabic UI", "Frederik", "DM Sans", Verdana,
    sans-serif;
}
.sf-menu-secondary-menu.sf-menu.menu li.sf-depth-1 {
  margin-right: 0;
}

.we-mega-menu-col ul {
  list-style: none outside none;
  padding: 0;
}
.we-mega-menu-col ul li {
  padding: 0.4em 0 !important;
  /*     border-bottom: 1px solid #888a85 !important; */
  cursor: pointer !important;
}
.we-mega-menu-submenu li.we-mega-menu-li a {
  background-color: rgba(0, 0, 0, 0) !important;
}

.we-mega-menu-submenu li.we-mega-menu-li a {
  color: #2e3436 !important;
  width: 100% !important;
  display: inline-block !important;
  background-color: #ffffff;
  font-weight: lighter;
  text-transform: none;
  font-size: 13px;
  font-weight: 500;
}

.we-mega-menu-submenu {
  max-height: 1000px;
  padding: 22px 20px 30px;
  background-color: #ffffff;
  border-bottom: 3px solid #888a85;
  font-weight: lighter;
  text-transform: none;
  font-size: 13px;
  font-weight: 500;
  height: 14.5em;
  /* overflow: hidden; */
  /* background-image: url(../images/main-menu-back.png); */
  background-position: center top;
  background-repeat: repeat-x;
}

/* search icon */
/* Hide the original submit button */
#edit-submit {
  display: display;
}

/* Style the new search icon */
/* #edit-actions::before {
  content: '\f002'; 
  font-family: 'FontAwesome'; 
  font-size: 24px; 
  color: #000; 
  display: inline-block;
  cursor: pointer; 
  vertical-align: middle; 
  text-align: center; 
  margin: 0 20px;
}

#edit-actions::before:hover {
  background-color: #0056b3; 
}
 */

/* Initially hide the input field */
.region-search .js-form-submit {
  display: none;
}

/* Default state: hidden */
.region-search #edit-keys {
  display: none;
  transition: all 1.5s ease;
  opacity: 0;
  width: 0;
  padding: 0;
  border: 1px solid transparent;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  
}

/* Visible state: shown */
.region-search #edit-keys.show {
  display: block;
  opacity: 1;
  transition: all 1.5s ease;
  width: 150px;
  padding: 5px;
  padding-left: 11px;
  border: 1px solid #ccc;
  margin-right: 23px;
}

/* Style the search icon */
.region-search #edit-actions--2::before,
.region-search #edit-actions::before {
  content: "\f002"; /* Font Awesome search icon code */
  font-family: "FontAwesome"; /* Ensure Font Awesome is included */
  font-size: 15px; /* Adjust size as needed */
  color: #2e3436; /* Adjust color as needed */
  border: none; /* Remove border */
/*   display: inline-block; */
  display: none;
  cursor: pointer; /* Change cursor to pointer */
  vertical-align: middle; /* Aligns icon in the middle */
  text-align: center; /* Center the icon */
  transition: background-color 0.3s ease;
  margin: 0px;
  padding-bottom: 5px;
}

/* Add hover effect */
.region-search #edit-actions::before:hover {
  background-color: #0056b3; /* Darker background on hover */
}

.user-logged-in #block-kamco-theme-searchform {
  display: flex;
}

.top-menu .region-search {
  display: flex;
  align-items: center;
}
#search-block-form {
  display: flex;
  align-items: center;
}
.we-mega-menu-ul .we-mega-menu-submenu {
  padding-top: 15px !important;
}

.we-mega-menu-ul li:nth-child(1) > .we-mega-menu-submenu {
  width: 1210px !important;
  position: absolute !important;
  left: -340% !important;
  top: 32px;
}
.we-mega-menu-ul li:nth-child(2) > .we-mega-menu-submenu {
  width: 1210px !important;
  position: absolute !important;
  left: -478% !important;
  top: 32px;
}
.we-mega-menu-ul li:nth-child(3) > .we-mega-menu-submenu {
  width: 1210px !important;
  position: absolute !important;
  left: -554% !important;
  top: 32px;
}
.we-mega-menu-ul li:nth-child(4) > .we-mega-menu-submenu {
  width: 1210px !important;
  position: absolute !important;
  left: -1003px !important;
  top: 32px;
}
.we-mega-menu-ul li:nth-child(5) > .we-mega-menu-submenu {
  width: 1210px !important;
  position: absolute !important;
  left: -1090px !important;
  top: 32px;
}
/* .we-mega-menu-ul > li .we-mega-menu-submenu .we-mega-menu-submenu {
  width: auto !important;
  position: static !important;
  left: auto !important;
  top: auto !important;
} */

.we-mega-menu-ul > li .we-mega-menu-submenu .we-mega-menu-submenu {
  width: auto !important;
  position: relative !important;
  left: 100% !important;
  /* left: auto !important; */
  top: 0 !important;
}

.we-mega-menu-ul
  .dropdown-menu
  .dropdown-menu:first-child
  > .we-mega-menu-submenu {
  margin-top: -5rem;
}
.we-mega-menu-ul
  .dropdown-menu
  .dropdown-menu:first-child
  > .we-mega-menu-submenu
  > .span12 {
  max-width: 100% !important;
}

.we-mega-menu-ul > li .we-mega-menu-submenu > .subul > .we-mega-menu-submenu {
  width: auto !important;
  position: relative !important;
  left: 100% !important;
  /* left: auto !important; */
  top: -38px !important;
}

.we-mega-menu-ul > .we-mega-menu-li:hover > a {
  color: #002b66;
}
.we-mega-menu-ul > .we-mega-menu-li > a {
  border-bottom: 5px solid transparent;
  padding-bottom: 4px !important;
}
.we-mega-menu-ul > .we-mega-menu-li:hover > a {
  border-bottom: 5px solid #002b66;
}

.subul {
  display: flex !important;
  flex-direction: column !important;
}

.subul > li {
  height: 31px !important;
}

.we-mega-menu-ul
  .we-mega-menu-submenu
  .we-mega-menu-row
  > .we-mega-menu-col:first-child {
  order: 2 !important;
}
.we-mega-menu-ul
  .we-mega-menu-submenu
  .we-mega-menu-row
  > .we-mega-menu-col:last-child {
  order: 1 !important;
}

.sf-menu-secondary-menu.sf-menu.menu {
  padding: 0px 0;
  float: right;
}

.sf-menu-secondary-menu.sf-menu.menu > li {
  padding: 1em 0 !important;
  float: left;
}
.sf-menu-secondary-menu.sf-menu.menu li ul {
  margin-top: 1em !important;
}
.sf-menu-secondary-menu.sf-menu.menu ul li {
  padding: 0px !important;
}
.sf-menu-secondary-menu.sf-menu.menu ul li .sf-depth-2 {
  padding: 8px !important;
}

.sf-depth-3 {
  padding: 8px !important;
}

#edit-keys {
  width: 0;
  opacity: 0;
  transition: width 2.5s ease, opacity 0.5s ease;
}

#edit-keys.show {
  width: 200px; /* Set the desired width when visible */
  opacity: 1;
}

.burger-icon {
  height: 34px;
  width: 34px;
  background-color: #002b66;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  display: none;
  margin-left: 12px;
}
.burger-icon .line {
  border-radius: 1px;
  display: block;
  height: 2px;
  width: 12px;
  background-color: white;
}

.sm-menu {
  /* height: 0px; */
  padding: 0 54px;
  display: none;
}
.sm-menu .sf-menu-secondary-menu {
  display: flex !important;
  flex-direction: column !important;
  align-items: left !important;
  justify-content: left !important;
  width: 100% !important;
  border-top: 1px solid #815353 !important;
}

.main-menu-mbl .navbar-we-mega-menu.navbar {
  position: static !important;
  display: block !important;
  width: 100%;
  background-color: #f2f2f2 !important;
}

.navbar-toggle {
  display: none !important;
}

.main-menu-mbl .navbar-we-mega-menu.navbar ul {
  display: flex !important;
  flex-direction: column !important;
  width: 100%;
}
.main-menu-mbl .navbar-we-mega-menu.navbar .we-mega-menu-ul > li > a {
  border-top: 0px !important;
  color: #555 !important;
  font-weight: 600 !important;
  font-size: 18px !important;
}
.main-menu-mbl .navbar-we-mega-menu.navbar .nav-tabs .dropdown-menu {
  margin-top: 0;
  padding: 10px 15px;
  width: 100%;
  border-bottom: 0.5px solid #897c7c !important;
}
.region-we-mega-menu {
  padding: 0px !important;
}

.main-menu-mbl {
  padding: 0px;
  margin-top: 15px;
}
@media (min-width: 968px) {
  .main-menu-mbl {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .sm-menu {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .region-we-mega-menu {
    background-color: transparent !important;
    justify-content: flex-end !important;
  }
  .navbar-toggle .icon-bar {
    background-color: #000000 !important;
  }
  .top-menu .region-secondary-navigation {
    display: none !important;
  }
  .burger-icon {
    display: flex;
  }

  .region-search #edit-actions::before {
    color: #ffffff !important;
  }
  #search-block-form > #edit-actions {
    height: 34px;
    width: 34px;
    background: #002b66;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }

  .main-menu {
    display: none;
  }

  .navbar-brand img {
    width: 150px;
    height: 52px;
    margin-top: 0px;
  }
  .header-elements {
    padding: 36px;
    flex-direction: column;
  }

  .top-menu {
    margin-top: 2rem;
  }
}
/* .we-mega-menu-submenu>.we-mega-menu-submenu-inner {
  min-height: 11.25rem;
  width: 25% !important;
}
.we-mega-menu-submenu>.we-mega-menu-submenu-inner .we-mega-menu-submenu-inner {
  min-height: 11.25rem;
  width: 100% !important;
} */
.navbar-we-mega-menu .span6 {
  max-width: 25% !important;
}

.navbar-we-mega-menu .span12 {
  max-width: 25% !important;
}

.main-menu
  .navbar
  .we-mega-menu-ul
  li:nth-child(2)
  .we-mega-menu-submenu
  > .we-mega-menu-submenu-inner
  > .we-mega-menu-row
  > .nav-tabs
  > li
  > .we-mega-menu-submenu {
  position: static !important;
}

.second-level-menu {
  padding: 0 15px !important;
  margin-top: -6px;
}

.second-level-menu ul li a,
.third-level-menu ul li a,
.first-menu ul li a {
  color: #2e3436 !important;
  width: 95% !important;
  display: inline-block !important;
  background-color: #ffffff;
  font-weight: lighter;
  text-transform: none;
  font-size: 13px;
  font-weight: 500;
  border-radius: 0;
  color: #666;
  font-family: Quicksand, sans-serif;
  border-bottom: 1px solid #000000 !important;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.we-mega-menu-ul .dropdown-menu .dropdown-menu > .we-mega-menu-submenu {
  display: none !important;
}
.we-mega-menu-submenu ul {
  padding: 0px !important;
}
.main-menu-title {
  font-style: normal;
  font-weight: bold;
  color: #5d696d;
  font-size: 1.8em;
  line-height: 1em;
  margin-bottom: 10px;
}
.main-menu-description {
  font-size: 1em;
}
.last {
  margin-top: -8px;
}
.field--name-field-list-image {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* Adjust gap between columns if needed */
}
.field--name-field-list-image .img-fluid {
  width: 100%;
}

.field--name-field-list-image .field__item {
  flex: 1 1 calc(25% - 20px); /* 4 columns with gap */
  box-sizing: border-box;
}

ul.sf-menu span.nolink {
  margin-right: 15px;
  padding: 0;
  cursor: pointer;
}

#superfish-menu-secondary-menu li ul li svg{
  display: none !important;
}
.we-mega-menu-submenu li.we-mega-menu-li {
  display: flex !important;
  align-items: center !important;
}

.we-mega-menu-li-list ,.we-mega-menu-li{
  position: relative;
}
.we-mega-menu-li svg{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
}
.we-mega-menu-li-list svg {
  position: absolute;
/*   top: 50%; */
  top: 40%;
  transform: translateY(-50%);
  right: 10px;
}
@media (max-width: 768px) {
  .field--name-field-list-image .field__item {
    flex: 1 1 calc(50% - 20px); /* 2 columns with gap on mobile */
  }
}

@media (max-width: 480px) {
  .field--name-field-list-image .field__item {
    flex: 1 1 100%; /* 1 column on very small screens */
  }
}

ul.sf-menu .sf-with-ul {
  padding-right: 0px;
}

.sf-menu-secondary-menu.sf-menu.menu a {
  font-size: 0.95em;
/*   font-weight: 600; */
  padding-right: 0;
}

ul.footer-menu {
  margin: 0;
}

body.path-frontpage .bs-region--top {
    padding: 10vh 0 10vh 0;
    background: rgba(0, 0, 0, 0);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
}
body.path-frontpage .page-home .block-region-top {
    font-size: 1.1em;
    background-color: rgba(0, 0, 0, 0) !important;
}

body.path-frontpage .page-home .view-home-page-slideshow .view-content .views-row {
  border-top: none;
}


.paragraph--type--files {
  padding: 1em 0;
  margin: 0;
  border-bottom: 1px solid #ffffff;
}

.page-node-type-page .field--name-field-file-date {
  display: flex;
}
.page-node-type-page .field--name-field-file-date .field__label{
    font-weight: 600;
    width: 2.9em;
}
.page-node-type-page .field--name-field-file-date .field__label::after {
  content: ":";
}

.field-name-field-side-content article.node--type-section h2 {
  display: block;
}
.field-name-field-side-content article.node--type-section h2 a,
.field-name-field-side-content article.node--type-box-office h2 a {
  pointer-events: none;
  cursor: not-allowed;
  text-decoration: none;
  color: inherit;
}

.field-name-field-side-content article.node--type-section {
  margin: 0;
  padding: 0;
}

.field-name-field-side-content article td {
    padding: 3px;
}

.field-name-field-side-content article.node--type-box-office, .field-name-field-side-content article.node--type-section {
    padding-bottom: 20px;
    border-bottom: 1px solid #d3d3d3;
}

.block-sitemap h2 {
    border-bottom: 1px solid #d3d3d3;
    line-height: 5rem;
}

.block-sitemap .sitemap-plugin--menu h2 {
  display: none;
}

.block-sitemap ul:first-child {
    padding: 10px 0;
}

.block-sitemap li {
    font-size: 18px;
    font-weight: 600;
    text-transform: capitalize;
    color: #002b66;
    padding-top: 1em;
}
.block-sitemap ul {
    padding: 10px 1em;
}

.block-sitemap li li {
    padding: 0.2em 0;
    font-size: 0.8em;
    font-weight: 500;
    text-transform: none;
}

.block-sitemap  li li a {
    color: #2e3436;
}

.field-name-field-side-content .views-field-body {
    padding-bottom: 20px;
    border-bottom: 1px solid #d3d3d3;
}

body.path-frontpage .page-home .view-content .views-row {
  border-top: 1px solid #002b66;
  padding: 5px 0;
}

.user-form .nav-tabs {
  border: none;
}
.user-form .nav-tabs > li {
  margin: 0 3px;
}
.user-form .nav-item a {
  padding: .5em;
  border: 2px #d0d0d0 solid;
  background-color: #EEE;
  text-align: center;
  font-size: 1.2em;
}
.user-form .nav-item.active a {
  background-color: #FFF19A;
  border: 2px #333 solid;
}
.user-form .nav-tabs > li > a:hover, 
.user-form .nav-tabs > li > a:focus,
.user-form .nav-tabs > li.active > a:hover, 
.user-form .nav-tabs > li.active > a:focus {
  border: 2px #333 solid;
}


.search-results-page #edit-keys {
  width: 100%;
  opacity: 1;
}

.field--name-field-links-group {
  display: flex;
  flex-wrap: wrap; 
}

.field--name-field-links-group .field__item {
  width: 50%; 
  box-sizing: border-box; 
}
.field--name-field-links-group .field__item .paragraph--type--links-group{
  margin: 2em;
  border-bottom: 1px solid #d3d3d3;
  padding-bottom: 2em;
}
.field--name-field-links-group .field__item .field--name-field-group-title {
  font-size: 1.2em;
  font-weight: 600;
  text-transform: capitalize;
  color: #002b66;
  margin-top: 20px;
}
.field--name-field-links-group .field__item .field--name-field-group-links {
  color: #2e3436;
  font-size: 1em;
  padding-left: 1.3em;
}
.field--name-field-links-group .field__item .field--name-field-group-links:before {
  content: "⚫ ";
  font-family: FontAwesome;
  display: inline-block;
  margin-left: -1.3em;
  margin-right: 0;
  width: 1.3em;
  color: #002b66;
}

.paragraph--type--numeric-items {
  padding: 1em 0 0.3em 0;
  margin: 0 1em;
  border-bottom: 1px dotted #d3d7d9;
  display: flex;
  flex-direction: column;
}

.paragraph--type--numeric-items .field--name-field-item-name,
.paragraph--type--numeric-items .field--name-field-item-value {
  display: flex;
  align-items: center;
}

.paragraph--type--numeric-items .field--name-field-item-name {
  font-style: italic;
  line-height: 1.2em;
  flex: 1;
}

.paragraph--type--numeric-items .field--name-field-item-value {
  font-size: 3em;
  font-style: italic;
  font-weight: 800;
  line-height: 1em;
  color: #002b66;
  margin-left: auto;
}

.paragraph--type--numeric-items .field--name-field-main-unit {
  font-size: 0.8em;
  color: #002b66;
  font-style: italic;
  align-self: flex-end;
}

.paragraph--type--numeric-items .field--name-field-secondary-unit-value {
  font-size: 0.8em;
  text-align: right;
  background-color: #d3d3d3;
  margin-top: 0.5em;
  width: 100%;
}

.paragraph--type--numeric-items .field--name-field-secondary-unit-value .field-item{
  background-color: #ffffff;
  display: inline-flex;
  padding-left: 0.5em;
  padding-right: 0;
}

.careers-details .views-field-title {
  font-size: 1.2em;
  font-weight: 600;
  text-transform: capitalize;
  color: #002b66;
}

.careers-details .views-field-field-ref-no,
.careers-details .views-field-field-office-location-country-code {
  display: flex;
  gap: 10px;
}

.careers-details span.views-label-field-ref-no,
.careers-details span.views-label-field-office-location-country-code {
  font-weight: bold;
}

.careers-details .views-label-body {
  font-size: 1.2em;
  font-weight: 600;
  text-transform: capitalize;
  color: #002b66;
}
.careers-details .views-field-body {
  margin-top: 20px;
  margin-bottom: 10px;
}

#edit-actions .svg-inline--fa {
/*   color: #fff; */
  color: #2e3436;
}

.pagination .page-item a,
.pagination .page-item .page-link {
  border-radius: unset;
}

.bs-region.bs-region--top {
    margin: 0;
    padding: 0;
}

.disclaimer {
  margin-top: 4rem;
}

.views-field-body ul {
  list-style: disc outside none;
}
.eu-cookie-compliance-buttons {
  float: right;
  margin: 1em 0 1em 0;
  max-width: 40%;
}

.angle-double-right:before {
  content: '';
  background-image: url(../images/title-arrow.svg);
  background-size: contain;
  display: inline-block;
  background-repeat: no-repeat;
  padding: 35px;
}
.svg-inline--fa {
  vertical-align: middle;
}

.block-region-right h2.field--name-title {
/*    color: #ffffff;
    background-color: #002b66;*/
    margin-bottom: 0;
    padding: 0.5em;
}
.block-region-right div.field--name-field-file-upload {
    padding: 10px 0px;
}

.block.block-global-helper.block-socialmedia-share-block {
  float: left;
  margin-bottom: 10px;
}

.block.block-entity-print.block-print-links {
  float: right;
}

html[dir="rtl"] .block.block-entity-print.block-print-links {
  float: left;
}

.block.block-layout-builder.block-field-blocknodearticlebody {
  clear: both;  /* Clears the float after the two blocks */
}
.print_html {
  display: inline-block;
}
a.print__link.print__link--pdf {
  text-decoration: none;
}

.block-region-right {
  display: flex;
  flex-direction: column;
}

.views-element-container.block-views-blockextract-node-elements-block-5 {
  order: 2;
}

.views-element-container.block-views-blockextract-node-elements-block-1 {
  order: 1;
}

div.sitemap-item h2 {
  display: none;
}

html[dir="rtl"] .angle-double-right::before,
html[dir="rtl"] .fa-angle-right,
[dir="rtl"] svg.fa-square-caret-right {
  transform: rotate(180deg);
}


[dir="rtl"] .sf-menu-secondary-menu.sf-menu.menu {
  display: flex;
  flex-direction: row;
}

[dir="rtl"] .block-sitemap {
  direction: rtl;
}

.block-sitemap ul li li:before {
    content: "\f105 ";
    color: #002b66;
    font-family: FontAwesome;
    display: none;
}

[dir="rtl"] .file {
/*     background-position: left center; */
}

.twitter-x-wrapper svg {
  height: 1em;
}
.file--application-pdf {
  content: "\f1c1";
}

.file--application-pdf {
    background-image: url(../images/pdf-icon.png);
    height: 1.2em; 
    background-size: contain;  
    background-repeat: no-repeat;  
    background-position: left;  
}

.paragraph.paragraph--type--files.paragraph--view-mode--default .file--application-pdf,
.paragraph--type--factsheet .file--application-pdf {
  background-position: inherit;  
}

.share-icon svg,
.share-icon path {
    fill: #002b66 !important;
}

.sitemap-item li a {
  color: #002F6C;
}

.no-header-site-map .field-name-field-side-content .views-field-body {
  border-bottom: 0;
}

.field-name-field-side-content .views-field-body {
  padding-bottom: 0;
  border-bottom: 0;
}
#block-kamco-theme-content .row:nth-child(2) {
  padding: 30px 0;
}

[dir="rtl"] .paragraph.paragraph--type--files.paragraph--view-mode--default .file--application-pdf,
[dir="rtl"] .paragraph--type--factsheet .file--application-pdf {
  background-position: right;
}