﻿:root {
  --bs-primary: #be9f66;
  --bs-primary-rgb: 190 ,159 ,102;
  --bs-secondary: #000;
  --main-color: #000;
  --second-color: #be9f66;
  --second-color-filter: invert(65%) sepia(18%) saturate(848%) hue-rotate(0deg) brightness(96%) contrast(88%);
  --third-color: #fb3f9d;
  --forth-color: #ff5964;
  --fifth-color: #283f3b;
  --sixth-color: #4e7770;
}

@media (min-width: 768px) {
  .navbar .navbar-brand {
    width: 215px;
    height: 51px;
    margin: 17px auto;
  }
}
@media (min-width: 1200px) {
  body:not(.home) .container {
    max-width: 1140px;
  }
}
@media (min-width: 1600px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1520px;
  }
  body:not(.home) .container {
    max-width: 1140px;
  }
}
@media (max-width: 1199px) {
  .member-function-box .item {
    padding: 25px 40px;
  }
}
@media (max-width: 991px) {
  html, body {
    font-size: 15px;
  }
  .h4 .icon {
    max-width: 32px;
  }
  .modal-dialog {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }
  body.home .login-panel {
    background-image: url(../images/all/bg_02_m.jpg);
  }
  body.home .login-panel .card {
    max-width: none;
  }
  body.home .login-panel .welcome .title {
    font-size: 3.2rem;
  }
  body.home .login-panel .welcome .text {
    padding-left: 15px;
    margin-left: 15px;
  }
}
@media (max-width: 767px) {
  .banner .banner-pic {
    height: 240px;
  }
  .btn-group-lg > .btn, .btn-lg {
    padding: 0.75rem 0.75rem;
    font-size: 1rem;
  }
  .main-content {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .footer .footer_content {
    padding: 60px 0 40px;
  }
  .nav-link {
    padding: 0.25rem 0.75rem;
  }
  .form-floating > .form-control:focus {
    padding-top: 0.625rem;
  }
  .form-floating > .form-control:focus ~ label {
    opacity: 0;
  }
  .form-floating > textarea.form-control:not(:-moz-placeholder-shown) {
    padding-top: 0.625rem;
  }
  .form-floating > textarea.form-control:not(:-ms-input-placeholder) {
    padding-top: 0.625rem;
  }
  .form-floating > textarea.form-control:not(:placeholder-shown) {
    padding-top: 0.625rem;
  }
  .form-floating > textarea.form-control:not(:-moz-placeholder-shown) ~ label {
    opacity: 0;
  }
  .form-floating > textarea.form-control:not(:-ms-input-placeholder) ~ label {
    opacity: 0;
  }
  .form-floating > textarea.form-control:not(:placeholder-shown) ~ label {
    opacity: 0;
  }
  .gallery-list .tag-list li {
    font-size: 0.825rem;
    padding: 0.1em 0.35em;
  }
  .gallery-list p.title {
    margin: 10px 0 5px;
    font-size: 1.125rem;
  }
  .gallery-list p.desc {
    font-size: 0.825rem;
    line-height: 1.4em;
    height: 2.8em;
  }
  .article-list .item .time,
  .article-list .item .kind {
    text-align: left;
  }
  .article-list .item .info {
    margin-top: 5px;
  }
  .article-list .item .icon {
    text-align: right;
    margin-right: 0;
  }
  .article-list .item .icon a {
    font-size: 0.875rem;
  }
  .modal-dialog {
    max-width: none;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }
  .member-function-box .item {
    padding: 20px 35px;
  }
  body.home .login-panel {
    height: auto;
    background-position: center;
  }
  body.home .login-panel:before {
    right: 92%;
  }
  body.home.login .form-floating > input.form-control:not(:-moz-placeholder-shown) {
    padding-top: 0.625rem;
  }
  body.home.login .form-floating > input.form-control:not(:-ms-input-placeholder) {
    padding-top: 0.625rem;
  }
  body.home.login .form-floating > input.form-control:not(:placeholder-shown) {
    padding-top: 0.625rem;
  }
  body.home.login .form-floating > input.form-control:not(:-moz-placeholder-shown) ~ label {
    opacity: 0;
  }
  body.home.login .form-floating > input.form-control:not(:-ms-input-placeholder) ~ label {
    opacity: 0;
  }
  body.home.login .form-floating > input.form-control:not(:placeholder-shown) ~ label {
    opacity: 0;
  }
  body.member.modify .user-pic {
    margin-top: -200px;
  }
  body.match.show .score-box {
    padding: 20px;
  }
  body.match.show .score-box .counter-default {
    font-size: 4.5rem;
  }
  body.match.show .score-box .star-bar {
    width: 120px;
    height: 17px;
  }
  body.match.show .score-box .h6 {
    font-size: 0.875rem;
  }
  body.match.arrange .table {
    display: block;
    width: 100%;
  }
  body.match.arrange .table thead, body.match.arrange .table tbody {
    display: block;
    width: 100%;
  }
  body.match.arrange .table tr {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  body.match.arrange .table td,
  body.match.arrange .table th {
    width: 100%;
    max-width: 100%;
  }
  body.match.arrange .table td:nth-child(1),
  body.match.arrange .table th:nth-child(1) {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 0%;
            flex: 1 0 0%;
    text-align: left !important;
    border-bottom: none;
  }
  body.match.arrange .table td:nth-child(2),
  body.match.arrange .table th:nth-child(2) {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
    width: auto;
    border-bottom: none;
  }
  body.match.arrange .table th:nth-child(3) {
    display: none;
  }
  body.match.arrange .table td:nth-child(3) {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
    width: 100%;
    min-height: 3.4em;
    padding-top: 0;
  }
}
@media (max-width: 576px) {
  .modal-body > .row [class*=col-]:nth-child(2) {
    border-left: 0;
    border-top: 1px solid #dee2e6;
  }
  .modal-body .scroll-box {
    max-height: calc(100vh - 360px);
  }
  .modal-body .scroll-box.search {
    max-height: 200px;
  }
  .footer .footer_content {
    padding: 30px 0 20px;
  }
  .score-box .counter-default {
    font-size: 5.875rem;
  }
  .score-box .star-bar {
    width: 140px;
    height: 20px;
  }
  .date-option .num {
    font-size: 1.25rem;
    width: 2em;
    height: 2em;
  }
  body.home .login-panel .welcome .title {
    font-size: 2.8rem;
  }
  body.home .login-panel .welcome .text p {
    font-size: 1rem;
  }
  body.home .login-description .h4 .btn {
    font-size: 1rem;
  }
}
@media (max-width: 420px) {
  .banner .banner-pic {
    height: 200px;
  }
  .user-pic {
    max-width: 200px;
    margin-top: -50%;
  }
  .user-pic .cropper-wrapper {
    width: 200px;
    height: 200px;
  }
  .breadcrumb {
    display: none;
  }
  .modal-body .scroll-box {
    max-height: calc(100vh - 260px);
  }
  .modal-body .scroll-box.search {
    max-height: 160px;
  }
  .gallery-list .item-detail .func-box .btn, .gallery-list .item-detail .func-box .btn-default {
    font-size: 0.875rem;
  }
  body.match.show .score-box {
    padding: 15px;
  }
  body.match.show .score-box .counter-default {
    font-size: 4rem;
  }
  body.match.show .score-box .star-bar {
    width: 100px;
    height: 14px;
  }
}
