:root {
    --themeColor: rgba(36, 189, 184, 0.7);
    --themeHover: rgba(36, 189, 184, 1);
    --header: rgba(44, 62, 80, 1);
    --offcanvas: #FFF;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-size: 100%;
    font-family: sans-serif;
}

div,
section,
span,
ul,
li,
a,
header {
    box-sizing: border-box;
}

.logo {
    background-image: url('../img/logo.png');
    height: 80px;
    width: 80px;
    background-repeat: no-repeat;
    background-size: contain;
}

.logo::after {
    content: '工作申請表';
    position: absolute;
    left: 100px;
    top: 20px;
    width: 150px;
    list-style: none;
    color: #FFF;
    text-decoration: none;
    font-size: 28px;
}

header a[title='logo'] {
    background-color: #FFF;
    transform: translateX(130px);
    border-radius: 20%;
}

/*css reset*/

header {
    height: 100px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 20px 50px;
    align-items: center;
    position: fixed;
    z-index: 999;
    background-color: var(--header);
}

#menu li {
    list-style: none;
    display: inline-block;
    margin: 20px;
}

#menu li a {
    /* color: #000; */
    color: #FFF;
    text-decoration: none;
    font-size: 28px;
}

.btn-main {
    color: #FFF;
    background-color: #1AA8A2;
}

.btn-main:hover {
    color: #FFF;
    background-color: var(--themeHover);
}

.btn-main:active {
    color: #FFF;
    background-color: var(--themeColor);
}

#offcanvasRight {
    color: #FFF;
    background-color: var(--offcanvas);
    width: 250px;
}

#offcanvasRight .btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
}

#offcanvasRight a {
    color: var(--themeColor);
    text-decoration: none;
    font-size: 25px;
    font-weight: 700;
}

#footer_btn {
    display: none;
}

.btn-flex {
    position: fixed;
    border-radius: 100%;
    z-index: 999;
    display: none;
    right: 60px;
}

#flex-menu {
    top: 20px;
}

#flex-top {
    bottom: 20px;
}

.pepic {
    height: 200px;
    width: 170px;
    background-image: url(../img/none.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 20px;
}

@media only screen and (min-width: 1590px) and (min-height: 800px) {
    .fluid-page {
        height: 100vh;
    }
}

@media only screen and (max-width: 1200px) {
    #header1 {
        display: none;
    }

    #footer_btn {
        display: block;
    }

    .btn-flex {
        display: block;
    }

    .sidenav {
        display: none;
    }
    .backend-content {
        margin-left: 0 !important;
    }
}

.bg-main {
    height: 100vh;
    background-color: var(--themeColor);
    background-image: url(../img/bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    overflow: auto;
}

.login {
    height: 650px;
    width: 450px;
    border-radius: 35px;
    background-color: #FFF;
    position: relative;
}

.login input {
    font-size: 25px;
}

.login h3 {
    color: var(--themeColor);
    font-weight: 900;
    font-size: xx-large;
    position: absolute;
    top: 100px;
    left: 50px;
}

.loginTitle1 {
    left: 18px !important;
}

.login .logo {
    position: absolute;
    height: 150px;
    width: 150px;
    top: 165px;
    left: 150px;
}

.login .logo::after {
    display: none;
}

.login .form {
    position: absolute;
    padding: 10px;
    width: 100%;
    height: 265px;
    bottom: 60px;
}

#drop-zone {
    width: 100%;
    /* height: 100%; */
    height: 30vh;
    border: 2px dashed #BBB;
    border-radius: 5px;
    padding: 25px;
    text-align: center;
    color: #BBB;
    font-size: 2vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Style the side navigation */
.sidenav {
    height: 100%;
    width: 210px;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: white;
    overflow-x: hidden;
    color: #1AA8A2;
}

.sidenav .title {
    padding: 10px;
}

.sidenav ul {
    margin: 0;
    padding: 0;
    display: block;
}

.sidenav li {
    list-style: none;
    text-decoration: none;
    /*padding: 0.5rem;*/
    /*padding: 16px;*/
    /*color: white;*/
    padding: 0;
    color: #1AA8A2;
    cursor: pointer;
}

.sidenav li div {
    padding: 1rem;
}

.sidenav li .active {
    color: white;
    background-color: #1AA8A2;
}

.sidenav li:hover {
    background-color: #ddd;
    color: black;
}

.sidenav .row {
    position: absolute;
    width: 100%;
    height: 150px;
    bottom: 0;
}

/* Style the content */
.backend-content {
    margin-left: 200px;
    /*padding-left: 20px;*/
}

.backend-content .title {
    margin: 16px;
    color: #1AA8A2;
}

.offcanvas-body .btn-item {
    position:absolute;
    bottom: 100px;
}

.pay ul {
list-style-type: none;
margin: 0;
padding: 0
}

.pay ul li {
display: inline-block;
}

.pay ul li input {
    width: 100px;
    border-radius: 0.25rem !important;
}

.pay ul li select {
    border-radius: 0.25rem !important;
}

.boss-height {
    height: 80vh !important;
}

/*#tb-emp tr:nth-child(odd) {

}*/

/*#tb-emp tr:nth-child(even) {
    background: #e9ecef;
}*/

.wklist {
    cursor: pointer;
    border: solid #1AA8A2 2px;
    padding: 5px;
    color: #1AA8A2;
    border-radius: 10px;
    text-align: center;
}
.wklist:hover {
    background-color: #1AA8A2;
    color: #FFF;
    font-weight:500;
}
.wklist-sec {
    cursor: pointer;
    color: #5c636a;
    text-align: center;
    vertical-align: central;
}

#tb-emp th, #tb-emp td {
    border-left: none !important;
    border-right: none !important;
}

#tb-emp thead {
    background-color: #1AA8A2 !important;
    color:#FFF !important;
}
#tb-emp tbody {
    border-top: none;
}
#tb-emp tbody tr {
    background-color: #FFF;
}
#tb-emp tbody tr:hover {
    background-color: #fff0f5;
}
#tb-emp tbody .td-mark-color {
    background-color: #ffffab !important;
}

#tb-search th, #tb-search td {
    border-left: none !important;
    border-right: none !important;
}

#tb-search thead {
    background-color: #FFF !important;
}

#tb-search tbody {
    border-top: none;
}

#tb-search tbody tr:nth-of-type(even) {
    background-color: #FFF !important;
}

#tb-search tbody tr:nth-of-type(odd) {
    background-color: #eefaf8 !important;
}

#tb-search tbody tr:nth-of-type(odd):hover {
    background-color: #eefaf8 !important;
}

#tb-checkin th, #tb-checkin td {
    border-left: none !important;
    border-right: none !important;
}

#tb-checkin thead {
    background-color: #FFF !important;
}

#tb-checkin tbody {
    border-top: none;
}

#tb-checkin tbody tr:nth-of-type(even) {
    background-color: #FFF !important;
}

#tb-checkin tbody tr:nth-of-type(odd) {
    background-color: #eefaf8 !important;
}

#tb-checkin tbody tr:nth-of-type(odd):hover {
    background-color: #eefaf8 !important;
}
#tb-boss th, #tb-boss td {
    border-left: none !important;
    border-right: none !important;
}

#tb-boss thead {
    background-color: #FFF !important;
}

#tb-boss tbody {
    border-top: none;
}

#tb-boss tbody tr:nth-of-type(even) {
    background-color: #FFF !important;
}

#tb-boss tbody tr:nth-of-type(odd) {
    background-color: #eefaf8 !important;
}

#tb-boss tbody tr:nth-of-type(odd):hover {
    background-color: #eefaf8 !important;
}
#tb-history th, #tb-history td {
    border-left: none !important;
    border-right: none !important;
}

#tb-history thead {
    background-color: #FFF !important;
}

#tb-history tbody {
    border-top: none;
}

#tb-history tbody tr:nth-of-type(even) {
    background-color: #FFF !important;
}

#tb-history tbody tr:nth-of-type(odd) {
    background-color: #eefaf8 !important;
}

#tb-history tbody tr:nth-of-type(odd):hover {
    background-color: #eefaf8 !important;
}
#tb-history thead {
    background-color: #FFF !important;
}

#tb-history tbody {
    border-top: none;
}

#tb-history tbody tr:nth-of-type(even) {
    background-color: #FFF !important;
}

#tb-history tbody tr:nth-of-type(odd) {
    background-color: #eefaf8 !important;
}

#tb-history tbody tr:nth-of-type(odd):hover {
    background-color: #eefaf8 !important;
}

#tb-permission3 th, #tb-history td {
    border-left: none !important;
    border-right: none !important;
}

#tb-permission3 thead {
    background-color: #FFF !important;
}

#tb-permission3 tbody {
    border-top: none;
}

#permission table tbody tr:nth-of-type(even) {
    background-color: #FFF !important;
}

#permission table tbody tr:nth-of-type(odd) {
    background-color: #eefaf8 !important;
}

#permission table tbody tr:nth-of-type(odd):hover {
    background-color: #eefaf8 !important;
}

#permission table thead {
    background-color: #FFF !important;
}

#permission table tbody {
    border-top: none;
}

#permission table tbody tr:nth-of-type(even) {
    background-color: #FFF !important;
}

#permission table tbody tr:nth-of-type(odd) {
    background-color: #eefaf8 !important;
}

#permission table tbody tr:nth-of-type(odd):hover {
    background-color: #eefaf8 !important;
}

.permission-item {
    height: 150px;
    cursor: pointer;
    text-align: center;
    line-height: 60px;
    position:relative;
}

.permission-item svg {
    position: absolute;
    left: 10px;
    top: 10px;
}

.permission-item h3 {
    color: var(--themeColor);
    font-weight:800;
    display:inline-block;
}