:root {
  --version: '5.3.5';

  --txtCol: #ededed;
  --bgCol: #3f7ba6;



  /* --contentTxt:#ffffff;
  --contentBg: #000000; */

--easing1: cubic-bezier(0.465, 0.183, 0.153, 0.946);
  
  /* --contentFS: 1.8rem; */
  /* --contentAFS: 2.2rem; */
  /* --contentHFS: 2.2rem; */
  /* --contentBFS: 3.2rem; */


  --statsBgCol: hsl(205, 45%, 45%);
  --cellBgCol: #ededed;
  --cellTxtCol: #3f7ba6;
  --cell1BgCol: #ededed;
  --cell2BgCol: #ededed;
  --cell3BgCol: #ededed;
  --cell4BgCol: #ededed;
  --cell5BgCol: #ededed;
  --cell6BgCol: #ededed;
  --calTxtCol: #666;

  --dataHours: '< Hours';
  --dataLDC: 'LDC >';



  --col1: hsl(38, 84%, 40%);
  --col2: hsl(122, 34%, 40%);
  --col3: #be1e50;
  --col4: hsl(202, 94%, 43%);
  --col5: #004e7a;
  --col6: #91c149;
  --col7: hsl(59, 100%, 75%);


  --online: #91c149;
  --offline: hsl(59, 100%, 75%);
  --cancelBtn: #438946;
  --editBgCol: hsl(122, 34%, 40%);
  --delBgCol: hsl(341, 73%, 43%);

  --svgDel: url("data:image/svg+xml;utf8,<svg width='26' xmlns='http://www.w3.org/2000/svg' fill='white' data-name='Layer 1' viewBox='0 0 64 64' x='0px' y='0px'><path d='M45.49,55.87h-27a2,2,0,0,1-2-1.95l-2-37h35L47.49,54A2,2,0,0,1,45.49,55.87Zm0-2v0Zm-28.89-35,1.91,35,27,0,1.91-35Z'></path><path d='M51,18.86H13a1.41,1.41,0,0,1-1.5-1.35l0-.21L12.46,13a1.45,1.45,0,0,1,1.47-1.09H50.07A1.45,1.45,0,0,1,51.54,13l1,4.56A1.41,1.41,0,0,1,51,18.86Zm-37.34-2H50.34l-.65-3H14.31Z'></path><rect x='23' y='23.44' width='2' height='25'></rect><rect x='31' y='23.44' width='2' height='25'></rect><rect x='39' y='23.44' width='2' height='25'></rect><path d='M39.27,12.86h-2V7.57H26.73v5.29h-2V7.57a2,2,0,0,1,2-2H37.27a2,2,0,0,1,2,2Z'></path></svg>");

  --svgPin: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" data-name="Layer 1" width="33" viewBox="16 16 64 64" fill="white"><path d="m43.324 48.488c0.31641 0 0.62891-0.125 0.88281-0.31641l13.602-11.148c0.62891-0.50391 0.69141-1.3867 0.1875-2.0156-0.50391-0.62891-1.3867-0.69141-2.0156-0.1875l-13.602 11.148c-0.62891 0.50391-0.69141 1.3867-0.1875 2.0156 0.31641 0.31641 0.75391 0.50391 1.1328 0.50391z"/><path d="m53.086 58.25c0.44141 0 0.82031-0.1875 1.0703-0.50391l11.148-13.602c0.50391-0.62891 0.37891-1.5117-0.1875-2.0156-0.62891-0.50391-1.5117-0.37891-2.0156 0.1875l-10.453 12.723c-1.8281-0.94531-3.2734-2.457-4.9141-4.2188-0.50391-0.56641-1.4492-0.62891-2.0156-0.0625-0.56641 0.50391-0.62891 1.4492-0.0625 2.0156 2.0781 2.2656 4.0938 4.2188 6.9258 5.3516 0.125 0.0625 0.31641 0.125 0.50391 0.125z"/><path d="m66.816 45.719c0.75391 0 1.4492-0.31641 2.0156-0.88281 0.82031-0.82031 1.5117-2.332-0.0625-4.6602-0.88281-1.2578-2.2031-2.6445-3.7773-4.2188l-0.88281-0.88281c-1.5742-1.5742-2.9609-2.9609-4.2188-3.8398-2.332-1.5742-3.8398-0.94531-4.6602-0.0625-1.3867 1.3867-1.1328 3.2734 0.75391 5.6055 0.82031 1.0078 1.9531 2.1406 3.2109 3.3359l0.82031 0.82031c1.1953 1.1953 2.332 2.3945 3.4023 3.2109 1.1914 1.0703 2.3906 1.5742 3.3984 1.5742zm-0.066406-2.8359s-0.37891 0.0625-1.6367-0.94531c-0.94531-0.75391-2.0156-1.8281-3.1484-3.0234l-0.82031-0.82031c-1.1328-1.1328-2.2656-2.2031-2.9609-3.1484-1.0703-1.2578-1.0078-1.6992-1.0078-1.6992l0.125-0.125c0.75391-0.125 3.3359 2.3945 4.8477 3.9688l0.88281 0.88281c1.5117 1.5117 4.0938 4.0938 3.9062 4.8477l-0.0625 0.0625h-0.125z"/><path d="m31.676 69.711c0.1875 0 0.44141-0.0625 0.62891-0.125l4.5352-2.1406c0.125-0.0625 0.25-0.125 0.31641-0.1875l8.8164-7.6836c0.56641-0.50391 0.62891-1.3867 0.125-2.0156s-1.3867-0.62891-2.0156-0.125l-8.6914 7.5586-0.69141 0.31641 0.37891-0.75391 7.4961-8.6914c0.50391-0.56641 0.44141-1.5117-0.125-2.0156-0.56641-0.50391-1.5117-0.44141-2.0156 0.125l-7.6211 8.8164c-0.0625 0.0625-0.125 0.1875-0.1875 0.31641l-2.2031 4.5352c-0.25 0.56641-0.125 1.1953 0.25 1.6367 0.30859 0.30859 0.625 0.43359 1.0039 0.43359z"/><path d="m51.828 52.078c0.37891 0 0.82031-0.1875 1.0703-0.50391l5.668-6.5508c0.50391-0.56641 0.44141-1.5117-0.125-2.0156-0.56641-0.50391-1.5117-0.44141-2.0156 0.125l-5.668 6.5508c-0.50391 0.56641-0.44141 1.5117 0.125 2.0156 0.3125 0.25391 0.62891 0.37891 0.94531 0.37891z"/><path d="m54.914 65.43c1.0078 0 1.8281-0.31641 2.5195-1.0078 3.2734-3.2734-0.125-7.3047-2.2031-9.7617-0.50391-0.56641-1.3867-0.69141-2.0156-0.1875-0.56641 0.50391-0.69141 1.3867-0.1875 2.0156 3.5273 4.1562 3.1484 5.1641 2.332 5.918-0.44141 0.44141-1.6992 0.0625-3.3359-0.94531-2.0156-1.1953-4.4727-3.2734-7.3672-6.1719-7.0547-7.0547-7.7461-10.078-7.1172-10.707 1.0078-1.0078 1.9531-0.62891 6.0469 2.457 0.62891 0.50391 1.5117 0.37891 2.0156-0.25 0.50391-0.62891 0.37891-1.5117-0.25-2.0156-3.6523-2.7695-6.8008-5.2266-9.7617-2.2031-2.582 2.582-0.31641 7.3047 7.1172 14.738 3.0859 3.0859 5.7305 5.2891 7.8711 6.6133 1.6875 1.0039 3.1367 1.5078 4.3359 1.5078z"/></svg>');


  --svgDelRed: url("data:image/svg+xml;utf8,<svg width='30' height='30' xmlns='http://www.w3.org/2000/svg' fill='red' data-name='Layer 1' viewBox='0 0 64 64' x='0px' y='0px'><path d='M45.49,55.87h-27a2,2,0,0,1-2-1.95l-2-37h35L47.49,54A2,2,0,0,1,45.49,55.87Zm0-2v0Zm-28.89-35,1.91,35,27,0,1.91-35Z'></path><path d='M51,18.86H13a1.41,1.41,0,0,1-1.5-1.35l0-.21L12.46,13a1.45,1.45,0,0,1,1.47-1.09H50.07A1.45,1.45,0,0,1,51.54,13l1,4.56A1.41,1.41,0,0,1,51,18.86Zm-37.34-2H50.34l-.65-3H14.31Z'></path><rect x='23' y='23.44' width='2' height='25'></rect><rect x='31' y='23.44' width='2' height='25'></rect><rect x='39' y='23.44' width='2' height='25'></rect><path d='M39.27,12.86h-2V7.57H26.73v5.29h-2V7.57a2,2,0,0,1,2-2H37.27a2,2,0,0,1,2,2Z'></path></svg>");

  --svgShareIOS: url("data:image/svg+xml;utf8,<svg width='1200pt' height='1200pt' version='1.1' viewBox='0 0 1200 1200' xmlns='http://www.w3.org/2000/svg'><g><path d='m929.05 272.47h-83.699c-15.203 0-27.516 12.312-27.516 27.516s12.312 27.516 27.516 27.516h83.699c30.457 0 56.184 37.801 56.184 82.547v605.36c0 45.516-37.031 82.547-82.547 82.547l-605.36 0.003906c-45.516 0-82.547-37.031-82.547-82.547v-605.36c0-43.98 25.188-82.547 53.891-82.547h81.395c15.203 0 27.516-12.312 27.516-27.516s-12.312-27.516-27.516-27.516h-81.395c-60.059 0-108.93 61.715-108.93 137.58v605.36c0 75.863 61.715 137.58 137.58 137.58h605.36c75.863 0 137.58-61.715 137.58-137.58l0.007812-605.36c0-75.875-49.898-137.59-111.22-137.59z'/><path d='m501.38 212.05 71.102-71.102v638.17c0 15.203 12.312 27.516 27.516 27.516s27.516-12.312 27.516-27.516v-638.17l71.102 71.102c5.3633 5.375 12.406 8.0508 19.453 8.0508 7.043 0 14.09-2.6875 19.453-8.0508 10.754-10.754 10.754-28.176 0-38.914l-118.07-118.07c-10.738-10.754-28.176-10.754-38.902 0l-118.07 118.07c-10.754 10.754-10.754 28.176 0 38.914 10.73 10.738 28.168 10.738 38.895-0.003907z'/></g></svg>");

  --svgEllipseChrome: url("data:image/svg+xml;utf8,<svg width='1200pt' height='1200pt' version='1.1' viewBox='0 0 1200 1200' xmlns='http://www.w3.org/2000/svg'><path d='m519.89 825.2c0-42.32 34.008-76.328 76.328-76.328 42.32 0 76.328 34.008 76.328 76.328s-34.008 76.328-76.328 76.328c-42.324-0.75391-76.328-34.762-76.328-76.328zm130.74 0c0-30.23-24.184-54.41-54.41-54.41-30.23 0-54.41 24.184-54.41 54.41 0 30.23 24.184 54.41 54.41 54.41 30.227 0.003907 54.41-24.938 54.41-54.41zm-130.74-217.64c0-42.32 34.008-76.328 76.328-76.328 42.32 0 76.328 34.008 76.328 76.328 0 42.32-34.008 76.328-76.328 76.328-42.324 0-76.328-34.008-76.328-76.328zm130.74 0c0-30.23-24.184-54.41-54.41-54.41-30.23 0-54.41 24.184-54.41 54.41 0 30.23 24.184 54.41 54.41 54.41 30.227 0 54.41-24.18 54.41-54.41zm-130.74-217.64c0-42.32 34.008-76.328 76.328-76.328 42.32 0 76.328 34.008 76.328 76.328 0 42.32-34.008 76.328-76.328 76.328-42.324 0-76.328-34.008-76.328-76.328zm130.74 0c0-30.23-24.184-54.41-54.41-54.41-30.23 0-54.41 24.184-54.41 54.41 0 30.23 24.184 54.41 54.41 54.41 30.227 0 54.41-24.184 54.41-54.41z' fill-rule='evenodd'/></svg>");

  --svg3dots: url("data:image/svg+xml;utf8,<svg width='1200pt' height='1200pt' version='1.1' viewBox='0 0 1200 1200' xmlns='http://www.w3.org/2000/svg'><g fill-rule='evenodd'><path d='m600 545.59c-29.094 0-51.648 25.281-51.648 54.566 0 29.074 22.555 54.258 51.648 54.258 28.926 0 51.645-25.043 51.645-54.258 0-29.422-22.719-54.566-51.645-54.566z'/><path d='m317.62 545.59c-29.094 0-51.648 25.281-51.648 54.566 0 29.074 22.555 54.258 51.648 54.258 28.926 0 51.645-25.043 51.645-54.258 0-29.422-22.719-54.566-51.645-54.566z'/><path d='m882.38 545.59c-29.094 0-51.648 25.281-51.648 54.566 0 29.074 22.555 54.258 51.648 54.258 28.926 0 51.645-25.043 51.645-54.258 0-29.422-22.719-54.566-51.645-54.566z'/></g></svg>");

  --svgLeftArrow: url("data:image/svg+xml;utf8,<svg width='40pt' height='100pt' version='1.1' viewBox='0 0 1200 1200' xmlns='http://www.w3.org/2000/svg'><path d='m284.73 546.11 524.55-524.55c30.539-28.742 77.246-28.742 105.99 0 28.742 28.742 28.742 75.449 0 105.99l-472.46 472.46 472.46 472.46c28.742 28.742 28.742 77.246 0 105.99-28.742 28.742-75.449 28.742-105.99 0l-524.55-526.35c-28.742-28.742-28.742-75.449 0-105.99z' fill-rule='evenodd'/></svg>");

}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
}
*:focus {
  outline: 0;
  outline: none;
}

html,
body {
  width: 100vw;
  height: 100vh;
  color: var(--txtCol);
  background: var(--bodyBgCol);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 300;
  font-size: 62.5%;
  line-height: 1.6;
  overscroll-behavior: none;
  overflow-y: hidden;
}

a { color: inherit; background-color: transparent; text-decoration: none; }
a:active, a:hover { outline: 0; }
input, textarea, select, button { font-size: inherit; font-family: inherit; }
img { border: 0; }
ul, li { list-style: none; }

/* START HERE -----------------------------  */

#wrapper {
  color: var(--txtCol);
  background: var(--bgCol);
  font-size: 1.8rem;
  overflow: hidden;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: pan-y;
  opacity: 0;
  pointer-events: none;
}

#wrapper.show {
  opacity: 1.0;
  pointer-events: auto;
}

.data-header {
  height: 3.5rem;
}

#data-panel {
  background: var(--statsBgCol);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 1px;
}

.data-cell {
  position: relative;
  color: var(--cellTxtCol);
  line-height: 1.2;
  text-align: center;
  overflow: hidden;
  cursor: pointer;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: none;
  overflow: hidden;
}

.data-cell > * {
  padding: 6px;
  pointer-events: none;
}

.data-cell.freeze {
  pointer-events: none;
}

.data-cell main {
  font-size: 5rem;
}

.dcu {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transform-origin: center center;
  transform: scale(0);
  opacity: 0;
  transition: 150ms ease-in-out;
}

.dcu.show {
  transform: scale(1);
  opacity: 1.0;
  pointer-events: auto;
}


.dcu .btnPanl {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.dcu button {
  width: 100%;
  padding: 3px!important;
  height: 4rem;
  text-align: center;
  font-size: 1.4rem;
  color: var(--txtCol);
  background: var(--bgCol);
  border-radius: 0;
  cursor: pointer;
}

.dcu input {
  text-align: center;
  font-size: 4.6rem;
  color: var(--contentTxt, #444444);
  background-color: var(--contentBg, #ffffff);
  pointer-events: auto;
}


/* DAY CALLENDAR CELL */

[data-id="calendar"] {
  background: var( --cell1BgCol);
}

[data-id="calendar"] header::before, [data-id="calendar"] header::after {
  content: ' --- ';
}

/* STATS CELLS */

[data-id="placements"]{
  background: var( --cell2BgCol);
}

[data-id="videos"]{
  background: var( --cell3BgCol);
}

[data-id="returnvisits"]{
  background: var( --cell4BgCol);
}

[data-id="studies"]{
  background: var( --cell5BgCol);
}

/* HOUR / LDC CELLS */

[data-id="hours"], [data-id="ldc"]{
  background: var( --cell6BgCol);
}

.hour-wrap-cell {
  overflow: hidden;
}

#hour-wrap {
  width: 200%;
  height: 100%;
  transition: 350ms ease-in-out;
}

.ldc {
  transform: translateX(-50%)
}

[data-type="update-hours"] header {
  position: relative;
}

[data-sub] {
  position: absolute;
  top: 10px;
  font-size: 1rem;
}

[data-sub="hours"] {
  left: 16px;
}

[data-sub="ldc"] {
  right: 16px;
}

.hoursarrow {
  position: absolute;
  top: 9px;
  font-size: 1.2rem;
  right: 6px;
}

.ldcarrow {
  position: absolute;
  top: 9px;
  font-size: 1.2rem;
  left: 6px;
}

.lang-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.checkbox {
  width: 4.5rem;
  height: 4.5rem;
  font-size: 2.2rem;
  border: 2px solid var(--rvTxt);
  border-radius: 8px;
  cursor: pointer;
}

.checkbox.active {
  color: #fff;
  background: var(--rvTxt);
}

.checkbox-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

[data-type="sel-lang"]{
  width: 100%;
  height: 4.2rem;
  font-size: 2.2rem;
  border: 2px solid var(--rvTxt);
  border-radius: 8px;
  cursor: pointer;
}

[data-type="sel-lang"].active {
  color: #fff;
  background: var(--rvTxt);
}

/* [data-sub="hours"] {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  background: orange;
} */

/* [data-id="hours"] header::after {
  content: var(--dataLDC);
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 1rem;
  font-weight: bold;
}

[data-id="ldc"] header::after {
  content: var(--dataHours);
  position: absolute;
  top: 8px;
  left: 10px;
  font-size: 1rem;
  font-weight: bold;
} */

[data-panel]{
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  pointer-events: auto;
  cursor: pointer;
}

[data-panel="left"]{
  left: 0;
}

[data-panel="right"]{
  left: 50%;
}


.data-footer {
}

/* MAIN MENU */
#menu {
  margin: .5rem 0 2.5rem;
  padding: 0 15px;
  width: 100%;
  height: auto;
  justify-content: space-between;
}

#menu .btn {
  position: relative;
  width: 65px;
  height: 7rem;
  object-fit: contain;
  cursor: pointer;
}

#menu .btn > * { pointer-events: none; }

#menu .btn svg { fill: var(--txtCol); }

#menu .btn-dscr {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  font-size: 1rem;
  pointer-events: none;
}

[data-id="info"] { padding: 20px 10px 32px; }
[data-id="settings"] { padding: 18px 6px 32px; }
[data-id="report"] { padding: 20px 10px 32px; }
[data-id="rvz"] { padding: 22px 6px 32px; }


/* APP COVER */
#app-cover {
  color: var(--statsBgCol);
  background: var(--cellBgCol);
  border-bottom: 2.5rem solid;
  font-size: 1.4rem;

  transition: opacity 350ms ease-in, transform 550ms var(--easing1);

  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: none;
  overflow: hidden;
  z-index: 5000;
  opacity: 0;
  pointer-events: none;
}
#app-cover.show { /* when starting */
  opacity: 1.0;
  pointer-events: auto;
}
#app-cover > * {
  pointer-events: none;
}
#app-cover.open {
  transform: translateY(-100%)
}
#app-cover h1 {
  margin: 0;
  line-height: 1.2;
  font-size: 6rem;
}


#notification {
  position: fixed;
  left: 50%;
  top: 25px;
  padding: 30px 15px 20px;
  min-width: 250px;
  transform: translateX(-50%);
  font-size: 1.8rem;
  line-height: 1.6;
  color: var(--contentTxt,#444444);
  background-color: var(--contentBg,#ffffff);
  border-radius: 9px;
  box-shadow: rgba(255, 255, 255, 0.35) 0px 5px 15px;
  opacity: 0; 
  transition: opacity .3s ease-in-out;
  cursor: pointer;
  pointer-events: none;
  z-index: 10000;
  text-align: center;
}

#notification.show {
  opacity: 1;
  pointer-events: auto;
}

#installApp {
  position: fixed;
  left: 50%;
  bottom: 25px;
  min-width: 250px;
  transform: translateX(-50%);
  color: #fff;
  background: #333;
  border: 2px solid white;
  padding: 16px;
  font-size: 1.6rem;
  text-align: center;
  cursor: pointer;
  z-index: 110;
  display: none;
  z-index: 10000;
}

#onlinestatus {
  height: 6px;
  background: var(--online);
}
.offline {
  background: var(--offline) !important;
}

#logo {
  padding: 14px 25px 0;
  color: var(--txtCol);
  font-size: 1.4rem;
  opacity: 0.5;
}
#logo::after {
  content: var(--version);
  margin-left: 4px;
  font-size: 1.2rem;
}
#logo.standalone {
  opacity: 0.6;
}
#logo.standalone::before {
  content: 'SA';
  font-size: 1rem;
}


/* ----- MODAL SECTION ----- */
#modal {
  color: #666666;
  background: #fff;
  font-size: 1.8rem;
  line-height: 1.6;
  text-align: center;
  transform-origin: center center;
  transform: scale(0);
  opacity: 0;
  transition: 350ms ease-in-out;
  pointer-events: none;
  overflow-y: auto;
  touch-action: pan-y !important;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

#modal.show {
  transform: scale(1);
  opacity: 1.0;
  pointer-events: auto;
}

.modal-header {
  padding: 40px 20px 15px;
  font-size: 1.8rem;
  line-height: 1.4;
  color: var(--txtCol);
  background: var(--bgCol);
  text-align: center;
}

.modal-header h2 {
  margin: 0;
  padding: 0;
  font-size: 2.2rem;
}

.modal-main {
  position: relative;
  overflow: hidden;
  color: var(--contentTxt, #444444);
  background-color: var(--contentBg, #ffffff);
  font-size: var(--contentFS, 1.8rem);
}

.modal-footer {
  height: 6.5rem;
  color: var(--txtCol);
  background: var(--bgCol);
}

[data-type="close-modal"] {
  padding: 10px 20px 20px;
  font-size: 2.2rem;
  min-width: 100px;
}

[data-type="scroll-panel"] {
  overflow-x: none;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y !important;
}

.scroll-el {
  overflow-x: none;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

[data-type="prev-month"] {
  left: 0;
}
[data-type="next-month"] {
  left: 50%;
}

.cal-grid-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  color: var(--txtCol);
  background: var(--bgCol);
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.cal-grid-header li {
  font-size: 1.6rem;
  text-align: center;
  overflow: hidden;
}

.cal-grid {
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.cal-cell {
  color: var(--contentTxt);
  font-size: 1.6rem;
  height: 5rem;
  cursor: pointer;
}

.cal-cell > * {
  pointer-events: none;
}

.cal-cell-blank {
  height: 5rem;
}

[data-crntday] {
  position: relative;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--rvTxt);
}

[data-crntday]::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3rem;
  bottom: 0;
  height: 4px;
  border-radius: 10px;
  background: var(--rvTxt);
}

[data-today] {
  font-size: 1.8rem;
  color: #ffffff;
  background-color: var(--rvTxt);
  border-radius: 6px;
}


[data-record] {
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("/icons/sel-circle.png"); 
}


.shareIOS {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 1.6rem;
  height: 1.6rem;
}

.shareIOS::after {
  position: absolute;
  bottom: -3px;
  left: -3px;
  content: '';
  width: 2.2rem;
  height: 2.2rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: var(--svgShareIOS);
}

.shareChrome {
  position: relative;
  display: inline-block;
  width: 1.6rem;
  height: 1.6rem;
}

.shareChrome::after {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  content: '';
  width: 3.5rem;
  height: 3.5rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: var(--svgEllipseChrome);
}


.submit-btn {
  margin-top: 10px;
  padding: 12px 20px;
  min-width: 15rem;
  font-size: 2.2rem;
  color: #ffffff;
  background: var(--rvTxt);
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  z-index: 10;
}

.submit-btn > * {
  pointer-events: none;
}


.month-report {
  margin: 1rem auto 2rem;
  width: 100%;
  max-width: 30rem;
  text-align: left;
}

#report-box {
  position: relative;
  margin-top: 10px;
  padding: 10px 20px 25px;
  border-radius: 5px;
  border: 2px dotted;
}

.copyToCB {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 4px 12px;
  font-size: 1.2rem;
  cursor: pointer;
}

.goals {
  margin: auto;
  width: 100%;
  max-width: 30rem;
  text-align: left
}

.goalwrapper {
  position: relative;
  height: 1.5rem;
  background-color: var(--contentBg,#ffffff);
  border-radius: 6px;
  border: 1px solid #999;
  overflow: hidden;
}

.month-goal {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  background: var(--col6);
}

.year-goal {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  background: var(--col1);
}


.info-panel {
  padding: 50px 20px;
  text-align: left;
}

#share-trak {
  position: absolute;
  top: 30px;
  right: 20px;
  width: 4rem;
  height: 4rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url('icons/share.png');
  cursor: pointer;
}

.settings-panel {
  padding: 35px 15px;
  /* display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px; */
}

.settings-panel input {
  margin-bottom: 20px;
}

.main-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  bottom: 0;
}

.main-panel-content {
  position: relative;
  padding: 35px 20px;
  text-align: left;
}

.main-panel-content h3 {
  font-size: var(--contentHFS, 1.8rem);
  color: var(--rvTxt);
}

.main-panel-content p {
  padding: 2px 12px 28px;
}

.main-panel-content ol {
  padding: 0 10px 25px;
}

.main-panel-content a {
  margin-top: 5px;
  display: block;
  color: var(--contentTxt,#444444);
  cursor: pointer;
}

.highlight {
  margin: 4px 0;
  padding: 0 25px;
  color: #333333;
  background: hsl(59, 100%, 75%);
}

/* RVZ TAB STYLES */

.rvzpanels {
  position: absolute;
  top: 0;
  left: 0;
  width: 200vw;
  bottom: 0;
  transition: left 350ms ease-in-out;
}

.rvzpanels.open {
  left: -100vw;
}

.rvz-index {
  position: relative;
  width: 100vw;
  text-align: left;
  background-color: var(--contentBg);
}


.rv-list-item {
  position: relative;
  height: 7.5rem;
  transition: 150ms ease-in-out;
  overflow: hidden;
}

[data-type="delete-rv"] {
  position: absolute;
  top: 0;
  right: 5.5rem;
  width: 5.5rem;
  height: 100%;
  fill: #fff;
  background-color: var(--delBgCol);
  background-repeat: no-repeat;
  background-position: center;
  background-image: var(--svgDel);
  border-bottom: 1px solid var(--txtCol);
  cursor: pointer;
}

[data-type="pin-rv"] {
  position: absolute;
  top: 0;
  right: 0;
  width: 5.5rem;
  height: 100%;
  fill: #fff;
  background-color: orange;
  background-repeat: no-repeat;
  background-position: center;
  background-image: var(--svgPin);
  border-bottom: 1px solid var(--txtCol);
  cursor: pointer;
}

.crossout {
  margin-top: 5px;
  margin-left: 2px;
  background: var(--delBgCol);
  width: 2px;
  height: 32px;
  transform: rotate(145deg);
  pointer-events: none;
  display: none;
}

.crossout.show {
  display: block;
}


[data-type="list-item-display"] {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0 20px 8px 20px;
  width: 100%;
  height: 100%;
  font-size: 1.8rem;
  color: var(--txtCol);
  background-color: var(--bgCol);
  border-bottom: 1px solid var(--txtCol);
  transition: 150ms ease-in-out;
  cursor: pointer;
}

[data-type="list-item-display"] > * {
  pointer-events: none;
}

[data-type="list-item-display"] span {
  display: block;
  padding-left: 25px;
  font-size: 1.6rem;
  line-height: 2rem;
}

[data-type="list-item-display"].active {
  color: var(--rvActiveTxt);
  background-color: var(--rvActiveBg);
}

.pin {
  position: absolute;
  top: 12px;
  right: 8px;
  width: 2.8rem;
  fill: currentColor;
  overflow: hidden;
}


.disappearTop {
  height: 0;
}

.slideLI {
  transform: translateX(-110px)
}


.addRV {
  width: 6.5rem;
  height: 6rem;
  font-size: 4rem;
  color: #ffffff;
  background-color: var(--rvTxt);
  cursor: pointer;
}

.addRV > * {
  pointer-events: none;
}


.rvz-details {
  position: relative;
  width: 100vw;
  text-align: left;
}

.rvz-details h3 {
  font-size: 1.8rem;
  color: var(--rvTxt);
}

.rvz-profile {
  position: relative;
  padding: 0 20px 35px;
  width: 100vw;
}

.controls {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  color: var(--rvTxt, #444444);
  background-color: var(--contentBg, #ffffff);
  overflow: hidden;
  z-index: 1000;
  pointer-events: none;
}

[data-type="rvz-edit"] {
  position: relative;
  margin-left: auto;
  margin-right: 15px;
  padding-top: 3px;
  width: 5rem;
  color: var(--rvTxt);
  fill: var(--rvTxt);
  pointer-events: auto;
}

[data-type="rvz-edit"] > * {
  pointer-events: none;
}

.edit-btn {
  position: absolute;
  width: 3.4rem;
  opacity: 1;
  transition: opacity 400ms ease-in-out;
}
.edit-btn.hide {
  opacity: 0;
}

.close-edit-btn {
  position: absolute;
  opacity: 0;
  transition: opacity 400ms ease-in-out;
  font-size: 3rem;
}
.close-edit-btn.show {
  opacity: 1;
}


[data-type="left-return"] {
  width: 65px;
  height: 100%;
  font-size: 4.5rem;
  opacity: 1;
  transition: opacity 400ms ease-in-out;
  pointer-events: auto;
}

[data-type="left-return"].hide {
  opacity: 0;
  pointer-events: none;
}


.slide-wrapper {
  position: relative;
  overflow: hidden;
}

/* EDIT RVZ PROFILE */
[data-type="rvz-pe"] {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  margin-top: -100vh;
  width: 90%;
  max-width: 30rem;
  min-height: 100vh;
  transition: margin-top 500ms ease-in-out;
}

[data-type="rvz-pe"].show {
  margin-top: 0;
}

[data-type="rvz-pe"] h3 {
  padding-bottom: 15px;
  text-align: center;
}

[data-type="rvz-pe"] input {
  margin-bottom: 20px;
}


/* DISPLAY RVZ CONTROL, PROFILE AND NOTES */

.rvz-display {
  position: relative;
}

.hide-wrapper {
  opacity: 1;
  transition: opacity 1200ms ease-in-out;
}

.hide-wrapper.hide {
  opacity: 0;
}

.hide-wrapper.hide > *  {
  display: none;
}

[data-type="rvz-pd"] {
  position: relative;
  padding: 1.5rem 0 4rem;
  text-align: center;
}

.rvz-notes-wrap {
  margin-bottom: 5rem;
  padding: 0 20px;
}

.rvz-note-header {
  height: 4.5rem;
}

.rvz-note-header h3 {
  margin-right: auto;
  padding-left: 8px;
  font-size: var(--contentHFS, 1.8rem);
}

.rvz-note-header button {
  height: 100%;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}


[data-type="new-note"] {
  width: 4.5rem; 
  font-size: 2.8rem;
  opacity: 0;
  transition: 350ms ease-in-out;
  pointer-events: none;
}

[data-type="new-note"].show {
  opacity: 1;
  pointer-events: auto;
}

[data-type="lock-notes"] {
  padding: 0 8px;
  min-width: 7.5rem;
  font-size: var(--contentAFS, 1.8rem);
}

[data-type="rvz-notes"] {
  padding: 15px;
  border-top: 1px solid #999999;
  overflow: hidden;
}

.note-cell {
  position: relative;
  margin-bottom: 2.5rem;
  transition: 350ms ease-in-out;
  overflow: hidden;
}

.note-cell.disappear {
  opacity: 0;
}

.note-cell header {
  position: relative;
}

.note-cell em {
  display: block;
  padding: 6px 0;
  font-size: 1.6rem;
  color: var(--rvTxt);
}

.note-cell p {
  padding: 4px 15px;
  font-size: var(--contentFS, 1.8rem);
  border-radius: 4px;
}

[contenteditable="true"] {
  border: 1px dotted #999;
  outline: none;
  min-height: 10rem;
}

.delete-note {
  margin-left: auto; 
  width: 7rem;
  height: 3.5rem;
  line-height: 3.5rem;
  font-size: 1.6rem;
  cursor: pointer;
  text-align: center;
  color: var(--delBgCol);
}

.delete-note > * {
  pointer-events: none;
}

.delete-note.hide {
  display: none;
}

.show-map {
  margin: 10px;
  font-size: 1.8rem;
  height: 45px;
  line-height: 45px;
  text-align: center;
  color: #ffffff;
  background: var(--rvTxt);
  border-radius: 6px;
  cursor: pointer;
}


.mapsbtn { 
  height: 4.5rem;
  font-size: 1.8rem;
  border: 2px solid var(--rvTxt);
  border-radius: 8px;
  cursor: pointer;
}

.mapsbtn.active {
  color: #fff;
  background: var(--rvTxt);
}

[data-type="applemaps"] {
  opacity: 0;
  pointer-events: none;
}

[data-type="applemaps"].show {
  opacity: 1;
  pointer-events: auto;
}

/* THEMES */

.themes-panel {
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap:25px;
}

.theme-sel {
  text-align: center;
  cursor: pointer;
}

.theme-sel > * {
  pointer-events: none;
}

.swatch {
  width: 100%;
  height: 1.2rem;
  border:1px solid #ccc;
}


.theme-sel h3 {
	position: relative;
  display: inline-block;
  font-size: 1.6rem;
}

.theme-sel.active h3:before {
  position: absolute;
  left: -18px;
  content: ' \2714';
}


   /*  ################### Start Preset Styles ######################  */ 

   .tab-control{
    position: fixed;
    bottom: 65px;
    left: 0;
    width: 100%;
    color: var(--rvTxt, #444444);
    background-color: var(--contentBg, #ffffff);
    z-index: 1000;
   }

   .tab-control li{
    width: 100%;
    height: 5.5rem;
    line-height: 5.5rem;
    text-align: center;
    color: var(--txtCol);
    background-color: var(--bgCol);
    border-bottom: 1px dotted var(--txtCol);
    cursor: pointer;
   }

   .tab-control li > * {
    pointer-events: none;
   }

   .tab-control li.active{
    color: var(--bgCol);
    background-color: var(--txtCol);
    border-radius: 0 0 8px 8px;
    transform: scaleY(1.05);
    transform-origin: center top;
   }

   .tab-control li:nth-child(1).active {
    border-radius: 0 0 8px 0;
   }

   .tab-control li:nth-child(3).active {
    border-radius: 0 0 0 8px;
   }

   .tab {
    margin: 0 auto;
    padding: 15px;
    width: 100%;
    max-width: 60rem;
    min-height: 100vh;
   }

   .clickable {
    cursor: pointer;
   }

   .clickable > * {
    pointer-events: none;
   }

  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    opacity: 0;
    transition: 350ms ease-in-out;
    pointer-events: none;
    overflow: hidden;
    z-index: 500;
  }

  .fadeIn {
    opacity: 1.0;
  }

  .confirm-box {
    width: 100%;
    max-width: 30rem;
    border-radius: 5px;
    text-align: center;
    overflow: hidden;
    color: var(--contentTxt, #333333);
    background-color: var(--contentBg, #ffffff);
  }

  .confirm-box header {
    padding: 1rem;
    color: var(--Ctxt, #666);
    background:#eee;
    font-size: 1.8rem;
  }

  .confirm-box p {
    padding: 3rem;
    font-size: 1.8rem;
    text-align: left;
  }


  .button-cntrl {
    padding: 0 25px;
    margin-bottom: 3.5rem;
    display: flex;
    justify-content: center;
    gap: 8px;
  }

  .button {
    padding: 8px 25px;
    width: 100%;
    border-radius: 6px;
    color: var(--Ctxt, #666);
    background: var(--Cbgr, #fff);
    border: var(--Cbdr);
    outline: none;
    font-size: 2.2rem; 
    cursor: pointer;
    pointer-events: auto; 
  }

  .button > * {
    pointer-events: none;
  }

  .message {
    position: absolute;
    top: -300px;
    left: 50%;
    min-width: 250px;
    transform: translateX(-50%);
    padding: 40px 20px 20px;
    color: var(--contentTxt,#444444);
    background-color: var(--contentBg,#ffffff);
    font-size: 1.8rem;
    text-align: center;
    border-radius: 0 0 9px 9px;
    transition: top 600ms ease-in-out;
    box-shadow: rgba(255, 255, 255, 0.35) 0px 5px 15px;
    z-index: 110;
  }

  .message.show {
    top: 0px;
  }

  .visually-hidden {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
  }
  /* Separate rule for compatibility, :focus-within is required on modern Firefox and Chrome */
  input.visually-hidden:focus + label {
    outline: thin dotted;
  }
  input.visually-hidden:focus-within + label {
    outline: thin dotted;
  }

  label{
    color: var(--rvTxt)
  }

  input[type=text], input[type=email] {
    display: block;
    width: 100%;
    padding: 8px 15px;
    color: var(--contentTxt,#444444);
    background-color: var(--contentBg,#ffffff);
    border: 2px solid var(--rvTxt);
    border-radius: 6px;
    outline: none;
  }

  input:-webkit-autofill {
    -webkit-box-shadow: inset 0 0 0px 9999px white;
  }

  input[type=text]::placeholder, input[type=email]::placeholder { color: #999999; }
  input[type=text]::-moz-placeholder, input[type=email]::-moz-placeholder { color: #999999; }
  

  input[type=checkbox] {
    width: 35px;
    height: 35px;
    accent-color: var(--rvTxt, #999999);
  }

  button {
    padding: 8px 25px;
    border-radius: 6px;
    color: var(--contentTxt,#444444);
    background-color: var(--contentBg,#ffffff);
    border: none;
    outline: none;
    font-size: var(--contentBFS, 1.8rem); 
    cursor: pointer;
    pointer-events: auto; 
  }

  button > * {
    pointer-events: none;
  }

  #searchbox {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--contentBg,#ffffff);
    border-bottom: 2px solid var(--statsBgCol);
    overflow: hidden;
    z-index: 1000;
  }

  #search {
    padding: 0 20px;
    width: 100%;
    color: var(--contentTxt,#444444);
    background-color: var(--contentBg,#ffffff);
    border: none;
    outline: none;
    border-radius: 0;
    font-size: 2.2rem;
  }
  #search:focus { border: none; outline: none; }
  #search::placeholder { color: #999999; }
  #search::-moz-placeholder { color: #999999; }
  
  [data-type="reveal-text"] {
    width: 4rem;
    opacity: 0;
    transition: opacity 350ms ease-in-out;
    background-color: inherit;
    cursor: pointer;
    pointer-events: none;
  }

  [data-type="reveal-text"]  > * {
    pointer-events: none;
  }

  [data-type="reveal-text"].reveal {
    opacity: 1;
    pointer-events: auto;
  }


  .selectdiv {
    position: relative;
    padding: 25px 15px 35px;
  }

  .selectdiv:after {
    content: '';
    color: var(--rvTxt);
    right: 30px;
    top: 66px;
    border-style: solid;
    border-width: 0.20em 0.20em 0 0;
    display: inline-block;
    height: 0.65em;
    width: 0.65em;
    transform: rotate(135deg);
    position: absolute;
    pointer-events: none;
  }

  .datecontainer .selectdiv:after {
    top: 42px;
  }

  select {
    padding: 10px 45px 10px 15px;
    max-width: 100%;
    color: var(--contentTxt);
    background-color: var(--contentBg);
    font-size: 2.2rem;
    appearance: none;
    overflow-wrap: anywhere;
    white-space: normal;
    -ms-word-break: normal;
    word-break: normal;
    border-radius: 6px;
    border: 2px solid var(--rvTxt);
  }

  select::-ms-expand {
    display: none;
  }

  
  #lang-sel {
    padding: 6px 12px;
    width: 100%;
    border: 2px solid var(--rvTxt);
    border-radius: 6px;
  }
  

   .cover { position: fixed; top: 0; left: 0; width: 100%; height: 100%; }
   .contain { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
   .abs-top { position: absolute; top: 0; left: 0; width: 100%; }
   .abs-bot { position: absolute; bottom: 0; left: 0; width: 100%; }
   .smooth-scroll { overflow-y: scroll; -webkit-overflow-scrolling: touch; }
   .no-scroll { overflow: hidden; }      
   .hidden { display: none; }

  .flex { display: -webkit-box; display: -ms-flexbox; display: flex; }
  .fl-col { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; }
  .fl-row { -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row; }
  .fl-wrap { -ms-flex-wrap:wrap; flex-wrap:wrap; }
  .fl-middle { -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; }      
  .fl-center { -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; }
  .fl-start { -ms-flex-line-pack: start; align-content: flex-start; }
  .fl-valign { -webkit-box-align: center; -ms-flex-align: center; align-items: center; }      
  .fl-bottom { -ms-flex-item-align: end; align-self: flex-end; }
  .fl-space-between { -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; }    
  .fl-space-around { -ms-flex-pack: distribute; justify-content: space-around; }
  .fl-right { -webkit-box-pack: end; -ms-flex-pack: end; justify-content: flex-end; }
  .fl1 { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; }

   /*  ###########################  End Preset Styles  ###########################  */ 

   #preload-spinner {
    background: hsl(205, 35%, 35%);
   }

   .lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
  }
  .lds-ellipsis div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #ededed;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
  }
  .lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
  }
  @keyframes lds-ellipsis1 {
    0% {
      transform: scale(0);
    }
    100% {
      transform: scale(1);
    }
  }
  @keyframes lds-ellipsis3 {
    0% {
      transform: scale(1);
    }
    100% {
      transform: scale(0);
    }
  }
  @keyframes lds-ellipsis2 {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(24px, 0);
    }
  }
  


@media all and (orientation:portrait) {

}

@media all and (orientation:landscape) {

  #wrapper {
    flex-direction: row;
  }
  
  .data-header{
    /* width: 2.5rem;
    height: 100%; */
    display: none;
  }

  #data-panel {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .data-footer{
    width: auto;
    height: 100%;
  }

  #menu {
    margin: 0;
    padding: 0 1.5rem 0 .5rem;
    height: 100%;
    flex-direction: column;
    justify-content: center;
  }

  .btn {
    margin-bottom: 1.2rem;
  }
}


@media (prefers-color-scheme: dark) {
  .modal-main {
    --contentTxt: #ffffff;
    --contentBg: #000000;
  }
  .overlay {
    background-color: rgba(255, 255, 255, .2);
  }
  .confirm-box {
    --contentTxt: #ffffff;
    --contentBg: #000000;
  }
  .rvz-index {
    --contentBg: #000000;
  }

  select {
    --contentTxt: #ffffff;
    --contentBg: #000000;
  }

  .dcu input {
    --contentTxt: #ffffff;
    --contentBg: #000000;
  }

}

@media (prefers-color-scheme: light) {
  .modal-main {
    --contentTxt: #444444;
    --contentBg: #ffffff;
  }
  .overlay {
    background-color: rgba(0, 0, 0, .5);
  }
  .confirm-box {
    --contentTxt: #333333;
    --contentBg: #ffffff;
  }
  .rvz-index {
    --contentBg: #ffffff;
  }

  select {
    --contentTxt: #333333;
    --contentBg: #ffffff;
  }

  .dcu input {
    --contentTxt: #333333;
    --contentBg: #ffffff;
  }
  
}


