/*========== GOOGLE FONTS ==========*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");

@font-face {
  font-family: "Saira";
  src: url("fonts/Saira-Bold.ttf") format("ttf")
}

@font-face {
  font-family: "Dinpro";
  src: url("fonts/DINPro-Italic.otf") format("opentype");
}

@font-face {
  font-family: "Dinpro";
  font-weight: bold;
  src: url("fonts/DINPro-BoldItalic.otf") format("opentype");
}

/*========== VARIABLES CSS ==========*/
:root {
  --header-height: 3.5rem;
  --nav-width: 280px;

  /*========== Colors ==========*/
  --first-color: #F62741;
  --first-color-light: rgba(9, 10, 58, 0.15);
  --title-color: #19181B;
  --text-color: #58555E;
  --text-color-light: #A5A1AA;
  --body-color: #F9F6FD;
  --container-color: rgb(36, 49, 56);
  --red-color: #836a6a;

  /*========== Font and typography ==========*/
  --body-font: 'Dinpro', sans-serif;
  --normal-font-size: .938rem;
  --small-font-size: .75rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-medium: bold;
  --font-semi-bold: bolder;

  /*========== z index ==========*/
  --z-fixed: 100;
}

@media screen and (min-width: 1024px) {
  :root {
    --normal-font-size: 1rem;
    --small-font-size: .75rem;
    --smaller-font-size: .813rem;
  }
}

/*========== BASE ==========*/
*, ::before, ::after {
  box-sizing: border-box;
}

html {
  height: -webkit-fill-available;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  /*background-color: var(--body-color);*/
  color: var(--text-color);
  /*min-height: 100vh;*/
}

.light {
  background: url('../img/pattern_light.png');
}

.dark {
  background: url('../img/pattern_dark.png');
  color: white;
}

.centered {
  margin: 0 auto;
  text-align: center;
}

/* Avoid Chrome to see Safari hack */
@supports (-webkit-touch-callout: none) {
  body {
    /* The hack for Safari */
    min-height: -webkit-fill-available;
  }
}

main {
  margin-top: 56px;
  margin-left: 0px;
}

h3 {
  margin: 0;
}

a {
  text-decoration: none;
}

.notYet {
  text-decoration-line: line-through;
}

img {
  height: auto;
}

.qualifio {
  margin-top: 30px;
}

.qualifio .nav__link {
  color: white !important;
}

/*========== HEADER ==========*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--container-color);
  box-shadow: 0 1px 0 rgba(22, 8, 43, 0.1);
  padding: 0 1rem;
  z-index: 10000;
}

.header__container {
  display: flex;
  align-items: center;
  height: var(--header-height);
  justify-content: space-between;
}

.header__image {
  position: absolute;
  left: 0;
}

.header__img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
}

.header__logo {
  color: var(--title-color);
  font-weight: var(--font-medium);
  display: none;
}

.header__title {
  padding: .40rem .75rem;
  text-align: left;
  /*background-color: var(--first-color-light);*/
  border-radius: .25rem;
  z-index: 100;
  font-size: 23px;
  left: 180px;
  margin-right: 30px;
  font-family: "Dinpro";
  position: absolute;
  text-align: left;
  font-weight: bold;
}


.header__icon,
.header__toggle {
  font-size: 1.8rem;
  z-index: 101;
  color:white;
}

.header__toggle {
  cursor: pointer;
  position: absolute;
  right: 10px;
}

/*========== NAV ==========*/
.nav {
  position: fixed;
  top: var(--header-height);
  left: -100%;
  height: 100vh;
  padding: 1rem 1rem 0;
  background-color: var(--container-color);
  box-shadow: 1px 0 0 rgba(22, 8, 43, 0.1);
  transition: all .3s linear;
  text-transform: uppercase;
  z-index: 3000;
}

.nav__container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 3rem;
  overflow: auto;
  scrollbar-width: none;
  /* For mozilla */
}

/* For Google Chrome and others */
.nav__container::-webkit-scrollbar {
  display: none;
}

.nav__logo {
  font-weight: var(--font-semi-bold);
  margin-bottom: 2.5rem;
  font-size: 12px;
  height: var(--header-height);
}

.nav__list,
.nav__items {
  display: grid;
  transition: all .4s linear;
}

.nav__list {
  row-gap: 1.2rem;
}

.nav__items {
  row-gap: 1.5rem;
  background: rgb(233, 236, 240);
  padding: 10px;
  border-radius: 10px;
}

.nav__subtitle {
  font-size: var(--normal-font-size);
  text-transform: uppercase;
  letter-spacing: .1rem;
  color: var(--text-color-light);
}

.nav__link {
  display: flex;
  align-items: center;
  color: var(--text-color);
}

.nav__link:hover {
  color: var(--first-color);
}

.nav__icon {
  font-size: 1.2rem;
  margin-right: .5rem;
}

.nav__name {
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  white-space: nowrap;
}

.nav__logout {
  margin-top: 5rem;
}

/* Dropdown */
.nav__dropdown {
  overflow: hidden;
  max-height: 21px;
  transition: .4s ease-in-out;
}

.nav__dropdown-collapse {
  background-color: var(--first-color-light);
  border-radius: .25rem;
  margin-top: 1rem;
}

.nav__dropdown-content {
  display: grid;
  row-gap: .5rem;
  padding: .75rem 2.5rem .75rem 0.5rem;
}

.nav__dropdown-item {
  display: list-item;
  list-style-type: disc;
  list-style-position: inside;
  font-size: 11px;/*var(--smaller-font-size);*/
  font-weight: bold;
  color: var(--text-color);
  white-space: nowrap;
}

.nav__dropdown-item:hover {
  color: var(--first-color);
}

.nav__dropdown-icon {
  margin-left: auto;
  transition: all .4s linear;
}

/* Show dropdown collapse */
.nav__dropdown.active {
  max-height: 200px;
}

/* Rotate icon arrow */
.active .nav__dropdown-icon {
  transform: rotate(180deg);
}

/*===== Show menu =====*/
.show-menu {
  left: 0;
}

/*===== Active link =====*/
.active {
  color: var(--first-color);
}

.selected {
  color: var(--first-color);
}

.red {
  color: red !important;
}

.header__container.bx-x:before {
  display: none!important;
}

/* ========== MEDIA QUERIES ==========*/
/* For small devices reduce search*/
@media screen and (max-width: 299px) {

  main, #navbar, header {
    display: none;
  }

  .messageLowRes {
    display: block !important;
  }
}

@media screen and (min-width: 768px) {
  body {
    /*padding: 1rem 3rem 0 6rem;*/
  }

  .header__image {
    position: absolute;
    left: var(--nav-width);
  }

  .header__image__mobile {
    display: none;
  }

  main {
    margin-top: 64px;
    margin-left: 280px;
  }

  .header {}

  .header__container {
    height: calc(var(--header-height) + .5rem);
  }

  .header__title {
    width: 428px;
    padding: .55rem .75rem;
    z-index: 100;
    color: white;
    font-family: "Dinpro";
    left: 620px;
    position: absolute;
    font-size: 23px;
    text-align: left;
    font-weight: bold;
  }

  .header__toggle {
    display: none;
  }

  .header__logo {
    display: block;
  }

  .header__img {
    width: 40px;
    height: 40px;
    order: 1;
  }

  .nav {
    left: 0;
    padding: 1.2rem 1.5rem 0;
    width: 68px;
    /* Reduced navbar */
  }

  .nav__items {
    row-gap: 1.5rem;
  }

  .nav__icon {
    font-size: 1.3rem;
  }

  /* Element opacity */
  .nav__logo-name,
  .nav__name,
  .nav__subtitle,
  .nav__dropdown-icon {
    opacity: 0;
    transition: all .4s linear;
    white-space: nowrap;
  }


  /* Navbar expanded */
  .nav {
    width: var(--nav-width);
  }

  /* Visible elements */
  .nav .nav__logo-name {
    opacity: 1;
  }

  .nav .nav__subtitle {
    opacity: 1;
  }

  .nav .nav__name {
    opacity: 1;
  }

  .nav .nav__dropdown-icon {
    opacity: 1;
  }
}

#description {
  margin-top: 8px;
  margin-bottom: 8px;
  text-transform: uppercase;
  line-height: 22px;
}

#slider-container {
  position: relative;
  height: 30px;
  background-color: #eeeef5;
}

#ch2 {
  left: 100px;
  position: absolute;
  height: 501px;
  top: -100px;
  cursor: pointer;
}

#ch22 {
  width: 600px;
  bottom: 0px;
  left: 600px;
  height: 500px;
  position: absolute;
  cursor: pointer;
  background-image: url(../svg/c22.svg);
  background-size: 600px 600px;
}

#ch1 {
  position: absolute;
  width: 400px;
  right: 0;
  top: 60px;
  cursor: pointer;
}
#t2{
  left: 350px;
  top: 154px;
  z-index: 1000;
  text-transform: uppercase;
  background: #243138;
  position: absolute;
  padding: 4px;
}
#t22{
  left: 300px;
  bottom: 100px;
  z-index: 1000;
  text-transform: uppercase;
  background: #243138;
  position: absolute;
  padding: 4px;
}

#t222{
  right: 10px;
  top: 313px;
  z-index: 1000;
  text-transform: uppercase;
  background: #243138;
  position: absolute;
  padding: 4px;
}

#t2222{
  right: 10px;
  bottom: 10px;
  z-index: 1000;
  text-transform: uppercase;
  background: #243138;
  position: absolute;
  padding: 4px;
}
@media screen and (max-width: 767px) {
  .show-menu{
    margin-top:2px;
  }
  .header__title {
    text-align: left;
    z-index: 100;
    font-size: 14px;
    left:160px;
  }
  #ch2 {
    left: -115px;
    position: absolute;
    height: 250px;
    top: 6px;
  }
  
  #ch22 {
    width: 350px;
    bottom: -0px;
    height:250px;
    left: -30px;
    position: absolute;
    background-size: 350px 350px;
  }
  
  #ch1 {
    position: absolute;
    width: 240px;
    right: 0;
    top: 60px;
  }
  #t2{
    left: 100px;
    top: 16%;
    z-index: 1000;
    text-transform: uppercase;
    background: #243138;
    position: absolute;
    padding: 2px;
    font-size: 12px;
  }
  #t22{
    left: 50px;
    top: 56%;
    bottom: unset;
    z-index: 1000;
    text-transform: uppercase;
    background: #243138;
    position: absolute;
    padding: 2px;
    font-size: 12px;
  }
  
  #t222{
    right: 10px;
    top: 35%;
    z-index: 1000;
    text-transform: uppercase;
    background: #243138;
    position: absolute;
    padding: 2px;
    font-size: 12px;
  }
  
  #t2222{
    right: 10px;
    bottom: 10px;
    z-index: 1000;
    text-transform: uppercase;
    background: #243138;
    position: absolute;
    padding: 2px;
    font-size: 12px;
  }

}