

/* Start:/bitrix/templates/dn2020/components/bitrix/news.list/main_news2024/style.css?17460173685068*/
/* Шрифты */
@font-face {
  font-family: 'Montserrat Medium';
  src: url('/fonts/Montserrat-Medium.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Общие стили для #main-news */
#main-news {
  .main-news-element.first {
      border: 4px solid #F79322;
      border-radius: 2rem;

      .title-first {
          font-size: 20px;
          line-height: 32px;
          font-family: 'Montserrat Medium', sans-serif;
          font-weight: 500;
          font-style: normal;
      }

      .img-fluid {
            border-radius: 1.8rem 1.8rem 0 0;
      }

      .video-container {
          border-radius: 1.75rem 1.75rem 0 0;
          min-height: 55%;
      }
  }

  .no-guttersss {
      .title {
          font-size: 16px;
          font-weight: 400;
          font-family: 'Montserrat Medium', sans-serif;
          line-height: 24px;
      }

      .img-fluid {
          border-radius: 1rem;
      }
  }

  .sub-menu {
    min-width: 295px;
      .btn {
          font-size: 0.9rem;

          &.btn-light:hover,
          &.btn-light.active {
              color: #fff;
              background-color: #FF4325;
          }
      }
  }

  .tabs {
      padding-bottom: 0;
      margin-bottom: 0;

      .tab-title {
          display: flex;
          width: 100%;
          padding: 5px 30px;
          cursor: pointer;
          font-weight: bold;
          box-shadow: 0 0 5px rgba(0, 0, 0, 0.75);
          border-top-left-radius: 5px;
          border-top-right-radius: 5px;

          &.active {
              background-color: #F79322;
              color: #fff;
          }
      }
  }

  .mainContent {
      margin-bottom: 60px;
  }

  #loading-indicator {
    border-radius: 50%;
    padding: 10px;
    display: none;
    background: #eee;
    top: 100px;
    left: 40%;
    z-index: 999;
  }
}

/* Стили для кнопок */
.title-first .btn.btn-light {
  color: #fff;
  background-color: #F79322;
  border-radius: 12px;
}

/* Стили для видео */
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* Соотношение сторон 16:9 */
  overflow: hidden;

  .video-iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border: none;
  }
}

/* Стили для изображений */
.other-main-news .image-container {
  width: 100%;

  .img-fluid {
      max-width: 100%;
      height: auto;
  }
}

/* Медиа-запросы */
@media (max-width: 991.98px) {
  #main-news .first .title-first {
      font-size: 20px;
      padding: 20px 5px;
  }
}

@media (max-width: 767.98px) {
  #main-news {
      .main-news-element {
          margin: 15px auto;
          /*padding: 15px;*/
      }

      .first {
          margin: 0 -15px;
      }

      .title-first .to-stream {
        margin-top: 25px;
        margin-bottom: 10px;
      }
  }

  .other-main-news .image-container {
      position: relative;
      min-width: 80px;
      height: 80px;
      overflow: hidden;

      .img-fluid {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          object-fit: cover;
      }
  }
}

@media (max-width: 430px) {
  #main-news .tabs .tab-title {
      font-size: 12px;
  }
}

/*индикатор загрузки лого*/

.circle-container {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #f0f0f0;
    overflow: hidden;
    position: relative;
}

.circle-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background:rgb(202, 202, 202);
    animation: fillAndDrain 4s infinite linear;
}

@keyframes fillAndDrain {
    0% {
        height: 0;
    }
    50% {
        height: 100%;
    }
    100% {
        height: 0;
    }
}
.loading-logo {
    position: absolute;
    top: 22px;
    left: 5px;
    animation: changeColor 4s infinite linear;
}
@keyframes changeColor {
    0% {
        fill: #f0f0f0;
    }
    50% {
        fill: #000000;
    }
    100% {
        fill: #f0f0f0;
    }
}

@media (min-width: 355px) and (max-width: 495px) {
    #main-news {
        & .sub-menu {
            & .btn {
                &.btn-light {
                    align-items: center;
                    display: flex;
                }
            }
        }
    }
    .blog-btn {
        background-color: #f79322;
        color: white !important;
        /*border-radius: 50%;
        width: 55px;
        height: 55px;*/
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0 5px;
    }
    .blog-btn:hover {
        transition: all 0.3s;
        background-color: #f7932295;
    }
}
.blog-btn{
    display: none;
}
/* End */


/* Start:/local/components/ekos/main.dt.indexes/templates/.default/style.css?17791739941965*/
.ekos-trends-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ekos-trend-card {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 15px 12px;
    background: #f8f9fa;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
}

.ekos-trend-card.index {
    border: 1px solid #eb202a;
}

.ekos-trend-card.export {
    border: 1px solid #007aff;
}

.ekos-trend-card.import {
    border: 1px solid #e84e0f;
}

.ekos-trend-card.netel {
    border: 1px solid #000000;
}

.ekos-trend-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-decoration: none;
}

.ekos-trend-name {
    font-weight: 500;
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 8px;
}

.ekos-trend-price {
    font-weight: 700;
    font-size: 1.5rem;
    color: #212529;
    margin-bottom: 4px;
}

.ekos-trend-unit {
    font-weight: 500;
    font-size: 0.75rem;
    color: #6c757d;
}

.ekos-trend-specs {
    font-size: 0.7rem;
    color: #6c757d;
    /*min-height: 28px;*/
}

.ekos-trend-change {
    font-size: 0.75rem;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid #dee2e6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.ekos-trend-up {
    color: #28a745;
}

.ekos-trend-down {
    color: #dc3545;
}

.ekos-trend-zero {
    color: #6c757d;
}

.ekos-trend-change svg {
    display: inline-block;
    vertical-align: middle;
}

@media (max-width: 992px) {
    .ekos-trends-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .ekos-trends-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .ekos-trends-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}
/* End */


/* Start:/local/components/ekos/main.lastpost/templates/.default/style.css?17791079191999*/
.ekos-last-post-wrap {
    border: 4px solid #F79322;
    padding: 20px;
    /*margin-bottom: 20px;*/
    font-family: 'Montserrat', sans-serif;
}

.ekos-last-post-blog {
    font-size: 1.1em;
    margin-bottom: 8px;
}

.ekos-last-post-blog a {
    color: #006bcf;
    text-decoration: none;
}

.ekos-last-post-title {
    font-size: 1.35em;
    font-weight: bold;
    margin-bottom: 8px;
}

.ekos-last-post-title a {
    color: #de6b00;
    text-decoration: none;
}

.ekos-last-post-date {
    color: #767676;
    font-size: 0.9em;
    margin-bottom: 12px;
}

.ekos-last-post-text {
    line-height: 1.4em;
    color: #333;
}

.ekos-last-post-more {
    text-decoration: none;
    white-space: nowrap;
    display: inline-block;
}

.ekos-last-post-more:hover {
    text-decoration: none;
}

.ekos-last-post-more svg {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
    vertical-align: middle;
}

.ekos-last-post-more:hover svg {
    transform: scale(1.1);
}

.ekos-last-post-error {
    border: 4px solid #F79322;
    padding: 20px;
    color: #dc2626;
}

.ekos-last-post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.ekos-last-post-blog {
    font-size: 1.1em;
}

.ekos-last-post-date {
    color: #767676;
    font-size: 0.9em;
    margin-bottom: 0;
}
.ekos-last-post-content {
    overflow: hidden; /* чтобы контейнер охватывал float-элементы */
}

.ekos-last-post-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* верхний край картинки на уровне заголовка */
    gap: 15px;
}

.ekos-last-post-title-row a {
    flex: 1;
}

.ekos-last-post-image {
    width: 100px;
    flex-shrink: 0;
}

.ekos-last-post-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
/* End */


/* Start:/bitrix/templates/dn2020/components/bitrix/news.list/second_news2024/style.css?1776782741832*/
@font-face {
    font-family: 'Montserrat Medium';
    src: url('/fonts/Montserrat-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

#news-and-content h3.card-title {
    font-size: 16px;
    font-weight: 400;
    font-family: 'Montserrat Medium', sans-serif;
    line-height: 20px;
}

#news-and-content .infotitle {
    font-family: 'Montserrat Medium', sans-serif;
    color: #aaa;
}

.infotitle .icon-eye {
    fill: #aaa;
}

.main-news-item .card {
    border-radius: 15px;
}

.main-news-item .card-img-top, .main-news-item img, .main-news-item .a-d-v-b img {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.infotitle {
    display: flex;
    align-items: center;
    width: 100%;
}
.ms-auto {
    margin-left: auto !important;
}
/* End */


/* Start:/bitrix/templates/dn2020/components/bitrix/news.list/main_events2020/style.css?16975365252988*/
/*******************************Calendar Top Navigation*********************************/
div#calendar{
  margin:0px auto;
  padding:0px;
  width: 250px;
  font-family:Helvetica, "Times New Roman", Times, serif;
}

div#calendar div.box{
    position:relative;
    top:0px;
    left:0px;
    width:100%;
    height:30px;
  /*   background-color: #E8E8E8 ;  */
    border-bottom: 1px solid #D0D0D0;
}

div#calendar div.header{
    line-height:normal;
    vertical-align:middle;
    text-align:center;
    margin-top: 5px;
    font-weight: bold;
    font-size: 14px;
    color:#000 !important;
}

div#calendar div.header a.prev,div#calendar div.header a.next{
    position:absolute;
    font-size: 11px;
    top:0px;
    height: 17px;
    display:block;
    cursor:pointer;
    text-decoration:none;
    color:#ffa200 !important;
}

div#calendar div.header a.prev{
    left:0px;
}

div#calendar div.header a.next{
    right:0px;
}

/*******************************Calendar Content Cells*********************************/
div#calendar div.box-content{
    border-bottom:1px solid #D0D0D0 ;
    border-top:none;
    height: 179px;
    /* background-color: #E8E8E8; */
}



div#calendar ul.label{
    float:left;
    margin: 5px 20px;
    padding: 0px;
}

div#calendar ul.label li{
    margin:0px;
    padding:0px;
    float:left;
    list-style-type:none;
    width:30px;
    height:20px;
    line-height: 20px;
    vertical-align:middle;
    text-align:center;
    color:#333 !important;
    font-size: 12px;
}


div#calendar ul.dates{
    float:left;
    margin: 5px 20px;
    padding: 0px;
}

/** overall width = width+padding-right**/
div#calendar ul.dates li{
    margin:0px;
    padding:0px;
    vertical-align:middle;
    float:left;
    list-style-type:none;
    width:30px;
    height:23px;
    font-size:15px;
    line-height: 22px;
    color:#999 !important;
    text-align:center;
}

div#calendar ul.dates li a{
	font-weight: bold;
	color: #000;
}

:focus{
    outline:none;
}

div.clear{
    clear:both;
}

.event-list-item span {
	display: block;
	text-align: center;
	background: #555;
	color: #fff;
	width: 35px;
	height: 35px;
	line-height: 12px;
	font-size: 16px;
	padding-top: 2px;
}
.event-list-item span small {
	font-size: 9px;
	line-height: 9px;
}
.events-list a:hover {
	color: #ffa200 !important;
}
.events-list a{
	color: #000 !important;
	text-decoration: none;
}
.events-list {
	margin-top: 20px;
}
.event-description {
	font-size: 11px;
	color: #999;
}
div.event-description:hover {
	color: #333;
}
div#calendar ul.dates li.today {
	background-color: #B30006 !important;
	font-size: 16px;
	color: #fff !important;
}
.currentweek {
	background: #f3f3f3;
}
.event-list-item {
	margin-bottom: 25px;
}
.day {
    line-height: 20px;
    text-align: center;
}

.minus {
    line-height: 2px;
}

.btn-events-collapse .span-collapse{display:inline}
.btn-events-collapse:not(.collapsed) .span-expand{display:none}
.btn-events-collapse.collapsed .span-collapse{display:none}
/* End */


/* Start:/bitrix/templates/dn2020/components/bitrix/form.result.new/.default/style.css?1777129109492*/
.btn-primary {
	background-color: #f79322;
	border-color: #f79322;
}
.btn-primary:hover {
	background-color: #e6821a;
	border-color: #e6821a;
}
.alert-danger {
	background-color: #f8d7da;
	border-color: #f5c6cb;
	color: #721c24;
}

.form-required
{
	color: red;
}

.error-fld {
	display: block;
	float: left;
	height: 13px;
	width: 15px;
	background-repeat: no-repeat;
	background-image: url(/bitrix/templates/dn2020/components/bitrix/form.result.new/.default/images/icon_warn.gif);
}

.inputtext, .inputtextarea {
	width: 100%;
}
/* End */
/* /bitrix/templates/dn2020/components/bitrix/news.list/main_news2024/style.css?17460173685068 */
/* /local/components/ekos/main.dt.indexes/templates/.default/style.css?17791739941965 */
/* /local/components/ekos/main.lastpost/templates/.default/style.css?17791079191999 */
/* /bitrix/templates/dn2020/components/bitrix/news.list/second_news2024/style.css?1776782741832 */
/* /bitrix/templates/dn2020/components/bitrix/news.list/main_events2020/style.css?16975365252988 */
/* /bitrix/templates/dn2020/components/bitrix/form.result.new/.default/style.css?1777129109492 */
