/* Department CSS Document */
/*For mobile first adaptive design place styles for mobile and up in the mobile and up area.
Place styles for tablet and up inside the media query in the tablet and up area.
Place styles for desktop only inside the media query in the desktop only area.

For questions or media query training contact Web Development Services.
*/
/* ====================== Mobile and Up ========================== */

/************OBJECTIVE CARDS************/
.card-list {
	list-style: none;
    padding: 0;
    display: grid;
    grid-gap: 40px;
}
.card-list .card {
    position: relative;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 20px 20px 0;
    counter-increment: num;
	height: 100%;
}
.card-list .card::before {
	content: counter(num);
    position: absolute;
    top: -10px;
    left: -10px;
    background-color: var(--color-uvu-primary);
    color: white;
    font-weight: bold;
    width: 50px;
    height: 50px;
    font-size: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/************COUNCIL MEMBERS LIST************/
ul.committee-member-list {
    list-style-type: none;
    padding: 0;
}
ul.committee-member-list li {
    border-top: 1px solid #ddd;
    margin: 0;
    padding: 20px 10px;
}
ul.committee-member-list h4 {
    margin-top: 0;
    font-weight: 500;
    color: #000;
}
ul.committee-member-list li p {
    margin: 0;
}

/*End mobile and up styles*/
/* ====================== Tablet and Up (Overrides Mobile Styles) ========================== */
@media only screen and (min-width: 768px) {
	.card-list {
		grid-template-columns: 1fr 1fr;
	}
	
	/************COUNCIL MEMBERS LIST************/
	ul.committee-member-list {
		column-count: 2;
	}
	
}

/*end media query*/
/*End tablet and up styles*/
/* ====================== Landscape Tablet and Up (Overrides Mobile Styles) ========================== */
@media only screen and (min-width: 992px) {
	/************COUNCIL MEMBERS LIST************/
	ul.committee-member-list {
		column-count: 3;
	}
}

/*end media query*/
/*End landscape tablet and up styles*/
/* ====================== Desktop Only (Overrides Mobile and Tablet Styles) ========================== */
@media only screen and (min-width: 1200px) {
	.card-list {
		grid-template-columns: 1fr 1fr 1fr;
	}
	
}

/*end media query*/
/*End desktop only styles*/
/*END OF DOCUMENT*/