/* The first section groups the masthead and the proportioned banner in one fullPage panel. */
#home { padding: 0; background: #fff; }
#home .fp-overflow { width: 100%; }
.dq-masthead {
  --dq-green: var(--green, #087d6f);
  position: relative;
  z-index: 5;
  width: 100%;
  color: #333;
  font-family: inherit;
}
.dq-brand-row {
  height: 71px;
  position: relative;
  background: #f0f0f0 url("../images/header-pattern.png") repeat-x top left;
}
.dq-logo {
  position: absolute;
  right: 10px;
  top: -6px;
  width: 215px;
  height: 140px;
  z-index: 3;
}
.dq-logo img { width: 100%; height: 100%; object-fit: contain; }
.dq-name {
  position: absolute;
  top: 0;
  right: calc(16.6667% + 3px);
  height: 64px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
  line-height: 1.2;
}
.dq-name strong, .dq-drawer-name strong { color: var(--dq-green,#087d6f); font-weight: 800; font-size: 23px; }
.dq-name span, .dq-drawer-name span { color: #282b29; font: 500 17px/1.2 Arial,sans-serif; }
.dq-mast-art { position: absolute; left: 0; top: 4px; width: 231px; height: 108px; object-fit: contain; z-index: 2; pointer-events: none; }
.dq-tools { position: absolute; bottom: 7px; left: max(17.5%,245px); }
.dq-search-trigger, .dq-drawer-close, .dq-menu-trigger, .dq-search button, .dq-slider button { cursor: pointer; font: inherit; }
.dq-search-trigger {
  display: grid; place-items: center; height: 34px; width: 36px; padding: 0; color: #676b69;
  background: #fff; border: 1px solid #d4d8d6; border-radius: 5px;
}
.dq-search-trigger:hover { color: var(--dq-green,#087d6f); border-color: currentColor; }
.dq-search-trigger svg { width: 17px; height: 17px; }
.dq-menu-trigger { display: none; }
.dq-mainbar {
  display: flex; align-items: stretch; width: 100%; min-height: 40px; padding-inline: calc(16.6667% + 7px) 0;
  background: var(--dq-green); color: #fff; box-shadow: inset 0 0 0 2px #ffffff2f, 0 1px 8px #172b241f;
}
.dq-mainbar ul, .dq-drawer ul { list-style: none; margin: 0; padding: 0; }
.dq-primary-list { display: flex; align-items: stretch; justify-content: flex-start; }
.dq-primary-list > li { position: relative; display: flex; align-items: stretch; }
.dq-primary-list > li > a, .dq-primary-list summary {
  display: inline-flex; height: 40px; align-items: center; gap: 4px; white-space: nowrap; padding: 0 10px;
  color: #fff; text-decoration: none; font-weight: 650; font-size: 14px; cursor: pointer;
}
.dq-mainbar summary, .dq-drawer summary { list-style: none; }
.dq-mainbar summary::-webkit-details-marker, .dq-drawer summary::-webkit-details-marker { display: none; }
.dq-primary-list summary svg { width: 12px; height: 12px; }
.dq-primary-list > li > a:hover, .dq-primary-list summary:hover, .dq-primary-list details[open] > summary { background: #345c55; color: #fff; }
.dq-primary-list details > ul {
  position: absolute; top: 100%; inset-inline-start: 0; min-width: 180px; width: max-content;
  background: #076e62f5; color: #fff; transform-origin: center top; z-index: 8;
}
.dq-primary-list details[open] > ul { animation: dq-submenu .18s ease-out; }
.dq-primary-list details > ul a { color: inherit; display: block; text-decoration: none; font-size: 13px; padding: 8px 13px; }
.dq-primary-list details > ul a:hover { background: #345c55; }
@keyframes dq-submenu { from { opacity: 0; transform: perspective(360px) rotateX(-35deg); } to { opacity: 1; transform: none; } }
.dq-slider { direction: ltr; position: relative; width: 100%; background: #eee; }
.dq-slider-window { position: relative; width: 100%; aspect-ratio: 1600/611; overflow: hidden; }
.dq-banner {
  position: absolute; inset: 0; height: 100%; width: 100%; max-width: none; object-fit: cover; object-position: center;
  opacity: 0; transition: opacity 1s cubic-bezier(.455,.03,.515,.955);
}
.dq-banner.is-active { opacity: 1; }
.dq-banner-prev, .dq-banner-next {
  position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center;
  width: 40px; height: 50px; padding: 0; color: white; background: transparent; border: 0; border-radius: 0; filter: drop-shadow(0 1px 2px #202522a8);
  opacity: 0; transition: opacity .2s; z-index: 2;
}
.dq-banner-prev { left: 10px; }
.dq-banner-next { right: 10px; }
.dq-banner-prev svg, .dq-banner-next svg { width: 37px; height: 50px; }
.dq-banner-prev svg path, .dq-banner-next svg path { stroke-width: 1.6; }
.dq-slider:hover button, .dq-slider:focus-within button { opacity: 1; }
.dq-slider button:focus-visible, .dq-masthead :focus-visible, .dq-search :focus-visible, .dq-drawer :focus-visible { outline: 2px solid #3fae9f; outline-offset: 2px; }
.dq-drawer, .dq-search { font-family: inherit; color: #292e2c; box-sizing: border-box; }
.dq-search { border: 1px solid #dae0dc; padding: 20px; background: #fff; border-radius: 5px; width: min(430px, calc(100% - 32px)); max-height: 85dvh; inset: 0; margin: auto; }
.dq-drawer::backdrop { background: #000b; }
.dq-search::backdrop { background: #17231ec2; }
.dq-search-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.dq-search-head h2 { font-size: 20px; margin: 0; }
.dq-search-head button, .dq-drawer-close { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; color: #575e59; border: 0; background: none; }
.dq-search label { display: block; font-size: 13px; margin-bottom: 5px; }
.dq-search-line { display: flex; border: 1px solid #9aaea5; background: white; border-radius: 4px; overflow: hidden; }
.dq-search-line input { flex: 1; min-width: 0; font: inherit; outline: none; border: none; padding: 6px 10px; background: white; color: #222; }
.dq-search-line:focus-within { outline: 2px solid #0e8b7a; outline-offset: 2px; }
.dq-search-line button { display: grid; place-items: center; width: 44px; min-height: 42px; border: 0; color: white; background: var(--green,#087d6f); }
.dq-drawer { position: fixed; inset: 0 0 0 auto; margin: 0; height: 100%; max-height: 100dvh; max-width: 85vw; width: min(70vw, 360px); border: 0; padding: 0 10px 20px; background: white; overflow: auto; overscroll-behavior: contain; }
.dq-drawer[open] { animation: dq-appear .26s ease-out; }
@keyframes dq-appear { from { transform: translateX(100%); } to { transform: translateX(0); } }
.dq-drawer-close { margin-right: -6px; }
.dq-drawer-close svg { width: 21px; height: 21px; }
.dq-drawer-name { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 0 6px 15px; }
.dq-drawer-tools { padding-block: 7px 10px; border-block: 1px solid #e4e7e4; margin-bottom: 7px; }
.dq-drawer-list > li > a, .dq-drawer-list summary {
  width: 100%; font-size: 15px; font-weight: 670; display: flex; justify-content: space-between;
  align-items: center; padding: 11px 5px; color: #222; text-decoration: none; cursor: pointer;
}
.dq-drawer-list summary svg { width: 14px; height: 14px; color: var(--green,#087d6f); }
.dq-drawer-list ul a { display: block; color: #35463c; padding: 7px 14px; text-decoration: none; background: #f3f5f3; font-size: 13px; }

/* fullPage's own navigation, positioned as the DAQR skin places it on its Persian pages. */
html body #fp-nav { left: -135px !important; right: auto !important; top: 55%; width: 173px; margin: 0 !important; transform: translateY(-50%); z-index: 8; pointer-events: none; }
#fp-nav ul { padding: 0; margin: 0; list-style: none; }
html body #fp-nav ul li {
  display: block; width: 175px; height: 39px; margin: 2px 0 1px; border: 0; padding: 3px; position: relative;
  background: #0006; border-radius: 0 75px 75px 0; transition: transform .35s ease;
}
html body #fp-nav ul li a { position: relative; pointer-events: auto; display: flex; flex-direction: row; align-items: center; width: 100%; height: 100%; background: transparent; color: white; }
html body #fp-nav ul li a > span, html body #fp-nav .fp-tooltip { display: none; }
html body #fp-nav ul li a::after,html body #fp-nav ul li a::before { content: none; }
html body #fp-nav ul li a .dq-rail-icon {
  display: grid; place-items: center; width: 32px; height: 32px; position: absolute; right: 0; top: 0;
  border: 1px solid #fff; border-radius: 50%; color: white; background: var(--green,#087d6f);
}
.dq-rail-icon svg { width: 17px; height: 17px; }
html body #fp-nav ul li a .dq-rail-title { position: absolute; right: 40px; top: 50%; transform: translateY(-50%); color: white; white-space: nowrap; font-style: normal; font-size: 12px; font-weight: 600; }
html body #fp-nav ul li:hover, html body #fp-nav ul li:focus-within { transform: translateX(var(--dq-reveal,80px)); }
@media (max-width: 1367px) and (min-width: 1025px) { .dq-slider { max-height: 496px; overflow: hidden; } }
@media (min-width: 992px) and (max-width: 1199px) {
  .dq-brand-row { height: 62px; }
  .dq-logo { top: 0; right: 15px; width: auto; height: 55px; }
  .dq-name { right: 17%; height: 59px; }
  .dq-tools { left: 245px; }
}
@media (max-width: 1024px) { html body #fp-nav { display: none!important; } }
@media (max-width: 991px) {
  html { scroll-padding-top: 55px; }
  #home { padding-top: 55px; }
  .dq-masthead { position: fixed; top: 0; left: 0; right: 0; z-index: 90; height: 55px; }
  .dq-brand-row { height: 55px; background: var(--dq-green); }
  .dq-logo { right: auto; left: 15px; top: 0; width: 85px; height: 55px; }
  .dq-name, .dq-mast-art, .dq-mainbar { display: none; }
  .dq-tools { top: 7px; bottom: auto; left: auto; right: 65px; }
  .dq-tools .dq-search-trigger { width: 41px; height: 42px; border: 0; background: transparent; color: #fff; }
  .dq-tools .dq-search-trigger svg { width: 19px; height: 19px; }
  .dq-menu-trigger { position: absolute; right: 10px; top: 7px; padding: 0; display: grid; place-items: center; width: 46px; height: 42px; color: #fff; background: #4c5753; border: 1px solid #fff; border-radius: 5px; }
  .dq-menu-trigger svg { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) { .dq-banner, #fp-nav li { transition-duration: .01ms!important; } .dq-drawer[open], .dq-primary-list details[open] > ul { animation: none; } }
