@media screen and (max-width: 992px) {
  .friendRequestCard {
    padding: 0 !important;
  }
  .logo-img {
    position: absolute;
  }
  .navbar-dark .navbar-toggler {
    padding-right: 0;
  }
  .progress {
    width: auto;
  }
  .progress-stats-container {
    width: 200px;
    margin-left: 0;
  }
  .progress-stats-container ul {
    margin-left: 0;

    padding-left: 0;
  }
  .progress-stats-container ul li {
    margin-left: 0;
  }
  .progress-stats-container ul li a {
    padding-right: 3px;
    padding-left: 3px;
    font-size: 9px;
  }
  .nav-link .badge {
    position: relative !important;
    margin-right: 10px;
  }
  .nav-link {
    align-items: center;
    display: flex;
    justify-content: center;
  }
  .progress-stats-container a {
    font-size: 12px;
  }
  .top-menu-progress .progress {
    height: 0.8rem;

    margin-top: -6px;
  }
  .box-image-container img {
    height: 8em;
    width: 8em;
    width: 100%;
    object-fit: cover;
  }
  .box-left-section h5 {
    font-size: 12px;
  }
  .box-detail-container {
    font-size: 12px !important;
  }
  .box-left-section .progress {
    max-width: 70px;
  }
  .box-right-section .box-image-container,
  .box-right-section .box-image-container img {
    flex: 1;
  }
  .box-detail-container .game-info {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .form-check-input {
    height: 60px;
    width: 60px;
    left: 20px;
    top: -5px;
  }
  .radio-container img {
    height: 60px !important;
  }
  .box-container-input .form-check-input {
    height: 40px;
    width: 40px;
    left: 20px;
    top: -5px;
  }
  .box-container-input .radio-container img {
    height: 40px !important;
  }
}
@media screen and (max-width: 350px) {
  .progress-stats-container {
    width: 155px;
    margin-left: 0;
  }
}
@media screen and (min-width: 577px) and (max-width: 991px) {
  .sub-header-input-wrapper {
    width: 75%;
    margin: auto;
  }
  .sub-header-input-wrapper .input-wrapper {
    width: 65%;
  }
}
@media screen and (min-width: 992px) {
  .sub-header-container {
    background-image: unset;
  }
  .friend-data-container .friend-list-image-container .box-image-container img {
    object-fit: cover;
    object-position: center;
    width: 100%;
  }
  .navbar.navbar-dark {
    position: fixed !important;
    height: 100%;
    align-items: flex-start;
    display: inline-block;
    width: 100%;
    text-align: left;
    width: inherit;
    max-width: inherit;
    padding: 0.5rem 1.5rem;
  }
  .navbar-brand {
    margin-top: 30px;
    margin-right: 0;
    width: inherit;
    padding: 0 1em;
  }
  .logo-img {
    max-width: 100%;
    height: auto;
    width: 100%;
    position: relative;
  }
  .navbar-expand-lg .navbar-nav {
    flex-direction: column;
    margin-left: 0 !important;
    text-align: left;
    width: 100%;
    margin-top: 25px;
  }
  .mobile-dropdown-footer .btn {
    font-size: 13px;
    width: 100%;
  }
  .mobile-dropdown-footer .leet-fbBtn,
  .organiseBtn {
    width: 100%;
  }
  .progress-stats-container {
    width: 100%;
    margin-left: 0;
    text-align: left;
  }
  .progress-stats-container ul {
    padding-left: 0;
  }
  .progress-stats-container ul li {
    margin-left: 0;
  }
  .progress-stats-container ul li a {
    font-size: 11px;
    padding-right: 0.2rem;
    padding-left: 0.2rem;
  }
  .progress {
    width: 100%;
    margin-left: 0;
  }

  .progress-stats-wrapper {
    position: absolute;
    bottom: 20px;
    left: 10px;
    right: 10px;
  }
  .navbar-nav .nav-item .nav-link {
    display: flex;
  }
  .sub-header-title {
    font-size: 1.7vw;
    text-align: left !important;
  }
  .create-account-wrapper.pb-100 {
    padding-bottom: 0;
  }
  .modal-right-section {
    background-color: #dedede;
    padding: 2rem;
  }
  .modal-left-section {
    padding: 2rem;
  }
  .sub-header-container .btn {
    font-size: 1.5vw;
  }
  .sub-header-container .form-group {
    margin-bottom: 0;
  }
  .badge-container {
    position: absolute;
    right: 0;
    background: #40bfe2;
    content: "";
    z-index: 0;
    height: 28px;
    border-radius: 0 0 10px 0;
    text-align: center;
    line-height: 28px;
    color: #fff;
    font-size: 10px;
    padding: 0;
    min-width: 0;
    top: 17px;
    -webkit-transform: rotateZ(310deg);
    transform: rotateZ(310deg);
    left: -57px;
    text-transform: uppercase;
    width: 166px;
  }
  .organise-match-footer-container .footer-component-container {
    position: absolute;
    bottom: -90px;
  }
  .organise-match-footer-container
    .footer-component-container.creact-account-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}
@media screen and (min-width: 992px) and (max-width: 1076px) {
  .logo-img {
    height: auto;
    width: inherit;
  }
  .navbar-dark .navbar-nav .nav-link {
    font-size: 9px;
    justify-content: flex-start;
  }
  .progress-stats-container ul li a {
    font-size: 9px;
  }
  .navbar-dark .navbar-nav .nav-link {
    font-size: 12px;
  }
}
@media screen and (min-width: 1076px) and (max-width: 1366px) {
  .navbar-dark .navbar-nav .nav-link {
    font-size: 14px;
  }
}
@media screen and (min-width: 1651px) {
  .navbar-dark .navbar-nav .nav-link {
    font-size: 20px;
  }
}

.game-date {
  font-size: 1.2em;
  color: #717171;
}
.game-date,
.game-ground {
  white-space: break-spaces;
  overflow: hidden !important;
  text-overflow: ellipsis;
}
@media screen and (max-width: 576px) {
  .friend-list-image-container {
    max-width: 29% !important;
    max-height: 6em;
  }
  .match-invite-container {
    padding: 0;
  }
  .match-invite-container .web-box-component {
    margin: 0 !important;
  }
  .friend-data-container {
    margin: 0 !important;
  }
  .sub-header-title {
    text-align: right !important;
    padding: 0 1rem;
  }
  #editEventDeleteConfirmAlert .modal-dialog,
  #landingConfirmAlert .modal-dialog,
  #myGamesConfirmAlert .modal-dialog,
  #myGamesReqconfirmAlert .modal-dialog,
  #eventDetailConfirmAlert .modal-dialog,
  #eventDeleteConfirmAlert .modal-dialog,
  #eventRemoveUserConfirmAlert .modal-dialog,
  #editEventRemoveUserConfirmAlert .modal-dialog,
  .message-modal .modal-dialog {
    max-width: unset;
  }
  .navbar-dark .navbar-nav .nav-link {
    font-size: 1.2rem;
  }

  .invited-button {
    display: inline-grid;
  }
  .invited-button button {
    margin-right: 0 !important;
    margin-bottom: 2px !important;
  }
  .box-container-component .box-left-section .box-detail-container .btn {
    font-size: 16px;
    padding: 0.3rem 0.3rem;
  }
  .box-container-component {
    min-width: auto;
  }
  .box-container-component
    .box-left-section
    .box-detail-container
    .btn.myEvent-red-text {
    padding: 0.1rem 2rem;
  }
  .input-wrapper {
    width: 75%;
  }
  .box-detail-container .game-date {
    font-size: 3vw;
  }
  .box-detail-container .game-ground {
    font-size: 3vw;
  }
  .badge-container {
    height: 29px;
    line-height: 29px;
    font-size: 12px;
  }
  .event-page-container .invite-section {
    font-size: 10px;
  }
  .m-invite-btn {
    font-size: 15px;
    padding: 0.5rem 1rem;
  }
  
  #messageModal {
    padding-top: 8px;
  }
  #messageModal .modal-header.message-header {
    right: -5px;
  }
}
@media (max-width: 1200px) {
  h5 {
    font-size: 0.8em !important;
  }
  .thumbnail-label {
    font-size: 0.55rem;
  }
  .friend-box-heading h6 {
    font-size: 0.8em;
  }
}
@media screen and (max-width: 370px) {
  .box-container-component .box-right-section .badge-container {
    height: 20px;
    line-height: 20px;
    font-size: 9px;
    top: 17px;
    width: 166px;
    left: -61px;
  }
  .box-container-component .box-left-section h5 {
    font-size: 10px;
  }
  .box-container-component .box-left-section .box-detail-container {
    font-size: 8px !important;
  }
  .box-container-component .box-left-section .box-detail-container .game-date {
    font-size: 3vw;
  }
  .box-container-component
    .box-left-section
    .box-detail-container
    .game-ground {
    font-size: 3vw;
  }
  .box-container-component .box-left-section .box-detail-container .btn {
    font-size: 16px;
    padding: 0.3rem 0.3rem;
  }
  .box-container-component
    .box-left-section
    .box-detail-container
    .btn.myEvent-red-text {
    padding: 0.1rem 2rem;
  }
  .box-container-component .box-color-container .box-circle-player-image {
    height: 25px;
    width: 25px;
  }
  .sub-header-input-wrapper .form-group {
    margin-bottom: 0rem;
  }
  .sub-header-input-wrapper .title {
    font-size: 14px;
  }
}

@media screen and (max-width: 990px) {
  .bottom-details .game-info {
    max-width: initial;
    width: 100%;
  }
  .top-row {
    height: 100%;
    margin-left: -1px;
  }
  .box-left-section > .row > :last-child > .row > div {
    height: 100%;
  }

  .box-left-section .game-info .friend-box-heading {
    font-size: 1.1rem;
    font-family: "Montserrat ExtraBold", sans-serif;
  }
  .box-detail-container:not(.bottom-details) .game-info,
  .box-detail-container:not(.bottom-details) .game-info .friend-box-heading {
    white-space: initial;
    overflow: initial;
    text-overflow: initial;
  }
}

@media (min-width: 470px) {
  .box-detail-container:not(.bottom-details) .game-info,
  .box-detail-container:not(.bottom-details) .game-info .friend-box-heading {
    width: auto;
  }
}

/* https://github.com/Hacker0x01/react-datepicker/issues/1056#issuecomment-370175286 */
.react-datepicker {
  display: flex !important;
}

@media screen and (max-width: 470px) {
  .mobile-calendar {
    display: flex;
  }
  .bottom-details .game-date {
    font-size: 3.7vw;
  }
  .bottom-details .game-ground {
    text-overflow: ellipsis;
  }
  .box-container-component .row {
    margin-bottom: 0;
  }
  .custom-btn-styling {
    font-size: 0.7rem;
  }
  .invite-team-container {
    bottom: 5rem;
  }
}

.mobile-dropdown-footer {
  width: 100%;
}

@media only screen and (min-width: 768px) {
  .event-details-page {
    padding: 0 2rem;
  }
  .event-details-page .playerCard {
    margin: 0 1rem;
  }
}

@media screen and (min-width: 992px) and (max-width: 1282px) {
  .container-booking-widget {
    position: relative;
    top: -2em;
  }
}

/* Chat classes update */
@media screen and (max-width: 992px) {
  .str-chat {
    max-height: calc(var(--vh, 1vh) * 100) !important;
  }
  .str-chat-channel-list {
    padding-top: 4em;
  }
  .str-chat-channel {
    padding-bottom: 4em;
  }
}
.term-conditions-container {
  max-height: calc(var(--vh, 1vh) * 100);
  position: relative;
  overflow: auto;
}
