body{
  -webkit-user-select: none; /* Chrome, Safari, Opera */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* Internet Explorer/Edge */
  user-select: none;  
}

.tt{
	font-family: Alegreya Sans SC;

}

.wjdt{
  height:  10px;
  width: 10px;
  position: absolute;
  bottom:  0;
  left:  0;
}

.tm{
    font-size: .5em;
}

.from{
  font-style: italic;
  margin-bottom: 0px;
  font-size: .5em;
  color: rgb(195, 195, 195);
}

.title-mediation-app{
  font-size: 12px;
  margin-bottom: 8px;
  /* margin-top: 2px; */
  letter-spacing: 3.5px;
  font-style: italic;
  color: rgb(195, 195, 195);
}

.tt-title{
  letter-spacing: 3.5px;
  font-size: .7em;
  margin-top: 3px;
  color: rgb(195, 195, 195);
}

.download-btn-container{
  width: 256px;
  margin: auto;
  border: 1.5px solid lightgrey;
  border-radius: 24px;
  margin-top: 96px;
}

.download-btn-container:active{
  background-color: rgb(239, 239, 239);
}

.download-btn-container:hover{
  background-color: rgb(239, 239, 239);
}

.download-btn-img{
  width: 215px;
  border-radius: 24px;
  padding-left: 5px;
  padding-right: 5px;
}


/* ---- Landing Page "Coming Soon" Popup ---- */

.launch-popup-overlay{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 500;
}

.launch-popup{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88%;
  max-width: 380px;
  background-color: #ffffff;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  z-index: 501;
  padding: 36px 28px 32px;
  text-align: center;
}

.launch-popup-close{
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 26px;
  color: rgb(180, 180, 180);
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}

.launch-popup-close:hover{
  color: rgb(100, 100, 100);
}

.launch-popup-logo{
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  border-radius: 14px;
}

.launch-popup-title{
  font-family: 'Alegreya Sans SC', sans-serif;
  font-size: 1.5em;
  color: rgb(60, 60, 60);
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.launch-popup-message{
  font-size: 0.95em;
  color: rgb(100, 100, 100);
  line-height: 1.6;
  margin-bottom: 20px;
}

.launch-popup-follow{
  font-size: 0.85em;
  color: rgb(140, 140, 140);
  margin-bottom: 8px;
}

.launch-popup-x-link{
  display: inline-block;
  font-size: 1.05em;
  font-weight: 600;
  color: rgb(90, 90, 90);
  text-decoration: none;
  padding: 10px 28px;
  border: 1.5px solid rgb(200, 200, 200);
  border-radius: 20px;
  transition: all 0.2s ease;
}

.launch-popup-x-link:hover{
  background-color: rgb(245, 245, 245);
  border-color: rgb(160, 160, 160);
  color: rgb(40, 40, 40);
  text-decoration: none;
}

.launch-popup-x-link:active{
  background-color: rgb(235, 235, 235);
}

/* ---- End Landing Popup ---- */


.repause-title{
  font-family: Apple SD Gothic Neo;
  font-style: initial;
  font-size: 2.85em;
  font-weight: 100;
  letter-spacing: 28px;
  margin-bottom: 0px;
}

.repause-letter{
  cursor: default;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.last-letter-spacing{
  letter-spacing: 0px;
}

body {
  background: #f6f6f6;
  color: grey;
  height: 100%;
  /* overflow: hidden;
  overscroll-behavior-y: none;
  overscroll-behavior:  none; */

}

.main-ttm-container{
  position: absolute;
  top:0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: auto;
  width: auto;
  scrollbar-width: none;
   -ms-overflow-style: -ms-autohiding-scrollbar;
   overscroll-behavior-y: none;
}



.main-ttm-container::-webkit-scrollbar{
  -webkit-appearance: none;
  display: none;
}


/*html {height:100%;}*/

h1, h2, h3, h4, h5, h6 {
  color: #444444;
}

@-moz-keyframes spin { 100% { -moz-transform: rotate(720deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(720deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(720deg); transform:rotate(720deg); } }

@-moz-keyframes reversespin { 100% { -moz-transform: rotate(-360deg); } }
@-webkit-keyframes reversespin { 100% { -webkit-transform: rotate(-360deg); } }
@keyframes reversespin { 100% { -webkit-transform: rotate(-360deg); transform:rotate(-360deg); } }

.icon-holder{
  width: 50px;
  height: 50px;
  background-color: blue;
  background-image: url("/static/images/gear-no-background.png");
}

.bg-steel {
  background-color: rgb(119, 119, 119);
}

.nav-tm{
  background-color: rgb(218, 218, 218);
}

.gear-box-container{
  position: fixed;
  right: 14px;
  z-index: 99;
}

.gear{
  width: 70px;
  z-index: 2;
}

.small-gear{
  margin-top: 41px;
  position: absolute;
  padding-left: -20px;
  left: 32px;
  width: 51px;
}

.gear-closed{
  -webkit-animation:spin 150ms linear 2;
  -moz-animation:spin 150ms linear 2;
  animation:spin 150ms linear 2;
}

.gear-open{
  -webkit-animation:reversespin 150ms linear 2;
  -moz-animation:reversespin 150ms linear 2;
  animation:reversespin 150ms linear 2;
}

.small-gear-closed{
  -webkit-animation:reversespin 150ms linear 2;
  -moz-animation:reversespin 150ms linear 2;
  animation:reversespin 150ms linear 2;  
}

.small-gear-open{
  -webkit-animation:spin 150ms linear 2;
  -moz-animation:spin 150ms linear 2;
  animation:spin 150ms linear 2;
}


/*.menu{
  position: absolute;
  width: 200px;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.69);
  color: white;
  top: 0;
  padding-top: 50px;
  border-left: 2px solid rgb(125, 125, 125);
  z-index: 3;
}
*/

.menu{
  position: absolute;
  width: 200px;
  height: 100vh;
/*  background-color: rgba(255, 255, 255, 0.95);*/
  background-color: rgba(16, 16, 16, 0.97);
  color: white;
  top: 0;
  padding-top: 50px;
  border-left: 2px solid rgb(48, 48, 48);
  z-index: 3;
}


.menu-closed{
  position: fixed;
  right: -100%;
  -webkit-transition: right 250ms linear;
  -moz-transition: right 250ms linear;
  transition: right 250ms linear;
}

.menu-open{
  position: fixed;
  right: 0px;
    -webkit-transition: right 250ms linear;
       -moz-transition: right 250ms linear;
            transition: right 250ms linear;
}

.menuScreen-off{
  display: none;
}

.menuScreen-on{
  position: fixed;
  width: 100%;
  height: 100%;
  display: block;
  background-color: rgba(52, 52, 52, 0.49);
  z-index: 2;
}

.playerScreen-on{
  position: fixed;
  background-color: rgba(255, 255, 255, 0.74);
  z-index: 99;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.ttm-menu-link{
/*  color: rgb(79, 79, 79)!important;*/
  color: rgb(220, 220, 220)!important;
  font-style: italic;
}

.prog-title{
  
  text-align: center;
  margin-bottom: 0.5rem!important;
}

.prog-statment{
  display: flex;
  margin: auto;
  margin-left: 10%;
  margin-right: 10%;
  margin-top: 0;
  justify-content: space-between;
}

.prog-statment > div:last-child{
  color: rgb(232, 232, 232);
}


.unlock-sess-icon{
  margin-top: .5px;
  width: 25px;
}

@media only screen and (max-width: 640px){
  .prog-statment{
    font-size: .75rem;
  }  
}



.home-container{
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  position: fixed;
  width: 97%;
  max-width: 555px;
  left: 0;
  top: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  height: 96%;
  border-radius: 10px;
  /* background-color: darkgrey; */
  margin-top: 6px;
}


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

.login-section{
  margin-bottom: 5%;
}

.login-form{
  display: flex;
  flex-direction: column;
  font-size: .75rem;
  width: 60%;
  margin: auto;
}

.ttm-input{
  border-radius: 1px;
   -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  border: 1px solid rgb(204, 204, 204);
  background-color: rgb(246, 246, 246)
}

.ttm-labels{
  margin-top: 8px;
  margin-bottom: 3px;
}

.ttm-submit{
  margin: auto;
  margin-top: 38px;
  width: 80px;
  background-color: rgb(255, 255, 255);
  color: grey;
  border: 1px solid rgb(223, 223, 223);
  border-radius: 2px;
}

.register-link{
  font-size: .7rem;
}



.content-section {
  padding: 10px 20px;
/*  border: 1px solid #323232;
  border-radius: 3px;*/
  margin-bottom: 20px;
}

.article-title {
  color: #444444;
}

a.article-title:hover {
  color: #428bca;
  text-decoration: none;
}

.article-content {
  white-space: pre-line;
}

.article-img {
  height: 65px;
  width: 65px;
  margin-right: 16px;
}

.article-metadata {
  padding-bottom: 1px;
  margin-bottom: 4px;
  border-bottom: 1px solid #e3e3e3
}

.article-metadata a:hover {
  color: #333;
  text-decoration: none;
}

.article-svg {
  width: 25px;
  height: 25px;
  vertical-align: middle;
}

.account-img {
  height: 125px;
  width: 125px;
  margin-right: 20px;
  margin-bottom: 16px;
}

.account-heading {
  font-size: 2.5rem;
}





/************** TTM Audio Player **********/


.session-number{
  color: rgb(160, 160, 160);
}


.audiobox{
  height: 33%;
}

.audiobox-top{
  margin-top: 14px;
  height: 15%;
  margin-bottom: 5px;

}

.audiobox-middle{
  height: 50%;
}

.audiobox-bottom{
  margin-top: 5px;
  width: 100%;
  margin: auto;
  bottom: 0px;
  position: absolute;
  height: 20%;
}



.audio-player{
  margin: auto;
  /*margin-top: 5%;*/
  height: 280px;
  border: 3px solid rgb(140, 140, 140);
  
  height: 220px;
  width: 220px;
  border-radius: 153px;
  background-color: rgb(14, 14, 14);
  margin-top: 4px;
  transform: rotate(-90deg);
}

.button-container{
  margin-top: 38%;
/*  margin-left: 92.5px;*/

      margin-left: 43%;

}

.play-button{
  height: 0;
  border-top: 25px solid transparent;
  border-left: 50px solid rgb(200, 200, 200);
  border-bottom: 25px solid transparent;
  margin: auto;
  width: 50%;
  margin-left: 0;
  cursor: pointer;
}

.pause-button{
  height: 45px;
  width: 30px;
  border-left: 5px solid rgb(210, 210, 210);
  border-right: 5px solid rgb(210, 210, 210);
  margin-left: 2px;
  cursor: pointer;
}


.track-circle{
  margin: auto;
  height: 280px;
  border: 3px solid rgb(120, 120, 120);
  height: 235px;
  width: 235px;
  border-radius: 153px;
  transform: rotate(90deg);
  /*background: conic-gradient(#ab3e5b calc(var(--p)*1%), #ef746f 0%);*/
}

.track-time{
  margin-top: 10%;
}


input.volume-slider{
  width: 45%;
  margin-top: 7%;
  -webkit-appearance: none;
  height: 3px;
  background: rgb(64, 64, 64);  
}

.volume-slider::-webkit-slider-thumb  {
  -webkit-appearance:none;
  appearance: none;
  width: 17px;
  height: 17px;
  border-radius: 10px;
  background: rgb(200, 200, 200) !important;
  cursor:pointer;
}


/************** end of TTM Audio Player *********/


/***************** TTM timer sections ***********/

.timer-page-title{
  padding-top: 3%;  
  color: rgb(161, 161, 161);
}

.selected-time{
  height: 14%;
  margin: auto;
  font-size: 5rem;
  font-family: Alegreya Sans SC;
  margin-top: 2%;
  color: rgb(101, 101, 101);
}


.timer-cage-bottom-spacer{
  height: 62%;
  width: 100%;
  max-width:  600px;
  position: fixed;
  bottom: 0;
  left: 0;
  right:  0;
  margin:  auto;
}

.randomizer-cage{
  height:  52%;
}

.timer-slider::-webkit-scrollbar {
  display: none;
}
/*
.timer-slider{
  display: flex;
  overflow-x: scroll;
  width: 60%;
    margin: auto;
  padding-right: 300px;
  padding-left: 300px;
  margin-left: -300px;
  

  height: 100px;
  scroll-snap-type: mandatory; 
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  scrollbar-width: none;
  
}
*/

/*.clearfix:before,
.clearfix:after{
  content: ".";
  display: block;
  height: 0;
  overflow:hidden;
}

.clearfix:after{
  clear:both;
}*/
/*.clearfix { zoom: 1; }*/

.timer-segment{
  height: 10px;
  width: 2px;
  margin: auto;
  background-color: rgb(115, 114, 114);
    scroll-snap-align: center;
  /*border-left: 2px solid grey;*/
  /*margin: auto;*/
  flex-shrink: 0;
   -webkit-transition: height 70ms ease;
    -moz-transition: height 70ms ease;
      -o-transition: height 70ms ease;
     -ms-transition: height 70ms ease;
         transition: height 70ms ease;

    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);           
}

.first-seg{
  margin-left: 0px;
}

.last-seg{
  margin-right: 0px;
}

.seg-none{
  height: 0px;
}


.seg-primary{
  /*height: 250px;*/
  height:  210px;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);  


   -webkit-transition: height 0ms ease;
    -moz-transition: height 0ms ease;
      -o-transition: height 0ms ease;
     -ms-transition: height 0ms ease;
         transition: height 0ms ease;    
}

.seg-big{
  height: 80px;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);   
}



.seg-med{
  height: 30px;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);   
}

.xxxx{
  background-color: red;
}

.timer-ticker{
background-color: rgba(0, 0, 255, 0.0);
height: 108px;
width: 11px;
margin: auto;
position: absolute;
margin-left: 50%;
margin-right: 50%;
}

.timer-segment > div {
  scroll-snap-align: center;
}


.left-padding-timer-slider{
/* padding-left: 300px;*/
}

.right-padding-timer-slider{
  padding-right: 300px;
}

.timer-design-block-left{
  height: 45px;
  width: 50%;
  background-color: #f6f6f6;
  position: absolute;
  border-bottom-right-radius: 55px;
  border: 1px solid grey;
}

.timer-design-block-right{
  height: 45px;
  width: 50%;
  right: 0;
  background-color: #f6f6f6;
  position: absolute;
  border-bottom-left-radius: 55px;
  border: 1px solid grey;
}

.slider-segment-container{
  display: flex;
  width: 80%;
  max-width: 500px;
  position: absolute;
  height: 27vh;
  left: 0; 
  right: 0; 
  margin-left: auto; 
  margin-right: auto;   
}



.slider-container{
  position: relative;
}


.begin-timer-btn{
  width: 60px;
  height: 60px;
  border-radius: 52px;
  border: 2px solid rgb(115, 114, 114);
  position: absolute;
  bottom: 12%;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
}


.inner-timer-btn{
  width: 48px;
  height: 48px;
  border-radius: 30px;
  /*background-color: rgba(46, 46, 46, 0.27);*/
  background-color: rgb(101, 101, 101);
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

input::-webkit-slider-thumb{
  -webkit-appearance:  none!important;
}


input[type="range"]{
  -webkit-appearance:  none!important;
}

::-webkit-slider-thumb{
 -webkit-appearance:  none!important; 
}

input[type="range"]::-webkit-slider-thumb, input[type="range"]::-webkit-slider-thumb:active{
  -webkit-appearance: none !important;
  -webkit-box-shadow: none!important;
  box-shadow: none!important;
  background-color: rgba(196, 191, 191, 0.0);
/*  background-color: red;
  border-color:  green;
  background:  red!important;*/
}

input[type="range"].timer-slider {
  -webkit-appearance: none!important; /* Hides the slider so that custom slider can be made */
  width: 80%; /* Specific width is required for Firefox. */
  max-width: 500px;
  height: 20vh;
  position: absolute;
  background: rgba(196, 191, 191, 0.0)!important; /* Otherwise white in Chrome */
  top: 49px;
  left: 0; 
  right: 0; 
  margin-left: auto; 
  margin-right: auto;   
}

.timer-slider::-webkit-slider-thumb{
  -webkit-appearance: none;
  -webkit-border: 1px solid rgba(183, 193, 172, .0)!important; 
  -webkit-background-color: rgba(183, 193, 172, .0)!important;  
  -webkit-box-shadow: none!important;    
}

input[type=range].timer-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  -webkit-border: 1px solid rgba(183, 193, 172, .0)!important; 
  -webkit-background-color: rgba(183, 193, 172, .0)!important;  
  -webkit-box-shadow: none!important;  
}

input[type=range].timer-slider:focus {
  outline: none; /* Removes the blue border. You should probably do some kind of focus styling for accessibility reasons though. */
}

input[type=range].timer-slider::-ms-track {
  width: 100%;
  cursor: pointer;

  /* Hides the slider so custom styles can be added */
  background: transparent; 
  border-color: transparent;
  color: transparent;
}



input[type=range].timer-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
/*  border: 1px solid darkgrey;
  height: 200px;
  width: 3px;
*/
  -webkit-border: 1px solid rgba(183, 193, 172, .0); 
  -webkit-background-color: rgba(183, 193, 172, .0);  
  -webkit-box-shadow: none;
  background-color: rgba(183, 193, 172, .0);;
/*  margin-top: 150px;
  padding-bottom:  159px;  */
  height:  .5vh;
  width: .1%;
  transform:  scale(80, 80);

  border-radius: 3px;
  /*background: darkgrey;*/
  cursor: pointer;
  margin-top: ; /* You need to specify a margin in Chrome, but in Firefox and IE it is automatic */
}


input[type=range].timer-slider::-moz-range-thumb {
  -webkit-appearance: none;
  /*border: 1px solid darkgrey;
  border: 1px solid rgba(183, 193, 172, .0);   */
  border: 1px solid rgba(183, 193, 172, .0);   
/*  margin-top: 150px;
  padding-bottom:  159px;  */
  height:  .5vh;
  width: .1%;
  transform:  scale(80, 80);
  border-radius: 3px;
  /*background: darkgrey;*/
  cursor: pointer;
}

/* All the same stuff for IE */
input[type=range].timer-slider::-ms-thumb {
  -webkit-appearance: none;
/*  border: 1px solid darkgrey;*/
  border: 1px solid rgba(183, 193, 172, .0);   
/*  margin-top: 150px;
  padding-bottom:  159px;  */
  height:  .5vh;
  width: .1%;
  transform:  scale(80, 80);
  border-radius: 3px;
  cursor: pointer;
}


/******************* End of Timer Section **********/


/*******************Randomizer **************/


.timer-flex-cage{
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.random-sliders-container{
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.white-block-hack-1{
  width: 100%;
  position: absolute;
  background-color: #f6f6f6;
  height: 45px;  
  z-index:  2;
}

.white-block-hack-2{
  width: 100%;
  position: absolute;
  background-color: #f6f6f6;
  height: 45px;  
  bottom: 0;
  z-index:  2;
}


.first-seg-rando{
  margin-left: 0px;
}

.last-seg-rando{
  margin-right: 0px;
}

.seg-none-rando{
  height: 0px;
}

.seg-primary-rando{
  height: 250px;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);  


   -webkit-transition: height 0ms ease;
    -moz-transition: height 0ms ease;
      -o-transition: height 0ms ease;
     -ms-transition: height 0ms ease;
         transition: height 0ms ease;    
}

.seg-big-rando{
  height: 100px;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);  
}

.seg-med-rando{
  height: 60px;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);  
}



.randomizer-slider-segment-container{
  display: flex;
  width: 80%;
  max-width: 500px;
  position: absolute;
  height: 100px;
  margin-left: auto; 
  margin-right: auto;   
}

.randomizer-1{
  transform:  rotate(-90deg);
  left: -23%;
}

.randomizer-2{
  transform: rotateZ(-90deg) rotateX(180deg);  
  right:  -23%;
}

input[type=range].timer-slider-rando-1 {
  -webkit-appearance: none!important; /* Hides the slider so that custom slider can be made */
  width: 80%; /* Specific width is required for Firefox. */
  max-width: 500px;
  height: 2px;
  position: absolute;
  background: rgba(196, 191, 191, 0.0); /* Otherwise white in Chrome */
  top: 49px;
  margin-left: auto; 
  margin-right: auto;   
  box-shadow: none!important;
}

input[type=range].timer-slider-rando-2 {
  -webkit-appearance: none!important; /* Hides the slider so that custom slider can be made */
  width: 80%; /* Specific width is required for Firefox. */
  max-width: 500px;
  height: 2px;
  position: absolute;
  background: rgba(196, 191, 191, 0.0); /* Otherwise white in Chrome */
  top: 49px;
  margin-left: auto; 
  margin-right: auto; 
  box-shadow: none!important;  
}

input[type=range].timer-slider-rando-1::-webkit-slider-thumb {
  -webkit-appearance: none!important;
  box-shadow: none!important;
}

input[type=range].timer-slider-rando-1:focus {
  outline: none; /* Removes the blue border. You should probably do some kind of focus styling for accessibility reasons though. */
}

input[type=range].timer-slider-rando-1::-ms-track {
  width: 100%;
  cursor: pointer;

  /* Hides the slider so custom styles can be added */
  background: transparent; 
  border-color: transparent;
  color: transparent;
}



input[type=range].timer-slider-rando-1::-webkit-slider-thumb {
  -webkit-appearance: none!important;
  border: 1px solid rgba(183, 193, 172, 0); 
  height: .5%;
  width:  .1%;
  margin-top: 15px;
  padding-bottom: 15px;
  box-shadow: none!important;
  /*width: 61px;*/
  border-radius: 3px;
  /*background: rgba(255, 255, 255, .0);*/
  /*background-image: vertical-gradient(90deg, rgba(255, 255, 255, .4), darkgrey, rgba(255, 255, 255, .4));*/
  transform:  scale(80, 17);
  cursor: pointer;
  /*margin-top: ;*/ /* You need to specify a margin in Chrome, but in Firefox and IE it is automatic */
}


input[type=range].timer-slider-rando-1::-moz-range-thumb {
  -webkit-appearance: none!important;
  /*border: 1px solid darkgrey;*/
  border: 1px solid rgba(183, 193, 172, 0);   
  margin-top: 150px;
  padding-bottom:  159px;  
  height:  .5%;
  width: .1%;
  transform:  scale(80, 17);
  border-radius: 3px;
  cursor: pointer;
  box-shadow: none!important;
}

/* All the same stuff for IE */
input[type=range].timer-slider-rando-1::-ms-thumb {
  -webkit-appearance: none!important;
  /*border: 1px solid darkgrey;*/
  border: 1px solid rgba(183, 193, 172, 0); 
  margin-top: 150px;
  padding-bottom: 159px;
  width: 3px;
  height:  .5%;
  width: .1%;
  transform:  scale(80, 17);  
  border-radius: 3px;
/*  background: darkgrey;*/
  cursor: pointer;
  box-shadow: none!important;
}



input[type=range].timer-slider-rando-2::-webkit-slider-thumb {
  -webkit-appearance: none!important;
  box-shadow: none!important;
}

input[type=range].timer-slider-rando-2:focus {
  outline: none; /* Removes the blue border. You should probably do some kind of focus styling for accessibility reasons though. */
}

input[type=range].timer-slider-rando-2::-ms-track {
  width: 100%;
  cursor: pointer;

  /* Hides the slider so custom styles can be added */
  background: transparent; 
  border-color: transparent;
  color: transparent;
}



input[type=range].timer-slider-rando-2::-webkit-slider-thumb {
  -webkit-appearance: none;
  border: 1px solid rgba(27, 163, 156, 0);
  box-shadow: none!important;
  height: .5%;
  width:  .1%;
  transform:  scale(80, 17);
  margin-top: 15px;
  padding-bottom: 15px;
  /*width: 61px;*/
  border-radius: 3px;
  /*background: rgba(255, 255, 255, .0);*/
  /*background-image: vertical-gradient(90deg, rgba(255, 255, 255, .4), darkgrey, rgba(255, 255, 255, .4));*/
  cursor: pointer;  
}


input[type=range].timer-slider-rando-2::-moz-range-thumb {
  -webkit-appearance: none;
  /*border: 1px solid darkgrey;*/
  border: 1px solid rgba(27, 163, 156, 0);
  box-shadow: none!important;
  margin-bottom: 150px;
  padding-top:  159px;  
  height: .5%;
  width:  .1%;
  transform:  scale(80, 17);  
  border-radius: 3px;
  /*background: darkgrey;*/
  cursor: pointer;
}

/* All the same stuff for IE */
input[type=range].timer-slider-rando-2::-ms-thumb {
  -webkit-appearance: none;
  /*border: 1px solid darkgrey;*/
  border: 1px solid rgba(27, 163, 156, 0);
  box-shadow: none!important;
  margin-bottom: 150px;
  padding-top:  159px;  
  height: .5%;
  width:  .1%;
  transform:  scale(80, 17);
  border-radius: 3px;
  /*background: darkgrey;*/
  cursor: pointer;
}


@media only screen and (min-width: 600px){


  input[type=range].timer-slider-rando-1::-webkit-slider-thumb {
    transform:  scale(80, 24);
  }


  input[type=range].timer-slider-rando-1::-moz-range-thumb {
    transform:  scale(80, 24);
  }

  /* All the same stuff for IE */
  input[type=range].timer-slider-rando-1::-ms-thumb {
    transform:  scale(80, 24);  
  }


  input[type=range].timer-slider-rando-2::-ms-track {
    transform:  scale(80, 24);    
  }



  input[type=range].timer-slider-rando-2::-webkit-slider-thumb {
    transform:  scale(80, 24);
  }


  input[type=range].timer-slider-rando-2::-moz-range-thumb {
    transform:  scale(80, 24);  
  }

  /* All the same stuff for IE */
  input[type=range].timer-slider-rando-2::-ms-thumb {
    transform:  scale(80, 24);
  }

}


@media only screen and (max-width: 600px){


  input[type=range].timer-slider-rando-1::-webkit-slider-thumb {
    transform:  scale(80, 22);
  }


  input[type=range].timer-slider-rando-1::-moz-range-thumb {
    transform:  scale(80, 22);
  }

  /* All the same stuff for IE */
  input[type=range].timer-slider-rando-1::-ms-thumb {
    transform:  scale(80, 22);  
  }


  input[type=range].timer-slider-rando-2::-ms-track {
    transform:  scale(80, 22);    
  }



  input[type=range].timer-slider-rando-2::-webkit-slider-thumb {
    transform:  scale(80, 22);
  }


  input[type=range].timer-slider-rando-2::-moz-range-thumb {
    transform:  scale(80, 22);  
  }

  /* All the same stuff for IE */
  input[type=range].timer-slider-rando-2::-ms-thumb {
    transform:  scale(80, 22);
  }

}


@media only screen and (max-width: 550px){


  input[type=range].timer-slider-rando-1::-webkit-slider-thumb {
    transform:  scale(80, 20);
  }


  input[type=range].timer-slider-rando-1::-moz-range-thumb {
    transform:  scale(80, 20);
  }

  /* All the same stuff for IE */
  input[type=range].timer-slider-rando-1::-ms-thumb {
    transform:  scale(80, 20);  
  }


  input[type=range].timer-slider-rando-2::-ms-track {
    transform:  scale(80, 20);    
  }



  input[type=range].timer-slider-rando-2::-webkit-slider-thumb {
    transform:  scale(80, 20);
  }


  input[type=range].timer-slider-rando-2::-moz-range-thumb {
    transform:  scale(80, 20);  
  }

  /* All the same stuff for IE */
  input[type=range].timer-slider-rando-2::-ms-thumb {
    transform:  scale(80, 20);
  }

}


@media only screen and (max-width: 500px){


  input[type=range].timer-slider-rando-1::-webkit-slider-thumb {
    transform:  scale(80, 18);
  }


  input[type=range].timer-slider-rando-1::-moz-range-thumb {
    transform:  scale(80, 18);
  }

  /* All the same stuff for IE */
  input[type=range].timer-slider-rando-1::-ms-thumb {
    transform:  scale(80, 18);  
  }


  input[type=range].timer-slider-rando-2::-ms-track {
    transform:  scale(80, 18);    
  }



  input[type=range].timer-slider-rando-2::-webkit-slider-thumb {
    transform:  scale(80, 18);
  }


  input[type=range].timer-slider-rando-2::-moz-range-thumb {
    transform:  scale(80, 18);  
  }

  /* All the same stuff for IE */
  input[type=range].timer-slider-rando-2::-ms-thumb {
    transform:  scale(80, 18);
  }

}

@media only screen and (max-width: 450px){


  input[type=range].timer-slider-rando-1::-webkit-slider-thumb {
    transform:  scale(80, 16);
  }


  input[type=range].timer-slider-rando-1::-moz-range-thumb {
    transform:  scale(80, 16);
  }

  /* All the same stuff for IE */
  input[type=range].timer-slider-rando-1::-ms-thumb {
    transform:  scale(80, 16);  
  }


  input[type=range].timer-slider-rando-2::-ms-track {
    transform:  scale(80, 16);    
  }



  input[type=range].timer-slider-rando-2::-webkit-slider-thumb {
    transform:  scale(80, 16);
  }


  input[type=range].timer-slider-rando-2::-moz-range-thumb {
    transform:  scale(80, 16);  
  }

  /* All the same stuff for IE */
  input[type=range].timer-slider-rando-2::-ms-thumb {
    transform:  scale(80, 16);
  }

}



@media only screen and (max-width: 390px){


  input[type=range].timer-slider-rando-1::-webkit-slider-thumb {
    transform:  scale(80, 15);
  }


  input[type=range].timer-slider-rando-1::-moz-range-thumb {
    transform:  scale(80, 15);
  }

  /* All the same stuff for IE */
  input[type=range].timer-slider-rando-1::-ms-thumb {
    transform:  scale(80, 15);  
  }


  input[type=range].timer-slider-rando-2::-ms-track {
    transform:  scale(80, 15);    
  }



  input[type=range].timer-slider-rando-2::-webkit-slider-thumb {
    transform:  scale(80, 15);
  }


  input[type=range].timer-slider-rando-2::-moz-range-thumb {
    transform:  scale(80, 15);  
  }

  /* All the same stuff for IE */
  input[type=range].timer-slider-rando-2::-ms-thumb {
    transform:  scale(80, 15);
  }

}


@media only screen and (max-width: 350px){


  input[type=range].timer-slider-rando-1::-webkit-slider-thumb {
    transform:  scale(80, 13);
  }


  input[type=range].timer-slider-rando-1::-moz-range-thumb {
    transform:  scale(80, 13);
  }

  /* All the same stuff for IE */
  input[type=range].timer-slider-rando-1::-ms-thumb {
    transform:  scale(80, 13);  
  }


  input[type=range].timer-slider-rando-2::-ms-track {
    transform:  scale(80, 13);    
  }



  input[type=range].timer-slider-rando-2::-webkit-slider-thumb {
    transform:  scale(80, 13);
  }


  input[type=range].timer-slider-rando-2::-moz-range-thumb {
    transform:  scale(80, 13);  
  }

  /* All the same stuff for IE */
  input[type=range].timer-slider-rando-2::-ms-thumb {
    transform:  scale(80, 13);
  }

}

/****************End of Randomizer **********/



/********** Tinkered Q Custom ***********/

.fixed-top{
	top: none!important;
	bottom: 0;
}


.form-edit{
	background-color: white;
	color: lightgrey;
}

a:hover{
	color: #1aa8bf;
}

a{
	color: #1aa8bf;
}

.topic-form-wrapper{
  margin: auto;
  display: flex;
  justify-content: center;
  text-align: center;
}

.topic-input-box{
  width: 80%;
  margin: auto;  
  padding: 3px;
  display: block;
  background-color: rgb(70, 70, 70);
  color: #747474;
  border:none;
  margin-bottom: 5px;
}


input:focus,
select:focus,
textarea:focus,
button:focus{
  outline: none!important;
}


.topic-input-form{
  width: 80%;
}


.submit-btn{
  background-color: darkgrey;
    border:none;
}

.app-image{
  width: 56%;
  margin: 10%;
  min-width: 150px;
}

.get-started{
  max-width: 700px;
  padding-top: 10px;
  display: block;
  width: 80%;
  margin: auto;
   max-width: 388px; 
  padding: 10px;
  background-color: rgb(210, 210, 210);
  border-radius: 44px;
  border: 1px solid rgb(181, 181, 181);
  margin-top: 2vh;
  text-align: center;
  color: rgb(46, 46, 46);
}

.get-started-progress-version{
  background-color: rgb(30, 30, 30);
  border: 1px solid rgb(90, 90, 90);
  color: rgb(220, 220, 220);
}





/*.badge-container{
  display: flex;
  justify-content: space-between;
  margin: auto;
  margin-left: 10%;
  margin-right: 10%;
  background-color: rgb(85, 85, 85);
  width: 80%;
  border-radius: 51px;
  margin-top:5px;
}*/


.bracket{
  width: 60%;
  height: 18px;
  border-top: 1.5px solid grey;
  border-left: 1.5px solid grey;
  border-right: 1.5px solid grey;
  margin-left: 2%;
  margin-right: 2%;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  margin-bottom: -9px;
}

.bracket-line{
  margin: auto;
  height: 5px;
  width: 1px;
  background-color: grey;
}

.prog-cat{
  font-size: .7rem;
  text-align: center;
}


.badge-container{
margin: auto;
/* margin-left: 10%; */
/* margin-right: 10%; */
/* background-color: rgb(85, 85, 85); */
width: 80%;
border-radius: 51px;
margin-top: 5px;
text-align: center;
display: flex;
flex-direction: column-reverse;
align-items: center;
margin-left: 2%;
margin-right: 2%;
}

.ttm-badge{
display: inline-block;
font-size: .8em;
/* font-weight: 700; */
line-height: 1;
text-align: center;
white-space: nowrap;
vertical-align: baseline;
background-color: rgb(24, 24, 24);
border-radius: 100px;
transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
height: 42px;
width: 42px;
border: 2px solid grey;
margin: 5px;
/* padding: 13px; */
padding-top: 13px;
/* background-color: rgb(61, 61, 61); */
}



.progress-lock{
  padding-left: 7.5px;
}

.progress-lock-badge{
  padding-top: 7px;
}




.my-prog-page-container{
  background-color: rgb(18, 18, 18);
  height: 100%;
  padding-top: 2%;
}

.my-prog-page-container .timer-page-title{
  color: rgb(190, 190, 190);
}


.momentum-dot{
  width:  1em;
  height:  1em;
  border-radius: 20px;
  background-color: rgb(123, 0, 135);
  border:  1px solid grey;
}

.momentum-prog-word{
  /*color: rgb(176, 61, 196);*/
  color: inherit;
  font-style: italic;
}

.momentum-gauge-container{
  max-width: 500px;
  width: 80%;
  height: 17px;
  margin:  auto;
  margin-bottom: 2vh;
}

.momentum-gauge{
  height: 17px;
  width: 99%;
  border: 2px solid rgb(76, 75, 77);
  border-radius: 10px;
  margin: auto;
}

.full-momentum{
/*  background: radial-gradient(circle at center, white 0, white, gold 100%);
  color: rgb(45, 45, 45);
  border: 2px solid rgb(129, 129, 129);*/
  /*box-shadow: 0px 0px 9px rgb(219, 207, 34);*/
  box-shadow: 0 0 6px rgb(255, 255, 255);
  animation-name: gaugeShadow;
  animation-duration: 10s;
  animation-iteration-count: infinite;
}


@keyframes gaugeShadow   {
  0%{box-shadow: 0 0 9px rgb(255, 255, 255);}
  50% {box-shadow: none;}
  100% {box-shadow: 0 0 9px rgb(255, 255, 255);}
}

.badge-slide-wrapper{
  max-width: 500px;
  width: 80%;
  margin: auto;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: border-color 0.4s ease;
}

.badge-slide-wrapper.badge-slide-active{
  border-color: rgba(150, 150, 150, 0.45);
}

.badge-hidden-content{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgb(25, 25, 25);
  z-index: 1;
}

.badge-hidden-label{
  color: rgba(161, 161, 161, 0.6);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.badge-hidden-date{
  color: rgb(200, 200, 200);
  font-size: 0.95rem;
}

.countdown-label{
  margin-top: 10px;
}

.badge-countdown{
  color: rgb(220, 220, 220);
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
}

.badge-countdown.countdown-expired{
  color: rgb(200, 80, 80);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.parent-badge-container{
  max-width: 500px;
  padding-top: 10px;
  display: flex;
  width: 100%;
  padding: 10px;
  background-color: rgb(30, 30, 30);
  border: 1px solid rgb(90, 90, 90);
  border-radius: 8px;
  position: relative;
  z-index: 2;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: pan-x;
  transition: transform 0.3s ease, border-color 0.4s ease;
}

.parent-badge-container.badge-lifted{
  border-bottom-color: rgba(150, 150, 150, 0.45);
}

.revive-box{
  max-width: 700px;
  padding-top: 10px;
  display: relative;
  width: 80%;
  margin: auto;
  /* max-width: 388px; */
  padding: 10px;
  background-color: rgba(221, 221, 221, 0.49);
  position: absolute;
  height: 55%;
}

.revive-prog{
  width: 80px;
  height: 80px;
  border: 2px solid rgb(226, 218, 179);
  border-radius: 50px;
  font-size: .5rem;
  position: absolute;
  color: white;
  bottom: 10px;
  background-color: rgb(78, 0, 0);
  right: 14px;
}

@media only screen and (min-width: 375px){

  .parent-badge-container{
    padding-left: 0;
    padding-right: 0;
  }  

}

@media only screen and (max-width: 450px){
  .repause-title {
    font-size: 1.85em;
    margin-bottom: 20px;
  }
}

@media only screen and (max-width: 400px){
  .download-btn-container{
    margin-top: 44px;
  }
}

@media only screen and (max-width: 350px){
  .repause-title {
    font-size: 1.6em;
    margin-bottom: 30px;
    letter-spacing: 23px;
  }

  .title-mediation-app {
    font-size: 8px;
  }

  .from{
    font-size: .4em;
  }

  .tt-title{
    font-size: .6em;
  }

  .download-btn-img{
    font-size: .6em;
  }

  .download-btn-container{
    width: 207px;
    margin-top: 46px;
  }

  .app-image{
    margin-top: 0px;
  }
}


@media only screen and (min-width: 640px){
  .revive-box{
    width: 50%;
  }

}






/***** badge scheme ********/


.month-1{
  background-color: rgb(85, 85, 85);
  color: rgb(38, 38, 38);
  border: 2px solid rgb(59, 59, 59)!important;
}


.month-2{
  background-color: rgb(46, 46, 46);
  /*background-color: rgb(85, 85, 85);*/
  color: rgb(237, 237, 237);
  border: 2px solid rgb(173, 173, 173)!important;
}

.month-3{
/*background-color: rgb(119, 119, 119);
color: rgb(195, 195, 195);
border: 2px solid rgb(212, 212, 212)!important;*/
  background-color: rgb(189, 189, 189);
  /*color: rgb(212, 212, 212);*/
  color: rgb(40, 40, 40);
  border: 2px solid rgb(91, 91, 91)!important;
}

.month-4{
  /*background-color: rgb(199, 199, 199);
  color: rgb(75, 75, 75);
  border: 2px solid rgb(99, 99, 99);*/
  background-color: rgb(125, 125, 125);
  color: rgb(230, 230, 230);
  border: 2px solid rgb(212, 212, 212);  
}

.month-5{
/*  background-color: rgb(255, 255, 255);
  color: rgb(22, 22, 22);
  border: 2px solid rgb(50, 49, 49);*/
  background-color: rgb(0, 0, 0);
  color: rgb(255, 255, 255);
  border: 2px solid rgb(219, 219, 219);  

}

.month-6{
/* background-color: rgb(255, 255, 255); */
background: radial-gradient(circle at center, white 0, white, gold 100%);
color: rgb(45, 45, 45);
border: 2px solid rgb(129, 129, 129);
box-shadow: 0px 0px 9px rgb(219, 207, 34);
    animation-name: shadow;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

@keyframes shadow   {
  0%{box-shadow: 0px 0px 20px rgb(219, 207, 34);}
  50% {box-shadow: none;}
  100% {box-shadow: 0px 0px 20px rgb(219, 207, 34);}
}

@-webkit-keyframes shadow   {
  0%{box-shadow: 0px 0px 20px rgb(219, 207, 34);}
  50% {box-shadow: none;}
  100% {box-shadow: 0px 0px 20px rgb(219, 207, 34);}
}


.month-7 {
/*background-color: rgb(255, 255, 255);
color: rgb(68, 68, 68);
border: 1px solid rgb(255, 253, 187);
*/
color: rgb(255, 254, 231);
border: 2px solid rgb(129, 129, 129);
box-shadow: 0px 0px 9px rgb(219, 207, 34);

}


.month-8{
  background-color: rgb(184, 184, 184);
  color: rgb(65, 64, 64);
  border: 2px solid rgb(88, 88, 88)!important;
}



.month-12{
    background: radial-gradient(circle at center, white 0, white, gold 100%);
  color: rgb(45, 45, 45);
  border: 2px solid rgb(129, 129, 129);
  /*box-shadow: 0px 0px 9px rgb(219, 207, 34);*/
    animation-name: shadow;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-delay: .75s;
}


.eclipse{
  color: rgb(255, 254, 231);
border: 2px solid rgb(129, 129, 129);
box-shadow: 0px 0px 9px rgb(219, 207, 34);
}

.month-24{
  /****EXCLIPS****/
  /* background-color: rgb(255, 255, 255); */
/* background: radial-gradient(circle at center, white 0, white, gold 100%); */
  background: radial-gradient(circle at center, white 0, white, gold 100%);
  color: rgb(45, 45, 45);
  border: 2px solid rgb(129, 129, 129);
  /*box-shadow: 0px 0px 9px rgb(219, 207, 34);*/
    animation-name: shadow;
  animation-duration: 2s;
  animation-iteration-count: infinite;

}




.year-1{
  background: radial-gradient(circle at center, white 0, white, gold 100%);
  color: rgb(45, 45, 45);
  border: 2px solid rgb(129, 129, 129);
  /*box-shadow: 0px 0px 9px rgb(219, 207, 34);*/
    animation-name: shadow;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

.year-2{
  background: radial-gradient(circle at center, white 0, white, gold 100%);
  color: rgb(45, 45, 45);
  border: 2px solid rgb(129, 129, 129);
  /*box-shadow: 0px 0px 9px rgb(219, 207, 34);*/
    animation-name: shadow;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}



/**************************/

/******* posture page ******/


.posture-page-backdrop{
  position: fixed;
  top:  0;
  bottom:  0;
  width:  100%;
  background-color: rgb(18, 18, 18);
  z-index: -1;
}

.posture-page-container{
  margin: auto;
  background-color: rgb(18, 18, 18);
  color: rgb(200, 200, 200);
  font-family: 'Alegreya', serif;
  padding-top:  50px;
  padding-bottom:  80px;
  top:  -50px;
}


.posture-page-title{
  text-align: center;
  margin:  auto;
  color: rgb(190, 190, 190);
  font-family: 'Alegreya Sans SC', sans-serif;
  letter-spacing: 0.14em;
}

.posture-img{
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 4px auto 8px;
}


.posture-img-title{
  text-align: center;
  font-style: italic;
  color: rgb(220, 220, 220);
  font-size: 1.15rem;
  line-height: 1.35;
}


.posture-description{
  text-align: left;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgb(178, 178, 178);
}

.posture-img-container{
  margin: 32px auto;
  text-align: center;
  width: 88%;
  max-width: 500px;
  background-color: rgb(24, 24, 24);
  border: 1px solid rgb(90, 90, 90);
  border-radius: 11px;
  padding: 18px 16px 20px;
}

/******* end of posture page ******/

.about-page-container{
  max-width: 500px;
  width: 92%;
  margin: auto;
}




.prog-stat-wrapper{
  max-width: 500px;
  width: 80%;
  margin: auto;
  margin-bottom: 2vh;
  position: relative;
  overflow: hidden;
  border-radius: 11px;
  background-color: rgb(30, 30, 30);
  border: 1px solid transparent;
  transition: border-color 0.4s ease;
}

.prog-stat-container{
  width: 100%;
  background-color: rgb(30, 30, 30);
  border-radius: 11px;
  padding-bottom: 16px;
  border: 1px solid rgb(90, 90, 90);
  padding-top: 16px;
  color: rgb(178, 178, 178);
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: none;
}

.prog-stat-wrapper.stat-slide-ready{
  border-color: rgba(150, 150, 150, 0.45);
}

.easter-egg-container{
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.easter-egg-btn{
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgb(200, 30, 30);
  border: 3px solid rgb(160, 20, 20);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(200, 30, 30, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.easter-egg-btn:hover{
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(200, 30, 30, 0.5);
}

.easter-egg-btn:active{
  transform: scale(0.95);
}

.easter-egg-label{
  color: rgb(190, 190, 190);
  font-size: 0.7rem;
  margin-top: 8px;
  text-transform: lowercase;
  letter-spacing: 0.5px;
}

.revert-modal-overlay{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.revert-modal{
  background-color: rgb(45, 45, 45);
  border: 1px solid rgb(70, 70, 70);
  border-radius: 12px;
  padding: 28px 24px;
  max-width: 380px;
  width: 85%;
  text-align: center;
}

.revert-modal-text{
  color: rgb(190, 190, 190);
  font-size: 0.85rem;
  line-height: 1.55;
  margin: 0 0 16px 0;
}

.revert-modal-prompt{
  color: rgb(220, 220, 220);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 22px 0;
}

.revert-modal-buttons{
  display: flex;
  gap: 14px;
  justify-content: center;
}

.revert-modal-btn{
  padding: 9px 32px;
  border-radius: 8px;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.revert-modal-btn:hover{
  opacity: 0.85;
}

.revert-modal-yes{
  background-color: rgb(200, 30, 30);
  color: white;
}

.revert-modal-no{
  background-color: rgb(70, 70, 70);
  color: rgb(200, 200, 200);
}

.revert-modal-success{
  color: rgb(80, 200, 80);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 8px 0;
}

.revert-modal-error{
  color: rgb(220, 80, 80);
  font-size: 0.8rem;
  margin: 0 0 16px 0;
}

.revert-modal-btn:disabled{
  opacity: 0.5;
  cursor: not-allowed;
}



.bc-1{
/*  width: 80%;
  margin: auto;*/
  margin-top: 19px;
}

.bc-2{
  
}


.bc-3{
  
}

.bc-4{
/*  width: 30%;
  margin: auto;
  margin-bottom: 5%;*/
  margin-top: 2%;
}



.get-started:hover{

}

.about-session-btn{
  background-color: white;
  border-color: black;
  cursor: pointer;
}


.magichouse{
  height: 274px;
}





.tq-submit-btn{
  width: 80%;
}

.session-cage{
/*  height: 100%;*/
  overflow: auto;
 /* background-color: rgb(190, 190, 190);*/
 /*background-image: linear-gradient(179deg, black 15.97%, white 43.7%);*/
}

.on-med-cage{
  margin-top: 50px;
  margin-bottom: 50px;
}


.onmed-title{
  text-align: center;
  padding-bottom: 1em;
  font-family: 'Liu Jian Mao Cao', cursive;
  font-size: 2em;
  font-weight: 100;
  letter-spacing: .5px;
  color: #80724a;
}


.onmed-des{
  font-size:  .75em;
  width: 80%;
  max-width: 549px;
  margin: auto;
  background-color: rgb(59, 59, 59);
  padding: 10px;
  text-align: center;
  padding-left: 40px;
  padding-right: 40px;
  border-radius: 50px;
  margin-bottom: 11px;
}

.session-box{
  width: 83%;
  margin: auto;
  padding: 9px;
  background-color: white;
  border-radius: 57px;
  border: 1px solid rgb(158, 158, 158);
  color: rgb(129, 129, 129);
  max-width: 549px;
  cursor: pointer;
}

@keyframes nextSessionShadow   {
  0%{box-shadow: 0px 0px 20px rgb(38, 38, 38);}
  50% {box-shadow: none;}
  100% {box-shadow: 0px 0px 20px rgb(38, 38, 38);}
}

@-webkit-keyframes nextSessionShadow   {
  0%{box-shadow: 0px 0px 20px rgb(38, 38, 38);}
  50% {box-shadow: none;}
  100% {box-shadow: 0px 0px 20px rgb(38, 38, 38);}
}

/******** lessons page ********/

.lessons-page{
  --lessons-bg: rgb(246, 246, 246);
  --lessons-bg-clear: rgba(246, 246, 246, 0);
  --lessons-text: rgb(58, 58, 58);
  --lessons-strong: rgb(34, 34, 34);
  --lessons-soft: rgb(110, 110, 110);
  --lessons-muted: rgb(138, 138, 138);
  --lessons-faint: rgb(176, 176, 176);
  --lessons-line: rgb(160, 160, 160);
  --lessons-link: rgb(204, 204, 204);
  --lessons-surface: rgb(210, 210, 210);
  font-family: 'Alegreya Sans', sans-serif;
  color: var(--lessons-text);
}

.lessons-header{
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 25px 0 4px;
  background-color: var(--lessons-bg);
}

.lessons-header::after{
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  height: 40px;
  background: linear-gradient(var(--lessons-bg), var(--lessons-bg-clear));
  pointer-events: none;
}

.lessons-title{
  margin: 0;
  font-family: 'Alegreya Sans SC', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0.04em;
  color: var(--lessons-soft);
}

.lessons-caption{
  min-height: 18px;
  margin-top: 8px;
  font-size: 14.5px;
  font-style: italic;
  line-height: 18px;
  color: var(--lessons-muted);
}

/* isolated so the gold glow can sit behind the neighbouring rows */
.lessons-list{
  position: relative;
  isolation: isolate;
  width: 88%;
  max-width: 440px;
  margin: 0 auto;
  padding-top: 46px;
}

.lessons-bottom-fade{
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 70px;
  background: linear-gradient(var(--lessons-bg-clear), var(--lessons-bg));
  pointer-events: none;
}

.lesson-link{
  width: 1px;
  height: 18px;
  margin: 0 auto;
  background-color: var(--lessons-link);
}

.lesson-row{
  display: flex;
  align-items: center;
  height: 60px;
  padding: 0 24px 0 22px;
  border: 1px solid var(--lessons-line);
  border-radius: 999px;
  background-color: var(--lessons-surface);
  text-align: left;
}

.lesson-num{
  flex: none;
  width: 34px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  color: var(--lessons-faint);
}

.lesson-text{
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}

.lesson-title{
  overflow: hidden;
  font-size: 17px;
  font-weight: 500;
  line-height: 21px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.lesson-sub{
  font-size: 13.5px;
  font-style: italic;
  line-height: 17px;
  color: var(--lessons-muted);
}

.lesson-icon{
  flex: none;
  margin-left: 12px;
  color: var(--lessons-faint);
}

.lesson-row-done,
.lesson-row-open{
  cursor: pointer;
}

.lesson-row-current{
  height: 74px;
  padding-right: 8px;
  background-color: rgb(255, 255, 255);
  cursor: pointer;
  animation: nextSessionShadow 2s infinite;
}

.lesson-row-current .lesson-num{
  color: var(--lessons-muted);
}

.lesson-row-current .lesson-title{
  font-size: 19px;
  line-height: 23px;
  color: var(--lessons-strong);
}

.lesson-play{
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-left: 12px;
  border-radius: 50%;
  background-color: rgb(40, 40, 40);
  color: rgb(246, 246, 246);
}

.lesson-play svg{
  margin-left: 3px;
}

.lesson-row-locked{
  border-color: rgb(80, 80, 80);
  background-color: rgb(66, 66, 66);
}

.lesson-row-locked .lesson-num{
  color: rgb(115, 115, 115);
}

.lesson-row-locked .lesson-title{
  font-weight: 400;
  color: rgb(86, 86, 86);
}

.lesson-row-locked .lesson-icon{
  color: rgb(122, 122, 122);
}

.lesson-row-perennial-locked{
  border-color: rgb(50, 50, 54);
  background-color: rgb(28, 28, 30);
}

.lesson-row-perennial-locked .lesson-num,
.lesson-row-perennial-locked .lesson-icon{
  color: rgb(66, 66, 70);
}

.lesson-row-perennial-locked .lesson-title{
  color: transparent;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.lesson-row-perennial{
  border-color: rgb(140, 140, 155);
  background-color: rgb(240, 240, 235);
  box-shadow: 0 0 12px rgba(120, 120, 150, 0.2);
  color: rgb(90, 90, 105);
  cursor: pointer;
}

.lesson-gold{
  position: relative;
  z-index: -1;
}

.lesson-gold::before,
.lesson-gold::after{
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
}

.lesson-gold::before{
  top: -8px;
  right: -6px;
  bottom: -8px;
  left: -6px;
  background: linear-gradient(90deg, rgb(255, 184, 28), rgb(255, 214, 80), rgb(245, 156, 8), rgb(255, 200, 50), rgb(255, 184, 28));
  background-size: 200% 100%;
  filter: blur(12px);
  animation: lessonGoldShift 8s linear infinite, lessonGoldBreathe 3.6s ease-in-out infinite;
}

.lesson-gold::after{
  top: -30px;
  right: -22px;
  bottom: -30px;
  left: -22px;
  background: radial-gradient(closest-side, rgba(255, 190, 30, 0.6), rgba(255, 200, 60, 0.25) 60%, rgba(255, 200, 60, 0));
  filter: blur(18px);
  animation: lessonGoldBreathe 3.6s ease-in-out -1.2s infinite;
}

@keyframes lessonGoldShift{
  from{ background-position: 0% 50%; }
  to{ background-position: 200% 50%; }
}

@keyframes lessonGoldBreathe{
  0%, 100%{ opacity: 0.7; transform: scale(0.98, 0.9); }
  50%{ opacity: 1; transform: scale(1.04, 1.25); }
}

.lesson-row-gold-locked{
  border-color: rgba(222, 170, 40, 0.55);
  background: linear-gradient(rgb(255, 255, 255), rgb(255, 250, 236));
}

.lesson-row-gold-locked .lesson-icon{
  color: rgb(206, 160, 52);
}

.lesson-blurred{
  color: transparent;
  text-shadow: 0 0 6px rgba(70, 50, 0, 0.55);
}

.lesson-row-gold{
  border-color: rgba(222, 170, 40, 0.7);
  background: radial-gradient(circle at center, rgb(255, 255, 255) 0%, gold 100%);
  color: rgb(45, 45, 45);
  cursor: pointer;
}

/******** end of lessons page ********/

.session-page-link-icon{
  width: 2px;
  /*border: 1px solid rgb(194, 194, 194);*/
  border: 1px solid rgb(136, 136, 136);;
  height: 29px;
  margin: auto;
  margin-top: 9px;
  margin-bottom: 9px;
  border-radius: 5px;
}



.session-duration{
  color: rgb(224, 224, 224);
}

.session-cage-bottom-spacer{
  height: 80px;
  width: 100%;
}



.session-box-container{
  display: flex;
  flex-direction: column;
  margin: auto;
  max-width: 549px;
}

.session-lockbox{
  width: 83%;
  margin: auto;
  padding: 9px;
  background-color: rgba(170, 170, 170, 0.63);
  border-radius: 57px;
  border: 1px solid rgb(159, 159, 159);
  color: rgb(156, 156, 156);
}

.lockbox-locked{
flex: 67px 0 0;
margin-bottom: -67px;
z-index: 2;
}

.lockbox-unlocked{
  display: none;
}

.lock-svg{
  height: 20px;
  fill: green;
  width: 37px;
}


.forget-password-link{
  text-align: center;
  font-size: .7rem;
  font-style: italic;
  cursor: pointer;
}

/********** player **********/

.player-off{
  display: none;
}

.player-on{
  display: block;
  position: fixed;
  border: 1px solid rgb(40, 40, 40);
  width: 97%;
  max-width: 555px;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  margin-left: auto;
  margin-right: auto;
  height: 96%;
  max-height: 950px;
  border-radius: 10px;
  /* background-color: darkgrey; */
  background-color: rgb(14, 14, 14);
  color: rgb(200, 200, 200);
  z-index: 100;
  /* margin-top: 6px; */
  margin: auto;
}


.close {
  position: absolute;
  right: 12px;
  top: 9px;
  width: 32px;
  height: 32px;
  opacity: 0.55;
}
.close:hover {
  opacity: 1;
}
.close:before, .close:after {
  position: absolute;
  left: 15px;
  content: ' ';
  height: 33px;
  width: 2px;
  background-color: rgb(200, 200, 200);
}
.close:before {
  transform: rotate(45deg);
}
.close:after {
  transform: rotate(-45deg);
}


.track-time{
  margin: auto;
  margin-top: 10%;
  display: flex;
  width: 34%;
}

.track-back-15-btn{
  border-radius: 50%;
  width: 15px;
  height: 15px;
  display: inline-block;
  /*background-color: gray;*/
  border-top: 2px solid transparent;
  border-left: 2px solid rgb(170, 170, 170);
  border-right: 2px solid rgb(170, 170, 170);
  border-bottom: 2px solid rgb(170, 170, 170);
  transform: rotate(-45deg);
  display: relative;
}

.track-forward-15-btn{
  border-radius: 50%;
  width: 15px;
  height: 15px;
  display: inline-block;
  /* background-color: gray; */
  border-top: 2px solid transparent;
  border-left: 2px solid rgb(170, 170, 170);
  border-right: 2px solid rgb(170, 170, 170);
  border-bottom: 2px solid rgb(170, 170, 170);
  transform: rotate(45deg);
}

.display-track-time{
  margin: auto;
  margin-top: -5px;

}


.timer-time{
  font-size: 3em;
  font-weight: 100;
}


.back-arrow-1{
  position: absolute;
  height: 7px;
  width: 7px;
  border-left: 2px solid rgb(170, 170, 170);
  border-top: 2px solid rgb(170, 170, 170);
  right: -2px;
  top: -3px;

}


.forward-arrow-1{
  position: absolute;
  height: 7px;
  width: 7px;
  border-left: 2px solid rgb(170, 170, 170);
  border-top: 2px solid rgb(170, 170, 170);
  transform: rotate(90deg);
  left: -2px;
  top: -3px;
}


.player-track-title{
  padding: 10px 32px 0;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.25;
  color: rgb(236, 236, 236);
}


/********** END OF PLAYER *********/


/******** settings page ********/

.settings-page{
  --settings-text: rgb(58, 58, 58);
  --settings-soft: rgb(110, 110, 110);
  --settings-muted: rgb(138, 138, 138);
  --settings-faint: rgb(176, 176, 176);
  --settings-line: rgb(229, 229, 229);
  --settings-surface: rgb(255, 255, 255);
  --settings-field: rgb(246, 246, 246);
  --settings-accent: rgb(52, 52, 52);
  --settings-accent-text: rgb(246, 246, 246);
  --settings-press: rgba(0, 0, 0, 0.035);

  display: flex;
  flex-direction: column;
  width: 88%;
  max-width: 440px;
  min-height: 100%;
  margin: 0 auto;
  padding: 25px 0 22px;
  font-family: 'Alegreya Sans', sans-serif;
  color: var(--settings-text);
}

.settings-title{
  margin: 0;
  font-family: 'Alegreya Sans SC', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--settings-soft);
}

.settings-illustration{
  display: block;
  width: 41%;
  max-width: 160px;
  margin: 27px auto 31px;
}

.settings-caption{
  margin-bottom: 9px;
  font-size: 14.5px;
  font-style: italic;
  line-height: 18px;
  text-align: center;
  color: var(--settings-muted);
}

.settings-segmented{
  position: relative;
  display: flex;
  padding: 5px;
  border: 1px solid var(--settings-line);
  border-radius: 999px;
  background-color: var(--settings-surface);
}

.settings-segmented-thumb{
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(50% - 5px);
  border-radius: 999px;
  background-color: var(--settings-accent);
  transition: transform 250ms ease;
}

.settings-segmented-thumb-right{
  transform: translateX(100%);
}

.settings-segment{
  position: relative;
  flex: 1 1 0;
  height: 40px;
  padding: 0 8px;
  border: none;
  border-radius: 999px;
  background: none;
  font-family: inherit;
  font-size: 17px;
  font-weight: 500;
  color: var(--settings-soft);
  cursor: pointer;
  transition: color 250ms ease;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.settings-segment-selected{
  color: var(--settings-accent-text);
}

.settings-list{
  margin-top: 27px;
  border-top: 1px solid var(--settings-line);
}

.settings-font-row{
  cursor: default;
}

.settings-font-select{
  margin-left: auto;
  max-width: 58%;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  text-align: right;
  color: var(--settings-soft);
  cursor: pointer;
}

.settings-font-select:focus{
  outline: none;
}

.settings-row{
  display: flex;
  align-items: center;
  width: 100%;
  height: 54px;
  padding: 0 4px;
  border: none;
  border-bottom: 1px solid var(--settings-line);
  border-radius: 0;
  background: none;
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  text-align: left;
  color: var(--settings-text);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.settings-row:active{
  background-color: var(--settings-press);
}

.settings-row-label{
  flex: 1 1 auto;
  white-space: nowrap;
}

.settings-row-label-italic{
  font-style: italic;
  font-weight: 400;
}

.settings-row-value{
  min-width: 0;
  margin-left: 16px;
  overflow: hidden;
  font-style: italic;
  font-weight: 400;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--settings-muted);
}

.settings-chevron{
  flex: none;
  margin-left: 10px;
  color: var(--settings-faint);
}

.settings-switch{
  position: relative;
  flex: none;
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background-color: var(--settings-line);
  transition: background-color 250ms ease;
}

.settings-switch::after{
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--settings-surface);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  transition: transform 250ms ease;
}

.settings-switch-on{
  background-color: var(--settings-accent);
}

.settings-switch-on::after{
  transform: translateX(18px);
}

.settings-footer{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: auto;
  padding-top: 30px;
}

.settings-footer-link{
  padding: 6px 12px;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 14px;
  color: var(--settings-muted);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.settings-delete-link{
  font-size: 16px;
  text-decoration: underline;
  text-decoration-color: var(--settings-faint);
  text-underline-offset: 4px;
}

.settings-alert-background-screen{
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(40, 40, 40, 0.35);
  z-index: 500;
}

.settings-alert-screen{
  position: fixed;
  top: 50%;
  left: 50%;
  width: 86%;
  max-width: 380px;
  max-height: 86%;
  overflow-y: auto;
  padding: 30px 26px 26px;
  border-radius: 24px;
  background-color: var(--settings-surface);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  font-size: 17px;
  line-height: 1.45;
  text-align: center;
  color: var(--settings-text);
  transform: translate(-50%, -50%);
  z-index: 501;
}

.settings-alert-screen-msg p{
  margin: 0 0 14px;
}

.settings-alert-screen-msg p:last-child{
  margin-bottom: 0;
}

.settings-alert-input{
  display: block;
  width: 100%;
  margin-top: 18px;
  padding: 11px 14px;
  border: 1px solid var(--settings-line);
  border-radius: 14px;
  background-color: var(--settings-field);
  font-family: inherit;
  font-size: 16px;
  text-align: left;
  color: var(--settings-text);
  -webkit-user-select: text;
  user-select: text;
}

textarea.settings-alert-input{
  height: 120px;
  resize: none;
}

.settings-alert-answer-box{
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.settings-answer{
  min-width: 96px;
  padding: 9px 24px;
  border: 1px solid var(--settings-accent);
  border-radius: 999px;
  background-color: var(--settings-accent);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.2;
  color: var(--settings-accent-text);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.high-alert{
  background-color: rgb(200, 30, 30);
  color: rgb(255, 255, 255);
}

.high-alert .settings-answer{
  border-color: rgba(255, 255, 255, 0.7);
  background-color: rgba(255, 255, 255, 0.16);
  color: rgb(255, 255, 255);
}

.settings-alert-screen #loader{
  top: auto;
  left: auto;
  margin: 22px auto 6px;
}


/******** end of settings page ********/


/******* AI spinner *********/


#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#loader {
    display: block;
    position: relative;
    left: 50%;
    top: 115px;
    width: 130px;
    height: 130px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #98EFFF;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 1.7s linear infinite;
}

#loader2 {
    content: "";
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #29DEFF;
    -webkit-animation: spin 1.7s linear infinite;
    animation: spin 1.7s linear infinite;
}

#loader3 {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #86dbe2;
    -webkit-animation: spin 3s linear infinite;
    animation: spin 3s linear infinite;
}




#loader4 {
    content: "";
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #CAF6FE;
    -webkit-animation: spin 1.9s linear infinite;
    animation: spin 1.9s linear infinite;
}



#loader5 {
    content: "";
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #7BEBFF;
    -webkit-animation: spin 2.2s linear infinite;
    animation: spin 4.2s linear infinite;
}

@-webkit-keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}


/*#preloader {
    position: fixed;
    top: 12%;
    left: 0;
    width: 100%;
    height: 100%;
}
#loader {

    position: absolute;
    left: 50%;
    top: 42%;
    width: 110px;
    height: 110px;
    margin: -55px 0 0 -55px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #299dba;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}
#loader2 {
    content: "";
    position: absolute;
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 115px;
    height: 115px;



    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #32a0cf;
    -webkit-animation: spin 3s linear infinite;
    animation: spin 3s linear infinite;
}
#loader3 {
    content: "";
    position: absolute;
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 120px;
    height: 120px;

    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #86dbe2;
    -webkit-animation: spin 1.5s linear infinite;
    animation: spin 1.5s linear infinite;
}
@-webkit-keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}*/


/************** end of AI spinner ********/


/************* TM audio player ***************/




/******* Iphone 8 plus *****/

@media only screen and (min-width: 414px) and (max-height: 736px){
  .slider {
    width: 70%;
    margin-top: 18%;
  }

}


/******* Iphone 8 plus END *****/



/******** Iphone8 **********/

@media only screen and (min-width: 375px) and (max-height: 667px){

  .ttm-badge{
    height: 35px;
    width: 35px;
    padding-top: 10px;
  } 

  .progress-lock-badge{
      padding-top: 5px;
    }

  .progress-lock{
    padding-left: 4.5px;
  }



    .track-circle{
      height: 215px;
      width: 215px;
    }

    .audio-player{
      height: 200px;
      width: 200px;
    }

    .button-container{
      margin-left: 43%;
    }

    .slider{
      width: 45%;
      margin-top: 8%;
    }

  .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 17px;
    height: 17px;
    border-radius: 10px;
    cursor: pointer;
  }

  .slider::-moz-range-thumb {
    width: 17px;
    height: 17px;
    border-radius: 10px;
    cursor: pointer;
  }

  .audiobox-top{
    height: 14%;
  }

  .audiobox-bottom{
    height: 16%;
  }

  .ttm-badge{
    height: 33px;
    width: 33px;
    padding-top: 9px;
  }

  .progress-lock-badge{
    padding-top: 4px;
  }

  .progress-lock{
    padding-left: 3.5px;
  }

  .get-started{
    padding: 7px;
  }

  .prog-stat-container{
    padding-bottom: 11px;
    padding-top: 11px;
  }

}


/******** Iphone8 END *********/



/******** Iphone SE **********/

@media only screen and (min-width: 320px) and (max-height: 568px){

  .ttm-badge{
    height: 30px;
    width: 30px;
    padding-top: 7px;
    margin: 3px;
  } 

  .progress-lock{
    padding-left: 2px;
  }

  .progress-lock-badge{
      padding-top: 1px;
  }

  .bracket{
      height: 10px;
      margin-bottom: -2px;
  }

    .prog-stat-container{
      padding-top: 10px;
      padding-bottom: 10px;
    }

    .gear{
      width: 56px;
    }

    .small-gear{
      margin-top: 29px;
      width: 38px;
    }





}


/******** Iphone SE END *********/


/******** dark mode ********/
/* Light pages and their white surfaces go dark. Screens that already
   paint their own dark background (progress, player, posture) are left alone. */

[data-theme="dark"] body{
  background-color: rgb(18, 18, 18);
  color: rgb(214, 214, 214);
}

[data-theme="dark"] .playerScreen-on{
  background-color: rgba(0, 0, 0, 0.72);
}

[data-theme="dark"] .my-prog-page-container{
  color: grey;
}

[data-theme="dark"] .lessons-page{
  --lessons-bg: rgb(18, 18, 18);
  --lessons-bg-clear: rgba(18, 18, 18, 0);
  --lessons-text: rgb(220, 220, 220);
  --lessons-strong: rgb(236, 236, 236);
  --lessons-soft: rgb(190, 190, 190);
  --lessons-muted: rgb(168, 168, 168);
  --lessons-faint: rgb(132, 132, 132);
  --lessons-line: rgb(118, 118, 118);
  --lessons-link: rgb(72, 72, 72);
  --lessons-surface: rgb(30, 30, 30);
}

[data-theme="dark"] .lesson-play{
  background-color: rgb(220, 220, 220);
  color: rgb(24, 24, 24);
}

[data-theme="dark"] .lesson-row-current{
  background-color: var(--lessons-surface);
  animation-name: nextSessionShadowDark;
}

@keyframes nextSessionShadowDark{
  0%{ box-shadow: 0 0 16px rgb(190, 190, 190); }
  50%{ box-shadow: none; }
  100%{ box-shadow: 0 0 16px rgb(190, 190, 190); }
}

[data-theme="dark"] .lesson-row-locked{
  background-color: rgb(12, 12, 12);
  border-color: rgb(48, 48, 48);
}

[data-theme="dark"] .lesson-row-perennial-locked{
  background-color: rgb(10, 10, 12);
}

[data-theme="dark"] .lesson-row-perennial{
  background-color: rgb(36, 36, 42);
  color: rgb(214, 214, 220);
}

[data-theme="dark"] .settings-page{
  --settings-text: rgb(220, 220, 220);
  --settings-soft: rgb(190, 190, 190);
  --settings-muted: rgb(168, 168, 168);
  --settings-faint: rgb(130, 130, 130);
  --settings-line: rgb(58, 58, 58);
  --settings-surface: rgb(30, 30, 30);
  --settings-field: rgb(22, 22, 22);
  --settings-accent: rgb(220, 220, 220);
  --settings-accent-text: rgb(18, 18, 18);
  --settings-press: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .settings-switch::after{
  background-color: rgb(220, 220, 220);
}

[data-theme="dark"] .settings-switch-on::after{
  background-color: rgb(18, 18, 18);
}

[data-theme="dark"] .settings-illustration,
[data-theme="dark"] .app-image{
  filter: invert(1);
}

[data-theme="dark"] .about-page-container h5{
  color: rgb(214, 214, 214) !important;
}

[data-theme="dark"] .get-started:not(.get-started-progress-version){
  background-color: rgb(40, 40, 40);
  border-color: rgb(96, 96, 96);
  color: rgb(220, 220, 220);
}

[data-theme="dark"] .session-box{
  background-color: rgb(30, 30, 30);
  border-color: rgb(118, 118, 118);
  color: rgb(200, 200, 200);
}

[data-theme="dark"] .ttm-input,
[data-theme="dark"] .ttm-submit{
  background-color: rgb(30, 30, 30);
  border-color: rgb(96, 96, 96);
  color: rgb(220, 220, 220);
}

[data-theme="dark"] .timer-screen{
  color: rgb(220, 220, 220);
}

[data-theme="dark"] .timer-screen .timer-page-title{
  color: rgb(200, 200, 200);
}

[data-theme="dark"] .timer-screen .selected-time{
  color: rgb(232, 232, 232);
}

[data-theme="dark"] .timer-screen .timer-segment{
  background-color: rgb(220, 220, 220);
}

[data-theme="dark"] .timer-screen .begin-timer-btn{
  border-color: rgb(220, 220, 220);
}

[data-theme="dark"] .timer-screen .inner-timer-btn{
  background-color: rgb(220, 220, 220);
}

[data-theme="dark"] .timer-screen .white-block-hack-1,
[data-theme="dark"] .timer-screen .white-block-hack-2,
[data-theme="dark"] .timer-screen .timer-design-block-left,
[data-theme="dark"] .timer-screen .timer-design-block-right{
  background-color: rgb(18, 18, 18);
  border-color: rgb(18, 18, 18);
}

/******* admin page ******/

.admin-page{
  width: 88%;
  max-width: 520px;
  margin: 0 auto;
  padding: 28px 0 80px;
  color: rgb(200, 200, 200);
}

.admin-title{
  margin: 0;
  text-align: center;
  color: rgb(190, 190, 190);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-note,
.admin-caption{
  margin: 14px 4px 0;
  color: rgb(150, 150, 150);
  font-size: 0.85rem;
  line-height: 1.45;
}

.admin-panel{
  margin-top: 22px;
  padding: 16px 16px 8px;
  background-color: rgb(30, 30, 30);
  border: 1px solid rgb(90, 90, 90);
  border-radius: 11px;
}

.admin-panel h2{
  margin: 0 0 10px;
  color: rgb(220, 220, 220);
  font-size: 1rem;
  font-weight: 500;
}

.admin-stat,
.admin-course{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid rgb(48, 48, 48);
  color: rgb(178, 178, 178);
  font-size: 0.92rem;
}

.admin-stat b{
  color: rgb(232, 232, 232);
  font-weight: 500;
  text-align: right;
}

.admin-stat em{
  color: rgb(150, 150, 150);
  font-style: normal;
  font-size: 0.8rem;
}

.admin-course-num{
  width: 28px;
  color: rgb(140, 140, 140);
}

.admin-course-title{
  flex: 1;
}

.admin-course-count{
  color: rgb(232, 232, 232);
  white-space: nowrap;
}

.admin-person{
  padding: 10px 0;
  border-top: 1px solid rgb(48, 48, 48);
}

.admin-person-name{
  color: rgb(232, 232, 232);
}

.admin-person-email,
.admin-person-meta{
  color: rgb(160, 160, 160);
  font-size: 0.82rem;
  line-height: 1.4;
}

.admin-ring-row{
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 6px 0 12px;
}

.admin-ring-wrap{
  position: relative;
  width: 132px;
  height: 132px;
  flex: none;
}

.admin-ring{
  width: 132px;
  height: 132px;
  display: block;
}

.admin-ring-track,
.admin-ring-arc{
  fill: none;
  stroke-width: 14;
}

.admin-ring-track{
  stroke: rgb(48, 48, 48);
}

.admin-ring-arc{
  stroke-linecap: butt;
}

.admin-ring-center{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgb(232, 232, 232);
}

.admin-ring-center b{
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
}

.admin-ring-center span{
  margin-top: 4px;
  color: rgb(150, 150, 150);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.admin-legend{
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.admin-legend li{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  color: rgb(178, 178, 178);
  font-size: 0.88rem;
}

.admin-legend b{
  margin-left: auto;
  color: rgb(232, 232, 232);
  font-weight: 500;
}

.admin-legend i,
.tone-never,
.tone-active,
.tone-lapsed{
  display: inline-block;
}

.admin-legend i{
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: none;
}

.tone-never{ background: rgb(92, 92, 92); stroke: rgb(92, 92, 92); }
.tone-active{ background: rgb(232, 232, 232); stroke: rgb(232, 232, 232); }
.tone-lapsed{ background: rgb(150, 122, 168); stroke: rgb(150, 122, 168); }

.admin-bars{
  padding: 4px 0 12px;
}

.admin-bar{
  display: grid;
  grid-template-columns: 108px 1fr 28px;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.admin-bar-label{
  color: rgb(168, 168, 168);
  font-size: 0.78rem;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-bar-track{
  height: 8px;
  border-radius: 8px;
  background: rgb(48, 48, 48);
  overflow: hidden;
}

.admin-bar-fill{
  display: block;
  height: 100%;
  border-radius: 8px;
  background: rgb(214, 214, 214);
}

.admin-bar-value{
  color: rgb(232, 232, 232);
  font-size: 0.82rem;
  text-align: right;
}

/******* end of admin page ******/

/* Typeface choice from Settings. data-font is omitted for Original. */
html[data-font="italiana"]{
  --font-display: Italiana, serif;
  --font-display-weight: 400;
}

html[data-font="josefin"]{
  --font-display: "Josefin Sans", sans-serif;
  --font-display-weight: 300;
}

html[data-font="bellefair"]{
  --font-display: Bellefair, serif;
  --font-display-weight: 400;
}

html[data-font] body,
html[data-font] body *{
  font-family: "Manrope", sans-serif;
}

html[data-font] .onmed-title{
  font-family: "Liu Jian Mao Cao", cursive;
}

html[data-font] .repause-title,
html[data-font] .repause-title *{
  font-family: "Apple SD Gothic Neo", sans-serif;
  font-weight: 100;
  font-style: normal;
}

html[data-font] h1,
html[data-font] h2,
html[data-font] h3,
html[data-font] h4,
html[data-font] h5,
html[data-font] .tt,
html[data-font] .timer-page-title,
html[data-font] .lessons-title,
html[data-font] .lesson-title,
html[data-font] .posture-page-title,
html[data-font] .posture-img-title,
html[data-font] .posture-description,
html[data-font] .settings-title,
html[data-font] .player-track-title,
html[data-font] .selected-time,
html[data-font] .launch-popup-title,
html[data-font] .prog-statment,
html[data-font] .prog-cat,
html[data-font] .ttm-badge,
html[data-font] .badge-countdown,
html[data-font] .badge-hidden-date,
html[data-font] .get-started-progress-version{
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
}

html[data-font] .prog-statment,
html[data-font] .prog-statment *{
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-style: normal;
}

html[data-font="josefin"] .momentum-prog-word{
  font-style: italic;
}

html[data-font] .posture-page-title{
  letter-spacing: 0.06em;
}

html[data-font] .posture-img-title{
  font-style: normal;
}

html[data-font="josefin"] .posture-img-title{
  font-style: italic;
}

html[data-font="italiana"] .lesson-title,
html[data-font="italiana"] .player-track-title,
html[data-font="italiana"] .posture-img-title{
  letter-spacing: 0.02em;
}

html[data-font="josefin"] .lesson-title,
html[data-font="josefin"] .lessons-title,
html[data-font="josefin"] .player-track-title,
html[data-font="josefin"] .posture-img-title{
  letter-spacing: 0.03em;
}

/*attempt to rotate all content - doesn't really work*/
/*@media screen and (min-width: 320px) and (max-width: 767px) and (orientation: landscape) {
  html {
    transform: rotate(90deg);
    transform-origin: left top;
    width: 100vh;
    overflow-x: hidden;
    position: absolute;
    top: 100%;
    left: 0;
  }
}
*/

