﻿/*This css file is dedicated to adding styles that work together with ng-material styles*/
/*
    shw_general_text
    shw_custom_error_spacer
    shw_toolbars
    shw_overflows
    shw_help_modal_info_bubble
    shw_input_containers
    shw_checkboxes
    shw_modal_containers
    shw_date_time_pickers
    shw_date_pickers
    shw_progress_bars
    shw_sliders
    shw_select_search
    shw_button_tooltip
    shw_menu
    shw_button
    shw_link
    shw_toggle_button
    shw_color_swatches
*/


/*shw_general_text*/
.shw-header-toast-banner {
    width: 100%;
    max-width: 1100px;
    margin: auto;
    align-items: center;
}

.shw-banner-btn-bar {
    align-items: flex-end;
}

.shw-header-text {
    font-weight: lighter;
    color: #767676;
    margin-bottom: 0.5em;
    margin-top: 1.25em;
}

.shw-strong-header-text {
    font-weight: bold;
    color: #363636;
    margin-bottom: 0.5em;
    margin-top: 1.25em;
}

.shw-subheader-text {
    color: #767676;
    margin-bottom: 0.5em;
    margin-top: 1.25em;
}

.shw-bold-text {
    color: #252525;
    margin: 0.4em;
    font-weight: bold;
}

.shw-text-stnd {
    color: #252525;
    margin-bottom: 0;
}

.shw-text-stnd-sm {
    color: #252525;
    margin-bottom: 0;
    font-size: 0.85em;
}

.shw-body-text {
    color: #252525;
    margin: 0.5em 0;
}

.shw-text-grey {
    color: #767676;
    margin-bottom: 0;
}

.shw-text-xxlg {
    font-size: 34px;
}

.shw-text-xlg {
    font-size: 28px;
}

.shw-text-lg {
    font-size: 18px;
}

.shw-no-select {
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

/*shw_custom_error_spacer*/
.shw-errors-spacer {
    min-height: 30px;
    min-width: 1px;
}

/*shw_toolbars*/
md-toolbar.md-features {
    color: white !important;
    background-color: rgb(26,46,59);
}

.tos-lockout-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    background-color: rgba(0,0,0,0.4);
}

/*shw_overflows*/
/*lock page for viewing modal*/
.scroll-lock {
    overflow: hidden !important;
    touch-action: none;
    padding-right: 17px;
}
/* IE10+ CSS */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    /*IE doesn't actually need the padding*/
   .scroll-lock {
        overflow: hidden !important;
        padding-right: 0px;
    }
}
/*default for IE to fall back to*/
body {
    -ms-scroll-limit-y-max: 30000px;
}

.no-overflow-x md-content {
    overflow-x: hidden;
}

/*shw_inputs*/
.shw-input-header {
    font-size: 20px;
    line-height: 24px;
}

.shw-input-error {
    font-size: 16px;
    line-height: 18px;
}

.shw-input-success {
    display: none;
    font-size: 16px;
    line-height: 18px;
    color: #39B54A;
}

.shw-mock-label {
    color: #767676;
    padding-left: 10px;
    font-size: 15px;
    font-weight: bold;
    line-height: 17px;
}

.md-regular-input-pad {
    padding: 2px !important;
}

.md-regular-input-pad label {
    left: 0 !important;
}

.shw-tool-field.hide-label {
    margin-top: 0.25px;
}

.shw-tool-field.hide-label label {
    visibility: hidden;
}

/*shw_help_modal_info_bubble*/
md-icon.md-ShwTheme-theme.shw-info-bubble {
    color: #155A92;
    position: absolute;
    right: 4px;
    left: auto;
    top: -24px;
    cursor: pointer;
    border-radius: 100px;
    transition: color, background-color .4s cubic-bezier(.25,.8,.25,1);
}

.shw-info-bubble-large {
    color: #155A92;
    width: 100px;
    height: 100px;
    margin: 0;
}

md-icon.md-ShwTheme-theme.shw-info-bubble:hover,
md-icon.md-ShwTheme-theme.shw-info-bubble:focus {
    color: #fff;
    background-color: #155A92;
}

/*shw_input_containers*/

shw-phone-field .country-select {
    width: 60px;
}

shw-phone-field .phone-placeholder {
    line-height: 30px;
    color: #aaa;
}

shw-phone-field .phone-input {
    border: none !important;
    box-shadow: none !important;
}

.phone-country-disabled {
    width: 70px;
    height: 100%;
    position: absolute;
    left: 0;
    z-index: 1;
}

/*shw_checkboxes*/
md-checkbox.md-ShwTheme-theme.md-checked:not([disabled]).md-primary.md-checked .md-icon {
    background-color: #155A92;
}

md-checkbox.md-ShwTheme-theme.md-checked:not([disabled]).md-primary.md-checked .md-icon:after {
    border-color: rgba(255, 255, 255, 0.87);
}

/*shw_modal_containers*/
.shw-dialog-info-container {
    min-width: 600px;
}

.shw-dialog-info-container section {
    background-color: white;
    box-shadow: 1px 1px 14px 2px rgba(0, 0, 0, 0.3);
    padding: 1em 2em;
}

.shw-border-top {
    border-top: 8px solid #155A92;
    background-color: white;
    box-shadow: 1px 1px 4px 1px rgba(0,0,0,0.5);
    padding: 20px;
}

.shw-confirm-dialog {
    display: block;
    border: 1px solid #155A92;
    border-radius: 5px;
    width: 50%;
    text-align: center;
    min-width: 200px;
    margin: auto;
}

.shw-general-modal-wrapper {
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
}

.shw-general-modal {
    display: block;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    max-width: 600px;
    position: relative;
    top: 20%;
    box-shadow: rgba(0, 0, 0, 0.4) 0 2px 8px 0px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-top: #155A92 7px solid;
}

.shw-general-modal-close-btn {
    position: absolute;
    right: -5px;
    top: 5px;
    min-width: 50px;
    width: 50px;
    z-index: 100;
}

/*shw_date_time_pickers*/
.shw-date-time-pickers {
    margin: 10px 0;
    background-color: #fff;
}

.shw-date-time-pickers shw-entry-date-picker {
    margin-right: 20px;
    padding-bottom: 10px;
}

.shw-date-time-pickers shw-time-field {
    position: relative;
    top: 5px;
}

/*shw_date_pickers*/
.shw-datepicker-container {
    display: inline-block;
    margin: 0 1em;
}

.shw-datepicker-wrapper-vanilla,
.shw-datepicker-wrapper {
    position: relative;
    transition: border-color 0.5s ease;
    font-weight: 400;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.shw-datepicker-wrapper .md-datepicker-button {
    position: absolute;
    left: -10px;
    top: -2px;
}

.shw-datepicker-wrapper .md-datepicker-input-container {
    padding-left: 40px;
}

.shw-datepicker-wrapper-vanilla .md-datepicker-input-container {
    width: 100%;
}

.shw-datepicker-wrapper-vanilla .md-datepicker-input.md-input,
.shw-datepicker-wrapper .md-datepicker-input.md-input {
    padding: 0 0.5em !important;
    border-width: 0px !important;
}

.shw-datepicker-left-btn .md-datepicker-button {
    position: absolute;
    right: -13px;
    top: -5px;
}

.shw-datepicker-wrapper-vanilla:hover,
.shw-datepicker-wrapper:hover {
    border-color: #959595;
}

.shw-datepicker-wrapper-vanilla:focus-within,
.shw-datepicker-wrapper:focus-within {
    border-color: #155A92;
}

/*shw_progress_bars*/
.shw-progress-bar {
    margin: 0.75em 0;
}

.shw-progress-indicator-container {
    min-width: 50px;
    min-height: 50px;
    position: relative;
}

.phase-progress-indicator-container {
    min-width: 40px;
    min-height: 40px;
    position: relative;
    padding: 0;
    margin: 0;
}

md-progress-circular.shw-progress-bar.foreground-progress,
md-progress-circular.shw-progress-bar.background-progress {
    position: absolute;
    top: 0px;
    right: 0px;
    margin: auto;
}

.shw-activity-progress.foreground-progress path {
    stroke: #61BD50;
}

.phase-pip-wrapper {
    display: flex;
    align-items: center;
}

.phase-pip-wrapper.locked-progress .phase-progress-indicator-container md-progress-circular.foreground-progress path,
.phase-pip-wrapper.no-progress .phase-progress-indicator-container md-progress-circular.foreground-progress path,
.phase-pip-wrapper .phase-progress-indicator-container md-progress-circular.background-progress path {
    stroke: #E7E3E3;
}

.phase-pip-wrapper.partial-progress .phase-progress-indicator-container md-progress-circular.foreground-progress path {
    stroke: #35C1ED;
}

.phase-pip-wrapper.completed-progress .phase-progress-indicator-container md-progress-circular.foreground-progress path {
    stroke: #61BD50;
}

.phase-pip-wrapper::after {
    content: '';
    width: 40px;
    height: 6px;
    border-radius: 3px;
    margin: 0 4px;
    display: inline-block;
}

.phase-pips-container .phase-pip-wrapper:last-of-type::after {
    display: none;
}

.phase-pip-wrapper.locked-progress .phase-progress-indicator-container {
    background-color: #E7E3E3;
}

.phase-pip-wrapper.locked-progress::after,
.phase-pip-wrapper.no-progress::after {
    background-color: #E7E3E3;
}

.phase-pip-wrapper.partial-progress::after {
    background-color: #35C1ED;
}

.phase-pip-wrapper.completed-progress::after {
    background-color: #61BD50;
}

md-progress-circular.shw-audio path {
    stroke: white;
}

md-progress-linear.shw-progress-bar .md-container {
    height: 10px;
    border-radius: 4px;
}

md-progress-linear.shw-progress-bar .md-container div {
    height: 10px;
}

.shw-progress-bar {
    margin: 0.75em 0;
}

md-progress-linear.shw-progress-bar .md-container {
    height: 10px;
    border-radius: 4px;
}

md-progress-linear.md-ShwTheme-theme.shw-walking-progress .md-container,
md-progress-linear.md-ShwTheme-theme.shw-session-progress .md-container {
    border-radius: 0;
    background-color: #eee;
}

md-progress-linear.shw-progress-bar .md-container div {
    height: 10px;
}

md-progress-linear.shw-session-progress .md-container .md-bar {
    background-color: #39B54A;
}

md-progress-linear.shw-walking-progress.incomplete .md-container .md-bar {
    background-color: #5598cd;
}

md-progress-linear.shw-walking-progress.complete .md-container .md-bar {
    background-color: #39B54A;
}

/*shw_sliders*/
md-slider.shw-slider {
    margin-top: -10px;
}

md-slider.shw-slider .md-focused .md-sign,
md-slider.shw-slider.md-active .md-sign {
    transform: scale(1) translate3d(0,55.5px,0) !important;
}

md-slider.shw-slider.md-min .md-focused .md-sign:after, 
md-slider.shw-slider.md-min.md-active .md-sign:after {
    border-bottom-color: rgb(189,189,189);
}

md-slider.shw-slider .md-focused .md-sign:after,
md-slider.shw-slider.md-active .md-sign:after {
    border-bottom-color: rgb(64,196,255);
}

md-slider.shw-slider .md-sign:after {
    top: -7px;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-bottom-width: 16px;
    border-bottom-style: solid;
    border-top: none !important;
}

md-slider.shw-slider .md-thumb-text {
    user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    color: white;
}

/*shw_select_search*/
md-select-header .mag-glass {
    margin: 0.4em;
    position: absolute;
    right: 10px;
    color: #ccc;
}

md-select-header:hover .mag-glass {
    color: #959595;
}

md-select-header:focus-within .mag-glass {
    color: #155A92;
}

md-menu-content[width="8"] {
    min-width: 488px
}

md-checkbox.shw-normal-appearance.md-checked .md-icon {
    background-color: rgb(64,196,255);
}

/*shw_button_tooltip*/
.shw-segment-tooltip {
    display: none;
    position: absolute;
    background-color: #D0006D;
    opacity: 0.9;
    top: -60px;
    padding: 10px;
    border-radius: 5px;
    left: 0;
    right: 0;
    width: 250px;
    margin: auto;
    text-align: center;
    z-index: 9999; /*this value is very high due to needing to appear over flowplayer*/
    color: white;
}

/*shw_menu*/
.shw-nested-menu {
    margin: 0;
    padding: 0;
}

.shw-nested-menu .md-button {
    text-align: left;
    display: inline-block;
    border-radius: 0;
    margin: auto 0;
    font-size: 15px;
    text-transform: none;
    font-weight: 400;
    height: 100%;
    padding-left: 16px;
    padding-right: 16px;
    width: 100%;
}

/*shw_button*/
.md-raised,
.shw-raised-button.md-button {
    background: #0079AD;
    border-radius: 5px;
    color: white;
    padding: 0 15px;
    border: none;
    font-weight: bold;
    text-transform: none;
    letter-spacing: 1px;
}

.md-button.lighter-hover.md-ShwTheme-theme:not([disabled]):hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.md-slim {
    min-height: 26px;
    font-size: 14px;
    line-height: 18px !important;
}

.fixed-position-button {
    position: absolute;
    right: 20px;
    background: #FFF;
    padding: 8px;
    border-radius: 20px;
    box-shadow: 0px 2.3px 2.3px 0px #00000040;
    cursor: pointer;
    z-index: 5;
}

.shw-raised-button.md-button:focus {
    outline: none;
    background-color: #67cbf1;
}

.shw-raised-button.md-button:hover {
    background-color: #67cbf1;
}

.shw-raised-button.md-button:active {
    background-color: #43a6cc;
}

.md-raised.md-primary.md-button.rounded,
.md-raised.md-secondary.md-button.rounded {
    border-radius: 24px !important;
    line-height: 36px;
    padding: 0 30px;
}

.md-raised.rounded {
    border-radius: 24px;
}

/*shw_link*/
.shw-link-btn {
    text-decoration: none;
    color: #155A92;
    outline: none;
}

.shw-link-btn:hover,
.shw-link-btn:focus {
    text-decoration: underline;
}

.generic-link {
    text-transform: none;
    text-decoration: underline;
}

.shw-link-btn.overwritten-md-link {
    min-width: 20px;
    text-transform: none;
    padding: 0;
    margin: 0;
    padding-bottom: 3px;
}

.shw-link-btn.overwritten-md-link:not([disabled]):hover,
.shw-link-btn.overwritten-md-link:not([disabled]):focus {
    background-color: transparent;
}

.av-link-btn {
    color: #1EBAEB;
    font-size: 12px;
    margin: 0;
    padding: 0;
    text-transform: none;
    min-width: 80px;
    min-height: 24px;
    height: 32px;
    margin-left: -5px;
    background-color: transparent !important;
}

.av-link-btn:hover,
.av-link-btn:active {
    text-decoration: underline;
}

.dark-link-btn {
    text-decoration: none;
    color: #000;
    outline: none;
    display: inline-block;
    text-transform: none;
    margin: 0;
}

.dark-link-btn:hover,
.dark-link-btn:focus {
    text-decoration: underline;
}

.dark-link-btn.active {
    text-decoration: underline;
    font-weight: bold;
}

.shw-link-href {
    margin: 6px 0;
    display: block;
}
/*shw_toggle_button*/
.shw-toggle-button {
    min-width: 44px !important;
    padding: 0 !important;
    margin: 0 5px;
    height: 40px;
}

md-switch.switch-green.md-ShwTheme-theme.md-checked .md-bar {
    background-color: #1ad334;
}

md-switch.switch-green.md-ShwTheme-theme.md-checked .md-thumb {
    background-color: #39B54A;
}

/*shw_color_swatches*/
.swatch-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 auto;
    margin-top: 40px;
    justify-content: center;
}

.swatch-row {
    display: flex;
    flex-direction: row;
}

.swatch-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin: 0 4px;
    cursor: pointer;
    box-sizing: border-box;
    transition: border 0.2s;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

@media (max-width: 1050px) {
    .shw-header-toast-banner .banner-text {
        font-size: 1em;
    }
}

@media (max-width: 600px) {
    .shw-dialog-info-container {
        min-width: 0px;
        width: 90%;
    }

    .shw-header-toast-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .shw-header-toast-banner .banner-text {
        font-size: 0.75em;
    }

    .shw-header-toast-banner .md-button {
        max-width: 100px;
        white-space: normal;
        font-size: 12px;
        line-height: 18px;
    }
}
