/* common font and color */
:root {
    /* Colors: */
    --text-color: #565656;
    --primary-color: #0000ff;
    --primary-hover-color: #2525ff;
    --second-color: #ff0000;
    --second-hover-color: #ff3b3b;
    --black-color: #000000;
    --white-color: #ffffff;
    --light-color: #909090;

    /* Font main */
    --font-main: 'Noto Sans JP', sans-serif;
}

/* Active font for all */
body {
    color: var(--text-color);
    font-family: var(--font-main);
}

a {
    text-decoration: none;
    color: currentColor;
    cursor: pointer;
}

/* CSS FONT SIZE */
.fs-8 {
    font-size: 8px;
}

.fs-10 {
    font-size: 10px;
}

.fs-12 {
    font-size: 12px;
}

.fs-14 {
    font-size: 14px;
}

.fs-16 {
    font-size: 16px;
}

.fs-18 {
    font-size: 18px;
}

.fs-20 {
    font-size: 20px;
}

.fs-24 {
    font-size: 24px;
}

/* CSS BUTTON */
.btn {
    font-size: 16px;
    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    user-select: none;
    border: none;
    min-width: 140px;
    border-radius: 50px !important;
    color: var(--white-color);
}

.btn.btn-icon {
    min-width: auto;
}

.btn.btn-min-80 {
    min-width: 80px;
    padding: 8px 12px;
}

.btn.btn-xl {
    padding: 12px;
}

.btn.btn-xxl {
    padding: 16px 12px;
}

.btn:hover {
    color: var(--white-color);
}

.btn-primary {
    background-color: var(--primary-color) !important;
}

.btn-text {
    text-decoration: none;
    border: none;
    background: transparent;
    color: var(--primary-color) !important;
}

.btn-text:hover {
    color: var(--primary-hover-color) !important;
}

.btn-primary:hover {
    background-color: var(--primary-hover-color) !important;
}

.btn-second {
    background-color: var(--second-color);
}

.btn-second:hover {
    background-color: var(--second-hover-color);
}

.btn-disabled {
    background-color: #333 !important;
    pointer-events: none;
    color: #fff !important;
    opacity: .3;
}

body .form-control-custom {
    border-radius: 20px;
}

body .navbar-nav>.user-menu>.dropdown-menu {
    width: 200px !important;
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.page-link {
    color: var(--primary-color);
}

/* Customize the label (the checkbox-wrap) */
.checkbox-wrap {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 26px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.checkbox-wrap input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-wrap.disabled {
    cursor: not-allowed;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
}

/* On mouse-over, add a grey background color */
.checkbox-wrap:hover input~.checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.checkbox-wrap input:checked~.checkmark {
    background-color: var(--primary-color);
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.checkbox-wrap input:checked~.checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.checkbox-wrap .checkmark:after {
    left: 10px;
    top: 4px;
    width: 6px;
    height: 13px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* WEBSITE */
#content-wrapper {
    position: relative;
    max-width: 540px;
    min-height: 100vh;
    background: var(--white-color);
    overflow: hidden;
}

.header-top {
    height: 62px;
    line-height: 62px;
    padding: 0 !important;
    max-width: 540px;
    position: fixed;
    top: 0;
    user-select: none;
    letter-spacing: 1px;
    background-color: var(--white-color);
    overflow: hidden;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
}

.menu-bottom {
    max-width: 540px;
    position: fixed;
    bottom: 0;
    height: 56px;
    line-height: 56px;
    padding: 0 !important;
    background-color: var(--white-color);
    box-shadow: 0px -2px 8px rgba(0, 0, 0, 0.2);
}

.menu-bottom .menu-btn {
    border: none;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background-color: var(--white-color);
}

.menu-bottom .menu-btn:hover {
    color: var(--primary-color);
}

.menu-btn-before::before{
    content: "";
    background-color: #acacac;
    width: 2px;
    height: 100%;
    position: absolute;
    right: 0px;
}

.main-wrapper {
    margin-top: 74px;
}

.overflow-x-auto {
    overflow-x: auto !important;
}

body table.table th,
body table.table td {
    vertical-align: middle;
}