.wrap {
  min-height: 100%;
  height: auto;
  margin: 0 auto -60px;
  padding: 0 0 60px;
}

body > .wrap > .container {
  padding: 70px 15px 20px;
}

body > .footer {
  height: 60px;
  background-color: #f5f5f5;
  border-top: 1px solid #dddddd;
  padding-top: 20px;
}

.navbar-top-links .tgl-menu-btn {
  top: -40px;
}

.jumbotron {
  text-align: center;
  background-color: transparent;
}

.jumbotron .btn {
  font-size: 21px;
  padding: 14px 24px;
}

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

.scroll-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-buttons {
  min-width: 78px;
  width: 78px;
}

.admin-buttons-small {
  min-width: 56px;
  width: 56px;
}

.rounds-columns {
  column-count: 3;
}

.desktop-hide {
  display: none !important;
}

.tournament-info {
  margin-bottom: 10px;
}

.tournament-info [class^="col-"] {
  padding: 0 !important;
}

.panel-subtitle-custom {
  font-size: 1.05em;
  font-weight: 600;
  color: #2b425b;
  padding: 10px 20px 10px 20px;
  margin: 0;
  background-color: #ffffff;
}

.menu-item {
  min-width: 300px;
}

.brand-text {
  padding-left: 20px;
}

.list-group-vote .list-group-item {
  padding: 10px 50px 10px 10px;
}

.ui-widget.ui-widget-content {
  width: calc(100% - 16px) !important;
}

.table-application.collapse.in,
.table-staff.collapse.in {
  display: table !important;
}

.panel-group.accordion {
  margin-bottom: 20px;
}

.panel-group.accordion .panel-heading {
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.panel-group.accordion .panel-title a {
  position: relative;
}

.panel-group.accordion .panel-title a:after {
  content: "\e113";
  font-family: "Glyphicons Halflings";
  position: absolute;
  right: 10px;
  font-size: 12px;
  width: 20px;
  height: 20px;
}

.panel-group.accordion .panel-title a.collapsed:after {
  content: "\e114";
}

.panel-group.accordion h3.panel-title {
  line-height: 50px;
}

.panel-group.accordion h3.panel-title a {
  font-size: 16px;
}

.huebee {
  z-index: 101;
}

.pagination > li.active.disabled > span {
  color: #ffffff;
}

.pagination > li.first.disabled,
.pagination > li.prev-count.disabled,
.pagination > li.prev.disabled,
.pagination > li.next.disabled,
.pagination > li.next-count.disabled,
.pagination > li.last.disabled {
  display: none;
}

.btn-labeled:before {
  line-height: 1.5;
}

.btn-high.btn-labeled:before {
  line-height: 3;
}

a.btn.btn-gray {
  background-color: #758697;
}

.tooltip hr {
  margin: 6px 0;
  border-color: #ffffff;
}

.tooltip .text-muted {
  font-size: 10px;
  line-height: 12px;
}

.approved-docs {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  list-style: none;
  margin: 10px 0 0 10px;
  padding: 0;
}

.approved-docs__item {
  font-size: 13px;
  line-height: 22px;
  width: 16px;
  height: 16px;
  text-align: center;
  text-transform: uppercase;
  border: 1px solid #758697;
  font-weight: 600;
  color: #ee4a47;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 1px 0;
}

@media (max-width: 480px) {
  .mobile-hide {
    display: none !important;
  }

  #page-content {
    padding: 15px 0 0;
  }

  .ti-plus,
  .ti-control-shuffle {
    margin-left: 0 !important;
  }

  .modal-dialog {
    width: 100% !important;
    margin: 0;
  }

  .modal:before {
    display: none;
  }

  .admin-buttons a span::before,
  .btn-icon {
    font-size: 17px !important;
  }

  .admin-edit {
    margin-left: 5px;
  }

  .field-post-published_dt label {
    width: 100%;
  }

  .panel-body-media {
    padding: 0;
  }

  .admin-buttons {
    min-width: 70px;
    width: 70px;
  }

  .admin-buttons-small {
    min-width: 56px;
    width: 56px;
  }

  .table-custom-responsive {
    table-layout: fixed;
  }

  .table-custom-responsive thead,
  .teams-management-head {
    display: none;
  }

  .table-custom-responsive tr {
    margin-bottom: 10px;
    display: block;
  }

  .table-custom-responsive tr::after {
    display: block;
    content: "";
    clear: both;
  }

  .table-custom-responsive td {
    display: block;
    float: left;
    width: 100% !important;
    border: 0 !important;
  }

  .table-custom-responsive td:before {
    content: attr(data-label);
    display: block;
    text-align: left;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2b425b;
    font-size: 1.05em;
  }

  .table-custom-responsive td.mobile-half {
    width: 50% !important;
  }

  .table-custom-responsive .photos_thumb {
    width: 270px !important;
  }

  .table-custom-responsive .number {
    background-color: #ecf0f5;
    text-align: center;
    padding: 0 0 10px 0 !important;
    vertical-align: middle !important;
  }

  .table-custom-responsive .teams {
    font-size: 16px;
  }

  .table-custom-responsive .teams .radio {
    padding-left: 20px;
  }

  .table-custom-responsive .payment-item {
    width: 75px !important;
  }

  .table-payments td:before {
    display: none;
  }

  .table-payments .number {
    padding: 8px !important;
  }

  .table-custom-responsive .payment-value {
    width: calc(100% - 75px) !important;
  }

  .table-calendar tr {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #dddddd;
    margin-bottom: 0;
  }

  .table-calendar .team1-title,
  .table-calendar .team2-title {
    height: 60px;
    width: calc((100% - 140px) / 2) !important;
    display: flex;
    align-items: center;
  }

  .table-calendar .team1-title {
    justify-content: flex-end;
  }

  .table-calendar .score {
    width: 140px !important;
    padding: 0 !important;
    justify-content: center;
  }

  .table-calendar td {
    padding: 0 8px !important;
  }

  .table-fast-add-matches .time .select2 {
    width: 47% !important;
  }

  table.players .player-name {
    line-height: 20px !important;
  }

  .rounds-columns {
    column-count: 1;
  }

  .rounds-columns .panel-title {
    width: auto;
  }

  .desktop-hide {
    display: block !important;
  }

  .modal .close {
    font-size: 50px;
  }

  .images-crops .images-crops-cont .images-crops-cont-box {
    margin: 0;
  }

  .images-crops .images-crops-cont {
    margin: 0;
  }

  .crop-block {
    padding: 0;
  }

  .list-group-teams input[type="checkbox"],
  .magic-radio + label:before,
  .magic-checkbox + label:before {
    width: 26px;
    height: 26px;
    margin-right: 10px;
  }

  .magic-checkbox + label:not(:empty),
  .magic-radio + label:not(:empty) {
    padding: 0 37px !important;
  }

  .magic-checkbox + label:after {
    width: 12px;
    height: 16px;
    top: 2px;
    left: 8px;
  }

  .magic-checkbox + label,
  .magic-radio + label {
    min-width: 26px;
    min-height: 26px;
    line-height: 13px;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
  }

  .matches-form .magic-checkbox + label {
    display: inline-flex;
  }

  .magic-radio + label:after {
    top: 6px !important;
    left: 5.5px !important;
    width: 14px !important;
    height: 14px !important;
  }

  .table-stadium a {
    display: block;
  }

  .teams-management .team {
    padding-bottom: 10px;
  }

  .image-body {
    padding: 0;
  }

  .image-wrapper {
    width: 90vw;
    height: calc(90vw / 1.7);
  }

  .crop-image .tooltip {
    display: none !important;
  }

  .huebee {
    left: -30px !important;
  }

  .correction-form td {
    padding: 10px 0 0 0 !important;
  }

  .player-application td,
  .representative-application td {
    display: block;
    width: 100% !important;
    padding: 0 !important;
  }

  .player-application .btn-delete-player {
    width: 100%;
  }

  .player-application .form-horizontal .pull-left {
    margin: 0 0 10px 0 !important;
    width: 100%;
  }

  .player-application .form-horizontal .pull-left.number {
    width: 30%;
  }

  .player-application .form-horizontal .pull-left.amplua {
    width: 70%;
  }

  .panel-control:before {
    display: none;
  }

  .panel-footer .panel-control {
    padding: 0;
  }

  .menu-item {
    min-width: 200px;
  }

  .navbar-top-links > li > a {
    padding: 0 11px;
  }

  .dl-horizontal dt {
    float: left;
    width: 40%;
  }

  .dl-horizontal dd {
    float: left;
    width: 60%;
  }

  #manage-players .dl-horizontal dt {
    width: 100%;
  }

  #manage-players .dl-horizontal dd {
    width: 100%;
  }

  .modal .close .pci-circle {
    font-size: 30px;
  }

  .match-actions {
    position: fixed !important;
    bottom: 0;
    z-index: 100;
    background-color: #ffffff;
    width: 100%;
  }

  .table-application th,
  .table-application td {
    padding: 6px 4px !important;
  }

  .table-application .magic-checkbox + label,
  .table-application .magic-radio + label {
    margin-bottom: 0;
  }

  .player-application-card .dl-horizontal dt {
    width: 100%;
  }

  .player-application-card .dl-horizontal dd {
    width: 100%;
  }
}

@media (min-width: 481px) and (max-width: 970px) {
  .rounds-columns {
    column-count: 2;
  }

  .mobile-full-width {
    width: 100% !important;
  }
}

@media (max-width: 1300px) {
  .select2 {
    font-size: 16px;
    width: 100% !important;
  }

  #migrate-form .select2 {
    width: 250px !important;
  }

  .input-block-time .select2 {
    width: 60px !important;
  }

  .select-fixed-width + .select2 {
    width: 200px !important;
  }

  .panel-title {
    width: 100%;
    line-height: 20px;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 10px 20px;
  }

  .panel-heading,
  .panel-control .nav-tabs {
    height: auto;
    margin-top: 0;
  }

  .panel-heading {
    padding-top: 10px;
  }

  .panel-body {
    padding: 15px 15px 25px;
  }

  .nav-tabs > li.active > a,
  .nav-tabs > li.active > a:hover,
  .nav-tabs > li.active > a:focus {
    border: 0;
    background-color: #eeeeee;
  }

  .nav-tabs > li > a {
    border: 0;
  }

  .panel > .panel-heading:after,
  .panel.panel-colorful > .panel-heading:after {
    clear: both;
    position: static;
  }

  #photo-tab [class^="col-"]:not(.pad-no) {
    padding: 0 15px;
  }

  .label-status {
    display: inline-block;
    margin-bottom: 5px;
    line-height: 24px;
  }

  #linkMatchesList li {
    height: auto;
  }

  .phone-block .select2 {
    width: 64px !important;
  }
}

@media (max-width: 768px) {
  #page-content {
    padding: 15px 0 0;
  }

  .btn,
  .mobile-mrg-btm {
    margin-bottom: 10px !important;
  }

  .fixed-fluid > .fluid {
    padding: 0 !important;
  }

  .redactor-toolbar {
    display: block !important;
    position: static !important;
  }

  .mobile-left {
    float: left;
  }

  .mobile-float-no {
    float: none !important;
  }

  .panel-title-info {
    white-space: normal;
    line-height: 20px !important;
    padding: 15px 0 !important;
  }

  .mobile-wrap {
    white-space: normal;
  }

  .mobile-mrgn-no {
    margin: 0 !important;
  }

  .mobile-pdn-no {
    padding: 0 !important;
  }

  .mobile-pdn-left {
    padding-left: 7.5px !important;
  }

  .mobile-mrgn-top {
    margin-top: 10px !important;
  }

  .mobile-mrgn-bottom {
    margin-bottom: 10px !important;
  }

  input[type="color"],
  input[type="date"],
  input[type="datetime"],
  input[type="datetime-local"],
  input[type="email"],
  input[type="month"],
  input[type="number"],
  input[type="password"],
  input[type="search"],
  input[type="tel"],
  input[type="text"],
  input[type="time"],
  input[type="url"],
  input[type="week"],
  select:focus,
  textarea {
    font-size: 16px;
    -moz-appearance: none;
    -webkit-appearance: none;
  }

  select:focus,
  textarea {
    font-size: 16px;
  }

  input[type="checkbox"] {
    width: 20px;
    height: 20px;
  }

  .modal-footer .mar-top {
    margin-top: 0;
  }

  .photo-size {
    margin-bottom: 15px;
  }

  .embed-video {
    width: 91vw !important;
    height: calc(91vw / 1.8) !important;
  }

  .tournament-info-item {
    display: block;
  }

  .tournament-info-max small {
    margin: 0 !important;
  }

  .field-tournament-app_start_dt input,
  .field-tournament-app_end_dt input {
    width: 100% !important;
  }

  .panel-body > .row > [class^="col-"]:first-child,
  .panel-body > [class^="form-"] > .row > [class^="col-"]:first-child {
    padding-left: 7.5px !important;
  }

  .panel-body > .row > [class^="col-"]:last-child,
  .panel-body > [class^="form-"] > .row > [class^="col-"]:last-child {
    padding-right: 7.5px !important;
  }

  .panel-body > .row > .col-xs-12,
  .panel-body > .row > .col-sm-12,
  .panel-body > .row > .col-md-12,
  .panel-body > .row > .col-lg-12 {
    padding-right: 7.5px !important;
  }

  .mobile-full-width {
    width: 100% !important;
  }

  .btn-xs,
  .btn-group-xs > .btn,
  .btn-icon.btn-xs {
    padding: 6px 12px !important;
  }

  .js-plus-minus-form .btn-xs {
    padding: 1px 5px !important;
    margin: 0 !important;
  }

  .team-logo-hide {
    display: none !important;
  }

  .protocol-head .team-1 h4 {
    margin-left: 0 !important;
  }

  .protocol-head .team-2 h4 {
    margin-right: 0 !important;
  }

  .mobile-padding-container {
    padding: 0 15px !important;
  }

  .stats-input {
    display: block !important;
    width: 100% !important;
  }

  .stats-input input {
    width: 100% !important;
    border: 1px solid #dddddd;
  }

  .stats-middle {
    width: auto !important;
  }

  .panel-body > .row > [class*="col-md"],
  .panel-body > .row > [class*="col-lg"] {
    padding-left: 7.5px !important;
    padding-right: 7.5px !important;
  }

  .video-iframe {
    max-width: 91vw !important;
    height: calc(91vw / 1.7);
  }

  .mobile-media {
    padding: 0 10px;
  }

  .modal-open {
    padding: 0 !important;
  }

  .brand-text {
    padding-left: 46px;
  }

  .checkbox {
    text-align: left !important;
  }

  .table-start-position td input {
    padding: 0 3px;
    min-width: 30px;
  }

  .table-application--volleyball .form-control {
    font-size: 14px;
    padding: 6px;
  }
}

/* Task 62060 */
.field-match-brigade_id > select#match-brigade_id.disabled + .select2,
#refMatchTable .disabled + .select2,
#refMatchTable button.form-control.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  user-select: none;
  pointer-events: none;
  background-color: gray;
}

#refMatchTable button.form-control.disabled {
  background-color: lightgray;
}
/* End task 62060 */

/* Task 62690 */
.panel-body {
  overflow: auto;
}
/* Ens task 62290 */

/* Task 62494 */
#match-referee_id.disabled + .select2 {
  opacity: 0.6;
  cursor: not-allowed;
  user-select: none;
  pointer-events: none;
  background-color: gray;
}
/* End task 62494 */

/* Task 63892 start */
@media (max-width: 480px) {
  .players-table #w0-filters td:not(:first-of-type) {
    min-width: 140px;
  }
}
/* Task 63892 end */

/* Task 64476 start */
.users-table .form-control {
  min-width: 100px;
}
/* Task 64476 end */

/* Task 68466 start */
.document-modal {
  font-size: 14px;
  line-height: 1.01;
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.75);
}

.document-modal.modal:before {
  margin-left: -2px !important;
}

.document-modal .modal-body {
  min-height: 25dvh;
}

.document-modal .modal-dialog {
  opacity: 0;
  transform: translateY(-150%);
}

.document-modal .modal-open {
  animation: show-modal 0.4s forwards;
}

@keyframes show-modal {
  0% {
    opacity: 0;
    transform: translateY(-150%);
  }
  40% {
    opacity: 0;
    transform: translateY(-150%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.close-modal {
  width: 24px;
  height: 24px;
  border: none;
  background-color: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.close-modal::after {
  content: url("/img/cross-black.svg");
  display: block;
  width: 18px;
  height: 18px;
}

.document-modal .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.document-modal .modal-header:before {
  display: none !important;
}

.document-modal__loader,
.document-modal__notification,
.document-modal__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
  background-color: #fff;
  z-index: 2;
}

.document-modal__loader img {
  width: 60px;
}

.document-modal__input-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}

.file-input__label {
  font-weight: 400;
}

.file-input__custom-input {
  width: 100%;
  padding: 10px;
  border: 2px dashed #42a5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 400;
  opacity: 0.5;
  text-align: center;
  transition: background-color ease-in-out 0.3s;
}

.file-input__custom-input:hover {
  background-color: #f4f4f4;
}

.file-input__custom-input.error-input {
  border-color: #aa162c;
  color: #aa162c;
}

.document-modal__documents {
  max-height: 300px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.document-modal__title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 16px;
}

.document-modal__input-wrapper .document-modal__title {
  margin-bottom: 0;
}

.document-modal__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  max-height: 40dvh;
  overflow-y: auto;
  padding: 0;
}

.document-modal__list-item {
  width: calc(50% - 12px);
  margin-bottom: 16px;
}

.document-modal__list-item:nth-child(odd) {
  margin-right: 24px;
}

.document-modal__list-item-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.document-modal__link {
  font: inherit;
  color: inherit;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  line-height: 1.3;
}

.document-modal__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.document-modal__button {
  width: 22px;
  height: 22px;
  border: none;
  background-color: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
}

.document-modal__button::after {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.document-modal__remove-button::after {
  background-image: url("/img/document-icons/cross.svg");
}

.document-modal__download-button::after {
  background-image: url("/img/document-icons/download.svg");
}

.document-modal__preview-button::after {
  background-image: url("/img/document-icons/document.svg");
}

.document-modal .modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}

.btn-disabled {
  pointer-events: none;
  background-color: #b2b2b2;
  border-color: hsla(0, 0%, 49%, 0.72);
}

.document-modal__notification {
  bottom: -53.42px;
  opacity: 0;
  pointer-events: none;
  transition: opacity ease-in-out 0.2s;
}

.document-modal__notification.notification-is-show {
  opacity: 1;
  pointer-events: auto;
}

.document-modal__buttons-wrapper,
.modal-footer__buttons-wrapper {
  display: flex;
  gap: 16px;
}

.document-modal__success {
  font-weight: 600;
  font-size: 16px;
  color: #5c7c33;
}

@media (max-width: 768px) {
  .document-modal__list-item {
    width: 100%;
  }

  .document-modal__list-item:nth-child(odd) {
    margin-right: 0;
  }

  .document-modal__input-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
}

.overflow-hidden {
  overflow: hidden;
}
/* Task 68466 end */

/* Task 69688 start */
.success-label {
  border-left: 3px solid #648e33;
}

.danger-label {
  border-left: 3px solid #db1c18;
}
/* Task 69688 end */

/* Task 70426 start */
.documents-search {
  display: flex;
  flex-direction: column;
  padding-top: 10px;
}

.documents-search .panel-control {
  display: flex;
  align-items: flex-start;
  gap: 0 10px;
}

.documents-search .panel-heading {
  height: max-content;
}

.documents-search-table .number-ceil {
  width: 40px !important;
}

.documents-search-table .date-ceil {
  width: 160px !important;
}

.documents-search-table .category-ceil {
  width: 170px !important;
}

.documents-search-table .buttons-ceil {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 8px;
  border: none;
}

.documents-search-table .icon-button {
  width: 24px;
}

.documents-search .panel-footer .panel-control {
  width: 100%;
}

@media (max-width: 1300px) {
  .documents-search .panel-footer .select2 {
    max-width: 174px;
  }
}

@media (max-width: 950px) {
  .documents-search-table .category-ceil {
    width: 150px !important;
  }

  .documents-search-table .date-ceil {
    width: 155px !important;
  }

  .documents-search-table .season-ceil {
    width: 120px !important;
  }

  .documents-search-table .title-ceil {
    width: 180px !important;
  }
}

@media (max-width: 600px) {
  .documents-search .panel-footer .select2 {
    max-width: 100%;
  }

  .documents-search .panel-footer .panel-control {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .documents-search .btn-labeled:not(.btn-block):not(.form-icon) {
    font-size: 13px !important;
  }

  .documents-search-table,
  .documents-search-table input {
    font-size: 12px !important;
    padding: 6px;
  }

  .documents-search-table .title-ceil {
    width: 150px !important;
  }

  .documents-search-table .date-ceil {
    width: 140px !important;
  }

  .documents-search-table .select2 {
    font-size: 12px;
  }
}

@media (max-width: 400px) {
  .documents-search .panel-control {
    flex-direction: column;
    width: 100%;
  }

  .documents-search .panel-control .btn {
    width: 170px;
    text-align: left;
  }
}
/* Task 70426 end */

/* 65036 start */
.nav-tab {
  display: flex !important;
  align-items: center;
  padding: 10px 15px;
  gap: 6px;
  border: 1px solid transparent;
}

.nav-tab a {
  padding: 0 !important;
  background-color: transparent !important;
}

.nav-tab a:hover {
  background-color: transparent !important;
  border-color: transparent !important;
}

@media (hover: hover) {
  .nav-tab:hover:not(.active) {
    background-color: #eeeeee;
    border-color: #eeeeee #eeeeee #ddd;
  }
}

.nav-tab.active {
  border: 1px solid #ddd;
  border-bottom-color: transparent;
}

.nav-tab.active a {
  border: none !important;
}

.hint-wrapper {
  position: relative;
}

.hint-text {
  display: block;
  position: absolute;
  width: 220px;
  padding: 4px;
  background-color: #fff;
  border: 1px solid #eee;
  z-index: 2;
  top: 16px;
  left: calc(50% - 220px / 2);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
}

.hint-icon {
  display: block;
  width: 16px;
  height: 16px;
  background: url(/img/info.svg) center / cover no-repeat;
  cursor: pointer;
}

.hint-wrapper:hover .hint-text {
  opacity: 1;
  pointer-events: auto;
}

.btn-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-wrapper span:not(.hint-icon, .hint-text) {
  width: 100%;
}

.btn-wrapper .mar-btm {
  margin: 0 !important;
}

.btn-wrapper:not(:last-child) {
  margin-bottom: 15px;
}

.btn-wrapper .hint-text {
  left: unset;
  right: 0;
  top: 8px;
}

@media (max-width: 425px) {
  .hint-text {
    left: -100px;
  }
}

/* 65036 end */

/* 65746 - start */
.username {
  margin: 0 !important;
  white-space: normal !important;
  line-height: 1.2 !important;
  padding: 10px 0;
}

.navbar__dropdowns {
  display: flex;
  align-items: center;
}

.navbar__dropdowns .dropdown {
  float: none !important;
  display: flex;
  height: 100%;
  max-height: 100%;
}

@media (max-width: 767px) {
  .navbar__dropdowns .dropdown a {
    height: 100% !important;
  }

  .navbar__dropdowns .dropdown .username {
    text-align: center;
  }

  .navbar__dropdowns .dropdown-menu-left-mobile {
    left: 0 !important;
  }
}
/* 65746 - end */

.button-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.panel-footer:has(#migrate-form, [data-team-message]) {
  container-name: panel-footer;
  container-type: inline-size;
}

.panel-footer:has(#migrate-form, [data-team-message]) .panel-wrapper {
  display: flex;
  align-items: center;
  gap: 22px 20px;
  justify-content: end;
}

@container panel-footer (width < 750px) {
  .panel-wrapper {
    flex-direction: column-reverse;
    align-items: flex-start !important;
  }

  .panel-wrapper .button-group {
    width: 100%;
  }

  .panel-wrapper button {
    width: calc(50% - 5px);
  }

  #migrate-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    align-items: flex-start;
  }

  #migrate-form label {
    margin-bottom: 0;
  }

  #migrate-form .select2 {
    width: 100% !important;
  }

  #migrate-form .btn {
    margin: 0 !important;
  }
}

@container panel-footer (width < 450px) {
  .panel-wrapper button {
    width: 100%;
  }
}

.team-message-modal textarea {
  width: 100%;
  height: 160px;
  resize: none;
}

@media (width < 480px) {
  .team-message-modal textarea {
    height: 20vh;
  }
}

.team-message-modal .js-error {
  color: #a94442;
  font-size: 12px;
  line-height: 1;
  display: block;
  height: 14px;
  padding-top: 2px;
}

.modal-body.load::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  background-color: #fff;
  background-image: url("../img/loader-circle.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 30% 30%;
}

@media (max-width: 768px) {
  .modal-body.load::after {
    background-size: 40% 40%;
  }
}

.team-message-modal .choices {
  margin-bottom: 0 !important;
}

.color-red {
  color: #ee4a47;
}

.player-info .dl-horizontal {
  margin-bottom: 5px;
}

.error-state {
  color: #b73230;
  font-size: 13px;
  line-height: 1;
  height: 14px;
  padding-top: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.error-state h4 {
  color: inherit;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
}

textarea.form-control {
  resize: none;
  min-height: max(10vh, 90px);
}

.form-control.error {
  border-color: #b73230;
}

@media (max-width: 480px) {
  #player-transfer-comment .modal:before {
    display: none !important;
  }

  #player-transfer-comment .modal-dialog {
    margin: 0;
  }
}
