body.youth-ministry-2021-calendar.no-scroll {
  overflow: hidden;
}

body.youth-ministry-2021-calendar.no-scroll:before {
  content: "";

  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 11;
}

body.youth-ministry-2021-calendar.ast-separate-container #content .ast-container {
  padding-right: 0;
  padding-bottom: 80px;
  padding-left: 0;
}

body.youth-ministry-2021-calendar .search-container {
  padding: 180px 13px 46px 10px;

  background-color: #C4C7CC;
}

body.youth-ministry-2021-calendar .search-container .heading {
  margin-bottom: 24px;
  font-weight: 700;
  text-transform: uppercase;
}

body.youth-ministry-2021-calendar .search-container .inputs .month,
body.youth-ministry-2021-calendar .search-container .inputs .year {
  position: relative;
}

body.youth-ministry-2021-calendar .search-container .inputs .month {
  margin-bottom: 16px;
}

body.youth-ministry-2021-calendar .search-container .inputs .month select,
body.youth-ministry-2021-calendar .search-container .inputs .year select {
  width: 100%;

  padding: 12px 65px 12px 30px;

  border: none;
  border-radius: 40px;

  background-color: white;
  font-size: 20px;
  cursor: pointer;
  appearance: none;
  outline: none;
}

body.youth-ministry-2021-calendar .search-container .inputs .month select:invalid,
body.youth-ministry-2021-calendar .search-container .inputs .year select:invalid {
  color: #858994;
}

body.youth-ministry-2021-calendar .search-container .inputs .month > img,
body.youth-ministry-2021-calendar .search-container .inputs .year > img {
  position: absolute;
  top: 50%;
  right: 38px;
  transform: translateY(-50%);

  height: 22px;
  width: 22px;

  object-fit: contain;

  cursor: pointer;
  pointer-events: none;
}

body.youth-ministry-2021-calendar .search-container .type-back {
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  align-items: center;

  margin-top: 44px;
}

body.youth-ministry-2021-calendar .search-container .type-back .type {
  margin-top: 54px;
}


body.youth-ministry-2021-calendar .search-container .type-back .type .tri-toggle {
  display: flex;
  align-items: center;
}

body.youth-ministry-2021-calendar .search-container .type-back .type .tri-toggle .left label,
body.youth-ministry-2021-calendar .search-container .type-back .type .tri-toggle .middle label,
body.youth-ministry-2021-calendar .search-container .type-back .type .tri-toggle .right label {
  position: relative;
  display: flex;
  align-items: center;
}

body.youth-ministry-2021-calendar .search-container .type-back .type .tri-toggle .left label,
body.youth-ministry-2021-calendar .search-container .type-back .type .tri-toggle .right label {
  color: #A60FD7;
}

body.youth-ministry-2021-calendar .search-container .type-back .type .tri-toggle .left label:before,
body.youth-ministry-2021-calendar .search-container .type-back .type .tri-toggle .right label:before,
body.youth-ministry-2021-calendar .search-container .type-back .type .tri-toggle .middle label:before {
  content: "";
  display: block;

  height: 25px;
  width: 32px;

  background-color: white;

  cursor: pointer;
}

body.youth-ministry-2021-calendar .search-container .type-back .type .tri-toggle .left label:before {
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;

  margin-left: 10px;
}

body.youth-ministry-2021-calendar .search-container .type-back .type .tri-toggle .right label:before {
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;

  margin-right: 10px;
}

body.youth-ministry-2021-calendar .search-container .type-back .type .tri-toggle .left label {
  flex-direction: row-reverse;
}

body.youth-ministry-2021-calendar .search-container .type-back .type .tri-toggle .middle label {
  height: 100%;
  width: 100%;
  font-size: 0;
  line-height: 0;
}

body.youth-ministry-2021-calendar .search-container .type-back .type .tri-toggle .left input,
body.youth-ministry-2021-calendar .search-container .type-back .type .tri-toggle .middle input,
body.youth-ministry-2021-calendar .search-container .type-back .type .tri-toggle .right input {
  display: none;
}

body.youth-ministry-2021-calendar .search-container .type-back .type .tri-toggle .left input:checked + label:after,
body.youth-ministry-2021-calendar .search-container .type-back .type .tri-toggle:not(.changed) .middle input + label:after,
body.youth-ministry-2021-calendar .search-container .type-back .type .tri-toggle .middle input:checked + label:after,
body.youth-ministry-2021-calendar .search-container .type-back .type .tri-toggle .right input:checked + label:after {
  content: "";

  position: absolute;
  top: 50%;

  height: 22px;
  width: 22px;

  border-radius: 50%;
}

body.youth-ministry-2021-calendar .search-container .type-back .type .tri-toggle .left input:checked + label:after,
body.youth-ministry-2021-calendar .search-container .type-back .type .tri-toggle .middle input:checked + label:after,
body.youth-ministry-2021-calendar .search-container .type-back .type .tri-toggle .right input:checked + label:after {
  background-color: black;
}

body.youth-ministry-2021-calendar .search-container .type-back .type .tri-toggle .left input:checked + label:after,
body.youth-ministry-2021-calendar .search-container .type-back .type .tri-toggle .right input:checked + label:after {
  transform: translateY(-50%);
}

body.youth-ministry-2021-calendar .search-container .type-back .type .tri-toggle:not(.changed) .middle input + label:after,
body.youth-ministry-2021-calendar .search-container .type-back .type .tri-toggle .middle input:checked + label:after {
  left: 50%;
  transform: translate(-50%, -50%);
}

body.youth-ministry-2021-calendar .search-container .type-back .type .tri-toggle .left input:checked + label:after {
  right: calc(((32px - (25px/2)) / 2) - 1px);
}

body.youth-ministry-2021-calendar .search-container .type-back .type .tri-toggle:not(.changed) .middle input + label:after {
  background-color: #000;
}

body.youth-ministry-2021-calendar .search-container .type-back .type .tri-toggle .right input:checked + label:after {
   left: calc(((32px - (25px/2)) / 2) - 1px);
 }

body.youth-ministry-2021-calendar .search-container .type-back .type .tri-toggle .middle {
  position: relative;
}

body.youth-ministry-2021-calendar .search-container .type-back .type .tri-toggle .middle .click-mask {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

body.youth-ministry-2021-calendar .search-container .type-back .back a {
  display: flex;
  align-items: center;

  font-size: 20px;
  line-height: 26px;

  color: #A60FD7;
  font-weight: 700;

  cursor: pointer;
}

body.youth-ministry-2021-calendar .search-container .type-back .back a img {
  margin-left: 8px;
}

body.youth-ministry-2021-calendar .calendar-container {
  margin-top: 60px;

  padding-right: 13px;
  padding-left: 13px;
}

body.youth-ministry-2021-calendar .calendar-container .heading {
  font-size: 90px;
  line-height: 78px;
  font-family: Trump Gothic Pro;
  text-transform: uppercase;
  color: #000;
}

body.youth-ministry-2021-calendar .calendar-container .arrow-controls,
body.youth-ministry-2021-calendar .calendar-container .calendar {
  margin-top: 10px;
}

body.youth-ministry-2021-calendar .calendar-container .arrow-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

body.youth-ministry-2021-calendar .calendar-container .arrow-controls .previous,
body.youth-ministry-2021-calendar .calendar-container .arrow-controls .next {
  cursor: pointer;
}

body.youth-ministry-2021-calendar .calendar-container .arrow-controls .previous:hover img,
body.youth-ministry-2021-calendar .calendar-container .arrow-controls .next:hover img {
  filter: brightness(70%);
}

body.youth-ministry-2021-calendar .calendar-container .arrow-controls .previous img,
body.youth-ministry-2021-calendar .calendar-container .arrow-controls .next img {
  height: 55px;
  width: 55px;
}

body.youth-ministry-2021-calendar .calendar-container .calendar table {
  border: none;
  border-radius: 7px;
  border-collapse: collapse;

  background-color: white;

  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

  overflow: hidden;
}

body.youth-ministry-2021-calendar .calendar-container .calendar table tbody tr:first-child {
  background-color: #F2E2F8;
}

body.youth-ministry-2021-calendar .calendar-container .calendar table tbody tr:first-child th {
  border: none;

  padding-top: 34px;
  padding-bottom: 3px;

  font-size: 18px;
  line-height: 17px;

  font-weight: 400;
  text-align: right;

  vertical-align: bottom;
}

body.youth-ministry-2021-calendar .calendar-container .calendar table tbody tr:nth-child(2) td {
  border-top: none;
}

body.youth-ministry-2021-calendar .calendar-container .calendar table tbody tr:last-child td {
  border-bottom: none;
}


body.youth-ministry-2021-calendar .calendar-container .calendar table tbody tr td:first-child {
  border-left: none;
}

body.youth-ministry-2021-calendar .calendar-container .calendar table tbody tr td:last-child {
  border-right: none;
}

body.youth-ministry-2021-calendar .calendar-container .calendar table tbody tr th,
body.youth-ministry-2021-calendar .calendar-container .calendar table tbody tr td {
  width: calc(100% / 7);
  height: 77px;
  border: 0.5px solid #EED2F8;
  box-sizing: border-box;
}

body.youth-ministry-2021-calendar .calendar-container .calendar table tbody tr td {
  padding: 6px 4px 8px 4px;
}

body.youth-ministry-2021-calendar .calendar-container .calendar table tbody tr td .cell-contents {
  position: relative;

  display: flex;
  flex-direction: column;

  height: 100%;
}

body.youth-ministry-2021-calendar .calendar-container .calendar table tbody tr td .cell-contents .number {
  font-size: 16px;
  line-height: 1;

  color: #C4C4C4;
  text-align: right;
}

body.youth-ministry-2021-calendar .calendar-container .calendar table tbody tr td.previous-month .cell-contents .number,
body.youth-ministry-2021-calendar .calendar-container .calendar table tbody tr td.next-month .cell-contents .number {
  color: #F1F1F1;
  text-align: right;
}

body.youth-ministry-2021-calendar .calendar-container .calendar table tbody tr td .cell-contents .events {
  flex-grow: 1;
  display: flex;
  flex-direction: column-reverse;
}

body.youth-ministry-2021-calendar .calendar-container .calendar table tbody tr td .cell-contents .events .indicator {
  margin-right: 5px;
  margin-left: 4px;
  border-radius: 20px;
  height: 21px;
  background-color: #A60FD7;
  cursor: pointer;
  margin-bottom: 2px;
  color: #fff;
    font-size: 12px;
    text-align: left;
    padding-left: 9px;
}

body.youth-ministry-2021-calendar .calendar-container .calendar table tbody tr td .cell-contents .events .details-container {
  position: fixed;

  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 12;

  width: 100vw;
  max-height: 418px;

  background-color: white;

  overflow: auto;
}

body.youth-ministry-2021-calendar .calendar-container .calendar table tbody tr td .cell-contents .events .details-container .top {
  display: flex;
  flex-direction: row-reverse;
  padding: 10px 16px 10px 10px;
}

body.youth-ministry-2021-calendar .calendar-container .calendar table tbody tr td .cell-contents .events .details-container .top .close {
  display: flex;
  align-items: center;

  font-size: 20px;
  line-height: 26px;

  font-weight: 700;
  text-transform: uppercase;
  color: #000;
  cursor: pointer;
}

body.youth-ministry-2021-calendar .calendar-container .calendar table tbody tr td .cell-contents .events .details-container .top .close img {
  margin-left: 5px;
}

body.youth-ministry-2021-calendar .calendar-container .calendar table tbody tr td .cell-contents .events .details-container .event-details {
  padding: 10px 16px 28px 10px;
}

body.youth-ministry-2021-calendar .calendar-container .calendar table tbody tr td .cell-contents .events .details-container .event-details .title,
body.youth-ministry-2021-calendar .calendar-container .calendar table tbody tr td .cell-contents .events .details-container .event-details .date,
body.youth-ministry-2021-calendar .calendar-container .calendar table tbody tr td .cell-contents .events .details-container .event-details .parish {
  font-family: Trump Gothic Pro;
  text-transform: uppercase;
  font-weight: 400;
  color: #000;
}

body.youth-ministry-2021-calendar .calendar-container .calendar table tbody tr td .cell-contents .events .details-container .event-details .title {
  font-size: 62px;
  line-height: 56px;
  margin-bottom: 10px;
  margin-top: 10px;
  max-width: 336px;
}
body.youth-ministry-2021-calendar .calendar-container .calendar table tbody tr td .cell-contents .events .details-container .event-details .image-container img {
    border-radius: 10px;
}

body.youth-ministry-2021-calendar .calendar-container .calendar table tbody tr td .cell-contents .events .details-container .event-details .date,
body.youth-ministry-2021-calendar .calendar-container .calendar table tbody tr td .cell-contents .events .details-container .event-details .parish {
  font-size: 31.25px;
  line-height: 32px;
  color: #9CA1AD;
}

body.youth-ministry-2021-calendar .calendar-container .calendar table tbody tr td .cell-contents .events .details-container .event-details .description {
  margin-top: 18px;
  font-size: 16px;
  color: #000;
  font-weight: 700;
  line-height: 24px;
}

body.youth-ministry-2021-calendar .calendar-container .calendar table tbody tr td .cell-contents .events .details-container .event-details .see-more {
  margin-top: 32px;
}

body.youth-ministry-2021-calendar .calendar-container .calendar table tbody tr td .cell-contents .events .details-container .event-details .see-more a {
  display: flex;
  align-items: center;

  font-size: 20px;
  line-height: 20px;

  font-weight: 700;
  color: #A60FD7;
}

body.youth-ministry-2021-calendar .calendar-container .calendar table tbody tr td .cell-contents .events .details-container .event-details .see-more a img {
  margin-left: 5px;
}
body.youth-ministry-2021-calendar .search-container .heading h1 {
    font-size: 61px;
    font-weight: 400;
    line-height: 56px
  }

@media (min-width: 922px) {
  body.youth-ministry-2021-calendar .ast-container {
    max-width: 100%;
  }

  body.youth-ministry-2021-calendar .search-container,
  body.youth-ministry-2021-calendar .calendar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  body.youth-ministry-2021-calendar .search-container {
    padding-top: 100px;
    padding-bottom: 42px;
  }

  body.youth-ministry-2021-calendar .search-container .heading,
  body.youth-ministry-2021-calendar .search-container .inputs,
  body.youth-ministry-2021-calendar .search-container .type-back,
  body.youth-ministry-2021-calendar .calendar-container .heading,
  body.youth-ministry-2021-calendar .calendar-container .arrow-controls,
  body.youth-ministry-2021-calendar .calendar-container .calendar {
    width: 100%;
    max-width: 1140px;
    padding: 0 20px;
  }
  
  body.youth-ministry-2021-calendar .search-container .heading {
    margin-bottom: 20px;
  }

  body.youth-ministry-2021-calendar .search-container .inputs,
  body.youth-ministry-2021-calendar .search-container .type-back {
    display: flex;
  }

  body.youth-ministry-2021-calendar .search-container .type-back {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
  }

  body.youth-ministry-2021-calendar .search-container .type-back .type {
    margin-top: 0;
  }

  body.youth-ministry-2021-calendar .search-container .inputs .month,
  body.youth-ministry-2021-calendar .search-container .inputs .year {
    width: calc(50% - 10px);
  }

  body.youth-ministry-2021-calendar .search-container .inputs .month {
    margin-right: 20px;
    margin-bottom: 0;
  }

  body.youth-ministry-2021-calendar .calendar-container {
    margin-top: 30px;
  }

  body.youth-ministry-2021-calendar .calendar-container .arrow-controls {
    margin-top: 40px;
  }

  body.youth-ministry-2021-calendar .calendar-container .calendar table tbody tr th,
  body.youth-ministry-2021-calendar .calendar-container .calendar table tbody tr td {
    height: 107px;
  }

  body.youth-ministry-2021-calendar .calendar-container .calendar table tbody tr td .cell-contents .events .details-container {
    left: 50%;
    transform: translate(-50%, -50%);

    width: 100%;
    max-width: 418px;
    max-height: calc(100vw - 90px);

    box-shadow: 0 2px 25px rgba(0, 0, 0, 0.15);
    height: calc(100vw - 1260px);
  }
}
