@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300;400;500;600;700;800;900&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,300;1,400;1,500;1,700;1,900&display=swap");

/* 
  ABOUT THIS FILE
  Guinevere default CSS scaffolding file v0.9, annotated
  When committing changes, please update the minified file as well through https: //www.toptal.com/developers/cssminifier
  Link only the minified file in product projects
*/

/* #region CSS NORMALIZATION */
/** modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize **/

/*
Document
========
*/

/**
Use a better box model (opinionated).
*/

*,
::before,
::after {
  box-sizing: border-box;
}

/**
Use a more readable tab size (opinionated).
*/

html {
  -moz-tab-size: 4;
  tab-size: 4;
}

/**
1. Correct the line height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
*/

html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/*
Sections
========
*/

/**
Remove the margin in all browsers.
*/

body {
  margin: 0;
}

/**
Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
*/

body {
  font-family: system-ui, -apple-system,
    /* Firefox supports this but not yet `system-ui` */ "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

/*
Grouping content
================
*/

/**
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
}

/*
Text-level semantics
====================
*/

/**
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr[title] {
  text-decoration: underline dotted;
}

/**
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/**
1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
2. Correct the odd 'em' font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo,
    monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/**
Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
Tabular data
============
*/

/**
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
}

/*
Forms
=====
*/

/**
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
Remove the inheritance of text transform in Edge and Firefox.
1. Remove the inheritance of text transform in Firefox.
*/

button,
select {
  /* 1 */
  text-transform: none;
}

/**
Correct the inability to style clickable types in iOS and Safari.
*/

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
Remove the inner border and padding in Firefox.
*/

::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
Restore the focus styles unset by the previous rule.
*/

:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
Remove the additional ':invalid' styles in Firefox.
See: https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/**
Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
*/

legend {
  padding: 0;
}

/**
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/**
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/**
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to 'inherit' in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Interactive
===========
*/

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/* #endregion */

/* #region GPI CONFIGURATION */

/* VARIABLES */

:root {
  /* The max width of the content containing area of the site */
  --maxContentWidth: 1600px;
  /* The minimal padding of the main sectioning elements */
  --minContentPadding: 4vw;
  /* Font selection */
  --font-family-body: "Roboto", sans-serif;
  --font-family-heading: "Roboto", sans-serif;
  --font-family-fancy-heading: "Roboto Slab", serif;
  --font-family-navigation: "Roboto Slab", serif;
  --font-family-accent: "Roboto", sans-serif;
  --font-family-quote: "Roboto", sans-serif;
  --font-family-code: "Roboto", sans-serif;
  /* GPI colors pallet */
  --color-primary-1: hsl(219, 100%, 13%);
  --color-primary-2: hsl(205, 68%, 53%);
  --color-primary-3: hsl(219, 23%, 27%);
  --color-primary-4: hsl(34, 82%, 29%);
  --color-accent-1: hsl(205, 68%, 53%);
  --color-accent-2: hsl(36, 100%, 50%);
  --color-neutral-1: hsl(219, 23%, 27%);
  --color-neutral-2: hsl(220, 4%, 85%);
  --color-neutral-3: hsl(3, 25%, 65%);
  --color-neutral-4: hsl(0, 0%, 96%);
  /* Colors for semantic texts, like warnings and alerts */
  --color-semantic-error: hsl(0, 100%, 48%);
  --color-semantic-info: hsl(209, 88%, 47%);
  --color-semantic-success: hsl(236, 88%, 41%);
  --color-semantic-warning: hsl(44, 88%, 47%);
  --color-semantic-highlight: hsla(61, 87%, 49%, 0.534);
}

/* RESPONSIVE FONTS */
/** Throughout the CSS we set font sizes in REM. This unit is relative to the html font size. Here we can resize all fonts at once for specific media queries **/

html {
  font-size: 20px;
}

@media only screen and (max-width: 1360px) {
  html {
    font-size: 18px;
  }
}

@media only screen and (max-width: 800px) {
  html {
    font-size: 16px;
  }
}

/* #endregion */

/* #region DEFAULT STYLING */

/* #region -- PAGE ELEMENTS */

body {
  /* Background color for the page */
  background-color: var(--color-neutral-2);
}

/* #endregion */

/* #region -- HEADERS */

h1,
h2,
h3,
h4,
h5,
h6 {
  /* Configuration font for all headings */
  font-family: var(--font-family-heading);
  /* Lower line height for headings than for other text. Because this is relative, it must be set in em not rem */
  line-height: 1.1em;
  color: var(--color-primary-1);
}

/* Set default sizes for headers */
h1 {
  font-size: 1.9rem;
  font-weight: 800;
}

h2 {
  font-size: 1.8rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.2rem;
}

h5,
h6 {
  /* h5 and h6 by default take the same size as the body text */
  font-size: 1rem;
}

h1:first-of-type,
h2:first-of-type {
  /* Set the first level 1 and 2 headers with no margin on top, as they will usually be used as the main header in a section or in conjunction with another header */
  margin-top: 0;
}

/* #endregion */

/* #region -- BODY TEXT */

body {
  /* Configuration font for all elements by default */
  font-family: var(--font-family-body);
  color: var(--color-neutral-1);
  /* More accessible default default line height */
  line-height: 1.5rem;
  /* Appropriate default font size */
  font-size: 1rem;
}

p {
  /* We set all paragraphs with a margin 0 on the top, so that we only need to define margins on the top and prevent issues with collapsing margins */
  margin-top: 0;
}

p:last-of-type {
  /* The last paragraph in a container gets extra bottom margin. This will typically be the last paragraph of a piece of content that needs some breathing room at the bottom */
  margin-bottom: 2rem;
}

p.intro {
  /* Set intro paragraphs with a default bold font and extra line height */
  font-weight: bold;
  line-height: 1.5em;
}

p.warning,
span.warning {
  color: var(--color-semantic-warning);
}
p.info,
span.info {
  color: var(--color-semantic-info);
}
p.highlight,
span.highlight {
  background-color: var(--color-semantic-highlight);
}
p.error,
span.error {
  color: var(--color-semantic-error);
}
p.success,
span.success {
  color: var(--color-semantic-success);
}

/* #endregion */

/* #region -- MENUS */

nav ul {
  /* Display menu items by default in flex */
  display: flex;
  /* By default, outline menu items to the right */
  justify-content: flex-end;
  /* Set default space between menu items */
  gap: 1rem;
  /* remove the disc in front of the list items */
  list-style: none;
}

nav ul li a {
  /* Don't underline links in menus */
  text-decoration: none;
  /* Default styling */
  color: var(--color-primary-2);
  font-family: var(--font-family-navigation);
}

nav ul li a:visited {
  /* To ensure visited links in menus aren't colored after visiting, set them to the same default color of all links in menus */
  color: var(--color-primary-2);
}

/* #endregion */

/* #region -- IMAGES */

img {
  max-width: 100%;
}

/* #endregion */

/* #region -- RESPONSIVE VIDEO */

/*  Responsive video containers:
Create a container for the video (iframe, html5, etc) with the below class.
For different aspect ratios, add the style attribute to the container and replace the padding-bottom property with the one below.
style="--aspect-ratio: 3 / 4;"
padding-bottom: calc(var(--aspect-ratio, .5625) * 100%); */

.responsiveVideo {
  position: relative;
  /* default aspect ratio will be 16:9 */
  padding-bottom: 56.25%;
  height: 0;
  width: 100%;
  overflow: hidden;
  display: block;
}

.responsiveVideo iframe,
.responsiveVideo object,
.responsiveVideo embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* #endregion */

/* #endregion */

/* #region DEFAULT LAYOUT TEMPLATES */

/* #endregion */

/* #region DEFAULT OBJECT TEMPLATES */

/* #endregion */

/* #region GPI STYLING */

body > * {
  background-color: var(--color-neutral-4);
}

body > header,
body > footer {
  background-color: unset;
}

h1 {
  font-size: 1.9rem;
  font-weight: 800;
}

h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2vw;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0;
}

h4 {
  font-size: 1rem;
  margin-bottom: 0;
}

h5,
h6 {
  /* h5 and h6 by default take the same size as the body text */
  font-size: 1rem;
}

body > header h1 img {
  min-width: 200px;
  width: 50%;
  margin-top: 20px;
}

header #topNavigation {
  background-color: var(--color-neutral-4);
  padding: 1vw 1vw 0 1vw;
}

header #topNavigation a,
header #topNavigation a:active {
  color: var(--color-neutral-4);
  font-size: 0.7rem;
  text-transform: uppercase;
  padding: 2px 4px;
}

header #topNavigation a.active {
  text-decoration: underline;
  text-decoration-thickness: 5px;
  text-underline-offset: 0.7em;
  color: var(--color-neutral-3);
}

header #topNavigation a:hover {
  color: var(--color-neutral-4);
  background-color: var(--color-accent-1);
}

header #topNavigation nav ul {
  padding-right: 1.7rem;
  gap: 2rem;
  background-color: var(--color-primary-1);
  flex-wrap: wrap;
}

aside#spotlight {
  background-color: var(--color-neutral-4);
  padding: 0 1vw 1vw 1vw;
}

aside#spotlight div {
  background-image: url(/images/spotlight.jpg);
  background-size: cover;
  background-position: center;
}

aside#spotlight div span {
  color: white;
  font-family: var(--font-family-accent);
  line-height: 1.5rem;
}

p.intro {
  font-size: 1.3rem;
  margin-bottom: 3vw;
}

a {
  color: var(--color-accent-1);
}

p a:hover {
  background-color: var(--color-accent-1);
  color: var(--color-neutral-4);
}

table {
  min-width: 300px;
  border: 1px solid var(--color-neutral-2);
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.8rem;
}

table td {
  min-width: 90px;
  border: 1px solid var(--color-neutral-2);
  border-collapse: collapse;
  padding: 0.3rem;
  text-align: right;
}

table td:first-of-type {
  font-style: italic;
  text-align: left;
  min-width: 200px;
  padding-left: 0.8rem;
}

@media screen and (max-width: 1360px) {
  aside#spotlight div article {
    zoom: 0.9;
  }
  html {
    font-size: 14pt;
  }
}

@media screen and (max-width: 1000px) {
  aside#spotlight div article {
    zoom: 0.7;
  }
}

@media screen and (max-width: 800px) {
  html {
    font-size: 12pt;
  }
  aside#spotlight div article {
    zoom: 0.5;
  }
  body > header h1 img {
    width: 70%;
  }
  header #topNavigation nav ul {
    gap: 5px;
  }
  header #topNavigation nav ul li {
    margin: 0;
    line-height: 1em;
  }
  header #topNavigation a.active {
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 0.5em;
  }
}

@media screen and (max-width: 550px) {
  html {
    font-size: 11pt;
  }
  header #topNavigation nav ul {
    padding-left: 20%;
  }
  header #topNavigation a.active {
    text-decoration: none;
  }
}

@media screen and (max-width: 400px) {
  header #topNavigation nav ul {
    padding: 10px;
  }
}

/* #endregion */

/* #region GPI LAYOUT */

body > * {
  width: 80%;
  max-width: 1366px;
  margin: auto;
}

body > footer {
  margin: auto auto;
  padding: 0;
}

body > footer > small {
  text-align: center;
  padding: 2px;
}

body > footer > small p {
  font-size: 0.6rem;
  line-height: 0.8rem;
}

body > header {
  padding: 0;
}

body > header h1 {
  margin: 2vw 1vw;
  padding-top: 2vw;
}

header #topNavigation {
  width: 100%;
}

header #topNavigation ul {
  margin: 0;
  padding: 5px 1vw;
}

header #topNavigation {
  padding: 1vw 1vw 0 1vw;
}

aside#spotlight {
  padding: 0 1vw 1vw 1vw;
}

aside#spotlight div {
  max-height: 600px;
  min-height: 200px;
  height: 35vw;
}

aside#spotlight div article {
  background-color: var(--color-accent-1);
  width: 200px;
  height: 200px;
  float: left;
  margin: 3% 5%;
  border-radius: 100%;
  -webkit-box-shadow: 10px 10px 36px -1px rgba(0, 0, 0, 0.16);
  -moz-box-shadow: 10px 10px 36px -1px rgba(0, 0, 0, 0.16);
  box-shadow: 10px 10px 36px -1px rgba(0, 0, 0, 0.4);
}

aside#spotlight div article > span {
  width: 100%;
  text-align: center;
  display: inline-block;
  margin-top: 38px;
}

main {
  padding-top: 4vw;
  padding-bottom: 10vw;
}

div.responsiveVideo {
  float: right;
  width: 50%;
  margin-left: 2rem;
  padding-bottom: calc(var(--aspect-ratio, 0.5625) * 50%);
}

@media screen and (max-width: 1000px) {
  body > * {
    width: 85%;
  }
  div.responsiveVideo {
    width: 60%;
    margin-left: 1rem;
    padding-bottom: calc(var(--aspect-ratio, 0.5625) * 60%);
  }
}

@media screen and (max-width: 800px) {
  body > * {
    width: 90%;
  }
  div.responsiveVideo {
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-bottom: calc(var(--aspect-ratio, 0.5625) * 100%);
  }
}

@media screen and (max-width: 450px) {
  body > * {
    width: 98%;
  }
}

/* #endregion */

/* #region GPI OBJECTS */

/* #region Werkgeversguidelines */

section#speak-up-guidelines {
  padding: 2vw;
  background-color: var(--color-neutral-2);
  margin-bottom: 2vw;
  border: 4px solid var(--color-primary-2);
}

section#speak-up-guidelines img {
  display: inline;
  width: 40%;
  margin-left: 2rem;
  margin-top: 0;
}

@media only screen and (max-width: 1050px) {
  section#speak-up-guidelines img {
    width: 60%;
  }
}

@media only screen and (max-width: 900px) {
  section#speak-up-guidelines img {
    width: 100%;
    margin: -3rem 0 2rem 0;
  }

  section#speak-up-guidelines {
    margin-top: 3rem;
  }
}

/* #endregion */

/* #region Training cards */

section#courses div {
  display: flex;
  gap: 3%;
  flex-wrap: wrap;
}

section#courses div article {
  flex-grow: 1;
  max-width: 30%;
  padding: 0 0 3vw 0;
  margin-bottom: 2vw;
  border: 1px solid var(--color-neutral-1);
  -webkit-box-shadow: 10px 10px 36px -1px rgba(0, 0, 0, 0.16);
  -moz-box-shadow: 10px 10px 36px -1px rgba(0, 0, 0, 0.16);
  box-shadow: 5px 5px 5px -1px rgba(0, 0, 0, 0.1);
}

section#courses div article header {
  background-color: var(--color-neutral-1);
  height: 4rem;
}

section#courses div article section.courseSpotlight {
  height: 200px;
  margin-bottom: 1vw;
  background-size: cover;
  background-position-x: center;
}

section#courses div article > * {
  padding: 0.5vw 1vw 0.7vw 1vw;
}

section#courses div article header h1 {
  font-size: 1rem;
  font-family: var(--font-family-fancy-heading);
  text-transform: uppercase;
  margin-bottom: 0;
  color: var(--color-neutral-4);
}

section#courses div article p.callout {
  float: right;
  font-size: 0.5rem;
  text-transform: uppercase;
  background-color: var(--color-neutral-3);
  color: var(--color-neutral-4);
  padding: 2px 10px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  margin-right: 10px;
  -webkit-box-shadow: 5px 5px 10px -1px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 5px 5px 10px -1px rgba(0, 0, 0, 0.3);
  box-shadow: 5px 5px 10px -1px rgba(0, 0, 0, 0.3);
}

section#courses div article p.factsheet {
  font-style: italic;
}

section#courses div article p {
  font-size: 0.7rem;
}

section#courses div article p.factsheet span {
  font-style: normal;
  font-weight: bolder;
  display: block;
}

section#courses div article p {
  line-height: 1.1rem;
  margin-bottom: 1px;
}

section#courses div article p.readMore a {
  display: block;
  width: max-content;
  padding: 4px 20px;
  background-color: var(--color-accent-1);
  color: var(--color-neutral-4);
  margin: 20px auto 0 auto;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}

@media screen and (max-width: 1360px) {
  section#courses div article {
    max-width: 47%;
  }
  section#courses div article section.courseSpotlight {
    height: 300px;
  }
}

@media screen and (max-width: 1000px) {
  section#courses div article {
    max-width: 45%;
  }
}

@media screen and (max-width: 800px) {
  section#courses div article {
    max-width: 100%;
    margin-bottom: 40px;
  }
  section#courses div article p {
    font-size: 0.8rem;
    line-height: 1.2rem;
    padding: 1rem;
  }
  br.fakebreak {
    display: none;
  }
  section#courses div article section.courseSpotlight {
    height: 300px;
  }
  section#courses div article header {
    background-color: var(--color-neutral-1);
    height: unset;
  }
}

/* #endregion */

/* #region Transparency about IS */

section#aboutUs {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-top: 6vw;
}

section#aboutUs h1 {
  min-width: 100%;
  font-size: 1.4rem;
}

section#aboutUs figure {
  width: 30%;
  display: inline;
  margin-left: 5vw;
}

section#aboutUs figure img {
  width: 100%;
}

section#aboutUs figure figcaption {
  font-size: 0.6em;
  font-style: italic;
  text-align: right;
  margin-top: -4px;
}

section#aboutUs p {
  width: 55%;
}

@media screen and (max-width: 800px) {
  section#aboutUs p {
    width: 100%;
  }
  section#aboutUs figure {
    width: 70%;
    display: block;
    margin: auto;
  }
}

/* #endregion */

/* #region Contact Us */

section#contactUs {
  background-color: var(--color-neutral-3);
  padding: 4vw;
  text-align: center;
  font-size: 1.2rem;
}

section#contactUs p#contactDetails {
  font-weight: 800;
}

/* #endregion */

/* #endregion */

/* #region OVERRIDES AND EXCEPTIONS */

/* #endregion */
