html {
    margin-bottom: 1px;
    min-height: 100%;
    overflow: -moz-scrollbars-vertical !important;
}

body {
    /* background-color: #000; */
    background: linear-gradient(#000, #333);
    color: #E8E3E0;
    font-family: 'Roboto', Verdana;
    margin: 0;
}

a {
    color: #E8E3E0;
    text-decoration: none;
}

fieldset {
    font-size: 14px;
    padding: 10px;
    width: 250px;
    text-align: right;
    font-family: 'Roboto', Verdana;
    margin: 0 auto;
}

.divContainer {
    background: #EDBD3E;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    width: 960px;
    max-width: 100vw;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.divContainerMain {
    background-image: url(../images/sky0003.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.divTopMenu {
    display: flex;
    align-items: center;
    padding: 1em;
    height: 50px;
    width: 100px;
    text-align: center;
    font-weight: 700;
}

.divContainer2 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    height: 100px;
    width: 960px;
    max-width: 100vw;
}

.divContainer2Left img {
    height: 4.5em;
}

.divContainer2Right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}

.divContainer2Right a {
    color: #E8E3E0;
    padding: 1em;
}

.divMainMenu {
    background-color: #1e2b58;
    border-radius: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    margin: 0 1em;
    /* padding: 1em; */
    opacity: 0.8;
    text-align: center;
    height: 50px;
    min-width: 120px;
    width: auto;
}

.divMainMenu img {
    height: 1.5em;
    transition: 0.3s;
}

.divMainMenu img:hover {
    transform: rotate(45deg);
}

.topmenu {
    margin: 0 auto;
    width: 960px;
    max-width: 100vw;
    padding: 15px 5px 5px;
    height: 50px;
    background: #EDBD3E;
    text-align: center;
    font-family: 'Roboto', Verdana;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.menu {
    margin: 0 auto;
    width: 960px;
    max-width: 100vw;
    padding: 15px 5px 5px;
    height: 50px;
    background: #1e2b58;
    text-align: center;
    font-family: 'Roboto', Verdana;
}

.hamb {
    cursor: pointer;
    display: none;
    float: right;
    padding: 2em 3em 2em 0;
}

.hamb-line {
    background: #E8E3E0;
    display: block;
    height: 2px;
    position: relative;
    width: 24px;
}

.hamb-line::before,
.hamb-line::after {
    background: #E8E3E0;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

.hamb-line::before {
    top: 5px;
}

.hamb-line::after {
    top: -5px;
}

.side-menu {
    display: none;
}

.side-menu:checked~nav {
    max-height: 100%;
}

.side-menu:checked~.hamb .hamb-line {
    background: transparent;
}

.side-menu:checked~.hamb .hamb-line::before {
    transform: rotate(-45deg);
    top: 0;
}

.side-menu:checked~.hamb .hamb-line::after {
    transform: rotate(45deg);
    top: 0;
}

.rc_home {
    margin: 0 auto;
    width: 960px;
    max-width: 100vw;
    padding: 1rem 0 0.5rem;
    /* background: #A0AEC1; */
    text-align: center;
    font-family: 'Roboto', Verdana;
}

.rc_reading {
    display: none;
    height: auto;
    padding: 1em;
}

.rc_reading img {
    cursor: pointer;
    height: 240px;
    margin-bottom: 0.5em;
}

.rc_reading_help {
    margin: 2em auto 0;
    width: 30vw;
}

.rc_reading_help a {
    color: #edbd3e;
}

.rc_definition {
    color: #E8E3E0;
    font-size: 12px;
    margin-top: 0.7em;
}

.rc_definition2 {
    font-size: 10px;
    margin-top: 0.5em;
}

.rc_reading_headertext {
    color: #E8E3E0;
    margin-bottom: 2em;
}

.rc_reading_container {
    display: flex;
}

.rc_reading_left {
    width: 50%;
}

.rc_reading_right {
    text-align: left;
    width: 50%;
}

.rc_reading_card {
    color: #E8E3E0;
    margin-top: 1em;
}

.rc_link_learnmore {
    margin-top: 2em;
}

.rc_link_learnmore a {
    color: #edbd3e;
    font-size: 12px;
}

.rc_astro_association {
    font-size: 13px;
    position: relative;
    padding: 0 2em;
    max-width: 140px;
}

.rc_astro_association::before,
.rc_astro_association::after {
    content: "★ ";
    color: gold;
    display: inline-block;
    width: 27px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.rc_astro_association::before {
    left: 0;
}

.rc_astro_association::after {
    right: 0;
}

.rc_kabbalah_association {
    font-size: 13px;
    position: relative;
    padding: 0 2em;
    max-width: 140px;
}

.rc_kabbalah_association::before,
.rc_kabbalah_association::after {
    content: "\25C6 ";
    color: gold;
    display: inline-block;
    width: 27px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.rc_kabbalah_association::before {
    left: 0;
}

.rc_kabbalah_association::after {
    right: 0;
}

.rc_utc_notice {
    background-color: #1e2b58;
    border-radius: 15px;
    color: #edbd3e;
    font-size: 10px;
    margin: 4em 0 1em;
    padding: 1em;
    width: 95px;
}

.rc_longterm {
    display: flex;
    justify-content: space-evenly;
}

.rc_day {
    max-width: 100px;
}

.rc_reading_image {
    margin-left: 4em;
}

.rc_reading_image img {
    height: 300px;
}

.rc_day_timestamp {
    margin: 0.5em 0;
}

.rc_longterm_image {
    margin-bottom: 0.5em;
}

.rc_longterm_image img {
    height: 150px;
}

.rc_cardname {
    min-height: 35px;
}

.rc_userstats {
    text-align: center;
}

.rc_userstat span {
    display: inline-block;
}

.rc_userstat1 {
    width: 3em;
}

.rc_userstat2 {
    width: 12em;
}

.rc_userstat3 {
    width: 3em;
}

#rc_userstats {
    height: 50%;
    width: 50%;
}

.rc_today,
.rc_today a {
    color: #edbd3e;
}

.rc_extra {
    /* background: #A0AEC1; */
    font-family: 'Roboto', Verdana;
    margin: 0 auto;
    padding: 1rem 0 0.5rem;
    text-align: center;
    width: 960px;
    max-width: 100vw;
}

.rc_quicklink a {
    color: #edbd3e;
}

.filter {
    font-family: 'Roboto', Verdana;
    margin: 0 auto;
    padding: 1rem 0 0.5rem;
    text-align: center;
    width: 960px;
    max-width: 100vw;
}

.filtermargin {
    margin: 2em auto;
}

.rc_canvas {
    background-color: #E8E3E0;
    font-family: 'Roboto', Verdana;
    font-size: 12px;
    margin: 0 auto;
    padding: 0.5em 0 0.5rem;
    text-align: center;
    width: 640px;
}

.rc_canvas_wide {
    width: 960px;
}

.rc_canvas_98_vw {
    width: 98vw;
}

.reading {
    font-family: 'Roboto', Verdana;
    font-size: 12px;
    margin: 1em auto 0;
    padding: 0.5em 0 0.5rem;
    text-align: center;
    width: 960px;
    max-width: 100vw;
}

.reading2 {
    margin-top: 2em;
}

.rc_button1 {
    background: #1e2b58;
    border: 0.3em solid #6e70c5;
    border-radius: 7px;
    color: #ffd37e;
    cursor: pointer;
    font-size: 1.4em;
    padding: 0.5em 1em;
}

#read .read-clickonce {
    background: #337ab7;
    border: 0.5em solid #1e2b58;
    pointer-events: none;
}

.rc_button2 {
    background: #1e2b58;
    border: 0.3em solid #6e70c5;
    border-radius: 7px;
    color: #ffd37e;
    cursor: pointer;
    font-size: 1.2em;
    padding: 0.3em 0.5em;
}

.rc_userlist {
    margin-top: 0.5em;
}

.rc_select {
    background-color: #4b0482;
    border: 3px solid #1e2b58;
    border-radius: 7px;
    color: #E8E3E0;
    padding: 0.5em;
}

.rc_submit {
    margin: 1em 0;
}

.display {
    margin: 0 auto;
    width: 960px;
    max-width: 100vw;
    border-style: solid;
    border-color: black;
    border-width: 0;
    font-family: 'Roboto', Verdana;
}

.login {
    margin: 0 auto;
    width: 960px;
    max-width: 100vw;
    padding: 5px;
    text-align: center;
    font-family: 'Roboto', Verdana;
    font-size: 12px;
}

.div-alert {
    background-color: #EDBD3E;
    margin: 1rem auto;
    width: 480px;
    color: #000000;
    font-family: Century Gothic;
    font-size: 12px;
    text-align: center;
    border: 5px #A0AEC1 solid;
    border-radius: 10px;
}

.e-1 {
    background: #E8E3E0;
    border: 1px;
    float: left;
    text-align: center;
    width: 100%;
}

.e-2 {
    border: 1px solid;
    float: left;
    width: 30%;
}

.rc_reversed {
    transform: rotate(180deg)
}

.rc_white {
    color: #E8E3E0;
}

.rc_left {
    text-align: left;
}

.rc_share {
    display: flex;
}

.rc_sharebutton {
    margin: 1em 0;
}

.rc_sharemessage {
    font-size: 10px;
    margin: 2.6em 0 1em 2em;
    transition: font-size 3s;
    width: 100px;
}

.rc_tree_of_life {
    background-color: #aaa;
    border: 2px solid #edbd3e;
    margin: 1em 0 0 1em;
    height: 50px;
    width: 40px;
    text-align: center;
    padding: 0.5em;
    padding-top: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.rc_tree_of_life::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.3); /* Semi-transparent white overlay */
}

.rc_tree_of_life .img_tree_of_life {
    max-width: 100%;
    max-height: 100%;
    position: relative; /* Position the image above the overlay */
}


.rc_tree_of_life .img_tree_of_life {
    cursor: pointer;
    height: 50px;
    position: relative;
    z-index: 99;
}

#btnShare {
    background-color: #edbd3e;
    color: black;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    border-radius: 15px;
    padding: 0.5em;
    width: 6em;
}

.rc_footer {
    margin-top: 1em;
    text-align: center;
}

.rc_footer iframe {
    border: 0 !important;
    margin-top: 1rem;
}

.rc_footer_social {
    display: flex;
    justify-content: flex-end;
    padding: 1em;
}

.tooltip {
    position: relative;
    color: #E8E3E0;
    display: inline-block;
    cursor: pointer;
    /* border-bottom: 1px dotted black; */
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #E8E3E0;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    /* opacity: 0; */
    transition: opacity 0.3s;
}

.tooltip .tooltiptext.tooltiptext2 {
    padding: 0.5em;
    width: 240px;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.tblFrequency {
    padding: 0.2em 0.5em;
    width: 100%;
}

.tblFrequency .col1 {
    width: 5%;
}

.tblFrequency .col2 {
    width: 15%;
}

.tblFrequency .col3 {
    width: 5%;
}

.tblFrequency .col4 {
    width: 30%;
}

.tblFrequency .col5 {
    width: 50%;
}

.divHistory {
    padding: 0.2em 0.5em;
    width: 100%;
}

.tablerow {
    display: flex;
    padding: 0.3em 0;
}

.tablecol1 {
    width: 10%;
}

.tablecol2 {
    width: 20%;
}

.tablecol3 {
    width: 30%;
}

.tablecol4 {
    width: 40%;
}

.tablecol5 {
    width: 50%;
}

.rc_heading {
    font-size: 1.5em;
    margin-bottom: 1em;
}

.rc_xbutton {
    background: #1e2b58;
    border: 0.1em solid #6e70c5;
    border-radius: 3px;
    color: #ffd37e;
    cursor: pointer;
    font-size: 1em;
    margin-left: 1em;
    padding: 0.3em 0.6em;
}

.filterloading {
    opacity: 0.5;
}

.rc_noresults {
    background-color: transparent;
    border: 0;
    margin: 2em auto 0;
    width: 240px;
}

.rc_longterm_reverse {
    flex-direction: row-reverse;
}

input[type="radio"] {
    visibility: hidden;
    height: 0;
    width: 0;
}

input[type="radio"]+label {
    background-color: #1e2b58;
    border: 1px solid #1e2b58;
    border-radius: 7px;
    color: #E8E3E0;
    cursor: pointer;
    padding: 0.5em;
}

input[type="radio"]:checked+label {
    background-color: #4b0482;
    border: 1px solid #4b0482;
}

.tblStats {
    padding: 0.2em 0.5em;
    width: 100%;
}

.tblStats .col1 {
    width: 15%;
}

.tblStats .col2 {
    width: 25%;
}

.tblStats .col3 {
    width: 60%;
}

.settings {
    margin: 0 auto;
    width: 960px;
    max-width: 100vw;
    padding: 1rem 0 0.5rem;
    text-align: center;
    font-family: 'Roboto', Verdana;
    font-size: 16px;
    /* background-color: #A0AEC1; */
}

.settings-content-group {
    display: flex;
    margin: 0.5em auto;
    width: 480px;
}

.settings-label {
    display: flex;
    align-items: center;
    align-content: flex-end;
    justify-content: flex-end;
    margin-right: 1em;
    text-align: right;
    width: 50%;
}

.settings-label img {
    height: 1em;
    margin-right: 0.5em;
}

.settings-value {
    margin-left: 1em;
    text-align: left;
    width: 50%;
}

.settings-value select {
    width: 220px;
}

.settings-title {
    color: #E8E3E0;
    font-weight: 600;
}

.rc_id {
    font-size: 10px;
    margin-top: 3px;
}

.modal {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.733);
    margin-top: -1px;
    animation: zoom 0.3s ease-in-out;
}

.overlay-close {
    cursor: pointer;
    background: none;
    border: none;
    color: #edbd3e;
    font-size: 20px;
    font-weight: 600;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    text-indent: -9999px;
    overflow: hidden;
}

.overlay-close::after, .overlay-close::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #edbd3e;
    width: 2px;
    height: 100%;
    margin: auto;
}

.overlay-close::after {
    transform: rotate(45deg);
}

.overlay-close::before {
    transform: rotate(-45deg);
}

@keyframes zoom {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

svg.img-popup {
    width: auto;
    height: 100vh;
}

.img-overlay,
.svg-overlay {
    display: none;
    position: fixed;
    top: 90px;
    max-height: 76%;
    left: 50%;
    /* transform: translate(-50%, 0) scale(0, 0); */
    z-index: 100;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
    transition: all .3s ease;
}

.rc_tree_of_life_svg svg {
    cursor: pointer;
    height: auto;
    transition: width 0.5s ease;
    width: 100px;
}

.moveleft {
    left: 40%;
}

.svg-overlay {
    top: 0;
    left: 37%;
}

.overlay-dark {
    top: 0;
    position: fixed;
    background-color: #000;
    opacity: .9;
    width: 100%;
    height: 100%;
    z-index: 5;
    display: none;
}

.display_block {
    display: block;
}

.display_none {
    display: none;
}

.transform_rotate180 {
    transform: rotate(180deg);
}

.opacity0 {
    opacity: 0;
}

.opacity1 {
    opacity: 1;
}

.transform_translate50 {
    transform: translate(-50%, 0) scale(0, 0);
}

.rc_filter_row {
    margin: 1em 0;
}

.rc_filter_row input {
    min-height: 2em;
}

.custom-select,
::picker(select) {
  appearance: base-select;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  
  img {
    width: 40px;
    height: auto;
  }
}
.custom-select-wide {
  option {
	margin-left: -40px;
	padding-left: 20px;
	text-indent: 4px;
	width: 360px;
	font-size: 0.8em;
  }
}

/* media query for mobile */

@media only screen and (max-width: 480px) {
    .divMainMenu {
        width: 100%;
    }
    .topmenu {
        width: 100%;
    }
    .menu {
        width: 100%;
    }
    .rc_home {
        width: 100%;
    }
    .rc_reading {
        margin-top: 1em;
        padding: 0;
        width: 100%;
    }
    .rc_reading_headertext {
        margin-top: 1em;
    }
    .rc_reading_image img {
        height: 254px;
    }
    .rc_reading_help {
        width: 80vw;
    }
    .filter {
        font-size: 12px;
        width: 100%;
    }
    .rc_extra {
        width: 100%;
    }
    .rc_canvas {
        width: 100%;
    }
    .reading {
        width: 100%;
    }
    .rc_longterm {
        font-size: 9px;
    }
    .rc_day {
        max-width: 14%;
    }
    .rc_day_timestamp {
        min-height: 30px;
    }
    .rc_longterm_image img {
        height: 70px;
    }
    .rc_cardname {
        font-size: 9px;
    }
    .rc_definition2 {
        font-size: 7px;
    }
    .settings {
        width: 100%;
    }
    .settings-content-group {
        width: 320px;
    }
    .settings-value select {
        width: 140px;
    }
    .div-alert {
        width: 100%;
    }
    .e-1 {
        width: 100%;
    }
    .e-2 {
        width: 100%;
    }
    .rc_white {
        color: #E8E3E0;
    }
    .rc_left {
        text-align: left;
    }
    .rc_footer iframe {
        border: 0 !important;
        margin-top: 1rem;
    }
    .tooltip {
        position: relative;
        display: inline-block;
        cursor: pointer;
        /* border-bottom: 1px dotted black; */
    }
    .tooltip .tooltiptext {
        visibility: hidden;
        width: 120px;
        background-color: #555;
        color: #E8E3E0;
        text-align: center;
        padding: 5px 0;
        border-radius: 6px;
        position: absolute;
        z-index: 1;
        bottom: 125%;
        left: 50%;
        margin-left: -60px;
        /* opacity: 0; */
        transition: opacity 0.3s;
    }
    .tooltip .tooltiptext .tooltiptext2 {
        padding: 0.5em;
        width: 240px;
    }
    .tooltip .tooltiptext::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        margin-left: -5px;
        border-width: 5px;
        border-style: solid;
    }
    .divHistory .col1 {
        width: 20%;
    }
    .tblFrequency .col2 {
        width: 25%;
    }
    .tblFrequency .col4 {
        width: 10%;
    }
    .tblStats .col1 {
        width: 33%;
    }
    .tblStats .col2 {
        width: 33%;
    }
    .tblStats .col3 {
        width: 33%;
    }
    .rc_filter_row {
        margin: 0.5em 0;
    }
}

@media only screen and (max-width: 740px) {
    .divMainMenu {
        min-width: 5em;
    }
}

@media only screen and (max-width: 960px) {
    .hamb {
        display: block;
    }
    .divContainer {
        width: 100%;
    }
    .divContainer2 {
        width: 100%;
    }
    .divContainer2Right {
        font-size: 9px;
    }
    .divContainer2Left {
        margin-left: 0.5em;
    }
    .divContainer2Right {
        display: block;
    }
    .divMainMenu {
        display: none;
    }
    .divContainer2 {
        justify-content: space-between;
    }
    .divContainer2RightShow {
        margin-top: 16.7em;
        transform: translateY(0%);
        transition: transform 300ms;
        z-index: 9;
        right: 0;
        position: fixed;
        width: 50vw;
    }
    .divMainMenuShow {
        display: flex;
        align-content: center;
        border-radius: 0;
        font-size: 14px;
        opacity: 1;
    }
    .rc_reading_image {
        margin-left: 0;
    }
    .img-overlay,
    .svg-overlay {
        top: 0;
        height: auto;
        width: 90%;
        object-fit: contain;
        overflow: hidden;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
    }
    .moveleft {
        left: 0%;
    }
    .rc_tree_of_life {
        margin: 1em auto;
    }
    .svg-overlay.display_block {
        height: 70vh;
        margin-left: 7%;
    }
    .svg-overlay.display_block svg {
        height: 70vh;
    }
}