@charset "UTF-8";
/* CSS Document */

.grid-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px; 
	margin-top: 10px;
	align-items: center;
}

.grid-item {
  /*background-color: #f2f2f2;*/ 
  padding: 20px; 
  text-align: left; 
}

/* Define widths for items spanning multiple columns */
.item25 {
  grid-column: span 3;
}
	
.item33 {
  grid-column: span 4;
}	

.item50 {
  grid-column: span 6;
}
	
	.item66 {
  grid-column: span 8;
}

.item75 {
  grid-column: span 9;
}

.item100 {
  grid-column: span 12;
}
	
.toc {
    margin: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  .toc ul {
    list-style-type: none;
    padding: 0;
  }
  .toc li {
    margin-bottom: 5px;
  }
  .toc a {
    text-decoration: none;
    color: #333;
  }
  .toc a:hover {
    color: #555;
	
	}
	
	
	.cs-sub-head {font-size: 20px; font-weight: bold; margin: 0px; margin-bottom: 10px;}
	.cs-other-head {font-size: 17px; font-weight: bold; margin: 0px; margin-bottom: 10px;}
	.cs-para {color: #333; line-height:21px; font-size:16px; margin-bottom: 15px;}


a.content-link:link {color:#333; line-height:25px; font-size:16px; margin-bottom: 15px; text-decoration: underline; }
a.content-link:visited {color:#333; text-decoration: underline; }
a.content-link:hover { color:#669900; text-decoration: underline; }
	
	
	
.knowledge-box {
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px;
    text-align: center;
    transition: transform 0.3s;
	justify-content: space-between;
	display: flex;
	flex-direction: column;
    background-color: #eee;
}

.knowledge-box img {
    
    width: 100%;
    height: 200px; 
    object-fit: cover; 
    /*border-bottom: 1px solid #ddd;*/
}

.knowledge-box h2 {
    font-size: 1.3em;
    margin: 15px 0;
    padding: 0 10px;color: inherit;
	flex: 1;
}

.knowledge-box button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px 20px;
    /*margin: 20px 0;*/
    cursor: pointer;
    font-size: 1em;
    border-radius: 5px;
    transition: background-color 0.3s;
	margin-top: auto;
	margin-bottom: 20px;
}

.knowledge-box button:hover {
    background-color: #0056b3;
	cursor: pointer;
	text-decoration: underline;
	}

.knowledge-box:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}	
	
/*.knowledge-box:hover h2 {
    text-decoration: underline;
}	*/
	
.knowledge-box:visited h2 {
    color: #333; 
}	
	
a.knowledge-box h2 {
    color: #333; 
	text-decoration: none;
}	



.knowledge-base-item {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 16px 16px 0px 16px;
  /*margin: 16px 0;*/
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.knowledge-base-item h2 {
  margin: 0 0 8px;
  font-size: 1.5em;
  color: #333;
}

.knowledge-base-item p {
  margin: 0 0 12px;
  color: #555;
  font-size: 1em;
  line-height: 1.5;
}

.knowledge-base-item .read-more-link {
  color: #007BFF;
  text-decoration: none;
  font-weight: bold;
}

.knowledge-base-item .read-more-link:hover {
  text-decoration: underline;
}

.knowledge-base-item-title {
  
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 6px;
  /*margin: 16px 0;*/
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    justify-content: center;
    display: flex;
    align-items: center;
}

.knowledge-base-item-title h2 {
  margin: 0px;
  font-size: 1.5em;
  color: #333;
}

.knowledge-base-item-title:hover {
    transform: scale(1.05);
    }
	

@media (max-width: 768px) { /* Adjust max-width as needed for mobile view */
  .grid-container {
    grid-template-columns: repeat(1, 1fr); width: 98%; /* Change to 1 column for mobile view */
  }
  
  /* Reset grid column spans for mobile view */
  .item25,
  .item33,
  .item50,
	.item66,
  .item75,
  .item100 {
    grid-column: span 1;
     
  }
}
