

/* Start:/local/templates/main/components/bitrix/news/courses/bitrix/news.list/.default/style.css?17836042004715*/
.page__content {
   width: 100%;
}

#viewCalendar.icon_calendar {
   font-size: 24px;
   color: var(--gray-2);
}

.calendar h2 {
   margin-bottom: 32px;
}

.calendar-header {
   display: flex;
   align-items: center;
   justify-content: space-between;
   background: var(--blue-1);
   color: var(--white);
   padding: 17px 25px;
   border-top-left-radius: 8px;
   border-top-right-radius: 8px;
}

.calendar-header .nav {
   cursor: pointer;
}

.calendar-header .title {
   font-weight: 500;
   line-height: 120%;
}

.courses-filters {
   display: flex;
   align-items: flex-start;
   gap: 16px;
}

.courses-filters a {
   color: var(--black);
   text-decoration: underline;
   text-decoration-style: dotted;
   text-underline-offset: 5px;
   text-decoration-color: var(--gray-2);
}

.courses-filters span {
   color: var(--gray-2);
}

.courses-city-wrap {
   display: flex;
   gap: 7px;
   flex-wrap: wrap;
   align-items: center;
}

.courses-filters a.active {
   font-weight: bold;
   color: var(--blue-1);
   text-decoration: none;
}

.calendar-grid {
   display: grid;
   grid-template-columns: repeat(7, 1fr);
   border: 1px solid var(--gray-4);
}

.calendar-grid .day-name,
.calendar-grid .day {
   border: 1px solid var(--gray-4);
   min-height: 118px;
   min-width: 85px;
   background-color: var(--white);
}

.calendar-grid .day-name {
   text-align: center;
   color: var(--blue-1);
   background-color: var(--white);
   min-height: auto;
   padding: 8px;
}

.calendar-grid .day-number {
   text-align: center;
   background-color: var(--gray-4);
   padding: 8px;
}

.event {
   background: var(--blue-1);
   color: var(--white);
   margin: 4px;
   margin-bottom: 8px;
   padding: 4px 8px;
   border-radius: 2px;
}

.event a {
   color: inherit;
   text-decoration: none;
}

.event:last-child {
   margin-bottom: 4px;
}

.courses-filters-wrap {
   display: flex;
   align-items: center;
   justify-content: space-between;
   margin-bottom: 16px;
}

.listView-wrap {
   width: 40px;
   height: 40px;
   background: var(--gray-4);
   border-top-left-radius: 8px;
   border-bottom-left-radius: 8px;

   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   gap: 3px;
   cursor: pointer;
   transition: background-color 0.3s ease;
}

.listView-wrap span {
   width: 18px;
   height: 3px;
   background: var(--gray-2);
   border-radius: 3px;
   transition: background-color 0.3s ease;
}

.listView-wrap.active {
   background: var(--blue-1);
}

.listView-wrap.active span {
   background: var(--white);
}

.view-switch {
   display: flex;
   align-items: center;
}

#listView table thead {
   background-color: var(--blue-1);
   color: var(--white);
   border-top-left-radius: 30px;
   border-top-right-radius: 30px;
}

#listView table thead tr th {
   padding: 16px 16px;

   font-weight: 500;

   font-size: 16px;

   line-height: 140%;
}

#listView {
   overflow-x: auto;
}

#listBody tr:nth-child(2n) {
   background-color: var(--blue-4);
}

#listBody tr {
   background-color: var(--white);
}

#listBody tr td {
   padding: 16px;
   vertical-align: top;
}

#listBody tr td a {
   text-decoration: underline;
   text-underline-offset: 5px;
   text-decoration-color: #a5a5a5;
}

.page__img-bg img {
   display: none;
}

#viewCalendar {
   background-color: var(--gray-4);
   color: var(--gray-2);
   width: 40px;
   height: 40px;
   border-top-right-radius: 8px;
   border-bottom-right-radius: 8px;
   display: flex;
   align-items: center;
   justify-content: center;
   cursor: pointer;
   transition:
      background-color 0.3s ease,
      color 0.3s ease;
}

#viewCalendar.active {
   background-color: var(--blue-1);
   color: var(--white);
}

#listView table {
   width: 100%;
   border-collapse: collapse;
}

.table_date {
   width: 18%;
   min-width: 166px;
   border-top-left-radius: 6px;
}

.table_level {
   width: 22%;
   min-width: 160px;
}

.table_lector {
   width: 25%;
   min-width: 158px;
   border-top-right-radius: 6px;
}

.table_places {
   max-width: 116px;
   width: 11%;
}

.table-is-free{
   color: #4E4CB0;
}

@media (max-width: 1120px) {
   .event {
      word-break: normal;
      overflow-wrap: break-word;
      hyphens: auto;
   }
}

@media (max-width: 1025px) {
   .courses-filters .p2 {
      font-size: 16px;
   }

   #listBody tr td {
      padding: 8px;
   }

   #listView table thead tr th {
      padding: 8px 12px;
   }

   .calendar-header .title.p1 {
      font-size: 16px;
   }

   .p1 {
      font-size: 18px;
   }
}

@media (max-width: 979px) {
   .view-switch {
      display: none;
   }

   .calendar-header,
   #calendar {
      display: none !important;
   }

   #listView {
      display: block !important;
   }
}

/* End */
/* /local/templates/main/components/bitrix/news/courses/bitrix/news.list/.default/style.css?17836042004715 */
