@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("../../admin/css/select2.min.css");

:root {
    --rs-main-color: #0375BC;
    --rs-primary-color: #006cb5;
    --rs-second-color: #f33;
    --rs-font-color: #000;
    --rs-white-color: #fff;
    --rs-font-style: "Poppins", sans-serif;
}

/**user-selext-content**/
::-moz-selection {
    /* Code for Firefox */
    color: var(--rs-white-color);
    background: var(--rs-primary-color);
}

::selection {
    color: var(--rs-white-color);
    background: var(--rs-primary-color);
}

/**user-selext-content-end**/
body {
    /*-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;*/
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-family: var(--rs-font-style);
    color: var(--rs-font-color);
}

/* loader and scrollbar */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 99;
}
#status {
    width: 100px;
    height: 100px;
    position: fixed;
    left: 50%;
    top: 50%;
    background-color: green;
    /*background-image: url('../../images/Loader.gif');*/
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transform: translate(-50%, -50%);
}

/*scroll bar css**/
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: #f5f5f5;
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    background-color: #f5f5f5;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #006cb5;
}

/*loader and scrollbar end*/

.header {
    background: #0375BC;
    padding: 15px 0;
    box-shadow: 5px -5px 11px #adadad;
}

.footer {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0px -1px 12px 0px #ededed;
}

.user_name {
    display: flex;
    align-items: center;
}
.user_name .left {
    width: 40px;
    height: 40px;
    position: relative;
    border: 1px solid #c7c7c7;
    border-radius: 50px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.user_name .left span {
    width: 10px;
    height: 10px;
    background: #00dd00;
    border-radius: 50%;
    top: 0;
    right: 0;
    position: absolute;
}
.user_name .right {
    color: #fff;
    padding-left: 10px;
    font-weight: 600;
}
.chat_view {
    padding: 15px 0;
}

.chat_left {
    display: flex;
    align-items: end;
    margin-bottom: 15px;
}

.chat_left .admin_img {
    width: 40px;
    height: 40px;
    border-radius: 50px;
    border: 1px solid #d8d8d8;
    padding: 2px;
}

.chat_left .admin_img img {
    width: 100%;
}

.chat_right .user_chat {
    width: calc(100% - 50%);
    margin: 0 0 0 15px;
    justify-content: end;
}

.chat_left .admin_chat p {
    margin: 0;
    background: white;
    padding: 10px;
    display: inline-block;
    border-radius: 10px 10px 10px 0px;
    box-shadow: 0 0 6px #e9e9e9;
}
.chat_view {
    padding: 15px 10px 15px 0;
    height: calc(100vh - 150px);
    overflow: auto;
}

.chat_left {
    display: flex;
    align-items: end;
    margin-bottom: 15px;
}

.chat_left .admin_img,
.chat_right .user_img {
    width: 40px;
    height: 40px;
    border-radius: 50px;
    border: 1px solid #d8d8d8;
    padding: 2px;
}

.chat_left .admin_img img,
.chat_right .user_img img {
    width: 100%;
}

.admin_chat {
}

.chat_left .admin_chat {
    width: calc(100% - 50%);
    margin: 0 0 0 15px;
}

.chat_left .admin_chat p,
.chat_right .user_chat p {
    margin: 0;
    background: rgb(214 241 255);
    padding: 10px;
    display: inline-block;
    border-radius: 14px 14px 14px 0px;
    box-shadow: 0 0 6px #e9e9e9;
    -webkit-border-radius: 14px 14px 14px 0px;
    -moz-border-radius: 14px 14px 14px 0px;
    -ms-border-radius: 14px 14px 14px 0px;
    -o-border-radius: 14px 14px 14px 0px;
}

.chat_right {
    display: flex;
    align-items: end;
    margin-bottom: 15px;
}

.chat_right .user_img {
    width: 40px;
    height: 40px;
    border-radius: 50px;
    border: 1px solid #d8d8d8;
    padding: 2px;
}

.chat_right .user_chat p {
    text-align: right;
    border-radius: 14px 14px 0px 14px;
    background: transparent linear-gradient(136deg, #059de8 0%, #0069af 100%) 0%
        0% no-repeat padding-box;
    color: #fff;
    -webkit-border-radius: 14px 14px 0px 14px;
    -moz-border-radius: 14px 14px 0px 14px;
    -ms-border-radius: 14px 14px 0px 14px;
    -o-border-radius: 14px 14px 0px 14px;
}

.chat_right .user_chat {
    display: flex;
    justify-content: end;
    margin-right: 15px;
    flex-wrap: wrap;
}

.chat_board {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.chat_board .left {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat_board .left i {
    color: #000;
    font-size: 22px;
}

.chat_board .right {
    width: 40px;
    height: 40px;
}

.chat_board .right .btn {
    background: #006cb5;
    color: #fff;
    border-radius: 40px;
}

.chat_board .right .btn:hover {
    background: #e31e24;
}

.chat_board .middle {
    width: calc(100% - 100px);
    position: relative;
}

.chat_board .middle input {
    width: 100%;
    height: 50px;
    border-radius: 8px;
    border: 0;
    outline: none;
}
.chat_board .left .btn {
    background: transparent;
    padding: 0;
    border: 0;
}

.chat_board .left .btn::after {
    display: none;
}
.chat_board .left ul.dropdown-menu {
    padding: 0;
    background: #d6f1ff;
    bottom: 20px !important;
    border: 1px solid #9ecae1;
    border-radius: 8px;
    width: 280px;
}

.chat_board .left ul.dropdown-menu a {
    padding: 8px 10px;
    white-space: normal;
    border-bottom: 1px solid #c6e3f2;
}

.chat_board .left ul.dropdown-menu a:hover {
    background: #016fb5;
    color: #fff;
}
.admin_chat span,
.chat_right .user_chat span {
    display: block;
    font-size: 12px;
    padding: 5px 0 0 0;
    font-weight: 500;
    width: 100%;
}

.chat_right .user_chat span {
    text-align: right;
}

.loader {
    position: fixed;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: rgb(255 255 255 / 50%);
    z-index: 999;
}
.loader__dot {
    display: block;
    width: 10px;
    height: 10px;
    margin: 4px;
    border-radius: 5px;
    background-color: #006cb5;
    float: left;
}
.slide {
    will-change: transform, opacity;
    -webkit-animation: slide 400ms infinite linear;
    animation: slide 400ms infinite linear;
}
.slide__one {
    -webkit-animation: fadeIn 400ms infinite ease-out;
    animation: fadeIn 400ms infinite ease-out;
}
.slide__two {
    -webkit-animation: fadeOut 400ms infinite ease-in;
    animation: fadeOut 400ms infinite ease-in;
}
@-webkit-keyframes slide {
    from {
        transform: translateX(-18px);
    }
    to {
        transform: translateX(0px);
    }
}
@keyframes slide {
    from {
        transform: translateX(-18px);
    }
    to {
        transform: translateX(0px);
    }
}
@-webkit-keyframes fadeIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
@keyframes fadeIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
@-webkit-keyframes fadeOut {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0);
        opacity: 0;
    }
}
@keyframes fadeOut {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0);
        opacity: 0;
    }
}
.chat_right {
    justify-content: end;
}

.file_doc {
    display: none;
    position: absolute;
    background: #d6f1ff;
    height: 130px;
    overflow-y: auto;
    bottom: 60px !important;
    top: inherit !important;
    left: 0 !important;
    width: 300px !important;
    border: 1px solid #9ecae1;
    border-radius: 8px;
}
.file_doc div {
    cursor: pointer;
    padding: 8px 10px;
    white-space: normal;
    border-bottom: 1px solid #c6e3f2;
}
.file_doc div:hover {
    background-color: #006bb1;
    color: #fff;
}
.chat_board .left ul.dropdown-menu li:last-child a {
    border: 0;
}
.file_doc div:last-child {
    border: 0;
}
/*min-devices-media-query*/

@media (min-width: 575.98px) {
    ...;
}
@media (min-width: 767.98px) {
    ...;
}
@media (min-width: 991.98px) {
    ...;
}
@media (min-width: 1024.98px) {
    ...;
}
@media (min-width: 1199.98px) {
    ...;
}
@media (min-width: 1200.98px) {
    ...;
}

/*max-devices-media-query*/

@media (max-width: 1200.98px) {
    ...;
}
@media (max-width: 1199.98px) {
    ...;
}
@media (max-width: 1024.98px) {
    ...;
}
@media (max-width: 991.98px) {
    ...;
}
@media (max-width: 767.98px) {
    ...;
}
@media (max-width: 575.98px) {
    .chat_right .user_chat {
        width: calc(100% - 47px);
        margin-right: 7px;
        margin-left: 0;
    }
    .chat_left .admin_chat {
        width: calc(100% - 47px);
        margin-left: 7px;
    }
    body {
        font-size: 14px;
    }
    .file_doc {
        width: 100% !important;
    }
}

.dropdown_select {
    position: absolute;
    bottom: 67px !important;
    top: inherit !important;
    padding: 0;
}

.dropdown_select option {
    padding: 7px;
}

.error {
    color: red !important;
    font-size: 14px !important;
    padding-top: 2px !important;
}

.select2-container--open .select2-dropdown--above {
    max-width: 300px !important;
    width: 300px !important;
}
.select2-container--default .select2-selection--single {
    display: none;
}
.select2-container--default .select2-results > .select2-results__options {
    border: 1px solid #bfbfbf;
}

.select2-results__option--selectable {
    border-bottom: 1px solid #dfdfdf;
    padding: 2px 5px;
}

.view_dots {
    background: rgb(214 241 255);
    padding: 15px 30px;
    display: inline-block;
    border-radius: 14px 14px 14px 0px;
    box-shadow: 0 0 6px #e9e9e9;
    -webkit-border-radius: 14px 14px 14px 0px;
    -moz-border-radius: 14px 14px 14px 0px;
    -ms-border-radius: 14px 14px 14px 0px;
    -o-border-radius: 14px 14px 14px 0px;
}
.dots {
    width: 40px;
    aspect-ratio: 4;
    --_g: no-repeat radial-gradient(circle closest-side, #0069af 90%, #0000);
    background: var(--_g) 0% 50%, var(--_g) 50% 50%, var(--_g) 100% 50%;
    background-size: calc(100% / 3) 100%;
    animation: l7 1s infinite linear;
}
@keyframes l7 {
    33% {
        background-size: calc(100% / 3) 0%, calc(100% / 3) 100%,
            calc(100% / 3) 100%;
    }
    50% {
        background-size: calc(100% / 3) 100%, calc(100% / 3) 0%,
            calc(100% / 3) 100%;
    }
    66% {
        background-size: calc(100% / 3) 100%, calc(100% / 3) 100%,
            calc(100% / 3) 0%;
    }
}
.select2-container--open .select2-dropdown--below {
    bottom: 0;
    width: 300px !important;
}

.notifyjs-bootstrap-info {
    white-space: normal !important;
    display: block !important;
}
