@import 'https://neon.epson-europe.com/files/repo/2016/mwd_framework/css/sweetalert.min.css';

/* Range */

#range nav {
	font-size: 12px;
	line-height: 18px;
	text-transform: uppercase;
	display: flex;
	margin: -10px;
}
#range nav a {
	flex: auto;
	margin: 10px;
	padding-bottom: 3px;
	border-bottom: 4px solid #10218b;
}
#range nav a:not(.active) {
	color: #585855;
	border-color: #585855;
}
#range nav a:hover {
	opacity: 1;
	text-decoration: none;
}
#range section:not(.active) {
	display: none;
}
#range section {
	padding-top: 15px;
}
#range h3 {
	margin-bottom: 30px;
	font-weight: bold;
}
#range section img {
	max-width: 280px;
	height: auto;
}
@media (min-width: 600px) {
	#range section img {
		margin-top: 30px;
		margin-right: 10%;
		float: right;
	}
	[dir=rtl] #range section img {
		float: left;
		margin-left: 10%;
		margin-right: 0;
	}
}
#range section ul {
	font-size: 12px;
	font-weight: bold;
	list-style: none;
	margin: 0 0 30px;
	padding: 0 0 0 12px;
}
[dir=rtl] #range section ul {
	padding-left: 0;
	padding-right: 12px;
}
#range section li {
	margin-bottom: 15px;
	position: relative;
}
#range section li::before {
	content: '';
	display: block;
	position: absolute;
	left: -12px;
	top: 6px;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #10218b;
}
#range section footer a {
	background: #f68f39;
}

/* Accreditation */

#accredit {
	position: relative;
	padding-top: 55px;
	background: #f6f6f6;
}
#accredit h3 {
	margin-top: 30px;
	padding-top: 24px;
	font-size: 22px;
	font-weight: lighter;
	color: #122688;
	border-top: 1px solid #575756;
}
#accredit ul {
	list-style: none;
	padding: 0;
}
#accredit li {
	margin-bottom: 13px;
	padding-left: 45px;
	background: url(../img/check-mark_blue.png) no-repeat;
}
#accredit img {
	max-width: 100%;
}
#accredit #isegaLogo {
	margin-bottom: 20px;
}
@media (min-width: 768px) {
	#accredit > *:not(img) {
		width: 450px;
		max-width: 50%;
	}
	#accredit #alergyAdvice {
		position: absolute;
		left: calc(50% + 20px);
		top: 55px;
		max-width: calc(50% - 40px);
	}
}

/* Multiple brands */

#multibrand {
	background: #dfebf0;
}
#multibrand h2 {
	margin-top: 20px;
	text-align: center;
}
#multibrand ul {
	margin: 70px 0 10px;
	padding: 0;
	line-height: 20px;
	list-style: none;
	font-weight: bold;
}
#multibrand li {
	margin-bottom: 20px;
	padding-top: 95px;
	background-repeat: no-repeat;
}
#multibrand li:nth-of-type(1) { background-image: url(../img/icon_producing_01_print.png) }
#multibrand li:nth-of-type(2) { background-image: url(../img/icon_producing_02_product.png) }
#multibrand li:nth-of-type(3) { background-image: url(../img/icon_producing_03_use.png) }
#multibrand li:nth-of-type(4) { background-image: url(../img/icon_producing_04_change.png) }

@media (max-width:767px) {
	#multibrand li {
		margin-bottom: 50px;
	}
}

@media (min-width:768px) {
	#multibrand ul {
		display: flex;
		margin-left: -20px;
		margin-right: -20px;
	}
	#multibrand li {
		flex: 0 220px;
		margin: 20px;
	}
}

/* Casestudies */

#casestudies {
	padding: 0;
}
#casestudies h2 {
	font-size: 22px;
	line-height: 26px;
}
#casestudies > section > ul {
	list-style: none;
	padding: 0;
}
#casestudies > section > ul li {
	margin-bottom: 10px;
	padding-left: 45px;
	line-height: 20px;
	background: url(../img/check-mark_blue.png) no-repeat;
}
[dir=rtl] #casestudies > section > ul li {
	padding-left: 0;
	padding-right: 45px;
}
#casestudies > section dl {
	margin-bottom: 20px;
}
#casestudies > section dt {
	position: relative;
	padding: 10px 0;
	border-top: 1px solid #575755;
	font-weight: bold;
	cursor: pointer;
}
#casestudies > section dt::before {
	content: '+';
	position: absolute;
	right: 0;
	top: 2px;
	font-size: 22px;
	font-weight: normal;
}
[dir=rtl] #casestudies > section dt::before {
	right: auto;
	left: 0;
}
#casestudies > section dt.active::before {
	content: '—';
	font-size: 15px;
	top: 10px;
}
#casestudies > section dd {
	display: none;
	flex-direction: column;
	justify-content: center;
	min-height: 165px;
	margin: 0;
	padding: 10px 0 10px 160px;
	background-repeat: no-repeat;
	background-position: left center;
	background-size: 150px;
}
#casestudies > section:nth-of-type(1) dd {
	background-image: url(../img/case-study_ready-food.png)
}
#casestudies > section:nth-of-type(2) dd {
	background-image: url(../img/case-study_artisan-food.png)
}
#casestudies > section:nth-of-type(3) dd {
	background-image: url(../img/case-study_coffee-chains.png)
}
#casestudies > section:nth-of-type(4) dd {
	background-image: url(../img/case-study_wholesale-success.png)
}
[dir=rtl] #casestudies > section dd {
	padding-left: 0;
	padding-right: 150px;
	background-position: right center;
}
#casestudies > section dt.active + dd {
	display: flex;
}
#readyfood {
	background-color: #f6f6f6;
}
@media (max-width: 767px) {
	#casestudies > section {
		padding-top: calc(46% + 30px) !important;
		background-repeat: no-repeat;
		background-position: top;
		background-size: contain;
	}
	#readyfood {
		background-image: url(../img/ready-food_tablet.jpg);
	}
	#artisanfood {
		background-image: url(../img/artisan-food_tablet.jpg);
	}
	#coffeechains {
		background-image: url(../img/coffee-chains_tablet.jpg);
	}
	#fruitjuice {
		background-image: url(../img/fruit-juice_tablet.jpg);
	}
}
@media (min-width: 768px) {
	#casestudies > section {
		min-height: 600px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		background-repeat: no-repeat;
	}
	#casestudies > section > * {
		width: 372px;
		max-width: calc(50% - 20px);
	}
	#readyfood {
		background: none;
		position: relative;
	}
	#readyfood::before {
		content: '';
		display: block;
		position: absolute;
		top: 0;
		right: 0;
		width: 50%;
		height: 100%;
		background-image: url(../img/ready-food.jpg);
		background-position: 0 0;
		background-size: 1150px; /* auto is 1000px; prevents gap when expanded */
		background-repeat: no-repeat;
	}
	#artisanfood {
		background-image: url(../img/artisan-food.jpg);
		background-position: center top;
		background-size: 2320px; /* fit expaned on ipad */
		align-items: flex-end;
	}
	#artisanfood dt,
	#artisanfood dd {
		border-color: white !important;
	}
	#coffeechains {
		background-image: url(../img/coffee-chains.jpg);
		background-position: 50vw 0;
		background-size: 1030px;
	}
	#fruitjuice {
		align-items: flex-end;
		background-image: url(../img/fruit-juice.jpg);
		background-position: center top;
	}
	#fruitjuice dt,
	#fruitjuice dd {
		border-color: white !important;
	}
	#fruitjuice footer a {
		background: #f68f39;
	}
	#artisanfood,
	#fruitjuice {
		color: white;
	}
	#artisanfood > ul li,
	#fruitjuice > ul li {
		background-image: url(../img/check-mark_white.png) !important;
	}
	#artisanfood h2,
	#fruitjuice h2 {
		color: inherit;
	}
}

@media (min-width: 768px) and (max-width: 1000px) {
	#readyfood::before {
		background-position: -160px 0;
	}
	#fruitjuice {
		background-position: -480px 0;
	}
}

/* Benefits */

#benefits > header {
	overflow: hidden;
}
#benefits > header::before {
	display: block;
	background: url(../img/intro_printers.png) no-repeat top/contain;
	content: '';
}
body:not([dir=rtl]) #benefits > header > a + a {
	margin-left: 10px;
}
[dir=rtl] #benefits > header > a + a {
	margin-right: 10px;
}
#benefits > ul {
	margin-top: 30px;
	padding: 0;
	list-style: none;
}
#benefits > ul li {
	margin-top: 40px;
	padding-top: 82px;
	background-repeat: no-repeat;
}

#benefits > ul li:nth-of-type(1) { background-image: url(../img/icon_intro_01_differentiate.png) }
#benefits > ul li:nth-of-type(2) { background-image: url(../img/icon_intro_02_increase-loyality.png) }
#benefits > ul li:nth-of-type(3) { background-image: url(../img/icon_intro_03_highlight.png) }
#benefits > ul li:nth-of-type(4) { background-image: url(../img/icon_intro_04_personalise.png) }

#benefits > ul p {
	margin: 0;
}
#benefits > ul p:first-of-type {
	margin-bottom: 12px;
	line-height: 20px;
	font-weight: bold;
}
@media (max-width: 767px) {
	#benefits > header::before {
		padding-top: 80%;
	}
	#benefits h2 {
		margin-top: 10px;
	}
}
@media (min-width: 768px) {
	#benefits > header::before {
		float: right;
		width: 340px;
		height: 268px;
		margin-left: 40px;
		padding-top: 0;
	}
	[dir=rtl] #benefits > header::before {
		float: left;
		margin-left: 0;
		margin-right: 40px;
	}
	#benefits > ul {
		display: flex;
		margin: 0 -15px;
	}
	#benefits > ul li {
		margin: 0 15px;
		flex-grow: 1;
		flex-basis: 0;
	}
}
@media (min-width: 768px) and (max-width: 959px) {
	#benefits > header {
		margin-bottom: 60px;
	}
}
@media (min-width: 960px) {
	#benefits > header::before {
		width: 460px;
		height: 367px;
	}
}

/* Hero */

main > header {
	padding-top: calc(100vw + 50px);
	background: #2B2C27 url(../img/food_hero_mobile.jpg) no-repeat top;
	color: white;
}
main > header h1 {
	margin-bottom: 15px;
	color: inherit;
	text-transform: uppercase;
	line-height: 42px;
}
[lang=fr] main > header h1 {
	font-size: 32px;
}
main > header p {
	line-height: 20px;
}
@media (max-width:480px){
	[lang=fr] main > header h1 {
		font-size: 32px;
	}
}
@media (min-width:481px){
	main > header {
		padding-top: calc(85vw + 50px);
		background-size: cover;
		background-image: url(../img/food_hero_smalltablet.jpg);
	}
}
@media (min-width:600px){
	main > header {
		padding-top: calc(70vw + 50px);
		background-image: url(../img/food_hero_tablet.jpg);
	}
}
@media (min-width:768px){
	main > header {
		padding-top: calc(56vw + 50px);
		background-image: url(../img/food_hero_smalldesktop.jpg);
	}
}
@media (min-width:960px){
	main > header{
		min-height: 500px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding-top:0;
		padding-bottom:0;
		background-image:url(../img/food_hero.jpg);
		background-size: auto;
	}
	main > header>*{
		max-width:300px;
	}
}

/* Base */

*, *::before {
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
}
body {
    margin: 0;
    padding: 0;
}
body.ie11 {
	overflow-x: hidden;
}
main {
    display: flex;
    flex-flow: column;
	font: 16px/1.5 Helvetica, sans-serif;
	color: #575756;
}
main h1,
main h2,
main p,
main ul,
main ol{
	margin: 0 0 20px;
}
main p:last-child {
	margin-bottom: 0;
}
main sup {
	line-height: 1;
}
main h1 sup,
main h2 sup {
	font-size: 60%;
}
main h1 {
	font-size: 36px; line-height: 48px;
}
main h2 {
	font-size: 28px; line-height: 33px;
}
main h3 {
	font-size: 16px; line-height: 20px;
}
main h1,
main h2 {
	font-weight: 300; color: #10218b
}
main a {
	color: #10218b;
	font-weight: bold;
	text-decoration: none;
}
main a:hover {
	text-decoration: underline;
	opacity: 0.8;
}
main button,
main > * > a,
main footer > a,
main header > a,
main .buton {
	display: inline-block;
	/* width: fit-content; */
	width: -moz-fit-content;
	margin: 0;
	padding: 7px 16px;
	line-height: 1.7;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	text-align: center;
	border: none;
	cursor: pointer;
	transition: opacity .2s ease;
	background: #10218b;
	color: white;
	border: 1px solid transparent;
}
main button:hover,
main > * > a:hover,
main footer > a:hover,
main header > a:hover,
main .buton:hover {
	text-decoration: none;
}

@media (max-width:480px) { main > *, #casestudies > * { padding:50px calc((100% - 300px) / 2) }}
@media (min-width:481px) { main > *, #casestudies > * { padding:50px calc((100% - 480px) / 2) }}
@media (min-width:600px) { main > *, #casestudies > * { padding:50px calc((100% - 576px) / 2) }}
@media (min-width:768px) { main > *, #casestudies > * { padding:50px calc((100% - 704px) / 2) }}
@media (min-width:960px) { main > *, #casestudies > * { padding:50px calc((100% - 940px) / 2); } }


/* Anchorbar */
@media (min-width: 768px) and (max-width: 959px) {
	[lang=de] main > nav li:nth-of-type(3) {
		flex-basis: 145px;
		flex-grow: 0;
	}
}

main > nav li:nth-of-type(1) a { background-image: url(https://neon.epson-europe.com/files/repo/2016/mwd_framework/img/icons/anchorbar/anchor_bulb.png) }
main > nav li:nth-of-type(2) a { background-image: url(https://neon.epson-europe.com/files/repo/2016/mwd_framework/img/icons/anchorbar/anchor_printer-area.png) }
main > nav li:nth-of-type(3) a { background-image: url(https://neon.epson-europe.com/files/repo/2016/mwd_framework/img/icons/anchorbar/anchor_document_printed.png) }
main > nav li:nth-of-type(4) a { background-image: url(https://neon.epson-europe.com/files/repo/2016/mwd_framework/img/icons/anchorbar/anchor_color-label-printer.png) }

main > nav {
	display: flex;
	position: relative;
	top: 0;
	z-index: 9999;
	padding-top: 0;
	padding-bottom: 0;
	font-size: 13px;
	line-height: 1.7;
}
main > nav h2 {
	display: none;
	margin: 0 25px 0 0;
	align-self: center;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.25;
	color: white;
}
[dir=rtl] main > nav h2 {
	margin-left: 2.5rem;
	margin-right: 0;
}
main > nav ul {
	background-color: #10218b;
	flex: 1;
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: 1;
}
main > nav ul::before {
	position: absolute;
	left: 0;
	z-index: -1;
	width: 100vw;
	height: 100%;
	content: '';
}
main > nav ul::before {
	background-color: #10218b;
}
main > nav li {
	flex: 1;
}
main > nav ul a {
	display: block;
	margin: 0 auto;
	max-width: 150px;
	height: 75px;
	padding: 0 10px;
	font-weight: 500;
	text-align: center;
	text-decoration: none;
	background-position: center;
	background-repeat: no-repeat;
	color: white;
}
main > nav ul a:hover {
	text-decoration: none;
}
main > nav ul a[aria-selected="true"],
main > nav ul a:hover {
	opacity: 1;
}
main > nav ul a[aria-selected="true"] {
	background-color: #010e68;
}
/* @supports (position: sticky) or (position: -webkit-sticky) {
	main > nav {
		position: sticky;
		position: -webkit-sticky;
	}
} */
@media (max-width: 767px) {
	main > nav li {
		font-size: 0;
	}
}
@media (min-width: 768px) {
	main > nav h2 {
		display: block
	}
	main > nav li {
		text-indent: 0;
	}
	main > nav ul a {
		height: 95px;
		padding-top: 65px;
		background-position:
			center 23px;
	}
}
@media (min-width: 1131px) {
	main > nav ul {
		position: relative;
	}
	main > nav ul::before {
		left: -200%;
		width: 200%;
	}
	[dir=rtl] main > nav ul::before {
		right: -100%;
		left: auto;
	}
	main > nav ul::after {
		position: absolute;
		right: -94px;
		border-top: 95px solid #10218b;
		border-right: 95px solid transparent;
		content: '';
	}
	[dir=rtl] main > nav ul::after {
		left: -95px;
		right: auto;
		border-left: 95px solid transparent;
		border-right: none;
	}
}
.site-wrapper { overflow: visible; }
@media (max-width: 767px) { .site-header > .container > div:nth-child(2) { overflow: hidden; } }
@media (max-width: 876px) { .site-header .header-nav > li:last-of-type { position: relative; } .site-header .header-nav > li:last-of-type .header-nav__sub, .site-header .header-nav > li:last-of-type .second-level { right: 0 !important; } }
@media (max-width: 959px) { .breadcrumb { left: auto !important; right: auto !important; } .breadcrumb > ul > li:first-child { padding-left: 5px; } }
@media (min-width:960px) { main > * { padding:50px calc((100% - 940px) / 2) } }

/* Contact us */

#contact {
	background: #f6f6f6;
	padding-bottom: 60px;
}
#contact form > div {
	display: flex;
	flex-wrap: wrap;
}
#contact form > div > * {
	margin-bottom: 20px;
}
#contact input:not([type=checkbox]),
#contact select,
#contact textarea {
	width: 100% !important;
}
@media (min-width: 481px) {
	#contact form > div {
		margin-left: -20px;
	}
	#contact input:not([type=checkbox]),
	#contact select {
		width: calc(50% - 20px) !important;
		margin-left: 20px;
	}
}
@media (min-width: 768px) {
	#contact input:not([type=checkbox]),
	#contact select {
		width: calc(33.333% - 20px) !important;
	}
}
#contact label {
	display: flex;
	margin-bottom: 20px;
	font-size: 12px;
	line-height: 18px;
}
#contact label [type=checkbox] {
	margin: 2px 6px 0 0;
	flex-shrink: 0;
}
[dir=rtl] #contact [type=checkbox] {
	margin-left: 6px;
	margin-right: 0;
}
#contact form > label:nth-of-type(1) { /* "further requirements" section */
	margin: 15px 0 25px;
	font-weight: bold;
	flex-wrap: wrap;
}
#contact form > label:nth-of-type(1) textarea {
	margin-top: 7px;
}
#contact textarea {
	height: 120px;
	border: 1px solid #D8D7D7;
}
#contact [type=text],
#contact [type=tel],
#contact [type=email],
#contact select,
#contact select.is-invisible,
#contact textarea {
    padding: 10px 5px;
    font-size: 13px;
	line-height: 15px !important;
    font-family: inherit;
    border-color: #D8D7D7;
    box-shadow: none;
	background-color: transparent;
}
@media (min-width: 481px) and (max-width: 959px) {
	[lang=es] #contact input[name=Email] {
		font-size: 10px;
	}
}
#contact [type=text],
#contact [type=tel],
#contact [type=email],
#contact select {
    border-width: 0 0 1px 0;
    border-style: solid;
}
#contact select {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
    color: inherit;
    background: url(../img/select-arrow.svg) no-repeat right center;
    box-sizing: border-box; /* cms */
}
#contact select::-ms-expand {
    display: none;
}
#contact form > button {
	margin-top: 10px;
}
#contact form.submitted *:invalid {
    border-color: red !important;
}
#contact form.submitted [type=checkbox]:invalid {
	outline: 1px solid red;
}
#contact button {
	background: #f88f2a;
}
#contact .select,
#contact select.is-invisible + div,
#contact select.is-invisible + div + div { /* cms */
    display: none !important;
}
#contact select.is-invisible { /* cms */
    height: auto !important;
    clip: auto !important;
    outline: initial !important;
    position: static !important;
}

/* Footnotes */
main > footer ol {
	list-style-type: none;
	padding: 0; color: #a9a9a9;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.5;
}
main > footer ul + ol {
	margin-top: 50px;
}
main > footer ol a {
	font-weight: 400;
}
main > footer ol > * {
	position: relative;
	padding-left: 13px;
	counter-increment: footnotes;
}
main > footer ol > *:not(:first-of-type) {
	margin-top: 15px;
}
main > footer ol > *::before {
	content: counter(footnotes);
	position: absolute;
	left: 0;
	top: -1ex;
	font-size: 10px;
}
[dir=rtl] main > footer ol > * {
	padding-right: 1.3em;
	padding-left: 0;
}
[dir=rtl] main > footer ol > *::before {
	right: 0;
	left: auto;
}

/* Footer tiles */
main > footer > aside { display: flex; flex-wrap: wrap; padding: 0; margin: 20px 0 5px; }
main > footer > aside section:before { content: ''; position: absolute; left: 0; top: 0; width: 40px; height: 40px; background: url(../img/footlinks.png) no-repeat center top; }
main > footer > aside section,
main > footer > aside:after { width: 313px; position: relative; display: flex; flex-direction: column; padding: 0 40px 0 50px; margin-bottom: 60px; }
main > footer > aside h2 { color: #10218b; font-weight: bold !important; font-size: 11px; font-weight: 400; line-height: 1.8; margin-bottom: 4px;}
main > footer > aside:after { display: block; content: ''; margin-bottom: 0; }
main > footer > aside p:nth-of-type(1) { margin: 0 0 8px !important; color: #575755; font-size: 18px; line-height: 24px; margin-bottom: 15px; font-weight: normal; }
main > footer > aside p:not(:nth-of-type(1)) { font-size: 13px; margin-top: auto; margin-bottom: 15px; }
main > footer > aside footer { margin-top: 20px; }
main > footer > aside footer a { background: white; border: 1px solid #E2E2E2; color: inherit; font-size: 14px; padding: 10px 18px;}
main > footer > aside section:nth-child(1)::before { background-position: -126px -10px; }
main > footer > aside section:nth-child(2)::before { background-position: -68px -10px; }
main > footer > aside section:nth-child(3)::before { background-position: -10px -10px; }
.ie11 main > footer > aside section footer a { display: table-cell; }
[dir=rtl] main > footer > aside section { padding-left: 50; padding-right: 40px; }
[dir=rtl] main > footer > aside section::before { left: auto; right: 0; }

/* Stuff */
body.ie11 {
	overflow-x: hidden !important;
}
