/* 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 ========================== */
/*so white is visible when editting*/
.ou-justedit-region .text-white, .ou-justedit-region .hero-online {
    color: #275d38; /*or whatever color, as long as it's opaque*/
}
/*==================================== HOMEPAGE VIDEO HEADER ============================================*/
section.page-header.jumbo.hero-online {
	overflow: hidden;
}

.home-video {
	display: none;
}

.home-heading {
	z-index: 5;
	position: relative;
	border-radius: 0;
}

.online-header h2 {
    color: #fff;
    font-weight: 400;
    font-size: 24px;
    margin-bottom: 20px;
    margin-top: 10px;
    text-transform: uppercase;
}

.online-header .button-solid {
	border-radius: 0;
    font-family: "Lato", arial, sans-serif;
    text-transform: capitalize;
    padding: 20px;
    position: relative !important;
    display: flex;
    justify-content: space-between;
    letter-spacing: 0.5px;
    margin: 0;
    font-weight: 600;
    font-size: 18px;
    background-color: #00843D;
}
.online-header .button-solid:after {
	display: flex;
    justify-content: center;
    align-items: center;
    content: "\f061";
    font-family: "Font Awesome 5 Solid", "Font Awesome 5 Pro";
    font-size: 100%;
}
.online-header .button-solid:hover {
	background-color: #fff;
}

/*padding change on homepage*/
.padding-change-top {
    padding-top: 80px;
}

/**===============================*PROGRAM SECTION*===============================*/
.home-program-card {
	padding: 0;
}
.home-program-card .card-content-content {
    padding: 0px 20px 20px;
}

.home-program-card .card-content-content a {
    margin-top: 0;
    justify-content: space-between;
    display: flex;
    width: 100%;
    border-bottom: 1px solid #e8e8e8;
    padding-bottom: 5px;
    position: relative;
    margin-bottom: 5px;
}

.home-program-card .card-content-photo:first-child {
	background: url(/online/images/home/find.jpg);
    background-size: cover;
    background-position: center;
	height: 260px;
}
.home-program-card .card-content-photo:last-child {
    display: none;
}

/**===============================*TUITION SECTIONS*===============================*/
.tuition-section {
	position: relative;
}
.tuition-section:before {
	content: "";
	position: absolute;
	width: 50px;
	top: -10px;
	height: 50px;
	background-color: #78BE48;
	right: 0;
}
.tuition-section:after {
	position: absolute;
	content: "";
	background: url(/online/images/assets/quarter-circle-lime.svg) no-repeat;
	width: 200px;
	height: 80px;
	left: -100px;
	bottom: 0;
	background-size: 200px;
}

/*ACCORDION OVERRIDE*/
.accordion-grid {
	margin-top: 10px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.accordion-grid figure {
	min-height: 110px;
	outline: none;
	background-color: #f9f9f9;
	margin-bottom: 40px;
    border: 1px solid #e8e8e8;
	color: #000;
}
.accordion-grid figure.open {
	margin-bottom: 0;
}
.accordion-grid figcaption {
    background-color: #f9f9f9;
	position: relative;
	height: 120px;
}
.accordion-icon {
    border-radius: 50%;
    width: 70px;
    background-color: #78BE48;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    margin: 0 auto;
    left: 0;
    top: -57px;
    right: 0;
}
.accordion-icon img {
    width: 55px;
    height: 55px;
}
.accordion-grid figcaption h3 {
    font-weight: 500;
	color: #275d38;
	font-size: 23px;
    text-align: center;
}
.accordion-grid figure.open::after {
	border-color: transparent transparent #f9f9f9;
}
/*HOVER STATE*/
.accordion-grid figure:hover .accordion-icon {
    background-color: #00843d;
}

.accordion-content {
	margin-bottom: 40px;
    border-radius: 0;
    padding: 20px;
	background-color: #f9f9f9;
}
.accordion-content p {
    text-align: center;
}


.tuition-section .learn-heading {
    font-size: 24px;
	color: #fff;
    font-weight: 500;
    text-align: center;
}

/*tuition button*/
.tuition-btn {
    background-color: #4BA23F;
    font-family: 'Lato';
    border-color: #4BA23F;
    position: relative;
    padding: 20px;
    width: 100%;
    font-weight: bold;
    font-size: 18px;
    margin-top: 30px;
    letter-spacing: 0.5px;
    border-radius: 0;
	z-index: 1;
}
.tuition-btn:after {
	display: flex;
    justify-content: center;
    align-items: center;
    content: "\f061";
    font-family: "Font Awesome 5 Solid", "Font Awesome 5 Pro";
    font-size: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    height: auto;
    width: 50px;
    color: #fff;
}
.tuition-btn:hover:after, .tuition-btn:visited after {
	color: #000;
}


/*===============================*FLEXIBILITY SECTION*===============================*/
.cpl-section {
	background-image: url(/online/images/home/cpl-homepage.png);
	position: relative;
	background-size: cover;
	background-position: center;
	padding-bottom: 80px;
	padding-top: 40px;
}

.flexibility-blurb {
    color: #fff;
    background-color: rgba(0, 132, 61, 0.9);
    padding: 30px;
	position: relative;
}

.cpl-section:before {
	content: "";
    background: url(/online/images/assets/x-rectangle.png) no-repeat;
    background-size: 600px;
    position: absolute;
    width: 400px;
    top: -72px;
    right: -24px;
    height: 100px;
}
.cpl-section:after {
	content: "";
    background: url(/online/images/assets/blue-ladder.png) no-repeat;
    background-size: 200px;
    position: absolute;
    width: 200px;
    top: -100px;
    right: 0;
    height: 200px;
}
	
.flexibility-link {
	text-decoration: underline;
	position: relative;
}
.flexibility-link:after {
    content: "\f061";
    position: absolute;
    font-family: "Font Awesome 5 Pro";
    margin-left: 10px;
    top: 1px;
}

/*End mobile and up styles*/
/* ====================== Tablet and Up (Overrides Mobile Styles) ========================== */
@media only screen and (min-width: 768px) {
	/*==================================== HOMEPAGE VIDEO HEADER ============================================*/
	section.page-header.jumbo.hero-online {
		padding: 0;
	}
	.hero-online {
		height: unset;
	}
	
	.home-video {
		display: block;
		z-index: -1;
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		height: 400px;
		overflow: hidden;
	}
	.home-video video {
		object-fit: cover;
		object-position: top;
		width: 100%;
		height: 100%;
	}
	header.online-header {
		padding: 100px 20px;
		height: 400px;
	}	
	
	.online-header h2 {
		font-size: 30px;
	}
	.online-header .button-solid {
		width: 50%;
	}
	
	p.onlinu-content {
		margin-top: 40px;
	}
	/**===============================*PROGRAM SECTION*===============================*/
	.home-program-card {
		display: flex;
	}
	.home-program-card .card-content-photo:last-child {
		display: block;
		background: url(/online/images/home/advance.jpg);
		background-size: cover;
		background-position: center;
	}
	.home-program-card .card-content-photo {
		flex: 2;
		height: 200px !important;
	}
	.home-program-card .card-content-content {
		flex: 4;
	}
	
	/**===============================*TUITION SECTIONS*===============================*/
	.tuition-section .learn-heading {
		margin: 50px 0 50px;
	}
	
	/*===============================*FLEXIBILITY SECTION*===============================*/
	.cpl-section {
		padding-top: 80px;
	}
	
	.flexibility-blurb:before {
		content: "";
		position: absolute;
		background: url(/online/images/assets/flexibility-asset.png) no-repeat;
		background-size: 100px;
		width: 100px;
		left: -65px;
		bottom: -80px;
		z-index: 5;
		height: 100px;
	}
	
	.cpl-section:before {
		background: url(/online/images/assets/y-rectangle.png) no-repeat;
        background-size: 100px;
        width: 100px;
		height: 510px;
        top: -55px;
        left: 0px;
        right: unset;
        
	}
	.cpl-section:after {
		top: -65px;
		right: -40px;
	}

	
}

/*end media query*/
/*End tablet and up styles*/
/* ====================== Landscape Tablet and Up (Overrides Mobile Styles) ========================== */
@media only screen and (min-width: 992px) {
	/*==================================== HOMEPAGE VIDEO HEADER ============================================*/
	header.online-header {
		height: 450px;
		display: flex;
        flex-direction: column;
        justify-content: end;
	}
	.home-video {
		height: 450px;
	}
	
	/**===============================*TUITION SECTIONS*===============================*/
	/*ACCORDION OVERRIDE*/
	.accordion-grid figure, .accordion-content {
		margin-bottom: 0;
	}
	.accordion-grid {
		margin-top: 20px;
	}
	
	/*===============================*FLEXIBILITY SECTION*===============================*/
	.cpl-section {
		height: 450px;
		padding-top: 105px;
	}
	.flexibility-blurb {
		margin: 0 15px;
	}
	.cpl-section:before {
		left: 10px;
		background-size: 110px;
        width: 120px;
		height: 459px;
	}
	
}

/*end media query*/
/*End landscape tablet and up styles*/
/* ====================== Desktop Only (Overrides Mobile and Tablet Styles) ========================== */
@media only screen and (min-width: 1200px) {
	/*==================================== HOMEPAGE VIDEO HEADER ============================================*/
	header.online-header {
        height: 500px;
        max-width: 1200px;
        margin: 0 auto;
        padding: 100px 0px;
    }
	.home-video {
		height: 500px;
	}
	.online-header .button-solid {
        width: 25%;
    }
	.online-header h1 {
		font-size: 60px !important;
	}
	.online-header h2 {
		font-size: 32px;
	}
	
	/*padding change on homepage*/
	.padding-change-top {
		padding-top: 40px;
	}

	/**===============================*PROGRAM SECTION*===============================*/
	.home-program-card .card-content-photo {
		height: 240px !important;
	}
	.home-program-card .card-content-content h2 {
		margin-bottom: 30px;
	}
	
	/**===============================*TUITION SECTIONS*===============================*/
	.tuition-section:before {
		width: 80px;
		height: 80px;
		right: 40px;
		top: -30px;
	}
	.tuition-section:after {
		width: 400px;
		height: 150px;
		left: -200px;
		background-size: 400px;
	}
	
	/*===============================*FLEXIBILITY SECTION*===============================*/
	.cpl-section {
        height: 480px;
	}
	.cpl-section:before {
		background-size: 120px;
        width: 120px;
		height: 480px;
	}
	.flexibility-blurb:before {
		background-size: 120px;
		width: 120px;
		left: -80px;
	}
	
}

/*end media query*/
/* ====================== Desktop Only (Overrides Mobile and Tablet Styles) ========================== */
@media only screen and (min-width: 1500px) {
	/*==================================== HOMEPAGE VIDEO HEADER ============================================*/
	header.online-header {
		height: 600px;
	}
	.home-video {
		height: 600px;
	}
	
}

/*end media query*/