/* file goes from ~144kb to ~100kb when minified */
body {
  font-family: 'Open Sans', Helvetica, sans-serif;
  font-size: 14px;
  height: 100%;
  background: center right fixed no-repeat;
  background-color: white;
  transition: background-color .25s ease-out;
  overflow-x: hidden;

  text-rendering: optimizeLegibility;
  text-rendering: geometricPrecision;

  font-smooth: always;
  -moz-osx-font-smoothing: antialiased;
  -webkit-font-smoothing: antialiased;
  -webkit-font-smoothing: subpixel-antialiased;
}
.greyscale {filter: saturate(0)}
body.desaturate {filter: saturate(0.5)}
/* colorpicker  */
.goal-color-replacer.desaturate,
.goal-color-container.desaturate {
  filter: saturate(0.5);
}
/* attempting to fix the thing where fonts thicc in 
maybe this is also abo
@-moz-document url-prefix() {
  body {
    font-weight: lighter !important;
  }
}*/

.ffos {font-family: 'Open Sans', Helvetica, sans-serif}
.ffmo {font-family: 'Montserrat Alternates', 'Montserrat', 'Century Gothic', sans-serif}
.ffmo, .btn, h1, h2, h3, h4, h5, .h5,
.navbar-nav > li > a, thead, .jumbotron,
.goal-name, .goal-terzukte, .goal-box .oneliner, .goal-box-code,
.goal-terzukte .editable-wrap input.editable-input,
.new-milestone-name, .outliney-box, .outliney-help,
.ticker, .cfp-hotkeys-key, .pp-quote-bubble,
.goal-box-container .goal-date, .goal-box-container .goal-privacy, .goal-box-container .goal-milestone
.nav-accomplishments.nav-tabs > li > a, blockquote.accomplishment-quote,
.timer-spare-durs, .countbox.v, .outcomes-empty-list-placeholder,
.wholeday, .reviews-cell, .goalsbar-main, .container-howto .goalsbar-container,
.howto-timer, .howto-giantgoal, .jumbo-loading,
.solo-priority, .solo-priority-placeholder, .solo-priority-overdue-mark,
.today-partner-side-tall-button, 
.form-horizontal .control-label.control-label-pomo-time, .control-label-pomo-time, /* ?? */
.reactroom-media-send-btns, .reactroom-media-send-btns-inline,
.score-box, .circle-pacman-button,
.purpose-block,
.beem-bygoal-select, .beemstatus-alt-loading-text,
#promo-countdown, .feedback-box,
.ffmoalt {font-family: 'Montserrat Alternates', 'Montserrat', 'Century Gothic', sans-serif !important;}

html {height: 100%; width: 100%;}

.ccmfg a,
.ccdfg a,
.ccbfg a,
.cc_fg a,
.cclfg a,
.ccgfg a,
.ccwfg a,
.item a {
  color: inherit;
  text-decoration: underline;
}
a.underline {
  text-decoration: underline !important;
}

.noselect {user-select: none;}

ul.p, ol.p {
  font-size: 18px;
}
ul.list-gaps li,
ol.list-gaps li {
  margin-bottom: 0.7em;
}

ul.list-space-between li:not(:last-child),
ol.list-space-between li:not(:last-child) {
  margin-bottom: 0.5em;
}

.btn-sm,
.btn-group-sm > .btn {
  padding: 5px 7px;
}

.btn-lg.btn-lg-square {
  padding: 10px 15px;
}

.btn-label {
  border-radius: 3px;
  border: 1px solid;
  /*background: #9993;*/
  margin: 3px;
  padding: 3px 6px;
  display: inline-block;
}

.btn-label:hover {
  background: #fff6;
}
.btn-label.active {
  background: #ffff;
  box-shadow: 1px 1px 1px 0 inset #3066;
}

.btn-label.active:hover {
  background: #fffc;
}

.hover-def {
  border-bottom: 1px dashed #999;
}

.hover-def:hover {
  border-bottom: 1px dashed inherit;
  cursor: help;
}

.container-cookie-policy table td {
  border: 1px solid #ccc;
  padding: 5px;
}

.modal-footer {
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}
.modal-header {
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}

code.blocklevel {
  background: none;
}

.highlight-yellow {
  background-color: #ff6;
}
.darktheme .highlight-yellow {
  background: none;
  color: #ff6;
}

code:not(.blocklevel),
code.blocklevel pre,
textarea.blocklevel-code {
  color: #665B6B;
  background-color: #F2EEF7;
  border: 1px solid #CCB6D6;
}

.allexceptfooter {
  min-height: 100%;
  margin: 0 0 -53px;
  padding: 70px 0;
  transition: background .25s ease-out;
  background: rgba(255,255,255,1);
}
.navbar.footer {/* height:52px; */margin: 0;}
.col-12-fosho {width: 100%; margin-left: 0;}

.navbar .container > .navbar-footer,
.navbar .container-fluid > .navbar-footer {
  margin-right: -21px;
  margin-left: -21px;
}

button.objection-toggle {
  text-align: left;
}

button.objection-toggle,
a.faq-toggle {
  color: #958;
  border: none !important;
  background: none !important;
}
.objection-toggle:hover,
.faq-toggle:hover {
  text-decoration: underline;
}
.objection-toggle:focus,
.faq-toggle:focus {
  outline: none;
}

#promo-countdown {
  border-radius: 4px;
  margin: 2px;
  padding: 8px;
  background: #ffcc99;
  font-size: 24px;
  width:540px;
  text-align: center;
  border: 2px solid #ff9933;
  clear: both;
}

@media (max-width: 768px) {
  #promo-countdown {
    width: 100%;
    font-size: 18px;
  }
}

h1.h0.index-title {
  /*color:black;*/
  /*width: 820px;*/
  /*height: 40px;*/
  margin: -10px 0 20px;
  padding: 0 0 0;
}

.tintbg {
  background: #eee9ee;
}

.tintfg {
  color: #606;
}

.bg-shiny-login {
  background-color: #0d001c;
  background-image: linear-gradient(45deg,#040029,#1a001a);
/*  background-image: linear-gradient(45deg,#9900aa33,#7700ff33);*/
/*  background-image: linear-gradient(45deg,#9900aa,#7700ff);*/
}

.bg-shiny-login legend {
  color: white;
}

@media (min-height: 800px) {
  .login-pwa-top-logo {
    margin-top: 9vh;
  }
}

/************************ BROWSER FRAME ***********************/

.browser-frame {
  box-sizing: border-box;
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAACUCAYAAAC5ifh6AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAYdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuNWWFMmUAAABBSURBVDhPY/j8+YsDCIMY/0F4lDHKoBXj1auX/0GY+oxfv379B2GG/1AwygCCEc14//79fxAmLSHhZzS8evWyAQC1NXxF0MZLLAAAAABJRU5ErkJggg==');
  background-size: 1px 74px;
  background-repeat: repeat-x;
  position: relative;
  margin: 5px -30px -70px;
  transition: all 300ms ease-in-out;
  border-radius: 5px;
  padding: 38px 0 0;
  box-shadow:  0px 1px 8px  0px rgba(0, 0, 0, 0.2),
               0px 3px 5px  0px rgba(0, 0, 0, 0.14),
              -3px 3px 4px  0px rgba(0, 0, 0, 0.13), /* for more shadow over wallpaper */
               0px 3px 3px -2px rgba(0, 0, 0, 0.12);

/* what it was when only sticking out to the left:

  box-shadow:  0px 1px 8px  0px rgba(0, 0, 0, 0.2),
               0px 3px 5px  0px rgba(0, 0, 0, 0.14),
              -3px 1px 4px  0px rgba(0, 0, 0, 0.15), /* for more shadow over wallpaper 
               0px 3px 3px -2px rgba(0, 0, 0, 0.12); */
}
@media (max-width: 867px) {
  .browser-frame {
    margin: 0 0 -70px;
    box-shadow:  0px 1px 8px  0px rgba(0, 0, 0, 0.2),
                 0px 3px 5px  0px rgba(0, 0, 0, 0.14),
                 0px 3px 3px -2px rgba(0, 0, 0, 0.12);
  }
} /* same as above, but there's no comma for @media */
@media (min-width: 992px) and (max-width: 1033px) {
  .browser-frame {
    margin: 0 0 -70px;
    box-shadow:  0px 1px 8px  0px rgba(0, 0, 0, 0.2),
                 0px 3px 5px  0px rgba(0, 0, 0, 0.14),
                 0px 3px 3px -2px rgba(0, 0, 0, 0.12);
  }  
}

@media (max-width: 767px) {
  .browser-frame {
    max-width: 80%;
    margin: 0 auto -70px;
    box-shadow:  0px 1px 8px  0px rgba(0, 0, 0, 0.2),
                 0px 4px 6px  1px rgba(0, 0, 0, 0.14),
                 0px 3px 3px -2px rgba(0, 0, 0, 0.12);
  }
}
/*
@media (max-width: 667px) {
  .browser-frame {
    margin: 0 50px -70px;
  }
}
 */

@media (max-width: 450px) {
  .browser-frame {
    max-width: 95%;
  }
}

.browser-frame-top {
  height: 38px;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 1px;
  right: 1px;
}
.browser-frame-top:before {
  content: '';
  display: block;
  position: absolute;
  width: 122px;
  height: 74px;
  /*background-color: #fff;*/
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPQAAACUCAMAAACTBfSWAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAYdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuNWWFMmUAAADDUExURQAAAPPz9PPz9PPz9Orq6fPz9PPz9PPz9Orq6fPz9PPz9PPz9PPz9PPz9PPz9KOjo6enp6ysrLCwsLW1tbm5ubm5ur6+vcLCwsbGx8fHxsrKysvLyszMzM/Pz8/P0NPT1NTU09jY2Nvb2t3d3OHh4Obm5enp6erq6evr6uzs6+zs7O3t7O3t7e7u7e7u7u/v7/Dw8PDw8fHx8PHx8fHx8vLy8/Pz9PT08/X19Pb29fb29vj4+Pr6+vv7+/z8/P7+/v///wmourQAAAAPdFJOUwAQIDBAQFBggICvv8/f74EvIk4AAARCSURBVHja7dtre5owFAfwdte22yoXi2POTacuoLTYKaz3+v0/1VChiqKcE6WDk/N/Vx+s+ZGTkMTHo6Nl3r5XJC/ij2ehMknI52GoGPr4LAxVQx9/DtVDfwrVQ5+G6qGPzxVEq9fREfqLgug3oYLoDyqiTxnNaEYzmtGMZjSjGV1ydOA5onpxhqM90KMqkhfusSx6JCocXw5dabMQngx6IiqekQTarTpajNFov/Jm4QRIdOBUHy2ukGgCHR0lQKFJdLQQAxR6JGhkjEE7RNBDBHosqCSAoz0yaA+MDsiYM57V29AjOujNxeg29IAQ2gWiCVV3lAkM7ZNCX8HQLim0A0LTqm4hriFonxjag6BdYmgHgKZW3ev1nYn2yaG9fLRDDu3koidC0K7vLPQVQbSXh3YIolO76gz0NUVzaquVgfZIooc70YGgmWAX2ieK9nehHaJodwd6LKhmsh09IIv2tqLpdvTKqeg6mm5Hr0xla2jCHb2y61hDu5TRL6uyNNonbX4Z1Sn0xKGNTkb1KjpwBfVMNtAD8ua4wJfoYCgUiBusoieuEKqoY/TEE6rEGYVHJ0K9MJrRjGY0oxnNaEYz+mAryj+3DzKpMNq5eZ7Kpbroy6fpVDW0/zxVDn25h7my6Iepemh/qiD6XkX0VEH0pYpon9FruUvnURrd7fRgzenYdgtt6DbMWhTNbPb2R9/9SufroyTaipoEsnRmjbdw5M5cHMfqHRp9sakGoa15eyDNqdew6n6jlorWOjR6Uw1BL8y1DqA1cac14GZjQTVtu2GA34xDb6gB6NgM6mk7vraFMuvx5X1bm/1pHxq9rs5HJ2ZY71k4tbWG7JugmsKiL37g0IkCOk7rGHVn88rZ5+n9Q6MvfmLQNtKcDFKY2swoZgNQ4Hh0Sp2DbmHNKHU3usrIelE/IPr7t0V+Q9ES5hV17tCcPa3amQOqezh0Eg+ITswmbrWRqLWcps8qWdt8tZ1f3wWiE7PRF8Woo0vq8JdfBS1tjtQ6SL2lS43c2ioM3dOkzdFspEEGxiY6eV/OGqUwtL2HOX4CR8H2dGu59RBVQyejWs9Dm9sGVb165Q1bjUZrE62ffbN3f2pxE1lbfiIDrsAbmZdY+Z9ZxkcWdNfRy15n12ta7/8vTgw5c/6+zMycsPpm3qqmSLTcMhSxL+tKnC4VjpZRo/ai81mrvqzwTrMEaNHEqpG3aX6LNHsxhtsWcB9eMBp7iIAujfj/66ZpauB9eNFo3HFRGz8cmlrqNFTvlgGNOhg0JR5yPWuFbJdhTEsdAWMf7P2WZeo1w2y0SzF7Yw/7m3vsUUrzyMJ+rSNsQ7cKN78OWvQ6xUtKhy5ZdqHvt6D/8pfyjGY0oxnNaEa/ShwV0eJJRfSNiuihiuj9urqyv+F4UBHtPCiI3qfCq/wLvOHtk3romduXCf/AlNGMZjSjGc3oEqPfnaiXf7GAe3vrfTryAAAAAElFTkSuQmCC');
  background-size: 122px 74px;
  top: 0;
  left: -1px;
}
.browser-frame-top:after {
  content: '';
  display: block;
  position: absolute;
  width: 75px;
  height: 74px;
  /*background-color: #fff;*/
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACUCAMAAABGFyDbAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAYdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuNWWFMmUAAAEaUExURQAAAPPz9PPz9Orq6fPz9PPz9PPz9PPz9Orq6fPz9PPz9PPz9PPz9PPz9PPz9HCzSni3VYC7X4m/apHDdZnHf6Cgn6HLiqWlpKmpqKnPlK6urbLTn7Ozsre3trrXqry8u8DAv8LbtMXFxMrKycrfv87OzdLjytPT0tVlXdduZtjY19l3cNuAedzc292Jg92qVN6RjN6vXuCaluCzaOG4cuHh4OKjn+O8fOPr3+SsqeTBhuXFkOXl5Oa1sufKmui+u+jPpOnTrurHxerq6evYuOvr6uvv6ezQzuzcwu3Y2O3t7O7hzO/h4e/l1u/v7/Dq4PHq6/Hx8PLu6vLy8fPz8/Pz9PX19Pb29fj4+Pr6+vv7+/z8/P7+/v///0GYPg8AAAAPdFJOUwAQMEBAUGBwgICfr8/f75V+mmgAAALzSURBVHja7dprc9JAFAbgorVWrS41UEG0CBQaEBJKWgJybwqVWtFWAyrm//8Nb4PDwF6SNLCHmfN+JrPPbDZn9yRsbYPJva252IDyZAcky7afPgDJsu3HMFn2Xggk6998wWPZOzBZz0IgWfZDmKw9mCw7BJO1jSwPeYQsZCELHmuQSiiKcpDIubz8Y69tmma798nl74etiqZp9c61F1YuQmYJx2vCMW57hj6LcSE2fa6/VWcpdtyyagqZTzghGOX9iT4f44Pg9628Op/i0BUrFSYLeT7gjdLQF9PmTlVZXUzHBStFlsNzLat0vcFRFdXlVIWsHCGeXDSVrneZ45RVWjoC1iBMZZE4a13p9LDWV0ulZ8hnHRBG6JXi9oTBMuijXOcZLI3LqrFURKFe1dVZodeJisrKJY8VZ7IItXwZTNYpdb3nmawyj7XPZh3SarvODq3en6vscFjse0hIhHJRj8Oi3cUqh3XJZuU4rH3X1YFdIzQOq8VmHXJYhHKRyWG988iqs1mJAFlmcKwgZ6sRHAvo2gL6JAKtW6uu8rbPKg90TwR6gpB13soPN/J0Kucs33HR+Rwt3UeF2/m0PczVH1fFV+fjo0801tEn3q2rPvXYVWuuu+q/T+RRIqIocQ/vILqmaXYv3L+DqHp/B4EvkpCFLGQhC1nIQhaykIWsDWJZELOLLGQhC1nICob13WcmN/1Vshzf+TnuQ2T9ho1AshznC0yWM4LJmvZBspyvMFlTmCznCibrBiZrjCxkIQsyqxSL8vNGCutVVJSCDJZQFU0j639eC1klGaymYHHFslggkIWsNbAKaW4yTSmsrKhsvWzKYL0QltMsbj4eZisjg5URqWJS1pZ1zH8S002sW8hC1hpOp0l+5YodS2ElheX0DDcf6CygXXVJtFcnJRWIAjdnWLeQtf6vKwGwRjBZfZCsbzA/RY1AsiYgv77+6ENkrUh1R9bYssCxppMra3Wskc+szmThP5KQhSxkbSJrF2Lu/wKfupWAnrOi7wAAAABJRU5ErkJggg==');
  background-size: 75px 74px;
  top: 0;
  right: 0;
}
/*.browser-frame > * {
}*/
.browser-frame-content {
  /*margin-top: 38px;*/
  width: 100%;
  border: 2px solid #e9e9e8;
  border-radius: 0px 0px 5px 5px;
  overflow: hidden;
  background-color: white;
  /* box-shadow: 0 2px 1px rgba(0,0,0,0.5); */
}
.browser-frame img,
.browser-frame iframe {
  max-width: 100%;
  display: inline-block;
  /* max-height: 300px; */
}
.browser-frame iframe {
  box-sizing: border-box;
  height: 710px;
  border: 1px solid #ccc;
  border-width: 1px;
}

.browser-frame legend {
  font-size: 13px;
  padding: 2%; /* same as in image */
  margin: 0;
}

@media (min-width: 992px) {
  .browser-frame legend {
    font-size: 18px;
  }
}
@media (min-width: 1200px) {
  .browser-frame legend {
    font-size: 13px;
  }
}
@media (max-width: 767px) {
  .browser-frame legend {
    font-size: 2.8vw;
    padding: 0.9vw;
  }
}

.browser-frame .screenshot {
  max-width: 100%;
  display: inline-block;
  background-repeat: no-repeat;
  /*height: auto;*/
}

.browser-frame-hoverable-goals:hover {
  margin-bottom: -80px;
}

/********************** / BROWSER FRAME ***********************/

.cgid-x.ccvbg, .cgid-x .ccdbg {
  background-color: #333 !important;
}

.cgid-x.ccvbg, .cgid-x .ccvbg {background: linear-gradient(#666, #333) !important}
@media screen {.darktheme .cgid-x.ccvbg, .darktheme .cgid-x .ccvbg {background: linear-gradient(#ccc, #666) !important}}

.cgid-x.ccdbg, .cgid-x .ccdbg {
  background-color: #333 !important;
}
.cgid-x.ccmfg {
  color: #666 !important;
}
.cgid-x .ccmfg {
  color: #666;
}
.cgid-x.ccdbr124, .cgid-x .ccdbr124 { /* for tabber of next action tab */
  border-color: #333;
  border-bottom-color: transparent;
}
.cgid-x.ccwbg, .cgid-x .ccwbg {
   background-color: #eee !important;
}
.cgid-x.ccmbg, .cgid-x .ccmbg {
  background-color: #666 !important;
}
.cgid-x.ccmbr, .cgid-x .ccmbr {
  border-color: #666 !important;
}
.cgid-x.ccdbr, .cgid-x .ccdbr {
  border-color: #333 !important;
}
.cgid-x.ccbbg, .cgid-x .ccbbg {
  background-color: #111 !important;
}
.cgid-x.cc_bg, .cgid-x .cc_bg {
   background-color: #eee !important;
}
.darktheme .cgid-x.cc_bg, .darktheme .cgid-x .cc_bg {
   background-color: #111 !important;
}
.darktheme .cgid-x.ccmfg {
  color: #aaa !important;
}
.darktheme .cgid-x .ccmfg {
  color: #aaa;
}

.cgid-x .ul-triangle {
  border-top-color: #333 !important;
}

.cgid-x.cc_x_bg, .cgid-x .cc_x_bg {background-color: #ccc !important}
@media screen {.darktheme .cgid-x.cc_x_bg, .darktheme .cgid-x .cc_x_bg {background-color: #666 !important}}

.cgid-x.cc_x2_fg, .cgid-x .cc_x2_fg {color: #333 !important}
@media screen {.darktheme .cgid-x.cc_x2_fg, .darktheme .cgid-x .cc_x2_fg {color: #666 !important}}

.cgid-x.ccdfg, .cgid-x .ccdfg {
  color: #333 !important;
}
.cgid-x.cclbg, .cgid-x .cclbg {
  background-color: #ccc !important;
}
.cgid-x.cc-bg, .cgid-x .cc-bg {
   background-color: #ccc !important;
}
.darktheme .cgid-x.cc-bg, .darktheme .cgid-x .cc-bg {
   background-color: #333 !important;
}
@media screen {.darktheme .remarks .cgid-x.ccdfg, .darktheme .cgid-x .remarks .ccdfg {color: #ccc !important}}

.cgid-y.ccmfg, .cgid-y .ccmfg {
  color: #98A;
}
.cgid-y.ccwbg, .cgid-y .ccwbg {
  background-color: #edf;
}
.cgid-y.ccmbg, .cgid-y .ccmbg {
  background-color: #98A;
}
.cgid-y.ccmbr, .cgid-y .ccmbr {
  border-color: #98A;
}
.cgid-y.ccbbg, .cgid-y .ccbbg {
  background-color: #100818;
}
.cgid-y.ccdfg, .cgid-y .ccdfg {
  color: #444048;
}

.cgid-y.ccmbg, .cgid-y .ccmbg {
  background-color: #ddc3fa;
}
.cgid-y.ccmbr, .cgid-y .ccmbr {
  border-color: #ddc3fa;
}

/*
.darktheme .cgid-y.ccmfg, .darktheme .cgid-y .ccmfg {
  color: #425;
}
.darktheme .cgid-y.ccwbg, .darktheme .cgid-y .ccwbg {
  background-color: #98A;
}*/
.darktheme .cgid-y.ccmbg, .darktheme .cgid-y .ccmbg {
  background-color: #5b4d75;
}
.darktheme .cgid-y.ccmbr, .darktheme .cgid-y .ccmbr {
  border-color: #5b4d75;
}
/*.darktheme .cgid-y.ccbbg, .darktheme .cgid-y .ccbbg {
  background-color: #100818;
}
.darktheme .cgid-y.ccdfg, .darktheme .cgid-y .ccdfg {
  color: #213;
}*/

.demo-tiles {
  color: black;
}

@keyframes ticker {
  0%      {margin-top: 0}
  10%     {margin-top: -40px}
  12.5%   {margin-top: -40px}
  22.5%   {margin-top: -80px}
  25%     {margin-top: -80px}
  35%     {margin-top: -120px}
  37.5%   {margin-top: -120px}
  47.5%   {margin-top: -160px}
  50%     {margin-top: -160px}
  60%     {margin-top: -200px}
  62.5%   {margin-top: -200px}
  72.5%   {margin-top: -240px}
  75%     {margin-top: -240px}
  85%     {margin-top: -280px}
  87.5%   {margin-top: -280px}
  97.5%   {margin-top: -320px}
  100%    {margin-top: -320px}
}

.ticker {
  /*width: 820px;*/
  /*justify-content: center;*/


  height: 40px;
  /* margin: 20px auto; */
  overflow: hidden;
  
  height: 52px;
  padding: 6px 0;
  

  display: flex;
  flex-direction: row;
  font: 22px 'Montserrat', 'Century Gothic', sans-serif;
  -webkit-font-smoothing: antialiased;
  user-select: none;
}
.ticker span {
  float: left;
  line-height: 40px;
  padding-right: 10px;
  position: relative;
  top: 1%;
}

.ticker ul {
  float: left;
  padding-left: 0;
  animation: ticker 12s cubic-bezier(1, 0, 0, -0.5) infinite;
  /*animation: ticker 12s cubic-bezier(0.88, 0.02, 0.18,-0.54) infinite;*/
}

.ticker ul li {
  line-height: 40px;
  list-style: none;
}

.ticker-sub {
  color: black;
  background-color: white;
  padding: 0 10px;
  /*margin-top: 6px;*/
  /*border-top: 2px solid black;*/
  box-shadow: 0 0 9px 3px rgba(255,255,255,0.5);
  overflow: hidden;
  /*box-shadow: inset 0 2px 1px 1px rgba(0,0,0,0.5);*/
}

.original-ticker {
  width: 820px;
  justify-content: center;
  margin: 20px auto; 
}

@media (max-width: 992px) {
  .ticker {
    width: 100%;
    display: block;
    height: auto;
    text-align: center;
    /*overflow: */
    /*height: 120px;*/
    /*flex-direction: column;*/
  }
  .ticker-sub {
    overflow: hidden;
    height: 40px;
    width: 100%;
  }
  .ticker span {
    float: none;
  }
  .ticker ul {
    float: none;
    text-align: center;
  }
}
/************* vidyard code **************/
.vidyard_innerContainer {
  /*background-color: green;*/
  position: relative; 
  display: block;
  width: 100% !important;
  height: 0;
  padding: 56.25% 0 0 0; /* This should reflect your video aspect ratio */
  text-align: center;
}
.vidyard_outerContainer {
  /*background-color: blue;*/
  /*max-height: 360px; /* Set this to the height of your player */
  text-align: center
}
.vidyard_player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* These should be the dimensions of your player */
  /*max-width: 640px;   */
  /*max-height: 360px;*/
}
.vidyard_player > span {
  width: 100% !important;
  height: 100% !important;
  margin: 0 auto !important;
}

@media (max-width: 992px) {
  .container.container-splashvideo,
  .no-padding-sm {
    padding: 0;
    margin: 0;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  .col-md-offset-half {
    margin-left: 4.16666667%;
  }
}
/***************************/

/** TODO remove once new homepage has shipped **/
.old-homepage-title {
  color:black;
  margin: -10px 0 20px -210px;
  font-size:48px;
  text-align:center;
}

@media (max-width: 992px) {
  .old-homepage-title {
    margin: -10px 0 20px -115px;
  }
}

@media (max-width: 768px) {
  .old-homepage-title {
    margin: -10px 0 20px 0;
  }
}

img.svgicon, .svgicon {
  width: 1em;
  display: inline-block;
  vertical-align: text-top;
}

.glyphicon-x {
  position: relative;
  top: 1px;
  width: 1em;
  height: 1em;
  display: inline-block;
  line-height: 1;
  background-size: contain;
}

.glyphicon-x-pomodoro {
  background-image: url(/img/pomodoro.svg);
}

.glyphicon-x-intend {
  background-image: url(/img/intend-logo-bare-192.png);
}

.glyphicon-x-intend-app {
  background-image: url(/img/favicons/favicon-32x32.png);
/*  background-image: url(/img/favicons/android-chrome-192x192.png);*/
}

.glyphicon-x-number-sign {
  width: 1em;
  text-align: center;
}
.glyphicon-x-number-sign::before {
  content: '#';
  font-size: 120%;
  line-height: 0.8;
  font-weight: bold;  
  font-family: 'Montserrat';
}

.gly-top-2 {
  top: 2px;
}

.rounded-white-bg .glyphicon {
  top: 2px;
}

/*h2 .svgicon {
  filter: blur(5px); 
} /* I think this was a test */

.glyphicon-spin {
  animation: spin 1000ms infinite linear;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(359deg);
  }
}

.glyphicon.vcent {
  top: 0.2em;
}

.about-blurb p {
  font-size: 16px;
  line-height: 27px;
}
p.large, ul.large, ol.large {
  font-size: 22px;
}

p.xl, ul.xl, ol.xl {
  font-size: 20px;
  line-height: 30px;
}

.label {
  position: relative;
  top: -0.17em;
}

.tip {
  position: relative;
}

/* don't show too many tips
...but test this before doing something that could completely break the onboarding
flow if eg there are two adjacent tips there and one is hidden
.tip + .tip {
  display: none !important;
}
/**/

.tip-tiny {
  display: inline-block;
  padding: 5px 26px 5px 10px;
}
.tip-tiny button.close {
  position: absolute;
  top: 4px;
  right: 8px;
}
.tip-tiny .label {
  left: -5px;
}

.btn {border-radius: 8px}
.btn-xs {border-radius: 5px}

.btn-tip-confirm {
  position: absolute;
  bottom: 5px;
  right: 5px;
}

.tip-16pt p {
  font-size: 16px;
}

.tip-payment {
  margin-top: 20px;
}
.tip-payment p {
  font-size: 16px;
}
@media (min-width: 768px) {
  .tip-payment {
    margin-bottom: -25px;
  }
}
.nav-tabs-payment {
  padding-left: 40px;
}
@media (max-width: 992px) and (min-width: 768px) {
  .nav-tabs-payment {
    padding-left: 20px;
  }
}
@media (min-width: 1200px) {
  .nav-tabs-payment {
    padding-left: 55px;
  }
}

.tip-item-example {
  display:inline-block;
  padding: 2px 4px;
  background: white;
  color: black;
  margin: 0 10px;
}

.darktheme .tip-item-example {
  background: black;
  color: white;
}


.close.close-pad {
  padding-left:10px;
}

.clearfix {clear:both;}
.clearfix2:after { /* not currently in use*/
  content: " "; /* Older browser do not support empty content */
  visibility: hidden;
  display: block;
  height: 0;
  clear: both;
}

div.cfp-hotkeys-container {
  background: rgba(255,230,255,.92);
}
div.cfp-hotkeys-close:hover {
  background-color: #305;
  color: #cbd;
}
.cfp-hotkeys-key {
  font-family: Montserrat;
  box-shadow: inset 0 -2px 0 #000,
              inset 0 2px 2px #999 !important;
}

.cfp-hotkeys-key.cfp-hotkeys-key-inline-tiny {
  font-size: 12px;
  position: relative;
  bottom: 2px;
  padding: 2px 4px;
  min-width: 18px;
  margin: 0 1px;
}

.show-only-when-media-prefers-dark {display: none !important;}
@media (prefers-color-scheme: dark), (prefers-dark-interface) {
  .show-only-when-media-prefers-dark {display: block !important;}
}

.darktheme div.cfp-hotkeys-container {
  background: rgba(13, 4, 23, 0.92);
}

.darktheme .cfp-hotkeys-key {
  color: #f8f;
  box-shadow: 0 0 3px 2px #f8f, inset 0 0 5px #000 !important;
}

.darktheme .cfp-hotkeys table {
  color: #ccc;
}

.cfp-hotkeys-key.cfp-hotkeys-key-inline,
.help-block .cfp-hotkeys-key {
  line-height: 1.14em;
  padding: 0.14em 0.43em;
  margin: -0.14em 0;
}

/******** FEEDBACK BUTTON *********/

.feedback-box {
  color: white;
  font-size: 16px;
  text-align: center;
  position: fixed;
  right: 0;
  bottom: -150px;
  display: block;
  width: 250px;
  height: 390px;
  overflow: hidden;
  z-index: 1200;
  transform: rotate(-90deg);
  transform-origin: 100% 40px;
  transition: all 300ms ease;
}
.feedback-box.active {
  bottom: 0px;
}

/* Shorthand version */
.menu-item {
  position: relative;
  display: inline-block;
  border: 1px dashed #000;
  padding: 10px;
  background: #ffffa2;
  height: 20px;
  text-decoration: none;
}

.feedback-box.mouseover, .feedback-box.active {
  transform: rotate(0deg);
  text-decoration: none;
  transition: all 100ms ease;
}

.feedback-close-btn {
  position:absolute;
  display: none;
  top: 5px;
  right: 125px;
  color: #ccc;
  padding: 10px;
  border-radius: 4px;
  transition: all 50ms ease;
}

.feedback-box.active .feedback-close-btn {
  display: block;
}

.feedback-close-btn:hover {
  text-decoration: none;
  background: #ccc;
  color: white;
  cursor: pointer;
}

.feedback-box-tabby {
  /* background-color: #ffffff; */
  background-color: #8e44ad;
  width: 125px;
  height: 40px;
  padding: 8px;
  position: absolute;
  top: 5px;
  right: 0;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  box-shadow: 0 0 2px rgba(0,0,0,0.5);
}

.feedback-box-tabby:hover {
  cursor: pointer;
  background-color: #251e47;
  height: 45px;
  top: 0;
}

.feedback-box-main {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 320px;
  background: #9600ff;
  border: 4px solid #9600ff;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.feedback-box.loggedout {
  height: 414px;
}

.feedback-box.loggedout .feedback-box-main {
  height: 369px;
}

.feedback-box.loggedin .feedback-box-main {
  bottom: 26px;
  height: 324px;
}

.feedback-box.mouseover .feedback-box-tabby, .feedback-box.active .feedback-box-tabby {
  background-color: #251e47;
  border-top-right-radius: 0;
  top: 5px;
}

.feedback-box.active .feedback-box-tabby {
  box-shadow: none;
}

.feedback-box.mouseover .feedback-box-main, .feedback-box.active .feedback-box-main {
  border-color: #251e47;
  background-color: #251e47;
}

.feedback-box a.feedback-box-tabby, .feedback-box.mouseover a.feedback-box-tabby, .feedback-box a.feedback-box-tabby:hover {
  color: white;
  text-decoration: none;
}

/********* HOMEPAGE START *********/

.lead {
    font-size: 18px;
    font-weight: 400;
}

ul.lead li {
  margin-bottom: 10px;
}

.content-section {
  padding: 50px 0;
  border: none;
}

.content-section-dark {
  background-color: black;
  color: white;
}

.content-section-hued {
  padding: 50px 0;
  background-color: #f8e8f8;
  border-top: 1px solid #eed7ff;
  border-bottom: 1px solid #eed7ff;
  /* better hue but fucks up features page
  background-color: #eeddff;
  border-top: 1px solid #e8d0f8;
  border-bottom: 1px solid #e8d0f8;*/
  transition: background-color .25s ease-out;
}

.content-section-green {
  background-color: #d7fbdf; /* e7f7ec is whitish for homepage goal color */
}

.content-section-saturated {
  padding: 50px 0;
  background-image: linear-gradient(45deg,#9900aa,#7700ff);
  border: none;
  color: white;
}

.content-section-beem {
  background: linear-gradient(135deg, #ffa, #ffcb08);
  border: none;
}

.darktheme .content-section-beem {
  background: linear-gradient(135deg, #ffa2, #ffcb0822);
}

.content-section-wf {
  background: #c4e1f4; /*linear-gradient(135deg, #ffa, #ffcb08);*/
}

.darktheme .content-section-wf {
  background: #121e25; /*linear-gradient(135deg, #ffa3, #ffcb0833);*/
}

.content-section-last {
  padding-bottom: 0;
  border-bottom: 0;
}

.content-section h1, .content-section h2[id] {
  margin-top: -45px;
  padding-top: 70px;
}

.content-section-narrow {
  padding: 0;
  border: none;
  background: none;
}

.content-section-narrow .container {
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: white;
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 2px 1px -1px rgba(0, 0, 0, 0.12);
  /*border: 1px solid rgba(0,0,0,0.2);*/
  /*box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.2), 0px 3px 4px 0px rgba(0, 0, 0, 0.14), 0px 3px 3px -2px rgba(0, 0, 0, 0.12); }*/

  /*background-color: #f8e8f8;*/
  /*border: 1px solid #eed7ff;*/
  /*border-bottom: 1px solid #eed7ff;*/
}

.feature-grid-row {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  overflow: auto;
}

.grid-item {
  flex-basis: 100%;
  flex: auto;
  -ms-flex: auto;
  position: relative;
  box-sizing: border-box;
  padding: 10px;
}
@media(min-width: 500px) {
  .grid-item {
    flex-basis: 50%;
  }
}
@media(min-width: 992px) {
  .grid-item {
    flex-basis: 33.33%;
  }
}
@media(min-width: 1300px) {
  .grid-item {
    flex-basis: 25%;
  }
}
@media(min-width: 1640px) {
  .grid-item {
    flex-basis: 20%;
  }
}
@media(min-width: 2000px) {
  .grid-item {
    flex-basis: 16.66%;
  }
}

.weight-400 {
  font-weight: 400
}

.grid-item h3 {
  margin-top: 0;
}

a.grid-item-inner {color: inherit}

.feature-grid-row .grid-item-inner {
  background: white;
  border-radius: 8px;
  padding: 10px 12px;
  height: 150px;
  transition: background-color .25s ease-out;
  display: block;
}
.darktheme .feature-grid-row .grid-item-inner {
  background: black;
}

.feature-grid-row .grid-item-inner {
  filter: saturate(0);
  transition: filter 250ms ease-out, box-shadow 250ms ease-out;
}
.feature-grid-row .grid-item-inner:hover {
  text-decoration: none;
  color: inherit;
  filter: none;
}
.feature-grid-row .grid-item-inner[href]:hover {
  box-shadow: 0 0 3px #000, 0 0 3px 1px #fff;
/*  box-shadow: 1px 1.5px 1px 1px #000, 1px 1.5px 3px 1px #fff9;*/
}

.feature-grid-row .grid-item-inner .grid-icon { /* could be image, svg, glyphicon  */
  height: 20px;
  position: relative;
  top: -2px;
/*  float: left;*/
}

.emoji-icon.grid-icon {
  font-size: 80%;
  left: -1px;
}

.adjust-hue-orange {
  filter: sepia() saturate(1.5) hue-rotate(-20deg);
}
.adjust-hue-green {
  filter: sepia() saturate(1.5) hue-rotate(60deg);
}
.adjust-hue-cyan {
  filter: sepia() hue-rotate(120deg);
}

#darktheme-moon-full,
#hover-trigger-darktheme:hover #darktheme-moon-new {
  display: none;
}
#hover-trigger-darktheme:hover #darktheme-moon-full {
  display: inline;
}

.make-a-choice-photo {
  margin-top: 25px;
  height: 200px;
}

.make-a-choice-caption {
  position: absolute;
  left: 0;
  bottom: -20px;
  color: #333;
}
.make-a-choice-caption:hover {
  color: #ccc;
}

@media (max-width: 1200px) {
  .make-a-choice-photo {
    height: 240px;
  }
  .make-a-choice-caption {
    left: 14px;
  }
}

.jumbo-code {
  position: absolute;
  opacity: 0.4;
  left: -40px;
  font-size: 120px;
}

.jumbo-quote {
  /*background-size: cover;*/
  /*'background-attachment' to fixed.*/
  background-color: #858;
  background-image: linear-gradient(45deg,#3a003a,#a7a7a7);
  margin: -20px 0 20px;
  color: #fff;
  text-align:center;
}

.jumbotron-bgi {
  margin: -20px 0 20px;
  background-image: url(/img/gci-photos/bgi-header-dalle.jpg);
  background-size: cover;
  background-position-y: bottom;
  color: #102;
  text-align:center;
  min-height: 700px;
  padding-top: 140px;
  text-shadow:
  0 0 7px #ddbbff,
  0 0 15px #ddbbff,
  0 0 30px #ddbbff,
  0 0 60px #ddbbff,
  0 0 90px #ddbbff,
  0 0 120px #ddbbff;
}

.jumbotron .subtitle {
  position: relative;
  left: 50px;
  top: -10px
}

.jumbotron .tinytext {
  display: inline-block;
  position: absolute;
  opacity: 0.3;
}

.jumbotron .tinytext1 {
  bottom: 20px;
  left: 60px; 
  animation: spin 2s infinite linear;
}

.jumbotron .tinytext2 {
  top: 20px;
  right: 30px; 
  animation: spin 2.4s infinite linear reverse;
}

.jumbotron .tinytext3 {
  top: 3%;
  left: 30px; 
  animation: spin 2.2s infinite linear;
}

.jumbotron .tinytext4 {
  bottom: 6%;
  right: 30px; 
  animation: spin 2.666667s infinite linear;
}
.jumbotron .tinytext5 {
  bottom: 40%;
  right: 10%; 
  animation: spin 3.5s infinite linear reverse;
}

.jumbotron .tinytext6 {
  top: 10%;
  left: 33%; 
  animation: spin 2.3s infinite linear;
}

.jumbotron .tinytext7 {
  bottom: 8%;
  right: 38%; 
  animation: spin 2.5s infinite linear reverse;
}

h1.h0 {
  font-size: 50px;
}

@media (max-width: 767px) {
  h1.h0.h0-flex-xs {
    font-size: 7vw;
  }
}

h5, .h5 {
  font-size: 15px;
  font-weight: normal;
}

@media (min-width: 768px) {
  .fontsize-4-5vw-above-sm {
    font-size: 4.5vw
  }
}

.landing-mid-header,
.content-section h1.landing-mid-header {
  color: white;
  margin: 10px 0;
  padding-top: 0;
  text-align:center;
  overflow: hidden;

}
.landing-mid-header :not(.btn) {
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.homepage-shaded-bg {
  background: #eeddff;
  background-image: url(/img/homepage/sbg1.svg), url(/img/homepage/sbg2.svg);
  background-repeat: no-repeat, no-repeat;
  background-position: top 0 left 0, top 0 right -20px;
  background-size: contain, contain;
  padding-bottom: 50px;
  /*background-image: linear-gradient(to bottom, #db638f, #db638f 20%, #af63db 30%, #af63db 50%, #64bbde 60%, #64bbde 70%, #8fdb63 80%, #8fdb63)*/
  /*background-image: linear-gradient(to bottom, #db638f, #af63db, #64bbde, #8fdb63)*/
  overflow: visible;
  /*transition: background-position 100ms ease-in-out;*/
        /* doesn't seem to work */
}

@media (min-width: 768px) {
  .homepage-shaded-bg {
    background-position: top 0 left calc(50% - 396px), top 0 right calc(50% - 396px);
    /*background-position: top 0 left 7%, top 0 right 7%;*/
  }
}
@media (min-width: 992px) {
  .homepage-shaded-bg {
    background-position: top 0 left calc(50% - 496px), top 0 right calc(50% - 496px);
    /*background-position: top 0 left 7%, top 0 right 7%;*/
  }
}
@media (min-width: 1200px) {
  .homepage-shaded-bg {
    background-position: top 0 left calc(25% - 346px), top 0 right calc(25% - 346px);
    /*background-position: top 0 left 7%, top 0 right 7%;*/
  }
}

@media (max-width: 767px) {
  .homepage-shaded-bg {
    background-image: none;
  }
}

/* these are container elements */
.content-section-narrow .feature-container,
.feature-container {
  position: relative;
  z-index: 20;
  padding-top: 40px;
}
.feature-container h2.section-heading {
  position: relative;
  z-index: 30;
}
.feature-container::after {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 80px;
  height: 80px;
  z-index: 25;
}
.feature-container-1::after {
  background-image: url(/img/homepage/compass.svg);
  /* background-size: 50px; */
}
.feature-container-2::after {
  background-image: url(/img/homepage/sun.svg);
  /* background-size: 50px; */
}
.feature-container-3::after {
  background-image: url(/img/homepage/moon.svg);
  /* background-size: 50px; */
}

@media (max-width: 768px) {
  .feature-container {
    margin-left: 10px;
    margin-right: 10px;
  }
  .feature-container::after {
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
  }
  .jumbotron .subtitle {
    left: 65px
  }
}

@media (max-width: 500px) {
  .feature-container {
    margin-left: 0;
    margin-right: 0;
  }
  .feature-container::after {
    top: 30px;
    right: 15px;
    width: 40px;
    height: 40px;
  }
  h1.landing-mid-header {
    font-size: 30px;
  }
  h2.landing-mid-header {
    font-size: 22px;
  }
}


.nopadding {
  padding: 0 !important;
}

.hero-illustration {
  width: 100%;
  max-width: 500px;
  max-height: 500px;
}

/* this row-flex code from https://codepen.io/AllThingsSmitty/pen/GZpzGM */
.row-flex,
.row-flex > div[class*="col-"] {
  display: flex;
  flex: 1 auto;
  /* flex-direction: row-reverse; */
}
@media (max-width: 767px) {
  .row-flex.row-normal-xs {
    display: block;
  }
}
.row-flex-wrap {
  flex-flow: row wrap;
}
.row-flex-wrap-r {
  flex-flow: row-reverse wrap;
}
.row-flex > div[class*="col-"] > div {
  width: 100%;
} 
.flex-col {
  display: flex;
  flex: 1 100%;
  flex-flow: column nowrap;
}
.flex-grow {
  flex: 2;
}
/*
ul.nav-tabs-flex {
  display: flex;
  flex: 1 auto;
}

ul.nav-tabs-flex li {
  display: flex;
  flex-flow: column;
}*/

.row-flex-overflow-visible {
  overflow: visible;
}



.event-button-time {
  font-size: 18px;
  white-space: pre-line;
}
@media (max-width: 768px) {
  .event-button-time {
    font-size: 16px;
  }
  .event-button h3 {
    font-size: 20px;
  }
}

.feature-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding-right: 30px;
}

.feature-flex-content {
  max-width: 400px;
  padding: 10px;
}

@media (max-width: 768px) {
  .feature-flex {
    padding-right: 0;
  }
  .feature-flex-content {
    max-width: 500px;
    margin: 50px;
  }
  
  .content-section-testimonials {
    padding: 40px 20px 16px;
  }
}

.testimonial-box {
  background: #edf;
  margin: 12px 6px;
  overflow: auto;
  padding: 7px;
}

.testimonial-box p {
  padding: 8px;
  margin: 4px;
}

@media (max-width: 500px) {
  .testimonial-box p {
    font-size: 14px;
  }
}

.content-section-hued .testimonial-box {
  background: white;
}

.testimonial-person {
  float: right;
  margin-bottom: 12px;
}

.demo-tiles .tile {
  justify-content: center;
  /*flex-*/
}

.demo-tiles .tile {
  background: white;
  padding-top: 20px;
  /*background: #cbd;*/
}

.carousel-coaches {
  min-height: 250px;
}
@media (max-width: 600px) {
  .carousel-coaches {
    min-height: 330px;
  }
}
@media (max-width: 500px) {
  .carousel-coaches {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  article.content-section, article .content-section {
    padding-left: 15px;
    padding-right: 15px;
  }
}

article figure img {
  max-width: 100%;
  margin: 10px auto 25px;
}

.read-more-link {
  font-style: italic;
}

.jumbotron.jumbotron-blue {
  background-image: linear-gradient(45deg,#0099aa,#0077ff);
  color: #fff;
}
.jumbotron.jumbotron-pink {
  background-image: linear-gradient(45deg,#c8768f,#db638f,#ef508f);
  color: white;
  /*color: #fd3;
  text-shadow: 0 0 1px rgba(255,51,153, 1),
               0 0 3px rgba(255,51,153, 1),
               0 0 5px rgba(255,51,153, 1),
               0 0 7px rgba(255,51,153, 1);*/
  /*text-shadow: 0 2px 5px rgba(255,204,51, 0.8);*/
}

.jumbotron.jumbotron-green {
  background-image: linear-gradient(45deg,#1aff00,#66ff00);
  color: #000;
  /*color: #fd3;*/
  text-shadow: 0 0 1px rgba(204,255,51, 1),
               0 0 3px rgba(204,255,51, 1),
               0 0 5px rgba(204,255,51, 1),
               0 0 7px rgba(204,255,51, 1);
  /*text-shadow: 0 2px 5px rgba(255,204,51, 0.8);*/
}


.btn-fire {
  background-image: linear-gradient(45deg,#ff1a00,#ff6600);
  color: #000;
  /*color: #fd3;*/
  text-shadow: 0 0 1px rgba(255,204,51, 1),
               0 0 3px rgba(255,204,51, 1);
}
.btn-fire:hover,
.btn-fire:focus {
  background-image: linear-gradient(45deg,#ff3a00,#ff8600) !important;
}
.btn-fire:active {
  background-image: linear-gradient(45deg,#ee1500,#ee5500) !important;
}

.jumbotron.jumbotron-fire {
  background-image: linear-gradient(45deg,#ff1a00,#ff6600);
  color: #000;
  /*color: #fd3;*/
  text-shadow: 0 0 1px rgba(255,204,51, 1),
               0 0 3px rgba(255,204,51, 1),
               0 0 5px rgba(255,204,51, 1),
               0 0 7px rgba(255,204,51, 1);
  /*text-shadow: 0 2px 5px rgba(255,204,51, 0.8);*/
}

.leaderboard-header {
  background-image: linear-gradient(45deg,#ff1a00,#ff6600);
  color: #000;
  /*color: #fff;*/
  padding: 10px;
  margin-bottom: 0;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.leaderboard-list {
  border: 2px solid;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  border-top: none;
  border-left-color: #ff1a00;
  border-bottom-color: #dd5500;
  border-right-color: #ff6600;
}

.leaderboard-list a {
  color: #420;
  position: relative;
  top: 0.18em;
}
.leaderboard-list > div {
  padding: 6px;
}
.leaderboard-list > div:not(:first-child) {
  border-top: 1px solid #ccc;
}

.leaderboard-list .leader-num {
  display: inline-block;
  width: 2em;
  text-align: center;
}

.leaderboard-list img {
  width: 32px;
  height: 32px;
}
.leaderboard-list .leader-name {
  display: inline-block;
  padding-left: 5px;
  font-size:  20px;
}
.leaderboard-list .leader-val {
  float: right;
  font-size: 24px;
}

.leader-self {
  background: linear-gradient(45deg, rgba(255, 153, 0, 0.8), rgba(255, 204, 0, 0.8));
}

.jumbotron.jumbotron-water {
  background: linear-gradient(45deg, #195, #159) !important;
  color: #000;
  /*color: #fd3;*/
  text-shadow: 0 0 1px rgba(51,204,204, 1),
               0 0 3px rgba(51,204,204, 1),
               0 0 5px rgba(51,204,204, 1),
               0 0 7px rgba(51,204,204, 1);
  /*text-shadow: 0 2px 5px rgba(255,204,51, 0.8);*/
}


.lab-box {
  position: relative;
  border: 2px solid;
  border-radius: 5px;
  /*border-bottom-left-radius: 5px;*/
  /*border-bottom-right-radius: 5px;*/
  border-top: none;
  border-left-color: #195;
  border-bottom-color: #177;
  border-right-color: #159;
  padding: 0;
}

.lab-header {
  background-image: linear-gradient(45deg, #195, #159);
  /*color: #000;*/
  color: #fff;
  padding: 10px;
  /*margin-bottom: 0;*/
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  /*position: absolute;*/
  /*top: 0;*/
  /*left: 0;*/
  /*right: 0;*/
  margin: 0;
}

.lab-header svg {
  fill: #fff;
}

.lab-content {
  padding: 10px;
}

.lab-box.lab-box-active .lab-content {
  background-image: linear-gradient(45deg, #1b65, #16b5);
}
.darktheme .lab-content {
  color: white;
}


.testimonial {
  font-size: 16px;
}

.testimonial-author {
  text-align: right;
  font-size: 16px;
}


.section-heading {
    margin: 0 0 30px;
}

.section-heading-spacer {
    float: left;
    width: 200px;
    border-top: 3px solid #e7d7e7;
    margin-bottom: 20px;
}

@media (max-width: 992px) {
  .section-heading-spacer {display: none}
}

@media (max-width: 1200px) and (min-width: 992px) {
  .hidden-md-inline {
    display: none !important;
  }
}

@media (max-width: 992px) and (min-width: 768px) {

  .hide-right-sm-25vw-until-hover {
    margin-left: -25vw;
    position: relative;
    left: 25vw;
    transition: left 250ms ease-in-out;
  }

  .hide-right-sm-25vw-until-hover:hover {
    left: 5vw;
  }

  .hidden-sm-inline {
    display: none !important;
  }
  .clearfix-sm {
    clear: both !important;
  }
}

@media (max-width: 499px) {
  .hidden-xxs {
    display: none !important;
  }

  .flex-wrap-xxs {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .hidden-xs-inline {
    display: none !important;
  }
  .clearfix-xs {
    clear: both !important;
  }
  .xs-small-text p {
    font-size: 14px;
  }
}
@media (min-width: 768px) {
  .visible-xs-inline {
    display: none !important;
  }
}

/* Pain Points, above each feature */

.pp-teaser {
  position: relative;
  top: 43px;
  z-index: 30;
  max-width: 100%;
  margin: 0;
  padding: 0;
  margin-top: 50px;
}
.pp-major-problem {
  font-size: 11px;
  color: #869;
  position: relative;
  top: 16px;
  left: 40px;
  text-transform: uppercase;
  display: block;
  width: 200px;
}
.pp-major-problem:before {
  content: 'Without Intend';
}

/* these two cause  */
.pp-teaser {
  top: 0;
  margin-top: 50px;
}
.pp-major-problem:before {
  /*content: 'Problem Intend solves';*/
  /*content: 'Common conundrum';*/
  content: 'Is this you?';
}

@media (max-width: 767px) {
  .pp-major-problem {
    left: 100px;
  }
}

/*
.pp-inline {
  display: inline-block;
  color: #af5d27;
  background: #ffeebb;
  padding: 3px 8px;
  border-radius: 4px;
  box-shadow: 0 1px 1px rgba(0,0,0,0.5);
  font-weight: 200;
  font-family: 'Montserrat';
}*/

.pp-quote-bubble {
  position: relative;
  padding: 10px;
  /* margin: 1em 0 3em; */
  margin: 20px;
  margin-left: 100px;
  margin-left: 32px;
  border-radius: 10px;
  display: inline-block;
  font-size: 24px;
  font-weight: 200;
  font-family: 'Montserrat';
  color: #fff;
  color: #fffe;
  background: #493636;
  box-shadow: 0 1px 1px rgba(0,0,0,0.5);
}


.pp-quote-bubble:after {
  content: "";
  position: absolute;
  border-style: solid;
  display: block;
  width: 0;
  top: 12px;
  left: -16px;
  bottom: auto;
  border-width: 8px 20px 8px 0;
  border-color: transparent #4d3727;
  transform: rotate(-20deg);
}
/* http://blog.sellfy.com/free-stock-images/
    ^ is a directory of 41 other sources, with descriptions
   http://startupstockphotos.com/
*/
.pp-quote-bubble.pp-quote-bubble-1:before {
  /*transform: scaleX(-1);*/
  background-image: url(/img/homepage/users/_goals5.jpg);
}
.pp-quote-bubble.pp-quote-bubble-2:before {
  background-image: url(/img/homepage/users/_todolist.jpg);
}
.pp-quote-bubble.pp-quote-bubble-3:before {
  background-image: url(/img/homepage/users/_unsatisfied2.jpg);
}
.pp-quote-bubble:before {
  content: "";
  background-repeat: no-repeat;
  background-repeat: initial;
  background-size: 54px 54px;
  background-position: bottom right;
  width: 54px;
  height: 54px;
  border-radius: 6px;
  position: absolute;
  left: -60px;
  top: -5px;
}

@media (max-width: 867px) {
  .pp-quote-bubble {
    margin-left: 64px;
  }
}
@media (min-width: 992px) and (max-width: 1033px) {
  .pp-quote-bubble {
    margin-left: 64px;
  }
}


@media (max-width: 767px) {
  .pp-quote-bubble {
    margin-left: 80px;
    font-size: 4vw;
  }
}
@media (max-width: 400px) {
  .pp-quote-bubble {
    font-size: 5.5vw;
  }
}

.pp-teaser.pp-material .pp-quote-bubble {
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 2px 1px -1px rgba(0, 0, 0, 0.12);
  /*box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.2), 0px 3px 4px 0px rgba(0, 0, 0, 0.14), 0px 3px 3px -2px rgba(0, 0, 0, 0.12);*/
}

.pp-teaser.pp-material .pp-quote-bubble:before {
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 3px 1px -2px rgba(0, 0, 0, 0.12);
}

.pp-teaser-inside {
  top: 14px;
  margin-top: 20px;
}
.pp-teaser-inside.pp-quote-bubble {
  background: white;
  padding: 17px 17px 17px 70px;
  color: #444;
}
.pp-teaser-inside.pp-quote-bubble:after {
  display: none;
}
.pp-teaser-inside.pp-quote-bubble:before {
  position: absolute;
  left: 6px;
  top: 6px;
  display: inline-block;
}

.nav-accomplishments.nav-tabs > li > a,
.nav-accomplishments.nav-tabs > li > a:hover,
.nav-accomplishments.nav-tabs > li > a:focus {
  color: #96c;
}

.nav-accomplishments.nav-tabs > li.active > a,
.nav-accomplishments.nav-tabs > li.active > a:hover,
.nav-accomplishments.nav-tabs > li.active > a:focus {
  font-weight: bold;
  background-color: #f2eff3;
  border-bottom-color: #f2eff3;
  color: black;
}
/*
.nav-flex {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
}
.nav-flex > li {
  list-style: none;
  flex-basis: auto;
  flex-grow: 1;
  background: blue;
  border: 1px solid cyan;
}*/

.tab-pane-accomplishments {
  /*box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 2px 1px -1px rgba(0, 0, 0, 0.12);*/
  border: 1px solid #ddd;
  border-top: none;
  padding: 15px;
  overflow: auto;
}
.tab-pane-accomplishments.active {
  /*background: linear-gradient(to bottom, #cbc, #fff);*/
  background: #f2eff3;
}

blockquote.accomplishment-quote,
blockquote.accomplishment-quote-left {
  position: relative;
  padding: 10px;
  color: black;
  background-color: #d9c8ed;
  background-image: linear-gradient(to bottom, #d9c8ed, #eeddff);
  border: none;
  border-radius: 10px;
  display: inline-block;
  font-size: 17px;
  font-weight: 200;
  font-family: 'Montserrat';
  box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 5px 8px 0px rgba(0, 0, 0, 0.14), 0px 1px 14px 0px rgba(0, 0, 0, 0.12);
}

blockquote.accomplishment-quote:before {
  background-image: url(/img/homepage/quote-arrow-shadow-cropped.png);
  content: "";
  position: absolute;
  display: block;
  width: 25px;
  height: 35px;
  top: 37px;
  right: -25px;
  bottom: auto;
  border: none;
}

blockquote.accomplishment-quote-left:before {
  background-image: url(/img/homepage/quote-arrow-shadow-cropped-left.png);
  content: "";
  position: absolute;
  display: block;
  width: 25px;
  height: 35px;
  top: 37px;
  left: -25px;
  bottom: auto;
  border: none;
}

/* CSS-only triangle
blockquote.accomplishment-quote:after {
  content: "";
  position: absolute;
  border-style: solid;
  display: block;
  width: 0;
  top: 42px;
  right: -20px;
  bottom: auto;
  border-width: 12px 0 12px 20px;
  border-color: transparent #d9c8ed;
}*/

blockquote.accomplishment-quote-left strong,
blockquote.accomplishment-quote strong {
  font-weight: 500;
}

.user-name-location-etc {
  font-size: 16px;
  text-align: center;
}
.user-name-location-etc:first-child {
  margin-top: 43px;
  text-align: left;
}

.objections .well p,
.faq .well p {
  line-height: 1.7;
  font-size: 16px;
}

.objections .well p:last-child,
.faq .well p:last-child {
  margin-bottom: 0;
}

.below-objections {
  margin-top: 40px;
}

@media (max-width: 767px) {
  .below-objections {
    text-align: center;
    line-height: 1.8;
  }
}

@media (max-width: 991px) {
  .text-center-sm {
    text-align: center;
  } 
}

.inline-emoji {
  display: inline;
  width: 1.25em;
  height: 1.25em;
  position: relative;
  top: -0.1em;
}

/********* HOMEPAGE END ***********/


[ng\:cloak], [ng-cloak], .ng-cloak {
  display: none !important;
}

.navbar-brand, h1, h2, h3, h4, .btn, thead, .jumbotron {
  font-family:'Montserrat Alternates', 'Montserrat', Helvetica, sans-serif;
}

a.headerlink, a.headerlink:hover {
  color: inherit;
}

a.hiddenlink, a.hiddenlink:hover {
  color: inherit;
}
a.hiddenlink {
  text-decoration: none;
}

.founderpic {
  width: 42%;
  float: left;
  margin: 18px 10px 6px 0;
}
.founderpic.right {
  float: right;
  margin: 18px 0 10px 6px;
}

.btn:active,
.btn.active {
  /*position: relative;*/
  /*top: 2px;*/ /* TODO - make this work without breaking eg .goal-side-btns */
  box-shadow: 0 0.5px 1px rgba(0,0,0,0.4) !important;
}

@media (max-width: 767px) {
  .founderpic {
    width: 90%;
    margin-left: 0;
    margin-right: 10%;
  }
  .founderpic.right {
    margin-left: 10%;
    margin-right: 0;
  }
}

.p-manifesto {
  font-size: 18px;
  line-height: 180%;
}

.tile p.normal {font-size: 16px;margin-bottom: 5px;}

.about-blurb-tar p {text-align: right;}

.jumbotron p.jlarge {font-size: 40px;}

@media (max-width: 1200px) {
  .jumbotron p.jlarge {font-size: 32px;}
}

@media (max-width: 992px) {
  .jumbotron p.jlarge {font-size: 24px;}
}

@media (max-width: 768px) {
  .jumbotron p.jlarge {font-size: 40px;}
}

.jumbotron p.jsubtitle {
  font-size: 2vw;
  padding-right: 20vw;
  padding-left: 20vw;
}


.navbar-inverse .navbar-brand {
  color: #fff;
  opacity: 0.8;
}

.navbar-inverse .navbar-brand.navbar-brand-static,
.navbar-inverse .navbar-brand:hover {
  opacity: 1;
}

.navbar-brand .app-logo {
  max-width:40px;
  max-height:40px;
  margin: -25px 0 -20px -10px;
  display: inline;
}

.navbar-inverse .navbar-brand:hover,
.navbar-inverse .navbar-brand:hover span {
  color: #fff;
}

.row-alerts {
  text-align: center;
  padding: 0;
  margin: 0;
}
.row-alerts .alert {
  display:inline-block;
}

#alertbar_today .alert {
  display: inline-block;
}

.imglink, .imglink:hover {color: inherit;}
a.imglink:hover {text-decoration: none;}

@media (max-width: 1200px) and (min-width: 768px) {
  .navbar-small-text .navbar-nav > li > a {
    font-size: 14px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .navbar {
    max-height: 53px;
  }
}

.btn, .btn-group .btn {
  font-weight: 500;
}

/* CUSTOM BUTTON COLOR */
/*
.btn-image {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
  overflow: auto;
  display: inline-block;
  border-radius: 8px;
}

.btn-image:hover {
  position: relative;
  top: -3px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.75);
}*/

.btn-inline {
  display: inline-block;
  padding: 4px 7px;
  /*padding: 4px 7px;*/
  margin: 0 3px;
}

.btn.btn-thin {
  padding: 3px 7px;
}

.btn-grey-til-mouseover {
  background: #999;
}

.btn-default, a.btn-default,
.btn-default:not([disabled]):hover, a.btn-default:not([disabled]):hover {
  color: black;
}

.btn-success {
  background-color: #3ebb61; /* TODO actually thoroughly update this */
}

.darktheme button.close {
  color: white;
  opacity: 0.6;
}

.btn-black {
  background-color: #443C44; 
  color: white;
}

.btn-black:active,
.btn-black.active {
  background-color: #251e25;
  color: #c6c0cc;
}
.btn-black:hover, .btn-black:focus {
  background-color: #665466;
  color: white;
}

.darktheme .btn-black {
  background-color: #ddccee; 
}

.darktheme .btn-black:active,
.darktheme .btn-black.active {
  background-color: #eeddff;
  color: #251e25;
}
.darktheme .btn-black:hover,
.darktheme .btn-black:focus {
  background-color: #f6f0ff;
}

.darktheme .btn-default {
  background-color: #887c8c;
}

.darktheme .btn-default:hover, .darktheme .btn-default:focus {
  background-color: #97909a;
  color: white;
}
.darktheme .btn-default:active,
.darktheme .btn-default.active {
  background-color: #251e25;
  color: #c6c0cc;
}

.btn-pink {
  background-color: #CC4466;
  color: white;
}

.btn-pink:hover, .btn-pink:focus {
  background-color: #DD4477;
  color: white;
}
.btn-pink:active,
.btn-pink.active {
  background-color: #BB4455;
}


.btn-webh {
  background-color: #C73A63;
  color: black;
}

.btn-webh:hover, .btn-webh:focus {
  background-color: #d26282;
  color: black;
}
.btn-webh:active,
.btn-webh.active {
  background-color: #e0537c;
}

.btn-beem {
  background-color: #ffcb08;
  color: black;
}

.btn-beem:hover, .btn-beem:focus {
  background-color: #ffdd44;
  color: black;
}
.btn-beem:active,
.btn-beem.active {
  background-color: #ccaa11;
}

.btn-wf {
  background-color: #58a4db;
  color: black;
}

.btn-wf:hover, .btn-wf:focus {
  background-color: #76b9e6;
  color: black;
}
.btn-wf:active,
.btn-wf.active {
  background-color: #1080cb;
}

.btn-brightblue {
  color: white;
  background-color: #0099ff;
}
.btn-brightblue:hover,
.btn-brightblue.hover,
.btn-brightblue:focus,
.btn-brightblue:active,
.btn-brightblue.active,
.open > .dropdown-toggle.btn-brightblue {
  color: white;
  background-color: #33adff;
  border-color: #33adff;
}
.btn-brightblue:active,
.btn-brightblue.active,
.open > .dropdown-toggle.btn-brightblue {
  background: #0082d9;
  border-color: #0082d9;
}

.btn-orange {
  color: white;
  background-color: #fe7e17;
}
.btn-orange:hover,
.btn-orange.hover,
.btn-orange:focus,
.btn-orange:active,
.btn-orange.active,
.open > .dropdown-toggle.btn-orange {
  color: white;
  background-color: #fe9e1d;
  border-color: #fe9e1d;
}
.btn-orange:active,
.btn-orange.active,
.open > .dropdown-toggle.btn-orange {
  background: #d86b14;
  border-color: #d86b14;
}

.btn-producthunt {
  background-color: #da552f;
  border-color: #571E0D;
  color: white;
}

.btn-producthunt:hover, .btn-producthunt:focus {
  background-color: #E8653F;
  background-image: none;
}
.btn-producthunt:hover, .btn-producthunt:focus, .btn-producthunt:active, .btn-producthunt.active, .open .dropdown-toggle.btn-producthunt {
  color: #ffffff;
  border-color: #E8653F;
}

.btn-producthunt:active,
.btn-producthunt.active {
  background-color: #E8653F;
  border-color: #F0734F;
}

.btn-royalblue {background-color: #00F; color: white; }
.btn-royalblue:hover { background-color: #35F; color: white; }
.btn-royalblue:active { background-color: #24C; color: white; }
.btn-royalblue:focus { background-color: #00F; color: white; }

.btn-eablue {background-color: #00839b; color: white; }
.btn-eablue:hover { background-color: #319db1; color: white; }
.btn-eablue:active { background-color: #11a0ba; color: white; }
.btn-eablue:focus { background-color: #11687f; color: white; }


.icon-discontinuous {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 16px;
  line-height: 8px;
  position: relative;
  top: -5px;
  text-align: center;
  border: 2px solid;
  padding: 3px;
  display: inline-block;
}

.timer-toggles-container {
  position: relative;
  right: 2px;
  bottom: 2px;
  display: inline-block;
  /*background: green;*/
}

.btn.btn-cts,
body.darktheme .btn.btn-cts {
  color: rgba(128,128,128,0.8);
  border-radius: 30px;
  font-size: 20px;
  font-weight: bold;
  padding: 3px 5px 0px;
  height: 38px;
  width: 38px;
  overflow: hidden;
  position: relative;
  right: 2px;
  bottom: 0;
}

.btn.btn-cts:hover,
body.darktheme .btn.btn-cts:hover {
  color: #ccc;
}

.btn-cts:focus, .btn-cts:hover {
  outline: none;
  color: #999;
  box-shadow: inset 0 -3px 5px rgba(0, 0, 0, 0.125);
}

.btn.btn-cts.locked, .btn.btn-cts.locked:focus, .btn.btn-cts.locked:hover {
  box-shadow: none;
  cursor: default;
  color: #ccc;
}

.btn-cts.active,
.btn.btn-cts.active.locked,
.btn.btn-cts.active.locked:focus,
.btn.btn-cts.active.locked:hover {
  color: #39f;
  background-color: #eef4ff;
}

body.darktheme .btn-cts.active,
body.darktheme .btn.btn-cts.active.locked,
body.darktheme .btn.btn-cts.active.locked:focus,
body.darktheme .btn.btn-cts.active.locked:hover {
  color: #39f;
  background-color: #002233;
}

body.darktheme .btn-cts:focus,
body.darktheme .btn-cts:hover {
  outline: none;
  color: #789;
  box-shadow: inset 0 -3px 5px rgba(220, 230, 240, 0.125);
  /*box-shadow: 0px 1px 8px 0px rgba(255, 220, 220, 0.2), 0px 3px 4px 0px rgba(255, 220, 220, 0.14), 0px 3px 3px -2px rgba(255, 220, 220, 0.12);*/
}

body.darktheme .btn, body.darktheme .btn:hover {
  color: black;
}

.darktheme .well {
  background: #111;
}

.btn.btn-toggle-timer, body.darktheme .btn.btn-toggle-timer {
  color: #ccc;
  font-size: 18px;
  border-radius: 50%;
  padding: 0 10px;
  height: 38px;
  width: 38px;
  overflow: hidden;
  position: relative;
  right: -3px;
  bottom: 0;
  box-shadow: none;
}

/*.btn-toggle-timer:focus {
  box-shadow: none;
  bottom: 2px;
}*/

.btn-toggle-timer.btn-toggle-timer-mute:hover {
  color: black;
  background: #fed;
  box-shadow: 0 3px 5px rgba(0,0,0,0.75);
}

.btn-toggle-timer.btn-toggle-timer-webhooks:hover {
  color: black;
  background: #fde;
  box-shadow: 0 3px 5px rgba(0,0,0,0.75);
}

.btn-toggle-timer:focus {
  color: #ccc;
  background: #fff;
  outline: 0;
  /*border: 1px dashed #656;*/
  /*color:;*/
}

.btn-toggle-timer.btn-toggle-timer-mute:focus:hover {
  color: black;
}

.btn-toggle-timer.btn-toggle-timer-mute.active {
  color: #f90;
}

.btn-toggle-timer:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: white;
  border-radius: 50%;
  transition: all 70ms;
}

.btn-toggle-timer.btn-toggle-timer-mute:focus:before {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #fed;
}

.btn-toggle-timer.btn-toggle-timer-mute.active:focus:before {
  background-color: #fdb;
}

.btn-toggle-timer.btn-toggle-timer-mute:focus:not(:hover):before {
  background-color: #fff;
}

.btn-toggle-timer.btn-toggle-timer-webhooks:focus {
  outline: none;
}

.btn-toggle-timer.btn-toggle-timer-webhooks.active:focus:before {
  background-color: #fbd;
}

.btn-toggle-timer.btn-toggle-timer-webhooks:focus:not(:hover):before {
  background-color: #fff;
}

.btn-xl, .btn-group-xl > .btn {
  padding: 13px 24px;
  font-size: 22px;
  line-height: 1.671;
  border-radius: 8px;
  /*text-shadow: 0 1px 3px rgba(0,0,0,0.8);*/
}

.btn-with-margin {
  margin: 1px 1px 4px 0;
}

/* LOGIN ETC */

.logindropdown {
  background-color: #444;
  padding:6px;
  width:250px;
}

.logindropdown fieldset {
  padding: 4px;
}

.logindropdown input {
  margin:8px 8px 8px 0;
}

.logindropdown .btn {
  float:right;
  margin: 2px;
}

.logindropdown .btn-xs {
  float:left;
  margin:14px 0 0;
  opacity: 0.7;
}
.logindropdown .btn-xs:hover {
  opacity:1;
}

/* CONTENT */

h3.subtitle {
  font-size: 14px;
  font-style: italic;
}

h3.none {
  color:#999;
}

.darktheme h3.none {
  color: #666;
}

h4 {
  margin-top: 20px;
  margin-bottom: 4px;
}

ul.reviewlist li {
  list-style: none;
}

.summary {
  padding:5px;
}

/*.summary .date-column {
  overflow: visible;
  float:right;
  width:42px;
  height: auto;
  padding:2px;
  margin: 1px;
  margin-bottom: 20px;
}

.summary .date-column span, .summary .date-column a {
  display: block;
  text-align: center;
  width:44px;
}

.summary .date-column .countbox.header {
  color:#fff;
  background: #000;
  font-size: 12px;
}

.summary .date-column a.countbox.header:hover {
  background: #333;
  text-decoration: none;
}*/


.user-card {
  border:1px solid #cbc;
  box-shadow: 1px 1px 1px #ede;
  border-radius: 4px;
  overflow:hidden;
  padding: 4px;
  width: 600px;
  float: left;
  margin-bottom: 12px;
}

.user-card hr {
  margin: 4px 2px 8px;
}

.user-card a.card-link-left {
  text-decoration: none;
}

/* added by Jeremy --> refactoring in userOverview.mustache */
table.overviewTable {
  margin-right: auto;
  margin-left: auto;
  max-width: 100%;
  text-align: center;
  border-collapse: separate;
  border-spacing: 0px 2px;
  table-layout: fixed;
}

table.overviewTable td {
  width: 75px;
}

table.overviewTable tbody td {
  padding: 0;
}

table.overviewTable tbody td > div {
  width: 100%;
  height: 100%;
  margin: 0;
}

table.overviewTable tr {
  height: 26px;
}

td.countbox.header {
  background: #000;
  padding: 0;
  font-family: 'Open Sans';
  min-width: 28px;
}

td.countbox.header:hover {
  background: #333;
}

.valuebox > span {
  display: inline-block;
  text-align: center;
  color: #000;
  background-image: url(/img/points_default.png);
  background-repeat: no-repeat;
  background-position: center;
  transition: 150ms ease-out;
}

/* there's also div.valuebox below! */
td.valuebox {
  overflow: visible;
}

td.valuebox > span {
  width: 48px;
  height: 48px;
  margin: 0 -10px;
  background-size: 16px 16px;
}

td.valuebox > span.medium {
  background-size: 24px 24px;
}

td.valuebox > span.big {
  background-size: 32px 32px;
  font-weight: bold;
}
td.valuebox > span.huge {
  background-size: 48px 48px;
  font-weight: bold;
  font-size: 1.2em;
}
td.valuebox > span:hover {
  cursor: default;
}

div.valuebox {
  display: inline-block;
  width: auto;
}

div.valuebox > span {
  width: 16px;
  height: 16px;
  margin: 0 1px;
  font-size: 14px;
  background-size: 100%;
}

div.valuebox > span.medium {
  width: 24px;
  height: 24px;
}

div.valuebox > span.big {
  width: 32px;
  height: 32px;
  font-weight: bold;
}
div.valuebox > span.huge {
  width: 48px;
  height: 48px;
  font-weight: bold;
  font-size: 16px;
}
div.valuebox > span:hover {
  /*transform: scale(1.3);*/
  cursor: default;
  /*box-shadow: 0 2px 2px 1px rgba(0,0,0,0.3)*/
}

.flex-center {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;
}

td.pomobox {
  border-right: 1px solid #fcc;
}

td.pomobox:last-child {
  border-right: none;
}
.pomobox {
  line-height: 10px;
  vertical-align: top;
  text-align: left;
}
.sandbox.sandbox-lg,
.pomobox.pomobox-lg {
  line-height: 20px;
}

.pomobox img {
  width:8px;
  height:8px;
  margin:-3px 0 0 2px;
  vertical-align: top;
}

.pomobox.pomobox-lg img {
  width: 16px;
  height: 16px;
  margin:1px 0 0 2px;
}

h1 .pomobox.pomobox-lg,
h1 .sandbox.sandbox-lg {
/*   margin-left: 40px; */
  line-height: 40px;
  display: inline-block;
}
h1 .pomobox.pomobox-lg img {
  width: 32px;
  height: 32px;
  margin: 2px 0 0 4px;
  font-size: 20px
}
h1 .sandbox.sandbox-lg span {
  font-size: 20px;
  height: 32px;
  line-height: 32px;
}
h1 .sandbox.sandbox-lg span:before,
h1 .sandbox.sandbox-lg span:after {
  height: 32px;
  width: 10px;
}

a.overviewHeader, a.overviewHeader:hover{
  display: block;
  color: #fff;
  font-size: 12px;
  text-decoration: none;
}

.newGoalReport, .endGoalReport {
  line-height: 0.7;
}

.newGoalReport {
  margin-top: -15px;
  margin-bottom: -7px;
}

.endGoalReport {
  margin-top: 0px;
  margin-bottom: -22px;
}
/* end of addition */

/* NOW PAGE - now page - Now Page  */

#mindfulness_symbol {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.1;
  background: url(/img/mindfulness-symbol.svg) no-repeat center;
  background-size: 50%;
}

.nowpage-buttons {
  margin: 15px;
  text-align: center;
  color: #000c;
}
.darktheme .nowpage-buttons {
  color: #fffc;
}
.nowpage-buttons .btn:focus {
  outline: none !important;
}

.nowpage-buttons .btn.disabled, .nowpage-buttons .btn[disabled] {
  opacity: 0.3;
}
.nowpage-buttons .btn.btn-ghost.disabled:hover,
.nowpage-buttons .btn.btn-ghost[disabled]:hover {
  background: none;
  color: #000f;
}

.nowpage-box {
  box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.2),
              0px 3px 4px 0px rgba(0, 0, 0, 0.14),
              0px 3px 3px -2px rgba(0, 0, 0, 0.12);
}

.container-timer {
  position: fixed !important; /* TODOOOOO */
  z-index: 10 !important;
  top: 64px;
  height: 50px;
  /*background: rgba(233,233,255,0.3);*/
}

/* idea:
.ismobile.container-timer {
  overflow: visible;
  background: rgba(255,255,255,1);
  width: 100%;
  height: 59px;
  left: 0;
  right: 0;
  position: absolute;
  top: 0px;
  padding: 5px 5px;
}
*/

.container-other .container-timer {
  top: 117px;
}

.container-today-settings {
  background-color: red;
  position: absolute;
  z-index: 630;
  left: 30px;
  width: 300px;
  height: 0;
  overflow: visible;
}

.ismobile .container-today-settings {
  left: 15px;
}

.nav-tabs > * {
  z-index: 100 !important;
}

@media (max-width: 768px) {
  .container-timer {
    width: 100%;
  }
  .container-today-settings {
    left: 15px;
  }
}

.form-control-sm {
  padding: 2px 6px;
  margin: 2px 1px;
  line-height: 10px;
  height: 36px;
}

.form-control-inline {
  display: inline-block;
  width: auto;
  padding: 2px 6px;
  margin: 2px 1px;
  line-height: 10px;
  height: 2.4em;
}


/* ========== THE TIMER ========== */

.timer-debug {
  background: #eef;
  padding: 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.timer-hourglass-icon {
  transition: 300ms ease-in-out;
}
.timerBox.paused .timer-hourglass-icon {
  transform: rotate(90deg);
}
.timerBox.ticking .timer-hourglass-icon {
  transform: rotate(180deg);
}

.timerBox {
  padding: 0.3em 0.3em 0.1em;
  font-weight: bold;
  float: right;
  color: black;
  background: rgba(255,255,255,0.8);
  border-radius: 0.25em;
  position: relative;
}

.timerTime, .breaktext, .timerControlButtons button {
  font-size: 1.5em;
}

.timerTime-editable:hover {
  cursor: pointer;
}

.timerControlButtons {
  /* margin-top: 0.1em; */
  position: relative;
  top: 0.2em;
}

.timerBox button {
  background: transparent;
  border: none;
  outline: none;
}

.timerBox .timer-side-btn {
  position: absolute;
  /*top: -10px;*/
  top: 0;
  right: -10px;
  opacity: 0;
  transition: 100ms ease-out;
  color: black;
}
.darktheme .timerBox .timer-side-btn {
  color: white;
}
.standalonetimer .timer-side-btn {
  display: none;
}
.timerBox:hover .timer-side-btn {
  opacity: 0.5;
}

.timerBox:hover .timer-side-btn:hover {
  opacity: 1;
}
.timerBox .timer-side-btn:hover {
  text-shadow: 0 0 4px white, 0 0 2px white;
}
.darktheme .timerBox .timer-side-btn:hover {
  text-shadow: 0 0 4px black, 0 0 2px black;
}

.timer-spare-durs-container {
  height: 0.7em;
  overflow: visible;
  position: relative;
  top: -1.8em;
  right: -0.8em;
  display: inline-block;
}

@media (min-width: 500px) and (max-width: 730px) {
  .timer-spare-durs-container {
      top: 1.2em;
      right: -13em;
  }
}

.timer-spare-durs {
  font-family: "Montserrat", "sans-serif";
  position: absolute;
  top: 0.5em;
  right: 0;
  width: 11.8em;
  padding: 0 0.3em;
  border: 1px solid #eee9ee; /* so no change in width when dragging dur makes dotted border  */
  /*border-radius: 4px;*/
  /*background: skyblue;*/
  text-align: center;
  margin: 0 1.5em -7em 0;
  display: inline-block;
  font-weight: 500;
  color: #656;
  background: #eee9ee;
  line-height: 1.5em;
  z-index: 100;
}

.timer-spare-durs-trash {
  right: 12em;
  min-height: 2em;
  min-width: 2em;
  width: 2em;
  max-width: 9.5em;
  padding-top: 0.4em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-out,
                width 0.2s ease-out;
}

.timer-spare-durs {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-out;
}

.timer-spare-durs-collapsed {
  width: 9em;
  padding: .5em;
}

.timer-spare-durs.spare-not-empty,
.timer-spare-durs.on-drag-enter,
.timer-spare-durs.on-drag-hover,
.timer-spare-durs-trash.trash-not-empty,
.timer-spare-durs-trash.on-drag-enter,
.timer-spare-durs-trash.on-drag-hover {
  opacity: 1;
  pointer-events: auto;
}

.timer-spare-durs-trash.trash-not-empty {
  width: auto;
  padding-left: 1.8em;
}

.timer-spare-durs a {
  position: relative;
  padding: 0;
  margin: -0.6em 0 0 0.15em;
  text-decoration: none;
  font-weight: bold;
  line-height: 2em;
}

.timer-spare-durs a {
  user-select: none;
}

a[drag]:hover,
div[drag]:hover,
span[drag]:hover {
  cursor: move;
  cursor: grab;
}

.dur-tomato-simple {
  width: 1.143em;
  height: 1.143em;
}

.timer-spare-durs .dur-hide-because-assigning {
  display: none !important;
}

.dur {
  display: inline-block;
  line-height: 1.2em;
  width: 16px;
  height: 16px;
  margin: -3px 1px 0 1px;
  font-weight: 300;
  font-size: 14px !important;
  font-family: 'Ubuntu Condensed';
  font-style: normal;
  text-align: center;
}

.dur-tomato {
  background-image: url(/img/pomodoro.svg);
  background-size: 16px 16px;
  color: white;
  text-shadow: 0 0 1px rgba(117,32,23, 0.5);
}
/* this is the non-image style */
/*.dur-tomato {
  border-radius: 50px;
  background-size: 16px 16px;
  color: white;
  text-shadow: 0 0 1px rgba(117,32,23, 0.5);
}*/
.dur-sand {
  background: rgb(243, 173, 43);
  color: black;
  position: relative;
  margin: -3px 5px;
  /*text-shadow: 0 0 1px rgba(117,32,23, 0.5);*/
}

.dur-sand.foc-20 {background: linear-gradient(to top, #f3ad2b 19%, #ffd6bb 20%)}
.dur-sand.foc-40 {background: linear-gradient(to top, #f3ad2b 39%, #ffd6bb 40%)}
.dur-sand.foc-60 {background: linear-gradient(to top, #f3ad2b 59%, #ffd6bb 60%)}
.dur-sand.foc-75 {background: linear-gradient(to top, #f3ad2b 74%, #ffd6bb 75%)}
.dur-sand.foc-80 {background: linear-gradient(to top, #f3ad2b 79%, #ffd6bb 80%)}
.darktheme .dur-sand.foc-20 {background: linear-gradient(to top, #f3ad2b 19%, #795f2b 20%)}
.darktheme .dur-sand.foc-40 {background: linear-gradient(to top, #f3ad2b 39%, #795f2b 40%)}
.darktheme .dur-sand.foc-60 {background: linear-gradient(to top, #f3ad2b 59%, #795f2b 60%)}
.darktheme .dur-sand.foc-75 {background: linear-gradient(to top, #f3ad2b 74%, #795f2b 75%)}
.darktheme .dur-sand.foc-80 {background: linear-gradient(to top, #f3ad2b 79%, #795f2b 80%)}

/*
  hourglass base: #f3ad2b
  hourglass sand: #fcd400
  hourglass glass line: #72bce1
  hourglass glass fill: #b6d4ee
*/

.dur-sand-xxs   {width: 0.7em;}
.dur-sand-xs    {width: 0.5em;}
.dur-sand-sm    {width: 0.86em;}
.dur-sand-md    {width: 0.86em;}
.dur-sand-lg    {width: 1.3em;}
.dur-sand-xl    {width: 1.8em;}
.dur-sand-xxl   {width: 2.3em;}
.dur-sand-xxxl  {width: 3em;}
.dur-sand-xxxxl {width: 4em;}

.dur-sand-text {
  z-index: 2;
  position: absolute;
  overflow: visible;
  left: 0;
  right: 0;
  text-align: center;
}

.dur-sand:before,
.dur-sand:after {
  content: '';
  position: absolute;
  width: 6px;
  height: 16px;
  background: inherit;
  transform-origin: 100% 0;
  z-index: 1;
}
.dur-sand:before {
  left: -1px;
  transform: skew(-15deg);
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
}
.dur-sand:after {
  right: -1px;
  transform: skew(15deg);
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
}

.on-drag-enter {
  border: 1px dashed #999 !important;
}

.on-drag-hover {
  background-color : rgba(103,103,103,0.25) !important;
}

.item-flex-rightstuff.on-drag-hover,
.item-flex-rightstuff.on-drag-enter {
  min-width: 24px;
  border: 1px dotted #999;
  padding: 3.5px 1px 0;
  margin-bottom: -1px;
  border-radius: 3px;
}

.item-tally {
  color: black;
  display: inline-block;
  font-style: normal;
  padding: 1px 4px;
}

.biglistnexa .item-tally {
  font-size: 18px;
}

#animationDur {
  position: absolute;
  z-index: 900;
  top: 0;
  left: 0;
  opacity: 0;
}

img.pomo-icon-14 {
  width: 14px;
  height: 14px;
  margin-left: 1px;
}

.pomoMode,
.pomoMode button.stopBtn,
.darktheme .pomoMode,
.darktheme .pomoMode button.stopBtn {
  color: #ea402f;
}

.customMode {
  color: #fe7e17;
}

.customMode.cfarColor {
  color: #e55e22;
}

.timerBox.pomoMode.breaking .timerTime,
.timerBox.customMode.breaking .timerTime,
.darktheme .timerBox.pomoMode.breaking .timerTime,
.darktheme .timerBox.customMode.breaking .timerTime {
  color: #9bcd50;
}


.timerBox.customMode.otherticking .timerTime {
  color: #0099ff;
}

.pomoMode button.playBtn,
.pomoMode button.successBtn,
.darktheme .pomoMode button.playBtn,
.darktheme .pomoMode button.successBtn {
  color: #9bcd50;
}

.hourglassMode {
  color: #f3ad2b;
}

.donetext {color: #000;}

.breaktext {color: #9bcd50;}

.timerDetectBox {
  padding-top: 10px;
  padding-right: 10px;
  text-align: right;
  color: #999;
  font-size: 14px;
  float: right;
}

.breakidea {
  font-weight: normal;
  display: inline-block;
}
.breakidea a.wf-link {
  width: 24px;
  height: 24px;
  background-size: 24px 24px;
  margin-left: 4px;
}

@media (max-width: 380px) {
  .timerDetectBox {
    padding-right: 10px;
  }
}

.timer-til {
  color: #666;
  font-size: 1em;
  font-weight: normal;
}

.standalonetimer .timer-til {
  display: none; /* haven't figured out a good spot for this yet */
  /* position: absolute; */
  bottom: 100px;
  left: 0;
  right: 0;
  position: fixed;
  font-weight: 200;
  /* width: 40em; */
  /* min-width: 5em; */
  /* background: blue; */
}

.timer-til.ticking {
  color: #912A2A;
}

.timer-til.breaking {
  color: #688855;
}

.timer-til.otherticking {
  color: #357CAB;
}

  /* STANDALONE TIMER PAGE */


.justtimer {
  font-size: 9vw;
}

.standalonetimer .timerBox {
  float: none;
  text-align: center;
  position: relative;
  background: none;
}

.standalonetimer .timer-spare-durs {
  display: none;
}

.justtimer .breaktext {
  position: absolute;
  bottom: -0.8em;
  left:  0;
  right: 0;
}

.standalonetimer .breaktext.breaktextlong span {
  font-size: 0.8em;
}

.justtimer .btn-cts {
  position: absolute;
  top: 10px;
  left: -2px;
  right: inherit;
}

.justtimer-wholesite {
  width: 100%;
  min-height: 60vh;
  border: 1px solid black;
  position: absolute;
  top: 20vw;
  left: 0;
  right: 0;
  bottom: 0;
}

/* end of TIMER */

/* BIG SCREEN PAGE FOR ROOMS */
/*
.bigscreen {
  padding: 10px;
  margin: 10px;
  border: 2px solid red;
}
*/

.bigscreen-roomlink {
  text-align: center;
  font-size: 1.8vw;
  font-weight: 200;
}

/* pretty hacky way to make own buttons go away */
.bigscreen .reactroom-user-box:first-child,
.bigscreen .reactroom-media-send-btns-inline {
  display: none;
}

.bigscreen-roomlist .roomlist-invite-bar {
  display: none !important;
}

.sidewaysdate {
  display:block;
  position:relative;
  top:70px;
  left:-50px;
  width: 200px;
  font-size:24px;
  transform:rotate(-90deg);
}

.djedi-collapsible {
  transition: all 300ms ease-in-out;
  min-height: 390px;
  margin: 10px;
  padding: 10px;
  position: relative;
}

/* 
.djedi-header {
  transition: all 300ms ease-in-out;
  transform-origin: right;
} */
.djedi-header-collapsed {
  position: absolute;
  transform: rotate(-90deg);
  white-space: nowrap;
  right: 57%;
  bottom: -55px;
}

.topbox {
  background: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.75);
  overflow: auto;
  margin-top: -30px;
  padding: 40px 0;
}

.topbox-fixed {
  position: fixed;
  width: 100vw;
  z-index: 800;
}

.row-entry {
  padding: 0 0 20px 0;
  margin-top: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.75);
  background: white;
  position: relative;
}

.btn-insert-missing-days {
  display: block;
  text-decoration: none;
  color: #324;
  text-align: center;
  opacity: 0.5;
  font-size: 18px;
  padding: 20px 0 0;
}
.btn-insert-missing-days:hover {
  text-decoration: none;
  color: #324;
  opacity: 0.7;
  cursor: pointer;
}


.topdate {
  margin-top: 15px;
  margin-bottom: 5px;
  color: #ccc;
}
.darktheme .topdate {
  color: #303030;
}

.countbox {
  padding:2px 6px;
  position: relative;
  top:-3px;
  margin: 2px;
  font-size:16px;
  /* background: #aaa; */
   color: #fff; 
}

.countbox.v {
  font-family: 'Montserrat Alternates', 'Montserrat', 'Open Sans', sans-serif;
  font-size: 13px;
  line-height: 22.4px;
  color: white;
}

.countbox.cgid-x {
  height: 100%;
}

a.countbox.cgid-x:hover {
  text-decoration: none;
  background:#999;
  color: #cfc;
}

.countbox.endsymbol {
  font-size: 0;
  width: 21px;
  height: 0;
  border: 13px solid;
  padding: 0;
  border-right-color: transparent;
}
/* 2020-09-20 Malcolm notes
 * a new user recently pointed out that the overview table was overwhelming,
 * and I was inclined to agree. I figured one way to simply it would be hiding
 * the the milestones altogether. Atm I've just done that with this style.
 * If long-time users complain, I'll add it back as a setting or as something
 * that doesn't take effect until someone has used the app for a month.

.countbox.hasMilestone {
  border: 2px solid;
  font-size: 13px;
}*/

.item {
  color: #666;
}

.forster-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #9996;
  float: left;
  left: 4px;
  top: 4.5px;
}

.notdone:not(.nevermind) .forster-dot {
  background: #999;
}

.biglistnexa .forster-dot {
  left: -4px;
  top: 7px;
  width: 16px;
  height: 16px;
  background: black !important;
}
.darktheme .biglistnexa .forster-dot {
  background: white !important;
}

a.dragger-demo,
.item a.dragger {
  display: inline-block;
  width: 28px;
  height: 22px;
  padding: 6px 8px;
}
.item a.dragger {
  margin: -4px 0 0 -8px;
  float:left;
  opacity: 0;
}

.item a.dragger:hover {
  cursor: grab;
  cursor: move;
}

a.dragger-demo span,
.item a.dragger span {
  width: 15px;
  height: 3px;
  margin: 1px 0 2px;
  background: rgba(0,0,0,0.1);
  float: left;
  border-radius: 1px;
}
a.dragger-demo span {
  background: rgba(0,0,0,0.3);
}

.item-wrapper {
  clear: both;
  position: relative;
}

.item-wrapper.nevermind {
  text-align: right;
}

.item-wrapper.nevermind input {
  display: none;
}

.item.nevermind label {
  font-weight: normal;
  opacity: 0.4;
  font-style: italic;
}

.item.nevermind .item-label-wrapper {
  color: red;
  text-decoration: line-through;
}

/*.item.nevermind label:before {
  position: absolute;
  content: "";
  left: 0;
  top: 50%;
  right: 0;
  width: 100%;
  border-top: 1px solid #f00 !important;
  border-color: inherit;
}*/

.item a.item-menu-btn,
.item a.nevermind-x,
.item a.unnevermind-arrow {
  position: absolute;
  top: 0;
  /*right: 0;*/
  left: -15px;
  font-style: normal;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  width: 12px;
  height: 21px;
  padding-top: 2px;
  /*border-radius: 2px;*/
  /* make it not selectable */
  user-select: none;
}

a.item-menu-btn {
  color: #999;
  fill: #999;
}

a.item-menu-btn {
  opacity: 0;
  transition: all 0.1s ease-in-out;
}

a.item-menu-btn:hover {
  cursor: pointer;
  color: white;
  fill: white;
  background-color: #999;
}

a.item-menu-btn svg {
  width: 13px;
  height: 13px;
}

.ismobile a.item-menu-btn {
  opacity: 1;
  top: 3px;
  padding-top: 3.5px;
  width: 24px;
  height: 24px;
  right: 3px;
  left: auto;
  border-radius: 20px;
  /* background: #000; */
}

.nexa-menu-btn-container {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 30px;
  height: 30px;
  font-size: 16px;
  z-index: 500;
}

a.nexa-menu-btn {
  color: black;
  fill: black;
  border-radius: 50%;
  opacity: 0.6;
  width: 28px;
  height: 28px;
  display: inline-block;
  padding: 5px 6px;
  /*background: blue;*/
}

.nexa-menu-btn svg {
  width: 16px;
  height: 16px;
}

a.nexa-menu-btn:hover {
  border-radius: 50%;
  background-color: #fff;
  opacity: 1;
  cursor: pointer;
}

.darktheme a.nexa-menu-btn {
  color: white;
  fill: white;
}

.darktheme a.nexa-menu-btn:hover {
  background-color: #0006;
}

.item-dur-stuff {
  font-style: normal;
  font-weight: bold;
  display: inline-block;
  /*height: 24px;*/
  /* max-height: 1px; */
  /* overflow: visible; */
}

.item-dur-stuff.no-durs {
  display: none;
}

a.add-pomo {
  text-decoration: none;
  text-shadow: 0 0 3px black;
  position: relative;
  top: 2px;
  color: white;
  padding: 2px;
  margin: 0px -2px 0 -3px;
  font-size: 20px;
  height: 10px;
  line-height: 10px;
  overflow: visible;
  min-height: 0;
}

a.add-pomo:hover {
  cursor: pointer;
}

a.add-pomo span {
  position: absolute;
  top: 2px;
  left: 6px;
  z-index: 20;
}

.nowdothis a.add-pomo span {
  top: 10px;
  left: 7px;
}

.item a.add-pomo {
  display: none;
}

.item-wrapper:hover a.add-pomo,
.item-flex:hover a.add-pomo {
  display: inline-block;
}

.item-wrapper:hover a.dragger,
.item-wrapper:hover a.item-menu-btn,
.item-wrapper:hover a.nevermind-x {
  opacity: 1;
}

.ismobile .item a.dragger {
  opacity: 1;
  height: 30px;
  padding: 6px 6px;
}

.ismobile .item input[type="checkbox"] {
  height: 22px;
  width: 22px;
  top: 0;
}

#itemModal {
  padding-top: calc(35vh - 100px);
}

.ismobile #itemModal {
  padding-top: calc(50vh - 50px); 
}

#itemModal .modal-item {
  font-size: 16px;
}

ul.item-menu-list {
  list-style: none;
  list-style-position:inside;
  font-size: 18px;
  padding: 15px 5px 0;
  margin-bottom: 0;
}
ul.item-menu-list li {
  padding: 5px 5px 5px 11px;
}
ul.item-menu-list li:hover {
  cursor: pointer;
  background: #edf;
}

.darktheme ul.item-menu-list li:hover {
  background: #213;
}

#itemModal .add-pomo {
  left: -4px;
  margin-right: -4px;
}

#itemModal .add-pomo span {
  font-weight: bold;
  top: 10px;
}

.item-wrapper:hover .dragger span {
  background: rgba(0,0,0,0.2);
}

.darktheme .item-wrapper:hover .dragger span {
  background: rgba(51,51,51,0.5);
}

.item.notdone,
.item.notdone .selzukte-input {
  font-style: italic;
}

.item-wrapper.selected {
  background-image: linear-gradient(90deg, rgba(0,0,0,0.1), rgba(0,0,0,0));
  border-left: 3px solid #999;
  margin-left: -3px;
}

.darktheme .item-wrapper.selected {
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
}

.item input {
  padding: 0 2px;
  margin: 0 3px 0 0;
  position: relative;
  float:left;
  top: 2px;
}

.item input[type="checkbox"] {
  height: 18px;
  width: 18px;
}

.item, .item-wrapper {
  min-height: 21px;
}

.ismobile .item, .ismobile .item-wrapper {
  min-height: 31px;
}

.ismobile .item-wrapper {
  padding: 4px 18px 4px 10px;
}

.ismobile .item label {
  font-size: 16px;
}

.item-example {
  color: #06F;
}

.item.notdone.notdotted_deemph {
  opacity: 0.6;
}
.item.notdone.notdotted_deemph label {
  font-weight: normal;
}
/*.item.notdone.notdotted_deemph input[type="checkbox"] {
  width: 9px;
  height: 9px;
}*/

.biglistnexa {
  min-height: 28px;
  margin-top: 6px;
  margin-bottom: 6px;
}

.biglistnexa input[type="checkbox"] {
  height: 26px;
  width: 26px;
  margin-left: -4px;
}

.ismobile .item-wrapper.biglistnexa {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 10px;
  padding-bottom: 7px;
}

.ismobile .biglistnexa .item label,
.biglistnexa .item label {
  font-size: 21px;
  position: relative;
  top: -2px;
}

.points-block {
  border-radius: 4px/8px;
  padding: 0 4px;
  color: white;
  border-right: 2px solid;
  display: inline-block;
  margin-right: 2px;
  font-weight: 400;
}
.points-block-vd {
  padding: 0 11px;
}

.points-block-click2confirm {
  opacity: 0.6;
}
.points-block-click2confirm:hover {
  opacity: 0.9;
  cursor: pointer;
}

#outcomesEditor .item {
  height: auto;
}

#intentionEditor {
  margin: 30px;
  font-weight: bold;
  color: #999;
}

#intentionEditor div.invalid::before {
  content: '\25b6';
  color: red;
  display: inline-block;
  margin-left: -1em;
  margin-right: 0.1em;
  font-size: smaller;
}
/*
#intentionEditor div.invalid {
  border-bottom: 1px dotted red;
  display: inline-block;
  color: red;
}*/

#intentionEditor div.onlynum {
  font-style: italic;
}

#todotextarea,
.plaintext-intentions,
.colored-intentions {
  font-weight: bold;
}

.ci-container {
  margin-bottom: 0;
  transition: height 50ms, min-height 50ms;
  /*border: 2px solid red;*/
  /*background: rgba(255,0,0,0.5);*/
}

.ci-prose-brace {
  color: #808080;
  /* background: linear-gradient(to right, transparent, white, transparent); */
  /* text-shadow: 0 0 2px white; */
}

.ci-prose-intention-NOT-ACTUALLY {
  border-top-left-radius: 0.2em 0.5em;
  border-top-right-radius: 0.2em 0.5em;
  border-bottom-left-radius: 0.2em 0.5em;
  border-bottom-right-radius: 0.2em 0.5em;
  box-shadow: 0 1px 1px 0.2px #9999;
}

.plaintext-intentions {
  z-index: 401;
  position: absolute;
  top: 0;
  background: transparent;
  color: transparent;
  resize: none;
  /* max-height: 999999px; /* this is to try to fix font boosting */
  max-height: 100%; /* this is to try to fix font boosting */
}

.colored-intentions {
  min-height: 160px;
  padding-bottom: 0;
  position: absolute;
  top: 0px;
  background: rgba(255,255,255,0.5);
  border: 2px solid transparent !important;
    /* TODO it seems that this doesn't have precisely the same size as the plaintext ones */
  /*border-color: blue;*/
  z-index: 400;
  word-wrap: break-word;
}


.no-intentions-color .ci-container .plaintext-intentions {
  color: black;
}
.darktheme .no-intentions-color .ci-container .plaintext-intentions {
  color: #ccc;
}
.no-intentions-color .ci-container .colored-intentions * {
  color: transparent !important;
}

#todosNextday .colored-intentions {
  /*border-color: #F8F;*/
  /*background: #F6F2FF;*/
  /*background-color: rgba(237,219,255,0.5);*/
  background-color: rgba(250,247,255,0.9);
  box-shadow: 0 0 8px 5px #ddd9;
}

.has_wholeday #todosNextday .colored-intentions {
  box-shadow: 0 0 8px 5px #fff9;
}

#boilerplateModal .colored-intentions {
  background: white;
}
.darktheme #boilerplateModal .colored-intentions {
  background: black;
}
#boilerplateModal .ci-container {
  max-height: 700px;
  overflow-x: hidden;
  overflow-y: auto;
}

#caret {
  display: inline-block;
  position: absolute;
  border-left: 1px solid #000;
  background: transparent;
  width: 1px;
  height: 1.467em;
  /* same as line-height in form-control */
  /*height: 22px;*/
  animation:blinking 1.2s infinite;
}
#caret[hidden] { display: none }

@keyframes blinking {
    0% {opacity: 1}
   49% {opacity: 1}
   50% {opacity: 0}
   99% {opacity: 0}
  100% {opacity: 1}
}
/*
@keyframes blinking {
    0% {opacity: 1}
   49% {opacity: 1}
   60% {opacity: 0}
   99% {opacity: 0}
  100% {opacity: 1}
}*/

.emptyline {
  color: transparent;
}

.colored-intentions .invalid {
  border-bottom: 1px dashed red;
}
.colored-intentions .goal-missing {
  border-bottom: 1px dashed #06f;
}

/* NEW OUTCOMES */

.btn-tiny-plus {
  padding: 1px 2px 0 4px;
  font-size: 12px;
}

.btn-nostyle,
.btn-ghost:not(:hover):not(:focus):not(:active):not(.active) {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none;
  color: inherit;
}

.pure-icon-btn {
  color: black;
  opacity: 0.5;
  transition: 100ms ease-out;
}
.pure-icon-btn:hover {
  color: black;
  font-size: 120%;
  opacity: 1;
  cursor: pointer;
}

body.darktheme .btn.btn-tiny-plus,
.btn-tiny-plus:hover {
  color: white;
}

.outcomes-display,
.outcomes-editor {
  background: white;
}
.darktheme .outcomes-display,
.darktheme .outcomes-editor {
  background: black;
}

.outcomes-goalsection {
  margin-bottom: 20px;
  transition: margin 0.2s;
  position: relative;
}

.outcomes-goalsection .goalsbar-container {
  margin: 0 0 -2px;
  z-index: 10;
  position: relative;
  top: 0.1em;
}

.outcomes-editor-new .outcomes-goalsection .goalsbar-container {
  margin: 0;
  top: 0;
}

.goalsbar-container.goalsbar-container-maxwidth {
  width: 100%;
}
.goalsbar-container.goalsbar-container-maxwidth .goalsbar-main {
  display: block;
}

.outcomes-goalsection .goalsbar-code {
  min-width: 1.5em;
  padding: 0.3em 0 0 0.2em;
  position: relative;
  margin-bottom: -1em;
  top: 0;
  left: 0;
}

.outcomes-editor-new .outcomes-goalsection .goalsbar-code {
  padding: 0.3em 0 0;
}

.outcomes-editor-new .outcomes-goalsection .goalsbar-name {
  padding: 0.42em 0.25em;
}

.outcomes-goalsection .outcomes-priority-container {
  position: absolute;
  top: -9px;
  right: 0;
  /* overflow: hidden; */
  /* background: green; */
  padding: 0;
  display: inline-block;
  max-width: 80%;
}

.outcomes-editor-new .outcomes-goalsection:not(.cgid-x):not(.cgid-y) {
  margin-top: 40px;
}
.outcomes-editor-new .outcomes-goalsection .outcomes-priority-container {
  top: -30px;
}

.outcomes-editor:not(.outcomes-editor-new) .goalsbar-code {
  padding-top: 0;
}
.outcomes-editor:not(.outcomes-editor-new) .goalsbar-code > span {
  position: relative;
  top: 0.1em;
}

.outcomes-priority-container .solo-priority-placeholder {
  opacity: 0.5;
}
.outcomes-priority-container .solo-priority-placeholder:hover {
  opacity: 1;
}

/* could be used to truncate name, but doesn't seem to quite work in this situation

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
*/
/*
@media (min-width: 768px) {
  .outcomes-goalsection.has-priority {
    margin-top: 40px;
  }
  .outcomes-goalsection.has-priority.has-priority-long {
    margin-top: 60px;
  }
  .outcomes-goalsection.has-priority.has-priority-long.has-priority-verylong {
    margin-top: 80px;
  }
}*/

@media (max-width: 767px) {
  .outcomes-goalsection .outcomes-priority-container {
    top: 100%;
    max-width: 100%;
  }
  .outcomes-goalsection.has-priority {
    margin-bottom: 40px;
  }
  .outcomes-goalsection.has-priority.has-priority-long {
    margin-bottom: 60px;
  }
  .outcomes-goalsection.has-priority.has-priority-long.has-priority-verylong {
    margin-bottom: 80px;
  }
  .outcomes-new-top-priority-label {
    display: none;
  }
}

.outcomes-goalsection .outcomes-priority-container > div {
  box-shadow: none;
  margin: 0;
}
.outcomes-priority-container .tooltip {
  /*left: ;*/
  width: 150%;
  left: -25% !important;
}

.outcomes-borderbox {
  border: 2px solid;
  margin-top: 1px;
  position: relative;
  z-index: 20;
}
.outcomes-borderbox.has-streaks {
  margin-bottom: 42px;
}

.outcomes-list-box {
  /*border: 2px solid;*/
  border-bottom: none;
  /*margin-left: 18px;*/
  padding: 1px 6px 6px;
  font-size: 16px;
  /* border-left-width: 18px; */
}

.outcomes-empty-list-placeholder {
  font-family: 'Montserrat Alternates', 'Montserrat', 'Open Sans', sans-serif;
  font-size: 18px;
  font-weight: 200;
  padding: 5px 5px 0px 22px;
}

.intentions-list-plus-container,
.outcomes-list-plus-container {
  position: relative;
  top: 1px;
  left: 1px;
}
.intentions-list-plus-container {
  left: 3px;
}
.ismobile .intentions-list-plus-container {
  left: 14px;
  height: 31px;
  top: 4px;
}

.outcomes-enoughbox {
  /*margin-left: 18px;*/
  padding: 6px 8px 0px;
  font-size: 16px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  /* border-top: 2px solid; */
  /* line-height: 20px; */
}
.outcomes-display .outcomes-enoughbox {
  padding: 5px 4px 0;
}
.outcomes-enoughbox:not(._) {
  border-top-color: transparent !important;
}
.outcomes-enoughbox .enough-question {
  margin: 1px 3px 10px 0;
}
.outcomes-enoughbox .btn {
  color: black;
  margin: 0 3px;
  border: 1px solid transparent;
  background: #ccc;
}

.outcomes-enoughbox-new {
  padding: 6px 8px 0px 50px;
  font-size: 16px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  min-height: 40px;
  margin-bottom: -2px;
  position: relative;
  overflow: hidden;
}
/* */
.outcomes-enoughbox .enough-question-new {
  display: inline-block;
  width: 34px;
  position: absolute;
  left: 6px;
  top: 4px;
  /*position: relative;*/
  /*flex: 1;*/
}

.outcomes-enoughbox .enough-q-arrow {
  font-size: 40px;
  position: absolute;
  z-index: 1;
  top: -10px;
  left: -6px;
}
.outcomes-enoughbox .enough-q-mark {
  font-size: 28px;
  position: absolute;
  z-index: 2;
  top: -7px;
  left: 6px;
}

.darktheme .outcomes-enoughbox .btn {
  background: #aaa;
}

.outcomes-enoughbox .btn:focus {
  outline: 1px solid rgba(0,0,0,0.7) !important;
  /*outline: 1px solid rgba(255,255,255,0.7) !important;*/
  outline-offset: -1px;
}
.outcomes-enoughbox .btn.active:focus {
  outline: 1px solid rgba(255,255,255,0.7) !important;
}
.darktheme .outcomes-enoughbox .btn:focus {
  outline: 1px solid rgba(255,255,255,0.8) !important;
  box-shadow: 0 0 1px 1px #ffff !important;
}
.outcomes-enoughbox .btn.active {
  /*background: ;*/
  /*opacity: 1;*/
  background: #443C44;
  color: white;
}

.outcomes-display-enoughbox {
  padding: 2px 8px 2px;
  font-size: 16px;
  /* border-top: 2px solid; */
  /* line-height: 20px; */
}

.outcomes-enoughbox-code {
  display: inline-block;
  font-size: 2em;
  line-height: 0;
  position: relative;
  top: 0.2em;
  padding-right: 0.1em;
  /*left: -0.15em;*/
}
.goalcode-1 .outcomes-enoughbox-code {
  left: 0.1em;
  padding-right: 0.2em;
}

.outcomes-streakcontainer {
/*  position: absolute;
  bottom: -26px;
  left: 0;
  right: 0;
  padding: 0;*/
  transition: height 0.3s ease-in-out;
  overflow: hidden;
  height: 0px;
}
.outcomes-streakcontainer.shown {
  height: 26px;
}

.outcomes-streakbar {
  /*margin-left: 18px;*/
  padding: 0;
  font-size: 16px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  /* border-top: 2px solid; */
  /* line-height: 20px; */
}
.outcomes-streakbar .outcomes-streaklabel {
  padding: 2px 5px;
}

.outcomes-streakbar .outcomes-streakbox-today,
.outcomes-streakbar .outcomes-streakbox {
  padding: 2px;
  flex: 1 1;
  text-align: center;
}

.outcomes-streakbar .outcomes-streakbox {
  max-width: 40px;
}
.outcomes-streakbar .outcomes-streakbox-today {
  max-width: 80px;
}
.item-flex {
  display: flex;
  flex-flow: row nowrap;
}

.item-flex-leftstuff,
.item-flex-rightstuff {
  padding: 4.5px 2px 0;
  display: inline-block;
}

.no-padding .item-flex-leftstuff,
.no-padding .item-flex-rightstuff {
  padding: 0 2px;
}

.item.item-flex input[type="checkbox"] {
  top: 4px;
}

.outcomes-pomo {
  width:16px;
  height:16px;
  margin:-3px 0 0 2px;
}

.form-control-xs {
  display: inline-block;
  /* width: auto; */
  padding: 2px 4px;
  height: 27px;
  background: none;
  /*border: 1px solid rgba(255,255,255,0.5);*/
  border: 1px solid;
  border-color: initial;
  color: inherit;
  /* min-width: 360px; */
  margin: 0 0 5px 2px;
}
.selzukte-input {
  flex-grow: 1;
  flex-basis: 100px;
}
.selzukte-input:not(:focus) {
  border-color: transparent !important;
}
.selzukte-input:focus {
  box-shadow: inset 0.5px 1px 1px 1px rgba(0,0,0,0.3);
}

select.select-selzukte,
select.select-selzukte > option:disabled {
  color: #9999;
}
select.select-selzukte > option:not(:disabled) {
  font-weight: bold;
}
/*
select.select-selzukte,
select.select-selzukte option {
  background: white;
}

.darktheme*/

.form-control.form-control-inline.form-control-outcomes-q,
.form-control.form-control-outcomes-q {
  /*padding: 2px 4px;*/
  padding: 0 2px;
  margin: 0 0 5px 2px;
  /*height: 22px;*/
  height: 27px;
  transition: width 500ms;
  border: 1px solid;
  border-color: initial;
  flex: 1; 
  /*flex-grow: 1;
  flex-shrink: 0;
  flex-basis: auto;*/
}

.form-control.form-control-outcomes-q.form-control-outcomes-q-answered {
  flex: 0 1;
  min-width: fit-content;
}

input.enough-elaboration {
  display: inline-block;
  width: auto;
  background: none;
  /*border: 1px solid rgba(255,255,255,0.5);*/
  border-color: initial;
  color: inherit;
  /* min-width: 360px; */
  margin: 0 0 5px 2px;
  flex: 1;
  /*flex-grow: 1;
  flex-shrink: 0;
  flex-basis: auto;*/
  border: 1px solid;
  padding: 2px 4px;
  height: 27px;
}
.cce.d input.enough-elaboration {
  background: #fffa;
}
.darktheme .cce.d input.enough-elaboration {
  background: #000a;
}
.cce._ .enough-elaboration.blank {
  opacity: 0.5;
  border-color: initial;
}
.cce._ .enough-elaboration.blank:focus,
.enough-elaboration:focus,
.form-control.form-control-outcomes-q:focus {
  opacity: 1;
  /*border: 1px solid;*/
  border-color: initial;
  box-shadow: 0 0 1px 1px rgba(255,255,255,0.7), inset 0.5px 1px 1px 1px rgba(0,0,0,0.3);
}
.enough-elaboration::placeholder,
.cce._ .enough-elaboration.blank:focus::placeholder {
  color: inherit;
  opacity: 0.5
}
.cce._ .enough-elaboration.blank::placeholder {
  opacity: 1;
}
/* hidden this way instead of ng-hide so can be focused before visible */
.enough-elaboration-hidden {
  width: 0 !important;
  max-width: 0 !important;
  max-height: 0 !important;
  flex: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  border: none !important;
}

.noshadow {
  box-shadow: none !important;
}

.cce-fg-l, .cce-fg-x, .cce-fg-e {
  /*color: white;*/
  text-shadow: -0.5px -0.5px 2px white, 0.5px 0.5px 2px white;
}

/*************************************************************/
/*.container {
  margin: 5em auto;
}*/
#outcomesModal.in {
  perspective: 2000px;
  transform-style: preserve-3d;
}
#outcomesModal.in .modal-backdrop {
  transform: translateZ(0);
}
#outcomesModal.in.aside {
  z-index: 1039;
}
#outcomesModal.in.aside .modal-dialog {
  transform: scale(0.9) rotateY(12deg) translateZ(-230px);
  transform-style: preserve-3d;
}

/*
#outcomesModal.in.submitted {
  z-index: 2000;
}
#outcomesModal.in.submitted .modal-dialog {
  transform: rotateY(-83deg) translateZ(246px);
  transform-style: preserve-3d;
}*/

/*
.modal.in .modal-dialog.aside.aside-1 {
  transform: -300px;
  transform: scale(0.9) rotateY(22deg) translateZ(calc(-300px));
}
.modal.in .modal-dialog.aside.aside-2 {
  transform: -260px;
  transform: scale(0.9) rotateY(22deg) translateZ(calc(-260px));
}/*
.modal.in .modal-dialog.aside.aside-3 {
  transform: -220px;
  transform: scale(0.9) rotateY(22deg) translateZ(calc(-220px));
}
.modal.in .modal-dialog.aside.aside-4 {
  transform: -180px;
  transform: scale(0.9) rotateY(22deg) translateZ(calc(-180px));
}
.modal.in .modal-dialog.aside.aside-5 {
  transform: -140px;
  transform: scale(0.9) rotateY(22deg) translateZ(calc(-140px));
}*/

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

.outcomes-editor-footer {
  margin-right: -3px;
  text-align: right;
}

#outcomesModal .modal-header,
.today-outcomes-header {
  background-color: #eeddff;
  background-image: url(/img/homepage/sbg1.svg);
  background-repeat: no-repeat;
  background-position: bottom -210px right 70px;
  background-size: 170px;
}

#outcomesModal .outcomes-editor-footer,
.today-outcomes .outcomes-editor-footer {
  padding: 15px;
  /*border-top: 1px solid #e5e5e5;*/
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  margin: 0 -15px -15px;
  background-color: #eeddff;
  background-image: url(/img/homepage/sbg2.svg);
  background-repeat: no-repeat;
  background-position: bottom -310px left 70px;
  background-size: 210px;
}

.darktheme #outcomesModal .modal-header,
.darktheme .today-outcomes-header {
  background-color: #1c0d26;
  background-image: url(/img/homepage/sbg1-dark.svg);
}

.darktheme #outcomesModal .outcomes-editor-footer,
.darktheme .today-outcomes .outcomes-editor-footer {
  background-color: #1c0d26;
  background-image: url(/img/homepage/sbg2-dark.svg);
}

/* optimized for either covering the timer or having it peek out the side */
.container-today-outcomes {
  max-width: 910px
}

.today-outcomes {
  padding: 10px;
  border-left: 2px solid #eeddff;
  border-right: 2px solid #eeddff;
  border-radius: 10px;
  overflow: auto;
  background: white;
  background-image: linear-gradient(to right, #eeddff 0%, white 0.2%, white 99.8%, #edf 100%);
  /*box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.4), 0px 5px 8px 0px rgba(0, 0, 0, 0.28), 0px 10px 14px 0px rgba(0, 0, 0, 0.12);*/
  /*box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.4), 0px 5px 8px 0px rgba(0, 0, 0, 0.28), 0px 1px 14px 0px rgba(0, 0, 0, 0.24);*/
}

.darktheme .today-outcomes {
  border-left: 2px solid #1c0d26;
  border-right: 2px solid #1c0d26;
  background: black;
  background-image: linear-gradient(to right, #1c0d26 0%, black 0.2%, black 99.8%, #1c0d26 100%);
}

@media (max-width: 768px) {
  .today-outcomes {
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 -10px;
  }
}

.today-outcomes-header {
  overflow: auto;
  /*border-top-left-radius: 10px;*/
  /*border-top-right-radius: 10px;*/
  padding-bottom: 20px;
  margin: -10px -10px 0;
}

.today-outcomes .outcomes-editor-footer {
  overflow: auto;
  /*border-bottom-left-radius: 10px;*/
  /*border-bottom-right-radius: 10px;*/
  padding: 10px 3px;
  margin: -10px;
}

.ismobile .today-outcomes .outcomes-editor-footer {
  padding: 10px;
}
/* end NEW OUTCOMES */

.item label {
  display: inline;
  font-weight: bold;
  font-style: normal;
  font-size: 14px;
  line-height: 1.4;
  height: 20px;
  padding: 0;
  margin: 0;
  line-height: 1.2em;
}

.item label.done {
  font-weight: normal;
  opacity: 0.4;
  text-decoration: line-through;
}

.item .item-dur-stuff.done,
.item.nevermind .item-dur-stuff {
  opacity: 0.4;
}

rom-today .item label.done,
rom-today .item .item-dur-stuff.done,
rom-today .item.nevermind .item-dur-stuff {
  opacity: 0.8;
}

.item.notgonnahappen label {
  border-bottom: 1px dashed red;
  height:12px;
  display: inline-block;
  margin:-12px 0 8px;
  font-weight: normal;
  font-style: italic;
}

.no-reports {
  text-align:center;
  margin-top: 40px;
}

.event {
  width: 100%;
  color: #fff;
  padding: 20px;
  margin-top: 34px;
}

h2.event {
  color: #fff !important;
}

.eventdate {
  position: relative;
  top: 16px;
  left: 15px;
  height: 0;
  margin: 0;
  padding: 0;
  margin-right: 15px;
  font-size: 20px;
}

.milestone-top-right-button {
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0;
  transition: opacity 0.3s ease-in;
}

.row-milestone:hover .milestone-top-right-button {
  opacity: 1;
}

.row-milestone {
  position: relative;
  margin-top: 18px;
}

.row-milestone.endgoal {
  margin-top: 30px;
}

.endgoal .eventdate {
  font-size: 32px;
  top: 5px;
}

.row-reports-pergoal .eventdate {
  font-size: 32px;
  top: 5px;
  left: 30px;
}

h2.event {
  line-height:.8;
  font-size: 24px;
}

.endgoal h2.event {
  font-size: 36px;
}

.event-subtext {
  display: block;
  font-size: 20px;
  padding-left: 10px;
  opacity: 0.9;
  white-space: pre-wrap;
  line-height: 1.1;
  margin-top: 4px;
  font-weight: 400;
  font-family: 'Open Sans';
}

.event-subtext a {
  color: white;
  text-decoration: underline;
}

.event-milestone {
  position: relative;
  min-height: 72px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.75);
  overflow: hidden;
}

.event-end, .event-start {
  box-shadow: 0 1px 3px rgba(0,0,0,0.75);
}

.event-planned-ymd {
  position: absolute;
  top: 16px;
  right: 160px;
  font-size: 20px;
}

/*#remainingcount {
  color:#999;
  padding:10px 5px;
  margin-left:50px;
}

@media (max-width: 992px) {#remainingcount {margin-left:20px;}}
@media (max-width: 768px) {#remainingcount {margin-left:10px;}}
@media (max-width: 400px) {
  #remainingcount {
    position: absolute;
    top: -40px;
    margin: 0 0 0 -120px;
    width: 80px;
    margin-left: -160px;
    /* can't easily center on screen b/c center wrt <li> *//*
  }
}*/

#remainingcount2 {
  font-family: 'Open Sans', Helvetica, sans-serif;
  font-size: 14px;
  display: inline-block;
  padding: 5px 10px 0;
  position: relative;
  bottom: 4px;
  opacity: 0.5;
  font-weight: normal;
}

.view-partner-page-link {
  z-index: 500;
  position: absolute;
  top: -20px;
  right: 44px;
  background-color: white;
  padding: 9px 7px 7px;
  display: block;
  border-bottom-left-radius: 9px;
  border-bottom-right-radius: 9px;
  text-decoration: none;
}

.view-partner-page-link:hover {
  top: -16px;
  background-color: #E6CCFA;
  text-decoration: none;
  color: #8833cc;
}

.ks-state-container {
  font-size: 11px;
  display: inline-block;
  background: #e6e9e3;
  margin: 5px 5px 5px 50px;
  width: 230px;
  transition: all 100ms ease-in-out;
}

.ks-header {
  display: inline-block;
  padding: 2px 4px;
  width: 30%;
}

.ks-state {
  display: inline-block;
  color: white;
  padding: 2px 4px;
  border-radius: 4px;
  width: 65px;
  text-align: center;
  opacity: 0.7;
}

.ks-state-init {background: #05f;}
.ks-state-fetching {background: #09c;}
.ks-state-saving {background: #9b0;}
.ks-state-saved,
.ks-state-clear {background: #0c0;}
.ks-state-error {background: #930;}
.ks-state-offline {background: #0cc;}
.ks-state-unavailable {background: #c06;}

.ks-log-button {
  opacity: 0.7;
}

.ks-log-button:hover {
  opacity: 1;
  cursor: pointer;
  color: #509;
}

.ks-log-container {
  font-size: 11px;
  background: #e6e9e3;
  margin-top: 15px;
  margin-left: 50px;
}
.darktheme .ks-log-container,
.darktheme .ks-state-container {
  background: #19161c;
}

.ks-log {
  font-family: 'Consolas', 'Courier New', monospace;
}

.ks-log-pre {
  white-space: pre-wrap;
}

#pinnedPriority {
  position: absolute;
  top: 51px;
  left: -2px;
  z-index: 5000;
}

.distraction-free #pinnedPriority {
  top: -2px;
}

.syncstate {
  color: #bbb;
  /* padding: 0 25px 0 25px; */
  width: 80px;
  /* background: grey; */
  text-align: center;
  position: relative;
  overflow: visible;
  z-index: 90;
  display: inline-block;
  top: 2px;
  left: -2px;
}

.has_wholeday .syncstate-today > span {
  color: white;
  /*background: #fff;*/
  /*padding: 0 6px 1px;*/
  /*border-radius: 20px;*/
}

.has_wholeday #roomchat {
  z-index: 10;
  position: relative;
}


@media (max-width: 380px) {
  .syncstate-today {
    /* width: 50px; */
    padding: 0;
    /* text-align: left; */
    /* left: 300px; */
    /* padding-left: 5px; */
  }
}

.syncstate-fixed {
  z-index: 500;
  position: fixed;
  top: 64px;
  left: 10px;
  background-color: white;
  padding: 5px;
  display: block;
}

.syncstate-fixed.syncstate-fixed-right {
  top: 105px;
  left: auto;
  right: 10px;
}

.syncstate .state-loaded {color: inherit}
.syncstate .state-offline {font-weight: bold; color: #0af; fill: #0af; position: relative;}
.syncstate .state-offlinesaved {font-weight: bold; color: #0af; fill: #0af;}
.syncstate .state-saving {font-style: italic;}
.syncstate .state-saved {color: inherit}
.syncstate .state-error {color: #c60;}
.syncstate .state-offline-saved {display: inline-block; padding-right: 24px;}


.viewtoggle-fixed-left {
  z-index: 500;
  position: fixed;
  top: 64px;
  left: 10px;
  background-color: white;
  padding: 5px;
  display: block;
}
.viewtoggle-fixed-left input {
  margin: -3px -1px;
  pointer-events: none;
}

.has_wholeday .syncstate-today .state-offline,
.has_wholeday .syncstate-today .state-offlinesaved {
  background: #fff;
  padding: 0 6px 1px;
  border-radius: 20px;
}

.has_wholeday .syncstate-today .state-offline-saved {
  padding-right: 27px;
}

.offlinesaved-icon {
  position: absolute;
  top: 0px;
  fill: #0af;
  display: inline-block;
  overflow: visible;
  right: 2px;
}
.has_wholeday .syncstate-today .offlinesaved-icon {
  right: 2px !important;
}

.offline-modal-svg {
  float: left;
  width: 2.5em;
  height: 2.5em;
  margin-right: 1em;
}

body.page-offline .hidden-offline {
  display: none !important;
}

.visible-offline,
.visible-offline-i,
.visible-offline-ib {
  display: none !important;
}

body.page-offline .visible-offline {
  display: block !important;
}
body.page-offline .visible-offline-i {
  display: inline !important;
}
body.page-offline .visible-offline-ib {
  display: inline-block !important;
}

.fade-in-delay {
  opacity: 0;
  animation: fade-in-delay 5.5s ease-in-out forwards;
}

@keyframes fade-in-delay {
  0% {
    opacity: 0;
  }
  90% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.big-fade-in-error {
  font-family: 'Montserrat Alternates', 'Montserrat', 'Century Gothic', sans-serif;
  text-align: center;
  width: 100%;
  max-width: 100%;
  color: #000;
  background: white;
  font-size: 4vw;
  /* font-weight: 400; */
  top: 100px;
  position: fixed;
  padding: 10px;
  pointer-events: none;
  z-index: 0;
}

.today-below-btns {
  clear: both;
  margin-bottom: 20px;
}

.container.container-today {
  padding: 0;
  position: relative;
  z-index: 10;
}

.container-today.ismobile {
  padding-top: 38px;
}
@media (max-width: 992px) {
  .today-below-btns {text-align: center}
}

.wholeday {
  font-family: 'Montserrat Alternates', 'Montserrat', 'Century Gothic', sans-serif;
  text-align: center;
  width: 100%;
  max-width: 100%;
  font-weight: 100;
  color: #000b;
  /* text-shadow: 0 0 2px #0006, 0 0 4px #000a; */
}
.darktheme .wholeday {
  color: #fffb;
  /* text-shadow: 0 0 2px #fff6, 0 0 4px #fffa; */
}
.rom-wholeday {
  /*margin: 0 -15px 0;*/
  position: absolute;
  top: 0;
  left: 15px;
  right: 15px;
  width: auto;
  font-weight: 200;
}
.box-wholeday {
  font-weight: 200;
  /* margin: 0 -10px -20px; */
  width: 100%;
  left: 0;
  right: 0;
  position: absolute
}
.djedi-wholeday {
  padding: 10px;
}
.today-wholeday-footer {
  bottom: 50px;
  position: fixed;
  padding: 10px;
  pointer-events: none;
  z-index: 0;
  text-shadow: 0 0 2px #0006, 0 0 4px #000a;
  color: #0002;

}
.darktheme .today-wholeday-footer {
  color: #fff2;
  text-shadow: 0 0 2px #fff6, 0 0 4px #fffa;
}

.rom-wholeday.wholeday-long {font-size: 10px;}
.rom-wholeday.wholeday-medium {font-size: 15px;}
.rom-wholeday.wholeday-short {font-size: 20px;}
.box-wholeday.wholeday-long {font-size: 10px;}
.box-wholeday.wholeday-medium {font-size: 15px;}
.box-wholeday.wholeday-short {font-size: 20px;}
.djedi-wholeday.wholeday-long {font-size: 20px;}
.djedi-wholeday.wholeday-medium {font-size: 30px;}
.djedi-wholeday.wholeday-short {font-size: 40px;}
.today-wholeday-footer.wholeday-long {font-size: 50px;}
.today-wholeday-footer.wholeday-medium {font-size: 75px;}
.today-wholeday-footer.wholeday-short {font-size: 100px;}

@media (max-width: 767px) {
  .today-wholeday-footer.wholeday-long {font-size: 30px;}
  .today-wholeday-footer.wholeday-medium {font-size: 45px;}
  .today-wholeday-footer.wholeday-short {font-size: 60px;}
}

body.distraction-free .today-wholeday-footer {
  bottom: 0;
}

/**** REVIEWS INDEX PAGE ****/

.row-year {
  background: #fff;
  margin-bottom: 20px;
  padding-bottom: 15px;
  /* min-height: 330px; */
}

.darktheme .row-year {
  background: #000;
}

.reviews-year-left {
  padding-top: 169px;
  position: relative;
}

@media (min-width: 992px) {
  .row-year {
    min-height: 410px;
  }
}

.reviews-year-left-has-yearlybtn {
  padding-top: 220px;
  position: relative;
}
@media (min-width: 1200px) {
  .reviews-year-left {
    padding-top: 125px;
    position: relative;
  }
  .row-year.row-year-justyearly {
    min-height: 420px;
  }
  .reviews-year-left h2 {
    transform-origin: 110px 86px;
  }

  .reviews-year-left-has-yearlybtn {
    padding-top: 190px;
  }
}


.reviews-year-left .yearlybtn-container {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  /*background: blue;*/
}

.reviews-year-left h2 {
  transform: rotate(-90deg);
  font-size: 120px;
}

.reviews-cell {
  position: relative;
  overflow: auto;
  padding: 4px;
  text-align: center;
  font-family: 'Montserrat Alternates', 'Montserrat', sans-serif;
  overflow: hidden;
}

.reviews-cell a {
  background: #eee;
  color: #305;
  display: block;
  overflow: hidden;
}

.darktheme .reviews-cell a {
  background: #111;
  color: #999;
}

.col-onefifth {
  width: 20%;
  float: left;
}
.reviews-cell.reviews-cell-legend a:hover,
.reviews-cell.reviews-cell-legend a {
  /*display: inline-block;*/
  /*width: 120px;*/
  text-decoration: none;
  height: 50px;
  padding: 15px 5px;
}
.darktheme .reviews-cell a {
  background: #111;
}

.reviews-cell.partial a {
  opacity: 0.7;
}
.reviews-cell.has-djedis a {
  opacity: 0.5;
}
.reviews-cell.old-inactive a {
  opacity: 0.3;
}
.reviews-cell.partial a:hover,
.reviews-cell.old-inactive a:hover,
.reviews-cell.has-djedis a:hover {
  opacity: 0.8;
}

.reviews-cell:not(.reviews-cell-legend) a:hover {
  background: #cbd;
  text-decoration: none;
}

.darktheme .reviews-cell:not(.reviews-cell-legend) a:hover {
  background: #647;
}

.reviews-cell.has-djedis a {
  background: #eed;
}

.darktheme .reviews-cell.has-djedis a {
  background: #221;
  color: #885;
}
.reviews-cell.has-djedis a:after {
  /*content: '\1f5ce';*/
  content: '\e032'; /* glyphicon glyphicon-list-alt */
  font-family: 'Glyphicons Halflings';
  color: #660;
  font-size: 15px;
  position: absolute;
  top: 5px;
  right: 8px;
}

.reviews-cell.in-progress a {
  opacity: 1 !important;
  /*background: #fdd;*/
}
.reviews-cell.in-progress a:after {
  font-size: 18px;
  position: absolute;
  top: 3px;
  right: 6px;
}

.reviews-cell.is-due a {
  background: #fdd;
}
.darktheme .reviews-cell.is-due a {
  background: #311;
  color: #a55;
}
.reviews-cell.is-due a:after {
/*  content: '\1f551';*/
  content: '\e023';
  font-family: 'Glyphicons Halflings';
  color: #c00;
  font-size: 18px;
  position: absolute;
  top: 4px;
  right: 6px;
}

.reviews-cell.partial a {
  background: #dee;
}
.darktheme .reviews-cell.partial a {
  background: #122;
  color: #588;
}
.reviews-cell.partial a:after {
  color: #066;
  content: '...';
  font-size: 26px;
  position: absolute;
  top: -10px;
  right: 7px;
}

.reviews-cell.complete a {
  background: #dfd;
}
.darktheme .reviews-cell.complete a {
  background: #131;
  color: #5a5;
}
.reviews-cell.complete a:after {
/*  content: '\2714';*/
  content: '\e013' ; /* ok */
  font-family: 'Glyphicons Halflings';
  color: #0c0;
  font-size: 17px;
  position: absolute;
  top: 2px;
  right: 7px;
}

/* I generated more saturated hover colors with this: 
   colors = ['eed', '221', 'fdd', '311', 'dee', '122', 'dfd', '131']
   colors.map(s => s.split('').map(d => parseInt(d, 16)).map(x => x < 8 ? x*2 : 16-(16-x)*2).map(x=>x.toString(16)).join('')).map(s => console.log(s))
 */
.reviews-cell.has-djedis:not(.reviews-cell-legend) a:hover {
  background: #cca;
}

.darktheme .reviews-cell.has-djedis:not(.reviews-cell-legend) a:hover {
  background: #442;
  color: #885;
}

.reviews-cell.is-due:not(.reviews-cell-legend) a:hover {
  background: #eaa;
}
.darktheme .reviews-cell.is-due:not(.reviews-cell-legend) a:hover {
  background: #622;
  color: #a55;
}
.reviews-cell.partial:not(.reviews-cell-legend) a:hover {
  background: #acc;
}
.darktheme .reviews-cell.partial:not(.reviews-cell-legend) a:hover {
  background: #244;
  color: #588;
}
.reviews-cell.complete:not(.reviews-cell-legend) a:hover {
  background: #aea;
}
.darktheme .reviews-cell.complete:not(.reviews-cell-legend) a:hover {
  background: #262;
  color: #5a5;
}

.reviews-cell-year-left {
  /*padding: 0px 18px;*/
  padding: 0px 0px 18px 18px;
}
.reviews-cell-year-left a {
  padding: 10px 2px;
  font-size: 16px;
}
.reviews-cell-year-right {
  margin-top: 15px;
  float: right;
}
.reviews-cell-year-right a {
  padding: 10px 20px;
  font-size: 24px;  
}

.reviews-cell-quarter a {
  padding: 20px 0;
  font-size: 20px;
}

.reviews-cell-month a {
  padding: 50px 0;
  font-size: 20px;
}

.reviews-cell-week a {
  height: 50px;
  /*padding: 9px 0 0 10px;*/
  padding: 9px 20px 0 10px;
}

.reviews-cell .week-num {
  font-size: 30px;
  line-height: 30px;
  float: left;
}
.reviews-cell .week-span {
  position: relative;
  top:-4px;
  float: right;
  width: 60%;
}

@media (max-width: 1024px) {
  .reviews-cell .week-num {
    font-size: 24px;
  }
  .reviews-cell .week-span {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .reviews-cell .week-num {
    font-size: 18px;
  }
  .reviews-cell .week-span {
    font-size: 10px;
  }
}

/**** REVIEWS IN GENERAL ****/
.review-completion-box {
  z-index: 500;
  position: fixed;
  top: 64px;
  right: 10px;
  background: white;
}
.darktheme .review-completion-box {
  background: #110817;
}

.review-completion-bar {
  width: 100%;
  height: 5px;
  background: #ddd
}
.review-completion-bar > div {
  height: 5px;
  background: #06f;
  transition: width 100ms ease-in-out;
}

/**** MONTHLY REVIEW ****/

table.calendar-month {
  font-size: 24px;
  border-spacing: 3px;
  border-collapse: collapse;
  color: black;
  background: white;
}

table.calendar-month td {
  height:60px;
  width:80px;
  border: 4px solid white;
  padding:0;
  text-align:center;
  position: relative;
}

table.calendar-month td.focusable:hover {
  cursor: pointer;
  box-shadow: 0 0 1px 1px #9999;
}

.darktheme table.calendar-month {
  background: black;
}
.darktheme table.calendar-month td {
  border-color: black;
}
/*
.darktheme table.calendar-month td {

}*/

table.calendar-month .focusable:focus {
  box-shadow: 0 0 3px rgba(0, 0, 0, 1);
  /*text-shadow: 0 0 1px white, 0 0 1px white;*/
  opacity: 0.95;
  border: 1px solid black;
  outline: none;
  /*border: 1px solid rgba(81, 203, 238, 1);*/
}

table.calendar-month .days-of-week td {
  font-size:12px;
  overflow:hidden;
  text-align:center;
  color: #fff;
  height: inherit;
}

table.calendar-month td.special-date {
  color: #fff;
}

table.calendar-month td.milestonedate {
  outline: 3px solid rgba(0,0,0,0.5);
}

table.calendar-month td.day-with-data:hover {
  opacity: 0.8;
  cursor: pointer;
}

table.calendar-month td.review-click-cell {
  border: none;
  font-size: 16px;
}
table.calendar-month td.review-click-cell.has-data:hover {
  cursor: pointer;
}

table.calendar-month td.review-click-cell.has-data span {
  border-radius: 50%;
  border-style: solid;
  border-width: 1px;
  display: inline-block;
  height: 1.8em;
  width: 1.8em;
  padding: 0.15em;
}
table.calendar-month td.review-click-cell.has-data:hover span {
  background: #9992;
}

table.calendar-month .day-without-data-dash:before {
  content: '\2014';
}

/*
table.calendar-month {
    border-collapse: collapse;
    border-style: hidden;
}*/

.ul-triangle {
  position:absolute;
  width: 0px;
  height: 0px;
  z-index: 100;
  border-style: solid;
  border-width: 25px 25px 0 0;
  border-color: #f00 transparent transparent transparent;
  top:0;
  left:0;
  white-space: nowrap;
}

.ul-triangle span {
  color:#fff;
  font-size:11px;
  position:absolute;
  top:-26px;
  left:1px;
  display: inline-block;
  width: 12px;
  text-align: center;
  white-space: nowrap;
}

.background-fraction-container {
  position:absolute;
  width:100%;
  height: 100%;
  bottom:0;
  left:0;
  z-index:5;
}

.background-fraction-container div {
  position:absolute;
  bottom:0;
  width:100%;
}

.day-fraction {
  position:absolute;
  width:100%;
  height: 100%;
  top:0;
  left:0;
  z-index:50;
  padding:20px 4px;
}

.day-fraction span {
  position: relative;
  bottom: 16px;
  font-size: larger;
}

.day-fraction sup.big {
  font-size: larger
}

.day-fraction sup.bold {
  font-weight: bold;
}

.day-fraction, .day-fraction * {
  white-space: nowrap;
}

.review-oneliner {
  white-space: pre-wrap;
  font-style: italic;
  padding: 15px 4px 4px;
  border-radius: 5px;
}

/**** WEEKLY REVIEW ****/

/* border: 1px solid black; margin:4px; clear:both; overflow: auto; padding: 10px */

.row-weekly {
  margin: 15px;
  padding: 0 15px 15px;
}

.week-container {
  overflow: hidden;
  position:relative;
  margin-top: 15px;
  padding: 2px;
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.week-day-column {
  background: white !important; /* to keep on print */
  margin: 0 0 0 2px;
  flex: 1 1 0;
}

.week-day-column:first-child {
  margin-left: 0;
}

@media screen and (min-width: 992px) {
  .week-day-column {
    max-width: 18%; /* otherwise really long unbroken lines push it off the side */
  }
}


@media screen and (max-width: 992px) {
  .week-container {
    flex-direction: column;
  }
  .week-day-column {
    margin: 2px 0 0;
  }
  .week-day-column:first-child {
    margin-top: 0;
  }
}

.week-container ul {
  margin: 0;
  padding: 0;
}

.week-container ul li {
  padding: 2px 2px 2px 6px;
}

.remarks-readonly {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  margin-top: 17px;
  padding: 10px;
}

@media screen {
  .darktheme .week-day-column {
    background: black !important; /* to keep on print */
  }
  .darktheme .remarks-readonly {
    background: rgba(0,0,0,0.5);
    color: rgba(255,255,255,0.7);
  }
  .darktheme .review-summary {
    background: black;
    color: rgba(255,255,255,0.8);
  }
}

.remarks-readonly.remarks-readonly-misc {
  background: rgba(128,128,128, 0.1)
}

.remarks-readonly p {
  padding: 7px;
}

.remarks-readonly blockquote {
  font-size: inherit;
}

.weekly-review-item {
  font-weight: bold;
  transition: 200ms linear;
}

.weekly-review-item.notdone {
  font-weight: normal;
  font-style: italic;
}

.weekly-review-item.enoughbar {
  opacity: 1;
  color: white;
  font-style: normal;
  font-weight: bold;
  /*padding: 2px 2px 2px 6px;*/
  /*margin: 2px 4px -14px -7px;*/
}

@media (max-width: 992px) {
  .week-day-column {
    width: 100%;
  }

  .week-day-column:first-child {
    margin-left: 0;
  }

  .week-day-column:last-child {
    border-right-width: 0;
  }

  .week-day-column h3 {
    margin: 5px;
  }
}

.ismobile .week-day-column {
  width: 100%;
}

.ismobile .week-day-column:first-child {
  margin-left: 0;
}

.ismobile .week-day-column:last-child {
  border-right-width: 0;
}

.ismobile .week-day-column h3 {
  margin: 5px;
}

.ismobile .week-container ul {
  padding-left: 20px;
  margin-right: 0;
}

.ismobile .weekly-review-item.enoughbar {
  margin-left: -10px;
}


/**** QUARTERLY REVIEW ****/

.qrev-pastrev-row {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}


.qrev-pastrev {
/*.qrev-pastrev:not(.qrev-pastrev-quarterly) {*/
  /*border: 1px solid;*/
  padding: 3px 6px;
  flex-grow: 1;
  text-align: center;
  margin: 3px;
  flex-basis: 0;
  background: #0002;
  opacity: 0.8;
  color: #000e;
}

td .qrev-pastrev {
  margin: 8px 0;
}

.qrev-pastrev.qrev-pastrev-twohigh {
  margin: 0;
  /*align-self: center;*/
  /*padding-top: 15px;*/
}

.qrev-pastrev.qrev-pastrev-twohigh span {
  position: relative;
  top: 5px;
  /* these don't seem to work
  align-self: stretch;
  align-content: center;*/
}

.cgid-x .qrev-pastrev {
  background: #00000015;
}
/*^ and v needed to increase misc contrast */
.cgid-x .qrev-pastrev.qrev-pastrev-hasremarks.cc-bg {
  background: #aaa !important;
}

.darktheme .qrev-pastrev {
  background: #0006;
  color: #fffd;
}

.qrev-pastrev.qrev-pastrev-hasremarks:hover {
  cursor: pointer;
  opacity: 1;
}

.qrev-pastrev.qrev-pastrev-hasremarks.qrev-pastrev-isactive {
  box-shadow: 0 2px 2px 1px #000c inset;
  padding: 5px 6px 1px;
  /* bold looked great but at some widths caused wrapping :( */
}

.darktheme .qrev-pastrev.qrev-pastrev-hasremarks.qrev-pastrev-isactive {
  box-shadow: 0 2px 2px 1px #fff7 inset;
}

@media (max-width: 768px) {
  .qrev-pastrev {
    padding: 2px 3px;
    margin: 2px;
  }
}

/**** YEARLY REVIEW ****/

@media (min-width: 769px) {
  .yearly-review-right-col {
    padding-top: 10px;
    height: 340px;
    /*border-top-style: solid;*/
    /*border-top-width:5px;
    position:absolute;
    top: 5px;
    right:0;
    bottom:0;
    overflow: visible;
    /*padding-bottom:10px;*/
  }
}

.timeline-container {
  margin: 0 auto;
  position: relative;
  /*width: 800px;*/
  /*width: 100%;*/
  overflow: visible;
  margin-bottom: 400px;
}

.timeline-container .svg {
  width: 800px;
  /*height: 400px;*/
  overflow: visible;
  position: absolute;
}

.timeline-container .grid .tick {
  stroke: lightgrey;
  opacity: 0.3;
  shape-rendering: crispEdges;
}

.timeline-container .grid path {
  stroke-width: 0;
}

#timeline-hover {
  color: white;
  background: #FA283D;
  width: 250px;
  position: absolute;
  display: none;
  padding:3px 6px;
  margin-left: -130px;
  font-size: 14px;
  box-shadow: 0 3px 5px black;
}

#timeline-hover:before {
  border: solid transparent;
  content: ' ';
  height: 0;
  left: 50%;
  margin-left: -5px;
  position: absolute;
  width: 0;
  border-width: 10px;
  border-bottom-color: inherit;
  top: -20px;
}

.timeline-label {
  text-shadow: 0.5px  0.5px #0009, 
               0.5px -0.5px #0009, 
              -0.5px  0.5px #0009,
              -0.5px -0.5px #0009;
  /*text-shadow: 1px 1px 1px black;*/
  font-weight: bold;
}

.histogram-container {
  position: relative;
  /*background: blue;*/
}

.histogram-container .axis text {
  font: 10px sans-serif;
}
.histogram-container .axis path, .axis line {
  fill: none;
  stroke: #000;
  shape-rendering: crispEdges;
}

.yearly-goal-select-list {
  margin-left: 0;
  padding-left: 0;
}

.yearly-goal-select-list input {
  width: 20px;
  height: 20px;
  display: inline-block;
  margin: -2px 0;
  position: relative;
  top: 5px;
}

/*
.histogram-container .axis path {
  display: none;
}

.histogram-container text {
  font: 10px sans-serif;
}

.histogram-container .group-label {
  font-weight: bold;
  text-anchor: end;
}*/

.row-av-areas {
  border-top:2px #999 solid;
  /*padding-bottom: 10px;*/
  position: relative;
}

.row-av-areas .dark-col {
  background: #f8f6f8;
  border-top-right-radius: 50px;
}

.row-av-areas.greybg .dark-col {
  background: #ddd8dd;
}

/**** REVIEWS IN GENERAL ****/

h1 ul.pager {
  position: relative;
  top: 27px;
  right: 30px;
}

.remarks-updated-time {
  color: #0c0014;
  /*color: rgb(12,0,20);*/
  opacity: 0.5;
  font-size: 12px;
  transition: opacity 0.1s;
}

.remarks-updated-time span:first-child {
  float: left;
}

.remarks-updated-time span:nth-child(2) {
  float: right;
}

.darktheme .remarks-updated-time {
  color: #ddd8dd;
}

.remarks-updated-time:hover {
  opacity: 1;
}

.specialdate {
  color: white;
}

/**** SETTINGS ****/

.modal-settings .control-label {
  /*background: blue;*/
  padding-top: 2px;
  padding-bottom: 0;
}

.nav-tabs.nav-tabs-better > li.active > a,
.nav-tabs.nav-tabs-better > li.active > a:hover,
.nav-tabs.nav-tabs-better > li.active > a:focus {
  border-bottom-color: white;
  box-shadow: 0 -1px 1px;
}
.darktheme .nav-tabs.nav-tabs-better > li.active > a,
.darktheme .nav-tabs.nav-tabs-better > li.active > a:hover,
.darktheme .nav-tabs.nav-tabs-better > li.active > a:focus {
  border-bottom-color: black;
}
.darktheme .nav > li > a:hover,
.darktheme .nav > li > a:focus {
  background: #213;
  border-bottom-color: black;
}
.darktheme .nav-tabs.nav-tabs-better > li.active > a {
  background: black;
  /*background: #110819;*/
}

input.ng-invalid.ng-touched {
  border-color: red !important;
}

input.ng-invalid-regex {
  color: red;
}

.control-group {
  margin:8px;
}

.controls input {
  margin:2px;
}

.recentSettingsForm .controls {
  padding: 6px;
}

.dow-checker, .goal-checker {
  width: auto;
  float: left;
  padding: 2px 2px 2px 0;
  margin: 2px 2px 2px 0;
  text-align: center;
}
.dow-checker input, .goal-checker input {
  position: relative;
  z-index: 400;
  top: 5px;
  left: 2px;
}

.dow-checker label {
  line-height: inherit;
  background: #ccc;
  color: black;
  margin-top: -20px;
  /*position: relative;
  top: -20px;*/
  padding: 24px 4px 4px;
  width: 50px;
  border-radius: 8px;
}

.darktheme .dow-checker label {
  background: #444;
  color: white;
}

.week-offDays .dow-checker input[type=checkbox]:checked ~ label {
  background: #9c9;
}

.week-optionalDays .dow-checker input[type=checkbox]:checked ~ label {
  background: #b8f;
}

.darktheme .week-offDays .dow-checker input[type=checkbox]:checked ~ label {
  background: #282;
}
.darktheme .week-optionalDays .dow-checker input[type=checkbox]:checked ~ label {
  background: #53a;
}

.goal-checker label {
  line-height: inherit;
  margin-top: -20px;
  padding: 24px 12px 4px;
  color: white;
  font-weight: bold;
  /*border-radius: 8px;*/
  position: relative;
}
.goal-checker label .label-color {
  border-radius: 8px;
  padding: 24px 12px 4px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  transition: opacity 100ms linear;
}
.goal-checker label .label-text {
  position: relative;
  z-index: 300;
}

.goal-checker input[type=checkbox]:checked ~ label .label-color.ccwbg {
  opacity: 0;
}
.goal-checker input[type=checkbox]:not(:checked) ~ label .label-color.ccmbg {
  opacity: 0;
}

.asterisk {
  color: #c00;
}

.forgot-password, .required-field {
  position: absolute;
  top: 2px;
  right: 0;
  font-weight: bold;
  font-size: 20px;
  padding: 5px 10px;
  border-radius: 4px;
  display: inline-block;
}


.forgot-password:hover {
  text-decoration: none;
  background: #def;
}
/*
.expiry-wrapper select, .expiry-wrapper input {
  width: 100px;
  display: inline-block;
}*/

.billing-colored-box {
  background: #eee;
  min-height: 72px;
  text-align: center;
  padding: 16px 16px 16px 72px;
  margin-top: 30px;
  line-height: 30px;
  overflow: auto;
  position: relative;
}

.billing-colored-box p {
  font-size: 18px;
  color: rgba(40,40,40,0.8);
  line-height: 1.6em;
  margin: 0;
}

.darktheme .billing-colored-box p {
  color: rgba(255,255,255,0.6);
}

.billing-left-symbol {
  position: absolute;
  left: 15px;
  top: 10px;
  font-size: 48px;
  opacity: 0.3;
  line-height: 0;
  /*height: 0;*/
  overflow: hidden;
  color: #000;
}
.darktheme .billing-left-symbol {
  color: white;
  opacity: 0.1;
}

.darktheme .billing-colored-box .btn-default {
  background-color: #9999;
}
.darktheme .billing-colored-box .btn-default:hover {
  background-color: #999c;
}

.billing-button-holder {
  position: absolute;
  right: 10px;
  /*left: 15px;*/
  bottom: 10px;
  opacity: 0.5;
}

@media (max-width: 767px) {
  .billing-button-holder {
    right: auto;
    left: 10px;
  }
}

*:hover > .billing-button-holder {
  opacity: 1;
}

strike.billing-before-discount-price {
  opacity: 0.6;
  transform: rotate(-10deg);
  display: inline-block;
  position: relative;
  top: -1em;
  width: 0;
  left: -1em;
  white-space: pre;
}

#welcomeToNewIntendSite {
  margin: 0 5px 20px;
}

@media (min-width: 992px) {
  #welcomeToNewIntendSite {
    margin: 0 0 20px 10px;
  }
}

strike.old-name {
  opacity: 0.6;
  transform: rotate(-10deg);
  display: inline-block;
  position: relative;
  top: 0.4em;
  width: 0;
/*  left: 0.2em;*/
  white-space: pre;
}

.billing-plan-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  color: white;
  font-weight: 100;
  font-size: 36px;
  background: rgba(0,0,0,0.9);
  box-shadow: 0 4px 10px 2px rgba(0,0,0,0.9);
  padding: 4px;
}

.card-modal-dialog {
  margin-top: 10vh;
}

.card-modal-content {
  border-radius: 15px;
  height: 220px;
  width: 400px;
  max-width: 100%;
  margin: 10px auto;
  /*background: white;*/
  background: linear-gradient(45deg, #111, #246);
  padding: 15px;
  position: relative;/*
  box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2),
              0px 5px 8px 0px rgba(0, 0, 0, 0.14),
              0px 1px 14px 0px rgba(0, 0, 0, 0.12); *//*
  box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.4),
              0px 5px 8px 0px rgba(0, 0, 0, 0.28),
              0px 1px 14px 0px rgba(0, 0, 0, 0.24); */
  box-shadow: 0px 3px 5px -1px rgba(255, 255, 255, 0.4),
              0px 5px 8px 0px rgba(255, 255, 255, 0.28),
              0px 1px 14px 0px rgba(255, 255, 255, 0.24); 
}

.darktheme .modal-content.card-modal-content {
  background: linear-gradient(45deg, #111, #246);
}

.white-card-form {
  border-radius: 15px;
  height: 220px;
  width: 400px;
  max-width: 100%;
  margin: 10px auto;
  background: white;
  padding: 80px 10px 0;
  position: relative;
}

.card-form-button {
  position: absolute;
  padding: 10px;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: right;
}

.stripe-test-mode-banner {
  background-color: #fdc;
  color: #642100;
  margin: 20px 0;
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  font-family: monospace;
  letter-spacing: 5px;
  text-align: center;
  padding: 30px;
  font-size: 32px;
  font-weight: bold;
  box-shadow: 0 0 4px 5px rgba(100,33, 0, 0.5);
}

.darktheme .stripe-test-mode-banner {
  background-color: #310;
}

/* TODO_AFTER_MONEY = 'remove unneeded billing styles'
.settings-plan-freq-switcher {
  position: absolute;
  right: -30px;
  top: 0;
  text-align: center
}

@media (max-width: 1200px) and (min-width: 992px) {
  .settings-plan-freq-switcher {
    left: 0;
    top: 30px;
    right: auto;
  }
}

.payment-fields {
  width: 354px;
  margin: 10px auto;
  padding-left: 2px;
}

.payment-fields div {
  overflow: auto;
}

.payment-fields input {position: relative; z-index: 3}
.payment-fields input:focus {z-index: 100}


.payment-row2 {
  margin-top: -2px;
}

.payment-row2 input {
  width: 88px;
  float: left;
}

.payment-row2 input:first-child {
  width: 89px;
}

.payment-row1 input, .payment-row2 input.payment-plan {
  width: 175px;
  float: left;
}

.payment-row3 input {
  width: 100px;
  float: left;
}

.payment-row3 {
  margin-top: 4px;
}

.payment-row3 input:first-child {
  width: 250px;
  margin-right: -2px;
}

.payment-fields input[data-stripe="number"] {
  border-bottom-right-radius: 0;
  margin-right: -2px;
}

.payment-fields input[data-stripe="name"] {
  border-bottom-left-radius: 0;
}

#cardexp, .payment-fields input[data-stripe="cvc"] {
  border-top-right-radius: 0;
  margin-right: -2px;
}

.payment-row2 input.payment-plan, .payment-fields input[data-stripe="cvc"] {
  border-top-left-radius: 0;
}

.payment-row2 input.payment-plan {
  z-index: 2;
  text-align: center;
}

.card-delete {
  position: relative;
  z-index: 100;
  top:-20px;
  left: 175px;
}

.card-delete:hover {
  top:-23px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.75);
}*/

/* MEDIA QUERIES */

@media (max-width: 992px) {
  .delete-account-btn-box {
    margin-top: 100px;
  }
}

@media (max-width: 992px) {
  table.calendar-month {
    font-size: 18px;
  }
  .day-fraction {
    margin-top:10px;
  }
}

@media (max-width: 768px) {
  table.calendar-month {
    font-size: 24px;
  }
  .day-fraction {
    margin-top: 0;
  }
}

input.referral-url {
  font-size: 24px;
  width: 450px;
  text-align: center;
  background: #c9f;
  border-color: #9600ff;
  max-width: 100%;
}
input.referral-url-sm {
  font-size: 14px;
  width: 270px;
  padding: 4px;
  display: inline-block;
  height: 30px;
  margin-top: 5px;
  background: #dce;
  border-color: #CC99EE;
  text-align: center;
}
@media (max-width: 500px) {
  input.referral-url {
    width: 350px;
    font-size: 18px;
  }
}

input.referral-url.referral-url-register {
  width: 550px;
}

/* goal settings */

.goal-settings-table {
  border-collapse: separate;
  border-spacing: 0 2px;
  width: 100%;
}

.goal-settings-table td {
  padding: 2px;
}

.cce-demo {
  display: inline-block;
  min-width: 40px;
  border-radius: 3px;
  text-align: center;
  padding: 2px 4px;
  font-size: 16px;
}

/***** goalsbar *****/

.goalsbar-outer {
  font-size: 12px;
  position: relative;
}

.goalsbar-outer.goalsbar-withstats {
  padding-right: 40px;
}

.goalsbar {
  display: inline-block;
  /*box-shadow: 0 1px 3px rgba(0,0,0,0.4);*/
}

.goalsbar-container {
  /*margin: 2px 2px 4px 0;*/
  margin: 0.167em 0.167em 0.333em 0;
}

.goalsbar-container.goalsbar-expanded {
  display: inline-block;
  min-width: 30em;
  text-align: left;
}

.goalsbar-main {
  /*padding: 2px 6px;*/
  padding: 0.167em 0.5em;
  color: #fff;
  /*line-height: 16px;*/
  line-height: 1.167em;
  /*background: #999;*/
  font-family: 'Montserrat Alternates', 'Montserrat', 'Century Gothic', sans-serif;
  font-weight: 600;
  position: relative;
  /*margin-left: 18px;*/
  margin-left: 1.5em;
}

.darktheme .goalsbar-main {
  color: #000;
}

.goalsbar-main {
  margin-left: 0;
  padding: 0;
}

/*
.cgid-x .goalsbar-main, .cgid-x.goalsbar-main,
.cgid-y .goalsbar-main, .cgid-y.goalsbar-main {
  margin-left: 0;
}
.cgid-x .goalsbar-code,
.cgid-y .goalsbar-code {
  width: 0 !important;
  opacity: 0;
}*/

.cgid-x .goalsbar-code span,
.cgid-y .goalsbar-code span {
  opacity:  0;
}


.darktheme .goalsbar-main {
  color: black;
}

.goalsbar-code {
  position: relative;
  left: 0.1em;
  top: 0.2em;
  display: inline-block;
}
.goalsbar-container:not(.goalsbar-container-letter) .goalsbar-code {
  width: 1.25em;
  text-align: center;
}

.goalsbar-name {
  display: inline-block;
  padding: 0.3em;
  line-height: 1.01; /* with 1 it would sometimes have a half-pixel below on M's 4k screen */
  vertical-align: top;
}

.goalsbar-outer.goalsbar-samewidth {
  text-align: left;
}

.goalsbar-outer.goalsbar-samewidth .goalsbar-name {
  width: 10em;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;

}
.goalsbar-outer.goalsbar-samewidth .goalsbar-expanded .goalsbar-name {
  width: 50em;
  max-width: 52vw;
}

/* no longer needed for small goalsbar but might 
.goalsbar-code-letter-outer {
  text-align: center;
  display: inline-block;
}

.goalsbar-code-letter {
  border: 0.5px solid black;
  width: 0.77em;
  position: relative;
  display: inline-block;
  left: -0.05em;
  top: -0.025em;
  text-align: center;
}


.goalsbar-code-letter:not(:first-child) {
  left: -0.1em;
}
.goalsbar-code-letter-I {
  margin: 0 -0.1em 0 -0.1em;
}

.goalsbar-code-letter-W,
.goalsbar-code-letter-X,
.goalsbar-code-letter-Y {
  margin: 0 -0.05em 0 -0.05em;
}
.goalsbar-code-letter-W {
  transform: scaleX(0.70);
  font-weight: 700;
}

/* only M wide enough for this to be good *\/
.goalsbar-code-letter-M + .goalsbar-code-letter-B,
.goalsbar-code-letter-M + .goalsbar-code-letter-D,
.goalsbar-code-letter-M + .goalsbar-code-letter-E,
.goalsbar-code-letter-M + .goalsbar-code-letter-F,
.goalsbar-code-letter-M + .goalsbar-code-letter-H,
.goalsbar-code-letter-M + .goalsbar-code-letter-L,
.goalsbar-code-letter-M + .goalsbar-code-letter-K,
.goalsbar-code-letter-M + .goalsbar-code-letter-M,
.goalsbar-code-letter-M + .goalsbar-code-letter-N,
.goalsbar-code-letter-M + .goalsbar-code-letter-P,
.goalsbar-code-letter-M + .goalsbar-code-letter-R {
  margin-left: -0.07em;
}

.goalsbar-code-letter-H + .goalsbar-code-letter-M,
.goalsbar-code-letter-N + .goalsbar-code-letter-M {
  margin-left: -0.2em;
}

.goalsbar-code-letter-A + .goalsbar-code-letter-W {
  margin-left: -0.38em;
}
*/

.goalsbar-code > span {
  /*font-size: 28px;*/
  font-size: 2em;
}
/*.goalsbar-container:not(.goalsbar-expanded) .goalcode-1 .goalsbar-main {
  margin-left: 1em;
}*/

.outcomes-editor:not(.outcomes-editor-new) .outcomes-goalsection .goalcode-1 .goalsbar-code {
  padding-left: 0.4em;
}

.goalsbar-filterbtns .goalsbar-main:hover {
  cursor: pointer;
  /*box-shadow: 0 0 2px 2px rgba(0,0,0,0.5);*/
  box-shadow: 0 0 0.143em 0.143em rgba(0,0,0,0.5);
}

.goalsbar-stat {
  padding: 0.1em 0.3em;
  float: right;
  font-weight: bold;
  box-shadow: none;
}

.goalsbar-filter-text,
.goalsbar-togglebtn {
  position: absolute;
  top: 0px;
  float:right;
}

.goalsbar-filter-text {
  left: 0;
  padding: 4px 4px 4px 0;
}
.goalsbar-togglebtn {
  right: 0;
}

@media (max-width: 768px) {
  .goalsbar-filter-text {
    left: 4px;
    padding: 4px;
  }
  .goalsbar-togglebtn {
    right: 4px;
  }
}

.goalsbar-samewidth .goalsbar-filter-text {
  left: 0;
  top: -2em;
}


.goalsbar-togglebtn .btn {
/*  padding: 4px 3px 2px 4px;*/
  padding: .4em .3em .2em .4em;
/*  font-size: 12px;*/
}

.hide-goalsbar-chevron .goalsbar-togglebtn {
  display: none;
}

.container-howto .goalsbar-container {
  font-size: 16px;
  font-family: 'Montserrat Alternates', 'Montserrat', 'Century Gothic', sans-serif;
}

/***** GOALS/HOWTO page *****/

#howto-goalbox, #howto-goalbox * {
  transition: all 400ms;
}

#howto-goalbox .nocsstrans {
  transition: none;
  /* border: 1px solid red; */
}

#howto-goalbox.goal-box input {
  /* background-color: rgba(255,255,255,0.5); */
  display: inline-block;
  /* border: 1px solid transparent; */
  /* outline: none; */
  box-shadow: none;
  overflow: visible;
}

#howto-goalbox h2.goal-name {
  margin-bottom: -10px;
}

#howto-goalbox.goal-box .goal-milestone input {
  background-color: rgba(0,0,0,0.2);
  color: #fff;
}

#howto-goalbox .goal-milestone-spec-edit {
  top: 0;
  left: 0;
}

.howto-goal-desc {
  min-height: 75px;
}

.howto-timer {
  /* font-weight: bold; */
  font-size: 25px;
  box-shadow: 0 1px 3px;
  padding: 4px 8px;
  font-family: 'Montserrat Alternates', 'Montserrat', 'Century Gothic', sans-serif;
  margin-right: 10px;
  width: 75px;
  display: inline-block;
  text-align: center;
}

.goal-box-container-expanded {
  position: relative;
}

.goal-box-container-expanded .oneliner textarea {
  min-height: 60px
}

.goal-box-container-expanded .goal-milestone {
  padding-top: 4px
}

.goal-box-container-expanded input, .goal-box-container-expanded .goal-milestone input.datepicker {
  background-color: #fff;
  color: #000;
}

.goal-box-container-expanded .goal-milestone-word {
  margin-right: 5px;
}
.goal-box-container-expanded .goal-milestone-word::after {
  content: ':';
}

.goal-box-container-expanded .goal-milestone-holder {
  position: relative;
  clear: both;
  padding-left: 15px;
  width: 500px;
}
/*
@media (max-width: 992px) {
  .container-goals-howto {
    width: 100%;
  }
}
*//*

@media (min-width: 992px) {
  .container-goals-howto .editing .goal-box .goal-milestone {
    width: 492px;
  }
}
*/
#goal-milestone-towards {
  display: inline-block;
  overflow: hidden;
  height: 24px;
  top: 5px;
  position: relative;
  transition: width 100ms ease-out;
}

.goal-box-container-expanded .goal-milestone input.datepicker {
  border: 2px solid #bdc3c7;
}

.goal-box-container-expanded .goal-milestone input.datepicker:focus {
  border-color: #8e44ad;
}

.goal-box-container-expanded .goal-privacy {
  width: 200px;
  margin-top: 20px;
  font-size: 18px;
}

.goal-box-container-expanded .goal-milestone-spec-edit {
  border-width: 2px;
}

#howto-goalbox.goal-expanded .goal-color {
  padding-top: 30px;
  top: 100%;
  width: 450px;
  left: 0;
  color: black;
}

#howto-goalbox.goal-expanded .goal-color .sp-replacer {
  position: absolute;
  top: 30px;
  right: 0;
}
@media (max-width: 540px) {
  #howto-goalbox.goal-expanded .goal-color {
    width: 100%;
  }
}

.howto-explanation {
  display:none;
  position: absolute;
  top: 0;
  left: 100%;
  width: 600px;
  padding: 8px;
}

.goal-howto-dateholder {
  display: inline-block;
}

.goal-box-container-expanded .goal-howto-dateholder {
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  overflow: visible;
  text-align: right;
}

@media (max-width: 1200px) {
  .howto-explanation { width: 450px; }
  .howto-explanation p { font-size: 16px; }
}
@media (max-width: 992px) {
  .howto-explanation { width: 300px; }
  .howto-explanation p { font-size: 14px; }
}
@media (max-width: 768px) {
  .howto-explanation { width: 180px; }
  .howto-explanation p { font-size: 12px; }
}

.howto-explanation-spec {
  top: 20px;
}

.goal-box .show-pre-goal-box,
.goal-expanded .hide-pre-goal-box {
  display: none;
}

/***** pre-TODAY/HOWTO page *****/

.nav-today-link {
  position: relative;
}

.click-on-today-arrow, .new-goal-arrow {
  position: absolute;
  color: #468847;
  bottom: -54px;
  left: 50%;
  margin-left: -20px;
  font-size: 36px;
  display: none;
}
.new-goal-alert {
  display: none;
  position: relative;
  padding-top: 54px;
}
.new-goal-arrow {
  display: block;
  top: 0;
  left: 210px;
}

.row-alerts {
  transition: margin 0.25s;
}

.row-alerts.with-top-margin {
  margin-top: 30px;
}

/***** TODAY/HOWTO page *****/

.howto-giantgoal {
  font-size: 36px;
  font-family: 'Montserrat Alternates', 'Montserrat', 'Century Gothic', sans-serif;
  display: inline-block;
  padding: 5px 16px;
  color: #fff;
  position: relative;
}

.howto-giantgoal-wrapper {
  box-shadow: 0 3px 5px rgba(0,0,0,0.3);
  display: inline-block;
  padding-left: 50px;
}

.howto-giantgoal-code {
  position: absolute;
  left: -47px;
  font-size: 72px;
  font-weight: 500;
  top: -21px;
}

.howto-number-arrow {
  padding: 0px 8px;
  font-size: 32px;
  display: inline-block;
}

.howto-example, .howto-tryityourself {
  width: 70%;
  margin-left: 15%;
}

.input-single-intention {
  font-weight: bold;
  font-size: 22px;
  transition: color 0.1s linear;
}

#your_goals {
  transition: width 0.25s ease-in, margin 0.25s ease-in;
}
.howto-tiy-large {
  width: 70%;
  margin-left: 15%;
}

.howto-tiy-textarea {
  min-height: 200px;
  font-size: 16px;
}

.today-howto-smart-header-width {
  font-size: 32.4px
}

@media (max-width: 1200px) {
  .today-howto-smart-header-width {
    font-size: 27px
  }
}

@media (max-width: 992px) {
  .today-howto-smart-header-width {
    font-size: 20.5px;
  }
}

.input-invalid {
  border-color: red !important;
}

.show-if-after-invalid-input {display: none}
.input-invalid + .show-if-after-invalid-input {display: block}

.container-howto .cgid-x.ccmbg, .cgid-x .ccmbg {
   background-color: #999;
}

.howto-section {
  overflow: hidden;
  max-height: 800px;
  transition: max-height 300ms ease-out;
}

.howto-section.howto-section-taller {
  max-height: 1200px;
}

.howto-section.howto-hidden {
  max-height: 0;
}

.howto-submit-bar, .howto-intentions-remaining {
  padding: 5px 0 10px;
  overflow: auto;
  width: 70%;
  margin-left: 15%;
  text-align: center;
}

@media (max-width: 768px) {
  .howto-submit-bar, .howto-intentions-remaining {
    width: 100%;
    margin-left: 0;
  }
}

/***** TODAY page *****/

.jumbo-loading {
  font-size: 60px;
  padding:40px 0;
  text-align: center;
  color: #eee4ee;
  font-family: 'Montserrat Alternates', 'Montserrat', 'Arial', sans-serif;
  font-weight: 800;
}

.darktheme .jumbo-loading {
  color: #2a2352;
}
.darktheme .jumbo-loading-error {
  color: #522a23;
}


.jumbo-loading-entries {
  color: #ddccdd;
}

.jumbo-loading-error {
  color: #F2D1C6;
}
.jumbo-loading-error2 {
  color: #C29186;
}

#loading-bar .bar {
  top: 51px;
}

#loading-bar-spinner {
  top: 61px;
}

.attnFormat {
  border: 2px dashed #939;
  padding: 15px;
  border-radius: 5px;
  background: #eee9ee;
}

.darktheme .attnFormat {
  background: #212;
}

.attnFormat .help-block {
  color: #939;
  font-style: italic;
}
.darktheme .attnFormat .help-block {
  color: #cbc;
  font-style: italic;
}

.help-block.help-block-danger {
  background-color: #c00;
  color: white;
  padding: 5px;
  border-radius: 6px;
  margin: 10px 0;
  text-align: center;
}

.active .notdonesOnOtherPages {
  display: none;
}

li.has-adjacent-bother > a {
  padding-right: 35px !important;
}
/*
li.has-adjacent-bother > a {
  width: 100%;
}*/

li.incomplete-bother {
  /*background: blue;*/
  /* margin-left: -16px; */
  /*background: none !important;*/
  padding: 0;
}

@media (min-width: 768px) {
  li.incomplete-bother > a.dropdown-toggle {
    padding-left: 0;
    padding-right: 0;
    width: 0;
    overflow: visible;
  }
  li.incomplete-bother .dropdown-menu {
    left: -102px;
    /*left: auto;
    right: 0;
  kinda fun but goes off the side
    */
  }
  
  li.incomplete-bother.incomplete-outcomes .dropdown-menu {
    left: -105px;
  }

}

@media (max-width: 767px) {
  li.incomplete-bother .dropdown-menu {
    position: relative !important;
    left: -100px !important;
  }
}

li.incomplete-bother-allowdismiss .dropdown-menu > li {
  position: relative;
  padding-right: 22px;
}

.dropdown-menu-head,
li.incomplete-bother .dropdown-menu > li.dropdown-menu-head {
  color: #98a;
  border-bottom: 1px solid #443953;
  padding: 4px 5px 10px;
  min-width: 200px;
  min-height: 35px;
}

@media (max-width: 767px) {
  li.incomplete-bother {
    position: relative;
    width: 60%;
    left: 40%;
    top: -37px;
    margin-bottom: -30px;
  }

  li.incomplete-bother > a {
    width: 30px;
    text-align: center;
  }
}
  
.dropdown-menu-head a {
  color: #98a;
}

.dropdown-menu-head a:hover {
  cursor: pointer;
}

.btn-navbother-dismiss,
.btn-navbother-dismiss-all {
  padding: 2px;
  border-radius: 50px;
  text-align: center;
  display: none;
}

.incomplete-bother-allowdismiss .btn-navbother-dismiss,
.incomplete-bother-allowdismiss .btn-navbother-dismiss-all {
  display: inline-block;
}

.btn-navbother-dismiss {
  position: absolute;
  color: #98a;
  /*color: white;*/
  right: 5px;
  top: 8px;
  height: 16px;
  width: 16px;
  line-height: 0.9;
}

.btn-navbother-dismiss-all {
  padding: 2px 6px;
  margin-left: -3px;
}

.btn-navbother-dismiss:hover,
.btn-navbother-dismiss-all:hover {
  cursor: pointer;
  color: red;
  background-color: white;
  text-decoration: none;
  /*background-color: rgba(255,255,255,0.2);*/
}

.navbar-inverse .navbar-nav > .incomplete-bother.open > a {
  background-color: rgba(143, 38, 217, 0.4);
}

.nav-bother {
  width: 24px;
  height: 16px;
  color: white;
  background: #c00;
  border: 1px solid #c00;
  font-size: 12px;
  display: inline-block;
/*  padding: 4px;*/
  padding: 4.5px 4px 3.5px;
  line-height: 0.5;
  border-radius: 8px;
  text-align: center;
  transition: 150ms all;
}
@media (min-width: 768px) {
  .navbar .nav-bother {
    margin-left: -25px;
  }
}

.btn .nav-bother {
  margin: -1px -1px -1px -1px;
}

/* all single-digit numbers */
.nav-bother.n-1,
.nav-bother.n-2,
.nav-bother.n-3,
.nav-bother.n-4,
.nav-bother.n-5,
.nav-bother.n-6,
.nav-bother.n-7,
.nav-bother.n-8,
.nav-bother.n-9 {
  width: 16px;
}

.nav-bother.n-1 {
  padding: 4px 3.5px 4px 4.5px;
}

a:hover .nav-bother {
  background-color: #e33;
  /*border-color: white;*/
  /*box-shadow: 0 0 2px 1px rgba(255,0,0,0.6)*/
}

@media (max-width: 1200px) {
  .jumbo-loading {font-size: 50px;}
}

@media (max-width: 992px) {
  .jumbo-loading {font-size: 40px;}
}
@media (max-width: 768px) {
  .jumbo-loading {font-size: 32px;}
}

.btn-settings-today {
  position: absolute;
  left: 30px;
}
@media (max-width: 768px) {
  .btn-settings-today {
    left: 3px;
  }
}
/*
.today-stuff-above {
  margin-bottom: -36px;
}
*/

.today-stuff-above > * {
  position: relative;
  /*z-index: 1000;*/
}

.greyed-out {
  background: #ccc;
}

/*.dailies-container {
  float: left;
  display: inline-block;
  margin: 0;
}

@media (max-width: 410px) {
  .dailies-container {
     margin: 8px; 
  }
}*/

.solo-priority,
.solo-priority-placeholder {
  font-size: 16px;
  font-family: "Montserrat", sans-serif;
  border: 1px solid;
  padding: 4px 11px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.5);
  position: relative;
  margin: 2px;
  float: left;
}

.solo-priority-placeholder {
  background-color: white;
}

body.darktheme .solo-priority-placeholder {
  background-color: black;
  /* box-shadow: 0 1px 3px rgba(255,220,220,0.75); */
}

.solo-priority-placeholder:hover {
  cursor: pointer;
}

.solo-priority {
  color: #999;
  clear: left;
}

body.darktheme .solo-priority {
  color: #999;
}

.solo-priority .colon,
.solo-priority-placeholder .colon {
  position: relative;
  top: -2px;
}

.solo-priority-overdue-mark {
  /*color: red;*/
  display:inline-block;
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  width: 24px;
  height: 24px;
  margin: -10px 2px;
  position: relative;
  overflow: visible;
  top: 5px;
  /*right: 24px;*/
  /*right: 26px;*/
  /*top: -5px;*/
  /*bottom: 7px;*/
  /*float:left;*/
}
.solo-priority-overdue-mark .glyphicon-time {
  z-index: 20;
}

.solo-priority-overdue-mark-solid-fill {
  border-radius: 12px;
  z-index: 10;
  width: 22px;
  height: 22px;
  display: inline-block;
  position: absolute;
  top: 3px;
  left: 1px;
  background: white;
}
.darktheme .solo-priority-overdue-mark-solid-fill {
  background: black;
}

.solo-priority .priority-button-holder,
.solo-priority .priority-button-placeholder {
  width: 0;
  height: 0;
  overflow: visible;
  float: right;
  opacity: 0;
  transition: 200ms width, 100ms opacity;
  transition-timing-function: ease-out;
}

.solo-priority .priority-button-holder {
  position: absolute;
  right: 0;
  bottom: 33px;
}

.ismobile .solo-priority .priority-button-holder,
.istablet .solo-priority .priority-button-holder,
.solo-priority:hover .priority-button-holder,
.ismobile .solo-priority .priority-button-placeholder,
.istablet .solo-priority .priority-button-placeholder,
.solo-priority:hover .priority-button-placeholder {
  opacity: 1;
  width: 64px;
  transition: 100ms width, 100ms opacity;
  transition-timing-function: ease-in-out;
}


.solo-priority .priority-button-holder .priority-button {
  font-size: 20px;
  transition: all 100ms;
  text-shadow: 0 1px 1px black;
  cursor: pointer;

  /*color: white;*/
  position: absolute;
}

.solo-priority .priority-button-holder .priority-button.priority-button-edit {
  top: 4px; right: 50px;
}
.solo-priority .priority-button-holder .priority-button.priority-button-complete {
  top: 2px; right: 6px;
}
.solo-priority .priority-button-holder .priority-button.priority-button-abandon {
  top: 4px; right: 28px;
}/*
.solo-priority .priority-button-holder .priority-button.priority-button-edit:hover {
  top: -1px; right: 50px;
}
.solo-priority .priority-button-holder .priority-button.priority-button-complete:hover {
  top: -3px; right: 6px;
}
.solo-priority .priority-button-holder .priority-button.priority-button-abandon:hover {
  top: -1px; right: 28px;
}*/

legend .btn {
  position: relative;
  top: 1px;
  right: 3px;
}

.input-group-btn:first-child > .btn,
.input-group-btn:last-child > .btn {
  margin-left: 0px;
  margin-top: 0px;
}

.greybg {
  background-color: #eeecee;
}

.todo-tab-row .nav-tabs > li > a:hover,
.todo-tab-row .nav-tabs > li > a:focus {
  background-color: #fff;
  /*background-color: #f8f0ff;*/
}

/*
.daily-task {
  opacity: 0.5;
}
.daily-task * {
  font-weight: normal !important;
}
*/

/*.nav-tabs {border-bottom-color:#aaa;}*/

.nav-tabs > li.active > a.org,
.nav-tabs > li.active > a.org:hover,
.nav-tabs > li.active > a.org:focus {
  border-width: 1px 0;
  border-color:#aaa;
  border-bottom-color: white;
}

.nav-tabs > li > a {
  margin-right: 8px;
}

.nav-tabs > li > a:hover {
  box-shadow: 0 -1px 1px rgba(0,0,0,0.7);
}
.nav-tabs > li.active > a:hover {
  box-shadow: none;
}

#sortable {
  position: relative;
  left: -17px;
}

@media (max-width: 992px) and (min-width: 768px) {
  #sortable {
    left: 0px;
  }
  .intentions-list-plus-container {
    left: 20px;
  }
}

.ismobile #sortable {
  /*position: absolute;*/
  /* left: -17px; */
  width: auto;
  margin-right:-17px;
  margin-left: -17px;
  left: 0;
  /* margin-bottom: -10px; */
  /* overflow: hidden; */
}

.container-today .ui-sortable-helper:hover {
  background-color: white;
  box-shadow: 0 3px 3px 1px rgba(0,0,0,0.5);
  /*left:40px;*/
  /*background-color: #f0f;*/
  /*border-left: 2px solid #999;*/
  /*margin-left: -2px;*/
  width: 1060px;
  cursor: grabbing;
}

.darktheme .ui-sortable-helper:hover {
  background-color: black;
  box-shadow: 0 2px 3px 1px rgba(255,220,220,0.5);
  /*box-shadow: 0 1px 3px rgba(255,220,220,0.75);*/
}

.nowdothis {
  padding-top: 10px;
  font-weight: bold;
  font-size: 21px;
  width:100%;
  /*float: left;*/
}

.nowdothis .ndt-durs,
.nowdothis .ndt-tally {
  /*width: 40%;*/
  /* float: right; */
  text-align: right;
  overflow: visible;
  /* width:  0; */
  position:  absolute;
  right: 10px;
  top: 10px;
}

@media (min-width: 768px) {
  .nowdothis .ndt-durs,
  .nowdothis .ndt-tally {
    margin-right: 10px;
  }
}

.nowdothis .ndt-tally {
  top: 40px;
}

.nowdothis .ndt-text {
  text-align: center;
  position: relative;
}

.nowdothis .ndt-text.durspresent {
  top: 8px;
}

#next {
  overflow: auto;
}

.btn-jumbo {
  font-size: 48px;
  width: 100%;
  padding: 30px;
  margin: 43px 0px 0 0;
  display: block;
}

@media (max-width: 564px) {
  .btn-jumbo {
    font-size: 8.5vw;
  }
}

.btn-donebtn {
  opacity: 0.9;
}
.btn-donebtn:hover,
.btn-donebtn:active {
  opacity: 1.0;
}

.opac06tilhover,
.btn06tilhover {
  opacity: 0.6;
}
.opac06tilhover:hover,
.btn06tilhover:hover,
.btn06tilhover:active {
  opacity: 1.0;
}

.extra-nexa-buttons {
  clear: both;
  margin: -1px -2px;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: all 100ms ease-in-out;
  padding: 2px;
}
.ismobile .extra-nexa-buttons {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 3px -7px;
}
.ismobile .extra-nexa-buttons button {
  margin: 5px;
  flex-basis: 20%;
  flex-grow: 1;
}
.ismobile .extra-nexa-buttons,
#next:hover .extra-nexa-buttons {
  max-height: 5em;
}
.extra-nexa-buttons-icon {
  float: right;
  padding-left: 3px;
}

.ismobile .extra-nexa-buttons-icon {
  float: none;
  padding: 0;
  font-size: 2em;
  display: block;
}

.nexttab.active {
  border-bottom-color: transparent !important;
}

.todotabs .tab-pane {
  /*border-top: 1px solid #ddd;*/
  /*padding: 0;*/
  /*border: none;*/
  /*box-shadow: none;*/
  overflow: auto;
  transition: background .25s ease-out;
  /*display: block !important;*/ /* TODO fix */
  /*max-height: 0;*/
  /*height: auto;*/
  /*transition: max-height 0s;*/
}

.todotabs > .active {
  padding: 20px 20px 20px 20px;
  box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.2), 0px 3px 4px 0px rgba(0, 0, 0, 0.14), 0px 3px 3px -2px rgba(0, 0, 0, 0.12); 
  /*box-shadow: 0 3px 3px rgba(5,0,10,0.5);*/
  /*transition: max-height 250ms;*/
  max-height: 2000px;
}

.todo-tab-row {
  position: relative;
  z-index: 200;
  padding-left: 154px;
  margin-top: 3px;
}

.todo-tab-row .nav-tabs {
  border-bottom: none;
  padding-top: 3px;
}

@media (max-width: 992px) and (min-width: 768px) {
  .todo-tab-row .nav-tabs > li > a {
    padding: 10px 12px;
  }
}

.todo-tab-row .nav-tabs > li:not(.active) > a:hover {
  /*top: -3px;*/
  padding-bottom: 13px;
  margin-bottom: -3px;
  transition: all 100ms ease-out;
  /*margin-top: -3px;*/
  /*box-shadow: 0 -1px 1px rgba(255,0,0,0.7);*/
  box-shadow: 0 1px 3px;
  box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.4),
              0px 5px 8px 0px rgba(0, 0, 0, 0.28),
              0px 1px 14px 0px rgba(0, 0, 0, 0.24);
  cursor: pointer;
}

@media (max-width: 400px) {
  .todo-tab-row {
    padding-left: 140px;
  }
}

@media (max-width: 350px) {
  .todo-tab-row {
    margin-top: 45px;
    padding-left: 30px;
  }
}

@media (max-width: 350px) {
  .timer-spare-durs-container {
    top: 1.5em;
    left: 14em;
    /* right: 0em; */
  }
}

.tab-content {
  position: relative;
  z-index: 210;
}

.tabber-next a, .tabber-list a {
  /* box-shadow: 0 1px 3px black; */
  color: black;
}

.tabber-next, .tabber-list {
  width: 90px;
  text-align: center;
  border-width: 1px 0 0;
}

.tabber-break {
  width: 0;
  border-width: 1px 0 0;
}

.tabber-list a {
  background: white;
}

.todo-tab-row .nav-tabs > li > a,
.todo-tab-row .nav-tabs > li.active > a:hover {
  /*border-top-color: #aaa;*/
  box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.2), 0px 3px 4px 0px rgba(0, 0, 0, 0.14), 0px 3px 3px -2px rgba(0, 0, 0, 0.12);
  /*border-bottom-color: white;*/
}

.tabber-list-org {
  /* border-color: #999 !important; */
  border-bottom-color: transparent;
  /* margin-top: 3px; */
}

.breaktab {
  font-size: 95%;
  width: fit-content;
}
.breaktab i {
  opacity: 0.7;
  transition: 100ms;
}
.breaktab:hover i {
  opacity: 1;
}

.take-a-break-outer {
  font-weight: 100;
  font-size: 50px;
}
.take-a-break-inner {
  display: inline-block;
  border-radius: 500px;
  padding: 100px 70px;
}

.take-a-break-icon-container {
  font-size: 200%;
}

.tab-pane-room .take-a-break-outer {
  font-weight: 200;
  font-size: 20px;
}

.tab-pane-room .take-a-break-inner {
  border-radius: 250px;
  padding: 70px 50px;
}

body.darktheme .todo-tab-row .nav-tabs > li > a.breaktab,
.todo-tab-row .nav-tabs > li > a.breaktab,
.todo-tab-row .nav-tabs > li.active > a.breaktab:hover,
.breaktab, .breaktab:hover {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none;
  color: inherit;
}

.breaktab:not(.active):hover {
  text-shadow: 0 0 1px white;
}

.darktheme .breaktab:not(.active):hover {
  text-shadow: 0 0 1px black;
}

  /*box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 5px 8px 0px rgba(0, 0, 0, 0.14), 0px 1px 14px 0px rgba(0, 0, 0, 0.12); }*/

/*.nav-tabs > a.tabber-list {*/
  /*border-top-color: #aaa;*/
  /*border-bottom-color: white;*/
/*}*/

.tabber-partner {
  display: inline-block;
}

.today-partner-side-tall-button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background: rgba(221,200,221,0.5);
  /*color: white;*/
  font-family: 'Montserrat Alternates', 'Montserrat', 'Century Gothic', sans-serif;
  height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 101;
}

@media (max-width: 767px) {
  .today-partner-bottom-wide-button-spacer {
    height: 25px;
  }
  .today-partner-side-tall-button {
    top: auto;
    height: auto;
    width: 100%;
    padding: 7px;
    right: 0;
  }
}

.col-md-4 .today-partner-side-tall-button {
  right: 0;
}


.today-partner-side-tall-button:hover {
  cursor: pointer;
  background: rgba(221,160,221,0.5);
}

body.darktheme .today-partner-side-tall-button {
  background: rgba(34, 21, 34, 0.5);
}

body.darktheme .today-partner-side-tall-button:hover {
  background: rgba(51, 21, 51, 0.5);
}

body.distraction-free .partner-half-tab:not(:hover) .today-partner-side-tall-button {
  display: none;
}

.partner-half-tab {
  position: relative;
  padding: 4px 0 8px;
  /*box-shadow: 0 3px 3px rgba(5,0,10,0.5);*/
  box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.2), 0px 3px 4px 0px rgba(0, 0, 0, 0.14), 0px 3px 3px -2px rgba(0, 0, 0, 0.12);
  overflow: auto;
  background: rgba(255,255,255,0.5);
  min-height: 120px;
}

@media (min-width: 992px) {
  .partner-half-tab {
    margin-left: -15px;
    margin-right: -15px;
  }
}

body.darktheme .partner-half-tab {
  background: rgba(0,0,0,0.5);
}

body.ismobile .partner-half-tab {
  background: rgba(234,223,255,0.5);
}

body.ismobile.darktheme .partner-half-tab {
  background: rgba(34,17,51,0.5);
}

@media (min-width: 768px) {
  .todotabs.col-md-6 {
    padding-right: 0;
  }
}

@media (max-width: 767px) {
  .today-right-module {
    clear: both;
    margin-top: 15px;
  }
}

.rom-outcomes {
  padding: 0 15px;
  position: relative;
}

.rom-outcomes:not(.rom-outcomes-show-all) {
  max-height: 400px;
  overflow: hidden;
}

.rom-outcomes-showall-button {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100px;
  padding-top: 30px;
  text-align: center;
  z-index: 100;
  background: linear-gradient(to top, #eeef 30%, #eee9 60%, #eee0 100%);
}

.rom-outcomes-showall-button > span {
  opacity: 0.8;
  position: absolute;
  right: 0;
  left: 0;
  bottom: 12px;
}

.rom-outcomes-showall-button:hover > span {
  opacity: 1;
}

.rom-outcomes-showall-button:hover {
  cursor: pointer;
}

.rom-outcomes .outcomes-list-box,
.rom-outcomes .outcomes-display-enoughbox {
  font-size: 14px;
}

.darktheme .rom-outcomes-showall-button {
  background: linear-gradient(to top, #111f 30%, #1119 60%, #1110 100%);
}

.rom-nexa {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #eee;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  min-height: 50px;
  font-weight: bold;
  /*width: 75%;*/
  width: 100%;
  padding: 15px 15px 5px;
  font-size: 17px;
  text-align: center;
}

body.darktheme .rom-nexa {
  background-color: #111;
}

.todotabs .tab-pane.intentions {
  padding-top: 0;
  background: rgba(255,255,255,0.5);
}

.todotabs .tab-pane.intentions,
.partner-half-tab,
.room-others,
.colored-intentions {
  background: white;
}

body.darktheme .todotabs .tab-pane.intentions,
body.darktheme .partner-half-tab,
body.darktheme .room-others,
body.darktheme .colored-intentions {
  background: black;
}


/*
.has_wholeday .todotabs .tab-pane.intentions,
.has_wholeday .partner-half-tab,
.has_wholeday .room-others {
  background: rgba(255,255,255,0.92);
}

body.darktheme.has_wholeday .todotabs .tab-pane.intentions,
body.darktheme.has_wholeday .partner-half-tab,
body.darktheme.has_wholeday .room-others {
  background: rgba(0,0,0,0.92);
}

.has_wholeday .colored-intentions {
  background: rgba(255,255,255,0.9);
}
body.darktheme .colored-intentions,
body.darktheme.has_wholeday .colored-intentions {
  background: black;
}
*/

.darktheme .todotabs .tab-pane.tab-pane-break,
.todotabs .tab-pane.tab-pane-break {
  box-shadow: none;
}

.ismobile .todotabs .tab-pane.intentions {
  padding: 0 0 8px;
}

.ismobile .todotabs .tab-pane.intentions > div {
  overflow: hidden;
  margin-bottom: -8px;
}

.ismobile .item-wrapper:not(:last-child) {
  border-bottom: 1px solid rgba(5,0,5,0.1);
}

.list-button {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 30px;
  height: 30px;
}

.done-visible-toggle-box {
  background-size: 30px;
  background-position: center;
  opacity: 0.3;
  transition: opacity 0.2s ease-in;
  z-index: 50;
}

.sort-by-points-box {
  right: 75px;
  font-size: 28px;
  opacity: 0.3;
  transition: opacity 0.2s ease-in;
  z-index: 50;
  line-height: 28px;
}

@media (min-width: 768px) {
  .list-button {
    top: 17px;
    width: 20px;
    height: 20px;
  }
  .done-visible-toggle-box {
    right: 0;
    background-size: 20px;
  }
  .sort-by-points-box {
    top: 17px;
    right: 25px;
    font-size: 20px;
    line-height: 20px;
  }
}

@media (max-width: 992px) and (min-width: 768px) {
  .tab-pane-room .list-button {
    margin-right: 15px;
  }
}

.ismobile .list-button {
  top: 26px;
}

.list-button:hover {
  opacity: 0.6;
  cursor: pointer;
}

.done-visible-toggle-box.done-hidden:hover,
.done-visible-toggle-box.done-visible {
  background-image: url(/img/checkbox.png);
}

.done-visible-toggle-box.done-visible:hover,
/*.done-visible-toggle-box.done-hidden:hover:active,*/
.done-visible-toggle-box.done-hidden {
  background-image: url(/img/checkbox-dashed.png);
  opacity: 0.4;
}

.darktheme .done-visible-toggle-box {
  filter: invert(1);
}

/*
.done-visible-toggle-box.done-visible:hover:active {
  background-image: url(/img/checkbox.png);
}
.done-visible-toggle-box:active {
  transition: 1s ease-in;
}
*/

@media (max-width: 768px) {
  .timer-sound-buttons .btn {
    padding: 4px 8px;
    margin: 6px 5px 6px 0;
  }
}
@media (max-width: 550px) {
  .timer-sound-buttons .btn {
    padding: 2px 5px;
    margin: 10px 2px 10px 0;
    font-size: 0.8;
  }
}

/******************* ROOM INTERSTITIAL **********************/

.interstitial-join-box {
  min-height: 350px;
  padding-bottom: 20px;
  box-shadow: 0 3px 3px rgba(0,0,0,0.7);
}

.interstitial-join-box-login {
  background: #dfd;
  position: relative;
  right: 10px;
  /*border-left: 2px solid #cbc;*/
}

.interstitial-join-box-guest {
  background: #def;
  padding-bottom: 20px;
  /*border-left: 2px solid #bdb;*/
}


.interstitial-room-logo {
  height: 124px;
  width: 124px;
  content: " ";
  position: absolute;
  left: 100px;
  top: 40px;
}

@media (max-width: 1200px) {
  .interstitial-room-logo {
    left: 50px;
  }
}

@media (max-width: 992px) {
  /*.interstitial-room-logo {
    left: -40px;
  }*/
  .interstitial-room-logo {
    left: 70%;
    top: 80px;
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 768px) {
  .interstitial-join-box-login {
    right: 0;
  }
}

/******************* ROOMS (like LWSH) **********************/

.room-timer-settings-container {
  border-radius: 10px;
  overflow: auto;
  padding:15px;
}

.form-horizontal .control-label.control-label-pomo-time,
.control-label-pomo-time {
  /*text-align: center;*/
  width: 100px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  color: white;
  font-family: 'Montserrat Alternates', 'Montserrat', 'Century Gothic', sans-serif;
}

.pomo-vis input {
  display: inline-block;
  width: 80px;
  margin: 4px;
  text-align: center;
  padding: 0 0 0 11px;
  font-weight: bold;
  font-size: 20px;
}

.pomo-vis {
  height: 50px;
  width: 100%;
  margin-bottom: 10px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.pomo-vis-bar {
  height: 100%;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.container-room .item-wrapper {
  font-size: 16px;
  margin-left: 14px;
}

@media (max-width: 992px) and (min-width: 768px) {
  .todotabs > #list.active.tab-pane-room {
    padding-left: 3px;
    padding-right: 3px;
  }
}
#list.tab-pane-room h3 {
  font-size: 16px;
}
#list.tab-pane-room #remainingcount2 {
  bottom: 2px;
}
.fgdull {
  color: #8b7996;
}

.room-others {
  z-index: 560; /* 550 is the main list tab */
  overflow-x: visible;
  padding: 15px 15px 0;
  position: relative;
  box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.2), 0px 3px 4px 0px rgba(0, 0, 0, 0.14), 0px 3px 3px -2px rgba(0, 0, 0, 0.12);
}

/*.intentions.tab-pane-room {
  left: 20px;
  top: -3px;
}*/

/*
@media (max-width: 767px) {
  .room-others {
    margin-right: 15px;
    margin-left: 15px;
  }
}*/

.room-userlist {
  list-style: none;
  font-size: 14px;
  overflow-x: visible;
  min-width: 345px;
  margin: 0 -15px;
  padding: 0;
}

.room-userlist li {
  background: rgba(255,255,255,0.5);
  padding: 2px 10px 5px 10px;
  border-left: 5px solid transparent;
  border-bottom: 1px solid #cbc;
  position: relative;
  overflow-x: visible;
  /*transition: background .25s ease-in-out;*/ /* THIS CAUSED THE TERRIBLE ITEM DUPE BUG */
}

.room-userlist .tooltip-inner {
  white-space: pre-line;
  max-width: 280px;
}

body.darktheme .room-userlist li {
  color: white;
  background: rgba(0,0,0,0.5);
}

.room-userlist li.user-left {
  border-left: 5px solid #c66;
  font-style: italic;
}

.room-userlist li.user-just-joined {
  border-left: 5px solid #4a4;
}

.roomlist-wordcount {
  color: white;
  background: #546;
  display: inline-block;
  padding: 0 4px 1px;
  border-radius: 6px;
}
a.roomlist-wordcount:hover {
  color: #dbf;
  text-decoration: none;
  cursor: pointer;
}

.roomlist-priv-holder {
  float: right;
}

.roomlist-priv-holder > span:hover {
  cursor: pointer;
}


.room-userlist li.roomlist-invite-bar {
  border-bottom: none;
  background: rgba(32,0,50, 0.1);
  text-align: center;
  padding: 7px 1px 5px;
}

.roomlist-invite-bar-text {
  color:#546;
  font-style: italic;
}

body.darktheme .room-userlist li.roomlist-invite-bar {
  background: #6576;
}

.darktheme .roomlist-invite-bar-text {
  color: #cbdb;
}


.roomlist-hover-icon, .icon-view-profile {
  transition: opacity 100ms;
}

.room-userlist li .roomlist-hover-icon {
  opacity: 0;
}

.room-userlist li:hover .roomlist-hover-icon {
  opacity: 1;
}

.roomlist-hover-icon:hover {
  cursor: pointer;
}

.roomlist-hover-icon:focus {
  outline: none;
}

.icon-start-chat:hover {
  color: #0c0;
}
.icon-start-chat:focus {
  color: #7c9;
}

.icon-view-profile:hover {
  color: #00f;
}
.icon-view-profile:focus {
  color: #97f;
}

.icon-boot-user:hover {
  color: #f90;
}
.icon-boot-user:focus {
  color: #fc6;
}


.icon-ban-user:hover {
  color: #f20;
}
.icon-ban-user:focus {
  color: #f60;
}


/*
.room-userlist li:nth-child(odd) {
  border-left: 5px solid #cbc;
  background: rgba(223,204,223,0.5);
}*/
/*
.room-userlist .userinfo-container {
  background: rgba(0,0,0,0.3);
  color: white;
  position: absolute;
  right: 100%;
  max-width: 12px;
  display: inline-block;
  overflow: hidden;
  transition: all 100ms ease-in-out;
  height: 100%;
  top: 0px;
}

.room-userlist .userinfo-container:hover {
  background: rgba(0,0,0,0.9);
  width: 200px;
  max-width: 200px;
}

.room-userlist .userinfo-container .userinfo {
  display: none;
}

.room-userlist .userinfo-container:hover .userinfo {
  display: inline-block;
}

.room-userlist .userinfo-container:hover .glyphicon {
  display: none;
}
*/
.room-userlist .goalsbar-main {
  position: absolute;
  right: 0;
  top: -1px;
  font-size: 12px;
  max-width: 70%;
}

.room-userlist .userlink {
  font-weight: bold;
  color: black;
}

.darktheme .room-userlist .userlink {
  color: #888480;
}

.room-userlist-nexa a {
  text-decoration: underline;
  color: inherit;
}

.room-userstatus {
  color: #888088;
  font-style: italic;
}

.container-room #sortable, .room-userlist {
  /*height: 50%;*/
  max-height: 400px;
  overflow-y: auto;
}
/* CSS doesn't like overflow-y & overflow-x to be certain kinds of different
 * ikr, ridiculous. anyway, point is, can't have one scrolly and the other hidden
 * so have to use margins & shit to make the left-side button visible
 */

.container-room #sortable {
  left: -17px;
}

.container-room #donebtn.btn-jumbo, .container-room #guestnvmbtn.btn-jumbo {
  font-size: 36px;
  width: 100%;
  padding: 10px;
  margin: 23px 0 0 -2px;
}

.container-room #donebtn.btn-jumbo.btn-jumbo-half, .btn-jumbo.btn-jumbo-half {
  width: 50%;
  margin-right: 10px
}

.guest-prompt-signup {
  padding-top: 10px;
  clear: both;
  display: none;
}

.showifbreaking {
  display: none;
}

body.breaking .showifbreaking {
  display: block;
}

#breakMessage {
  text-align: center;
  position: relative;
  top: 0;
}

#breakMessageContent {
  display: inline-block;
  background: #eee4ee;
  padding: 5px 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.75);
  font-weight: bold;
  border-bottom: none;
}

.darktheme #breakMessageContent {
  background: #111;
  color: #989;
}

#breakMessage a {
  color: #969;
  text-decoration: underline;
}


/* chatroom component */
.chatroom {
  box-shadow: 0 3px 3px rgba(5,0,10,0.5);
  background: white;
  border-top: 1px solid #eeecee;
  padding-bottom: 2px;
}

.chatroom .hidetabbar md-tabs-wrapper {
  display: none;
}

.chatroom .hidetabbar md-tabs[md-border-bottom]:not(.md-dynamic-height) md-tabs-content-wrapper {
  top: 0;
}

md-tab-item .icon-chat-unread {
  color: rgb(51,221,102);
  overflow: visible;
  max-width: 0px;
  display: inline-block;
  position: absolute;
  left: 5px;
  /*right: 5px;*/
  top: 17px;
}

md-tab-item .icon-circle {
  min-width: 14px;
  max-width: 14px;
  height: 14px;
  border-radius: 50%;
  display: block;
  /*font-size: 0;*/
  line-height: 0;
  background-color: rgb(51,221,102);
}

md-tab-item {
  position: relative;
}
/*
md-tab-item .has-unread {
  color: rgb(64,255,129);
  font-weight: bold;
}
*/
md-tab-item .btn-close-chat {
  opacity: 0;
  overflow: visible;
  max-width: 0px;
  display: inline-block;
  position: absolute;
  right: 19px;
  top: 17px;
}

md-tab-item:hover .btn-close-chat {
  opacity: 1;
}

md-tab-item .btn-close-chat:hover {
  cursor: pointer;
  font-size: 120%;
  top: 16px; /* gets bigger */
  right: 20px;
  color: rgb(255,64,129);
}

.chat-content {
  list-style: none;
  padding: 5px;
  min-height: 100px;
  overflow-y: auto;
  color: #555;
}

.stream-container .chat-content {
  height: 100%;
}

.chatroom .chat-content {
  max-height: 300px;
}

  .chat-content li {
    margin-bottom: 2px;
  }

  .chat-content a {
    text-decoration: underline;
  }

  .chat-name {
    font-weight: bold;
  }
  .chat-name-main:hover {
    cursor: pointer;
  }
  .chat-name:focus {
    outline: none;
  }

  .chat-dateline {
    font-weight: bold;
    background: #9993;
    margin: 20px -15px 4px -8px;
    padding: 8px;
  }

  .chatevent {
    background: #998C99;
    color: white;
    display: inline-block;
    padding: 0 8px;
    border-radius: 12px;
  }

  body.darktheme .chatevent {
    color: black;
  }

  .invisistamp {
    font-size: 0;
    width: 0;
    height: 0;
    overflow: hidden;
  }

  .chatstamp {
    float: right;
    font-weight: normal;
    color: #998C99
  }

  .chatstamp::before {
    content: attr(data-stamp);
  }

.chat-lower-row {
  position: relative;
  margin: 0 10px 10px;
  padding-bottom: 2px;
  height: 30px;
  z-index: 100;
}

  .chat-button-box {
    position: absolute;
    /*padding: 10px;*/
    bottom: 2px;
    left: 0px;
    width: 50px;
  }

  .chat-button-box .btn.btn-default {
    background: #ccc8cc;
  }

  .chat-input-box {
    position: absolute;
    /*padding: 10px;*/
    bottom: 0px;
    left: 50px;
    right: 0px;
  }

.chat-settings {
  display: none;
  position: relative;
  z-index: 101;
  padding: 10px;
  background: #ccc8cc;
  margin-bottom: -2px;
  transition: background .25s ease-in-out;
}

body.darktheme .chat-settings,
body.darktheme .chat-button-box .btn.btn-default {
  background: #443C44;
}

  .btn.btn-default.btn-chat-settings {
    position: relative;
    height: 35px;
    top: 0px;
    transition: 100ms all ease-in-out;
  }

  .btn.btn-default.btn-chat-settings.btn-chat-settings-chevron {
    height: 47px;
    padding-top: 0;
    top: 22px;
  }

  .btn.btn-default.btn-chat-settings.btn-chat-settings-chevron:hover {
    top: 16px;
  }

.reacji-list {
  list-style-type: none;
  margin: 2px 0;
  padding-inline-start: 0;
}
.reacji-list button {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 15px;
  font-size: 12px;
  line-height: 20px;
  border: 1px solid transparent;
  margin-right: 3px;
  background: #6663;
}
.reacji-list button:hover {
  cursor: pointer;
}
.reacji-list button img {
  display: inline-block;
  position: relative;
  height: 1.16em;
  top: -0.08em;
}

.reacji-list button.reacji-new {
  width: 33px;
  text-align: center;
}
.reacji-list button:not(.has-self-react):hover {
  border: 1px solid white;
}

.reacji-list button.has-self-react {
  background: #1d9bd11a;
  font-weight: bold;
  border: 1px solid #1264a3;
  color: #1264a3;
}
.darktheme .reacji-list button.has-self-react {
  color: white;
  background: #1264a3;
}

.btn-stoplight {
  /*width: 20px;*/
  display: inline-block;
  height: 20px;
  line-height: 8px;
  border-radius: 10px;
  color: white;
  opacity: 0.5;
}
.btn-stoplight:hover {
  color: white;
  opacity: 0.7;
}

.btn-stoplight-red   {background: #ea402f !important; border: 1px solid #ea402f;}
.btn-stoplight-amber {background: #ea9a00 !important; border: 1px solid #ea9a00;}
.btn-stoplight-green {background: #00cc43 !important; border: 1px solid #00cc43;}

.btn-stoplight.active {
  /*box-shadow: 0 0 1px rgba(0,0,0,0.75);*/
  top: 0 !important;
  box-shadow: none !important;
  border: 1px solid black;
  position: relative;
  top: 1px;
  opacity: 1;
  cursor: default;
}

.darktheme .btn-stoplight.active {
  border: 1px solid white;
}

/******** WEBRTC ********/
/* for the new simplewebrtc component */
.reactroom-media-send-btns,
.reactroom-media-send-btns-inline {
  position: relative;
  transition: all 0.2s;
  border-radius: 0 !important;
  font-family: "Montserrat", sans-serif;
  fill: #656;
  font-weight: 600;
}
.reactroom-media-send-btns svg,
.reactroom-media-send-btns-inline svg {
  fill: #656;
}
.reactroom-media-send-btns {
  text-align: center;
  color: #656;
  /*border: 6px dashed;*/
  display: block;
  opacity: 0.8;
  font-size: 20px;
  padding: 10px;
}

.reactroom-media-send-btns-inline {
  font-size: 12px;
  padding: 2px 6px;
  color: #656;
  position: relative;
  top: 0;
  box-shadow: 0 0 0 rgba(51,0,51,0.7);
}

.darktheme .reactroom-left-icon svg {
  fill: white;
}

/*
.reactroom-user-box .reactroom-user-box-overlay + video {
    height: 135px;
}

.reactroom-user-box video + video, .reactroom-user-box .tintbg + video {
    height: 101px;
    margin-bottom: -26.5px;
}
*/
/* extremely hacky way to only style screenshare vid
..........but this fails when everybody is screensharing
.reactroom-user-box video + video, .reactroom-user-box .tintbg + video {
  margin-bottom: -26.5px;
}
*/

.vidsize, #remoteVideos video, .videoContainer {
  width: 150px;
  height: 150px;
  transition: width 0.2s ease-in-out, height 0.2s ease-in-out;
}

.videoContainer {
  position: relative;
  /*background: rgba(255,0,0,0.5);*/
  float: left;
}

/*.videoContainer video {
  position: absolute;
  width: 100%;
  height: 100%;
}*/

.video-label {
  background-color: rgba(0,0,0,0.4);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  z-index: 30;
  top:0;
  left:0;
  right:0;
  bottom:0;
  opacity: 0;
  transition: opacity 0.2s;
}
div:hover > .video-label {
  opacity: 1;
}
/*
.video-label.video-label-shown {
  opacity: 1;
}*/

/******** ROOM SCHEDULE STUFF *********/

.btn-round {
  width: 20px;
  height: 20px;
  border-radius: 10px;
}

.btn-round[disabled] {
  box-shadow: 0 0 1px rgba(0,0,0,0.75);
  position: relative;
  top: 1px;
}

.room-schedule-table div[isteven-multi-select] {
  max-width: 200px;
}

.room-schedule-table .work {
  background: #FCDED1;
}

.room-schedule-table .break {
  background: #CDE5AA;
}

.room-schedule-table .other {
  background: #BAE3FF;
}

.darktheme .popover {
    background-color: #111;
    box-shadow: 0 5px 10px rgba(255,255,255, .2);
}

.darktheme .popover.right > .arrow:after {
  border-right-color: #111;
}
.darktheme .popover.left > .arrow:after {
  border-left-color: #111;
}
.darktheme .popover.bottom > .arrow:after {
  border-bottom-color: #111;
}
.darktheme .popover.top > .arrow:after {
  border-top-color: #111;
}

.popover .room-schedule-table .row.work:not(:last-child) {
  border-bottom: 1px solid #D2AB9A;
}

.popover .room-schedule-table .row.break:not(:last-child) {
  border-bottom: 1px solid #A5C575;
}

.popover .room-schedule-table .row.other:not(:last-child) {
  border-bottom: 1px solid #8CB9D8;
}

.popover .room-schedule-table .row:last-child {
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
}

.popover-room-schedule {
  width: 400px;
}

.warning-bell-option {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
  margin: 2px;
  padding: 8px 13px;
  border-radius: 4px;
  border: none;
  font-size: 15px;
  font-weight: normal;
  line-height: 1.4;
  color: white;
  display: inline-block;
}

input.warning-bell-editor {
  width: 40px;
  padding: 1px;
  /*border-radius: 2px;*/
  text-align: center;
  display: inline-block;
}

/************* ROOM DIRECTORY **************/

.room-dir-entry, .room-dir-entry-admin {
  display: block;
  position: relative;
  top: 0;
  border-left: 5px solid #99B3CC;
  background: #E3EBF4;
  padding: 6px 20px;
  margin: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.7);
  transition: all 100ms ease-in-out;
}

.room-dir-entry:hover {
  box-shadow: 0 3px 5px rgba(0,0,0,0.7);
  cursor: pointer;
  text-decoration: none;
}

.room-dir-entry h2, .room-dir-entry-admin h2 {
  display: inline-block;
  background-color: white;
  border-radius: 20px;
  padding: 0 10px 3px;
}

.room-dir-top-right-stuff {
  position: absolute;
  top: 0;
  right: 0;
  padding: 6px 8px;
  font-weight: bold;
  background-color: #99B3CC;
  color: #E3EBF4;
}

.darktheme .room-dir-entry {
  background: #111e2c;
}
.darktheme .room-dir-entry h2 {
  background-color: rgb;
  background-color: rgba(255,255,255,0.15);
}
.darktheme .room-dir-top-right-stuff {
  color: #111e2c;
}

.room-dir-pomo-til {
  position: absolute;
  top: 0;
  right: 0;
  padding: 6px 8px;
  font-weight: bold;
  /*color: white;*/
}

.pomoTimeWidget, .schedRoomTZwidget {
  position: relative;
  height: 32px;
  width: 60px;
  padding: 0;
  display: inline-block;
  /*overflow: hidden;*/
}

.pomoIcon, .schedRoomIcon {
  height: 30px;
  width: 30px;
  position: absolute;
  left: 30px;
  top: 5px;
}

.pomoIconTime, .schedRoomTZ {
  position: absolute;
  font-size: 14px;
  color: white;
  left: 0;
  /* top: 2px; */
  text-align: right;
  width: 30px;
  top: 5px;
}

.schedRoomIcon {
  top: 10px;
  left: 35px;
}

.schedRoomTZ {
  color: #58B;
}

.pomoIconTime > span {
  border-radius: 4px;
  padding: 1px 3px;
}

.fgpp {color: #9600ff;}
/* foreground: purpose purple */

/* work-cycle purple: #6156a1;
*/
.sand-fg { color: #f3ad2b !important; }
.pomo-red-fg { color: #ea402f !important; }
.pomo-green-fg { color: #9bcd50 !important; }
.pomo-red-bg { background-color: #ea402f !important; }
.pomo-green-bg { background-color: #9bcd50 !important; }
.pomo-red-l-bg { background-color: #FFE4E3 !important; }
.pomo-green-l-bg { background-color: #EEF5E3 !important; }
.pomo-red-_-bg { background-color: #FFE4E3 !important; }
.pomo-green-_-bg { background-color: #EEF5E3 !important; }
.darktheme .pomo-red-_-bg {background-color: #2f110e !important;}
.darktheme .pomo-green-_-bg {background-color: #212a13 !important;}
.pomo-red-l-fg { color: #FFE4E3 !important; }
.pomo-green-l-fg { color: #EEF5E3 !important; }
.darktheme .pomo-red-_-fg {color: #2f110e !important;}
.darktheme .pomo-green-_-fg {color: #212a13 !important;}
.pomo-red-br { border-color: #ea402f !important; }
.pomo-green-br { border-color: #9bcd50 !important; }

.blue-_-bg {background-color: #def !important;}
.darktheme .blue-_-bg {background-color: #123 !important;}

.demo-tiles .tile.bg-lurple {background: #dbf;}
.darktheme .bg-lurple {background: #213;}

.review-summary {
  border-radius: 20px;
  padding: 1px 8px;
  display: inline-block;
  background-color: white;
}

.review-summary-pomo img {
  width:16px;
  height:16px;
  margin:-3px 0 0 2px;
}

.rounded-white-bg {
  border-radius: 20px;
  padding: 1px 8px;
  display: inline-block;
  background-color: white;
}

h2 .tooltip {
  width: 300px;
  font-family: 'Open Sans', Helvetica, sans-serif;
  font-weight: normal;
}

*:hover > .parent-hover-hide {
  display: none;
}
.parent-hover-show {
  display: none;
}
*:hover > .parent-hover-show {
  display: inline-block;
}

/****************** ADMIN *******************/

.navbar-inverse.navbar-admin {
  background-image: linear-gradient(45deg, rgba(243,149,61, 0.5) 0%, rgba(216,20,30, 0.5) 5%, rgba(150,0,255, 0.5) 30%, rgba(150,0,255, 0.5) 70%, rgba(6,125,230, 0.5) 95%, rgba(114,205,195, 0.5) 100%) !important;
  color: #fff;
}

.navbar-inverse.navbar-admin .navbar-nav > li > a {
  font-weight: 300;
}

.navbar-inverse.navbar-admin .navbar-nav > li > a:hover,
.navbar-inverse.navbar-admin .navbar-nav > li > a:focus {
    /*color: #8f26d9;*/
    color: #FFBB33;
}

.container-manual .btn {
  margin: 5px;
}

.container-admin hr {
  height: 12px;
  width:96vw;
  position:absolute;
  left:0;
  border: 0;
  box-shadow: inset 0 12px 12px -12px rgba(0,0,0,0.5);
}

.container-usersearch input.datepicker {
  background: white;
  border: 2px solid #bdc3c7 !important;
}

.container-usersearch input.datepicker:focus {
  background: white;
  border-color: #8e44ad !important;
}

.power-search-thing {
  background-color: #555;
  padding: 4px 0px;
  position: relative;
  border-radius: 8px;
  margin-bottom: 8px;
  min-height: 45px;
  height: 45px;
}

@media (max-width: 768px) {
  .power-search-thing {
    height: 87px;
  }
}

.power-search-info-btn {
  display: inline-block;
  width: 25px;
  font-size: 20px;
  position: relative;
  top: 3px;
}

.power-search-thing.expanded {
  height: auto;
}

.power-search-btn {
  position: relative;
  transition: all 100ms;
  color: #999;
  font-size: 26px;
  width: 26px;
  height: 26px;
  display: inline-block;
  margin-right: 1px;
}

.power-search-btn:hover {
  cursor: pointer;
}

.power-search-btn-yes.active {
  color: #0c0;
}

.power-search-btn-no.active {
  color: #c33;
}

.power-search-details {
  white-space: pre-wrap;
}

.power-search-group {
  background: #000;
  color: white;
  padding-left: 9px;
  padding-right: 9px;
  height: 37px;
  display: inline-block;
  border-radius: 8px;
}

.power-search-view-box {
  margin: 8px 0;
  background: #ccc;
}

.power-search-thing-btn {
  height: 45px;
  text-align: center;
  padding: 13px;
  opacity: 0.5;
  color: white;
  transition: all 100ms;
}

.power-search-thing-search {
  background-color: #06f;
  opacity: 0.7;
}

.power-search-thing-btn:hover {
  cursor: pointer;
  box-shadow: 0 0 3px rgba(255,255,255,0.7);
  color: white;
  opacity: 0.8;
}

.power-search-thing-new:hover {
  background-color: #3a3;
}

.power-search-thing-search:hover {
  background-image: linear-gradient(1deg, #02f, #06f, #09c);
}

.power-search-thing .form-control {
  height: 37px;
  padding: 2px 4px;
  display: inline-block;
}


.btn-trash-power-search {
  display: inline-block;
  position: absolute;
  top: 8px;
  right: -13px;
}

.btn-trash-power-search .btn {
  padding: 6px;
}

.power-search-user {
  background: #cbd;
  margin-bottom: 10px;
  padding: 15px;
  position: relative;
}

.power-search-user h4 {
  margin-top: 0;
}

.power-search-user-billing {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-block;
}

/* END POWER SEARCH */

.emaileditor, .emaileditor p {
  font-size: 13px;
  font-family: arial, sans-serif;
  color: inherit;
}

.admin-user-event {
  padding: 15px;
  margin-bottom: 15px;
  background: rgba(0,153,255, 0.2);
}

.admin-user-event h4 {
  margin-top: 0;
}

.btn.aue {
  margin: 3px;
}
.btn.aue.shown,
.btn.aue.shown.active,
.btn.aue.shown:active,
.btn.aue.shown:focus,
.btn.aue.shown:hover {
  box-shadow: 0 0 1px 1px black, 0 0 2px 2px black;
  top: 0;
}
.btn.aue.notshown {
  opacity: 0.5;
}

.aue.account_delete {           background-color: #f99;}
.aue.account_new {              background-color: #90f;}
.aue.partial_signup {           background-color: #c9f;}
.aue.billing_disabled {         background-color: #afa;}
.aue.billing_failed {           background-color: #beb;}
.aue.billing_paused {           background-color: #9fc;}
.aue.billing_autounpaused {     background-color: #590;}
.aue.billing_subscribed {       background-color: #0c0;}
.aue.billing_removed {          background-color: #cf9;}
.aue.email_misparse {           background-color: #ccc;}
.aue.goals_archiveall {         background-color: #c9c;}
.aue.goals_reset {              background-color: #f9c;}
.aue.partner_accept {           background-color: #99f;}
.aue.reactivate_longago {       background-color: #96f;}
.aue.reactivate_nevertried {    background-color: #93f;}
.aue.summary_decrement {        background-color: #000;} .aue.summary_decrement h4, .btn.aue.summary_decrement {color: white;}
.aue.unknown {                  background-color: #999;}

.admin-user-event-date,
.admin-user-event-type {
  background: white;
  color: black;
  display: inline-block;
  padding: 4px;
  margin: 2px 4px;
  border-radius: 4px;
}
.admin-user-event-date {
  background: black;
  color: white;
}

.admin-user-event-body {
  padding: 15px;
  overflow: auto;
  background-color: white;
  clear:both;
}

.admin-overview, .admin-scoreboard, .admin-funnel-table, .admin-crg-table {
  border-spacing: 1px;
  border-collapse: separate;
}

.admin-crg-table a {
  color: black;
  text-decoration: underline;
}

.admin-scoreboard-inactivity-table {
  table-layout: fixed;
  border-spacing: 1px;
  border-collapse: collapse;
  background-color: rgba(255,92,0, 0.3);
  margin-bottom: 18px
}
.admin-scoreboard-inactivity-table td {
  text-align: center;
  border: 1px solid black;
  min-width: 30px;
}

.admin-overview td, .admin-scoreboard td {
  padding: 2px;
  margin: 2px;
  text-align: center;
}

.admin-crg-table {
  width: 100%;
  table-layout: fixed;
  margin-bottom: 20px;
}

.admin-crg-table td {
  padding: 1px 3px;
  text-align: center;
}

tr.thinline td {
  height: 5px;
}

.scoreboard-mbg-viz       {background: #66ff00;}
.scoreboard-mbg-p_signup  {background: #00ff00;}
.scoreboard-mbg-ref       {background: #00ffff;}
.scoreboard-mbg-p_onb     {background: #66ccff;}
.scoreboard-mbg-p_7dpt    {background: #66ccff;}
.scoreboard-mbg-p_pay     {background: #66ccff;}
.scoreboard-mbg-numrx     {background: #ff00ff;}
.scoreboard-mbg-p_rxpay   {background: #ff00ff;}
.scoreboard-mbg-p_inactv  {background: #ff0000;}
.scoreboard-mbg-p_churn   {background: #ff0000;}

.scoreboard-dbg-viz       {background: #3d9900;}
.scoreboard-dbg-p_signup  {background: #009900;}
.scoreboard-dbg-ref       {background: #009999;}
.scoreboard-dbg-p_onb     {background: #1155cc;}
.scoreboard-dbg-p_7dpt    {background: #1155cc;}
.scoreboard-dbg-p_pay     {background: #1155cc;}
.scoreboard-dbg-numrx     {background: #990099;}
.scoreboard-dbg-p_rxpay   {background: #990099;}
.scoreboard-dbg-p_inactv  {background: #990000;}
.scoreboard-dbg-p_churn   {background: #990000;}

.scoreboard-lbg-viz       {background: #a3ff66;}
.scoreboard-lbg-p_signup  {background: #66ff66;}
.scoreboard-lbg-ref       {background: #66ffff;}
.scoreboard-lbg-p_onb     {background: #cceeff;}
.scoreboard-lbg-p_7dpt    {background: #cceeff;}
.scoreboard-lbg-p_pay     {background: #cceeff;}
.scoreboard-lbg-numrx     {background: #ff66ff;}
.scoreboard-lbg-p_rxpay   {background: #ff66ff;}
.scoreboard-lbg-p_inactv  {background: #ff6666;}
.scoreboard-lbg-p_churn   {background: #ff6666;}

.scoreboard-wbg-viz       {background: #d6ffba;}
.scoreboard-wbg-p_signup  {background: #c9ffc9;}
.scoreboard-wbg-ref       {background: #baffff;}
.scoreboard-wbg-p_onb     {background: #d5f1ff;}
.scoreboard-wbg-p_7dpt    {background: #d5f1ff;}
.scoreboard-wbg-p_pay     {background: #d5f1ff;}
.scoreboard-wbg-numrx     {background: #ffd8ff;}
.scoreboard-wbg-p_rxpay   {background: #ffd8ff;}
.scoreboard-wbg-p_inactv  {background: #ffd8d8;}
.scoreboard-wbg-p_churn   {background: #ffd8d8;}

.scoreboard-table-total {
  font-weight: bold;
}

.admin-overview tr.aggregate td {
  background-color: #eed0ee;
}

.admin-overview td.username-cell {
  text-align: right;
  padding-right: 10px;
}

.admin-overview td.username-cell.emailsoff {
  font-style: italic;
  background: #ccc;
}

.admin-overview td.username-cell.sns {
  background: #9f9;
}

.admin-overview td.username-cell.onholiday {
  background: #f6c;
}

.admin-overview td.payment {
  background: #fc9;
}

.admin-overview td.payment.abouttoexpire {
  background: #f90;
}

.admin-overview td.payment.paid {
  background: #0c0;
}

.admin-overview td.hasPartner {
  background: #f9f;
}

.admin-overview td.payment.paid.yearly {
  background: #060;
  color: white;
}

.admin-overview td.payment.paid.coached {
  background: #206;
  color: white;
}

.admin-overview td.payment.paid.yearly.coached {
  background: #044;
  color: white;
}

.admin-overview td.payment.paused {
  background: #c0c;
  color: white;
}

.admin-overview td.payment.paused.yearly {
  background: #606;
  color: white;
}

.admin-overview td.payment.paid.lifetime {
  background: #305;
  color: white;
}

.admin-overview td.payment.gift {
  background: #39c;
}

.admin-overview td.payment.expired {
  background: #f30;
}

.admin-overview td.payment.unpaid {
  background: #f06;
}

.admin-overview td.datum-cell {
  background-color: #ff0000;
}

.admin-overview .onholiday td.datum-cell {
  background: #f6c;
}

.admin-overview td.payment {
  border-right: 1px solid black;
}

.admin-funnel-table {
  font-size: 20px;
}

/*
@media (max-width: 1400px) {.admin-overview td:nth-child(-n+6) {display: none;}}
@media (max-width: 1300px) {.admin-overview td:nth-child(-n+8) {display: none;}}
@media (max-width: 1200px) {.admin-overview td:nth-child(-n+10) {display: none;}}
@media (max-width: 1100px) {.admin-overview td:nth-child(-n+14) {display: none;}}
@media (max-width: 1000px) {.admin-overview td:nth-child(-n+19) {display: none;}}
@media (max-width: 800px) {.admin-overview td:nth-child(-n+22) {display: none;}}
*/
@media (max-width: 1000px) {.admin-overview td:nth-child(-n+2) {display: none;}}
@media (max-width: 1000px) {.admin-overview td:nth-child(4) {max-width: 24px; overflow: hidden}}
/*@media (max-width: 1000px) {.admin-overview td:nth-child(4) {display: none;}}*/
@media (max-width: 800px) {.admin-overview td:nth-child(-n+10) {display: none;}}

.admin-overview td:nth-child(1), .admin-overview td:nth-child(2) {
  display: table-cell;
}

.admin-overview td.datum-cell:nth-last-child(2) {
  background-color: #ffcc00;
}

.admin-overview td.datum-cell.O {
  background-color: #00cc00;
}

.admin-overview td.datum-cell.I {
  background-color: #9999ff;
}

.admin-overview td.datum-cell.P {
  background-color: #bbddff;
}

.admin-overview td.datum-cell.J {
  background-color: #cc33cc;
}

@media (max-width: 992px) {
  .scoreboard-col-big {
    margin-bottom: 15px;
  }
}

@media (min-width: 992px) {
  .scoreboard-col-big {
    margin-right: -15px;
  }
  .scoreboard-col-full {
    padding-right: 30px;
  }
}

.scoreboard-box {
  position: relative;
  padding: 20px 10px 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.75);
}

.scoreboard-box:not(:first-child) {
  margin-top: 15px;
}

.box-title {
  position: absolute;
  top: -21px;
  left: 7px;
  opacity: 0.4;
}

.score-box {
  display: inline-block;
  border-radius: 4px;
  min-width: 30px;
  text-align: center;
  padding: 6px;
  font-size: 24px;
  font-weight: 600;
  font-family: 'Montserrat Alternates', 'Montserrat', 'Century Gothic', sans-serif;
  box-shadow: 0 1px 3px rgba(0,0,0,0.7);
  background: white;
}

.score-box-dp {
  background: #473074;
  color: white
}

.score-box.score-box-sm {
  font-size: 18px;
  margin: 3px;
  padding: 4px 5px;
}
.score-box.score-box-sm .glyphicon {
  position: relative;
  top: 2px;
}

.score-box-icon {
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
  position: absolute;
  top: -0.5em;
  right: -0.5em;
}

/* GOALS DASHBOARD */

.header-buttons {
  display: inline-block;
  width: 300px;
  text-align: left;
}

.goal-box {
  display: block;
  padding: 10px 10px 22px;
  /* margin:10px 100px; */
  margin: 0 0 0 90px;
  min-height:100px;
  position: relative;
  box-sizing: border-box;
}

.container-goalspage .goal-box {
  transition: color 400ms, background-color 400ms;
}

.goal-sort-outer .goal-box {
  min-height: 42px;
  margin: 0 0 0 39px;
  padding: 5px 5px 5px 0;
}

.goal-box.goal-box-completed {
  opacity: 0.8;
}

.goal-box.goal-box-completed:hover {
  text-decoration: none;
  cursor: pointer;
  opacity: 1;
}

@media (max-width: 992px) {
  .container.container-goalspage {
    padding-left: 0;
    padding-right: 0;
    width: auto;
  }
}

@media (max-width: 768px) {
  .container.container-goalspage {
    padding-left: -15px;
    padding-right: -15px;
    width: auto;
  }
}

/*
.goal-box.justadded .name-editable:after {
  content: "NEW";
  background: black;
  color: white;
  box-shadow: 0 0 4px white;
  display: inline-block;
  padding: 2px 4px;
  border-radius: 3px;
  position: relative;
  left:5px;
  top: 2px;
}*/

.new-goal-box-container {
  display: block;
  opacity: 0.8;
}

.new-goal-box-container:hover {
  cursor: pointer;
  text-decoration: none;
  opacity: 1;
  color: #cbc;
}

.new-goal-box-container .goal-box-code {
  background: #EEE9EE;
  color: #cbc;
}
.darktheme .new-goal-box-container .goal-box-code {
  background: #110817;
  color: #664f70;
}
.new-goal-box, .editing .new-goal-box {
  background: #cbc;
  border-radius: 0;
  /*border: 6px dashed;*/
}

.darktheme .new-goal-box {
  background: #664f70;
}

.max-10-goals-msg {
  padding: 10px 100px;
  text-align: center;
  color: #cbc;
}

.goal-box-container {
  padding: 0 0 4px;
  margin: 10px 20px;
  position: relative;
  overflow: visible;
}

.goal-box .oneliner {
  color: white;
}
.goal-box .oneliner a {
  color: white;
  opacity: 0.7;
  text-decoration: underline;
}
.goal-box .oneliner a:hover {
  opacity: 0.9;
}

.goal-box .oneliner textarea,
.goal-box .editable-wrap textarea,
.goal-box .editable-wrap input.editable-input,
.goal-box input.datepicker {
  display: inline-block;
  border: 1px solid transparent;
  outline: none;
  box-shadow: none;
  overflow: visible;
}

.goal-box .oneliner textarea:focus {
  border-color: rgba(255,255,255,0.5);
}

.goal-milestone-spec-container .editable-wrap,
.goal-box .editable-wrap textarea {
  display: block;
}

.goal-name.empty input.editable-input.ng-pristine {
  border-color: red;
}
.goal-box .editable-wrap textarea:focus,
.goal-box .editable-wrap input.editable-input:focus,
input.datepicker:focus {
  border: 1px solid;
  border-color: inherit;
}

.goal-box-container input.datepicker {
  display: inline-block;
  outline: none;
  box-shadow: none;
  overflow: visible;
}

.goal-box-container-expanded input.datepicker {
  display: inline-block;
}

/*.goal-box .goal-box .goal-milestone .editable-wrap input.editable-input, .goal-milestone input.datepicker {
  background-color: rgba(0,0,0,0.2);
  color: white;
}
*/
h2 .editable-wrap .editable-input,
#howto-goalbox h2 input {
  font-size: 30px;
  line-height: 30px;
  height: 40px;
  padding-top: 0;
  padding-bottom: 0;
  /* padding: 7px 12px 0px; */
}

.oneliner .editable-wrap {
  width: 100%;
}
.oneliner .editable-wrap .editable-input {
  /*font-style: italic;*/
  height: 36px;
/*}*/

/*.goal-box .oneliner textarea {*/
  font-size: 16px;
  font-weight: bold;
}

.goal-date input {
  text-align: center;
  margin-right: -5px;
}

.editing .oneliner {
  display:block;
  clear: both;
  width: 100%;
  /* margin-bottom: 70px; */
}

/*.goal-box .editable-wrap textarea.editable-input*/
.oneliner textarea {
  margin-top: 5px;
  min-height: 42px;
}

.goal-box h2 {
  margin-top: 0;
  margin-bottom: 0;
}

.goal-box h2 input {
  font-weight: bold;
}

.goal-box .oneliner {
  font-family: 'Montserrat Alternates', 'Montserrat', Helvetica, sans-serif;
  font-size: 18px;
  font-style: italic;
  display: block;
  clear: both;
  margin: 0 1px;
}

.goal-box .oneliner .editable,
.goal-box .oneliner .oneliner-wrapper {
  white-space: pre-wrap;
}

.goal-name {
  font-family: 'Montserrat Alternates', 'Montserrat', 'Century Gothic', sans-serif;
  font-weight: 500;
  font-size: 34px;
  color: white;
  float: left;
  padding-right: 18px;
  margin-top: -7px;
}

@media (max-width: 600px) {
  .editing .goal-name {
    max-width: 80%
  }
}
@media (max-width: 500px) {
  .editing .goal-name {
    max-width: 70%
  }
}

.goal-name .editable-wrap input.editable-input {
  color: white;
  font-size: 34px;
  background-color: transparent;
  padding-left: 2px;
  line-height: 34px;
}

.goal-box .goal-name .editable-wrap input.editable-input::placeholder {
  color: rgba(255,255,255,0.33);
}
.goal-expanded .goal-name .editable-wrap input.editable-input {
  color: black;
}

.darktheme .goal-expanded .goal-name .editable-wrap input.editable-input {
  color: white;
}

.goal-terzukte {
  font-weight: 600;
  clear: both;
  margin: 0 0 2px;
  font-size: 24px;
  padding-top: 2px;
  color: white;
  font-family: 'Montserrat Alternates', 'Montserrat', 'Century Gothic', sans-serif;
}
.goal-terzukte .editable-wrap input.editable-input {
  width: 100%;
  background-color: transparent;
  color: white;
  font-size: 24px;
  line-height: 24px;
  padding-left: 2px;
  font-family: 'Montserrat Alternates', 'Montserrat', 'Century Gothic', sans-serif;
}
.terzukte-editable .editable-wrap {
  display: block;
}


.howto-hc-font {
  color: black;
}

.darktheme .howto-hc-font {
  color: #bbb;
}

.goal-box-code-wrapper {
  overflow: hidden;
  height: 100px;
  /* display: inline-block; */
  width: 90px;
  position: absolute;
}

.goal-box-code {
  font-family: 'Montserrat Alternates', 'Montserrat', 'Century Gothic', sans-serif;
  position: absolute;
  font-weight: 500;
  /* left: -63px; */
  top: -40px;
  font-size: 130px;
  width: 90px;
  text-align: center;
  height: 140px;
  overflow: hidden;
}

.goal-box-code-wrapper.goal-box-code-letters {
  height: 60px;
}
.goal-box-code-wrapper.goal-box-code-letters .goal-box-code {
  font-size: 58px;
  height: 67px;
  top: -14px;
}

.goal-sort-inner .goal-box-code-wrapper {
  height: 43px;
  width: 39px;
}
.goal-sort-inner .goal-box-code {
  font-size: 55px;
  top: -18px;
  height: 60px;
  width: 40px;
}

.goal-sort-outer.goal-sort-outer-letters .goal-box {
  min-height: 43px;
  margin: 0 0 0 70px;
  padding: 5px;
}

.goal-sort-inner .goal-box-code-wrapper.goal-box-code-letters {
  width: 70px;
}
.goal-sort-inner .goal-box-code-letters .goal-box-code {
  width: 71px;
  top: -19.5px;
}

._invisible {
  opacity: 0 !important;
}

._noheight {
  height: 0 !important;
  max-height: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.goal-box-container .goal-date,
.goal-box-container .goal-privacy,
.goal-box-container .goal-milestone {
  font-family: 'Montserrat Alternates', 'Montserrat', Helvetica, sans-serif;
  display: block;
  padding: 5px 5px 0;
  font-size: 18px;
  /* width: 100%; */
}
.goal-box-container .goal-privacy {
  position: absolute;
  bottom: 0;
}

.goal-box-container .goal-dates {
  /* padding: 5px; */
  margin-left: 90px;
  position: relative;
  overflow: auto;
}

.goal-date-start {
  float: left;
}

.goal-date-end {
  float: right;
}

.goal-review-questions-show-btn {
  position: absolute;
  top: 0;
  right: 120px;
  font-size: 16px;
  padding: 3px 5px 2px 5px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  box-shadow: 0 1px 1px black;
  color: black;
}

.goal-review-questions-show-btn:hover {
  padding: 5px 5px 2px 5px;
  box-shadow: 0 1px 3px black;
}


#questionModal textarea {
  min-height: 110px;
  margin-bottom: 5px;
}

.goal-box-container .goal-milestone {
  padding: 5px;
  margin-left: 90px;
  position: relative;
}

.milestone-button-holder {
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
}

.milestone-button-holder .milestone-button {
  color: white;
  position: absolute;
  right: 8px;
  top: 5px;
  font-size: 20px;
  transition: all 100ms;
  text-shadow: 0 1px 1px black;
  cursor: pointer;
}

body.darktheme .milestone-button-holder .milestone-button {
  color: black;
}

.milestone-button-holder .milestone-button:hover {
  font-size: 24px;
  right: 7px;
  /*top: 0px;*/
  outline: none;
  text-shadow: 0 3px 3px black;
}

.milestone-button-holder .milestone-button.milestone-button-bottom {
  top: 30px;
  right: 11px;
}

.milestone-button-holder .milestone-button.milestone-button-bottom:hover {
  /*top: 25px;*/
  right: 8px;
}

.milestone-action-confirm-button, .review-questions-confirm-button {
  color: white;
  font-size: 50px !important; /* THESE ARE TEMPORARY... to fix flatmat issues */
  position: absolute !important;
  right: -19px !important;
  bottom: -17px !important;
  text-shadow: 0px 1px 3px black;
  transition: all 50ms;
}

.review-questions-confirm-button:hover, .review-questions-confirm-button:focus,
.milestone-action-confirm-button:hover, .milestone-action-confirm-button:focus {
  color: white; /* because links have hover color */
  font-size: 60px !important;
  right: -26px !important;
  bottom: -19px !important;
  outline: none !important;
  text-shadow: 0 3px 5px black;
}


.newcodeInvalid, .newcodeInvalid:focus {
  border-color: red;
}

.circle-pacman-button {
  background: #fff;
  color: black;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-family: 'Montserrat Alternates', 'Montserrat', 'Century Gothic', sans-serif;
  position: absolute !important;
  right: -19px !important;
  bottom: 9px !important;
  top: auto !important;
  box-shadow: 0px 1px 3px rgba(0,0,0,0.8);
}

/*.btn:hover*/
.circle-pacman-button:not(.pacman-mode):not(.btn-noraise):not(.active):hover {
  background: #fff;
  width: 56px;
  height: 56px;
  transition: all 50ms;
  color: black;
  text-decoration: none;
  right: -22px !important;
  bottom: 12px !important;
  box-shadow: 0 3px 5px rgba(0,0,0,0.6);
}

.circle-pacman-button:focus {
  background: #eee;
  text-shadow: 0 0 1px #fff, 0 0 2px #fff, 0 0 3px #fff;
  /* box-shadow: inset 0 0 1px #fff, inset 0 0 2px #fff, inset 0 0 3px #fff; */
  /* that box-shadow gets overridden by the OUTER box-shadow on buttons */
}

.darktheme .circle-pacman-button,
.darktheme .circle-pacman-button:not(.pacman-mode):not(.btn-noraise):not(.active):hover {
  background: black;
  color: white !important;
}

.circle-pacman-button.pacman-mode {
  bottom: 9px !important;
  cursor: default;
  outline: none !important;
}

.circle-pacman-button .pacman {
  display: none;
}

.circle-pacman-button.pacman-mode .pacman {
  display: inline-block;
}

.circle-pacman-button .btn-ok {
  display: inline;
}

.circle-pacman-button.pacman-mode .btn-ok {
  display: none;
}

.pacman-mode {
  padding: 5px !important;
}
/*
.editable-milestone-name {
  display: inline-block;
  max-width: 400px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
  bottom: -16px;
  margin-top: -16px;
}
*/

.milestone-action-date-icon {
  font-size: 40px;
  position: absolute;
  left: 10px;
  top: 40px;
  color: rgba(0,0,0,0.7);
}

.milestone-action-date {
  padding-left: 30px;
  font-size: 20px;
  width: 320px;
  float: left;
  /* margin: -8px 5px; */
}

.milestone-action-date-planned {
  display: inline-block;
  padding: 0 5px;
}

.milestone-action-date .datepicker {
  font-size: 20px;
  width: 125px;
  float: left;
  text-align: center;
  padding: 8px;
}

.milestone-action-date label {
  width: 120px;
  padding-right: 4px;
  font-size: 16px;
}

.new-milestone-name {
  font-size: 20px;
  font-family: 'Montserrat';
}

@media (min-width: 992px) {
/*  .editing .goal-box .goal-milestone {
    width: 500px;
  }*/
  .goal-box .goal-milestone input.editable-input {
    width: 530px;
  }
}

.goal-milestone .glyphicon-magnet {
  /*transform: rotate(-90deg);*/
  transition: all 100ms;
  transition-timing-function: cubic-bezier(0.1, 0.7, 1.0, 0.1)
  /* http://cubic-bezier.com/#.26,.55,.73,.16 */
}

.goal-milestone .datepicker {
  text-align: center;
}

.datepicker-dropdown {
  z-index: 1200 !important;
}

.goal-box-spacer {
  display:block;
  height: 24px;
}

.goal-milestone-spec-container {
  min-height: 50px;
  margin-top:6px;
  overflow: auto;
  position: relative;
}

.goal-box-container-expanded .goal-milestone-spec-container {
  max-width: 500px;
  overflow: visible;
}

.goal-milestone-spec-edit {
  position: relative;
  /* position: absolute; */
  /* top: -17px; */
  left: 15px;
  z-index: 100;
  border-radius: 10px;
  overflow: hidden;
  min-width: 435px;
  max-width: 85%;
  font-family: 'Open Sans';
  transition: min-height 0.1s;
}


@media (max-width: 1200px) and (min-width: 992px) {
  .goal-box .goal-milestone-spec-edit {
    min-width: 777px;
  }
}

@media (min-width: 1200px) {
  .goal-box .goal-milestone-spec-edit {
    min-width: 777px;
  }
}

.goal-box-container #howto-goalbox textarea,
.goal-box-container-expanded #howto-goalbox textarea {
   transition: height 0ms;
}


.goal-milestone-spec-edit:focus {
  /*border-color: #66afe9;*/
  min-height: 100px;
  transition: min-height 0.3s;
  outline: 0;
  box-shadow: none;
  overflow: auto;
}


.milestone-banner-state {
  color: white;
  position: absolute;
  top: 0;
  right: 0;
  font-size: 72px;
}

.priority-modal-header-icon {
  /*color: white;*/
  position: absolute;
  top: 0;
  left: 0;
  font-size: 72px;
}
/*
.priority-modal-header-pad-left {
  padding-left:;
}*/

.endgoal .milestone-banner-state {
  font-size: 108px;
}

.goal-box .goal-privacy select:focus {
  border: 1px solid rgba(0,0,0,0.5);
  box-shadow: 0 0 1px black;
}

.goal-box .goal-review-questions-show-btn2 {
  width: auto;
  padding: 7px;
  /* float: left; */
  text-align: center;
  left: 0;
  position: absolute;
  bottom: 0;
  overflow: visible;
  height: 42px;
}
.goal-box .goal-review-questions-show-btn2 .btn.btn-sm {
  padding: 5px 8px;
  outline: none;
  position: relative;
}

#settingsModal .btn.btn-sm {
  padding:  5px 8px;
}

#settingsModal .tabber-list,
#settingsModal .tabber-next {
  opacity: 0.7;
}

#settingsModal .tabber-list.active,
#settingsModal .tabber-next.active {
  font-weight: bold;
  opacity: 1;
}

@media (max-width: 500px) {
  #settingsModal .tabber-list {
    width: 80px;
  }
  #settingsModal .tabber-next {
    width: 50px;
  }
  #settingsModal .tabber-list a,
  #settingsModal .tabber-next a {
    padding: 5px;
  } 
}

.goal-box .goal-privacy {
  width: auto;
  padding: 5px;
  /*max-width: 200px;*/
  /*display: inline-block;*/
  /*margin: auto;*/
  float:right;
  text-align: center;
  /*left: 0;*/
  right: 0;
}

.goal-box .goal-privacy {opacity: 0.6;}
.editing .goal-box .goal-privacy {opacity: 1;}

@media (max-width: 768px) {
  .goal-milestone-spec-edit {
    left: 0;
    /* min-width: 400px; */
    width: auto;
    display: block;
  }

  .goal-review-questions-show-btn {
    right: 100px;
  }
}

/*.goal-privacy .editable-wrap {margin:0; width:100%;}*/

.oneliner textarea {
  min-height: 41px;
}

/*********

.sp-preview {
  z-index: 1;
  margin-right: 15px;
}

.goal-color select {
  width: 50px;
  height: 30px;
  position: absolute;
  right: 0;
  z-index: 0;
  top: 0;
  bottom: 0;
  background: rgba(255,255,255,0.5);
}

TODO also uncomment background:none below

*********/

.goal-color {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  color: white;
}
.editing .goal-color {
  display: block;
}
/*.editing .goal-color input {
  opacity: 0;
  display: block;
  width: 32px;
  height: 32px;
  border: none;
}*/

.goal-color-replacer, .goal-color-container {
  border:none;
  background: rgba(255,255,255,0.7);
  /*background: none;*/
  /* border-top-right-radius: 5px; */
}
.goal-color-container {
  background: white;
}

.darktheme .goal-color-replacer {
  background: rgba(0,0,0,0.7);
}

.darktheme .goal-color-container {
  background: black;
}
/* doesn't work for some reason, and I can't figure out whether it should be sp-palette or the container */
/*
.sp-palette-container {
  box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.2),
              0px 3px 4px 0px rgba(0, 0, 0, 0.14),
              0px 3px 3px -2px rgba(0, 0, 0, 0.12);
}

.darktheme .sp-palette-container {
  box-shadow: 0px 1px 8px 0px rgba(255, 220, 220, 0.2),
                0px 3px 4px 0px rgba(255, 220, 220, 0.14),
                0px 3px 3px -2px rgba(255, 220, 220, 0.12);;
}*/

.sp-palette .sp-thumb-el {
  margin: 1px 1px;
/*  border: 1px solid white;*/
}

.sp-palette span.sp-thumb-el:hover {
  border-color: black !important;
  box-shadow: 0 0 1px black;
}

.darktheme .sp-palette-container {
  border-right: solid 1px #333;
}

.darktheme .sp-palette .sp-thumb-el {
  border: 1px solid #222;
}

.darktheme .sp-palette span.sp-thumb-el:hover {
  border-color: white !important;
  box-shadow: 0 0 1px white;
}

.goal-side-btns {
  position: absolute;
  top: 110px;
  z-index: 5;
  left: 0px;
}

.goal-side-btns .btn {
  position: absolute;
  float: right;
  padding: 5px 8px;
}

.goal-side-btns .btn:hover {
  /*top: -3px;*/
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.75);
}

.goal-archive-btn {
  top: 36px;
}

.goal-delete-btn {
  top: 72px;
}

.goal-restore-btn {
  top: -44px;
}

/*.goal-side-btns .btn.goal-delete-btn:hover {*/
  /*top: 42px;*/
  /*box-shadow: 0 3px 5px rgba(0, 0, 0, 0.75);*/
/*}*/

.goal-side-btns a .button-hovertext {
  max-width: 0px;
  width: auto;
  overflow: hidden;
  display: inline-block;
  transition: max-width 150ms ease-in-out;
  height: 16px;
  padding-top: 2px;
}

/*
.goal-side-btns a:hover {
  width: 150px;
  right: 90px;
}
*/
.goal-side-btns a:hover .button-hovertext {
  max-width: 150px;
  /*opacity: 1;*/
}​

.goal-box.deleted {
  opacity: 0.5;
  position: relative;
  left: 20px;
}

.goal-sort-outer {
  cursor: move;
  position: relative;
  overflow: visible;
  margin: 3px;
}

.goal-sort-inner {
  overflow: auto;
  /* padding: 8px; */
  /*border:8px solid;*/
  margin: 0 0 0 35px;
  /*border-radius: 5px;*/
}

.goal-sort-oldcode {
  display: inline-block;
  padding: 0 5px;
  /* margin-left: -10px; */
  /* margin-top: -6px; */
  position: relative;
  left: 0;
  top: -3px;
}

.ui-sortable-helper .goal-sort-inner {
  background-color: white;
  box-shadow: 0 3px 3px 1px rgba(0,0,0,0.5);
}

.goal-sort-outer a.dragger {
  display: inline-block;
  width: 30px;
  height: 50px;
  /*position: absolute;*/
  /*background: #fed;*/
  /*height: 19px;*/
  /*left: -18px;*/
  padding-top: 4px;
  margin-right: 2px;
  position: absolute;
  top: 0px;
  left: 0;
  /*left:-60px;*/
  /* background: black; */
  /* line-height: 5px; */
  font-size: 8px;
}

.goal-sort-outer a.dragger span {
  display: inline-block;
  width: 28px;
  height: 4px;
  margin: 0px 0;
  /*background: #999;*/
  border-radius: 4px;
  /* line-height: 5px; */
  /* font-size: 8px; */
}

.deleted * {
  text-decoration: line-through !important;
}

.unwrap {display: inline-block;}

@media (min-width: 992px) {
  .unwrap-md {display: inline-block;}
}

.maroontext {color: #a00;}
.redtext {color: red;}
.greentext {color: #0c0;}

.form-control.form-control-tiny {
  text-align: center;
  min-width: 55px;
}

.form-control.form-control-inline.form-control-small,
.form-control.form-control-small {
  padding: 0px 2px;
  height: 2em;
}

/* ========================== */

/* now only used for room video button */
.outliney-box {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  color: #cbc;
  border-radius: 18px;
  border: 6px dashed;
  display: block;
  opacity: 0.8;
}
.outliney-box, .outliney-box svg {fill: #cbc}

.outliney-box:hover {
  text-decoration: none;
  opacity: 1;
  color: #cbc;
  cursor: pointer;
}

.outcomes-submit-box-new {
  text-align: center;
  border-radius: 10px;
  border: 2px dashed #6669;
  opacity: 0.8;
  height: 300px;
  padding: 70px 0;
  overflow: hidden;
}
.outcomes-submit-box-new:hover {
  cursor: pointer;
  text-decoration: none !important;
}

.row-entry-missing .outcomes-submit-box-new {
  padding: 20px 0;
  height: 100px;
}

.outliney-help {
  padding: 10px;
  font-family: "Montserrat", sans-serif;
  text-align: center;
  color: #6669;
}

/* htmlarea nodeName for hotkeys, .htmlarea className for other stuff  */
/* ie htmlareas should in general be htmlarea.htmlarea */
.htmlarea {
  -webkit-user-modify: read-write;
  word-wrap: break-word;
  line-break: after-white-space;
  -webkit-line-break: after-white-space;
  display: block;
  /* above from div */

  min-height: 30px;
  transition: min-height 0.2s;
  overflow: auto;
  background: #fff;
  /*padding: 6px;*/
  /*border: 1px solid #ccc;*/
  /*border-radius: 4px;*/

  border: 2px solid #bdc3c7;
  color: #2a2352;
  font-size: 15px;
  /*line-height: 1.467;*/
  padding: 8px 12px;
  /*height: 42px;*/
  border-radius: 6px;
  box-shadow: none;

  resize: both;
  position: relative;
  z-index: 400;
}

.remarks-readonly > div > h2:first-child,
.remarks-readonly > div > h3:first-child,
.remarks-readonly > div > h4:first-child,
.remarks-readonly > div > h5:first-child,
.htmlarea > div > h2:first-child,
.htmlarea > div > h3:first-child,
.htmlarea > div > h4:first-child,
.htmlarea > div > h5:first-child,
.remarks-readonly > h2:first-child,
.remarks-readonly > h3:first-child,
.remarks-readonly > h4:first-child,
.remarks-readonly > h5:first-child,
.htmlarea > h2:first-child,
.htmlarea > h3:first-child,
.htmlarea > h4:first-child,
.htmlarea > h5:first-child  {
  margin-top: 2px;
}

.container-today .htmlarea {
  min-height: 100px;
  padding-left: 15px;
}

.htmlarea:focus {
  /*border-color: #66afe9;*/
  min-height: 100px;
  transition: min-height 0.3s;
  border-color: #8e44ad;
  outline: 0;
  box-shadow: none;
  /*box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);*/
}

.htmlarea.tiny {
  text-align: center;
  width: 36px;
  height: 36px;
  overflow: visible;
  display: inline-block;
  padding: 8px 0; 
}

.htmlarea.tiny:focus {
  min-height: 30px;
}

.htmlarea h1, .htmlarea h2, .htmlarea h3 {
  margin: 0;
}
.htmlarea p {
  margin: 10px;
}

.htmlarea:not(:focus):empty:before {
  content: attr(placeholder);
  color: #bababa;
}

.htmlarea blockquote {
  margin: 2px 1px 10px;
  font-size: inherit;
}

/******** shared purposes / SHARED PURPOSES *********/

.item-list {
  list-style-type: none;
  padding-left: 22px;
}

.beta-ribbon {
  position: absolute;
  top: 70px;
  left: -45px;
  display: inline-block;
  transform: rotate(-45deg);
  background: #9600ff;
  color: white;
  padding: 5px 60px;
}

h1.purpose-name {
  font-weight: 200;
  line-height: 130%;
}
.purpose-block {
  font-family: 'Montserrat Alternates', 'Montserrat', 'Century Gothic', sans-serif;
  font-weight: 300;
  color: white;
  background-color: black;
  display: inline-block;
  border-radius: 1000px;
  padding: 0.3em 0.5em;
  box-shadow: 0 0.05em 0.15em 0.1em rgba(255,255,255,0.1), 0 0.025em 0.1em 0.07em rgba(255,255,255,0.3);
  /* position: relative; */
  /* top: -1px; */
}
h1 .purpose-block,
h2 .purpose-block,
h3 .purpose-block {
  font-weight: 200;
}

.purpose-arrow {
  max-width: 100%;
  overflow: auto;
}

.purpose-dir-entry {
  border: 2px solid black;
  border-radius: 29px;
  /* overflow: auto; */
  display: block;
  margin: 10px 0;
  padding: 0;
}

.hidden-from-purpose {
  opacity: 0.2;
}

.purpose-goal-relation {
  /*border: 2px solid black;*/
  border-radius: 20px;
  padding: 8px 14px;
  background-color: #666;
  color: white;
  white-space: pre-wrap;
}

.purpose-actions-bar-bottom {
  margin: 0 -10px;
  padding: 4px 3px 8px;
  color: white;
  font-size: 14px;
}

.pac-white-container {
  position: relative;
  padding: 3px;
  background: white;
  border-radius: 50%;
  display: inline-block;
  line-height: 0;
}

.purpose-invite {
  display: inline-block;
  padding: 2px 8px;
  margin: 4px;
  border-radius: 50px;
}

textarea.p-relation-editor {
  background: #666;
  color: white;
  border-color: black;
  box-shadow: 1px 1px 3px white inset;
  border-radius: 20px;
}

.darktheme #shareModal .modal-header *,
.darktheme #shareModal .modal-footer *:not(.form-control) {
  color: black;
}

/*****************************************************/
/******** distraction-free & darktheme stuff *********/
/*****************************************************/

/* holy fuck if you use .cc__bg then brave's shields will nuke it 
   because it looks like a cookie popup or something :o
   and extra-confusingly, it WON'T nuke it on localhost
   info: https://gist.github.com/anthonydillon/b77351b8266a777dc5ef8489d5f7df45
*/

.cc__fgx {color: black}
.darktheme .cc__fgx {color: white}

.cc_bgx {background: white}
.darktheme .cc_bgx {background: black}

.cc__bgx08 {background: #fff8}
.darktheme .cc__bgx08 {background: #0008}

body.darktheme {
  color: #988c9c;
  /* color: #656381; */ /* old */
  background-color: black !important;
}

.darktheme .modal-backdrop {
  background-color: #222;
}

.darktheme .modal-content {
  background: black;
  box-shadow: 0 3px 9px rgba(255,220,220,0.5);
}

body:not(.ismac).darktheme::-webkit-scrollbar {
    width: 16px;
    height: 16px;
}

body:not(.ismac).darktheme::-webkit-scrollbar-corner,
body:not(.ismac).darktheme::-webkit-scrollbar-track {
    background-color: #111;
}

body:not(.ismac).darktheme::-webkit-scrollbar-thumb {
    background-color: #332747;
    background-clip: padding-box;
    border: 2px solid transparent;
    border-radius: 5px;
}

body:not(.ismac).darktheme::-webkit-scrollbar-thumb:hover {
    background-color: rgb(128,111,145);
}

body:not(.ismac).darktheme::-webkit-scrollbar-thumb:active {
    background-color: rgb(128,96,162);
}

/* Buttons */
body:not(.ismac).darktheme::-webkit-scrollbar-button:single-button {
    background-color: #332944;
    display: block;
    background-size: 10px;
    background-repeat: no-repeat;
}

/* Up */
body:not(.ismac).darktheme::-webkit-scrollbar-button:single-button:vertical:decrement {
    height: 12px;
    width: 12px;
    background-position: center 4px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(128,111,145)'><polygon points='50,00 0,50 100,50'/></svg>");
}

body:not(.ismac).darktheme::-webkit-scrollbar-button:single-button:vertical:decrement:hover {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(112, 112, 112)'><polygon points='50,00 0,50 100,50'/></svg>");
}

body:not(.ismac).darktheme::-webkit-scrollbar-button:single-button:vertical:decrement:active {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(128, 128, 128)'><polygon points='50,00 0,50 100,50'/></svg>");
}

/* Down */
body:not(.ismac).darktheme::-webkit-scrollbar-button:single-button:vertical:increment {
    height: 12px;
    width: 16px;
    background-position: center 2px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(128,111,145)'><polygon points='0,0 100,0 50,50'/></svg>");
}

body:not(.ismac).darktheme::-webkit-scrollbar-button:single-button:vertical:increment:hover {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(112, 112, 112)'><polygon points='0,0 100,0 50,50'/></svg>");
}

body:not(.ismac).darktheme::-webkit-scrollbar-button:single-button:vertical:increment:active {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(128, 128, 128)'><polygon points='0,0 100,0 50,50'/></svg>");
}

/* Left */
body:not(.ismac).darktheme::-webkit-scrollbar-button:single-button:horizontal:decrement {
    height: 12px;
    width: 12px;
    background-position: 3px 3px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(128,111,145)'><polygon points='0,50 50,100 50,0'/></svg>");

}

body:not(.ismac).darktheme::-webkit-scrollbar-button:single-button:horizontal:decrement:hover {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(112, 112, 112)'><polygon points='0,50 50,100 50,0'/></svg>");
}

body:not(.ismac).darktheme::-webkit-scrollbar-button:single-button:horizontal:decrement:active {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(128, 128, 128)'><polygon points='0,50 50,100 50,0'/></svg>");
}

/* Right */
body:not(.ismac).darktheme::-webkit-scrollbar-button:single-button:horizontal:increment {
    height: 12px;
    width: 12px;
    background-position: 3px 3px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(128,111,145)'><polygon points='0,0 0,100 50,50'/></svg>");
}

body:not(.ismac).darktheme::-webkit-scrollbar-button:single-button:horizontal:increment:hover {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(112, 112, 112)'><polygon points='0,0 0,100 50,50'/></svg>");
}

body:not(.ismac).darktheme::-webkit-scrollbar-button:single-button:horizontal:increment:active {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(128, 128, 128)'><polygon points='0,0 0,100 50,50'/></svg>");
}


.bg-purple-subtle {
  background: #cbd;
}

.darktheme .bg-purple-subtle {
  background: #110618;
}

.bg-subtle {
  background: #ece9f1;
}

.darktheme .bg-subtle {
  background: #110914;
}

.bg-subtle-info {
  background: #e9ecf1;
}

.darktheme .bg-subtle-info {
  background: #091114;
}

.darktheme .modal-footer {
  border-top: 1px solid #171717;
}
.darktheme .modal-header {
  border-bottom: 1px solid #171717;
}
.darktheme .nav-tabs-better {
  border-bottom: 1px solid #222;
}

.darktheme .help-block {
  color: #615894;
}

.darktheme .pomo-red-_-bg .help-block {
  color: #ba9;
}

body.darktheme .item input[type="checkbox"] {
  opacity: 0.5;
}
body.darktheme #outcomesModal  .item input[type="checkbox"] {
  opacity: 1;
}

/* DISTRACTION FREE MODE */

@media (min-width: 500px) and (min-height: 300px) {
  body.distraction-free:not(.has_wholeday) {
    background-image: url(/img/intend-logo-bare-padded.png);
    background-position: bottom right;
    background-size: 120px;
  }
}

body.distraction-free .allexceptfooter {
  padding: 10px 0;
  background: rgba(255,255,255,0.8);
}

body.darktheme .allexceptfooter {
  background: rgba(0,0,0,1);
}


body.distraction-free.darktheme .allexceptfooter {
  background: rgba(0,0,0,0.8);
}

body.distraction-free.darktheme:not(.has_wholeday) {
  background-image: url(/img/intend-logo-bare-padded-dark.png);
}

body.distraction-free.ismobile {
  background: white !important;
}
body.distraction-free.ismobile.darktheme {
  background: black !important;
}
/*
@media (max-width: 992px) {
  body.distraction-free, body.distraction-free.darktheme {
    background: none;
  }
}
*/

.swal2-popup .swal2-image.sm-v-margin {
  margin-top: 0.25em;
  margin-bottom: 0.25em;
}

.swal2-popup {
  font-size: 1.6rem !important;
}

.swal2-popup.swal2-toast.swal2-toast-points {
  border-radius: 15px/30px;
  margin-bottom: 100px;
  background: linear-gradient(#eee, #ccc);
  box-shadow: 0 0   1px 0   rgba(0,0,0,0.1),
              /*0 2px 5px 5px rgba(0,0,0,0.2),*/
              0 3px 7px 7px rgba(0,0,0,0.2);
}
.darktheme .swal2-popup.swal2-toast.swal2-toast-points {
  background: linear-gradient(#444, #222);
  box-shadow: 0 0   1px 0   rgba(255,255,255,0.1),
              /*0 2px 5px 5px rgba(255,255,255,0.2),*/
              0 3px 7px 7px rgba(255,255,255,0.2);
}

.darktheme .swal2-popup.swal2-toast-points .swal2-title,
.darktheme .swal2-popup.swal2-toast-points .swal2-content {
  color: rgba(255,255,255,0.8);
}

.darktheme .swal2-popup .swal2-validation-message {
  background: #333;
  color: #ccc;
}

.swal2-modal {
  font-family: 'Open Sans', Verdana, sans-serif;
}

.swal2-modal button.swal2-styled {
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 2px 1px -1px rgba(0, 0, 0, 0.12);
  /*position: relative;*/
}
.swal2-modal button.swal2-styled:hover
.swal2-modal button.swal2-styled:active {
  box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);
  /*top: -2px;*/
}
.darktheme .swal2-container.swal2-in {
   background: rgba(32, 16, 16, 0.4) !important;
}
.darktheme .swal2-modal {
  background: black !important;
  box-shadow: 0 1px 3px rgba(255,220,220,0.5);
}

.darktheme .swal2-modal button.swal2-cancel {
  background-color: #4e4e4e !important;
}
/*
.darktheme .swal2-icon.swal2-warning {
  color: #c15a00;
  border-color: #c15a00;
}
*/
.darktheme .swal2-icon.swal2-success::after,
.darktheme .swal2-icon.swal2-success::before,
.darktheme .swal2-icon.swal2-info::after,
.darktheme .swal2-icon.swal2-info::before,
.darktheme .swal2-icon.swal2-warning::after,
.darktheme .swal2-icon.swal2-warning::before,
.darktheme .swal2-icon.swal2-error::after,
.darktheme .swal2-icon.swal2-error::before {
    background: #000;
}

.darktheme .swal2-success-fix,
.darktheme .swal2-success-circular-line-left,
.darktheme .swal2-success-circular-line-right {
  background-color: #000 !important;
}

.darktheme #boilerplateModal .colored-intentions,
.darktheme .colored-intentions {
  background-color: rgba(0,0,0,0.5);
  color: #dcb;
}

.darktheme .swal2-modal input,
.darktheme .form-control:not(.plaintext-intentions):not(.selzukte-input) {
  background-color: #111;
  color: #dcb;
}/*
.darktheme .form-control: {
  background-color: #111;
}*/

.darktheme .form-control.form-control-no-purple-border:focus {
  border-color: #ccc6;
}

.form-group.focus .form-control,
.form-control:not(.form-control-no-purple-border):focus,
.form-group.focus .select2-search input[type="text"],
.select2-search input[type="text"]:focus {
  border-color: #333c;
}
.darktheme .form-group.focus .form-control,
.darktheme .form-control:not(.selzukte-input):not(.form-control-no-purple-border):focus,
.darktheme .form-group.focus .select2-search input[type="text"],
.darktheme .select2-search input[type="text"]:focus {
  /*border-color: #8f26d9;*/
  border-color: #ccca;
}
/*
.form-control-outcomes-q:focus {
  /* TODO
}
.darktheme .form-control-outcomes-q:focus {
  /* TODO
}
*/

.darktheme .input-group-addon {
  background-color: #272625;
  border: 2px solid #272625;
}

body.darktheme .htmlarea {
  background: #09000f;
  color: #dcb;
}

body.darktheme #todosNextday .colored-intentions {
  background-color: rgba(10,0,20,0.8);
  box-shadow: 0 0 8px 5px #1119;
}
body.darktheme.has_wholeday #todosNextday .colored-intentions {
  box-shadow: 0 0 8px 5px #0009;
}

body.darktheme #caret {
  border-left-color: #dcb;
}

.pts-input #caret {
  border-left-color: #eee;
}

body.darktheme .todo-tab-row .tabber-list a {
  background: black;
  color: #cbc;
  /*border-color: #211;*/
}

body.darktheme .todo-tab-row .nav-tabs > li > a,
body.darktheme .todo-tab-row .nav-tabs > li.active > a:hover {
    box-shadow: 0px 1px 8px 0px rgba(255, 220, 220, 0.2),
                0px 3px 4px 0px rgba(255, 220, 220, 0.14),
                0px 3px 3px -2px rgba(255, 220, 220, 0.12);
}

body.darktheme .todo-tab-row .nav-tabs > li:not(.active) > a:hover {
    box-shadow: 0px 3px 5px -1px rgba(255, 220, 220, 0.4),
                0px 5px 8px 0px rgba(255, 220, 220, 0.28),
                0px 1px 14px 0px rgba(255, 220, 220, 0.24);
}

body.darktheme .timerBox {
  background: rgba(0,0,0,0.8);
}

body.darktheme .timer-spare-durs {
  /*color: #656;*/
  background: #11081C;
  box-shadow: 0px 4px 5px 0px rgba(255, 220, 220, 0.14),
              0px 1px 10px 0px rgba(255, 220, 220, 0.12) !important;
}

.nowpage-box,
body.darktheme .todotabs > .active,
body.darktheme .partner-half-tab {
  box-shadow: 0px 1px 8px 0px rgba(255, 220, 220, 0.2),
              0px 3px 4px 0px rgba(255, 220, 220, 0.14),
              0px 3px 3px -2px rgba(255, 220, 220, 0.12);
}

body.darktheme .navbar-default {
  background-color: #141327;
}

body.darktheme .footer .navbar-nav > li > a {
  color: #968a9c;
}

body.darktheme .footer .navbar-nav > li > a:hover,
body.darktheme .footer .navbar-nav > li > a:focus {
    color: #8f26d9;
}

body.darktheme .chatroom {
  background: black;
  box-shadow: 0 3px 3px rgba(255,220,220,0.5);
  border-top: 1px solid #212;
}

body.darktheme md-content {
  color: rgba(255,255,255,0.87);
  background-color: black;
}

body.darktheme .hidden-dm {
  display: none !important;
}

body:not(.darktheme) .visible-dm {
  display: none !important;
}

body.darktheme .form-control, body.darktheme .select2-search input[type="text"] {
  border-color: #272625;
}

body:not(.darktheme) .visible-dm {
  display: none !important;
}

.navbar-fixed-top {
  transition: top 200ms ease-in-out;
}
body.distraction-free .navbar-fixed-top {
  top: -60px;
}

body.distraction-free .navbar:not(.navbar-fixed-top),
/*body.distraction-free .timer-debug,*/
body.distraction-free .feedback-box,
/*body.distraction-free .intercom-launcher,*/
body.distraction-free .hide-when-distraction-free:not(.donthide-xs) {
  display: none;
}

body.distraction-free .intercom-dfosxs,
body.distraction-free .intercom-lightweight-app-launcher {
  bottom: -25px !important;
  transition: bottom 167ms ease-in-out, transform 167ms cubic-bezier(0.33, 0.00, 0.00, 1.00);
}
body.distraction-free .intercom-dfosxs:hover,
body.distraction-free .intercom-lightweight-app-launcher:hover {
  bottom: 20px !important;
}

body:not(.distraction-free) .show-when-distraction-free {
  display: none;
}

button.special-navbar-toggle .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background-color: #888;
}

button.special-navbar-toggle .icon-bar + .icon-bar {
  margin-top: 4px;
}

body.darktheme hr {
  border-top: 1px solid #111;
}

body.darktheme .tintbg {
  background: #110817;
}
body.darktheme .tintfg {
  color: #c9c;
}
body.darktheme .greybg {
  background: #111011;
}
body.darktheme .row-av-areas .dark-col {
  background: #0b0a0b;
}
body.darktheme .row-av-areas.greybg .dark-col {
  background: #222122;
}
body.darktheme .row-av-areas {
  border-top-color: #666;
}
.darktheme .topbox {
  background: black;
  box-shadow: 0 1px 3px rgba(51,34,68,0.5);
}
.darktheme .row-entry {
  background: black;
}
.darktheme h2.event,
.darktheme .milestone-banner-state {
  color: black !important;
}

.darktheme .outliney-box {
  color: #664f70;
}

.darktheme .view-partner-page-link {
  background-color: black;
}
.darktheme .view-partner-page-link:hover {
  background-color: #664f70;
  color: #cbd;
}

.darktheme .goal-name,
.darktheme .goal-box .oneliner {
  color: black;
}

.darktheme .table-striped > tbody > tr:nth-of-type(odd) {
  background-color: #0a0a0a;
}

.darktheme .table-bordered,
.darktheme .table-bordered > thead > tr > th,
.darktheme .table-bordered > tbody > tr > th,
.darktheme .table-bordered > tfoot > tr > th,
.darktheme .table-bordered > thead > tr > td,
.darktheme .table-bordered > tbody > tr > td,
.darktheme .table-bordered > tfoot > tr > td {
  border: 1px solid #222;
}

.darktheme .content-section-hued {
  background-color: #110817;
  border-top: 1px solid #221033;
  border-bottom: 1px solid #221033;
}

.darktheme .content-section-green {
  background: #132
/*  256e39*/
}

.darktheme .testimonial-box {
  background: #102;
}

/*
body.distraction-free .intercom-launcher.intercom-launcher-with-avatar {
  display: block;
}*/

body.modal-open #intercom-launcher {
  display: none;
}

.ismobile #intercom-launcher {
  right: auto;
  left: 20px;
}

#intercom-container .intercom-launcher-button {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.75) !important;
  transition: all 80ms !important;
  top: 0px;
}

#intercom-container .intercom-launcher-button:hover {
  /*top: -12px;*/
  right: -4px;
  box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.75);
  width: 56px;
  height: 56px;
  transition: all 50ms; /* ease-in-out;*/
}

#intercom-container .intercom-sheet {
  box-shadow: 0 3px 5px 1px black;
}

#intercom-conversation {
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 58%,rgba(255,255,255,1) 100%); /* W3C */
}

#intercom-container.intercom-acquire .intercom-launcher-button {
  background-color: #2ecc71;
}

#intercom-container.intercom-acquire .intercom-launcher-button:hover {
  background-color: #1BB55C;
}

@media (min-width: 768px) {
  body.distraction-free .hide-when-distraction-free.donthide-xs {
    display: none;
  }
}

body.distraction-free #loading-bar .bar {
  top: 0px;
}

body.distraction-free #loading-bar-spinner {
  top: 10px;
}

body.distraction-free .container-timer {
  top: 5px;
}

/*///// APPS ///// WORKFLOWY /////*/

.omg-new {
  display: inline-block;
  background-color: #0c0;
  color: white;
  border-radius: 0.6em;
  padding: 0.2em 0.3em 0.15em;
  font-weight: 300;
}

.container-workflowy {
  /*border: 5px solid #1B69A1;*/
  /*box-shadow: rgba();*/
  background: #C4E2F4;
  margin-top: 10px;
  margin-bottom: 10px;
}

.wf-box {
  background: linear-gradient(135deg, #58a4db, #a8dbf7);
  /*background: ;*/
  box-shadow: 0 3px 3px rgba(0,14,20, 0.5);
}

.wf-video {
  float:left;
  margin: 0px 0px 15px;
}

.wf-ss {
  border: 1px solid #012;
  float: right;
  width: auto;
  max-width: 100%;
}

.wf-list li {
  font-size: 16px;
  padding: 3px 8px;
  border-radius: 4px;
  position: relative;
}

.wf-list li.selected {
  background: #fff;
}

.wf-list li.has-children::before {
  width: 20px;
  height: 20px;
  border-radius: 10px;
  border: 7px solid #ccc;
  background: #333;
  content: "";
  position: absolute;
  left: -26px;
}

.wf-breadcrumbs {
  margin: 3px;
}

.wf-crumb {
  display: inline-block;
  background: #fff;
  font-size: 16px;
  border-radius: 4px;
  padding: 3px 8px;
  box-shadow: 0 1px 3px rgba(30, 100, 160);
  margin: 3px;
}

.wf-crumb:hover {
  text-decoration: none;
  position: relative;
  /*top: -2px;*/
  box-shadow: 0 3px 5px rgba(30, 100, 160);
  cursor: pointer;
}

.wf-item {
  font-size: 16px;
  font-weight: bold;
}

.wf-tag {
  border-radius: 3px;
  background: #def;
  border: none;
  color: rgb(60, 100, 140);
  text-decoration: underline;
  display: inline-block;
  padding: 0 3px;
}

.wf-prefix {
  /*background: #edf;*/
  color: rgb(100,30,160);
  /*border-radius: 3px;*/
  display: inline-block;
  padding: 0 3px;
}

.wf-demo-list {
  display: inline-block;
  padding: 5px 10px 5px 30px;
  margin-left: 50px;
  font-size: 16px;
}

.wf-demo-list li ul {
  padding-left: 40px;
  margin-left: -15px;
  border-left: 1px solid #ddd;
  list-style-type: disc;
  padding-bottom: 3px;
}

.wf-demo-list-red {
  color: #900;
  border: 1px solid #c99;
  background: #ffeeee; /* Old browsers */
  background: linear-gradient(135deg, #ffeeee 49%,#cc9999 50%,#ffeeee 51%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

.wf-demo-list .wf-mirror-node {
  list-style-type: none;
  position: relative;
}
.wf-demo-list .wf-mirror-node:before {
  content: "\25C6";
  font-size: 80%;
  /*content: "\2605";*/
  position: absolute;
  left: -19px;
  top: 2px;
}
/*
.wf-demo-list .wf-mirror-node:after {
  content: '';
  height: .4em;
  width: .4em;
  background: #D2153A;
  display: block;
  position: absolute;
  transform: rotate(45deg);
  top: .25em;
  left: 0;
}*/

/*
a.wf-link {
  background: #C4E2F4;
  border: 1px solid transparent;
  padding: 0 6px;
  text-decoration: none;
  color: #1B69A1;
  font-weight: normal;
  font-variant: small-caps;
  border-radius: 12px;
  height: 20px;
  display: inline-block;
  line-height: 14px;
  position: relative;
  top: -2px;
}*/


/* wf-shaded-logo-bottom: #1d6aa3 */
/* wf-shaded-logo-middle: #4592c9 */
/* wf-shaded-logo-top:    #9ad4f5 */
/* wf-shaded-logo-bars:   #b8d5ea */

.rm-input-fulltext {
  opacity: 0.5;
  color: white;
  background-color: #dad4d5; 
  background-image: linear-gradient(to bottom,
    #dad4d5,
    #959299,
    #6d6a63);
  /*background-image: linear-gradient(to bottom,
    #4591c8 0%, 
    #005895 16%,
    #4591c8 33%,
    #005895 50%,
    #4591c8 67%,
    #005895 83%,
    #4591c8 100%);*/
  border-radius: 5px;
}

.wf-input-fulltext {
  opacity: 0.5;
  color: white;
  background-color: #58a4db; 
  background-image: linear-gradient(to bottom,
    #9ad4f5,
    #4592c9,
    #1d6aa3);
  /*background-image: linear-gradient(to bottom,
    #4591c8 0%, 
    #005895 16%,
    #4591c8 33%,
    #005895 50%,
    #4591c8 67%,
    #005895 83%,
    #4591c8 100%);*/
  border-radius: 5px;
}

.darktheme .rm-input-fulltext,
.darktheme .wf-input-fulltext {
  color: black;
}
/*
.pts-input-missing {
  border: 1px dashed;
  border-radius: 5px/10px;
  display: inline-block;
  margin: 0 -1px;
  padding: 0 1px;
}
.pts-input-missing:before {
  content: '=';
}*/

.pts-input {
  color: white;
  border-radius: 4px/8px;
  display: inline-block;
  margin: 0 -1px;
  padding: 0 1px;
}

.darktheme .pts-input {
  color: black;
}

a.app-link,
a.wf-link {
  color: transparent;
  background-size: 16px 16px;
  width: 16px;
  height: 16px;
  line-height: 16px;
  opacity: 0.5;
  float: right;
  margin-right: 30px;
  margin-top: 2px;
  font-size: 0;
  overflow: hidden;
}

a.wf-link {
  background-image: url(/img/apps/workflowy_icon_rounded_corners_160x160.png);
}

a.wf-link.wf-link-repeat {
  background-image: url(/img/apps/workflowy_repeating.png);
}

a.roam-link {
  background-image: url(/img/apps/roam/roam_logo.png);
}

a.things-link {
  background-image: url(/img/apps/things_macappicon.png);
}

a.app-link:hover,
a.wf-link:hover {
  opacity: 1;
}

@media print {
  a.wf-link,
  a.app-link {
    display: none;
  }
}

.ismobile a.wf-link,
.ismobile a.app-link {
  position: relative;
  top: 3px;
}

/*///// APPS ///// BEEMINDER /////*/

.beem-bygoal-select {
  /*padding: 5px;*/
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  padding: 2px 2px 2px 5px;
  margin: 3px;
  /*margin: 3px 3px 3px 10px;*/
  color: white;
  font-family: 'Montserrat Alternates', 'Montserrat', sans-serif;
  clear: both;
  overflow: auto;
  font-size: 16px;
  line-height: 34px;
  /*font-weight: bold;*/
  position: relative;
  overflow: visible;
}

/*.beem-bygoal-select:before {
  left: 5px;
  border-width: 19px 0 19px 19px;
  content: '';
  width: 0px;
  height: 0px;
  line-height: 0;
  font-size: 0;
  border-style: solid;
  position: absolute;
}*/

.beemstatus-container {
  margin-bottom: 20px;
}

.beemstatus-box {
  /*border: 5px solid #f1c40f;*/
  background: rgba(255,238,91,0.5);
  margin-top: 4px;
  box-shadow: 0 3px 3px rgba(17,17,0, 0.5);
  overflow: auto;
  min-height: 88px;
  position: relative;
  min-height: 152px;
}

body.distraction-free .container:not(.beemstatus-container-panic.beemstatus-updatedrecently):not(.beemstatus-container-forceshow) > .beemstatus-box {
  display: none;
}

.beemstatus-alt {
  display: none;
}

.beemstatus-alt-loading-text {
  font-weight: bold;
  font-family: 'Montserrat';
  color: #ffcb08;
  opacity: 0.3;
}

a.beemstatus-alt-link {
  opacity: 0.3;
  transition: opacity 100ms;
}

a.beemstatus-alt-link:hover {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  opacity: 0.5;
}

a.beemstatus-alt-link img {
  width: 50px;
  height: 50px;
}

body.distraction-free .container.beemstatus-loading .beemstatus-box {
  display: none;
}

body.distraction-free .container.beemstatus-loading .beemstatus-alt, 
body.distraction-free .container:not(.beemstatus-container-panic):not(.beemstatus-container-forceshow) > .beemstatus-alt {
  display: inline-block;
  left: 100px;
}

body.distraction-free.ismobile .beemstatus-alt-link {
  position: relative;
  left: 64px;
  top: -8px;
}

.darktheme .beemstatus-box {
  background: rgba(102,92,51,0.5);
  color: #fe5;
}

.beemstatus-refresh {
  position: absolute;
  left: 10px;
  top: 100px;
  z-index: 500;
}
.beemstatus-refresh-shortlist {
  left: 60px;
  top: 60px;
}

.beemstatus-lastfetched {
  display: inline-block;
  color: #C5A833;
  padding: 10px;
}

@media(max-width: 992px) {
  .beemstatus-refresh {
    left: auto;
    right: 22px;
    top: 22px
  }
  .beemstatus-lastfetched {
    float: left;
  }
}

.beemstatus-box .beemlogo {
  width:287px;
  height:78px;
  float:left;
  margin-left: -10px;
  margin-top: 7px;
  opacity: 0.4;
  transition: all 100ms ease-out;
}

.beemstatus-box a:hover .beemlogo {
  opacity: 0.6;
  margin-left: 4px;
}

.beemstatus-box a {
  text-decoration: none;
  color: inherit;
}
.beemstatus-box a:hover {
  text-decoration: underline;
  color: inherit;
}

.beem-show-more {
  text-align: center;
  color: #f1c40f;
  margin: 2px -15px -8px;
  padding: 4px 0;
  transition: all 100ms;
}

.beem-show-more:hover {
  cursor: pointer;
  background-color: rgba(241, 196, 15, 0.40);
}

.darktheme .beem-show-more:hover {
  background-color: rgba(241, 196, 15, 0.40);
}

.inline-fake-glyphicon-from-image {
  width: 1em;
  position: relative;
  top: -0.15em;
}

.inline-fake-glyphicon-from-text {
  font-weight: bold;
  display: inline-block;
}

.beem-show-more .glyphicon-chevron-up,
.beem-show-more .glyphicon-chevron-down {
  position: relative;
  transition: all 100ms;
  top: 2px;
}

.beem-show-more:hover .glyphicon-chevron-down {
  top: 4px;
}

.beem-show-more:hover .glyphicon-chevron-up {
  top: 0px;
}

.beem-quick-add {
  background: #f1c40f;
  margin-top: 8px;
  padding: 4px 4px 8px;
}

.darktheme .beem-quick-add {
  background: rgba(255, 204, 0, 0.35);
}

.beem-quick-add h2 {
  color: rgba(255,238,91,0.3);
  font-size: 50px;
  margin: 0 -15px 0;
  display: inline-block;
  line-height: 20px;
}
.beem-quick-add:hover,
.beem-quick-add h2:hover {
  cursor: default;
}
.darktheme .beem-quick-add h2{
  color: rgba(35, 30, 8, 0.3);
}
.beem-quick-add button:disabled {
  background-color: #443C44;
  opacity: 0.2;
}

.beem-quick-add-title {
  text-align: right;
  overflow: hidden;
  /*padding: 16px 12px 0;*/
  padding: 16px 12px 8px;
  margin-bottom: -8px;
}

.beem-quick-add .form-control {
  width: 280px;
  display: inline-block;
}

.beem-quick-add .form-control.beem-quick-add-comment {
  width: 130px;
  padding: 8px 4px;
}

@media(max-width: 1200px) {
  .beem-quick-add h2 {
    font-size: 40px;
  }
  .beem-quick-add .form-control {
    width: 230px;
  }
}

@media(max-width: 992px) {
  .beem-quick-add .form-control {
    width: 230px;
  }

  .beem-quick-add-title {
    text-align: center;
  }
}

@media(max-width: 700px) {
  .beem-quick-add .form-control {
    width: 200px;
  }

  .beem-quick-add .form-control.beem-quick-add-comment {
    width: 130px;
  }
}

@media(max-width: 768px) {
  .beem-quick-add .form-control {
    width: 100%;
    margin: 4px 2px;
  }
  .beem-quick-add .form-control.beem-quick-add-comment {
    width: 200px;
  }
  .beem-quick-add .btn {
    margin: 4px 2px;
  }
}
@media(max-width: 600px) {
  .beem-quick-add .form-control.beem-quick-add-comment {
    width: 120px;
  }
}
@media(max-width: 500px) {
  .beem-quick-add .form-control.beem-quick-add-comment {
    width: 100px;
  }
}

.beem-quick-add input.ng-invalid {
  color: #c00;
}

.beem-quick-add input.ng-invalid.ng-pristine {
  color: inherit;
  border-color: #bdc3c7;
}

.darktheme .beem-quick-add input.ng-invalid.ng-pristine {
  border-color: #272625;
  color: #dcb;
}


.beem-icon {
  background: url(/img/apps/beeminder/beeminder-icon.png);
  background-size: 100%;
  width: 12px;
  height: 12px;
  position: relative;
  display: inline-block;
}

.row.row-bm {
  border-top: 1px solid #f1c40f;
  padding: 3px;
  margin-bottom: 1px;
  /*color: white;*/
  position: relative;
  /* margin-left: 0px; */
}

.row.row-bm:first-child {
  border-top: none;
}

.row.row-bm .beem-goal-title-link {
  margin-left: 5px;
}

/*.row.row-bm::before, */
.row.row-bm .left-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  content: '';
  border-radius: 50%;
  position: absolute;
  top: 5px;
  left: 5px;
}
.row.row-bm .left-dot-clickable:hover {
  cursor: pointer;
}

.beem-goal-select-div {
  display: inline-block;
  max-width: 100%;
}

.beem-goal-red .left-dot    { background-color: #ca1212}
.beem-goal-orange .left-dot { background-color: #f89406}
.beem-goal-blue .left-dot   { background-color: #125bca}
.beem-goal-green .left-dot  { background-color: #00ad00}
.beem-goal-panic {color: #ca1212;}

.beem-box {
  background: linear-gradient(135deg, #ffcb08, #ffa);
  /*background: ;*/
  box-shadow: 0 3px 3px rgba(17,17,0, 0.5);
}
.beem-graph {
  width: 160px;
  float:left;
  margin: 10px 10px 10px 0;
}
.beem-options-box {
  background: white;
  border: 1px solid black;
  float: right;
  width: auto;
  margin: 0 15px 15px;
}
.beem-options {
  font-size: 18px;
  margin-right: 15px;
}
@media (min-width: 1200px) {
  .beem-options-box {
    position: relative;
    bottom: 60px;
    right: 20px;
  }
}
@media (max-width: 1200px) {
  .beem-options-box {
    float: none;
    width: 400px;
    max-width: 100%;
    margin: 0 auto 15px;
  }
}
@media (max-width: 992px) and (min-width: 768px) {
  .beem-options {
    font-size: 16px;
  }
}
@media (max-width: 768px) {
  .beem-options {
    font-size: 20px;
  }
}/*
@media (min-width: 1200px) {
  .beem-graph {
    width: 240px;
    position: absolute;
    top: 40px;
    right: 40px;
  }
}*/

.container-beeminder {
  margin-top: 4px;
  border: 5px solid #f1c40f;
  background: #FFFFB2;
}

.beemstatus-container .form-control,
#newBeemGoalModal .form-control {
  border-color: #f1c40f99;
}
.beemstatus-container .form-control:focus,
#newBeemGoalModal .form-control:focus {
  border-color: #f1c40f;
}

.bg-beeminder {background: #FFFFB2;}

.container-beeminder h1 {
  color: #540;
}

.container-beeminder hr {
  background: #F5BD27;
  height: 1px;
  border: 0;
}

.darktheme .container-beeminder,
.darktheme .bg-beeminder {
  background: #111105;
}
.darktheme .container-beeminder h1,
.darktheme .container-beeminder h2,
.darktheme .container-beeminder h3 {
  color: #f1c40f;
}
.darktheme .container-beeminder .help-block {
  color: #873;
}

.container-beeminder select {
  font-family: 'Open Sans', Helvetica, sans-serif;
  font-weight: bold;
}

.beem-bygoal-select select {
  height: 34px;
  padding: 2px;
}

.beem-bygoal-select div {
  width: 50%;
  /* float: right; */
  height: 28px;
  padding: 2px;
  top: 0;
  right: 0;
  position: absolute;
}

.goal-option-any {
  color: #ccc;
}

.beem-select-missing {
  border-color: red;
  color: #c33;
  font-style: italic;
}

.beem-select-missing option {
  color: black;
  font-style: normal;
}

.beem-select-missing option.beem-option-missing,
.beem-option-missing {
  color: #c00;
}

.beem-select-missing option.beem-option-new,
.beem-option-new {
  color: #0c0;
}

.form-control.form-control-text {
  background-color: transparent !important;
  border-color: transparent !important;
}

.form-flex {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.form-flex div {
  display: inline-block;
}
.form-flex input {
  flex-grow: 1;
  width: auto;
}

.container-webhooks {
  border: 5px solid #C73A63;
  background: #ffdeea;
  margin-top: 4px;
}
.content-section-webhooks {
  background: #ffdeea;
}

.darktheme .content-section-webhooks,
.darktheme .container-webhooks {
  background: #18040a;
}
.darktheme .container-webhooks h1,
.darktheme .container-webhooks h2,
.darktheme .container-webhooks h3 {
  color: #C73A63;
}
.darktheme .container-webhooks .help-block {
  color: #935;
}

.webhook-trigger-description {
  width: auto;
  display: inline-block;
  color: white;
  font-size: 18px;
  padding: 6px
}
@media (max-width: 768px) {
  .webhook-trigger-description  {
    text-align: center;
  }
  .webhook-trigger-description .webhook-trigger-description-text {
    display: block;
  }
  .form-flex.form-normal-xs {
    display: block;
  }
  .form-flex.form-normal-xs > div,
  .form-flex.form-normal-xs > input {
    width: 100%;
  }
}

input.form-control.webhook-input,
input.webhook-input {
  background: #fff url('/img/apps/webhook_logo.png') no-repeat;
  background-size: 24px;
  background-position: 6px center;
  padding-left: 36px;
                /*<img src="" style='width:20px; height:20px; position: relative; left: -2px'>*/

}

.arb-thing {
  /*background-color: #C73A63;*/
  background-color: #555;
  padding: 4px 0px;
  position: relative;
  border-radius: 8px;
  margin-bottom: 8px;
  height: 87px;
  transition: all 100ms ease-in-out;
  clear: both;
}

.arb-bottom-component {
  margin-top: 3px;
  position: relative;
}
.arb-multiplier-component {
  display: inline-block;
}

.arb-thing.arb-thing-paused > *:not(.arb-side-btn):not(.arb-thing-paused-message) {
  opacity: 0.2;
  pointer-events: none;
}

.arb-thing.arb-thing-bottom-components-unused .arb-bottom-component {
  transition: opacity 100ms cubic-bezier(0.99, 0.01, 0.99, 0.01);
}

@media (min-width: 768px) {
  .arb-thing.arb-thing-bottom-components-unused:not(:hover) {
    height: 45px;
  }

  .arb-thing.arb-thing-bottom-components-unused:not(:hover) .arb-bottom-component {
    opacity: 0;
    display: none;
  }
}

.arb-component-unused:not(:hover) {
  opacity: 0.3;
}

.arb-thing:hover .arb-component-unused:not(:hover) {
  opacity: 0.6;
}

.arb-thing.removed {
  opacity: 0.3;
}

.arb-thing.paused {
  background-color: rgba(128,128,128,0.5);
  opacity: 0.7;
  /*background-color: #ccc;*/
  /*background-color: rgba(255,223,0,1);*/
  /*background-image: linear-gradient();*/
}

.arb-thing-paused-message {
  color: white;
  font-size: 30px;
  font-weight: 200;
  position: absolute;
  left: 0;
  right: 0;
  top: 5px;
  width: 200px;
  text-align: center;
  margin-right: auto;
  margin-left: auto;
}

.arb-thing.arb-thing-webhook {
  padding: 4px;
  height: auto;
}

.arb-trackwhat-description {
  color: white;
  font-size: 18px;
  position: relative;
  left: 5px;
  width: 100px;
}

@media (min-width: 1200px) {
  .arb-trackwhat-description {
    top: -5px;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .arb-thing {
    height: 130px;
  }
}
@media (max-width: 637px) {
  .arb-thing {
    height: 170px;
  }
}

.arb-timer-event-new,
.arb-thing-new {
  font-size: 18px;
  height: 45px;
  text-align: center;
  padding: 10px;
  opacity: 0.5;
  color: white;
  transition: all 100ms;
}

.arb-timer-event-new:hover,
.arb-thing-new:hover {
  /*top: -3px;*/
  cursor: pointer;
  box-shadow: 0 0 3px rgba(255,255,255,0.7);
  color: white;
  background-color: #3a3;
  opacity: 0.8;
}

.arb-thing.cgid-x {
  background-color: #999;
}

.arb-timer-event .form-control,
.arb-thing .form-control {
  height: 37px;
  padding: 2px 4px;
}

select.arb-goalcode-select {
  font-weight: bold;
}
select.arb-no-goalcode {
  font-weight: normal;
  color: #999;
}

.arb-thing .tooltip {
  min-width: 200px;
}

.arb-btn {
  position: relative;
  transition: all 100ms;
  color: #999;
  opacity: 0.7;
  font-size: 26px;
  width: 26px;
  height: 26px;
  display: inline-block;
  margin-right: 1px;
}

.arb-btn:not(.active):hover {
  opacity: 1;
  cursor: pointer;
}
.arb-btn.active {
  opacity: 1;
}

.arb-group-timer {
  border: 1px solid black;
}
.arb-group-timer .arb-btn {
  color: rgba(128,128,128,0.5);
}
.arb-group-timer .arb-subgroup .arb-btn:not(.arb-btn-any) {
  color: rgba(0,0,0,0.5);
}
.arb-group-timer .arb-subgroup .arb-btn.active:not(.arb-btn-any) {
  color: white;
}

.arb-group-active {
  box-shadow: 0 0 1px rgba(255,255,255,0.8);
}
.arb-group-timer.arb-group-active {
  border: 1px solid white;
}

.arb-btn.arb-btn-word {
  border-radius: 20px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  min-width: 46px;
  text-align: center;
  line-height: 1.2;
  margin: 3px 1px;
}
.arb-btn.arb-btn-word span {
   font-size: 20px;
   position: relative;
   top: -5px;
}

.arb-btn.arb-btn-word.active {
  background-color: white;
  color: black;
}
.arb-btn.arb-btn-word.arb-btn-change {
  min-width: 80px;
}

.arb-btn.arb-btn-pomo {
  left: -1px;
  top: -1px;
}

.arb-btn-img img {
  transition: all 100ms;
  width: 24px;
  height: 24px;
  position: absolute;
  top: 4px;
  left: 4px;
}

.big-number-sign, .big-sum-sign {
  font-weight: bold;
  display: inline-block;
  width: 24px;
  text-align: center;
}

.arb-btn-img .show-active {
  opacity: 0;
}
.arb-btn-img.active .show-active {
  opacity: 1;
}
.arb-btn-img .hide-active {
  opacity: 0.6;
}
.arb-btn-img.active .hide-active {
  opacity: 0;
}

.arb-btn.active             {color: #fff;}
.arb-btn-done.active        {color: #c6f;}
.arb-btn-time.active        {color: #f90;}
.arb-btn-exists.active      {color: #f39;}
.arb-btn-number.active      {color: #ff0;}
.arb-btn-sum.active         {color: #3c0;}
.arb-btn-minutes.active     {color: #6f4;}
.arb-btn-star.active        {color: #0ad;}
.arb-btn-stake.active       {color: #ecbb51;}
.arb-btn-regex.active       {color: #f90;}
.arb-btn-minus              {color: #ccc;}
.arb-btn-minus.active       {color: #f00;}
.arb-btn-hourglass.active   {color: #fb3;}

.arb-btn-exists {
  width: 17px;
}

.arb-btn-exists > span {
  font-size: 82%;
  position: relative;
  top: -2px;
}

.arb-btn-number {
  margin-right: -4px;
}

.arb-btn-minus {
  font-size: 45px;
  line-height: 32px;
}
.arb-groupoptions {
  display: inline-block;
}

.arb-group {
  background-color: #000;
  padding: 2px 5px;
  /* margin: 0 3px; */
  display: inline-block;
  border-radius: 4px;
  position: relative;
  height: 37px;
}
.arb-group-withsub {
  padding: 4px 5px;
  height: 46px;
}

.arb-group-clear {
  background: none;
}

.arb-group-big {
  width: 220px;
  /*width: 135px;*/
  /* padding-top: 0; */
}

.arb-subgroup {
  display: inline-block;
  padding: 2px 5px;
  border-radius: 4px;
  margin-left: 1px;
}
/*
@media (min-width: 993px) {
  .arb-group-big {
    height: 57px;
    width: 245px;
    margin-top: 11px;
  }
  .arb-group-big .arb-btn {
    font-size: 40px;
    width: 40px;
    height: 40px;
    margin-right: 2px;
  }
  .arb-group-big .arb-btn-pomo img {
    transition: all 100ms;
    width: 36px;
    height: 36px;
    position: absolute;
    top: 6px;
    left: 6px;
  }
}*/

.arb-minus-group {
  position: absolute;
  top: 0;
  left: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.arb-regex-group {
  position: absolute;
  top: 0;
  right: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.arb-multiplier {
  display: inline-block;
  width: 70px;
  text-align: center;
  padding-left: 8px;
}

.btn-trash-arb {
  display: inline-block;
  position: absolute;
  top: 9px;
  right: -13px;
}

.btn-pause-arb {
  display: inline-block;
  position: absolute;
  top: 50px;
  right: -13px;
}

.arb-thing.arb-thing-bottom-components-unused:not(:hover) .btn-pause-arb {
  display: none;
}

.arb-btns-topright {
  display: inline-block;
  position: absolute;
  top: 6px;
  right: 6px;
}

.arb-btns-topright .btn {
  font-size: 16px;
  padding: 5px 8px;
  margin-left: 3px;
}

.btn-trash-arb .btn,
.btn-pause-arb .btn {
  padding: 6px;
}

.ui-resizable { position: relative;}
.ui-resizable-handle { position: absolute;font-size: 0.1px; display: block; }
.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }
.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }
.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}

@media print {
  .container-today {
    padding-top: 40px;
  }

  .item-wrapper.selected {
    background: none;
    border-left: 0;
    margin-left: 0;
  }

  .todo-tab-row, .today-below-btns, .container-today .btn, .timerBox, .nevermind-x, .nevermind-arrow, #remainingcount2 {
    display: none;
  }

  .todotabs.tab-content {
    width: 100% !important;
  }

  .goal-privacy, .container-goalspage .btn,
  .partner-half-tab, .today-partner-side-tall-button,
  .beemstatus-container, .beemstatus-box, .beemstatus-alt-img,
   #todoform, .timerBox, .timerDetectBox {
    display:none !important;
  }

  .goalsbar-outer {
    position: absolute;
    top: 10px;
  }

  .goalsbar-main {
    color: #fff !important; /* to combat bootstrap's print css */
  }

  .htmlarea {
    background: #fff !important;
  }
/*
  .htmlarea h4 {
    margin-bottom: 144px;
  }*/

  .reviewpage .pager {
    display: none;
  }

  body, .allexceptfooter,
  body.distraction-free,
  body.darktheme,
  body.distraction-free.darktheme,
  body.darktheme .todotabs .tab-pane.intentions {
    background: none !important;
    background-image: none !important;
  }

  .countbox.e span, .event, .event-subtext,
  .event .glyphicon, .event .glyphicon:before {
    color: #fff !important;
  }

  .weekly-review-item *,
  .weekly-review-item *:after,
  .enoughbar .glyphicon, .enoughbar .glyphicon:before {
    color: inherit !important;
  }
  /*.countbox:not(.header) {*/
    /*color: ;*/
  /*}*/

  .print-bg-transparent,
  .reviewpage .ccwbg.print-bg-transparent {
    background-color: transparent !important;
  }
}

/*
  extras b/c FLAT-UI
*/
a:hover,
a:hover > em.hover-underline,
a:hover > span.hover-underline,
a:hover > strong.hover-underline {
  text-decoration: underline;
}

a.btn {
  text-decoration: none;
}

.navbar {
  border-radius: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.75);
}

.navbar-nav > li > a {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
}

@media (min-width: 768px) {
  .navbar-collapse .navbar-nav.navbar-right:last-child > .dropdown:last-child > a {
     border-radius: 0;
  }
}
.navbar-nav > li > .dropdown-menu {
  margin-top: 0;
  border-radius: 0;
  box-shadow: 0 1px 3px black;
}

.btn-default-til-hover:not(:active):not(:hover):not(:focus) {
  background: #aaa8ac;
}

.btn-default:not(.btn-border):active,
.btn-default:not(.btn-border).active,
.btn-default:not(.btn-border):active:focus,
.btn-default:not(.btn-border).active:focus,
.open > .dropdown-toggle.btn-default {
  background: #aaa8ac;
  border-color: #838D93;
  color: black;
}
/*
.btn-default:active, .btn-default.active:hover {
  top: 2px;
  box-shadow: none;
}*/

/* TEMPORARY */
.milestone-action-confirm-button, .review-questions-confirm-button {
  box-shadow: none !important;
}


.btn-default {background-color: #ccc}
.icon-info {color: #3498db}
.icon-success {color: #3ebb61}
.icon-warning {color: #a38302}
.icon-danger {color: #e74c3c}
.icon-primary {color: #8f26d9}
.icon-purple {color: #8f26d9}
.icon-orange {color: #fe7e17}
.icon-orange {color: #fe7e17}

/*
.btn-border {border: 1px solid}
.btn-border.btn-border-info {border-color: #3498db}
.btn-border.btn-border-success {border-color: #3ebb61}
.btn-border.btn-border-warning {border-color: #f1c40f}
.btn-border.btn-border-danger {border-color: #e74c3c}
.btn-border.btn-border-primary {border-color: #8f26d9}
.btn-border.btn-border-purple {border-color: #8f26d9}
.btn-border.btn-border-orange {border-color: #fe7e17}
*/

.btn-border {border-left: 5px solid; padding-left: 6px}
.btn-border.btn-border-info {border-color: #3498db}
.btn-border.btn-border-success {border-color: #3ebb61}
.btn-border.btn-border-warning {border-color: #a38302} /* #f1c40f is nice in darktheme tho */
.btn-border.btn-border-danger {border-color: #e74c3c}
.btn-border.btn-border-deepred {border-color: #c00}
.btn-border.btn-border-primary {border-color: #8f26d9}
.btn-border.btn-border-purple {border-color: #8f26d9}
.btn-border.btn-border-orange {border-color: #fe7e17}
.btn-border.btn-border-black {border-color: #443C44}
.btn-border.btn-border-wf {border-color: #58a4db}

.icon-white-svg-to-success {filter: brightness(0) saturate(100%) invert(59%) sepia(96%) saturate(310%) hue-rotate(84deg) brightness(86%) contrast(90%);}


/* MATERIAL UI FORM CONTROL */ /*
input:not([type='checkbox']):not([type='radio']).form-control, textarea.form-control {
  box-shadow: 0 1px 3px 0px rgba(0,0,0,0.65);
  position: relative;
  top: 0px;
  transition: top 50ms ease-in;
  border: none;
  border-radius: none;
}

input:not([type='checkbox']):not([type='radio']).form-control:focus, textarea.form-control:focus {
  box-shadow: 0 3px 5px 1px rgba(0,0,0,0.65);
  top: -2px;
}
*/

.alert-primary {
  color: #9853C0;
  background-color: #F2E3FC;
  border-color: #E6CCFA;
}

.darktheme .alert-primary {
  background-color: #12031c;
  border-color: #1f0533;
}

.alert-primary .alert-link {
  color: #7e3ca4; /* sass darken(<main fg color>, 10) */
} /* http://ethanmuller.github.io/sass-color-function-generator-thing/ */

.label-primary {
  background-color: #BC42CA;
}


.btn-primary {
  background: #473074;
}
.btn-primary:hover {
  background: #512084;
}
.btn-primary.active:hover {
  background-color: #512074;
  border-color: #2d1240;
}

.darktheme .btn-primary {
  background-color: #dc78ef;
}
.darktheme .btn-primary:hover {
  background-color: #e28bf0;
}

.alert-default .alert-link {
  color: #777;
}

.alert-success {
  color: #3b5038;
  background-color: #dff0d8;
  border-color: #68bb24;
}

.alert-info {
  color: #334455;
  background-color: #f3faff;
  border-color: #3498db;
}

.alert-warning {
  color: #505033;
  background-color: #fcfcf3;
  border-color: #bbbb34;
}

.alert-danger {
  color: #533b3b;
  background-color: #f2dede;
  border-color: #a94442;
}

.alert-primary {
  color: #443355;
  background-color: #faf3ff;
  border-color: #9834db;
}

.alert-subtle {
  color: #546;
  background-color: #EDEAF2;
  border-color: #DCE;
}

.alert-subtle .alert-link {
  color: #776688;
/*  color: #77707e;*/
}

.darktheme .alert-subtle {
  color: #bbb9bf;
  background-color: #131016;
  border-color: #26202b;
  box-shadow: 0 2px 3px #141414;
}

.darktheme .alert-default {
  color: #bbb;
  background-color: #111;
  border-color: #222;
  box-shadow: 0 2px 3px #141414;
}

.darktheme .alert-success {
  background-color: #172810;
  border-color: #18250e;
  box-shadow: 0 2px 3px #11220a;
}

.darktheme .alert-info {
  background-color: #081c26;
  border-color: #0e3a43;
  box-shadow: 0 2px 3px #001428;
}

.darktheme .alert-warning {
  background-color: #262003;
  border-color: #332405;
  box-shadow: 0 2px 3px #201400;
  color: #fcf8e3;
}

.darktheme .alert-danger {
  background-color: #210d0d;
  border-color: #331419;
  box-shadow: 0 2px 3px #380a00;
}


.darktheme code:not(.blocklevel), 
.darktheme code.blocklevel pre,
.darktheme pre,
.darktheme textarea.blocklevel-code {
  background: #111;
  color: #6d6;
}

.darktheme .demo-tiles .tile {
  background: #111;
  color: #ccc;
}

.darktheme .demo-tiles .tile.bg-lurple {
  background: #213;
}

.label-default {
  background-color: #AAA;
}

.form-control[disabled] {
  color: #687474;
}

.navbar-inverse {
  background-color: #1a1825
}

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
  background-color: #2a2352;
  box-shadow: inset 3px 0 3px #96c2,  inset -3px 0 3px #96c2;
  color: white;
}

.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
  background-color: #3a3352;
  box-shadow: inset 3px 0 3px #96c3,  inset -3px 0 3px #96c3;
}

.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus {
  background-color: #2a2352;
  box-shadow: inset 3px 0 3px #96c2,  inset -3px 0 3px #96c2;
}


.navbar-inverse .navbar-nav > .open > .dropdown-menu > li > a {
  border-radius: 0;
  margin: 0 -4px;
}
.navbar-inverse .navbar-nav > .open > .dropdown-menu > li > a:hover,
.navbar-inverse .navbar-nav > .open > .dropdown-menu > li > a:focus {
  background-color: #3a3352;
  box-shadow: inset 3px 0 3px #96c3,  inset -3px 0 3px #96c3;
}

.navbar-toggle {
  height: auto;
  line-height: 1;
}

.navbar-toggle .icon-bar {
   display: block;
}

.ismobile .hidden-mobile {
  display: none;
}

.modal-backdrop + .modal-backdrop,
.modal-backdrop + * + .modal-backdrop,
.modal-backdrop + * + * + .modal-backdrop,
.modal-backdrop + * + * + * + .modal-backdrop,
.modal-backdrop + * + * + * + * + .modal-backdrop {
  z-index: 1038;
}

@media (min-width: 768px) {
  .modal-dialog.modal-dialog-wide {
    width: 90%;
    max-width: 800px;
  }
}


.modal.modal-dark .modal-body {
  background: #D9C6E6;
}
.modal.modal-dark .modal-header {
  color: white;
}

.modal.modal-dark .modal-header,
.modal.modal-dark .modal-footer {
  background: #3E1D54;
}

.darktheme .modal.modal-dark .modal-body {
  background: #2D1030;
}


.modal.modal-blue .modal-body {
  background: #e2f8ff;
}
/* .modal.modal-blue .modal-header {
  color: white;
}

.modal.modal-blue .modal-header,
.modal.modal-blue .modal-footer {
  background: #003d5b;
}
*/
.darktheme .modal.modal-blue .modal-body {
  background: #0d1820;
}


.modal.modal-purple .modal-body {
  background: #e8b9ff;
}
.modal.modal-purple .modal-header {
  color: white;
}

.modal.modal-purple .modal-header,
.modal.modal-purple .modal-footer {
  background: #3d005b;
}

.darktheme .modal.modal-purple .modal-body {
  background: #2D1030;
}

.modal.modal-orange .modal-body {
  background: #ffe8b9;
}
.modal.modal-orange .modal-header {
  color: white;
}

.modal.modal-orange .modal-header,
.modal.modal-orange .modal-footer {
  background: #5b3d00;
}

.darktheme .modal.modal-orange .modal-body {
  background: #302D10;
}

.intention-source-holder {
  margin: 0 1px 10px;
}
/*
.intention-source-holder {
  display: flex;
  flex-direction: column;
}

.intention-source-holder .btn {
  text-align: left;
}
*/

.isource-box {
  border-radius: 6px;
  display: inline-block;
}

.isource-box.expanded {
  display: block;
  padding: 8px;
  margin-bottom: 8px;
}

.isource-box-notdones.expanded {
  background: #ffd;
  box-shadow: 0 2px 3px rgba(51,51,0,0.5);
}

.darktheme .isource-box-notdones.expanded {
  background: #220;
}

.isource-box-oppors.expanded {
  background: #fdf;
  box-shadow: 0 2px 3px rgba(51,0,51,0.5);
}

.darktheme .isource-box-oppors.expanded {
  background: #202;
}

.isource-box-pristeps.expanded {
  background: #ffe5cc;
  box-shadow: 0 2px 3px rgba(68,30,0,0.5);
}

.darktheme .isource-box-pristeps.expanded {
  background: #331700;
}

.isource-holder {
  margin-top: 5px;
}

.isource-holder .item.notdone {
  /*font-weight: bold;*/
  padding: 1px 0;
  font-size: 16px;
}
.isource-holder .item label {
  font-size: 16px;
}
/*
.isource-holder .btn-trash {
  visibility: hidden;
}

.isource-holder > div:hover .btn-trash,
.isource-holder .btn-trash.deleting {
  visibility: visible;
}
*/

.swal2-container {
  z-index: 1100;
}

.swal2-modal {
  z-index: 1200;
}

.swal2-modal .sa-button-container button {
  position: relative;
  box-shadow: 0 1px 3px rgba(0,0,0,0.75) !important;
}

.swal2-modal .sa-button-container button:focus {
  top: -2px;
  box-shadow: 0 3px 5px rgba(0,0,0,0.75) !important;
}

/* This fixes the thing where on small screens the navbar doubles in height */
/*@media (max-width: 992px) and (min-width: 768px) {
  .allexceptfooter {
    min-height: 100%;
    margin: 0 0 -52px;
    padding: 122px 0;
  }
  .container-timer {
    top: 116px;
  }
}
*/

.pacman-white-container {
  position: relative;
  padding: 5px;
  display: none;
  background: white;
  float: right;
  border-radius: 50%;
  margin-right: 5px;
}

/* */
.pacman-oldloader, .pacman-static, .pacman-placeholder {
  display: inline-block;
  vertical-align: middle;
  width: 24px;
  height: 24px;
}

.pacman-oldloader::before, .pacman-oldloader::after,
.pacman-static::before, .pacman-static::after {
  background-color: #9600FF;
  content: "";
  display: block;
  width: 100%;
  height: 50%;
  border-bottom: none;
  border-radius: 50% / 100%;
}

.pacman-static::before {
  transform: rotate(-45deg);
}

.pacman-static::before,
.pacman-oldloader::before {
  top: 0;
  transform-origin: 50% 100%;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.pacman-oldloader::before {
  animation:         chompTop 0.5s infinite;
}

.pacman-static::after {
  transform: rotate(45deg);
}

.pacman-static::after,
.pacman-oldloader::after {
  bottom: 0;
  transform-origin: 50% 0;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}

.pacman-oldloader::after {
  animation:         chompBottom 0.5s infinite;
}

@keyframes chompTop {
  0%    {transform: rotate(0);}
  50%   {transform: rotate(-45deg);}
  100%  {transform: rotate(0);}
}

@keyframes chompBottom {
  0%    {transform: rotate(0);}
  50%   {transform: rotate(45deg);}
  100%  {transform: rotate(0);}
}

@keyframes backAndForth {
  0%     {margin: 0 0px;    transform: scaleX(1);}
  49.99% {margin: 0 275px;  transform: scaleX(1);}
  50%    {margin: 0 275px;  transform: scaleX(-1);}
  99.99% {margin: 0 0px;    transform: scaleX(-1);}
  100%   {margin: 0 0px;    transform: scaleX(1);}
}

/* new droplet-based spinner */
.pacman {
  display: inline-block;
  vertical-align: middle;
  width: 24px;
  height: 24px;
}

.pacman::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #3b2c57;
  background: #614594;
  background: radial-gradient(circle, #614594 0%, #3b2c57 50%, #614594 100%);
  transform: scale(0%);
  animation: rippleOut 1.2s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94); /* quadratic  */
/*  animation: rippleOut 1s infinite cubic-bezier(0.17, 0.63, 0.36, 0.85);*/
}

.darktheme .pacman::before {
  border: 2px solid #946edb;
  background: radial-gradient(circle, #614594 0%, #946edb 50%, #614594 100%)
}

@keyframes rippleOut {
  0%    {transform: scale(0%); opacity: 1}
  100%  {transform: scale(100%); opacity: 0}
}


.loading-pill {
  font-weight: 200;
  font-size: 24px;
  background: white;
  display: inline-block;
  padding: 0px 6px 3px 12px;
  border-radius: 20px;
  margin-top: 20px;
}

.jumbo-loading .pacman,
.pacman-pacman-faded {
  width: 96px;
  height: 96px;
  opacity: 0.3;
}
/*
.pacman.pacman-faded::before,
.pacman.pacman-faded::after,
.jumbo-loading .pacman::before,
.jumbo-loading .pacman::after {
  background-color: #eee4ee;
}

.darktheme .pacman.pacman-faded::before,
.darktheme .pacman.pacman-faded::after,
.darktheme .jumbo-loading .pacman::before,
.darktheme .jumbo-loading .pacman::after  {
  background-color: #2a2352;
}
*/

.jumbo-loading .pacman-white-container {
  width: 120px;
  height: 120px;
  padding: 12px;
  float: none;
}

/* new for new drop loader  */
.jumbo-loading .pacman-white-container .pacman {
  opacity: 1;
}
/*
.jumbo-loading .pacman-white-container .pacman::before,
.jumbo-loading .pacman-white-container .pacman::after {
  background-color: #9600ff;
}
*/

.pacman-wheels {
  width: 24px;
  height: 24px;
  transform-origin: center;
  animation-duration: 5s;
  animation-name: backAndForth;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.btn-done-check-anim {
  position: relative;
}

/*.distraction-free .checkpath-container {top: 220px;}*/

@keyframes growAndRegrowNewOuter {
  0% {width: 60px; height: 50px}
  70% {width: 2400px; height: 2000px}
  75% {width: 1px; height: 1px}
  100% {width: 60px; height: 50px}
}

@keyframes growAndRegrowNew {
  0% {transform: scaleX(1) scaleY(1); opacity: 1;}
  70% {transform: scaleX(40) scaleY(40); opacity: 0;}
  75% {transform: scaleX(0.01) scaleY(0.01); opacity: 0;}
  99% {transform: scaleX(1) scaleY(1); opacity: 0;}
  100% {transform: scaleX(1) scaleY(1); opacity: 0;}
}

.done_anim_container {
  position: absolute;
  /* old way *//*
  width: 200%;
  height: 200%;
  overflow: hidden;
  top: -60%;
  left: -50%;*/
  width: 200%;
  height: 120%;
  overflow: visible;
  top: -40%;
  left: -50%;
  z-index: 2000;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

#done_anim_check {
  width: 60px;
  height: 50px;
  overflow: visible !important;
  pointer-events: none;
}
#done_anim_check path {
  opacity: 0;
  /*fill: black;*/
}
/*.darktheme #done_anim_check path {
  fill: #999;
}*/
#done_anim_check.animate {
  animation: 0.4s growAndRegrowNewOuter;
}
#done_anim_check.animate path {
  animation: 0.4s growAndRegrowNew;
}

#done_anim_check.animate_slow {
  animation: 1s growAndRegrowNewOuter;
}
#done_anim_check.animate_slow path {
  animation: 1s growAndRegrowNew;
}

/* END NEW CHECKPATH */


.visible-lg-i {
  display: inline !important;
}
.hidden-lg-i {
  display: none !important;
}

@media (max-width: 1200px) {
  .visible-lg-i {
    display: none !important;
  }
  .hidden-lg-i {
    display: inline !important;
  }
}

.visible-md-i {
  display: inline !important;
}
.hidden-md-i {
  display: none !important;
}

@media (max-width: 992px) {
  .visible-md-i {
    display: none !important;
  }
  .hidden-md-i {
    display: inline !important;
  }
}

.visible-lg-ib {
  display: inline-block !important;
}
.hidden-lg-ib {
  display: none !important;
}

@media (max-width: 1200px) {
  .visible-lg-ib {
    display: none !important;
  }
  .hidden-lg-ib {
    display: inline-block !important;
  }
}

.visible-md-ib {
  display: inline-block !important;
}
.hidden-md-ib {
  display: none !important;
}

@media (max-width: 992px) {
  .visible-md-ib {
    display: none !important;
  }
  .hidden-md-ib {
    display: inline-block !important;
  }
}

.invisible-filler-word {
  width: 80%;
  height: 1px;
}

@media (min-width: 1200px) {
  .invisible-filler-word.invisible-filler-word-lg {display: inline-block;}
}
@media (min-width: 992px) and (max-width: 1199px) {
  .invisible-filler-word.invisible-filler-word-md {display: inline-block;}
}
@media (min-width: 768px) and (max-width: 991px) {
  .invisible-filler-word.invisible-filler-word-sm {display: inline-block;}
}
@media (max-width: 767px) {
  .invisible-filler-word.invisible-filler-word-xs {display: inline-block;}
}

.hide-if-one-1 {
  display: none;
}

textarea {
  font-family: 'Open Sans','Helvetica Neue',sans-serif;
}

.hover-pointer:hover {
  cursor: pointer
}

.no-focus:focus {
  outline: none;
}

.ismobile .swal2-modal h2 {
  font-size: 27px;
}

.swal2-modal p {
  font-weight: 400;
}

.darktheme .panel {
  background: #080808;
  box-shadow: 0 1px 1px rgba(255, 255, 255, 0.05);
}

.darktheme md-tabs .md-tab {
  color: rgba(255,255,255,0.54);
}
.darktheme md-tabs .md-tab.md-active,
.darktheme md-tabs .md-tab.md-focused {
    color: rgb(80,128,192);
}

/* mdp SHADOW */
.md-whiteframe-1dp, .md-whiteframe-z1 {
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 2px 1px -1px rgba(0, 0, 0, 0.12); }

.md-whiteframe-2dp {
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 3px 1px -2px rgba(0, 0, 0, 0.12); }

.md-whiteframe-3dp {
  box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.2), 0px 3px 4px 0px rgba(0, 0, 0, 0.14), 0px 3px 3px -2px rgba(0, 0, 0, 0.12); }

.md-whiteframe-4dp, .md-whiteframe-z2 {
  box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12); }

.md-whiteframe-5dp {
  box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 5px 8px 0px rgba(0, 0, 0, 0.14), 0px 1px 14px 0px rgba(0, 0, 0, 0.12); }
/*
.md-whiteframe-6dp {
  box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12); }

.md-whiteframe-7dp, .md-whiteframe-z3 {
  box-shadow: 0px 4px 5px -2px rgba(0, 0, 0, 0.2), 0px 7px 10px 1px rgba(0, 0, 0, 0.14), 0px 2px 16px 1px rgba(0, 0, 0, 0.12); }

.md-whiteframe-8dp {
  box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12); }

.md-whiteframe-9dp {
  box-shadow: 0px 5px 6px -3px rgba(0, 0, 0, 0.2), 0px 9px 12px 1px rgba(0, 0, 0, 0.14), 0px 3px 16px 2px rgba(0, 0, 0, 0.12); }

.md-whiteframe-10dp, .md-whiteframe-z4 {
  box-shadow: 0px 6px 6px -3px rgba(0, 0, 0, 0.2), 0px 10px 14px 1px rgba(0, 0, 0, 0.14), 0px 4px 18px 3px rgba(0, 0, 0, 0.12); }

.md-whiteframe-11dp {
  box-shadow: 0px 6px 7px -4px rgba(0, 0, 0, 0.2), 0px 11px 15px 1px rgba(0, 0, 0, 0.14), 0px 4px 20px 3px rgba(0, 0, 0, 0.12); }

.md-whiteframe-12dp {
  box-shadow: 0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12); }

.md-whiteframe-13dp, .md-whiteframe-z5 {
  box-shadow: 0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 13px 19px 2px rgba(0, 0, 0, 0.14), 0px 5px 24px 4px rgba(0, 0, 0, 0.12); }

.md-whiteframe-14dp {
  box-shadow: 0px 7px 9px -4px rgba(0, 0, 0, 0.2), 0px 14px 21px 2px rgba(0, 0, 0, 0.14), 0px 5px 26px 4px rgba(0, 0, 0, 0.12); }

.md-whiteframe-15dp {
  box-shadow: 0px 8px 9px -5px rgba(0, 0, 0, 0.2), 0px 15px 22px 2px rgba(0, 0, 0, 0.14), 0px 6px 28px 5px rgba(0, 0, 0, 0.12); }

.md-whiteframe-16dp {
  box-shadow: 0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12); }

.md-whiteframe-17dp {
  box-shadow: 0px 8px 11px -5px rgba(0, 0, 0, 0.2), 0px 17px 26px 2px rgba(0, 0, 0, 0.14), 0px 6px 32px 5px rgba(0, 0, 0, 0.12); }

.md-whiteframe-18dp {
  box-shadow: 0px 9px 11px -5px rgba(0, 0, 0, 0.2), 0px 18px 28px 2px rgba(0, 0, 0, 0.14), 0px 7px 34px 6px rgba(0, 0, 0, 0.12); }

.md-whiteframe-19dp {
  box-shadow: 0px 9px 12px -6px rgba(0, 0, 0, 0.2), 0px 19px 29px 2px rgba(0, 0, 0, 0.14), 0px 7px 36px 6px rgba(0, 0, 0, 0.12); }

.md-whiteframe-20dp {
  box-shadow: 0px 10px 13px -6px rgba(0, 0, 0, 0.2), 0px 20px 31px 3px rgba(0, 0, 0, 0.14), 0px 8px 38px 7px rgba(0, 0, 0, 0.12); }

.md-whiteframe-21dp {
  box-shadow: 0px 10px 13px -6px rgba(0, 0, 0, 0.2), 0px 21px 33px 3px rgba(0, 0, 0, 0.14), 0px 8px 40px 7px rgba(0, 0, 0, 0.12); }

.md-whiteframe-22dp {
  box-shadow: 0px 10px 14px -6px rgba(0, 0, 0, 0.2), 0px 22px 35px 3px rgba(0, 0, 0, 0.14), 0px 8px 42px 7px rgba(0, 0, 0, 0.12); }

.md-whiteframe-23dp {
  box-shadow: 0px 11px 14px -7px rgba(0, 0, 0, 0.2), 0px 23px 36px 3px rgba(0, 0, 0, 0.14), 0px 9px 44px 8px rgba(0, 0, 0, 0.12); }

.md-whiteframe-24dp {
  box-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12); }
*/

.today-activity-chart {
  background: white;
  position: fixed;
  z-index: 101;
  left: 0;
  bottom: 0;
  min-width: 30px;
  min-height: 20px;
  height: auto;
  display: inline-block;
  border: 0.5px solid black;
}
.darktheme .today-activity-chart {
  background: #666;
}
.today-activity-chart-hour {
  text-align: center;
  font-family: 'Montserrat Alternates', 'Montserrat', 'Century Gothic', sans-serif;
  font-weight: 200;
  color: black;
}

table.activity-chart {font-size:  5px}
table.activity-chart td:first-child {
  text-align: right;
  padding-right: 2px;
}
table.activity-chart td.activity-chart-cell {
  width: 5px;
  height: 5px;
}
table.activity-chart a.activity-chart-date-link {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 5px;
  min-width: 3px;
  background: #9993;
}
table.activity-chart a.activity-chart-date-link:hover {
  background: #999;
}

.bold {
  font-weight: bold
}

a[data-target]:hover {
  cursor: pointer
}

 /* from convo with valentin */

.settings-toggle-buttons button:not(.active) {
  opacity: 0.6;
}

.settings-toggle-buttons button:not(.active):hover {
  opacity: 0.8;
}

@media (min-width: 992px) {
  .aligned-settings-header {
    text-align: right;
    padding-right: 6px
  }
}

.left-settings-control {
  display: block;
  font-weight: bold;
  padding: 2px;
  text-align: left;
}

.form-bold-control-labels .control-label {
  font-weight: bold;
}
.aligned-settings-control,
.today-settings-control {
  display: block;
  font-weight: bold;
  padding: 6px;
  text-align: right;
}
input[type='checkbox'].form-control,
input[type='radio'].form-control {
  width: 24px;
  height: 24px;
}
input[disabled].partner-disabled {
  cursor: default;
}

.invisiradio input[type='radio'] {
  display: none;
}


/******************** streaks ********************/

.streak-bubble {
  display: inline-block;
  font-size: 18px;
  width: 40px;
  height: 40px;
  padding: 4px 0;
  text-align: center;
  border-radius: 50%;
  background: #6661;
  border: 3px solid #6661;
  color: #000c;
  position: relative;
}
.streak-bubble-full {
  margin: 0 2px;
}
.streak-bubble-full:first-child {
  margin: 0 2px 0 0;
}

.darktheme .streak-bubble {
  color: #fffc;
}

.old-dots {
  /*background: red;*/
  width: 310px;
  margin: 0 auto 3px;
  text-align: left;
  line-height: 0;
  transform: rotate(180deg);
}
/* this rotation, combined with the .reverse() on the old-dots ng-repeat,
   makes it so the bubbles basically fill in from the bottom right, to the top left
   leaving the gap in the top left, instead of in the bottom right
   such a ridiculous hack but it actually works really fucking smoothly
 */

.dots-this-week {
  /*background: orange;*/
  text-align: right; /* opposite of .old-dots because of its flip */
  width: 310px;
  margin: 0 auto;
}

.dots-this-week .streak-bubble {
  margin: 0 2px;
}
.dots-this-week .streak-bubble:last-child {
  /*background: red !important;*/
  margin: 0 0 0 2px;
}

.streak-bubble-medium {
  border-width: 2px;
  font-size: 10px;
  width: 20px;
  height: 20px;
  margin: 1px;
  padding: 0;
}

.streak-bubble-small {
  border-width: 2px;
  font-size: 7px;
  width: 13px;
  height: 13px;
  margin: 1px;
  padding: 0;
}

.streak-bubble-tiny {
  border-width: 2px;
  font-size: 5px;
  width: 10px;
  height: 10px;
  margin: 0 0 1px 1px;
  padding: 0;
}

.streak-bubble-nano {
  border-width: 1px;
  font-size: 3px;
  width: 6px;
  height: 6px;
  margin: 0 0 1px 1px;
  padding: 0;
}

.streak-bubble-skipday {
  background: #e4ffe4;
  border-color: #0c0;
  border-style: dotted;
}

.streak-bubble.streak-bubble-skipday::before,
.streak-bubble.streak-bubble-skipday::after {
  z-index: -1;
  font-size: 120%;
  content: ' ';
  font-weight: bold;
  /*background-color: #0c0;*/
  background-color: #0bc;
  width: 0.4em;
  height: 0.2em;
  position: absolute;
  top: 40%;
}

.streak-bubble.streak-bubble-skipday:first-child::before {
  content: '';
  display: none;
}

.streak-bubble.streak-bubble-skipday::before {
  left: -0.5em;
}
.streak-bubble.streak-bubble-skipday::after {
  right: -0.5em;
}

.streak-bubble.streak-bubble-skipday.streak-bubble-nano {
  border-color: #3cd;
  /*border-color: #3d3;*/
}

.streak-bubble-complete:not(.streak-bubble-new) {
  background: #0f03;
  /*background: #cfc;*/
  border-color: #0c0;
}

.streak-bubble-skipday.streak-bubble-chill {
  background: #35acff22;
  /*background: #d4f4ff;*/
  border-color: #0bc;
}

.streak-bubble-complete.streak-bubble-chill {
  background: #00eaff45;
  /*background: #007fff44;*/ /* wrong hue */
  /*background: #bef;*/
  border-color: #0bc;
}

.streak-bubble-complete.streak-bubble-medium::before
/*, .streak-bubble-complete.streak-bubble-small::before*/
 {
  content: '\2713';
  transform: rotate(180deg);
  color: #0c0;
  font-size: 200%;
  position: absolute;
  top: .4em;
  left: 0.02em;
}
.streak-bubble-complete.streak-bubble-chill.streak-bubble-medium::before {
  color: #0bc;
}

.streak-bubble-new:not(.streak-bubble-skipday) {
  animation: new-streak-two 500ms linear;
  background: #0f03;
  border-color: #0c0;
}

@keyframes new-streak-two {
  0% {background: linear-gradient(to bottom, transparent 98%, #0c0 100%)}
  2% {background: linear-gradient(to bottom, transparent 96%, #0c0 98%)}
  4% {background: linear-gradient(to bottom, transparent 94%, #0c0 96%)}
  6% {background: linear-gradient(to bottom, transparent 92%, #0c0 94%)}
  8% {background: linear-gradient(to bottom, transparent 90%, #0c0 92%)}
  10% {background: linear-gradient(to bottom, transparent 88%, #0c0 90%)}
  12% {background: linear-gradient(to bottom, transparent 86%, #0c0 88%)}
  14% {background: linear-gradient(to bottom, transparent 84%, #0c0 86%)}
  16% {background: linear-gradient(to bottom, transparent 82%, #0c0 84%)}
  18% {background: linear-gradient(to bottom, transparent 80%, #0c0 82%)}
  20% {background: linear-gradient(to bottom, transparent 78%, #0c0 80%)}
  22% {background: linear-gradient(to bottom, transparent 76%, #0c0 78%)}
  24% {background: linear-gradient(to bottom, transparent 74%, #0c0 76%)}
  26% {background: linear-gradient(to bottom, transparent 72%, #0c0 74%)}
  28% {background: linear-gradient(to bottom, transparent 70%, #0c0 72%)}
  30% {background: linear-gradient(to bottom, transparent 68%, #0c0 70%)}
  32% {background: linear-gradient(to bottom, transparent 66%, #0c0 68%)}
  34% {background: linear-gradient(to bottom, transparent 64%, #0c0 66%)}
  36% {background: linear-gradient(to bottom, transparent 62%, #0c0 64%)}
  38% {background: linear-gradient(to bottom, transparent 60%, #0c0 62%)}
  40% {background: linear-gradient(to bottom, transparent 58%, #0c0 60%)}
  42% {background: linear-gradient(to bottom, transparent 56%, #0c0 58%)}
  44% {background: linear-gradient(to bottom, transparent 54%, #0c0 56%)}
  46% {background: linear-gradient(to bottom, transparent 52%, #0c0 54%)}
  48% {background: linear-gradient(to bottom, transparent 50%, #0c0 52%)}
  50% {background: linear-gradient(to bottom, transparent 48%, #0c0 50%)}
  52% {background: linear-gradient(to bottom, transparent 46%, #0c0 48%)}
  54% {background: linear-gradient(to bottom, transparent 44%, #0c0 46%)}
  56% {background: linear-gradient(to bottom, transparent 42%, #0c0 44%)}
  58% {background: linear-gradient(to bottom, transparent 40%, #0c0 42%)}
  60% {background: linear-gradient(to bottom, transparent 38%, #0c0 40%)}
  62% {background: linear-gradient(to bottom, transparent 36%, #0c0 38%)}
  64% {background: linear-gradient(to bottom, transparent 34%, #0c0 36%)}
  66% {background: linear-gradient(to bottom, transparent 32%, #0c0 34%)}
  68% {background: linear-gradient(to bottom, transparent 30%, #0c0 32%)}
  70% {background: linear-gradient(to bottom, transparent 28%, #0c0 30%)}
  72% {background: linear-gradient(to bottom, transparent 26%, #0c0 28%)}
  74% {background: linear-gradient(to bottom, transparent 24%, #0c0 26%)}
  76% {background: linear-gradient(to bottom, transparent 22%, #0c0 24%)}
  78% {background: linear-gradient(to bottom, transparent 20%, #0c0 22%)}
  80% {background: linear-gradient(to bottom, transparent 18%, #0c0 20%)}
  82% {background: linear-gradient(to bottom, transparent 16%, #0c0 18%)}
  84% {background: linear-gradient(to bottom, transparent 14%, #0c0 16%)}
  86% {background: linear-gradient(to bottom, transparent 12%, #0c0 14%)}
  88% {background: linear-gradient(to bottom, transparent 10%, #0c0 12%)}
  90% {background: linear-gradient(to bottom, transparent 8%, #0c0 10%)}
  92% {background: linear-gradient(to bottom, transparent 6%, #0c0 8%)}
  94% {background: linear-gradient(to bottom, transparent 4%, #0c0 6%)}
  96% {background: linear-gradient(to bottom, transparent 2%, #0c0 4%)}
  98% {background: linear-gradient(to bottom, transparent 0%, #0c0 2%)}
  /*100% {background: linear-gradient(to bottom, transparent 0%, #0c0 100%)}*/
  100% {
    background: #cfc;
    border-color: #0c0;
  }
}


/******************** end streaks ********************/

.input-group-btn .btn-info {
  color: white;
  background-color: #3498db;
  border-color: #3498db;
}

.sidebar {
  z-index: 1031; /* above everything except modals, basically */
  background: #edf;
  box-shadow: 0 0 7px 3px #2137;
  position: fixed;
  top: 0;
  right: -48%;
  bottom: 0;
  opacity: 0;
  width: 48%;
  padding: 30px 20px 10px 10px;
  overflow-y: auto;
  /*max-height: 100%;*/
  transition: all 200ms ease-in;
}

.sidebar::-webkit-scrollbar {
  width: 10px;
}

.sidebar::-webkit-scrollbar-track {
  background-color: #96c3 !important;
}

.sidebar::-webkit-scrollbar-thumb {
  background-color: #90f9 !important;
  border-radius: 4px;
}

.sidebar-shown {
  right: 0;
  opacity: 1;
}

.darktheme .sidebar hr {
  border-top: 2px solid #657 !important;
}

.darktheme .sidebar {
  background: #213;
  box-shadow: 0 0 7px 3px #edf7;
}

.sidebar .btn.btn-default.disabled,
.sidebar .btn.btn-default[disabled] {
  /*background-color: #cdc;*/
  background-color: #242;
  color: white;
}
.darktheme .sidebar .btn.btn-default.disabled,
.darktheme .sidebar .btn.btn-default[disabled] {
  background-color: #343;
}

.darktheme .blacktext-when-darktheme,
.darktheme .blacktext-when-darktheme p {
  color: black;
}

.darktheme .invert-when-darktheme {
  filter: invert(1) hue-rotate(180deg);
}

.darktheme .black-to-988c9c-when-darktheme {
  filter: invert(62%) sepia(9%) saturate(437%) hue-rotate(240deg) brightness(91%) contrast(86%);
}


.stream-sidebar {
  z-index: 1031; /* above everything except modals, basically */
  background: #edf;
  box-shadow: 0 0 7px 3px #2137;
  position: fixed;
  top: 0;
  right: -48%;
  bottom: 0;
  opacity: 0;
  width: 48%;
  padding: 30px 20px 10px 10px;
  overflow-y: auto;
  /*max-height: 100%;*/
  transition: all 200ms ease-in;
}

.stream-sidebar::-webkit-scrollbar {
  width: 10px;
}

.stream-sidebar::-webkit-scrollbar-track {
  background-color: #96c3 !important;
}

.stream-sidebar::-webkit-scrollbar-thumb {
  background-color: #90f9 !important;
  border-radius: 4px;
}

.stream-sidebar-shown {
  right: 0;
  opacity: 1;
}

.darktheme .stream-sidebar hr {
  border-top: 2px solid #657 !important;
}

.darktheme .stream-sidebar {
  background: #213;
  box-shadow: 0 0 7px 3px #edf7;
}

.stream-sidebar .btn.btn-default.disabled,
.stream-sidebar .btn.btn-default[disabled] {
  /*background-color: #cdc;*/
  background-color: #242;
  color: white;
}
.darktheme .stream-sidebar .btn.btn-default.disabled,
.darktheme .stream-sidebar .btn.btn-default[disabled] {
  background-color: #343;
}

.stream-container {
  background: white;
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 60px;
  box-shadow: 2px 2px 2px inset;
  font-size: 16px;
}

.stream-container .chat-content {
  color: #222;
}
.stream-container .chat-content li.notiz {
  padding: 4px 10px 4px 6px;
}
.stream-container .chat-content li.notiz:hover {
  background: #9991;
}

.notiz {
  position: relative;
}
.notiz-buttons {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 4px 10px;
  background: #eee;
}
.darktheme .notiz-buttons {
  background: #111;
}
.notiz-buttons span {
  opacity: 0.6;
}
.notiz-buttons span:hover {
  opacity: 1;
  cursor: pointer;
}

.notiz-shared {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 3px;
  background: #0c0;
}

/*
.stream-container .chatstamp {
  display: none;
}
*/
.darktheme .stream-container {
  background: #111;
}
.darktheme .stream-container .chat-content {
  color: #ddd;
}

.streamchat-input-box {
  position: absolute;
  padding: 10px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  display: flex;
}
.streamchat-input-command {
  color: white;
  background: black;
  padding: 2px 16px 2px 12px;
  margin-right: -4px;
  align-items: center;
  display: flex;
}

.streamchat-input-command,
.streamchat-input-box input.form-control {
  font-size: 16px;
}

/* IF UNCOMMENTING, DO SOMETHING TO ENSURE IT DOESN'T GET SHIPPED THAT WAY */
/** FOR TAKING SCREENSHOTS *


.goals-header,
.goal-box-container .goal-privacy {
  display: none;
}

.ci-container {
  width: 518px;
}

.timerBox,
.container-today-settings,
.intention-source-holder,
.today-priorities-container,
.goalsbar-togglebtn,
.dailies-container,
button[ng-click^="submitTodos"] {
  display: none;
}

.navbar {display: none;}

*[ng-hide*="hideBasicFormats"] {
  display: none;
}

textarea.plaintext-intentions,
textarea.plaintext-intentions:focus {
  box-shadow: inset 1px 2px 3px rgba(0,0,0,0.3);
  border: 1px solid #999;
  border-radius: 0;
}

/**/


.inline-goal-bar {
  /*margin: 0 0.1em 0.4em 0;*/
  display: inline-block;
  color: white !important;
  font-family: 'Montserrat Alternates', 'Montserrat', 'Century Gothic', sans-serif;
  font-weight: 600;
}

.darktheme .inline-goal-bar {
  color: black !important;
}

.inline-goal-bar:before {
  padding: 1px 5px;
}
.inline-goal-bar:after {
  padding: 1px 3px;
}

/*  ####   #####   ####  #####    #    ####    ###   #   #    
    #   #  #      #      #       # #   #   #  #   #  #   #    
    ####   ####    ###   ####    ###   ####   #      #####    
    #  #   #          #  #      #   #  #  #   #   #  #   #    
    #   #  #####  ####   #####  #   #  #   #   ###   #   #     */

li > strong.active-preview {
  /*font-weight: bold;*/
  padding: 6px 9px;
  line-height: 1.429;
}

.dropdown#researchMenu,
.navbar-inverse.navbar-research {
  background-image: linear-gradient(45deg, #375,#357) !important;
  color: #fff;
}

.navbar-inverse .navbar-nav > .dropdown#researchMenu > a .caret {
  border-top-color: white;
  border-bottom-color: white;
  opacity: 0.1;
}

.navbar-inverse .navbar-nav > .dropdown#researchMenu > a:hover .caret {
  opacity: 0.7;
}
.navbar-inverse .navbar-nav > .dropdown#researchMenu.open > a .caret {
  opacity: 1;
}

.dropdown#researchMenu.open > a {
  background-image: linear-gradient(45deg, #195,#159) !important;
}

.navbar-inverse.navbar-research .navbar-nav > li > a {
  font-weight: 300;
}

#researchMenu .dropdown-menu {
  background-image: linear-gradient(45deg, #375,#357) !important;
}

.dropdown#researchMenu > a:hover,
.dropdown#researchMenu > a:focus {
    color: white;
    background-color: #699;
}

.dropdown#researchMenu > a:hover,
.dropdown#researchMenu > a:focus,
.navbar-inverse.navbar-research .navbar-nav > li > a:hover,
.navbar-inverse.navbar-research .navbar-nav > li > a:focus {
    /*color: #8f26d9;*/
    color: #3DE;
}

.navbar-inverse.navbar-research .navbar-nav > .active > a,
.navbar-inverse.navbar-research .navbar-nav > .active > a:hover,
.navbar-inverse.navbar-research .navbar-nav > .active > a:focus {
  background: #699;
}

body.isresearchpage .allexceptfooter {
  background: linear-gradient(45deg, #bfd,#bdf);
  /*background: linear-gradient(45deg, #bdc,#bcd);*/
}
body.isresearchpage.darktheme .allexceptfooter {
  /*background: linear-gradient(45deg, #bfd,#bdf);*/
  background: linear-gradient(45deg, #132, #123);
}

@media (min-width: 768px) {
  body.isresearchpage .form-horizontal .control-label {
    padding-top: 8px;
    padding-bottom: 4px;
  }
}

body.isresearchpage .jumbo-loading {
  color: #add;
}
body.isresearchpage .jumbo-loading .pacman {
  width: 96px;
  height: 96px;
}
body.isresearchpage .jumbo-loading .pacman::before,
body.isresearchpage .jumbo-loading .pacman::after {
  background-color: #add;
}

body.isresearchpage.darktheme .jumbo-loading .pacman::before,
body.isresearchpage.darktheme .jumbo-loading .pacman::after  {
  background-color: #366;
  /*background-color: #2a2352;*/
}

.experiment-copybox {
  background: rgba(96,96,96,0.3);
  /*background: linear-gradient(45deg, rgba(96,64,128,0.3), rgba(128,64,96,0.3));*/
  padding: 15px 15px 1px;
  position: relative;
  border-radius: 8px;
  margin-bottom: 8px;
  /*color: ;*/
  clear: both;
}

.experiment-survey {
  background: linear-gradient(45deg, #573, #375);
  padding: 15px 15px;
  position: relative;
  border-radius: 8px;
  margin-bottom: 8px;
  color: #cec;
}
.experiment-survey .help-block {
  color: #bee;
  opacity: 0.8;
}

.btn-experiment-trash {
  display: inline-block;
  position: absolute;
  top: 14px;
  right: -13px;
}

.close.close-parameter {
  /*display: inline-block;*/
  position: absolute;
  left: 20px;
  top: 9px;
  z-index: 500;
}

.btn-experiment-trash .btn {
  padding: 6px;
}

.experiment-condition {
  background: linear-gradient(45deg, #375, #357);
  padding: 15px 15px;
  position: relative;
  border-radius: 8px;
  margin-bottom: 8px;
  color: #bee;
}
.experiment-condition .help-block {
  color: #bee;
  opacity: 0.8;
}

.experiment-condition-number-box {
  position: absolute;
  left: 15px;
  top: 15px;
  bottom: 0;
  /*padding-left: 5px;*/
  opacity: 0.3;
}
.experiment-condition-number {
  font-size: 144px;
  line-height: 0.8em;
}

.experiment-parameter {
  background: rgba(255,255,255,0.3);
  padding: 5px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.row-experiment {
  display: block;
  position: relative;
  top: 0;
  border-left: 5px solid #99B3CC;
  background: #E3EBF4;
  padding: 20px 20px;
  margin: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.7);
  transition: all 100ms ease-in-out;
}
.row-experiment h2 {
  margin-top: 0px;
}

.row-experiment.row-experiment-real-users {
  border-left: 5px solid #375;
  background: #c1ead8;
}
.row-experiment.row-experiment-real-users:before {
  font-weight: bold;
  color: #375;
  content: 'has real users';
  position: absolute;
  transform: rotate(-90deg);
  left: -65px;
  top: 125px;
}


.experiment-condition-name {
  background: #366;
  color: white;
  border-radius: 20px;
  padding: 3px 10px;
  margin: 3px;
  display: inline-block;
}

.experiment-condition-numbers {
  background: #699;
  /*color: #366;*/
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  padding: 3px 5px 3px 7px;
  margin: -3px 2px -3px -11px;
  display: inline-block;
}

.experiment-condition-name .experiment-condition-button {
  display: none;
}

.experiment-condition-name:hover .experiment-condition-button {
  display: inline-block;
  cursor: pointer;
}

.experiment-condition-button       {opacity: 0.5;}
.experiment-condition-button:hover {opacity: 0.9;}

.experiment-signup-url {
  font-size: 14px;
  width: 450px;
  padding: 4px;
  display: inline-block;
  height: 30px;
  margin-top: 5px;
  background: #dcb;
  border-color: #b85;
  text-align: center;
}

.experiment-btns-topright {
  display: inline-block;
  position: absolute;
  top: 6px;
  right: 6px;
}

.experiment-btns-topright .btn {
  font-size: 16px;
  padding: 5px 8px;
  margin-left: 3px;
}
select.variable-selector option {background: white;}
.darktheme select.variable-selector option {background: black;}
select.not-implemented,
select option.not-implemented {
  background: #cba;
  color: #654;
}

select.variable-selector option.var-separator {
  /*text-decoration: underline;*/
  border-top: 1px solid black;
  font-weight: bold;
}

.not-implemented-message {
  color: #c63;
  background: #321;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  clear: both;
  margin: 0 10px -10px;
  padding: 10px;
  text-align: center;
  opacity: 0.8;
}

/** END RESEARCH STUFF */

/** GAMIFY STUFF */

@media (min-width: 768px) {
  .gamify-top-stuff {
    position: fixed;
  }

  .gamify-top-spacer {
    clear: both;
    position: relative;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    visibility: hidden;
    margin-bottom: 10px;
  }
}
@media (max-width: 767px) {
  .gamify-top-spacer {
    display: none;
  }
}

/** END GAMIFY STUFF */
