@charset "utf-8";
/* CSS Document */


.fundraiserButtons, .teamButtons {
	display: flex; 
	flex-wrap: wrap; 
	column-gap: 16px;
	justify-content: center;
	padding: 6px 4px;
}

#fundraiserFilters, #teamFilters {
	display: flex;
	font-size: 0.8em;
}
#fundraiserSort, #teamSort {
	/*margin-left: 1em;*/
}
#fundraiserSearch, #teamSearch {
	margin-left: auto;
	margin-right: 1em;
}

#searchFundraisers, #searchTeams {
	border: 1px solid #999999;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -khtml-border-radius: 10px;
    border-radius: 10px;	
	color: #999;
	padding: 2px 9px;
	width: 130px;
	padding: 8px; 
	height: 30px;	
}

#addFundButton {
  padding: 6px 12px;
  color: #fff;
  cursor: pointer;
  border-radius: 6px; 
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#addFundButton i {
  font-size: 1.2em;
}

#fundraiserBoxes, #teamBoxes {
	display: flex;
	flex-wrap: wrap;
	gap: 25px;
	margin-top: 16px;
}
.fundraiserBox, .teamBox {
	flex: 0 0 48.7%;
	height: 250px;
	text-align: center;
	border: 1px solid #c5c5c5;
}


.fundraiserNameBox, .teamNameBox {
  	padding: 16px 16px 0px 16px;
	display: flex;
	text-align: left;
}
.fundraiserLogo, .teamLogo {
	width: 90px;
		
}
.fundraiserNameArea  {
	flex: 1;
	display: flex;
	align-items: center;
	max-height: 90px;
	line-height: 1.3em;
}

.fundraiserName  {
	font-weight: bold;
  	font-size: 1.2em;
  	overflow: hidden;
	color: #3366CC;
}

.teamName {
	flex: 1;
	font-weight: bold;
  	font-size: 1.2em;
  	overflow: hidden;
	color: #CC9900;
	max-height: 90px;		
}

.fundraiserThermBox, .teamThermBox {
	padding: 0px 16px 16px 16px;
	max-width: 800px;
	margin: 0 auto;
	margin-top: 3px;
}
.fundraiserAmount, .teamAmount {
	font-weight: bold;
    font-size: 1.3em;
	text-align: center;
}
.fundraiserAmountEff, .teamAmountEff {
	font-size: 0.7em;	
}
.fundraiserRaised, .teamRaised {
	text-align: center;
	line-height: 1.2em;
}
.fundraiserViewPage, .teamViewPage {
	text-align: center;
}

/* fundraiser thermometer */
.fundMeter { 
	box-sizing: border-box;
	height: 20px;  /* Can be anything */
	position: relative;
	margin: 6px 20px 4px 20px; /* Just for demo spacing */
	background: #555;
	-moz-border-radius: 15px;
	-webkit-border-radius: 15px;
	border-radius: 15px;
	padding: 5px;
	-webkit-box-shadow: inset 0 -1px 1px rgba(255,255,255,0.3);
	-moz-box-shadow   : inset 0 -1px 1px rgba(255,255,255,0.3);
	box-shadow        : inset 0 -1px 1px rgba(255,255,255,0.3);
}
.fundMeter > span {
	display: block;
	height: 100%;
	   -webkit-border-top-right-radius: 8px;
	-webkit-border-bottom-right-radius: 8px;
		   -moz-border-radius-topright: 8px;
		-moz-border-radius-bottomright: 8px;
			   border-top-right-radius: 8px;
			border-bottom-right-radius: 8px;
		-webkit-border-top-left-radius: 20px;
	 -webkit-border-bottom-left-radius: 20px;
			-moz-border-radius-topleft: 20px;
		 -moz-border-radius-bottomleft: 20px;
				border-top-left-radius: 20px;
			 border-bottom-left-radius: 20px;
	background-color: rgb(43,194,83);
	background-image: -webkit-gradient(
	  linear,
	  left bottom,
	  left top,
	  color-stop(0, rgb(43,194,83)),
	  color-stop(1, rgb(84,240,84))
	 );
	background-image: -moz-linear-gradient(
	  center bottom,
	  rgb(43,194,83) 37%,
	  rgb(84,240,84) 69%
	 );
	-webkit-box-shadow: 
	  inset 0 2px 9px  rgba(255,255,255,0.3),
	  inset 0 -2px 6px rgba(0,0,0,0.4);
	-moz-box-shadow: 
	  inset 0 2px 9px  rgba(255,255,255,0.3),
	  inset 0 -2px 6px rgba(0,0,0,0.4);
	box-shadow: 
	  inset 0 2px 9px  rgba(255,255,255,0.3),
	  inset 0 -2px 6px rgba(0,0,0,0.4);
	position: relative;
	overflow: hidden;
}
.fundMeter > span:after, .animate > span > span {
	content: "";
	position: absolute;
	top: 0; left: 0; bottom: 0; right: 0;
	background-image: 
	   -webkit-gradient(linear, 0 0, 100% 100%, 
		  color-stop(.25, rgba(255, 255, 255, .2)), 
		  color-stop(.25, transparent), color-stop(.5, transparent), 
		  color-stop(.5, rgba(255, 255, 255, .2)), 
		  color-stop(.75, rgba(255, 255, 255, .2)), 
		  color-stop(.75, transparent), to(transparent)
	   );
	background-image: 
		-moz-linear-gradient(
		  -45deg, 
		  rgba(255, 255, 255, .2) 25%, 
		  transparent 25%, 
		  transparent 50%, 
		  rgba(255, 255, 255, .2) 50%, 
		  rgba(255, 255, 255, .2) 75%, 
		  transparent 75%, 
		  transparent
	   );
	z-index: 1;
	overflow: hidden;
}
/* fundraiser thermometer */

#showAllFundraisers, #showAllTeams {
	margin-top: 6px;
	margin-bottom: 12px;
	max-width: 240px;
  	text-align: center;	
}
.loadmore {
	text-align: center;
	margin-top: 20px;
}
.ui-widget input {
	font: inherit;
}

/* donors per fundraiser */
#f_donorBoxes, #t_donorBoxes {
	display: flex;
	flex-wrap: wrap;
	gap: 25px;
	margin-top: 16px;
}
.f_donorBox, .t_donorBox {
	flex: 0 0 31%;
	height: 138px;
	text-align: center;
	border: 1px solid #c5c5c5;
}
.f_donorNameAmount, .t_donorNameAmount {
	background: #ececec;
	box-shadow: inset 0 0 100px 100px rgba(255, 255, 255, 0.75);
  	padding: 6px 6px 0px 6px;
}
.f_donorName, .t_donorName {
	font-weight: bold;
  	font-size: 1.2em;
  	overflow: hidden;
	line-height: 1.3em;	
}
.f_donorAmount, .t_donorAmount {
	font-weight: bold;
    font-size: 1.0em;
}
.f_donorEffective {
	font-size: 0.8em;
	font-weight: bold;
	text-align: right;	
}
.f_donorMessageBox, .t_donorMessageBox {
	padding: 6px 12px;
	font-size: 0.9em;	
}

.detailTitle {
    display: flex;
    align-items: center;
    position: relative;
    font-size: 1.2em;
    font-weight: bold;
    white-space: nowrap; /* Prevent text wrapping */
    gap: 10px; /* Adjust spacing between text and lines */
	color: #2b1392;
	margin-top: 16px;
}

.detailTitle::before,
.detailTitle::after {
    content: "";
    height: 4px;
    background-color: #2b1392; /* Change color if needed */
    flex-grow: 1;
}

.detailTitle::before {
    flex-grow: 0.05; /* Shorter line before the text */
    width: 1px; /* Fixed width for the left part */
}

.detailTitle::after {
    flex-grow: 1; /* Longer line extending to the right */
}


@media screen and (max-width: 1140px) { /* only do this if the screen size becomes less than 1140px */
	.fundraiserBox, .teamBox {
		flex: 0 0 48%;
	}    
}

@media screen and (max-width: 955px) {
	.f_donorBox, .t_donorBox {
		flex: 0 0 48%;
	}	
}

@media screen and (max-width: 701px) { 
	.fundraiserBox, .teamBox {
		flex: 0 0 100%;
	}
    #fundraiserSearch, #teamSearch {
        margin-right: 0em;
    }
    #addFundButton {
      padding: 3px 6px;
    }
	.f_donorBox, .t_donorBox {
		flex: 0 0 100%;
	}
    .fundraiserName  {
        font-size: 1.0em;       
    }	
	.pMessage {
		font-size: 0.8em;
		line-height: 16px;
		overflow: hidden;
	}	
}

@media screen and (max-width: 481px) { 
  .fundraiserThermBox, .teamThermBox {
    font-size: 0.9em;
  }
}

@media screen and (max-width: 380px) { 
	.fundraiserBox, .teamBox {
		height: 280px;
	}
	.f_donorBox, .t_donorBox {
		height: 158px;
	}

}
