@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* BACKGROUND */
:root {
  --firm-color-1: #5369e0;
  --firm-color-2: #cbb7ff;
  --firm-color-3: #5369e0;
  --firm-color-4: #e9ebfb;
  --firm-color-5: #ffffff;
}

.blog-grid-card {
  font-family: 'Inter', system-ui;
  font-optical-sizing: auto;
  font-style: normal;
}

.bg-school-1 {
  background: linear-gradient(
    41deg,
    var(--firm-color-3) 0%,
    var(--firm-color-1) 100%
  );
  color: var(--firm-color-5);
}
.bg-school-2 {
  background: linear-gradient(
    41deg,
    var(--firm-color-1) 0%,
    var(--firm-color-3) 100%
  );
}
.bg-school-hover-4:hover {
  background: #e8ebfc;
  cursor: pointer;
}
.bg-school-block-1 {
  background: var(--firm-color-1);
}
.bg-school-block-2 {
  background: var(--primary);
}
.bg-school-block-3 {
  background: var(--firm-color-4);
}
.bg-school-block-4 {
  background: var(--firm-color-2);
}
.text-school-block {
  color: var(--firm-color-5);
}
/* COLOR */
.text-school-1 {
  color: var(--firm-color-1);
}
.text-school-2 {
  color: var(--primary);
}
.text-school-3 {
  color: var(--firm-color-2);
}

/* BTN */
.btn-school-1 {
  background: var(--firm-color-1);
}
.btn-school-2 {
  background: var(--primary);
}
.btn-school-3 {
  background: var(--firm-color-2);
}
.btn-school-4 {
  background: #e8ebfc;
}
.btn-school-3:hover {
  background: var(--firm-color-1);
}

/* SHADOW */
.shadow-2 {
  box-shadow: 0px 5px 10px 1px var(--primary-border);
}
.shadow-2:hover {
  box-shadow: 0px 10px 15px 1px var(--primary-border-hover);
}
.shadow-card .blog-grid-card {
  /* box-shadow: 0px 5px 10px 1px var(--primary-border); */
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
}
/* .shadow-card:hover .blog-grid-card {
    box-shadow: 0px 10px 15px 1px var(--primary-border-hover);
} */
.shadow-card .product-card {
  box-shadow: 0px 5px 10px 1px var(--primary-border);
}
.shadow-card:hover .product-card {
  box-shadow: 0px 10px 15px 1px var(--primary-border-hover);
}
.shadow-card .webinar-card {
  box-shadow: 0px 5px 10px 1px var(--primary-border);
}
.shadow-card:hover .webinar-card {
  box-shadow: 0px 10px 15px 1px var(--primary-border-hover);
}

.shadow-school .shadow-2 {
  background: #ffffff;
  box-shadow: 0px 5px 10px 1px var(--primary-border);
}
.shadow-school:hover .shadow-2 {
  background: var(--firm-color-2);
  box-shadow: 0px 5px 10px 1px var(--primary-border-hover);
}

.shadow-school .shadow-3 {
  background: #eeeeee;
}
.shadow-school:hover .shadow-3 {
  background: var(--primary);
  color: #ffffff;
}

.find-instructor-section-hero {
  background: var(--firm-color-4);
}

.no-result-logo {
  background-image: none !important;
}

.webinar-progress .progress-item .progress-icon.active {
  padding: 10px !important;
  background-color: var(--firm-color-2) !important;
  background-image: linear-gradient(
    to bottom,
    var(--firm-color-2),
    var(--firm-color-2)
  );
}
.webinar-progress .progress-item .progress-icon {
  padding: 10px !important;
  background-color: var(--firm-color-4) !important;
  background-image: linear-gradient(
    to bottom,
    var(--firm-color-4),
    var(--firm-color-4)
  );
}
.webinar-progress .progress-item :hover {
  background-color: var(--firm-color-2) !important;
  background-image: linear-gradient(
    to bottom,
    var(--firm-color-2),
    var(--firm-color-2)
  );
}

.user-profile-state .state-icon {
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
}

.user-profile-state .state-icon img {
  width: 70px !important;
  height: 70px !important;
}

.site-top-banner:after {
  opacity: 0.05;
}

.navbar-brand {
  height: auto !important;
}

.image-box::after {
  background-image: linear-gradient(
    to bottom,
    rgb(555, 555, 555, 0),
    var(--firm-color-4)
  ) !important;
}

.image-box .image-box__a::after {
  background-image: linear-gradient(
    to bottom,
    rgb(555, 555, 555, 0),
    var(--firm-color-4)
  ) !important;
}

.site-top-banner:after {
  background-color: var(--firm-color-2) !important;
}
.cover-content:after {
  background-color: var(--firm-color-2) !important;
}

.cart-banner {
  background-color: var(--firm-color-2) !important;
}

/* footer */

/* .footer .container {
  padding-left: 15px;
  padding-right: 0;
} */

.footer .grid {
  background-color: #f3f3f3;
  position: relative;
  display: grid;
  font-family: 'Inter', system-ui;
  grid-template-columns: 1fr 1fr 1fr 0.1fr;
  grid-template-areas: 'logo docs address icons';
  padding: 29px 32px;
  gap: 1.5rem;
  border-radius: 1.5em 1.5em 0px 0px;
}

@media screen and (max-width: 767.9px) {
  .footer .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      'logo logo'
      'docs address'
      'icons icons';
    gap: 0px 28px;
  }
  .footer .grid .logo {
    display: block;
    height: 42px !important;
    margin-bottom: 28px;
  }
  .footer .grid .rights {
    position: absolute;
    bottom: 28px;
  }
  .footer .grid .icons {
    flex-direction: row !important;
    margin-bottom: 44px;
    margin-top: 28px;
    width: 120px;
  }

  @media screen and (max-width: 479.9px) {
    .footer .grid {
      display: grid;
      grid-template-columns: 1fr;
      grid-template-areas:
        'logo'
        'docs'
        'address'
        'icons';
      gap: 0px 28px;
    }
    .footer .grid .logo {
      display: block;
      height: 42px !important;
      margin-bottom: 28px;
    }
    .footer .grid .rights {
      position: absolute;
      bottom: 28px;
    }
    .footer .grid .address {
      margin-top: 28px;
    }
    .footer .grid .docs {
      margin-top: 28px;
      height: 90px;
      margin: 0 0 !important;
    }
    .footer .grid .icons {
      flex-direction: row !important;
      margin-bottom: 44px;
      margin-top: 28px;
      width: 120px;
    }
  }
}

.footer .grid .logo {
  grid-area: logo;
  font-size: 12px !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 114px;
}

.footer .grid .logo a {
  display: inline-block;
  width: 120px;
  height: auto;
}

.footer .grid .docs {
  grid-area: docs;
  margin: 2px 0;
}

.footer .grid .footer__link {
  color: #151515;
}

.footer .grid .address {
  grid-area: address;
  text-align: left;
  font-size: 12px;
  font-weight: 400;
  line-height: 14.4px;
  color: #a3a3a3;

  @media screen and (max-width: 768px) {
    text-align: left;
  }
}

.footer .grid .icons {
  grid-area: icons;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1.75em;

  @media screen and (max-width: 480px) {
    justify-content: flex-start;
  }
}

.footer .grid .address .address__main {
  color: #151515;
}

/* .footer .grid .logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
} */

/* .footer .grid .year {
  grid-area: year;
  margin-top: -40px;

  @media screen and (max-width: 768px) {
    margin-top: 0;
  }
} */

/* .footer .grid .rights {
  grid-area: rights;
} */

/* .footer .grid .social img {
  cursor: pointer;
  width: 24px;
  height: 24px;
} */

/* .footer .grid .license {
  grid-area: license;
  text-align: end;
} */

/* .footer .grid .program {
  grid-area: program;
  text-align: end;
} */

/* .footer .grid.no-address {
  grid-template-areas:
    'logo social right-container'
    'year year year';
} */

/* @media screen and (max-width: 768px) {
  .footer .grid.no-address {
    grid-template-areas:
      'logo social'
      'right-container right-container'
      'year year';
  }
} */

/* @media screen and (max-width: 480px) {
  .footer .grid.no-address {
    grid-template-areas:
      'logo'
      'social'
      'right-container'
      'year';
  }
} */

/* @media (min-width: 1200px) {
    .footer .grid {
        padding-left: 3em;
        padding-right: 3em;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-areas: none;
    }

    .footer .grid .logo {
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row-start: 1;
        grid-row-end: 2;
    }

    .footer .grid .year {
        grid-column-start: 1;
        grid-column-end: 2;
        grid-row-start: 2;
        grid-row-end: 3;
    }

    .footer .grid .rights {
        grid-column-start: 2;
        grid-column-end: 3;
        grid-row-start: 2;
        grid-row-end: 3;
    }

    .footer .grid .social {
        grid-column-start: 3;
        grid-column-end: 4;
        grid-row-start: 1;
        grid-row-end: 3;
        justify-content: center;
    }

    .footer .grid .program {
        grid-column-start: 4;
        grid-column-end: 5;
        grid-row-start: 1;
        grid-row-end: 2;
    }

    .footer .grid .license {
        grid-column-start: 4;
        grid-column-end: 5;
        grid-row-start: 2;
        grid-row-end: 3;
    }
} */
/* end-footer */

.card-up:hover {
  transform: translateY(-10px);
}

.h2-with-btn {
  display: flex;
  justify-content: space-between;
}

.h2-with-btn h2 a {
  color: #818894;
  font-size: 0.6em;
  border: 1px solid #e1e1e1;
  padding: 0.3em 0.6em;
  border-radius: 5px;
  vertical-align: middle;
}

/* Настройки аватара пользователя */
.profile-image-overlay,
.cover-image-overlay {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  font-weight: bold;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.profile-image-container:hover .profile-image-overlay,
.cover-image-container:hover .cover-image-overlay {
  opacity: 1 !important;
}

.profile-image-container,
.cover-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: #eeeeee;
}

.profile-image-container img,
.cover-image-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Панель прикрепление файлов */
.files-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}

.file-block {
  width: 120px;
  height: auto;
  display: grid;
  grid-template-rows: 100px 1fr;
  align-items: start;
  justify-items: center;
  text-align: center;
  border-radius: 5px;
  padding: 8px;
  transition: all 0.3s ease;
  background-color: var(--firm-color-4);
}

.file-block:hover {
  background-color: var(--firm-color-2);
  cursor: pointer;
}
.file-block:active {
  background-color: var(--firm-color-4);
  cursor: pointer;
}

.file-image {
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: #ffffff;
  border: 1px dashed var(--firm-color-2);
  border-radius: 5px;
  font-size: 1.5rem;
  color: #777;
  font-weight: bold;
}

.file-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.file-name {
  margin-top: 5px;
  font-size: 0.75rem;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Максимум 2 строки */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.file-add-block {
  color: var(--firm-color-2);
  font-size: 2.5rem;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  background-color: var(--firm-color-4);
}

/* Страница профиля вывод файлов */
.meta_files-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
  margin: 15px 0;
}

.meta_file-block {
  width: 120px;
  height: auto;
  display: grid;
  grid-template-rows: 100px 1fr;
  align-items: start;
  justify-items: center;
  text-align: center;
  border-radius: 5px;
  padding: 8px;
  transition: all 0.3s ease;
  background-color: #eeeeee;
}

.meta_file-block:hover {
  background-color: var(--firm-color-4);
  cursor: pointer;
}
.meta_file-block:active {
  background-color: var(--firm-color-2);
  cursor: pointer;
}

.meta_file-image {
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: #ffffff;
  border-radius: 5px;
  font-size: 1.5rem;
  color: #777;
  font-weight: bold;
}

.meta_file-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.meta_file-name {
  margin-top: 5px;
  font-size: 0.75rem;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Максимум 2 строки */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}


/* ============== */

.profile-tabs-about {
    font-family: 'Inter';
}

.profile-tabs-about h3 {
   font-size: 16px;
   color: black;
}

.instructor-education-card, .instructor-experience-card {
    position: relative;
    padding: 20px;
    border: 1px solid #E7E7E7;
    border-radius: 16px;
    height: 100%;

}

.instructor-education-card .img-wrapper,
.instructor-experience-card .img-wrapper {
    background-color: #F1F5F8;
    padding: 8px;
    position: relative;
    border-radius: 8px;
    height: 194px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;

}

.instructor-education-card img,
.instructor-experience-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
}

.instructor-education-card .instructor-education-card-description,
.instructor-experience-card .instructor-experience-card-description {
    color: #151515;
    font-size: 14px;
    line-height: 1;
}

.education-wrapper-noswiper,
.experience-wrapper-noswiper {
    display: none;
}

@media (min-width: 992px) {
    .education-wrapper-swiper,
    .experience-wrapper-swiper {
        display: none;
    }

    .education-wrapper-noswiper,
    .experience-wrapper-noswiper {
        display: grid;
        gap: 1rem;
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (min-width: 1200px) {
    .education-wrapper-noswiper,
    .experience-wrapper-noswiper {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}


.occupations-wrapper {
    gap: 10px;
}

.occupations-wrapper .occupation{
    color: #151515;
    background-color: #F1F5F8;
    padding: 8px;
    border-radius: 8px;
}

.font-weight-600 {
    font-weight: 600 !important;
}

.swiper-pagination .swiper-pagination-bullet:only-child {
  display: none !important;
}
