@import url("https://fonts.googleapis.com/css?family=Raleway:400,600,700&display=swap");
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600&display=swap");

/** Ionic CSS Variables **/
:root {
    /** primary **/
    --ion-color-primary: #007bff;
    --ion-color-primary-rgb: 0, 123, 255;
    --ion-color-primary-contrast: #ffffff;
    --ion-color-primary-contrast-rgb: 255, 255, 255;
    --ion-color-primary-shade: #006ce0;
    --ion-color-primary-tint: #1a88ff;

    --ion-color-secondary: #52bf94;
    --ion-color-secondary-rgb: 82, 191, 148;
    --ion-color-secondary-contrast: #000000;
    --ion-color-secondary-contrast-rgb: 0, 0, 0;
    --ion-color-secondary-shade: #48a882;
    --ion-color-secondary-tint: #63c59f;

    --ion-color-tertiary: #ffc400;
    --ion-color-tertiary-rgb: 255, 196, 0;
    --ion-color-tertiary-contrast: #000000;
    --ion-color-tertiary-contrast-rgb: 0, 0, 0;
    --ion-color-tertiary-shade: #e0ac00;
    --ion-color-tertiary-tint: #ffca1a;

    --ion-color-success: #1fc15f;
    --ion-color-success-rgb: 31, 193, 95;
    --ion-color-success-contrast: #ffffff;
    --ion-color-success-contrast-rgb: 255, 255, 255;
    --ion-color-success-shade: #1baa54;
    --ion-color-success-tint: #35c76f;

    --ion-color-warning: #f59400;
    --ion-color-warning-rgb: 245, 148, 0;
    --ion-color-warning-contrast: #000000;
    --ion-color-warning-contrast-rgb: 0, 0, 0;
    --ion-color-warning-shade: #d88200;
    --ion-color-warning-tint: #f69f1a;

    --ion-color-danger: #f04141;
    --ion-color-danger-rgb: 245, 61, 61;
    --ion-color-danger-contrast: #ffffff;
    --ion-color-danger-contrast-rgb: 255, 255, 255;
    --ion-color-danger-shade: #d33939;
    --ion-color-danger-tint: #f25454;

    --ion-color-dark: #222428;
    --ion-color-dark-rgb: 34, 34, 34;
    --ion-color-dark-contrast: #ffffff;
    --ion-color-dark-contrast-rgb: 255, 255, 255;
    --ion-color-dark-shade: #1e2023;
    --ion-color-dark-tint: #383a3e;

    --ion-color-medium: #989aa2;
    --ion-color-medium-rgb: 152, 154, 162;
    --ion-color-medium-contrast: #ffffff;
    --ion-color-medium-contrast-rgb: 255, 255, 255;
    --ion-color-medium-shade: #86888f;
    --ion-color-medium-tint: #a2a4ab;

    --ion-color-light: #f4f5f8;
    --ion-color-light-rgb: 244, 244, 244;
    --ion-color-light-contrast: #000000;
    --ion-color-light-contrast-rgb: 0, 0, 0;
    --ion-color-light-shade: #d7d8da;
    --ion-color-light-tint: #f5f6f9;

    --ion-font-family: "Source Sans Pro", sans-serif;
    --ion-default-font: "Source Sans Pro", sans-serif;
}

html,
body {
    overflow: unset !important;
    background: #f2f4ff;
}

body {
    max-height: unset;
    height: unset;
    position: relative;
    min-height: 100%;
}

.sticky-toolbar {
    z-index: 999;
    position: sticky !important;
    position: -webkit-sticky !important;
    top: 0;
    transition: all 0.3s;
}

.harmony-toolbar {
    color: var(--ion-toolbar-color, var(--ion-text-color, #424242));
    padding: 0;
    height: 50px;
    font-family: "Raleway";
    position: inherit;
}

.harmony-container {
    max-width: 1366px;
    margin: 0 auto;
}

.legal {
    float: right;
    margin-right: 9px;
    cursor: pointer;
}

.legal ion-icon {
    vertical-align: middle;
}

.logo-wrapper {
    text-decoration: none;
    min-width: 210px;
    color: black;
}

.logo {
    width: 32px;
    height: 32px;
    margin: 9px;
    float: left;
}

.logo-span {
    cursor: pointer;
    font-weight: 600;
    min-width: 160px;
}

.logo-divider {
    cursor: pointer;
    margin-left: 9px;
}

.profile {
    float: right;
    margin-right: 9px;
    cursor: pointer;
}

.profile a.login {
    text-decoration: none;
    background: var(--ion-color-secondary);
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
}

.profile a.logout {
    text-decoration: none;
    background: var(--ion-color-danger);
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
}

.harmony-footer {
    color: var(--ion-toolbar-color, var(--ion-text-color, #424242));
    padding: 0;
    height: 50px;
}

.harmony-menu {
    width: 100%;
    display: block;
    overflow-x: auto;
    overflow-y: hidden;
}

.nav:first-child {
    margin-left: 9px;
}
.nav:last-child {
    padding-right: 9px;
}

.nav {
    color: var(--ion-color-secondary-contrast);
    margin: 0 20px;
    padding: 0 5px;
    margin-left: 10px;
    line-height: 50px;
    height: 50px;
    font-weight: 600;
    float: left;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.nav ion-icon {
    vertical-align: middle;
}

.nav:hover,
.nav-item:hover {
    color: var(--ion-color-secondary);
}

.active {
    border-bottom: 3px solid var(--ion-color-secondary);
}

.scroll-container {
    display: flex;
}

.nav:hover .dropdown-content {
    display: block;
}

.more-prev {
    position: absolute;
    top: 0;
    left: 0;
    width: 18px;
    height: 50px;
    background-image: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}

.more-next {
    position: absolute;
    top: 0;
    right: 0;
    width: 18px;
    height: 50px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), white);
}

.main-container {
    margin-bottom: 24px;
    min-height: calc(100vh - 124px);
}

.harmony-title {
    font-family: "Raleway";
    font-weight: 700;
    line-height: 40px;
    display: flex;
}

.harmony-title-icon {
    background: var(--ion-color-tertiary);
    padding: 8px;
    color: var(--ion-color-dark);
    border-radius: 50%;
    margin-right: 10px;
    font-size: 22px;
    border: 1px solid var(--ion-color-tertiary-shade);
}

.sticky {
    background: #fff;
    --background: #ffffff;
    box-shadow: 1px 0px 20px rgba(0, 0, 0, 0.16);
}

.ios .sticky {
    background: rgba(245, 245, 245, 0.7);
    --background: rgba(245, 245, 245, 0.7);
    box-shadow: 1px 0px 20px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.background-art {
    max-height: 100vh;
    width: 100vw;
    object-fit: cover;
    position: absolute;
    left: 0;
    opacity: 0.3;
    user-select: none;
    pointer-events: none;
}

iframe {
}

.harmony-hero-title {
    font-family: "Raleway";
    font-weight: 600;
    text-align: center;
    font-size: 24px;
}

.harmony-loading-title {
    font-family: "Raleway";
    text-align: center;
    font-size: 24px;
    line-height: 56px;
    position: absolute;
    width: 100%;
    max-width: 1366px;
}

.tracking-number {
    text-align: center;
    border-radius: 5px;
    border: 2px dashed var(--ion-color-primary);
    background: #fff;
    max-width: 400px;
    margin: 0 auto;
    padding: 10px;
    font-size: 18px;
    font-family: monospace;
    font-weight: 600;
}

.tracking-number input {
    width: 100%;
    height: 100%;
    background: #fff;
    border: none;
}

@media screen and (min-width: 768px) {
    .harmony-menu {
        width: 100%;
        display: block;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: thin;
    }

    .harmony-menu::-webkit-scrollbar {
        height: 4px;
        width: 4px;
    }
    .harmony-menu::-webkit-scrollbar-thumb:horizontal {
        background: #cdcdcd;
        border-radius: 10px;
    }

    .harmony-hero-title {
        margin-top: 156px;
    }

    .harmony-hero-card {
        margin-top: 156px;
    }

    .harmony-loading-title {
        margin-top: 156px;
    }

    .hamburger-menu {
        display: none !important;
    }

    ion-modal {
        --width: 50vw !important;
        --height: 50vh !important;
        width: 100vw !important;
        height: 100vh !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
    }
}

@media screen and (max-width: 767px) {
    .logo-wrapper {
        width: 100%;
    }

    .profile-search {
        display: none;
    }

    .harmony-menu {
        display: none !important;
    }

    ion-modal {
        --width: 100vw !important;
        --height: 100vh !important;
        width: 100vw !important;
        height: 100vh !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
    }
}

.harmony-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
    padding: 10px;
}

.harmony-card.green {
    background: #bff1cb;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
    padding: 10px;
    cursor: pointer;
}

.harmony-card.yellow {
    background: #f1ebff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
    padding: 10px;
    cursor: pointer;
}

.harmony-card.yellow ion-item {
    --background: #f1ebff;
}

.background-yellow {
    --background: #f1ebff;
    background: #f1ebff;
}

.harmony-card h3 {
    font-size: 18px;
    margin-top: 0;
    font-weight: 700;
    font-family: "Source Sans Pro", sans-serif;
    color: var(--ion-color-primary);
}

.harmony-card h4 {
    font-size: 16px;
    margin-top: 4px;
    margin-bottom: 4px;
    font-weight: 700;
    font-family: "Source Sans Pro", sans-serif;
    text-align: center;
    color: var(--ion-color-primary);
}

.full-height {
    height: 100%;
}

.half-height {
    height: calc(50% - 5px);
    min-height: 300px;
}

.header-md:after {
    opacity: 0;
}

.header-md ion-title {
    left: 0;
    top: 0;
    padding: 0 90px !important;
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
}

.hamburger-menu {
    overflow: hidden;
    min-width: 45px;
}

.hamburger-menu a {
    margin: 0 !important;
    width: 100% !important;
    padding-left: 18px !important;
}

profile-menu a {
    margin: 0 !important;
    width: 100% !important;
    padding-left: 18px !important;
}

.hamburger-menu .active {
    border-left: 4px solid var(--ion-color-secondary);
    border-bottom: none !important;
}

.harmony-chip {
    color: var(--color);
    border: 1px solid var(--color);
    border-radius: 16px;
    padding: 4px 8px;
    font-size: 14px;
    min-width: 72px;
    text-align: center;
    margin-right: 0 !important;
}

.harmony-item {
    --padding-start: 0;
    --inner-padding-end: 0;
}

.harmony-item ion-label {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.detail-card b {
    font-size: 13px;
    color: var(--blue);
    font-weight: 500;
}

.scrollable-tabs {
    scrollbar-color: #ddd #f4f4f4;
    scrollbar-width: thin;
    overflow-x: auto !important;
}

ion-picker {
    width: 100vw !important;
    height: 100vh !important;
}

.user-name {
    max-width: 70px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    font-size: 9px;
}

@media print {
    :root {
        --ion-color-primary: #000;
        --ion-color-primary-rgb: 0, 0, 0;
        --ion-color-primary-contrast: #ffffff;
        --ion-color-primary-contrast-rgb: 255, 255, 255;
        --ion-color-primary-shade: #000;
        --ion-color-primary-tint: #000;
    }

    html,
    body {
        background: #fff;
        font-size: 120%;
        display: inline-block;
    }

    .harmony-card {
        background: #fff;
        border-radius: 0;
        box-shadow: unset;
        padding: 10px;
        border: 1px solid grey;

    }

    .background-art {
        display: none;
    }

    #print-header {
        display: block !important;
    }

    #harmony-header,
    #harmony-action-menu,
    #detail-location,
    .harmony-footer,
    ion-button,
    .history-card,
    .remarks-card,
    .school-card,
    .assessments-card,
    .documents-card,
    .data-status,
    .data-reason,
    .data-contact,
    .data-email,
    .data-phone,
    .data-fee,
    .data-ayear,
    .data-grade,
    .harmony-card h3 {
        display: none !important;
    }

    #detail-applicationId,
    #detail-date,
    #detail-applyingforAcademic,
    #detail-applyingforGrade109,
    #detail-childsName,
    #detail-dateOf7,
    #detail-gender6,
    #detail-religion8,
    #detail-countryOf9,
    #detail-currentpreviousSchool,
    #detail-doesYour102,
    #detail-doesYour,
    #detail-hasYour89,
    #detail-describeYour91,
    #detail-describeYour101,
    #detail-doYou,
    #detail-areThere,
    #detail-whatAre,
    #detail-howDid,
    #detail-religion {
        display: none !important;
    }

    ion-col {
        width: calc(calc(12 / var(--ion-grid-columns, 12)) * 100%) !important;
        max-width: calc(calc(12 / var(--ion-grid-columns, 12)) * 100%) !important;
        flex: 0 0 calc(calc(12 / var(--ion-grid-columns, 12)) * 100%) !important;
        page-break-inside: avoid;
        display: inline;
        margin-top: 20px;
    }

    .detail-card {
        column-count: 2;
    }

    .detail-card b {
        color: #000 !important;
        font-weight: 700 !important;
        font-size: unset !important;
    }

    .student-card {
        column-count: 2;
    }
    .student-card img {
        max-height: 240px !important;
    }

    input,
    select {
        -moz-appearance: none; /* Firefox */
        -webkit-appearance: none; /* Safari and Chrome */
        appearance: none;
        background: #fff;
        border: none;
    }
}


.alert-radio-label,
.alert-checkbox-label {
    font-size: 13px !important;
}

.alert-checkbox-group,
.alert-radio-group {
    max-height: unset !important;
}

/* The container <div> - needed to position the dropdown content */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.nav-dropdown-content {
    display: none;
    position: fixed;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    top: 50px;
}

.profile .nav-dropdown-content {
    right: 0px;
    position: absolute;
    top: 36px;
}

/* Links inside the nav-dropdown */
.nav-dropdown-content a {
    line-height: 50px;
    height: 50px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    display: block;
    padding: 0 5px;
    color: var(--ion-color-secondary-contrast);
    margin: 0 20px;
}

.nav-dropdown-content h3 {
    font-size: 18px;
    margin-top: 0;
    font-weight: 700;
    font-family: "Source Sans Pro", sans-serif;
    color: var(--ion-color-primary);
}

/* Change color of nav-dropdown links on hover */
.nav-dropdown-content a:hover {
    color: var(--ion-color-secondary);
}

/* Show the dropdown menu on hover */
.nav-dropdown:hover .nav-dropdown-content {
    display: block;
}
.nav-dropdown:active .nav-dropdown-content {
    display: block;
}

.harmony-image-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
    contain: content;
}

.harmony-image-card h3 {
    font-size: 18px;
    margin-top: 0;
    font-weight: 700;
    font-family: "Source Sans Pro", sans-serif;
    color: var(--ion-color-primary);
    margin: 10px;
}

.btn {
    text-decoration: none !important;
}

action-menu {
    display: contents !important;
}