/* 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 ========================== */

.contained {
	max-width: 1200px;
	margin-right: auto;
	margin-left: auto;
}
.card-picture-9 + .card-picture-9 {
	margin-block-start: 30px;
}
.page-header {
	margin-bottom: 0 !important;
	border-bottom: none !important;
}

/* HOME PAGE CARDS - FROM UVU.EDU */
.homepage-card .card-picture {
	padding-bottom: 20px;
	justify-content: space-between;
}
.homepage-card .card-picture-title {
	background-color: #fff;
	color: #275d38;
}
.homepage-card h2.card-picture-title {
	font-size: 18px;
	font-weight: 800;
	text-transform: uppercase;
	padding-left: 30px;
	padding-right: 30px;
	margin: 0px;
	padding: 20px;
	width: 100%;
	background-color: #fff;
	text-align: center;
	color: #275d38;
}
.homepage-card h2.card-picture-title::before {
	font-family: "Font Awesome 5 Pro";
	display: block;
	text-align: center;
	font-size: 36px;
	font-weight: 300;
	margin-bottom: 8px;
}
.homepage-card.animation-card h2.card-picture-title::before {
	content: '\f8bc';
}
.homepage-card.audio-card h2.card-picture-title::before {
	content: '\f58f';
}
.homepage-card.cinema-card h2.card-picture-title::before {
	content: '\f008';
}
.homepage-card.web-card h2.card-picture-title::before {
	content: '\f87a';
}
.homepage-card .card-picture-img {
	object-fit: cover;
	max-height: 194px;
	width: 100%;
}
.homepage-card .card-picture-content {
	display: none;
}
.homepage-card .card-picture-button {
	border-top: none;
	text-align: left;
	padding: 10px;
	display: block;
	border: 2px solid #275d38;
	border-radius: 8px;
	font-family: 'Rajdhani', sans-serif;
	font-weight: bold;
	margin: 0px auto;
	padding: 15px 35px 15px 15px;
	width: 80%;
	font-size: 15px;
	position: relative;
	color: #275d38;
}
.homepage-card .card-picture-button:after {
	content: '\f061';
	font-family: 'Font Awesome 5 Pro';
	position: absolute;
	right: 15px;
	font-size: 10px;
	display: flex;
	bottom: 18px;
}

/* FIRST YEAR BANNER */
.first-year-left {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 15px;
}

/* PLOS PAGE - USE CONTENT CARD WITH SHADOW, BOLD TITLE, TITLE BG COLOR UVU-GREEN */
.card-content + .card-content {
	margin-block-start: 30px;
}

/* STUDENT RESOURCE PAGE CARDS */
.card-btn-hover {
	transition: 0.6s;
}
.card-btn-hover:hover {
	color: #fff;
	text-decoration: none;
}
.card-btn-hover.card-btn-forest:hover {
	background-color: #275d38;
}
.card-btn-hover.card-btn-primary:hover {
	background-color: #00843d;
}

/* HALF GREEN HALF GRAY BANNER WITH SHAPES - MODIFIED FROM UVU ONLINE */
.mental-health-left::before {
	content: '';
	top: -20px;
	left: 0px;
	width: 87px;
	transform: rotateX(180deg);
	height: 87px;
	position: absolute;
	background: url(/digitalmedia/images/ladder.svg) no-repeat;
}
.mental-health-left {
	position: relative;
	padding: 50px 30px 60px;
	background-color: #275d38;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.mental-health-left h1 {
    text-align: center;
}
.mental-health-left::after {
	content: '';
	position: absolute;
	width: 80px;
	height: 80px;
	right: 0;
	z-index: 1;
	bottom: -35px;
	background-color: #86c6b9;
}
.mental-health-right {
    padding-top: 35px;
    background-color: #f9f9f9;
}

/* SPECIFIC STYLING FOR HELPFUL LINKS LISTS */
.links-list-1 {
	background-color: #f2f9e9;
}
.links-list-1 li {
	border-bottom: 1px solid #a1d263;
}
.links-list-1 li span {
	color: #78be20;
}

.links-list-2 {
	background-color: #edf6ec;
}
.links-list-2 li {
	border-bottom: 1px solid #81be79;
}
.links-list-2 li span {
	color: #4ba23f;
}

/* Parent li with child ul */
.list-dropdown {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

/* GENERAL STYLING FOR ALL HELPFUL LINKS LISTS */
.links-list {
	list-style: none;
	padding: 15px;
	border-radius: 5px;
	letter-spacing: Ã‚Â 1px;
}
.links-list li {
	margin: 0px;
	padding: 8px 0px;
}
.links-list li:last-of-type {
	border: none;
}
.links-list a {
	color: #000;
	font-size: 14px;
	display: block;
}

/* DEGREE CARDS */
.degree-card {
	background-color: #fff;
	min-height: 200px;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
	border-radius: 8px;
	overflow: hidden;
}
.degree-card + .degree-card {
	margin-block-start: 30px;
}
.main-degree {
	margin-block-start: 40px;
}
.degree-card .degree-name {
	margin: 0;
	padding-block-end: 10px;
	border-bottom: 4px solid #eaeaea;
}
.degree-card .degree-name a {
	font-family: 'Rajdhani', Arial, sans-serif;
	font-size: 20px;
	font-weight: bold;
	text-transform: uppercase;
	color: #000;
}
.degree-card .degree-img {
	object-fit: cover;
	order: -1;
	max-height: 194px;
	grid-area: img;
	width: 100%;
}
.degree-card .degree-content {
	padding: 20px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	font-size: 14px;
	grid-area: content;
}
.degree-card .degree-credits {
	color: #275d38;
	font-weight: 500;
}

/* HALF IMAGE HALF CONTENT BANNER */
.half-banner {
	margin-right: -15px;
	margin-left: -15px;
}
.half-banner .banner-content {
	padding: 40px 15px;
}
.half-banner .banner-img img {
	max-height: 300px;
	height: 100%;
	width: 100%;
	object-fit: cover;
}
.contained {
	max-width: 1200px;
	margin-right: auto;
	margin-left: auto;
}


/*End mobile and up styles*/
/* ====================== Tablet and Up (Overrides Mobile Styles) ========================== */
@media only screen and (min-width: 768px) {
	.degree-section {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: center;
		flex-direction: row;
	}
	.degree-container {
		padding-left: 20px;
		padding-right: 20px;
		margin-bottom: 20px;
		margin-top: 20px;
		text-align: center;
		min-width: 250px;
	}
	a.degree-button {
		color: #fff;
		text-decoration: none;
		text-align: center;
	}
	a.degree-button span {
		display: block;
		margin-top: -20px;
	}
	a.degree-button:hover {
		color: #c5e86c;
	}
	a.degree-button::after {
		content: '';
		display: block;
		width: 0;
		height: 2px;
		background: #c5e86c;
		transition: width 0.3s;
	}
	a.degree-button:hover::after {
    	width: 100%;
	}
	.first-year-left {
		flex-direction: row;
	}
	.homepage-card .card-picture-img {
		max-height: none;
	}
	
	.plos {
		column-count: 2;
		column-gap: 30px;
	}
	
	.mental-health {
        background: linear-gradient(90deg, #275D38 50%, #f9f9f9 20%);
    }
    .mental-health-left::before {
    	left: 50px;
    }
    .mental-health-left {
        margin-bottom: 0;
		display: flex;
		justify-content: center;
		align-items: end;
		background-color: inherit;
    }
    .mental-health-left h1 {
        text-align: right;
    }
    .mental-health-left::after {
        bottom: -40px;
		right: -10px;
    }
    .mental-health-right {
        background-color: inherit;
        padding-top: 15px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: start;
        padding-left: 30px;
    }
	.degree-card {
		display: grid;
		grid-template-areas: 'img content';
	}
	.degree-card .degree-img {
		object-fit: cover;
		max-height: none;
		height: 100%;
	}
	.short-card {
		grid-template-columns: 200px 1fr;
	}
	.short-card .degree-img {
		max-width: 200px;
	}
	.large-card {
		grid-template-columns: 250px 1fr;
	}
	.large-card .degree-img {
		max-width: 250px;
	}
}

/*end media query*/
/*End tablet and up styles*/
/* ====================== Landscape Tablet and Up (Overrides Mobile Styles) ========================== */
@media only screen and (min-width: 992px) {
	.degree-section {
        flex-wrap: nowrap;
    }
    .degree-container {
        min-width: 200px;
    }
	.contained {
		display: flex;
		flex-direction: row;
		align-items: center;
	}
	.half-banner {
		display: grid;
		grid-template-columns: 1fr 1fr;
		max-height: 375px;
	}
	.half-banner .banner-img {
		height: 100%;
	}
	.half-banner .banner-img img {
		max-height: 375px;
	}
}

/*end media query*/
/*End landscape tablet and up styles*/
/* ====================== Desktop Only (Overrides Mobile and Tablet Styles) ========================== */
@media only screen and (min-width: 1200px) {
.mental-health-left::before {
		left: 60px;
    }
    .mental-health-left::after {
        right: -20px;
    }
}

/*end media query*/
/*End desktop only styles*/
/* ====================== Extra-Wide Desktop Only (Overrides Mobile, Tablet, and Desktop Styles) ========================== */
@media only screen and (min-width: 1500px) {
	.first-year {
		position: relative;
	}
	.first-year::before {
		content: '';
		position: absolute;
		height: 150px;
		width: 184px;
		transform: rotateZ(180deg);
		background: url('../../images/banner_shapes_left.svg') no-repeat;
		left: 0;
		bottom: -15px;
	}
	.first-year::after {
		content: '';
		position: absolute;
		height: 300px;
		width: 174px;
		transform: rotateZ(180deg);
		background: url('../../images/banner_shapes_right.svg') no-repeat;
		right: 0;
		top: -30px;
	}
	.half-banner {
		justify-content: end;
		max-height: 350px;
	}
	.half-banner .banner-content {
		max-width: 600px;
		justify-self: end;
	}
	.half-banner .banner-img img {
		max-height: 350px;
	}
}

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