:root {
    --ion-background-color: #ffffff;
    --ion-background-color-rgb: 255,255,255;

    --ion-text-color: #000000;
    --ion-text-color-rgb: 0,0,0;

    --ion-color-step-50: #f2f2f2;
    --ion-color-step-100: #e6e6e6;
    --ion-color-step-150: #d9d9d9;
    --ion-color-step-200: #cccccc;
    --ion-color-step-250: #bfbfbf;
    --ion-color-step-300: #b3b3b3;
    --ion-color-step-350: #a6a6a6;
    --ion-color-step-400: #999999;
    --ion-color-step-450: #8c8c8c;
    --ion-color-step-500: #808080;
    --ion-color-step-550: #737373;
    --ion-color-step-600: #666666;
    --ion-color-step-650: #595959;
    --ion-color-step-700: #4d4d4d;
    --ion-color-step-750: #404040;
    --ion-color-step-800: #333333;
    --ion-color-step-850: #262626;
    --ion-color-step-900: #191919;
    --ion-color-step-950: #0d0d0d;
}
.themeBG {
    background-color: var(--themeColor)!important;
}
.themeColor {
    color: var(--themeColor)!important;
}

.transparentBG {
    --ion-item-background: transparent;
    background-color: transparent!important;
}
.themeColor2 {
    --color: var(--themeColor)!important;
}
.darkThemeColor {
    color: var(--darkThemeColor)!important;
}

.darkThemeBG {
    background-color: var(--darkThemeColor)!important;
}
.darkColor1 {
    color:var(--ion-color-step-950)!important;
}
.darkColor11 {
    color:var(--ion-color-step-950);
}
.darkColor12 {
    --color: var(--ion-color-step-950)!important;
}
.darkColor3 {
    color:var(--ion-color-step-700);
}
.darkColor6 {
    color:var(--ion-color-step-650);
}
.darkColor32 {
    --color: var(--ion-color-step-700)!important;
}
.darkColor5 {
    color:var(--ion-color-step-500);
}
.greyTextColor {
    color:var(--ion-color-step-850);
}
.textUnselected {
    color:var(--ion-color-step-400);
}
.fontTiny {
    font-size: 10px;
}
.fontSmall {
    font-size: 12px;
}
.font13 {
    font-size: 13px;
}
.font132 {
    font-size: 13px!important;
}
.fontSub {
    font-size:14px;
}

.fontBody {
    font-size:16px;
}

.fontTitle {
    font-size:18px;
}
.iconMedium {
    font-size:18px;
}
.iconTask {
    font-size:24px;
}
.iconBig {
    font-size:28px;
}
.fontMedium {
    font-weight: 500;
}
.fontSemiBold {
    font-weight: 600;
}
.fontBold {
    font-weight: 700;
}

.textCenter {
    text-align: center;
}

.textRight {
    text-align: right;
}

.roundedBorder {
    border-radius: 8px;
}

.noWordWrapping {
    white-space: nowrap;
    overflow: hidden;
    text-overflow:ellipsis;
}
.noPadding {
    padding:0;
}
.ATNoBottomMargin {
    bottom: 0!important;
}
.ATDeviderBGColor {
    background-color: var(--ion-color-step-50);
}
.ATRoundedBox {
    left: 3px;
    right: 3px;
    top: 3px;
    bottom: 3px;
    position: absolute;
    background-color: var(--whiteColor);
    border-radius: 3px;
}

/*Desktop*/
.ionContentDesktop {
    --background: var(--ATbackgroundColor);
}
.ionContentDesktopSizeCheckFailed {
    --background: var(--themeColor);
    opacity: 0.75;
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
    overflow-y: hidden;
    overflow-x: hidden;
}
.ionContentDesktopSizeCheckFailedInnerDiv {
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}
.DesktopBorder {
// border-radius:4px;
// border: var(--ATBorder)!important;
    margin-right:5px;
    margin-left:5px;
}
.maxWidthLimitForDesktop {
    max-width: 600px;
}
/*End of Desktop*/

/*Generic*/
.ATNavDiv {
    width: 100%;
    height: 44px;
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9998;
}
.ATNavTable {
    width: 100%;
    height: 44px;
    z-index: 9998;
}
.ATNavTDSpacing {
    width: 7px
}
.ATNavTDSpacing2 {
    width: 13px
}
.ATButton44 {
    min-width: 44px;
    width:44px;
    height:44px;
    padding-top: 4px;
    text-align: center;
}
.goalItemprogressBar-outer_small {
    top:0;
    left:0;
    width:100%;
    position:relative;
    margin: 1px 2px;
    text-align: center;
    background-color: var(--ion-color-step-50);
    border: 1px solid var(--ion-color-step-150);
    color: var(--whiteColor);
    border-radius: 4px;
    height:8px;
}
.goalItemprogressBar-inner{
    height:6px;
    white-space: nowrap;
    overflow: hidden;
    padding:0 1px;
    border-radius: 4px;
}
.ATTodayTagFilter {/*for today and history*/
    margin: 0 auto;
    display: -webkit-flex;
    -webkit-align-items: center;
    height:36px
}
.ATTodayTagFilterSpan {/*for today and history*/
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 36px;
    min-width: 60px;
    max-width: 120px;
    text-align: right;
    font-weight:500;
}
ion-item.transparentBG {/*for today and skin*/
    background-color: transparent;
    --ion-background-color: transparent;
    --height: var(--skinRowHeight);
    --min-height: var(--skinRowHeight);
}
ion-item.padding0 {
    --inner-padding-end:0;
}
.ATFlatRow {/*for today and skin*/
    left: 0;
    right: 0;
    top: 2px;
    bottom: 2px;
    position: absolute;
}
.ATTodayTaskIcon {/*for today and skin*/
    position: absolute;
    top: 0;
    left: 4px !important;
    width: 25px !important;
    height: 100% !important;
    display: flex;
    align-items: center;

}
.ATTodayRunningSpinner {/*for today and skin*/
    position: absolute;
    top: 16px;
    left: 6px !important;
    width: 21px !important;
    height: 100% !important;
    display: flex;
    align-items: center;
}
.ATTaskName {/*for today and skin*/
    position: absolute;
    left: 40px;
    right: 75px;
    white-space: nowrap;
    overflow: hidden;
}
.ATTodayRow2 {/*for today and skin*/
    position: absolute;
    left: 40px;
    right: 75px;
    overflow: hidden;
    white-space: nowrap;
}
.ATDurationArea {/*for today and skin*/
    position: absolute;
    right: 8px;
    width: 70px;
    height: 44px;
    padding: 0;
    text-align: right;
}
.ATRow2right {/*for today and skin*/
    position: absolute;
    right: 8px;
}
.hintToast {
    position: absolute;
    bottom: 70px;
    min-height: 50px;
    left: 30px;
    right: 30px;
    color: var(--whiteColor);
    background-color: #3592DB;
    padding:8px;

    z-index:9999;
}
.hintToastIcon {
    width: 40px;
    padding-left: 10px;
}
.atrackerFullSize {
    width: 100%;
    height: 100%;
}
.ATSegmentedItemSelected {
    color: var(--themeColor);
    border-bottom:solid 2px var(--themeColor);
}
.ATSegmentedItem {
    border-bottom:solid 2px transparent;
}
.ATReportSubSegmentItem {
    height: 24px;
    padding-top: 4px;
    display: inline-block;
    padding-left:4px;
    padding-right:4px;
    width:100%
}
.NoPaddingLeft .native-input.sc-ion-input-md {
    padding-left:0!important;
}
.tagbuttonSmall {
    background-color: var(--ion-color-step-100);
    border: solid 1px var(--themeColor);
    color: var(--ion-color-step-700);
    text-align: center;
    text-decoration: none;
    display: inline-block;
    line-height:1;
    height:20px;
    border-radius: 8px;
    margin:4px 4px 4px 0;
    padding:1px 4px;
    vertical-align: middle;
    font-size: 12px!important;
    white-space: nowrap;
}
.ATTaskTagSelectionTopSection {
    position: absolute;
    top: 58px;
    left: 7px;
    right:7px;
    height:90px;
}
.ATTaskTagSelectionHeaderTopBar {
    position: relative;
    top: 0;
    height:32px;
    left: 0;
    width: 100%;
}
.ATTaskTagSelSearchBar{
    position: absolute;
    top: 32px;
    left: 0;
    width: 100%;
    height: 48px;
    padding-top:6px;
}
.ATCards {
    padding-bottom:0!important;
    margin: 0;
    width: 100%;
    background: var(--whiteColor);
    position: relative!important;
    min-height: 44px!important;
    border-bottom:solid 1px rgba(0, 0, 0, 0.1)!important;
    border-top:none!important;
    padding-left:8px!important;
}
.atrackerBodyScrollWithTopMarginAndSearch {
    position: absolute;
    top: 145px;
    bottom: 0;
    left: 7px;
    right: 0;
    overflow: auto;
    z-index: 9998;
    margin-right:7px;
}
.ATDateField .native-input.sc-ion-input-md {
    width:110px;
    padding-left:0!important
}
.ATBottomDeleteButton {
    bottom:-10px;
    font-size: 16px;
    font-weight: 500;
    background-color: #cf3c4f;
    color:var(--whiteColor);
    border-radius: 8px;
    min-width:150px;
    text-align: center;
    vertical-align: middle;
    margin: 0 auto;
    position: fixed;
    padding: 5px;
    left: 50%;
    transform: translate(-50%, -50%);
}
.ionNoPadding {
    --padding-bottom:0!important;
    --padding-start: 0!important;
    --padding-end: 0!important;
    --padding-top:0!important;
}
ion-select::part(icon) {
    display: none !important;
}
.slimBottomLine {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
.slimTopLine {
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}
.ATBodyScrollEdit {
    position: absolute;
    top: 58px;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: auto;
}
.ATBodyScrollEditWithDelete {
    position: absolute;
    top: 58px;
    bottom: 44px;
    left: 0;
    right: 0;
    overflow: auto;
}
.ATEditLeftText {
    color:var(--ion-color-step-850)!important;
    font-size: 16px;
}
.ATDeleteBottomBGDiv {
    position: absolute;
    bottom:0;
    height:44px;
    left:0;
    right:0;
    background-color: var(--ion-color-step-50);
}
.addTagButton {
    letter-spacing: 0;
}
.minHeight44 {
    min-height:44px;
}
.segmentButton70 {
    font-size: 12px;
    min-width: 70px;
    letter-spacing: normal;
    border:0!important;
}
.itemBottomLine {
    /* padding-bottom: 5px; */
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

ion-input {
    --padding-top: 10px!important;
    --padding-bottom: 6px!important;
}
.atrackerRow2right { /*Today and Skin*/
    position: absolute;
    right: 44px;
}
.atracker-nav-icon {
    height: 37px;
    width: 35px;
    padding: 0px;
}
.atrackerSmallText {
    font-size: 11px !important;
    margin-top: 0;
    padding-top: 3px;
    color: var(--ion-color-step-450);
    display: block;
    white-space: normal;
}
.atrackerDurationArea {/*Today and Skin*/
    position: absolute;
    right: 44px;
    width: 70px;
    height: 44px;
    padding: 0;
    text-align: right;
}
.itemNoBottomLine {
    border-color: var(--ion-color-step-150);
    background-color: transparent;
    color: var(--ion-color-step-650);
    position: relative;
    z-index: 2;
    display: block;
    font-size: 16px;
    padding-bottom: 5px;
    border-bottom: none;
}
.itemNoBottomLine2 {
    border-color: var(--ion-color-step-150);
    background-color: transparent;
    color: var(--ion-color-step-650);
    position: relative;
    z-index: 2;
    display: block;
    font-size: 16px;
    padding-bottom: 0;
    border-bottom: none;
}
.pageTitleTD {
    font-size: 21px;
    margin: 0;
    font-weight: bold;
    font-family: 'Quicksand', sans-serif;
    color: var(--themeColor);
}
.picker-md .picker-opt {
    margin: 0 5px;
    font-size: 16px;
}
.item.ion-activated {
    background-color: transparent;
}
.taskAdminSearchBar{
    position: absolute;
    top: 38px;
    left: 0;
    width: 100%;
    height: 58px;
    padding-top:6px;
}
.tagIcon {
    font-size: 16px;
    padding-right: 6px;
    position: relative;
}
.tagIconReportDropdown {
    padding-right: 2px;
    padding-left:3px;
    position: relative;
}
.tagIconSmall {
    font-size: 16px;
    padding-left: 2px;
}
.tagTextSmall {
    padding-left: 2px;
    padding-right: 2px;
    line-height:14px;
    position: relative;
    top:-2px;
    margin-left:3px;
    margin-right:3px;
}
.atrackerNoMargin {
    margin:0;
}
.tagDefaultOverride {
    text-decoration: line-through;
    color: #3592db;
    font-weight: 900;
}
.tagDefaultOverrideColor {
    color: #3592db;
    font-weight: 900;
}
.disabled {
    pointer-events:none;
    opacity:0.6;
}
.atrackerTodayNoScrollWithTopMargin {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}
ion-fab[bottom] {
    bottom: 55px;
}
.noMargin {
    margin:0;
}
.itemLeftPadding {
    padding-left:16px;
}
.slideStyle {
    padding-bottom:30px;
    display:block;
}
.weekdayPickerButton {
    width:30px;
    text-align: center;
    height:30px;
    color: var(--ion-color-step-650);
    font-size:11px;

}
.weekdayPickerButtonPicked {
    background-color: red;
    border-radius: 100%;
    color:var(--whiteColor)!important;
}
.weekdayPickerButtonUnpicked {
    background-color: var(--ion-color-step-100);
    border-radius: 100%;
    color:var(--ion-color-step-650)!important;
}
.weekdayPickerButtonSmall {
    width:20px;
    text-align: center;
    height:20px;
    color: var(--ion-color-step-650);
    font-size:11px;

}
.weekdayPickerButtonTiny {
    width:15px;
    text-align: center;
    height:14px;
    color: var(--ion-color-step-650);
    font-size:10px;
    line-height: 13px;
    font-weight: 700;
}

/* Scrollbar styles */
::-webkit-scrollbar {
    width: 5px!important;
    height: 5px!important;
}

::-webkit-scrollbar-track {
    background: var(--ion-color-step-50)!important;
    border-radius: 5px!important;
}

::-webkit-scrollbar-thumb {
    border-radius: 5px!important;
    background: var(--ion-color-step-200)!important;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--ion-color-step-400)!important;
}

.alert-radio-group::-webkit-scrollbar,
.alert-checkbox-group::-webkit-scrollbar {
    width: 5px!important;
    height: 5px!important;
    display: block !important;
}

.alert-radio-group::-webkit-scrollbar-track,
.alert-checkbox-group::-webkit-scrollbar-track {
    background: var(--ion-color-step-50)!important;
    border-radius: 5px!important;
}

.alert-radio-group::-webkit-scrollbar-thumb,
.alert-checkbox-group::-webkit-scrollbar-thumb {
    border-radius: 5px!important;
    background: var(--ion-color-step-200)!important;
}
.ATNavDivModal {
    width: 100%;
    height: 44px;
    padding: 0;
    position: absolute;
    top: 14px;
    left: 0;
    z-index: 9998;
}
.searchbar-input.sc-ion-searchbar-md {
    line-height: 24px!important;
    padding-left:3px!important;
    --box-shadow: none;
    border: solid 1px var(--themeColor);
    border-radius: 5px;
    padding-right: 5px;
    padding-top:3px;
    padding-bottom: 0px;
}
.ATModelSectionTitle {
    color: var(--ion-color-step-850);
    font-size: 14px;
    padding-top: 14px;
    padding-bottom: 5px;
    font-weight: 500;
}
.ATModalContent {
    position: absolute;
    left: 16px;
    right: 16px;
    padding-left: 8px;
    padding-right: 8px;
    top: 0;
    bottom: 10px;
    overflow: auto;
}
.ATModalContentTagSelect {
    position: absolute;
    left: 16px;
    right: 16px;
    padding-left: 0;
    padding-right: 0;
    top: 16px;
    bottom: 10px;
    overflow: auto;
}
ion-searchbar .searchbar-search-icon {
    display:none!important;
}
.ATDateRange ion-title {
    font-size:16px!important;
    text-align: center;
    padding-bottom:4px; /* align */
}
.ATDialogOKButton {
    width: 36px;
    position: absolute;
    top: 8px;
    right: 8px;
    height:36px;
}
.ATDialogBottomOKButton {
    font-size: 16px;
    font-weight: 500;
    background-color: var(--themeColor);
    color: var(--whiteColor);
    border-radius: 8px;
    text-align: center;
    vertical-align: middle;
    margin: 0 auto;
    padding: 5px;
    width: 150px;
    margin-top: 20px;
}
.ATReportType {
    width:44px;
    height:44px;
    font-size: 28px;
    text-align: center;
    padding-bottom: 2px;
    padding-left: 4px;
    padding-right: 4px;
}
.ATBodyScroll {
    position: absolute;
    top: 58px;
    bottom: 0;
    left: 0;
    right: 5px;
    overflow: auto;
}
.ATModalTopRightButton {

    font-size: 18px;
    font-weight:500;
    color: var(--themeColor);
    text-align: right;
    padding-right: 3px;
}
.ATTodayActionModal{
    --height:425px;
    align-items: flex-end;
    --border-radius:20px 20px 0 0;
    --border-color: var(--ion-color-step-400)!important;
    --border-width:1px;
    --border-style:solid;
}
.ATTodayActionModalDesktop{
    --height:425px;
    align-items: flex-end;
    --border-radius:20px;
    --border-color: var(--ion-color-step-400)!important;
    --border-width:1px;
    --border-style:solid;
    padding-bottom:40px;
}
.ATHistoryActionModal{
    --height:330px;
    background: rgba(0, 0, 0, 0.2);
    align-items: flex-end;
    --border-radius:20px 20px 0 0;
    --border-color: var(--ion-color-step-400)!important;
    --border-width:1px;
    --border-style:solid;
}
.ATHistoryActionModalDesktop{
    --height:280px;
    background: rgba(0, 0, 0, 0.2);
    align-items: flex-end;
    --border-radius:20px;
    --border-color: var(--ion-color-step-400)!important;
    --border-width:1px;
    --border-style:solid;
    padding-bottom:40px;
}
.ATSelectTagModal{
    --height:75%;
    align-items: flex-end;
    --border-radius:20px 20px 0 0;
    --border-color: var(--ion-color-step-400)!important;
    --border-width:1px;
    --border-style:solid;
}
.subscriberLogin .alert-title {
    font-size:13px;
}
.custom-thumbnail-td {
    width: 20px;
}
.barchart-note-table {
    font-size: 13px !important;
    margin: 0 10px 10px 10px;
}
.searchbar-clear-button {
    height:30px!important; /* strange error for some Android device*/
}
.whiteColor {
    color:var(--whiteColor)!important;
}

.ATBGDiv {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--whiteColor);
    bottom:0
}
.themeColorForced {
color:var(--themeColorForced);
}




body {
    --whiteColor:#ffffff;
    --desktopLeftColor:var(--themeColorForced);
    --desktopActiveColor:#ffffff;
    --themeColor:var(--themeColorForced);
    --darkThemeColor:var(--darkThemeColorForced);
}
/* Fallback for older browsers or manual mode */
body.dark {
    --whiteColor:#121212;
    --themeColor:#ffffff;
    --darkThemeColor:#f0f0f0;
    --desktopLeftColor:#1f1f1f;
    --desktopActiveColor:var(--darkThemeColorForced);
    --ion-background-color: #121212;
    --ion-background-color-rgb: 18,18,18;

    --ion-text-color: #ffffff;
    --ion-text-color-rgb: 255,255,255;

    --ion-border-color: #222222;

    --ion-color-step-50: #1e1e1e;
    --ion-color-step-100: #2a2a2a;
    --ion-color-step-150: #363636;
    --ion-color-step-200: #414141;
    --ion-color-step-250: #4d4d4d;
    --ion-color-step-300: #595959;
    --ion-color-step-350: #656565;
    --ion-color-step-400: #717171;
    --ion-color-step-450: #7d7d7d;
    --ion-color-step-500: #898989;
    --ion-color-step-550: #949494;
    --ion-color-step-600: #a0a0a0;
    --ion-color-step-650: #acacac;
    --ion-color-step-700: #b8b8b8;
    --ion-color-step-750: #c4c4c4;
    --ion-color-step-800: #d0d0d0;
    --ion-color-step-850: #dbdbdb;
    --ion-color-step-900: #e7e7e7;
    --ion-color-step-950: #f3f3f3;

    --ion-item-background: #121212;

    --ion-toolbar-background: #1f1f1f;

    --ion-tab-bar-background: #1f1f1f;

    --ion-card-background: #1e1e1e;
}

/* gridster

 */
gridster {
    background-color: var(--ATbackgroundColor)!important;
}
gridster .gridster-column {
    border-left: 1px solid var(--ion-color-step-550)!important;
    border-right: 1px solid var(--ion-color-step-550)!important;
}
gridster .gridster-row {
    border-top: 1px solid var(--ion-color-step-550)!important;
    border-bottom: 1px solid var(--ion-color-step-550)!important;
}
gridster-preview {
    background-color: var(--ATbackgroundColor)!important;
}
.gridItemEdit {
    border-radius:4px;
    border: solid 2px var(--themeColor);
}
.gridItem {
    border: solid 2px var(--ATbackgroundColor);
}
.deleteWidgetButton {
    position: absolute;
    right:0;
    top:0;
    width:26px;
    height:26px;
    background-color: var(--themeColor);
    border-radius: 0 0 0 12px;
    z-index: 9999;
    color:var(--whiteColor);
    text-align: center;
    padding-top: 2px;
}
.editWidgetMask {
    position: absolute;
    right:5px;
    top:5px;
    left:5px;
    bottom:5px;
    background-color: rgba(0,0,0,0.2);
    z-index:99999;
}
.dashboardGrid {
    position: absolute;
    top:50px;
    left:0;
    right:0;
    bottom:0;
    height: calc(100% - 50px);
    padding:0!important;
}
.dashboardHeader {
    position: absolute;
    top:0;
    left:0;
    right:0;
    height: 50px;
    padding:0;
    background-color: var(--ATbackgroundColor);
}
.dashboardHeaderInner {
    height:42px;
    background-color: var(--whiteColor);
}
