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

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

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

textarea#page-text {
  width: 100%;
}

input#page-title {
  padding: 6px 12px;
}

.select2-dropdown-width-300 {
  width: 300px !important;
}

#penaltyTable .mobile-half .form-group {
    display: flex;
}

#penaltyTable .mobile-half label {
    width: 20px;
    margin-right: 5px;
    padding-top: 5px;
}

.tab-stacked-left .nav-tabs>li a {
  white-space: nowrap;
}

.tab-stacked-left > .tab-content > .panel,
.tab-stacked-left > .tab-content > .panel > form {
  height: 100%;
}

.tab-stacked-left > .tab-content > .panel > form > .panel-body {
  height: calc(100% - 54px);
}

.panel-teams .list-group-item {
  border-left: 0 !important;
  border-radius: 0 !important;
  border-right: 1px solid #e9e9e9 !important;
  border-bottom: 1px solid #e9e9e9 !important;
}

.btn-sm {
  font-size: 11px;
}

.btn-lg.btn-block.btn-labeled {
  font-size: 18px !important;
  line-height: 1.33 !important;
}

/* Select2 readonly */
select[readonly].select2-hidden-accessible + .select2-container {
  pointer-events: none;
  touch-action: none;
}

select[readonly].select2-hidden-accessible + .select2-container .select2-selection {
  background: #eeeeee;
  box-shadow: none;
}

/* form-control readonly */
.form-control[readonly], fieldset[readonly] .form-control {
  cursor: not-allowed;
}

.load .loader {
  font-size: 3.95652px;
  margin: 45px auto;
  text-indent: -9999em;
  width: 11em;
  height: 11em;
  border-radius: 50%;
  background: #177bbb;
  background: -moz-linear-gradient(left, #177bbb 10%, rgba(23, 123, 187, 0) 42%);
  background: -webkit-linear-gradient(left, #177bbb 10%, rgba(23, 123, 187, 0) 42%);
  background: -o-linear-gradient(left, #177bbb 10%, rgba(23, 123, 187, 0) 42%);
  background: -ms-linear-gradient(left, #177bbb 10%, rgba(23, 123, 187, 0) 42%);
  background: linear-gradient(to right, #177bbb 10%, rgba(23, 123, 187, 0) 42%);
  position: relative;
  -webkit-animation: load 1.4s infinite linear;
  animation: load 1.4s infinite linear;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0)
}

.load .loader:before {
  width: 50%;
  height: 50%;
  background: #177bbb;
  border-radius: 100% 0 0 0;
  position: absolute;
  top: 0;
  left: 0;
  content: ''
}

.load .loader.loader-danger {
  background: #eb2521;
  background: -moz-linear-gradient(left, #eb2521 10%, rgba(23, 123, 187, 0) 42%);
  background: -webkit-linear-gradient(left, #eb2521 10%, rgba(23, 123, 187, 0) 42%);
  background: -o-linear-gradient(left, #eb2521 10%, rgba(23, 123, 187, 0) 42%);
  background: -ms-linear-gradient(left, #eb2521 10%, rgba(23, 123, 187, 0) 42%);
  background: linear-gradient(to right, #eb2521 10%, rgba(23, 123, 187, 0) 42%);
}

.load .loader.loader-danger:before {
  background: #eb2521;
}

.load .loader.loader-success {
  background: #71a436;
  background: -moz-linear-gradient(left, #71a436 10%, rgba(23, 123, 187, 0) 42%);
  background: -webkit-linear-gradient(left, #71a436 10%, rgba(23, 123, 187, 0) 42%);
  background: -o-linear-gradient(left, #71a436 10%, rgba(23, 123, 187, 0) 42%);
  background: -ms-linear-gradient(left, #71a436 10%, rgba(23, 123, 187, 0) 42%);
  background: linear-gradient(to right, #71a436 10%, rgba(23, 123, 187, 0) 42%);
}

.load .loader.loader-success:before {
  background: #71a436;
}

.load .loader:after {
  background: #ffffff;
  width: 68%;
  height: 68%;
  border-radius: 50%;
  content: '';
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0
}

.modal .close {
  position: relative;
  top: 10px;
  right: 0;
  width: 32px;
  height: 32px;
  font-size: 32px;
}

.modal .close .pci-circle {
  width: 100%;
  height: 100%;
  border: none;
  transform: none;
}

.modal .close .pci-circle:after {
  display: none;
}

.modal .close .pci-circle:before {
  content: "\00D7";
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  transform: none;
  box-shadow: none;
  font-size: 32px;
  font-style: normal;
}

.shad-no {
  box-shadow: none !important;
}

.label-icon {
  display: flex;
  gap: 4px;
  align-items: center;
  line-height: 22px;
}

.label-block {
  display: block;
  line-height: 14px;
}

.label-bordered {
  background-color: unset;
}

.label-bordered.label-success {
  background-color: unset;
  border: 1px solid #8bc34a;
  color: #8bc34a;
}

.label-bordered.label-danger {
  background-color: unset;
  border: 1px solid #ef5350;
  color: #ef5350;
}

/* Таблица с матчами */

#container .table.table-calendar > tbody > tr > td {
  vertical-align: middle;
}

#container .table.table-calendar tr:not(:last-child) {
  border-bottom: 1px solid #e9e9e9;
}

#container .table.table-calendar td {
  border-top: none;
}

.table-calendar {
  width: 100%;
  margin: 0;
}

.table-calendar td.time {
  min-width: 210px;
  width: 210px;
}

.table-calendar.table-calendar-matches td.time {
  min-width: 76px;
  width: 76px;
}

.table-calendar.table-calendar-matches td.time.time-big {
  min-width: 30%;
  width: 30%;
}

.table-calendar td.time .not-set {
  font-weight: 400;
}

.table-calendar td.time label {
  padding: 0 0 0 21px !important;
}

.table-calendar .team1-title,
.table-calendar .team2-title,
.table-calendar .score {
  font-size: 13px;
  font-weight: 700;
  line-height: 14px;
}

.table-calendar td.buttons {
  min-width: 200px;
  width: 200px;
}

#quick-edit-form .modal-dialog {
  width: 650px;
}

@-webkit-keyframes load {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg)
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg)
  }
}

@keyframes load {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg)
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg)
  }
}

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

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

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

  .ti-plus {
    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 {
    margin-bottom: 0;
  }

  .table-calendar tr:not(:last-child) {
    border-bottom: 1px solid #e9e9e9;
  }

  .table-calendar td.all-btn-cell {
    min-width: 76px;
    width: 76px;
  }

  .table-calendar td.time label {
    padding: 0 0 0 37px !important;
  }

  .table-calendar.table-calendar-matches td.time.time-big .checkbox {
    display: inline;
    vertical-align: inherit;
  }

  .table-calendar td table td {
    vertical-align: middle;
  }

  .table-calendar .team1-title,
  .table-calendar .team2-title {
    width: 38% !important;
  }

  .table-calendar .score {
    width: 24% !important;
  }

  .table-calendar td.table-calendar-title:not(.text-center) {
    text-align: left;
  }

  .table-calendar td:not(.table-calendar-title) {
    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;
  }

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

  .desktop-hide--table-cell {
    display: table-cell !important;
  }

  .modal .close,
  .modal .close .pci-circle:before {
    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 {
    min-height: 1.5em;
  }

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

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

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

  /* Сборная тура */

  .saltwort-frame {
    width: 100% !important;
    height: 300px !important;
  }

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

  .saltwort-action {
    width: 60px !important;
  }

  #schedule-dow-modal .modal-dialog {
    width: 320px;
  }
}

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

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

@media (max-width: 1600px) {
  .related-leagues-list > .dropdown-toggle {
    max-width: 350px;
  }
}

@media (max-width: 1400px) {
  .related-leagues-list > .dropdown-toggle {
    max-width: 230px;
  }
}

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

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

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

  .panel-heading {
    display: flex;
    flex-direction: column;
  }

  .panel-heading .panel-control {
    float: none;
    order: 2;
  }

  .panel-heading .panel-title {
    float: none;
    order: 1;
  }

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

  .tab-stacked-left .nav-tabs > li.active > a,
  .tab-stacked-left .nav-tabs > li.active > a:hover,
  .tab-stacked-left .nav-tabs > li.active > a:focus {
    background-color: #ffffff;
  }

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

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

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

  .league-tariff {
    display: flex !important;
    flex-direction: column;
    line-height: 14px;
    padding: 5px 15px !important;
  }

  #linkMatchesList li {
    height: auto;
  }

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

@media (max-width: 768px) {
  .navbar-top-links {
    width: auto;
  }

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

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