:root {
    --bs-nav-link-hover-color: #0a58ca;
}
a.nav-link:active {
    color: #007bd8;
}
.button:active {
    background-color: #191e26; 
}
.button.button--border:active {
    background-color: #fff;
}
main > .container {
    padding: 70px 15px 20px;
}

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

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.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;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.grid-view.table > .summary {
  background-color: #fff;
  padding: 10px 25px;
  width: 1082px;
}
.grid-view.table > .table__wrapper {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.table__item {
  padding: 10px 4px !important;
  vertical-align: middle;
}
.table__control {
  min-width: 26px;
}
.upcoming-tournaments__list .table-mobile__icon span:not(:first-child) {
  margin-left: 4px;
}
.table-mobile__icon {
  min-height: 20px;
}
.management-form__field {
    outline: none;
}
.management-form__button {
  display: block !important;
}
.management-form .invalid-feedback {
  position: absolute;
  margin-top: 64px;
  font-size: smaller;
}
.management-form .cb-card__subtitle {
    display: block;
}
.form-select.is-invalid + div > div {
  border-color: #dc3545;
  color: #dc3545;
  opacity: 1 !important;
}
.create-bet__form.management-form__form, .create-bet__top {
  width: 1082px;
}
@media only screen and (max-width: 1099px) {
  .create-bet__form.management-form__form, .create-bet__top {
    width: auto;
  }
}
.management-form__item {
  position: relative;
}
.create-bet {
  overflow: auto;
}
.container {
  flex: 1 1 auto;
}
.bet-win__button {
  border: none;
}
.watch-bet__value, .watch-bet__statistics {
  line-height: 34px;
}
@media only screen and (max-width: 767px) {    
    .watch-bet__name::after {
      content: ":";
    }
}
.watch-bet__squares .watch-bet__meaning span:first-child {
  display: inline-block;
}
.watch-bet__squares .watch-bet__meaning span:last-child {
  display: none;
}
.watch-bet__squares .watch-bet__meaning {
  overflow: hidden;
  display: flex;
}
.watch-bet__square--active .watch-bet__meaning span:last-child {
  display: inline-block;
  vertical-align: middle;
  margin-left: 14px;
}
.watch-bet__square--active .watch-bet__meaning span:first-child {
  width: auto;
  height: 25px;
  vertical-align: middle;
  min-width: 25px;
  background-size: contain !important;
}
.run-game::after {
  background: url(/img/game-run.png) no-repeat;
    background-size: auto;
    background-origin: padding-box;
  background-origin: content-box;
  background-size: contain;
  content: "";
  width: 100%;
  height: 100%;
  z-index: -1;
  position: absolute;
  top: 170px;
  opacity: 70%;
}
.victory::after {
  background: url(/img/victory.png) center no-repeat;
  background-origin: content-box;
  background-size: cover;
  content: "";
  width: 100%;
  height: 100%;
  z-index: -1;
  position: absolute;
  bottom: 0;
  opacity: 20%;
  left: 0;
}
.defeat::after {
  background: url(/img/defeat.png) center no-repeat;
  background-origin: content-box;
  background-size: cover;
  content: "";
  width: 100%;
  height: 100%;
  z-index: -1;
  position: absolute;
  bottom: 0;
  opacity: 20%;
  left: 0;
}
.bids-desktop .table__item:first-child {
  width: 85px;
}
.bids-desktop .table__control:not(:last-child) {
  margin-right: 10px;
}
.mobile-hidden {
    visibility: hidden;
}
.profile-about__content .person + ul {
    position: relative;
    margin-top: -20px;
    height: 45px
}
.profile-about__content .person + ul .mdc {
    font-size:11px;
}
.profile-about__content .person + ul li.location {
    font-size: 12px;
    margin-top: -10px;
}
.profile-about__content .person + ul li.website, .profile-about__content .person + ul li + li.public_email {
    left: 81px;
    position: absolute;
    top: -34px;
}
.profile-about__content .person + ul li + li.public_email {
    left: 109px;
}
.profile-about__content .person + ul i{
    margin-right: 5px;
}
.profile-about__content .person-about {
    font-size: smaller;
    line-height: 1;
    padding-top: 10px;
}
.watch-bet__table--mobile dd {
    font-weight: 700;
}
@media only screen and (min-width: 767px) {
    .private-menu--open + main .create-bet__form .management-form__items {
        flex-wrap: wrap-reverse;
    }
    .private-menu--open + main .management-form__items .management-form__item {
        width: calc(50% - 20px);
    }
    .private-menu--open + main .field-bid-gametime,
    .private-menu--open + main .field-bid-visibility_steamid{
        margin-top:20px;
    }
    .private-menu--open + main .create-bet__settings .management-form__item {
        width: 100%;
    }
    .private-menu--open + main .create-bet__settings {
        display: flex;
        margin-bottom: 24px;
    }
    .private-menu--open + main .create-bet__wrappers {
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 25px;
    }
    .private-menu--open + main .create-bet__form.management-form__form,
    .private-menu--open + main .create-bet__top {
        width: auto;
    }
    .private-menu--open + main .create-bet__top {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        margin-bottom: 0;
    }
    .private-menu--open + .page-content .table__wrapper {
        width: 100% !important;
    }
    .private-menu--open + .page-content .grid-view.table > .summary {
        width: 100% ;
    }
    .private-menu--open + .page-content .grid-view.table::after {
        background: #fff;
        content: "";
        display: block;
        height: 100px;
        left: 0;
        position: absolute;
        top: 0;
        width: 100%;
        z-index: -1;
        border-radius: 10px;
    }
    .mobile-hidden {
        visibility: visible;
    }
    .desktop-hidden {
        display: none;
    }
    .profile-about__content .person + ul li{
         position: relative !important;
    }
    .profile-about__content .person + ul li.website, .profile-about__content .person + ul li + li.public_email {       
        top: auto !important;
        left: auto !important;
    }
    .profile-about__content .person + ul li.location {
        font-size: unset;
        margin-top: auto;
    }
    .profile-about__content .person + ul {
        height: unset
    }
    .profile-about__content .person-about {
        font-size: unset;
        line-height: unset;
        padding-top: 20px;
    }
}
.cb-card__box {
  max-width: 260px !important;
}
.btn-no-pd {
    padding-right: 40px !important;
    padding-left: 40px !important;
}

.auth-icon.steam {
    background: url(/img/icons/steam.svg) center no-repeat;
    background-size: contain;
}
.watch-bet__name.light-weight {
    font-weight: 100;
}
.tournament-card__content .tournament-card__info {
    max-width: 290px;
}
.tournament-card__descr {
    max-width: 225px;
}
.field-show-password {
  width: 20px;
  height: 20px;
  background-image: url("/img/icons/view.svg");
  background-position: top;
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
  cursor: pointer;
  margin-top: -49px;
  margin-left: calc(100% - 45px);
  clear: both;
  padding-bottom: 49px;
  cursor: pointer;
  position: relative;
}
.field-hide-password::before {
  content: "/";
  font-size: 24px;
  position: absolute;
  top: -12px;
  left: 4px;
}
