/* Common header */
.path-proceedings .menu {
  background-color: var(--blue);
}
.path-proceedings .nav>li>a:focus,
.path-proceedings .nav>li>a:hover {
  background-color: var(--orange);
}
.path-proceedings .nav>li>a {
  text-transform: uppercase;
  color: var(--white);
}
.header-title {
  line-height: var(--line-height-large);
  font-weight: var(--roboto-regular);
}
a:hover {
  text-decoration: none;
}
/* Select Proceeding dropdown */
.custom-dropdown .dropdown-content {
  display: none;
}
.custom-dropdown.active .dropdown-content {
  display: block;
}
.custom-dropdown {
  position: relative;
  display: inline-block;
  font-size: 14px;
  /* width: 220px; */
  width: 230px;
  cursor: pointer;
  background-color: var(--white);
}
.custom-dropdown .dropdown-label {
  padding: 0;
}
.custom-dropdown .drop-text {
  /* padding: 5px 6px; */
  padding: 5px 10px;
  color: #4d4d4d;
  border-right: 1px solid #ccc;
  cursor: context-menu;
}
.dropdown-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6.5px 10px;
  box-sizing: border-box;
  color: var(--grey);
  font-weight: 400;
  font-size: 14px;
  height: 40px;
}
.drop-text {
  flex: 1;
  text-align: left;
  color: var(--grey-shade);
  font-size: var(--font-size-3);
}
.drop-year-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
  /* padding-left: 6px; */
  padding-left: 10px;
}
.drop-year {
  font-size: 14px;
  font-weight: 500;
  color: #000;
  cursor: context-menu;
}
.drop-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.drop-img:hover {
  background: #dbdbdb;
}
.drop-img img {
  width: 9px;
  height: auto;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.custom-dropdown.active .drop-img img {
  transform: rotate(180deg);
}
.custom-dropdown:hover .drop-img img {
  filter: brightness(0.7);
}
.dropdown-content {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1), 0px 1px 3px rgba(0, 0, 0, 0.06);
  border-radius: 4px;
  background: var(--white);
  z-index: 1000;
  overflow: hidden;
}
.custom-dropdown.active .dropdown-content {
  display: block;
}
.year-wrapper div a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
}
.year-wrapper div a:hover {
  border-radius: 4px;
}
.year-wrapper .year-2024 a:hover {
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
}
.year-wrapper .year-2022 a:hover {
  border-top-right-radius: 0px;
  border-top-left-radius: 0px;
}
.proceedings-22  .year-2024:hover {
  background-color: #f2f2f2;
}
.proceedings-22 .drop-year.yr-24 {
  display: none;
}
.proceedings-22 .year-2022 {
  background-color: #dbdbdb;
}
/* Language Dropdown */
.language-switcher-language-url {
  position: relative;
  display: inline-block;
  cursor: pointer;
}
.language-switcher-language-url .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* width: 32px;
  height: 32px; */
  width: 30px;
  height: 30px;
  background: url('images/Group-1.svg') no-repeat center center;
  background-size: contain;
}
.language-switcher-language-url ul.links {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid #ddd;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 0;
  margin: 0;
  list-style: none;
  width: 150px;
  z-index: 1000;
}
.language-switcher-language-url ul.links li {
  border-bottom: 1px solid var(--gray2);
}
.language-switcher-language-url ul.links li:last-child {
  border-bottom: none;
}
.language-switcher-language-url ul.links li a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: var(--grey-shade);
  font-weight: var(--roboto-regular);
  font-size: var(--font-size-3);
}
.language-switcher-language-url ul.links li a:hover {
  background-color: var(--ash-grey);
  color: var(--blue);;
}
.path-proceedings  .popup-section .article-main-title {
  margin-bottom: 20px;
}
.path-proceedings .popup-section .article-person-name {
  font-size: var(--font-size-4);
  font-weight: var(--roboto-bold);
  line-height: var(--line-height-sm);
}
.path-proceedings .popup-section .article-person-role,
.path-proceedings .popup-section .article-person-institution {
  font-size: var(--font-size-5);
  font-weight: var(--roboto-regular);
  line-height: var(--line-height-smaller);
}
/* Language Dropdown End*/

/* Header all */
/* .region-headertop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
} */
.header-left {
  flex: 1;
  display: flex;
  align-items: center;
}
.header-right,
#block-microsite-proceedingsyearblock,
#block-microsite-languageswitcher,
#block-microsite-micrositerightheader1 {
  flex: 0 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  /* margin-left: 20px;  */
  margin-left: 15px;
}
#block-microsite-languageswitcher {
  border-left: 1px solid var(--silver-gray);
  border-right: 1px solid var(--silver-gray);
  /* padding-left: 10px;
  padding-right: 10px; */
  padding-left: 15px;
  padding-right: 15px;
}
.header-logo-wrapper {
  display: flex;
  align-items: center;
}
.header-logo {
  margin-right: 20px;
  height: 68px;
  max-width: 208px;
  display: flex;
  align-items: center;
}
.header-right img,
.youtube-icon img,
.download-icon img {
  width: 28px;
  height: 28px;
}
.custom-dropdown {
  display: flex;
  align-items: center;
}
.language-switcher-language-url {
  display: flex;
  align-items: center;
}
.menu-toggle-button {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 22px;
  margin-left: 0;
  width: 30px;
}
.menu-toggle-button span:first-child {
  top: 0px;
}
.menu-toggle-button span:nth-child(2) {
  top: 10px;
}
.menu-toggle-button span:nth-child(3) {
  top: 20px;
}
header .youtube-icon {
  margin-right: 15px;
}
.header-top-section {
  padding: 16px 100px;
}
.act-menu .menu-toggle-button span:first-child {
  top: 10px;
}
.act-menu .menu-toggle-button span:nth-child(3) {
  top: 10px;
}
.header-logo img {
  width: 100%;
  height: 100%;
}
@media (min-width: 768px) and (max-width: 1024px) and (orientation:landscape) {
  .header-logo {
    border-right: 1px solid #ccc !important;
  }
  .view-microsite-header .header-title {
    display: block !important;
  }
}
@media only screen and (max-width: 540px) and (min-height: 720px) {
  body.path-proceedings .act-menu #block-microsite-proceedingsyearblock {
    right: 127px;
    left: auto;
  }
}
@media (max-width: 350px) {
  body.path-proceedings .act-menu #block-microsite-proceedingsyearblock {
    right: 97px !important;
    left: auto;
  }
}
@media (max-width: 530px) {
  body.path-proceedings .act-menu #block-microsite-proceedingsyearblock {
    right: 70px;
    left: auto;
  }
  .custom-dropdown {
    width: 250px;
  }
  .path-proceedings .act-menu #block-microsite-proceedingsyearblock {
    width: 159px;
    position: absolute;
    opacity: 1;
    visibility: visible;
    left: 48px;
    top: 92;
    z-index: 999;
  }
  body.path-proceedings .act-menu #block-microsite-proceedingsyearblock {
    right: 134px;
  }
}
@media only screen and (max-width: 540px) and (min-height: 720px) {
  .path-proceedings .act-menu #block-microsite-proceedingsyearblock {
    width: 159px;
    position: absolute;
    opacity: 1;
    visibility: visible;
    left: 48px;
    top: 87px;
    z-index: 999;
  }
}
@media (min-width: 540px) and (max-width: 720px) and (orientation: landscape) {
  .view-microsite-header-2022 .header-title {
    display: block !important;
  }
  body .header-logo {
    border-right: 1px solid #ccc !important;
  }
}
@media (min-width: 540px) and (max-width: 720px) and (orientation: landscape) {
  .act-menu.navbar-default #block-microsite-proceedingsyearblock.show {
    display: block !important;
    right: 56px;
    left: auto;
    position: absolute;
    top: 95;
    z-index: 999;
  }
}
@media (max-width: 767px) {
  body .menu {
    top: auto;
  }
  body.path-proceedings .menu {
    padding-top: 90px;
  }
  .custom-dropdown {
    background: white;
    padding: 4px;
  }
  #block-microsite-proceedingsyearblock {
    display: none !important;
  }
  .act-menu.navbar-default #block-microsite-proceedingsyearblock.show {
    display: block !important;
  }
}
@media (max-width: 480px) {
  .custom-dropdown .drop-text {
    padding: 5px 5px;
  }
  .drop-year-wrapper {
    padding-left: 5px;
  }
  .dropdown-label {
    height: 36px;
    line-height: 15px;
  }
  .dropdown-content {
    top: calc(100% + 0px);
  }
  .drop-img:hover {
    background: transparent;
  }
}
