/* =======================================
The juicy stuff
======================================= */

.filter-section {
  padding: 30px 0px;
  transition: 1.3s;
}

.controls ul {
  text-align: left; padding-left:25px; cursor: pointer;
}

.controls ul li {
  color: #333;
  opacity: .7;
  background: transparent;
  display: inline;
  padding: 12px 16px;
  margin: 0 5px;
  cursor: pointer;
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
  -webkit-tap-highlight-color: transparent;
  transform: scale(0);
}

.controls ul li:hover{transform: scale(1.07);}
.controls ul li.active {
/*   text-decoration: underline solid white 2px; */
  text-underline-offset: 0.5rem;
  opacity: 1; 
}

.clearfix:after {
  display: table;
  content: " ";
  clear: both;
}

.item-grid {
  
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12px;
  justify-content: flex-start; align-items: stretch;
/*   margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  gap: 3rem; */
}

.item-grid .item {
  display: none;
  overflow: hidden;
}

/* Media Queries */
@media (max-width: 768px) {
  .item-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media only screen and (min-width: 768.1px) and (max-width: 991px) {
  .item-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


.filter-section .controls {background: #f8f9fb; padding-top: 2.11rem;
  padding-bottom: 1rem;}
.filter-section .controls  li{background: #e3e6ec; margin: .28rem .56rem .28rem 0; font-size: 1rem;
  padding: .91rem 1.36rem; border-radius: 50px;
  color: #222326;}

.filter-section .controls .active{background: #93282c;
  color: #fff;}



.card-item {
	display: flex;
	width: 100%;
	padding: 0.8em;
}

/* ===== == = === 37.5em (600px) === = == ===== */
@media all and (min-width: 37.5em) {
	.card-item {
			width: calc(100% / 12 * 6 );
	}
}
/* ===== == = === 56.25em (900px) === = == ===== */
@media all and (min-width: 56.25em) {
	.card-item {
			width: calc(100% / 12 * 3 );
	}
}

.card-body {
  
  border-radius: 32px;
  margin-bottom: 24px;
  padding: 30px 30px 40px;
  position: relative;
  text-align: center;
/*   transition: .2s ease-in-out; */
  width: 100%;
  box-shadow: 0 16px 32px rgba(34,35,38,.05),0 8px 16px rgba(34,35,38,.05);
  display: flex;
  flex-direction: column;
  justify-content: space-around;background-color: #fff;
   transition: .2s ease-in-out; 
/* 	display: flex;
	flex-direction: column;
	justify-content: space-around;
	width: 100%;
	padding: 0;
	background-color: #F8FFF8;
	border-radius: 3px;
	box-shadow: 0 0 5px rgba(0,0,0,0.5); */
}

.card-body p {
	flex: 1 0 auto;
	margin: 0;
}


.card-body:hover{transform: scale(1.02);
box-shadow: 0 32px 64px rgba(34,35,38,.05),0 16px 32px rgba(34,35,38,.05);
}

.card-img {
	width: 90%;
	border-radius: 50%; 
}

/* .card-img:hover {
	opacity: 0.8;
}
 */
.card-title,
.card-text {
	padding: .5em 1em 0;
}

.card-title  {font-family: "Noto Serif",serif !important;
  margin-bottom: 0px !important;
  padding-bottom: 0px !important;
  font-size: 22px !important;}

.card-text {font-size: .89rem; line-height: 1.5em !important; padding-top:10px; color: #222326;}



.cards {
	display: flex;
	flex-flow: row wrap; padding:0 24px; margin-top:15px;
}
.maincardlinks:hover {text-decoration: none;}

.hoverfilters{transform: scale(1) !important;}

.hoverfilters:hover{transform: scale(1.07) !important;}

/* .filter-section ul li:hover{
transform: scale(1.07) !important;
    transition: all .2s ease-in-out !important;
    -webkit-transform: scale(1.07) !important;
    display: inline-block !important;
} */


.icon--small.icon--disc {
  width: 2.2rem !important;
  height: 2.2rem !important;
}

.icon--white-accent.icon--fill {
  background: #fff;
  color: #93282c;
}
.team-card__icon {
  box-shadow: 0 8px 16px rgba(34,35,38,.05),0 4px 8px rgba(34,35,38,.05);
}
.icon--small .icon__glyph {
/*   height: 1.5rem !important; */
  width: 1rem !important;
}
.team-card__icons {margin-top: 15px;}

.teammaintitle {font-weight: 700;
  text-decoration: none;
  font-family: Noto Serif;
  font-style: normal;
  color: #25282a;
  font-size: 58px;}


.teammainbio {font-weight: 700; margin-bottom:0px;
  text-decoration: none;
  font-family: Noto Serif;
  font-style: normal;
  color: #25282a;
  font-size: 22px;}


 .hoverfilters:hover {
 display:inline-block !important;
    display:inline-block-transformation !important;
} 

 .controls ul {
    margin-bottom: 0px !important;
}


.filter-section .controls{padding-top: 1rem !important;}
.hoverfilters:hover {
    display: inline-block !important;
    display: -webkit-inline-box !important;}

/* .filter-section .controls li:first-child{ display: initial; } */
 .filter-section .controls li{    display: inline-block; }
/* .filter-section .controls li:first-child:hover {
    display: inline-block;
}
 */


.teammaindesclist p{font-family: Noto Sans;
  font-style: normal; font-size: 16px !important;
  margin: 0 0 1.4rem;
  font-weight: normal;
  text-decoration: none;
  line-height: 1.8;}



.teammaindesclistpage .button:hover, .teammaindesclistpage .button:focus {
  opacity: .6;
  text-decoration: none;
}


.teammaindesclistpage .button {
    background: linear-gradient(to right,#93282c,#6e181a);
    border: 1px solid #93282c;
    border-radius: 60px;
    color: #FFF;
    cursor: pointer;
    display: inline-block; text-decoration: none !important;
    font-family: 'Noto Sans',sans-serif;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
    height: auto;
    line-height: 1.1;
    margin: 0;
    padding: 25px 53px 25px 30px !important;
    position: relative;
    text-align: center;
    text-decoration: none;
    transition: all .15s linear;
    white-space: normal;
    width: auto;
    word-break: break-word;
}
.teammaindesclistpage .button:after {
    content: '';
    position: absolute;
    background: url(https://www.cael.org/hubfs/arrow-right.png) center right no-repeat;
    width: 25px;
    height: 25px;
    top: 20px;
    right: 16px;
    transition: .2s ease all;
}

.teammaindesclistpage .button:hover{}

.button-view{margin-top:15px; margin-bottom:15px;}
.imagerightsection p{padding-bottom:0px; margin-bottom:0px;
font-size: 16px;
  font-family: Noto Sans;
  font-style: normal;
  font-weight: normal;
  text-decoration: none;
  line-height: 1.8;
}
.linkedinseclinks{ font-size:22px !important;}




@keyframes inUp {
  0%{
    opacity: 0;
    transform: translateY(100px)
  }
    90%{
    transform: translateY(-10px)
  }
  100% {
    opacity: 1;
    transform: translateY(0)
  }
}







/* .content {
 
  backface-visibility: hidden;
  overflow: hidden;
}
.content > div {
  display: none;
  padding: 20px 25px 5px;
}
input {
  display: none;
}
label {
  display: inline-block; 
  padding: 15px 25px; 
  font-weight: 600; 
  text-align: center;
  border-bottom: 1px solid transparent;
  transition: all .3s ease-out 0.1s;
}
label:hover {
 
  cursor: pointer;
}
input:checked + label {
  background: #ffffff;
  color: #fd7034;
  border-bottom: 1px solid;
}

#tab-1:checked ~ .content #content-1,
#tab-2:checked ~ .content #content-2,
#tab-3:checked ~ .content #content-3,
#tab-4:checked ~ .content #content-4 {
  display: block;
  animation-name: inUp;
  animation-timing-function: ease-in-out;
  animation-duration: .6s;
}

@media screen and (max-width: 400px) { label {padding: 15px 10px;} }

@keyframes inUp {
  0%{
    opacity: 0;
    transform: translateY(100px)
  }
    90%{
    transform: translateY(-10px)
  }
  100% {
    opacity: 1;
    transform: translateY(0)
  }
}


.listing__item {
    align-items: stretch;
    animation: uiPop .2s ease-in-out forwards;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.listing .team-card {
    height: 100%;
}
.team-card__link {
    bottom: 0;
    display: block;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 0;
}
.team-card__link {
    cursor: pointer;
}
.screen-reader-text {
    clip: rect(1px,1px,1px,1px);
    height: 1px;
    overflow: hidden;
    position: absolute!important;
    width: 1px;
}
.team-card__img {
    width: 200px !important;
    height: 200px !important;
}
.team-card__img {
    border-radius: 999px;
    height: 100px;
    width: 100px;
}
.team-card__icons, .team-card__img+.team-card__txt {
    margin-top: 15px;
}
.team-card__title {
    font-family: "Noto Serif",serif !important;
    font-size: 22px !important;
}
.small-text {
    line-height: 1.3em!important;
}
.team-card__icons, .team-card__img+.team-card__txt {
    margin-top: 15px;
}
.team-card__icons a {
    display: inline-block;
    position: relative;
    transition: .2s ease-in-out;
    z-index: 1;
}
.icon--small.icon--disc {
    width: 2.2rem !important;
    height: 2.2rem !important;
}
.team-card--shadow {
	box-shadow: 0 16px 32px rgba(34,35,38,.05),0 8px 16px rgba(34,35,38,.05);
}
.team-card {
	border-radius: 32px;
	margin-bottom: 24px;
	padding: 30px 30px 40px;
	position: relative;
	text-align: center;
	transition: .2s ease-in-out;
	width: 100%;
}

.content ul li {
    display: inline-block;
    margin: 0 10px;
}
.team-card__icon {
	box-shadow: 0 8px 16px rgba(34,35,38,.05),0 4px 8px rgba(34,35,38,.05);
}
.icon--white-accent.icon--fill {
color: rgba(217, 180, 143, 1.0) !important;
}

.icon svg {
	fill: currentColor;
}
.tabs label {
    background: #e3e6ec;
    color: #222326;
    border-radius: 50px;
    font-weight: normal;
    margin: 0 5px;
}
input:checked+label {
    background: #fff;
    border-bottom: 1px solid;
    color: #fd7034;
    background: #93282c;
    color: #fff;
}

h1 {
    font-weight: 700;
    text-decoration: none;
    font-family: Noto Serif;
    font-style: normal;
    color: #25282a;
    font-size: 58px;
}
h3 {
    font-weight: 700;
    text-decoration: none;
    font-family: Noto Serif;
    font-style: normal;
    color: #25282a;
    font-size: 22px;
}
p {
    font-family: Noto Sans;
    font-style: normal;
    font-weight: normal;
    text-decoration: none;
    line-height: 1.8;
}
p {
    font-size: 16px;
    margin: 0 0 1.4rem;
}
.right-img {
    margin-bottom: 30px;
}
.button {
    background: linear-gradient(to right,#93282c,#6e181a);
    border: 1px solid #93282c;
    border-radius: 60px;
    color: #FFF;
    cursor: pointer;
    display: inline-block;
    font-family: 'Noto Sans',sans-serif;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
    height: auto;
    line-height: 1.1;
    margin: 0;
    padding: 25px 53px 25px 30px !important;
    position: relative;
    text-align: center;
    text-decoration: none;
    transition: all .15s linear;
    white-space: normal;
    width: auto;
    word-break: break-word;
}
.button:after {
    content: '';
    position: absolute;
    background: url(https://www.cael.org/hubfs/arrow-right.png) center right no-repeat;
    width: 25px;
    height: 25px;
    top: 20px;
    right: 16px;
    transition: .2s ease all;
}



* {
  transition: 0.5s ease-in-out;
  box-sizing: border-box;
}

.accordion {
  margin: 94px auto 0 auto;
  max-width: 500px;
  height: 300px;
  position: relative;
}
.accordion input.tab-toggle {
  position: absolute;
  opacity: 0;
}
.accordion label input.tab-toggle:checked + .tab-title {
  background: white;
}
.accordion label input.tab-toggle:checked ~ .tab {
  visibility: visible;
  opacity: 1;
}
.accordion label {
  float: left;
  font-size: 16px;
  line-height: 16px;
  border-radius: 3px 3px 0 0;
}
.accordion label:first-of-type .tab {
  border-radius: 0 3px 3px 3px;
}
.accordion label .tab-title {
  cursor: pointer;
  display: block;
  padding: 20px;
  border-radius: 3px 3px 0 0;
}
.accordion label .tab-title:hover {
  background: rgba(0, 0, 0, 0.1);
}
.accordion .tab {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  padding: 20px;
  top: 56px;
  left: 0;
  min-width: 100%;
  height: 244px;
  background: white;
  border-radius: 3px;
} */
 

/* .teammaindesclist a{text-decoration: underline;} */
.teammaindesclist a:hover{color:#93282c;}

.teamphotos {background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  width: 200px;
  height: 200px;
  border-radius: 100%;
  margin: 0px auto 15px auto;}



@media only screen and (max-width: 1250px) {
  .teamphotos {width: 175px; height: 175px; }
}

@media only screen and (max-width: 1150px) {
  .teamphotos {width: 155px; height: 155px; }
}

@media only screen and (max-width: 1050px) {
  .teamphotos {width: 145px; height: 145px; }
}


 @media only screen and (max-width: 1000px) {
  .teamphotos {width: 125px; height: 125px; }
}

 @media only screen and (max-width: 900px) {
  .teamphotos {width: 125px; height: 125px; }
}


 @media only screen and (max-width: 768px) {
.teamphotos {width: 200px; height: 200px; }
}


 @media only screen and (max-width: 700px) {
.teamphotos {width: 180px; height: 180px; }
}


 @media only screen and (max-width: 600px) {
.teamphotos {width: 160px; height: 160px; }
}

@media only screen and (max-width: 350px) { 
.teamphotos {width: 140px; height: 140px; }
}

/* Center board container */
.board-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

/* 1. Full-width flex container */
.board-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 0 !important;
  position: relative !important;
  box-sizing: border-box !important;
}

/* 2. Standard cards: 4 columns (25% each) */
.board-grid .card-item:not(.chair-card) {
  flex: 0 0 25% !important;
  max-width: 25% !important;
  width: 25% !important;
  padding: 12px !important;
  box-sizing: border-box !important;
  margin-bottom: 20px !important;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  float: none !important;
}

/* 3. Forced uniform height across standard cards (Rows 2 & 3) */
.board-grid .card-item:not(.chair-card) > a {
  display: block !important;
  height: 240px !important;
  text-decoration: none !important;
}

.board-grid .card-item:not(.chair-card) .card-body {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 100% !important;
  box-sizing: border-box !important;
  padding: 20px !important;
}

/* 4. FORCE Dr. Parker (Chair) into a 100% full-width block row */
.chair-card,
.board-grid .card-item.chair-card {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
  min-width: 100% !important;
  display: block !important;          /* Forces a clean full-width block row */
  clear: both !important;
  float: none !important;
  position: relative !important;
  left: 0 !important;
  right: 0 !important;
  top: auto !important;
  transform: none !important;         /* Overrides grid script offsets */
  margin: 0 0 30px 0 !important;
  padding: 0 12px !important;
  box-sizing: border-box !important;
}

/* Center inner white card box inside the 100% row */
/* Center inner white card box and force narrow width */
.chair-card > a,
.board-grid .card-item.chair-card > a,
.chair-card .card-body,
.board-grid .card-item.chair-card .card-body {
  display: block !important;
  width: 100% !important;
  max-width: 450px !important; /* Change to 280px or 300px if 200px wraps too tightly */
  min-width: 0 !important;
  height: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
  box-sizing: border-box !important;

/* Center text & LinkedIn icon */
.chair-card .card-body,
.chair-card .card-text,
.chair-card .card-title,
.chair-card .card-footer {
  text-align: center !important;
  justify-content: center !important;
  width: 100% !important;
}

/* 5. Typography and line spacing */
.board-grid .card-title {
  margin-bottom: 6px !important;
  line-height: 1.25 !important;
}

/* Base card text = Upright / Normal */
.board-grid .card-text {
  margin-top: 0 !important;
  margin-bottom: 10px !important;
  line-height: 1.35 !important;
  font-size: 0.88rem !important;
  font-style: normal !important;
  font-family: inherit !important;
}

/* Italicized card text (Job Title inside <em>) = Italic, matching sans-serif font */
.board-grid .card-text em,
.board-grid .card-text i {
  font-style: italic !important;
  font-family: inherit !important;
}

/* Bold card text (Organization inside <strong>) = Bold, matching sans-serif font */
.board-grid .card-text strong,
.board-grid .card-text b {
  font-weight: bold !important;
  font-family: inherit !important;
}

/* 6. Tablet & Mobile responsiveness */
@media (max-width: 991px) {
  .board-grid .card-item:not(.chair-card) {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
  }
}

@media (max-width: 767px) {
  .board-grid .card-item:not(.chair-card) {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .board-grid .card-item:not(.chair-card) > a {
    height: auto !important;
  }
}