/*Results*/
.event-category-tab {
  display: inline-block;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 20px 10px;
  line-height: 1;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-bottom: 5px;
  font-weight: 500;
}
.event-category-tab.active,
.event-category-tab:hover {
  background-color: var(--primary);
  color: var(--white);
}
.event-res-image {
  position: relative;
  padding-top: 58%;
}
.events-results-tabs {
  margin-top: 90px;
}
.each-event-wrap {
  position: relative;
  overflow: hidden;
}
.event-res-item {
  margin-bottom: 45px;
}
.each-event-wrap::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  content: "";
  background: linear-gradient(to bottom, rgba(34, 51, 103,0.8) 10%,rgba(34, 51, 103,0.001) 100%);
  background: linear-gradient(to bottom, rgba(34, 51, 103,0.8) 10%,rgba(34, 51, 103,0.001) 100%);
  background: linear-gradient(to bottom, rgba(34, 51, 103,0.8) 10%,rgba(34, 51, 103,0.001) 100%);
  height: 70px;
  z-index: 1;
}
.each-event-img {
  padding-top: 58%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  -webkit-transition: all 0.35s ease;
  -moz-transition: all 0.35s ease;
  -o-transition: all 0.35s ease;
  transition: all 0.35s ease;
}
.each-event:hover .each-event-img {
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.each-event:hover .event-res-title {
  color: var(--secondary);
}
.events-result-wrap {
  margin-top: 85px;
  margin-bottom: 14em;
}
.event-res-date {
  position: absolute;
  top: 15px;
  font-size: 20px;
  color: white;
  font-weight: 600;
  left: 15px;
  z-index: 1;
}
.event-res-title {
  font-size: 24px;
  font-weight: 600;
  margin-top: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  line-height: 1.25em;
  height: 2.5em;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.events-load-more {
  border: 2px solid;
  color: var(--secondary);
  text-align: center;
  padding: 25px;
  cursor: pointer;
  font-weight: 500;
  letter-spacing: 1px;
  font-size: 20px;
  display: block;
  margin-top: 15px;
  border-radius: 0 !important;
}
.events-load-more:hover {
  color: white;
  background-color: var(--secondary);
  border-color: var(--secondary);
}
/*Publish*/
.back-to-events-page a {
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 1px;
}
.back-to-events-page svg {
  height: 0.75em;
  fill: #213367;
  margin-right: 8px;
}
.back-to-events-page:hover svg {
  fill: var(--secondary);
}
.back-to-events-page a:hover {
  color: var(--secondary);
}
.events-publish-title {
  font-size: 60px;
  font-weight: 300;
  letter-spacing: 1px;
  margin-top: 25px;
  margin-bottom: 40px;
  max-width: 1160px;
  line-height: 1.2;
}
.events-publish-content {
  font-size: 22px;
  text-align: justify;
  margin-top: 5.5em;
  margin-bottom: 2.2em;
}
.event-publish-image {
  position: relative;
  padding-top: 58%;
}
.event-publish-description h1,
.event-publish-description h2,
.event-publish-description h3,
.event-publish-description h4,
.event-publish-description h5,
.event-publish-description h6 {
  font-size: 1em;
  font-weight: 700;
  margin-bottom: 5px;
}
.event-publish-carousel.fading-carousel {
  position: relative;
}
.event-publish-carousel.fading-carousel:after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 10%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to right,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
}
.owl-carousel.social-activities-gal .owl-nav .owl-prev {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  height: 20px;
  margin: auto;
}
.owl-carousel.social-activities-gal .owl-nav .owl-prev svg {
  fill: none;
  stroke: #48a3da;
  stroke-miterlimit: 10;
  stroke-width: 2px;
}
.owl-carousel.social-activities-gal .owl-nav .owl-next {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  height: 20px;
  margin: auto;
  right: 0;
}
.owl-carousel.social-activities-gal .owl-nav .owl-next svg {
  fill: none;
  stroke: #48a3da;
  stroke-miterlimit: 10;
  stroke-width: 2px;
}
.social-activities-gal {
  margin-bottom: 10em;
  margin-top: 2em;
}
.social-activities-gal-item {
  position: relative;
  padding-top: 60%;
  background-color: rgba(43,52,132,0.1);
}
.social-activities-gal-item::after {
  right: 0;
  width: 100px;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
}
.social-activities-gal-item::before {
  left: 0;
  width: 100px;
  background: linear-gradient(to left, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
}
.social-activities-gal-item img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/*Responsive - Mobile First*/
@media only screen and (max-width: 1710px) {
  .events-results-tabs .row {
    margin-right: -5px;
    margin-left: -5px;
  }
  .events-results-tabs .col-auto {
    padding-right: 5px;
    padding-left: 5px;
  }
  .event-category-tab {
    padding: 18px 10px;
    font-size: 17px;
  }
}
@media only screen and (max-width: 1650px) {
  .next-article-wrap {
    padding-right: 100px;
  }
}
@media only screen and (max-width: 1515px) {
  .event-category-tab {
    padding: 15px 8px;
    font-size: 16px;
  }
}
@media only screen and (max-width: 1350px) {
  .events-results-container .row-35 {
    margin-left: -15px;
    margin-right: -15px;
  }

  .event-res-item .col-35 {
    padding-left: 15px;
    padding-right: 15px;
  }
}
@media only screen and (max-width: 1280px) {
  .event-res-title {
    font-size: 22px;
  }
  .event-res-date {
    font-size: 18px;
  }
  .events-result-wrap {
    margin-top: 55px;
  }
  .events-result-wrap {
    margin-bottom: 10em;
  }
  .events-publish-title {
    font-size: 40px;
  }
  .events-publish-content {
    margin-top: 3em;
  }
  .next-article-wrap {
    padding-right: 45px;
  }
}
@media only screen and (max-width: 1150px) {
  .event-category-tab {
    padding: 12px 8px;
  }
  .events-results-tabs {
    margin-top: 60px;
  }
}
@media only screen and (max-width: 1040px) {
  .social-activities-gal {
    margin-bottom: 5em;
  }
}
@media only screen and (max-width: 768px) {
  .event-res-title {
    font-size: 20px;
  }
  .events-result-wrap {
    margin-bottom: 5em;
  }
  .back-to-events-page a {
    font-size: 15px;
  }
  .events-publish-title {
    font-size: 30px;
  }
  .events-publish-content {
    font-size: 18px;
    margin-top: 2em;
  }
  .social-activities-gal {
    margin-bottom: 5em;
  }
  .next-article-wrap {
    padding-right: 15px;
  }
  .events-results-tabs {
    margin-top: 40px;
  }
  .events-result-wrap {
    margin-top: 40px;
  }
  .event-category-tab {
    padding: 10px 7px;
    font-size: 15px;
  }
}
@media only screen and (max-width: 550px) {
  .events-publish-title {
    font-size: 27px;
  }
}
@media only screen and (max-width: 360px) {
  .event-category-tab {
    font-size: 14px;
  }
}
/* md */
@media (min-width: 768px) {
  .event-category-tab {
    margin-bottom: 10px;
  }
}
/*Responsive - Desktop First*/
/* xs */
@media (max-width: 575.98px) {
  .event-publish-carousel .event-publish-image {
    width: 90vw;
  }
}