body {
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
  color: #000;
  font-size: 14px;
  line-height: 1.4;
  background-color: #efeff4;
  margin: 0;
  -webkit-tap-highlight-color: transparent;
}

.chondric-viewport {
  z-index: 1;
}

.cjs-scrolling-page .chondric-viewport {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  overflow: hidden;
}

.cjs-scrolling-window .chondric-viewport {
  position: static;
}

.chondric-page {
  display: none;
}

.cjs-scrolling-page .chondric-page {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  overflow: hidden;
}

.chondric-page.active {
  display: block;
  opacity: 1;
  z-index: 10;
}

.chondric-page.prev {
  pointer-events: none;
}

.chondric-page.next {
  pointer-events: none;
}

.chondric-page.notransition,
.chondric-page.notransition .page,
.chondric-page.notransition .navbar {
  -webkit-transition: none !important;
  transition: none !important;
}

/* Old styles */
.chondric-viewport {
  -webkit-user-select: none;
}

input, textarea, [contenteditable=true] {
  -webkit-user-select: auto;
  -webkit-touch-callout: auto;
}

.clear {
  clear: both;
}

.sidebar {
  position: absolute;
  width: 400px;
  border: none;
  background-color: black;
  color: white;
  height: 12px;
  text-align: center;
  font: 10px Helvetica;
  font-weight: bold;
}

.sidebar.up {
  top: 0px;
  margin-left: 10px;
}

.sidebar.down {
  bottom: 0px;
  margin-left: 10px;
}

.sidebar.left {
  left: 12px;
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
  -webkit-transform-origin: 0 0;
  -ms-transform-origin: 0 0;
  transform-origin: 0 0;
}

.sidebar.right {
  -webkit-transform: rotate(270deg);
  -ms-transform: rotate(270deg);
  transform: rotate(270deg);
  -webkit-transform-origin: 100% 0;
  -ms-transform-origin: 100% 0;
  transform-origin: 100% 0;
}

.sidebar .arrow {
  display: block;
  position: absolute;
}

.sidebar.up .arrow {
  -webkit-transform: rotate(270deg);
  -ms-transform: rotate(270deg);
  transform: rotate(270deg);
  left: 5px;
}

.sidebar.down .arrow {
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
  left: 5px;
}

.sidebar.left .arrow {
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
  left: 5px;
}

.sidebar.right .arrow {
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
  right: 5px;
}

/*
.hasupsidebar>.ui-header, .hasupsidebar>.ui-content {
    margin-top:15px;
}
.hasdownsidebar>.ui-header, .hasdownsidebar>.ui-content {
    margin-bottom:15px;
}
.hasleftsidebar>.ui-header, .hasleftsidebar>.ui-content {
    margin-left:15px;
}
.hasrightsidebar>.ui-header, .hasrightsidebar>.ui-content {
    margin-right:15px;
}

*/
.scrollcontainer {
  overflow: auto;
}

/* Debug Mode */
.debugonly {
  display: none !important;
}

body.debugmode .debugonly {
  display: block !important;
}

body.debugmode::after {
  content: "Debug mode - do not release";
  display: block !important;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  pointer-events: none;
  color: red;
  text-transform: uppercase;
  font-weight: bold;
  z-index: 100;
}

/* loading overlay */
.loadingOverlay {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: transparent;
  text-align: center;
  padding-top: 300px;
}

.page.loading .loadingOverlay {
  display: block;
}

.loadingOverlay::before {
  content: "Loading Page";
}

.loadingOverlay a {
  display: block;
  margin-top: 10px;
}

/* IOS 7 Default styles */
body {
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
  color: #000;
  font-size: 14px;
  line-height: 1.4;
}

/* buttons */
button {
  background-color: transparent;
  border: 1px solid #007aff;
  color: #007aff;
  text-decoration: none;
  text-align: center;
  display: inline-block;
  border-radius: 5px;
  line-height: 2em;
  padding: 0 10px;
  height: 29px;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
  margin: 10px;
}

button.fullwidth {
  display: block;
  width: 95%;
}

button.active {
  background-color: rgba(0, 122, 255, 0.15);
}

button.selected {
  color: white;
  background-color: #007aff;
}

button:focus {
  outline: none;
}

button.icon-only {
  width: 27px;
  overflow: hidden;
  padding: 0 5px;
}

/* Header */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background-color: #f7f7f8;
  background-color: rgba(248, 248, 248, 0.9);
  height: 44px;
  z-index: 10;
  border-bottom: 1px solid #c4c4c4;
  font-size: 17px;
}

.cjs-scrolling-window .navbar {
  position: fixed;
}

.sidepanel .navbar {
  position: absolute;
}

.hasstatusbar .navbar {
  padding-top: 20px;
}

@media (min-width: 600px) {
  .hasstatusbar .popup .navbar {
    padding-top: 0px;
  }
}
.navbar > .v1, .navbar > .v2 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.hasstatusbar .navbar > .v1, .hasstatusbar .navbar > .v2 {
  top: 20px;
}

.navbar.nobg {
  background-color: transparent;
}

.navbar button {
  color: #007aff;
  background: transparent;
  border: none;
  padding: 0 5px;
  line-height: 44px;
  height: 44px;
  margin: 0 5px;
  font-size: inherit;
}

.navbar button.active {
  background: transparent;
  opacity: 0.3;
}

.navbar button.left {
  float: left;
}

.navbar button.right {
  float: right;
}

.navbar h1 {
  position: absolute;
  bottom: 0;
  left: 33%;
  right: 33%;
  margin: 0;
  text-align: center;
  font-size: 17px;
  line-height: 44px;
  font-weight: 500;
  z-index: -1;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.navbar input.h1 {
  position: absolute;
  top: 0;
  left: 33%;
  right: 33%;
  margin: 0;
  text-align: center;
  font-size: 17px;
  line-height: 44px;
  font-weight: 500;
  z-index: -1;
  text-overflow: ellipsis;
  width: 34%;
  padding: 0;
  border: none;
  outline: none;
  -webkit-appearance: none;
  background-color: transparent;
}

/* Menu bar */
/* A bar with text buttons like the nav bar but that can appear anywhere */
.menubar button {
  display: inline-block;
  color: #007aff;
  background: transparent;
  border: none;
  padding: 0 10px;
  line-height: 44px;
  height: 44px;
  margin: 0;
  font-size: inherit;
}

.menubar button.active {
  background: transparent;
  opacity: 0.3;
}

/* tabbar */
.tabbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  z-index: 10;
  background-color: #f7f7f8;
  background-color: rgba(248, 248, 248, 0.9);
  border-top: 1px solid #c4c4c4;
  padding-top: 10px;
}

.cjs-scrolling-window .tabbar {
  position: fixed;
}

.cjs-scrolling-window.haskeyboard .tabbar {
  visibility: hidden;
}

.tabbar button {
  background: transparent;
  border: none;
  color: #6f6f74;
  height: auto;
  display: inline-block;
  padding: 0 15px;
  margin: 0;
}

.tabbar button.active, .tabbar button.selected {
  color: #157dfb;
  text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.5);
}

/* vertical tab bar */
.tabbar.left {
  top: 40px;
  left: 0;
  right: auto;
  bottom: 0;
  width: 80px;
  border-top: none;
  border-right: 1px solid #c4c4c4;
}

.hasstatusbar .tabbar.left {
  top: 60px;
}

.tabbar.left button {
  margin: 10px auto;
}

/* Content sections */
.page {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
}

.body {
  background-color: #efeff4;
  z-index: 1;
}

.cjs-scrolling-window .body {
  position: static;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.cjs-scrolling-page .body,
.sidepanel .body {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  -webkit-transition: padding-bottom 0.3s ease;
  transition: padding-bottom 0.3s ease;
}

.cjs-scrolling-window .popup .body {
  min-height: 0;
}

.hasstatusbar .body {
  padding-top: 20px;
}

.uses-cjs-navigation-bar .body,
.navbar ~ .body {
  padding-top: 60px;
}

.hasstatusbar .uses-cjs-navigation-bar .body,
.hasstatusbar .navbar ~ .body {
  padding-top: 80px;
}

.cjs-transitions-native .uses-cjs-navigation-bar .body,
.cjs-transitions-native .navbar ~ .body {
  padding-top: 0px;
}

.cjs-transitions-native .popup .navbar ~ .body {
  padding-top: 60px;
}

@media (min-width: 600px) {
  .hasstatusbar .uses-cjs-navigation-bar .popup .body,
  .hasstatusbar .popup .navbar ~ .body {
    padding-top: 60px;
  }
}
.uses-cjs-tab-footer .body,
.tabbar ~ .body {
  padding-bottom: 80px;
}

.body.hidden {
  display: none;
}

.body.left {
  left: 0;
  right: 67%;
}

.tabbar.left:not(.hidden) ~ .body.left {
  left: 80px;
}

.body.middle {
  left: 0;
  right: 67%;
}

.tabbar.left:not(.hidden) ~ .body.middle {
  left: 80px;
  right: 67%;
}

.body.left:not(.hidden) ~ .body.middle {
  left: 33%;
  right: 33%;
}

.tabbar.left:not(.hidden) ~ .body.left:not(.hidden) ~ .body.middle {
  left: 33%;
  right: 33%;
}

.body.right {
  left: 0;
  right: 0;
}

.tabbar.left:not(.hidden) ~ .body.right {
  left: 80px;
}

.body.left:not(.hidden) ~ .body.right {
  left: 33%;
}

.body.middle:not(.hidden) ~ .body.right {
  left: 33%;
}

.body.left:not(.hidden) ~ .body.middle:not(.hidden) ~ .body.right {
  left: 67%;
}

.tabbar.left:not(.hidden) ~ .body.left:not(.hidden) ~ .body.right {
  left: 33%;
}

.tabbar.left:not(.hidden) ~ .body.middle:not(.hidden) ~ .body.right {
  left: 33%;
}

.tabbar.left:not(.hidden) ~ .body.left:not(.hidden) ~ .body.middle:not(.hidden) ~ .body.right {
  left: 66%;
}

/* two equal columns */
.body.half {
  left: 0;
  right: 50%;
}

.body.half:not(.hidden) ~ .body.half {
  left: 50%;
  right: 0;
}

.tabbar.left:not(.hidden) ~ .body.half {
  left: 80px;
  right: 50%;
}

.tabbar.left:not(.hidden) ~ .body.half:not(.hidden) .body.half {
  left: 50%;
  right: 0;
}

/* Single column layout for small screens - columns become tabs and the page is responsible for switching between them */
.viewport.singlecolumn .body {
  left: 0 !important;
  right: 0 !important;
}

.viewport.singlecolumn .tabbar.left:not(.hidden) ~ .body {
  left: 80px !important;
}

/* if a bodygroup element is present, use it to combine the columns on a small screen */
.bodygroup {
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 0 80px 0;
  z-index: 1;
}

.singlecolumn .bodygroup {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 0 80px 0;
  z-index: 1;
}

.singlecolumn.hasstatusbar .bodygroup {
  padding-top: 60px;
}

.singlecolumn .bodygroup .body {
  position: static;
  padding: 0;
}

/* Grid layout */
.col2 {
  width: 49%;
  display: inline-block;
}

/* Content Styles */
.body p {
  margin: 10px 15px;
}

.body h2 {
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 14px;
  text-transform: uppercase;
  color: #6d6d72;
  margin: 10px 15px 9px;
  font-weight: normal;
}

input.inline {
  background-color: inherit;
  outline: none;
  border: none;
  font: inherit;
  color: inherit;
  text-transform: inherit;
}

.contentblock {
  background: #fff;
  padding: 10px 15px;
  border-bottom: 1px solid #c8c7cc;
  border-top: 1px solid #c8c7cc;
  color: #000;
}

/* Collapsing sections */
.collapsible {
  position: relative;
}

.collapsible.collapsed > :not(h2) {
  display: none;
}

.collapsible::after {
  position: absolute;
  right: 0;
  top: 0;
  line-height: 20px;
  content: "-";
  font-size: 14pt;
  padding: 0 10px;
}

.collapsible.collapsed::after {
  content: "+";
}

/* Small form */
.smallform {
  width: 400px;
  margin: 50px auto 0 auto;
}

.smallform h1 {
  font-weight: 100;
  text-align: center;
}

/* angular ui-toggle - mostly used in conjunction with loading overlay */
.ui-show {
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

.ui-hide {
  display: none;
  opacity: 0;
}

/* Shared Header */
.sharedheader {
  position: fixed;
  z-index: 999;
  top: -50px;
  opacity: 1;
}

.sharedheader.active {
  top: 0px;
}

.sharedheader > div {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

/* tests */
.body #mocha {
  margin: 0;
}

/* ghost clicks */
/*
.cjs-transitioning {
}

.cjs-transitioning .chondric-viewport:after {
content: "";
    position: absolute;
    top:0;
    bottom: 0;
    left:0;
    right: 0;
    z-index: 12000;
    background-color: red;
    opacity: 0.5;
}
*/
/* Icons */
/*
 * A button has class icon-top, icon-left, or icon-right to add an icon.
 * An additional class, eg icon-default determines the actual icon used.
 * Since ::before and ::after pseudo elements are used, an icon may need to be defined twice
 */
/* Left icon */
.icon-left::before {
  content: "?";
  display: inline-block;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  vertical-align: bottom;
  margin-right: 5px;
  line-height: 44px;
  height: 100%;
}

/* Right icon */
.icon-right::after {
  content: "?";
  display: inline-block;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  vertical-align: bottom;
  margin-left: 5px;
  line-height: 44px;
  height: 100%;
}

/* Top icon */
.icon-top::before {
  content: "?";
  background-position: center;
  background-repeat: no-repeat;
  display: block;
  line-height: 40px;
}

.icon-custom::before {
  display: none !important;
}

.icon-custom::after {
  display: none !important;
}

.maskedicon {
  background-color: currentColor;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  background-position: center;
  background-repeat: no-repeat;
}

.icon-top.icon-custom .maskedicon {
  display: block;
  height: 40px;
}

.icon-left.icon-custom .maskedicon {
  display: inline-block;
  height: 20px;
  width: 20px;
}

.icon-right.icon-custom .maskedicon {
  display: inline-block;
  height: 20px;
  width: 20px;
}

/* Standard icons */
.icon-top.icon-default::before, .icon-left.icon-default::before, .icon-right.icon-default::after {
  content: "\2610";
  font-size: 200%;
}

.icon-top.icon-leftarrow::before, .icon-left.icon-leftarrow::before, .icon-right.icon-leftarrow::after {
  content: "";
  width: 18px;
  background-image: url("data:image/svg+xml;charset=utf-8,<svg viewBox='0 0 90 120' xmlns='http://www.w3.org/2000/svg'><path d='m63.75 11.25 10 10-40 40 40 40-10 10-50-50z' fill='%23007aff'/></svg>");
}

.icon-top.icon-rightarrow::before, .icon-left.icon-rightarrow::before, .icon-right.icon-rightarrow::after {
  content: "";
  width: 18px;
  background-image: url("data:image/svg+xml;charset=utf-8,<svg viewBox='0 0 90 120' xmlns='http://www.w3.org/2000/svg'><path d='m63.75 11.25 10 10-40 40 40 40-10 10-50-50z' fill='%23007aff'/></svg>");
}

/* */
.cjs-loading-overlay-container {
  position: relative;
}

/* Loading overlay */
.cjs-loading-overlay {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: transparent;
  pointer-events: none;
  z-index: 1000;
  text-align: center;
  font-size: large;
}

.cjs-loading-overlay.ui-show {
  -webkit-transition: z-index 0.5s ease, opacity 0.3s ease;
  transition: z-index 0.5s ease, opacity 0.3s ease;
  z-index: 1000;
}

.cjs-loading-overlay.ui-hide {
  -webkit-transition: z-index 0.5s ease, opacity 0.3s ease;
  transition: z-index 0.5s ease, opacity 0.3s ease;
  z-index: -1;
}

.cjs-loaded {
  z-index: 1;
}

.cjs-loading-overlay-compact {
  text-align: left;
}

.cjs-loading-overlay .error {
  color: red;
}

.cjs-loading-overlay-full .error {
  margin-top: 270px;
}

.cjs-loading-overlay-compact .error {
  display: inline;
  text-align: left;
}

.cjs-loading-overlay-compact .message {
  display: inline;
  text-align: left;
}

.cjs-loading-overlay-compact .buttons {
  display: inline;
}

.cjs-loading-overlay button {
  margin-top: 30px;
  display: inline-block;
}

.cjs-loading-overlay-compact button {
  margin: 5px;
}

/* simple */
/* css spinner from http://lea.verou.me/2013/11/cleanest-css-spinner-ever/ */
/**
 * (C)Leanest CSS spinner ever
 */
@-webkit-keyframes spin {
  to {
    -webkit-transform: rotate(1turn);
  }
}
@keyframes spin {
  to {
    -webkit-transform: rotate(1turn);
    -ms-transform: rotate(1turn);
    transform: rotate(1turn);
  }
}
.cjs-loading-overlay .progress {
  position: relative;
  display: block;
  width: 5em;
  height: 5em;
  font-size: 12px;
  text-indent: 999em;
  overflow: hidden;
  -webkit-animation: spin 1s infinite steps(8);
  animation: spin 1s infinite steps(8);
}

.cjs-loading-overlay-full .progress {
  margin: 100px auto 50px auto;
}

.cjs-loading-overlay-compact .progress {
  display: inline-block;
  vertical-align: middle;
  margin: 5px;
}

.cjs-loading-overlay-simple .progress {
  margin: 100px auto 50px auto;
}

.cjs-loading-overlay .small.progress {
  font-size: 6px;
}

.cjs-loading-overlay .large.progress {
  font-size: 24px;
}

.cjs-loading-overlay .progress:before,
.cjs-loading-overlay .progress:after,
.cjs-loading-overlay .progress > div:before,
.cjs-loading-overlay .progress > div:after {
  content: '';
  position: absolute;
  top: 0;
  left: 2.25em;
  /* (container width - part width)/2  */
  width: .5em;
  height: 1.5em;
  border-radius: .2em;
  background: #eee;
  box-shadow: 0 3.5em #eee;
  /* container height - part height */
  -webkit-transform-origin: 50% 2.5em;
  -ms-transform-origin: 50% 2.5em;
  transform-origin: 50% 2.5em;
  /* container height / 2 */
}

.cjs-loading-overlay .progress:before {
  background: #555;
}

.cjs-loading-overlay .progress:after {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  background: #777;
}

.cjs-loading-overlay .progress > div:before {
  -webkit-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  transform: rotate(-90deg);
  background: #999;
}

.cjs-loading-overlay .progress > div:after {
  -webkit-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
  transform: rotate(-135deg);
  background: #bbb;
}

/* Modals */
.modal-overlay {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: #000;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  z-index: 1000;
  -webkit-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
}

.modal-overlay.active {
  visibility: visible;
  pointer-events: all;
  opacity: 0.4;
}

.nofade.active ~ .modal-overlay {
  background-color: transparent;
}

.cjs-scrolling-window .modal-overlay {
  position: fixed;
}

/* popover */
.popover {
  position: absolute;
  width: 280px;
  height: auto;
  background-color: white;
  border-radius: 7px;
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: opacity 0.1s ease-in-out;
  transition: opacity 0.1s ease-in-out;
}

.popover.active {
  position: absolute;
  opacity: 1;
  pointer-events: all;
}

.popover button {
  display: block;
  width: 280px;
  border: none;
  border-bottom: 1px solid #c8c7cc;
  margin: 0;
  padding: 10px;
  height: auto;
}

.popover button:last-child {
  border: none;
}

.poparrow {
  width: 26px;
  height: 12px;
  position: absolute;
  left: 0px;
  top: 0;
  z-index: 100;
  overflow: hidden;
}

.up .poparrow {
  bottom: -12px;
  top: auto;
}

.down .poparrow {
  top: -12px;
  bottom: auto;
}

.left .poparrow {
  right: -12px;
  left: auto;
  width: 12px;
  height: 26px;
}

.right .poparrow {
  left: -12px;
  right: auto;
  width: 12px;
  height: 26px;
}

.poparrow:after {
  content: ' ';
  background: #fff;
  width: 26px;
  height: 26px;
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 3px;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.popover.up .poparrow:after {
  top: -19px;
}

.popover.down .poparrow:after {
  top: 5px;
}

.popover.left .poparrow:after {
  left: -19px;
}

.popover.right .poparrow:after {
  left: 5px;
}

/* popup */
.popup {
  position: absolute;
  background-color: #efeff4;
  width: 630px;
  height: 630px;
  left: 50%;
  top: 50%;
  margin-left: -315px;
  margin-top: -315px;
  z-index: 1100;
  -webkit-transition: -webkit-transform 0.3s ease-in-out, visibility 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, visibility 0.3s ease-in-out;
  -webkit-transform: translate(0, 150%);
  -ms-transform: translate(0, 150%);
  transform: translate(0, 150%);
}

.cjs-scrolling-window .popup {
  position: fixed;
  visibility: hidden;
}

.popup.active {
  display: block;
  position: absolute;
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
}

.cjs-scrolling-window .popup.active {
  visibility: visible;
}

.noflexbox .popup {
  visibility: hidden;
}

.noflexbox .popup.active {
  visibility: visible;
}

.cjs-transitions-native .popup {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin-left: 0;
  margin-top: 0;
  width: auto;
  height: auto;
  z-index: 1100;
  -webkit-transition: none;
  transition: none;
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
  display: none;
}

.cjs-transitions-native .popup.active {
  display: block;
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
}

.cjs-transitions-native.cjs-shared-popup-active .chondric-page {
  display: none !important;
}

@media (max-width: 630px), (max-height: 630px) {
  .popup {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    margin-left: 0;
    margin-top: 0;
    -webkit-transform: translate(0, 101%);
    -ms-transform: translate(0, 101%);
    transform: translate(0, 101%);
  }
}
/* sidepanel */
.sidepanel {
  position: absolute;
  display: none;
  top: 0;
  bottom: 0;
  width: 260px;
  z-index: 1201;
  left: 0px;
  right: auto;
}

.cjs-scrolling-window .sidepanel {
  position: fixed;
}

.sidepanel.right {
  right: 0px;
  left: auto;
}

.sidepanel.left {
  left: 0px;
  right: auto;
}

.cjs-transitions-native .sidepanel {
  position: absolute;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: auto !important;
  -webkit-transform: none !important;
  -ms-transform: none !important;
  transform: none !important;
  -webkit-transition: none !important;
  transition: none !important;
  display: none !important;
}

.cjs-transitions-native .sidepanel.active {
  display: block !important;
}

/*

.sidepanel.active {
    display: block;
   @include transform( translate(0, 0));
}
*/
.sidepanel .navbar {
  background: #000;
  border-bottom: 1px solid #333;
  color: white;
}

.sidepanel .navbar h1 {
  background-color: transparent;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0;
  text-align: center;
  font-size: 17px;
  line-height: 44px;
  font-weight: 500;
  z-index: -1;
  text-overflow: ellipsis;
}

.sidepanel .body {
  background-color: #222;
  color: white;
}

.sidepanel .body h2 {
  color: white;
}

.sidepanel .body button.menuitem {
  color: #6f6f74;
  display: block;
  width: 260px;
  border: none;
  text-align: left;
  border-radius: 0;
  margin: 0;
  padding: 5px 15px;
  height: auto;
  border-bottom: 1px solid #aaa;
  border-top: 1px solid #aaa;
}

.sidepanel .body button.menuitem + button.menuitem {
  border-top: none;
}

.sidepanel .body button.menuitem.selected {
  color: #007aff;
  background-color: transparent;
}

.sidepanel .body button.menutile {
  width: 100%;
  margin: 5px 0;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border: none;
  float: left;
  height: 50px;
  font-size: 8pt;
  color: #6f6f74;
}

.sidepanel .body button.half {
  width: 50%;
}

.sidepanel .body button.third {
  width: 33.3%;
}

.sidepanel .body button.quarter {
  width: 25%;
}

.sidepanel .body button.menutile.selected {
  background-color: transparent;
  color: #007aff;
}

/*
.chondric-page.haspushpanel .body,
.chondric-page.haspushpanel .navbar,
.chondric-page.haspushpanel .tabbar
{
    @include transition( transform 0.3s ease-in-out);
}

.chondric-page.pushedleft .body,
.chondric-page.pushedleft .navbar,
.chondric-page.pushedleft .tabbar
{
   @include transform( translate(-261px, 0));
}

.chondric-page.pushedright .body,
.chondric-page.pushedright .navbar,
.chondric-page.pushedright .tabbar
{
   @include transform( translate(261px, 0));
}

.chondric-page.haspushpanel .sidepanel .body,
.chondric-page.haspushpanel .sidepanel .navbar,
.chondric-page.haspushpanel .sidepanel .tabbar
{
   @include transform( translate(0, 0));
}
*/
