/*
 * Existing css moved from header.php
 */
:root {
  --persimmon: #283883;
  --logo-item-width: 150px;
  --logo-scroller-offset: 80px;
  --logo-scroller-width: 3380px; /* default fallback */
  --logo-scroller-start: 3380px;
  --logo-scroller-end: -150px;
  --logo-scroller-duration: 50s;
}

@-webkit-keyframes infiniteLogoScroll {
  0% {
    transform: translateX(var(--logo-scroller-start));
  }
  100% {
    transform: translateX(var(--logo-scroller-end));
  }
}

@keyframes infiniteLogoScroll {
  0% {
    transform: translateX(var(--logo-scroller-start));
  }
  100% {
    transform: translateX(var(--logo-scroller-end));
  }
}

.logo-scroller {
  position: relative;
  overflow: hidden;
  width: var(--logo-scroller-width);
  margin: 0 auto;
}

.logo-scroller__row {
  display: flex;
  margin: 24px 0;
  height: 100px;
}

.logo-scroller__item {
  box-sizing: border-box;
  position: absolute;
  padding: 0 5px;
  animation-name: infiniteLogoScroll;
  animation-timing-function: linear;
  animation-delay: 0s;
  animation-iteration-count: infinite;
  animation-duration: var(--logo-scroller-duration);
}

.is-paused .logo-scroller__item {
  animation-play-state: paused;
}

.logo-scroller__logo {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: var(--logo-item-width);
  height: 100px;
  padding: 15px;
}

h3.accordion__heading.mid-level.research .accordion__trigger:before {
  background-image: url(../../dist/img/svg/icons/ic-aboutgluten.svg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' viewBox='0 0 71.622 83.963'%3E%3Cpath fill='%23283883' d='M39.462 7.156c0 5.443-.423 10.527.12 15.506.535 4.912 3.4 9.033 7.133 12.18 3.646 3.076 9.245 2.05 12.214-1.847 3.505-4.6 6.052-9.5 5.433-15.627-.332-3.283-.06-6.628-.06-10.212-2.278 0-4.278-.05-6.275.015-1.865.06-2.76-.729-2.666-2.62a7.7 7.7 0 0 1 .087-2.532c.346-.775 1.183-1.832 1.86-1.872a82 82 0 0 1 9.54-.016 4.816 4.816 0 0 1 4.537 4.583c.16 7.59.782 15.23-.983 22.727a27.78 27.78 0 0 1-11.377 16.766c-2.801 1.967-3.6 4.455-3.69 7.52-.14 4.727.106 9.504-.497 14.17a21.01 21.01 0 0 1-19.46 17.939c-5.31.337-10.576.17-15.362-2.631-7.417-4.342-11-10.893-11.102-19.414-.04-3.26-.097-6.525.027-9.781a3 3 0 0 0-2.019-3.326A12.24 12.24 0 0 1 .69 33.554a12.48 12.48 0 0 1 24.298 4.47 11.98 11.98 0 0 1-7.222 10.836 2.385 2.385 0 0 0-1.681 2.561c.097 3.802-.023 7.61.06 11.412a13.87 13.87 0 0 0 12.22 13.66 31.7 31.7 0 0 0 8.333-.12A13.57 13.57 0 0 0 47.85 64.492a85 85 0 0 0 .08-12.785 11.7 11.7 0 0 0-2.24-5.234c-1.89-2.836-4.135-5.432-6.137-8.197a36.73 36.73 0 0 1-7.448-23.726c.127-2.867-.024-5.746.033-8.617.076-3.78 2.21-5.845 6.002-5.88 2.484-.023 4.97.05 7.453-.022 1.864-.053 2.773.713 2.694 2.602-.026.62-.034 1.244.001 1.863.105 1.853-.7 2.736-2.607 2.675-2-.064-4.004-.014-6.218-.014zM12.437 30.857a6.712 6.712 0 1 0 6.732 6.593 6.737 6.737 0 0 0-6.732-6.593'/%3E%3C/svg%3E");
}

h3.accordion__heading.mid-level.about-gluten .accordion__trigger::before {
  background-image: url(../../dist/img/svg/icons/icon-microscope2.svg);
}

h3.accordion__heading.mid-level.life-without-gluten .accordion__trigger::before {
  background-image: url(../../dist/img/svg/icons/icon-testtube.svg);
}

h3.accordion__heading.mid-level.about-us .accordion__trigger::before {
  background-image: url(../../dist/img/svg/icons/ic-aboutus.svg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 145.33 202.54'%3E%3Cpath fill='%23283883' d='M78.86 64.13v138.4s66.47-22.15 66.47-58.3V0S78.86 15.74 78.86 64.13m58.59 80.11c0 20.78-30.66 38.3-50.71 46.84v-42.51c11.95-4.86 34.57-15.5 47.95-30.66.97-1.1 1.92-2.23 2.76-3.39v29.71Zm0-50.97c0 23.43-39 41.84-50.71 46.85v-25.04c0-33.1 37.67-48.71 50.71-53.41zm0-82.58V53.3c-10.88 3.65-30.63 11.85-44.19 26.54-2.39 2.6-4.6 5.39-6.52 8.41V64.13c0-35.38 43.55-50.86 50.71-53.44M0 0v144.24c0 36.15 66.47 58.3 66.47 58.3V64.13C66.47 15.74 0 0 0 0m58.59 191.08c-20.05-8.54-50.71-26.06-50.71-46.84v-29.71c.84 1.16 1.79 2.29 2.76 3.39 13.37 15.16 35.99 25.8 47.95 30.66v42.51Zm0-50.97c-11.7-5-50.71-23.41-50.71-46.85V61.65c13.03 4.71 50.71 20.31 50.71 53.41v25.04Zm0-51.86c-1.92-3.02-4.12-5.81-6.52-8.41C38.51 65.15 18.76 56.96 7.88 53.3V10.69c7.16 2.58 50.71 18.06 50.71 53.44z'%3E%3C/path%3E%3C/svg%3E");
}

.gfield {
  font-family: Aleo, serif;
  color: #2d377a;
}

.gfield_description {
  font-family: Figtree, sans-serif !important;
  color: #303030;
}

.ginput_container {
  font-family: Figtree, sans-serif !important;
}

.gfield .btn_container {
  font-family: Figtree, sans-serif;
}

body.page-template-template-symptoms-assessment-tool #main .gravity-form #gform_1 ul.gform_fields li.gfield:not(.circular) .gfield_checkbox > li label, body.page-template-template-symptoms-assessment-tool #main .gravity-form #gform_1 ul.gform_fields li.gfield:not(.circular) .gfield_radio > li label {
  color: #2d377a
}

.blue-4 {
  color: #2d377a !important;
}

.form-begin h1 {
  font-family: Aleo, serif !important;
}

.form-begin .lead-paragraph {
  color: #303030;
}

.menu li.icure-registry:nth-child(2) a {
  background: #2d377a;
  font-size: 1rem !important;
  padding: 0 0 !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

a .sli-icon {
  font-family: 'sli-icomoon', serif !important;
}

.next-posts-link a::before, .prev-posts-link a::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ctitle%3Earrow-circle-right-mini%3C/title%3E%3Cg data-name='Livello 2'%3E%3Cg fill='%23283883' data-name='icons'%3E%3Cg fill='%23283883' data-name='arrow-circle-right-mini'%3E%3Cpath fill='%23283883' d='M10 20A10 10 0 1 0 0 10a10 10 0 0 0 10 10zm0-18a8 8 0 1 1-8 8 8.01 8.01 0 0 1 8-8z'/%3E%3Cpath fill='%23283883' d='M5 12h5v3l6-5-6-5v3H5v4z'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.next-posts-link a:focus, .next-posts-link a:hover, .prev-posts-link a:focus, .prev-posts-link a:hover {
  color: #3AA5D5;
}

.second-menu li.search {
  margin-inline: 1rem;
}

.second-menu .dropdown-pane.search {
  top: 137px !important;
  z-index: 1 !important;
}

@media screen and (min-width: 640px) {
  .second-menu .dropdown-pane.search {
    top: 153px !important;
  }
}


/*
 * Scroll Offset for Fixed Header
 * Breakpoints: medium_to_large=768px, large=1024px, xlarge=1200px, xxlarge=1440px
 */

@media screen and (min-width: 768px) {
  #content [id] {
    scroll-margin-top: 6.1rem;
  }

  .is-icure-child #content [id],
  .page-template-template-icureceliac-patient-registry #content [id],
  .is-cdf-conference-child #content [id] {
    scroll-margin-top: 8.25rem;
  }
}

@media screen and (min-width: 1024px) {
  #content [id] {
    scroll-margin-top: 5.5rem;
  }

  .is-icure-child #content [id],
  .page-template-template-icureceliac-patient-registry #content [id],
  .is-cdf-conference-child #content [id] {
    scroll-margin-top: 7.75rem;
  }
}

@media screen and (min-width: 1200px) {
  #content [id] {
    scroll-margin-top: 8.25rem;
  }

  .is-icure-child #content [id],
  .page-template-template-icureceliac-patient-registry #content [id],
  .is-cdf-conference-child #content [id] {
    scroll-margin-top: 10.5rem;
  }
}

@media screen and (min-width: 1440px) {
  #content [id] {
    scroll-margin-top: 8.5rem;
  }

  .is-icure-child #content [id],
  .page-template-template-icureceliac-patient-registry #content [id],
  .is-cdf-conference-child #content [id] {
    scroll-margin-top: 10.95rem;
  }
}
