﻿.content-tile .tile-type .tool md-icon,
.content-tile .tile-type .article md-icon,
.content-tile .tile-type .video md-icon {
    min-width: 16px;
    width: 16px;
    min-height: 16px;
    height: 16px;
}

.tracker-tile .tile-type {
    margin-bottom: 16px;
    margin-top: 6px;
    text-align: left;
}

.tracker-tile .tile-details .tile-content-type {
    font-size: 10px;
    font-family: 'Montserrat-semibold';
}

.tracker-tile .tile-details .tile-duration {
    font-size: 10px;
    padding: 0 3px;
    font-family: 'Montserrat-semibold';
}

tracker-tile,
sleep-tracker-tile,
custom-tracker-tile {
    display: flex;
    align-items: start;
    min-width: 200px;
    width: 100%;
    height: 100%;
    padding: 12px;
}

.shw-tracker-list.ie-tiling {
    width: 100%;
}

.ie-tiling tracker-tile[width='25'] {
    display: inline-block;
    width: 24.75%
}

.ie-tiling tracker-tile,
.ie-tiling tracker-tile[width='33'],
.ie-tiling sleep-tracker-tile,
.ie-tiling sleep-tracker-tile[width='33'] {
    display: inline-block;
    width: 33.33%;
}

.ie-tiling tracker-tile[width='50']
.ie-tiling sleep-tracker-tile[width='50'] {
    display: inline-block;
    width: 50%;
}

.tracker-tile {
    position: relative;
    padding: 0;
    margin: 0;
    font-size: initial;
    text-transform: initial;
    line-height: initial;
    max-width: 100%;
    width: 100%;
    height: 100%;
    min-height: 300px;
    white-space: initial;
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0px 2px 6px 0px rgb(224,224,224);
    color: #58595B;
}

.tracker-tile.tracker-tile-within-modal {
    box-shadow: none;
}

.tracker-tile img {
    width: 100%;
    max-width: 100%;
}

.tracker-tile .tile-details {
    padding: 18px 24px;
    width: 100%;
    max-height: 200px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tracker-tile .tracker-description {
    display: flex;
    justify-content: start;
    /*align-items: center;*/
    max-width: 100%;
    font-size: 14px;
    line-height: 16px;
    white-space: normal;
    text-align: left;
    flex-grow: 1;
}

.tracker-tile .no-data-range {
    text-align: center;
    padding-top: 20px;
    width: 110px;
    margin: auto;
    font-size: 12px;
    line-height: 16px;
    font-weight: bold;
}

.tracker-tile .header-row,
.tracker-tile .footer-row {
    padding: 20px 24px;
    width: 100%;
}

.tracker-tile .footer-row {
    padding-top: 15px;
}

.tracker-tile .header-row .tracker-title-alt {
    font-size: 16px;
}

.tracker-tile .header-row .tile-select {
    font-weight: bold;
}

.tracker-tile .header-row .tile-select span {
    font-size: 12px;
    position: relative;
    top: 16px;
}

.tracker-tile.tracker-tile-within-modal .header-row .tile-select span {
    top: 0;
}

.tracker-tile .header-row .tile-select md-select {
    display: inline-block;
    margin: 0;
    margin-left: 6px;
}

.tracker-tile .header-row .tile-select md-select md-select-value {
    border-bottom: none !important;
    color: #007AB8 !important;
}

.tracker-tile .header-row .tile-select md-select md-select-value .md-select-icon {
    width: 16px;
    color: #007AB8;
}

.tracker-tile .header-row .tile-select md-select md-select-value .md-select-icon::after {
    font-size: 18px;
}

.tracker-tile .footer-row .tracker-title-alt {
    font-size: 12px;
}

.tracker-tile .faq-btn {
    min-width: 16px;
    min-height: 16px;
    line-height: 16px;
    padding: 0;
    margin: 0 8px;
    border-radius: 50%;
}

.tracker-tile .faq-btn md-icon {
    min-width: 16px;
    min-height: 16px;
    line-height: 16px;
    width: 16px;
    height: 16px;
}

.modal-btn-bar .modal-more-btn,
.tracker-tile .tile-option-btn {
    min-width: 30px;
    min-height: 30px;
    line-height: 30px;
    padding: 0;
    margin: 0 2px;
    border-radius: 50%;
}

.modal-btn-bar .modal-more-btn md-icon,
.tracker-tile .tile-option-btn md-icon {
    min-width: 22px;
    min-height: 22px;
    line-height: 22px;
    width: 20px;
    height: 30px;
}

.tracker-tile .tracker-init-actions button, 
.tracker-tile .tracker-init-actions .api-cont {
    display: inline-block;
    margin-bottom: 6px;
}

.tracker-tile .tracker-action-btn {
    display: inline-block;
    white-space: normal;
    margin: 0;
    padding: 0 8px !important;
    font-size: 12px;
    line-height: 24px !important;
    min-height: 24px;
}

.tracker-overview-average {
    font-size: 26px;
    font-weight: bold;
    margin: 6px 0;
}

.tracker-form-modal-wrapper .sleep-form-tooltip {
    min-height: 42px;
    line-height: 16px;
}

.sleep-form-tooltip {
    background-color: #E7E3FF;
    border-radius: 5px;
    color: #988AFF;
    padding: 5px 10px;
    padding-left: 40px;
    position: relative;
    margin-bottom: 30px;
    min-height: 42px;
    line-height: 32px;
}

.sleep-form-tooltip md-icon {
    color: #988AFF;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: 10px;
}

.labelless-form label {
    height: 1px;
    display: block;
}

.sleep-tracker-form .form-field-section {
    margin-bottom: -20px;
}

.sleep-tracker-form .form-field-section p {
    margin: 0;
}

.sleep-tracker-form .form-field-question {
    font-size: 12px;
    color: #58595B;
}

.sleep-tracker-form .form-field-hint {
    font-size: 12px;
    color: #B1B3B6;
}

.sleep-score-breakdowns .square-color {
    width: 50px;
    height: 50px;
    display: inline-block;
}

.sleep-score-breakdowns .score-desc {
    display: inline-block;
    max-width: 400px;
    position: relative;
    top: -6px;
    padding-left: 12px;
}

.sleep-score-breakdowns .score-desc {
    font-size: 14px;
    white-space: normal;
}

.sleep-score-breakdowns .score-desc p {
    margin: 3px 0;
    font-size: 12px;
}

.sleep-score-breakdowns > div {
    margin: 16px 0;
    white-space: nowrap;
}

.sleep-score-breakdowns .excellent-score .square-color {
    background-color: #3AD037;
}

.sleep-score-breakdowns .very-good-score .square-color {
    background-color: #78FF25;
}

.sleep-score-breakdowns .good-score .square-color {
    background-color: #DFF45B;
}

.sleep-score-breakdowns .fair-score .square-color {
    background-color: #FF9B25;
}

.sleep-score-breakdowns .poor-score .square-color {
    background-color: #D03780;
}

.sleep-summary-display {
    display: inline-block;
    margin: 0 24px;
    font-size: 12px;
}

.sleep-summary-display > md-icon {
    display: inline-block;
    position: relative;
    bottom: 6px;
}

.sleep-summary-row {
    margin-left: 6px;
    display: inline-block;
}

.sleep-summary-row p {
    margin: 0;
}

.sleep-score-indicator {
    display: inline-block;
    position: relative;
    width: 40px;
    height: 30px;
}

.sleep-score-indicator .bckgnd,
.sleep-score-indicator .ind {
    transform: rotate(225deg);
    position: absolute;
}

.sleep-score-indicator .bckgnd path,
.sleep-score-indicator .ind path {
    stroke-linecap: round;
}

.sleep-score-indicator .bckgnd path {
    stroke: #B1B3B6;
    stroke-width: 3;
}

.sleep-score-indicator .ind path {
    stroke-width: 6;
}

.sleep-score-indicator .ind.excellent path {
    stroke: #3AD037;
}

.sleep-score-indicator .ind.very-good path {
    stroke: #78FF25;
}

.sleep-score-indicator .ind.good path {
    stroke: #DFF45B;
}

.sleep-score-indicator .ind.fair path {
    stroke: #FF9B25;
}

.sleep-score-indicator .ind.poor path {
    stroke: #D03780;
}

.sleep-entry-date {
    list-style: none;
    font-weight: bold;
    position: relative;
    left: -20px;
}

.summary-rows li {
    margin: 4px 0;
}

@media (max-width: 500px) {
    .sleep-score-breakdowns .score-desc {
        max-width: 330px;
    }
}

@media (max-width: 400px) {
    .sleep-score-breakdowns .score-desc {
        max-width: 200px;
    }
}
