html {
  scroll-behavior: smooth;
}

#main-navigation details.dropdown summary:not([role]) {
  border: none;
}

/* Block SEARCH start */
#search-popup {
  display: none;
  z-index: 1000;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  background: rgba(59, 73, 82, 0.9);
  -webkit-transition: opacity 0.5s ease-in-out 0;
  transition: opacity 0.5s ease-in-out 0;
}

#search-popup.active {
  opacity: 1;
  position: fixed;
}

#search-popup .close {
  cursor: pointer;
  position: absolute;
  right: 30px;
  top: 30px px;
  font-size: 30px;
  color: rgba(255, 255, 255, 0.8);
  -webkit-transition: color 0.15s ease-in-out 0;
  transition: color 0.15s ease-in-out 0;
}

#search-popup form {
  color: #fff;
  width: 100%;
  max-width: 900px;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

#search-popup form label {
  font-size: 48px;
  line-height: 1.15;
  font-weight: 700;
  color: #fff !important;
}

#search-popup form {
  position: relative;
  border-bottom: 1px solid #fff;
}

#search-popup form [type="text"] {
  color: #fff !important;
  font-weight: 300;
  font-size: 40px;
  width: 100%;
  background: 0 0;
  padding: 10px 0 10px 0;
  border: none !important;
}

#search-popup .jfdfF {
  outline: 0;
  color: #3b4952;
  font-size: 16px !important;
  font-weight: 700;
  display: inline-block;
  padding: 8px 35px 10px !important;
  background: #e1ecf4;
  border-radius: 25px;
  border: 2px solid transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.15s ease-in-out 0;
  transition: all 0.15s ease-in-out 0;
  -webkit-appearance: none;
}

/* Дополнительные стили для браузеров, поддерживающих vendor prefix */
#search-popup #search::-webkit-input-placeholder {
  color: #999;
}

#search-popup #search:-ms-input-placeholder {
  color: #999;
}

#search-popup #search::-moz-placeholder {
  color: #999;
}

#search-popup #search:-moz-placeholder {
  color: #999;
}

/* Block SEARCH end */

/* Block VOTE start */
.wr-vote2x-tpl {
  padding: 30px;
  text-align: center;
  overflow: hidden;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  position: relative;
  width: 100%;
  margin: 20px auto;
}

.wr-vote2x-tpl.gr {
  background: url(../img/template-mobile.jpg);
}

.wr-vote2x-tpl.rr {
  background: url(../img/template-card.jpg);
}

.wr-vote2x-tpl span.wr-mask-vote2ximsge-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: #000;
  -moz-opacity: 0.6;
  -khtml-opacity: 0.6;
  opacity: 0.6;
}

.bg-pvote2x {
  position: relative;
  z-index: 1000;
}

.title-vote2x {
  font-size: 22px;
  line-height: 24px;
  text-align: center;
  margin-bottom: 30px;
  color: #fff;
}

.button-vote2x {
  background: #fff;
  display: inline-block;
  vertical-align: top;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  overflow: hidden;
}

.button-vote2x>span {
  float: left;
  font-size: 28px;
  line-height: 30px;
  padding: 8px 19px 14px;
  font-weight: 700;
}

.button-vote2x>span:last-child {
  border-left: 2px solid #e5e5e5;
}

.button-vote2x>span>span.namebox {
  font-weight: 400;
  background: 0 !important;
  color: #858585;
  font-size: 12px;
  display: block;
  line-height: 12px;
  position: absolute;
  left: 0;
  right: 0;
  font-style: italic;
}

.button-vote2x>span {
  position: relative;
}

.button-vote2x>span {
  padding: 11px 19px 16px;
}

.button-vote2x>span>span,
.button-vote2x>span:last-child>span {
  color: #0172ad;
}

.button-vote2x span.click-vote2x,
#iconSearch, [data-iframe] {
  cursor: pointer;
}

.button-vote2x>span.click-vote2x:hover {
  background: #e5e5e5 !important;
}

.wr-vote2x-tpl.no-vote2ximsge-bg {
  background: #e9ecf1;
}

.wr-vote2x-tpl.no-vote2ximsge-bg .title-vote2x {
  color: #1b1e28;
}

@media screen and (max-width: 1000px) {
  .wr-vote2x-tpl {
    width: auto !important;
    float: none !important;
    max-width: 400px !important;
    margin: 20px auto !important;
  }

  .button-vote2x>span {
    display: block;
    text-align: center;
    float: none;
    border: 0 !important;
  }

  .button-vote2x>span:first-child {
    border-bottom: 2px solid #e5e5e5 !important;
  }
}

.active-box_vote2x {
  display: inline-block;
}

.hide-box_vote2x {
  display: none;
}

/* Block VOTE end */

/* Block Call end */

.triple_likes {
  margin: 35px 0;
  padding: 13px 30px;
  border-radius: 10px;
  background: #f2f2f2;
  display: table;
  width: 100%;
  box-sizing: border-box;
  height: auto;
  text-align: center;
  background: #f2f2f2
}

.triple_likes_title {
  display: block;
  width: calc(100% - 70px);
  text-align: left;
  line-height: 60px;
  font-size: 20px;
  font-weight: 500;
  height: 60px;
  float: left;
  white-space: nowrap;
}

.triple_likes_counter {
  display: block;
  width: 30px;
  text-align: right;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.5);
  font-weight: 700;
  line-height: 60px;
  height: 60px;
  float: right;
}

.triple_likes .pink {
  color: #d8456b;
}

.triple_likes .green {
  color: #34bf37;
}

.triple_likes .blue {
  color: #4199d0;
}

.triple_likes .col-12 {
  cursor: pointer;
}

/* Block Call end */

[data-stan], 
[data-iframe],
[data-refURL] {
  --pico-color: var(--pico-primary);
  --pico-background-color: transparent;
  /* --pico-underline: var(--pico-primary-underline); */
  text-decoration: underline;
}

@media (max-width: 576px) {
  .Hds {
    line-height: 20px;
  }
}

.authorPosting {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 15px 50px;
  line-height: 1.3;
  background-image: -moz-linear-gradient(100deg, #eef6ff 0%, #fff0f0 100%);
  background-image: -webkit-linear-gradient(100deg, #eef6ff 0%, #fff0f0 100%);
  background-image: linear-gradient(100deg, #eef6ff 0%, #fff0f0 100%);
  border-radius: 5px;
  font-size: 14px;
  margin: 15px auto;
}

.authorPosting.post-author img {
  margin-right: 15px;
  width: 30px;
  border-radius: 50%;
}

.authorPosting.post-author .author-name {
  display: flex;
  flex-direction: column;
}

.authorPosting .author-info {
  padding-left: 30px;
  border-left: 1px solid #ebece9;
  opacity: 0.7;
}

@media (max-width: 576px) {
  .authorPosting {
    padding: 15px 5px
  }
}

#scroll-button {
  position: fixed;
  right: 5%;
  bottom: 15px;
  z-index: 1099;
  display: flex;
  flex-direction: column;
  width: 35px;
  text-align: center;
}

#scroll-button_up,
#scroll-button_down {
  margin-top: 5px;
  margin-bottom: 5px;
  opacity: .5;
  cursor: pointer;
  transition: 0.3s;
}

#scroll-button_up svg,
#scroll-button_down svg {
  display: block;
  margin: auto;
  width: 14px;
  height: 16px;
}

#scroll-button_middle {
  font-size: 10px;
  font-weight: 700;
  opacity: .5;
}

#scroll-button_up svg:hover,
#scroll-button_down svg:hover {
  fill: #0db08b;
}

@media (max-width: 576px) {
  #scroll-button {
    display: none
  }
}

.plusMinus {
  /* border: 1px solid #e0e0e0; */
  border-radius: 8px;
  padding: 25px;
}

@media (max-width: 576px) {
  .plusMinus {
    padding: 10px;
  }
}

.plusMinus.plus h3 {
  color: #00805e;
}

.plusMinus.minus h3 {
  color: #b71c1c;
}

.filterDS {
  margin-top: 3rem;
}

.filterDS p {
  font-weight: 600;
  margin-bottom: 10px;
}

@media (max-width: 576px) {
  .filterDS p {
    margin-bottom: 20px;
  }
}

.svg-inline--fa {
  display: inline-block;
  height: 1em;
  overflow: visible;
  vertical-align: -0.125em;
  cursor: pointer;
}

/* Block Table of Contents start */
#nav_container {
  position: relative;
  min-width: 100%;
  /* margin: 43px 0; */
  padding: 40px 20px;
  border-radius: 10px;
  background: #F5F7F9;
  width: auto;
  /* display: table; */
  line-height: 1.88;
}



/*
@media (max-width: 767px) {
  #nav_container {
    padding-right: 30px;
    padding-left: 30px;
  }
}

@media (max-width: 1359px) {
  #nav_container {
    padding-right: 40px;
    padding-left: 40px;
  }
} */

#nav_container .toc_title {
  /* margin: -4px 130px -3px 0; */
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

#nav_container .toc_toggle {
  position: absolute;
  top: 35px;
  right: 50px;
  font-size: 0;
}

@media (max-width: 479px) {
  #nav_container .toc_toggle {
    position: absolute;
    top: 37px;
    right: 0;
    font-size: 0;
  }
}

#nav_container .toc_toggle a {
  display: block;
  padding: 5px 15px 7px;
  border-radius: 5px;
  background: #068BDF;
  color: #FFF;
  font-size: 13px;
  font-weight: 300;
  text-decoration: none;
  text-transform: none;
}

#nav_container ul {
  margin: 29px 0 -9px;
  padding: 0;
  -webkit-column-count: 2;
  column-count: 2;
  -webkit-column-gap: 30px;
  column-gap: 30px;
  font-size: 15px;
}

@media (max-width: 767px) {
  #nav_container ul {
    -webkit-column-count: 1;
    column-count: 1;
    margin: 0;
  }
}

#nav_container li {
  display: inline-block;
  width: 100%;
  margin: 2px 0 0;
  padding: 0 0 0 28px;
  list-style: none;
  position: relative;

}

#nav_container ul>li::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 0;
  width: 8px;
  height: 11px;
  border-radius: 0;
  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAALAQMAAAB4VV5mAAAABlBMVEUAAAAGi99v8Uu4AAAAAXRSTlMAQObYZgAAABtJREFUCNdjUGAIYOhgcGFQYhAEYheGDiBfAQAe5QLO0nap+AAAAABJRU5ErkJggg==);
}

#nav_container li a {
  text-decoration: none;
}

#nav_container ul ul {
  margin: 0;
  -webkit-column-count: 1;
  column-count: 1;
}

/* Block Table of Contents end */

.font-weight-bold {
  font-weight: 700;
}

/* dynamics of views start */
.timeline {
  margin: 70px 0px;
  border: solid 1px #EEE;
  background-color: #FFF;
  border-radius: 5px;
  padding: 20px;
}

.timeline h3 {
  margin-bottom: 25px;
}

.timeline #setTimeline {
  height: 300px;
  overflow-x: auto;
  white-space: nowrap;
  padding: 20px 0px 70px 0px;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}

.timeline #setTimeline::-webkit-scrollbar {
  height: 8px;
}

.timeline #setTimeline::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px;
}

.timeline #setTimeline::-webkit-scrollbar-track {
  background: transparent;
}

.timeline #setTimeline .item {
  position: relative;
  vertical-align: bottom;
  display: inline-block;
  width: 40px;
  padding: 10px 3px;
  background-color: #0077CC;
  color: #FFF;
  margin-right: 15px;
  border-radius: 5px;
  font-size: 60%;
}

.timeline #setTimeline .item .hits {
  transform: rotate(-0deg);
  left: 0px;
  right: 0px;
  margin: 0px auto;
  top: -20px;
  color: #333;
  position: absolute;
  width: 100%;
  text-align: center;
}

.timeline #setTimeline .item .date {
  transform: rotate(-90deg);
  position: absolute;
  left: -13px;
  bottom: -45px;
  white-space: nowrap;
  width: auto;
  font-size: 90%;
  color: #333;
}

.timeline #setTimeline .item:hover {
  background-color: #357ae8;
}
/* dynamics of views end */