:root {
  --white-clr: #ffffff;
  --black-clr: #000;
  --aclblue: #2169b3;
  --aclyellow: #ffcf43;
  --aclgreen: #69d19c;
  --aclpurple: #f273ff;
  --aclred: #ff0e02;
  --grey-clr: #141414;
  --text-clr: #4a4a4a;
  --text-sec-clr: #707070;
  --light-grey: #f5f5f5;
}

::selection {
  background-color: var(--aclblue); /* Barva pozadí */
  color: var(--white-clr); /* Barva textu */
}

/* Lightbox Kustomizace*/
.lb-outerContainer {
  background-color: var(--dark-grey) !important;
}

.lightbox .lb-image {
  border: none !important;
}

* {
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif !important;
}

* > a {
  color: inherit;
  text-decoration: inherit;
}

.red {
  color: var(--red-clr);
  font-size: inherit;
  text-decoration: inherit;
  font-family: inherit;
  font-weight: inherit;
  line-height: inherit;
}

/* Docasne */

.docasne {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  position: relative;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1;
  background-color: var(--white-clr);
  color: var(--grey-clr);
  height: 100vh;
  overflow-x: hidden;
  overflow-y: scroll;
}

.docasne > section {
  width: 100%;
  max-width: 1200px;
  padding: 2rem;
  margin: 0 auto;
}

.docasne > section p {
  width: 100%;
  max-width: 1200px;
  padding: 2rem;
  margin: 0 auto;
}

.loading_animation {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 999;
  background-color: var(--white-clr);
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading_animation img {
  max-width: 360px;
  width: 80%;
}
button[data-openmenu] {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin-right: 0;
  margin-left: 1rem;
  pointer-events: none;
}

button[data-openmenu] span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--grey-clr);
  position: relative;
}

button[data-openmenu] span::before,
button[data-openmenu] span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--grey-clr);
}

button[data-openmenu] span::before {
  top: -8px;
}

button[data-openmenu] span::after {
  top: 8px;
}

@keyframes popload {
  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}

body {
  background-color: var(--white-clr);
  color: var(--text-clr);
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body::before {
  /* content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/steel-background.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0; */
}

b {
  font-weight: 500;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto", serif;
  font-weight: 900;
  margin-bottom: 1.25rem;
  line-height: 1;
  text-transform: none;
  letter-spacing: 0.025rem;
}

.h1,
h1 {
  font-size: clamp(1.75rem, 4.95vw, 3.15rem);
}

.h2,
h2 {
  font-size: clamp(1.55rem, 2.15vw, 2.15rem);
}

.h3,
h3 {
  font-size: clamp(1rem, 1.75vw, 1.4rem);
}

.h4,
h4 {
  font-size: clamp(0.75rem, 1.25vw, 1.3rem);
}

.h5,
h5 {
  font-size: clamp(1.2rem, 1.75vw, 1.1rem);
}

.h6,
h6 {
  font-size: clamp(0.575rem, 0.75vw, 0.75rem);
}

h1 *,
h2 *,
h3 *,
h4 *,
h5 *,
h6 * {
  font-family: inherit;
  text-decoration: inherit;
  font-weight: inherit;
  font-size: inherit;
  color: inherit;
  line-height: inherit;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  cursor: pointer;
}

input[type="text"],
input[type="email"],
input[type="number"],
textarea {
  width: 100%;
  padding: 0.5rem;
  box-shadow: none;
  border: none;
  background-color: var(--light-bg);
}

p,
li,
span,
a {
  line-height: 1.35;
  font-size: clamp(0.85rem, 1.05vw, 1rem);
}
p {
  line-height: 1.5;
}

p > *,
li > *,
span > *,
a > * {
  line-height: inherit;
  font-size: inherit;
}

a.icon {
  background-repeat: no-repeat;
  background-size: 15px;
  background-position: left center;
  padding-left: 20px !important;
}
a.blank {
  background-image: url("../images/odkaz-mimo.svg");
}

a.black.blank {
  background-image: url("../images/odkaz-mimo-black.svg");
}

a.email {
  background-image: url("../images/email-white.svg");
}

a.black.email {
  background-image: url("../images/email-black.svg");
}
a.black.tel {
  background-image: url("../images/phone-black.svg");
}

.content_width {
  width: 95%;
  max-width: 1680px;
}

.btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-top: 2rem;
}

.btn {
  display: inline-flex;
  padding: 0.75rem 1rem 0.75rem 1rem;
  background-color: transparent;
  color: var(--white-clr);
  text-decoration: none;
  border: 2px var(--red-clr) solid;
  border-radius: 50px;
  transition: 0.3s;
  font-weight: normal;
  line-height: 1.15;
  border: 1px var(--white-clr) solid;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--white-clr);
  color: var(--text-clr);
  border: 1px var(--white-clr) solid;
}

.btn img {
  margin-left: 1rem;
  width: 25px;
}

.btn.white {
  background-color: var(--white-clr);
  border: 2px var(--white-clr) solid;
  color: var(--text-clr);
}

.btn.white:hover {
  border-color: var(--black-clr) solid;
}

.btn.black {
  background-color: transparent;
  border: 2px var(--black-clr) solid;
  color: var(--text-clr);
}

.btn.black:hover {
  background-color: var(--black-clr);
  border: 2px var(--black-clr) solid;
  color: var(--white-clr);
}

.btn.icon {
  padding-left: 50px !important;
  background-position: left 15px center;
  background-repeat: no-repeat;
  background-size: 20px;
}

.btn.icon > span {
  position: relative;
  left: 0;
  transition: 0.55s;
}

.btn.icon:hover > span {
  left: -10%;
}

.icon.pdf {
  background-image: url("../images/pdf-icon.svg");
}

.icon.arrow {
  background-image: url("../images/sipka-cerna.svg");
  background-size: 15px;
  background-position: left 20px center;
}

/* Header Hlavička */

#document-header {
  position: relative;
  z-index: 999;
}

#document-header li {
  list-style-type: none;
}

#document-header .top-part {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--white-clr);
  padding-left: 50px;
  position: relative;
  z-index: 3;
  opacity: 0;
  transform: translate(0, 50%);
}

.animation #document-header .top-part {
  animation: popload 0.5s linear forwards;
}

#document-header .top-part .logo {
  margin: 0 auto 0 0;
}

#document-header .top-part .logo img {
  width: 180px;
}

#document-header .top-part .menuinfo {
  color: var(--white-clr);
  margin: 0 0 0 1rem;
  height: 100%;
  padding: 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
#document-header .top-part .menuinfo.blue {
  background-color: var(--aclblue);
  color: var(--white-clr);
}
#document-header .top-part .menuinfo.red {
  background-color: var(--aclred);
  color: var(--white-clr);
}
#document-header .top-part .menuinfo.yellow {
  background-color: var(--aclyellow);
  color: var(--black-clr);
}
#document-header .top-part .menuinfo.green {
  background-color: var(--aclgreen);
  color: var(--white-clr);
}
#document-header .top-part .menuinfo.purple {
  background-color: var(--aclpurple);
  color: var(--white-clr);
}
#document-header .top-part .menuinfo img {
  width: 100%;
  min-width: 20px;
  max-width: 20px;
  margin-right: 0.75rem;
}
#document-header.scrolled {
  padding-top: 80px;
}
@keyframes shownav {
  from {
    transform: translate(0, -100%);
  }
  to {
    transform: translate(0, 0);
    opacity: 1;
  }
}
#document-header.scrolled .top-part {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(0, -100%);
  animation: shownav linear 0.3s forwards !important;
}
#document-header.scrolled .top-part .logo img {
  width: 120px;
}
#document-header.scrolled .top-part .menuinfo {
  padding: 1rem;
}
#document-header .main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  z-index: 2;
}

#document-header .main-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  list-style: none;
  font-weight: normal;
  font-size: clamp(0.85rem, 1.05vw, 1rem);
  right: 0;
  margin-right: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

#document-header .main-nav ul li a {
  display: block;
  padding: 0.5rem;
}

#document-header ul.langs {
  margin: 0 1rem;
}

#document-header span[data-closemenu] {
  display: none;
}

li.dropdown {
  position: relative;
  padding-right: 15px;
}

li.dropdown > ul {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transform: translate(0, -10px);
  transition: 0.25s;
  border-radius: 5px;
  background: var(--aclblue);
  color: var(--white-clr);
  display: block !important;
  padding: 1rem;
  min-width: fit-content;
  white-space: nowrap;
}

li.dropdown > ul::before {
  content: "";
  position: absolute;
  top: 0;
  right: 10%;
  width: 8px;
  height: 8px;
  transform: translate(0, -50%) rotate(45deg);
  background: inherit;
}

li.dropdown > ul > li {
  margin: 0.5rem 0;
}

li.dropdown > ul > li a {
  padding: 0.5rem;
}

li.dropdown:hover > ul {
  position: absolute;
  pointer-events: all;
  opacity: 1;
  transform: translate(0, 0);
}

li.dropdown::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid var(--grey-clr);
  transform: translate(0, -50%);
}

.header {
  position: relative;
  margin-left: 50px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  padding-top: 25vh;
  background: var(--white-clr);
  z-index: 2;
  transition: 0.5s;
}

.header.white .info {
  color: var(--text-clr);
}

.header.fsz {
  margin-left: 0;
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 3rem;
  padding: 2rem 0 !important;
  min-height: 100vh;
  align-items: center;
}

.header::before {
  background-image: url("../images/acl-automotive-header.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  pointer-events: none;
  background-size: cover;
}

.header.err::before {
  background-image: url("../images/demo.jpg");
}

.header.white::before {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}

.header::after {
  opacity: 0.75 !important;
}

.header::before,
.header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80%;
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
  z-index: 0;
  opacity: 0;
  transform: translate(5%, 0);
}

.header > * {
  position: relative;
  z-index: 1;
}

.header.fsz::before,
.header.fsz::after {
  min-height: 100vh !important;
  max-height: 100%;
  height: 100%;
  border-radius: 0 !important;
  display: block;
}

.animation .header::before,
.animation .header::after {
  animation: popload 0.75s linear forwards;
}

.header.blue::before,
.header.blue::after {
  background-color: var(--aclblue);
}

.header.blue::after {
  background: #ffffff;
  background: -webkit-linear-gradient(0deg, rgb(0, 0, 0) 0%, rgba(33, 105, 179, 1) 100%);
  background: -moz-linear-gradient(0deg, rgb(0, 0, 0) 0%, rgba(33, 105, 179, 1) 100%);
  background: linear-gradient(0deg, rgb(0, 0, 0) 0%, rgba(33, 105, 179, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#FFFFFF", endColorstr="#2169B3", GradientType=0);
}

.header.yellow::before,
.header.yellow::after {
  background-color: var(--aclyellow);
}

.header.yellow::after {
  background: #000000;
  background: -webkit-linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(255, 207, 67, 1) 100%);
  background: -moz-linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(255, 207, 67, 1) 100%);
  background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(255, 207, 67, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000", endColorstr="#FFCF43", GradientType=0);
}

.header.purple::before,
.header.purple::after {
  background-color: var(--aclpurple);
}

.header.purple::after {
  background: #000000;
  background: -webkit-linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(242, 115, 255, 1) 100%);
  background: -moz-linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(242, 115, 255, 1) 100%);
  background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(242, 115, 255, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000", endColorstr="#F273FF", GradientType=0);
}

.header.green::before,
.header.green::after {
  background-color: var(--aclgreen);
}

.header.green::after {
  background: #000000;
  background: -webkit-linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(105, 209, 156, 1) 100%);
  background: -moz-linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(105, 209, 156, 1) 100%);
  background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(105, 209, 156, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000", endColorstr="#69D19C", GradientType=0);
}

.header.red::before,
.header.red::after {
  background-color: var(--aclred);
}

.header.red::after {
  background: #000000;
  background: -webkit-linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(255, 14, 2, 1) 100%);
  background: -moz-linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(255, 14, 2, 1) 100%);
  background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(255, 14, 2, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000", endColorstr="#FF0E02", GradientType=0);
}

.header.white::before,
.header.white::after {
  background-color: var(--white-clr);
}

.header.white::after {
  background: #ffffff;
  background: -webkit-linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgb(255, 255, 255) 100%);
  background: -moz-linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgb(255, 255, 255) 100%);
  background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgb(255, 255, 255) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#FFFFFF", endColorstr="#2169B3", GradientType=0);
  opacity: 0.8 !important;
}

.header .info {
  text-align: left;
  color: var(--white-clr);
  transform: translate(0, -30%);
  padding: 2rem 5rem;
  max-width: 680px;
  margin-left: 0;
  transition: 0.5s;
}
.header.fsz .info {
  max-width: 620px;
  transform: translate(0, 0);
  margin: 0 auto;
  text-align: center;
}
.header.fsz .info.fsz {
  max-width: 90%;
  text-align: left;
  margin: 0 auto;
  margin-left: 0;
}

.header .info p {
  margin-bottom: 1rem;
}
.header .download {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}

.header .download .title {
  display: block;
  margin-left: 0;
  margin-bottom: 0;
  text-align: left;
  width: 100%;
}

.header .download .btn {
  margin-left: 0;
  margin-right: 1rem;
}

.header .cards {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2rem;
  padding-right: 12rem;
  transition: 0.5s;
}

.header.fsz .cards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.header.fsz .cards .card {
  margin: 0;
}

.header.center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.header.center .cards {
  margin: 0 auto !important;
  padding: 2rem !important;
}

/* Kariéra */

.kariera {
  background-color: var(--light-grey);
}

.kariera > .content_width {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: center;
  gap: 2rem;
}

.kariera > .content_width > figure {
  margin: 0 2rem 0 0;
  width: fit-content;
  display: inherit;
  justify-content: flex-end;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
}
.animation .kariera > .content_width > figure {
  animation: showload 1.25s linear forwards;
  animation-delay: 0.25s;
}
.kariera > .content_width > figure img {
  width: 100%;
  max-width: 220px;
  transform: translate(0, 5px);
  min-width: 220px;
}

.kariera > .content_width > article {
  margin: 0 auto 0 0;
  padding: 2rem 0;
  opacity: 0;
  transform: translate(-5%, 0);
}

.animation .kariera > .content_width > article {
  animation: popload 0.75s linear forwards;
  animation-delay: 0.5s;
}

/* Kartičky Card */

.card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: var(--aclblue);
  padding-top: 180px;
  width: 320px;
  transition: 0.15s;
  opacity: 0;
  top: 20%;
  min-width: 320px;
  max-width: 320px;
}
@keyframes poploadcrd {
  to {
    opacity: 1;
    top: 0;
  }
}
.animation .card {
  animation-delay: 0.25s;
  animation: poploadcrd 0.75s linear forwards;
}
.animation .card:last-of-type {
  top: 10%;
  animation-delay: 0.25s;
}

.card > figure {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.card > figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 1s;
}

.card:hover img {
  transform: scale(1.05);
}

.card > article {
  padding: 2rem;
  color: var(--white-clr);
}

.card.center > article {
  text-align: center;
}

.card > article p {
  min-height: 67px;
  /*overflow: hidden;*/
  height: auto;
}

.card > article .btn {
  margin-top: 2rem;
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  border-radius: inherit;
  z-index: 2;
  opacity: 0.85;
}

.card > * {
  position: relative;
  z-index: 3;
}

.card.blue::after {
  background: #ffffff;
  background: -webkit-linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(33, 105, 179, 1) 100%);
  background: -moz-linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(33, 105, 179, 1) 100%);
  background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(33, 105, 179, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#FFFFFF", endColorstr="#2169B3", GradientType=0);
}

.card.yellow::after {
  background: #000000;
  background: -webkit-linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(255, 207, 67, 1) 100%);
  background: -moz-linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(255, 207, 67, 1) 100%);
  background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(255, 207, 67, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000", endColorstr="#FFCF43", GradientType=0);
}

.card.purple::after {
  background: #000000;
  background: -webkit-linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(242, 115, 255, 1) 100%);
  background: -moz-linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(242, 115, 255, 1) 100%);
  background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(242, 115, 255, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000", endColorstr="#F273FF", GradientType=0);
}

.card.green::after {
  background: #000000;
  background: -webkit-linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(105, 209, 156, 1) 100%);
  background: -moz-linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(105, 209, 156, 1) 100%);
  background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(105, 209, 156, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000", endColorstr="#69D19C", GradientType=0);
}

.card.red::after {
  background: #000000;
  background: -webkit-linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(255, 14, 2, 1) 100%);
  background: -moz-linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(255, 14, 2, 1) 100%);
  background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(255, 14, 2, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000", endColorstr="#FF0E02", GradientType=0);
}

/* Obsahové sekce Container obsahu Obsah */

.cnt-section {
  position: relative;
  width: 100%;
}

.cnt-section .main {
  position: relative;
  padding: 5rem 4rem;
}

p.hgl {
  background: var(--aclblue);
  color: var(--white-clr);
  padding: 0.5rem 0.75rem;
  width: fit-content;
  border-radius: 5px;
  margin: 1rem auto 1rem 0;
}

.cnt-section .main > .content_width {
  max-width: 680px;
  margin-left: 8%;
  width: 80%;
  opacity: 0;
  transform: translate(0, 10%);
}

.animation .cnt-section .main > .content_width {
  animation: popload 0.55s linear forwards;
}

.cnt-section .main > .content_width.ext {
  max-width: 980px;
  margin-left: 8%;
  width: 80%;
}

.cnt-section .main > .content_width.ext h2 {
  max-width: 80%;
  margin-left: 0;
}

.cnt-section .main .grd-p {
  display: grid;
  grid-gap: 2rem;
  grid-template-columns: 1fr 1fr;
}
@keyframes showload {
  to {
    opacity: 1;
  }
}
.cnt-section .bgfgr {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  height: 100%;
  overflow: hidden;
  opacity: 0;
}

.animation .cnt-section .bgfgr {
  animation: showload 01.25s linear forwards;
  animation-delay: 0.5s;
}

.cnt-section .bgfgr img {
  height: 100%;
  transition: 0.5s;
}

.cnt-section > .content_width {
  padding-left: 5rem;
}

.cnt-section ul {
  margin: 1.5rem 0;
}

.cnt-section li {
  list-style-type: none;
  padding-left: 1rem;
  position: relative;
  font-weight: light;
  margin: 0.25rem 0;
}
.cnt-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  background: var(--text-clr);
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.cnt-section .uptitle {
  text-transform: uppercase;
  display: -webkit-inline-box;
  letter-spacing: 0.3rem;
}
.cnt-section p {
  margin-bottom: 1rem;
}
.subarticle {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 2rem;
  max-width: 60%;
  background-color: var(--white-clr);
  padding: 2rem 3rem;
  margin-left: 8%;
  align-items: baseline;
  transition: 0.5s;
}

/* Reference */

.reference {
  position: relative;
  display: grid;
  grid-gap: 1rem;
  grid-template-columns: 1fr 1fr 1fr 2fr;
  color: var(--white-clr);
  padding: 2rem 0;
  margin: 1rem auto 4rem auto;
  margin-left: calc(8% + 3rem);
}

.reference::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 90%;
  height: 100%;
  z-index: 0;
  border-radius: 10px;
}

.reference::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40%;
  height: 80%;
  z-index: 1;
  background: url("../images/reference.svg");
  background-repeat: repeat;
  background-position: left -15px bottom -30px;
  background-repeat: no-repeat;
  pointer-events: none;
  border-radius: 10px;
  opacity: 0.25;
}
.reference > * {
  position: relative;
  z-index: 3;
}

.reference.blue::after {
  background-color: var(--aclblue);
}

.reference.yellow::after {
  background-color: var(--aclyellow);
}

.reference.red::after {
  background-color: var(--aclred);
}

.reference.green::after {
  background-color: var(--aclgreen);
}

.reference.purple::after {
  background-color: var(--aclpurple);
}

.reference li {
  list-style-type: none;
  padding-left: 1rem;
  position: relative;
  font-weight: light;
  margin: 0.25rem 0;
}

.reference li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  background: var(--white-clr);
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.reference .title {
  font-weight: bold;
  display: block;
}

.reference .fgr {
  transform: translate(0, 25%);
}

.reference .fgr img {
  width: 90%;
  max-width: 620px;
}

/* Footer Patička Pata */

#document-footer {
  background-color: var(--grey-clr);
}

#document-footer .uptitle {
  font-weight: bold;
  display: block;
  text-align: left;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

#document-footer .footer-grd {
  color: var(--white-clr);
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  grid-gap: 2rem;
  max-width: 1080px;
  padding: 4rem 0;
}

#document-footer .footer-grd .title {
  display: block;
  margin-bottom: 1rem;
}

#document-footer .footer-grd ul {
}

#document-footer .footer-grd ul li {
  color: var(--text-sec-clr);
  list-style-type: none;
  margin: 0.25rem 0;
}

#document-footer .footer-grd ul li a {
  padding: 0.25rem;
  transition: 0.25s;
  display: inline-block;
}

#document-footer .footer-grd ul li a:hover {
  color: var(--white-clr);
}

#document-footer .notmobile {
  display: none;
}

/* Grid block */

.cnt-section.grid-blocks .main > .content_width {
  max-width: 1680px;
  margin: 0 auto;
}

.cnt-section .maintitle {
  text-align: center;
  margin-bottom: 3rem;
}

.grid-blocks .grd {
  display: grid;
  grid-gap: 2rem;
}

.grid-blocks .grd[data-col="1"] {
  grid-template-columns: repeat(1, 1fr);
}

.grid-blocks .grd[data-col="2"] {
  grid-template-columns: repeat(2, 1fr);
}

.grid-blocks .grd[data-col="3"] {
  grid-template-columns: repeat(3, 1fr);
}

.grid-blocks .grd .blck {
  background-color: var(--white-clr);
  padding: 2rem;
  -webkit-box-shadow: 0px 8px 24px rgba(149, 157, 165, 0.2);
  -moz-box-shadow: 0px 8px 24px rgba(149, 157, 165, 0.2);
  box-shadow: 0px 8px 24px rgba(149, 157, 165, 0.2);
  width: 100%;
}

.grid-blocks .grd .blck .btn {
  margin-top: 2rem;
}

.grid-blocks .grd .blck p.short {
  max-height: 65px;
  overflow: hidden;
}

.grid-blocks .grd a.icon {
  margin-top: 0.5rem;
  display: inline-block;
}

/* Iframe */
iframe {
  width: 100%;
  height: 30vh;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
@media screen and (max-width: 1680px) {
  .subarticle {
    max-width: 70%;
  }
}

@media screen and (max-width: 1590px) {
  .cnt-section .bgfgr img {
    transform: translate(105px, 0);
  }
}

@media screen and (max-width: 1480px) {
  .header .cards {
    padding-right: 4rem;
  }
}

@media screen and (max-width: 1280px) {
  .header .info {
    max-width: 100%;
  }
  .header .cards {
    padding-right: 2rem;
  }
  .subarticle {
    max-width: 100%;
  }

  .grid-blocks .grd[data-col="3"] {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 1180px) {
  .cnt-section .bgfgr img {
    transform: translate(155px, 0);
  }
  .header {
    grid-template-columns: 1fr;
  }
  .header .info {
    max-width: 80%;
    margin-left: auto;
    grid-column: 1/-1;
  }
  .card {
    padding-top: 130px;
    width: 280px;
  }
  .reference {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .reference > div:last-of-type {
    grid-column: 1/-1;
    z-index: 2;
  }
  .cnt-section .bgfgr img {
    transform: translate(455px, 0);
  }
}

@media screen and (max-width: 1080px) {
  #document-header .top-part .logo img {
    width: 130px;
  }
}

@media screen and (max-width: 980px) {
  .header {
    /* margin-left: 20px; */
  }
  #document-header .top-part .logo img {
    width: 130px;
  }
  #document-header .top-part {
    /* padding-left: 20px; */
    /* display: grid;
    grid-template-areas: "logo tel lang menu";
    justify-content: left;
    grid-gap: 2rem; */
    padding: 1rem 0 1rem 50px;
  }

  button[data-openmenu] {
    margin-left: auto;
    pointer-events: all;
    grid-area: menu;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: fit-content;
    width: 40%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: 0.25s;
    height: 100vh;
    overflow-y: scroll;
    overflow-x: hidden;
  }

  .main-nav ul {
    background: var(--white-clr);
    position: relative;
    border-radius: 10px;
    display: block !important;
    width: 100%;
    height: 100%;
    gap: 2rem;
    list-style: none;
    text-transform: uppercase;
    font-weight: 500;
    font-size: clamp(0.85rem, 1.05vw, 1rem);
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: 0.25s;
    border-left: 1px silver solid;
    transform: translate(20%, 0);
    padding-top: 5vh;
  }

  .main-nav ul .dropdown ul {
    height: unset;
    width: 100%;
  }

  .main-nav ul li {
    position: relative;
    border-bottom: 1px silver solid;
  }

  .main-nav ul li a,
  .main-nav ul li .a {
    display: block;
    text-decoration: none;
    transition: 0.3s;
    cursor: pointer;
    font-size: 1rem;
    padding: 1rem;
    margin-bottom: 0.5rem;
  }
  #document-header ul.langs {
    grid-area: lang;
  }
  #document-header span[data-closemenu] {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--white-clr);
    opacity: 0;
    cursor: pointer;
    z-index: 1;
    pointer-events: none;
    display: block;
  }

  #document-header span[data-closemenu].active {
    opacity: 0.65;
    pointer-events: all;
    display: block !important;
  }

  #document-header .logo {
    grid-area: logo;
  }

  .main-nav.active ul {
    opacity: 1;
    transform: translate(0, 0);
    pointer-events: all;
  }

  .main-nav.active {
    pointer-events: all;
    opacity: 1;
    transform: translate(0, 0);
  }

  #document-header .top-part .menuinfo {
    display: none;
  }

  .title {
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 0rem;
  }

  .header-card {
    max-width: 610px;
    top: 0;
    border-radius: 0;
  }
  li.dropdown > ul {
    left: unset;
    right: 0;
  }
  li.dropdown > ul::before {
    left: unset;
    right: 10%;
  }
}
@media screen and (max-width: 960px) {
  .cnt-section > .content_width {
    padding-left: 0;
  }

  .kariera > .content_width > figure {
    position: absolute;
    z-index: 0;
    opacity: 0.05 !important;
    height: 100%;
    width: 100%;
  }

  .kariera > .content_width > figure img {
    width: 100%;
    min-width: 100%;
  }

  .kariera > .content_width > article {
    padding: 2rem;
  }
}

@media screen and (max-width: 900px) {
  #document-footer .footer-grd {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    grid-gap: 1.5rem;
  }
  #document-footer .footer-grd .grd:first-of-type {
    grid-column: 1/-1;
    margin-bottom: 3rem;
    width: fit-content;
  }
  #document-footer .footer-grd .grd {
    width: 80%;
  }
  #document-footer .footer-grd .grd > * {
    margin: 0 !important;
  }
  #document-footer .footer-grd .grd .title {
    margin-bottom: 1rem !important;
  }
}

@media screen and (max-width: 860px) {
  .cnt-section .main > .content_width,
  .cnt-section .main > .content_width.ext {
    max-width: 1080px;
    margin-left: auto;
    width: 100%;
  }
  .subarticle {
    max-width: 90%;
    margin-left: auto;
  }
}

@media screen and (max-width: 780px) {
  .reference {
    grid-template-columns: 1fr 1fr;
    padding: 2rem;
    margin: 0 auto 3rem auto;
    max-width: 85%;
  }
  .reference::after {
    width: 100%;
  }
  .reference h2 {
    grid-column: 1/-1;
    width: 100%;
    text-align: left;
  }
}

@media (max-width: 690px) {
  .cnt-section .bgfgr img {
    opacity: 0.15;
  }
  .header .cards {
    padding-right: 0;
    gap: 1rem;
  }
}

@media (max-width: 680px) {
  .header .info {
    max-width: 100%;
    padding: 2rem;
  }
}

@media (max-width: 630px) {
  .header {
    margin-left: 20px;
  }

  #document-header .top-part {
    padding-left: 20px;
  }
  .main-nav {
    width: 60%;
  }
}

@media (max-width: 605px) {
  .card > article {
    padding: 1rem;
  }
  .card {
    padding-top: 105px;
    width: 220px;
  }
}
@media (max-width: 600px) {
  #document-footer .footer-grd {
    grid-template-columns: 1fr;
    grid-gap: 1rem;
  }
}

@media (max-width: 560px) {
  #document-footer .footer-grd {
    grid-template-columns: 1fr;
    grid-gap: 1rem;
  }
  .subarticle {
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 0rem;
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  .cnt-section .main {
    padding: 5rem 2rem;
  }
  .cnt-section .main .grd-p {
    grid-template-columns: 1fr;
  }
  .reference {
    grid-template-columns: 1fr;
  }
  .reference > div {
    width: 100%;
  }
}

@media screen and (max-width: 490px) {
  .header .cards {
    flex-wrap: wrap;
  }
  .card {
    padding-top: 0;
    width: 100%;
    padding: 1rem;
  }

  .grid-blocks .grd[data-col="2"] {
    grid-template-columns: repeat(1, 1fr);
  }

  .grid-blocks .grd[data-col="3"] {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media screen and (max-width: 350px) {
  .main-nav {
    width: 100%;
  }
}
