/* outreach counselors page */
:root {
	--drk_green: #004949;
  --green: #009292;
  --drk_pink: #FF6DB6;
  --pink: #FFB6DB;
  --drk_purple: #490092;
  --drk_blue: #006DDB;
  --purple: #B66DFF;
  --blue: #6DB6FF;
  --lt_blue: #B6DBFF;
  --drk_red: #920000;
  --brown: #924900;
  --drk_orange: #DB6D00;
  --region_yellow: #FFFF6D;
}
section {
  padding: 0 4rem;
}
h3 {
  margin: 0;
}
section ul {
  list-style-position: inside;
}

.tab {
  margin: 0.25rem 0;
}

.services_cols {
	disaply: flex;
	flex-direction: column;
	flex-wrap: wrap;
	align-items: center;
	
}

.services_cols li {
	flex: 1 1 calc(50% - 20px);
	align-items: center;
}

#regionMap .tab .tab-info ul li:first-of-type {
  margin-top: 0;
}
#regionMap #closeTabs {
  position: absolute;
  right: 4rem;
  margin: 0;
  padding: 0;
}
#map {
  padding-top: 3rem;
}
#map .tab .tab-title {
  background: var(--lt_gray);
}
#map .tab .tab-title h3 {
  color: var(--black);
}
#map .tab .tab-title .arrow {
  border: solid var(--black);
  border-width: 0 0.4rem 0.4rem 0;
}
#map .tab .tab-title h3::before {
  position: relative;
  top: .1rem;
	content: '';
	display: inline-block;
	width: 1.5rem;
	height: 1.5rem;
  margin-right: .5rem;
}
#map .tab .tab-title h3.drk-green::before { 
  background: var(--drk_green);
}
#map .tab .tab-title h3.green::before { 
  background: var(--green);
}
#map .tab .tab-title h3.drk-pink::before { 
  background: var(--drk_pink);
}
#map .tab .tab-title h3.pink::before { 
  background: var(--pink);
}
#map .tab .tab-title h3.drk-purple::before { 
  background: var(--drk_purple);
}
#map .tab .tab-title h3.drk-blue::before { 
  background: var(--drk_blue);
}
#map .tab .tab-title h3.purple::before { 
  background: var(--purple);
}
#map .tab .tab-title h3.blue::before { 
  background: var(--blue);
}
#map .tab .tab-title h3.lt-blue::before { 
  background: var(--lt_blue);
}
#map .tab .tab-title h3.drk-red::before { 
  background: var(--drk_red);
}
#map .tab .tab-title h3.brown::before { 
  background: var(--brown);
}
#map .tab .tab-title h3.drk-orange::before { 
  background: var(--drk_orange);
}
#map .tab .tab-title h3.yellow::before { 
  background: var(--region_yellow);
}
#map .tab .tab-title h3.white::before { 
  background: var(--white);
}
#map .tab .tab-title h3.no-color::before { 
  background: transparent;
}
#map .tab .tab-info { 
  background: var(--off_white);
}
#map .tab .tab-info > .flex { 
  justify-content: space-between;
  align-items: unset;
  width: 100%;
}
#map .tab .tab-info .section-one { 
  display: flex;
  width: 60%;
}
#map .tab .tab-info .section-two { 
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  width: 40%;
}
#map .tab .tab-info .section-two p {
  margin: 0 0 1rem;
}
#map .tab .tab-info:not(.closed) {
  display: flex !important;
  justify-content: space-between;
}
#map .tab .tab-info .section-one .map-container { 
  width: 430px;
  height: auto;
}
#map .tab .tab-info img {
  width: 100%;
  height: auto;
}
#map .tab .tab-info .counselor {
  margin: 0 2.5rem;
}
#map .tab .tab-info .counselor p:not(:empty) {
  margin: .5rem 0;
}
#map .tab .tab-info .counselor .name {
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0 0 1rem;
}
#map .tab .tab-info .social {
  display: flex;
  align-items: center;
}
#map .tab .tab-info .social i {
  font-size: 1.4rem;
  margin-right: 3px;
  color: var(--tertiary);
}
#map .tab .tab-info .social a {
  font-size: 1.6rem;
  line-height: 1.6rem;
  font-family: Calibri, Arial, sans-serif;
  font-weight: normal;
  text-decoration: none;
}
#map .tab .tab-info .counselor .schedule-p {
  margin: 1.5rem 0 .25rem;
}
#map .tab .tab-info .counselor .schedule {
  list-style-type: disc;
  list-style-position: inside;
}
#map .tab .tab-info .counselor-img {
  width: 85px;
  height: 109px;
}
#map .tab .tab-info .section-two h4 {
  display: block;
  background: var(--tertiary);
  color: white;
  margin: 0;
  padding: 0.5rem 1rem;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}
#map .tab .tab-info ul {
  list-style: none;
}
#map .tab .tab-info ul.counties {
  background: var(--white);
  width: 100%;
  padding: 2rem 1rem;
  -moz-column-count: 3;
  -webkit-column-count: 3;
  column-count: 3;
}
#map .tab .tab-info ul li {
  margin-left: 1rem;
}
#map .tab .tab-info ul li span {
  font-size: 1.2rem;
  font-weight: normal;
  display: block;
}
#regionMap {
  margin: 5rem 0 0;
}
#regionMap .info {
  position: relative;
  display: flex;
  flex-direction: column;
}
#regionMap .info h2,
#regionMap .info p {
  position: absolute;
}
#regionMap .info h2 {
  margin-left: 25vw;
}
#regionMap .info p {
  top: 7%;
  max-width: 700px;
}
#kyMap {
  max-width: 880px;
  width: 100%;
  margin: 0 auto;
}

/*list items under first two pgphs*/
#counselors {
  text-align: center;
  padding: 20px;
}

#counselors p {
  text-align: left;
  margin-bottom: 10px;
  max-width: 85%;
  margin-left: auto;
  margin-right: auto;
}

.services_cols {
  display: grid;               
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  justify-items: left;
  list-style-type: disc;
  padding-left: 20px;
  margin: 0;
  max-width: 600px;
  margin-left: 25%;
  margin-right: auto;
  font-size: 1.4rem;
}

.services_cols li {
  font-size: 1.1em;
   margin: 1px 0; 
}

.services_cols li:first-of-type {
  margin-top: 0 !important;
}

/*on smaller screens */
@media (max-width: 768px) {
  .services_cols {
    grid-template-columns: 1fr;
    gap: 0;
  }
}


/*under the region map, outreach staff section*/
.people-info {
  margin-top: 20px;
  padding: 10px;
}

.people-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.person-card {
  flex: 1 1 18%;
  max-width: 200px;
  box-sizing: border-box;
  background-color: #fff;
  padding: 15px;
  text-align: center;
  display:flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.person-card img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
  align-self: center;
}

.person-card h4 {
  font-size: 1.1em;
  font-weight: bold;
  margin: 10px 0 5px;
}

.person-card .name {
  font-size: 1em;
  margin-bottom: -1rem;
  font-weight: bold;
  color: black !important;
}

.person-card .email,
.person-card .phone,
.person-card .cell {
  font-size: 0.9em; 
  color: #555;
  margin-bottom: 0.3rem;
}

.person-card .name,
.person-card .email,
.person-card .phone,
.person-card .cell {
  font-size: 1em; 
  color: #555;
  margin: 0; 
  padding: 0.2rem 0;
}

.person-card .email a {
  color: #0073e6;
  text-decoration: none;
}

.person-card .email a:hover {
  text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .person-card {
    flex: 1 1 22%; /* Adjust card width for medium screens */
  }
}

@media (max-width: 768px) {
  .person-card {
    flex: 1 1 45%; /* Adjust card width for smaller screens */
  }
}

@media (max-width: 480px) {
  .person-card {
    flex: 1 1 100%; /* Stack cards vertically on very small screens */
  }
}


/************************************

  OUTREACH COUNSELORS MOBILE STYLES

************************************/
@media screen and (max-width: 1600px) {
  #regionMap .info p {
    max-width: 555px;
  }
}
@media screen and (max-width: 1280px) {
  #regionMap .info p {
    max-width: 460px;
  }
  #map .tab .tab-info .section-one .map-container { 
    width: 300px;
  }
}
@media screen and (max-width: 980px) {
  #regionMap .info p {
    max-width: 350px;
  }
  #map .tab .tab-info ul li {
    margin-left: 0;
  }
}
@media screen and (max-width: 768px) {
	#regionMap .info h2,
  #regionMap .info p {
    position: unset;
  }
  #regionMap .info p {
    max-width: unset;
  }
}
@media screen and (max-width: 640px) {
  #map .tab .tab-info > .flex {
    flex-direction: column;
  }
  #map .tab .tab-info .section-one,
  #map .tab .tab-info .section-two { 
    width: 100%;
  }
  #map .tab .tab-info .section-one {
    margin-bottom: 2rem;
  }
  #map .tab .tab-info .counselor .schedule {
    margin: 0;
  }
  #kyMap {
    margin: 1rem auto 0;
  }
}
@media screen and (max-width: 480px) {
  section {
    padding: 0 2rem;
  }
  #regionMap #closeTabs {
    right: 2rem;
  }
  #map .tab .tab-info .section-one { 
    flex-direction: column;
    align-items: center;
  }
  #map .tab .tab-info .counselor {
    margin: 2rem 2rem 0;
  }
}