/* 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 ========================== */
h1,
h2 {
	font-weight: 600;
}
.text-64 {
	font-size: 64px;
	line-height: 1em;
}
.gap-15 {
	gap: 15px;
}

/* BASIC STYLING FOR STANDARD UVU DROPDOWN */
.accordion:not(.accordion-unstyled) {
	padding: 10px 40px 10px 10px;
}
.accordion-content {
	padding-top: 10px;
}

/* REMOVE SPACE AND BORDER ON HERO IMAGES. USE ON HOME PAGES THAT HAVE A BANNER FLUSH WITH THE HERO */
.fullbleed:has(+section[class*='bg-']) {
	margin-bottom: 0;
	border-bottom: none;
}

/* ADD OVERLAY TO HERO IMAGES */
.fullbleed::before {
	background: linear-gradient(to bottom, #000000b3, #000000b3);
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0.5;
	z-index: 0;
}

/* PROGRAM CARDS - START WITH CARD PICTURE CUSTOM */
.card-picture-custom {
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.card-picture-custom .card-picture-title {
	font-family: 'Raleway', arial, sans-serif;
	text-align: center;
	color: #275d38;
	font-weight: bold;
	border-bottom: 5px solid;
	padding: 30px 10px;
	margin: auto 0px 0px;
	border-color: #275d38;
	font-size: 24px;
}
.card-picture-custom .card-picture-img {
	height: 100%;
	order: -1;
}
.card-picture-custom .card-picutre-content {
	display: none;
}
.card-picture-custom .card-picture-button {
	overflow: hidden;
	height: 0;
}

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

/* DEPARTMENT FACTS SIDE GRID - FOR MODIFIED VERSION WITH CSS GRID */
.fact-grid {
	display: grid;
	grid-template-rows: auto;
	grid-template-columns: 100px 1fr;
	gap: 15px;
	padding: 10px 0;
}
.fact-grid img,
.fact-grid p {
	align-self: center;
	justify-self: center;
	margin: 0;
}
.justify-between {
	justify-content: space-between;
}
.justify-evenly {
	justify-content: space-evenly;
}

/* EVENT LIST ITEM - START WITH EVENT LIST ITEM 1 */
.event-item[data-component-event-style="1"] .event-item-container {
	box-shadow: none;
	border: none;
}
.event-item[data-component-event-style="1"] .event-frame {
	border: none;
}
.event-item[data-component-event-style="1"] .poster {
	border: none;
}
.event-item[data-component-event-style="1"] .event-details {
	border-left: 5px solid #275d38;
	padding-top: 0;
	padding-bottom: 0;
}
.event-item[data-component-event-style="1"] .event-title {
	text-transform: none;
	margin-bottom: 5px;
}
div.no-time .event-item[data-component-event-style="1"] .event-time {
	display: none;
}

/* FOR DEGREE PAGES - MINOR CHANGES TO CARD:PICTURE-CARD 9 COMPONENT */
.card-picture-9 + .card-picture-9 {
	margin-block-start: 30px;
}
.card-picture-9 .card-picture-button {
	color: #275d38;
}
.card-picture-9 .card-picture-button:hover {
	text-decoration: underline;
}
@media only screen and (max-width: 767px) {
	.card-picture-9 .card-picture-content ul {
		padding-inline-start: 0px;
	}
}

/* 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(/online/images/assets/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 h2 {
    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;
}

/* ABOUT PAGE - ICON LINKS */
.icon-link:hover a,
.icon-link:hover span {
	color: #c5e86c;
	text-decoration: none;
}
.icon-link::after {
	content: '';
	display: block;
	width: 0;
	height: 2px;
	background: #c5e86c;
	transition: width 0.3s;
}
.icon-link:hover::after {
	width: 100%;
}

/* SHOWCASE PAGE */
.icon-banner-left {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 15px;
}
.table-striped-even>tbody>tr:nth-of-type(even) {
    background-color: #f9f9f9;
}

/* IMAGE SLIDER ON SHOWCASE PAGE */
.slick-slide {
	padding: 0 15px;
}
.slick-slide.slick-active:not(.slick-current) {
	opacity: 1;
}
.slick-slide.slick-active:not(.slick-center):not(.slick-current):hover {
	opacity: 1;
}
ul.slick-dots {
	bottom: -40px;
}

/* CAPSTONE PAGES */
.story-card-title h3 {
	display: flex;
	justify-content: center;
	margin: 20px 0 20px 0;
}
.story-img-custom img {
	object-position: 50% 40%;
	height: 255px;
	object-fit: cover;
	width: 100%;
}

/* MINIMAL DROPDOWNS - FROM UVU STUDENT AFFAIRS */
/* ADDITIONAL STYLING FOR THE UVU ACCORDION TABLE TRANSFORM SNIPPET */
.capstone-dropdown .accordion {
	background-color: transparent !important;
	font-size: 1.25em;
	font-family: Rajdhani;
	font-weight: 400;
	margin: 0.5em auto 10px;
	padding: 20px 10px 10px 50px !important;
	border-top: 1px solid var(--color-uvu-primary);
	border-radius: 0 !important;
}
.capstone-dropdown .accordion:first-child {
	border-top: none;
}
.capstone-dropdown .accordion:not(.accordion-unstyled):after {
     display: none;
}
.capstone-dropdown .accordion:not(.accordion-unstyled):before {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    content: "\f0da";
    font-family: "Font Awesome 5 Solid", "Font Awesome 5 Pro";
	font-weight: 100;
    position: absolute;
    left: 0;
    margin: auto;
    height: auto;
    width: 30px;
    color: var(--color-uvu-primary);
}
.capstone-dropdown .accordion.open:not(.accordion-unstyled):before {
	content: "\f0d7";   
}
.capstone-dropdown .accordion-content {
	padding: 15px;
	background-color: transparent;
	border-top: none;
	margin: 10px auto;
}
.capstone-dropdown .accordion.top {
    border-top: none;
}


/*End mobile and up styles*/
/* ====================== Tablet and Up (Overrides Mobile Styles) ========================== */
@media only screen and (min-width: 768px) {
    .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 h2 {
        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;
    }
	.icon-banner-left {
		flex-direction: row;
		justify-content: start;
	}
}

/*end media query*/
/*End tablet and up styles*/
/* ====================== Landscape Tablet and Up (Overrides Mobile Styles) ========================== */
@media only screen and (min-width: 992px) {
	.half-banner {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
	.banner-img {
		height: 100%;
	}
	.shapes-banner,
	.shapes-banner .banner-img img {
		max-height: 415px;
	}
	.ieee-banner,
	.ieee-banner .banner-img img {
		max-height: 355px;
	}
	.video-content {
		position: relative;
	}
	.video-content::after {
		content: '';
		background: url('/aviation/images/zigzag.svg');
		height: 50px;
		width: 50px;
		position: absolute;
		top: -25px;
		right: 50px;
		transform: rotateZ(180deg);
	}
	.fact-grid {
		grid-template-columns: 130px 1fr;
	}
	.mental-health-left::before {
		left: 20px;
    }
}

/*end media query*/
/*End landscape tablet and up styles*/
/* ====================== Desktop Only (Overrides Mobile and Tablet Styles) ========================== */
@media only screen and (min-width: 1200px) {
	.half-banner {
		justify-content: end;
	}
	.shapes-banner,
	.shapes-banner .banner-img img {
		max-height: 355px;
	}
	.shapes-banner::before {
		position: absolute;
		content: '';
		background: url('/cet/images/banner-shapes.svg');
		width: 125px;
		height: 111px;
		left: 0;
		top: -50px;
	}
	.banner-content {
		max-width: 600px;
		justify-self: end;
	}
	.mental-health-left::before {
		left: 60px;
    }
    .mental-health-left::after {
        right: -20px;
    }
}

/*end media query*/
/*End desktop only styles*/
/* ====================== Wide Desktop Only (Overrides Mobile and Tablet Styles) ========================== */
@media only screen and (min-width: 1500px) {
	.shapes-banner::before {
		top: -30px;
		left: 75px;
	}
	.video-banner {
		position: relative;
	}
	.video-banner::before {
		content: '';
		background: url('/aviation/images/circle.svg');
		height: 200px;
		width: 200px;
		position: absolute;
		bottom: 100px;
		left: -100px;
	}
}

/*end media query*/
/*End wide desktop only styles*/
/* ====================== Extra-Wide Desktop Only (Overrides Mobile and Tablet Styles) ========================== */
@media only screen and (min-width: 1700px) {
	.shapes-banner::before {
		top: -20px;
		left: 125px;
	}
}

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