:root {
  --vh-offset: 0px;
}

/** height: calc(100vh - var(--vh-offset)); **/

body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  color: #9B9B9B;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 400;
  background-image: url(../img/pattern.png);
}

html,
body {
  overflow-x: hidden;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: normal;
  margin: 0;
}

h1 {
  font-size: 27px;
}

h2 {
  font-size: 18px;
  font-weight: 700;
}

h3 {
  font-size: 16px;
}

.greenColor {
  color: #00AA44;
}

.darkGreenColor {
  color: #A1B2A8;
}

.lightGreenColor {
  color: #A7DDBD;
}

.grayColor {
  color: #A3A3A3;
}

div {
  position: relative;
  -webkit-transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
  transition: all 500ms ease;
}

.centerimage img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

#main_content {
  min-height: 100vh;
  min-height: calc(100vh - var(--vh-offset));
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  background-color: #EDF9F2;
  -webkit-box-shadow: 0 0 50px 0 rgba(0, 90, 36, 0.1);
  box-shadow: 0 0 50px 0 rgba(0, 90, 36, 0.1);
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  border-left: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

#main_content.dark {
  background: #DDF8E9;
}

#main_logo {
  width: 90%;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
  z-index: 1;
  padding-top: 27px;
}

#main_logo img {
  width: 100%;
}

#login_form {
  margin-top: 20px;
}

.content {
  width: 100%;
  padding: 25px;
  z-index: 1;
  max-width: 500px;
}

.content.align_center {
  text-align: center;
}

.content.fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

}

.main_btn {
  background-color: #00AA44;
  -webkit-border-radius: 30px;
  border-radius: 30px;
  border: 0px none;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  height: 56px;
  line-height: 56px;
  padding: 0 30px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  display: block;
  width: 100%;
}

.main_btn:hover {
  opacity: 0.8;
}

.main_btn.tr {
  background-color: rgba(0, 170, 68, 0.8);
}

.main_btn.tr:hover {
  background-color: rgba(0, 170, 68, 1);
  opacity: 1;
}

#home_illustration {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  font-size: 0;
}

#background_gradient {
  background: -moz-linear-gradient(top, rgba(237, 249, 242, 1) 0%, rgba(237, 249, 242, 0) 100%);
  background: -webkit-linear-gradient(top, rgba(237, 249, 242, 1) 0%, rgba(237, 249, 242, 0) 100%);
  background: linear-gradient(to bottom, rgba(237, 249, 242, 1) 0%, rgba(237, 249, 242, 0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#edf9f2', endColorstr='#00edf9f2', GradientType=0);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#welcome_box {
  margin-top: 40px;
}

#page_welcome_box {
  padding-top: 10px;
}

.detail #page_welcome_box {
  padding-top: 0px;
  padding-left: 35px;
}

.detail #page_welcome_box .arrow {
  width: 14px;
  position: absolute;
  top: 15px;
  left: 0;
  cursor: pointer;
}

.detail #page_welcome_box .arrow:hover {
  opacity: 0.6;
}

#pages_logo {
  opacity: 0.08;
  position: fixed;
  top: -10px;
  left: -10px;
}

.pages_box {
  background: -moz-linear-gradient(top, rgba(237, 249, 242, 1) 0%, rgba(237, 249, 242, 1) 85%, rgba(237, 249, 242, 0) 100%);
  background: -webkit-linear-gradient(top, rgba(237, 249, 242, 1) 0%, rgba(237, 249, 242, 1) 85%, rgba(237, 249, 242, 0) 100%);
  background: linear-gradient(to bottom, rgba(237, 249, 242, 1) 0%, rgba(237, 249, 242, 1) 85%, rgba(237, 249, 242, 0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#edf9f2', endColorstr='#00edf9f2', GradientType=0);

  -webkit-border-radius: 30px 30px 0 0;
  border-radius: 30px 30px 0 0;
  margin-top: 160px;
  z-index: 2;
  padding-bottom: 70px;
}

.detail .pages_box {
  margin-top: 100px;
}

.pages_box.alt_week {
  margin-top: 190px;
  padding-top: 20px;
}

.day_tab {
  margin-bottom: 20px;
}

.content .day_tab:last-child {
  margin-bottom: 0;
}

.day_tab.closed {
  cursor: pointer;
}

.day_tab.closed .day_title {
  height: 85px;
}

.day_tab.closed .day_title h3 {
  display: none;
}

.day_tab.closed .day_title h2 {
  margin-top: 12px;
}

.day_tab.closed .day_content {
  display: none;
}

.day_title {
  background: #5AC987;
  padding: 20px;
  color: #fff;
  -webkit-border-radius: 30px;
  border-radius: 30px;
  height: 125px;
}

.day_title.alt {
  background: #E68460;
}

.day_title.alt .number {
  color: #EAB6A3;
}

.day_title.special {
  background: #E2A83A;
}

.day_title.special .number {
  color: #EBCF9A;
}

.day_title.detail {
  background: #5AC987;
  padding: 20px;
  color: #fff;
  -webkit-border-radius: 30px;
  border-radius: 30px;
  height: auto;
  padding-bottom: 60px;
}

.day_title_content {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 85px;
  bottom: 20px;
}

.detail .day_title_content {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
}

.day_title h2 {
  margin-top: 5px;
}

.day_title .number {
  position: absolute;
  font-size: 50px;
  right: 15px;
  top: 12px;
  font-weight: 300;
  color: #A7DDBD;
}

.day_content {
  -webkit-border-radius: 30px;
  border-radius: 30px;
  background: #fff;
  padding: 20px;
  margin-top: -40px;
}

.day_content.alt {}


.day_content.noTitle {
  margin-top: 0px;
}

.pill_item {
  -webkit-border-radius: 30px;
  border-radius: 30px;
  -webkit-box-shadow: 0 0 20px 0 rgba(0, 90, 36, 0.1);
  box-shadow: 0 0 20px 0 rgba(0, 90, 36, 0.1);
  margin: 20px 0;
  padding: 20px;
}

.group {
  -webkit-box-shadow: 0 0 20px 0 rgba(0, 90, 36, 0.1);
  box-shadow: 0 0 20px 0 rgba(0, 90, 36, 0.1);
  margin: 20px 0;
  -webkit-border-radius: 30px;
  border-radius: 30px;
  overflow: hidden;
}

.group .pill_item {
  -webkit-box-shadow: 0 0 0 0 rgba(0, 90, 36, 0.1);
  box-shadow: 0 0 0 0 rgba(0, 90, 36, 0.1);
  margin: 0;
}

.pill_item.brand {
  background: #F2F2F2;
  border: 1px #fff solid;
}

.pill_item.brand span {
  font-weight: 700;
}

.day_content.noTitle .pill_item:first-child {
  margin-top: 0;
}

.day_content .pill_item:last-child {
  margin-bottom: 0;
}

.pill_item.w {
  padding-right: 115px;
}

.pill_item.c {
  padding-right: 60px;
}

.pill_item.c.w {
  padding-right: 150px;
}

.pill_item.g {
  background: #5AC987;
  border: 1px #fff solid;
  color: #fff;
}

.pill_item.clickable {
  cursor: pointer;
}

.pill_item .title {}

.pill_item.w .weight {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
}

.pill_item .weight {
  font-size: 14px;
  font-style: italic;
  margin-top: 5px;
}

.pill_item.c .weight {
  right: 50px;
}

.pill_item .circle {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 20px;
  height: 20px;
  border: 1px #fff solid;
}

.pill_item .circle.green {
  background: #90DB7E;
}

.pill_item .circle.yellow {
  background: #E8DD59;
}

.pill_item .circle.red {
  background: #D55959;
}

.day_content_title .inline {
  vertical-align: bottom;
}

.day_content_title h2 {
  font-size: 16px;
}

.day_content_title span {
  font-size: 25px;
  margin-right: 15px;
  line-height: 25px;
}

#main_menu_gradient {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  z-index: 10;
  max-width: 500px;
  width: 100%;
  left: 50%;
  -webkit-transform: translate(-50%, 0%);
  transform: translate(-50%, 0%);
  background: -moz-linear-gradient(top, rgba(237, 249, 242, 0) 0%, rgba(237, 249, 242, 1) 100%);
  background: -webkit-linear-gradient(top, rgba(237, 249, 242, 0) 0%, rgba(237, 249, 242, 1) 100%);
  background: linear-gradient(to bottom, rgba(237, 249, 242, 0) 0%, rgba(237, 249, 242, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00edf9f2', endColorstr='#edf9f2', GradientType=0);
  pointer-events: none;

}

#main_menu {
  position: fixed;
  bottom: 15px;
  left: 0;
  right: 0;
  height: 55px;
  background: #5AC987;
  z-index: 10;
  max-width: 500px;
  width: 95%;
  left: 50%;
  -webkit-transform: translate(-50%, 0%);
  transform: translate(-50%, 0%);
  -webkit-border-radius: 30px;
  border-radius: 30px;
}

#main_menu .right_btn {
  position: absolute;
  width: 40px;
  height: 40px;
  background: #fff;
  right: 7px;
  top: 7px;
  cursor: pointer;
}

#main_menu .right_btn:hover {
  opacity: 0.7;
}

#main_menu .left_btn {
  position: absolute;
  width: 40px;
  height: 40px;
  left: 7px;
  top: 7px;
  cursor: pointer;
}

#main_menu .left_btn:hover {
  opacity: 0.7;
}

.photo_box {
  -webkit-border-radius: 30px;
  border-radius: 30px;
  overflow: hidden;
  -webkit-box-shadow: 0 0 50px 0 rgba(0, 90, 36, 0.1);
  box-shadow: 0 0 50px 0 rgba(0, 90, 36, 0.1);
  border: 10px #fff solid;
}

.spacer_title {
  margin-bottom: 20px;
}

.brand_box {
  margin-bottom: 20px;
}

.day_content .brand_box:last-child {
  margin-bottom: 0;
}

.brand_box.closed .brand_box_content {
  display: none;
}

.brand_box.opened .brand_box_content {
  display: block;
}

#alt_week_select {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 160px;
  z-index: 6;
  backface-visibility: hidden;
}

#alt_week_title {
  cursor: pointer;
  -webkit-border-radius: 30px;
  border-radius: 30px;
  height: 50px;
  line-height: 50px;
  background: #EDF9F2;
  padding: 0 20px;
  padding-right: 50px;
  color: #A1B2A8;
  border: 1px #fff solid;
  -webkit-box-shadow: 0 0 50px 0 rgba(0, 90, 36, 0.1);
  box-shadow: 0 0 50px 0 rgba(0, 90, 36, 0.1);
  width: 100%;
}

#alt_week_select h3 {
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#alt_week_select .arrow {
  position: absolute;
  right: 20px;
  top: 0;
}

#alt_week_select .arrow.rotate {
  -moz-transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}


#alt_week_content {
  background: #EDF9F2;
  color: #A1B2A8;
  border: 1px #fff solid;
  -webkit-box-shadow: 0 0 50px 0 rgba(0, 90, 36, 0.1);
  box-shadow: 0 0 50px 0 rgba(0, 90, 36, 0.1);
  width: 100%;
  -webkit-border-radius: 30px;
  border-radius: 30px;
  margin-top: 10px;
  text-align: center;
  opacity: 0;
  backface-visibility: hidden;
  visibility: hidden;
  -moz-transform: translateY(-50px);
  -webkit-transform: translateY(-50px);
  -o-transform: translateY(-50px);
  -ms-transform: translateY(-50px);
  transform: translateY(-50px);
  display: none;
}

#alt_week_content.show {
  opacity: 1;
  visibility: visible;
  -moz-transform: translateY(0px);
  -webkit-transform: translateY(0px);
  -o-transform: translateY(0px);
  -ms-transform: translateY(0px);
  transform: translateY(0px);
  display: block;
}

.alt_week_item {
  padding: 30px 20px;
  border-bottom: 1px #DCEBE3 solid;
  cursor: pointer;
}

.alt_week_item:hover {
  opacity: 0.5;
}

#alt_week_content .alt_week_item:last-child {
  margin-bottom: 0;
  border: 0px none;
}

#alt_week_overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  backface-visibility: hidden;
  visibility: hidden;
  z-index: 5;
}

#alt_week_overlay.show {
  opacity: 1;
  visibility: visible;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(2px);
}

.switch_btn {
  position: absolute;
  z-index: 3;
  cursor: pointer;
  display: none;
  background: #fff;
  width: 30px;
  height: 30px;
  -webkit-box-shadow: 0 0 20px 0 rgba(0, 90, 36, 0.1);
  box-shadow: 0 0 20px 0 rgba(0, 90, 36, 0.1);
}

.switch_btn span {
  font-size: 16px;
  font-weight: bold;
  color: #5AC987;
}

.switch_btn span img {
  width: 16px;
}

.switch_btn.special span {
  font-size: 0;
}

.switch_btn.selected {
  background: #5AC987;
  border: 2px #fff solid;
}

.switch_btn.selected span {
  color: #fff;
}

.switch_btn.selected span img {
  filter: brightness(10);
}

.day_tab.opened .switch_btn {
  display: block;
}

.switch_btn.one {
  top: -10px;
  right: 30px;
}

.switch_btn.two {
  top: -10px;
  right: -10px;
}

.switch_buttons.special .switch_btn.one {
  top: -10px;
  right: 70px;
}

.switch_buttons.special .switch_btn.two {
  top: -10px;
  right: 30px;
}

.switch_buttons.special .switch_btn.special {
  top: -10px;
  right: -10px;
}



@media only screen and (max-height: 650px) {


  #welcome_box {
    margin-top: 20px;
  }

  #home_illustration {
    opacity: 0.3;
  }

}

@media only screen and (min-width: 500px) {

  .content {
    margin-left: auto;
    margin-right: auto;
  }

  #pages_logo {
    display: none;
  }

}


@media only screen and (max-width: 900px) {}


@media only screen and (max-width: 750px) {}

@media only screen and (max-width: 650px) {}

@media only screen and (max-width: 600px) {}

@media only screen and (max-width: 500px) {}

@media only screen and (max-width: 400px) {}



.is-invalid {
  border: 2px #e84444 solid !important;
  color: #e84444 !important;
}

.is-invalid {
  border: 2px #e84444 solid !important;
  color: #e84444 !important;
}

.invalid-feedback {
  position: absolute;
  bottom: -15px;
  left: 0;
  right: 0;
  text-align: center;
  background: #e84444;
  -webkit-border-radius: 30px;
  border-radius: 30px;
  padding: 5px;
  font-size: 14px;
  color: #fff;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


#logout_btn {
  position: absolute;
  cursor: pointer;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
}


.pages_box.noTitle {
  margin-top: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
}

.day_title.detail.red {
  background: #E53030;
}

.pill_item.a {
  padding-right: 50px;
  cursor: pointer;
}

.pill_item.a:before {
  content: url(../img/arrow_g.svg);
  position: absolute;
  top: 20px;
  right: 20px;
  width: 10px;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  -moz-transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  transform: rotate(-90deg);
}

.pill_item.a.opened:before {
  -moz-transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
  right: 24px;
}



.pill_item.a.c {
  padding-right: 100px;
}

.pill_item.a.c .weight {
  right: 0px;
}

.pill_item.a .circle {
  right: 45px;
}



.popup_overlay {
  z-index: 11;
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0;
  visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: all 600ms ease;
  -moz-transition: all 600ms ease;
  -ms-transition: all 600ms ease;
  -o-transition: all 600ms ease;
  transition: all 600ms ease;
}

.popup_overlay.show {
  visibility: visible;
  opacity: 1;
}

.popup_box {
  top: 20px;
  left: 50px;
  right: 50px;
  bottom: 20px;
  z-index: 12;
  background: #fff;
  -webkit-border-radius: 30px;
  border-radius: 30px;
  position: fixed;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  -webkit-transition: all 600ms ease;
  -moz-transition: all 600ms ease;
  -ms-transition: all 600ms ease;
  -o-transition: all 600ms ease;
  transition: all 600ms ease;
  -moz-transform: translateY(100%);
  -webkit-transform: translateY(100%);
  -o-transform: translateY(100%);
  -ms-transform: translateY(100%);
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  backface-visibility: hidden;
}

.popup_box.show {
  -moz-transform: translateY(0);
  -webkit-transform: translateY(0);
  -o-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.popup_content {
  padding: 30px;
  -webkit-overflow-scrolling: touch;
  position: absolute;
  top: 50px;
  bottom: 0;
  right: 0;
  left: 0;
  overflow-y: auto;
}

.popup_title {
  background: #5AC987;
  color: #fff;
  height: 50px;
  line-height: 50px;
  padding: 0 30px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.popup_close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 20px;
  z-index: 13;
  cursor: pointer;
}

.popup_close img {
  width: 100%;
}



.pill_item.showPopup {
  padding-right: 50px;
  cursor: pointer;
}

.pill_item.showPopup:before {
  content: url(../img/list.svg);
  position: absolute;
  top: 24px;
  right: 20px;
  width: 20px;
}

.z-index-front {
  z-index: 9999;
}

.prevent-select {
  -webkit-user-select: none;
  /* Safari */
  -ms-user-select: none;
  /* IE 10 and IE 11 */
  user-select: none;
  /* Standard syntax */
}