/* =================================================
 * Custom front end styles For ABCA Website 2026
 * Enqueued in theme functions.php 
 * Note: These styles will only effect the front end
 * e.g. shortcodes, html blocks, js related
 * =========================================== */
 
 * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none;
}

/* archive-list-external shortcode is used in the 
	document archive page 
----------------------------------------------------- */
.archive-list-external {
    display: flex;
    flex-wrap: wrap;
	align-content: flex-start;
    gap: 5px;
    padding: 10px;
	height: auto;
}
.archive-list-external .archive-list-external-item {
	width: 15%;
    overflow: visible;
    text-align: center;
}
.archive-list-external .archive-list-external-item img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}	

/* category-posts plug-in
 used in 4 widgets: sidebar, hof people, hof dogs, hvb
--------------------------------------------- */
.cat-post-widget ul{
	padding-left: 0;
	list-style-type: none;
}
.cat-post-widget li{
	padding: 3px 0;
	margin-left; 0.5em;
}
.cat-post-date{
	font-size: smaller;
	margin-left: 10px;
}
	
/* scroll to top button
--------------------------------------------- */
#scroll-to-top{
	position: fixed;
	z-index:99;
	bottom: 80px;
	right: -65px;
	box-sizing: border-box;
	background:#1D2022;
	padding:8px 4px;
	cursor: pointer;
	color: #FFF;
	font-size: 16px;
	line-height: 1;
	border-radius:6px 0 0 6px;
	width: 64px;
	text-align: center;
	transition:all 0.3s ease-in-out;
	-moz-transition:all 0.3s ease-in-out;
	-webkit-transition:all 0.3s ease-in-out;
}
#scroll-to-top span{
	margin-right: 8px;
	font-size: 16px;
}
 		 

/* increase offset for underline on a elements
---------------------------------------------*/
a, .wp-block-navigation a {
  text-underline-offset: 0.15em;
}


/* List Category Posts Shortcode
 * For list of news posts on home page
--------------------------------------------- */
.lcp_catlist li{
	list-style-type: none;	
	padding-left: 5px;
	& p.lcp-title{
		font-size: 18px;
		padding: 4px 0 0 0;
		line-height: 1.2;
		margin: 0;
	}
	& p.lcp-date{
		font-size: 14px;
		padding: 0 0 4px 12px;
		margin: 0;
	}		
}

/* post-list shortcode
--------------------------------------------- */
.post-list.news-list{
	& div{
		padding: 0 0 8px 6px;
		line-height:1.4;
		list-style-type: none;
	}
	& time{ 
		display: block;
		font-size: 14px; 
		padding-left: 12px;
	}
	& time::before{ content: "Posted:\00a0\00a0";}
}
.post-list.hvb-list{
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	gap: 5px;
	padding: 0px;
	height: auto;
	& div{ 
		width: 30%;
		text-align: center;
	}
}

/* mobile menu - mmenu-light styles
--------------------------------------------- */
#mm-main-menu {
	color: #eee;
	background: #444;
	--mm-spn-item-height: 40px;
	& ul {top:60px;}
	&::before, &::after { opacity: 0.8;	margin-top: 16px;}
}

/* This is here for future use 
--------------------------------------------- */
.tooltip {
  position: relative;
  display: inline-block;
  cursor: help;
  border-bottom: 1px dotted #4267cf;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 200px;
  background-color: #555;
  color: #fff;
  text-align: left;
  padding: 10px;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  left: 50%;
  margin-left: -100px;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 16px;
  line-height: 1.5;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.bullet-blue-pulse::before { 
    animation: blue-pulse 2s 4;
    border: 5px solid #33c;
    left: -10px;
    top: 0px;
    content: "";
    border-radius: 5px;
    display: inline-block;
	position: relative;
}
@keyframes blue-pulse {
    0% {box-shadow: 0 0 0 0 rgba(222,0,222,.5)}
    100% {box-shadow: 0 0 0 10px rgba(0,0,0,0)}
}

