body {
  overscroll-behavior-y: auto;
}

.margin-top-50 {
  margin-top: 50px;
}
.pull-to-refresh {
  position: fixed;
  top: -50px;
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: top 0.7s ease-in-out;
}
.pull-to-refresh.visible {
  top: 0;
}
::placeholder {
  color: #0083c2;
}
.flex-app {
  background-color: #f9fafe;
}
.menu-block {
  padding-left: 7px;
  padding-right: 7px;
  display: flex;
  flex-wrap: wrap;
}
.menu-block .item {
  flex: 50%;
  max-width: 50%;
}
.menu-block .item .menu {
  min-height: 250px;
  background-color: #ffffff;
  padding: 20px;
  margin: 10px 10px 20px 10px;
  border-radius: 20px;
}
.menu-block .item .menu.activeBlur {
  animation-name: color;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

@keyframes color {
  0% {
    background-color: #003658;
  }
  50% {
    background-color: #0b76ba;
  }
  100% {
    background-color: #003658;
  }
}

.menu-block .item .menu.nonlog,
.menu-block .item .menu .nonlog {
  opacity: 0.2;
}
.menu-block .item .menu .subtitle {
  font-size: 14px;
  font-family: var(--ui-main-font-family-bold);
  padding-top: 15px;
  padding-bottom: 10px;
}
.menu-block .item .menu .subtitle.blue {
  color: #0b76ba;
}
.menu-block .item .menu .subtitle.yellow {
  color: #ffda48;
}
.menu-block .item .menu .subtitle.red {
  color: #ff0708;
}
.menu-block .item .menu .title {
  font-size: 20px;
  font-weight: bold;
  font-family: var(--ui-main-font-family-bold);
}

.menu-block .item .menu.blue {
  background-color: #0b76ba;
}
.menu-block .item .menu.blue .title {
  color: #ffffff;
}
.menu-block .item .menu.blue .subtitle {
  color: rgba(255, 255, 255, 0.5);
}

.menu-block .item .menu.bluecra {
  background-color: #263984;
}
.menu-block .item .menu.bluecra .title {
  color: #ffffff;
}
.menu-block .item .menu.bluecra .subtitle {
  color: rgba(255, 255, 255, 0.5);
}

.menu-block .item .menu.light_orange {
  background-color: #fff3eb;
}
.menu-block .item .menu.blueclight_orangera .title {
  color: #e96c2c;
}
.menu-block .item .menu.light_orange .subtitle {
  color: #e96c2c;
}

.menu-block .item .menu .bottom {
  display: flex;
  flex-direction: row;
  /* justify-content: flex-end; */
  margin-top: 20px;
}
.menu-block .item .menu .bottom img {
  width: 60px;
  height: 60px;
}
.menu-block .item.rightBlock {
  margin-top: 40px;
}
.menu-block .login-message {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 15px;
  position: absolute;
  z-index: 200;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-box-shadow: 0px 0px 31px -12px rgba(0, 0, 0, 0.64);
  -moz-box-shadow: 0px 0px 31px -12px rgba(0, 0, 0, 0.64);
  box-shadow: 0px 0px 31px -12px rgba(0, 0, 0, 0.64);
}
.menu-block .login-message .text {
  text-align: center;
  font-size: 16px;
  font-family: var(--ui-main-font-family-bold);
  margin-bottom: 20px;
}

.menu-block .login-message .button {
  text-align: center;
  padding: 5px 20px 5px 20px;
  border-radius: 20px;
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  background-color: #ff0708;
  cursor: pointer;
  margin: 15px;
}
.menu-block .login-message .button.reverse {
  border: 1px solid #ff0708;
  color: #ff0708;
  background-color: rgba(255, 255, 255, 0);
}
.menu-block .login-message input {
  text-align: center;
  border: 1px solid;
  border-radius: 20px;
}
.flex-app {
  display: flex;
  flex-direction: column;
}

.flex-app.cra {
  height: 100vh;
  justify-content: space-between;
  padding-top: 50px;
}
.flex-app .avatar {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  padding: 40px 15px 15px 15px;
}
.flex-app .avatar .imgbox {
  width: 40px;
  height: 40px;
  display: flex;
  overflow: hidden;
}
.flex-app .avatar img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
}
#login-button {
  padding: 5px 20px 5px 20px;
  border-radius: 20px;
  font-size: 18px;
  font-weight: bold;
  background-color: #ff0708;
  color: #ffffff;
  cursor: pointer;
}
#logout-button {
  width: 100%;
  text-align: center;
  font-weight: bold;
  display: flex;
  flex-direction: row;
  justify-content: center;
}
#logout-button .btn-logout {
  text-align: center;
  font-weight: bold;
  width: 120px;
  font-size: 16px;
  border-radius: 20px;
  border: 1px solid #ff0708;
  padding: 5px 15px 5px 15px;
  color: #ff0708;
  cursor: pointer;
}
.mhf-license-text {
  margin-top: 20px;
  width: 100vw;
  height: 60px;
  bottom: 10px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.2);
}
.login-opacity {
  background-color: #ff0708;
  opacity: 0.2 !important;
}
.login-message-bottom {
  background-color: #ffffff;
  position: fixed;
  display: flex;
  flex-direction: column;
  bottom: 0px;
  /* padding: 20px; */
  width: 100vw;
  -webkit-box-shadow: 0px 0px 31px -12px rgba(0, 0, 0, 0.64);
  -moz-box-shadow: 0px 0px 31px -12px rgba(0, 0, 0, 0.64);
  box-shadow: 0px 0px 31px -12px rgba(0, 0, 0, 0.64);
}
.login-message-bottom .header {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 15px 15px 0px 15px;
  /* border-bottom: 1px solid rgba(0,0,0,0.1); */
}
.login-message-bottom .header img {
  width: auto;
  height: 20px;
  margin-right: 10px;
}
.login-message-bottom .header img.big {
  width: 60px;
  height: auto;
  margin-right: 0px;
}
.login-message-bottom .header .title {
  font-size: 18px;
  font-family: var(--ui-main-font-family-bold);
}
.login-message-bottom .content {
  padding: 15px;
}
.login-message-bottom .content .subtitle {
  font-size: 18px;
  font-family: var(--ui-main-font-family-regular);
  color: rgba(0, 0, 0, 0.7);
  text-align: center;
}

.login-message-bottom .content > input {
  width: 100%;
  height: 50px;
  border-radius: 25px;
  margin: 20px 0px 20px 0px;
  text-align: center;
  background-color: #00a3f121 !important;
  color: #0083c2 !important;
  border: none !important;
  font-family: var(--ui-main-font-family-regular);
}
.login-button-x {
  font-family: var(--ui-main-font-family-bold);
  text-align: center;
  padding: 10px 20px 10px 20px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  background-color: #0b76ba !important;
  cursor: pointer;
  margin-bottom: 20px;
}
.login-button-x.reverse {
  color: #0b76ba !important;
  border: 1px solid #0b76ba !important;
  background-color: #ffffff !important;
}
.idnumber {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
  font-size: 14px;
  font-family: var(--ui-main-font-family-bold);
  color: #0b76ba;
  margin-top: 10px;
}
.numberidcard {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25%;
  height: 30px;
  background-color: #00a3f121;
  border-radius: 20px 0px 0px 20px;
}
.numberpassport {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25%;
  height: 30px;
  background-color: #00a3f121;
  border-radius: 0px 20px 20px 0px;
}

.box-switch {
  position: absolute;
  top: 15px;
  right: 6px;
}

.full-height {
  min-height: 100vh;
}
.avatar-switch {
  margin-top: 10px;
  margin-right: 10px;
}
.label-switch {
  display: flex;
  background-color: rgba(0, 0, 0, 0.2);
  height: 30px;
  border-radius: 15px;
  padding: 5px;
  cursor: pointer;
}
.label-switch div {
  width: 50%;
  padding: 2px 7px 2px 7px;
  font-size: 12px;
  font-weight: bold;
  color: #ffffff;
  border-radius: 20px;
}
.label-switch div.on {
  background-color: #ffffff;
  color: rgba(0, 0, 0, 0.2);
}

.switch {
  position: relative;
  display: inline-block;
  margin: 0 5px;
}

.switch > span {
  position: absolute;
  top: 4px;
  pointer-events: none;
  font-family: "Helvetica", Arial, sans-serif;
  font-weight: bold;
  font-size: 12px;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  width: 50%;
  text-align: center;
}

input.check-toggle-round-flat:checked ~ .off {
  color: #0b76ba;
}

input.check-toggle-round-flat.grey:checked ~ .off {
  color: rgba(0, 0, 0, 0.3);
}

input.check-toggle-round-flat:checked ~ .on {
  color: #fff;
}

.switch > span.on {
  left: 0;
  padding-left: 2px;
  color: #0b76ba;
}

.switch > span.on.grey {
  left: 0;
  padding-left: 2px;
  color: rgba(0, 0, 0, 0.3);
}

.switch > span.off {
  right: 0;
  padding-right: 4px;
  color: #fff;
}

.check-toggle {
  position: absolute;
  margin-left: -9999px;
  visibility: hidden;
}

.check-toggle + label {
  display: block;
  position: relative;
  cursor: pointer;
  outline: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input.check-toggle-round-flat + label {
  padding: 2px;
  width: 75px;
  height: 25px;
  background-color: #0b76ba;
  -webkit-border-radius: 60px;
  -moz-border-radius: 60px;
  -ms-border-radius: 60px;
  -o-border-radius: 60px;
  border-radius: 60px;
}

input.check-toggle-round-flat + label:before,
input.check-toggle-round-flat + label:after {
  display: block;
  position: absolute;
  content: "";
}

input.check-toggle-round-flat + label:before {
  top: 2px;
  left: 2px;
  bottom: 2px;
  right: 2px;
  background-color: #0b76ba;
  -moz-border-radius: 60px;
  -ms-border-radius: 60px;
  -o-border-radius: 60px;
  border-radius: 60px;
}

input.check-toggle-round-flat + label:after {
  top: 4px;
  left: 4px;
  bottom: 4px;
  width: 35px;
  background-color: #fff;
  -webkit-border-radius: 52px;
  -moz-border-radius: 52px;
  -ms-border-radius: 52px;
  -o-border-radius: 52px;
  border-radius: 52px;
  -webkit-transition: margin 0.2s;
  -moz-transition: margin 0.2s;
  -o-transition: margin 0.2s;
  transition: margin 0.2s;
}

input.check-toggle-round-flat:checked + label {
}

input.check-toggle-round-flat:checked + label:after {
  margin-left: 32px;
}

.workinghourSpan {
  display: inline-block;
  font-size: 12px;
  background-color: rgba(255, 255, 255, 0.2);
  margin-top: 10px;
  padding: 2px 12px 2px 12px;
  border-radius: 10px;
  font-family: var(--ui-main-font-family-regular);
}
.ordermed {
  background-color: #fe8282;
  border-radius: 20px;
  padding: 14px;
  margin: 10px 17px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
div-row {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.medimg {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}
.nextmed {
  width: 40px;
  height: 40px;
}
.textmeden {
  font-family: var(--ui-main-font-family-bold);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
}
.textmedth {
  font-family: var(--ui-main-font-family-bold);
  color: #fff;
  font-size: 20px;
}

.float-icon {
  display: none;
  position: fixed;
  top: 40px;
  left: 20px;
  width: 32px;
  height: 32px;
  /* display: flex; */
  justify-content: center;
  align-items: center;
}

@media only screen and (max-width: 400px) {
  .textmedth {
    font-size: 18px;
  }

  .float-icon {
    width: 40px;
    height: 40px;
  }

  .float-icon.show {
    display: flex;
  }
}
