/*
Theme Name: Smart LI
Author: OA
Version: 3.0.3
Tags: theme mesure
Text Domain: smart-li
*/

:root {
    /* #009D5B */
    --main-color: rgba(0, 157, 91, 1);
    /* --main-color: rgba(0, 130, 224, 1); */
}

html,
body {
    height: 100%;
    overflow: scroll;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 18px;
    margin: 0
}

body {
    /* background-color: #f5f5f5; */
    background-size: cover
}

header {
    min-height: 80px;
    background: var(--main-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    width: 100%;
}

label {
    display: block;
    font-weight: bold;
}

input[type="text"],
input[type="password"],
input[type="date"],
input[type="month"],
select#month {
    width: 100%;
    font-size: 16px;
    /* height: 40px; */
    box-sizing: border-box;
    padding: 10px;
}

input[type="submit"],
.btn {
    font-size: 1em;
    display: block;
    width: 100%;
    min-height: 36px;
    border: none;
    background-color: var(--main-color);
    color: #FFF;
    padding: 12px 20px
}

.form-group {
    margin-bottom: 1em;
}

.d-inline-block {
    display: inline-block !important;
    width: auto;
}

input[type="submit"]:hover,
.btn {
    cursor: pointer;
}

table {
    border-collapse: collapse;
}

tr :is(th, td) {
    border-bottom: 1px solid #333;
}

th,
td {
    text-align: center;
    padding: 10px;
}

th {
    color: var(--main-color);
}

*:disabled {
    opacity: 0.5;
}

p[class$="error"] {
    color: #dc3545;
}

#root {
    height: 100%;
}

/* utility */
.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

.d-flex {
    display: flex;
}

.d-flex-justyfi-content-center {
    justify-content: center;
}

.d-flex-align-items-center {
    align-items: center;
}

.d-flex-column {
    flex-direction: column;
}

.d-flex-wrap {
    flex-wrap: wrap;
}

.gap-60 {
    gap: 60px;
}

.mb-30-p {
    margin-bottom: 30%;
}

.mt-2 {
    margin-top: 2em;
}

.mt-4 {
    margin-top: 4em;
}

.my-4 {
    margin-top: 4em;
    margin-bottom: 4em;
}

.mb-2 {
    margin-bottom: 2em;
}

.text-center {
    text-align: center;
}

.h2 {
    display: flex;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
}

.dashboard .btn {
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: 2px solid var(--main-color);
}

.dashboard .btn {
    color: #000;
    text-decoration: none;
}

.btn-red {
    background-color: rgb(200, 0, 0) !important;
}

.btn-dark {
    background-color: rgb(50, 50, 50) !important;
}

.fs-l {
    font-size: large;

}

.site-title-bg {
    padding: 5px 20px;
}

.site-title h1,
.site-title p {
    display: inline-block;
    padding: 5px 0 5px 5px;
    margin: 0
}

.site-title h1 a {
    color: #fff;
    font-weight: 700;
    text-decoration: none
}

.site-link {
    background-color: #FFF;
    border-radius: 4px;
    margin-right: 20px;
}

.site-link a {
    display: block;
    color: #000;
    text-decoration: none;
    padding: 0.5em 2em;
}

.custom-logo {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    max-width: 100%;
    height: auto
}

#colophon {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    padding: 10px 0;
    text-align: center;
    color: #333;
    background-color: rgba(241, 241, 241, 0.4)
}

#colophon a {
    text-decoration: none;
    color: #333;
}

/* Login Form */

#loginBox {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loginForm {
    width: 422px;
    display: flex;
    flex-direction: column;
    padding-bottom: 200px;
}

.loginForm .loginForm__title {
    display: flex;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
    color: var(--main-color);
}

.loginForm__content {
    padding: 20px;
}

.loginForm .login-submit {
    margin-top: 44px;
}

/* Search Form */
#searchForm {
    width: 422px;
    display: flex;
    flex-direction: column;
}

.resultBox {
    display: flex;
    width: 1080px;
    /* padding: 0 20px; */
}

.resultBox .box {
    padding: 20px;
    width: calc(100%/3 - 40px);
}

.resultBox .result-table {
    width: 100%;
}

.searchBox {
    padding: 20px;
}

/* tab　*/

.tabs {
    display: flex;
    flex-wrap: wrap;
    width: 422px;
}

.tabs.list {
    width: 1080px;
}

.tabs .searchBox {
    padding: 0;
    margin-top: 2em;
}

.tab_label {
    color: var(--main-color);
    font-weight: bold;
    border: solid 2px var(--main-color);
    position: relative;
    z-index: 1;
    cursor: pointer;
    flex: 1;
    text-align: center;
    padding-block: 12px;
}

.tab_label:hover {
    opacity: 0.75;
}

.tab_content {
    flex: 100%;
    display: none;
    overflow: hidden;
}

input[name="tab_switch"] {
    display: none;
}

.tabs input:checked+.tab_label {
    color: #fff;
    background-color: var(--main-color);
}

#tab01:checked~#tab01_content,
#tab02:checked~#tab02_content,
#tab03:checked~#tab03_content {
    display: block;
}

.tab_content {
    position: relative;
    animation: fadeIn 1s ease;
}