html,
body {
  height: 100%;
}

.not-set {
  color: #c55;
  font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
  position: relative;
  top: 1px;
  display: inline-block;
  font-family: 'Glyphicons Halflings';
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  padding-left: 5px;
}

a.asc:after {
  content: /*"\e113"*/ "\e151";
}

a.desc:after {
  content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
  content: "\e153";
}

.sort-numerical a.desc:after {
  content: "\e154";
}

.sort-ordinal a.asc:after {
  content: "\e155";
}

.sort-ordinal a.desc:after {
  content: "\e156";
}

.grid-view th {
  white-space: nowrap;
}

.hint-block {
  display: block;
  margin-top: 5px;
  color: #999;
}

.error-summary {
  color: #a94442;
  background: #fdf7f7;
  border-left: 3px solid #eed3d7;
  padding: 10px 20px;
  margin: 0 0 15px 0;
}

[class^="ti-"]:before, [class*=" ti-"]:before {
  font-family: 'themify' !important;
}

img.brand-icon {
  width: 26px;
  height: 26px;
  margin: 8px 0 0 11px;
}

.fixed-fluid > .fixed-sm-100 {
  width: 100px;
}

.fixed-fluid > .fixed-50 {
  width: 50px;
}

.auth-clients {
  font-size: 21px;
  line-height: 0;
  margin: 0;
  overflow: hidden;
}

.auth-clients .fa-vk {
  color: #5e81a8;
}

.auth-clients .fa-facebook {
  color: #128ef2;
}

.auth-clients .fa-twitter {
  color: #008fa1
}

.notification-alert {
  width: 8px;
  height: 8px;
  display: block;
  position: absolute;
  top: 7px;
  left: 7px;
  border-radius: 50%;
  font-size: 1.3em;
  font-weight: bold;
  border: 1px solid #C42700;
  box-shadow: 0 0 0 0 rgba(196, 39, 0, 0.7), inset 0 1px 0 #7F0600;
  vertical-align: middle;
  background: #ff0000;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #C42700), color-stop(100%, #7F0600));
  background-image: -webkit-linear-gradient(#C42700, #7F0600);
  background-image: -moz-linear-gradient(#C42700, #7F0600);
  background-image: -o-linear-gradient(#C42700, #7F0600);
  background-image: linear-gradient(#C42700, #7F0600);
  cursor: pointer;
  -webkit-animation: pulse 1s infinite cubic-bezier(0.6, 0, 0, 1);
}

.notification-alert:hover {
  -webkit-animation: none;
}

@-webkit-keyframes pulse {
  to {
    box-shadow: 0 0 0 15px rgba(196, 39, 0, 0), inset 0 1px 0 #7F0600;
  }
}

/* Ссылки на публичный сайт */
a.public-link, a.public-link:hover {
  color: #42a5f5;
}

a.public-link.disabled {
  color: gray;
  cursor: default;
}

.panel-heading a.public-link {
  line-height: 50px;
}

/* Ссылки в GridView */
a.grid-link, a.grid-link:hover {
  border-bottom: 1px dotted;
  color: #42a5f5;
}

a.grid-link.disabled {
  color: gray;
  pointer-events: none;
}

/* Выпадающее меню дочерних лиг */
.related-leagues-list > .dropdown-toggle {
  max-width: 500px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.related-leagues-list ul {
  max-width: 320px;
  max-height: 440px;
  overflow-y: auto;
}

/* Блокировка кнопкии с .btn-labeled */
.btn-labeled.js-locker-locked:before {
  content: "\e619" !important;
  font-family: 'themify' !important;
  animation-name: spin;
  animation-duration: 600ms;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  background: none;
}

@keyframes spin {
    from {
        transform:rotate(0deg);
    }
    to {
        transform:rotate(360deg);
    }
}

/* Промо акция в навбаре */
.navbar-top-links > li.promo > a {
  color: #ffffff;
}

.navbar-top-links > li.promo:hover > a {
  color: #758697;
}

.phone-block label {
  display: block;
}

.phone-block .select2 {
  position: relative;
  margin-top: -3px;
  z-index: 1;
}

.phone-block input[type="text"] {
  position: relative;
  display: inline-block;
  width: calc(100% - 64px);
  z-index: 2;
}

/* Контейнер с использование Autocomplete */
.autocomplete-container {
  overflow: inherit;
}

/* Фронтенд контент виджетов из редактора */
.widget-content {
  display: none;
}

/* Сворачивание .nav-pills*/
.nav-pills.js-nav-pills-menu > li.nav-pills-title {
  display: none;
}

/* Счет матча */
.match-head {
  margin-bottom: 10px;
}

.match-score-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px;
  height: 72px;
}

.match-score-container--penalties {
  height: auto;
}

.match-score-container .control-label {
  font-size: 12px;
  text-align: center;
}

.match-score-body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.form-control.match-score {
  width: 80px;
  height: 40px;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

.form-control.match-score-mini {
  height: 32px;
  font-size: 16px;
  font-weight: 600;
}

.match-additional {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
}

.match-additional .form-group--stream {
  width: 150px;
}

.match-additional .form-group--var {
  width: 64px;
}

.match-additional .form-group--commentator {
  width: 124px;
}

/* Команды матча */
.match-team {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 72px;
  margin: 0;
  font-size: 18px;
}

.match-team-1 {
  justify-content: right;
}

.match-team-2 {
  justify-content: left;
}

.match-team span {
  line-height: 40px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Список команд */

.teams-list h4 {
  font-size: 20px;
}

.teams-list hr {
  margin: 12px 0;
}

.teams-list li.list-group-item {
  border-width: 3px 0 !important;
}

.teams-actions {
  margin-bottom: 2px;
}

.teams-actions .btn .badge-danger {
  background-color: #ef5350
}

.teams-actions .btn .badge-success {
  background-color: #8bc34a
}

.teams-list .public-link {
  margin-top: 5px;
}

/* Видео в iframe */

.embed-video--horizontal {
  width: 600px;
  height: 338px;
}

.embed-video--vertical {
  width: 225px;
  height: 400px;
}

@media (max-width: 480px) {
  .match-additional {
    justify-content: space-evenly;
    gap: 2px;
  }

  .match-team {
    margin: 8px 0;
  }

  .match-team span {
    max-width: 100%;
  }

  .match-team-1 {
    justify-content: left;
  }

  .match-team-2 {
    justify-content: right;
  }

  .match-team-1 img,
  .match-team-2 span {
    order: 1;
  }

  .match-team-1 span,
  .match-team-2 img {
    order: 2;
  }
}

@media (max-width: 768px) {
  .nav-pills.js-nav-pills-menu > li.nav-pills-title {
    display: block;
  }

  .nav-pills .nav-pills-title .btn {
    font-size: 16px !important;
    margin-bottom: 0 !important;
    border: none;
    text-align: left;
    color: #2b323a;
    background-color:rgba(0,0,0,0.05)
  }

  .nav-pills .nav-pills-title .btn:before {
    content: "\e6c3";
    transition: transform 0.2s ease;
  }

  .nav-pills.open .nav-pills-title .btn:before {
    content: "\e6c2";
  }

  .nav-pills .nav-pills-title .btn:after {
    content: "\f078";
    font-family: 'FontAwesome';
    position: absolute;
    right: 16px;
    top: 8px;
    color: #4f575b;
    font-size: 13px;
    transition: transform 0.2s ease;
  }

  .nav-pills.open .nav-pills-title .btn:after {
    transform: rotate(180deg);
  }

  .nav-pills.js-nav-pills-menu:not(.open) > li:not(.nav-pills-title) {
    display: none;
  }
}
