/* 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 ========================== */
/*padding change on homepage*/
.padding-change-top {
    padding-top: 80px;
}

/*little date box on top of page*/
.start-date {
    position: absolute;
    right: 0;
    left: 0;
    bottom: -210px;
    box-shadow: 0px 0px 6px #00000029;
    padding: 10px 30px;
    margin: 0 auto;
    background-color: #275D38;
    width: 90%;
    display: flex;
    text-align: center;
    justify-content: center;
    flex-direction: column;
}
.start-date h4 {
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    margin: 0;
    margin-bottom: 10px;
    margin-top: 10px;
}
.start-date p {
    margin-bottom: 10px !important;
}
p.date {
    background-color: #F9F9F9;
    color: #000 !important;
    padding: 10px;
	font-size: 16px !important;
    width: 80%;
    margin: 0 auto;
}
.start-date .apply-button {
    border-radius: 0;
    font-family: "Lato", arial, sans-serif;
    text-transform: capitalize;
    padding: 10px;
    position: relative !important;
    display: block !important;
    letter-spacing: 0.5px;
    margin: 0;
    margin-top: 10px;
    background-color: #4BA23F;
    border: #4BA23F;
    font-weight: 600;
    width: 100%;
    font-size: 18px;
}
.start-date .apply-button: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;
}
.start-date .apply-button:hover {
	background-color: #fff;
}
.start-date .apply-button:hover:after {
	color: #000;
}

/**===============================*MAILERLITE FORM*===============================*/
.padding-change-form {
    padding-top: 65px;
    padding-bottom: 20px;
    background-color: #e8e8e8;
}

.ml-form-embedWrapper {
  	background-color: #e8e8e8 !important;
}
.ml-form-embedWrapper:before {
	content: "";
    background: url(https://www.uvu.edu/online/images/assets/overlap-circles.png) no-repeat;
    background-size: 120px;
    width: 120px;
    height: 120px;
    position: absolute;
    left: -13px;
    top: -96px;
}

.horizontal-fields {
    width: 100% !important;
    margin-bottom: 10px !important;
}
.ml-form-embedContent h4, .ml-form-successContent h4 {
	color: #275d38 !important;
	font-family: 'Rajdhani', sans-serif !important;
	font-weight: bold !important;
}
.ml-form-embedContent p, .ml-form-successContent p:last-child {
	color: #275d38 !important;
	font-family: "Lato";
}
.ml-button-horizontal, .ml-input-horizontal {
    width: 100% !important;
}

/*===============================*HOMEPAGE CSS*===============================*/
.homepage-header {
    text-align: center;
    position: relative;
    margin-bottom: 0;
    border-bottom: 0;
    height: 400px;
    padding-bottom: 100px;
    background-position: top center;
}
h1.online-logo {
    padding-top: 20px;
}
h1.online-logo img {
    width: 568px;
}
h2.online-tagline {
    font-weight: bold;
    background-color: #4BA23F;
    color: #fff;
    text-transform: uppercase;
    width: 100%;
    position: absolute;
    padding: 10px;
    top: -60px;
    font-size: 20px;
    left: 0;
    margin: 0 auto;
    right: 0;
}
.homepage-header h3 {
    color: #fff;
    text-transform: uppercase;
    font-size: 20px;
}



/**===============================*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(https://www.uvu.edu/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(https://www.uvu.edu/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(https://www.uvu.edu/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(https://www.uvu.edu/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(https://www.uvu.edu/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) {
	.start-date {
		bottom: -140px;
		width: 60%;
	}
	
	p.onlinu-content {
		margin-top: 40px;
	}
	.homepage-header {
		height: 450px;
	}
	h1.online-logo {
		padding-top: 20px;
	}
	h2.online-tagline {
		padding: 20px;
		top: -60px;
		width: 70%;
		font-size: 24px;
	}
	.homepage-header h3 {
		font-size: 24px;
	}
	
	/**===============================*MAILERLITE FORM*===============================*/
	.ml-form-embedWrapper.embedForm {
		min-width: 700px !important;
	}
	.ml-form-embedBodyHorizontal {
		padding: 20px 0 0 0 !important;
	}
	.horizontal-fields {
		width: 33.3% !important;
	}
	.ml-input-horizontal {
		width: 70% !important;
	}
	.ml-button-horizontal {
		width: 30% !important;
	}
	.ml-form-horizontalRow input {
		padding: 20px !important;
	}
	
	/**===============================*PROGRAM SECTION*===============================*/
	.home-program-card {
		display: flex;
	}
	.home-program-card .card-content-photo:last-child {
		display: block;
		background: url(https://www.uvu.edu/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(https://www.uvu.edu/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(https://www.uvu.edu/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) {
	/**===============================*MAILERLITE FORM*===============================*/
	.ml-form-embedBodyHorizontal {
		display: flex;
    	align-items: center;
	}
	.ml-form-embedWrapper.embedForm {
		min-width: 1000px !important;
	}
	.padding-change-form {
		padding-top: 45px;
		padding-bottom: 0;
	}
	
	/**===============================*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) {
	.start-date {
		left: unset;
		right: -30px;
		bottom: 0;
		width: 25%;
	}
	.start-date:before {
		width: 250px;
		right: -30px;
	}
	.start-date .apply-button {
		padding: 20px;
		font-size: 20px;
	}
	.start-date h4 {
		font-size: 24px;
		margin-top: 20px;
	}
	p.date {
		font-size: 21px !important;
	}
	
	/*padding change on homepage*/
	.padding-change-top {
		padding-top: 40px;
	}
	
	.homepage-header {
    	margin-bottom: 0;
	}
	
	h1.online-logo {
		padding-top:40px;
	}
	h2.online-tagline {
    	top: -50px;
		font-size: 30px;
	}
	
	/**===============================*MAILERLITE FORM*===============================*/
	.ml-form-embedWrapper.embedForm {
		min-width: 1200px !important;
		z-index: 2;
	}
	.padding-change-form {
		padding-top: 0px;
	}
	.ml-form-embedWrapper:before {
		background-size: 120px;
		width: 120px;
		height: 120px;
		left: -95px;
		top: 20px;
		z-index: -1;
	}
	
	/**===============================*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*/
/*End landscape tablet and up styles*/
/* ====================== Desktop Only (Overrides Mobile and Tablet Styles) ========================== */
@media only screen and (min-width: 1400px) {
	.homepage-header {
		height: 550px;
	}
	h1.online-logo {
		padding-top:80px;
	}
	h2.online-tagline {
    	top: -30px;
	}
	
	.start-date {
		right: -110px;
		width: 30%;
	}
	
	
}