/*******************************************************
 *
 * General
 *
 *******************************************************/
.post-type-archive #inner-page-wrapper > .container {
  width: 100%;
  padding: 0;
}

#ip-events {
  position: relative;
  display: block;
}
#ip-events .events-banner {
  position: relative;
  display: block;
  padding: 60px 0;
  overflow: hidden;
}
#ip-events .events-banner-inner {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-flow: row-reverse wrap;
      -ms-flex-flow: row-reverse wrap;
          flex-flow: row-reverse wrap;
}
#ip-events .events-banner-inner:before {
  content: '';
  position: absolute;
  top: -60px;
  bottom: -60px;
  left: -50vw;
  right: 25.5%;
  background: #FFD95D;
}
#ip-events .events-banner-article {
  position: relative;
  display: block;
  width: 45%;
  max-width: 525px;
  margin: auto auto auto 0;
  padding: 30px 30px 30px 0;
}
#ip-events .events-banner-article h2 {
  display: block;
  margin-bottom: 30px;
}
#ip-events .events-banner-article p {
  display: block;
  position: relative;
}
#ip-events .events-banner-article a {
  margin-top: 30px;
}
#ip-events .events-banner-img {
  position: relative;
  display: block;
  width: 52%;
  max-width: 600px;
}
#ip-events .events-banner-img canvas {
  display: block;
  width: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
#ip-events .events-main,
#ip-events .events-main-inner {
  position: relative;
  display: block;
}
#ip-events .events-main {
  padding-top: 120px;
}
#ip-events .events-list-title {
  display: block;
  margin-bottom: 60px;
}
#ip-events .events-list {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-flow: row wrap;
      -ms-flex-flow: row wrap;
          flex-flow: row wrap;
  margin: 0 -15px;
}
#ip-events .events-list-item {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-flow: row wrap;
      -ms-flex-flow: row wrap;
          flex-flow: row wrap;
  width: 50%;
  padding: 15px;
}
#ip-events .events-list-item > canvas {
  display: block;
  background-color: var(--white-color-2);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  width: 50%;
  max-width: 265px;
  max-height: 200px;
}
#ip-events .events-list-item > div {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-flow: column wrap;
      -ms-flex-flow: column wrap;
          flex-flow: column wrap;
  width: 50%;
  border: 1px solid var(--light-color-3);
  border-left: 0;
  padding: 30px;
}
#ip-events .events-list-item > div > span {
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  color: var(--black-color-2);
}
#ip-events .events-list-item > div > h3 {
  display: block;
  font-size: 18px;
  line-height: 1.444;
  margin: 15px 0 0;
}
#ip-events .events-list-item > div > p {
  display: none;
  margin: 30px 0 0;
}
#ip-events .events-list-item > div > a {
  display: inline-block;
  margin-top: auto;
}
#ip-events .events-list-item.featured-item {
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  width: auto;
  border-bottom: 1px solid var(--light-color-3);
  margin: 0 15px 105px;
  padding: 0 0 120px;
}
#ip-events .events-list-item.featured-item > canvas {
  max-width: 570px;
  max-height: none;
}
#ip-events .events-list-item.featured-item > div {
  display: block;
  border: none;
  max-width: 500px;
  margin: auto 0 auto auto;
  padding: 30px 0 30px 30px;
}
#ip-events .events-list-item.featured-item > div > h3 {
  font-size: 30px;
  line-height: 1.267;
  letter-spacing: 0.01em;
}
#ip-events .events-list-item.featured-item > div > p {
  display: block;
}
#ip-events .events-list-item.featured-item > div > a {
  margin-top: 30px;
}
#ip-events .events-spaces,
#ip-events .events-spaces-inner {
  position: relative;
  display: block;
}
#ip-events .events-spaces {
  margin-top: 105px;
  padding-top: 120px;
  border-top: 1px solid var(--light-color-3);
}
#ip-events .events-spaces-inner > h3 {
  display: block;
  text-align: center;
  margin-bottom: 60px;
}
#ip-events .events-spaces-list {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-flow: row wrap;
      -ms-flex-flow: row wrap;
          flex-flow: row wrap;
  margin: 0 -15px;
}
#ip-events .events-spaces-list-item {
  display: block;
  position: relative;
  padding: 15px;
  width: 25%;
}
#ip-events .events-spaces-list-item > canvas {
  display: block;
  width: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
#ip-events .events-spaces-list-item > div {
  position: relative;
  display: block;
  margin-top: 30px;
}
#ip-events .events-spaces-list-item > div > h5 {
  display: block;
  position: relative;
}

/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
@media only screen and (max-width: 1199px) {
  #ip-events .events-list-item > div {
    padding: 20px;
  }
  #ip-events .events-list-item > div > a,
  #ip-events .events-list-item > div > span {
    font-size: 12px;
  }
  #ip-events .events-list-item > div > h3 {
    font-size: 16px;
    margin-top: 10px;
  }
}
@media only screen and (max-width: 991px) {
  #ip-events .events-banner-inner,
  #ip-events .events-main-inner,
  #ip-events .events-spaces-inner {
    width: 450px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  #ip-events .events-banner {
    background: #FFD95D;
    padding: 45px 0 60px;
  }
  #ip-events .events-banner-inner {
    display: block;
  }
  #ip-events .events-banner-inner:before {
    display: none;
  }
  #ip-events .events-banner-img,
  #ip-events .events-banner-article {
    width: 100%;
    max-width: 100%;
    padding: 0;
    text-align: center;
  }
  #ip-events .events-banner-img canvas,
  #ip-events .events-banner-article {
    margin-top: 30px;
  }
  #ip-events .events-main {
    padding-top: 100px;
  }
  #ip-events .events-list-title {
    margin-bottom: 30px;
  }
  #ip-events .events-list {
    margin: 0;
  }
  #ip-events .events-list-item {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: none !important;
    display: block;
  }
  #ip-events .events-list-item + .events-list-item {
    margin-top: 30px !important;
  }
  #ip-events .events-list-item > canvas,
  #ip-events .events-list-item > div {
    width: 100%;
    max-height: none !important;
    max-width: 100% !important;
  }
  #ip-events .events-list-item > canvas {
    max-height: 240px !important;
  }
  #ip-events .events-list-item > div {
    padding: 30px !important;
    margin-left: 0 !important;
    border: 1px solid var(--light-color-3) !important;
    border-top: none !important;
  }
  #ip-events .events-list-item > div > span,
  #ip-events .events-list-item > div > a {
    font-size: 12px !important;
  }
  #ip-events .events-list-item > div > a {
    display: inline-block;
    margin-top: 30px;
    padding-top: 0;
  }
  #ip-events .events-list-item > div > p {
    display: block;
    margin-top: 15px;
  }
  #ip-events .events-list-item > div > h3 {
    font-size: 24px !important;
    margin-top: 15px !important;
  }
  #ip-events .events-spaces {
    margin-top: 75px;
    padding-top: 60px;
  }
  #ip-events .events-spaces-inner > h3 {
    margin-bottom: 30px;
  }
  #ip-events .events-spaces-list {
    margin: 0;
    display: block;
  }
  #ip-events .events-spaces-list-item {
    width: 100%;
    padding: 0;
    text-align: center;
  }
  #ip-events .events-spaces-list-item + .events-spaces-list-item {
    margin-top: 30px;
  }
  #ip-events .events-spaces-list-item > div {
    margin-top: 15px;
  }
}
