html {
    scroll-behavior: smooth !important;
}


/* @media screen and (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: smooth !important;
    }
} */

.bg-custom {
    color: #fff !important;
    background-color: var(--main-color) !important;
}

.btn-outline-custom {
    color: var(--main-color) !important;
    border-color: var(--main-color) !important;
}

.txt-custom {
    color: var(--main-color) !important;
}

button:disabled,
button[disabled] {
    cursor: not-allowed;
}

button:disabled,
.btn:disabled,
.btn.disabled,
fieldset:disabled .btn {
    pointer-events: none;
    opacity: 0.65;
}

.pointer {
    cursor: pointer !important;
}

.br-0 {
    border-radius: 0% !important;
}

.no-connection {
    background: red;
    color: white
}

.accept-notification {
    background: #cb7204;
    color: #e2e2e2
}

.has-connection {
    background: green;
    color: white
}

.toast:not(.showing):not(.show) {
    opacity: 1;
}

.toast {
    z-index: 20;
    position: relative;
    /* left: 40%; */
    top: 100px;
    /* margin: auto; */
}

@media (max-width: 400px) {
    .toast {
        width: 90%;
    }
}

.internet {
    z-index: 20;
    position: relative;
    /* left: 40%; */
    top: 300px;
    background: #FF5157;
    /* margin: auto; */
}

.internet .toast-header {
    background: #FF5157;
    color: #FFFFFF;
}

.internet button {
    border: 1px solid #FFFFFF;
    background: #FF6876;
    color: #FFFFFF;
    border-radius: 5px;
}

.toast-header {
    justify-content: space-between;
}

#toaster {
    width: 100vw;
    display: flex;
    justify-items: center;
    position: absolute;
}

.hide {
    display: none !important;
}

.show {
    display: show !important;
}

.modal-back {
    margin-right: 10px;
}


/* https://codepen.io/chrisunderdown/pen/JeXNoz */

@mixin rings($duration, $delay) {
    opacity: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -8px;
    left: -8px;
    right: 0;
    bottom: 0;
    content: '';
    height: 100%;
    width: 100%;
    border: 8px solid rgba(0, 0, 0, 0.2);
    border-radius: 100%;
    animation-name: ripple;
    animation-duration: $duration;
    animation-delay: $delay;
    animation-iteration-count: infinite;
    animation-timing-function: cubic-bezier(.65, 0, .34, 1);
    z-index: -1;
}

@keyframes ripple {
    from {
        opacity: 1;
        transform: scale3d(0.75, 0.75, 1);
    }
    to {
        opacity: 0;
        transform: scale3d(1.5, 1.5, 1);
    }
}

#fab::after {
    @include rings(3s, 0s);
}

#fab::before {
    @include rings(3s, 0.5s);
}

.nearest {
    background: var(--main-color) !important;
    margin: 0 auto 20px;
    color: #fff !important;
    height: 40px !important;
    padding: 0 30px;
}

.grey {
    color: grey;
}

.inflow {
    transform: rotate(180deg);
}

.pr-0 {
    padding-right: 0 !important;
}

.pr-2 {
    padding-right: 2rem !important;
}

.px-0 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.trns-history .tranx .txt {
    font-style: normal;
    font-weight: 300;
    font-size: 14px;
    line-height: 24px;
    color: #636363;
}

.dynamic-inline-link-text {
    color: blue;
    text-decoration: underline;
    font-weight: 800 !important
}

.bold {
    font-weight: bold !important
}

.bolder {
    font-weight: bolder !important
}

.bold-900 {
    font-weight: 900 !important
}

.text-left {
    text-align: left !important;
}

.text-justify {
    text-align: justify !important;
}

.lh-2 {
    line-height: 2 !important;
    /* letter-spacing: 1px; */
}

ol.lh-2 li {
    margin-bottom: 15px;
}

.underline {
    text-decoration: underline;
}

.attachment-image {
    border-radius: 50%;
    margin-right: 10px;
    height: 60px;
    width: 60px;
}

.message.user .download {
    grid-template-columns: 1fr 2fr !important;
}

.anim-hearbeat {
    -moz-animation: heartbeat 1.5s ease-in-out infinite both !important;
    -webkit-animation: heartbeat 1.5s ease-in-out infinite both !important;
    animation: heartbeat 1.5s ease-in-out infinite both !important;
}

.w-auto {
    width: auto !important;
}

.h-45 {
    height: 45px !important;
}

.chat.chat-area-text,
.chat.chat-area-date,
.chat.chat-area-email,
.chat.chat-area-pasword,
.chat.chat-area-number {
    height: calc(100vh - 50px) !important;
}

.chat.chat-area-text .floating-action-box,
.chat.chat-area-date .floating-action-box,
.chat.chat-area-email .floating-action-box,
.chat.chat-area-pasword.floating-action-box,
.chat.chat-area-number .floating-action-box {
    bottom: 130px !important;
}

.chat.chat-area-textarea {
    height: calc(100vh - 120px) !important;
}

.expand-chat-body {
    height: calc(100vh - 180px) !important;
}

.reset-chat-body {
    height: calc(100vh - 150px);
}

.expand-floating-action-box {
    bottom: 250px !important;
}

.reset-floating-action-box {
    bottom: 110px !important;
}

.default-textarea-floating-action-box {
    bottom: 180px !important;
}

.pl-2,
.px-2 {
    padding-left: .5rem!important
}

.pr-2,
.px-2 {
    padding-right: .5rem!important
}

.pr-3,
.px-3 {
    padding-right: 1rem!important
}

.pl-3,
.px-3 {
    padding-left: 1rem!important
}

.pt-3,
.py-3 {
    padding-top: 1rem!important
}

.pb-3,
.py-3 {
    padding-bottom: 1rem!important
}