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

.large-table {
  font-size: 11px;
}

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

.select2-container--default .select2-results__option[aria-disabled=true] {
  display: none;
}

.application--team_name {
  width: 180px;
  padding-left: 8px;
  padding-right: 20px;
  background-color: #fff;
  border: 1px solid #e9e9e9;
  outline: 0!important;
  color: inherit;
  line-height: 28px;
  margin: 0;
  vertical-align: middle;
}

.registration-banner {
  max-width: 1000px;
  margin: 100px auto;
  padding: 0 15px;
  color: #fff;
  font-size: 16px;
  line-height: 20px;
  position: relative;
}

.registration-banner__text {
  margin: 0 0 40px 0;
}

.registration-banner p {
  margin: 0 0 20px 0;
}

.registration-banner__img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

.registration-banner__title {
  font-size: 30px;
  line-height: 34px;
  font-weight: 700;
  margin: 0 0 30px 0;
  color: white;
}

.registration-banner__img--mobile {
  display: none;
}

.row-item {
  margin: 10px 0;
}

@media (max-width: 730px) {
  .registration-banner__img {
    display: none;
  }

  .registration-banner__img--mobile {
    display: block;
  }

  .registration-banner {
    margin: 40px auto;
  }

  .registration-banner {
    font-size: 14px;
    line-height: 18px;
  }

  .registration-banner__title {
    font-size: 24px;
    line-height: 28px;
    margin: 0 0 20px 0;
  }

  .registration-banner p {
    margin: 0 0 14px 0;
  }

  .registration-banner__text {
    margin: 0 0 20px 0;
  }
}

.modal .modal-dialog {
  margin: 40px 0;
}

.sub-title {
  font-size: 11px;
}

.panel-group.reg-form.accordion .panel-title a:after {
  top: 30%;
}

.panel-group.reg-form.accordion .panel-heading, .panel-group.accordion .panel-title {
  padding: 5px;
}

@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 {
    border-bottom: 1px solid #dddddd;
    margin-bottom: 0;
  }

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

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

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

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

  .panel-group.reg-form.accordion .panel-title a:after {
    display: none;
  }
  .sub-title {
    font-size: 8px;
  }
  .panel-group.reg-form.accordion .panel-title a {
    font-size: 10px;
  }
  .panel-group.reg-form.accordion .panel-heading, .panel-group.reg-form.accordion .panel-title {
    padding: 0;
  }
}

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

  .league-tariff {
    display: none !important;
  }

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