  /* fix Safari bug */
@media not all and (min-resolution:.001dpcm) {
	body { overflow-x: hidden; }
}

@media (min-width: 751px) {

	.uw-story-body .profile-boxes ul.profiles.four-columns {
		grid-template-columns: 1fr 2fr;
	}
	.uw-story-body .profile-boxes ul.profiles.five-columns {
		grid-template-columns: 2fr 1fr;
	}
	.uw-story-body .profile-boxes ul.profiles.three-columns {
		grid-template-columns: 1fr 1fr 1fr;
	}
	.uw-story-body .profile-boxes ul.profiles li.profile img {
		width: 75vw;
		min-height: 100%;
	}
}

#flex-content-section-2 {
	height: auto;
}

.uw-story-body .profile-boxes ul.profiles li.profile {
	max-height: 500px;
	max-height: 70vh;
}

.uw-story-body .profile-boxes ul.profiles:first-child {
	padding-right: 10px;
}

.uw-story-body .profile-boxes ul.profiles:last-child {
	padding-left: 10px;
}

@supports (grid-column-gap: 0.588rem) {
	.uw-story-body .profile-boxes ul.profiles:first-child, .uw-story-body .profile-boxes ul.profiles:last-child {
		padding: 0;
	}
	.uw-story-body .profile-boxes ul.profiles {
		grid-gap: 20px;
	}
}

.uw-story-body .profile-boxes ul.profiles li.profile:focus, .uw-story-body .profile-boxes ul.profiles li.profile img:focus {
	outline: none;
}

.uw-story-body .copy h2 {
	font-family: "Encode Sans Normal", sans-serif;
	font-weight: 900;
	text-transform: uppercase;
	font-size: 35px;
}

.uw-accordion-shortcode__header {
	font-family: "Encode Sans Compressed", sans-serif;
	font-size: 25px;
	padding: 20px;
	margin-left: -20px;
	width: calc(100% + 40px);
	line-height: normal;
}

.uw-accordion-shortcode__header:before {
	background-position: unset !important;
	height: 35px;
	width: 35px;
	margin: 0;
}
.uw-accordion-shortcode__header[aria-expanded="false"]:before {
	background-image: url(/wp-content/themes/uw-impact/immersive-stories/custom/PLUS_black.svg);
}
.uw-accordion-shortcode__header[aria-expanded="true"]:before {
	background-image: url(/wp-content/themes/uw-impact/immersive-stories/custom/MINUS_black.svg);
}
.uw-accordion-shortcode__header:hover:before,
.uw-accordion-shortcode__header[aria-expanded="false"]:focus:before{
	background-image: url(/wp-content/themes/uw-impact/immersive-stories/custom/PLUS_WHITE.svg);
}
.uw-accordion-shortcode__header[aria-expanded="true"]:focus:before,
.uw-accordion-shortcode__header[aria-expanded="true"]:hover:before {
	background-image: url(/wp-content/themes/uw-impact/immersive-stories/custom/MINUS_WHITE.svg);
}
.uw-accordion-shortcode__header:hover,
.uw-accordion-shortcode__header:focus {
	background-color: #4b2e83;
	color: white;
}

.uw-story-columns .quote-block:before {
	content: "";
	display: block;
	height: 100%;
	max-height: 300px;
	position: absolute;
	z-index: -1;
	width: 100vw;
	background: #ECDFC2 0% 0% no-repeat padding-box;
	border-radius: 110px;
	opacity: 0.46;
}

.uw-story-columns .right-column .quote-block:before {
	left: 50px;
	left: 30%;

}
.uw-story-columns .left-column .quote-block:before {
	right: 50px;
	right: 40%;
	background: #4C2B85 0% 0% no-repeat padding-box;
	opacity: 0.12;
}
.uw-story-body figure.quote-block div {
	border-left: none;
	padding: 0;
}

.uw-story-body figure.quote-block div blockquote {
	font-family: "Encode Sans Light", sans-serif;
	font-weight: 200;
	font-size: 50px;
	color: #373A3C;
	line-height: normal;
	margin-bottom: 0;
}

@media (min-width: 769px) {
	.uw-story-body .uw-story-columns .row .right-column .quote-block { padding: 0 0 0 40px; }
	.uw-story-body .uw-story-columns .row .left-column .quote-block { padding: 0 40px 0 0; }
	.uw-story-body #half-columns-12 .row .left-column .quote-block { padding: 0 20px 0 0; }
}

#half-columns-18 .left-column .quote-block:before {
	background: #ECDFC2 0% 0% no-repeat padding-box;
	opacity: 0.46;
}

#copy-block-1 {
  background: #4c2b85;
  margin: 0;
  width: 100vw;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background-size: cover;
  background-position: 50%;
  background-repeat: no-repeat;
  max-width: 100vw;
  padding: 0;
}

#copy-block-1 .row { padding: 30px 40px; max-width: 1400px; }

#copy-block-1 p { color: white; }

.uw-story-columns p strong {
	font-family: Encode Sans Compressed,sans-serif;
	font-weight: 700;
	font-size: 25px;
	color: #4b2e83;
}

.uw-story-header h1.text-primary {
	font-family: "Encode Sans Normal", sans-serif;
}

.uw-story-header .text-primary p {
	font-weight: 900;
}

#copy-block-5 .row, #copy-block-8 .row, #copy-block-11 .row, #copy-block-14 .row, #copy-block-17 .row, #copy-block-20 .row { padding-top: 0; }

#copy-block-20 .row { padding-bottom: 80px; }

@media (max-width: 767px) {
	#flex-content-section-2  .row {
		padding: 60px 40px;
	}
	.uw-story-body figure.quote-block div blockquote {
		font-size: 35px;
	}
	.profile-boxes {
		overflow: hidden;
	}
	.uw-story-body .copy h2 {
		font-size: 30px;
	}
	.uw-story-header.mobile-header-center.primary.background-image:before {
		background: -webkit-gradient(linear,left top,left bottom,color-stop(10%,hsla(0,0%,100%,0)),color-stop(50%,hsla(0,0%,100%,.95)),color-stop(90%,hsla(0,0%,100%,0)));
		background: linear-gradient(180deg,hsla(0,0%,100%,0) 10%,hsla(0,0%,100%,.95) 50%,hsla(0,0%,100%,0) 90%);
	}
}

@media (min-width: 477px) and (max-width: 767px) {
	.uw-story-header.mobile-header-center.background-image .w-50 { width: 80% !important; margin-top: 80px; }
}

@media (min-width: 310px) and (max-width: 476px) {
	.uw-story-header.mobile-header-center.background-image .w-50 { width: 100% !important; padding: 20px !important; background:rgba(255,255,255,0.8); }
}

@media (max-width: 1023px) {
	#half-columns-3 .right-column,
	#half-columns-9 .right-column,
	#half-columns-15 .right-column {
		-webkit-box-ordinal-group: -1;
		-moz-box-ordinal-group: -1;
		-ms-flex-order: -1;
		-webkit-order: -1;
		order: -1;
	}
}

@media (min-width: 481px) and (max-width: 1024px) {
	.uw-story-body .profile-boxes ul.profiles li.profile { max-height: 40vh; }
}
