@font-face {
  font-family: Ubuntu;
  src: url('../fonts/Ubuntu-Regular.ttf')  format('truetype');
}

@font-face {
  font-family: Ubuntu-Bold;
  src: url('../fonts/Ubuntu-Bold.ttf')  format('truetype');
}

body, ion-title, ion-label, ion-text, ion-row, ion-col, ion-grid, ion-button, .alert-title, .alert-radio-label, .alert-button-inner{
  color: #1E3350;
  font-family: Ubuntu;
}

.image-container {
  min-height: 200px;
  background-size: cover;
}

.bg-image-container {
  min-height: 250px;
  background-size: cover;
  margin-top: -70px;
}    

.h-100 {
  height: 100%;
}

.d-flex {
  display: flex !important;
}

.hidden {
  visibility: hidden;
}

.c-pointer {
  cursor: pointer;
}

.flex-none {
  flex: none !important;
}

.title {
  font-size: 20px;
  letter-spacing: 0.0125em;
}

.logo-container {
  max-height: 60px;
}

.point-card ion-card-header {
  justify-content: center;
  display: flex;
  padding: 40px;
}

.point-card ion-card-header ion-card-title{
  font-size: 50px;
  font-family: 'Ubuntu-Bold';
}

.point-card ion-card-content {
  justify-content: center;
  display: flex;
}

.digit-group input {
		width: 30px;
		height: 50px;
		border: none;
		line-height: 50px;
		text-align: center;
		font-size: 24px;
		font-weight: 200;
    margin: 0 2px;
    border-bottom: 3px solid grey;
    outline: none !important;
	}

  .main-header {
    filter: drop-shadow(0px 2px 20px rgba(0, 0, 0, 0.098));
    position:sticky; 
    top:0;
  }

  .main-container {
    height: calc(100vh - 64px);
    overflow: auto;
  }

  .main-img {
    max-height: 300px;
  }

  .loading-wrapper {
    position: absolute !important;
  }

  .tab-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
  }

  .sc-ion-modal-md-h {
    --max-width: 60%;
    --max-height: auto;
    --min-height: 200px;
    --height: auto;
  }

  @media only screen and (min-width: 768px) and (min-height: 768px) {
    .sc-ion-modal-md-h {
      --width: 400px;
      --height: 200px;
    }
  }

  @media only screen and (max-width: 1418px) {
    .week-days-container {
      justify-content: start !important;
    }
  }

@media (min-width: 576px) {
  .card-title {
    font-size: 5vw !important;
  }
}

@media (min-width: 768px) { 
  .card-title {
    font-size: 4vw !important;
  }
 }

@media (min-width: 992px) { 
  .card-title {
    font-size: 2vw !important;
  }
 }

@media (min-width: 1200px) { 
  .card-title {
    font-size: 2vw !important;
  }
 }

 
@media (min-width: 1400px) { 
  .card-title {
    font-size: 1vw !important;
  }
 }

  .star_btn {
    cursor: pointer;
  }    
  .scrolled {
      transition: transform 0.5s ease;
      transform: translate3d(0, 0, 0);
  }
  .scrolled.ng-enter {
        transform: translate3d(100%, 0, 0);
  }
  .scrolled.ng-enter-active {
    transform: translate3d(0, 0, 0);
  }
  .scrolled.ng-leave {
    transform: translate3d(0, 0, 0);
  }
  .scrolled.ng-leave-active {
    transform: translate3d(-100%, 0, 0);
  }
    
  .backward .scrolled.ng-leave {
          transform: translate3d(0, 0, 0);
  }
  .backward .scrolled.ng-leave-active {
    transform: translate3d(100%, 0, 0);
  }
  .backward .scrolled.ng-enter {
    transform: translate3d(-100%, 0, 0);
  }
  .backward .scrolled.ng-enter-active {
    transform: translate3d(0, 0, 0);
  }
  .bg-light-grey {
    background: #F4F4F4;
    --background: #F4F4F4;
  }

  .bg-light-blue {
    background: #A0E7E5;
    --background: #A0E7E5;
  }

  .bg-light-green {
    background: #B4F8C8;
    --background: #B4F8C8;
  }

  .bg-pink {
    background: #FFAEBC;
    --background: #FFAEBC;
  }

  .bg-cream-white {
    background: #FBE7C6;
    --background: #FBE7C6;
  }

  .bg-white {
    background: #FFFFFF;
    --background: #FFFFFF;
  }

  .bg-blue {
    background: #1e3350;
    --background: #1e3350;
  }

  #WELCOME {
    font-family: 'Ubuntu-Bold';
    font-size: 40px;
    color: rgba(30,51,80,1);
    padding-left: 20px;
    padding-bottom: 16px;
    padding-top: 10px;
    word-break: break-all;
  }

  #What_will_you_be_doing_today {
		opacity: 0.828;
		font-family: 'Ubuntu-Bold';
    font-size: 28px;
    color: rgba(30,51,80,1);
    padding-left: 20px;
    padding-bottom: 32.4px;
	}

  .overview-label {
		font-family: Ubuntu;
    font-size: 28px;
    color: rgba(30,51,80,1);
    padding-top: 10px;
	}

	.overview-score {
		font-style: normal;
		font-family: 'Ubuntu-Bold';
		font-size: 40px;
		color: rgba(30,51,80,1);
	}

	#divider {
		opacity: 0.138;
		fill: rgba(153,143,162,1);
	}
	.divider {
    width: 219px;
    height: 1px;
    position: absolute;
    overflow: visible;
    transform: matrix(1,0,0,1,225.685,475) rotate(90deg);
    transform-origin: center;
	}

  .card-view {
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    min-height: calc(100% - 135px);
  }

  .card-container {
    margin: 10px;
  }

  .card {
    height: 180px;
    border-radius: 20px;
    filter: drop-shadow(0px 10px 6px rgba(0, 0, 0, 0.424));
    margin: 10px;
    padding: 15px 5px;
    cursor: pointer;
    justify-content: space-between;
    display: flex;
    flex-direction: column;
  }

  .card-title {
    object-fit: contain;
    font-family: 'Ubuntu-Bold';
    font-size: 5vw;
    text-align: center;
    color: #1e3350;
  }

  .card-body {
    text-align: end;
  }

  .card-body ion-icon {
    width: 50px;
    height: 60px;
  }

  .side-menu-header {
    filter: drop-shadow(0px 2px 20px rgba(0, 0, 0, 0.098));
    background-color: #f4f4f4;
    height: 70px
  }

  .side-menu-user-section {
    height: 70px;
  }

  .side-menu-user-section ion-icon{
    color: #1e3350;
    font-size: 35px;
    padding-left: 20px;
  }

  .side-menu-item {
    height: 70px;
    border-bottom: solid 1px rgba(112, 112, 112, 0.1);
    align-items: center;
    padding-left: 20px;
    background: white;
  }

  .side-menu-item ion-label {
    font-family: Ubuntu;
    font-size: 20px;
    color: #1e3350;
  }

  .side-menu-item ion-icon{
    font-size: 35px;
    padding-right: 15px;
  }

  .company-info {
    padding-bottom: 10px;
    font-family: Ubuntu;
    font-size: 20px;
    color: #1e3350;
  }

  .version-info {
    padding-bottom: 10px;
    font-family: Ubuntu;
    font-size: 20px;
    color: #1e3350;
  }

  .main-title {
    font-size: 28px;
    font-family: 'Ubuntu-Bold';;
    color: #1e3350;
    text-align: center;
    margin-left: -50px;
  }
  
  .back-btn {
    width: 50px;
  }

  .week-view {
    padding: 20px 0;
  }

  .week-view .icon-left{
    font-size: 35px;
    padding-right: 10px;
  }

  .week-view .icon-right{
    font-size: 35px;
    padding-left: 10px;
  }

  .week-container {
    font-size: 20px;
    color: #1e3350;
    padding: 10px;
    background: white;
  }

  .week-days-container {
    display: flex;
    overflow: auto;
    margin: 0 15px;
    padding-bottom: 18px;
    justify-content: center;
  }

  .week-days {
    min-width: 80px;
    min-height: 130px;
    border: solid 2px #1e3350;
    background-color: #ffffff;
    margin: 0 15px;
    border-radius: 55px;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
  }

  .week-days .day {
    font-size: 20px;
    color: #1e3350;
    font-family: 'Ubuntu-Bold';
    padding: 20px 0 9px;
  }

  .week-days .date {
    width: 65px;
    height: 65px;
    background-color: #fbe7c6;
    text-align: center;
    display: flex;
    border-radius: 50%;
  }

  .week-days .date .date-text {
    padding: 21px;
    font-family: 'Ubuntu-Bold';
    font-size: 20px;
    color: #1e3350;
  }

  .event-view {
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
  }

  .event-detail-view {
    height: calc(100% - 270px);
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    margin-top: -48px;
    overflow: auto;
  }

  .events-container {
    padding: 20px;
    color: #1e3350;
  }
  
  .settings-container {
    padding: 20px;
    color: #1e3350;
    height: calc(100% - 80px);
    overflow: auto;
  }

  .events-title {
    font-size: 28px;
    font-family: 'Ubuntu-Bold';
    padding: 0;
    letter-spacing: normal;
  }

  .event-detail-title {
    font-size: 24px;
    font-family: 'Ubuntu-Bold';
    padding: 0;
    letter-spacing: normal;
    margin-bottom: 20px;
  }

  .events-card {
    border: solid 1px rgba(112,112,112,1);
    padding: 20px;
    margin-top: 20px;
    border-radius: 5px;
    background-color: #F4F4F4;
  }

  .events-card-title {
    font-size: 24px;
    font-family: 'Ubuntu-Bold';
  }

  .events-icon {
    margin-right: -10px;
  }

  .events-time {
    padding: 20px 0;
  }

  .events-time ion-icon {
    font-size: 24px;
    padding-right: 5px;
  }

  .events-time ion-label {
    font-size: 16px;
    font-family: 'Ubuntu-Bold';
    color: #646965;
  }
  .events-buttons ion-icon{
    height: 20px;
    min-width: 20px;
  }
  .events-buttons ion-button{
    font-size: 18px;
    font-family: 'Ubuntu-Bold';
    color: #1e3350;
    text-transform: initial;
    min-height: 64px;
    letter-spacing: normal;
    margin: 8px;
    filter: drop-shadow(0px 10px 6px rgba(0, 0, 0, 0.302));
    
  }
  .btn-blue {
    --background: #1e3350;
    color: white !important;
  }

  .btn-pink {
    --background: #FFAEBC;
  }

  .btn-light-green {
    --background: #B4F8C8;;
  }

  .event-detail-segment {
    --background: #1e3350;
    color: white;
    letter-spacing: normal;
    height: 60px;
    border-radius: 30px;
    margin-bottom: 20px;
  }

  .event-detail-segment ion-segment-button {
    margin: 9px 5px;
    --border-radius: 30px;
    font-size: 20px;
    --color-checked: #1e3350;
    --indicator-color: #fbe7c6;
  }

  .segment-row {
    border-radius: 60px;
    border: 1px solid rgba(231,228,233,1);
    align-items: center;
    margin-bottom: 25px;
  }

  .segment-row ion-icon {
    font-size: 20px;
    padding: 20px;
  }

  .segment-row .event-segment-title {
    font-size: 20px;
    font-family: 'Ubuntu-Bold';
    color: #1e3350;
    margin-bottom: 5px;
  }

  .segment-row .event-segment-label {
    font-size: 16px;
    color: #998fa2;
  }

  .segment-detail.event-description {
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    padding: 20px;
  }

  .event-description-title {
    font-size: 24px;
    font-family: 'Ubuntu-Bold';
    letter-spacing: normal;
    color: #1e3350;
    margin-bottom: 15px;
  }

  .event-description-detail {
    font-size: 20px;
  }

  .event-action-tab {
    min-height: 70px;
    justify-content: space-around;
    --background: #f4f4f4;
  }

  .event-action-tab ion-tab-button {
    max-width: 100%;
  }

  .event-action-tab ion-tab-button ion-icon{
    height: 25px;
    width: 25px;
  }

  .event-action-tab ion-tab-button ion-label{
    font-size: 16px;
    font-family: 'Ubuntu-Bold';
    color: #1e3350;
  }

  ion-segment-button ion-label {
    color: white;
  }

  ion-segment-button.segment-button-checked ion-label {
    color: #1e3350;
  }

  .my-events {
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    height: calc(100% - 20px);
  }

  .my-points {
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    height: calc(100% - 20px);
    overflow: auto;
  }

  .points-card {
    border-radius: 40px;
    box-shadow: 0px 1px 6px 6px rgb(0 0 0 / 16%);
    padding: 50px 20px 34px !important;
    margin: 20px 10px
  }

  .achieve-title {
    font-family: 'Ubuntu-Bold';
    font-size: 24px;
    color: white;
    padding: 10px 0;
  }

  .achieve-icon {
    max-height: 100px;
  }

  .logout-footer {
    position: fixed;
    bottom: 0;
    padding: 25px 0;
    background: #F4F4F4;
  }

  .logout-footer ion-label{
    font-size: 20px;
    color: #1e3350;
    font-family: 'Ubuntu-Bold';
  }

  .logout-footer ion-icon{
    font-size: 30px;
    margin-right: 15px;
  }

  .setting-placeholder {
    color: #998FA2;
  }

  .field-label {
    color: #1E3350;
    font-size: 20px;
    font-family: 'Ubuntu-Bold';
    padding-bottom: 10px;
    width: 100%;
    border: none;
    outline: none;
    -moz-appearance:none; /* Firefox */
    -webkit-appearance:none; /* Safari and Chrome */
    appearance:none;
  }

  .field-icon {
    font-size: 40px;
    margin-right: 15px;
  }

  .setting-row {
    border: 1px solid rgba(231,228,233,1);
    border-radius: 60px;
    padding: 20px;
    margin-bottom: 50px;
    align-items: center;
  }

  .setting-arrow {
    font-size: 40px;
  }

  .domain-logo {
    max-height: 120px;
  }

  .backdrop {
    inset: 0px;
    position: absolute;
    transform: translateZ(0px);
    opacity: 0.1;
    touch-action: none;
    z-index: 2;
    background: #000;
  }

  .custom-loading {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #cac9c9;
    padding: 24px;
    border-radius: 2px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    box-shadow: 0 16px 20px rgb(0 0 0 / 40%);
    background: #f2f2f2;
  }

  .selected-date {
    background: #1E3350;
  }

  .selected-date .day{
    color: #FFF !important;
  }