

/* Start:/local/templates/elib2017/components/bitrix/news.detail/catalog/style.css?1474513233155*/
div.news-detail
{
	word-wrap: break-word;
}
div.news-detail img.detail_picture
{
	float:left;
	margin:0 8px 6px 1px;
}
.news-date-time
{
	color:#486DAA;
}

/* End */


/* Start:/include/periodicaCalendar.css?17811589299120*/
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      background: #f4f2ee;
      font-family: system-ui, 'Segoe UI', 'Roboto', sans-serif;
      padding: 2rem 1rem;
      color: #1e2a2a;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
    }

    /* шапка */
    .header {
      text-align: center;
      margin-bottom: 2rem;
    }

    .header h1 {
      font-size: 1.9rem;
      font-weight: 600;
      background: linear-gradient(135deg, #2f5e3a, #5f874b);
      background-clip: text;
      -webkit-background-clip: text;
      color: transparent;
    }

    .header p {
      color: #6b7a63;
      margin-top: 0.3rem;
    }

    /* карточка фильтра */
    .filter-card {
      background: white;
      border-radius: 28px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
      padding: 1.4rem 1.8rem;
      margin-bottom: 2rem;
    }

    /* селекты в ряд, компактные */
    .select-row {
      display: flex;
      gap: 1.2rem;
      align-items: flex-end;
      flex-wrap: wrap;
      margin-bottom: 1.5rem;
    }

    .select-group {
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
    }

    .select-group label {
      font-size: 0.7rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      color: #5e6e55;
    }

    /* красивые селекты */
    .custom-select {
      background: #fefaf5;
      border: 1px solid #e0d9cf;
      border-radius: 40px;
      padding: 0.5rem 2rem 0.5rem 1rem;
      font-size: 0.9rem;
      font-weight: 500;
      color: #2b3b27;
      cursor: pointer;
      appearance: none;
      background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235f6e55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
      background-repeat: no-repeat;
      background-position: right 1rem center;
      background-size: 14px;
      transition: all 0.2s;
      width: 130px;
    }

    .custom-select:hover {
      border-color: #bfb7a8;
      background-color: #fffdf9;
    }

    .custom-select:focus {
      outline: none;
      border-color: #7c9a6e;
      box-shadow: 0 0 0 3px rgba(124, 154, 110, 0.2);
    }

    /* компактный календарь */
    .compact-calendar {
      background: #fffcf8;
      border-radius: 24px;
      padding: 1em;
      border: 1px solid #ede8e0;
      max-width: 380px;
      margin-top: 0.5rem;
    }

    .cal-header {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      margin-bottom: 0.7rem;
      font-weight: 600;
      font-size: 0.9rem;
      color: #386a3a;
    }

    .weekdays {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      text-align: center;
      font-size: 0.7rem;
      font-weight: 600;
      color: #8b9a7a;
      margin-bottom: 0.4rem;
    }

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

    .cal-day {
      aspect-ratio: 1 / 1;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.8rem;
      font-weight: 500;
      background: white;
      border-radius: 30px;
      cursor: pointer;
      transition: 0.1s;
      color: #2f3e2c;
    }

    .cal-day:hover {
      background: #e5efdf;
      transform: scale(0.94);
    }

    .cal-day.selected {
      background: #5a7c4a;
      color: white;
      font-weight: 600;
      box-shadow: 0 2px 6px rgba(90,124,74,0.3);
    }

    .cal-day.has-pub {
      background: #e1f0da;
      font-weight: 700;
      border: 1px solid #c0d6b2;
    }

    .cal-day.has-pub.selected {
      background: #3a5c2c;
      border: none;
    }

    .cal-day.empty {
      background: transparent;
      cursor: default;
      color: #ddd6cc;
    }

    /* контентная область */
    .section-title {
      font-size: 1.3rem;
      font-weight: 600;
      margin: 1.5rem 0 1rem 0;
      border-left: 4px solid #7c9a6e;
      padding-left: 0.8rem;
    }

    .covers-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
      gap: 1.2rem;
    }

    .cover-card {
      background: white;
      border-radius: 20px;
      padding: 0.8rem;
      text-align: center;
      transition: 0.2s;
      border: 1px solid #ede3d7;
    }

    .cover-img {
      width: 100%;
      aspect-ratio: 2 / 1; /*2 / 3;*/
      /*background: #eae2d6;*/
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2.5rem;
      margin-bottom: 0.6rem;
    }

    .cover-title {
      font-weight: 700;
      font-size: 0.9rem;
    }

    .cover-sub {
      font-size: 0.9rem;
      color: #7e8f6c;
    }

    .issues-list {
      display: flex;
      flex-direction: column;
      gap: 0.8rem;
    }

    .issue-item {
      background: white;
      border-radius: 20px;
      padding: 1rem 1.2rem;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      border: 1px solid #e8e0d6;
    }

    .issue-info h3 {
      font-size: 1rem;
      margin-bottom: 0.2rem;
    }

    .issue-meta {
      font-size: 0.9rem;
      color: #7c8f68;
    }

    .issue-link {
      background: #2f5e3a;
      color: white;
      text-decoration: none;
      padding: 0.4rem 1rem;
      border-radius: 40px;
      font-size: 0.9rem;
      font-weight: 500;
    }

    .empty-message {
      background: #fefaf5;
      border-radius: 1.5rem;
      text-align: center;
      padding: 1.5rem;
      color: #9daa88;
      border: 1px dashed #dbd0c2;
    }

    button.back-btn {
      background: #e5ded3;
      border: none;
      padding: 0.4rem 1rem;
      border-radius: 40px;
      font-size: 0.9rem;
      cursor: pointer;
      margin-top: 1rem;
    }

    footer {
      text-align: center;
      font-size: 0.9rem;
      color: #bcb2a2;
      margin-top: 2.5rem;
    }

    @media (max-width: 550px) {
      .custom-select {
        width: 100px;
      }
      .compact-calendar {
        max-width: 100%;
      }
    }



#periodicaCalendar {
    position: relative;
    min-height: 300px;
}

.calendar-loading {
    opacity: 0.6;
    pointer-events: none;
}

.calendar-loading:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.8);
    z-index: 1;
}

.calendar-loading:after {
    content: 'Загрузка...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #333;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    z-index: 2;
}



        .tabs-js {
            max-width: 900px;
            margin: 20px auto;
            font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
        }

        .tabs-js__nav {
            display: flex;
            gap: 4px;
            border-bottom: 2px solid #e2e4e8;
            flex-wrap: wrap;
        }

        .tabs-js__btn {
            background: none;
            border: none;
            padding: 12px 28px;
            font-size: 16px;
            font-weight: 500;
            color: #4a5568;
            cursor: pointer;
            transition: all 0.2s;
            border-radius: 8px 8px 0 0;
            position: relative;
        }

        .tabs-js__btn:hover {
            background: #f7fafc;
            color: #1a202c;
        }

        .tabs-js__btn--active {
            color: #2271b1;
            background: #ffffff;
            border-bottom: 2px solid #2271b1;
            margin-bottom: -2px;
        }

        .tabs-js__content {
            padding: 24px 0;
        }

        .tabs-js__pane {
            display: none;
            animation: fadeSlide 0.25s ease-out;
        }

        .tabs-js__pane--active {
            display: block;
        }

        @keyframes fadeSlide {
            from {
                opacity: 0;
                transform: translateY(8px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Стили для контента */
        .card {
            background: white;
            border-radius: 16px;
            padding: 24px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.08);
            border: 1px solid #edf2f7;
        }

        .grid-demo {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 16px;
            margin-top: 16px;
        }

        .grid-item {
            background: #f8fafc;
            padding: 16px;
            border-radius: 12px;
            text-align: center;
        }

        @media (max-width: 640px) {
            .tabs-js__btn {
                padding: 8px 16px;
                font-size: 14px;
            }
        }

/* End */
/* /local/templates/elib2017/components/bitrix/news.detail/catalog/style.css?1474513233155 */
/* /include/periodicaCalendar.css?17811589299120 */
