/* css of google map*/
#map {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	background: rgba(0, 0, 0, 0.3);
	display: flex;
    justify-content: center;
    align-items: start;
}
.map-view {
	height: 800px;
	width: 75%;
	margin: 0;
	padding: 0;
	background: rgba(0, 0, 0, 0.3);
	display: flex;
    justify-content: center;
    align-items: start;
}
.map-view.fixed {
	position: fixed;
	max-width: -webkit-fill-available;
}


.fs-ranking{
	display: flex;
	width: 24px;
	height: 24px;
	padding: 8px;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 4px;
	border-radius: 100px;
	background: var(--FS-red, #B2243C);
	color: var(--White, #FFF);
	text-align: center;
	font-size: 12px;
	font-weight: 700;
}

/* HTML marker styles */
.smp-pin {
	border-radius: 1000px;
	border: 1px solid var(--White, #FFF);
	background: var(--Secondary-Blue-700, #376DA4);
	color: #FFFFFF;
	font-size: 14px;
	/*padding: 8px;*/
	position: relative;
	display: flex;
	gap: 4px;
	align-items: center;
	/*height: 24px;*/
	padding: 0px 3px 0px 0px;
}

.smp-pin:has(.fa-piggy-bank) {
	padding: 0px 0px 0px 0px;
}
.smp-pin.highlight, .smp-pin.click, .nonsmp-pin.highlight, .nonsmp-pin.click{
	color: #ffffff;
	background: var(--fs-red);
}
.yNHHyP-marker-view:has(.click), .yNHHyP-marker-view:has(.highlight){
	z-index: 100 !important;
}
.smp-pin.highlight .school-name, .smp-pin.click .school-name, .nonsmp-pin.highlight .school-name, .nonsmp-pin.click .school-name{
	display: flex;
}
.smp-pin .school-name, .nonsmp-pin .school-name{
	display: none;
	color: var(--White, #FFF);
	font-size:12px;
}
.smp-pin.highlight .school-type, .smp-pin.click .school-type, .nonsmp-pin.highlight .school-type, .nonsmp-pin.click .school-type{
	display: none;
}
.smp-pin .school-type{
	display: flex;
	color: var(--White, #FFF);
	font-size: 12px;
}
.smp-pin.highlight .school-type, .smp-pin.click .school-type{
	color: #ffffff;
	background: var(--fs-red);
}

.nonsmp-pin {
	background-color: #ffffff;
	border-radius: 50%;
	color: #FFFFFF;
	font-size: 14px;
	/*padding: 10px;*/
	position: relative;
}
.nonsmp-pin.highlight, .nonsmp-pin.click {
	border-radius: 1000px;
	border: 1px solid var(--White, #FFF);
	color: #ffffff;
	background: var(--fs-red);
	font-size: 14px;
	/*padding: 8px;*/
	position: relative;
	display: flex;
	gap: 4px;
	align-items: center;
	height: 20px;
	padding: 0px 3px 0px 3px;
}
.nonsmp-pin .school-dot{
	display: flex;
}
.nonsmp-pin.highlight .school-dot, .nonsmp-pin.click .school-dot{
	display: none;
}

.smp-pin .map-icon{
	display: flex;
	width: 18px;
	height: 18px;
	padding: 4px;
	justify-content: center;
	align-items: center;
	border-radius: 24px;
	background: var(--White, #FFF);
}

.smp-pin svg, .nonsmp-pin svg, .smp-pin i, .nonsmp-pin i {
	font-size: 12px;
	font-weight: 900;
	font-size: 12px;
	color: var(--FS-red, #B2243C);
}

.smp-pin svg.fa-piggy-bank, .smp-pin i.fa-piggy-bank{
	color: var(--Secondary-Color, #00BDB5);
}

.smp-pin.highlight, .smp-pin.click, .nonsmp-pin.highlight, .nonsmp-pin.click{
	/*
	background: var(--FS-red, #B2243C);
	color: var(--White, #FFF);
	*/
}
.smp-pin.highlight::after,.smp-pin.click::after,  .nonsmp-pin.highlight::after, .nonsmp-pin.click::after {
	/*border-top:16px solid var(--FS-red, #B2243C);*/
}
.smp-pin.highlight .fs-ranking, .smp-pin.click .fs-ranking, .nonsmp-pin.highlight .fs-ranking, .nonsmp-pin.click .fs-ranking{
	color: var(--FS-red, #B2243C);
	background: var(--White, #FFF);
}

.info-content{
	display: flex;
	flex-direction: column;
}
.info-content .school{
	flex-direction: column !important;
}

div:has(> .info-content) {
	overflow: hidden !important;
}
.gm-style-iw:has(.info-content){
	padding: 0px !important;
}
.info-content .school-name{
	font-size: 18px;
}
.info-content .medal{
	display: flex;
	flex-direction: column;
	gap: 8px;
	background: transparent;
	left: 16px;
	padding: 1rem 1rem 0rem 0rem;
}
.info-content .medal .is_smp{
	font-size: 14px;
	display: flex;
	align-self: start;
	gap: 4px;
	border-radius: 32px;
	padding: 6px;
	background: var(--FS-red, #B2243C);
	align-items: center;

	/* Drop shadow/Small */
	box-shadow: 0px 2px 6px 0px rgba(16, 24, 40, 0.06);
	color: #ffffff;
}
.info-content .medal .faid{
	font-size: 14px;
	display: flex;
	align-self: start;
	gap: 4px;
	border-radius: 32px;
	padding: 6px;
	background: var(--Secondary-Color, #00BDB5);
	align-items: center;

	/* Drop shadow/Small */
	box-shadow: 0px 2px 6px 0px rgba(16, 24, 40, 0.06);
	color: #ffffff;
}
.info-content .medal i{
	font-size: 12px;
}
.info-content .school-meta-basic i{
	width: 16px;
}

.map-title{
	position: absolute;
	margin-top: 20px;
	/*left: 45%;
	top: 12%;
	*/
	display: flex;
	padding: 12px 16px;
	justify-content: center;
	align-items: center;
	color: var(--White, #FFF);
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.70);
	/* Drop shadow/Large */
	box-shadow: 0px 8px 24px -3px rgba(16, 24, 40, 0.05), 0px 8px 24px -3px rgba(16, 24, 40, 0.10);
	z-index: 100;
}

.schools-list .school-img.map {
	width: auto;
	height: 200px;
	flex-shrink: 0;
	border-radius: 8px 8px 0 0;
}
.schools-list .school.details {
	width: 350px;
}

.top-list .dropdown-item, .top-list .top-list-title{
	text-overflow: ellipsis;
	overflow: hidden;
}


.popover.map-notice {
	/*width: 484px !important;*/
	--bs-popover-max-width: 400px;
}
.map-notice .popover-header{
	border-bottom: unset !important;
	background-color: unset !important;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	padding-top: 16px;
}
.map-notice .popover-header svg, .map-notice .popover-header i{
	color: var(--grey-04);
	cursor: pointer;
}
.map-notice .popover-body{
	display: flex;
	flex-direction: column;
	gap:24px;
 }

.school-dot{
	display: flex;
	width: 14px;
	height: 14px;
	border-radius: 100px;
	border: 1px solid var(--White, #FFF);
	background: var(--Secondary-Blue-700, #376DA4);

	/* Drop shadow/Small */
	box-shadow: 0px 2px 6px 0px rgba(16, 24, 40, 0.06);
}

.ctlbtns{
	position: absolute;
    right: 5px;
    top: 5px;
	z-index: 200;
}
.ctlbtns span{
	width: 32px;
	height: 32px;
	padding: 4px;
	border-radius: 1000px;
	border: 1px solid var(--Grey-03, #E9E9E9);
	background: var(--White, #FFF);
	display: flex;
    justify-content: center;
	align-items: center;

	/* Drop shadow/Small */
	box-shadow: 0px 2px 6px 0px rgba(16, 24, 40, 0.06);
}
.ctlbtns span svg, .ctlbtns span i{
	font-size: 16px;
	cursor: pointer;
}
.map-nofound{
	position: fixed;
	margin-top: 100px;
	/*left: 35%;
	top: 20%;*/
	border-radius: 16px;
	background: var(--Generic-BG, #F8F8F8);
	display: flex;
	width: 50%;
	padding: 24px;
	flex-direction: column;
	justify-content: start;
	gap: 20px;
	z-index: 200;
}
.map-nofound .desc{
	font-size: 22px;
}
.list-nofound {
	position: relative;
	border-radius: 16px;
	background: var(--Generic-BG, #F8F8F8);
	padding: 24px;
	flex-direction: column;
	justify-content: start;
	gap: 20px;
}
.map-nofound .links a, .list-nofound .links a{
	border-radius: 100px;
	border: 1px solid var(--Grey-03, #E9E9E9);
	background: var(--White, #FFF);

	/* Drop shadow/Small */
	box-shadow: 0px 2px 6px 0px rgba(16, 24, 40, 0.06);
	padding: 8px 12px;
	align-items: center;
}
.mobile-entrance {
	margin-left: 10px;
	border-radius: 8px; 
	height: 48px;
	width: 60%;
	border: 1px solid var(--Grey-03, #E9E9E9);

	/* Drop shadow/Medium */
	box-shadow: 0px 6px 15px -2px rgba(16, 24, 40, 0.08), 0px 6px 15px -2px rgba(16, 24, 40, 0.08);
}
.mobile-entrance.map {
	background:url(/img/browse/browse-map.png) lightgray 50% / cover no-repeat; 
}
.mobile-entrance.list {
	background: var(--White, #FFF); 
}
.pc-entrance {
	border-radius: 8px; 
	height: 48px;
	width: 100%;
	border: 1px solid var(--Grey-03, #E9E9E9);
	/* Drop shadow/Medium */
	box-shadow: 0px 6px 15px -2px rgba(16, 24, 40, 0.08), 0px 6px 15px -2px rgba(16, 24, 40, 0.08);
}
.pc-entrance.map{
	background:url(/img/browse/browse-map.png) lightgray 50% / cover no-repeat;
}
.pc-entrance.list{
	background: var(--White, #FFF);
}
/* end of css */

/* smaller style on city/state page */
.schools-list.city .school-img.map {
	height: 150px;
}
.schools-list.city .school.details {
	width: 300px;
}
.schools-list.city .school-section {
	padding: 1.5rem 1rem 1rem;
}
.schools-list.city .school-meta-basic {
	padding: 0.5rem 1rem;
}
.schools-list.city .school-rating {
	padding: 0.5rem 1rem;
}
/* end of smaller style on city/state page */

@media (max-width: 767.98px) {	
	/* google map */
	.map-view {
		height: 600px;
		width: 100% !important;
	}
	.map-view.fixed {
		position: fixed !important;
		max-width: -webkit-fill-available;
	}
	.schools-list .school-img.map {
		height: 160px !important;
	}
	.map-nofound{
		width: 80% !important;
	}
	.map-nofound .links a, .list-nofound .links a{
		font-size: 14px !important;
	}
	.map-nofound .desc{
		font-size: 16px !important;
	}
	.schools-list .school.details {
		width: 280px !important;
	}
	.info-content .school-section{
		padding-top: 0rem !important;
		padding-bottom: 0.75rem !important;
	}
	.info-content .school-meta-basic{
		padding-top: 0.75rem !important;
		padding-bottom: 0.75rem !important;
	}
	.info-content .school-meta .school-rating{
		padding-top: 0.75rem !important;
		padding-bottom: 0rem !important;
	}
	.schools-list .school-text {
		border-radius: 0 0 16px 16px;
		/*padding: 16px 0 !important; this screw up the regular school list on mobile*/
		gap: 12px !important;
	}
	/* end of google map*/
}