:root {
    --primary-color: #444;
    --active-color: #000;
    --key-color: #ffbd39;
    /* --primary-color: #ffbd39; */
    --disable-color: #9f9f9f;
    --content-color: #ffffff;
    --outline-color: #eee;
    --bg-color: #fff;
    /* --bg-color: #000000; */
    --night-font-color: #000;
    --btn-font-color: #000000;
    --primary-focus-color: #fff;
    --error-color: #CC0000;
    --checked-color: #25c57b;
    --white-color: #fff;
    --wrap: 760px;
    --sidebar: 200px;
    --sidebar-title: 1rem;
    --sidebar-background: #f8f9fa;
    --sidebar-font: 0.9rem;
    --sidebar-active: #eee;
}

body {
    background-color: var(--bg-color);
}

a,
a:hover {
    text-decoration: none;
    color: var(--primary-color);
}

.container {
    max-width: var(--wrap);
    position: relative;
    padding-left: 0px;
    padding-right: 0px;
}

.btn {
    font-size: 1rem;
    line-height: 39px;
    padding-top: 0px;
    padding-bottom: 0px;
    /* border-radius: 50px; */
    padding-left: 40px;
    padding-right: 40px;
}

/* .btn,
.btn:hover {
    color: var(--btn-font-color);
}

.btn a {
    color: var(--btn-font-color);
} */
#submit {
    border-radius: 20px;
}

.btn-lg {
    font-size: 1.2rem;
    height: 59px;
    line-height: 59px;
    max-width: 355px;
    width: 90%;
}

.btn-check+.btn:hover,
.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:focus {
    background-color: var(--active-color);
    border-color: var(--primary-focus-color);
    color: var(--content-color);
}

:not(.btn-check)+.btn:active,
.btn.active,
.btn.show,
.btn:first-child:active {
    color: var(--primary-focus-color);
    background-color: var(--active-color);
    border-color: var(--primary-focus-color);
}

.btn.disabled,
.btn:disabled,
fieldset:disabled .btn {
    opacity: 1;
    background-color: var(--disable-color) !important;
    border-color: var(--disable-color) !important;
}

.form-select:disabled {
    background-color: var(--disable-color);
    border-color: var(--disable-color);
    color: var(--bs-btn-disabled-color);
}

.btn-kakao,
.btn-kakao:hover,
.btn-kakao:active,
.btn-kakao:focus {
    background-color: #fee500 !important;
    border-color: #fee500 !important;
    color: #000 !important;
}

.btn-naver,
.btn-naver:hover,
.btn-naver:active,
.btn-naver:focus {
    background-color: #03c75a !important;
    border-color: #03c75a !important;
    color: #000 !important;
}

.snsbtn-naver svg {
    fill: #fff;
}

.btn-outline {
    border: 1px solid var(--bs-gray-900);
    background-color: var(--content-color);
    color: var(--bs-gray-900);
}

.btn-outline:hover {
    background-color: var(--content-color);
    border-color: var(--bs-gray-900);
}

.btn-outline:focus {
    background-color: var(--content-color);
    color: var(--bs-gray-900);
}

.btn-outline a {
    color: var(--bs-gray-900);
}

.btn-group.full {
    display: flex;
}

.btn-group.full .btn-check {
    flex: 1;
}

.m-wrap {
    max-width: var(--wrap);
    margin: 0 auto;
}

.m-wrap .contents {
    background-color: var(--bs-white);
    border-radius: 10px;
    padding: 40px 30px;
    /* margin-left: 30px;
    margin-right: 30px; */
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.1);
}

/* form */
label.form-label {
    font-size: 1rem;
    color: var(--disable-color);
}

.mb-3:focus-within label {
    color: var(--primary-color);
}

input.theme1 {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: none;
    box-shadow: -1px 2px 0px -1px var(--disable-color);
    border-radius: 0;
    padding-left: 0px;
    display: block;
}

input.theme1:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: red;
}

input.theme1:focus {
    box-shadow: -1px 3px 0px -1px var(--primary-color);
    border-color: var(--primary-color);
}

.mb-rem2 {
    margin-bottom: 1rem !important;
}

.page-back {
    color: var(--bs-white);
    margin-left: 10px;
}

.label-forgot {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

h1 {
    font-size: 1.8rem;
    color: var(--bs-white);
    margin-bottom: 20px;
    margin-top: 5px;
}

/* login */
#login_msg {
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
}

.login-or {
    margin-top: 40px;
    font-size: 24px;
    font-family: NanumSquare;
    font-weight: 600;
    color: var(--disable-color);
    position: relative;
}

.login-or:before {
    content: "";
    position: absolute;
    width: 30%;
    border-top: 1px solid var(--disable-color);
    top: 17px;
    left: 12%;
}

.login-or:after {
    content: "";
    position: absolute;
    width: 30%;
    border-top: 1px solid var(--disable-color);
    top: 17px;
    right: 12%;
}

.m-wrap .snslogin {
    margin: 30px auto;
    max-width: 145px;
    width: 100%;
    overflow: hidden;
}

.m-wrap .snsbtn-login:first-child {
    margin-left: 0px;
}

.m-wrap .snsbtn-login:last-child {
    margin-right: 0px;
}

.m-wrap .snsbtn-login {
    float: left;
    margin: 0 15px;
    max-width: 56px;
}

.m-wrap .snsbtn-text {
    font-size: 12px;
}

.snslogin svg {
    fill: var(--bs-white);
}

.snslogin span {
    color: var(--bs-white);
}

.top-controll .member {
    position: relative;
    display: inline-block;
    padding-top:2px;
    padding-right: 0px;
    cursor: pointer;
    font-size: 14px;
}

.top-controll .member:after {
    position: absolute;
    display:none; 
    font-family: "bootstrap-icons";
    content: '\F282';
    right: 5px;
    top: 2px;
    font-size: 16px;
    color: var(--primary-color);
}

.navbar {
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 189, 57, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-brand {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 600;
}

.navbar-brand:focus,
.navbar-brand:hover {
    color: var(--primary-color);
}

.navbar-nav .nav-link.active,
.navbar-nav .show>.nav-link {
    color: var(--content-color);
}

.nav-link:focus,
.nav-link:hover {
    color: var(--outline-color);
}
nav .nav-link.active::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 15px;
    width: 5px;
    height: 18px;
    background-color: #000;
    border-radius: 3px;
}

.nav-link {
    position:relative;
    display:inline-block;
    color: var(--disable-color);
    font-size: 1.2rem;
}
.nav-link.sub-menu { padding-left:45px !important; }
.nav-link.sub-menu.sub-active { font-weight:900;}

.nav-link > i { font-size:20px; padding-right:6px; }

.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--primary-color);
}

.top-section {
    background-color: var(--content-color);
    height: 40px;
    line-height: 35px;
    color: var(--primary-color);
    border-bottom: 1px solid rgb(238, 238, 238);
}

.top-section .top-home {
    position: relative;
    font-weight: 500;
    font-size: 20px;
    padding-left: 0px;
}

.top-section .top-home:after {
    /* content: '알림';
    position: absolute;
    top: 9px;
    left: 0px;
    background-color: var(--primary-color);
    color: var(--bg-color);
    padding: 3px 5px;
    border-radius: 3px;
    font-size: 12px;
    height: 22px;
    line-height: 16px; */
}

.top-section .top-home.landing {
    padding-left: 38px;
}

.top-section .top-home.landing:after {
    content: '알림';
}

.header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 0px 0px 0px;
    align-items: flex-end;
    margin-bottom: 0px;
}

.header .brand {
    margin-right: auto;
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 400;
    position: relative;
    top: 0px;
    left: 0px;
    line-height: 1.2;
    align-self: flex-start;
    padding: 10px 10px 10px 0px;
}

.header .brand a {
    font-weight: 600;
}

.header .brand .bi {
    padding: 0px 2px 0px 3px;
}

.header .noti {
    color: var(--primary-color);
    font-size: 16px;
    cursor: pointer;
    white-space: nowrap;
    align-self: flex-start;
}

.header .noti .unread {
    background-color: var(--key-color);
    color: var(--night-font-color);
    padding: 4px 12px;
    border-radius: 20px;
    position: relative;
    top: 8px;
    margin-right: 10px;
    font-weight: 500;
}

.header .noti .unread .bi {
    font-size: 20px;
}

.header .search {
    align-self: flex-start;
    padding-top: 8px;
}

.header .search .bi {
    color: var(--primary-color);
    font-size: 30px;
    cursor: pointer;
    align-self: flex-start;
}

.bottom-section {
    position: fixed;
    background-color: var(--bg-color);
    bottom: 0;
    height: 70px;
    left: 0;
    right: 0;
    margin: 0 auto;
    border-top: 1px solid var(--primary-color);
    margin-bottom: 0px;
    z-index: 2;
    border-top: 1px solid rgb(238, 238, 238);
}

.nav-bottom {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 10px;
    align-items: flex-end;
    justify-content: space-around;
    max-width: var(--wrap);
    margin: 0 auto;
}

.nav-bottom li {
    color: var(--primary-color);
    text-align: center;
    cursor: pointer;
    font-size: 0.8rem;
}

.nav-bottom li .bi {
    font-size: 19px;
}

.nav-bottom li.quick {
    position: absolute;
    right: 0px;
    top: -210px;
    height: 0px;
}

.schedule {
    position: relative;
}

.schedule th {
    background-color: var(--outline-color);
    color: var(--primary-color);
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 1;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 0.8rem;
}

.schedule th.th-date {
    width: 90px;
    padding-right: 0px;
    text-align: right;
}

.schedule td {
    background-color: var(--bg-color);
    color: var(--primary-color);
    border-bottom: none;
    border-top: 1px solid var(--outline-color);
    padding: 15px;
}

.schedule td.td-time {
    padding-right: 0px;
    text-align: right;
}

.schedule td .title {
    margin-bottom: 5px;
}

.schedule td .status {
    text-align: right;
    font-size: 1.2rem;
    font-weight: 400;
    position: relative;
    top: 5px;
}

.schedule td .badge {
    font-weight: 400;
    position: relative;
    margin-right: 3px;
    color: var(--primary-color) !important;
    background-color: var(--bg-color) !important;
    border: 1px solid var(--primary-color) !important;
}

.schedule th:first-child {
    border-top-left-radius: 5px;
}

.schedule th:last-child {
    border-top-right-radius: 5px;
}

.making {
    position: relative;
    display: inline-block;
    background-color: var(--bg-color);
    color: var(--content-color);
    border-radius: 20px;
    z-index: 10;
    padding: 10px 28px;
    margin-bottom: 0px;
    display: none;
}

.making li {
    text-align: left;
    padding: 10px 0px;
    color: var(--night-font-color);
}

.making li .bi {
    font-size: 16px;
    padding-right: 5px;
}

.making:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 0;
    height: 0;
    border-top: 10px solid var(--primary-color);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
}

.empty {
    height: 0px;
}

.bottom-padding {
    height: 80px;
}

.box {
    background-color: var(--primary-color);
    color: var(--bg-color);
    padding: 25px;
    border-radius: 24px;
    margin-bottom: 30px;
}

.box.outline {
    background-color: var(--bg-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.box a {
    color: var(--bg-color);
}

#loaderbg {
    position: fixed;
    top: 0px;
    left: 0px;
    background: rgba(0, 0, 0, 0.7) none repeat scroll 0% 0%;
    z-index: 2000;
    width: 100%;
    height: 100%;
    display: none;
}

#loader {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    animation: spin 1s linear infinite;
    border-color: #3498db #f3f3f3 #f3f3f3;
    border-image: none;
    border-radius: 50%;
    border-style: solid;
    border-width: 4px;
    height: 60px;
    left: 50%;
    margin: -40px 0 0 -40px;
    position: absolute;
    top: 50%;
    width: 60px;
    z-index: 1;
}

.close-loader {
    float: right;
    padding: 15px;
    cursor: pointer;
}

.desc {
    position: absolute;
    top: 55%;
    left: 50%;
    margin-left: -102px;
    width: 200px;
    color: #fff;
    text-align: center;
    font-size: 13px;
}

.spinner:before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    top: 20px;
    left: 22px;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    margin-left: -10px;
    border-radius: 50%;
    border: 2px solid #ccc;
    border-top-color: #3c4450;
    animation: spinner 0.9s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

@keyframes blink {
    0% {
        background-color: var(--primary-color);
        color: var(--content-color);
    }

    50% {
        background-color: transparent;
        color: var(--primary-color);
    }

    100% {
        background-color: var(--primary-color);
        color: var(--content-color);
    }
}

.w50 {
    width: 50px;
}

.w100 {
    width: 100px;
}

.w150 {
    width: 150px;
}

.w200 {
    width: 200px;
}

/* .form-control:focus { background-color:var(--night-font-color); color:var(--primary-color);} */
/* .input-group .input-group-text { background-color:var(--primary-color); color:var(--content-color);  } */
input.form-control {
    background-color: var(--bg-color);
    color: var(--primary-color);
}

.form-text {
    color: var(--primary-color);
}

input::placeholder {
    color: var(--disable-color) !important;
}

.form-select {
    background-color: var(--bg-color);
    color: var(--primary-color);
}

.table_01 td,
.table_01 th {
    color: #fff;
}

#club-check {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-top-right-radius: var(--bs-border-radius);
    border-bottom-right-radius: var(--bs-border-radius);
    color: var(--content-color);
}

.btn-check:checked+.btn {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--content-color);
}

.btn.checked:after {
    position: absolute;
    content: '\F633';
    font-family: "bootstrap-icons";
    color: var(--checked-color);
    top: 0px;
    left: 12px;
    font-size: 22px;
}

.err {
    color: var(--error-color);
    border-color: var(--error-color);
}

.blink {
    animation: blink 1s infinite;
}

.relative {
    position: relative !important;
}

.check {
    display: flex;
    margin: 0px;
    padding: 0px;
    border: 1px solid var(--primary-color);
    border-radius: var(--bs-border-radius);
}

.check li {
    flex: 1;
    text-align: center;
    cursor: pointer;
    padding: 6px;
    border-right: 1px solid var(--primary-color);
}

.check li:last-child {
    border-right: none;
}

.check li.active {
    background-color: var(--primary-color);
    color: var(--content-color);
}

.check li.active.disabled {
    background-color: var(--disable-color);
}

.check li:first-child.active {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.check li:last-child.active {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.flex {
    display: flex;
}

.top-home {
    flex-grow: 1;
}

.top-controll {
    position: relative;
    flex-shrink: 0;
    width: 150px;
    text-align: right;
}

.top-controll .bi {
    font-size: 24px;
}

.signup,
.signin {
    font-size: 0.8rem;
    background-color: var(--primary-color);
    color: var(--bg-color);
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    height: 22px;
    line-height: 16px;
    cursor: pointer;
}

.signup {
    background-color: var(--bg-color);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    margin-right: 5px;
}

th.blue,
.blue {
    color: blue !important;
}

th.red,
.red {
    color: red !important;
}

.game-title {
    font-size: 1.1rem;
    padding: 10px 0px 6px;
    position: relative;
}

.game-title>i {
    font-size: 1.1em;
    padding-right: 4px;
    cursor: pointer;
}

.game-title.dropdown .dropdown-menu {
    z-index: 1030 !important;
}

.game-title.dropdown .dropdown-menu a {
    font-size: 0.9rem;
}

.game-title.dropdown .dropdown-toggle::after {
    display: none;
}

.activity-func {
    position: relative;
    max-width: var(--wrap);
    height: 36px;
    margin: 5px 0px 0px;
}

.activity-func ul {
    display: flex;
    border-color: var(--primary-color) !important;
    background-color: var(--primary-color);
    margin: 0px;
    padding: 0px;
}

.activity-func ul {
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    min-width: 240px;
    max-width: var(--wrap);
    /* max-width: 320px;
    width: 90%; */
    height: 36px;
    border: 2px solid;
    font-size: 13px;
    line-height: 32px;
    border-radius: 20px;
}

.activity-func ul {
    will-change: transform, opacity;
}

.activity-func ul:before {
    background-color: #fff;
}

.activity-func ul:before {
    transition: left .4s, margin-left .4s;
}

.activity-func ul:before {
    left: 0;
}

.activity-func ul:before {
    content: "";
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 33.33%;
    height: 100%;
    border-radius: 20px;
}

.activity-func.col4 ul:before {
    width: 25%;
}

.fc-list li,
.sidebar li {
    list-style: none;
}

.activity-func li {
    width: 33.33%;
}

.activity-func.col4 li {
    width: 25%;
}

.activity-func li button.active {
    color: var(--primary-color) !important;
}

.activity-func li button {
    color: #fff;
    display: block;
    overflow: hidden;
    position: relative;
    z-index: 1;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    height: 32px;
    padding: 0 8px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color .3s;
    border: none;
    background-color: transparent;
    font-size: 14px;
}

.fade-link {
    transition: color .2s;
}

.activity-func.active1 ul:before {
    left: 0
}

.activity-func.active2 ul:before {
    left: 33.33%
}

.activity-func.active3 ul:before {
    left: 100%;
    margin-left: -33.32%
}

.activity-func.col4.active1 ul:before {
    left: 0
}

.activity-func.col4.active2 ul:before {
    left: 25%
}

.activity-func.col4.active3 ul:before {
    left: 50%;
    margin-left: 0px;
}

.activity-func.col4.active4 ul:before {
    left: 75%;
}

#team-result {
    padding: 0px 10px;
}

.capture-page {
    border-top-left-radius: 25px !important;
    border-bottom-left-radius: 25px !important;
}

.btn-group.d-flex>button {
    white-space: nowrap;
}

@media only screen and (max-width:480px) {
    .game-title {
        font-size: 0.9rem;
    }

    .header .brand {
        left: 5px;
    }

    .mobile-hide {
        display: none;
    }

    .td-time {
        display: none;
    }

    .td-entry {
        display: none;
    }
}

.rule {
    position: relative;
    margin-top: 5px;
    margin-bottom: 5px;
    width: 100%;
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    overflow-x: auto;
    padding: 10px 0px 0px;
    white-space: nowrap;
}

.rule::-webkit-scrollbar {
    display: none;
}

.rule .item {
    flex-shrink: 0;
    flex-basis: 110px;
    width: 110px;
    height: 105px;
    margin-right: 5px;
    font-weight: 500;
    background-color: #fff;
    border-radius: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    border: 2px solid var(--primary-color);
    cursor: ew-resize;
}

.rule .item .icon {
    font-size: 28px;
}

.rule .item .text {
    font-size: 13px;
    text-align: center;
    padding-top: 5px;
}

.bi-text-indent-left::before {
    transform: rotate(90deg);
}

.prize table td:first-child {
    text-align: center;
}

.prize table td {
    vertical-align: top;
    font-size: 18px;
}

.prize table tr:last-child td {
    border-bottom: none;
}

.section {
    display: none;
    margin-bottom: 60px;
}

.fixed-top {
    position: fixed;
    top: 0;
}

.goto-top {
    position: fixed;
    display: none;
    right: 14px;
    bottom: 8px;
    height: 32px;
    border-radius: 36px;
    background-color: #fff;
    cursor: pointer;
    z-index: 1020;
}

.goto-top i {
    position: relative;
    top: -14px;
    left: -1px;
    color: var(--primary-color);
    font-size: 38px;
}

.table-entry,
.table-game {
    margin-top: 15px;
}

.table-entry th,
.table-prize th,
.table-game th {
    font-size: 12px;
    font-weight: 500;
    color: #333;
    background-color: #eee;
    padding: .7rem .7rem;
}

.check-charge i,
.check-side i {
    font-size: 24px !important;
}

.table-entry th.team {}

.table-game tr {
    position: relative;
}

.table-entry tr:hover td.hover {
    background-color: rgba(0, 0, 0, 0.025);
}

.table-entry td.side-name {
    line-height: 47px;
    padding: 0px 15px 0px;
    font-size: 1.1rem;
}

.table-entry td.team,
.table-entry td.no {
    border-right: 1px solid var(--bs-border-color);
    font-size: 1.1rem;
}

.table-entry td.team .check-charge {
    position: absolute;
    top: 5px;
    left: 5px;
    cursor: pointer;
}

.table-entry td.side-name .bi-check-circle {
    position: relative;
    top: 2px;
}

.table-entry td.side-name .bi-check-circle,
.table-entry td.side .bi-check-circle,
.table-entry td.team .check-charge .bi-check-circle {
    color: #aaa;
    cursor: pointer;
}

.table-game th.first {
    border-top-left-radius: 15px;
}

.table-entry th.no,
.table-game th.col-rank {
    width: 60px;
    text-align: center;
    border-top-left-radius: 15px;
}

.prize .table-game td {
    font-size: 1rem;
}

.prize .table-game .col-rank {
    width: 80px;
}

.prize .table-game .col-champ {
    width: 20px;
    font-size: 1rem;
    padding-left: 0px;
}

.prize .table-game td {
    position: relative;
}

.prize .table-game td .plus {
    position: absolute;
    white-space: nowrap;
    left: 60px;
    color: rgb(219, 0, 0);
    display: inline-block;
    font-size: 0.9rem;
    width: 80px;
    text-align: right;
}

.table-entry th.side,
.table-game th.diff {
    border-top-right-radius: 15px;
    width: 60px;
}

.table-game th.last {
    border-top-right-radius: 15px;
}

.table-game th.game {
    text-align: center;
    cursor: pointer;
}

.table-game th.col-change {
    max-width: 60px;
    text-align: center;
}

.table-game th.col-name {
    width: 80px;
    text-align: left;
}

.table-game th.col-total {
    width: 80px;
    text-align: left;
}

/* .table-game th.col-score { min-width:50px; max-width:90px; width:90px; }  */
.table-game th.league-count {
    min-width: 50px;
    max-width: 50px;
    width: 50px;
}

.table-game th.name,
.table-game th.rank,
.table-game th.total {
    font-weight: 500;
    font-size: 1rem;
    background-color: #fff;
}

.table-game th.total {
    border-right: 1px solid rgb(222, 226, 230);
}

.table-game th.active {
    background-color: #000;
    color: #fff;
    border: 1px solid #000 !important;
}

.table-game td.active {
    border-left: 1px solid black !important;
    border-right: 1px solid black;
}

.table-game tr:last-child td.active {
    border-bottom: 1px solid black;
}

.table-game td {
    padding: .7rem .7rem;
    font-size: 1rem;
}

.table-game.capture th.name,
.table-game.capture th.rank,
.table-game.capture th.total,
.table-game.capture td {
    padding: 0px;
}

.table-game.capture td.last {
    padding-right: 20px;
}

.table-game.capture th.total {
    padding-right: 10px;
}

.table-game tr.active th,
.table-game tr.active td,
.table-game tr.side th,
.table-game tr.side td {
    background-color: #e0ecfd !important;
}

.table-game td.league-point {
    font-size: 1rem;
    color: #666;
}

.table-game th {
    white-space: nowrap;
}

.table-game .no {
    width: 40px;
    text-align: right;
    padding-right: 0px;
}

.table-game .club-user-name {
    width: 100px;
    text-align: center;
    position: relative;
}

.table-game .club-user-handi {
    width: 40px;
    text-align: right;
}

.table-game .club-user-birth {
    width: 110px;
    text-align: center;
}

.table-game .club-user-phone {
    text-align: left;
}

th.col-fix.rank .take {
    color: var(--error-color);
}

.col-fix {
    position: -webkit-sticky !important;
    position: sticky !important;
    box-shadow: inset 0 0 0 9999px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg)));
    z-index: 10;
}

.fix-col1 {
    width: 51px;
    min-width: 51px;
    max-width: 51px;
    left: 0px;
}

.fix-col2 {
    width: 71px;
    min-width: 71px;
    max-width: 71px;
    left: 50px;
}

.fix-col3 {
    width: 71px;
    min-width: 71px;
    max-width: 71px;
    left: 120px;
    border-left: 1px solid rgb(222, 226, 230);
    border-right: 1px solid rgb(222, 226, 230);
}

.fix-league-col1 {
    width: 51px;
    min-width: 51px;
    max-width: 51px;
    left: 0px;
    border-right: 1px solid rgb(222, 226, 230);
}

.fix-league-col2 {
    width: 91px;
    min-width: 91px;
    max-width: 91px;
    left: 50px;
}

.fix-league-col3 {
    width: 41px;
    min-width: 41px;
    max-width: 41px;
    left: 140px;
    border-left: 1px solid rgb(222, 226, 230);
    border-right: 1px solid rgb(222, 226, 230);
}

.fix-league-col4 {
    width: 41px;
    min-width: 41px;
    max-width: 41px;
    left: 180px;
    border-left: 1px solid rgb(222, 226, 230);
    border-right: 1px solid rgb(222, 226, 230);
}

.fix-league-col5 {
    width: 76px;
    min-width: 76px;
    max-width: 76px;
    left: 220px;
    border-left: 1px solid rgb(222, 226, 230);
    border-right: 1px solid rgb(222, 226, 230);
}

.league-count {
    border-left: 1px solid rgb(222, 226, 230);
    border-right: 1px solid rgb(222, 226, 230);
}

.mt-60 {
    margin-top: 60px;
}

.mt-80 {
    margin-top: 80px;
}

.pl-30 {
    padding-left: 30px !important;
}

.pl-40 {
    padding-left: 40px !important;
}

.sticky-top {
    top: -1px;
}

.relative {
    position: relative;
}

.sticky-bottom {
    bottom: 5px;
}

.bill {
    background-color: var(--primary-color);
    height: 41px;
    border-radius: 25px;
    overflow: hidden;
    color: #fff;
}

.bill ul {
    display: flex;
    margin: 0px;
    padding: 0px 25px;
    margin-top: 10px;
}

.bill ul li {
    flex-grow: 1;
    text-align: right;
    flex-basis: 100px;
    font-size: 14px;
}

.bill ul li.info {
    text-align: left;
    white-space: nowrap;
}

.simple {
    font-size: 14px;
    font-weight: 400;
}

.top-logo {
    font-size: 20px;
    font-weight: 600;
    display:inline-block;
    margin-top:2px; 
}

.member-menu {
    position: absolute;
    display: none;
    top: 40px;
    right: 0px;
    border: 1px solid #ddd;
    background-color: #fff;
    margin: 0px;
    padding: 0px;
    z-index: 1060;
    border-radius: 10px;
}

.member-menu li {
    text-align: center;
    padding: 0px 10px;
    font-size: 14px;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
}

.member-menu.show {
    display: block;
}

.ui-menu-item .handi,
.ranker .handi,
.side-name .handi,
.name .handi {
    width: 18px;
    font-size: 12px;
    color: #aaa;
    text-align: left;
    display: inline-block;
    padding-left: 3px;
}

.side-name .handi {
    font-size: 16px;
    color: #999;
}

.league-home {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 4px 12px;
    font-size: 0.8rem;
    border-radius: 12px;
    margin-right: 9px;
    cursor: pointer;
    font-weight: 300;
}

.league-home:hover {
    color: #fff;
}

.total,
.user-point {
    position: relative;
}

.total .hl {
    position: absolute;
    left: 2px;
    bottom: 0px;
    font-size: 0.7rem;
    text-align: right;
    width: 20px;
    color: #888;
}

.user-point .handi {
    position: absolute;
    right: 5px;
    top: 0px;
    font-size: 0.7rem;
    text-align: right;
    width: 20px;
    color: #888;
}

.award-title {
    margin-top: 15px;
    margin-left: 5px;
    font-size: 1rem;
}

.award {
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 5px;
    margin-bottom: 10px;
}

.award table {
    margin-bottom: 0px;
}

.award table td.played {
    font-size: 0.8rem;
    color: #888;
    text-align: right;
    width: 60px;
}

.award table td.rank {
    width: 30px;
    text-align: center;
}

.award table td.score {
    width: 80px;
    text-align: right;
}

.award table tr:last-child td {
    border-bottom: none;
}

.award table tr.cut td {
    border-bottom: 2px solid #CC0000;
}

.entry-count {
    margin: 0px;
    padding: 0;
}

.entry-count li {
    display: inline-block;
    width: 8%;
    font-size: 0.9rem;
    text-align: center;
    border-radius: 20px;
    padding: 5px 1px;
    border: 1px solid var(--primary-color);
    margin: 0 2px 10px 2px;
    cursor: pointer;
}

.entry-count li.w1 {
    width: 18%;
}

.entry-count li.active {
    background-color: var(--primary-color);
    color: #fff;
}

/* .add-prize:after { content:''; height:100%; width:1px; position:absolute; right:0; background:#fff;} */
.entry-prize {
    margin: 10px 0px 0px 0px;
    padding: 0px 15px;
}

.entry-prize .form-check {
    padding: 5px 9px;
}

.row>div {
    position: relative;
}

.record-exist {
    display: none;
}

.record-delete {
    position: relative;
    top: -5px;
    background-color: var(--bs-danger);
    color: #fff;
    font-size: 0.8rem;
    border-radius: 5px;
    padding: 4px 20px;
    cursor: pointer;
}

.refresh {
    margin-left: auto;
    position: relative;
    top: -8px;
    left: -5px;
    font-size: 0.8rem;
    cursor: pointer;
}

.refresh i {
    font-size: 1.3rem;
    position: relative;
    top: 3px;
}

.d-flex>button {
    border-top-right-radius: 25px !important;
    border-bottom-right-radius: 25px !important;
    margin-right: 3px;
}

.add-prize,
.add-bracket {
    flex: 7 !important;
}

.add-game {
    flex: 3 !important;
    border-top-left-radius: 25px !important;
    border-bottom-left-radius: 25px !important;
}

.add-player {
    border-radius: 25px;
}

button.add-player {
    border-radius: 5px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

button:focus.add-player {
    border-color: var(--primary-color);
}

.modal-footer button {
    position: relative;
}

.msg {
    margin-top: 10px;
}

.add {
    position: fixed;
    max-width: 760px;
    right: 15px;
    left: 15px;
    bottom: 5px;
    margin: 0 auto;
    z-index: 1020;
}

.add button,
.add .upload-label .btn {
    border-radius: 25px;
    font-size: 14px;
}

.modal-footer {
    flex-wrap: nowrap;
}

.add-list {
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
    margin-top: 30px;
}

form.row>div {
    position: relative;
}

.clear {
    position: absolute;
    top: 38px;
    right: 18px;
    cursor: pointer;
    font-size: 16px;
    display: none;
}

.clear.no-label {
    top: 7px;
}

.player[data-sex="M"] {
    border: 2px solid #4789e7;
}

.player[data-sex="F"] {
    border: 2px solid var(--bs-danger);
}

.player .handi {
    padding-left: 5px;
    color: #999;
}

.info .count {
    padding-left: 5px;
}

.club-box {
    margin-top: 10px;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    position: relative;
}

.club-box h5 {
    padding: 10px 20px;
    margin: 0px;
    background-color: #fff;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-radius: 10px;
}

.club-box .table-game {
    margin: 0px 0px;
}

.club-box .count {
    position: absolute;
    right: 20px;
    top: 10px;
}

.club-box .club-info {
    display: none;
}

.sex {
    position: absolute;
    right: 10px;
    bottom: 5px;
    font-size: .7rem;
}

.sex.M {
    color: #4789e7;
}

.sex.F {
    color: var(--bs-danger);
}

.flex1 {
    flex: 1 !important;
}

.flex2 {
    flex: 2 !important;
}

.flex3 {
    flex: 3 !important;
}

.flex4 {
    flex: 4 !important;
}

.flex5 {
    flex: 5 !important;
}

.flex6 {
    flex: 6 !important;
}

.flex7 {
    flex: 7 !important;
}

.flex8 {
    flex: 8 !important;
}

.flex9 {
    flex: 9 !important;
}

.flex10 {
    flex: 10 !important;
}

.money {
    display: flex;
    margin: 0px;
    padding: 0px;
}

.money li {
    margin-top: 10px;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 0.8rem;
    margin-right: 10px;
    cursor: pointer;
}
.hide { display:none !important;}
.section .row .col-sm-6:last-child {
    margin-right: 0px;
}

.sidebar {
    min-width: var(--sidebar);
    background-color: var(--sidebar-background);
    padding: 0rem;
    border-right: 1px solid #dee2e6;
    display:none;
}
.sidebar h5 {
    font-size:var(--sidebar-title);
    padding:10px 15px;
    margin-bottom:0px;
    background: #fff;
    border-bottom: 1px solid #eee;
    word-break: keep-all;
    line-height: 140%;    
}
.sidebar .nav-link {
    color: #333;
    font-size:var(--sidebar-font);
    padding-left:28px;
}

.sidebar .nav-link.active {
    background-color:var(--sidebar-active);
}

@media only screen and (min-width:768px) {
    body {
        min-height: 100vh;
        display: flex;    
    }
    .sidebar {
        width: var(--sidebar);
        flex-shrink: 0;
    }    
    .container {
        width: 100%;
        max-width: 100%;        
        padding-left: 15px;
        padding-right: 15px;
    }
    .sidebar { display:block; }
    .pm-content {
        flex: 1;
        min-width: 0;
        padding: 0;
        background-color: #fff;
    }
    .add { margin-left:var(--sidebar);}
}


@media only screen and (max-width: 767px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .rule label {
        text-align: left;
    }

    #team-result {
        padding: 0px;
    }

    .btn {
        padding-left: 20px;
        padding-right: 20px;
    }
}
