/*! HTML5 Boilerplate v7.3.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body, input, textarea, button {
  font-family: "Montserrat", system-ui, sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
body {
  color: #333;
  background: #f5f5f5;
}
p, li {
  line-height: 1.6em;
}
aside nav li {
  line-height: 1.2em;
}
#page {
  min-height: 100lvh;
}
#page, #products article, #news, main {
  margin: 0 auto;
  width: 100%;
  max-width: 1920px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-start;
  justify-content: space-between;
}
#site-header, #site-footer, section, aside, #products .content, #news .news, .page-template-content-artin figure {
  box-sizing: border-box;
  padding: 20px 5%;
}
.page-home #products {
  box-sizing: border-box;
  padding: 20px 5%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
  justify-content: space-between;
  background: #fff;
}
.page-home #products > header {
  padding: 0;
}
.page-home #products article {
  margin: 0;
  padding-top: 0;
  display: block;
  width: 31.2%;
  align-self: stretch;
  position: relative;
  padding-bottom: calc(20px + 3.5em);
}
.page-home #products article:before {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  left: -30px;
  width: 1px;
  height: 50%;
  transform: translate(0%, -50%);
  background: #f5f5f5;
}
.page-home #products article:nth-of-type(1):before {
  display: none;
}
.page-home #products article figure img {
  margin: 0 auto;
  display: block;
  max-width: 100%;
  height: auto;
}
#products article {
  padding: 40px 0;
}
.page-home #products article:nth-child(even) {
  /* background: #fff; */
}
.page-products #products article:nth-child(odd) {
  background: #fff;
}
section {
  padding-top: 40px;
  padding-right: 0;
}
#products, #news {
  padding: 0;
  width: 100%;
}
#news {
  padding-top: 40px;
}
#about {
  padding-bottom: 40px;
}
aside, .page-template-content-artin figure {
  padding-top: 40px;
  padding-left: 0;
}
#site-header, #site-footer {
  width: 100%;
}
section, #products .content, #news .news {
  width: 63.5%;
  padding-right: 0;
}
aside, .page-template-content-artin figure {
  width: 32%;
}
.page-prices aside {
  position: fixed;
  right: 0;
}
#products > header, #news > header {
  box-sizing: border-box;
  width: 100%;
  padding: 40px 5% 0;
}
.page-home #products > header {
  padding-top: 0;
}
#products .content, #news .news, #news aside {
  padding-top: 0;
}
#products aside {
  padding-top: 0;
}
#news aside nav, 
.blog section + aside nav, 
.single-post section + aside nav, 
.archive section + aside nav {
  margin-bottom: 40px;
}
#site-header {
  background: #0058AD;
  padding-bottom: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-start;
  justify-content: space-between;
}
#site-logo {
  margin: 0 0 20px;
  padding: 0;
  width: 70%;
}
#site-logo img {
  max-width: 100%;
  height: auto;
  display: block;
}
#site-header .tools {
  width: 50%;
  max-width: 15em;
}
#site-header .nav {
  width: 100%;
}
#site-header ul {
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-start;
  justify-content: left;
  column-gap: 0;
}
nav a:link, 
nav a:visited, 
nav a:hover, 
nav a:focus, 
nav a:active {
  display: block;
  padding: .5em 1em;
  color: #fff;
  background: #0058AD;
  text-decoration: none;
}
nav .current-page-ancestor > a:link, 
nav .current-page-ancestor > a:visited, 
nav .current-page-ancestor > a:hover, 
nav .current-page-ancestor > a:focus, 
nav .current-page-ancestor > a:active {
  background: #f5f5f5;
  color: #0058AD;
}
nav .current_page_ancestor > a:link, 
nav .current_page_ancestor > a:visited, 
nav .current_page_ancestor > a:hover, 
nav .current_page_ancestor > a:focus, 
nav .current_page_ancestor > a:active {
  background: #f5f5f5;
  color: #0058AD;
}
nav .current_page_parent > a:link, 
nav .current_page_parent > a:visited, 
nav .current_page_parent > a:hover, 
nav .current_page_parent > a:focus, 
nav .current_page_parent > a:active {
  background: #f5f5f5;
  color: #0058AD;
}
nav .current_page_item > a:link, 
nav .current_page_item > a:visited, 
nav .current_page_item > a:hover, 
nav .current_page_item > a:focus, 
nav .current_page_item > a:active {
  background: #f5f5f5;
  color: #0058AD;
}
.current-page-ancestor, .current_page_parent, .current_page_item {
	background: #f5f5f5;
	color: #0058AD;
}
/* li:has(a[aria-current="page"]) {
	background: #fff;
	color: #0058AD;
} */

.language, .sitemap {
	font-size: .75em;
}
.language span {
	display: block;
	padding: .5em 1em;
	color: #999;
}
.language span:has(a) {
	padding: 0;
}
#site-header .tools ul {
	justify-content: right;
}
.search-form {
  text-align: right;
  position: relative;
}
#site-footer {
  background: #fff;
  width: 1920px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-start;
  justify-content: space-between;
  font-size: .75em;
  
  position: sticky;
  top: 100vh;
}
.contacts {
	width: 65%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-content: flex-start;
	align-items: flex-start;
	justify-content: space-between;
	column-gap: 1em;
}
.contacts {
  width: 65%;
  column-gap: 1em;
}
.contacts h2 {
	width: 100%;
}
.contacts p {
	width: 30%;
  width: 100%;
}
.newsgroups, .bulletin {
	width: 30%;
}
.contacts .embed-container {
  display: none;
}
.copyright {
	width: 100%;
}
#menu_btn {
	display: none;
}
h2 a {
	display: block;
}
aside nav {
	padding: 20px;
	color: #fff;
	background: #0058AD;
}
aside nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.page-prices aside nav ul ul {
  padding-left: 20px;
}
aside nav .children {
  display: none;
  background: #0058AD;
}
aside nav .current_page_item .children, 
aside nav .current_page_ancestor .children {
  display: block;
}
nav .children a:link, 
nav .children a:visited, 
nav .children a:hover, 
nav .children a:focus, 
nav .children a:active {
  padding-left: 2em;
}
nav .children .children a:link, 
nav .children .children a:visited, 
nav .children .children a:hover, 
nav .children .children a:focus, 
nav .children .children a:active {
  padding-left: 3em;
}
h1 {
	margin-top: 0;
}
aside h2 {
	margin: .2125em 0 .9em;
}
dl {
  width: 100%;
  display: grid;
  grid-template-columns: 33% auto;
}
.contacts dl {
  width: 48%;
}
dt {
  margin: 0;
  padding: 0 1em 0 0;
  font-weight: 600;
  grid-column: 1;
}

dd {
  margin: 0;
  padding: 0;
  grid-column: 2;
}
/* dt {
	margin: 0;
	padding: 0;
	font-weight: 600;
	width: 33%;
}
dd {
	margin: 0 0 0 auto;
	padding: 0;
	width: 66%;
} */
header h1 a:link, 
header h1 a:visited, 
header h1 a:hover, 
header h1 a:focus, 
header h1 a:active {
  display: block;
  text-decoration: none;
  color: #0058AD;
  font-size: .625em;
  line-height: 1.2em;
}
.page-template-sitemap section {
  padding-right: 5%;
  width: 100%;
}
.page-template-sitemap section > ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 1rem;
  grid-row-gap: 2rem;
}

.page-template-content-product header, 
#products article header {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-start;
  justify-content: space-between;
}
section header h1, 
article h1, 
.home .news header h2, 
#products article header h2, 
#products article header h3 {
  margin: 0 0 .67em;
  font-size: 2em;
  line-height: 1.2em;
}
.page-template-default main header h1, 
.page-template-content-product header h1, 
#products article header h2, 
#products article header h3 {
  flex-basis: 14em;
  
}
html[lang~="de-de"] h1, 
html[lang~="de-de"] h2, 
html[lang~="de-de"] h3, 
html[lang~="de-de"] h4 {
  hyphens: auto;
}
#products article header a:link, 
#products article header a:visited, 
#products article header a:hover, 
#products article header a:focus, 
#products article header a:active {
  text-decoration: none;
}

.page-template-content-product-course table {
  border: 0;
}
.page-template-content-product-course table th, 
.page-template-content-product-course table td {
  border: 0;
  vertical-align: top;
  text-align: left;
}
.page-template-content-product-course tr:has(strong) {
  background: #fff;
  border-top: 1px solid #000;
}
.wp-block-image {
  position: absolute;
  left: 68%;
}
#about {
  position: relative;
}
#about figure {
  position: absolute;
  width: 32%;
  top: 0;
  right: -100%;
}
#about figure img {
  max-width: 100%;
  height: auto;
  display: block;
}
#toc > ol {
  padding-left: 0;
  list-style-position: inside;
}
#toc ol li {
  margin-bottom: .25em;
}
#toc ol li ol {
  margin-top: .25em;
  margin-bottom: .75em;
  padding-left: 1.5em;
}
input[type="search"] {
  margin: 0;
  padding: 5px 10px;
  border: 0;
  border-radius: 0;
  width: 100%;
  height: 32px;
  /* max-width: 15em; */
  box-sizing: border-box;
  color: #000;
  background: #fff;
  
  font-size: 18px;
  line-height: 18px;
  -webkit-appearance: none;
  display: inline-block;
}
button[type="submit"] {
  margin: 0;
  padding: 5px 10px;
  border: 0;
  border-radius: 0;
  width: 3em;
  height: 32px;
  box-sizing: border-box;
  color: #000;
  background: #fff;
  
  font-size: 18px;
  line-height: 18px;
  -webkit-appearance: none;
  display: inline-block;
}
.search-submit {
  position: absolute;
  top: 0;
  right: 0;
}

.page-sitemap section ul li {
  line-height: 1.2em;
  margin: 0 0 .5em;
}
.page-sitemap section ul ul ul {
  padding-top: .5em;
  margin-bottom: 1em;
}
.page-sitemap section ul a:link, 
.page-sitemap section ul a:visited, 
.page-sitemap section ul a:hover, 
.page-sitemap section ul a:focus, 
.page-sitemap section ul a:active {
  text-decoration: none;
}
.page-sitemap section header + ul > li > a:link, 
.page-sitemap section header + ul > li > a:visited, 
.page-sitemap section header + ul > li > a:hover, 
.page-sitemap section header + ul > li > a:focus, 
.page-sitemap section header + ul > li > a:active {
  display: block;
  padding: .5em 1em;
  margin: 0 0 .5em;
  color: #fff;
  background: #0058AD;
}
.page-sitemap section ul ul {
  margin: 0;
  padding: 0 0 0 1em;
  list-style: none;
}
.home .news, 
.blog .news, 
.archive .news {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-start;
  justify-content: space-between;
  
}
.home .news header {
  width: 100%;
}

.home .news article, 
.blog .news article, 
.archive .news article {
  box-sizing: border-box;
  background: #fff;
  padding: 20px 20px calc(20px + 3.5em);
  margin-bottom: 5lvh;
  width: 48%;
  align-self: stretch;
  position: relative;
}
.single article {
  margin-bottom: 5lvh;
}
.news-title {
  margin: 0;
}
.home .news .date, 
.blog .news .date, 
.archive .news .date {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 50%;
  margin: .5em 0;
  text-align: right;
}
.cta {
  position: absolute;
  bottom: 20px;
  left: 20px;
  margin-bottom: 0;
}
#products .cta {
  left: 0;
}
.cta a:link, 
.cta a:visited, 
.cta a:hover, 
.cta a:focus, 
.cta a:active {
  display: inline-block;
  padding: .5em .5em .5em 1em;
  margin: 0;
  color: #fff;
  background: #0058AD;
  text-decoration: none;
}
.more a:link, 
.more a:visited, 
.more a:hover, 
.more a:focus, 
.more a:active {
  display: inline-block;
  padding: .5em .5em .5em 1em;
  margin: 0;
  color: #fff;
  background: #0058AD;
  text-decoration: none;
}
#posts-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-start;
  justify-content: space-between;
}
#posts-nav ul li {
  width: 45%;
}
#posts-nav ul li span {
  padding: .5em 20px;
  display: block;
  color: #fff;
  background: #0058AD;
  line-height: 1.2em;
}
#posts-nav a:link, 
#posts-nav a:visited, 
#posts-nav a:hover, 
#posts-nav a:focus, 
#posts-nav a:active {
  padding: .5em 20px;
  color: #0058AD;
  background: transparent;
  text-decoration: underline;
  line-height: 1.2em;
}
.download {
  padding: .5em .5em .5em 1em;
  margin: 0 0 1em;
  color: #fff;
  background: #0058AD;
}
.download a:link, 
.download a:visited, 
.download a:hover, 
.download a:focus, 
.download a:active {
  color: #fff;
  text-decoration: none;
}

.page-representatives section {
  width: 95%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
  justify-content: space-between;
}
.page-representatives section header {
  width: 100%;
}
.page-representatives section .wp-block-group {
  width: 24%;
  margin-bottom: 5lvh;
}
.page-representatives section .wp-block-group h2 {
  margin: 0 0 .5em;
  padding: .5em 20px;
  background: #fff;
}
.page-representatives section .wp-block-group h3, 
.page-representatives section .wp-block-group p {
  padding: 0 20px;
}

.page-courses .course-list, 
.page-template-content-product-course .course-list {
  margin: 0 0 10lvh;
  padding: 0;
  list-style-position: outside;
  list-style: none;
  counter-reset: courses-counter;
}
.page-courses .course-list > li, 
.page-template-content-product-course .course-list > li {
  margin: 0 0 1em 0;
  padding: 1em 0 1em 2.5em;
  position: relative;
  counter-increment: courses-counter;
}
.page-courses .course-list > li::before, 
.page-template-content-product-course .course-list > li::before {
  position: absolute;
  top: 1em;
  left: 1em;
  display: block;
  content: counter(courses-counter) ". ";
}
.page-courses .course-list > li:nth-child(even), 
.page-template-content-product-course .course-list > li:nth-child(even) {
  background: #fff;
}
.page-courses dl, 
.page-template-content-product-course dl {
  gap: 0;
}
.page-courses dl dt, 
.page-template-content-product-course dl dt {
  /* padding-right: 2.5%;
  width: 42.5%; */
}
.page-courses dl dd, 
.page-template-content-product-course dl dd {
  /* width: 55%; */
}
.page-courses dl dd + dd, 
.page-template-content-product-course dl dd + dd {
  /* margin-top: 0;
  width: 100%; */
}
.page-courses dt h3, 
.page-courses dd h4, 
.page-courses dd p, 
.page-template-content-product-course dt h3, 
.page-template-content-product-course dd h4, 
.page-template-content-product-course dd p {
  margin: 0 0 .5em;
}
.page-courses dd p, 
.page-template-content-product-course dd p {
  line-height: 1.6em;
}
details summary { 
  cursor: pointer;
}
.course-details > summary, 
.page-template-product summary, 
.page-template-content-download summary {
    list-style-type: none;
    font-weight: 700;
    position: relative;
    padding-left: 1em;
}
.course-details > summary::-webkit-details-marker, 
.page-template-product summary::-webkit-details-marker, 
.page-template-content-download summary::-webkit-details-marker {
    display: none;
}
.course-details > summary::before, 
.page-template-product summary::before, 
.page-template-content-download summary::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 1em;
  text-align: center;
  display: block;
  content: '+';
}
.course-details[open] > summary::before, 
.page-template-product details[open] summary::before, 
.page-template-content-download details[open] summary::before {
  content: '-';
}
.course-details ol {
  margin-top: 1em;
}
.course-details li {
  line-height: 1.4em;
  margin-bottom: .5em;
}

/* Newsletter */
/* .bulletin > p {
  padding: 20px;
  margin: 0;
  background: #fff;
} */
aside .tnp-subscription {
  padding: 0 20px 20px;
  margin: 0;
  background: #fff;
}
.tnp-field {
  margin: 0 0 .5em;
}
.tnp-email, 
.tnp-firstname, 
.tnp-lastname {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #333;
  border-radius: 0;
  color: #333;
  padding: .25em .5em;
  -webkit-appearance: none;
}
.tnp-submit {
  display: inline-block;
  border: 1px solid #0058AD;
  border-radius: 0;
  color: #fff;
  background: #0058AD;
  padding: .5em 1em;
  -webkit-appearance: none;
}

.page-template-content-artin figure img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1em;
}

.top-link {
  display: block;
  width: 5em;
  padding: 10px;
  position: fixed;
  bottom: 3em;
  right: 3em;
  color: #fff;
  background: #0058AD;
  text-align: center;
  scroll-behavior: smooth;
}
.top-link:before {
  position: absolute;
  content: "";
  display: block;
  width: 0;
  height: 0;
  left: 50%;
  margin-left: -10px;
  margin-top: -30px;
  border: 10px solid transparent;
  border-bottom: 10px solid #0058AD;
}
/* ==========================================================================
   Helper classes
   ========================================================================== */
@font-face {
     font-family: 'fontello';
     src: url('../font/fontello.eot?65570443');
     src: url('../font/fontello.eot?65570443#iefix') format('embedded-opentype'),
          url('../font/fontello.woff2?65570443') format('woff2'),
          url('../font/fontello.woff?65570443') format('woff'),
          url('../font/fontello.ttf?65570443') format('truetype'),
          url('../font/fontello.svg?65570443#fontello') format('svg');
     font-weight: normal;
     font-style: normal;
   }
   /* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
   /* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
   /*
   @media screen and (-webkit-min-device-pixel-ratio:0) {
     @font-face {
       font-family: 'fontello';
       src: url('../font/fontello.svg?88327654#fontello') format('svg');
     }
   }
   */
   [class^="icon-"]:before, 
   [class*=" icon-"]:before, 
   a[href*="facebook"]:before, 
   a[href*="youtu"]:before, 
   a[href$=".mp4"]:before, 
   a[href*="linkedin"]:before {
     font-family: "fontello";
     font-style: normal;
     font-weight: normal;
     speak: never;
   
     display: inline-block;
     text-decoration: inherit;
     width: 1em;
     margin-right: .2em;
     text-align: center;
     /* opacity: .8; */
   
     /* For safety - reset parent styles, that can break glyph codes*/
     font-variant: normal;
     text-transform: none;
   
     /* fix buttons height, for twitter bootstrap */
     line-height: 1em;
   
     /* Animation center compensation - margins should be symmetric */
     /* remove if not needed */
     margin-left: .2em;
   
     /* you can be more comfortable with increased icons size */
     /* font-size: 120%; */
   
     /* Font smoothing. That was taken from TWBS */
     -webkit-font-smoothing: antialiased;
     -moz-osx-font-smoothing: grayscale;
   
     /* Uncomment for 3D effect */
     /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
   }
   
a[href$=".mp4"]:before { content: '\e800'; } /* '' */
a[href*="youtu"]:before { content: '\f16a'; } /* '' */
a[href*="facebook"]:before { content: '\f308'; } /* '' */
a[href*="linkedin"]:before { content: '\f30c'; } /* '' */

.icon-search:before { content: '\e800'; } /* '' */
.icon-cancel:before { content: '\e801'; } /* '' */
.icon-mail:before { content: '\e802'; } /* '' */
.icon-info-circled:before { content: '\e803'; } /* '' */
.icon-download:before { content: '\e804'; } /* '' */
.icon-calendar:before { content: '\e805'; } /* '' */
.icon-location:before { content: '\e806'; } /* '' */
.icon-menu:before { content: '\f0c9'; } /* '' */
.icon-plus-squared:before { content: '\f0fe'; } /* '' */
.icon-angle-left:before { content: '\f104'; } /* '' */
.icon-angle-right:before { content: '\f105'; } /* '' */
.icon-angle-up:before { content: '\f106'; } /* '' */
.icon-angle-down:before { content: '\f107'; } /* '' */
.icon-quote-left:before { content: '\f10d'; } /* '' */
.icon-quote-right:before { content: '\f10e'; } /* '' */
.icon-minus-squared:before { content: '\f146'; } /* '' */
.icon-youtube-play:before { content: '\f16a'; } /* '' */
.icon-up:before { content: '\f176'; } /* '' */
.icon-facebook-squared:before { content: '\f308'; } /* '' */
.icon-linkedin-squared:before { content: '\f30c'; } /* '' */

.nav-view .icon-menu:before { content: '\e803'; } /* '' */
   
.embed-container, .wp-block-embed__wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; }
.embed-container iframe, .embed-container object, .embed-container embed, .wp-block-embed__wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.embed-container {
  margin-bottom: 2em;
}

/*
 * Hide visually and from screen readers
 */

.hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.sr-only, .screen-reader-text {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
* Extends the .sr-only class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.sr-only.focusable:active,
.sr-only.focusable:focus,
.screen-reader-text.focusable:active,
.screen-reader-text.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 1441px) {

}
@media only screen and (max-width: 1440px) {

}
@media only screen and (max-width: 1280px) {
  .page-representatives section .wp-block-group {
    width: 30%;
  }
}
@media only screen and (max-width: 1024px) {
  .page-representatives section .wp-block-group {
    width: 48%;
  }
  .home .news article, 
  .blog .news article, 
  .archive .news article {
    width: 100%;
  }
  
  #site-header .tools {
    width: 100%;
    max-width: unset;
  }
  #site-header {
    position: relative;
  }
  #site-logo {
    position: relative;
    z-index: 10;
  }
  #site-header .nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
  }
  #menu_btn {
    position: absolute;
    top: 20px;
    right: 5%;
    display: inline-block;
    margin: 0;
    padding: 10px;
    border: 0;
    color: #0058AD;
    background: #fff;
  }
  #menu {
    display: none;
  }
  body:has(.nav-view) {
    overflow: hidden;
  }
  .nav-view #menu {
    display: block;
    box-sizing: border-box;
    height: 100lvh;
    padding: 80px 5% 0;
    background: #0058AD;
  }
  .nav-view #menu ul {
    flex-direction: column;
  }
  .nav-view #menu ul li {
    width: 100%;
  }
  .page-template-sitemap section > ul {
    grid-template-columns: 1fr 1fr;
  }
}
@media only screen and (max-width: 768px) {
  section, #products .content, #news .news {
    padding-right: 5%;
    width: 100%;
  }
  aside, .page-template-content-artin figure {
    padding-left: 5%;
    width: 100%;
  }
  .page-prices main {
    flex-direction: column-reverse;
  }
  .page-prices aside {
    position: static;
  }
  .contacts, .newsgroups, .bulletin {
    width: 100%;
  }
  .wp-block-image {
    position: static;
  }
  .page-representatives section .wp-block-group {
    width: 100%;
  }
  .page-template-sitemap section > ul {
    grid-template-columns: 1fr;
  }
  .page-courses dl dt, 
  .page-template-content-product-course dl dt {
    width: 97.5%;
  }
  .page-courses dl dd, 
  .page-template-content-product-course dl dd {
    padding-right: 2.5%;
    width: 97.5%;
  }
  table th, table td {
    font-size: .625em;
  }
  table th {
    text-align: left;
  }
  table td {
    text-align: right;
  }
  dl {
    width: 100%;
    display: block;
    grid-template-columns: none;
  }
  .contacts dl {
    width: 100%;
  }
  .page-home #products article {
    padding-top: 40px;
    width: 100%;
  }
  .page-home #products article:nth-of-type(1) {
    padding-top: 0;
  }
  .page-home #products article:before {
    width: 50%;
    height: 1px;
    top: 10px;
    left: 50%;
    transform: translate(-50%, 0%);
  }
}
@media only screen and (max-width: 414px) {
  .contacts p {
    width: 100%;
  }
}


@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  /*
     * Printing Tables:
     * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
     */
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}

