﻿.main-page-wrapper {
    min-height: 345px;
    background-color: #f9fbfb;
    padding: 0 100px;
}

.page-container {
    padding: 10px 0;
    min-height: 800px;
}

program-view .page-container {
    min-height: 500px;
}

.page-section {
    display: block;
}

.custom-section.dashboard-tile-border img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.page-section-header {
    border-radius: 5px;
    padding: 20px 40px;
    text-align: center;
    margin: 12px;
}

.custom-section {
    margin: 12px;
    margin-bottom: 24px;
    padding: 0 20px;
    width: auto;
}

.page-section-header h2 {
    color: inherit;
    text-align: center;
    width: 100%;
}

.page-tile-list {
    display: grid !important;
    grid-auto-rows: 1fr;
    grid-auto-rows: minmax(100px, auto);
    grid-template-columns: repeat(3, 1fr);
}

.page-tile-wrapper {
    display: flex;
    height: 100%;
    /*max-height: 450px;*/
}

.page-tile-wrapper tracker-tile,
.page-tile-wrapper sleep-tracker-tile,
.page-tile-wrapper custom-tracker-tile {
    padding: 0;
}

.page-tile-wrapper > *,
program-tile-list program-tile,
course-tile-list course-tile {
    width: 100%;
    height: 100%;
    padding: 12px;
}

.ie-tiling {
    width: 33.33%;
}

.ie11-height-fix {
    min-height: 1080px !important;
    max-width: 100vw;
}

.ie11-height-fix > div {
    min-height: 1132px;
}

.ie11-height-fix todo-list,
.ie11-height-fix goals-list,
.ie11-height-fix wellness-vision-tile,
.ie11-height-fix todo-list > div,
.ie11-height-fix goals-list > div,
.ie11-height-fix wellness-vision-tile > div {
    min-height: 300px;
    margin-top: 16px;
}

.ie11-height-fix goals-list,
.ie11-height-fix goals-list > div {
    min-height: 360px;
    margin-top: 16px;
}

.image-background {
    width: 100%;
    height: auto;
    padding-bottom: 67%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.fs-modal-container {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: auto;
    background: rgba(255, 255, 255, 0.5);
    transition: opacity 0.1s ease-out;
    overflow: visible;
}

.fs-modal-panel {
    flex-direction: column;
    border: 1px solid #BABABA;
    background-color: #FFF;
    border-radius: 5px;
    width: 100%;
    height: 100%;
    margin: auto;
}

.fs-modal-panel.fullscreen {
    max-width: 100%;
    max-height: 100%;
}

.fs-modal-panel.dialog {
    max-width: 600px;
    max-height: 70%;
    margin-top: calc(5% + 50px);
}

.fs-modal-panel.dialog.smaller {
    max-height: 575px;
}

.fs-modal-panel.dialog.short {
    max-width: 500px;
    max-height: 450px;
}

.fs-modal-panel.dialog.wide,
.fs-modal-panel.dialog.Flow {
    max-width: 800px;
}

.modal-header-bookends {
    width: 120px;
}

.fs-modal-panel .footer-buttons {
    margin: auto;
    text-align: center;
}

.fs-modal-panel .modal-header-btn {
    padding: 0;
    min-width: 36px;
    line-height: 24px;
    margin: 0;
}

.fs-modal-panel .modal-footer-btn {
    text-transform: none;
    margin: 0;
    padding: 10px 0;
    line-height: normal;
}

.fs-modal-panel .modal-footer-btn .footer-border {
    border: 1px solid rgba(177, 179, 182, 0.5);
    border-radius: 50%;
    padding: 6px;
    max-width: 32px;
    max-height: 32px;
    text-align: center;
    margin: auto;
    margin-bottom: 4px;
}

.fs-modal-panel .modal-footer-btn .footer-border md-icon {
    height: 16px;
    width: 16px;
    min-height: 16px;
    min-width: 16px;
    vertical-align: inherit;
}

.fs-modal-bckgnd {
    /*padding: 20px;*/
    height: calc(100% - 74px);
    overflow-y: auto;
}

.fs-modal-panel.Flow .fs-modal-bckgnd {
    height: calc(100% - 74px);
}

.fs-modal-header h2 {
    text-align: center;
    font-size: 20px;
    line-height: 24px;
}

.fs-modal-panel.fullscreen .fs-modal-header h2 {
    font-size: 24px;
    line-height: 32px;
}

.fs-modal-header {
    height: 72px;
    border-bottom: 1px solid #BABABA;
}

.fs-modal-footer {
    height: 72px;
    border-top: 1px solid #BABABA;
}

.full-height-loader {
    margin: auto;
}

.page-cta-tile .cta-tile-button {
    /*border-radius: 24px !important;*/
    padding: 6px 0 !important;
    position: relative;
}

.page-cta-tile .cta-tile-button .small-icon {
    min-width: 16px;
    width: 16px;
    min-height: 16px;
    height: 16px;
    margin-bottom: 2px;
    position: absolute;
    left: 0;
    margin: 6px 10px;
}

.page-cta-tile .cta-secondary {
    text-transform: none;
    display: block;
    font-size: 12px;
}

.page-cta-tile .cta-spinner {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    margin: 8px;
}

custom-tile {
    border: 1px solid #EBEBEB;
    background-color: #fff;
    border-radius: 5px;
    padding: 0 !important;
    margin: 12px;
    height: calc(100% - 24px) !important;
}

.custom-content-tile {
    height: 100%;
    padding: 0 24px;
    overflow-y: auto;
    max-height: 600px;
}

.coach-container {
    margin-bottom: 7px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.coach-summary {
    display: flex;
    flex-grow: 1;
    padding: 10px;
    flex-direction: column;
}
.program-image-wrapper {
    position: relative;
    width: 100%;
}

.program-label {
    position: absolute;
    top: 0;
    right: 0;
    margin: 20px 10px;
    padding: 10px;
    font-size: 16px;
    border-radius: 20px;
    box-shadow: 0px 4px 4px 0px #00000040;
    background-color: #FFF;
}

.program-title {
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 20px 10px;
    padding: 10px;
    font-size: 18px;
    border-radius: 20px;
    box-shadow: 0px 4px 4px 0px #00000040;
    background-color: #FFF;
    font-weight: bold;
}

.health-age-arc {
    width: 270px;
    height: 270px;
    /*border: 10px solid #39B54A;
    border-radius: 50%;
    clip-path: polygon(50% 50%, 100% 0, 0% 0, 0% 100%, 100% 100%);
    transform: rotate(90deg);*/
    margin: auto;
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
}

.health-age-icon {
    transform: rotate(90deg);
}

.health-age-delta-tag {
    background-color: #e8fcd8;
    border-radius: 16px;
    padding: 4px;
    box-shadow: 0px 4px 4px 0px #00000040;
    width: 100px;
    margin: auto;
    font-size: 12px;
}

.health-age-delta-tag.older {
    background-color: #f46bba;
}

.health-age-younger {
    color: #39B54A !important;
}

.health-age-older {
    color: #D0006D !important;
    transform: rotate(180deg);
}

.view-all-btn.md-button {
    margin: 0;
    font-size: 12px;
    text-transform: none;
    text-decoration: underline;
    color: #FFF;
    min-width: auto;
}

.health-age-priority.md-button {
    display: block;
    width: 100%;
    padding: 8px;
    margin: 10px 0;
    border: 1px solid #000;
    border-radius: 10px;
    text-transform: none;
}

.blurred-age {
    -webkit-filter: blur(10px);
    -moz-filter: blur(10px);
    -o-filter: blur(10px);
    -ms-filter: blur(10px);
    filter: blur(10px);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-size: 42px;
    padding-top: 8px;
    display: block;
}

.remaining-questions {
    background-color: #fdeae4;
    padding: 6px 10px;
    width: max-content;
    border-radius: 12px;
    margin: auto;
    margin-top: 70px;
}

.breakdown-wrapper {
    background-color: #f3f7fe;
    border-radius: 24px;
    padding: 12px;
}

.health-age-recommendation-tile.md-button {
    border-radius: 12px;
    background-color: #FFF;
    box-shadow: 0px 1px 4px 0px #00000040;
    width: 100%;
    padding: 0;
    margin: 10px 0;
}

.health-age-recommendation-tile.darker-box {
    box-shadow: 0px 4px 4px 0px #01718D;
}

.redirect-border-color {
    padding-left: 12px;
    padding-right: 6px;
    display: flex;
    align-self: stretch;
}

.redirect-border-color.Course {
    background-color: #e1bbf0;
}

.redirect-border-color.Challenge {
    background-color: #ffaf87;
}

.health-age-question {
    border: 0.5px solid #9C9A9A;
    border-radius: 12px;
    background-color: #FFF;
    padding: 8px 12px;
    margin: 10px 0;
}

.health-age-question .question-response {
    padding-top: 8px;
    display: block;
    font-size: 14px;
}

.health-age-question .question-complete-mark md-icon {
    color: #C0C2C5;
    width: 48px;
    height: 36px;
}

.health-age-question .question-complete-mark.completed md-icon {
    color: #61BD50;
}

.question-edit-btn.md-button {
    background-color: #F5F5F5;
    padding: 4px;
    border-radius: 24px;
    min-width: 40px;
    margin: 0;
}

.recommendation-btn-title {
    font-size: 16px;
    text-transform: none;
    white-space: normal;
    line-height: 24px;
}

.dynamic-grid-cols-pages {
    grid-template-columns: repeat(3, 1fr) !important;
}

@media (max-width: 900px) {
    .page-tile-list,
    .dynamic-grid-cols-pages {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .fs-modal-container #fs-toggle {
        display: none;
    }
}

@media (max-width: 800px) {
    .main-page-wrapper {
        padding: 0 50px;
    }
}

@media (max-width: 670px) {
    .page-tile-list,
    .dynamic-grid-cols-pages {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .main-page-wrapper {
        padding: 0 20px;
    }

    .page-section-header h2 {
        margin: 0;
        padding: 16px 0 !important;
    }
}

@media (max-width: 480px) {
    .fs-modal-panel.fullscreen .fs-modal-header h2 {
        font-size: 18px;
        line-height: 22px;
    }
}

@media (max-width: 360px) {
    .fs-modal-panel.fullscreen .fs-modal-header h2 {
        font-size: 16px;
        line-height: 20px;
    }

    .health-age-arc {
        width: 200px;
        height: 200px;
        top: 40px;
    }

    .page-section-header {
        padding: 12px 20px;
    }
}

@media (max-width: 330px) {
    .main-page-wrapper {
        padding: 0 10px;
    }

    .page-section-header {
        margin: 12px 0;
    }

    .page-tile-wrapper > *,
    program-tile-list program-tile,
    course-tile-list course-tile {
        padding: 12px 0;
    }

}
