body {
    background: #f7f7f7;
}
.ccg-filter {
 display: flex;
    flex-wrap: wrap;
    gap: 10px;
    background-color: #010535;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: fit-content; /* Adjust width to content */
	margin-left:auto;
	margin-right:auto;
}
/* Container for dropdowns */
.ccg-drop-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.ccg-search-sort-wrapper {
    display: flex;
    gap: 20px;
    width: 100%;
}
.ccg-drop-container,
.ccg-search-container,
.ccg-sort-container {
    flex: 1;
 
}
@media (max-width: 768px) {
    .ccg-search-sort-wrapper {
        flex-direction: column;
    }
	.ccg-filter{
		overflow:hidden !important;
		
	}
	#ccg-course-grid, #clg-grid, #ccarr-grid{
		padding:5px !important;
	}
	#ccarr-modal-body{
		width: fit-content !important;
	}
	#ccg-search,#ccg-search-location{
		width:200px !important;
	}
	#ccarr-search{
		width:180px !important;
	}
	.ccg-filter option{
		font-size: 8px !important; 
	}
	.ccg-drop-container option{
		font-size: 8px !important; 
	}
		
	#ccg-drop-container-career{
		grid-template-columns: repeat(3, auto) !important;
	}
	#ccg-drop-container-career select{
		  width: 100% !important;
        font-size: 14px;
        padding-right: 5px;
        padding-left: 5px;

	}

	
}
/* Makes the search box occupy available space */
#ccg-search {

     flex: 1 !important;
    padding: 12px 25px !important ;
    border: 1px solid #ddd !important ;
    border-radius: 5px !important ; /* Rounded corners for a more modern look */
    font-size: 16px !important;
    background-color: #010535 !important;
    color: #fff !important;
    transition: all 0.8s ease !important ;
    position: relative !important;
	

}
/* Makes the search box occupy available space */
#ccg-search-location {

     flex: 1 !important;
    padding: 12px 25px !important ;
    border: 1px solid #ddd !important ;
    border-radius: 5px !important ; /* Rounded corners for a more modern look */
    font-size: 16px !important;
    background-color: #010535 !important;
    color: #fff !important;
    transition: all 0.8s ease !important ;
    position: relative !important;
	width : 30vw ;
	

}
#ccarr-search {

     flex: 1 !important;
    padding: 12px 25px !important ;
    border: 1px solid #ddd !important ;
    border-radius: 5px !important ; /* Rounded corners for a more modern look */
    font-size: 16px !important;
    background-color: #010535 !important;
    color: #fff !important;
    transition: all 0.8s ease !important ;
    position: relative !important;
	

}
#ccg-search::placeholder {
	color: rgba(255, 255, 255, 0.7) !important; /* Lighter placeholder text */
}
#ccg-search-location::placeholder {
	color: rgba(255, 255, 255, 0.7) !important; /* Lighter placeholder text */
}
#ccarr-search::placeholder{
	color: rgba(255, 255, 255, 0.7) !important; /* Lighter placeholder text */
}
/* Search Icon */
#ccg-search::before {
	content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="20" height="20" viewBox="0 0 50 50"><path d="M 21 3 C 11.621094 3 4 10.621094 4 20 C 4 29.378906 11.621094 37 21 37 C 24.710938 37 28.140625 35.804688 30.9375 33.78125 L 44.09375 46.90625 L 46.90625 44.09375 L 33.90625 31.0625 C 36.460938 28.085938 38 24.222656 38 20 C 38 10.621094 30.378906 3 21 3 Z M 21 5 C 29.296875 5 36 11.703125 36 20 C 36 28.296875 29.296875 35 21 35 C 12.703125 35 6 28.296875 6 20 C 6 11.703125 12.703125 5 21 5 Z"></path></svg>');
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
}
 #ccarr-search::before{
   content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="20" height="20" viewBox="0 0 50 50"><path d="M 21 3 C 11.621094 3 4 10.621094 4 20 C 4 29.378906 11.621094 37 21 37 C 24.710938 37 28.140625 35.804688 30.9375 33.78125 L 44.09375 46.90625 L 46.90625 44.09375 L 33.90625 31.0625 C 36.460938 28.085938 38 24.222656 38 20 C 38 10.621094 30.378906 3 21 3 Z M 21 5 C 29.296875 5 36 11.703125 36 20 C 36 28.296875 29.296875 35 21 35 C 12.703125 35 6 28.296875 6 20 C 6 11.703125 12.703125 5 21 5 Z"></path></svg>');
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
}
/* Glowing effect on hover */
#ccg-search:hover  {
    box-shadow: 0 0 10px 3px rgba(255, 255, 255, 0.7) !important; /* White glow effect */
    border-color: #fff; /* White border on hover */
}
/* Glowing effect on hover */
#ccg-search-location:hover  {
    box-shadow: 0 0 10px 3px rgba(255, 255, 255, 0.7) !important; /* White glow effect */
    border-color: #fff; /* White border on hover */
}

#ccarr-search::hover {
    box-shadow: 0 0 10px 3px rgba(255, 255, 255, 0.7) !important; /* White glow effect */
    border-color: #fff; /* White border on hover */
}
.ccg-drop-container select,
.ccg-sort-container select {
  padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: transparent !important; /* Set background to transparent */
    font-size: 16px;
    outline: none;
    transition: border-color 0.8s ease;
    width: 20rem !important;
	color:white !important;
}

/* Container for search box and search button */
.ccg-search-container {
    display: flex;
    flex: 2;
	align-items: center;
}
.ccg-drop-container select:focus,
.ccg-sort-container select:focus {
    border-color: #1E257A;
}
/* .ccg-search-container input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 5px 0 0 5px;
    background-color: transparent;
    font-size: 16px;
    outline: none;
    transition: border-color 0.8s;
} */
/* Button */
#ccg-filter-btn {
    padding: 12px 25px !important;
    background: #1E257A !important ;
    color: #fff !important;
    border: none !important;
    border-radius: 5px !important; /* Matching rounded corners */
    cursor: pointer !important;
     transition: all .8s ease !important;
    margin-left: 15px !important; /* Spacing between search bar and button */
}
#ccg-filter-btn-location {
    padding: 12px 25px !important;
    background: #1E257A !important ;
    color: #fff !important;
    border: none !important;
    border-radius: 5px !important; /* Matching rounded corners */
    cursor: pointer !important;
     transition: all .8s ease !important;
    margin-left: 15px !important; /* Spacing between search bar and button */
}

#ccarr-filter-btn {
    padding: 12px 25px !important;
    background: #1E257A !important ;
    color: #fff !important;
    border: none !important;
    border-radius: 5px !important; /* Matching rounded corners */
    cursor: pointer !important;
     transition: all .8s ease !important;
    margin-left: 15px !important; /* Spacing between search bar and button */
}

#ccg-filter-btn:hover  {
    background: #14207e !important; /* Darker shade on hover */
    
    box-shadow: 0 0 10px 3px rgba(255, 255, 255, 0.7) !important; /* White glow effect */
	
}
#ccg-filter-btn-location:hover  {
    background: #14207e !important; /* Darker shade on hover */
    
    box-shadow: 0 0 10px 3px rgba(255, 255, 255, 0.7) !important; /* White glow effect */
	
}

#ccarr-filter-btn::hover {
    background: #14207e !important; /* Darker shade on hover */

    box-shadow: 0 0 10px 3px rgba(255, 255, 255, 0.7) !important; /* White glow effect */
	
}

#ccg-filter-btn:active  {
    transform: scale(1) !important; /* Button returns to normal size when clicked */
}
#ccg-filter-btn-location:active  {
    transform: scale(1) !important; /* Button returns to normal size when clicked */
}

#ccarr-filter-btn::active {
    transform: scale(1) !important; /* Button returns to normal size when clicked */
}
/* Default: 4 columns */
#ccg-course-grid,
#clg-grid,#ccarr-grid  {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

/* Medium devices: 3 columns */
@media (max-width: 1024px) {
    #ccg-course-grid,
    #clg-grid,#ccarr-grid  {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Small devices: 2 columns */
@media (max-width: 768px) {
    #ccg-course-grid,
    #clg-grid,#ccarr-grid  {
        grid-template-columns: repeat(2, 1fr);
    }
	#study-map {
    height: 500px !important;
    
	}
}

/* Extra small devices: 1 column */
@media (max-width: 480px) {
  #ccarr-grid  {
        grid-template-columns: repeat(2, 1fr); 
		margin:0px 10px !important;
    }
	  #ccg-course-grid,
    #clg-grid  {
        grid-template-columns: 1fr; 
	
    }
	  #ccg-course-grid
   {
        margin: 0 !important;
	   
	
    }
	.ccg-course p{
		font-size:14px !important;
	}
}


/* Course container styling */
.ccg-course {
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
	
transition: all .8s ease !important;
    border: 1px solid #ffffff00 !important;
	
}
/* #ccg-course-grid .ccg-course::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Linear gradient: golden (#FFD700) at the top to transparent at the bottom */
  background: linear-gradient(to top, #D4A532 35%, transparent 75%);
  z-index: 1;
  pointer-events: none; /* Allows clicks to pass through */
}  */
.ccg-course:hover , {
	 transform: translateY(-5px);
	transform:scale(1.03)
}
/* Course grid thumbnail remains at 200px */
#ccg-course-grid .ccg-course-thumbnail {
    height: 200px;
	border-radius:10px;
}

/* Location grid thumbnail - new height (adjust as needed) */
#clg-grid .ccg-course-thumbnail {
    height: 170px;
}
.ccg-course-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}
/* Thumbnail remains at fixed height */
.ccg-course-thumbnail {
    position: relative;
    width: 100%;
    height: 200px; 
    overflow: hidden;
}

.ccg-course-details {
    padding: 15px;
    /* background: #f9f9f9; */
    text-align: center;
	 position: relative;
  bottom: 0;  /* You can change this to 'top: 0' if you prefer the details at the top */
  left: 0;
  width: 100%;
  z-index: 2; /* Higher than the overlay */
  padding: 15px;
  color: #fff;  /* Adjust text color for contrast */

 
 
}
/* New details box below the image */
#ccg-course-grid .ccg-course-details {
     text-align: center;
    left: 0;
    z-index: 2;
    color: #fff;
	display:flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
 
 
}
#ccg-course-grid .ccg-course-details h3{

    margin: 5px !important;
    color: #010535;
}
/* #ccg-course-grid .ccg-course {
  
    height: 300px !important;
} */
/* Optional: style title, description, class time */
.ccg-course-details h3 {
    font-size: 18px;
   margin-top:5px !important;
}
.ccg-course-details p {
    font-size: 14px;
    margin: 0 0 5px;
    color: #242222;
	line-height:1.4 !important;
}
.span-link-container span {
    font-size: 13px;
    color:black;
    padding: 5px;
    border-radius: 5px;
    display: inline-block;
    border: 1px solid #1E257A;
}
.ccg-course-bottom .ccg-read-more {
    opacity: 0;
    transform: translateY(20px);

/* 	transition: all 1s cubic-bezier(0.4, 0, 0.2, 1); */
}

/* On hovering over the course box, reveal the button */
.ccg-course:hover .ccg-course-bottom .ccg-read-more {
    opacity: 1;
    transform: translateY(0);
}
/* Bottom box for read-more button */
.ccg-course-bottom {
    padding: 10px 15px;
    text-align: center;
    background: #fff;
    border-top: 1px solid #eee;
} 
.ccg-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      padding: 20px;
/*       background: linear-gradient(to top, rgb(255, 204, 0) 65%, transparent 100%); */
      color: #333;
      box-sizing: border-box;
      display: flex
  ;
      flex-direction: column;
      justify-content: center;
      align-items: center;
}
.span-box-small{
    border: 1px solid white;
    padding: 5px !important;
    margin: 2px;

    color: #ffffff;
    border-radius: 5px;
}
.ccg-overlay h3,
.ccg-overlay p,
.ccg-overlay span {
   
    line-height: 1.2;
    
}
/* Optional: Adjust font sizes */
.ccg-overlay h3 {
    font-size: 18px;
    margin-bottom: 5px;
}
.ccg-overlay p {
    font-size: 14px;
    margin-bottom: 5px;
    
}
.ccg-overlay span {
    font-size: 13px;
    color: white;
    border: 1px solid white;
    padding: 5px;
    border-radius: 5px;
}
.ccg-course img {
    /* Scale down the image slightly */
    width: 100%;

    height: 100% !important;
    object-fit: cover !important;
    /* display: block;
    margin: 0 auto; */
}

.ccg-course p {
    font-size: 12px;
    color:#020202;
}

.ccg-read-more {
    position: absolute;
    left: 50%;
    bottom: 15px;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    padding: 8px 12px;
    background: #1E257A;
    color: #fff !important;
    text-decoration: none;
    border-radius: 5px;
transition: all .8s ease !important;
	  z-index: 2;
	
}

.ccg-course:hover .ccg-read-more {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
	
}
.ccg-course:hover{
	transform:scale(1.03) !important;
}
select {
    width: auto !important;
    height: auto !important;
}
/* Careers grid: display 3 columns on desktop */
#ccarr-grid {
    display: grid;
    /* grid-template-columns: repeat(3, 1fr); */
    gap: 20px;
    margin-top: 20px;
}

/* Suggested Degree Button */
.ccarr-suggested-button {
    display: inline-block;
    padding: 10px 20px;
    background: #1E257A;
    color: #fff !important;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.8s ease;
    margin-top: 20px;
    text-align: center;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}
.ccarr-suggested-button:hover {
    background: #17315d;
}
.ccarr-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: scroll;
    /* Center the modal content */
    /* display: flex;
    align-items: center;
    justify-content: center; */
}

.ccarr-modal-content {
    position: fixed;
  /* Constrain the modal size */
  max-width: 600px;
  max-height: 80vh;
  
  /* Center using left/right/top/bottom + margin auto */
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;

  background: #000110;
  color: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);

  display: flex;
  flex-direction: column;
  align-items: center;

  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: gold transparent;
	transition: all 0.3s ease !important;
	 animation: growFromCenter 0.3s ease !important;
}

@keyframes growFromCenter {
    0% {
        width: 0; /* Start width at 0 */
        height: 0; /* Start height at 0 */
        opacity: 0; /* Invisible initially */
    }
    100% {
        width: 50%; /* Full width */
        height: 70%; /* Full height */
        opacity: 1; /* Fully visible */
		 overflow: scroll; /* Hide content during animation */
    }
}
#ccarr-modal-title {
    font-size: 24px;
    margin-bottom: 15px;
    text-align: center;
    color: #d4a432;
}
#ccarr-modal-body h2{
display:none
}
.ccarr-modal-content h3 {
      color: #d4a432 !important;
    margin-top: 15px !important;
    margin-bottom: 0px !important;
}

.ccarr-modal-content p{ 
	color:white !important;
}

.ccarr-modal-content li{ 
	color:white !important;
}
/* Media query for smaller screens */
@media (max-width: 768px) {
    .ccarr-modal-content {
        width: 90vw !important;
        height: auto;
        padding: 20px;
    }
    #ccarr-modal-image img {
        width: 100% !important;
        padding: 20%;
        border-radius: 8px;
        margin-bottom: 20px;
    }
}
.ccarr-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 30px;
    color: #d4a432;
    cursor: pointer;
    transition: color 0.8s ease;
}
.ccarr-close:hover,
.ccarr-close:focus {
    color: #1E257A;
}
@keyframes slideUp {
    0% {
         transform: translateY(100%);
         opacity: 0;
    }
    100% {
         transform: translateY(0);
         opacity: 1;
    }
}
#ccarr-modal-image{
    display: flex;
    justify-content: center;
    align-items: center;
}
#ccarr-modal-image img {
    width: 20vw;

    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

#ccarr-modal-title {
    font-size: 24px;
    margin-bottom: 15px;
    text-align: center;
}
#ccarr-modal-body {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .ccarr-modal-content {
        padding: 20px;
		width:90vw !important;
    }
    #ccarr-modal-title {
        font-size: 20px;
    }
    #ccarr-modal-body {
        font-size: 14px;
    }
}


ccarr-modal-body h2{
    display: none !important;
}
/* 
.ccg-course-thumbnail img[class*=align], img[class*=attachment-]{
	height:100% !important;
} */

.ccg-filter option {
    background-color: #010535; /* Change to any color */
    color: white;
}
.span-link-container {
	    display: flex;
    justify-content: center;
    gap: 6px;
    align-items: center;
    margin-left: 4px;
	margin-bottom:10px;
}
/* Mobile version: 2-column grid */
@media (max-width: 768px) { /* Adjust breakpoint as needed */
    .ccg-drop-container {
        display: grid !important;
        grid-template-columns: repeat(2, auto) !important; /* 2 equal columns */
        gap: 10px !important;
        justify-content: center !important;
        align-items: center !important;
    }
	.ccg-drop-container select,
.ccg-sort-container select {
  padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: transparent !important; /* Set background to transparent */
    font-size: 16px;
    outline: none;
    transition: border-color 0.8s ease;
    width: 16rem !important;
	color:white !important;
}
	
	
	#ccarr-grid .ccg-course:hover .ccg-read-more{
		font-size:10px !important;
	}
	
	
	
	.span-link-container  span {
  align-self:start;
}
	
#ccg-course-grid .ccg-read-more {
  position: static !important;
        /* RIGHT: 0; */
        /* bottom: 18px; */
        transform: none !important;
        opacity: 1!important;
        padding: 4px;
        background: #1E257A;
        color: #fff !important;
        text-decoration: none;
        border-radius: 5px;
        /* transition: all .8s ease !important; */
        z-index: 2;
        margin-right: 10px;
        display: inline-block!important;
	

}
}

.clg-grid .ccg-course img{
	object-fit:cover !important;
}

.ccg-drop-container select:hover, .ccg-sort-container select:hover {
    box-shadow: 0 0 10px 3px #242476b3 !important; /* Glowing blue effect */
    border-color: #00f !important; /* Optional: blue border on hover */
}

#ccarr-grid .ccg-course img{
	object-fit:contain !important;
}

.ccg-course-details  a:hover{
	    transition: all .8s ease !important;
}

.ccarr-career-item{
	background:#ffffff00 !important;
}
.ccarr-career-item h3{
	color:#a7a2a2 !important;
	
}
.ccarr-career-item:hover h3 {
    color: white !important;
}
.ccarr-career-item .ccg-course-thumbnail::after {
    content: "";
    display: block;
    width: 50%; /* Adjust the width as needed */
    height: 2px; /* Adjust the thickness of the border */
    background-color: gold; /* Golden color */
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

#clg-grid .span-link-container{
	margin-bottom:0px !important;
}
