body::-webkit-scrollbar {
  display: none;
}

html,
body {
  -ms-overflow-style: none;
  overflow: auto;
}

* {
  -webkit-hyphens: manual;
  -ms-hyphens: manual;
  hyphens: manual;
}

/*! HTML5 Boilerplate v7.2.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
  font-family: 'Allianz Neo', serif;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
* Extends the .sr-only class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: ' ';
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster */
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: ' (' attr(href) ')';
  }

  abbr[title]:after {
    content: ' (' attr(title) ')';
  }

  /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
  a[href^='#']:after,
  a[href^='javascript:']:after {
    content: '';
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
     * Printing Tables:
     * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
     */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

* {
  margin-block-start: 0;
  margin-block-end: 0;
}

.video-wrapper {
  height: 408px;
  width: 100%;
  overflow: hidden;
  text-align: center;
  position: relative;
  background: #014491;
}

#myVideo {
  position: absolute;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  margin-bottom: -250px;
  margin-right: -200px;
}

.video-banner-heading {
  width: 440px;
}

.absolute {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 20000;
  display: flex;
  align-items: center;
  color: #fff;
}

.active-window {
  position: absolute;
  z-index: 2000;
  width: 100%;
  height: 100%;
  background: url(../img/active-frame.svg) no-repeat center right;
  background-size: cover;
}

.container {
  position: relative;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient {
  width: 50%;
  height: 408px;
  position: absolute;
  left: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.8) 1%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 10000;
}

.darken-overlay {
  background: rgba(0, 0, 0, 0.55);
  position: absolute;
  min-width: 100%;
  min-height: 100%;

  top: 0;
  right: 0;
}

#secleaner-manta {
  position: relative;
  min-width: 100%;
  height: 658px;
  background: url(../img/allianz-secleaners-manta-image.jpg) no-repeat center
    center;
  background-size: cover;
  display: flex;
  align-items: center;
  color: #fff;
}

.u-centering-flex-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#people-quote button {
  margin: 24px 0 64px 0;
}
@media (max-width: 704px) {
  #people-quote .button {
    text-align: center !important;
  }
}

#oceanic-pollution {
  background: linear-gradient(
    180deg,
    rgba(18, 77, 156, 1) 1%,
    rgba(14, 86, 164, 1) 100%
  );
  color: #fff;
}

#oceanic-pollution p {
  max-width: 736px;
  margin: 0 auto;
}

#carousel .c-hero-banner__image-wrapper {
  min-height: 556px;
}

#carousel .c-hero-banner__gradient {
  background: rgba(0, 0, 0, 0.3);
}

#carousel .c-hero-banner__content {
  max-width: 928px;
  width: auto;
  margin: 0 auto;
  text-align: center;
}

#carousel h3 {
  line-height: 48px;
  font-size: 40px;
}

#carousel .u-light {
  font-weight: 100;
  margin-bottom: 8px;
  display: inline-block;
  width: 100%;
}

#carousel .u-bold {
  font-weight: 600;
  display: inline-block;
  width: 100%;
}

#carousel .c-hero-banner__bullets {
  left: 50%;
  transform: translateX(-50%);
  bottom: 48px;
}

#carousel .c-hero-banner__bullet {
  margin-right: 32px;
  margin-left: 0;
  background: none;
  border: 1px solid #fff;
  opacity: 1;
}

#carousel .c-hero-banner__bullet:last-of-type {
  margin-right: 0;
}

#carousel .c-hero-banner__bullet.is-active {
  background: #fff;
}

#faq .c-agi-accordion__button > .c-icon {
  padding-right: 16px;
}

/* #banner-mask {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;

} */
/*
#banner-mask path {
  transition: fill .5s;
  fill: #E3DFD2;
} */

/* #banner-mask path:hover {
  fill: pink;
} */

.video-overlay {
  position: fixed;
  background: rgba(0, 0, 0, 0.6);
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 50000;
}

#video-player {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  max-width: calc(100% - 32px);
  z-index: 90000;
  box-shadow: 8px 8px 40px rgba(0, 0, 0, 0.8);
  background: black;
}

#video-player .wrapper {
  position: relative;
}

#video-player video {
  width: 100%;
}

#video-container {
  display: none;
}

.main {
  width: 100%;
  -ms-overflow-style: -ms-autohiding-scrollbar;
  overflow: auto;
}

.scrollable {
  width: 1px;
  min-width: 100%;
  *width: 100%;
  /* overflow: scroll; */
  -ms-overflow-style: -ms-autohiding-scrollbar;
  overflow: auto;
  /* white-space: nowrap; */
}

@media (max-width: 704px) {
  .c-hero-banner__slide {
    display: flex;
    flex-direction: column-reverse;
  }

  .active-window {
    height: 300px;
    top: 0;
  }

  .absolute {
    position: relative;
    color: #3c3c3c;
    height: auto;
    padding: 24px 0 64px 0;
    text-align: center;
  }

  .absolute .video-banner-heading {
    width: 100%;
  }

  .gradient {
    display: none;
  }

  .video-wrapper {
    height: 300px;
  }

  #myVideo {
    margin-bottom: -300px;
    margin-right: -380px;
  }
}

/* Garbage Map */

#garbage-map.app-container {
  width: 100%;

  position: relative;
  /* padding: 0 32px; */
  /* height: 560px; */
  background: rgb(0, 55, 129);
  background: -moz-linear-gradient(
    0deg,
    rgba(0, 55, 129, 1) 0%,
    rgba(2, 108, 183, 1) 100%
  );
  background: -webkit-linear-gradient(
    0deg,
    rgba(0, 55, 129, 1) 0%,
    rgba(2, 108, 183, 1) 100%
  );
  background: linear-gradient(
    0deg,
    rgba(0, 55, 129, 1) 0%,
    rgba(2, 108, 183, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#003781", endColorstr="#026cb7", GradientType=1);
}

.map-wrapper {
  width: 100%;
  overflow-x: auto;
  padding-top: 120px;
}

#garbage-map .section-heading {
  max-width: 915px;
  color: #ffffff;
  font-size: 40px;
  font-weight: 300;
  letter-spacing: 0.3px;
  line-height: 48px;
  text-align: center;
  margin: 0 auto;
  padding: 64px 32px 0;
}

#garbage-map .ndbx-copy {
  max-width: 736px;
  color: #ffffff;
  letter-spacing: 0.2px;
  line-height: 24px;
  text-align: center;
  margin: 0 auto;
  padding-bottom: 64px;
}

#garbage-map .position-bottom {
  margin: 0 auto;
  max-width: 1120px;
  padding: 0 32px;
}

#garbage-map .position-left,
#garbage-map .position-right {
  width: 49%;
}

#garbage-map .position-left p {
  max-width: 292px;
  color: #ffffff;
  font-family: 'Allianz Neo';
  font-size: 16px;
  letter-spacing: 0.2px;
  line-height: 24px;
}

#garbage-map .position-right {
  justify-content: flex-end;
  display: flex;
}

#garbage-map .section {
  display: flex;
  margin-top: 32px;
  padding-right: 10%;
}

#garbage-map .legend-item {
  display: flex;
  padding: 0 40px;
  height: 30px;
  margin-bottom: 8px;
  color: #ffffff;
  font-family: 'Allianz Neo';
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.2px;
}

#garbage-map .icon {
  left: 0;
  position: absolute;
}

#garbage-map .bottle {
  top: -6px;
  left: 10px;
}

#garbage-map .river {
  top: -2px;
}

#garbage-map .legend-item-wrapper {
  position: relative;
  width: 100%;
  padding-left: 30px;
}

#garbage-map .map-container {
  position: relative;
  text-align: center;
  width: 1184px;
  margin: 0 auto;
}

/* Interest points */
#garbage-map .circle:hover {
  box-shadow: 0 4px 6px 0 rgba(65, 65, 65, 1);
}

#garbage-map .circle:hover .circle-inner {
  background-color: rgba(0, 122, 179, 0.6);
}

#garbage-map .circle {
  height: 24px;
  width: 24px;
  border: 1px solid #007ab3;
  background-color: #ffffff;
  box-shadow: 0 2px 4px 0 rgba(65, 65, 65, 0.5);
  border-radius: 100%;
  position: relative;
}

#garbage-map .circle-inner {
  position: absolute;
  margin-left: 50%;
  margin-top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 100%;
  height: 14px;
  width: 14px;
  background-color: rgba(0, 122, 179, 0.2);
  transition: all 0.1s ease;
}

#garbage-map .interest-point.active .circle-inner {
  background-color: rgba(0, 122, 179, 1);
  height: 20px;
  width: 20px;
}

#garbage-map .interest-point {
  position: absolute;
  cursor: pointer;
}

#garbage-map .interest-point[data-pointIndex='0'] {
  top: 138px;
  left: 155px;
}

#garbage-map .interest-point[data-pointIndex='1'] {
  top: 365px;
  left: 245px;
}

#garbage-map .interest-point[data-pointIndex='2'] {
  top: 130px;
  left: 418px;
}

#garbage-map .interest-point[data-pointIndex='3'] {
  top: 162px;
  left: 898px;
}

#garbage-map .interest-point[data-pointIndex='4'] {
  top: 125px;
  left: 1065px;
}

#garbage-map .popover .text,
#garbage-map .popover .title {
  color: #1d1d1d;
  display: block;
  text-align: center;
}

#garbage-map .popover .title {
  font-size: 16px;
  font-weight: 400;
  margin: 0 16px 8px;
}

#garbage-map .popover .text {
  font-size: 12px;
  margin: 0 16px;
}

#garbage-map .popover {
  color: #d1d1d1;

  width: 270px;
  top: -21px;
  left: 32px;
  border: 1px solid #f5f5f5;
  border-radius: 4px;
  background-color: #ffffff;
  box-shadow: 0 2px 4px 0 rgba(65, 65, 65, 0.5);
  position: absolute;
  opacity: 0;
  z-index: 1000;
  pointer-events: none;
  display: flex;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  box-sizing: border-box; */
  /* display: none; */
}

#garbage-map .down-arrow {
  bottom: 0;
  margin-bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 10px 0 10px;
  border-color: #ffffff transparent transparent transparent;
  line-height: 0px;
  _border-color: #ffffff #000000 #000000 #000000;
  _filter: progid:DXImageTransform.Microsoft.Chroma(color='#000000');
}

@media (max-width: 800px) {
  #garbage-map .section {
    padding-right: 0;
  }
}

@media (max-width: 700px) {
  #garbage-map .section-heading {
    padding: 48px 16px 0;
  }

  #garbage-map .section {
    flex-direction: column-reverse;
  }

  #garbage-map .position-left {
    width: 100%;
    /* margin-bottom: 24px; */
    text-align: center;
  }

  #garbage-map .position-left p {
    max-width: 288px;
    font-size: 16px;
    text-align: center;
    margin: 0 auto;
  }

  #garbage-map .position-right {
    width: 100%;
    margin-bottom: 16px;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 500px) {
  #garbage-map.app-container {
    padding: 0 16px;
  }
}
