/**
 * Theme Name: OMC
 * Template:   twentytwentyfive
 * Version: 1.1
 * Description: Child theme for Twenty Twenty-Five
 */

:root :where(.wp-block-button.is-style-outline--3 .wp-block-button__link.wp-block-button__link:not(.has-background):hover ) {
	background-color: color-mix(in srgb, #ffffff 75%, transparent);
}
.with-icon {
  position: relative;
}
.with-icon::before {
  top: -1.1rem;
  left: -1.5rem;
  width: 4.5rem;
  height: 4.5rem;
  z-index: -1;
  content: "";
  background-size: contain;
  background-image: url(images/icon3.png);
  position: absolute;
}

.with-underlined::after {
  top: -1.1rem;
  left: -1.5rem;
  width: 4.5rem;
  height: 4.5rem;
  z-index: -1;
  background-color: aqua;
  content: "";
}

.social-icons {
  background-color: #ffffff;
  color: var(--wp--preset--color--accent-1);
  fill: var(--wp--preset--color--accent-1);
}
.archive-max-width {
  max-width: 992px;
}
.margin-auto {
  margin: 0 auto;
}

.block-space-0 {
  margin-block-start: 0;
}

.grid-self-align-center {
  align-self: center;
}

.footer {
	margin-block-start: 0 !important;
}

.height-100 {
  height: 100% !important;
}

.categories-pill a,
.category-list li a {
  background-color: var(--wp--preset--color--custom-darker-3);
  color: #ffffff;
}

.category-list li a {
  border-radius: 20px;
  border-color: var(--wp--preset--color--accent-6);
  border-width: 0.8px;
  border-style: solid;
  font-weight: 400;
  line-height: 2.8;
  padding-top: 5px;
  padding-right: 10px;
  padding-bottom: 5px;
  padding-left: 10px;
  text-decoration: none;
}

.category-list li a:hover {
  text-decoration: underline;
}

.category-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  max-width: 100%;
  list-style-type: none;
  padding-left: 0;
}

.details-block summary:focus {
  outline: none;
}

.post-type figure.wp-block-image.size-full {
	text-align: center;
}
.post-type figure.wp-block-image.size-full img {
	border-radius: 10px;
	width: 100% !important;
}

.post-type .timetable-accordian figure.wp-block-image.size-full img {
	border-radius: 10px;
	width: 400px !important;
}

.timetable-accordian {
    border: 1px solid #a5a5a5;
    border-radius: 10px;
    padding: 10px;
}

.timetable-accordian summary:focus {
    outline: none;
}

div.wpforms-field-container div.wpforms-field input {
	border-radius: 10px
}

@media (max-width: 781px) {
	.hero-image .wp-block-cover__image-background.has-parallax {
		background-attachment: unset;
	}
  .padding-rl-0-mobile {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
  .padding-t-0-mobile {
    padding-top: 0 !important;
  }
  .margin-0-auto-mobile {
    margin: 0 auto !important;
  }
  .stats-block {
	border-right-width: 0 !important;
  }
  .stats-block .stats-seperator {
	display: block !important;
  }
}

.event-date {
    display: flex; 
    align-items: center;
    flex-direction: column;
    font-weight: bold;
}

.event-date .dashicons {
    font-size: 50px;
    width: auto;
    height: auto;
    color: var(--wp--preset--color--custom-darker-3);
}

.post_template .event-date {
    font-size: 16px;
    flex-direction: row;
}

.post_template .event-date .dashicons {
    font-size: 30px;
}

.home-page .event-date {
    font-size: 16px;
    flex-direction: row;
}

.home-page .event-date .dashicons {
    font-size: 20px;
    color: #ffffff;
} 

.home-page .video-block figure {
    min-height: 100%;
    min-width: 100%;
}

.stats-seperator {
	display: none;
	width: 25px;
    height: 2px;
}

@media (max-width: 900px) {
  .post_template .wp-container-core-post-template-is-layout-1 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
	.testimonial-block-video {
		flex-basis: 100% !important;
	}
	.testimonial-block-video-column {
		flex-wrap: wrap !important;
	}
}
/* Ensure we never have more than 3 columns */
@media (min-width: 900px) {
  .category-list {
    grid-template-columns: repeat(3, 1fr);
  }

}

@media (min-width: 1200px) {
  .category-list {
    grid-template-columns: repeat(4, 1fr);
  }
}


@media (min-width: 1120px) {
  .category-list {
    grid-template-columns: repeat(4, 1fr);
  }
}
.image-gallery-page .wp-block-gallery.has-nested-images figure.wp-block-image {
flex-grow: 0;
}

