.view-container,
.modal-backdrop, .modal-backdrop-bg,
.backdrop,
.popup-container {
    max-width: 768px;
    overflow: hidden;
    right: 0;
    left: 0;
    margin: auto;
}
.ionic_toast {
    max-width: 750px;
    margin: auto;
}
.item {
    font-size: inherit;
}
.item.item-divider {
    border: none;
    background-color: #e2e2e2;
}
.bar {
    height: 60px;
}
.bar-subheader {
    top: 60px;
}
.bar.bar-subheader {
    height: 45px;
    border-bottom:  solid 1px #c4c4c4;
    background-image: none;
}
.has-header.has-subheader {
    top: 105px;
}
.bar-subheader .tabs {
    height: 100%;
}
.bar-subheader .tabs a:hover {
    text-decoration: none;
}
.bar-subheader .tabs .tab-item {
    height: auto;
    text-align: left;
    border-left:  solid 1px #c4c4c4;
    line-height: 1.3em;
    opacity: 1;
    max-width: inherit;
}
.bar-subheader .tabs .tab-item p {
    text-overflow: ellipsis;
    overflow: hidden;
    margin: 0;
}
.bar-subheader .tabs .tab-item:first-child {
    border-left:  none;
}
.bar.rb-bar-subfooter {
    height: auto;
    padding: 0;
}
.rb-bar-subfooter {
    bottom: 60px;
}
.bar-header .button, .bar-footer .button {
    margin-top: 6px;
}
.bar-header .title {
    height: 60px;
    line-height: 60px;
}
.scroll-content > .scroll {
    min-height: 100%;
}
body.keyboard-open .has-footer{
    bottom: 0;
}
.platform-android .bar .title {
    line-height: 60px;
}
.bar .title.title-left, .bar .title.title-right {
    text-align: center;
    left: 0 !important;
    right: 0 !important;
}
.platform-android .checkbox-platform input:before, .platform-android .checkbox-platform .checkbox-icon:before, .checkbox-square input:before, .checkbox-square .checkbox-icon:before {
    width: 100%;
    height: 100%;
    margin: 0;
}
.scroll-bar-indicator {
    background-color: #ffffff;
}

/*ionic-toast*/
.ionic_toast {
    display: flex;
    flex-direction: row;
    align-items: center;
    left: 10px;
    right: 10px;
    padding: 10px;
    border-radius: 30px;
}
.toast_section {
    background-color: #5AC6CB !important;
    border-radius: 30px !important;
    position: absolute !important;
    font-style: italic;
}
.toast_section.ionic_toast_sticky {
    text-align: left;
}
.ionic_toast > .toast_section > span:last-child {
    padding: 10px 25px;
    display: flex;
    flex: 1;
}

.ionic_toast_close {
    border-radius: 20px !important;
    border: 2px solid white;
    order: 2;
    opacity: 0.5;
    display: block;
    width: 30px !important;
    height: 30px !important;
    text-align: center;
    top: 30% !important;
    right: 10px !important;
}

.toast_close_icon {
    top: 1px;
    font-size: 25px;
}

.toast_close_icon:before {
    content:'&';
    color: transparent;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    background-image: url('../img/icon-custom-cross.png');
}

.ionic_toast_top{
    top: 10px;
}


body.grade-b, body.grade-c {
    text-rendering: optimizeLegibility;
}
input[disabled], select[disabled], textarea[disabled], input[readonly]:not(.cloned-text-input), textarea[readonly]:not(.cloned-text-input), select[readonly] {
    background-color: #D8D8D8;
    color: #9B9B9B;
}