﻿.content-library-container {
    padding: 10px 40px;
    min-height: 800px;
}

.shw-content-category-list {
    display: grid !important;
    grid-auto-rows: 1fr;
    grid-template-columns: repeat(4, 1fr);
}

.shw-content-article-list {
    display: grid !important;
    grid-auto-rows: 1fr;
    grid-template-columns: repeat(3, 1fr);
}

.ie-tiling {
    width: 33.33%;
}

.main-dashboard-wrapper {
    min-height: 345px;
    background-color: #f9fbfb;
    padding: 0 100px;
}

.dashboard-header {
    color: #363636;
    font-size: 1.4em;
    font-weight: 200;
    margin-bottom: 0;
    padding-left: 12px;
}

.cta-tile-border {
    border: 1px solid #EBEBEB;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    margin: auto;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.cta-tile-border .cta-tile-text {
    max-width: 60%;
    display: inline-block;
    padding: 0 8px;
}

.cta-tile-border .cta-tile-text button {
    margin: 6px 0;
}

.cta-tile-border .cta-tile-img {
    max-width: 39%;
    display: inline-block;
    position: absolute;
    width: 100%;
    height: 220px;
    top: 0;
    right: -1px;
    overflow: hidden;
}

.cta-tile-border .cta-tile-img img {
    max-width: 100%;
    width: 100%;
}

.cta-tile-border .cta-tile-text h2 {
    font-weight: bold;
    color: #58595B;
    margin: 0;
}

.cta-tile-border .cta-tile-button {
    /*border-radius: 24px !important;*/
    padding: 6px 0 !important;
    position: relative;
}

.cta-tile-border .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;
}

.cta-tile-border .cta-secondary {
    text-transform: none;
    display: block;
    font-size: 12px;
}

.cta-tile-border .cta-spinner {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    margin: 8px;
}

.dash-mobile-link {
    display: none;
    line-height: 48px;
}

.dash-mobile-link a {
    color: #fff;
    margin: 10px 0;
}

.dash-mobile-link md-icon {
    color: #fff;
    fill: #fff;
    height: 16px;
    min-height: 16px;
}

.bckgnd-no-slide {
    background-color: #C6646D;
}

.dashboard-content-list .content-article-tile p {
    margin-top: -14px;
    padding: 0 20px;
    white-space: normal;
    max-width: 100%;
    line-height: 18px;
}

.cta-tile-border .mail-border {
    border-radius: 20px;
    width: 40px;
    height: 40px;
    margin: auto;
    background-color: #c376e1;
}

.cta-tile-border .mail-border md-icon {
    fill: #FFF;
}

.cta-tile-border .message-button-tile {
    margin: auto;
    width: 100%;
    height: 100%;
    padding: 20px !important;
    text-align: center !important;
    text-transform: none;
}

.cta-tile-border .message-header {
    font-size: 24px;
    margin-top: 12px;
    display: block;
    color: rgba(0,0,0,0.54);
}

.cta-tile-border .message-header md-icon {
    width: 30px;
    height: 30px;
    padding-bottom: 2px;
}

.content-article-tile .tile-type {
    color: #2DC876;
}

.content-article-tile .tile-type md-icon {
    fill: #2DC876;
    min-width: 16px;
    width: 16px;
    min-height: 16px;
    height: 16px;
}

todo-list {
    width: 100%;
    flex-grow: 1;
    min-height: 360px;
}

.dashboard-tile-border {
    border: 1px solid #EBEBEB;
    background-color: #fff;
    border-radius: 10px;
    margin: auto;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dashboard-tile-header {
    padding: 24px;
    border-bottom: 1px solid #EBEBEB;
    width: 100%;
    /*text-align: center;*/
}

.dashboard-tile-header .shw-header-text {
    font-weight: bold;
    color: #58595B;
}

.todo-task-item.md-button {
    width: calc(100% - 16px);
    text-transform: none;
    padding: 8px 16px;
    margin: 0px 8px;
    margin-top: 8px;
}

.todo-task-item.md-button:last-child {
    margin-bottom: 8px;
}

.todo-task-item .task-type,
.todo-task-item .task-date {
    font-size: 12px;
    line-height: 12px;
}

.todo-task-item .task-type md-icon,
.todo-task-item .task-date md-icon {
    fill: inherit;
    min-width: 14px;
    min-height: 14px;
    width: 14px;
    height: 14px;
    margin-bottom: 3px;
}

.todo-task-item.md-button p {
    text-align: left;
    margin: 0;
    white-space: normal;
    line-height: 20px;
    margin-top: 6px;
}

.goal-button.md-button {
    padding: 0;
    margin: 0;
    min-width: 32px;
    margin-bottom: 32px;
}

.dashboard-goals-tabs {
    /*min-height: 120px !important;*/
    padding-bottom: 16px !important;
}

.dashboard-goals-tabs .md-tab {
    padding: 1px 4px;
    line-height: 16px;
}

.dashboard-goals-tabs md-tabs-wrapper,
.dashboard-goals-tabs md-tabs-canvas,
.dashboard-goals-tabs md-pagination-wrapper {
    height: 32px !important;
}

.dashboard-goals-tabs md-tab-content {
    align-items: center;
    display: block;
}

.dashboard-goals-tabs md-tab-content > div {
    display: flex;
    align-items: center;
    min-height: 100%;
}

.dashboard-goals-tab-types {
    height: 100%;
}

.dashboard-goals-tabs .md-tab .dashboard-circle {
    height: 12px;
    width: 12px;
    min-height: 12px;
    min-width: 12px;
}

/*md-tabs[md-align-tabs=bottom].dashboard-goals-tabs md-tabs-content-wrapper {
    top: 5px !important;
    bottom: 16px !important;
}*/

.dashboard-tile-footer-buttons {
    margin: auto;
    text-align: center;
}

.dashboard-tile-footer-buttons .tile-footer-btn {
    text-transform: none;
    margin: 0;
    padding: 10px 0;
    line-height: normal;
}

.dashboard-tile-footer-buttons .tile-footer-btn .tile-btn-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;
}

.dashboard-tile-footer-buttons .tile-footer-btn .tile-btn-border md-icon {
    height: 16px;
    width: 16px;
    min-height: 16px;
    min-width: 16px;
    vertical-align: inherit;
}

.dashboard-container {
    /*min-height: 675px;*/
    margin: -12px;
}

.dashboard-tile,
dashboard-course-cta,
todo-list,
messages-cta,
goals-list,
wellness-vision-tile {
    width: 100%;
    height: 100%;
    padding: 12px;
}

.ie11-height-fix {
    min-height: 1080px !important;
    max-width: 100vw;
}

.ie11-height-fix > div {
    min-height: 1132px;
}

.ie11-height-fix dashboard-course-cta,
.ie11-height-fix todo-list,
.ie11-height-fix messages-cta,
.ie11-height-fix goals-list,
.ie11-height-fix wellness-vision-tile,
.ie11-height-fix dashboard-course-cta > div,
.ie11-height-fix todo-list > div,
.ie11-height-fix messages-cta > 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: 400px;
    margin-top: 16px;
}

@media (min-width: 1280px) {
    dashboard-course-cta {
        /*max-height: 275px !important;*/
    }

    .ie11-height-fix {
        min-height: 632px !important;
        max-width: 100vw;
    }

    .ie11-height-fix > div {
        min-height: 632px;
    }
}

@media (max-width: 800px) {

    .main-dashboard-wrapper {
        padding: 0 50px;
    }
}

@media (max-width: 600px) {
    .main-dashboard-wrapper {
        padding: 0 20px;
    }

    .main-dashboard-wrapper todo-list .todo-list-wrapper {
        height: 100% !important;
    }
}

@media(max-width: 500px) {
    .cta-tile-border .cta-tile-text {
        max-width: 100%;
        display: inline-block;
    }

    .cta-tile-border .cta-tile-img {
        display: none;
    }
}

@media (max-width: 330px) {
    .main-dashboard-wrapper {
        padding: 0;
    }

    .dashboard-container {
        margin: 0;
    }
}
