/* Intro Overlay Styles */
.intro-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #ffffff;
	z-index: 10000;
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 1;
	transition: opacity 0.8s ease-out;
}

.intro-overlay.fade-out {
	opacity: 0;
	pointer-events: none;
}

.intro-svg-container {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.intro-svg {
	width: 100%;
	max-width: 800px;
	height: auto;
	max-height: 100vh;
}

/* Hide main content initially when intro overlay is present */
body.intro-active {
	overflow: hidden;
	height: 100vh;
}

body.intro-active .content,
body.intro-active header.navbar {
	opacity: 0;
	transition: opacity 0.8s ease-in 0.2s;
}

body.intro-complete {
	overflow: auto;
}

body.intro-complete .content,
body.intro-complete header.navbar {
	opacity: 1;
}

/* Select Tooltip Speech Bubble */
.select-tooltip {
	position: fixed;
	background-color: var(--accent-blue);
	color: white;
	padding: 10px 14px;
	border-radius: 12px;
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
	z-index: 10001;
	opacity: 0;
	transform: translateY(-5px);
	transition: opacity 0.3s ease, transform 0.3s ease;
	pointer-events: none;
	box-shadow: 0 4px 12px rgba(46, 63, 110, 0.2);
}

.select-tooltip.show {
	opacity: 1;
	transform: translateY(0) translateX(0);
}

.select-tooltip::after {
	content: '';
	position: absolute;
	bottom: -8px;
	left: var(--arrow-left, 20px);
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-top: 8px solid var(--accent-blue);
	transform: translateX(-50%);
}

.select-tooltip.arrow-up::after {
	bottom: auto;
	top: -8px;
	border-top: none;
	border-bottom: 8px solid var(--accent-blue);
}

#chat{
	width: 85%;
	margin:0 auto;
	padding-top: 40px;
}
#chat p{
	position:relative;
	padding: 20px;
	background: #c3cbe6;
	border: 1px solid #2e3f6e;
	border-radius: 6px;
	width: 70%;
	margin-left:60px;
	clear:both;
}
#chat p .avatar{
	position:absolute;
	height:40px;
	width: 40px;
	left:-60px;
	bottom:0;
	background: #2e3f6e;
	border:1px solid #2e3f6e;
	border-radius: 30px;
	text-align:center;
	line-height: 40px;
	color:white;
	font-weight: bold;
	font-style: normal;
  	font-size: 20px;
}
#chat p.user{
	background: white;
	border-color:gray;
	float:right;
	margin-left:0;
	margin-right: 60px;
}
#chat p.user .avatar{
	left:initial;
	right:-60px;
	background-color:#4db7fe;
	border-color:#4db7fe;
}
#chat select,
#chat input{
	background: white;
	font-weight: bold;
}
#chat_input{
	background: #2e3f6e;
 	padding: 12px 30px;
  	text-align: right;
 	display: flex;
}
#chat_input p{
	background: white;
	padding: 20px;
	border-radius: 12px;
	text-align: left;
	margin: 0 12px 0 0;
}
#chat_input a{
	background:#4db7fe;
	height:50px;
}
main > h2{
	margin: 50px 0 30px;
}
label.filter{
	display: inline-block;
  	margin: 0 30px 10px 0;
  	font-size: 14px;
  	width:100%;
}
#show_filters{
	display: inline-block;
	color: #2e3f6e;
	text-decoration: none;
	border-bottom: 1px dashed #2e3f6e;
	font-size: 14px;
}
#more_filters{
	display: none;
}
.quicklog,
.quickclose,
.quickclose:hover{
	color: #638fff;
}
.quicklog:hover,
.quicklog_form .save{
	background:#638fff;
	color:white;
}
.quicklog_form .save:hover{
	background: white;
	color: #638fff;
}
[for="log_date"]{
	color: #c3d4ff;
}
[for="entry"]{
	color:white;
}
[name="entry"]{
	font-weight: bold;
	background:  #638fff !important;
}
/* Old login input styling - overridden by enhanced login box styles */
/*#search_box.closed h3,
#search_box.closed ul,
#search_box.closed #run_filter{
	display: none;
}*/
#search_box{
	display: flex;
	line-height: 50px;
}
#search_box > *{
	flex-grow: 1;
}
#search_box .no_grow{
	flex-grow: 0;
	width: 50px;
}
.prime_search{
	display: block;
	background: white;
	line-height: 50px;
	text-indent: 10px;
}
.prime_search.err{
	border-bottom: 2px solid #d91f1f;
}
.prime_search i{
	display: none;
}
#run_filter{
	width: 50px;
	height:50px;
	box-sizing: border-box;
	text-align: center;
	padding: 0;
}
.desc{
	margin: 0;
	font-style: italic;
	line-height: 24px;
	text-indent: 10px;
	font-size: 12px;
}
.listing-item .details{
	position:relative;
}
.listing-item .details .icon_footer{
	position:absolute;
	bottom:0;
	line-height: 34px;
	height:34px;
}
.icon_footer > span{
	display: inline-block;
	margin-right: 10px;
}
.icon_footer i{display:none;}

.icon_footer.boys i.boys,
.icon_footer.mixed i.boys{
	display:inline-block;
	color:#2e4fac;
}
.icon_footer.girls i.girls,
.icon_footer.mixed i.girls{
	display:inline-block;
	color:#b06673;
}

.icon_footer.overnight_camp i.overnight_camp{
	display:inline-block;
	color:#497d49;
}

.icon_footer.day_camp i.day_camp{
	display:inline-block;
	color:#cece2c;
}
.icon_footer.payment i.payment{
	display:inline-block;
	color:#497d49;
}
.icon_footer.volunteer i.volunteer{
	display:inline-block;
	color:red;
}
.icon_footer.staff_program i.staff_program{
	display:inline-block;
	color:gray;
}
@media(max-width: 1000px){
	.icon_footer .label{
		display: none;
	}

}
@media(max-width: 700px){
	.prime_search > span,
	.listing-item .image{
		display:none;
	}
	label.filter{
		margin-right:10px;
	}
}