body {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background-image: linear-gradient(rgb(248, 248, 229), rgba(255, 234, 250, 1) 60.5%, rgb(202, 200, 253) 84.03%, rgb(248, 248, 229));
}

.container {
    position: relative;
    z-index: 2;
}

.navbar-brand {
    margin: 0;
}

@media (max-width: 1200px) {
    .container {
        max-width: 100%;
    }
}

.badge,
.card,
.form-control,
.btn {
    border-radius: 3px;
}

.card {
    border: none;
}

textarea.form-control {
    min-height: 50px;
}

main {
    min-height: calc(100vh - 362px);
}

.app-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background: var(--gray-100);
    z-index: 100;
    opacity: .5;
}

.app-sidebar {
    display: flex;
    flex-direction: column;
    min-width: 265px;
    max-width: 265px;
    background: var(--white);
    border-right: 2px solid var(--gray-200);
    margin-left: -266px;
    transition: margin .15s linear;
    overflow-y: auto;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    height: 100%;
    z-index: 101;
}

[dir="rtl"] .app-sidebar {
    margin-left: initial;
    left: initial;
    right: 0;
    margin-right: -266px;
}

body.app-sidebar-opened .app-sidebar {
    margin-left: 0;
}

[dir="rtl"] body.app-sidebar-opened .app-sidebar {
    margin-right: 0;
}

@media (min-width: 992px) {
    .app-sidebar {
        margin-left: 0;
    }
    [dir="rtl"] .app-sidebar {
        margin-right: 0;
    }
}

.nav-pills .nav-link {
    font-size: 0.9em;
}

.app-sidebar-title {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: .5rem;
    height: 75px;
}

.app-sidebar-title a {
    font-size: 1.4rem;
    color: var(--gray-900);
    font-weight: 600;
}

.app-sidebar-title a:hover {
    text-decoration: none;
}

.app-sidebar-footer {
    width: 100%;
}

.app-sidebar-footer>a {
    width: 100%;
    padding: .75rem 1.75rem;
    border-top: 2px solid var(--gray-200);
    display: flex;
    align-items: center;
    color: var(--gray-500);
    font-size: .9rem;
    font-weight: 500;
    transition: background .3s;
}

.app-sidebar-footer>a:hover {
    text-decoration: none;
    background: var(--gray-200);
    color: var(--gray-600);
}

.app-sidebar-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.app-sidebar-links>li {
    width: 100%;
    padding: 0.25rem 0.75rem 0.5rem 0.75rem;
}

.app-sidebar-links>li>a {
    width: 100%;
    display: flex;
    align-items: center;
    color: var(--gray-500);
    border-radius: 0;
    padding: 0.75rem 1rem;
    transition: background .3s;
    font-size: .9rem;
    font-weight: 500;
}

.app-sidebar-links>li>a:hover {
    text-decoration: none;
    background: var(--gray-200);
    color: var(--gray-600);
}

.app-sidebar-links>li.active>a {
    background: var(--gray-200);
    color: var(--gray-800);
    font-weight: 500;
}

.app-sidebar-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.app-sidebar-footer-block {
    max-width: 100%;
}

.app-sidebar-footer-text {
    color: var(--gray-600);
}

.app-content {
    background: var(--gray-50);
    margin-left: 0;
    flex-grow: 1;
    overflow: auto;
}

[dir="rtl"] .app-content {
    margin-left: initial;
    margin-right: 0;
}

@media (min-width: 992px) {
    .app-content {
        margin-left: 265px;
    }
    [dir="rtl"] .app-content {
        margin-left: initial;
        margin-right: 265px;
    }
}

.app-navbar {
    min-height: 75px;
    border-bottom: 2px solid var(--gray-200);
}

.dropdown-item svg {
    color: var(--gray-600);
}

.dropdown-item:active svg {
    color: var(--white);
}


/* QR codes */

.qr-code {
    width: 100rem;
}

.qr-code-loading {
    animation: opacity-loading 3s infinite ease-in-out;
}

@keyframes opacity-loading {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

.qr-code-avatar {
    width: 65px;
    height: 65px;
    border-radius: .25rem;
    padding: .25rem;
    border: 2px solid var(--gray-200);
}


/* Footer */

.app-footer {
    color: var(--gray-600);
}

.app-footer a:not(.dropdown-item),
.app-footer a:hover:not(.dropdown-item) {
    color: var(--gray-600);
}

.app-footer a.icon {
    color: var(--gray-600);
}

.app-footer button,
.app-footer button:hover {
    color: var(--gray-600);
}

.footer-logo {
    max-height: 2.5rem;
    height: 2.5rem;
}

.app-footer .dropdown {
    max-width: 200px;
}


/* Filters */

.filters-dropdown {
    width: 18rem;
    max-height: 30rem;
    overflow-y: auto;
}

canvas {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    min-height: 100vh;
}

.modal-header {
    padding: 1rem;
    border-bottom: 0;
}

.modal-subheader {
    padding: 0 1rem;
    border-bottom: 0;
    margin: 0;
}

.modal-content {
    padding: 1rem;
    border: none;
    box-shadow: none;
    -webkit-box-shadow: none;
}


/* Report page */

.report-search-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.report-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.report-example-avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
}


/* Forms */

.input-group-text {
    font-size: 0.9rem;
}


/* Custom breadcrumbs */

.custom-breadcrumbs {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.custom-breadcrumbs>li {
    margin-right: .5rem;
}

.custom-breadcrumbs>li>a {
    color: var(--gray);
}

.custom-breadcrumbs>li>svg {
    color: var(--gray-400);
    margin-left: .5rem;
}

.custom-breadcrumbs>li.active {}


/* Helper classes */

.cursor-grab {
    cursor: grab !important;
}

.list-style-none {
    list-style: none;
    padding: 0;
}

.appearance-none {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
}

.select-custom {
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%232D3748' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px;
    padding: .375rem 1.75rem .375rem .75rem;
    background-color: var(--gray-100);
    height: 100%;
}

.clickable {
    cursor: pointer;
}

.icon-favicon {
    width: 1rem;
    height: auto;
}


/* Navbar custom menu */

.navbar-nav>li {
    font-size: .9rem;
    font-weight: 500;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-top: .75rem;
    padding-bottom: .75rem;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 1rem;
        padding-left: 1rem;
    }
}

.navbar-logo {
    max-height: 2.5rem;
    height: 2.5rem;
}

.navbar-avatar {
    width: 20px;
    height: 20px;
    border-radius: 0;
}

.navbar-custom-toggler {
    padding: 0.5rem .8rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border-radius: 0;
    color: var(--gray-500);
    border-color: var(--gray-300);
}

.chart-container {
    position: relative;
    margin: auto;
    height: 275px;
    width: 100%;
}


/* Index */

.index-background {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
}

.index-header {
    font-size: 3.75rem;
    font-weight: 700;
    color: var(--primary);
}

.index-subheader {
    font-size: 1.45rem;
}

.index-button {
    padding: 0.8rem 4rem;
    font-size: 1.1rem;
}

.index-card-image {
    width: auto;
    height: 10rem;
    object-fit: contain;
}


/* Header container */

.user-avatar {
    border-radius: 50%;
    max-width: 70px;
    max-height: 70px;
}


/* Others */

.container-disabled {
    pointer-events: none;
    opacity: .5;
}

.container-disabled-simple {
    pointer-events: none;
}


/* Tables */

.table-custom-container {
    border-radius: 0;
    border: 2px solid var(--gray-200);
}

.table-custom {
    margin-bottom: 0;
    background: var(--white);
}

.table-custom thead th {
    border-top: 0;
    border-bottom: 0;
    color: var(--gray);
}

.table-custom th {
    font-size: .9rem;
}

.table-custom td {
    padding: 1.25rem 1.25rem;
    vertical-align: middle;
}

.table-custom tbody tr td {
    border-top: 1px solid var(--gray-200);
}

.table-custom tbody tr:first-child td {
    border-top: none;
}

.table-custom tbody tr {
    transition: all .3s ease-in-out;
}

.table-custom tbody tr:hover td {}


/* Custom Radio Boxes */

.custom-radio-box {
    cursor: pointer;
}

.custom-radio-box .custom-radio-box-main-text {
    font-size: 2.25rem;
}

.custom-radio-box .custom-radio-box-main-icon {
    font-size: 2.5rem;
}

.custom-radio-box input[type="radio"]+div {
    border: 2px solid var(--gray-100);
    color: var(--gray-800);
    transition: all .3s ease-in-out;
}

.custom-radio-box input[type="radio"]:checked+div {
    border-color: var(--primary);
}

.custom-radio-box input[type="radio"]+div .payment-price-savings {}

.custom-radio-box input[type="radio"]:checked+div .payment-price-savings {}


/* Round circles */

.round-circle-md {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.round-circle-lg {
    width: 4.5rem;
    height: 4.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}


/* Badge colors */

.badge-primary {
    color: hsl(211, 100%, 35%);
    background-color: hsl(211, 100%, 85%);
}

.badge-secondary {
    color: hsl(208, 7%, 35%);
    background-color: hsl(208, 7%, 85%);
}

.badge-success {
    color: hsla(134, 50%, 30%, 1);
    background-color: hsla(134, 50%, 85%, 1);
}

.badge-danger {
    color: hsla(354, 70%, 35%, 1);
    background-color: hsla(354, 70%, 85%, 1);
}

.badge-warning {
    background-color: hsla(45, 100%, 85%, 1);
    ;
    color: hsla(40, 80%, 30%, 1);
}

.badge-info {
    color: hsla(188, 60%, 30%, 1);
    background-color: hsla(188, 78%, 85%, 1);
}

.badge-light {
    color: hsla(210, 15%, 35%, 1);
    background-color: hsl(210, 17%, 95%);
}

.badge-dark {
    color: hsla(210, 10%, 90%, 1);
    background-color: hsla(210, 10%, 20%, 1);
}


/* Invoice css */

.invoice-table th {
    border-top: 0 !important;
}

@media print {
    .invoice-logo {
        filter: grayscale(100%);
    }
}


/* Base animation */

.animate {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
}

.animate-fill-both {
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.animate-fill-none {
    -webkit-animation-fill-mode: none;
    animation-fill-mode: none;
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

.animate-fade-in {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn
}


/* Opacity */

.opacity-50 {
    opacity: 50;
}

.opacity-75 {
    opacity: 75;
}


/* App sub menu */

.account-header-navbar {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-left: 0;
    list-style: none;
    margin: 0 0 1.5rem 0;
    flex-wrap: wrap;
    justify-content: space-between;
}

@media (min-width: 992px) {
    .account-header-navbar {
        flex-direction: row;
    }
}

.account-header-navbar .nav-item {
    margin-bottom: .5rem;
    min-width: fit-content;
}

.account-header-navbar .nav-link {
    padding: .5rem 1.5rem;
    color: var(--gray-500);
    border-radius: 0;
    border: 1px solid var(--gray-200);
    font-size: .9rem;
    font-weight: 500;
    background: var(--white);
    transition: background .3s;
}

.account-header-navbar .nav-link:hover {
    color: var(--gray-800);
    border: 1px solid var(--gray-200);
    background: var(--gray-200);
}

.account-header-navbar .nav-link.active {
    color: var(--gray-800);
    border: 1px solid var(--gray-200);
    background: var(--gray-200);
}

#main_background_cover {
    position: fixed;
    top: 0;
    z-index: 1;
    height: 100vh;
    width: 100vw;
    background: linear-gradient(rgba(248, 248, 229, 1), rgba(248, 229, 236, 0)50%);
}

#main_background {
    position: fixed;
    top: 0;
    z-index: 0;
    height: 100vh;
    width: 100vw;
    transform: scale(1.2);
    opacity: .4;
}

#main_background div {
    height: 100vh;
    background: linear-gradient(-135deg, #224c98 10%, transparent), repeating-linear-gradient(45deg, #224c98 0%, rgba(31, 48, 94, 0.6) 5%, transparent 5%, transparent 10%), repeating-linear-gradient(-45deg, rgba(34, 76, 152, 0.4) 0%, rgba(31, 48, 94, 0.5) 5%, transparent 5%, transparent 10%);
    background-color: rgba(34, 76, 152, 0.25);
}

#main_search {
    z-index: 2;
    position: relative;
}

#main_container {
    z-index: 2;
    position: relative;
    padding: 30px 0;
}

#main_sns {
    background: rgba(255, 255, 255, 0.7);
    z-index: 2;
    position: relative;
    padding: 10px 0 5px;
}

#footer {
    background: #fff;
    z-index: 2;
    position: relative;
    padding: 30px 0;
}

#tools .card,
#recommend_tools .card,
#popular_tools .card {
    border: 2px solid #fff;
    transition: .2s;
}

.share-box .btn-gray-100{
}

.index-subtitle .card-body{
    background: #bf27d3c7;
    color: #fff;
}

.share-box .btn-gray-100:hover{
    background-color: #fff;
    border-color: #bf27d3;
}

#tools .card:hover,
#recommend_tools .card:hover,
#popular_tools .card:hover {
    border: 2px solid #bf27d3;
    transition: .2s;
    cursor: pointer;
    border-radius: 6px;
}

#tools .card .p-2,
#recommend_tools .card .p-2,
#popular_tools .card .p-2 {
    position: relative;
    transform-style: preserve-3d;
}

@media screen and (min-width: 641px) {
    #tools .card:hover .p-2,
    #recommend_tools .card:hover .p-2,
    #popular_tools .card:hover .p-2 {
        transform: rotateY(180deg);
        transition: 1s;
    }
}

#tools a,
#recommend_tools a,
#popular_tools a {
    color: #101828;
    text-decoration: none;
}

#tools .p-3,
#recommend_tools .p-3,
#popular_tools .p-3 {
    position: absolute;
    top: 0;
    right: 5px;
    padding: 0rem !important;
}

#tools .p-2,
#recommend_tools .p-2,
#popular_tools .p-2 {
    border-radius: 3px;
}

#tools .card-body,
#recommend_tools .card-body,
#popular_tools .card-body {
    padding-left: 0rem;
}

.card-body table td {
    word-break: break-all;
}

.h1icon {
    display: inline-block;
    background-color: #f9e6ff !important;
    border-radius: 3px;
}

.h1icon svg {
    zoom: .8;
    width: 20px!important;
    margin: 0 7px;
}

.indexsearch svg {
    position: absolute;
    top: 1rem;
    left: 1.5rem;
}

.indexsearch .form-control-lg {
    padding: .5rem 1rem .5rem 2rem;
}

.pc {
    display: inline!important;
}

.sp {
    display: none!important;
}

@media screen and (max-width: 992px) {
    .mb-2sp {
        margin-bottom: .5rem !important;
    }
}

@media screen and (min-width: 992px) {
    .col-lg-4 {
        padding-left: 4px!important;
        padding-right: 4px!important;
    }
}

@media screen and (min-width: 576px) and (max-width: 768px) {
    .col-sm-6:nth-child(even) {
        padding-left: 4px!important;
    }
    .col-sm-6:nth-child(odd) {
        padding-right: 4px!important;
    }
}

@media screen and (max-width: 640px) {
    .pc {
        display: none!important;
    }
    .sp {
        display: inline!important;
    }
    .card .table.splaout2,
    .card .table.splaout {
        width: 100%;
    }
    .card .table.splaout th {
        display: none;
    }
    .card .table.splaout tr {
        width: 100%;
        margin-bottom: 15px;
        display: block;
    }
    .card .table.splaout td:before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        margin-right: 10px;
    }
    .card .table.splaout td {
        display: block;
        text-align: right;
        width: 100%;
        border-top: none;
        border-bottom: solid 1px #ccc;
    }
    .card .table.splaout td:last-child {
        border-bottom: none;
    }
    .card .table.splaout2 td {
        width: 100%;
        display: block;
        padding: .25rem 1.25rem;
    }
    .card .table-custom.splaout2 tbody tr td {
        border-top: none;
    }
    .card .table-custom.splaout2 tbody tr td:first-child {
        padding-top: 1.25rem;
    }
    .card .table-custom.splaout2 tbody tr td:last-child {
        border-bottom: 1px solid var(--gray-200);
        padding-bottom: 1.25rem;
    }
    .card .table-custom.splaout2 tbody tr:last-child td:last-child {
        border-top: none;
    }
    .sp-text-center {
        text-align: center;
    }
    #main_container.index {
        padding-top: 10px;
    }
    .index-subheader {
        font-size: 1.2rem;
    }
}

.sentence {
    margin-bottom: 2rem;
}

.sentence h4 {
    font-size: 1.2rem;
}

.sentence ul,
.sentence ol {
    padding: 0 0 0 1.5em;
}

#logo {
    width: 300px;
    max-width: 60%;
    transition: .2s;
    transform: scale(1);
}

#logo:hover {
    fill: #d948ef;
    transform: scale(1.05);
    transition: .2s;
}

#logo #logo_close {
    animation: logo_close 30000ms infinite alternate;
}

#logo #logo_eyes path:nth-child(3),
#logo #logo_eyes path:nth-child(4) {
    animation: logo_eyesmove 30000ms infinite alternate;
}

#logo #logo_eyes path:nth-child(1),
#logo #logo_eyes path:nth-child(2) {
    animation: logo_close2 30000ms infinite alternate;
}

@keyframes logo_eyesmove {
    0% {
        transform: translate(0, 0);
        opacity: 1;
    }
    30% {
        transform: translate(0, 0);
    }
    40% {
        transform: translate(3.5px, -1px)
    }
    50% {
        transform: translate(7px, 0px);
    }
    60% {
        transform: translate(7px, 0px);
    }
    70% {
        transform: translate(3.5px, -1px)
    }
    80% {
        transform: translate(0, 0);
    }
    99.7% {
        opacity: 1;
    }
    99.8% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

@keyframes logo_close {
    0% {
        opacity: 0;
    }
    99.7% {
        opacity: 0;
    }
    99.8% {
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}

@keyframes logo_close2 {
    0% {
        opacity: 1;
    }
    99.7% {
        opacity: 1;
    }
    99.8% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        color: #e3e6ee;
        background-color: #251f1f;
        background-image: linear-gradient(rgb(29, 29, 22), rgba(43, 32, 41, 1) 60.5%, rgb(33, 33, 46) 84.03%, rgb(7, 7, 5));
    }
    #main_background_cover {
        background: linear-gradient(rgba(29, 29, 22), rgba(55, 49, 51, 0)50%);
    }
    #main_background {
        opacity: .2;
    }
    #s-hdr,
    #s-bl,
    #s-bns,
    .card {
        color: #e3e6ee;
        background-color: #20201e!important;
    }
    #s-cnt .p {
        color: #e3e6ee!important;
    }
    .cc_div .b-acc,
    #s-cnt .b-bn .b-tl,
    #s-cnt .b-bn .b-tl:active,
    #s-cnt .b-bn .b-tl:hover,
    .badge-gray-100 {
        background-color: #121210!important;
    }
    .cc_div .b-bn .exp::before,
    .cc_div .act .b-bn .exp::before {
        border-color: #e3e6ee!important;
    }
    .text-muted {
        color: #c8ccd5 !important;
    }
    #tools .card,
    #recommend_tools .card,
    #popular_tools .card {
        border: 2px solid #4c4c47;
    }
    .share-box .btn-gray-100{
        background-color: #0c0c0b;
        border-color: #4d4d4d;
    }
    .index-subtitle .card-body{
        background-color: #bf27d37a;
    }

    .share-box .btn-gray-100:hover{
        color: #f7f7f7;
        background-color: #4d4d4d58;
    }
    #main_sns {
        background: rgba(27, 27, 25, 0.7);
    }
    #footer {
        background-color: #251f1f;
    }
    .badge-gray-100,
    .app-footer button,
    .btn,
    .dropdown-menu,
    .app-footer,
    .app-footer a:not(.dropdown-item) {
        color: #e3e6ee;
    }
    .nav-pills .nav-link,
    .badge-gray-100:hover,
    .app-footer button:hover,
    .btn:hover,
    .dropdown-menu:hover,
    .app-footer:hover,
    .app-footer a:hover:not(.dropdown-item) {
        color: #f1f4fa;
    }
    .h1icon,
    .bg-primary-100 {
        background-color: #653873 !important;
    }
    .text-primary-600 {
        color: #e9acf1 !important;
    }
    .indexsearch .text-primary-600 {
        color: #bf27d3 !important;
    }
    .nav-pills .nav-link.active,
    .nav-pills .show>.nav-link,
    #c-bns button:first-child,
    #s-bns button:first-child,
    .btn-primary {
        background-color: #a73fb8;
        border-color: #91369f;
    }
    #c-bns button:first-child:hover,
    #s-bns button:first-child:hover,
    .btn-primary:hover {
        background-color: #9426a6;
        border-color: #821993;
    }
    .form-control {
        background-color: #f4f4f4;
    }
    #main_search .text-primary-600 {
        color: #9426a6 !important;
    }
    #logo {
        fill: #f5f8ff;
    }
    #logo:hover {
        fill: #e9acf1;
    }
}

.index-subtitle.mt-4:first-child{
    margin-top: 0!important;
}
.index-subtitle{
    width: 100%;
}
.index-subtitle .card-body{
    padding: 10px!important;
    border-radius: 3px;
}


.card-body {
    padding: 1rem;
}

nav[aria-label="breadcrumb"]{
    display: none;
}

.indeselect{
    height: 48px;
    border-radius: 3px;
    border-color: #ccc;
}

