.mobile #header {
  padding: 0 10px 0 45px;
  min-width: 0;
  min-height: 70px;
}

.mobile .headerTop {
	position: relative;
	min-height: 50px;
  line-height: 50px;
	clear: both;
}

.mobile .title {
	font-size: 1.5em;
}

.mobile .header .loader-container {
  text-align: right;
}

.mobile .toggle-switch-container {
	margin-bottom: 14px;
}
.mobile .toggle-switch-container .switch-label {
	padding: 0 8px;
}

.mobile .sidebar-scroll-content {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Fix for mobile safari bug where background disappears from  -webkit-overflow-scrolling: touch; */
.mobile .sidebar {
  -webkit-transform: translate3d(0, 0, 0);
}

.mobile .message-dialog {
	bottom: -40px;
	height: 40px;
  left: 0;
}

.message-dialog.message-show {
	opacity: 1;
	bottom: 0;
}

.mobile .message-content {
  padding: 10px 0 10px 0;
}

.mobile .sliderContainer {
  left: 210px;
  right: 20px;
  width: auto;
}

.mobile slider span.pointer {
  width: 28px;
  height: 28px;
  top: -11px;
  -webkit-border-radius: 100%;
  border-radius: 100%;
}

.mobile slider span.pointer:after {
  width: 10px;
  height: 10px;
  top: 9px;
  left: 9px;
  -webkit-border-radius: 100%;
  border-radius: 100%;
}

.mobile slider span.bubble {
  cursor: default;
  top: -100%;
  right: 100%;
  left: auto !important;
  /*margin-left: 20px;*/
  bottom: auto;
  padding: 2px 8px;
  margin: auto;
  font-size: 1em;
  line-height: 1em;
}

.mobile slider span.bubble.limit {
  display: none;
}

.mobile .sidebar-toggle-container {
  width: 40px;
  right: auto;
  left: 0;
  text-align: center;
}

.mobile .sidebar-toggle-container.sidebar-show {
  height: auto;
}
.mobile .sidebar-toggle-container.sidebar-hide {
/* There seems to be a bug in the latest safari that is not rendering this properly use negative margin instead */
  /* left: -moz-calc(100% - 40px);
  left: -webkit-calc(100% - 40px);
  left: calc(100% - 40px); */
  left: 100%;
  margin-left: -40px;
  height: 100%;
}

.mobile .sidebar-toggle {
  position: absolute;
  left: 0;
  top: 0;
  line-height: 48px;
  background-color: inherit;
  opacity: 1;
  padding: 0 6px;
  max-width: none;
  margin: 0;
}

.mobile .sidebar-show .sidebar-toggle {
  left: 5px;
}

.mobile .sidebar-toggle.ng-hide-add, .mobile .sidebar-toggle.ng-hide-remove {
  /*display: block !important;*/
  opacity: 0;
	-webkit-transition: all 0.05s ease-out;
	-moz-transition: all 0.05s ease-out;
	-ms-transition: all 0.05s ease-out;
	-o-transition: all 0.05s ease-out;
	transition: all 0.05s ease-out;
}

.mobile .sidebar-toggle:hover {
	max-width: auto;
}

.mobile .sidebar-hide .sidebar-toggle {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  max-width: none;
}

.mobile .sidebar {
  left: 0;
  width: -moz-calc(100% - 40px);
  width: -webkit-calc(100% - 40px);
  width: calc(100% - 40px);
}

.mobile.animate-enabled .sidebar.ng-hide {
  left: -moz-calc(-100% + 40px);
  left: -webkit-calc(-100% + 40px);
  left: calc(-100% + 40px);
}

.mobile .calendarList li {
	width: auto;
}

.mobile .calendar {
  top: 70px;
}

.panel-switch-left, .panel-switch-right {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
}

.panel-right, .panel-left {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.panel-right {
  left: 100%;
  right: -100%;
}

.panel-switch {
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.no-transition .panel-switch {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -o-transition: none !important;
  -ms-transition: none !important;
  transition: none !important;
}

.panel-switch-left > .panel-left, .panel-switch-left > .panel-right {
  -ms-transform: translate(0,0); /* IE 9 */
  -webkit-transform: translate(0,0); /* Safari */
  transform: translate(0,0);
}

.panel-switch-right > .panel-left, .panel-switch-right > .panel-right {
  -ms-transform: translate(-100%,0px); /* IE 9 */
  -webkit-transform: translate(-100%,0px); /* Safari */
  transform: translate(-100%,0px);
}

.mobile .settings-sidebar {
  left: 0;
  right: 0;
  width: auto;
}

.mobile .secondColumn, .mobile .secondColumnInner {
  width: auto;
  left: 0;
  right: 0;
}

.mobile .instructionIcon {
  display: none;
}

.mobile .instructions hr {
  width: 100%;
}

.mobile .calendar-button-container {
  margin: 10px;
}

/* Adjust calendar content to not be covered on iphone X or greater */
/* Not needed because we are using the meta tag for viewport-fit=contains rather than cover */
/* @supports(margin: max(0px)) {
  .mobile#calendar-container {
      margin-left: env(safe-area-inset-left);
      margin-right: env(safe-area-inset-right);
  }
} */

/* Adjust button placement for iPhone X or greater */
@supports(margin: max(0px)) {
  .mobile .calendar-button-container {
      margin: 10px;
      margin-right: max(20px, env(safe-area-inset-right));
      margin-bottom: max(25px, env(safe-area-inset-bottom));
  }
}

.mobile .add-event-container {
	bottom: 0px;
	right: 0px;
}

.mobile-modal {
	position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
	overflow: hidden;
	z-index: 1000;

	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
.mobile-modal-content {
	width: 100%;
	background-color: rgba(50,50,50,1);
}

.mobile .color-swatch-angle {
  border-width: 0px 40px 40px 40px;
  height: 0px;
  width: 126px;
}
.mobile .color-swatch-angle .border-upper {
  width: 46px;
  top: 0;
  left: 0;
}
.mobile .color-swatch-angle .border-lower {
  width: 126px;
  top: 40px;
  left: -40px;
}
.mobile .edit {
  background-color: rgb(255,255,255);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto;
  height: auto;
}

.mobile .edit-container {
  overflow: hidden;
}
.mobile .edit .field-container {
  padding: 20px 40px 5px 40px;
  max-height: none;
}
.mobile .edit-panel-default-data {
	right: 24px;
}
.mobile .edit .btn {
  font-size: inherit;
}
.mobile .edit .with-footer {
  bottom: 80px;
}
.mobile .panel-selector {
  margin-left: -40px;
  margin-right: -40px;
  padding-left: 40px;
  padding-right: 40px;
}
.mobile .utility-panel {
  top: 48px;
  padding: 0;
  margin: 0;
  background-color: rgb(100,100,100);
	color: white;
}
.mobile .search-box {
	margin: 15px 20px;
}
.mobile .search-wrapper input {
  height: 36px;
  width: calc(100% - 160px);
}
.mobile .utility-panel .btn {
  font-size: inherit;
}
.mobile .input-group-btn .btn {
  font-size: 14px;
}
.mobile .utility-panel .btn-help {
  bottom: 0;
}
.mobile .utility-panel .miniCalendar .btn {
  padding: 10px;
}
.mobile .utility-panel .select-list {
  max-height: none;
}
.mobile .utility-panel .list-selector {
  width: auto;
  font-size: inherit;
  height: 34px;
  line-height: 34px;
}
.mobile .utility-panel .list-selector:not(.list-selector-dark):not(.selected) {
  background-color: inherit;
  border-color: transparent;
}

.mobile .utility-panel .list-selector.list-selector-unstyled {
	height: auto;
	line-height: normal;
}

.mobile .map-image {
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

@media only screen and (min-width: 350px) {
    /* Style adjustments for viewports that meet the condition */
    .mobile .edit {
      font-size: 1em;
    }
    .mobile .panel-selector i {
    	line-height: 1.15em;
    }
    .mobile .utility-panel {
      font-size: 1em;
    }
}

@media only screen and (max-width: 350px) {
    /* Style adjustments for viewports that meet the condition */
    .no-vertical-phone {
      display: none !important;
    }
}

@media only screen and (max-width: 420px) {
    /* Style adjustments for viewports that meet the condition */
    .no-vertical-phone-large {
      display: none !important;
    }
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for viewports that meet the condition */
}
