/* 
Inclusivity and belonging homepage 
/content/dam/oclc/diversity/inclusivity_homepage.css
*/

/* Reset */

html,
body,
#main-content {
	scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {
	html,
	body,
	#main-content {
		scroll-behavior: auto;
	}
}

.parsys.hero_area {
	margin: 0;
	padding: 0;
	box-shadow: none;
	background: transparent;
	border: none;
}

.header.parbase.section,
.customjavascript.section {
	margin-bottom: 0 !important;
}

#main-content .parsyscolumncontrol.section {
	margin: 0 0 3rem;
}

#main-content .parsyscolumncontrol.section .section {
	margin: 0 0 1rem;
}

.hbox .parsyscolumncontrol.section {
	margin: 0;
}

ul {
	margin: 0 0 2rem 1.5rem;
}

#main-content p,
#main-content li {
	font-size: 18px;
	line-height: 1.33em;
}

p.cta {
	margin-bottom: 0;
}

a sup {
	top: 0;
	bottom: 0;
	vertical-align: super;
}

.center {
	text-align: center;
}

.text-large,
.text-small {
	display: block;
}

.text-large {
	font-size: 22px !important;
	letter-spacing: -0.5px !important;
}

.text-small {
	font-size: 14px !important;
	letter-spacing: 0px !important;
}

.grey {
	color: #455C63;
}

hr {
	margin: 3rem 0 !important;
	border-top: 1px dotted #888B8D;
}

.parbase.textimage.section .image img,
.text.parbase.section img,
.parbase.textimage.section img,
.parbase.image.section img,
.product-page .reference.parbase.section .image img {
	border: none !important;
	padding: 0px !important;
	background: transparent !important;
	border-radius: 0px !important;
}

.image.parbase.section .figure-stack-image {
	margin-bottom: 0;
}

.hbox {
	margin: 0 0 3rem;
	padding: 2.5rem 2.5rem 2rem;
	border-radius: 0px !important;
}

/* Visually hidden https://webaim.org/techniques/css/invisiblecontent/ */
.visually-hidden:not(:focus):not(:active) {
	position: absolute;
	overflow: hidden;
	clip: rect(0 0 0 0);
	height: 1px;
	width: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	white-space: nowrap;
}

@media screen and (max-width: 980px) {
	#main-content {
		width: 96%;
		padding: 0 !important;
		margin-left: 2% !important;
		margin-right: 2% !important;
	}
}

@media screen and (max-width: 800px) {
	ul {
		margin-left: 1.25rem;
	}

	p.cta {
		margin-bottom: 3rem;
	}

	.hbox {
		padding: 1.5rem 1.5rem 1rem;
	}
}

@media screen and (max-width: 600px) {
	.image.parbase.section .img-flt-right,
	.textimage.parbase.section .img-flt-right,
	.image.parbase.section .img-flt-right-nobrdr,
	.textimage.parbase.section .img-flt-right-nobrdr,
	.image.parbase.section .img-flt-left,
	.textimage.parbase.section .img-flt-left,
	.image.parbase.section .img-flt-left-nobrdr,
	.textimage.parbase.section .img-flt-left-nobrdr {
		float: none;
		margin: 1rem 0 0.75rem 0;
	}

	nobr {
		white-space: normal;
	}
}


/* Pills nav */

ul#pill-nav,
ul#pill-nav li a,
ul#pill-nav li a:hover,
ul#pill-nav li a.pill-nav-active,
ul#pill-nav li a.pill-nav-active:visited,
ul#pill-nav li a.pill-nav-active:hover {
	background: none !important;
}

ul#pill-nav {
	margin: 0 0 3rem;
	border: none;
	border-radius: 0px;
}

ul#pill-nav li {
	margin: 0 25px 0 0;
	padding: 5px 0;
}

ul#pill-nav li a,
ul#pill-nav li a:hover {
	text-decoration: none;
	text-shadow: none;
	border-radius: 0px;
	padding: 0;
	font-size: 14px;
	line-height: 2;
}

ul#pill-nav li a,
ul#pill-nav li a:visited {
	color: var(--link);
}

ul#pill-nav li a:hover {
	color: var(--text-primary);
}

ul#pill-nav li a.pill-nav-active,
ul#pill-nav li a.pill-nav-active:visited,
ul#pill-nav li a.pill-nav-active:hover {
	font-weight: 600;
	color: var(--text-primary);
}

@media screen and (max-width: 600px) {
	ul#pill-nav li {
		display: block;
		float: none;
	}
}


/* Racial equity hero */

#re-hero {
	background-color: #888B8D;
	background-image: url('/content/dam/oclc/diversity/equity-hero.png');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}

@media screen and (min-width: 1440px) {
	#re-hero .parsyscolumncontrol .cq-colctrl-1-fc {
		width: 1280px;
	}
}

@media screen and (max-width: 600px) {
	#re-hero {
		background-position: top center;
	}
}

#re-hero .parsys_column.cq-colctrl-1-fc-c0 {
	padding: 6rem 48px !important;
}

#re-hero .text.parbase.section {
	margin-bottom: 0;
}

#re-hero h1 {
	margin: 0 0 2rem;
}

#re-hero h1 .deck1,
#re-hero h1 .deck2 {
	display: table;
}

#re-hero h1 .deck1 {
	background: white;
	padding: 14px 16px 10px;
    font-weight: 400;
	font-size: 36px;
	line-height: 1.1em;
	color: #236192;
	letter-spacing: -1px;
}

#re-hero h1 .deck2 {
	border: 8px solid white;
	padding: 16px 22px;
	background: url('/content/dam/oclc/diversity/bg_equity_headline.png');
	font-family: 'OCLC Stencil', Helvetica, Arial, 'Arial Unicode MS', sans-serif;
	font-size: 96px;
	line-height: 1em;
	color: #ffffff;
	letter-spacing: 0.5px;
}

#re-hero p.subhed {
	width: 50%;
	margin: 0;
	font-weight: 700;
	font-size: 32px;
	line-height: var(--line-height-sm);
	color: #ffffff;
	letter-spacing: -0.5px;
	text-shadow: 0px -1px 30px rgba(29, 27, 45, 0.5);
}

@media screen and (min-width: 1480px) {
	#re-hero p.subhed {
		width: 40%;
	}
}

@media screen and (max-width: 600px) {
	#re-hero h1 {
		margin: 0;
	}

	#re-hero h1 .deck1 {
		font-size: 32px;
	}

	#re-hero h1 .deck2 {
		font-size: 80px;
	}

	#re-hero p.subhed {
		width: auto;
		background: #007DBA;
		padding: 18px 22px;
		text-shadow: none;
	}
}

@media screen and (max-width: 480px) {
	#re-hero .parsys_column.cq-colctrl-1-fc-c0 {
		padding: 4rem 36px 3rem !important;
	}

	#re-hero h1 .deck1 {
		padding: 12px 14px 10px;
		font-size: 28px;
	}

	#re-hero h1 .deck2 {
		/* width: min-content; */
		min-width: 70%;
		/* border-width: 0 6px 6px; */
		padding: 12px 22px 16px;
		font-size: 66px;
	}
}

@media screen and (max-width: 360px) {
	#re-hero .parsys_column.cq-colctrl-1-fc-c0 {
		padding: 4rem 28px 3rem !important;
	}

	#re-hero h1 .deck1 {
		font-size: 26px;
	}

	#re-hero h1 .deck2 {
		/* min-width: 80%; */
		padding: 10px 20px 14px;
		font-size: 54px;
	}

	#re-hero p.subhed {
		font-size: 28px;
	}
}


/* Columns */

#main-content div.parsyscolumncontrol .parsys_column>.parsys {
	padding: 0 !important;
}

	/* 50/50 */

	#main-content div.parsyscolumncontrol .cq-colctrl-lt0-c0 {
		width: 48%;
		margin-right: 2%;
	}

	#main-content div.parsyscolumncontrol .cq-colctrl-lt0-c1 {
		width: 48%;
		margin-left: 2%;
	}

	/* 33/67 */

	#main-content div.parsyscolumncontrol .cq-colctrl-lt1-c0 {
		width: 31%;
		margin-right: 2%;
	}

	#main-content div.parsyscolumncontrol .cq-colctrl-lt1-c1 {
		width: 65%;
		margin-left: 2%;
	}

	/* 67/33 */

	#main-content div.parsyscolumncontrol .cq-colctrl-lt2-r-c0 {
		width: 65%;
		margin-right: 2%;
	}

	#main-content div.parsyscolumncontrol .cq-colctrl-lt2-r-c1 {
		width: 31%;
		margin-left: 2%;
	}

	/* 33/33/33 */

	#main-content div.parsyscolumncontrol .cq-colctrl-lt2-c0,
	#main-content div.parsyscolumncontrol .cq-colctrl-lt2-c1,
	#main-content div.parsyscolumncontrol .cq-colctrl-lt2-c2 {
		width: 31%;
	}

	#main-content div.parsyscolumncontrol .cq-colctrl-lt2-c0 {
		margin-right: 1.75%;
	}

	#main-content div.parsyscolumncontrol .cq-colctrl-lt2-c1 {
		margin-left: 1.75%;
		margin-right: 1.75%;
	}

	#main-content div.parsyscolumncontrol .cq-colctrl-lt2-c2 {
		margin-left: 1.75%;
	}


@media screen and (max-width: 800px) {
	#main-content div.parsyscolumncontrol .cq-colctrl-lt0-c0,
	#main-content div.parsyscolumncontrol .cq-colctrl-lt0-c1,
	#main-content div.parsyscolumncontrol .cq-colctrl-lt1-c0,
	#main-content div.parsyscolumncontrol .cq-colctrl-lt1-c1,
	#main-content div.parsyscolumncontrol .cq-colctrl-lt2-r-c0,
	#main-content div.parsyscolumncontrol .cq-colctrl-lt2-r-c1,
	#main-content div.parsyscolumncontrol .cq-colctrl-lt2-c0,
	#main-content div.parsyscolumncontrol .cq-colctrl-lt2-c1,
	#main-content div.parsyscolumncontrol .cq-colctrl-lt2-c2 {
		float: none;
		width: 100% !important;
		margin-left: 0;
		margin-right: 0;
	}
}


/* Intro */

#re-intro {
	margin: 2rem 0 2rem;
	display: table;
}

#re-intro h2 {
	margin: 0 auto 3rem;
	text-align: center;
	font-weight: 300;
	font-size: 56px;
	line-height: 1.15em;
}

#re-intro p.sub {
	margin-bottom: 2rem;
	font-weight: 600;
	font-size: 24px;
	line-height: 1.25em;
	letter-spacing: -0.5px;
}

@media screen and (max-width: 800px) {
	#re-intro h2 {
		font-size: 48px !important;
	}
}

@media screen and (max-width: 480px) {
	#re-intro h2 {
		font-size: 40px !important;
	}
	
	#re-intro p.sub {
		font-size: 21px;
	}
}

.parbase.image.section img.equity-img {
	border: 0px;
	padding: 0px;
	margin: 30px 0 0 0;
	border-radius: 8px;
	background: #fff;
}


/* Merged */

#re-culture,
#re-technology,
#re-response {
	margin-bottom: 4rem;
}

#re-culture h2,
#re-technology h2,
#re-response h2 {
	width: 88%;
	margin: 0 6% 2rem;
	font-weight: 300;
	font-size: 44px;
	line-height: 1.15em;
	letter-spacing: var(--auto-letter-spacing);
	text-align: center;
}

#re-technology h2,
#re-response h2 {
	margin-bottom: 4rem;
}

@media screen and (max-width: 800px) {
	#re-technology .image.parbase.section,
	#re-response .image.parbase.section {
		max-width: 65%;
		margin: 0 auto 1rem;
	}
}

@media screen and (max-width: 600px) {
	#re-culture,
	#re-technology,
	#re-response {
		margin-bottom: 6rem;
	}
	#re-culture h2,
	#re-technology h2,
	#re-response h2 {
		width: 100%;
		margin: 4rem 0 2rem;
		font-size: 36px;
		letter-spacing: var(--auto-letter-spacing);
	}
}


/* Vertical centering */ 

#photo-left, #photo-right {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	margin-bottom: 2rem;
}

@media screen and (max-width: 800px) {
	#photo-left, #photo-right {
		margin-bottom: 4rem !important;
	}
	#photo-left {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-flow: column;
		flex-flow: column;
	}
	#photo-right {
		-webkit-box-orient: vertical;
		-webkit-box-direction: reverse;
		-ms-flex-flow: column-reverse;
		flex-flow: column-reverse;
	}
}


/* Technology */

@media screen and (max-width: 800px) {
	#re-technology .image.parbase.section {
		margin-bottom: 3rem;
	}
}


/* Culture */

#re-culture ul {
	margin: 2rem 2rem 0;
}

#re-culture li {
	list-style: none;
	border-bottom: solid 1px #cecece;
	background-color: #efefef;
	margin: 0 0 20px 0;
	padding: 15px;
}

@media screen and (max-width: 480px) {
	#re-culture ul {
		margin: 2rem 0 0;
	}
}


/* Responding to needs */

#re-response h3 {
	margin: 0 0 .5rem 0;
	font-weight: 600;
	font-size: 32px;
	letter-spacing: -0.25px;
}

@media screen and (max-width: 600px) {
	#re-response h3 {
		font-size: 26px;
	}
}


