:root {
  --bnws-maemax-col-primary: #C00C20;
  --bnws-maemax-col-secondary: #cd3d4d;
  --bnws-maemax-col-text: #211b1c;
  --bnws-maemax-col-accent: #FFD600;
  --bnws-maemax-col-text-80: #4d4949;
  --bnws-maemax-col-text-60: #7a7677;
  --bnws-maemax-col-text-40:#a6a4a4;
  --bnws-maemax-col-text-20:#d3d1d2;
  --bnws-maemax-col-text-10:#e8e8e8;
  --bnws-maemax-col-text-5:#f4f3f3;
  --bnws-maemax-col-bg-light: #F5F5DC;
  --bnws-maemax-col-primary-60: #d96d79;
  --bnws-maemax-col-primary-40: #e69ea6;
  --bnws-maemax-col-primary-30: #ecb6bc;
  --bnws-maemax-col-primary-20: #f2ced2;
  --bnws-maemax-col-accent-80: #FFDE33;
  --bnws-maemax-col-accent-60: #FFE666;
  }
  
  body {
    font-family: 'Fira Sans';
    font-weight: 400;
    font-size: 18px;
    color: var(--bnws-maemax-col-text-80);
    overflow-x: hidden;
  }
  
  #wrap {
    overflow-x: hidden;
  }

  h1 {
    font-family: 'Yanone Kaffeesatz';
    font-weight: 700;
    font-size: 52px;
  }
  h2 {
    font-family: 'Yanone Kaffeesatz';
    font-weight: 600;
    font-size: 42px;
  }
  h3 {
    font-family: 'Yanone Kaffeesatz';
    font-weight: 600;
    font-size: 32px;
  }
  h4 {
    font-family: 'Yanone Kaffeesatz';
    font-weight: 600;
    font-size: 22px;
  }
  h5 {
    font-family: 'Yanone Kaffeesatz';
    font-weight: 500;
    font-size: 20px;
  }
  h6 {
    font-family: 'Yanone Kaffeesatz';
    font-weight: 500;
    font-size: 18px;
  }
  h1,h2,h3,h4,h5,h6 {
    color: var(--bnws-maemax-col-text);
  }
  .pac-container {
    z-index: 999999;
  }
  

  /** EVENT **/

  .bnws-maemax-event-view {
    display: flex;
    gap: 5px;
    padding: 20px;
    align-items: center;
    justify-content: flex-end;
  }

  .bnws-maemax-event-view h4 {
    line-height: 1;
    margin: 0;
    padding-right: 10px;
  }

  a.bnws-maemax-event-ticket-button,.bnws-maemax-change-view {
    fill: #222222;
    color: #222222;
    background-color: var(--bnws-maemax-col-accent);
    border-radius: 4px;
    display: inline-flex;
    justify-content: center;
    line-height: 1;
    height: 40px;
    width: 40px;
    align-items: center;
    padding:0;
    cursor: pointer;
  }

  a.bnws-maemax-event-ticket-button:hover,.bnws-maemax-change-view:hover {
    background-color: var(--bnws-maemax-col-accent-80);
    color: var(--bnws-maemax-col-text-80);
  }

  a.bnws-maemax-event-ticket-button {
    font-family: "Yanone Kaffeesatz", Sans-serif;
    font-size: 24px;
    font-weight: 500;
  }

  .bnws-maemax-change-view{
    background-color: var(--bnws-maemax-col-text);
    color: #ffffff;
  }
  .bnws-maemax-change-view.active {
    background-color: var(--bnws-maemax-col-primary);
  }
  .bnws-maemax-change-view:hover {
    background-color: var(--bnws-maemax-col-secondary);
    color: #ffffff;
  }

  .bnws-maemax-event-container {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
  }

  .bnws-maemax-event-item {
    width: calc(33% - 20px);
    padding: 20px;
    background: #fff;
    margin:0 10px;
    margin-bottom: 20px;
  }

  
  .bnws-maemax-event-item.poster {
    background-color: var(--bnws-maemax-col-text-20);
    position: relative;
    z-index: 2;
    background-size: cover;
    background-position: center;
    aspect-ratio: 3 / 4;
    box-shadow: 0 1px 6px 1px rgba(0,0,0,0.2);
  }

  .bnws-maemax-event-item.poster::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 50%;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.2;
    transform: translateX(-50%);
    background-color: var(--bnws-maemax-col-text-20);
  }
  

  .bnws-maemax-event-date {
    font-size: 16px;
    font-weight: 500;
  }

  .bnws-maemax-event-location {
    color: var(--bnws-maemax-col-primary);
    font-weight: 600;
    font-size: 18px;
  }
  .bnws-maemax-event-location-maps {
    font-size: 12px;
    color: var(--bnws-maemax-col-text-80);
    font-weight: 400;
    margin-top: 4px;
  }

  .bnws-maemax-event-title {
    font-size: 28px;
    line-height: 1.1;
    margin-top: 6px;
    padding-top: 8px;
  }

  .poster .bnws-maemax-event-date, .poster .bnws-maemax-event-location, .poster .bnws-maemax-event-title {
    background: rgba(255,255,255,0.8);
    line-height: 1;
    padding: 3px;
    display: inline-block;
  }

  .bnws-maemax-event-image {
    position: relative;
    padding-top: 66%;
    overflow: hidden;
  }

  .bnws-maemax-event-image > img {
    position: absolute;
    top: 50%;
    bottom: 0;
    left: 0;
    right: 0;
    height: inherit;
    width: 100%;
    height: auto;
    min-width: 100%;
    transform: translateY(-50%);
  }

  .bnws-maemax-event-item.poster .bnws-maemax-event-tickets {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 20px 10px 20px;
    background: rgba(255,255,255,0.96);
    width: 100%;
  }

  .bnws-maemax-ticket-title {
    margin-top: 6px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 500;
  }

  .bnws-maemax-event-item.list {
    background: none !important;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    padding: 10px 0px;
  }

  .bnws-maemax-event-item.list .bnws-maemax-event-date {
    padding: 5px;
    background: var(--bnws-maemax-col-text-10);
  }

  .bnws-maemax-event-item.list .bnws-maemax-event-location {
    line-height: 1.4;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    column-gap: 10px;
    flex-wrap: wrap;
  }
  .bnws-maemax-event-item.list .bnws-maemax-event-location-maps {
    margin: 0;
  }

  .bnws-maemax-event-item.list .bnws-maemax-event-title {
    margin: 0;
    padding-top: 2px;
  }

  @media screen and (max-width: 786px) {
    .bnws-maemax-event-item {
      width: calc(50% - 20px);
    }
  }
  @media screen and (max-width: 420px) {
    .bnws-maemax-event-item {
      width: 100%;
      margin:0;
      margin-bottom: 20px;
    }
  }

  /**

  DOWNLOAD CODES */

  .dc-download-code form input[type="text"] {
    background: #fff;
    margin-bottom: 10px;
    border: none;
    border-bottom: 2px solid var(--bnws-maemax-col-primary-20);
    border-radius: 0;
    font-weight: 600;
    font-family: 'Yanone Kaffeesatz';
    font-size: 20px;
  }
  .dc-download-code form input[type="text"]:hover, .dc-download-code form input[type="text"]:active, .dc-download-code form input[type="text"]:focus {
    border-color: var(--bnws-maemax-col-primary);
  }

  .dc-download-code form input[type="submit"] {
    background-color: var(--bnws-maemax-col-primary);
    border-radius: 4px;
    text-transform: unset;
    padding: 10px 20px;
    font-family: "Yanone Kaffeesatz", Sans-serif;
    font-size: 18px;
    font-weight: 500;
    fill: #FFFFFF;
    line-height: 1;
    text-align: center;
    transition: all .3s;
    display: inline-flex;
    align-items: center;
  }

  .dc-download-code form input[type="submit"]:hover {
    background-color: var(--bnws-maemax-col-secondary);
  }