.div_disabled {
    pointer-events: none!important;
}
ion-tab-button {
    max-width: initial;
    --padding-start: 3px;
    --padding-end: 3px;
}
ion-segment-button {
    --min-height: 28px!important;
    --max-height: 28px!important;
    min-height: 28px!important;
    max-height: 28px!important;
    line-height: 20px!important;
}

ion-content .ionContentDesktop {
    --background: var(--ATbackgroundColor);

}
ion-toggle {
    --handle-background:var(--ion-color-step-50);
    --handle-background-checked:var(--themeColor);
    --background-checked:var(--ion-color-step-650);
}
ion-range {
    --knob-background:var(--themeColor);
    --bar-background-active:var(--themeColor);
    --bar-background:var(--ion-color-step-200);
}
ion-tab-button {
    background-color: var(--ion-tab-bar-background);
    box-shadow: 0 1px 0 0 var(--ion-tab-bar-background) inset;
    --color-selected:var(--themeColor);
}

.split-pane-md.split-pane-visible>.split-pane-side {
    min-width: 225px;
}

.sc-ion-searchbar-md-h {
    padding-top:3px;
    padding-bottom: 3px;
}
.searchbar-search-icon.sc-ion-searchbar-md {
    top:8px;
    left:8px
}
.ion-color-white {
    color:var(--ion-color-step-50);
}

.popover-content.sc-ion-popover-md {
    background-color: transparent;
    box-shadow: none;
}
.item-native.sc-ion-item-md {
    padding-left:0;
}

ion-item.padding8 {
    --inner-padding-end:8px;
}
ion-button.addTagButton {
    --padding-end: 0!important;
}

ion-modal.icon-modal-cssMobile {
    top:0;
    left:0;
    right:0;
    bottom:0;
}
ion-modal.icon-modal-css {
    top:0;
    left:0;
    right:0;
    bottom:0;
    --border-color:var(--ion-color-step-750);
    --height:600px;
    --border-width:1px;
    --border-style:solid;
}
ion-modal.icon-modal-cssHeight800 {
    top:0;
    left:0;
    right:0;
    bottom:0;
    --border-color:var(--ion-color-step-750);
    --height:800px;
    --border-width:1px;
    --border-style:solid;
    --max-height:100% !important;
    --border-radius: 4px!important;
}
ion-toggle {
    padding-right: 0;
}

ion-input.inputRightAlign {
    text-align: right;
}
ion-textarea.inputRightAlign {
    text-align: right;
}
ion-toast.ATToastclass {
    text-align: center;
    left:10%;
    max-width: 80%;

}
ion-fab-button {
    --ion-color-base:var(--themeColorForced);
}
ion-segment{
    height:32px;
}

ion-segment-button{
    min-height:24px;
    min-width: 30px;
   --padding-start: 0;
    --padding-end: 0;
}
.toolBarColor {
    --ion-background-color: #266692;
}
ion-item .item-inner{
    border:0!important;

}
ion-item {
    --padding-start: 0px;
    --min-height: 30px;
}

.item-input ion-label,
.item-select ion-label,
.item-datetime ion-label {
    color: var(--ion-color-step-650);
}

.item {
    color: var(--ion-color-step-650);
}

.item-input .label-md,
.item-select .label-md,
.item-datetime .label-md {
    color: var(--ion-color-step-650);
}
.bar .title + .button:last-child {
    padding: 0px;
    top: -3px;
}

.tabs .tab-item .icon.tabIcon {
    background-repeat: no-repeat;
    background-position: 50%;
    height: 32px;
    background-size: contain;

}
.tabs-striped .tab-item.tab-item-active, .tabs-striped .tab-item.active, .tabs-striped .tab-item.ion-activated {
    margin-top: 0;
    border: 0;
}
.tabs-striped .tabs {
    background-color: var(--ion-color-step-50) !important;
    border-top: solid var(--ion-color-step-300) 1px !important;
}
.popover {
    height: 216px;
    width: 170px;
}
.item-complex .item-content {
    padding: 0;
}
.item {
    /* border-color: #ddd; */
    background-color: var(--whiteColor);
    color: var(--ion-color-step-650);
    position: relative;
    z-index: 2;
    display: block;
    /* margin: -1px;
    border-width: 0;

    border-bottom-width: 1px;
    border-style: solid;
    */
    font-size: 16px;
    /* border-bottom: 1px solid rgba(0, 0, 0, 0.3); */
}
ion-list .item .item-inner {
    border-bottom: 0;
}
.popover-content {
    width: 250px;
    max-height: 90%;
    border-radius: 0px;
    color: var(--ion-color-step-950);
    background: inherit;
    margin-left: 50px;
    margin-top: -40px;
}

.popover-md .popover-content {
    background: transparent;
    box-shadow: none;
}

ion-label[stacked] {
    margin-bottom: 4px;
    font-size: inherit;
}

textarea {
    overflow: auto;
    overflow-x: hidden!important;
    height: 100px!important;
    font: inherit;
    color: inherit;
}
.segment-button ion-icon {
    font-size: 22px;
    line-height: 22px;
}
.segment-button {
    height: 28px !important;
    line-height: 2.8rem !important;
}
.input-md .text-input {
    padding-right: 0;
    outline:none;
}

.item-md.item-block .item-inner {
    border-bottom: none;
}

.list-md {
    margin: -1px 0 2px 0;
}

.label-md[stacked] {
    padding-top: 13px;
    font-size: 1.6rem;
}
.datetime-text {
    min-width: 80px;
}
.segment-md .segment-button ion-icon {
    font-size: 22px;
    line-height: 22px;
}

.label-md {
    margin: 0px 8px 0px 0;
}

ion-select {
    max-width: 80%;
}
.tabs-md .tabbar .tab-button [aria-selected=false],
.tabs-md .tabbar .tab-button:hover:not(.disable-hover) {

}
ion-item-divider {
    background-color: var(--ion-color-step-150) !important;
    border: solid 1px rgba(200, 200, 200, 0.5) !important;
    padding: 0;
    min-height: 10px;
}
/*patch, somehow the color is set wrong to black by default for this theme.*/
.segment-md-ATrackerGoldenrod .segment-button.segment-activated {
    color: var(--whiteColor);
}
.tabbar {
    border-color: var(--ion-color-step-300) !important;

}
.tab-button[aria-selected=false],
.tab-button[aria-selected=false] .tab-button-icon {
    color: var(--ion-color-step-400);
}
.tabs-md .tab-button {
    margin-bottom: 5px;
}
.content .scroll-content {
    overflow-y: hidden;
    margin-bottom: 0!important;
}

.tabs-md .tabbar {
    border-top: 1px solid var(--ion-color-step-150);
}
.select-md .select-icon {
    position: relative;
    width: 16px;
    height: 18px;
}

.list-md > .item-block:last-child,
.list-md > .item-wrapper:last-child .item-block {
    border-bottom: 0;
}
.range-md {
    padding: 4px 16px;
}
.item-md.item-input.ng-valid.input-has-value:not(.input-has-focus) .item-inner {
    border-bottom: 0;
    box-shadow: none;
}
.noBorderInput .text-input-md {
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 0;
    width: 100%;
    padding: 0px;
    font-size:14px;
    font-weight:400;
}
ion-modal.datepicker {
    width:270px!important;
    height:380px!important;
    top: 10%!important;
    transform: translateX(-50%) !important;
    left: 50%!important;
}



/*for date-picker, not sure about inpact */
/* not sure about the need, 2020-01-21
@media only screen and (min-width: 768px) and (min-height: 600px) {
    .modal-wrapper {
        position: inherit!important;
        width:inherit!important;
        height:inherit!important;
        left:0!important;
        top:0!important;

    }

}
*/


.input-cover{
    display: none;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-transition: "color 9999s ease-out, background-color 9999s ease-out";
    -webkit-transition-delay: 9999s;
}

.alert-md .alert-input:focus {
    margin-bottom: 4px;
    border-bottom: 1px solid var(--ion-color-step-150)!important;
}
.changePassword .alert-wrapper
{
    min-width: 300px;
    max-width: 300px;
}
.changePassword .alert-input
{
    outline-color:transparent!important;

}
.changePassword .alert-message
{
    overflow-y: auto;

}

.action-sheet-md .action-sheet-title {
    color: var(--ion-color-step-800);
    font-weight: 800;
    font-size: 1.4em;
    padding: 10px 16px;
}

.button-md-danger {
    color: #fff;
    background-color: #f53d3d;
}

.segment-md-dark .segment-button {
    color: var(--ion-color-step-650);
}

.segment-md-dark .segment-button.ion-activated, .segment-md-dark .segment-button.segment-activated {
    border-color: var(--ion-color-step-650);
    color: var(--ion-color-step-650);
    opacity: 1;
}
.greyScroll::-webkit-scrollbar{
    width:16px;
    background-color:var(--ion-color-step-100);
}
.greyScroll::-webkit-scrollbar-thumb{
    background-color:var(--ion-color-step-450);
    -webkit-border-radius: 10px;
    border:4px solid var(--ion-color-step-100);
}
.greyScroll::-webkit-scrollbar-thumb:active{
    background-color:var(--ion-color-step-550);

}
.custom-popover-colorPalette .popover-content {
    left:calc(50% - 50px)!important;
    width: 293px;
}
.custom-popover-colorPalette_mobile .popover-content {
    width: 293px;
    left:initial!important;
    right:0!important;
}
.itemNoRightMargin .item-inner{
    margin-right: 0!important;
    padding-right: 0!important;
}
.tabs-md .tab-button-icon {
    font-size: 2.9rem;
    height:36px;
}

.tabs-md[tabsLayout=icon-top] .has-icon .tab-button-text {
    margin-top: 0;
    margin-bottom: 0;
}
.tabs-md .tab-button {
    min-height: 5rem;
}
.searchbar-md .searchbar-input {
    padding: 4px 55px;
}
@media (min-width: 700px) {
    .app-root {
        width: 700px;
        margin: auto;
        position: relative;
        border-left: 1px solid darkgrey;
        border-right: 1px solid darkgrey;
    }

    .scroll-content {
        overflow-y: auto;
    }

}

.NoBorderFirst:first-child {
    border-top:0!important;
}
ion-segment-button {
    --background-hover: transparent;
    --background-activated-opacity: 0;
    --background-focused-opacity: 0;
    --background-hover-opacity: 0;
}

ion-footer {
    margin-bottom: 10px;
}
