.dialButtonOnIOS { left: -11px !important; }

.modifiable { transition: background-color .3s; }

.hasModifications { background-color: rgba(255, 80, 80, .3); }

.hiddenButtonWrapper {
    max-height: 0px;
    overflow: hidden;
    transition: max-height .3s;
}

.hiddenButtonWrapper.visible { max-height: 60px; }

[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak { display: none !important; }

textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"] {
    font-size: 1em;
    font-weight: 600;
}

.state-on-color { color: #090; }

.state-unavailable-color { color: #a00; }

.state-out-color { color: #aaa; }

.state-on, .state-on .bar, .state-on .tabs {
    /*background-color: #0c63ee !important;*/
    background-color: #090 !important;
    /*transition: all .5s;*/
    background-image: none !important;
    border-color: #090 !important;
}

.state-off, .state-off .bar, .state-off .tabs {
    background-color: #aaa !important;
    /*transition: all .5s;*/
    background-image: none !important;
    border-color: #aaa !important;
}

.state-unavailable, .state-unavailable .bar, .state-unavailable .tabs {
    background-color: #a00 !important;
    /*background-color: #ee0c0c !important;*/
    /*transition: all .5s;*/
    background-image: none !important;
    border-color: #a00 !important;
}

.tabs-top .tab-nav.tabs, .tabs-bottom .tab-nav.tabs {
    display: -webkit-box;
    
    display: -webkit-flex;
    display: -moz-box;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    max-height: 49px;

    transition: max-height .3s !important;
}

.tabs-top.tabs-item-hide .tab-nav.tabs, .tabs-bottom.tabs-item-hide .tab-nav.tabs { max-height: 0px; }

.tab-item { opacity: .5; }

/* On iOS, when selecting a <select> HTML element in a popup dialog and allowing the select list keyboard to open, this will prevent the screen from going blank after the keyboard is dismissed.*/

.modal-backdrop-bg { display: none; }

/*Fix for ionic badges being .4 opaque.*/

.tabs-striped.tabs-positive .tab-item .badge { opacity: 1 !important; }

/*Fix for ionic for vertical scroll on iOS*/

/*.overflow-scroll{ 
    overflow-y: auto !important;
}*/

/*Remove the HTML5 webkit and firfox spinners on number inputs*/

input[type='number'] { -moz-appearance: textfield; }

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button { -webkit-appearance: none; }

            
.state-on-radiobutton.isSelected .item-content { box-shadow: inset 0 0 5px #090; }

.state-off-radiobutton.isSelected .item-content { box-shadow: inset 0 0 5px #aaa; }

.state-unavailable-radiobutton.isSelected .item-content { box-shadow: inset 0 0 5px #a00; }


.consoleLogs .logRow {
    font-size: .72em;
    line-height: 1.2em;
    margin: 5px;
}

.consoleLogs .logRow.log { color: #777; }

.consoleLogs .logRow.warn { color: orangered; }

.consoleLogs .logRow.error { color: red; }


.feedback textarea {
    height: calc(100% - 76px); /* subtract footer height (120) minus header height (44px) */
    padding: 5px;
    width: 100%;
}

.feedback .bar-footer {
    border-color: lightgray;
    display: block;
    height: 120px;
}

.feedbackSubmitGroup { display: flex; }

.feedbackSubmitLogsCheckbox { width: 100%; }

.feedbackSubmitButton { margin: 10px; }

.feedback .disclaimer {
    font-size: small;
    line-height: normal;
    margin: 5px;
}


.animate-edgev {
    /*line-height:80px;*/
    /*list-style:none;*/
    /*box-sizing:border-box;
  max-height:40px;
  overflow: hidden;*/
    position: relative;
    transition: all .5s;
}

.animate-edgev.ng-move,
.animate-edgev.ng-enter,
.animate-edgev.ng-leave { transition: all 0.5s; }

.animate-edgev.ng-move,
.animate-edgev.ng-enter {
    opacity: 0;
    top: 50px;
}

.animate-edgev.ng-leave.ng-leave-active { transition: none; }

.animate-edgev.ng-leave,
.animate-edgev.ng-move.ng-move-active,
.animate-edgev.ng-enter.ng-enter-active {
    opacity: 1;
    top: 0px;
    /*line-height:40px;*/
}


.animateExpandManual {
    -moz-transition: all .5s;
    -o-transition: all .5s;
    -webkit-transition: all .5s;
    max-height: 0px;
    opacity: 0;

    overflow: hidden;
    transition: all .5s;
}

.animateExpandManual.expanded {
    max-height: 250px;
    opacity: 1;
}

.animateExpandManual.contracted {
    margin-bottom: 0px;
    margin-top: 0px;

    max-height: 0px !important;
    opacity: 0 !important;
    padding-bottom: 0px;
    padding-top: 0px;
}


/* Container for ng-switch to handle potential layout issues */
.switch-container {
    overflow: hidden; /* Crucial for max-height animations */
    position: relative; /* If you're animating positioning */
}

/* Base style for the collapsible divs */
.switch-container > div {
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out; /* Define transitions for max-height and opacity */
    overflow: hidden; /* Hide overflow during collapse */
}

/* Starting state for entering divs (collapsed and invisible) */
.switch-container > div.ng-enter {
    max-height: 0;
    opacity: 0;
}

/* Ending state for entering divs (expanded and visible) */
.switch-container > div.ng-enter.ng-enter-active {
    max-height: 500px; /* Adjust this value as needed */
    opacity: 1;
}

/* Starting state for leaving divs (visible and expanded) */
.switch-container > div.ng-leave {
    max-height: 500px; /* Match the expanded state */
    opacity: 1;
}

/* Ending state for leaving divs (collapsed and invisible) */
.switch-container > div.ng-leave.ng-leave-active {
    max-height: 0;
    opacity: 0;
}



.MagrinTop15px { margin-top: 15px; }

.text-error { color: red; }

.popover {
    background-color: rgba(255, 255, 255, .9) !important;
    opacity: 1 !important;
}


.list .item.item-accordion {
    line-height: 38px;
    padding-bottom: 0;
    padding-top: 0;
    transition: 0.09s all linear;
}

.list .item.item-accordion.ng-hide { line-height: 0px; }

.list .item.item-accordion.ng-hide-add,
.list .item.item-accordion.ng-hide-remove { display: block !important; }

.colorGreen { color: green; }

.colorRed { color: red; }

.mobilePlus { background: url("mobile-phone--plus.png"); }

.mobileMinus { background: url("mobile-phone--minus.png"); }

i.large.ion-ios-people {
    color: blue;
    font-size: 30px;
}

.sliderOpenAndroid a.item-content { transform: translate3d(-131px, 0px, 0px) !important; }

.sliderOpenIOS a.item-content { transform: translate3d(-125px, 0px, 0px) !important; }


ion-header-bar h1.title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/*Disabling platform specific tweaks */

.platform-ios.platform-cordova:not(.fullscreen) .bar-header { height: 44px !important; }

.platform-ios.platform-cordova:not(.fullscreen) .bar-header:not(.bar-subheader) { height: 44px !important; }

.platform-ios.platform-cordova:not(.fullscreen) .bar-header:not(.bar-subheader).item-input-inset .item-input-wrapper { margin-top: 0px !important; }

.platform-ios.platform-cordova:not(.fullscreen) .bar-header:not(.bar-subheader) > * { margin-top: 0px !important; }

.platform-ios.platform-cordova:not(.fullscreen) .tabs-top > .tabs, .platform-ios.platform-cordova:not(.fullscreen) .tabs.tabs-top { top: 44px !important; }

.platform-ios.platform-cordova:not(.fullscreen) .has-header, .platform-ios.platform-cordova:not(.fullscreen) .bar-subheader { top: 44px !important; }

.platform-ios.platform-cordova:not(.fullscreen) .has-subheader { top: 88px !important; }

.ion-autocomplete-container ion-content { background-color: lavender; }


/* Call Feedback */

.rating-icons {
    display: flex;
    font-size: 400%;
    justify-content: space-evenly;
    margin: 5vh 2.5vw;
}

.ion-happy { color: #139913; }

.ion-sad { color: #A12810; }

.disabled-icon { color: #999; }

.rating-feedback { margin: 5vh 2.5vw; }

.rating-feedback-group { margin: 2vh 0; }

.rating-feedback textarea { width: 100%; }

.rating-feedback textarea {
    height: auto;
    margin: 2vh 0;
    width: 100%;
}

.rating-feedback .button {
    padding: 0;
    white-space: nowrap;
    width: 100%;
}

.rating-feedback .row { padding: 0; }

.rating-feedback .col { margin: 0; }

.callFeedbackSubmitGroup { width: 100%; }

.callFeedbackSubmitGroup .button { width: 100%; }


/* Ensure that popups are not hidden behind modals */

.popup-container { z-index: 10000; }

.popup-container .popup { background-color: white; }

/* Ensure that loading screen shows on top of everything */

.loading-container { z-index: 1000000; }

.backdrop-loading { z-index: 1000000; }


/* div at bottom of page */
.flex-rows-container {
    display: flex;
    flex-flow: column;
    align-items: stretch;
    height: 100%;
}

.flex-row {
    flex-grow: 0;
    flex-shrink: 0;
}

.flex-row-fill {
    flex-grow: 1;
    flex-shrink: 0;
}

.flex-row-shrink {
    flex-grow: 0;
    flex-shrink: 1;
}


/* helper to stack label & input */
.stacked-label.item-input {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    align-items: start;
}

.stacked-label .input-label {
    font-size: 1em;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stacked-label .email-phone {
    width: 100%;
    box-sizing: border-box;
    font-size: 1.25em;
    font-weight: 500;
    padding: 0.5em 16px 0.5em 0;
    flex: 34px;
}
