@font-face {
  font-family: 'Circe';
  src: url('../fonts/Circe-Light.eot');
  src: local('Circe Light'), local('Circe-Light'),
      url('../fonts/Circe-Light.eot?#iefix') format('embedded-opentype'),
      url('../fonts/Circe-Light.woff2') format('woff2'),
      url('../fonts/Circe-Light.woff') format('woff'),
      url('../fonts/Circe-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Circe Extra';
  src: url('../fonts/Circe-ExtraBold.eot');
  src: local('Circe Extra Bold'), local('Circe-ExtraBold'),
      url('../fonts/Circe-ExtraBold.eot?#iefix') format('embedded-opentype'),
      url('../fonts/Circe-ExtraBold.woff2') format('woff2'),
      url('../fonts/Circe-ExtraBold.woff') format('woff'),
      url('../fonts/Circe-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: 'Circe';
  src: url('../fonts/Circe-Thin.eot');
  src: local('Circe Thin'), local('Circe-Thin'),
      url('../fonts/Circe-Thin.eot?#iefix') format('embedded-opentype'),
      url('../fonts/Circe-Thin.woff2') format('woff2'),
      url('../fonts/Circe-Thin.woff') format('woff'),
      url('../fonts/Circe-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: 'Circe';
  src: url('../fonts/Circe-Regular.eot');
  src: local('Circe'), local('Circe-Regular'),
      url('../fonts/Circe-Regular.eot?#iefix') format('embedded-opentype'),
      url('../fonts/Circe-Regular.woff2') format('woff2'),
      url('../fonts/Circe-Regular.woff') format('woff'),
      url('../fonts/Circe-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Circe';
  src: url('../fonts/Circe-Bold.eot');
  src: local('Circe Bold'), local('Circe-Bold'),
      url('../fonts/Circe-Bold.eot?#iefix') format('embedded-opentype'),
      url('../fonts/Circe-Bold.woff2') format('woff2'),
      url('../fonts/Circe-Bold.woff') format('woff'),
      url('../fonts/Circe-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

* {
  font-family: 'Circe', sans-serif;
  font-size: 16px;
  line-height: 20px;
  color: #000150;
  box-sizing: border-box;
}

ul {
  margin-bottom: 0;
  list-style: none;
}

h2 {
  font-size: 35px;
  line-height: 39px;
  font-weight: 700;
}

a {
  text-decoration: none;
}

input {
  outline: none;
}

.control {
  margin: 0 auto;
  max-width: 1440px;
  padding: 0 60px;
}

input, textarea {
  outline: none;
}



/* Buttons */
.btns {
  cursor: pointer;
  padding: 12px 28px;
  border-radius: 100px;
  border: none;
  transition: color .15s ease-out, background .15s ease-out, border .15s ease-out;
}

.grey-btn {
  background-color: #F3F5FC;
  color: #000150;
}

.darkblue-btn {
  background-color: #000150;
  color: #FFFFFF;
}

.darkblue-btn:hover{
  background-color: #313385;
  color: #FFFFFF;
}

.darkblue-btn:active {
  background-color: #000150;
}

.pink-btn {
  background-color: #D946D1;
  color: #FFFFFF;
}

.pink-btn:hover{
  background-color: #A3199B;
}

.pink-btn:active {
  background-color: #D946D1;
}

.border-btn {
  border: 1px solid #000150;
  color: #000150;
}

.border-btn path, .grey-btn path {
  transition: stroke .15s linear;
}

.border-btn:hover path, .grey-btn:hover path {
  stroke: #FFFFFF;
}

.border-btn:hover, .grey-btn:hover {
  background-color: #7273B4;
  color: #FFFFFF;
}

.border-btn:active, .grey-btn:active {
  background-color: #030573;
  color: #FFFFFF;
}
 .grey-btn:hover span {
  color: #FFFFFF;
}

.grey-btn:active span {
  color: #FFFFFF;
}

.btns:disabled {
  color: #7F7F7F;
  background-color: #DBDBDB;
  border-color: #DBDBDB;
}
/*  */

/* chip */
.chip {
  cursor: auto !important;
  padding: 10px;
  border-radius: 100px;
  background-color: #313385;
  color: white;
  border: none;
  outline: none;
}
/*  */

/* Card */
.card-category {
  border-radius: 20px;
  background-color: #fcfcfc;
  padding: 20px;
  min-width: 370px;
}

.card-category:hover .card-category-btn {
  background-color: #000150;
}

.card-category path {
  transition: stroke .2s linear;
}

.card-category:hover path {
  stroke: #fff;
}

.card-category-picture {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.card-category-btn {
  border: none;
  border-radius: 8px;
  background-color: #edf0fa;
  padding: 5px;
  transition: background-color .2s linear;
}

.card-category-img {
  max-width: 100px;
  max-height: 50px;
}

.card-category-info {
  margin-bottom: 22px;
}

.card-category-header {
  font-weight: 700;
  font-size: 24px;
  line-height: 28px; 
}

.card-category-chip {
  padding: 8px;
  background-color: #eeeeee;
  color: #353535;
}

.card-category-chip:not(:last-child) {
  margin-right: 12px;
}

.tippy-box[data-theme~='te'] {
  background-color: #c9c9c9;
  color: #ffffff;
}
.tippy-box[data-theme~='te'][data-placement^='top'] > .tippy-arrow::before {
  border-top-color: #c9c9c9;
}
.tippy-box[data-theme~='te'][data-placement^='bottom'] > .tippy-arrow::before {
  border-bottom-color: #c9c9c9;
}
.tippy-box[data-theme~='te'][data-placement^='left'] > .tippy-arrow::before {
  border-left-color: #c9c9c9;
}
.tippy-box[data-theme~='te'][data-placement^='right'] > .tippy-arrow::before {
  border-right-color: #c9c9c9;
}

.choices__list--multiple .choices__item {
  border-color: #82A0EF !important;
  background-color: #82A0EF !important;
}

.choices__input {
  background: none;
  margin-bottom: 0;
  padding-bottom: 0;
  font-size: 16px;
}

.choices__input .is-highlighted {
  background: none;
}

.choices[data-type*=select-multiple] .choices__button, .choices[data-type*=text] .choices__button {
  border-left: 1px solid #7273B4
}

.choices__list--dropdown .choices__placeholder {
  display: none;
}

.loader {
  width: 24px;
  height: 24px;
  border: 2px solid #FFF;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
0% {
    transform: rotate(0deg);
}
100% {
    transform: rotate(360deg);
}
} 

.custom-checkbox {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

.custom-checkbox+label {
  display: inline-flex;
  user-select: none;
}
.custom-checkbox+label::before {
  content: '';
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  flex-grow: 0;
  border: 1px solid #adb5bd;
  border-radius: 0.25em;
  margin-right: 0.5em;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 50% 50%;
}

.custom-checkbox:checked+label::before {
  border-color: #000150;
  background-image: url("../images/check.svg");
  background-repeat: none;
  background-position: 3.2px 2px;
  background-size: 8px;
}

.custom-checkbox+label::before {
  content: '';
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  flex-grow: 0;
  border: 1px solid #adb5bd;
  border-radius: 0.25em;
  margin-right: 0.5em;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 50% 50%;
  transition: border-color .2s linear;
}

.custom-checkbox:not(:disabled):not(:checked)+label:hover::before {
  border-color: #000150;
}

.custom-checkbox:disabled+label::before {
  background-color: #e9ecef;
}

.cookies {
  position: fixed;
  bottom: 10px;
  left: 0;
  right: 0;
  max-width: 1440px;
  padding: 0 65px;
  margin: 0 auto;
  transition: opacity .2s linear;
}

.cookies__block {
  border-radius: 30px;
  width: 100%;
  padding: 25px 15px;
  background-color: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  color: #fff;
  box-shadow: 0px 0px 10px 0 #cacaca;
}

.cookies__paragraph {
  margin-bottom: 0;
}

.cookies__btn {
  margin-left: 15px;
}

.simplebar-scrollbar::before {
  background-color: #080957 !important;
  opacity: 0.3 !important;
  width: 4px;
}

.divider {
  width: 100%;
  height: 1px;
  opacity: 0.2;
  background-color: #6E7782;
}

.header {
  padding-top: 22px;
  padding-bottom: 22px;
  margin-bottom: 17px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #fff;
}

.header__logo {
  margin-right: 93px;
  cursor: pointer;
}

.header__logo a {
  font-size: 24px;
  font-weight: 700;
  line-height: 28px;
  color: #000150;
}

.nav__list {
  display: flex;
  margin: 0;
}

.nav__item:not(:last-of-type) {
  margin-right: 4px;
}

.nav__item:hover a {
  background-color: #DBDFFF;
}
.nav__item a {
  text-decoration: none;
  border-radius: 100px;
  background-color: none;
  transition: background-color .3s linear;
  padding: 12px;
  color: #000150;
}

.header__btn:first-of-type {
  margin-left: auto;
}

.header__btn:not(:last-of-type) {
  margin-right: 12px;
}

.header {
  opacity: 0;
  animation: ani .4s forwards;
}

@keyframes ani {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu {
  background-color: transparent;
  cursor: pointer;
  display: flex;
  padding: 0;
  padding: 4px 8px;
  display: none;
  outline: none;
}

.menu {
  border: 1px solid #000150;
}

.menu:hover {
  background-color: #fff !important;
}

.line {
  fill: none;
  stroke: #000150;
  stroke-width: 6;
  transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
    stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.line1 {
  stroke-dasharray: 60 207;
  stroke-width: 6;
}
.line2 {
  stroke-dasharray: 60 60;
  stroke-width: 6;
}
.line3 {
  stroke-dasharray: 60 207;
  stroke-width: 6;
}
.opened .line1 {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
  stroke-width: 6;
}
.opened .line2 {
  stroke-dasharray: 1 60;
  stroke-dashoffset: -30;
  stroke-width: 6;
}
.opened .line3 {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
  stroke-width: 6;
}

.menu-footer {
  display: none;
  transition: opacity .2s linear;
}

.main {
  min-height: calc(100vh - 107px - 148px);
}

.card-blog {
  background-color: #FBFBFB;
  border-radius: 20px;
  overflow: hidden;
  transition: box-shadow 0.2s linear;
}

.card-blog:hover {
  box-shadow: 0 0 10px  rgba(0, 0, 0, 0.2);
}

.card-blog__image {
  margin-bottom: 30px;
  width: 100%;
  height: 198px;
  object-fit: cover;
}

.card-blog__time {
  color: #B6B6B6;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  margin-bottom: 8px;
}

.card-blog__header {
  font-size: 18px;
  color: #353535;
  font-weight: 700;
  line-height: 22px;
  margin-bottom: 15px;
}

.card-blog__paragraph {
  font-size: 16px;
  color: #5B5B5B;
  font-weight: 400;
  line-height: 20px;
  margin-bottom: 0;
}

.card-blog__text {
  padding: 0 12px 29px 12px;
}

@media (max-width: 1320px) {
  .nav__item:not(:last-child) {
    margin-right: 0;
  }
}

@media (max-width: 1090px) {
  .control {
    padding: 0 20px;
  }

  .cookies {
    padding: 0 20px;
  }

  .cookies__block {
    display: block;
  }
  
  .cookies__btn {
    display: flex;
    justify-content: end;
    margin-left: 0;
  }

  .cookies__paragraph {
    margin-bottom: 5px;
  }

  .nav {
    position: absolute;
    z-index: 100;
    top: 100%;
    border-radius: 0px 0px 20px 20px;
    padding-top: 27px;
    padding-bottom: 8px;
    align-items: center;
    flex-direction: column;
    width: 100%;
    background-color: #fff;
    display: none;
    transition: opacity .2s linear;
    opacity: 0;
  }

  .nav__item a {
    padding: 6px 8px;
  }

  .nav__list {
    flex-direction: column;
    padding-left: 0;
    transition: opacity .2s linear, transform .2s linear;
    opacity: 0;
    transform: translateY(-15px);
  }

  .nav__item {
    margin-right: 0;
    margin-bottom: 16px;
    text-align: center;
  }

  .nav__item:last-child {
    margin-bottom: 46px;
  }

  .menu-footer {
    text-align: center;
    display: inline-block;
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;
    opacity: 0;
  }

  .menu {
    display: block;
  }

  .header {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .header__btn {
    margin-right: 10px;
    padding: 6px 8px;
  }

  .header__logo a {
    font-size: 18px;
    line-height: 22px;
    margin-right: 0;
  }

  .header__logo {
    margin-right: 0;
  }

  .active-header-display {
    display: flex;
  }

  .nav-mobile-active-opacity {
    opacity: 1;
  }

  .nav-mobile-active-items {
    opacity: 1;
    transform: translateY(0);
  }
}
