

/* Start:/local/templates/University/components/bitrix/catalog/stgmu_department/bitrix/catalog.section.list/.default/style.css?17891276995465*/
.section_wrapper .heading {
    margin: 1rem 0;
    font-weight: bold;
    font-size: 30px;
}

.no-gutters>.col,
.no-gutters>[class*="col-"] {
    padding-right: 3px;
    padding-left: 5px;
}

.section_wrapper{
        margin:2rem 0;
}

.section_item {
    background-color: #326690;
    margin: 0 0.2rem 0.2rem 0;
   /* border: 1px solid #c6d4e2;*/
    border-radius: 10px;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: 999;
    position: relative;
}

.section_item a {
    color:#FFFFFF;
    font-size: 15px;
    font-weight: 700;
    min-height: 130px;
    display: block;
    padding: 1.2rem 1rem 1rem 1.5rem;
    text-decoration: none;
}

.section_item:hover {
    /*border: 1px solid #7aa8d1;*/
box-shadow: 0 0 10px;
}

.section_item:hover a {
    text-decoration: none;
        color:#FFFFFF;
}

.section_item:hover{
        background-color: #326695ad;
}


img { 
border: 0px none currentColor;
height: auto;
max-width: 100%;
vertical-align: middle;
}

}
.holder {
  background: #ffffff;
  width: 100%;
  max-width: 1200px;
  margin: 20px auto 0;
  padding: 20px;
}

/* Styles for text box with more button */
.limited {
 max-height: 400px;
  overflow: hidden;
  position: relative;
}
.limited.l-200 {
  max-height: 200px;
}
/* Add your sizes for text box */
.limited.l-300 {
  max-height: 300px;
}
.limited .bottom {
  position: absolute;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 1) 80%
  );


  width: 100%;
  height: 60px;
  opacity: 1;
  transition: 0.3s;
}

.read-more-checker,
.read-more-checker1,
.read-more-checker2,
.read-more-checker3,
.read-more-checker4,
.read-more-checker5,
.read-more-checker6,
.read-more-checker7,
.read-more-checker8,
.read-more-checker9,
.read-more-checker10
 {
  opacity: 0;
display: none;
  position: relative;
}

.read-more-checker:checked ~ .limited,
.read-more-checker1:checked ~ .limited,
.read-more-checker2:checked ~ .limited,
.read-more-checker3:checked ~ .limited,
.read-more-checker4:checked ~ .limited,
.read-more-checker5:checked ~ .limited,
.read-more-checker6:checked ~ .limited,
.read-more-checker7:checked ~ .limited,
.read-more-checker8:checked ~ .limited,
.read-more-checker9:checked ~ .limited,
.read-more-checker10:checked ~ .limited
{
  max-height: none;
}

.read-more-checker:checked ~ .limited .bottom,
.read-more-checker1:checked ~ .limited .bottom,
.read-more-checker2:checked ~ .limited .bottom,
.read-more-checker3:checked ~ .limited .bottom,
.read-more-checker4:checked ~ .limited .bottom,
.read-more-checker5:checked ~ .limited .bottom,
.read-more-checker6:checked ~ .limited .bottom,
.read-more-checker7:checked ~ .limited .bottom,
.read-more-checker8:checked ~ .limited .bottom,
.read-more-checker9:checked ~ .limited .bottom,
.read-more-checker10:checked ~ .limited .bottom
{
  opacity: 0;
  transition: 0.3s;
}

.read-more-checker ~ .read-more-button:before,
.read-more-checker1 ~ .read-more-button1:before,
.read-more-checker2 ~ .read-more-button2:before,
.read-more-checker2 ~ .read-more-button2:before,
.read-more-checker3 ~ .read-more-button3:before,
.read-more-checker4 ~ .read-more-button4:before,
.read-more-checker5 ~ .read-more-button5:before,
.read-more-checker6 ~ .read-more-button6:before,
.read-more-checker7 ~ .read-more-button7:before,
.read-more-checker8 ~ .read-more-button8:before,
.read-more-checker9 ~ .read-more-button9:before,
.read-more-checker10 ~ .read-more-button10:before

 {
  content: "Больше информации »";
}

.read-more-checker:checked ~ .read-more-button:before,
.read-more-checker1:checked ~ .read-more-button1:before,
.read-more-checker2:checked ~ .read-more-button2:before,
.read-more-checker3:checked ~ .read-more-button3:before,
.read-more-checker4:checked ~ .read-more-button4:before,
.read-more-checker5:checked ~ .read-more-button5:before,
.read-more-checker6:checked ~ .read-more-button6:before,
.read-more-checker7:checked ~ .read-more-button7:before,
.read-more-checker8:checked ~ .read-more-button8:before,
.read-more-checker9:checked ~ .read-more-button9:before,
.read-more-checker10:checked ~ .read-more-button10:before
{
  content: "Меньше информации «";
}
.read-more-button,
.read-more-button1,
.read-more-button2,
.read-more-button3,
.read-more-button4,
.read-more-button5,
.read-more-button6,
.read-more-button7,
.read-more-button8,
.read-more-button9,
.read-more-button10
 {
  cursor: pointer;
  display: inline-block;
  padding: 10px;
  color: #777;
  border: 1px solid #ddd;
  border-radius: 4px;

  background: linear-gradient(
    50deg,
    rgba(255, 255, 255, 0.4) 12%,
    rgba(255, 255, 255, 0.1) 77%
  );

background-blend-mode: ;
backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.video-block {
  width: 100%;
  max-width: 100%; /* или фиксированный лимит, например 960px */
  margin: 0 auto;
  aspect-ratio: 16 / 9; /* держит пропорции 16:9 на любом экране */
  border-radius: 12px;  /* скругление углов (по желанию) */
  overflow: hidden;
  background-color: #000;
}

.video-block iframe,
.video-block video {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
  object-fit: cover; /* для тега <video>, чтобы не было черных полос */
}

/* End */


/* Start:/local/templates/University/components/bitrix/catalog/stgmu_department/bitrix/catalog.section/.default/style.css?17773649682711*/
.section_description {
    font-size: 18px;
    font-size: 1.125rem;
    padding-bottom: 1rem;
}

details {

background: linear-gradient(180deg, #f7fafc 0%, #eef3f8 100%);
border-radius: 14px 14px 14px 14px !important;
border-bottom: none !important;
  padding: 14px 16px;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
padding: 15px;

}

.section_description p {
    margin: 0.5rem 0;
}

.section_description img {
    margin: 0.5rem 0.5rem;
border-radius: 5px;
}

/* ========== Документы: делаем из .file карточку ========== */

.post_list.documents {
  display: flex;
  flex-direction: column;
  gap: 5px;            /* расстояние между карточками */
}

/* сам элемент */
.documents .file {
  border-bottom: none !important;  /* убираем старую линию */
  padding: 16px 18px !important;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

/* иконка слева */
.documents .file__ico {
  flex: 0 0 auto;
  margin-right: 14px;
  display: flex;
  align-items: flex-start;
}

/* если иконки разные — немного унифицируем */
.documents .file__ico img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

/* текстовая часть */
.documents .file__text {
  flex: 1 1 auto;
  min-width: 0; /* чтобы длинные названия не разносили блок */
}

/* ссылка/заголовок */
.documents .link,
.documents .title {
  display: inline-block;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
  text-decoration: none;
}

/* дата */
.documents .posted_date {
  font-size: 14px;
  margin-top: 6px;
  font-weight: 700;
  color: #c1445b;
}

/* чтобы переносы выглядели аккуратно */
.documents .file__text p {
  margin: 6px 0 0;
}

/* мобилка: чуть плотнее */
@media (max-width: 576px) {
  .post_list.documents { gap: 5px; }
  .documents .file { padding: 14px 14px !important; }
  .documents .file__ico img { width: 30px; height: 30px; }
}

.documents .file_count {
    position: relative;
    bottom: -2px;
    font-weight: bold;
		color:#ffffff;
}



/*.documents a{
    color:  #00aeef !important;
}*/

@media screen and (max-width: 576px) {

.section_description img {
    margin: 0.3rem 0.3rem;
    width: auto;
    height: auto;
    max-width: 87px;
    max-height: 130px;
	}
}

@media screen and (max-width: 576px) {

.hidemobile {
    visibility: hidden;
    display: none;
  }
}

.showmobile { display: none;}
@media only screen
and (min-device-width : 320px)
and (max-device-width : 576px){ .showmobile { display: inline;}}

/* End */
/* /local/templates/University/components/bitrix/catalog/stgmu_department/bitrix/catalog.section.list/.default/style.css?17891276995465 */
/* /local/templates/University/components/bitrix/catalog/stgmu_department/bitrix/catalog.section/.default/style.css?17773649682711 */
