/*!
Theme Name: HMRC
Theme URI: http://underscores.me/
Author: Affari
Author URI: https://www.affarimedia.com
Description: Official theme for Fujitsu\'s partnership with HMRC
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: hmrc
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

HMRC is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

@font-face {
	font-family: "Fujitsu Sans Light";
	src: url("fujitsusanslight.d083c925.woff2") format("woff2"), url("fujitsusanslight.3d6529c3.woff") format("woff");
  }
  @font-face {
	font-family: "Fujitsu Sans";
	src: url("fujitsusansregular.9c3961cd.woff2") format("woff2"), url("fujitsusansregular.769fa92f.woff") format("woff");
  }
  @font-face {
	font-family: "Fujitsu Sans Medium";
	src: url("fujitsusansmedium.27ea5cd8.woff2") format("woff2"), url("fujitsusansmedium.0ddcf4c7.woff") format("woff");
  }
  @font-face {
	font-family: "Fujitsu Sans Bold";
	src: url("fujitsusansbold.9bbc120f.woff2") format("woff2"), url("fujitsusansbold.88acdd03.woff") format("woff");
  }
  :root {
	--primary: #2ba399;
	--secondary: #14514a;
	--red: #ff0000;
	--secondary-red: #851819;
	--yellow: #f0a620;
	--yellow-darken: #bd8319;
	--blue: #9cccf4;
	--blue-darken: #7ca2c2;
	--purple: #706ABA;
	--purple-darken: #514d87;
	--green: #51D35D;
	--green-darken: #3da147;
	--dark-grey: #3c3c35;
	--med-grey: #717067;
  }
  
  * {
	box-sizing: border-box;
  }
  
  html, body {
	margin: 0;
	padding: 0;
	height: 100%;
	text-rendering: optimizeLegibility;
	font-feature-settings: "kern";
	-webkit-font-feature-settings: "kern";
  }
  
  body {
	font-family: "Fujitsu Sans", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	color: var(--dark-grey);
	overflow: hidden;
  }
  
  h1, h2, h3, h4, h5, h6, p {
	padding: 0;
	margin: 0;
  }
  
  @media (min-width: 768px) {
	main {
	  position: relative;
	  height: 100%;
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  position: relative;
	}
  }
  
  .wrapper {
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 800;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
  }
  
  .header {
	position: static;
	width: 100%;
	z-index: 10;
	pointer-events: none;
  }
  @media (min-width: 768px) {
	.header {
	  position: fixed;
	}
  }
  .header__row--main {
	padding: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
  }
  .header__row--active-theme {
	background: var(--secondary);
	padding: 20px;
	color: #fff;
	display: inline-block;
	border-radius: 0 999px 999px 0;
  }
  @media (min-width: 992px) {
	.header__group--info {
	  display: flex;
	  justify-content: space-between;
	  align-items: center;
	}
  }
  .header__group--buttons {
	position: fixed;
	display: flex;
	justify-content: space-between;
	width: 100%;
	padding: 16px;
	left: 0;
	bottom: 0;
	pointer-events: auto;
  }
  @media (min-width: 768px) {
	.header__group--buttons {
	  position: relative;
	  display: block;
	  padding: 0;
	  width: auto;
	}
  }
  .header__logo {
	pointer-events: none;
	user-select: none;
	margin-right: 32px;
  }
  .header__title {
	margin-right: 16px;
	margin-bottom: 4px;
	font-size: 16px;
	font-family: "Fujitsu Sans", sans-serif;
	font-weight: bold;
  }
  @media (min-width: 992px) {
	.header__title {
	  margin-bottom: 0;
	}
  }
  .header__sub-title {
	font-size: 16px;
	display: none;
  }
  .header__sub-title::before {
	content: "Active theme:";
	font-family: "Fujitsu Sans Bold", sans-serif;
	margin-right: 8px;
  }
  .header__button {
	text-decoration: none;
	font-family: inherit;
	font-size: 16px;
	background: none;
	padding: 8px 16px;
	color: inherit;
	border: 1px solid var(--dark-grey);
	background: #fff;
	cursor: pointer;
	width: calc(100% / 2 - 8px);
  }
  @media (min-width: 768px) {
	.header__button {
	  width: auto;
	}
  }
  .header__button:last-of-type {
	margin-left: 16px;
  }
  .header__button--secondary {
	background: var(--secondary-red);
	border: 1px solid transparent;
	color: #fff;
  }
  .header__button--secondary a {
	text-decoration: none;
	color: inherit;
  }
  
  .fluid {
	position: relative;
	width: 100vw;
	height: 56.25vw;
	/* 100/56.25 = 1.778 */
	max-height: 100vh;
	max-width: 177.78vh;
	/* 16/9 = 1.778 */
  }
  
  .video {
	object-fit: cover;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	pointer-events: none;
  }
  
  .navigation {
	position: absolute;
	left: 0;
	bottom: 70px;
	z-index: 3;
	background: rgba(255, 255, 255, 0.4);
	backdrop-filter: blur(10px);
	border-top-right-radius: 32px;
	border-bottom-right-radius: 32px;
	padding: 16px;
  }
  @media (min-width: 768px) {
	.navigation {
	  bottom: initial;
	  top: 50%;
	  transform: translateY(-50%);
	}
  }
  .navigation__divider {
	max-width: 32px;
	margin-left: 8px;
	margin-top: 16px;
	border: 1px solid var(--dark-grey);
  }
  .navigation__title {
	margin-bottom: 16px;
	padding-left: 8px;
	font-size: 12px;
	font-family: "Fujitsu Sans", sans-serif;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 1px;
  }
  .navigation__spot {
	display: flex;
	align-items: center;
	background: var(--secondary);
	border-radius: 100px;
	height: 48px;
	max-width: 48px;
	cursor: pointer;
	text-decoration: none;
	color: inherit;
	transition: 0.6s ease-out max-width;
	animation: 1s pulse-blue infinite;
	color: white;
	margin-bottom: 8px;
	border: none;
	padding: 0;
	margin-bottom: 8px;
  }
  .navigation__spot--intro {
	margin-top: 16px;
	background: var(--dark-grey);
  }
  .navigation__spot--intro .navigation__spot__icon-container {
	background: white;
  }
  .navigation__spot:hover, .navigation__spot:focus {
	max-width: 372px;
  }
  .navigation__spot:last-of-type {
	margin-bottom: 0;
  }
  .navigation__spot__icon {
	width: 100%;
	max-width: 18px;
  }
  .navigation__spot__icon-container {
	background: var(--primary);
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
  }
  .navigation__spot__icon-container--reducing svg {
	max-width: 20px;
  }
  .navigation__spot__icon-container--protecting svg {
	max-width: 24px;
  }
  .navigation__spot__icon-container--safe svg {
	max-width: 18px;
  }
  .navigation__spot__icon-container--responsive svg {
	max-width: 28px;
  }
  .navigation__spot__icon-container--growing svg {
	max-width: 22px;
  }
  .navigation__spot__text {
	margin: 0;
	padding-right: 16px;
	margin-left: 8px;
	white-space: nowrap;
	font-family: "Fujitsu Sans", sans-serif;
	font-size: 16px;
  }
  .navigation__spot__text-container {
	overflow: hidden;
	will-change: transform;
  }
  
  .hotspot {
	display: flex;
	align-items: center;
	background: var(--secondary-red);
	border-radius: 100px;
	height: 32px;
	max-width: 32px;
	cursor: pointer;
	text-decoration: none;
	transition: 0.6s ease-out max-width;
	animation: 1s pulse-blue infinite;
	color: white;
	margin-bottom: 8px;
	position: absolute;
	font-family: "Fujitsu Sans Bold", sans-serif;
	font-size: 16px;
	padding: 0;
	border: none;
  }
  .hotspot--clicked {
	opacity: 0.5;
  }
  .hotspot:hover, .hotspot:focus {
	max-width: 372px;
	z-index: 600;
  }
  .hotspot:last-of-type {
	margin-bottom: 0;
  }
  .hotspot__icon {
	width: 100%;
	max-width: 18px;
  }
  .hotspot__icon-container {
	background: var(--red);
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 3;
  }
  .hotspot__icon-container::after {
	position: absolute;
	content: "";
	width: 0px;
	height: 0px;
	bottom: -16px;
	left: 8px;
	border: 8px solid transparent;
	border-top: 16px solid var(--red);
	backface-visibility: hidden;
	transform-style: preserve-3d;
	will-change: transform;
  }
  .hotspot__icon-container--reducing svg {
	max-width: 20px;
  }
  .hotspot__icon-container--protecting svg {
	max-width: 24px;
  }
  .hotspot__icon-container--safe svg {
	max-width: 18px;
  }
  .hotspot__icon-container--responsive svg {
	max-width: 28px;
  }
  .hotspot__icon-container--growing svg {
	max-width: 22px;
  }
  .hotspot__text {
	margin: 0;
	padding-right: 16px;
	margin-left: 8px;
	white-space: nowrap;
	font-family: "Fujitsu Sans", sans-serif;
  }
  .hotspot__text-container {
	overflow: hidden;
	will-change: transform;
  }
  .hotspot--reverse:hover {
	max-width: 32px;
	position: relative;
  }
  .hotspot--reverse:hover .hotspot__text-container {
	max-width: 372px;
  }
  .hotspot--reverse .hotspot__text-container {
	width: auto;
	max-width: 0;
	position: absolute;
	height: 100%;
	right: 16px;
	will-change: transform;
	transition: 0.6s ease-out max-width;
	background: var(--secondary-red);
	color: #fff;
	backdrop-filter: blur(10px);
	border-radius: 999px 0 0 999px;
	display: flex;
	align-items: center;
  }
  
  .modal {
	position: relative;
	width: calc(100% - 96px);
	left: 32px;
	height: auto;
	max-height: 70vh;
	overflow-y: auto;
	overflow-x: hidden;
	z-index: 700;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.4);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	padding: 16px;
	pointer-events: auto;
	will-change: transform;
  }
  @media (min-width: 1200px) {
	.modal {
	  width: 80%;
	  max-height: none;
	}
  }
  .modal__close {
	position: absolute;
	width: 32px;
	height: 32px;
	box-shadow: 0 0 16px rgba(0, 0, 0, 0.4);
	border-radius: 50%;
	border: none;
	background: #fff;
	cursor: pointer;
	top: 16px;
	right: 16px;
	pointer-events: auto;
	display: flex;
	align-items: center;
	justify-content: center;
  }
  .modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
  }
  @media (min-width: 1200px) {
	.modal__container {
	  display: flex;
	}
  }
  .modal__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
  }
  @media (min-width: 1200px) {
	.modal__content {
	  width: 70%;
	}
  }
  .modal__title {
	padding: 32px 0;
	font-size: 24px;
  }
  .modal__image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	pointer-events: none;
	user-select: none;
  }
  .modal__image-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 200px;
  }
  @media (min-width: 1200px) {
	.modal__image-wrapper {
	  width: 30%;
	  height: auto;
	}
  }
  .modal__sub-item {
	background: #fff;
	border-radius: 4px;
	padding: 16px;
	margin-bottom: 16px;
  }
  @media (min-width: 1200px) {
	.modal__sub-item {
	  flex-basis: calc(50% - 8px);
	}
  }
  @media (min-width: 1200px) {
	.modal__sub-items {
	  display: flex;
	  flex-wrap: wrap;
	  justify-content: space-between;
	}
  }
  @media (min-width: 1400px) {
	.modal__sub-items {
	  display: block;
	}
  }
  .modal__sub-item__heading {
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-family: "Fujitsu Sans", sans-serif;
	font-weight: bold;
	margin-bottom: 8px;
  }
  .modal__sub-item__body {
	color: var(--med-grey);
  }
  
  .handorgel {
	border: none;
  }
  .handorgel__header {
	margin-top: 16px;
  }
  .handorgel__header--open .handorgel__header__button {
	background: rgba(255, 255, 255, 0.8);
  }
  .handorgel__header__button {
	font-family: "Fujitsu Sans", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	border-top: 0;
	border-radius: 4px;
	transition: 0.3s ease all;
	background: rgba(255, 255, 255, 0.8);
  }
  .handorgel__header__button--open {
	background: rgba(255, 255, 255, 0.8);
  }
  .handorgel__header__button[aria-expanded=true] {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
  }
  .handorgel__content {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	background: rgba(255, 255, 255, 0.8);
  }
  
  .intro {
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 900;
	background: #fff;
	overflow: scroll;
	will-change: transform;
  }
  .intro__container {
	z-index: 2;
	padding: 32px;
  }
  @media (min-width: 768px) {
	.intro__container {
	  max-width: 504px;
	}
  }
  .intro__logo, .intro__title, .intro__sub-title {
	margin-bottom: 32px;
  }
  .intro__title {
	font-size: 28px;
	font-weight: 400;
  }
  .intro__sub-title {
	font-size: 18px;
	line-height: 1.4;
	color: var(--med-grey);
	font-weight: 400;
	margin-bottom: 16px;
  }
  .intro__button {
	text-decoration: none;
	font-family: inherit;
	font-size: 16px;
	background: none;
	padding: 8px 16px;
	color: inherit;
	border: 1px solid var(--dark-grey);
	cursor: pointer;
	margin-top: 16px;
  }
  .intro__graphic {
	position: relative;
	width: 100%;
  }
  @media (min-width: 768px) {
	.intro__graphic {
	  z-index: 1;
	  position: absolute;
	  right: 0;
	  bottom: 0;
	  width: 65%;
	  height: auto;
	}
  }
  
  .popup {
	backdrop-filter: blur(10px);
	border-radius: 0 0 4px 4px;
	max-width: calc(100% - 32px);
	max-height: 600px;
	overflow-x: hidden;
	overflow-y: auto;
	pointer-events: auto;
	display: none;
  }
  @media (min-width: 992px) {
	.popup {
	  max-height: none;
	  max-width: 80%;
	  height: 70vh;
	}
  }
  .popup__close {
	position: absolute;
	top: 32px;
	right: 32px;
	width: 32px;
	height: 32px;
	z-index: 3;
	border-radius: 50%;
	display: flex;
	border: none;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 0 16px rgba(0, 0, 0, 0.4);
  }
  .popup__container {
	height: 100%;
  }
  @media (min-width: 992px) {
	.popup__container {
	  display: flex;
	  flex-direction: row-reverse;
	}
  }
  @media (min-width: 992px) {
	.popup__container--flip {
	  flex-direction: row;
	}
  }
  .popup__image-wrapper {
	position: relative;
	margin: 0;
	height: 300px;
	overflow: hidden;
	border-radius: 4px 4px 0 0;
  }
  @media (min-width: 992px) {
	.popup__image-wrapper {
	  width: 50%;
	  height: auto;
	  border-radius: 0 4px 4px 0;
	}
  }
  .popup__image {
	position: absolute;
	object-fit: cover;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
  }
  .popup__content {
	background: rgba(255, 255, 255, 0.8);
	margin: 16px;
	padding: 32px;
	border-radius: 4px;
  }
  @media (min-width: 992px) {
	.popup__content {
	  padding: 32px;
	  width: 50%;
	  overflow-y: auto;
	  min-height: 0;
	}
  }
  @media (min-width: 1400px) {
	.popup__content {
	  padding: 64px;
	}
	.popup__content--meeting {
	  display: flex;
	  flex-direction: column;
	  justify-content: center;
	}
  }
  .popup__title {
	font-size: 28px;
	margin-bottom: 32px;
  }
  .popup__section-heading {
	margin-bottom: 8px;
	font-size: 16px;
	letter-spacing: 1px;
	text-transform: uppercase;
  }
  .popup__body {
	margin-bottom: 16px;
  }
  .popup__link {
	display: inline-block;
	color: var(--secondary);
	align-self: flex-start;
  }
  .popup__link--button {
	text-decoration: none;
	font-family: inherit;
	font-size: 16px;
	background: var(--secondary);
	padding: 8px 16px;
	color: white;
	cursor: pointer;
	margin-top: 32px;
  }
  .popup__logo-group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	margin-top: 16px;
  }
  @media (min-width: 992px) {
	.popup__logo-group {
	  display: block;
	}
  }
  @media (min-width: 1400px) {
	.popup__logo-group {
	  display: flex;
	  margin-top: 0;
	}
  }
  .popup__logo {
	display: block;
  }
  .popup__logo--costa {
	align-self: flex-end;
  }
  .popup__logo--kfc {
	align-self: flex-end;
  }
  @media (min-width: 992px) {
	.popup__logo {
	  margin-bottom: 16px;
	}
  }
  @media (min-width: 1400px) {
	.popup__logo {
	  margin-bottom: 0;
	}
  }
  
  .copyright {
	z-index: 999;
	background: white;
	font-size: 14px;
	padding: 20px;
	position: fixed;
	top: 0;
	right: 0;
  }
  @media (min-width: 768px) {
	.copyright {
	  top: initial;
	  bottom: 0;
	}
  }
  
  .video-transition {
	position: fixed;
	z-index: 2;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 0%;
	background: #fff;
	transition: 0.3s ease-out width;
	will-change: width;
  }