#main img {

}

#main .adjusts {
	text-align: justify;
}

#main .row .fix-margins, #main .row .well {
	margin: 5px !important;
}

#main .row div {

}

#main .sub-chapter .col-md-12, #main .sub-chapter .col-md-6, #main .sub-chapter .col-md-4,
	#main .sub-chapter .col-md-3, #main .sub-chapter .col-md-2, #main .sub-chapter .col-md-1,
	#main .wellAdjust {
	padding-left: 0px;
	padding-right: 0px;
}

#main .adjustHeader {
	margin: -15px -15px 0px -15px;
}

.catalogImage {
	max-width: 120px;
	max-height: 120px;
	object-fit: scale-down;
	object-position: 100% 0%; 
	
	  
}

.catalogImageRight {
	float: right;
	margin: 5px 0 0 15px;
}

.catalogImageLeft {
	float: left;
	margin: 5px 15px 0 0;
}

.seemore {
	margin-top: 10px;
}

.seemore a {
	position: absolute;
	margin-left: 5px;
}



/* ------------------------------------------ */
.bannerimage {
	width: 275px;
	height: 200px;
	border-radius: 5px;
}

.card {
	display: flex;
	width: 275px;
	height: 360px;
	min-width: 240px;
	flex-direction: column;
	align-items: center;
	overflow: hidden;
	/* margin: 25px 25px 5px 0; */
	box-shadow: 2px 4px 12px rgba(22, 24, 25, .12);
	background-color: #fff;
}

.sd-card-header {
	width: 100%;
	height: 170px;
}

.sd-card-header img {
	width: 100%;
	max-height: 170px;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	object-fit: cover;
}

#sd-card-wrapper {
	 display: flex;
	flex-direction: row;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap:20px; 
	
}

.sd-card-body {
	width: 100%;
	height: 105px;
	overflow: hidden;
	padding: 15px;
}

.sd-card-footer {
	width: 100%;
	padding: 15px;
	font-size: small;
	color: #6e777b;
	/*  display: flex;
    justify-content: space-between;  */
}

.sd-card-footer>div {
    display: flex
;
    flex-direction: row;
    justify-content: flex-start;
    margin-top: 4px;
    gap: 6px;
    text-transform: capitalize;
    text-overflow: ellipsis;
}

.sd-card-footer>div span {
    margin-right: 4px;
}
.sd-card-footer>div div {
    width: 50%;
     white-space: nowrap;  
    overflow: hidden;  
    text-overflow: ellipsis;  
}

.sd-card-body>h5 {
	padding-top: 4px;
    color: #161819;
    font-size: large;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card.filtered {
    display: none;
}

.content-category.active {
    opacity: 1;
    border: 2px solid #007bff;
}
.card-link:hover {
	text-decoration: none;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
    border-radius: 8px; 
}

.card:hover {
    transform: translateY(-10px); 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    cursor: pointer; 
}

#content-category-wrapper .content-category.active {
    box-shadow: 2px 4px 12px rgba(22, 24, 25, 0.12);
    border: 2px solid #C31924;
    filter: none;
    text-shadow: none;
}

#content-category-wrapper .content-category.inactive {
    filter: grayscale(100%);
    text-shadow: 0 2px 4px black;
    opacity: 0.5; 
}

#content-category-wrapper .content-category {
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.content-category-wrapper {
    display: flex;
    flex-wrap: wrap;  
    justify-content: flex-start;  
    gap: 20px; 
    padding-bottom: 25px;
}

.content-category {
    
    flex: 0 1 120px; 
    box-sizing: border-box; 
    text-align: center;  
     transition: all 0.3s ease-in-out;
     position: relative;  
}

.content-category:hover {
    transform: scale(1.05); 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
}

.category-title {
    position: absolute;  
    bottom: 10px;  
    left: 10px;  
    color: white;  
    font-size: 15px;  
    z-index: 2;  
    text-align: center;  
}

.sd-training-type{
				font-size: smaller;
				color: grey;
			}

.btn {
    border-radius: 4px;
    min-height: 40px;
    padding: 0 16px;
    text-transform: uppercase;
    
}

.filter-btn {
    background-color:white;
    color: #000;
    border-color: #000;
}

.filter-btn i{
	
	margin-right: .5rem !important;
	}

.filter-panel {
    position: fixed;
    top: 70px;
    left: -370px;  
    width: 370px;
    height: 100%;
    background-color: #f8f9fa;
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
    overflow-y: auto;
    transition: 0.3s;  
    padding: 15px;
    z-index: 1000;
}

.filter-panel.open {
    left: 0; /* Slide in when open */
}

.close-filter {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.filter-section {
    margin-bottom: 20px;
}
 
/* .d-none {
    display: none !important;
} */

.filtered {
    display: none !important;
}

.content-category.active {
    border: 2px solid #007bff;
    background-color: #eaf4ff;
    cursor: pointer;
}

.content-category.inactive {
    opacity: 0.5;
    cursor: pointer;
}


.selected-filters {
    margin-bottom: 15px;
    padding: 10px;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    margin: 5px;
    padding: 5px 10px;
    background-color: #007bff;
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
}


.filter-tag .remove-filter {
    margin-left: 10px;
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

.filter-panel h4{
	font-weight: bold;
    font-size: 20px;
}


.resetbtn{
    background: no-repeat;
    padding-left: 140px;
    font-size: 16px;
    font-weight: bold;
}

.filter-group-header{
	    text-transform: uppercase;
    color: #474c4f;
}

.card {
    display: block; 
}

.sd-sub-title {
    text-transform: uppercase;
    font-weight: 400;
    color: #9aa2a5;
}

.card-link.hidden {
    display: none !important;
}


#searchSection {
    margin: 10px 0;
}

#courseSearchField  {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	width: 100%;}


.filter-search-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.course-page-header  {
       font-size: 25px;
    font-weight: bold;

}

.search-wrapper-header {
    display: flex;
    justify-content: flex-end;
    flex-grow: 1;
}

.search-wrapper {
    position: relative;
    max-width: 300px; 
    width: 100%;
}

.search-wrapper input {
    width: 100%;
    padding: 10px 35px 10px 10px; 
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.search-wrapper .search-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: #888;
    pointer-events: none; 
    font-size: 14px;
}

.filter-input{
    vertical-align: -2px;
}

.durationDiv{
	    margin-right: 3px;
}

.durationSpan{
	margin-left: -2px;
}
