
:root {
	--transition-time:           .8s;
	--content-side-padding:     30px;
	--section-spacing:          80px;

	--base-font-size:           16px;
	--h2-font-size:         2.300rem;
	--h3-font-size:         1.750rem;
	--h4-font-size:         1.125rem;
	--h5-font-size:         1.000rem;
	--h6-font-size:         1.000rem;

	--adobe-red:             #e10f00;
	--adobe-blue:            #1e76e3;
	--adobe-blue-hover:      #3588ef;

	--section-background-color: #f1f1f1;

}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

main, nav, article, section, footer {
	display: block;
}

html {
	color: #444;
	font-size: var(--base-font-size);
	font-family: 'Open Sans', sans-serif;
	line-height: 1.35;
}

body {
	background-color: #fff;
}










/* ..........................................  */
/* ...text and buttons.......................  */

h2 {
	color: #000;
	font-size: var(--h2-font-size);
	font-weight: 300;
	margin: 45px 0 35px 0;
}
h3 {
	color: #000;
	font-size: var(--h3-font-size);
	margin: 0 0 20px 0;
}
h4 {
	color: #000;
	font-size: var(--h4-font-size);
	margin-bottom: 10px;
}
h4 span.label {
	color: #000;
	display: block;
	font-size: .9em;
}
h5 {
	color: #000;
	font-size: var(--h5-font-size);
}
h6 {
	color: #000;
	font-size: var(--h6-font-size);
}
a, a:visited {
	color: var(--adobe-blue);
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
	color: #3588ef;
}
a.anchor {
	display: block;
	position: relative;
	top: -115px;  /* offset for fixed header */
	visibility: hidden;
}
p.button {
	margin: 25px 0;
}
p.button a {
	background-color: var(--adobe-blue);
	border-radius: 20px;
	color: #fff;
	display: inline-block;;
	font-size: 1rem;
	padding: 9px 50px;
	transition: background-color .3s;
}
p.button a:hover {
	background: var(--adobe-blue-hover);
	text-decoration: none;
}
p.button.expand {
	overflow: hidden;
	transition: height var(--transition-time);
	height: 75px;
}
p.button.expand a {
	background-color: #fff;
	border: 2px solid var(--adobe-blue);
	color: var(--adobe-blue);
}
p.button.expand a::before {
	content: '+';
	padding-right: 10px;
}
@media screen and (max-width: 800px){
	:root {
		--base-font-size: 15px;
	}
}









/* ..........................................  */
/* ...content................................  */

.content {
	margin: 0 auto;
	max-width: 1200px;
	min-width: 310px;
	padding: 1px var(--content-side-padding);
}
@media screen and (max-width: 500px) {
	:root {
		--content-side-padding: 15px;
	}
}










/* ..........................................  */
/* ...navigation.............................  */

nav {
	--adobe-dc-width:  250px;
	--nav-menu-height: 260px;

	background-color: #fff;
	border-bottom: 1px solid rgba(0,0,0,.1);
	padding-bottom: 20px;
	position: fixed;
	left: 0;
	top: 0;
	transition: box-shadow var(--transition-time);
	width: 100%;
	z-index: 1;
}
nav .content {
	position: relative;
}
nav #menu {
	cursor: pointer;
	position: absolute;
	top: -200px;
	right: var(--content-side-padding);
	z-index: 1;
}
nav #menu svg {
	height: 30px;
	width: 30px;
}
nav #menu svg .base_stroke {
	fill: none;
	stroke: #777;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 7px;
	transform-origin: center center;
	transition: transform .45s, opacity .25s;
}
nav .links_container {
	align-items: flex-end;
	display: flex;
	margin-top: 25px;
	justify-content: space-between;
	transition: height .5s;
}
nav .links_container p {
	line-height: 1;
}
nav .links_container p:nth-child(1) {
	transform: translateY(2px);
}
nav .links_container a.adobedc {
	background: url('../../resource-hub-assets/images/branding/adobe_document_cloud.svg') no-repeat 0 0;
	background-size: contain;
	display: block;
	margin-right: 35px;
	width: var(--adobe-dc-width);
}
nav .links_container a.adobedc::before {
	content: '';
	display: block;
	padding-top: 12.47%; /* proportionate to 433x54 */
}
nav .links_container a.adobedc span {
	display: none;
}
nav .links_container a,
nav .links_container a:visited {
	color: #000;
	font-size: .8rem;
	font-weight: bold;
}
nav .links_container a:hover {
	color: #666;
	text-decoration: none;
}

nav .links_container a.selected {
	color: var(--adobe-red);
}


nav p.sub-category {
	border-left: 2px solid var(--adobe-red);
	padding-left: 2em;
}


body[data-menu="opened"] nav {
	box-shadow: 0 5px 10px rgba(0,0,0,.2);
}
body[data-menu="opened"] #menu svg .line1 {
	transform: translateX(-10px) translateY(14px) rotate(45deg);
}
body[data-menu="opened"] #menu svg .line2 {
	opacity: 0;
}
body[data-menu="opened"] #menu svg .line3 {
	transform: translateX(-10px) translateY(-12px) rotate(-45deg);
}

@media screen and (max-width: 900px) {
	/* switch to mobile menu */
	nav                                 { padding-bottom: 20px; }
	nav .links_container                { display: block; height: 40px; overflow: hidden; }
	nav .links_container p              { width: auto; text-align: right; padding: 12px 0; }
	nav .links_container p:nth-child(1) { text-align: left; padding: 0 0 15px 0; }
	nav .links_container p br           { display: none; }

	nav p.sub-category { border-left: none; padding-left: 0; }

	nav #menu { top: 27px; }
	nav #menu svg { display: block; }

	body[data-menu="opened"] nav .links_container { height: var(--nav-menu-height); }
}
@media screen and (max-width: 450px) {
	nav {
		--adobe-dc-width: 220px;
	}
	nav #menu { top: 21px; }
	nav .links_container { margin-top: 20px; }
}
@media screen and (max-width: 370px) {
	nav {
		--adobe-dc-width: 210px;
	}
	nav .links_container { margin-top: 20px; }
}










/* ..........................................  */
/* ...section................................  */

section {
	padding: 0 0 var(--section-spacing) 0;
	text-align: center;
}
section section:last-child {
	padding-bottom: 0;
}
@media screen and (max-width: 1100px) {
	:root { --section-spacing: 60px; }
}










/* ..........................................  */
/* ...resource cards.........................  */

* + .resource_container {
	margin-top: 25px;
}
.resource_container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.resource {
	background-color: #fff;
	flex: 1;
	margin: 1.5%;
	text-align: left;
	box-shadow: 0 0 10px rgba(0,0,0,.25);
	padding-bottom: 1px;
	max-width: 350px;
}
.resource h4 {
	margin: 20px;
	font-weight: bold;
	font-size: 1.2rem;
}
.resource h4 span {
	color: #444;
	display: block;
	font-size: .8em;
}
.resource p {
	margin: 0 20px 25px 20px;
	font-weight: normal;
}
.resource a.thumbnail {
	background: no-repeat 0 0;
	background-size: cover;
	border-bottom: 1px solid rgba(0,0,0,.15);
	display: block;
	overflow: hidden;
	position: relative;
}
.resource a.thumbnail::before {
	content: '';
	display: block;
	padding-top: 56.25%; /* proportionate to 16:9 */
}
.resource a.thumbnail::after {
	background: no-repeat 0 0;
	background-size: contain;
	content: '';
	display: block;
	height: 40px;
	left: 50%;
	margin: -20px 0 0 -20px;
	position: absolute;
	top: 50%;
	transition: transform .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	width: 40px;
}
.resource a.thumbnail:hover::after {
	transform: scale(1.3);
}
.resource a.thumbnail img {
	width: 100%;
	left: 0;
	position: absolute;
	top: 0;
	transition: transform .3s;
}
.resource a.thumbnail:hover img {
	transform: scale(1.1);
}
.resource.video a.thumbnail::after {
	background-image: url(../images/icons/play_arrow.svg);
}
.resource.pdf a.thumbnail::after {
	background-image: url(../images/icons/pdf_file.svg);
}
.resource.web a.thumbnail::after {
	background-image: url(../images/icons/web_page.svg);
}
.resource.interactive a.thumbnail::after {
	background-image: url(../images/icons/interactive.svg);
}

@media screen and (max-width: 1000px) {
	.resource_container .resource { flex: auto; width: 40%; }
}

@media screen and (max-width: 770px) {
	.resource_container { display: block; }
	.resource_container .resource { margin: 0 auto 40px auto; width: auto; }
}










/* ..........................................  */
/* ...use cases..............................  */

p + .use_case_container {
	margin-top: 35px;
}

.use_case_container {
	--spacing: 20px;
	--recipe-icon-size: 50px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.use_case_container .use_case {
	background-color: #fff;
	display: flex;
	flex: 1;
	flex-direction: column;
	margin: 1.5%;
	text-align: left;
	box-shadow: 0 0 10px rgba(0,0,0,.25);
	padding-bottom: 1px;
	max-width: 350px;
	min-width: 325px;
}
.use_case_container .use_case a.thumbnail {
	background: no-repeat 0 0;
	background-size: cover;
	/*border-bottom: 1px solid rgba(0,0,0,.15);*/
	display: block;
	overflow: hidden;
	position: relative;
}
.use_case_container .use_case a.thumbnail::before {
	content: '';
	display: block;
	padding-top: 56.25%; /* proportionate to 16:9 */
}
.use_case_container .use_case a.thumbnail::after {
	background: no-repeat 0 0;
	background-size: contain;
	content: '';
	display: block;
	height: 40px;
	left: 50%;
	margin: -20px 0 0 -20px;
	position: absolute;
	top: 50%;
	transition: transform .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	width: 40px;
}
.use_case_container .use_case a.thumbnail:hover::after {
	transform: scale(1.3);
}
.use_case_container .use_case a.thumbnail img {
	width: 100%;
	left: 0;
	position: absolute;
	top: 0;
	transition: transform .3s;
}
.use_case_container .use_case a.thumbnail:hover img {
	transform: scale(1.1);
}
.use_case_container .use_case a.thumbnail.video::after {
	background-image: url(../../resource-hub-assets/images/icons/play_arrow.svg);
}
.use_case_container .use_case a.thumbnail.pdf::after {
	background-image: url(../../resource-hub-assets/images/icons/pdf_file.svg);
}
.use_case_container .use_case a.thumbnail.web::after {
	background-image: url(../../resource-hub-assets/images/icons/web_page.svg);
}
.use_case_container .use_case a.thumbnail.interactive::after {
	background-image: url(../../resource-hub-assets/images/icons/interactive.svg);
}

.use_case_container .info {
	padding: var(--spacing);
	flex: 1;
}
.use_case_container .recipe {
	background: no-repeat var(--spacing) var(--spacing);
	background-size: var(--recipe-icon-size) auto;
	border-top: 4px solid #e3f7f5;
	padding: var(--spacing) var(--spacing) var(--spacing) calc( (var(--spacing) * 1.5) + var(--recipe-icon-size) );
}
.use_case_container .recipe.megasign {
	background-image: url(../../resource-hub-assets/images/icons/megasign.svg);
}
.use_case_container .recipe.webform {
	background-image: url(../../resource-hub-assets/images/icons/webform.svg);
}
.use_case_container .recipe.workflow {
	background-image: url(../../resource-hub-assets/images/icons/workflow.svg);
}
.use_case_container a.flag {
	background: no-repeat 0 6px;
	background-size: 15px 15px;
	display: block;
	padding: 3px 0 3px 25px;
	margin: 0 0 .5rem 0;
}
.use_case_container a.flag:first-of-type {
	margin-top: 1rem;
}
.use_case_container a.flag.de {
	background-image: url(../../resource-hub-assets/images/flags/de.svg);
}
.use_case_container a.flag.en {
	background-image: url(../../resource-hub-assets/images/flags/en.svg);
}
.use_case_container a.flag.bp {
	background-image: url(../../resource-hub-assets/images/flags/bp.svg);
}
.use_case_container a.flag.fr {
	background-image: url(../../resource-hub-assets/images/flags/fr.svg);
}
.use_case_container a.flag.jp {
	background-image: url(../../resource-hub-assets/images/flags/jp.svg);
}

@media screen and (max-width: 900px) {
	.use_case_container { display: block; }
	.use_case_container .use_case { margin: 0 auto 50px auto; }
}










/* ..........................................  */
/* ...solution box (resource box overrides)... */

* + .solution_container {
	margin-top: 25px;
}
.solution_container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.solution_container .resource {
	box-shadow: none;
	display: flex;
	flex-direction: column;
	margin-bottom: 3em;
}
.solution_container .resource div:nth-of-type(1) {
	flex: 1;
}

.solution_container .resource h4 {
	margin: .6em 0;
}
.solution_container .resource p {
	margin: 0 0 1.5em 0;
}
@media screen and (max-width: 900px) {
	.solution_container {
		display: block;
	}
	.solution_container .resource {
		margin: 0 auto ;
	}
	.solution_container .resource p {
		margin: 0 0 1em 0;
	}
}






/* ..........................................  */
/* ...industry box ........................... */

* + .industry_container {
	margin-top: 25px;
}
.industry_container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.industry_container .industry {
	width: 28%;
	margin: 2% 1%;
}
.industry_container .industry img {
	width: 70px;
	height: 70px;
	margin: 0;
}
.industry_container .industry h4 {
	margin: 0 0 .4em 0;
	font-size: 1rem;
	color: #999;
}
.industry_container .industry h4 a {
	color: #000;
}
.industry_container .industry p {
	font-size: .9em;
}
.industry_container .industry .thumbnail img {
	transition: transform .2s;
}
.industry_container .industry:hover a img {
	transform: scale(1.15);
}

@media screen and (max-width: 750px) {
	.industry_container .industry {
		width: 45%;
	}
}
@media screen and (max-width: 550px) {
	.industry_container {
		display: block;
	}
	.industry_container .industry {
		width: auto;
		text-align: left;
		position: relative;
		padding-left: 90px;
		margin: 0 0 2em 17%;
	}
	.industry_container .industry img {
		position: absolute;
		left: 0;
		top: -5px;
	}
	.industry_container .industry h4 {
		margin-bottom: .2em;
	}
}
@media screen and (max-width: 425px) {
	.industry_container .industry {
		margin-left: 11%;
	}
}






/* ..........................................  */
/* ...support resources......................  */

.support_resources_container {
	display: flex;
	flex-wrap: wrap;
}
.support_resources_container .support_resource {
	background-color: #fff;
	box-shadow: 0 0 10px rgba(0,0,0,.25);
	flex: 1;
	display: flex;
	flex-direction: column;
	margin: 1%;
	padding: 20px;
	text-align: left;
}
.support_resources_container .support_resource h5 {
	margin-bottom: 12px;
}
.support_resources_container .support_resource p {
	flex: 1;
	margin-bottom: 12px;
}

@media screen and (max-width: 900px) {
	.support_resources_container .support_resource { flex: auto; width: 45%; }
}

@media screen and (max-width: 600px) {
	.support_resources_container { display: block; }
	.support_resources_container .support_resource {
		width: auto;
		margin-bottom: 30px;
	}
}






/* ..........................................  */
/* ...contact form ..........................  */

form {
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 20px;
	max-width: 800px;
	padding: 30px;
	margin: 0 auto;
}
form .row {
	display: flex;
	margin: 15px 0;
}
form .row > div:nth-child(1) {
	text-align: right;
	padding: 7px 25px 0 0;
	width: var(--form-column-1);
	position: relative;
}
form .row > div:nth-child(2) {
	flex: 1;
	text-align: left;
}
form .row.submit {
	padding-left: var(--form-column-1);
}
form .row.required > div:nth-child(1)::after {
	content: '*';
	position: absolute;
	right: 8px;
	top: 10px;
	color: #1e76e3;
	transition: color .4s;
}
form .error.row.required > div:nth-child(1)::after {
	color: #f00;
}
form .note {
	color: #f00;
	font-size: .85rem;
	height: 0;
	overflow: hidden;
	transition: height .8s;
}
form .error .note {
	height: 25px;
}
input[type='text'], textarea {
	background-color: var(--section-background-color);
	border: 1px solid #ccc;
	border-radius: 5px;
	color: #000;
	font-size: 1.1rem;
	letter-spacing: normal;
	padding: 6px 15px;
	transition: color .3s, letter-spacing .3s, border .5s;
	width: 100%;

}
input[type='submit'] {
	background-color: #1e76e3;
	border: 0;
	border-radius: 20px;
	cursor: pointer;
	color: #fff;
	font-size: 1rem;
	outline: inherit;
	letter-spacing: normal;
	padding: 9px 50px;
	transition: background-color .3s;
	-webkit-appearance: none;
}
input:focus, textarea:focus {
	outline: none;
}
.error input[type='text'] {
	border-color: #f00;
	color: #f00;
	letter-spacing: 1px;
}

.contact_form_container {
	height: 0;
	overflow: hidden;
	transition: height var(--transition-time);
}

.contact_form_feedback {
	border-radius: 100px;
	background-color: #fff;
	padding: 20px;
	transition: all 1.5s;
}
.contact_form_feedback.start {
	background-color: #9ddfeb;
	transform: scale(1.3);
}
@media screen and (max-width: 660px) {

	form { padding: 30px; }
	form .row { display: block; }
	form .row > div:nth-child(1) { text-align: left; width: auto; margin-bottom: 6px; }
	form .row > div:nth-child(1) br { display: none; }
	form .row.required > div:nth-child(1)::after { position: static; padding-left: 10px; }
	form .row > div:nth-child(2) { width: auto; }

	form .row.submit { padding-left: 10px; text-align: left; }
}









/* ..........................................  */
/* ...lightbox...............................  */

#lightbox {
	align-items: center;
	background-color: rgba(0,0,0,.8);
	display: flex;
	height: 1px;
	justify-content: center;
	left: 0;
	opacity: 0;
	position: fixed;
	top: 0;
	transition: opacity .5s;
	width: 1px;
	z-index: 10;
}
#lightbox .iframe_container {
	flex: 1;
	margin: 30px;
	position: relative;
	max-width: 900px;
}
#lightbox .iframe_container::after {
	content: '';
	display: block;
	padding-top: 56.25%; /* proportionate to 16:9 */
}
#lightbox .iframe_container iframe {
	border: none;
	box-shadow: 0 0 20px rgba(0,0,0,.8);
	height: 100%;
	position: absolute;
	width: 100%;
}
#lightbox .iframe_container #close_lightbox {
	background-color: #000;
	color: #fff;
	cursor: pointer;
	position: absolute;
	right: 0;
	top: 150px;
}
body[data-lightbox-mode="opened"] {
	overflow: hidden;
}
body[data-lightbox-mode="opened"] #lightbox {
	height: 100%;
	width: 100%;
}
body[data-lightbox-display="true"] #lightbox {
	opacity: 1;
}










/* ..........................................  */
/* ...footer.................................  */

footer {
	background-color: #2c2c2c;
	bottom: 0;
	color: #999;
	font-size: .85rem;
	left: 0;
	padding: 20px var(--content-side-padding);
	position: fixed;
	width: 100%;
	z-index: 1;
}

footer .content {
	display: flex;
}

footer a {
	color: #ddd;
}

footer a.adobe {
	background: url('../../resource-hub-assets/images/branding/adobe_vertical_white.svg') no-repeat 0 0;
	background-size: contain;
	display: block;
	width: 26px;
}
footer a.adobe::before {
	content: '';
	display: block;
	padding-top: 137.59%; /* proportionate to 133x183 */
}
footer a.adobe span {
	display: none;
}

footer p {
	flex: 1;
	text-align: right;
	margin-top: 5px;
}
footer p br {
	display: none;
}

@media screen and (max-width: 415px){
	footer p br { display: inline; }
}


