/* 
Resource Sharing for Groups homepage 
/content/dam/oclc/resource-sharing-groups/css/rsg_homepage.css
*/

/* Reset */

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

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

.page-content .parsyscolumncontrol.section,
#main-content .parsyscolumncontrol.section,
.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;
}

h1, h2, h3, h4, h5, h6 {
	text-wrap: auto;
}

#main-content p, #main-content li {
	font-size: 18px;
	line-height: 23px;
	font-weight: 400;
	letter-spacing: 0;
	margin: 0 0 1.3rem 0;
}

#main-content 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;
	line-height: 28px !important;
	letter-spacing: -0.5px !important;
}

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

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

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

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

@media screen and (max-width: 800px) {
	p.cta {
		margin-bottom: 3rem;
	}
	#main-content .hbox {
		padding: 1.5rem 1.5rem 1rem;
	}
}

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


/* Merged */

#rsg-body h2,
#rsg-cta h2 {
	margin: 0 0 1rem;
	font-weight: 700;
	font-size: 32px;
	line-height: 38px;
	letter-spacing: -0.5px;
}

#rsg-body #photo-left, 
#rsg-body #photo-right {
	margin: 0 0 3rem !important;
}

@media screen and (max-width: 800px) {
	#rsg-body #photo-left .image.parbase.section, 
	#rsg-body #photo-right .image.parbase.section {
		max-width: 600px;
		margin: 0 auto 2rem auto !important;
	}
}


/* Intro */

#rsg-intro {
	margin-bottom: 1rem;
}

#rsg-intro h1 {
	width: 86%;
	margin: 0 7% 2.5rem;
	font-weight: 300;
	font-size: 48px;
	line-height: 54px;
	letter-spacing: -1px;
	text-align: center;
}

#rsg-hero {
	margin-bottom: 3rem !important;
}

#rsg-hero .image.parbase.section {
  margin-bottom: 0 !important;
}

#rsg-hero .parsys_column.cq-colctrl-lt0-c0,
#rsg-hero .parsys_column.cq-colctrl-lt0-c1 {
	width: 50%;
	margin: 0;
}

@media screen and (max-width: 800px) {
	#rsg-hero .parsys_column.cq-colctrl-lt0-c0,
	#rsg-hero .parsys_column.cq-colctrl-lt0-c1 {
		width: 100% !important;
		margin: 0 auto !important;
	}
	#rsg-hero .image.parbase.section {
		max-width: 600px;
		margin: 0 auto !important;
	}
}

#rsg-intro p.intro {
	width: 86%;
	margin: 0 7% 2rem;
}


/* 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%;
	}
	
	/* 25/75 */
	
	div.parsyscolumncontrol .cq-colctrl-lt6-c0 {
		width: 23%;
		margin-right: 2%;
	}

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

@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,
	div.parsyscolumncontrol .cq-colctrl-lt6-c0,
	div.parsyscolumncontrol .cq-colctrl-lt6-c1 {
		width: 92% !important;
		margin-left: 4%;
		margin-right: 4%;
	}
	.hbox div.parsyscolumncontrol .cq-colctrl-lt0-c0,
	.hbox div.parsyscolumncontrol .cq-colctrl-lt0-c1,
	.hbox div.parsyscolumncontrol .cq-colctrl-lt6-c0,
	.hbox div.parsyscolumncontrol .cq-colctrl-lt6-c1 {
		width: 100% !important;
		margin-left: 0;
		margin-right: 0;
	}
}


/* Flex columnar vertical centering */

#rsg-stats .text.parbase.section,
#rsg-body #photo-left,
#rsg-body #photo-right,
#rsg-quote.parsys_column.cq-colctrl-lt1,
#rsg-quote.parsys_column.cq-colctrl-lt2-r,
#rsg-callout-apis .parsys_column.cq-colctrl-lt6 {
	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) {
	#rsg-stats .text.parbase.section,
	#rsg-body #photo-left,
	#rsg-quote.parsys_column.cq-colctrl-lt1,
	#rsg-callout-apis .parsys_column.cq-colctrl-lt6 {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-flow: column;
		flex-flow: column;
	}
	#rsg-body #photo-right,
	#rsg-quote.parsys_column.cq-colctrl-lt2-r {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-flow: column-reverse;
		flex-flow: column-reverse;
	}
}


/* Testimonial quote */

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

#rsg-quote p.quote {
	font-weight: 300;
	font-size: 28px;
	line-height: 34px;
	color: #236192;
}	

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


/* Callouts */

#rsg-callout-customization, #rsg-callout-apis {
	display: table;
	margin-bottom: 3rem;
}

#rsg-callout-customization .hbox, #rsg-callout-apis .hbox {
	border: 1px solid #007DBA;
	background: transparent;
}

#rsg-callout-customization .hbox .parsys_column.cq-colctrl-lt0,
#rsg-callout-apis .hbox .parsys_column.cq-colctrl-lt6 {
	margin-bottom: 1rem;
}

#rsg-callout-customization h2, #rsg-callout-apis h2 {
	margin: 0 0 2rem;
	font-weight: 500;
}


/* Link buttons */

a.btn-link {
	display: inline-block;
	margin: 0;
	padding: 12px 18px 10px;
	font-weight: 700;
	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;
}

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

a.btn-link.green {
	background: #4C8C2B;
}

a.btn-link.green:hover,
a.btn-link.green:active {
	color: #ffffff;
	background: #316c19;
}

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

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

#rsg-body p.cta {
	margin-bottom: 0;
}

#rsg-contact-jumplink {
	margin-bottom: 42px;
}


/* Bottom */

#rsg-bottom {
	padding-top: 6rem !important;
}

#rsg-bottom p.form-required {
	font-size: 14px;
}

#rsg-bottom p.form-required b {
	color: #c25400;
}

#rsg-bottom .hbox h2 {
	width: 100%;
	text-align: left;
	margin: 0 0 8px;
	font-weight: 700;
	font-size: 32px;
	line-height: 36px;
	letter-spacing: -0.5px;
}

#rsg-bottom ul.resources {
	margin: 0;
}

#rsg-bottom ul.resources li {
	list-style-type: none;
}

#rsg-bottom h3, 
#rsg-bottom .newslist.parbase.section h2,
#rsg-bottom .eventlist.parbase.section h3,
#rsg-bottom .profilelist.parbase.section h1 {
	width: 100%;
	padding: 0;
	font-weight: 700;
	font-size: 21px;
	line-height: 25px;
	letter-spacing: -0.25px;
	text-align: left;
	color: #333F48;
	border: none;
}

#rsg-bottom h3, 
#rsg-bottom .newslist.parbase.section h2,
#rsg-bottom .eventlist.parbase.section h3,
#rsg-bottom .profilelist.parbase.section h1 {
	width: 100%;
	margin: 28px 0 8px;
}

#rsg-bottom .newslist.parbase.section h3,
#rsg-bottom .eventlist.parbase.section .list-ue-eventtitle {
	font-weight: 400;
	font-size: 18px !important;
	line-height: 23px !important;
	letter-spacing: -0.25px !important;
}

#rsg-bottom .newslist.parbase.section .news-listing,
#rsg-bottom .eventlist.parbase.section .list-upcoming-events article {
	border-bottom: 1px dotted #333F48;
}

#rsg-bottom .newslist.parbase.section .news-listing h3 {
	margin: 0 0 4px;
}

#rsg-bottom .newslist.parbase.section .list.list-newspr {
	padding: 0;
}

#rsg-bottom .newslist.parbase.section .list.list-newspr li {
	margin-bottom: 4px;
}

#rsg-bottom .news-listing .news-list-stats {
	padding: 0;
}

#rsg-bottom .newslist.parbase.section li.meta-date,
#rsg-bottom .eventlist.parbase.section .list-ue-eventdate {
	margin: 0;
	font-size: 15px;
	line-height: 19px;
	color: #555858;
}

#rsg-bottom .eventlist.parbase.section .list-upcoming-events {
	margin-bottom: 21px;
}


/* Media queries */

@media screen and (min-width: 1400px) {
	#rsg-body .cq-colctrl-1-fc {
		width: 960px !important;
	}
}

@media screen and (max-width: 800px) {
	#rsg-quote .image.parbase.section {
		max-width: 320px;
		margin: 0 auto 2rem !important;
	}
	#rsg-callout-customization .image.parbase.section,
	#rsg-callout-apis p.cta {
		text-align: center;
	}
	#rsg-callout-apis .image.parbase.section {
		max-width: 200px;
		margin: 0 auto 2rem !important;
	}
}

@media screen and (max-width: 480px) {
	#rsg-intro h1, #rsg-intro p.intro {
		width: 96%;
		margin-left: 2%;
		margin-right: 2%;
	}
	#rsg-intro h1 {
		font-size: 42px;
		line-height: 48px;
	}
	#rsg-body h2 {
		font-size: 28px;
		line-height: 34px;
	}
	#rsg-body h3, #rsg-quote p.quote {
		font-size: 26px;
		line-height: 32px;
	}
}

@media screen and (max-width: 360px) {
	#rsg-intro h1 {
		font-size: 36px;
		line-height: 40px;
	}
	#rsg-body h2 {
		font-size: 26px;
		line-height: 30px;
	}
	.text-large {
		font-size: 21px !important;
		line-height: 27px !important;
		letter-spacing: -0.25px !important;
	}
}
