.home #module-work .row .work-item .icon img {
    width: auto !important;
    height:110px;
}
.tealborder, .purpleborder, .pinkborder, .orangeborder {
    padding:0px; 
    border-width:0px;
    border-style: none;
}
.tealborder { border-color: #00C7C4; }
.purpleborder { border-color: #8866EE; }
.pinkborder {border-color: #FC7A99; }
.orangeborder { border-color: #F28C52; }   

body #module-work .row .work-item .icon .wrap {
height: 100%;
padding: 10px 0;
} 

#module-work .row .work-item .copy p {
    opacity: 0;
    max-height: 0; /* Start with max-height 0 to hide the element */
    overflow: hidden; /* Ensures the content doesn't overflow its container */
    transition: opacity 0.5s ease, max-height 0.5s ease; /* Animates both opacity and max-height */
}

#module-work .row .work-item:hover .copy p {
    opacity: 1;
    max-height: 180px; /* A large enough value to cover the full height of the content */
}

.popup-containerTent {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.popup-containerTent .popup-content {
    background-color: #fefefe;
    margin: 10% auto; /* 15% from the top and centered */
    padding: 40px 40px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
}

.popup-containerTent .close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.popup-containerTent .close-btn:hover,
.popup-containerTent .close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.content .popup-containerTent .gform_wrapper { margin-top: 0px;}

.gform_wrapper #gform_14 ul.gform_fields li.gfield { padding-right: 0px; }
.above-header, .above-header .row { position: relative; }
.above-header .announcement { width: 100%; position: absolute; color:#FFF; padding: 0 22px; text-align: center; z-index: 0;}
.above-header .announcement p, .above-header .announcement a { color: inherit; font-size: 14px; font-weight: bold;}
.above-header .announcement img { margin-right: 10px;;}
.TimeStory svg.logo { width: 100px; margin-bottom: 30px; }
.TimeStory .read-more { font-size: 17px !important; margin-top: 30px;}
.social.links { position: relative; z-index: 99;}

/* Filters /members */
.partners-page .partners-layout .filters ul { text-align: center; }
.partners-page .partners-layout .filters ul li { margin:0 auto !important; float:none !important;}


/* NAV */
@media (min-width: 1099) and (max-width: 1132px) { 

    nav.secondary ul li a { width: 195px; font-size: 12px; line-height: 41px;   }

}

@media (min-width: 1100px) {  
    .home #module-work .row .work-item .icon img { width: 75%; }
    nav.primary ul li .sub-menu li { margin-top: -5px !important; margin-bottom: 0px !important; padding-bottom: 10px !important;}
    nav.primary ul li .sub-menu-indent { margin:0 0 0 0 !important; padding: 1rem 0 0 1rem;}
    .menu-item-has-children:hover > ul { display: block !important; overflow: auto;}
}

@media (min-width: 1024px) and (max-width:1131px) {  
  
  /* #wpadminbar { display: none; }  */
  html { margin-top: 0 !important;}
  .admin-bar .top { top:0 !important;}

  body nav.secondary ul li a { width: 170px !important; height: 35px !important; line-height: 30px !important; font-size: 12px !important; margin-top: 5px !important; }
  nav.primary ul li { margin-right: 10px !important; }
  header nav.primary a { font-size: 12px !important;}
  .container-navigation .primary, .container-navigation .secondary { display: block !important;}
  .hamburger { display: none !important; }
  header .astm-search-menu .search-icon { margin: 0 0 0 0 !important; padding: 0 0 0 0 !important;}
}


.menuOverlay { display: block;}
@media (max-width: 1023px) {  

.page-id-1694 .topper-posts.no-topper .col-md-8 { padding: 50px 0 0; }

.closeSidebar { top:20px !important;}
#wpadminbar { display: none; } 
html { margin-top: 0 !important;}
.admin-bar .top { top:0 !important;}
#container-wrap { margin-top:60px;}

.popup-containerTent .popup-content { margin-top: 20%; } 


/* MOBILE NAV */

.menu-mobile-navigation-container ul li ul { display: none; }
.menu-mobile-navigation-container ul li:hover ul { display: block; }
.menu-mobile-navigation-container ul li ul { list-style-type: none; margin:0; padding:0;}


.menuOverlay { background-color: rgba(0,0,0,.7) !important; padding:0; display: block;  overflow-y: auto; -webkit-overflow-scrolling: touch; align-items: flex-start !important; }
.js .menuOverlay { left:-100% !important; }
.js .menuOverlay.menu--open { left:0% !important; }
#menu-mobile-navigation li { text-align: left !important; }
.social.links li i { color:#FFF; }
#menu-mobile-navigation { border-bottom: 1.5px solid #FFF; padding-bottom: 20px; margin-bottom: 40px;}
.menuOverlay .align-middle nav.secondary ul li a { border: none; width: auto;}

.mobileMenuWrapper { width: 450px !important; max-width: 100%; min-height: 100%; background-color: rgb(108,211,230) !important; padding-left:40px; padding:80px 30px 30px !important; z-index: 999; pointer-events: all;  }
.mobileMenuWrapper::-webkit-scrollbar, .menu-mobile-navigation-container::-webkit-scrollbar, .menuOverlay::-webkit-scrollbar  { display: none; } 
.mobileMenuWrapper, .menu-mobile-navigation-container, .menuOverlay  {  -ms-overflow-style: none; scrollbar-width: none; overflow-y: scroll; -webkit-overflow-scrolling:touch; }
.menuOverlay .align-middle ul.menu li a  { font-size: 21px !important; text-transform: uppercase; line-height: 36px !important;  font-weight: 500; }
.menuOverlay .align-middle ul.menu li { font-size: 21px !important; line-height: 36px !important;  margin-bottom:20px; font-weight: 500; }
.menuOverlay .align-middle ul.menu li:hover a { font-weight: 700;}
.menuOverlay  ul.menu li .sub-menu li a { font-size: 21px !important; text-transform: none; line-height: 36px !important; margin-bottom:20px; padding:0 0 0 20px; margin: 0; font-weight: 400 !important; display: block;  }
.menuOverlay  ul.menu li .sub-menu li { margin-bottom: 20px !important;}
.menuOverlay  ul.menu li .sub-menu { padding-top: 20px; }
.menuOverlay  ul.menu li .sub-menu li ul { padding-top: 10px; padding-left: 20px; }
.social.links ul { display: flex;}
.social.links li i { font-size: 21px !important; }

#secondary-navigation #menu-item-1092 { overflow: hidden; border:2px solid #FFF; border-radius: 50px; width: 90%; max-width: 325px; }

.astm-search-menu-wrapper.is-menu-wrapper { top: 18px; right: 68px; }
.astm-search-menu-wrapper.is-menu-wrapper .searchsubmit {
  text-align: center;
  color: #fff;
  background-color: #00C7C4;
  font-weight: 700;
  display: inline-block;
  border: none;
  min-width: 0;
  padding: 0 10px;
  font-size: 14px;
  width: 80px;
}

.astm-search-menu-wrapper.is-menu-wrapper .searchform { top:60px; width:100% !important;  position: fixed;  }
.astm-search-menu-wrapper.is-menu-wrapper .searchform .search-form { display: flex; }
.astm-search-menu-wrapper.is-menu-wrapper .search-close { width: 30px !important; height: 30px !important; top: -2px; left: 0px; background: #FFF; padding: 5px; overflow: hidden; }

}


/* Our Team (people) */
.page-id-1694 .content.back {
    display: none;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    overflow-y: auto; /* Ensure vertical scrolling is enabled */
  }
  
  .page-id-1694 .content.back::-webkit-scrollbar {
    width: 8px; /* Adjust width as needed */
  }
  
  .page-id-1694 .content.back::-webkit-scrollbar-thumb {
    background-color: #fff; /* White color for the scrollbar thumb */
    border-radius: 4px; /* Rounded corners */
  }

 
  .news-items { display: flex; align-items: stretch; }
  .home .module.news-feed .news-items .news-item { box-sizing: content-box;}
  a.inherit { color: inherit !important; text-decoration: none;}
  a.inherit:hover { color: inherit !important; text-decoration: underline;}
  .single-slide .single-image img:hover { transform: scale(1.5) translateY(-50%) !important;}
  .single-slide .single-image img { transition: transform 0.6s ease-in-out; }
  
  .people .social-feed { position: initial !important; }
  .grid-page .people.emeritus { max-width: 1200px; }
  /* Our team new */
  .biosHide { display: none;}
  .newTeamSidebar { background-color: #73CCE0; }
  .newTeamSidebar h1, .newTeamSidebar p, .sidebar h2, .sidebar p { color: #FFF !important;  }
  .newTeamSidebar h1, .newTeamSidebar p.deck { text-align: center; }
  .newTeamSidebar .module .container, .newTeamSidebar .module .row { height: auto !important; }

  @media (min-width: 1100px) {  

  .grid-page .people .grid .single { width: 25% !important; height: 500px !important;}
  .grid-page .people .grid .single .image { width: 100% !important; height: 300px !important; }
  .grid-page .people .grid .single .content { width: 100% !important; height: 200px !important; }
  .grid-page .people .grid.teamBottom .single .content { height: 150px !important; }


  }

  .grid-page .people { box-shadow: none !important;}
  .grid-page .people .grid.teamTop .single { width: calc(25% - 15px) !important; margin-left: 20px; margin-bottom: 20px; box-shadow: 0 8px 60px 0 rgba(0,0,0,.15); overflow: hidden; border-radius: 10px; }
  .grid-page .people .grid.teamTop .single:first-child, .grid-page .people .grid.teamTop .single:nth-child(4n+1){ margin-left:0px !important; }
  .grid-page .people .grid .single .image:before, .grid-page .people .grid .single.right .image:before { right:50% !important; transform: translate(12px, -32px) rotate(90deg) !important; left:initial !important; top:100% !important; }

  .grid-page .people .grid.teamBottom .single { width: calc(25% - 10px) !important; margin-left: 10px; margin-bottom: 20px; box-shadow: 0 8px 60px 0 rgba(0,0,0,.15); overflow: hidden; border-radius: 5px; height: 480px !important; cursor: pointer; }
  .grid-page .people .grid.teamBottom .single .image { height: 250px !important !important; }
  .grid-page .people .grid.teamBottom .single:hover .content.right {background-color: #73CCE0; }
  .grid-page .people .grid.teamBottom .single .content .wrapper .name span.position {   text-align: center;
    text-transform: uppercase;
    color: #3D4D54;
    letter-spacing: .08em;
    font-size: 13px;
    line-height: 165%;
    font-weight: 700; }

  .grid-page .people .grid.teamBottom .single:hover .content:before { display: none;}

.flexTeam { display: flex; align-items: center; gap:80px; }

#sidebarPhoto { border-radius: 150px;}
#sidebarBio { margin: 20px auto 0; text-align: left; }
#sidebarPosition { font-weight: bold; }
.people .grid span.position { font-weight: 400 !important;}
.partnerlink { cursor: pointer;}

.closeSidebar {
  position: absolute;
  top: 40px;
  right: 10px;
  background: none;
  color: white;
  border: none;
  font-size: 32px;
  cursor: pointer;
}

.sidebar {
  overflow-y: auto;
  text-align: center;
  position: fixed;
  top: 0;
  right: -100%;
  width: 55%;
  height: 100vh;
  background-color: #73CCE0;
  color: white;
  padding: 20px;
  box-shadow: -2px 0 5px rgba(255,255,255,0.5);
  transition: right 0.7s ease;
  z-index: 11000;
  padding: 5% 40px 10%;
}

.sidebar h2, .sidebar p {
  margin: 0 0 20px;
}

.sidebar button {
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
}

.teamoverlay { position: fixed; top:0; left:0; background-color: rgba(0,0,0,.7); width: 100%; height: 100%; z-index: 10000; display: none; }



/* IMPACT MODULE */ 


#module-impact .col-md-3:nth-child(2), #module-impact .col-md-3:nth-child(3) {
  border-left:none !important; border-right:none !important;
}
#module-impact .impact-row .col-xs-12 { border-bottom: none !important;}

#module-impact .animatetitle {
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 1s ease, opacity 1s ease;
}

.description-wrapper.intro { margin-bottom:40px;}
.single-partners .commitment-types { margin-bottom:80px !important; }

@keyframes slideIn {
  to {
    transform: translateX(0);
  } 
}


#module-impact .container { max-width: 1270px !important; }
#module-impact .text-wrap .title { font-size: 55px; }

@media (max-width: 1099px) {  
  #module-impact .text-wrap .title { font-size: 45px !important; }
  #module-impact .col-md-3 .triangle {  border-width: 0 100px 180px 100px !important;  }
}

@media (max-width: 992px) {
  #module-impact .text-wrap .title { font-size: 35px; }
  #module-impact .impact-row .col-xs-12 { width: 50%; margin-bottom: 40px; }
}

@media (max-width: 768px) {
  #module-impact .text-wrap .title { font-size: 25px; }
  #module-impact .impact-row .col-xs-12 { width: 100%; margin-bottom: 40px; }

}


/* HOME changes */ 
.module.news-feed h3 { margin-bottom: 20px !important;}
.news-content { box-sizing: border-box;}
.home .module.news-feed .news-items .news-item .news-content,  .home .module.news-feed .news-items .news-item { min-height: initial !important; height: initial !important; display: flex !important; }
.news-content .text-container {   height: 100%;   max-width: 100%;  box-sizing: border-box; }

.whiteFA { fill:#FFF !important; color:#FFF; }

@media (min-width: 992px) and (max-width: 1099px) {  


  .grid-page .people .grid.teamTop .single { width: calc(33% - 15px) !important; }
  .grid-page .people .grid.teamBottom .single { width: calc(33% - 10px) !important;  }
  .grid-page .people .grid.teamTop .single:nth-child(4n+1){ margin-left:20px !important; }

  .grid-page .people .grid.teamTop .single:first-child, .grid-page .people .grid.teamTop .single:nth-child(3n+1){ margin-left:0px !important; }


  .grid-page .people .grid .single { width: 25% !important; height: 500px !important;}
  .grid-page .people .grid .single .image { width: 100% !important; height: 300px !important; }
  .grid-page .people .grid .single .content { width: 100% !important; height: 200px !important; }
 
}

@media (min-width: 992px) {
.grid-page .people .grid.teamBottom .single .content .wrapper .name { margin-top: 0px !important;}
.grid-page .people.emeritus { max-width: 1200px; }
.grid-page .people .grid .single .content .wrapper { position: relative !important; top:initial !important; transform: none !important; -webkit-transform: none !important; left: initial !important; right: initial !important;}
.grid-page .content { padding-bottom: 20px !important; }
}

@media  (min-width: 431px) and (max-width: 991px) {  
  .grid-page .people .grid.teamTop .single { width: calc(50% - 15px) !important; }
  .grid-page .people .grid.teamBottom .single { width: calc(50% - 10px) !important;  }
  .grid-page .people .grid.teamTop .single:first-child, .grid-page .people .grid.teamTop .single:nth-child(2n+1) { margin-left:0px !important; }
  .sidebar {  width: 100%; right: -100%; } 
  .grid-page .people .grid.teamTop .single .content { height: 150px !important; }
  .grid-page .people .grid.teamBottom .single .image { height: 300px !important; }

}


@media  (max-width: 430px) {  
  .grid-page .people .grid.teamTop .single { width: 100% !important; }
  .grid-page .people .grid.teamBottom .single { width: 100% !important; height: auto !important; margin-left: 0px !important;  }
  .grid-page .people .grid.teamTop .single:first-child, .grid-page .people .grid.teamTop .single:nth-child(2n+1), .grid-page .people .grid.teamTop .single { margin-left:0px !important; }
  .grid-page .people .grid.teamTop .single:nth-child(4n+1){ margin-left:0px !important; }
  .sidebar {  width: 100%; right: -100%; }
  .grid-page .people { padding: 0 20px !important;}
  .grid-page .people .grid .single .content { padding-bottom: 0px; }
}

  /*  PRINT VERSION OF TENT */ 
  @media print {
    /* Hide header, footer, and other non-essential elements */
    header, footer, nav, aside, .sidebar, .social-links, .advertisement, .non-printable {
      display: none !important;
    }
  
    /* General reset for all elements */
    * {
      background: none !important; /* Remove backgrounds */
      color: #000 !important; /* Ensure text is black */
      box-shadow: none !important; /* Remove shadows */
      text-shadow: none !important; /* Remove text shadows */
      border: none !important; /* Remove borders */
    }
  
    /* Ensure the main content is visible */
    body {
      font-family: sans-serif; /* Use a readable font */
      line-height: 1.5; /* Improve readability */
      padding: 1em; /* Add some padding for better layout */
    }
  
    /* Basic styles for headers and paragraphs */
    h1, h2, h3, h4, h5, h6 {
      font-weight: bold;
      margin: 1em 0 0.5em 0;
    }
  
    p, ul, ol, blockquote {
      margin: 0 0 1em 0;
    }
  
    ul, ol {
      padding-left: 1.5em;
    }
  
    /* Ensure links are still visible without URLs */
    a {
      text-decoration: underline;
      color: black;
    }
  
    a:after {
      content: "";
    }
  
    /* Hide all images, icons, and SVGs */
    img, svg, icon, video, iframe {
      display: none !important;
    }
  }
  