.t4-events-calendar div#search_field {
  width: 100%;
}

.t4-events-calendar input#keywords {
  width: 100%;
  padding: 0.5rem;
  border:1px solid #00000026;
}
#searchoptions-generic fieldset {
    padding: 0;
}

.t4-events-calendar legend {
  font-size: 1.2rem;
  color: #0272c5;
  font-weight: 900;
  padding-bottom: 0.5rem;
}

.t4-events-calendar div#past_events {
  box-shadow:1px 2px 40px #00000012;
  border:1px solid #0000000d;
  background-color: white;
  margin-bottom:25px;
}

.t4-events-calendar div#calendar_events {
  margin: 1rem 0;
}

.t4-events-calendar li.event-item {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: nowrap;
  overflow: hidden;
  margin: 0 !important;
  text-indent: unset !important;
  padding: 0 !important;
  margin-bottom: 0.5rem !important;
}

.t4-events-calendar li.event-item::before {
  display: none;
}

.t4-events-calendar ul.no-bullet {
  display: flex;
  flex-direction: column;
  margin: 0 !important;
  line-height: normal !important;
  -webkit-padding-start: unset !important;
}

.t4-events-calendar .event-date-box {
  width: 30%;
  min-height: 100%;
  display: block;
  margin-bottom:20px;
  border-radius:10px;
  border:1px solid #00000014;
  box-shadow:0px 0px 2px #00000026;
  background-color: white;
}

.t4-events-calendar .event-info-box {
  width: 70%;
}

.t4-events-calendar .event-date-box a {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  min-width: 100%;
  height: 100%;
}

.t4-events-calendar .event-date-box a:hover {
  text-decoration: none !important;
}

.t4-events-calendar .month {
  display: block;
  height: 30%;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.2rem;
  padding: 1rem;
}

.t4-events-calendar #past_events {
  padding: 1rem 1rem 0 1rem !important;
}

.t4-events-calendar fieldset {
  border: none;
}

.date-stamp.t4-e.right {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.date-stamp.nobackevents,
.date-stamp2.date-stamp {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  width: 45%;
  position: relative;
  overflow: hidden;
}

.t4-events-calendar .date-stamp.smaller {
  min-height: 100%;
  width: 10%;
  text-align: center;
  position: relative;
  text-indent: unset !important;
}

.t4-events-calendar .day {
  height: 70%;
  text-align: center;
  font-size: 3rem;
  line-height: 2.5rem;
  padding: 1rem;
}

.t4-events-calendar .date-stamp.smaller span {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
}

.t4-events-calendar .event-info-box {
  padding: 1rem;
}

.t4-events-calendar .event-info-box header.desk {
  height: auto;
  padding: 0;
}

.t4-events-calendar .event-info-box p.title {
  padding-bottom: 1rem !important;
  margin: 0 !important;
}

.t4-events-calendar .event-info-box a {
  font-size: 1.3rem;
}

.t4-events-calendar .event-info-box span.fa {
  padding-right: .5rem;
  width: 2rem;
  text-align: center;
}

.t4-events-calendar #searchoptions-categories .h5 {
  padding: .5rem 0;
  font-size: 1.2rem;
  color: #005694;
  font-weight: bold;
}

.t4-events-calendar #searchoptions-categories form {
  border-top: 1px dotted #c0c0c0 !important;
  margin-top: 1rem;
}

.t4-events-calendar #searchoptions-categories .h5 {
  padding: .5rem 0;
  font-size: .85rem;
  color: #555555;
  font-weight: bold;
}

.t4-events-calendar #searchoptions-categories form {
  border-top: 0px solid #00000008 !important;
  margin-top: 1rem;
  background-color:#00000005;
  border-radius:5px;
  padding:5px 15px;
}

.t4-events-calendar table.cal-table {
  table-layout: initial;
}

.t4-events-calendar section#bodyCopy {
  width: 70%;
  max-width: unset !important;
  min-width: unset !important;
}

.t4-events-calendar div#rightSide {
  width: 30%;
  max-width: unset !important;
  min-width: unset !important;
  margin: 0 !important;
  padding: 0 !important;
  padding-left: 1rem !important;
}

.t4-events-calendar div#view-switchers {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.t4-events-calendar #calendar_box .today {
  background-color: #0F5597;
  color: #fff;
  text-align: center;
}

.t4-events-calendar #calendar_box .today a.ajax-load-link {
  color: #fff;
}

.t4-events-calendar #calendar_box td,
.t4-events-calendar #calendar_box th {
  text-align: center;
}

.t4-events-calendar #calendar_box .outperiodday {
  opacity: 0.5;
}

.t4-events-calendar p.categories_trigger.ajax-load-link {
  margin: 0 !important;
}

.t4-events-calendar nav.view_period_switchers.ajax-load-link {
    flex-direction: row;
}

@media screen and (max-width: 1100px) {
  .t4-events-calendar section#bodyCopy {
    width: 65%;
  }
  .t4-events-calendar div#rightSide {
    padding-left: 0.5rem !important;
    width: 35%;
  }
}

@media screen and (max-width: 900px) {
  .t4-events-calendar li.event-item {
    flex-direction: row;
  }
  
  .t4-events-calendar .event-info-box {
    width: 70% !important;
  }
  
  .t4-events-calendar .event-date-box {
    width: 30% !important;
  }
  .t4-events-calendar div#rightSide {
    order: 2;
    padding-left: 0 !important;
    width: 100% !important;
  }
  .t4-events-calendar section#bodyCopy {
    width: 100% !important;
  }
}

@media screen and (max-width: 768px) {
  .t4-events-calendar div#rightSide {
    order: 2;
    padding-left: 0 !important;
    width: 100% !important;
  }
  
  .t4-events-calendar section#bodyCopy {
    width: 100% !important;
  }
  
  .t4-events-calendar li.event-item {
    flex-direction: column;
  }
  
  .t4-events-calendar .event-info-box {
    width: 100% !important;
  }
  
  .t4-events-calendar .event-date-box {
    width: 100% !important;
  }
  
}

@media screen and (max-width: 320px) {
  .t4-events-calendar table.cal-table {
    table-layout: fixed;
  }
}

.t4-events-calendar ul.pagination.ajax-load-link {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 0 !important;
  margin: 2rem 0 1rem 0 !important;
  overflow: visible !important;
  width: 100%;
  justify-content: flex-start;
}

.t4-events-calendar ul.pagination.ajax-load-link > li {
  padding-bottom: 2rem !important;
}

.t4-events-calendar ul.pagination li a,
.t4-events-calendar ul.pagination li span {
  border: 1px solid #005695;
  color: #4D4D4D;
  padding: .5rem 1rem;
  line-height: 1rem;
  font-size: 1rem;
  text-indent: unset !important;
}

.t4-events-calendar ul.pagination li a:hover {
  text-decoration: none !important;
  background-color: aliceblue;
  color: #005695;
}

.t4-events-calendar ul.pagination li::before {
  display: none;
}

.t4-events-calendar ul.pagination li a.current.page {
  background-color: aliceblue;
  color: #005695;
}

.t4-fulltext .img-wrapper {
    margin-bottom: 25px;
}

.t4-fulltext p.meta-date, .t4-fulltext p.meta-date span,
.t4-fulltext p.meta-time, .t4-fulltext p.meta-time span {
    font-size: 1.2rem !important;
}

.t4-events-calendar .event-info header {
    padding: 0;
}

/*PSRR-13625*/
.t4-fulltext .img-wrapper {
    max-width: 600px;
}
.t4-up-event span.eventPreviewTime {
  display: block;
  margin-top: .5rem;
}