/* 
Membership homepage 
/content/dam/oclc/membership/css/membership_homepage.css
*/

/* Reset */

@import url("membership_reset.css");


/* Hero */

.product-page .parsys.hero_area {
	margin: 0;
	padding: 0;
	background-color: #ffffff !important;
	width: 100%;
	height: auto;
	box-shadow: none;
	border: none;
	position: relative;
}

#homepage-hero {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 !important;
	background-color: #333F48;
	background-image: url('../jpg/bg_homepage_hero.jpg');
	background-image: url('../svg/bg_homepage_hero.svg'), linear-gradient(transparent, transparent);
	background-repeat: no-repeat;
	background-position: center center;
	min-height: 580px;
	background-size: cover;
}

#hero-headline .text.parbase.section {
	margin-bottom: 0;
	padding: 24px 0;
	background: transparent url('../png/bg_homepage_hero_headline_cont.png') repeat;
}

#hero-headline h1 {
	margin: 0 auto;
	padding: 0 0 28%;
	background: transparent url('../svg/bg_homepage_hero_headline.svg') no-repeat center center;
}

@media screen and (min-width: 1450px) {
	#homepage-hero {
		min-height: 610px;
	}
	#hero-headline h1 {
		padding: 0 0 24%;
	}
}

@media screen and (min-width: 1800px) {
	#homepage-hero {
		min-height: 640px;
	}
	#hero-headline h1 {
		padding: 0 0 22%;
	}
}

@media screen and (min-width: 1920px) {
	#homepage-hero {
		min-height: 670px;
	}
	#hero-headline h1 {
		padding: 0 0 20%;
	}
}

@media screen and (min-width: 2048px) {
	#homepage-hero {
		min-height: 700px;
	}
	#hero-headline h1 {
		padding: 0 0 18%;
	}
}

@media screen and (min-width: 2400px) {
	#homepage-hero {
		min-height: 730px;
	}
	#hero-headline h1 {
		padding: 0 0 16%;
	}
}

@media screen and (max-width: 600px) {
	#homepage-hero {
		display: block;
		min-height: 0;
	}
	#hero-headline h1 {
		display: block;
		padding: 0 0 60%;
		background: transparent url('../svg/bg_homepage_hero_headline_mobile.svg') no-repeat center center;
	}
}

@media screen and (max-width: 360px) {
	#hero-headline h1 {
		padding: 0 0 80%;
	}
}


/* Hero translations */

:lang(de) > #hero-headline h1 {
    background-image: url('../svg/bg_homepage_hero_headline_de.svg');
}

:lang(es) > #hero-headline h1 {
    background-image: url('../svg/bg_homepage_hero_headline_es.svg');
}

:lang(fr) > #hero-headline h1 {
    background-image: url('../svg/bg_homepage_hero_headline_fr.svg');
}

:lang(nl) > #hero-headline h1 {
    background-image: url('../svg/bg_homepage_hero_headline_nl.svg');
}

:lang(zh-Hans) > #hero-headline h1 {
    background-image: url('../svg/bg_homepage_hero_headline_zh.svg');
}

@media screen and (max-width: 600px) {
	:lang(de) > #hero-headline h1 {
		background-image: url('../svg/bg_homepage_hero_headline_mobile_de.svg');
	}

	:lang(es) > #hero-headline h1 {
		background-image: url('../svg/bg_homepage_hero_headline_mobile_es.svg');
	}

	:lang(fr) > #hero-headline h1 {
		background-image: url('../svg/bg_homepage_hero_headline_mobile_fr.svg');
	}

	:lang(nl) > #hero-headline h1 {
		background-image: url('../svg/bg_homepage_hero_headline_mobile_nl.svg');
	}

	:lang(zh-Hans) > #hero-headline h1 {
		background-image: url('../svg/bg_homepage_hero_headline_mobile_zh.svg');
	}
}


/* Home intro and membership in action */

#membership-home-intro h2,
#membership-home-intro p,
#membership-home-action h2,
#membership-home-action p {
	text-align: center;
	width: 86%;
}

#membership-home-intro h2,
#membership-home-action h2 {
	margin: 0 7% 2rem;
	font-family: 'Graphik Light', Helvetica, Arial, 'Arial Unicode MS', sans-serif;
	letter-spacing: -0.5px;
	color: #236192;
}

#membership-home-intro h2 {
	font-size: 60px;
	line-height: 68px;
}

#membership-home-action h2 {
	font-size: 48px;
	line-height: 54px;
}

#membership-home-intro p,
#membership-home-action p {
	margin: 0 7% 4rem;
	font-family: 'Graphik Regular', Helvetica, Arial, 'Arial Unicode MS', sans-serif;
	font-size: 24px;
	line-height: 31px;
	letter-spacing: -0.5px;
}

@media screen and (max-width: 600px) {
	#membership-home-intro h2,
	#membership-home-intro p,
	#membership-home-action h2,
	#membership-home-action p {
		width: 96%;
		margin-left: 2%;
		margin-right: 2%;
	}
	#membership-home-intro h2 {
		font-size: 48px;
		line-height: 54px;
	}
	#membership-home-action h2 {
		font-size: 40px;
		line-height: 46px;
	}
	#membership-home-intro p,
	#membership-home-action p {
		font-size: 21px;
		line-height: 28px;
	}
}

@media screen and (max-width: 360px) {
	#membership-home-intro h2 {
		font-size: 42px;
		line-height: 48px;
  	}
	#membership-home-action h2 {
		font-size: 36px;
		line-height: 40px;
	}
}


/* Video */

#membership-home-video {
	margin: 0 0 6rem;
}

#membership-home-video .videotranslation.parbase.section {
	max-width: 960px;
	margin: 0 auto;
}


/* Benefits section */

#membership-home-instind h2 {
	padding: 20% 0 10%;
	background: #BBBCBC;
	background-repeat: no-repeat;
	background-size: cover;
}

#membership-home-instind h2.inst {
	background-image: url('../jpg/bg_benefits_inst.jpg');
	background-position: left center;
}

#membership-home-instind h2.ind {
	background-image: url('../jpg/bg_benefits_ind.jpg');
	background-position: right center;
}

#membership-home-instind h2 span {
	display: table;
}

#membership-home-instind h2 .headline1 {
	font-family: 'Graphik Semibold', Helvetica, Arial, 'Arial Unicode MS', sans-serif;
	font-size: 24px;
	line-height: 28px;
	letter-spacing: -0.5px;
	color: #333F48;
	padding: 10px 22px 8px;
	background: #ffffff;
	background: url('../png/bg_benefits_headline1.png') repeat;
}

#membership-home-instind h2 .headline2 {
	margin-left: 20px;
	color: #ffffff;
	font-family: 'Graphik Bold', Helvetica, Arial, 'Arial Unicode MS', sans-serif;
	font-size: 44px;
	line-height: 48px;
	letter-spacing: -1px;
	text-transform: uppercase;
	padding: 14px 20px 12px;
}

#membership-home-instind h2.inst .headline2 {
	background-color: #00AFD7;
}

#membership-home-instind h2.ind .headline2 {
	background-color: #AE2573;
}

@media screen and (max-width: 960px) {
	#membership-home-instind .parsys_column.cq-colctrl-lt0-c0 {
		margin-bottom: 4rem;
	}
}

@media screen and (max-width: 480px) {
	#membership-home-instind h2 {
		padding: 40% 0 10%;
	}
	#membership-home-instind h2 .headline1 {
		font-size: 21px;
		line-height: 24px;
		padding: 8px 22px 6px;
	}
	#membership-home-instind h2 .headline2 {
		margin-left: 0px;
		font-size: 32px;
		line-height: 36px;
	}
}


/* Global Council AOF survey callout */

#memberaof-2023survey {
	margin-bottom: 6rem;
	border: 8px solid #333F48;
}

#memberaof-2023survey .top, #memberaof-2023survey .bottom {
	height: 54px;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}

#memberaof-2023survey .top {
	background-image: url('../png/bg_memberaof_2023survey_top.png');
	background-image: url('../svg/bg_memberaof_2023survey_top.svg'), linear-gradient(transparent, transparent);
}

#memberaof-2023survey .bottom {
	background-image: url('../png/bg_memberaof_2023survey_bottom.png');
	background-image: url('../svg/bg_memberaof_2023survey_bottom.svg'), linear-gradient(transparent, transparent);
}

#memberaof-2023survey .hbox {
	margin: 0;
	background: #ffffff;
}

#memberaof-2023survey h2, #memberaof-2023survey p {
	width: 100%;
	margin: 0 0 1rem;
	text-align: left;
}

#memberaof-2023survey h2 {
	width: 100%;
	margin: 0 0 1rem;
	font-family: 'Graphik Semibold', Helvetica, Arial, 'Arial Unicode MS', sans-serif;
	font-weight: bold;
	font-size: 36px;
	line-height: 40px;
	color: #333F48;
	letter-spacing: -1px;
}

#memberaof-2023survey p {
	font-size: 18px;
	line-height: 23px;
	letter-spacing: -0.25px;
}

#memberaof-2023survey p.cta {
	margin: 2rem 0 0;
}

@media screen and (max-width: 600px) {
	#memberaof-2023survey div.parsys_column {
		margin-bottom: 0 !important;
	}
}

@media screen and (max-width: 480px) {
	#memberaof-2023survey .hbox {
		padding: 18px !important;
	}
	#memberaof-2023survey .top, #memberaof-2023survey .bottom {
		height: 36px;
	}
}

@media screen and (max-width: 360px) {
	#memberaof-2023survey h2 {
		font-size: 32px;
		line-height: 36px;
    	letter-spacing: -0.5px;
	}
}


/* GC election tout */

#gc-election-tout {
	margin: 0 0 3rem 0;
	border: 4px solid #007DBA;
	background-image: url('../png/bg_tout_voting.png');
	background-repeat: no-repeat;
	background-position: bottom right;
	background-size: contain;
}

#gc-election-tout .text.parbase.section {
	margin: 0 120px 0 0;
	padding: 18px;
	width: auto;
}

#gc-election-tout h2 {
	margin: 0 0 8px;
	font-family: 'Graphik Regular', Helvetica, Arial, 'Arial Unicode MS', sans-serif;
	font-size: 28px;
	line-height: 32px;
	color: #007DBA;
	letter-spacing: -1px;
}

#gc-election-tout h2 span {
	font-family: 'Graphik Semibold', Helvetica, Arial, 'Arial Unicode MS', sans-serif;
	white-space: nowrap;
}

#gc-election-tout p {
	margin: 0;
	font-size: 18px;
	line-height: 22px;
	letter-spacing: -0.5px;
}

@media screen and (min-width: 1450px) {
	#gc-election-tout {
		width: 80%;
		margin: 0 10% 3rem 10%;
	}
}

@media screen and (max-width: 600px) {
	#gc-election-tout .text.parbase.section {
		margin-right: 180px;
	}
}

@media screen and (max-width: 480px) {
	#gc-election-tout {
		background-size: 35%;
	}
}

@media screen and (max-width: 420px) {
	#gc-election-tout .text.parbase.section {
		margin-right: 0;
		padding-bottom: 35%;
	}
}

