/* ===========================================
 * Custom CSS For NEBCA Website 2025
 * Enqueued in blockbase-child theme functions.php 
 * Note: block related styles are contained in theme.css
 * =========================================== */
 
.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;
}

/* archive-list shortcode is used in the document archive
	shortcode set in abca-plugin
--------------------------------------------- */
.archive-wrap{
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 30px;
	align-content: flex-start;
	flex-direction: row;
}
.archive-item{
	width: 25%;
	height: 40px;
	text-align: left;
	
}
.archive-item a:visited{
	color: firebrick;
}
.archive-item-current{
	width: 50%;
	height: 80px;
	text-align: center;
	font-size: x-large;
}

/* scroll to top link
--------------------------------------------- */
#scroll-to-top{
	z-index:99;
	background:#1D2022;
	position: fixed;
	bottom: 80px;
	right: -65px;
	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: 4px;
	font-size: 16px;
}

/* load material icons
--------------------------------------------- */
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/MaterialIcons-Regular.ttf) format('truetype');
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;  /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
}

/* password protected form
--------------------------------------------*/
.post-password-form {  }
.post-password-form div{ display: flex; width: 40%;}
.post-password-form .post-password-label { color: #000; margin-bottom: 5px;}
.post-password-form input.post-password-input {border: 1px solid #000; padding: 10px; background-color: #eee; font-size: medium; }
.post-password-form input.post-password-input+input{ margin-left: 10px;}
.post-password-form input.post-password-input:hover { border-width: 2px; }

/* gradient background for footer
--------------------------------------------*/
.site-footer{
	background-color: #abb8c3;  /* fallback if linear-gradient not supported */
	background-image: none;
    background-image: linear-gradient(#abb8c3 4%,  #f0f0f0 8%,  #f0f0f0 92%, #abb8c3 96%); 
}

/* adjustments for paypal payment blocks
 * the class is set in the group block that 
 * contains the paypal html
--------------------------------------------*/
.paypal-calendar-form form, .paypal-classified-form form{
	font-weight: 500;
	padding-left: 30px;
}
.paypal-classified-form form input[name="submit"]{
	margin-top: 20px;
}
.paypal-membership-addtocart div.price-container{
	display: none !important;
}

.archive-list-external {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
	justify-content: space-between;
	background-color: #eee;
    padding: 20px;
}

.archive-list-external .archive-list-external-item {
	width: auto;
    box-sizing: border-box;
    overflow: visible;
    text-align: center;
	font-weight: 500;
	padding-bottom: 10px;
}

.archive-list-external .archive-list-external-item img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
