/* Template: ポケコーチ
   Author: Brite Solutions
   Created: Jul 2021
   Description: ...
*/

/*****************************************
Table Of Contents:

01. General Styles
02. Navigation
03. Dark overlay
04. Header
05. Intro
06. Description
07. Login/Register/Forgot
08. Terms of use
09. Match page
10. Lesson page
11. My page
12. Buy point
13. Chat
14. Help
15. Sharing Analyses
******************************************/

/*****************************************
Colors:
******************************************/
.bg-player-primary {
    background-color: #92d050!important;
}
.bg-player-primary, .bg-player-primary>a {
    color: #fff!important;
}
.bg-player-secondary {
    background-color: #ebf1de!important;
}
.bg-player-secondary, .bg-player-secondary>a {
    color: #fff!important;
}
.bg-player-tertiary {
    background-color: #e46c0a!important;
}
.bg-player-tertiary, .bg-player-tertiary>a {
    color: #fff!important;
}
.bg-player-blue {
    background-color: #376092!important;
}
.bg-player-blue, .bg-player-blue>a {
    color: #fff!important;
}
.bg-player-blue-2 {
    background-color: #dce6f2!important;
}
.bg-player-blue-2, .bg-player-blue-2>a {
    color: #fff!important;
}
.bg-player-blue-3 {
    background-color: #b9cde5!important;
}
.bg-player-blue-3, .bg-player-blue-3>a {
    color: #fff!important;
}
.bg-player-blue-4 {
    background-color: #95b3d7!important;
}
.bg-player-blue-4, .bg-player-blue-4>a {
    color: #fff!important;
}
.bg-player-blue-5 {
    background-color: #8eb4e3!important;
}
.bg-player-blue-5, .bg-player-blue-5>a {
    color: #fff!important;
}
.bg-player-green {
    background-color: #008000!important;
}
.bg-player-green, .bg-player-green>a {
    color: #fff!important;
}
.bg-player-green-3 {
    background-color: #c3d69b!important;
}
.bg-player-green-3, .bg-player-green-3>a {
    color: #fff!important;
}
.bg-player-green-3.form-control {
    color: #212529!important;
}
.bg-player-primary-op {
    background: linear-gradient(rgba(146, 208, 80, 0.5), rgba(146, 208, 80, 0.5))!important;
}
.bg-player-gray {
    background-color: #7f7f7f!important;
}
.bg-player-gray, .bg-player-gray>a {
    color: #fff!important;
}
.btn-player-primary {
    color: #fff;
    background-color: #92d050;
    border-color: #92d050;
    box-shadow: none;
}
.btn-player-primary:hover {
    color: #fff;
    background-color: #8cc74e;
    border-color: #8cc74e;
}
.btn-player-primary.disabled, .btn-player-primary:disabled {
    color: #fff;
    background-color: #92d050;
    border-color: #92d050;
}
.btn-player-secondary {
    color: #fff;
    background-color: #ebf1de;
    border-color: #ebf1de;
    box-shadow: none;
}
.btn-player-secondary:hover {
    color: #fff;
    background-color: #d5dbc8;
    border-color: #d5dbc8;
}
.btn-player-secondary.disabled, .btn-player-secondary:disabled {
    color: #fff;
    background-color: #ebf1de;
    border-color: #ebf1de;
}
.btn-player-tertiary {
    color: #fff;
    background-color: #e46c0a;
    border-color: #e46c0a;
    box-shadow: none;
}
.btn-player-tertiary:hover {
    color: #fff;
    background-color: #d66509;
    border-color: #d66509;
}
.btn-player-tertiary.disabled, .btn-player-tertiary:disabled {
    color: #fff;
    background-color: #e46c0a;
    border-color: #e46c0a;
}
.btn-outline-player-primary {
    color: #008000;
    border-color: #008000;
}
.btn-outline-player-primary:hover {
    color: #fff;
    background-color: #008000;
    border-color: #008000;
}
.btn-outline-player-primary.disabled, .btn-outline-player-primary:disabled {
    color: #92d050;
    background-color: transparent;
}
.btn-player-green {
    color: #fff;
    background-color: #008000;
    border-color: #008000;
    box-shadow: none;
}
.btn-player-green:hover {
    color: #fff;
    background-color: #017001;
    border-color: #017001;
}
.btn-player-green.disabled, .btn-player-green:disabled {
    color: #fff;
    background-color: #008000;
    border-color: #008000;
}
.btn-player-green-2 {
    color: #fff;
    background-color: #77933c;
    border-color: #77933c;
    box-shadow: none;
}
.btn-player-green-2:hover {
    color: #fff;
    background-color: #738f39;
    border-color: #738f39;
}
.btn-player-green-2.disabled, .btn-player-green-2:disabled {
    color: #fff;
    background-color: #77933c;
    border-color: #77933c;
}
.btn-player-blue {
    color: #fff;
    background-color: #376092;
    border-color: #376092;
    box-shadow: none;
}
.btn-player-blue:hover {
    color: #fff;
    background-color: #2c4e78;
    border-color: #2c4e78;
}
.btn-player-blue.disabled, .btn-player-blue:disabled {
    color: #fff;
    background-color: #376092;
    border-color: #376092;
}
.btn-outline-player-blue {
    color: #376092;
    border-color: #376092;
}
.btn-outline-player-blue:hover {
    color: #fff;
    background-color: #376092;
    border-color: #376092;
}
.btn-outline-player-primary.disabled, .btn-outline-player-primary:disabled {
    color: #376092;
    background-color: transparent;
}
/*text color*/
.text-player-primary {
    color: #92d050;
}
.text-player-primary:hover {
    color: #8cc74e;
}
.text-player-tertiary {
    color: #e46c0a;
}
.text-player-tertiary:hover {
    color: #d66509;
}
.text-player-blue {
    color: #376092;
}
.text-player-blue:hover {
    color: #2c4e78;
}
.text-player-green-2 {
    color: #77933c;
}
.text-player-green-2:hover {
    color: #738f39;
}
/****************************/
/*    01. General Styles    */
/****************************/
html, body {
    height: 100%;
}
body{
    background-color: #f2f2f2;
    font-size: .8rem;
}
.wrapper {
    margin: 0 auto;
    padding-bottom: 85px;
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
}
.wrapper2 {
    margin: 0 auto;
    padding-bottom: 67px;
    padding-bottom: calc(67px + env(safe-area-inset-bottom));
}
.wrapper-higher {
    padding-bottom: 136px;
    padding-bottom: calc(136px + env(safe-area-inset-bottom));
}
.opacity-0 {
    opacity:0!important;
}
.opacity-1 {
    opacity:0.2!important;
}
.opacity-2 {
    opacity:0.4!important;
}
.opacity-3 {
    opacity:0.6!important;
}
.opacity-4 {
    opacity:.8!important;
}
.opacity-5 {
    opacity:1!important;
}
.btn:not(:disabled):not(.disabled).active, 
.btn:not(:disabled):not(.disabled):active,
.btn-check:focus+.btn, .btn:focus {
    box-shadow: none;
}
select:focus,
input:focus {
    box-shadow: none !important;
    outline: none !important;
    border-color: #ced4da !important; 
}
.table-layout-fixed {
    table-layout: fixed;
}
.table.table-head-fixed thead tr:nth-child(1) th {
    background-color: #fff;
    border-bottom: 0;
    box-shadow: inset 0 1px 0 #dee2e6, inset 0 -1px 0 #dee2e6;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 10;
}
.table.table-head-fixed thead tr td, 
.table.table-head-fixed thead tr th {
    border-top-width: 0;
}
.table.table-head-fixed.table-bordered>:not(caption)>* {
    border-top-width: 0;
}
.table > tbody > tr > th,
.table > tbody > tr > td {
    vertical-align: middle;
}
.fs-1 {
    font-size: calc(1.375rem + 1.5vw)!important;
}
.fs-2 {
    font-size: calc(1.325rem + .9vw)!important;
}
.fs-3 {
    font-size: calc(1.3rem + .6vw)!important;
}
.fs-4 {
    font-size: calc(1.275rem + .3vw)!important;
}
.fs-5 {
    font-size: 1.25rem!important;
}
.fs-6 {
    font-size: 1rem!important;
}
.form-control.is-invalid, .was-validated .form-control:invalid {
    background-position: right calc(.85em + .1875rem) center;
}
.modal-header .close {
    margin: -1.25rem -1rem -1rem auto;
}
.back-to-link,
.page-title {
    color: #376092;
}
.back-to-link:hover {
    color: #376092;
    text-decoration: none;
}
.w-272px {
    width: 272px;
}
/* loading overlay*/
#process-overlay {
    background: #ffffff;
    color: #666666;
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 5000;
    top: 0;
    left: 0;
    float: left;
    text-align: center;
    padding-top: 25%;
    opacity: .80;
}
.process-loading {
    margin: 0 auto;
    height: 64px;
    width: 64px;
    animation: rotate-process 0.8s infinite linear;
    border: 5px solid #666666;
    border-right-color: transparent;
    border-radius: 50%;
}
@keyframes rotate-process {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
@media (min-width: 375px) {
    body {
        font-size: .875rem;
    }
    .wrapper2 {
        padding-bottom: 69px;
        padding-bottom: calc(69px + env(safe-area-inset-bottom));
    }
}
@media (min-width: 414px) {
    .wrapper2 {
        padding-bottom: 73px;
        padding-bottom: calc(73px + env(safe-area-inset-bottom));
    }
}
@media (min-width: 768px) {
    body {
        font-size: 1rem;
    }
    .wrapper {
        padding-bottom: 105px;
        padding-bottom: calc(106px + env(safe-area-inset-bottom));
    }
    .wrapper2 {
        padding-bottom: 76px;
        padding-bottom: calc(77px + env(safe-area-inset-bottom));
    }
    .wrapper-higher {
        padding-bottom: 145px;
        padding-bottom: calc(146px + env(safe-area-inset-bottom));
    }
}
/**************************/
/*     02. Navigation     */
/**************************/
.navbar-custom {
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
    transition: all 0.2s;
}
.navbar-custom .navbar-brand.logo-text {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
    font-weight: 700;
    font-style: italic;
    text-decoration: none;
}
.navbar-custom .navbar-brand.logo-text {
    color: #fff;
}
body:not(.homepage) .navbar-custom .navbar-brand.logo-text {
    color: #008000;
}
.navbar-custom .navbar-nav .nav-link {
    color: #fff;
}
body:not(.homepage) .navbar-custom .navbar-nav .nav-link {
    color: #212529;
}
.navbar-custom .navbar-nav .nav-link.active,
.navbar-custom .navbar-nav .show>.nav-link,
.navbar-custom .navbar-nav .nav-link:focus, 
.navbar-custom .navbar-nav .nav-link:hover {
    color: #008000!important;
}
.navbar-custom .navbar-toggler {
    border: none;
    color: #09b00e;
    font-size: 2rem;
}
.navbar-custom .navbar-toggler:focus,
.navbar-custom .navbar-toggler:active,
.navbar-custom .navbar-toggler-icon:focus {
    outline: none;
    box-shadow: none;
}
.navbar-custom .navbar-nav .nav-link.disabled {
    color: #6c757d !important;
}
@media (min-width: 768px) {
    .navbar-custom .navbar-nav .nav-link {
        padding-right: .75rem;
        padding-left: .75rem;
    }
}
.sidebar {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: -100%;
    z-index: 1080;
    background: #333;
    color: #fff;
    transition: all .3s;
    text-align: left;
}
.sidebar.active { 
    left: 0; 
}
.dismiss {
    width: 35px;
    height: 35px;
    transition: all .3s; 
    background: #444;
    border-radius: 4px;
    text-align: center;
    line-height: 35px;
    cursor: pointer;
    margin: 10px;
}
.dismiss:hover,
.dismiss:focus {
    background: #555;
    color: #fff;
}
.sidebar ul.menu-elements {
    padding: 10px 0;
    border-bottom: 1px solid #444;
    transition: all .3s;
}
.sidebar ul li a {
    display: block;
    padding: 10px 20px;
    border: 0;
    color: #fff;
}
.sidebar ul li a:hover,
.sidebar ul li a:focus,
.sidebar ul li a.active {
    outline: 0;
    background: #555;
    color: #008000;
}
.sidebar ul li a i {
    margin-right: 5px;
}
@media (min-width: 768px) {
    .sidebar {
        width: 300px;
        left: -305px;
        box-shadow: 3px 3px 3px rgba(51, 51, 51, 0.5);
    }
}
/*fixed navbar bottom*/
.navbar-custom-bottom {
    transition: all 0.4s;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); /*for ios with Notch*/
}
.navbar-custom-bottom .nav-link {
    font-size: .75rem;
    padding: 0.5rem 0.35rem;
    color: #212529;
}
.navbar-custom-bottom .nav-link.disabled {
    color: #6c757d;
}
.navbar-custom-bottom .nav-link.active {
    background: linear-gradient(rgba(146, 208, 80, 0.5), rgba(146, 208, 80, 0.5));
}
.navbar-custom-bottom .btn {
    font-size: 0.875rem;
    padding: 0.275rem 0.75rem;
}
@media (min-width: 375px) {
    .navbar-custom-bottom .nav-link {
        font-size: .813rem;
        padding: 0.5rem 0.5rem;
    }
}
@media (min-width: 414px) {
    .navbar-custom-bottom .nav-link {
        font-size: .906rem;
    }
}
@media (min-width: 768px) {
    .navbar-custom-bottom .nav-link {
        font-size: 1rem;
        padding: .5rem 1.5rem;
    }
    .navbar-custom-bottom .btn {
        font-size: 1rem;
    }
}
/**************************/
/*    03. Dark overlay    */
/**************************/
.overlay {
    display: none;
    position: fixed;
    top: 0;
    width: 100vw;
    height: 100vh; 
    background: rgba(51, 51, 51, 0.7);
    z-index: 1031;
    opacity: 0;
    transition: all .5s ease-in-out;
}
.overlay.active {
    display: block;
    opacity: 1;
}
/*********************/
/*    04. Header     */
/*********************/
.header {
    background: url('../img/header-background.jpg') center center no-repeat;
    background-size: cover;
    margin-top: -60px;
}
.header .header-content {
    padding-top: 8rem;
    padding-bottom: 2.125rem;
    text-align: center;
}
.header .text-container {
    margin-bottom: 1.5rem;
}
.header h1 {
    margin-bottom: 0.5rem;
    color: #fff;
}
.header .header-circle {
    width: 90px;
    height: 90px;
    padding-top: 1.5rem;
}
@media (min-width: 768px) {
    .header .header-content {
        padding-top: 10rem;
        padding-bottom: 4.5rem;
    }
}
@media (min-width: 992px) {
    .header .header-content {
        padding-top: 11rem;
        padding-bottom: 7.5rem;
    }
}
@media (min-width: 1200px) {
    .header .header-content {
        padding-top: 12.75rem;
        padding-bottom: 9.5rem;
    }
}
@media (min-width: 1400px) {
    .header .header-content {
        padding-top: 12.75rem;
        padding-bottom: 12.75rem;
    }
}
/*********************/
/*     05. Intro     */
/*********************/
#intro h2 {
    color: #008000;
}
@media (min-width: 375px) {
    #intro p {
        font-size: .8rem;
    }
}
@media (min-width: 414px) {
    #intro p {
        font-size: .9rem;
    }
}
@media (min-width: 576px) {
    #intro p {
        font-size: 1rem;
    }
}
/***************************/
/*     06. Description     */
/***************************/
@media (min-width: 375px) {
    #description p {
        font-size: .8rem;
    }
}
@media (min-width: 414px) {
    #description p {
        font-size: .9rem;
    }
}
@media (min-width: 576px) {
    #description p {
        font-size: 1rem;
    }
}
/******************************/
/*     07. Login/Register     */
/******************************/
.section-login, 
.section-register {
    width: 100%;
    max-width: 360px;
    padding: 10px;
    margin: auto;
}
.login-box, 
.register-box {
    width: 100%;
}
.login-box h1,
.register-box h1{
    color: #77933c;
}
.login-card-body .input-group .input-group-text, 
.register-card-body .input-group .input-group-text,
.forgot-card-body .input-group .input-group-text{
    background-color: transparent;
    border-bottom-right-radius: .25rem;
    border-left: 0;
    border-top-right-radius: .25rem;
    color: #777;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.section-login-bottom a{
    font-size: 0.875rem;
    padding: 0.275rem 0.75rem; 
}
.section-login-bottom a.btn {
    max-width: 266px;
    margin: 0 auto;
}
.section-login-bottom .one-line {
    padding-top: .875rem
}
.register-box .back-to-link {
    position: absolute;
    left: 0;
    top: 0;
}
/*digits code verification*/
.otc {
    position: relative;
}
.otc input[type="text"],
.otc input[type="number"] {
    width: 1.525em;
    line-height: 1;
    margin: .1em;
    padding: 4px;
    font-size: 1.45em;
    text-align: center;
    appearance: textfield; /* Firefox */
    -webkit-appearance: textfield;
    background: #d7e4bd;
    border: 0;
}
.otc input::-webkit-outer-spin-button,
.otc input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
@media (min-width: 360px) {
    .section-login-bottom a.btn {
        max-width: 306px;
    }
    .otc input[type="text"],
    .otc input[type="number"] {
        width: 1.71em;
        font-size: 1.55em;
    }
}
@media (min-width: 375px) {
/*    .section-login-bottom a {
        font-size: .635rem;
    }*/
}
@media (min-width: 414px) {
/*    .section-login-bottom a {
        font-size: .835rem;
    }*/
    .section-login, 
    .section-register {
        padding: 10px 0;
    }
}
@media (min-width: 576px) {
    .section-login-bottom .one-line {
        padding-top: .375rem;
    }
    .section-login-bottom a.btn {
        max-width: none;
    }
}
@media (min-width: 768px) {
    .section-login-bottom a {
        font-size: 1rem;
    }
    .otc input[type="text"],
    .otc input[type="number"] {
        width: 1.61em;
    }
}
/****************************/
/*     08. Terms of use     */
/****************************/
.section-terms-of-use h1{
    color: #77933c;
}
/**************************/
/*     09. Match page     */
/**************************/
.back-to-match-history {
    color: #77933c;
}
.back-to-match-history:hover {
    color: #77933c;
    text-decoration: none;
}
.section-no-result,
.section-result {
    height: 100%;
    margin-right: calc(var(--bs-gutter-x) * .05);
    margin-left: calc(var(--bs-gutter-x) * .05);
}
.section-no-result {
    height: calc(100vh - 132px);
}
.result-content:first-child {
    border-top: 0;
}
.result-content {
    border-top: 1px solid #d2d2d2;
}
.result-content:nth-child(2n) {
    background-color: #d7e4bd;
}
.section-result-2 .result-content:nth-child(2n) {
    background-color: #b9cde5;
}
.result-content table td:first-child {
    width: 75px;
}
.chevron-icon {
    bottom: 8px;
    right: 10px;
    font-size: .875rem;
}
.result-content[aria-expanded='false'] .chevron-icon .fas.fa-chevron-circle-up {
    display: none;
}
.result-content[aria-expanded='false'] .chevron-icon .fas.fa-chevron-circle-down {
    display: block;
}
.result-content[aria-expanded='true'] .chevron-icon .fas.fa-chevron-circle-down {
    display: none;
}
.result-content[aria-expanded='true'] .chevron-icon .fas.fa-chevron-circle-up {
    display: block;
}
.menu-match-history {
    max-height: 300px;
    min-width: 100%;
    overflow-y: auto;
}
.menu-match-history .dropdown-item.active, 
.menu-match-history .dropdown-item:active {
    color: #212529;
    text-decoration: none;
    background-color: transparent;
}
.menu-match-history .dropdown-item:focus,
.menu-match-history .dropdown-item:hover {
    background-color: transparent;
}
/*match-record*/
.match-info {
    font-size: .688rem;
    line-height: 1.2;
    width: 100%;
}
.match-info-content .chevron-icon {
    top: 11px;
    right: 120px;
    font-size: .875rem;
}
.table-match-top {
    width: 60%;
}
.match-info-content[aria-expanded='false'] .chevron-icon .fas.fa-chevron-circle-up {
    display: none;
}
.match-info-content[aria-expanded='false'] .chevron-icon .fas.fa-chevron-circle-down {
    display: block;
}
.match-info-content[aria-expanded='true'] .chevron-icon .fas.fa-chevron-circle-down {
    display: none;
}
.match-info-content[aria-expanded='true'] .chevron-icon .fas.fa-chevron-circle-up {
    display: block;
}
.match-info-content table td:first-child {
    width: 60px;
}
.match-info .table td, 
.match-info .table th {
    padding: .5rem;
}
/*match button*/
.match-button {
    position: absolute;
    top: 0;
    right: 0;
    padding: .5rem .25rem;
}
.match-button .btn {
    font-size: .688rem;
    line-height: 1.2;
    margin: 0 3px;
    padding: 0.25rem 0.65rem;
    z-index: 100;
}
.btn-start-game {
    font-size: .535rem;
    line-height: 1.2;
    margin: 0 3px;
    padding: 0.25rem 0.85rem;
}
/*court*/
#accordion-court {
    background-color: #77933c;
}
.court-wrapper {
    width: 214px; 
    height: 336px; 
    position: relative;
    font-size: .535rem;
    color: #fff;
    text-align: center;
    margin: 0 auto;
}
.court-wrapper,
.court-wrapper div{
    color: #fff;
    box-sizing: content-box;
}
.court-alley-1,
.court-alley-2,
.court-alley-3,
.court-alley-4 {
    position:absolute;
    width: 24px; 
    height: 166px;
    z-index: 1;
}
.court-alley-1 {
    top: 0;
    left: 0;
    border-bottom: 1px solid #000 !important;
}
.court-alley-2 {
    top: 168px;
    left: 0;
    border-top: 1px solid #000 !important;
}
.court-alley-3 {
    top: 0;
    right: 0;
    border-bottom: 1px solid #000 !important;
}
.court-alley-4 {
    top: 168px;
    right: 0;
    border-top: 1px solid #000 !important;
}
.back-court-1,
.back-court-2 {
    position: absolute;
    width: 160px;
    height: 76px;
    z-index: 1;
}
.back-court-1 {
    top: 0;
    left: 26px;
}
.back-court-2 {
    bottom: 0;
    left: 26px;
}
.service-court-1,
.service-court-2,
.service-court-3,
.service-court-4 {
    position: absolute; 
    width: 79px; 
    height: 89px;
    z-index: 1;
}
.service-court-1 {
    top: 78px; 
    left: 26px; 
    border-bottom: 1px solid #000 !important;
}
.service-court-2 {
    top: 78px; 
    right: 26px;
    border-bottom: 1px solid #000 !important;
}
.service-court-3 {
    bottom: 78px; 
    left: 26px;
    border-top: 1px solid #000 !important;
}
.service-court-4 {
    bottom: 78px; 
    right: 26px;
    border-top: 1px solid #000 !important;
}
.net-court {
    position:absolute;
    left: 1%;
    top: 157px;
    width: 98%;
    z-index: 2;
    line-height: 21px;
    cursor: pointer;
}
.net-court.net-up {
    top: 137px;
    line-height: 29px;
}
.net-court.net-down {
    top: 170px;
    line-height: 29px;
}
.court-back,
.court-go {
    position:absolute;
    z-index: 1;
    top: 156px;
}
.court-back .btn,
.court-go .btn {
    padding: .25rem .85rem;
    font-size: .635rem;
}
.court-back {
    left: -48px;
}
.court-go {
    right: -48px;
}
.court-input {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.court-input.enable {
    background: rgba(79,98,40,0.7);
    color: #ffff00;
    touch-action: manipulation;
}
.court-input.disabled {
    background: rgba(215,228,189,0.7);
    color: #77933c;
    pointer-events: none;
}
.match-points {
    font-size: .535rem;
    overflow-x: auto;
    white-space: nowrap;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.match-points::-webkit-scrollbar {
    display: none;
}
.match-points .point-name {
    display: inline-block;
    width: 14.2857%;
    position:relative;
    vertical-align: top;
}
.match-points .point-name .player-pos-text,
.match-points .point-name .point-name-inner {
    padding: 4px 0;
}
.match-points .point-name .player-pos-text {
    font-size: .75rem;
}
.match-points .point-name:nth-child(n+3):before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 1px;
    background: #fff;
}
.match-points .player-pos {
    background: #3b4920;
    position: absolute;
    left: 0;
    z-index: 1;
}
.match-points-bottom .player-pos {
    bottom: 0;
}
.court-btn-top-wrapper {
    position: absolute;
    width: 100%;
    top: -38px;
    left: 0;
}
.court-btn-bottom-wrapper {
    position: absolute;
    width: 100%;
    bottom: -38px;
    left: 0;
}
.court-btn-top-wrapper .btn,
.court-btn-bottom-wrapper .btn {
    padding: .15rem .85rem;
    font-size: .635rem;
}
/*serve*/
.serve-right-down-1 .court-input,
.serve-left-down-1 .court-input {
    width: 46.5%;
    margin: -3px 4px;
}
.serve-left-up-1 .court-input,
.serve-right-up-1 .court-input {
    width: 46.5%;
    margin: 3px 4px;
}
.serve-right-down-2 .court-input {
    width: 38px;
    height: 72px;
    position: absolute;
    top: 82px;
    left: -18px;
}
.serve-left-down-4 .court-input {
    width: 38px;
    height: 72px;
    position: absolute;
    top: 82px;
    right: -18px;
}
.serve-left-up-4 .court-input {
    width: 38px;
    height: 72px;
    position: absolute;
    top: 14px;
    right: -18px;
}
.serve-right-down-3,
.serve-left-down-3,
.serve-left-up-3,
.serve-right-up-3 {
    margin: 0 2px;
}
.serve-right-down-3 .court-input,
.serve-left-down-3 .court-input {
    height: 72px;
    margin: 4px 2px 0px 2px;
}
.serve-left-up-3 .court-input{
    height: 72px;
    margin: 14px 2px 0px 2px;
}
.serve-right-down-4 .court-input {
    width: 38px;
    height: 72px;
    position: absolute;
    top: 4px;
    left: 5px;
}
.serve-left-down-2 .court-input {
    width: 38px;
    height: 72px;
    position: absolute;
    top: 4px;
    right: 5px;
}
.serve-left-up-2 .court-input {
    width: 38px;
    height: 72px;
    position: absolute;
    top: 14px;
    right: 5px;
}
.serve-right-down-5 .court-input,
.serve-left-down-5 .court-input {
    height: 72px;
    margin: 14px 4px 0;
}
.serve-left-up-5 .court-input {
    height: 72px;
    margin: 3px 4px 0;
}
.serve-right-up-2 .court-input {
    width: 38px;
    height: 72px;
    position: absolute;
    top: 14px;
    left: -18px;
}
.serve-right-up-3 .court-input {
    height: 72px;
    margin: 14px 2px 0px 2px;
}
.serve-right-up-4 .court-input {
    width: 38px;
    height: 72px;
    position: absolute;
    top: 14px;
    left: 5px;
}
.serve-right-up-5 .court-input {
    height: 72px;
    margin: 3px 4px 0;
}
.return-in-nml,
.return-in-ad,
.return-in-dc {
    margin: 0 2px;
}
.m-stroke {
    height: 94%;
    margin: 3px 2px 0px 2px;
}
.out-top {
    position: absolute;
    width: 40px;
    height: 30px;
    top: -39px;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 1;
}
.out-top-left {
    position: absolute;
    width: 40px;
    height: 30px;
    top: 20%;
    left: -20px;
    z-index: 1;
}
.out-top-right {
    position: absolute;
    width: 40px;
    height: 30px;
    top: 20%;
    right: -20px;
    z-index: 1;
}
.out-bottom {
    position: absolute;
    width: 40px;
    height: 30px;
    bottom: -39px;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 1;
}
.out-bottom-left {
    position: absolute;
    width: 40px;
    height: 30px;
    bottom: 19%;
    left: -20px;
    z-index: 1;
}
.out-bottom-right {
    position: absolute;
    width: 40px;
    height: 30px;
    bottom: 19%;
    right: -20px;
    z-index: 1;
}
.court-input-out {
    margin: 0;
}
.court-note-serve {
    position: absolute;
    bottom: 0;
    left: 0;
}
/*match-register*/
.match-register {
    width: 100%;
    top: 47%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(16, 37, 63, .8);
    z-index: 2;
    max-height: 300px;
    overflow: auto;
}
.match-register .btn-close {
    position: absolute;
    top: 10px;
    right: 15px;
    box-shadow: none!important;
    opacity: 1;
    font-size: 1.25rem;
}
.match-register h3 {
    font-size: .75rem !important;
}
.match-register .col-form-label-sm,
.match-register .form-control-sm,
.match-register .form-check-label,
.match-register button[type="submit"],
#delete-match .btn {
    font-size: .75rem;
}
#delete-match h5 {
    font-size: .75rem !important;
}
#delete-match  .close {
    font-size: 1.35rem;
}
/*commit-point*/
.commit-point {
    width: 90%;
    top: 47%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(16, 37, 63, .8);
    z-index: 2;
}
.commit-point .btn {
    padding-left: 0;
    padding-right: 0;
}
.commit-point .btn-close {
    position: absolute;
    top: 8px;
    right: 15px;
    box-shadow: none!important;
    opacity: 1;
}
@media (min-width: 360px) {
    /*match-register, match-info*/
    .match-register{
        width: 98%;
    }
}
@media (min-width: 375px) {
    .match-register{
        max-height: none;
        overflow: hidden;
    }
    /*match-info*/
    .match-info,
    .match-button .btn {
        font-size: .75rem;
    }
    .match-info-content table td:first-child {
        width: 65px;
    }
    .match-register .btn-close {
        font-size: 1.35rem;
    }
    .match-register h3 {
        font-size: .875rem !important;
    }
    .match-info-content .chevron-icon {
        top: 12px;
        right: 125px;
    }
/*    .match-button .btn,
    .match-register .col-form-label-sm,
    .match-register .form-control-sm,
    .match-register .form-check-label,
    .match-register button[type="submit"],
    #delete-match .btn,
    .btn-start-game {
        font-size: .635rem;
    }*/
    #delete-match h5 {
        font-size: .813rem !important;
    }
    #delete-match  .close {
        font-size: 1.4rem;
    }
}
@media (min-width: 414px) {
    /*match-record*/
    .match-info {
        font-size: .813rem;
    }
    .match-info-content table td:first-child {
        width: 75px;
    }
    .match-register .btn-close {
        font-size: 1.5rem;
    }
    .match-register h3 {
        font-size: .938rem !important;
    }
    .match-info-content .chevron-icon {
        top: 13px;
        right: 130px;
    }
    .match-button .btn,
    .match-register .col-form-label-sm,
    .match-register .form-control-sm,
    .match-register .form-check-label,
    .match-register button[type="submit"],
    #delete-match .btn,
    .btn-start-game {
        font-size: .813rem;
    }
    #delete-match h5 {
        font-size: .938rem !important;
    }
    #delete-match  .close {
        font-size: 1.5rem;
    }
    /*court*/
    .court-wrapper {
        width: 234px;
    }
    .court-alley-1, 
    .court-alley-2, 
    .court-alley-3, 
    .court-alley-4 {
        width: 27px;
    }
    .back-court-1, 
    .back-court-2 {
        width: 174px;
    }
    .service-court-1, 
    .service-court-2, 
    .service-court-3, 
    .service-court-4 {
        width: 86px;
    }
    .back-court-1, 
    .back-court-2,
    .service-court-1,
    .service-court-3 {
        left: 29px;
    }
    .service-court-2,
    .service-court-4 {
        right: 29px;
    }
    .out-top,
    .out-top-left,
    .out-top-right,
    .out-bottom,
    .out-bottom-left,
    .out-bottom-right {
        width: 45px;
        height: 35px;
    }
    .out-top {
        top: -42px;
    }
    .out-bottom {
        bottom: -42px;
    }
    .out-top-left,
    .out-top-right {
        top: 18%;
    }
    .out-bottom-left,
    .out-bottom-right {
        bottom: 18%;
    }
    .out-top-left,
    .out-bottom-left {
        left: -23px;
    }
    .out-top-right,
    .out-bottom-right {
        right: -23px;
    }
    .serve-right-up-2 .court-input,
    .serve-right-down-2 .court-input {
        left: -16px;
    }
    .serve-left-down-4 .court-input,
    .serve-left-up-4 .court-input {
        right: -16px;
    }
}
@media (min-width: 576px) {
    .menu-match-history {
        min-width: 400px;
    }
    /*match-register, match-info*/
    .match-register {
        width: 93%;
    }
    .match-register h3 {
        font-size: 1rem !important;
    }
    .match-info-content .chevron-icon {
        top: 13px;
        right: 130px;
    }
/*    .match-button .btn,
    .match-register .col-form-label-sm,
    .match-register .form-control-sm,
    .match-register .form-check-label,
    .match-register button[type="submit"],
    #delete-match .btn,
    .btn-start-game {
        font-size: .875rem;
    }*/
    #delete-match h5 {
        font-size: 1rem !important;
    }
}
@media (min-width: 768px) {
    /*match-record*/
    .match-info {
        font-size: 1rem;
    }
    .match-info-content table td:first-child {
        width: 90px;
    }
    .match-info-content .chevron-icon {
        top: 15px;
        right: 147px;
        font-size: 1rem;
    }
    .match-button .btn,
    .match-register .col-form-label-sm,
    .match-register .form-control-sm,
    .match-register .form-check-label,
    .match-register button[type="submit"],
    #delete-match .btn,
    .btn-start-game {
        font-size: 1rem;
    }
    /*court*/
    .court-wrapper {
        width: 294px;
        height: 466px;
        margin: 42px auto;
    }
    .court-alley-1, 
    .court-alley-2, 
    .court-alley-3, 
    .court-alley-4 {
        width: 34px;
        height: 231px;
    }
    .court-alley-2, 
    .court-alley-4 {
        top: 233px;
    }
    .back-court-1, 
    .back-court-2 {
        width: 220px;
        height: 106px;
    }
    .service-court-1, 
    .service-court-2, 
    .service-court-3, 
    .service-court-4 {
        width: 109px;
        height: 123px;
    }
    .service-court-1, 
    .service-court-2 {
        top: 108px;
    }
    .service-court-3, 
    .service-court-4 {
        bottom: 108px;
    }
    .back-court-1, 
    .back-court-2,
    .service-court-1,
    .service-court-3 {
        left: 36px;
    }
    .service-court-2,
    .service-court-4 {
        right: 36px;
    }
    .net-court {
        top: 220px;
        line-height: 25px;
    }
    .net-court.net-up {
        top: 192px;
        line-height: 39px;
    }
    .net-court.net-down {
        top: 235px;
        line-height: 39px;
    }
    .court-back,
    .court-go {
        top: 221px;
    }
    .out-top,
    .out-top-left,
    .out-top-right,
    .out-bottom,
    .out-bottom-left,
    .out-bottom-right {
        width: 50px;
        height: 45px;
    }
    .out-top {
        top: -60px;
    }
    .out-bottom {
        bottom: -60px;
    }
    .out-top-left,
    .out-top-right {
        top: 19%;
    }
    .out-bottom-left,
    .out-bottom-right {
        bottom: 19%;
    }
    .out-top-left,
    .out-bottom-left {
        left: -25px;
    }
    .out-top-right,
    .out-bottom-right {
        right: -25px;
    }
    .serve-right-down-2 .court-input,
    .serve-right-down-4 .court-input,
    .serve-right-up-2 .court-input,
    .serve-right-up-4 .court-input,
    .serve-left-down-2 .court-input,
    .serve-left-down-4 .court-input,
    .serve-left-up-2 .court-input,
    .serve-left-up-4 .court-input {
        width: 46px;
        height: 104px;
    }
    .serve-right-down-2 .court-input {
        top: 112px;
        left: -17px;
    }
    .serve-right-up-2 .court-input {
        left: -17px;
    }
    .serve-left-down-4 .court-input {
        top: 112px;
        right: -17px;
    }
    .serve-left-up-4 .court-input {
        right: -17px;
    }
    .serve-right-down-3 .court-input, 
    .serve-right-down-5 .court-input,
    .serve-left-down-3 .court-input,
    .serve-left-down-5 .court-input,
    .serve-right-up-3 .court-input,
    .serve-right-up-5 .court-input,
    .serve-left-up-3 .court-input,
    .serve-left-up-5 .court-input {
        height: 104px;
    }
    .match-points .point-name .player-pos-text,
    .match-points .point-name .point-name-inner {
        padding: 5px 0;
    }
    .court-btn-top-wrapper .btn,
    .court-btn-bottom-wrapper .btn {
        padding: 0.25rem 0.85rem;
    }
    .court-back .btn,
    .court-go .btn {
        font-size: .688rem;
    }
}
@media (min-width: 992px) {
    /*match-register, match-info*/
    .match-register {
        width: 60%;
    }
}
/*result-detail*/
.result-detail h2 {
    font-size: 1rem;
}
.result-detail .progress {
    background-color: rgba(0,0,0,.125);
    height: 3px;
    margin: 0;
}
.trainer-advice[aria-expanded='false'] .chevron-icon .fas.fa-chevron-circle-up {
    display: none;
}
.trainer-advice[aria-expanded='false'] .chevron-icon .fas.fa-chevron-circle-down {
    display: block;
}
.trainer-advice[aria-expanded='true'] .chevron-icon .fas.fa-chevron-circle-down {
    display: none;
}
.trainer-advice[aria-expanded='true'] .chevron-icon .fas.fa-chevron-circle-up {
    display: block;
}
.progress.progress-opponent .progress-bar{
    background-color: #e46c0a;
}
.analysis-tab .nav-link {
    color: #7f7f7f;
    font-weight: 700;
    height: 100%;
    font-size: .625rem;
}
.analysis-tab .nav-link.active {
    color: #2f5597;
    background-color: transparent;
    border-color: transparent;
}
.analysis-tab .nav-link:focus,
.analysis-tab .nav-link:hover {
    border-color: transparent;
}
.supplementary {
    font-size: .5rem;
}
.table-serve-course {
    font-size: .563rem;
}
.table-serve-course th {
    padding: .5rem .25rem;
}
.table-serve-course td {
    padding: .25rem;
}
.table-score td,
.table-score th,
.table-point td,
.table-score th,
.table-breakdown td,
.table-breakdown th,
.table-stats td,
.table-stats th,
.table-advice td,
.table-advice th {
    padding: .5rem .25rem;
}
@media (min-width: 360px) {
    .d-360-block {
        display: block!important;
    }
}
@media (min-width: 375px) {
    .analysis-tab .nav-link {
        font-size: .688rem;
    }
    .supplementary {
        font-size: .625rem;
    }
}
@media (min-width: 414px) {
    .analysis-tab .nav-link {
        font-size: .75rem;
    }
    .supplementary {
        font-size: .688rem;
    }
}
@media (min-width: 576px) {
    .analysis-tab .nav-link {
        font-size: .875rem;
    }
    .table-serve-course {
        font-size: .688rem;
    }
}
@media (min-width: 768px) {
    .result-detail h2 {
        font-size: 1.25rem;
    }
    .result-content table td:first-child {
        width: 100px;
    }
    .analysis-tab .nav-link {
        font-size: 1rem;
    }
    .supplementary {
        font-size: .75rem;
    }
    .table-serve-course {
        font-size: .875rem;
    }
    .table-serve-course th {
        padding: .75rem;
    }
    .table-serve-course td {
        padding: .275rem;
    }
}
@media (min-width: 992px) {
    .table-serve-course {
        font-size: 1rem;
    }
    .supplementary {
        font-size: .875rem;
    }
}
/***************************/
/*     10. Lesson page     */
/***************************/
.lesson-image {
    width: 100px;
}
.lesson-image img {
    width: 100px;
    height: 100px;
}
.btn-open-detail,
.btn-apply {
    width: 120px;
}
.btn-open-detail[aria-expanded='false'] .fas.fa-caret-up,
.btn-open-detail[aria-expanded='false'] .open-detail-close {
    display: none;
}
.btn-open-detail[aria-expanded='false'] .fas.fa-caret-down,
.btn-open-detail[aria-expanded='false'] .open-detail-open {
    display: inline-block;
}
.btn-open-detail[aria-expanded='true'] .fas.fa-caret-down,
.btn-open-detail[aria-expanded='true'] .open-detail-open {
    display: none;
}
.btn-open-detail[aria-expanded='true'] .fas.fa-caret-up,
.btn-open-detail[aria-expanded='true'] .open-detail-close {
    display: inline-block;
}
@media (min-width: 576px) {
    .lesson-image {
        width: 120px;
    }
    .lesson-image img {
        width: 120px;
        height: 120px;
    }
}
/***********************/
/*     11. My page     */
/***********************/
.user-info h2 {
    font-size: 1rem;
}
.new-arrival {
    font-size: .65rem;
    width: 50px;
    padding: .165rem
}
/*************************/
/*     12. Buy point     */
/*************************/
.point-info .back-to-link {
    position: absolute;
    left: 0;
    top: 0;
}
.point-info h2 {
    font-size: .775rem;
}
.point-item {
    cursor: pointer;
}
.point-price {
    width: 95%
}
.point-number p,
.point-price p {
    font-size: calc(1.175rem + 1.25vw);
    line-height: 1;
}
.point-number span {
    font-size: .8rem;
}
@media (min-width: 375px) {
    .point-info h2 {
        font-size: .875rem;
    }
    .point-number p,
    .point-price p {
        font-size: calc(1.275rem + 1.35vw);
    }
}
@media (min-width: 768px) {
    .point-info h2 {
        font-size: 1rem;
    }
    .point-number p,
    .point-price p {
        font-size: calc(1.375rem + 1.5vw);
    }
}
/********************/
/*     13. Chat     */
/********************/
.chat-page .back-to-link {
    position: absolute;
    left: 0;
    top: 0;
}
.direct-chat-wrapper {
    height: calc(100vh - 250px);
}
#chat-list-wrapper .hide-in-chat {
    display: none;
}
#chat-list {
    top: 31px;
    z-index: 1000;
}
#chat-list-wrapper .btn {
    background-color: #d9d9d9;
}
#chat-list-wrapper .btn[aria-expanded='false'] .fas.fa-sort-down {
    display: none;
}
#chat-list-wrapper .btn[aria-expanded='false'] .fas.fa-sort-up {
    display: inline-block;
}
#chat-list-wrapper .btn[aria-expanded='true'] .fas.fa-sort-up {
    display: none;
}
#chat-list-wrapper .btn[aria-expanded='true'] .fas.fa-sort-down {
    display: inline-block;
}
.direct-chat-body {
    height: 100%;
    overflow: auto;
    display: flex;
    flex-direction: column;
}
.direct-chat-wrapper .direct-chat-messages {
    height: auto;
    overflow: auto;
    width: 100%;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box
}
.direct-chat-body .direct-chat-text {
    margin: 0;
    word-wrap: break-word;
    max-width: 100%;
    text-align: left;
    white-space: pre-line;
}
.direct-chat-body .right>.direct-chat-text {
    background-color: #b9cde5;
    border-color: #b9cde5;
}
.direct-chat-body .right>.direct-chat-text::after, 
.direct-chat-body .right>.direct-chat-text::before {
    border-left-color: #b9cde5;
}
.direct-chat-msg.right {
    text-align: right;
}
.direct-chat-msg::after {
    display: block;
    clear: both;
    content: "";
}
.direct-chat-infos .direct-chat-timestamp,
.direct-chat-infos .direct-chat-name{
    font-size: .75rem;
}
.direct-chat-date {
    font-size: .875rem;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #d2d6de;
    line-height: 0.1em;
    margin: 10px 0 20px;
}
.direct-chat-date span {
    background:#fff; 
    padding:0 10px;
}
.chat-box-msg-wrapper {
    position: relative;
    flex-shrink: 0;
    display: flex;
    padding-top: 10px;
    margin-top: auto;
}
.direct-chat-text {
    border-radius: .3rem;
    background-color: #d7e4bd;
    border: 1px solid #d7e4bd;
    color: #444;
    margin: 5px 0 0 50px;
    padding: 5px 10px;
    position: relative;
}
.direct-chat-text::before {
    border-width: 6px !important;
    margin-top: -6px;
}
.direct-chat-text::after {
    border-width: 5px;
    margin-top: -5px;
}
.direct-chat-text::after, .direct-chat-text::before {
    border: solid transparent;
    border-right-color: #d7e4bd;
    content: " ";
    height: 0;
    pointer-events: none;
    position: absolute;
    right: 100%;
    top: 15px;
    width: 0;
}
.right .direct-chat-text::after, .right .direct-chat-text::before {
    border-right-color: transparent;
    left: 100%;
    right: auto;
}
.chat-box-input {
    min-height: 100%;
    width: 100%;
    overflow-y: auto;
    padding: 2px 75px 2px 5px;
    border: 1px solid #d2d6de;
    resize: none;
    background-color: #dce6f2;
}
/* Hide scrollbar for Chrome, Safari and Opera */
.chat-box-input::-webkit-scrollbar {
    display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.chat-box-input {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.chat-box-input:focus-visible {
    outline: none;
}
.chat-box-msg-wrapper .btn {
    position: absolute;
    right: 10px;
    bottom: 10px;
}
@media only screen and (min-device-width : 320px) and (max-device-width : 767px) and (orientation : landscape) {
    .direct-chat-wrapper {
        height: 350px;
    }
}
/********************/
/*     14. Help     */
/********************/
.section-help h1 {
    color: #77933c;
}
.open-games-help[aria-expanded='false'] .fas.fa-caret-up,
.open-lesson-help[aria-expanded='false'] .fas.fa-caret-up {
    display: none;
}
.open-games-help[aria-expanded='false'] .fas.fa-caret-down,
.open-lesson-help[aria-expanded='false'] .fas.fa-caret-down {
    display: inline-block;
}
.open-games-help[aria-expanded='true'] .fas.fa-caret-down,
.open-lesson-help[aria-expanded='true'] .fas.fa-caret-down {
    display: none;
}
.open-games-help[aria-expanded='true'] .fas.fa-caret-up,
.open-lesson-help[aria-expanded='true'] .fas.fa-caret-up {
    display: inline-block;
}
/********************************/
/*     15. Sharing Analyses     */
/********************************/
.sharing-analyses h2 {
    font-size: 1rem;
}
