/*
CTC Separate Stylesheet
Updated: 2025-09-22 04:04:44
Theme Name: Cintana Pitchfork Child
Template: pitchfork-2.2.1
Author: Jeff Fulton, Cintana Education
Description: Based on Pitchfork Child by Steve Ryan, Ira A. Fulton Schools of Engineering
Version: 2.2.2
*/


/******************************* custom page search css Start here ***************************************/

.custom-search-wrapper {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  width: 100%;
  position: relative;
}
.custom-search-wrapper input[type="text"] {
  width: clamp(280px, 50vw, 420px);
  padding: 12px 45px 12px 16px;
  border: 1px solid #E8E8E8;
  border-radius: 4px;
  font-size: 16px;
  outline: none;
  background: #fafafa;
}
.custom-search-wrapper button {
  padding: 20px !important;
  background-color: #425563;
  color: white;
  border: none;
  border-radius: 4px !important;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.custom-search-wrapper button i {
  pointer-events: none;
}
mark {
  background-color: #f2a900;
  padding: 1px 2px;
  border-radius: 2px;
}
.no-search-results {
  color: #d32f2f;
  font-size: 0.9em;
  padding: 8px 12px;
  background: #ffebee;
  border-left: 3px solid #d32f2f;
  border-radius: 2px;
  margin-top: 10px;
  clear: both;
  display: block;
  animation: searchErrorFadeIn 0.3s ease;
}
mark.active-search {
  background-color: #f2a900 !important;
  box-shadow: 0 0 0 2px #425563;
  border-radius: 2px;
  transition: all 0.3s ease;
}

@keyframes searchErrorFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.course-search-scope .e-con-inner {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.course-search-scope .e-con-inner.search-active {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(300px, 1fr)) !important;
  grid-auto-rows: auto !important;
  grid-template-rows: none !important;
  grid-auto-flow: row !important;
  gap: 20px !important;
  align-items: start;
}
.course-search-scope .e-con-inner .course-card {
  height: auto !important;
  min-height: auto !important;
}
.course-search-scope .e-con-inner.search-active > *:not(.course-card) {
  display: none !important;
}
.course-search-scope
  .e-con-inner.search-active
  > .elementor-element:not(.course-card) {
  display: none !important;
}
@media (max-width: 768px) {
  .course-search-scope .e-con-inner.search-active {
    grid-template-columns: 1fr !important;
  }
}

/*************************************** custom page search css End here ****************************************/