/* //////////////////////////////calendar view */
.calendar-page {
  position: relative;
}

  .tribe-common.tribe-events.tribe-events-view.tribe-events-view--day {
    padding-top: 220px;
  }

.calendar-page.single-event-section.first.section {
  padding-top: 220px;
  padding-bottom: 280px;
  isolation: isolate;
}

.calendar-page.tribe-events-pg-template .brxe-svg {
  width: unset;
  position: absolute;
  top: -166%;
  left: -90%;
  max-width: unset;
  animation: draw 2s ease-in-out forwards;
  stroke-width: 2px;
  stroke-dasharray: 3000;
  stroke-dashoffset: 3000;
}


.calendar-page.tribe-events-pg-template .brxe-svg {
  width: unset;
  position: absolute;
  top: -166%;
  left: -90%;
  max-width: unset;
  animation: draw 2s ease-in-out forwards;
  stroke-width: 2px;
  stroke-dasharray: 3000;
  stroke-dashoffset: 3000;
}

.single-event-section.calendar-section > div {
  max-width: var(--tec-grid-width);
}

.calendar-page-title-wrapper {
  display: flex;
  flex-direction: column;
  row-gap: 32px;
  align-items: center;
  position: relative;
}

.calendar-page-title-wrapper .page-title-description {
  text-align: center;
  font-family: Prompt;
  font-size: var(--text-m);
  font-weight: 400;
  line-height: 27.22px;
  text-align: center;
  color: #000;
  z-index: 1;
  max-width: 779px;
}

.calendar-page-title-wrapper .page-title-description.mobile {
  display: none;
}

.calendar-page-title-wrapper .page-title-description {
  display: none!important;
}

.page-title.calendar-title {
  font-family: Prompt;
  text-transform: uppercase;
  font-size: var(--h-title);
  line-height: var(--h-title);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-align: center;
  color: var(--bricks-color-fkxxse);
  z-index: 1;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-header {
  margin: 0 auto;
  max-width: var(--tec-grid-width);
}

.tribe-events-calendar-month__header-column-title-desktop.tribe-common-a11y-hidden {
  font-family: Prompt;
  font-size: var(--text-m);
  font-weight: 400;
  line-height: 27.22px;
  text-align: center;
}

.tribe-events-calendar-month__day-date-daynum {
  font-family: Prompt;
  font-size: 23.64px;
  font-weight: 400;
  line-height: 35.75px;
  text-align: center;
}

/* list view on calendar page*/
.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
  padding-top: 0px;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
  padding-bottom: 60px;
}

.tribe-events-calendar-list__event-row .tribe-events-calendar-list__event-date-tag-datetime::after {
  content: '';
  background-color: #FFA319;
  width: 9px;
  position: absolute;
  height: 100%;
  right: -1px;
  border-radius: 4px;
 }

.tribe-events-calendar-list__event-row .cat_festivalis .tribe-events-calendar-list__event-date-tag-datetime::after {
  background-color: var(--tec-color-category-secondary);
}

.tribe-events-calendar-list .tribe-events-calendar-list__event-header .tec-events-calendar-list__event-categories .tec-events-calendar-list__category .tec-events-calendar-list__category-icon {
    display: none;
}

/* ////////////////////////////single event template */

.single-tribe_events #tribe-events-pg-template {
  max-width: unset;
  padding: 0;
  margin: 0;
  flex: 1;
  width: 100%;
}

.single-event-section > div {
  max-width: calc(816px + (2 * var(--tec-spacer-4)));
  width: 100%;
}

.inner-wrapper {
  position: relative;
  z-index: 1;
}

.single-event-section {
  align-items: center;
  display: flex;
  flex-direction: column;
  padding: 0 15px;
}

.single-event-section.section {
  align-items: center;
  display: flex;
  flex-direction: column;
  padding: 0 15px;
}

.single-event-section.first.section {
  background-image: linear-gradient(180deg, #ffffff 6%, #6ec3ed 100%);
  padding-bottom: 180px;
  padding-top: 40px;
}

.custom-style .tribe-events-back .bricks-button.bricks-background-light {
  padding: 10px 20px;
}

.tribe-events-pg-template .brxe-svg {
  width: unset;
  position: absolute;
  top: -894px;
  left: -92%;
  max-width: unset;
  animation: draw 2s ease-in-out forwards;
  stroke-width: 2px;
  stroke-dasharray: 3000;
  stroke-dashoffset: 3000;
}

.svg-wrapper {
  position: relative;
}

/*/////////////////////////////// events notice wrapper block section */

.custom-style .tribe-events-notices {
  background-color: #fefefe;
  box-shadow: 0px 0px 8px 0px #58585826;
  border-radius: 20px;
  padding-bottom: 0;
  margin-bottom: 64px;
}

.custom-style .tribe-events-notices li {
  text-align: center;
  font-family: Prompt;
  font-size: var(--text-xl);
  font-weight: 500;
  line-height: 19.19px;
  color: #f34900;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 24px;
  font-size: 24px;
}

.custom-style .tribe-events-notices ul {
  padding: 24px;
}

.custom-style .tribe-events-notices li::before {
  content: url("/wp-content/uploads/2024/05/alert-octagon.svg");
}

/* ///////////////////////////////event title */

.custom-style .tribe-events-single-event-title {
  font-family: Prompt;
  font-size: 35px;
  font-weight: 500;
  line-height: 36.07px;
  text-align: left;
  color: #090a18;
  max-width: 710px;
}

.custom-style .tribe-events-schedule.tribe-clearfix h2 {
  font-family: Prompt;
  font-size: 18px;
  font-style: italic;
  font-weight: 500;
  line-height: 18.55px;
  text-align: left;
  color: #585858;
}

.custom-style .tribe-events-schedule.tribe-clearfix {
  margin-top: 16px;
  margin-bottom: 32px;
}

.tribe-events-event-image img {
  border-radius: 10px;
/*   aspect-ratio: 7/3; */ /*Laprkicio 21d pakeitimai*/
  object-fit: cover;
  width: 100%;
}

/* ///////////////////////////////time and location wrapper block section */

.single-event-section.third.section {
  background-color: #fefefe;
  z-index: 1;
  position: relative;
  margin-top: 30px;
}

.tribe-events-header {
  width: 100%;
}

.tribe-events-calendar-month-mobile-events {
  width: 100%;
}

.tribe-events-schedule.tribe-clearfix.time-location-wrapper {
  background-color: var(--bricks-color-zqfhaa);
  color: var(--bricks-color-pvzejk);
  padding: 20px 47px 30px;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  align-items: flex-start;
}

.time-location-wrapper div {
  padding: 25px 0px 15px 0;
}

.time-location-wrapper div:not(:last-child) {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
}

.location-wrapper,
.button-wrapper {
  border-top: 1px solid #eee;
  width: 100%;
}

.time-location-wrapper .schedule-title {
  font-family: Prompt;
  font-size: var(--text-xl);
  font-weight: 500;
  line-height: 19.19px;
  text-align: left;
}

.time-location-wrapper p {
  font-family: Prompt;
  font-size: var(--text-m);
  font-weight: 400;
  line-height: 27.22px;
  text-align: left;
}

.button-wrapper {
  display: flex;
  gap: 24px;
  align-items: center;
}

.btn.btn-registration.bricks-button.bricks-background-light {
  padding: 14px 29px;
  text-transform: uppercase;
}

.custom-style
  .button-wrapper
  .btn.btn-registration.bricks-button.bricks-background-light:hover {
  background-color: var(--bricks-color-pvzejk);
  color: var(--bricks-color-zqfhaa);
  transform: scale(1.1);
}

.button-wrapper .btn-fb {
  display: flex;
  transition: transform 0.3s ease;
}

.button-wrapper .btn-fb:hover {
  transform: scale(1.1);
}

/* ///////////////////////////////section second section oval section */

.second.section .oval-form-wrapper {
  margin-top: -150px;
  position: relative;
  width: 100%;
  min-width: 105%;
  z-index: 1;
}

.oval-form {
  background-color: var(--bricks-color-pvzejk);
  box-shadow: 0 -8px 10px 0 rgba(0, 93, 176, 0.2);
  height: 190px;
  border-radius: 50% / 100%;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  width: 100%;
}

/* ///////////////////////////////events tab section */

.event-tabs {
  margin-top: 64px;
}

.tab-links {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  box-shadow: 0px 0px 8px 0px #58585826;
  border-radius: 20px 20px 0 0;
}

.tab-links li {
  padding: 27px;
  width: 100%;
  align-self: center;
  text-align: center;
  font-size: var(--text-m);
}

.tab-links li.active {
  color: var(--bricks-color-fnngbv);
  border-bottom: 5px solid var(--bricks-color-fnngbv);
}

.tab-content .tab {
  padding-top: 64px;
}

.tab-content .tab.active > * {
  font-size: var(--text-m);
}

.tab .gallery {
  /* display: flex;
  flex-direction: row;
  flex-wrap: wrap; */
  /* justify-content: space-between; */
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  display: grid;
  gap: 16px;
  margin: 0;
}

.tab .gallery a img {
  border-radius: 10px;
}

.tab.active .no-content {
  text-align: center;
  font-family: Prompt;
  font-size: 24px;
  font-weight: 500;
  line-height: 19.19px;
}

/* ////////////////////// program wrapper section */

.event-program-wrapper {
  margin-top: 64px;
}

.program-wrapper {
  padding: 47px;
  background-color: var(--bricks-color-zqfhaa);
  color: var(--bricks-color-pvzejk);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  font-family: prompt;
}

.program-wrapper h3 {
  border-bottom: 1px solid;
  padding-bottom: 18px;
  font-family: Prompt;
  font-size: var(--text-xl);
  font-weight: 500;
  line-height: 19.19px;
  text-align: left;
}

.program-wrapper > :not(h3) {
  font-size: var(--text-m);
}

/* events footer */
#tribe-events-footer {
  border: 0 !important;
  max-width: 1230px;
  padding: 0;
  margin-top: 152px;
}

.related-events-list {
  padding: 0;
  margin: 0;
  list-style-type: none;
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  justify-content: center;
  gap: 16px;
}

/* //////////////////////related event section */

.related-event {
  position: relative;
  display: flex;
  flex-direction: column;
  row-gap: 16px;
}

.related-event .img-wrapper {
  overflow: hidden;
  border-radius: 10px;
}

.related-events h3 {
  text-align: center;
  font-family: Prompt;
  font-size: 69px;
  font-weight: 800;
  line-height: 69px;
  letter-spacing: 0.03em;
  color: #090a18;
}

.event-title:hover {
  color: var(--bricks-color-zqfhaa) !important;
  text-decoration: underline;
}

.related-event img {
  border-radius: 10px;
  object-fit: cover;
  aspect-ratio: 3/2;
}

/* cia tingejau kurti isnaujo hover effecktus img tai paemiau klases */
.brxe-vphaah .brxe-mucfyv.brxe-image:hover {
  transform: scaleX(1.1) scaleY(1.1);
}

.brxe-vphaah .brxe-mucfyv.brxe-image {
  transition: transform 0.3s ease;
  width: 100%;
  height: 100%;
}

.related-event .renginys {
  position: absolute;
  top: 5%;
  right: 2%;
}

.post-modified, .post-published {
  font-family: Prompt;
  font-size: var(--text-m);
  font-style: italic;
  font-weight: 500;
  line-height: 14.43px;
  text-align: left;
  color: #585858;
}

.related-event .related-event-title {
  font-family: Prompt;
  color: var(--bricks-color-fkxxse);
  font-size: var(--text-xl);
  font-weight: 500;
  line-height: 23.7px;
  text-align: left;
}

@media (max-width: 991px) {
  .calendar-page.tribe-events-pg-template .brxe-svg,
  .tribe-events-pg-template .brxe-svg {
    display: none;
  }

  .calendar-page.single-event-section.first.section {
    padding-bottom: 220px;
  }

  .oval-form {
    height: 150px;
  }
}

@media (max-width: 767px) {
  .calendar-page.single-event-section.first.section {
    padding-bottom: 180px;
  }

  .oval-form {
    height: 130px;
  }

  .second.section .oval-form-wrapper {
    margin-top: -130px;
  }
}

@media (max-width: 478px) {


  .tribe-common.tribe-events.tribe-events-view.tribe-events-view--day {
    padding-top: 120px;
  }


  .page-title.calendar-title {
    font-size: 44px;
  }

  .calendar-page-title-wrapper {
    align-items: start;
  }

  .calendar-page-title-wrapper .page-title-description.mobile {
    display: block;
    text-align: left;
  }

  .calendar-page-title-wrapper .page-title-description {
    display: none;
  }

  .calendar-page.single-event-section.first.section {
    padding-top: 150px;
    padding-bottom: 120px;
  }

  .custom-style .tribe-events-notices li {
    font-size: 18px;
    gap: 8px;
  }

  .second.section .oval-form-wrapper {
    margin-top: -60px;
    min-width: 109%;
  }

  .oval-form {
    height: 60px;
    min-width: 100%;
  }

  .tribe-events .month.focused.active.current {
    background-color: var(--bricks-color-zqfhaa);
  }

  .tribe-events button.tribe-events-c-top-bar__datepicker-button:focus {
    outline: var(--bricks-color-zqfhaa) auto medium;
  }

  .tribe-events .tribe-events-c-view-selector__button-icon {
    height: 30px;
    width: 30px;
  }

  .tribe-events .tribe-events-c-view-selector__button {
    padding: 8px;
  }

  .tribe-events-calendar-month__header-column-title.tribe-common-b3 {
    font-size: 14px;
  }

  .tribe-events-calendar-month__day-date-daynum {
    font-size: 16.6px;
    line-height: 16.8px;
  }

  .tribe-events-calendar-month__day-cell.tribe-events-calendar-month__day-cell--mobile.tribe-events-calendar-month__day-cell--selected
    time {
    color: var(--bricks-color-pvzejk);
  }

  .tribe-events .tribe-events-calendar-month__day-cell--selected,
  .tribe-events .tribe-events-calendar-month__day-cell--selected:focus,
  .tribe-events .tribe-events-calendar-month__day-cell--selected:hover {
    background-color: var(--bricks-color-zqfhaa);
  }

  .tribe-events
    .tribe-events-calendar-month-mobile-events__mobile-event-datetime-featured-text {
    color: var(--bricks-color-zqfhaa);
  }

  .tribe-events-calendar-month-mobile-events__mobile-event-featured-image {
    border-radius: 10px;
  }

  .tab.active .no-content {
    font-size: 16px;
  }

  /* list view */
  .tribe-events-view--list .single-event-section.section.third {
    padding: 0;
  }

  .tribe-common-g-row.tribe-events-calendar-list__event-row {
    padding: 24px;
  }


.tribe-events-calendar-list__event-date-tag-datetime::after {
  content: '';
  width: 5px;
  background-color: #FFA319;
  position: absolute;
  height: 100%;
  right: unset;
  border-radius: 4px;
 }

  /* ////////////////////////////////////single event  */
  .custom-style .tribe-events-notices ul {
    padding: 18px;
  }

  .custom-style .tribe-events-single-event-title {
    font-size: 24px;
    line-height: 24px;
    margin-bottom: 8px;
  }

  .custom-style .tribe-events-schedule.tribe-clearfix {
    margin-top: 0px;
    margin-bottom: 24px;
  }

  .custom-style .tribe-events-schedule.tribe-clearfix .post-modified {
    font-size: var(--text-s);
  }

  .tribe-events-event-image img {
/*     aspect-ratio: 5/3; */ /*Lapkricio 21d. pakeitimai*/
  }

  .single-event-section.first.section {
    padding-bottom: 110px;
    padding-top: 0px;
  }

  .tribe-events-schedule.tribe-clearfix.time-location-wrapper {
    padding: 20px;
  }

  .tab-links li {
    padding: 16px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .tab-content .tab {
    padding-top: 32px;
  }

  .tab.active .no-content {
    font-size: 16px;
  }

  .program-wrapper {
    padding: 20px;
  }

  #tribe-events-footer {
    margin-top: 40px;
  }

  .related-event {
    row-gap: 8px;
  }

  .related-event .post-modified {
    margin-top: 8px;
  }

  .related-events h3 {
    font-size: var(--h1);
    line-height: var(--h1);
    text-align: start;
  }

  .related-events-list {
    margin-top: 40px;
  }
}
