/* 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 ========================== */
/*==================================== HOMEPAGE VIDEO HEADER ============================================*/
section.page-header.jumbo.hero-prisoned {
	overflow: hidden;
	padding: 0;
}
/*---------------------HOME HEADER---------------------*/
.home-header > div {
    display: contents;
}
.home-header {
    padding: 0;
    background-size: contain !important;
    display: flex;
    align-items: end;
    flex-direction: column;
    background-position: bottom;
}
.home-header header {
	width: 100%;
    background-color: #185C33;
    padding: 0;
    min-height: 470px;
       display: flex;
    flex-direction: column-reverse;
}
.home-header h1 {
    font-weight: bold;
    font-size: 50px !important;
}
.home-header p {
    font-size: 18px !important;
}
.header-container {
    padding: 30px 10px;
}

.home-header .home-buttons a {
    border-color: #00843d;
    color: #00843d;
    background-color: #fff;
    display: flex;
    font-weight: 600;
}
.home-header .home-buttons a:hover {
	color: #fff;
	background-color: #00843d;
}
.home-header p:first-child a {
    background-color: #fff;
    color: #00843d;
}

.home-header p:first-child a:hover, .button-solid-inverted:hover {
	color: #fff;
    background-color: #00843d;
}
.button-solid-inverted {
	border-color: #00843d;
    color: #00843d;
    background-color: #fff;
    font-weight: 600;
}

/*---------------------LISTS-----------------------*/
.fa-ul .fa-li span::before {
    font-size: 22px;
}

/*---------------------JOURNEY ACCORDIONS-----------------------*/
details:not(.accordion-unstyled) {
    border-radius: 10px;
	outline: none !important;
	background-color: #f9f9f9 !important;
}
details:not(.accordion-unstyled) summary {
	outline: none !important;
    flex-direction: column;
    align-items: unset;
    border-radius: 10px;
    padding: 80px 60px 40px;
	background-color: #f9f9f9 !important;
}
details:not(.accordion-unstyled) summary::after {
	display: none;
}
details:not(.accordion-unstyled) summary img {
    height: 150px;
    width: 300px;
    object-fit: contain;
}
details:not(.accordion-unstyled):hover {
	    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
details:not(.accordion-unstyled) .external {
    text-decoration: underline;
}
details:not(.accordion-unstyled) .external::after {
	    content: '\f175' !important;
}
.accordion-content h4 {
    font-weight: bold;
}
.accordion-content h3 {
    font-size: 34px;
	margin-top: 0;
}
.accordion-content {
	margin-top: 0 !important;
	    padding: 0 30px 10px !important;
    background-color: #f9f9f9 !important;
    border-top: 0 !important;
}
.accordion-content ul {
    padding-left: 20px;
}
details:not(.accordion-unstyled) .external::before {
    content: "View";
}
/*OPEN STATE*/
details:not(.accordion-unstyled)[open] summary img {
    display: none;
}
details:not(.accordion-unstyled)[open] summary {
	padding: 30px !important;
}
details:not(.accordion-unstyled)[open] .external::before {
    content: "Close";
}
details:not(.accordion-unstyled)[open] .external::after {
	content: '\f176' !important;
}


/*End mobile and up styles*/
/* ====================== Tablet and Up (Overrides Mobile Styles) ========================== */
@media only screen and (min-width: 768px) {
	/*==================================== HOMEPAGE VIDEO HEADER ============================================*/
	.prisoned-video video {
		object-fit: cover;
		object-position: top;
		width: 100%;
		height: 100%;
	}
	header.prisoned-header {
		padding: 0;
	}	
	
	/*---------------------GREEN SECTION---------------------*/
	[data-uvu-section="4"] [data-uvu-region="1"] {
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
}
/*End tablet and up styles*/
/* ====================== Landscape Tablet and Up (Overrides Mobile Styles) ========================== */
@media only screen and (min-width: 992px) {
	/*=================================== HOMEPAGE VIDEO HEADER ============================================*/
	header.prisoned-header {
        height: 450px;
        display: flex;
        flex-direction: column;
        justify-content: center;
		position: relative;
		background-color: unset;
		min-height: unset;
    }
	.prisoned-video {
		height: 450px;
	}
	
	/*---------------------HOME HEADER---------------------*/
	.home-video {
		display: block;
		z-index: -1;
		position: absolute;
		right: 0;
		top: 0;
		width: 100%;
		height: 100%;
		overflow: hidden;
	}
	.home-header {
		background-image: url(/pathways/prison-education/images/banner/gradient.png) !important;
		height: 100%;
        display: block;
        background-size: cover !important;
        background-position: center;
	}
	.header-container {
        width: 70%;
        max-width: 1200px;
        margin-right: auto;
        padding-bottom: 0;
        padding-left: 40px;
        padding-right: 15px;
    }

	
}
/*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.prisoned-header {
        height: 530px;
        padding: 100px 0px;
		align-content: center;
    }
	.prisoned-video {
		height: 500px;
	}
	
	/*---------------------HOME HEADER---------------------*/
	.home-header {
		height: 500px;
	}
	.home-header h1 {
		font-size: 60px !important;
	}
	.home-buttons {
		display: grid;
		grid-gap: 15px;
		grid-template-columns: 1fr 1fr;
		margin-top: 40px;
	}
	
	
}/*end media query*/
/* ====================== Desktop Only (Overrides Mobile and Tablet Styles) ========================== */
@media only screen and (min-width: 1400px) {
	/*==================================== HOMEPAGE VIDEO HEADER ============================================*/
	.header-container {
        margin-left: auto;
        padding-left: 0px;
	}
	.home-buttons {
		grid-template-columns: 1fr 1fr 1fr;
	}
	
}
/*End desktop only styles*/
/*END OF DOCUMENT*/
