body { font-family: 'Exo 2', sans-serif; }

/* z-index: 10: header, 11:overlays */

/* google material icons */
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: local('Material Icons'),
    local('MaterialIcons-Regular'),
    url(/media/iconfont/MaterialIcons-Regular.woff2) format('woff2'),
    url(/media/iconfont/MaterialIcons-Regular.woff) format('woff'),
    url(/media/iconfont/MaterialIcons-Regular.ttf) format('truetype');
}
@font-face {
  font-family: 'Material Icons Outlined';
  font-style: normal;
  font-weight: 400;
  src: local('Material Icons Outlined'),
    local('MaterialIconsOutlined-Regular'),
    url(/media/iconfont/MaterialIconsOutlined-Regular.woff2) format('woff2'),
    url(/media/iconfont/MaterialIconsOutlined-Regular.woff) format('woff'),
    url(/media/iconfont/MaterialIconsOutlined-Regular.otf) format('opentype');
}
.material-icons {
  font-family: 'Material Icons';
}
.material-icons-outlined {
  font-family: 'Material Icons Outlined';
}
.material-icons,
.material-icons-outlined {
  font-weight: normal;
  font-style: normal;
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;
  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;
  /* Support for IE. */
  font-feature-settings: 'liga';
}
.material-icons,
.material-icons-outlined {
  font-size: 1.2em;
  line-height: 0.83;
  vertical-align: top;
  padding-top: 0.2em;
}
.btn .material-icons,
.btn .material-icons-outlined {
  line-height: 0.6 !important;
}

/* google material icons end */

.combined-calendar-icon { position: relative; display: inline-block; }
.inset-icon { position: absolute; font-size: 0.65em; top: 0.65em; left: 0.43em; }

body.bg-img.bg-wizard #content {
  min-height: 100vh;
  background: rgba(255,255,255,0.95);
}

#body {
  padding-top: 15px;
  padding-bottom: 15px;
}

/* navbar and related classes */

#back-to-app { position: fixed; left: 0; bottom: 0; z-index: 11;
  text-align: center;
  color: black;
  background: white;
  padding: 16px 16px 8px 16px;
  }
.back-to-app-label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: normal;
}

#devBanner {
  position: fixed;
  top: 3px;
  right: 3px;
  z-index: 11;
  font-size: 13px;
  pointer-events: none;
  opacity: 0.6;
  padding: 0.2em 1em 0.3em;
  color: white;
  background-color: black;
}

#targetUserInfo {
  position: fixed;
  top: 3px;
  left: 3px;
  z-index: 11;
  font-size: 13px;
  padding: 0.2em 0.75em 0.3em 0;
  color: white;
  background-color: green;
}
#targetUserInfo > a {
  color: white;
  padding-left: 0.5em;
}
#targetUserInfo > a:hover {
  color: black;
}

.challenge {
  height: 1.2em;
}

.navbar {
  background-color: #f15924;
  background-image: linear-gradient(to right, #f15924, #fb3352);
  padding: 0 1rem;
  /* text-transform: uppercase; */
}

.navbar .navbar-nav .nav-link {
  color: white;
  padding: 27px 1rem;
  height: 80px;
}

.navbar .navbar-nav .nav-link span {
  font-size: 16px;
}

.navbar-brand img {
  margin-top: 10px;
  max-height: 50px;
  max-width: 130px;
}

.navbar .navbar-nav .active > .nav-link,
.navbar .navbar-nav .nav-link.active,
.navbar .navbar-nav .nav-link.show,
.navbar .navbar-nav .show > .nav-link {
  color: white;
  background: url("../img/active.png") repeat;
}

.navbar .navbar-nav .nav-link:hover {
  color: white;
  background: url("../img/hover.png") repeat;
}

@media only screen and (max-width: 767px) {
  .navbar-brand img {
    margin-top: 5px;
    max-height: 25px;
    max-width: 65px;
  }
  .navbar .navbar-nav .nav-link {
    padding: 12px 1rem;
    height: 48px;
  }
}

@media only screen and (max-width: 559px) {
  .navbar .navbar-nav .nav-link {
    padding: 12px 10px;
  }
}

@media only screen and (max-width: 445px) {
  .navbar .navbar-nav .nav-link {
    padding: 12px 5px;
  }
}

/* pageHeader */

.pageHeader {
  white-space: nowrap;
  overflow: hidden;
}

@media only screen and (min-width: 768px) {
  .pageHeader {
    font-size: 1.7rem;
    border-bottom: 1px solid #eeeeee;
    margin-bottom: 15px;
  }
}

@media only screen and (max-width: 767px) {
  .pageHeader {
    text-align: center;
    font-weight: bold;
    padding: 5px;
    background-color: #eeeeee;
    margin-bottom: 10px;
  }
}

/* forms */

.login-box {
  margin-top: 50px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.row .form-check > .toggle { margin-left: -1.25rem; }
.row .form-check .invalid-feedback { margin-left: -1.25rem; }
.input-group-text.fas, .input-group-text.far { padding-top: 0.5rem; }
.input-time-field { width: 8em; }

@media only screen and (min-width: 767px) {
  .form-group.row .col-form-label { text-align: right; }
}

/* Handle 'required' class on form fields */
form label.required-set:after {
  color: #d21;
  content: '*';
  display:inline;
  font-weight: bold;
  line-height: 0.5em;
  padding-left: 3px;
}

/* buttons */

/* Do not want to affect btn-link */
.btn-default,.btn-primary,.btn-dark,.btn-danger {
  /* text-transform: uppercase; */
  /* font-size: 11px; */
  line-height: 1!important;
  letter-spacing: 1px;
  font-weight: 700;
  padding: 9px 14px 9px 14px;
  margin: 0 5px 5px 0;
  display: inline-block;
  border-radius: 0;
  color: #ffffff;
  text-shadow: none;
  box-shadow: none;
}
.btn-danger {
  border: 2px solid #c82333;
}

.btn-dark {
  background: #333;
  border: 2px solid #333;
}
.btn:hover {
  transition: background 0.2s ease-out, border 0.2s ease-out;
}
.btn.medium {
  padding: 10px 14px;
}
.btn.large, .btn-lg {
  font-size: 13px;
  padding: 14px 20px 14px 20px;
}
.btn-primary,
.btn-primary.active,
.btn-primary:active,
.btn-primary:focus,
.btn-primary:hover {
  background: #f15924;
  border: 2px solid #f15924;
}
.btn-primary:hover {
  background: #333;
  border: 2px solid #333;
}
.btn-primary.disabled,
.btn-primary.disabled.active,
.btn-primary.disabled.focus,
.btn-primary.disabled:active,
.btn-primary.disabled:focus,
.btn-primary.disabled:hover,
.btn-primary[disabled],
.btn-primary[disabled].active,
.btn-primary[disabled].focus,
.btn-primary[disabled]:active,
.btn-primary[disabled]:focus,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary,
fieldset[disabled] .btn-primary.active,
fieldset[disabled] .btn-primary.focus,
fieldset[disabled] .btn-primary:active,
fieldset[disabled] .btn-primary:focus,
fieldset[disabled] .btn-primary:hover {
  background-color: #aaa;
  border-color: #aaa;
}
.btn.btn-default {
  color: #333;
  background: white;
  border: 2px solid #333;
}
.btn.btn-default:hover {
  background: #333;
  color: #fff;
}
.btn-dark:hover {
  background-color: white;
  color: black;
}
.btn.support-icon {
  background-color: white !important;
  color: #f15924 !important;
  border-color: #f15924 !important;
}
.btn.support-icon:hover {
  background-color: black !important;
  color: #f15924 !important;
  border-color: black !important;
}

/* Non .dropdown elements need extra padding as dropdown button padding happens inside .dropdown */
.buttons > a.btn,
.buttons > button.btn {
  margin-top: 1px;
}
.buttons > .dropdown {
  display: inline-block;
}

/* form clearer */

.form-clearer {
  position: relative;
}
.form-clear {
  align-items: center;
  border-radius: 50%;
  color: rgba(0, 0, 0, .54);
  cursor: pointer;
  display: flex;
  height: 24px;
  justify-content: center;
  position: absolute;
  right: 7px;
  z-index: 10;
  top: 8px;
  top: 7px;
}
.form-group .input-group .form-clear {
  right: 48px;
  top: 8px;
}

.form-text+.form-clear {
  bottom: calc(1rem + 18px);
}

/* ... */

.refreshPage { margin: 7px 7px 0 0; }
.listDataTable > tbody { display: none; }

.shared-workout-header {
  float: left;
}
.shared-workout-header > .header {
  margin-left: 5px;
  color: white;
}
.shared-workout-header img {
  height: 40px;
  margin: 0 10px 10px 0;
}
.shared-workout-header span {
  font-weight: bold;
}

.readOnlyWarning { position: fixed; left: 20px; bottom: 20px; z-index: 11; }
.calendarHeaderLink { margin: 0 5px 5px 0; white-space: nowrap; }

.form-group .alert { margin: 10px 0 0 0; }
.show-support { position: fixed; bottom: 3px; right: 3px; z-index: 11; cursor: pointer }

.info-tooltip-done { cursor: pointer; }

.capabilities-locked { opacity: 0.5; cursor: pointer; }

.historic { color: grey; }

.userChange { font-weight: bold; }
.adminChange { font-style: italic; }

.wizardProgress > li + li { margin-left: 0; padding-left: 8px }
.wizardProgress > li {
  text-align: center;
  width: 20%;
  margin-bottom: 10px;
  padding: 15px 10px;
}

.bootbox.wide .modal-dialog { width: 90%; }
.shared-workout {
  background-image: linear-gradient(to bottom,#e8e8e8 0,#f5f5f5 100%);
}
.shared-workout-body {
  padding: 8px 16px 16px 16px;
}
.shared-workout-header {
  background-color: #f15924;
  width: 100%;
}


#runtypeForm > .confirm { padding: 15px 10px; }
#runtypeForm > .confirm:nth-child(odd) { background: #f8f8f8; }
#runtypeForm > .confirm > .confirmRadio { padding: 5px 0; }
#runtypeForm .type { font-weight: bold; padding-top: 5px; }

/* Workaround used by dataTableActivate */
td.link {
  color: #428bca;
  cursor: pointer;
}
td.link:hover {
  text-decoration: underline;
}

.home-intro {
  text-align: center;
}

.home-buttons {
  text-align: center;
  max-width: 250px;
  margin: 40px auto;
}
.home-buttons .btn {
  margin-bottom: 20px;
  width: 100%;
}
.home-buttons > a.other-links {
  margin: 0 20px;
}

.saveCancel {
  text-align: right;
}
.saveCancel > .btn-primary {
  float: right;
  margin-left: 10px;
}

a.first:before { content: &larr; }
a.previous:before { content: &larr; }
a.next:after { content: &rarr; }

@media only screen and (min-width: 767px) {
  dl.row dt { text-align: right; }
}

/* Cannot just use float: none on input.form-control because... IE 11 */
form .duration-fields input.form-control { width: 74px; }
form .duration-fields span { display: inline-block; float: left; padding: 0.6em 0.3em 0 0.3em; }
form .dob-fields { display: flex; }
form .dob-fields span { flex-grow: 1;}
form .dob-fields span:not(:last-child) { padding-right: 8px; }

form .form-control[type=number] { padding-right:4px; }

.bold { font-weight: bold; }

/* Calendar styles */
.calendar .trainingDayRule:hover {
  text-decoration: none;
}
.calendar .past .trainingDayRule {
  opacity: 0.4;
}

.calendar.week {
  width: 100%;
  min-width: 640px;
  table-layout: fixed;
  margin-bottom: 15px;
}
.calendar .day {
  min-height: 75px;
  padding: 2px;
  margin-bottom: 4px;
  overflow-x: hidden;
}
.calendar .day .title {
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 4px;
  padding-bottom: 4px;
}
.calendar.mobileView .day .title {
  margin-top: 8px;
  border-top: 1px solid #e0e0e0;
  padding: 6px 0;
}

.calendar .day .title .day-status {
  margin: 3px;
  float: right;
}

.calendar .day > .activity {
  padding: 2px;
}

.calendar .day-insight-alert {
  float: right;
  padding-left: 4px;
}

.calendar .day .activity:not(:last-child) {
  padding-bottom: 8px;
  border-bottom: 1px solid #eeeeee;
}

.activityDetails {
  overflow-x: hidden;
}

.day .activity .notes {
  font-style: italic;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 16em;
}

.activitySummary .notes {
  font-style: italic;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 16em;
}

.planned-workout-notes {
  white-space: pre-wrap;
  font-style: italic;
}

.calendar .day .activity.archived {
  opacity: 0.50;
}

.calendar .past {
  background-color: #f0f0f0;
}
.calendar .today {
  background-color: #e0e0ff;
  font-weight: bold;
}
.calendar .today .day .title {
  border-bottom: 1px solid #c0c0e0;
}
.calendar .othermonth {
  opacity: 0.33;
  background-color: #e8e8e8;
}
.calendar .week .summary { font-size: 0.9em; }
.calendar .week .detail { font-size: 0.7em; }
.calendar .detail ol { padding-left: 15px; }
.calendar th { text-align: center; }
.calendar td,
.calendar th {
  border: 1px solid #cccccc;
  width: 14%;
  vertical-align: top;
}
.pace-STANDING { color: #5050a0; }
.pace-WALKING { color: #32b032; }
.pace-BRISK_WALK { color: #32b032; }
.pace-VERY_EASY { color: #008000; }
.pace-EASY { color: #5b7e13; }
.pace-FAST { color: olive; }
.pace-VERY_FAST { color: maroon; }
.pace-EXTREME { color: red; }
.pace-RECOVERY { color: #222299; }

.calendarButtons { margin: 10px -10px 0 0; float: right; }
.calendarPager { margin: 10px 0 0 0; float: left; }
.calendarPager li > a { margin-bottom: 10px; }

.detail > .workoutSteps { margin: 0.5em 0 }
.detail > .workoutSteps > ol { margin-bottom: 0 }

.dashboard .show-calendar { margin-top: 15px; display: block; }

.info-box {
  color: #333;
  border: 1px solid #6666;
  margin-bottom: 15px;
  padding: 10px 20px 15px 20px;
  box-shadow: -4px 4px 5px 0 rgba(0,0,0,0.3);
  border-radius: 4px;
  /* Cannot set overflow-x: hidden; as breaks bootstrap dropdowns */
}

.info-box .final-link {
  float: right;
}

.cta-button {
  margin-top: 10px;
}

a.clickable-info-box:hover {
  text-decoration: none;
}
a.clickable-info-box:hover .info-box {
  box-shadow: -2px 2px 3px 0 rgba(0,0,0,0.3) inset;
}

.info-box a h4 { color: #333; }
.info-box a:hover h4 { color: #000; text-decoration: none; } /* XXX none fails*/
.info-box button.close {
  padding: 10px;
  margin-top: -10px;
  margin-right: -10px;
}

.plan-insights ul {
  padding-left: 20px
}

.plan-insights li {
  margin-bottom: 10px;
}

.open-forecast { padding-bottom: 15px; }

td.editActivity {
  color: #428bca;
  cursor: pointer;
}
td.editActivity:hover {
  text-decoration: underline;
}

form.question-form textarea { margin: 10px 0 15px 0; }

.taskStatusLabel {
  display:none;
  position:fixed;
  z-index: 11;
  right: 10px;
  bottom: 10px;
  background-color: #f15924;
  border-radius: 10rem;
  padding: 0.1em 0.6em;
  color: white;
}
.taskStatusLabel .tooltip  { left: 200px; width: 240px; }
.taskStatusLabel .fa-info-circle { padding-right: 5px; }

.taskStatusComplete {
  display:none;
  position:fixed;
  z-index: 11;
  right: 0;
  width: 100%;
  bottom: 0;
}
.taskStatusComplete div {
  background-color: #f15924;
  padding: 0.5em 1em;
  color: white;
  font-weight: bold;
}
.taskStatusComplete div a {
  color: white;
}
.taskStatusLabel .tooltip  { left: 200px; width: 240px; }

/* css for datatables/bootstrap */
/* issues with dropdown buttons on final row of table
.dataTableTable { overflow-x: auto; padding-bottom: 20px;}
*/
.table > tbody > tr > td.emptycell, .table > thead > tr > th.emptycell { padding-left: 0; padding-right: 0 }

div.dataTables_length { float: left; margin-right: 5px; }
div.dataTables_wrapper div.dataTables_length select { width: auto; padding: 5px}
.dataTables_filter { display: inline-block; }

.iPhoneClear { pointer-events: auto; cursor: default; padding-left: 0.5em; }
.iPhoneClearInput { width: auto; display: inline-block; }

.column-filter-widgets { float: left; }
.column-filter-widget select[disabled] { display:none; }
.column-filter-widget { padding: 0; } /* padding on select so can hide */
.column-filter-widget select {
  max-width: 110px;
  width: auto;
  margin: 0 5px 5px 0;
  padding: 5px;
}

.formExplain {
  margin-bottom: 0.5em;
}

.pre {
  display: block;
  unicode-bidi: embed;
  white-space: pre-wrap;
  padding: 8px;
  margin-bottom: 8px;
  background-color: #f5f5f5;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
}

.shared-workout-header .adjust-buttons { float: right; text-align: right; }
.shared-workout .shared-workout-header .btn { background-color: white; margin-top: 8px}
.shared-workout-header #environment-forecast { display: inline; margin-top: 8px; }
.shared-workout-header #display-preferences { display: inline; }

.alert-warning .pre {
  background-color: transparent;
  border: none;
}

/* to merge */

#header {
  padding: 0;
}

/*Background images for pages*/
body.bg-img {
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
body.no-body #body {
  background: transparent;
}
.bg-login {
  background: url("../img/bg-happy-young-woman-running-in-field.jpg") no-repeat center center fixed;
}
.bg-registration, .bg-show-message {
  background: url("../img/bg-happy-young-woman-running-in-field.jpg") no-repeat center center fixed;
}
.bg-show-message #body {
  background: rgba(255,255,255,0.9);
}
.bg-password-reset {
  background: url("../img/bg-happy-young-woman-running-in-field.jpg") no-repeat center center fixed;
}
.bg-wizard {
  background: url("../img/bg-shoe-stretch.jpg") no-repeat center center fixed;
}

.form-box {
  background: rgba(255,255,255,0.95);
  padding: 0 30px 20px 30px;
}
.form-box table { margin-bottom: 0; }

/* Work around to prevent horizontal scrolling on touch devices */
.row {
  margin-left: 0;
  margin-right: 0;
}


.align-right {
  text-align: right;
}
.wizardProgress {
  margin-bottom: 40px;
  /* text-transform: uppercase; */
  font-weight: 500;
  letter-spacing: 3px;
}
.wizardProgress>li {
  margin-bottom: 0;
  padding: 15px 0;
  color: #ddd;
}
.wizardProgress>li:first-child {
  border-left: none;
}
.wizardProgress>li.submitData {
  border-color: #0cbc3a;
  color: #0cbc3a;
}
.wizardProgress > li.submitData:hover {
  color: #f15924;
  cursor: pointer;
}
.nav-pills > li.submitData:hover {
  color: #f15924;
  cursor: pointer;
}
.wizardProgress>li.active {
  border: 2px solid #f15924;
  color: #f15924;
}
span.wizard-step {
  display: none;
}

.form-title {
  /* text-transform: uppercase; */
  font-size: 1.2em;
  background-color: #333;
  color: #fff;
  margin: 0 -30px 30px -30px;
  padding: 30px;
}
.form-footer {
  background-color: #e3e3e3;
  padding: 30px 30px 15px 30px;
  margin-bottom: 25px;
}
.form-footer .info {
  margin-top: 6px;
  float: right;
}
.form-box {
  background: rgba(255,255,255,0.9);
}

.adherence-tier { height: 2em; }

.shared-workout-header .fa-external-link { display: none; }
.shared-workout-header img.logo { float: left; padding: 5px 0 0 16px; }
.shared-workout-header span.header { float: left; display: inline-block; padding-top: 10px; }
.shared-workout .open-forecast { padding-bottom: 0; }
.input-option { margin: 5px 0 0 0; }

.btn-block .btn {
  margin: 0 5px 5px 10px;
}
.toggle-group .btn-default {
  background: white;
  border: 0;
}
.toggle-group .toggle-handle {
  background: #eee;
}
.toggle-group label {
  white-space: nowrap;
}

.checkbox label .check-label {
  padding-left: 0;
  padding-top: 0;
}

#messages {
  padding: 0 20px;
}

.alert {
  border: none;
  border-radius: 0;
  padding: 30px;
}
.alert-danger {
  background: #f2dede;
}

.info-accordion h4 { margin-top: 1em; }
.info-accordion .card { border-radius: 0; }
.info-accordion .card-header { padding: 0 0.5em; }
.info-accordion .card-header h5 { margin-bottom: 0; }
.info-accordion .card-header button { color: #333; text-align: left; }
.info-accordion .card { padding-bottom: 0; margin-bottom: 0.5em; }
.info-accordion .card-body p:first-child { margin-top: 0; }
.info-accordion .card-body p:last-child { margin-bottom: 0; }

.runTypes .activity_subtype_summary { margin-bottom: 0.5em; font-style: italic; }

.modal-content {
  border-radius: 0;
}

@media only screen and (min-width: 767px) {
  .open-forecast { float: right; }
}

@media only screen and (min-width: 768px) {
  .login .form-horizontal .control-label {
    text-align: left;
  }
}

@media only screen and (max-width: 1199px) {
  .hidden-lg-down { display: none; } /* bootstrap v4 */
  table.calendar { font-size: 0.9em }
}

@media only screen and (max-width: 991px) {
  table.calendar { font-size: 0.8em }
}

@media only screen and (max-width: 767px) {
  .row .login {
    margin-top: 12px;
  }
  #body {
    padding: 5px 10px 30px 10px;
  }
  .wizardProgress>li>.name {
    display: none;
  }
  .wizardProgress>li.active>.name {
    display: inline-block;
  }
  .wizardProgress > li + li { padding: 15px }
  .wizardProgress>li {
    padding: 15px;
    width: 10%;
  }
  .wizardProgress>li.active {
    padding: 15px;
    width: 55%;
  }
  span.wizard-step {
    margin-bottom: 0;
    padding: 15px 0;
    color: #999;
    display: block;
    float: right;
  }
  .form-title {
    padding: 15px;
  }
  .form-footer {
    padding: 15px 15px 10px 15px;
  }
  .alert { padding: 15px 25px; }
  .calendarButtons .btn { margin-bottom: 10px; }
  table.calendar { font-size: 0.8em }
  .targetUserInfo > .label > .accessing {
    display:none;
  }
  .targetUserInfo > .label {
    font-size: 0.8em;
  }
  #dev-banner {
    font-size: 0.8em;
  }
  #messages {
    padding: 0 8px;
  }
  #body {
    padding: 5px 5px 30px 5px;
  }
  .workoutSteps ol { padding-left: 25px; }
}

@media only screen and (max-width: 420px) {
  .pagination > li > a { padding: 6px 10px; }
}

@media only screen and (max-width: 400px) {
  .listDataTable {
    font-size: 10px;
  }
  table.dataTable.listDataTable thead > tr > th.sorting_asc,
  table.dataTable.listDataTable thead > tr > th.sorting_desc,
  table.dataTable.listDataTable thead > tr > th.sorting,
  table.dataTable.listDataTable thead > tr > td.sorting_asc,
  table.dataTable.listDataTable thead > tr > td.sorting_desc,
  table.dataTable.listDataTable thead > tr > td.sorting {
    padding-right: 20px;
  }
  .table.listDataTable > tbody > tr > td,
  .table.listDataTable > tbody > tr > th,
  .table.listDataTable > tfoot > tr > td,
  .table.listDataTable > tfoot > tr > th,
  .table.listDataTable > thead > tr > td,
  .table.listDataTable > thead > tr > th {
    padding: 8px 4px;
  }
}

@media only screen and (max-width: 359px) {
  table.calendar { font-size: 0.7em }
}

@media only screen and (max-width: 350px) {
  .pagination > li > a { padding: 6px 8px; }
  .btn { padding: 9px 11px; }
}

@media only screen and (max-width: 340px) {
  .shared-workout-body { padding: 8px;}
  .btn { padding: 9px 8px; }
}

@media only screen and (max-width: 320px) {
  .btn-block .btn { margin: 10px 5px 5px 0;}
  .btn { padding: 9px 5px; }
  .form-box { padding-bottom: 5px; }
  table.calendar { font-size: 0.6em }
  table.calendar th { min-width: 120px }
}

/* Sometimes people try to show the environment widget in tiny iframes */
@media only screen and (max-width: 319px) {
  h4 { font-size: 14px; }
  .btn, body, .form-control, .input-group-append { font-size: 10px; }
  .btn, .form-control { padding: 6px; }
  #body { padding: 4px 4px 30px 4px; }
  .table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
    padding: 6px 3px;
  }
}

@media only screen and (max-width: 220px) {
  .btn, body, .form-control, .input-group-append { font-size: 10px; }
  .table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
    padding: 5px 1px;
  }
  .modal-header, .modal-body { padding: 8px 5px; }
}

@media only screen and (max-width: 200px) {
  .btn, body, .form-control, .input-group-append { font-size: 9px; }
}

@media only screen and (max-width: 991px) {
  .modal-xl { max-width: 97%; }
}
