/*
Community Center product page
/content/dam/oclc/community-center/css/cc_homepage.css
*/

/* Reset */

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

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

.header.parbase.section,
.customjavascript.section,
.page-content .parsyscolumncontrol.section,
#main-content .parsyscolumncontrol.section,
.hero_area div.parsyscolumncontrol {
	margin-bottom: 0 !important;
}

.parsys.hero_area, .product-page .parsys.hero_area {
	position: relative;
	height: auto !important;
	margin: 0 0 4rem !important;
	background-color: transparent !important;
	border: none;
	padding: 0;
	box-shadow: none;
}

h1, h2, h3, h4, h5, h6, p, li {
	color: #333F48;
}

p.cta {
	margin: 0;
}

#main-content h1 {
	margin: 0 0 2rem;
	font-family: 'Graphik Light', Helvetica, Arial, sans-serif;
	font-size: 48px;
	line-height: 54px;
	letter-spacing: -1px;
}

#main-content h2 {
	margin: 3rem 0 1rem;
	font-family: 'Graphik Bold', Helvetica, Arial, 'Arial Unicode MS', sans-serif;
	font-size: 32px;
	line-height: 38px;
	letter-spacing: -0.5px;
}

#main-content h3 {
	margin: 1.5rem 0 1rem;
	font-family: 'Graphik Semibold', Helvetica, Arial, 'Arial Unicode MS', sans-serif;
	font-size: 24px;
	line-height: 28px;
	letter-spacing: -0.25px;
}

#main-content h4 {
	margin: 1rem 0 0.5rem;
	font-family: 'Graphik Semibold', Helvetica, Arial, 'Arial Unicode MS', sans-serif;
	font-size: 18px;
	line-height: 22px;
	letter-spacing: -0.25px;
	color: #455B63;
}

#main-content h2.first,
#main-content h3.first,
#main-content h4.first,
#main-content .hbox h2,
#main-content .hbox h3 {
	margin-top: 0;
}

#main-content p,
#main-content li {
	font-family: 'Graphik Regular', Helvetica, Arial, 'Arial Unicode MS', sans-serif;
	font-size: 18px;
	line-height: 23px;
	letter-spacing: -0.25px;
}

#main-content p, #main-content li {
	margin: 0 0 1.3rem 0;
}

#main-content p strong {
	font-family: 'Graphik Bold', Helvetica, Arial, 'Arial Unicode MS', sans-serif;
	letter-spacing: 0px;
}

#main-content p.cta {
	margin: 0;
}

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

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

.text-large {
	font-size: 24px !important;
	line-height: 30px !important;
	letter-spacing: -0.5px !important;
}

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

.parbase.section,
.parbase.image.section img {
	margin: 0 !important;
}

.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;
}

strong, b {
	font-family: 'Graphik Bold', Helvetica, Arial, sans-serif;
}

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

#main-content .hbox {
	border-radius: 0px !important;
	margin: 0 !important;
	padding: 32px !important;
}

.center {
	text-align: center;
}

.visually-hidden {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

@media screen and (max-width: 600px) {
	#main-content {
		width: 94%;
		padding: 0 !important;
		margin-left: 3% !important;
		margin-right: 3% !important;
	}
	#main-content h1 {
		font-size: 42px;
		line-height: 48px;
		letter-spacing: -0.75px;
	}
}

@media screen and (max-width: 480px) {
	#main-content .hbox {
		padding: 24px 14px !important;
	}
	#main-content h2 {
		font-size: 28px;
		line-height: 32px;
		letter-spacing: -0.25px;
	}
}

@media screen and (max-width: 360px) {
	nobr {
		white-space: normal;
	}
}


/* Columns */

div.parsyscolumncontrol .parsys_column > .parsys {
	padding: 0 !important;
}

	/* 50/50 */

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

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

	/* 33/67 */

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

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

	/* 67/33 */

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

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

	/* 33/33/33 */

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

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

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

	div.parsyscolumncontrol .cq-colctrl-lt2-c2 {
		margin-left: 1.75%;
	}
	
	/* 960px width */

	div.parsyscolumncontrol .cq-colctrl-1-fc {
		max-width: 960px;
		display: table;
		margin: 0 auto;
	}

@media screen and (min-width: 1450px) {
	.parsys.hero_area div.parsyscolumncontrol .cq-colctrl-1-fc {
		width: 1180px;
	}
}

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

#cc-quote.parsys_column.cq-colctrl-lt1,
#cc-quote.parsys_column.cq-colctrl-lt2-r {
	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: 0;
}

@media screen and (max-width: 800px) {
	#cc-quote.parsys_column.cq-colctrl-lt1 {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-flow: column;
		flex-flow: column;
	}
	#cc-quote.parsys_column.cq-colctrl-lt2-r {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-flow: column-reverse;
		flex-flow: column-reverse;
	}
}


/* Hero */

#cc-hero {
	padding: 4rem 0 !important;
	background: rgb(0,181,223);
	background: linear-gradient(60deg, rgba(0,181,223,1) 0%, rgba(0,85,139,1) 100%); 	
	background-image: url('/content/dam/oclc/community-center/images/bg_hero_community_center.png');
	background-image: url('/content/dam/oclc/community-center/images/bg_hero_community_center.svg'), linear-gradient(transparent, transparent);
	background-repeat: repeat-x;
	background-position: center center;
	background-size: cover;
}

#cc-hero h1, #cc-hero p.subhed {
	color: #ffffff;
	text-shadow: 0px 0px 36px #008DBD;
}

#cc-hero h1 {
	margin: 0 0 1rem;
	font-family: 'Graphik Light', Helvetica, Arial, sans-serif;
	font-size: 72px;
	line-height: 80px;
	letter-spacing: -1.5px;
}

#cc-hero p.subhed {
	margin: 0 0 2rem;
	font-family: 'Graphik Semibold', Helvetica, Arial, sans-serif;
	font-size: 28px;
	line-height: 34px;
	letter-spacing: -0.25px;
}

@media screen and (max-width: 1028px) {
	#cc-hero .parsys_column.cq-colctrl-1-fc {
		width: 92%;
		margin: 0 4% !important;
	}
}

@media screen and (max-width: 800px) {
	#cc-hero {
		padding: 3rem 0 !important;
		background-position: right center;
		background-size: 250%;
	}
	#cc-hero h1, #cc-hero p.subhed {
		text-shadow: none;
	}
	#cc-hero h1 {
		font-size: 60px;
		line-height: 68px;
		letter-spacing: -1.0px;
	}
	#cc-hero p.subhed {
		font-size: 24px;
		line-height: 30px;
		letter-spacing: 0px;
	}
}

@media screen and (max-width: 480px) {
	#cc-hero {
		background-size: 300%;
	}
	#cc-hero h1 {
		font-size: 52px;
		line-height: 58px;
		letter-spacing: -0.75px;
	}
}

@media screen and (max-width: 360px) {
	#cc-hero {
		background-size: 350%;
	}
}


/* Merged */

#cc-intro, #cc-body, #cc-quote {
	margin-bottom: 3rem !important;
}


/* Intro */

#cc-intro p {
	padding-bottom: 2.5rem;
	font-family: 'Graphik Light', Helvetica, Arial, 'Arial Unicode MS', sans-serif;
	font-size: 32px;
	line-height: 38px;
	letter-spacing: -0.25px;
	text-align: center;
	border-bottom: 1px dotted #888B8D;
}

@media screen and (max-width: 800px) {
	#cc-intro p {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
  		font-size: 28px;
		line-height: 34px;
	}
}

@media screen and (max-width: 480px) {
	#cc-intro p {
		font-size: 26px;
		line-height: 32px;
	}
}

@media screen and (max-width: 360px) {
	#cc-intro p {
		font-size: 24px;
		line-height: 30px;
	}
}



/* Body */

#cc-body .parsys_column.cq-colctrl-lt0-c0, #cc-body .parsys_column.cq-colctrl-lt0-c1 {
	margin-bottom: 2.5rem;
}

#cc-body h2 {
	margin: 0 0 2.5rem;
	font-size: 36px;
	line-height: 42px;
	text-align: center;
}

#cc-body h3 {
	margin: 0 0 1rem;
}

#cc-body .textimage .image.img-flt-right-nobrdr {
	width: 180px;
	margin: 14px 0 14px 24px;
}

@media screen and (min-width: 1450px) {
	#cc-body .textimage .image.img-flt-right-nobrdr {
		width: 200px;
	}
}

@media screen and (max-width: 600px) {
	#cc-body .textimage .image.img-flt-right-nobrdr {
		width: 160px;
	}
}

@media screen and (max-width: 480px) {
	#cc-body h2 {
		font-size: 32px;
		line-height: 38px;
	}
	#cc-body .textimage .image.img-flt-right-nobrdr {
		float: none;
		margin: 0 0 30px 2px;
		width: auto;
		max-width: 250px;
	}
	#cc-body .textimage .figure-stack-image {
		text-align: left;
	}
}


/* Quote */

#cc-quote.parsys_column.cq-colctrl-lt2-r {
	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: 0;
}

#cc-quote {
	margin: 2rem 0;
	padding: 2rem 0 !important;
	border-top: 1px dotted #888B8D;
	border-bottom: 1px dotted #888B8D;
}	

#cc-quote p.quote {
	font-family: 'Graphik Light', Helvetica, Arial, 'Arial Unicode MS', sans-serif;
	font-size: 28px;
	line-height: 34px;
	color: #236192;
}	

#cc-quote p.attr {
	margin: 0;
}

#cc-quote .image.parbase.section {
	max-width: 320px;
	margin: 0 auto !important;
}

@media screen and (max-width: 800px) {
	#cc-quote.parsys_column.cq-colctrl-lt2-r {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-flow: column-reverse;
		flex-flow: column-reverse;
	}
	#cc-quote .image.parbase.section {
		margin: 0 auto 1rem !important;
	}
}

@media screen and (max-width: 480px) {
	#cc-quote p.quote {
		font-size: 26px;
		line-height: 32px;
	}
}


/* Join callout */

#cc-join {
	margin-top: 2rem;
	margin-bottom: 3rem;
}

#cc-join .hbox {
	background: transparent;
	border: 1px solid #236192;
}

#cc-join h2 {
	margin: 0 0 1rem;
	font-size: 32px;
	line-height: 38px;
}

#cc-join .parsys_column.cq-colctrl-lt0 {
	width: 84%;
	margin-top: 14px;
	margin-left: 8%;
	margin-right: 8%;
}


#cc-join .textimage .image.img-flt-left-nobrdr {
	width: 60px;
	margin: 0 14px 24px 0;
}

#cc-join .textimage p {
	font-family: 'Graphik Medium', Helvetica, Arial, 'Arial Unicode MS', sans-serif;
}

#cc-join p.cta {
	text-align: center;
}

#cc-join p.cta a.btn-link {
	margin-left: 1rem;
	margin-right: 1rem;
}


@media screen and (max-width: 800px) {
	#cc-join .parsys_column.cq-colctrl-lt0-c0 {
		margin-bottom: 0;
	}
	#cc-join .parsys_column.cq-colctrl-lt0 {
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
}


/* Help */

@media screen and (max-width: 800px) {
	#cc-help .parsys_column.cq-colctrl-lt0-c0 {
		margin-bottom: 3rem;
	}
}


/* Link buttons */

a.btn-link {
	display: inline-block;
	margin: 0 0 1rem;
	padding: 12px 18px 10px;
	font-family: 'Graphik Bold', Helvetica, Arial, 'Arial Unicode MS', sans-serif;
	font-size: 18px;
	line-height: 22px;
	text-decoration: none !important;
	transition: 0.3s;
	box-shadow: none;
	text-shadow: none;
	border: none;
	outline: none !important;
	border-radius: 0px;
	color: #ffffff !important;
}

#cc-hero a.btn-link {
	font-size: 21px;
	line-height: 25px;
	padding: 14px 18px;
}

a.btn-link.blue {
	background: #2178b5;
}

a.btn-link.blue:hover,
a.btn-link.blue:active {
	color: #ffffff !important;
	background: #005da1;
}

a.btn-link.outline.blue {
	padding: 8px 14px 6px;
	background: transparent;
	color: #2178b5 !important;
	border: 4px solid #2178b5;
}

a.btn-link.outline.blue:hover,
a.btn-link.outline.blue:active {
	background: transparent;
	color: #005da1 !important;
	border: 4px solid #005da1;
}

a.btn-link.magenta {
	background: #ae2573;
}

a.btn-link.magenta:hover,
a.btn-link.magenta:active {
	color: #ffffff;
	background: #921553;
}

a.btn-link.outline.magenta {
	padding: 8px 14px 6px;
	background: transparent;
	color: #ae2573 !important;
	border: 4px solid #ae2573;
}

a.btn-link.outline.magenta:hover,
a.btn-link.outline.magenta:active {
	background: transparent;
	color: #921553 !important;
	border: 4px solid #921553;
}

a.btn-link.orange {
	background: #e87722;
}

a.btn-link.orange:hover,
a.btn-link.orange:active {
	color: #ffffff;
	background: #dd5713;
}
