﻿.bg-gradient-primary {
    background: linear-gradient(230deg, #081bf1, #3caef6);
}

.bg-gradient-danger {
    background: linear-gradient(316deg, #54e010, #1f5004);
}

.bg-gradient-info {
    background: linear-gradient(to bottom, #e90c21, #b2565d);
}

.dataTables_wrapper .dataTable thead .sorting:before, .dataTables_wrapper .dataTable thead .sorting_asc:before, .dataTables_wrapper .dataTable thead .sorting_desc:before, .dataTables_wrapper .dataTable thead .sorting_asc_disabled:before, .dataTables_wrapper .dataTable thead .sorting_desc_disabled:before {
    right: 2px !important;
}

.select2-container {
    max-width: 100%
}

.dataTables_wrapper .dataTable thead .sorting:before, .dataTables_wrapper .dataTable thead .sorting_asc:before, .dataTables_wrapper .dataTable thead .sorting_desc:before, .dataTables_wrapper .dataTable thead .sorting_asc_disabled:before, .dataTables_wrapper .dataTable thead .sorting_desc_disabled:before {
    right: 2px !important;
}

.columnEllipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}

.staticTableHeight {
    width: 100% !important;
}


.greyBackgroundColorDisableRow, .greyBackgroundColorDisableRow + .dx-master-detail-row {
    background-color: rgb(223, 225, 225) !important;
    pointer-events: none;
}

.disablePointerEvents {
    pointer-events: none !important;
}

.context-menu {
    display: none;
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    z-index: 1000;
    font-weight: bold;
}

    .context-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .context-menu li {
        padding: 8px 12px;
        cursor: pointer;
    }

        .context-menu li:hover {
            background-color: black;
            color: white;
        }


.greyBackgroundColor {
    background-color: rgb(223, 225, 225) !important;
}

@media screen and (max-width: 991px) {
    .main-panel {
        left: 0px !important;
    }

    .table-responsive {
        display: block !important;
    }
}

@media screen and (min-width: 992px) {
    .table-responsive {
        display: revert !important;
    }

    .staticTableHeight tbody {
        display: block;
        overflow: auto;
    }

        .staticTableHeight thead, .staticTableHeight tbody tr {
            display: table;
            width: 100%;
            table-layout: fixed;
        }
}

@media screen and (max-width: 991px) {
    .main-panel {
        left: 0px !important;
    }

    .table-responsive {
        display: block !important;
    }
}

@media screen and (min-width: 992px) {
    .table-responsive {
        display: revert !important;
    }

    .staticTableHeight tbody {
        display: block;
        overflow: auto;
    }

        .staticTableHeight thead, .staticTableHeight tbody tr {
            display: table;
            width: 100%;
            table-layout: fixed;
        }
}

@media screen and (max-width: 991px) {
    .insertProblemBtn {
        justify-content: center;
    }
}

.staticTableHeight tbody tr:hover, .searchResultsRow:hover {
    transform: scale(1,1);
    -webkit-transform: scale(1,1);
    -moz-transform: scale(1,1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.staticTableHeight tbody tr:hover {
    background: #cacaca;
}


.accordion.accordion-solid-header .card .card-header a[aria-expanded="false"] {
    background: #f3f3f9;
    color: black;
}

.accordion.accordion-solid-header .card .card-header a:before {
    top: 33%;
}

.select2-selection__choice {
    height: 20px;
}

.select2-selection__choice__remove, .select2-selection__choice__display {
    font-size: 13px !important;
    line-height: 18px !important;
}

.accordion.accordion-solid-header .card .card-header a {
    padding: 1rem 4.5rem 1rem 2rem;
}

    .accordion.accordion-solid-header .card .card-header a[aria-expanded="false"] {
        background: #f3f3f9;
        color: black;
    }

/*Standard Tasks*/



.accordion.accordion-solid-header .card {
    padding: 1rem;
}

select.form-control:not([size]):not([multiple]), select.asColorPicker-input:not([size]):not([multiple]), .dataTables_wrapper select:not([size]):not([multiple]), .jsgrid .jsgrid-table .jsgrid-filter-row select:not([size]):not([multiple]), .select2-container--default select.select2-selection--single:not([size]):not([multiple]), .select2-container--default .select2-selection--single select.select2-search__field:not([size]):not([multiple]), select.typeahead:not([size]):not([multiple]), select.tt-query:not([size]):not([multiple]), select.tt-hint:not([size]):not([multiple]) {
    height: calc(2.25rem + 9px);
}

.select-height {
    height: calc(2.25rem + 9px);
}

.hint {
    color: red;
}

.logo-size {
    height: auto !important;
}

.liMessageUserClass {
    padding-left: 14px;
    padding-right: 14px;
    border-bottom: 1px solid #ececec;
    cursor: pointer;
}

    .liMessageUserClass:hover {
        background-color: #e0e0e0;
    }

:root {
    --body-bg: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --msger-bg: #fff;
    --border: 2px solid #ddd;
    --left-msg-bg: #ececec;
    --right-msg-bg: #22599e;
}

html {
    box-sizing: border-box;
}


.msger {
    display: flex;
    flex-flow: column wrap;
    justify-content: space-between;
    width: 100%;
    margin: 25px 10px;
    height: calc(100% - 50px);
    border: var(--border);
    border-radius: 5px;
    background: var(--msger-bg);
    box-shadow: 0 15px 15px -5px rgba(0, 0, 0, 0.2);
}

.msger-header {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-bottom: var(--border);
    background: #eee;
    color: #666;
}

.msger-chat, .msger-search-chat {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

    .msger-chat::-webkit-scrollbar, .msger-search-chat::-webkit-scrollbar {
        width: 6px;
    }

    .msger-chat::-webkit-scrollbar-track, .msger-search-chat::-webkit-scrollbar-track {
        background: #ddd;
    }

    .msger-chat::-webkit-scrollbar-thumb, .msger-search-chat::-webkit-scrollbar-thumb {
        background: #bdbdbd;
    }

.msg {
    display: flex;
    align-items: flex-end;
    margin-bottom: 10px;
}

.msg-img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    background: #ddd;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 50%;
}

.msg-bubble {
    max-width: 450px;
    padding: 15px;
    border-radius: 15px;
    background: var(--left-msg-bg);
}

@media screen and (min-width: 992px) and (max-width: 1076px) {
    .msg-bubble {
        max-width: 391px !important;
    }
}

@media screen and (min-width: 701px) and (max-width: 880px) {
    .msg-bubble {
        max-width: 300px !important;
    }
}

@media screen and (max-width: 475px) {
    .msg-bubble {
        max-width: 200px !important;
    }
}

@media screen and (min-width: 476px) and (max-width: 680px) {
    .msg-bubble {
        max-width: 268px !important;
    }
}

.msg-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.msg-info-name {
    margin-right: 10px;
    font-weight: bold;
}

.msg-info-time {
    font-size: 0.85em;
}

.left-msg .msg-bubble {
    border-bottom-left-radius: 0;
}

.right-msg {
    flex-direction: row-reverse;
}

    .right-msg .msg-bubble {
        background: var(--right-msg-bg);
        color: #fff;
        border-bottom-right-radius: 0;
    }

    .right-msg .msg-img {
        margin: 0 0 0 10px;
    }

.msger-inputarea {
    display: flex;
    padding: 10px;
    border-top: var(--border);
    background: #eee;
}

    .msger-inputarea * {
        max-width: 100% !important;
        padding: 10px;
        border: none;
        border-radius: 3px;
        font-size: 1em;
    }

.msger-input {
    flex: 1;
    background: #ddd;
}

.msger-send-btn {
    margin-left: 10px;
    background: rgb(0, 196, 65);
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.23s;
}
    .msger-send-btn:disabled {
        background: #877b7b;
        pointer-events: none;
    }
    .msger-send-btn:hover {
        background: rgb(0, 180, 50);
    }

.select-height {
    height: calc(2.25rem + 9px);
}

.mdi-color-delete {
    color: red;
    font-size: 17px !important;
    margin-bottom: 10px;
}

.mdi-color:hover {
    color: #b0d0cf;
}

/*custom*/
#chat-div {
    margin: auto;
    width: 66%;
}

input[type=checkbox] {
    position: relative;
    border: 2px solid #0b7977;
    border-radius: 2px;
    background: none;
    cursor: pointer;
    line-height: 0;
    margin: 0 .6em 0 0;
    outline: 0;
    padding: 0 !important;
    vertical-align: text-top;
    height: 20px;
    width: 20px;
    -webkit-appearance: none;
    opacity: .5;
}

    input[type=checkbox]:hover {
        opacity: 1;
    }

    input[type=checkbox]:checked {
        background-color: #0b7977;
        opacity: 1;
    }

    input[type=checkbox]:before {
        content: '';
        position: absolute;
        right: 50%;
        top: 50%;
        width: 4px;
        height: 10px;
        border: solid #FFF;
        border-width: 0 2px 2px 0;
        margin: -1px -1px 0 -1px;
        transform: rotate(45deg) translate(-50%, -50%);
        z-index: 2;
    }


.agentsDropdown {
    text-align: center;
}

.select-agents {
    text-align: left !important;
    height: 10% !important;
    margin-bottom: 6px;
}

.tab-content {
    border-top: 0;
    padding: 2rem 3rem;
    text-align: justify;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: 1px solid #f3f3f3;
}

.bootstrap-datetimepicker-widget {
    display: none !important;
}

.fa.menu-icon {
    width: unset;
}

@media screen and (max-width: 700px) {
    #chat-div {
        width: 89% !important;
        left: -2%;
        position: relative;
    }
}

@media screen and (min-width: 701px) and (max-width: 850px) {
    #chat-div {
        width: 76% !important;
    }
}

@media screen and (max-width: 628px) {
    .brokerageTabButtons {
        text-align: center;
    }
}

.dataTables_wrapper table thead tr:first-child {
    height: 39px;
}

@media screen and (min-width: 780px) and (max-width: 850px) {
    #bgImage {
        background-size: 90% !important;
    }
}

@media screen and (min-width: 851px) and (max-width: 919px) {
    #bgImage {
        background-size: 85% !important;
    }
}

@media screen and (min-width: 920px) and (max-width: 991px) {
    #bgImage {
        background-size: 79% !important;
    }
}

@media screen and (min-width: 992px) and (max-width: 1530px) {
    #bgImage {
        background-size: 100% !important;
    }
}

@media screen and (max-width: 400px) {
    #bgImage {
        background-size: 96% !important;
        top: 15px !important;
    }

    #codeButton {
        width: 69% !important;
    }

    #bgImage1 {
        top: 26px !important;
    }

    .bgImage1-auth-form-transparent {
        margin-top: 62px !important;
    }
}

@media screen and (max-width: 670px) {
    #qrCodeImage {
        height: 156px;
    }
}

@media screen and (max-width: 637px) {
    .brand-logo {
        margin-bottom: 9px !important;
    }

    .pt-3 {
        padding-top: 5px !important;
    }

    #qrCodeImageDiv {
        margin-bottom: 18px !important;
    }

    .form-group {
        margin-bottom: 19px !important;
    }
}

@media screen and (min-width: 530px) and (max-width: 550px) {
    .bgImage1-auth-form-transparent, .bgImage-auth-form-transparent, .login-auth-form-transparent {
        top: -10px;
        position: relative;
    }
}

@media screen and (max-width: 440px) {
    .brand-logo + h4 {
        display: none;
    }
}

@media screen and (max-width: 529px) {
    .brand-logo {
        position: absolute;
        top: 0px;
        left: 0px;
        text-align: center;
        width: 100%;
    }
}

/*@media screen and (max-width: 410px) {
    #exampleInputEmail {
        display: none;
    }
}*/

@media screen and (min-width: 992px) and (max-width: 1180px) {
    .brand-logo {
        margin-bottom: 0px !important;
        position: relative;
        top: -5px;
    }

    .pt-3 {
        padding-top: 5px !important;
    }

    #qrCodeImageDiv {
        margin-bottom: 10px !important;
    }

    .form-group {
        margin-bottom: 13px !important;
    }

    input[type=number], #codeButton, #VerificationCodeButton {
        height: 40px !important;
    }

    #codeButton, #VerificationCodeButton {
        line-height: 7px !important;
    }
}


@media screen and (max-width: 390px) {
    input[type=number], #codeButton, #VerificationCodeButton {
        min-height: 40px !important;
    }

    .bgImage-auth-form-transparent, .login-auth-form-transparent {
        margin-top: 26px !important;
    }

    #codeButton, #VerificationCodeButton {
        line-height: 7px !important;
    }
}

@media screen and (min-width: 740px) and (max-width: 890px) {
    #bgImage1 {
        background-size: 77% !important;
    }
}

@media screen and (min-width: 891px) and (max-width: 991px) {
    #bgImage1 {
        background-size: 69% !important;
    }
}

@media screen and (max-width: 470px) {
    [id^=collapse] .card-body, .webInfoCardBodyReadOnlyFields {
        padding-right: 0px !important;
        padding-left: 0px !important;
    }

    .tab-content {
        padding-right: 14px !important;
        padding-left: 14px !important;
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button {
        padding: 4px !important;
        padding-right: 8px !important;
        padding-left: 7px !important;
    }

    div.dataTables_wrapper div.dataTables_paginate {
        overflow: hidden;
    }
}

.dataTableDisableTextSelection *:not(input):not(textarea) {
    -webkit-user-select: none; /* disable selection/Copy of UIWebView */
    -webkit-touch-callout: none; /* disable the IOS popup when long-press on a link */
}  

.input-group-prepend {
    min-height: 40px !important;
}

/* Absolute Center Spinner */
.loading {
    position: fixed;
    z-index: 9999;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

    /* Transparent Overlay */
    .loading:before {
        content: '';
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0, .8));
        background: -webkit-radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0,.8));
    }

    /* :not(:required) hides these rules from IE9 and below */
    .loading:not(:required) {
        /* hide "loading..." text */
        font: 0/0 a;
        color: transparent;
        text-shadow: none;
        background-color: transparent;
        border: 0;
    }

        .loading:not(:required):after {
            content: '';
            display: block;
            font-size: 10px;
            width: 1em;
            height: 1em;
            margin-top: -0.5em;
            -webkit-animation: spinner 150ms infinite linear;
            -moz-animation: spinner 150ms infinite linear;
            -ms-animation: spinner 150ms infinite linear;
            -o-animation: spinner 150ms infinite linear;
            animation: spinner 150ms infinite linear;
            border-radius: 0.5em;
            -webkit-box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
            box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
        }

/* Animation */

@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}


.disabled-details {
    background-color: #dc6f6f !important;
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.65;
    -webkit-box-shadow: none;
    box-shadow: none;
}

@media screen and (max-width: 991px) {
    .WebInfoTabs {
        display: flex;
        flex-direction: row;
        width: 100%;
        overflow: auto;
    }

        .WebInfoTabs a {
            margin-right: 4px;
        }

        .WebInfoTabs:first-child {
            margin-bottom: 23px;
        }
}

@media screen and (max-width: 515px) {
    #currentUsernameId {
        display: none;
    }
}

.loader {
    border: 5px solid #f3f3f3;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.select2-selection--multiple {
    overflow: hidden !important;
    height: auto !important;
}

#detailsLoaderId, #standardTaskLoaderId,.loaderClass {
    position: fixed;
    z-index: 9999999;
    left: 0%;
    height: 100%;
    width: 100%;
    background-color: #80808047;
    display: none;
}

.jumping-dots-loader {
    top: 50%;
}

#todo-section .ps__rail-y {
    display: none !important;
}

#right-sidebar {
    height: 455px !important;
    max-height: 455px !important;
    min-height: 455px !important;
    box-shadow: 1px 1px 5px 1px #8888;
    width: 410px;
    right: -413px;
}

.settings-panel.open {
    right: 0 !important;
}

.wizard > .steps > ul > li {
    width: 20%;
}

.wizard > .steps .current a {
    background: #f7002e;
}

    .wizard > .steps .current a:hover {
        background: #e98e9f;
    }



.wizard > .steps .done a: {
    background: #e98e9f;
}


.brokerageas-buttons {
    color: white;
    margin: 10px;
    background-color: #0e766a;
}

    .brokerageas-buttons:hover {
    
        background-color: #92c7c1;
    }


    .form-group{
        margin-bottom : 0.2rem;
    }

.input-rtf {
    background-color: #e9dbc3 !important;
}


.select2Input + .select2-container {
    display: block;
    max-width: 100% !important;
}

.input-group .select2Input + .select2-container {
    width: calc(100% - 42px) !important;
}

    .select2Input + .select2-container .selection .select2-selection {
        max-width: 100% !important;
    }

.input-group .select2Input + .select2-container .selection .select2-selection .select2-selection__arrow, .select2InputArrowTop + .select2-container .selection .select2-selection .select2-selection__arrow {
    top: 8px !important;
}
.nav-pills .nav-item
{
    margin-right: 0.2rem;
}
.nav-pills-success .nav-link.active {
    background: #3599c1;
}

.nav-pills-success .nav-link {
    color: #3599c1;
}
.tab-content{
    max-height : 100%;
}

.hint-query{
    color:red;
}

.select2-container
{
    max-width : 100% !important;
}

.select2-container--default .select2-selection--single {
    max-width: 100% !important;
}
.datepicker{
    padding : 0 !important;
}

.textarea-modal-background-color {
    background-color: white !important;
}

.select2-container + .input-group-addon {
    width: 43px !important;
}

.loaderSearchMessages {
    width: 30px;
    height: 30px;
    border: 5px solid #FFF;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotationSearchMessage 1s linear infinite;
}

@keyframes rotationSearchMessage {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.dx-datagrid-nowrap, .dx-datagrid-nowrap .dx-header-row > td > .dx-datagrid-text-content {
    white-space: normal !important;
}
.dx-header-row {
    font-size: 1rem !important;
    font-weight: bold !important;
}

.dx-datagrid-headers .dx-datagrid-table .dx-row > td {
    border-bottom: 0px !important;
}

.dx-header-row td {
    text-align: center !important;
    padding: 10px !important;
}

.dx-datagrid .dx-column-indicators {
    float: right !important;
}

.dx-data-row td {
    font-family: "Roboto", sans-serif;
    border-bottom: 1px solid #dddddd;
    text-align: left;
    padding: 8px 10px !important;
}

.verticalAlignMiddle {
    vertical-align: middle !important;
} 

.textAlignCenter {
    text-align: center !important;
}

.textAlignLeft {
    text-align: left !important;
}

.overflowVisible {
    overflow: visible !important;
}

.dx-command-adaptive {
    pointer-events: all !important
}

.blackBorder {
    border: 1px solid black !important;
}

.redBorder {
    border: 1px solid red !important;
}

.dx-datagrid-addrow-button{
    display: none !important;
}

.dx-datagrid-rowsview {
    border-right: 1px solid #dddddd !important;
    border-left: 1px solid #dddddd !important;
}

.dx-datagrid-rowsview {
    overflow: unset !important;
}

.note-modal button.close {
    position: absolute !important;
    right: 19px !important;
}

.note-modal .modal-title {
    width: 100% !important;
    text-align: left !important;
}

.select2Element .select2-container {
    padding: .4375rem .75rem !important;
    border: 0;
    outline: 1px solid #f3f3f3;
}