html {
    /* 1 */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 16px;
    font-weight: normal;
    line-height: 1.5;
}

body {
    overflow-x: hidden;
    margin: 0px;
    padding: 0px;
}

main {
    overflow: scroll;
}
 
/* Hide scrollbar for IE, Edge and Firefox */
main, ul, table {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
main::-webkit-scrollbar, 
ul::-webkit-scrollbar, 
table::-webkit-scrollbar {
    display: none;
}

.material-symbols-outlined {
    line-height: 1rem !important;
    vertical-align: text-top;
    font-size: 24px;
    font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24
}

.material-normal {
    vertical-align: middle;
}

.download-button {
    float: right;
    font-size: 1.2rem!important;
    padding-top: 0.3rem;
}

h1 {
    line-height: 4.2rem;
    margin: 0px;
    padding: 0px;
    width: fit-content;
    font-size: 1.6rem;
    margin-bottom: 0px;
}

ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

li {
    padding: 0rem 0.3rem;
}

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

a:hover {
    text-decoration: underline;
}

button {
    /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 16px;
    font-weight: normal; */
    background-color: unset;
    color: unset;
    border: unset;
    padding: 0px;
}

th {
    font-weight: 500;
}

td {
    text-align: center;
}

/* modal */
.modal {
    display: none;
    z-index: 100;
    top: 0px;
    left: 0px;
    position: fixed;
    height: 100vh;
    width: 100vw;
    overflow: scroll;
}
.modal-show {
    display: block;
}
.modal-panel {
    margin: 22vh auto;
    width: 480px;
    padding: 18px;
    border-radius: 6px;
}
.modal-button {
    text-align: right;
}
.modal-clickbgof {
    z-index: -1;
    top: 0px;
    left: 0px;
    opacity: 0;
    position: fixed;
    height: 100vh;
    width: 100vw;
}
/* end modal */
.retroButton {
    font-size: 1.1rem;
}
.sample-web-bottom {
    border: 0.1px solid;
    display: inline-block;
    text-align: center;
    letter-spacing: -1rem;
    vertical-align: middle;
    width: fit-content;
    height: 2.3rem;
}
.sample-web-color {
    display: inline-block;
    width: 1.4rem;
    height: 2.3rem;
}
/* nav */
.site-name {
    letter-spacing: -0.2rem;
    font-weight: 500;
    line-height: 4.2rem;
}

.site-name:hover {
    text-decoration: none!important;
}

.nav-right {
    position:fixed;
    top: 0px;
    right: 0px;
    width:100vw;
    line-height: 3.2rem;
    letter-spacing: 0.1rem;
    font-weight: 500;
    display: inline-flex;
    flex-direction: row-reverse;
    z-index: 11;
}

.logo {
    position: fixed;
    z-index: 12;
    height: 4.2rem;
    line-height: 4.2rem;
    margin: 0px 8px;
    display: block;
    width: fit-content;
}
/* end nav */

/* land */
.landing-title{
    margin-top: 25vh;
}
.landing-paragraph{
    margin-bottom: 33vh;
}
/* end land */

/* list */
.list-table {
    text-wrap: nowrap;
    display: block;
    overflow: scroll;
    height: 93vh;
    width: fit-content;
    margin: auto;
    border-collapse: collapse;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.list-table::-webkit-scrollbar {
    display: none;
}
  
/* Hide scrollbar for IE, Edge and Firefox */
.list-table {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.collapse-none {
    border-collapse: separate;
}

.list-head {
    position: sticky;
    top: 0px;
    z-index: 2;
}

.list-th {
    position: sticky;
    left: 0px;
    z-index: 1;
}
/* end list */

/* func */
.button-new {
    font-family: sans-serif;
    border: 0px;
    border-radius: 50%;
    font-size: 2rem;
    height: 2rem;
    line-height: 2rem;
    padding: 0px;
    width: 2rem;
    position: fixed;
    right: 3%;
    bottom: 3%;
}
/* end func */

/* general */
.alert-ul {
    max-width: fit-content;
}
/* end general */
/* transit */
.transit-title{
    text-align: left;
}
.transit-title-container{
    width: 100%;
    margin: auto;
}
/* end transit */
/* chart */
.hide_before_load{
    display: none;
}

.chart-main {
    margin: 0px auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.button-sheet-list {
    vertical-align: middle;
}

.chart-buttons {
    z-index: 3;
    position: relative;
    float: right;
    letter-spacing: 0.1rem!important;
}

.chart-button {
    font-size: 1.5rem!important;
    line-height: 5rem!important;
}

.chart-title {
    z-index: 1;
    opacity: 0;
    letter-spacing: 0.2rem;
    margin: auto;
    max-width: 56vh;
    font-size: 3rem;
    line-height: 5rem;
}

.chart-tag {
    margin-left: 2.2rem;
    font-size: 2.2rem;
}

.chart-subtitle {
    margin: 0px;
    width: fit-content;
    max-width: 48vh;
    padding: 0rem 0rem 0.5rem 2.6rem;
    font-size: 1.8rem;
    text-align: left;
}

.joint-title {
    overflow: scroll;
    line-height: 3rem;
    text-wrap: nowrap;
    z-index: 1;
    opacity: 0;
    letter-spacing: 0.1rem;
    margin: auto;
    max-width: 43vh;
    font-size: 1.7rem;
}

.jchart-button {
    z-index: 3;
    padding-top: 1.4rem;
    font-size: 1.3rem!important;
    line-height: 1rem!important;
}

.joint-tag {
    margin-left: 2.2rem;
    font-size: 1.6rem;
}

.joint-subtitle {
    margin: 0px;
    width: fit-content;
    max-width: 23vh;
    padding: 0rem 0rem 0rem 0rem;
    font-size: 0.9rem;
    text-align: left;
}

.chart-container-outer {
    margin: 0px auto;
    max-width: 95vw;
}

.chart-container-inter {
    margin: auto;
    width: 54vh;
    max-height: 80vh;
}

.flex-multitime {
    display: flex;
    flex-wrap: wrap;
    margin: auto;
}
.flexcell-multitime {
    margin: auto;
}
.text-multitime {
    text-align: center;
    margin: auto;
}
.chart-container-multitime {
    margin: auto;
    width: 58vh;
    max-width: 72vw;
    max-height: 74vh;
}

.chart-bed {
    transform: rotate(90deg) translate(0px, -8vh);
}
.bedtime-panel {
    margin: 5vh auto;
    overflow: scroll;
    width: fit-content;
}
.chart-object {
    height: 0px;
    margin:auto;
    max-width: 95vw;
    max-height:80vh;
}

.chart-sheet {
    max-width: 58vh;
    width: 48vw;
    display: inline-block;
}
.sheet-button-container {
    padding-left: 0.4rem;
    text-align: end;
    display: inline-block;
    vertical-align: top;
}
.sheet-button {
    width: 5rem;
}
.chart-multi {
    /* width: 28vw */
    /* height: 20px; */
}
.chart-dp {
    margin:0px auto;
    padding:1rem 0px 1rem 0px;
}
.chart-container-dp {
    text-align: left;
    width:24vh;
    padding: 0px 0.5vh;
}
.chart-sign{
    font-family: 'Material Symbols Outlined';
    overflow: scroll;
    width: 95%;
    text-align: center;
    margin: auto;
    margin-bottom: 1rem;
}
#textMultiHour {
    width: 4rem;
}
/* #sliderMultitime { */
    /* -webkit-appearance: none; */
    /* display: none;
    width: 82%;
    margin: auto;
    text-align: center;
    height: 10px;
    border-radius: 5px;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s; */
/* } */
/* #sliderMultitime:hover {
    opacity: 1;
}
#sliderMultitime::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 23px;
    height: 24px;
    border: 0;
    background: url('contrasticon.png');
    cursor: pointer;
}
#sliderMultitime::-moz-range-thumb {
    width: 23px;
    height: 24px;
    border: 0;
    background: url('contrasticon.png');
    cursor: pointer;
} */
.chart-arrows{
    overflow: scroll;
    text-wrap: nowrap;
    width: 95%;
    text-align: center;
    margin: auto;
}
.chart-arrows th{
    text-align: right;
    margin: 0px;
    padding-left: 1em;
}

.joint-arrows{
    margin: auto;
    max-width: 61vh;
    width: 95%;
    text-wrap: nowrap;
    /* overflow: scroll; */

}

.tablearrowtitle{
    padding-left: 0em!important;
}

.chart-arrows td{
    text-align: left;
    margin: 0px;
    padding: 0px;
    padding-left: 0.5em;
}

.chart-circuits{
    border-spacing: 0px;
    margin: auto;
    width: 62vh
}

.chart-circuits{
    padding:0.5rem 0px 0.5rem 0px;
    overflow: scroll;
    text-align: center;
    margin: auto;
}

.chart-cuittitle{
    text-align: left;
    padding-top: 0.3rem;
}

.chart-cuitchannel{
    vertical-align: top;
    text-align: left;
    width: 5.8rem;
    padding: 0px 1rem;
}

.joint-cuitchannel{
    vertical-align: top;
    width: 5.8rem;
    padding: 0px 1rem;
}

.chart-cuitgate{
    vertical-align: top;
    text-align: left;
    padding: 0px 0px 0px 0.5rem;
}

.joint-cuitgateR{
    width: 50%;
    vertical-align: top;
    text-align: left;
    /* padding: 0px 0px 0px 0.5rem; */
}

.joint-cuitgateL{
    width: 48%;
    vertical-align: top;
    text-align: right;
    /* padding: 0px 0px 0px 0.5rem; */
}

.circuits-cube-gate{
    text-align: center;
    width: 3rem;
    display: inline-block;
}

.circuits-cube-channel{
    text-align: center;
    width: 3rem;
    display: inline-block;
}

/* 
.chart-circuits tr,.chart-circuits th,.chart-circuits td{
    text-align: left;
    margin: 0px;
    padding: 0px;
    padding-left: 0px;
} */

.chart-sumline{
    padding: 1rem 0rem;
    overflow: scroll;
    width: 36vh;
    text-align: center;
    margin: auto;
}

.chart-sumline th{
    margin: 0px;
    padding: 0px;
    width: 1em;
    text-align: center;
}

.chart-sumline td{
    margin: 0px;
    padding: 0px;
    width: 48%
}
/* 
.chart-dream {
    transform: rotate(90deg);
}

.chart-dream-container {
} */

.chart-note {
    padding: 0.3rem;
    width: 36vh;
    height: 24vh;
    margin: auto;
    margin-bottom: 2rem;
}
.sheet-input {
    text-align: left;
}
.sheet-title {
    font-size: 1.2rem;
    border: 0px;
    max-width: 95vw;
    max-height:1.5rem;
    margin: auto;
    width: 54vh;
}
.sheet-note {
    border: 0px;
    max-width: 95vw;
    max-height:80vh;
    margin: auto;
    width: 54vh;
}
.chart-share-title{
    width: 50%;
    vertical-align: super;
}

.chart-share-code{
    vertical-align: super;
    width:3rem;
    border: none;
}

.chart-share-link{
    width: 1px;
    border: 0px;
    opacity: 0;
    padding: 0px;
    margin: 0px;
}
.chart-share-icon{
    vertical-align: baseline;
}
.chart-share-button{
    border-radius: 3px;
    border: none;
}

/* end chart */

/* blank */
.blank-chart-outer {
    position: relative;
}

.blank-table-inputs td {
    text-align: right;
}

.blank-table-inputs input {
    text-align: right;
    margin-left: 0.5rem;
    border: none;
}

.blank-table-inputs {
    position: absolute;
}

.blank-inputs-person {
    top: 1rem;
    right: 2rem;
}

.blank-inputs-design {
    top: 1rem;
    left: 2rem;
}

.blank-inputs-arrows {
    left:0;
    right:0;
    margin: auto;
}

.blank-table-inputs input {
    width: 1.6rem;
}
/* end blank */

/* slider */
.transit-slider-container{
    margin: auto;
    text-align: center;
}
/* The slider itself */
.slider {
    -webkit-appearance: none;
    appearance: none;
    vertical-align: middle;
    width: 98%;
    max-width: 95vw;

    height: 0.2rem;
    outline: none;
    opacity: 0.8;
    -webkit-transition: .2s;
    transition: opacity .2s;
}
/* Mouse-over effects */
.slider:hover {
    /* opacity: 1; */
}
/* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    opacity: 1;
    width: 0.3rem;
    height: 1rem;
    cursor: pointer;
}
.slider::-moz-range-thumb {
    opacity: 1;
    width: 0.3rem;
    height: 1rem;
    cursor: pointer;
    /* content: 'abc'; */
}
/* end slider */

/* left slide modal */
.list-sheet-container {
    margin: auto;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
.list-sheet-title {
    margin: auto;
}
.list-sheet-note {
    margin: auto;
    overflow: hidden;
    padding-left: 1rem;
    max-height: 3rem;
}
.modal-overlay {
    position: fixed;
    z-index: 5;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
    transition: opacity 0.1s ease-in-out;
    overflow: scroll;
}
.modal-left-slide {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-150%, -50%);
    transition: transform 0.3s ease-in-out;
    overflow: scroll;
    height: 100%;
    width: 100%;
    text-align: center;
}
input:checked ~ .modal-overlay {
    display: block;
    opacity: 1;
    pointer-events: auto;
}
input:checked ~ .modal-overlay .modal-left-slide {
    transform: translate(-50%, -50%);
}
/* end of left slide modal */

/* 560px 以下手機板 */
@media only screen and (max-width: 560px) {
    /* nav */
    .site-name {
        font-weight: 100;
        line-height: 3.8rem;
        margin-left: 0rem;
    }
    /* end nav */

    /* modal */
    .modal-panel {
        width: 76vw;
    }
    /* end modal */

    /* list */
    .icon-sidekick {
        transform: matrix(0.7, 0, 0, 0.7, -13, 3);
    }
    .list-table {
        /* width: 98%; */
        padding-left: 1vw;
        padding-right: 1vw;
        height: 89vh;
    }
    /* end list */

    /* chart */
    .chart-title {
        font-size: 6vw;
    }
    
    .chart-tag {
        margin-left: 4.4vw;
        font-size: 4.4vw;
    }

    .chart-button {
        font-size: 5vw!important;
        line-height: 11vw!important;
    }

    .chart-subtitle {
        width: 90vw;
        padding: 0vw 0vw 2.5vw 5vw;
        font-size: 4vw;
    }

    .chart-container-outer {
        width:91vw;
    }

    .chart-container-inter {
        max-width: 64vh;
        width:91vw;
    }
    .sheet-title {
        max-width: 64vh;
        width:88vw;
    }
    .sheet-note {
        max-width: 64vh;
        width:88vw;
    }
    .chart-dp {
        padding:1rem 0px 1rem 0px;
    }

    .chart-container-dp {
        width: 42vw;
        padding: 0px 1.5vw;
    }
    
    .chart-circuits{
        border-spacing: 0px;
        margin: auto;
        width: 95vw
    }
    /* end chart */

    /* blank */
    .blank-inputs-person {
        top: 1vw;
        right: 2vw;
        font-size: 3vw;
    }

    .blank-inputs-design {
        top: 1vw;
        left: 2vw;
        font-size: 3vw;
    }

    .blank-inputs-arrows {
        left:0;
        right:0;
    }
    /* end blank */
}