/*
Theme Name: HDS Theme
Theme URI: https://xr-energy.eu
Author: XR Energy Team
Author URI: https://xr-energy.eu
Description: Based on the BlankSlate theme by  Bryan Hadaway (https://blankslate.me/). Adapted to fit the needs of an H5P Delivery Service.
Tags: accessibility-ready, one-column, two-columns, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
Version: 2024.2
Requires at least: 5.2
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: blankslate

BlankSlate WordPress Theme 2011-2024
BlankSlate is distributed under the terms of the GNU GPL
*/
/* Existing Font Face Definitions */

:root {
  --font-family: "Source Sans Pro", Arial, Helvetica, Verdana, sans-serif;
  --em-700: #047857;
  --em-400: #0F7F86;
  --sl-300: #cbd5e1;
  --sl-500: #64748b;
  --sl-600: #475569;
}

@font-face {
  font-family: Source Sans Pro;
  font-style: normal;
  font-weight: 300;
  src: local("Source Sans Pro Light"), local("SourceSansPro-Light"),
    url(./fonts/source-sans-pro-v13-latin-300.woff2) format("woff2"),
    url(./fonts/source-sans-pro-v13-latin-300.woff) format("woff");
}

@font-face {
  font-family: Source Sans Pro;
  font-style: italic;
  font-weight: 300;
  src: local("Source Sans Pro Light Italic"), local("SourceSansPro-LightItalic"),
    url(./fonts/source-sans-pro-v13-latin-300italic.woff2) format("woff2"),
    url(./fonts/source-sans-pro-v13-latin-300italic.woff) format("woff");
}

@font-face {
  font-family: Source Sans Pro;
  font-style: normal;
  font-weight: 400;
  src: local("Source Sans Pro Regular"), local("SourceSansPro-Regular"),
    url(./fonts/source-sans-pro-v13-latin-regular.woff2) format("woff2"),
    url(./fonts/source-sans-pro-v13-latin-regular.woff) format("woff");
}

@font-face {
  font-family: Source Sans Pro;
  font-style: italic;
  font-weight: 400;
  src: local("Source Sans Pro Italic"), local("SourceSansPro-Italic"),
    url(./fonts/source-sans-pro-v13-latin-italic.woff2) format("woff2"),
    url(./fonts/source-sans-pro-v13-latin-italic.woff) format("woff");
}

@font-face {
  font-family: Source Sans Pro;
  font-style: normal;
  font-weight: 600;
  src: local("Source Sans Pro SemiBold"), local("SourceSansPro-SemiBold"),
    url(./fonts/source-sans-pro-v13-latin-600.woff2) format("woff2"),
    url(./fonts/source-sans-pro-v13-latin-600.woff) format("woff");
}

@font-face {
  font-family: Source Sans Pro;
  font-style: italic;
  font-weight: 600;
  src: local("Source Sans Pro SemiBold Italic"),
    local("SourceSansPro-SemiBoldItalic"),
    url(./fonts/source-sans-pro-v13-latin-600italic.woff2) format("woff2"),
    url(./fonts/source-sans-pro-v13-latin-600italic.woff) format("woff");
}

@font-face {
  font-family: Source Sans Pro;
  font-style: normal;
  font-weight: 700;
  src: local("Source Sans Pro Bold"), local("SourceSansPro-Bold"),
    url(./fonts/source-sans-pro-v13-latin-700.woff2) format("woff2"),
    url(./fonts/source-sans-pro-v13-latin-700.woff) format("woff");
}

@font-face {
  font-family: Source Sans Pro;
  font-style: italic;
  font-weight: 700;
  src: local("Source Sans Pro Bold Italic"), local("SourceSansPro-BoldItalic"),
    url(./fonts/source-sans-pro-v13-latin-700italic.woff2) format("woff2"),
    url(./fonts/source-sans-pro-v13-latin-700italic.woff) format("woff");
}

/* Skeleton CSS Integration */
html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  font-family: var(--font-family);
}

main, .site-main {
  display: block;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Existing CSS Reset and Base Styles */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

a {
  text-decoration: none;
  color: #333;
}

button,
input,
textarea {
  font-family: inherit;
}

button:focus,
input:focus,
textarea:focus {
  outline: none;
}

/* Skeleton Button Styles */
button,
.button {
  display: inline-block;
  height: 38px;
  padding: 0 30px;
  color: #555;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  line-height: 38px;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border-radius: 4px;
  border: 1px solid #bbb;
  cursor: pointer;
  box-sizing: border-box;
}

button:hover,
.button:hover,
button:focus,
.button:focus {
  color: #333;
  border-color: #888;
  outline: 0;
}

/* Other Skeleton Component Styles */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 2rem;
  font-weight: 300;
}

h1 {
  font-size: 4rem;
  line-height: 1.2;
  letter-spacing: -0.1rem;
}
h2 {
  font-size: 3.6rem;
  line-height: 1.25;
  letter-spacing: -0.1rem;
}
h3 {
  font-size: 3rem;
  line-height: 1.3;
  letter-spacing: -0.1rem;
}
h4 {
  font-size: 2.4rem;
  line-height: 1.35;
  letter-spacing: -0.08rem;
}
h5 {
  font-size: 1.8rem;
  line-height: 1.5;
  letter-spacing: -0.05rem;
}
h6 {
  font-size: 1.5rem;
  line-height: 1.6;
  letter-spacing: 0;
}

p {
  margin-top: 0;
}

.landing {
  font-family: var(--font-family);
  width: 100vw;
  background-image: url(back.jpg);
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
}

.landing .lawrap {
  background: rgba(255, 255, 255, 0.26);
  border-radius: 5px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(5px);
  position: relative;
  height: 100%;
  width: 100%;
}

.landing h2 {
  position: absolute;
  font-size: 3rem;
  padding: 1rem 0;
  top: 20%;
  right: 2rem;
  margin: 0;
  background: linear-gradient(to right, var(--em-700), var(--em-400));
  -webkit-background-clip: text;
  color: transparent;
}

.landing h3 {
  position: absolute;
  top: 30%;
  right: 2em;
  color: black;
  margin: 0;
  display: inline;
  font-size: 2rem;
}

.landing a.login {
  text-decoration: none;
  color: #333;
  border: 1px solid var(--em-400);
  padding: .2rem .5rem;
  border-radius: 5px;
  background: var(--sl-300);
}

.landing a.login:hover {
  text-decoration: none;
  color: white;
  border: 1px solid var(--em-700);
  background: var(--em-700);
  transition: all 0.5s ease;
}

.header {
  font-family: var(--font-family);
  background-color: rgba(241, 245, 249, 0.5);
  padding: 1rem 0;
  text-align: center;
  width: 100vw;
  margin-bottom: 1rem;
  position: absolute;
}

.header h5 {
  color: var(--em-400);
  margin-bottom: 0;
}

.footer {
  font-family: var(--font-family);
  background-color: rgba(241, 245, 249, 0.5);
  width: 100vw;
  position: fixed;
  bottom: 0;
  margin-top: 1rem;
  padding: 1rem;
}

.tax-h5p_tag {
  position: relative;
}

.tax-h5p_tag:after {
  content: "";
  background: rgba(0, 0, 0, 0.26);
  border-radius: 5px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(5px);
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  padding: 4rem 0 4rem 0;
  margin: 0;
  min-height: calc(100vh - 8rem);  
  height: 100%;
  width: 100vw;
}

.tax-h5p_tag:before {
  content: "";
  font-family: var(--font-family);
  width: 100vw;
  background-image: url(back.jpg);
  height: 100%;
  min-height: calc(100vh - 8rem);
  background-size: cover;
  background-position: center;
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  padding: 4rem 0 4rem 0;
  z-index: -1;
}

.tax-h5p_tag .header,
.tax-h5p_tag .footer,
.tax-h5p_tag .container {
  z-index: 1;
}

.tax-h5p_tag .header {
  position: relative;
  top: 0;
}

.tax-h5p_tag .page-header {
  text-align: center;
}

.h5p-list .carousel {
  display: grid;
  max-width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(200px, 280px));
  gap: 20px;
  justify-content: center;
  margin-top: 2rem;
  margin-bottom: 4rem;
}

.h5p-list .carousel .h5-card {
  min-height: 200px;
  position: relative;
  justify-content: center;
  padding: 1rem;
  background: var(--sl-600);
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
  border: 1px solid var(--sl-300);
  color: var(--sl-300);
}

.h5p-list .carousel .h5-card:hover {
  color: var(--sl-300);
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  border: 1px solid var(--em-400);
}

.h5p-list article {
  height: 100%;
  position: relative;
}

.h5p-list article .entry-footer {
  margin-top: 2rem;
  bottom: 1rem;
}

.h5-card .entry-title {
  color: var(--em-400);
  font-size: 1.5rem;
}

.h5p-wrapper {
  margin: 1rem;
  font-family: var(--font-family);
}

.h5p-wrapper main {
  width: 100%;
  max-width: 1400px;
  margin: auto;
}

.h5p-wrapper .entry-content {
  margin: 1rem;
  font-family: var(--font-family);
}

.h5p-wrapper .entry-footer {
  padding: 0.3rem 50px 0.3rem 1rem;
  position: relative;
  background-color: #fafafa;
  color: #999;
  font-size: 80%;
  font-family: var(--font-family);
  border: 1px solid #eee;
  border-top: none;
  width: 100%;
  max-width: 1400px;
  margin: auto;
  box-sizing: border-box;
}

.h5p-wrapper .entry-footer a {
  color: var(--em-700);
}

div.tag-wrap {
  display: block;
  color: white;
}

.tag {
  display: inline-flex;
  padding: 0.2rem 0.5rem;
  background: var(--em-400);
  color: black;
  margin: 0.3rem 0.3rem 0 0.3rem;
  border-radius: 3px;
}

div.tag svg {
  height: 13px;
  width: auto;
  margin-right: 0.2rem;
  margin-top: 0.2rem;
}

.modal {
  display: none;
  position: fixed;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
  z-index: 100;
}

.modal-content {
  margin: auto;
  display: block;
  width: 500px;
  height: auto;
  max-width: 90%;
}

#QRCode {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 36px;
  z-index: 1;
  padding: 3px;
  box-sizing: border-box;
  cursor: pointer;
}

@media screen and (max-width: 782px) {
  html #wpadminbar {
      height: 46px;
      min-width: 240px;
      top: -46px;
  }
}

.h5p-actions > .h5p-button.h5p-export:before {
  display: none
}