/*
Theme Name: WordPress Child Theme for inDorset
Theme URI: https://seedo.media
Author: SEEDO Media Ltd
Author URI: https://seedo.media/
Description: Child Theme for WordPress.
Version: 1.0
Text Domain: blocksy
Template: blocksy
*/


/* Add your CSS customizations below this line */

/* hide recaptcha */
.grecaptcha-badge {
	display: none;
}

/* Basic gallery styling */
.gallery {
  display: grid;
  grid-gap: 20px;
  margin-bottom: 30px;
  width: 100%;
}

/* Remove default list styles and margins */
.gallery-item {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Style for gallery images */
.gallery-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}

.gallery-item a {
  cursor: pointer;
}

/* Caption styling if needed */
.gallery-caption {
  margin-top: 5px;
  font-size: 14px;
  text-align: center;
}

/* Column-specific styles using the WordPress gallery classes */
.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .gallery-columns-5 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-columns-4,
  .gallery-columns-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .gallery-columns-3,
  .gallery-columns-4,
  .gallery-columns-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 380px) {
  .gallery {
    grid-template-columns: 1fr !important;
  }
}

/* Event adjustments */
.eventinfo,
.eventdetails,
.eventlocation,
.eventbooking,
.addevent,
.eventads {
	width: 100%;
	display: block;
	margin-bottom: 20px;
}
.eventinfo p {
	font-size: 18px;
	margin: 0px;
	margin-bottom: 1px;
}
.eventinfo p strong {
	font-weight: 700;
	color: #333333;
}
.eventinfo p.pastevent {
	color: #ffffff;
	font-size: 16px;
	font-weight: bold;
	background-color: #DC143C;
	text-align: center;
	padding: 10px;
	width: 100%;
	display: block;
	margin-bottom: 10px
}
.eventinfo p.pastevent a {
	color: #FFFF00;
}
/* Adverts */
.cc-ad {
 display: block;
 margin-bottom: 20px;
 margin-left: auto;
 margin-right: auto;
 margin-top: 20px;
 padding: 20px;
 text-align: center;
}

#idads {
	text-align: center;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	margin-bottom: 50px;
}
p.adinfo {
	text-align: center;
	color: #9e9e9e;
	font-size: 10px;
	text-transform:capitalize;
	margin: 5px;
}
.ad-info {
   display: block;
   color: #9e9e9e;
   float: left;
   clear: both;
   width: 100%;
   font-size: 11px;
   text-transform: capitalize;
}
.ad-info-top {
 color: #9e9e9e;
 width: 100%;
   font-size: 11px;
   text-transform: capitalize;
 margin-top: -20px;
 margin-bottom: 0;
 padding-bottom: 0;
 text-align: right;
 padding-top: 0;
}
.ad-info-side {
 color: #9e9e9e;
   font-size: 11px;
   text-transform: capitalize;
 padding: 10px 18px 2px;
 text-align: right;
 margin: 0;
}
.ad-info-alt {
   color: #9e9e9e;
   text-transform: capitalize;
   display: block;
   float: right;
   -moz-transform: rotate(270deg);  /* FF3.5+ */
   -o-transform: rotate(270deg);  /* Opera 10.5 */
   -webkit-transform: rotate(-90deg);  /* Saf3.1+, Chrome */
   -moz-transform-origin: 100% 100%;
   -o-transform-origin: 100% 100%;
   -webkit-transform-origin: 100% 100%;
}
/* End Adverts */

/* End */