@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";
@import url('https://fonts.googleapis.com/css?family=Montserrat:300,300i,400,400i,500,500i,600,600i,700&subset=latin-ext');

@media (min-width: 1900px) {
  :root {
    --dsm-info-color: #5ec9ff;
    --dsm-light-info-color: #4d8199;
    --left-menu-width: 120px;
    --emails-menu-width: 390px;
    --right-menu-width: 400px;
    --right-menu-hidden-width: 72px;
    --main-background-color: #f7f7f7;
    --menu-background-color: #ffffff;
    --dsm-green-color: #F8992E;
    --dsm-dark-green-color: rgb(34, 156, 122);
    --dsm-light-green-color: #fdb666;
    --dsm-light-gray-color: #eaeaea;
    --dsm-light-gray-color-dark-bg: #747474;
    --dsm-gray-color: #a3a3a3;
    --dsm-def-color: #e5e5e5;
    --font-dark-gray-color: #535353;
    --font-dark-gray-top-color: #7d7a7a;
    --font-placeholder-gray-color: #bdbdbd;
    --font-light-gray-color: #c0c0c0;
    --font-black-color: #212529;
    --shadow-color: #f1f1f1;
    --dark-shadow-color: #eaeaea;
    --dsm-orange-color: #fe9600;
    --dsm-dark-orange-color: #ff4000;
    --dsm-red-color: #e84f4d;
    --dsm-light-red-color: #e7a8a7;
    --dsm-small-font-size: 10px;
    --dsm-small-font-size-11: 11px;
    --dsm-small-font-size-12: 12px;
    --dsm-small-font-size-13: 13px;
    --dsm-small-font-size-16: 16px;
    --dsm-font-size-20: 20px;
    --dsm-small-font-size-tasks-buttons: 9px;
    --dsm-small-font-size-upcoming: 12px;
    --dsm-small-font-size-filters: 17px;
    --dsm-font-size-content: 14px;
    --dsm-font-size-small-headers: 15px;
    --dsm-padding-left-side-box: 30px;
    --dsm-padding-top-side-box: 20px;
    --dsm-border-box-radius: .7rem;
    --dsm-h4-font-size: 1.1em;
    --dsm-h3-font-size: 1.3rem;
    --dsm-filter-number-font: 16px;
    --dsm-h2-font-size: 1.5rem;
    --dsm-h1-font-size: 1.7rem;
    --dsm-bg-gray-color: #f6f6f6;
    --dsm-sidebar-right:1.5rem;
    --dsm-sidebar-right-a-i:1.8rem;
    --notification-task-status-width: 300px;
    --notification-task-status-height: 100px;
    /*Wysokości okien*/
    --scrollable-events-height: 712px;
    --scrollable-transactions-height: 420px;
    --scrollable-leads-list-height: 305px;
    --scrollable-contacts-list-height: 192px;
    --scrollable-contact-leads-height: 353px;
    --scrollable-order-chat-height: 365px;
    --scrollable-contacts-height: 178px;
    --scrollable-email-height: 144px;
    --scrollable-email-thread-height: 192px;
    --scrollable-email-list-height: 298px;
    --scrollable-email-list-in-emails-height: 120px;
    --scrollable-chat-menu-height: 355px;
    --scrollable-quotation-list-lead-height: 266px;
    --pdf-viewer-container-height: 235px;
    --pdf-file-viewer-container-height: 315px;
    --quotation-products-list-height: 67hv;
    --scrollable-notes-height: 720px;
    --scrollable-emails-lead: 740px;
    --scrollable-activities-height: 487px;
    --scrollable-version-height: 755px;
    --scrollable-latest-payments-height: 703px;
    --bottom-chat-containter-val: -76px;
    --scrollable-order-products-height: 437px;
    --scrollable-order-history-height: 359px;
    --scrollable-order-files-height: 467px;
  }
  .text-truncate-widthsmall{
    max-width:95%;
  }
}

@media (min-width: 1700px) {
    .new-product-labor-button {
        min-width: 150px;
    }
}

@media (max-width: 1900px) {
  :root {
    --dsm-info-color: #5ec9ff;
    --dsm-light-info-color: #4d8199;
    --left-menu-width: 120px;
    --emails-menu-width: 390px;
    --right-menu-width: 400px;
    --right-menu-hidden-width: 72px;
    --main-background-color: #f7f7f7;
    --menu-background-color: #ffffff;
    --dsm-green-color: #F8992E;
    --dsm-dark-green-color: rgb(34, 156, 122);
    --dsm-light-green-color: #fdb666;
    --dsm-light-gray-color: #eaeaea;
    --dsm-light-gray-color-dark-bg: #747474;
    --dsm-gray-color: #a3a3a3;
    --dsm-def-color: #e5e5e5;
    --font-dark-gray-color: #535353;
    --font-dark-gray-top-color: #7d7a7a;
    --font-placeholder-gray-color: #bdbdbd;
    --font-light-gray-color: #c0c0c0;
    --shadow-color: #f1f1f1;
    --dark-shadow-color: #eaeaea;
    --dsm-orange-color: #fe9600;
    --dsm-red-color: #e84f4d;
    --dsm-light-red-color: #e7a8a7;
    --dsm-small-font-size: 9px;
    --dsm-small-font-size-11: 10px;
    --dsm-small-font-size-12: 11px;
    --dsm-small-font-size-13: 11px;
    --dsm-small-font-size-16: 14px;
    --dsm-font-size-20: 18px;
    --dsm-small-font-size-tasks-buttons: 9px;
    --dsm-small-font-size-upcoming: 11px;
    --dsm-small-font-size-filters: 15px;
    --dsm-font-size-content: 12px;
    --dsm-font-size-small-headers: 12px;
    --dsm-padding-left-side-box: 30px;
    --dsm-padding-top-side-box: 20px;
    --dsm-border-box-radius: .7rem;
    --dsm-h4-font-size: 1.0em;
    --dsm-h3-font-size: 1.2rem;
    --dsm-filter-number-font: 16px;
    --dsm-h2-font-size: 1.4rem;
    --dsm-h1-font-size: 1.5rem;
    --dsm-bg-gray-color: #f6f6f6;
    --dsm-sidebar-right:1.4rem;
    --dsm-sidebar-right-a-i:1.7rem;
    --notification-task-status-width: 300px;
    --notification-task-status-height: 100px;
    /*Wysokości okien*/
    --scrollable-events-height: 712px;
    --scrollable-transactions-height: 420px;
    --scrollable-leads-list-height: 295px;
    --scrollable-contacts-list-height: 192px;
    --scrollable-contact-leads-height: 343px;
    --scrollable-contacts-height: 178px;
    --scrollable-email-height: 144px;
    --scrollable-email-thread-height: 180px;
    --scrollable-email-list-height: 288px;
    --scrollable-email-list-in-emails-height: 120px;
    --scrollable-chat-menu-height: 355px;
    --scrollable-order-chat-height: 380px;
    --scrollable-quotation-list-lead-height: 254px;
    --pdf-viewer-container-height: 223px;
    --pdf-file-viewer-container-height: 310px;
    --quotation-products-list-height: 67hv;
    --scrollable-notes-height: 720px;
    --scrollable-emails-lead: 740px;
    --scrollable-activities-height: 487px;
    --bottom-chat-containter-val: -89px;
    --scrollable-latest-payments-height: 684px;
    --scrollable-version-height: 744px;
    --scrollable-order-products-height: 431px;
    --scrollable-order-history-height: 348px;
    --scrollable-order-files-height: 467px;
  }
  .text-truncate-widthsmall{
    max-width:75%;
}
}

@media (max-width:1500px) {
    :root {
        --scrollable-version-height: 685px;
    }

    .content-container.product-commission {
        padding: 1em;
    }

    .content-container .commission-product-scroll.draft {
        max-height: calc(100vh - 325px);
        min-height: calc(100vh - 325px);
    }

    #commission-container-details .content-container:nth-child(1).user-commission-cart {
        padding: 1.8em;
    }

    #commission-container-details .user-commission-cart {
        min-height: 500px;
        max-height: 501px;
    }
    .row .hp-16 {
        padding: 0;
    }
    .scrollable-orders-list {
        max-height: calc(100vh - 290px) !important;
    }
}

@media (max-width: 1400px) {
    :root {
    --dsm-info-color: #5ec9ff;
    --dsm-light-info-color: #4d8199;
    --left-menu-width: 120px;
    --emails-menu-width: 390px;
    --right-menu-width: 400px;
    --right-menu-hidden-width: 72px;
    --main-background-color: #f7f7f7;
    --menu-background-color: #ffffff;
    --dsm-green-color: #F8992E;
    --dsm-dark-green-color: rgb(34, 156, 122);
    --dsm-light-green-color: #fdb666;
    --dsm-light-gray-color: #eaeaea;
    --dsm-light-gray-color-dark-bg: #747474;
    --dsm-medium-gray-color:  #495057;
    --dsm-gray-color: #a3a3a3;
    --dsm-def-color: #e5e5e5;
    --font-dark-gray-color: #535353;
    --font-dark-gray-top-color: #7d7a7a;
    --font-placeholder-gray-color: #bdbdbd;
    --font-light-gray-color: #c0c0c0;
    --shadow-color: #f1f1f1;
    --dark-shadow-color: #eaeaea;
    --dsm-orange-color: #fe9600;
    --dsm-red-color: #e84f4d;
    --dsm-light-red-color: #e7a8a7;
    --dsm-small-font-size: 8px;
    --dsm-small-font-size-11: 9px;
    --dsm-small-font-size-12: 10px;
    --dsm-small-font-size-13: 10px;
    --dsm-small-font-size-16: 13px;
    --dsm-font-size-20: 15px;
    --dsm-small-font-size-tasks-buttons: 8px;
    --dsm-small-font-size-upcoming: 10px;
    --dsm-small-font-size-filters: 14px;
    --dsm-font-size-content: 11px;
    --dsm-font-size-small-headers: 11px;
    --dsm-padding-left-side-box: 30px;
    --dsm-padding-top-side-box: 20px;
    --dsm-border-box-radius: .7rem;
    --dsm-h4-font-size: 0.9em;
    --dsm-h3-font-size: 1.1rem;
    --dsm-filter-number-font: 14px;
    --dsm-h2-font-size: 1.3rem;
    --dsm-h1-font-size: 1.4rem;
    --dsm-bg-gray-color: #f6f6f6;
    --dsm-sidebar-right:1.3rem;
    --dsm-sidebar-right-a-i:1.6rem;
    --notification-task-status-width: 300px;
    --notification-task-status-height: 100px;
    /*Wysokości okien*/
    --scrollable-events-height: 712px;
    --scrollable-transactions-height: 420px;
    --scrollable-leads-list-height: 295px;
    --scrollable-contacts-list-height: 182px;
    --scrollable-contact-leads-height: 333px;
    --scrollable-contacts-height: 178px;
    --scrollable-email-height: 144px;
    --scrollable-email-thread-height: 180px;
    --scrollable-email-list-height: 275px;
    --scrollable-email-list-in-emails-height: 120px;
    --scrollable-chat-menu-height: 355px;
    --scrollable-quotation-list-lead-height: 254px;
    --pdf-viewer-container-height: 223px;
    --pdf-file-viewer-container-height: 310px;
    --quotation-products-list-height: 67hv;
    --scrollable-notes-height: 720px;
    --scrollable-emails-lead: 740px;
    --scrollable-activities-height: 487px;
    --bottom-chat-containter-val: -89px;
    }
    .text-truncate-widthsmall{
        max-width:70%;
    }
  }



:root {
    --dsm-rounded-filter-count:20px;
    --dsm-rounded-filter-title:16px;
    --dsm-rounded-filter-desc:10px;
    --dsm-yellow-color: #fefa4a;
    --dsm-very-light-green-color: #faebd7;
    --dsm-orange-color: #ff9a48;
    --dsm-bgreen-color: #80ef8e;
    --dsm-blue-color: #7cc5fc;
}


html {
    overflow: -moz-scrollbars-vertical;
    overflow-y: scroll;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--main-background-color);
    color: var(--font-dark-gray-color);
    width: 100%;
    /* transform: scale(0.84);
    transform-origin: 0% 0;
     -webkit-font-smoothing: subpixel-antialiased;
    backface-visibility: hidden;
    filter: blur(.0px); */
    /*zoom : 84%;*/
    text-align: left;
    font-size: var(--dsm-small-font-size-16);
    padding-right:0 !important;
    padding-left:0 !important;
}

/* modal padding-right fix */
body.modal-open { padding-right: 0 !important; }

.text-truncate-widthbig{
    max-width:90%;
}

/* centrownie tesktu */
.outer-center{
    height: 100%;
    width: 100%;
    display: table;
}

.inner-center{
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

/*dot middle fix */
.middle-inline-block-fix:before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    height: 100%;
    position: absolute;
}

.middle-inline-block-fix-item {
    display: inline-block;
    vertical-align: middle;
}

/* email action modal safari fix */
.width-800 {
    width:800px !important;
}

/* menu badge fix */
.col-72 {
    -ms-flex: 0 0 72px;
    flex: 0 0 72px;
}

p {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--dsm-small-font-size-filters); /*1.1em; */
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.navbar {
    padding: 15px 10px;
    background: #000;
    border: none;
    border-radius: 0;
    margin-bottom: 40px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

i,
span {
    display: inline-block;
}

.wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: stretch;
}

.dsm_dict_color_green{
    color: var(--dsm-bgreen-color);
}

.dsm_dict_color_blue{
    color: var(--dsm-blue-color);
}

.dsm_dict_color_orange{
    color: var(--dsm-orange-color);
}

.dsm_dict_color_red{
    color: var(--dsm-red-color);
}

.hp-16 {
    height: 18px;
}

.dsm_dict_color_yellow{
    color: var(--dsm-yellow-color);
    text-shadow: 0 0 1px #000, 0 0 1px #000,
    0 0 1px #000;
}

_::-webkit-full-page-media, _:future, :root .dsm_dict_color_yellow{
    color: var(--dsm-yellow-color);
    -webkit-text-stroke: #000 0.01em;
    text-shadow: 0px;
}

.bg.dsm_dict_color_green{
    background-color: var(--dsm-bgreen-color);
}

.bg.dsm_dict_color_blue{
    background-color: var(--dsm-blue-color);
}

.bg.dsm_dict_color_orange{
    background-color: var(--dsm-orange-color);
}

.bg.dsm_dict_color_yellow{
    background-color: var(--dsm-yellow-color);
}

.bg.dsm_dict_color_red{
    background-color: var(--dsm-red-color);
}

.shadowD.dsm_dict_color_green{
    box-shadow: 0 0 5px 0px  var(--dsm-bgreen-color);
}

.shadowD.dsm_dict_color_blue{
    box-shadow: 0 0 5px 0px  var(--dsm-blue-color);
}

.shadowD.dsm_dict_color_orange{
    box-shadow: 0 0 5px 0px  var(--dsm-orange-color);
}

.shadowD.dsm_dict_color_yellow{
    box-shadow: 0 0 5px 0px  var(--dsm-yellow-color);
}

.shadowD.dsm_dict_color_red{
    box-shadow: 0 0 5px 0px  var(--dsm-red-color);
}

/* ---------------------------------------------------
    SIDEBAR LEFT STYLE
----------------------------------------------------- */

#sidebar-left {
    width: var(--left-menu-width);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    background: var(--menu-background-color);
    transition: all 0.3s;
    -moz-box-shadow: 0 0 15px 0px var(--shadow-color);
    -webkit-box-shadow: 0 0 15px 0px var(--shadow-color);
    box-shadow: 0 0 15px 0px var(--shadow-color);
}


#sidebar-emails {
    width: var(--emails-menu-width);
    position: fixed;
    top: 0;
    z-index: 2;
    left: var(--left-menu-width);
    height: 100vh;
    background: var(--main-background-color);
    transition: all 0.3s;
    -moz-box-shadow: 0 0 15px 0px var(--dark-shadow-color);
    -webkit-box-shadow: 0 0 15px 0px var(--dark-shadow-color);
    box-shadow: 0 0 15px 0px var(--dark-shadow-color);
}


    #sidebar-left .sidebar-left-header {
        padding-top: 20px;
    }

    #sidebar-left ul.components {
        margin-top: 13px;
    }

    #sidebar-left ul p {
        color: var(--menu-background-color);
        padding: 10px;
    }

    #sidebar-left .menu-icon {
        padding-top: 23px;
        max-width: 27px;
    }

    #sidebar-left ul li a {
        padding: 10px;
        font-size: var(--dsm-small-font-size-filters); /*1.1em; */
        display: block;
    }

    #sidebar-left ul li {
        font-size: 0;
        padding-left: 5px;
        height: 73px;
    }

    #sidebar-left ul a li img {
        filter: grayscale(100%);
        -webkit-filter: grayscale(100%);
    }

    #sidebar-left ul a.active li img {
        filter: grayscale(0%);
        -webkit-filter: grayscale(0%);
    }

    #sidebar-left ul li:hover {
        padding-left: 0px;
        background: var(--menu-background-color);
        border-left-style: solid;
        border-left-color: var(--dsm-gray-color);
        border-left-width: 5px;
    }

    #sidebar-left ul li.active {
        font-size: 13px; /* var(--dsm-small-font-size-13); 13px; */
        font-weight: 600;
        padding-left: 0px;
        color: var(--dsm-green-color);
        border-left-style: solid;
        border-left-color: var(--dsm-green-color);
        border-left-width: 5px;
        filter: grayscale(0%);
        -webkit-filter: grayscale(0%);
    }

    #sidebar-left ul .active li {
        font-size: 13px; /*var(--dsm-small-font-size-13);  13px; */
        font-weight: 600;
        padding-left: 0px;
        color: var(--dsm-green-color);
        border-left-style: solid;
        border-left-color: var(--dsm-green-color);
        border-left-width: 5px;
        filter: grayscale(0%);
        -webkit-filter: grayscale(0%);
    }


/* ---------------------------------------------------
    SIDEBAR RIGHT STYLE
----------------------------------------------------- */

#sidebar-right {
    min-width: unset;
    max-width: unset;
    width: var(--right-menu-width);
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    background: var(--menu-background-color);
    transition: all 0.3s;
    -moz-box-shadow: 0 0 15px 0px var(--shadow-color);
    -webkit-box-shadow: 0 0 15px 0px var(--shadow-color);
    box-shadow: 0 0 15px 0px var(--shadow-color);
    min-height: 100vh;
}

#sidebar-right.pined {
    width: unset;
    min-width: var(--right-menu-width);
    max-width: var(--right-menu-width);
    position: relative;
    top: unset;
    right: unset;
    height: 100vh;
    background: var(--menu-background-color);
    transition: all 0.3s;
    /* -moz-box-shadow: unset;
    -webkit-box-shadow: unset;
    box-shadow: unset; */
    min-height: 100vh;
}

#sidebar-right.active {
    min-width: var(--right-menu-hidden-width);
    max-width: var(--right-menu-hidden-width);
    transition: all 0.3s;
    text-align: center;
}

#sidebar-right .sidebar-right-header h3 {
    padding-top: 13px;
    font-weight: 600;
    font-size:24px !important; /* 1.5em; */
    padding-bottom: 0px;
    margin-bottom: 0px;
}

#sidebar-right .sidebar-right-header h2 {
    text-transform: uppercase;
    padding-top: 0px;
    margin-top: 0px;
    font-size: 11px;/*var(--dsm-small-font-size-11); 0.7em; */
}

#sidebar-right.active .sidebar-right-header h3,
#sidebar-right.active .sidebar-right-header h2,
#sidebar-right.active .CTAs {
    display: none;
}

#sidebar-right.active .sidebar-right-header strong {
    display: block;
}

#sidebar-right ul li a {
    text-align: left;
}
/*
 #sidebar-right.active ul li a {
    padding: 20px 10px;
    text-align: center;
    font-size: var(--dsm-small-font-size-13);
}
*/
#sidebar-right.active ul li a i {
    margin-right: 0;
    display: inline-block;
    /* font-size: var(--dsm-sidebar-right-a-i); */
    margin-bottom: 0px;
}

/* #sidebar-right ul ul a {
    padding: 10px !important;
}  */

#sidebar-right.active .dropdown-toggle::after {
    top: auto;
    bottom: 10px;
    right: 50%;
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
}

#sidebar-right .sidebar-right-header strong {
    display: none;
    font-size: var(--dsm-sidebar-right-a-i); /*1.8em; */
}

#sidebar-right ul.components {
    padding: 20px 0;
}

#sidebar-right ul li a {
    padding: 10px;
    font-size: var(--dsm-small-font-size-filters); /*1.1em; */
    display: block;
}

#sidebar-right ul li a:hover {
    color: #7386D5;
    background: var(--menu-background-color);
}

#sidebar-right ul li.active>a,
a[aria-expanded="true"] {
    color: #fff;
    background: #6d7fcc;
}

#sidebar-right:not(.active) .sidebar-right-header .profile_letter_account {
    max-width: 85px;
    max-height: 85px;
    font-size: 32px;
    line-height: 85px;
    margin-top: 1px;
    margin-bottom: 1px;
}

#sidebar-right.active .sidebar-right-header .profile_image {
    margin-top: 19px;
    margin-bottom: 17px;
}

#sidebar-right.active .sidebar-right-header .profile_letter_account {
    margin-top: 19px;
    margin-bottom: 17px;
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    /*    top: 50%;
    right: 20px;
    transform: translateY(-50%); */
}

ul ul a {
    font-size: var(--dsm-font-size-content)  !important; /*0.9em;*/
    padding-left: 30px !important;
    background: #6d7fcc;
}

ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: var(--dsm-font-size-content)  !important; /*0.9em;*/
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

a.download {
    background: #fff;
    color: #7386D5;
}

a.article,
a.article:hover {
    background: #6d7fcc !important;
    color: #fff !important;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    width: calc(100% - var(--left-menu-width));
    margin-left: var(--left-menu-width);
    padding: 40px 25px;
    padding-bottom: 0px;
    padding-right: calc(25px + var(--right-menu-hidden-width));
    transition: all 0.3s;
    text-align: justify;
    min-width: 1200px;
    background: var(--main-background-color);
}

#content .email-containter {
    width: calc(100% - var(--emails-menu-width)) ;
    margin-left: var(--emails-menu-width);
}

#content .top-email-containter {
    width: calc(100% - var(--emails-menu-width) + 50px) ;
    margin-left: calc(var(--emails-menu-width) - 25px);
    background-color: var(--menu-background-color);
    margin-top: -40px;
    min-height:96px;
    -moz-box-shadow: 0 0 15px 0px var(--dark-shadow-color);
    -webkit-box-shadow: 0 0 15px 0px var(--dark-shadow-color);
    box-shadow: 0 0 15px 0px var(--dark-shadow-color);
}

#content.pined {
    padding-right: calc(25px + var(--right-menu-width));
}

/* #content.pined {
    width: calc(100% - var(--left-menu-width));
    margin-left: var(--left-menu-width);
    padding-right: unset;
    padding: 40px 25px;
    transition: all 0.3s;
    text-align: justify;
    min-width: 1200px;
    background: var(--main-background-color);
} */

h1 {
    font-size: var(--dsm-h1-font-size);
    font-weight: 700;
}

/* ---------------------------------------------------
    Michal Added
----------------------------------------------------- */
.header-content-container {
    padding-left: var(--dsm-padding-left-side-box);
    padding-right: var(--dsm-padding-left-side-box);
    font-size: var(--dsm-font-size-small-headers);
    font-weight: bold;
}
.header-content-container-att {
    font-size: var(--dsm-font-size-small-headers);
    font-weight: bold;
}

/* The container */
.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    height: 22px;
    margin-bottom: unset;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    border: 3px solid var(--dsm-light-green-color);
    border-radius: 7px;
    background-color: #fff;
}

/* On mouse-over, add a grey background color */
.checkbox-container:hover input ~ .checkmark {
    background-color: var(--dsm-light-gray-color);
}
.user-list .checkbox-container:hover .checkmark.icon-ok {
    background-color: var(--dsm-green-color);
    border-color: var(--dsm-green-color);
}

/* When the checkbox is checked, add a blue background */
.checkbox-container input:checked ~ .checkmark {
    background-color: var(--dsm-green-color);
    border-color: var(--dsm-green-color);
}

.user-list .checkbox-container .checkmark.icon-ok {
    background-color: var(--dsm-green-color);
    border-color: var(--dsm-green-color);
}

.user-list .checkbox-container .checkmark.icon-empty {
    border: 3px solid var(--dsm-light-green-color);
    background-color: #fff;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.user-list .checkbox-container .checkmark.icon-ok:after {
    display: block;
}
.user-list .checkbox-container .checkmark.icon-empty:after {
    display: none;
}

/* Style the checkmark/indicator */
.checkbox-container .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.avatar-icon{
    background-image: url(img/profile-image.svg);
}
.active .avatar-icon{
    background-image: url(img/profile-image-active.svg);
}

.scrollable-email .active, .scrollable-email-list .active, .scrollable-email-list .active .email-date-mini, .scrollable-email .active .email-date-mini {
    background-color: var(--dsm-dark-green-color);
    color: #fff !important;
}

.email-list-item {
    font-size: var(--dsm-small-font-size-12)  !important; /*12px;*/
}

.email-item {
    border: 1px solid #fff;
}
.email-item.active {
    border: 1px solid var(--dsm-green-color);
    color: #fff !important;
}

/* .email-item.bordered {
    cursor: pointer !important;
    border: 1px solid var(--dsm-green-color);
} */

.email-item:hover {
    cursor: pointer !important;
    border: 1px solid var(--dsm-green-color);
}

.email-item-unread {
    border: 1px solid var(--dsm-green-color);
}

.email-date-mini {
    font-size: 10px; font-weight:500; color: var(--font-light-gray-color);
}


input[type="text"]#searchEmails, input[type="text"]#chatMessageInput {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--font-placeholder-gray-color);
  -webkit-box-shadow: none;
  box-shadow: none;
  border-radius: 0;
}

input[type="text"]#searchEmails:focus, input[type="text"]#chatMessageInput:focus {
  -webkit-box-shadow: none;
  box-shadow: none;
}


.transaction-list {
    font-size: var(--dsm-font-size-content); /*14px; */
    font-weight: 500;
    text-align:left;
    word-break: break-all;
}
.md-dsm-green, md-progress-circular path {
    stroke: var(--dsm-green-color);
}

.inputfile {
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
}
.user-card {
    border: 0;
    height: 350px;
    border-radius: var(--dsm-border-box-radius) var(--dsm-border-box-radius) var(--dsm-border-box-radius) var(--dsm-border-box-radius);
    -moz-box-shadow: 0 0 15px 0px var(--dark-shadow-color);
    -webkit-box-shadow: 0 0 15px 0px var(#eaeaea);
    box-shadow: 0 0 15px 0px var(#eaeaea);
}
.user-title {
    font-size: var(--dsm-small-font-size-13); /* 13px; */
    font-weight: 400;
}

.user-card .profile_letter_account {
    max-width: 130px;
    max-height: 130px;
    border-radius: 130px;
    -webkit-border-radius: 130px;
    -moz-border-radius: 130px;
    line-height: 130px;
    font-size: 3rem;
}

.user-card .profile_image {
    max-width: 130px;
    width: 100%;
    border-radius: 130px;
    -webkit-border-radius: 130px;
    -moz-border-radius: 130px;
    object-fit: contain;
}

.user-info .profile_image {
    max-width: 130px;
    width: 100%;
    border-radius: 130px;
    -webkit-border-radius: 130px;
    -moz-border-radius: 130px;
    object-fit: contain;
}

.user-info .role-name {
    color: var(--font-dark-gray-color);
    letter-spacing: 1px;
    font-size: var(--dsm-font-size-20);
    font-weight: 300;
    font-variant: small-caps;
}

/*@media (max-width: 576px) {
    .card-columns {
        column-count: 2;
    }
}*/

.not-last-child {
     padding-right: unset !important;
     margin-bottom: unset !important;
     word-break: unset !important;
}

.scrollable-events {
    max-height: calc(100vh - var(--scrollable-events-height));
    overflow-y: scroll;
}

.scrollable-transactions {
    max-height: calc(100vh - var(--scrollable-transactions-height));
    overflow-y: scroll;
}
.scrollable-leads-list {
    max-height: calc(100vh - var(--scrollable-leads-list-height));
    overflow-y: scroll;
}
.scrollable-contacts-list {
    max-height: calc(100vh - var(--scrollable-contacts-list-height));
    overflow-y: scroll;
}

.scrollable-contact-leads {
    max-height: calc(100vh - var(--scrollable-contact-leads-height));
    overflow-y: scroll;
}
.scrollable-order-products {
  max-height: calc(100vh - var(--scrollable-order-products-height));
  overflow-y: scroll;
}
.scrollable-order-chat {
  max-height: calc(100vh - var(--scrollable-order-chat-height));
  overflow-y: scroll;
}
.scrollable-order-history {
  max-height: calc(100vh - var(--scrollable-order-history-height));
  overflow-y: scroll;
}
.scrollable-order-files {
  max-height: calc(100vh - var(--scrollable-order-files-height));
  min-height: calc(100vh - var(--scrollable-order-files-height));
  overflow-y: scroll;
}
.scrollable-contacts {
    max-height: calc(100vh - var(--scrollable-contacts-height));
    overflow-y: scroll;
}
.scrollable-email {
    max-height: calc(100vh - var(--scrollable-email-height));
    overflow-y: scroll;
}
.scrollable-email-thread {
    max-height: calc(100vh - var(--scrollable-email-thread-height));
    overflow-y: scroll;
}
.scrollable-email-list {
    max-height: calc(100vh - var(--scrollable-email-list-height));
    overflow-y: scroll;
}
.scrollable-email-list-in-emails {
    max-height: calc(100vh - var(--scrollable-email-list-in-emails-height)) !important;
    overflow-y: scroll;
}

.scrollable-quotation-item {
    max-height: 255px;
    overflow-y: scroll;
}

.scrollable-transactionNotes {
    max-height: 260px;
    overflow-y: scroll;
}

.scrollable-chat-menu{
    max-height: calc(100vh - var(--scrollable-chat-menu-height));
    overflow-y: scroll;
}

/* width */
.niceScroll::-webkit-scrollbar {
    width: 3px;
    overflow: visible;
    height: 5px;
}

/* Track */
.niceScroll::-webkit-scrollbar-track {
    background: transparent;
}

/* Handle */
.niceScroll::-webkit-scrollbar-thumb {
    background: var(--font-dark-gray-top-color);
}

/* Handle on hover */
.niceScroll::-webkit-scrollbar-thumb:hover {
    background: #888;
}


.scrollable-quotation-list-lead {
    max-height: calc(100vh - var(--scrollable-quotation-list-lead-height));
    overflow-y: scroll;
}


.filter-big-btn-invoice {
    width: unset;
    height: 110px;
    background-color: transparent;
    border: none;
    padding-left: unset;
    max-width: 400px;
    position: relative;
    text-align: left;
}
.filter-big-btn-invoice:focus {
    outline:0;
}

md-toolbar.md-default-theme:not(.md-menu-toolbar), md-toolbar:not(.md-menu-toolbar) {
    background-color: var(--main-background-color);
    color: var(--font-dark-gray-color);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.md-toolbar-tools h1, .md-toolbar-tools h2, .md-toolbar-tools h3 {
    font-size: 18px;
    font-weight: 700;
    width: 100%;
    margin-right: -30px;
}

.md-dialog-container {
    z-index: 1500;
}
.md-toolbar-tools {
    height: 85px;
    max-height: 85px;
    min-width: 400px;

}

.md-dialog-max {
    max-width: 500px;
}

.loading md-backdrop.md-dialog-backdrop {
    background-color: var(--main-background-color);
    opacity: 1;
}

md-backdrop.md-dialog-backdrop {
    z-index: 1200;
}
#login-page .margin-top {
  margin-top: 15vh;
}
#login-page {
    position: fixed;
    top: 0;
    left: 0;
    background: var(--dsm-green-color);
    background: #f1f1f1;
    width: 100%;
    height: 100%;
    color: #808080;
}

#login-page h1 {
    font-size: 3em;
    font-weight: 400;
    text-align: left;
}

#login-page .white-box h1 {
    font-size: 2.2em;
    font-weight: 400;
    text-align: left;
    color: var(--dsm-green-color);
}

#login-page p {
    color: #404040;
    font-size: 20px;
}

#login-page .white-box p {
    color: var(--dsm-gray-color);
}

#login-page a {
    color: #fff;
    font-size: 14px;
    text-decoration: underline;
    text-decoration-color: #fff;
}
#login-page .white-box {
    padding: 50px;
    background: #fff;
    max-width: 455px;
    text-align: left;
    color: var(--font-dark-gray-color);
}
#login-page .green-box {
    margin: 50px;
    max-width: 510px;
}


.modal-content ul {
    margin: 3rem 0;
    list-style: none;
    counter-reset: item;
    display: inline-block;
}


.modal-content .li-done:before {
    background: var(--dsm-green-color);
    color: white;
}

.modal-content li {
    counter-increment: item;
    margin-bottom: 20px;
    font-size: var(--dsm-small-font-size-12)  ; /*12px;*/
    font-weight: 500;
    text-align: left;
}
.modal-content li:before {
    margin-right: 20px;
    content: counter(item);
    background: #fff;
    color: var(--font-dark-gray-color);
    width: 20px;
    height: 20px;
    padding-top: 1px;
    font-size: 10px;
    line-height: 20px;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    text-align: center;
    display: inline-block;
}

.file-list-ul {
    margin: unset !important;
    list-style: circle !important;
    list-style-type: circle !important;
    counter-reset: unset;
    display: block;
}
.file-list-li:before {
    margin-right: unset !important;
    content: unset !important;
}
.file-list-li {
    counter-increment: unset !important;
    list-style: circle !important;
    margin-bottom: unset !important;
    font-size: var(--dsm-small-font-size-12)  ; /*12px;*/
    font-weight: 500;
    text-align: left;
}

.close {
    margin-top: 6px;
}
.close-dialog {
    margin-top: -15px;
    margin-right: -5px;
}
.md-toolbar-tools>.md-button:last-child {
    margin-right: -15px;
    margin-top: -36px;
}
.gray-background {
    background: var(--shadow-color);
    border-top-left-radius: .3rem;
    border-bottom-left-radius: .3rem;
    padding: 25px;
}

.modal-shadow {
    -moz-box-shadow: 0 0 15px 0px #474747;
    -webkit-box-shadow: 0 0 15px 0px #474747;
    box-shadow: 0 0 15px 0px #474747;
    border: 0;
}
.modal-content h1 {
    font-size: var(--dsm-font-size-small-header); /* 15px; */
    color: var(--font-dark-gray-color);
}

.df-icon {
    max-width: 38%;
}



.logo-icon {
    padding-top: 20px;
    max-width: 78%;
}

.filter230 {
    filter: hue-rotate(230deg);
    -webkit-filter: hue-rotate(230deg)
  }

.view-container {
    width: 100%;
}


@media (min-width: 1200px) {
    #content .container {
        max-width:none !important;
    }
}


.search-form-control {
    -moz-box-shadow: 0 0 15px 0px var(--shadow-color);
    -webkit-box-shadow: 0 0 15px 0px var(--shadow-color);
    box-shadow: 0 0 15px 0px var(--shadow-color);
    border: 0;
    border-radius: .7rem;
    height: 50px;
}

.search-form-control.border {
    border: 1px solid #ced4da;
}

.search-form-button {
    font-size: var(--dsm-small-font-size-12); /*12px;*/
    color: #fff;
    -moz-box-shadow: 5px 0 15px 0px var(--shadow-color);
    -webkit-box-shadow: 5px 0 15px 0px var(--shadow-color);
    box-shadow: 5px 0 15px 0px var(--shadow-color);
    background: var(--dsm-green-color);
    padding-right: 35px;
    padding-left: 25px;
}

input[type="text"] {
    font-size: var(--dsm-font-size-content); /*14px; */
    line-height: var(--dsm-font-size-content); /*14px; */
    vertical-align: middle;
}
#login-page input[type="text"] {
    height: 55px;
    font-size: 18px;
    line-height: 18px;
    vertical-align: middle;
}
#login-page input[type="password"] {
    height: 55px;
    font-size: 18px;
    line-height: 18px;
    vertical-align: middle;
}

#login-page .form-group {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--font-dark-gray-top-color);
    padding-bottom: 10px;
}

.btn-login-page {
  font-weight: 600;
  border-radius: 0;
}
input[type="text"]:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
}

input[type="password"]:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.form-control[readonly] {
    background-color: white;
    opacity: 1;
}

.custom-button:focus {
    outline: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.custom-button.active .row p {
    color: var(--font-black-color);
}

.form-control::-webkit-input-placeholder { color: var(--font-placeholder-gray-color); }  /* WebKit, Blink, Edge */
.form-control:-moz-placeholder { color: var(--font-placeholder-gray-color); }  /* Mozilla Firefox 4 to 18 */
.form-control::-moz-placeholder { color: var(--font-placeholder-gray-color); }  /* Mozilla Firefox 19+ */
.form-control:-ms-input-placeholder { color: var(--font-placeholder-gray-color);}  /* Internet Explorer 10-11 */
.form-control::-ms-input-placeholder { color: var(--font-placeholder-gray-color);  }  /* Microsoft Edge */

.btn-lg-dsm {
    font-weight: 600;
    line-height: 14px;
    font-size: var(--dsm-font-size-content);
    vertical-align: middle;
    height: 50px;
    padding-left: 30px;
    padding-right: 30px;
}
.btn-sm-dsm {
    font-weight: 600;
    line-height: 1px;
    font-size: var(--dsm-small-font-size-11);
    vertical-align: middle;
    height: 28px;
    padding-left: 10px;
    padding-right: 10px;
}
.btn-medium-dsm {
    font-weight: 600;
    line-height: 14px;
    font-size: var(--dsm-small-font-size-12)  ; /*12px;*/
    vertical-align: middle;
    height: 35px;
    padding-left: 35px;
    padding-right: 35px;
}

.back-button {
    font-weight: 600;
    line-height: 14px;
    font-size: var(--dsm-small-font-size-12)  ; /*12px;*/
    vertical-align: middle;
    height: 35px;
    padding-left: 35px;
    padding-right: 35px;
    color: var(--font-dark-gray-top-color);
    border-color: var(--dsm-green-color);
    background: transparent;
    border-width:0px;
    text-decoration: underline;
    text-decoration-color: var(--font-dark-gray-top-color);
}

.modal-content .container {
    padding: 40px 15px 60px 10px;
}

.modal-content .form-check {
    font-size: var(--dsm-small-font-size); /* 9px; */
    text-transform: uppercase;
    font-weight: 600;
    color: var(--font-dark-gray-top-color);
    padding-bottom: 10px;
}

.modal-content .form-group {
    font-size: var(--dsm-small-font-size); /* 9px; */
    text-transform: uppercase;
    font-weight: 600;
    color: var(--font-dark-gray-top-color);
    padding-bottom: 10px;
}
.form-control-sm {
    min-height: 31px;
}

/* .btn-green-dsm {
    color: var(--dsm-green-color);
    border-color: var(--dsm-green-color);
    background: transparent;
    border-width:2px;
} */

.btn-green-full-dsm {
    color: #fff;
    border-color: var(--dsm-green-color);
    background: var(--dsm-green-color);
    border-width:2px;
}

.btn-green-full-dsm:hover {
    color: #fff;
    border-color: var(--dsm-green-color);
    background: var(--dsm-green-color);
    border-width:2px;
}

.btn-green-full-dsm:active, .btn-green-full-dsm .actived {
    color: var(--dsm-green-color);
    border-color: var(--dsm-green-color);
    background: transparent;
}

.btn-green-dsm {
    color: var(--dsm-green-color);
    border-color: var(--dsm-green-color);
    background: transparent;
    border-width:2px;
}
.btn-green-dsm:hover {
    color: #fff;
    background: var(--dsm-green-color);
    border-color: var(--dsm-green-color);
}
.btn-green-dsm:active, .btn-green-dsm .actived {
    color: #fff;
    background: var(--dsm-light-green-color);
    border-color: var(--dsm-light-green-color);
}


.btn-info-dsm {
    color: var(--dsm-info-color);
    border-color: var(--dsm-info-color);
    background: transparent;
    border-width:2px;
}
.btn-info-dsm:hover {
    color: #fff;
    background: var(--dsm-info-color);
    border-color: var(--dsm-info-color);
}
.btn-info-dsm:active, .btn-info-dsm .actived {
    color: #fff;
    background: var(--dsm-light-info-color);
    border-color: var(--dsm-light-info-color);
}

.btn-info-full-dsm {
    color: #fff;
    border-color: var(--dsm-light-info-color);
    background: var(--dsm-light-info-color);
    border-width:2px;
}

.btn-info-full-dsm:hover {
    color: #fff;
    border-color: var(--dsm-info-color);
    background: var(--dsm-info-color);
    border-width:2px;
}



.btn-red-dsm {
    color: var(--dsm-red-color);
    border-color: var(--dsm-red-color);
    background: transparent;
    border-width:2px;
}

.btn-red-dsm:hover {
    color: #fff;
    background: var(--dsm-red-color);
    border-color: var(--dsm-red-color);
}

.btn-red-dsm:active, .btn-red-dsm .actived {
    color: #fff;
    background: var(--dsm-light-red-color);
    border-color: var(--dsm-light-red-color);
}

.btn-orange-dsm {
  color: var(--dsm-orange-color);
  border-color: var(--dsm-orange-color);
  background: transparent;
  border-width:2px;
}

.btn-orange-dsm:hover {
  color: white;
  background: var(--dsm-orange-color);
  border-color: var(--dsm-orange-color);
}

btn-orange-dsm:active, btn-orange-dsm .actived {
  color: white;
  background: var(--dsm-orange-color);
  border-color: var(--dsm-orange-color);
}

.btn-gray-dsm {
    color: var(--dsm-gray-color);
    border-color: var(--dsm-gray-color);
    background: transparent;
    border-width:2px;
}
.btn-gray-dsm:hover {
    color: #fff;
    background: var(--dsm-gray-color);
    border-color: var(--dsm-gray-color);
}
.btn-gray-dsm:active, .btn-gray-dsm .actived {
    color: #fff;
    background: var(--dsm-light-gray-color);
    border-color: var(--dsm-light-gray-color);
}

.btn-time-group {
    color: var(--dsm-light-gray-color-dark-bg);
    border-color: var(--dsm-light-gray-color-dark-bg);
    background: transparent;
    border-width:1px;
    font-weight: 400;
    line-height: 13px;
    font-size: var(--dsm-small-font-size-13);
    vertical-align: middle;
    height: 30px;
    min-width: 135px;
}
.active-time-group {
    color: var(--dsm-green-color) !important;
    border-color: var(--dsm-green-color) !important;
    border-width:2px !important;
    font-weight: 600 !important;
}

.btn-time-group-long .icon-small {
    background-image: url(img/arrow-down.svg);
    position: relative;
    left: 8px;
    top: 2px;
    width: 11px;
    height: 11px;
}

.small-icon-arrow-white i {
    background-image: url(img/arrow-down.svg) !important;
}

.small-icon-arrow-white:hover i {
    filter: brightness(100);
}

.btn-time-group-long {
    padding-right: 20px;
}



.btn-time-group:hover {
    color: #fff !important;
    background: var(--dsm-green-color);
    border-color: var(--dsm-green-color);
}
.btn-time-group:active, .btn-time-group .actived {
    color: #fff;
    background: var(--dsm-light-green-color);
    border-color: var(--dsm-light-green-color);
}

.narrow .time-groups{
    padding-left:5px;
    padding-right:5px;
}

.narrow .time-groups button{
    margin:0 auto;
    width:100%;
}

.narrow .dropdown-menu {
    padding-left:5px;
    padding-right:5px;
}

.narrow .dropdown-menu > button{
    margin:0 auto;
    width:100%;
    display: block;
    border: 0px;
}

.dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_length {
    float: right;
    text-align: right;
    visibility: hidden;
    height: 15px;
}
#calendar .calendar-title {
    color: var(--font-dark-gray-color);
    font-size: 16px;
    font-weight: 600;
}

.orders-q-info .numb > div {
    border-right: 1px solid rgba(0,0,0,.1);
    padding-top: 20px;
    padding-bottom: 20px;
    text-align:center;
    /* border-bottom: 1px solid rgba(0,0,0,.1); */
}

.nopadding {
    padding: 0 !important;
    margin: 0 !important;
 }

mwl-calendar .cal-day-today {
    border-radius: 40px;
    background-color: var(--dsm-light-green-color);
    color: #fff;
}

mwl-calendar .cal-day-outmonth span[data-cal-date] {
    opacity: 0.2;
    cursor: unset;
}
mwl-calendar .cal-day-today span[data-cal-date] {
    color: #fff;
}
mwl-calendar .cal-month-box .cal-day-today span[data-cal-date] {
    color: #fff;
    font-size: 14px;
}
mwl-calendar .calendar-label {
    margin-top: 14px !important;
    margin-right: unset !important;
}

mwl-calendar .calendar-cell {
    opacity: 0.6;
    min-height: 39px;
    font-size: 12px;
    line-height: 12px;
    vertical-align: middle;
}
mwl-calendar .cal-row-fluid:hover {
    background-color: transparent;
}
mwl-calendar .cal-row-head .cal-cell1 {
    background-color: transparent !important;
    font-size:  13px;
}
mwl-calendar .cal-month-day {
    height: unset;
}
mwl-calendar .cal-month-box [class*="cal-cell"] {
    min-height: unset;
    height: unset;
    position: relative;
}
mwl-calendar .cal-month-box [class*="cal-cell"] + [class*="cal-cell"] {
    border: 0;
}
mwl-calendar .cal-month-box .cal-row-fluid {
    border: 0;
}
mwl-calendar [class*="cal-cell"]:hover,
mwl-calendar .cell-focus,
mwl-calendar [class*="rgb(119, 43, 43)cell"] .drop-active,
mwl-calendar .cal-cell.drop-active,
mwl-calendar .cal-week-box .cal-cell1.drop-active,
mwl-calendar .cal-day-hour-part.drop-active {
    background-color: transparent;
    cursor: pointer;
}
mwl-calendar span[data-cal-date] {
    margin-top: unset;
    margin-right: unset;
}

mwl-calendar .cal-day-open {
    border-radius: 40px;
    background-color: var(--dsm-green-color);
    color: #fff;
    opacity: 1;
}
mwl-calendar .cal-day-open span[data-cal-date] {
    color: #fff;
    opacity: 1;
}

mwl-calendar .calendar-dot {
    background-color: var(--dsm-dark-green-color);
    height: 6px;
    width: 6px;
    z-index:999;
    border-radius: 50%;
    position: absolute;
    top: 8px;
    right: 8px;
}
mwl-calendar .cal-day-open .calendar-dot {
    background-color: #fff;
}

.modal-dialog {
    max-width: 640px;
}

.modal-dialog.modal-commission {
    max-width: 700px;
}

.form-alert {
  color: red !important;
  padding: 0;
  margin: 0;
  padding-top: 3px;
}

.modal-dialog-wide {
    max-width: 1100px;
    min-width: 1100px;
}

.fixed-height-70 {
  height: 70vh;
}

.fixed-height-60 {
  height: 60vh;
}

.fixed-height-max-60 {
    max-height: 60vh;
}

.fixed-height-50 {
    height: 50vh;
}

.scrollable-y {
  overflow-y: auto;
}

.fixed-height-80 {
  height: 80vh
}

.mw-175 {
    max-width: 175px;
}

.profile_letter_account {
    text-transform: uppercase;
    max-width: 50px;
    max-height: 50px;
    width: 100%;
    border-radius: 60px;
    -webkit-border-radius: 60px;
    -moz-border-radius: 60px;
    margin: 0 auto;
    display: block;
    background: var(--dsm-orange-color);
    font-size: 20px;
    color: #fff;
    text-align: center;
    line-height: 50px;
}

.active #myTab {
    padding-left: 2px;
}

.profile_image {
    max-width: 85px;
    width: 100%;
    border-radius: 60px;
    -webkit-border-radius: 60px;
    -moz-border-radius: 60px;
    margin: 0 auto;
    display: block;
    object-fit: contain;
}


.file_image {
    max-width: 85px;
    width: 100%;
    margin: 0 auto;
    display: block;
}

.pointer {cursor: pointer;}
.dataTables_processing {
    z-index: 99999;
}
.form-control:disabled.form-control[readonly] {
    background-color: #e9ecef !important;
}
.bottom-column
{
    float: none;
    display: table-cell;
    vertical-align: bottom;
}
/* ---------------------------------------------------
    Ewa Added
----------------------------------------------------- */

/* --------- Misc --------- */

.text-pre-wrap{
    white-space: pre-wrap;
}

.dot{
    height: 10px;
    width: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dot-lead i {
    display: inline-block !important;
    margin-right: 10px;
    margin-left: 10px;
    height: 12px;
    width: 12px;
    position:relative;
}

.dot-lead{
    line-height: 30px;
}

.dot-table{
    display: inline-block !important;
    margin-right: 10px;
    margin-left: 10px;
    height: 12px;
    width: 12px;
    margin-top: auto;
    margin-bottom: auto;
}

.dot-vis-fix{
    overflow: visible !important;
}

.dot-table-text{
    display: inline-block !important;
    line-height: 30px;
}

.dot-green-shadow {
    box-shadow: 0 0 10px 0px var(--dsm-green-color);
}

.dot-orange-shadow {
    box-shadow: 0 0 10px 0px var(--dsm-orange-color);
}

.dot-red-shadow {
    box-shadow: 0 0 10px 0px var(--dsm-red-color);
}

.dot-blue-shadow {
    box-shadow: 0 0 10px 0px var(--dsm-blue-color);
}

.dot-green {
		background-color: var(--dsm-green-color);
}

.dot-orange {
		background-color: var(--dsm-orange-color);
}

.dot-red {
		background-color: var(--dsm-red-color);
}

.dot-blue {
		background-color: var(--dsm-blue-color);
}

.dot-gray {
		background-color: var(--dsm-bg-gray-color);
}

.margin-top-dt-minus-6{
    margin-top:-6px;
}

.icon{
    width: 22px;
    height: 22px;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    background-repeat:no-repeat;
    outline: none;
}

.icon-in-x-search{
    background-color:#fff;
    line-height: 0px;
    z-index: 3;
    border-radius: 0px;
}
button.icon-inside-x-search:focus{
    outline:0 !important;
    box-shadow: none !important;
}
.icon-inside-x-search i {
    opacity: 0.3;
}

.icon-inside-x-search span{
    position: relative;
    top: -7px;
    margin-right: 5px;
    font-size:10px;
    color: var(--font-light-gray-color);
}

.icon-inside-x-search-email{
    position: absolute;
    top: 22px;
    right: 0px;
    background-color:transparent;
    line-height: 0px;
    z-index: 3;
    border-radius: 0px;
}
button.icon-inside-x-search-email:focus{
    outline:0 !important;
    box-shadow: none !important;
}
.icon-inside-x-search-email i {
    opacity: 0.3;
}

.icon-inside-x-search-email span{
    position: relative;
    top: -7px;
    margin-right: 5px;
    font-size:10px;
    color: var(--dsm-light-gray-color-dark-bg);
}

#searchEmails, #chatMessageInput{
    padding-right: 112px;
}


.icon-bg-size-22{
    background-size: 22px 22px;
}


.icon-material {
  color: var(--dsm-green-color);
  width: 48px;
  height:48px;
}

.cost-headers {
  vertical-align: middle;
}

.col-icon-cost {
  max-width: 60px;
}

.icon-small{
    width: 11px;
    height: 11px;
}

.icon-normal{
    width: 13px;
    height: 13px;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    background-repeat: no-repeat;
}

.icon-medium-normal{
    width: 17px;
    height: 17px;
}
.icon-large {
    width: 21px;
    height: 21px;
}

.material-cost-icon {
  background-image: url(img/material_cost.svg);
  background-size: cover;
}

.transport-cost-icon {
  background-image: url(img/transport_cost.svg);
  background-size: cover;
}

.work-cost-icon {
  background-image: url(img/work_cost.svg);
  background-size: cover;
}

.other-cost-icon {
    background-image: url(img/pdf_green_no_text.svg);
    background-size: cover;
}

.settings-icon{
		background-image: url(img/settings.svg);
}

.copy-icon {
  background-image: url(img/copy.svg);
}

.save-icon {
  background-image: url(img/save.svg);
}



.download-icon {
  background-image: url(img/download.svg);
}

.minus-icon {
  background-image: url(img/minus.svg);
}

.trash-icon {
  background-image: url(img/trash.svg);
}

.shapes-icon {
  background-image: url(img/shapes.svg);
}
.pages-icon {
  background-image: url(img/page.svg);
}

.move-icon {
  background-image: url(img/move.svg);
}

.dropdown-toggle::after {
    display: none;
  }

.arrow-fix::after {
    display: initial !important;
}


.duplicate-icon {
  background-image: url(img/leads_menu_icon.svg)
}

.arrow-search-down-icon{
		background-image: url(img/arrow-down-white.svg);
    position: relative;
    left: 8px;
    top: 2px;

}

.arrow-search-down-icon {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
}

.arrow-search-down-icon:hover {
    filter: brightness(100);
    -webkit-filter: brightness(100);
}

.filter-none{
  filter:none !important;
  /* -webkit-filter: !important; */
}
.arrow-up-icon-gray{
  background-image: url('img/arrow-up-gray.svg');
}

.edit-icon{
		background-image: url(img/edit.svg);
}

.clear_icon{
    background-image: url(img/clear_icon.svg);
    filter: grayscale(0%);
    -webkit-filter: grayscale(0%);
    opacity: 1 !important;
}

.dots-icon{
    background-image: url(img/three_dots.svg);
}

.dots-orange-icon{
    background-image: url(img/three_dots_orange.svg);
    filter: grayscale(0%);
    -webkit-filter: grayscale(0%);
}

.response-icon{
		background-image: url(img/backarrow.png);
}
.upload-icon{
		background-image: url(img/upload.svg);
}

.attachment-big-icon{
    background-image: url(img/attachment-ico.svg);
}

.clock-icon{
		background-image: url(img/clock.svg);
}

.email-green-icon{
		background-image: url(img/email-icon.svg);
}

.attachment-icon{
		background-image: url(img/attachment-icon.svg);
}

.email-icon{
		background-image: url(img/emails_menu_icon.svg);
}

.phone-icon{
		background-image: url(img/basic_smartphone.svg);
}

.back-icon{
    background-image: url(img/back-arrow.svg);
}

.update-icon{
		background-image: url(img/rotate.svg);
    transform: scaleX(-1);
}
.red-update-icon{
		background-image: url(img/redrotate.svg);
    transform: scaleX(-1);
}

.ignore-icon{
		background-image: url(img/ignore.svg);
}

.phonecall-icon{
        background-image: url(img/phone.png);
}

.dashboard-icon{
    background-image: url(img/dashboard_menu_icon.svg);
}

.details-icon{
    background-image: url(img/details.svg);
}

.invoices-menu-icon{
    background-image: url(img/invoices_menu_icon.svg);
}

.order-menu-icon{
    background-image: url(img/orders_menu_icon.svg);
}

.phone-call-icon{
    background-image: url(img/phone-call.svg);
}

.refresh-icon{
		background-image: url(img/refresh.svg);
}

.visualization-icon{
		background-image: url(img/visualization.svg);
}

.logout-icon{
		background-image: url(img/Log-out.svg);
}

.chat-icon{
		background-image: url(img/chat.svg);
}

.email-draft-icon {
    background-image: url(img/email_draft.svg);
    background-size: contain;
    height: 24px;
}

.suborder-icon{
		background-image: url(img/suborder.svg);
}

.calendar-icon{
		background-image: url(img/calendar.svg);
}
.calendar2-icon {
    background-image: url(img/calendar_2.svg);
}

.tasks-icon{
		background-image: url(img/tasks.svg);
}

.filter-icon{
		background-image: url(img/filter.svg);
}

.add-icon{
		background-image: url(img/add.svg);
}

.add-icon-img{
		background-image: url(img/add_icon.svg);
}

.pin-icon{
		background-image: url(img/pin.svg);
}

.pin-icon.active{
    background-image: url(img/pin.svg);
    filter: grayscale(0%);
    -webkit-filter: grayscale(0%);
}

/*********Activity icon**************/
.activity-call-results-icon{
    background-image: url(img/activity_call_results.svg);
}

.activity-contact-created-icon{
    background-image: url(img/activity_contact_created.svg);
}

.activity-lead-modified-icon {
    background-image: url(img/activity_lead_modified.svg);
}

.activity-credit-invoice-generated-icon{
    background-image: url(img/activity_credit_invoice_generated.svg);
}

.activity-description-changed-icon{
    background-image: url(img/activity_description_changed.svg);
}

.activity-duplicate-icon{
    background-image: url(img/activity_duplicate.svg);
}

.activity-event-created-icon{
    background-image: url(img/activity_event_created.svg);
}

.activity-event-created-icon{
    background-image: url(img/activity_event_created.svg);
}

.activity-file-deleted-icon{
    background-image: url(img/activity_file_deleted.svg);
}

.activity-file-name-icon{
    background-image: url(img/activity_file_name.svg);
}

.activity-file-upload-icon{
    background-image: url(img/activity_file_upload.svg);
}

.activity-invoice-generated-icon{
    background-image: url(img/activity_invoice_generated.svg);
}

.activity-lead-created-icon{
    background-image: url(img/activity_lead_created.svg);
}

.activity-mail-was-sent-icon{
    background-image: url(img/activity_mail_was_sent.svg);
}

.activity-lead-from-email-created-icon{
    background-image: url(img/activity_new_lead_from_existing_email_created.svg);
}

.activity-new-transaction-note-icon{
    background-image: url(img/activity_new_transaction_note.svg);
}

.activity-offer-confirmed-icon{
    background-image: url(img/activity_offer_confirmed.svg);
}

.activity-offer-discarded-icon{
    background-image: url(img/activity_offer_discarded.svg);
}

.activity-offer-needs-change-icon{
    background-image: url(img/activity_offer_needs_change.svg);
}

.activity-order-changed-copy-icon{
    background-image: url(img/activity_order_changed_copy.svg);
}

.activity-order-created-icon {
    background-image: url(img/activity_order_created.svg);
}

.activity-order-forced-by-user-icon{
    background-image: url(img/activity_order_forced_by_user.svg);
}

.activity-order-status-changed-icon{
    background-image: url(img/activity_order_status_changed.svg);
}

.activity-quotation-icon{
    background-image: url(img/activity_quotation.svg);
}

.activity-quotation-created-icon{
    background-image: url(img/activity_quotation_created.svg);
}

.activity-status-icon{
    background-image: url(img/activity_status.svg);
}

.activity-status-changed-icon{
    background-image: url(img/activity_status_changed.svg);
}

.activity-task-added-icon{
    background-image: url(img/activity_task_added.svg);
}

.activity-task-done-icon{
    background-image: url(img/activity_task_done.svg);
}

.activity-task-error-icon{
    background-image: url(img/activity_task_error.svg);
}

.activity-transaction-icon{
    background-image: url(img/activity_transaction.svg);
}

.activity-order-forced-by-user-red-icon{
    background-image: url(img/activity_order_forced_by_user_red.svg);
}

.activity-error-icon{
    background-image: url(img/activity_error.svg);
}

.activity-copy-icon {
    background-image: url(img/copy.svg);
}

.activity-draft-created-icon {
    background-image: url(img/email_draft.svg);
}
.activity-quotation-set-to-ready-icon {
    background-image: url(img/activity_order_forced_by_user.svg);
}
.activity-sent-chat-message {
    background-image: url(img/activity_mail_was_sent.svg);
}
.activity-lead-ignored {
    background-image: url(img/activity_lead_ignore.svg);
}
.activity-task-created {
    background-image: url(img/activity_task_added.svg);
}
.activity-commission {
    background-image: url(img/commissions_menu_icon.svg);
}

/************************************/

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

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

.margin-scroll-right{
		margin-right:18px !important;
}

/*
.btn-small-dsm {
    color: var(--dsm-green-color);
    border-color: var(--dsm-green-color);
    background: transparent;
    border-width: 2px;
    font-weight: 600;
    line-height: 14px;
    font-size: 13px;
    vertical-align: middle;
    height: 46px;
    padding-left: 45px;
    padding-right: 45px;
}
.btn-small-dsm:hover {
    color: #fff;
    background: var(--dsm-green-color);
    border-color: var(--dsm-green-color);
}
.btn-small-dsm:active, .btn-small-dsm .actived {
    color: #fff;
    background: var(--dsm-light-green-color);
    border-color: var(--dsm-light-green-color);
} */

@media only screen and (max-width: 1200px) {
    .view-container {
        width:initial;
    }
}

@media only screen and (max-width: 1200px) {
    .container {
        max-width:none !important;
    }
}

@media only screen and (max-width: 992px) {
    .container {
        max-width:none !important;
    }
}

@media only screen and (max-width: 768px) {
    .view-container {
        max-width:none !important;
    }
}

@media only screen and (max-width: 1024px) {
    .view-container {
        max-width:none !important;
    }
}


.row > .content-container{
    margin-left:15px;
    margin-right:15px;
}

.content-container {
    border-radius: var(--dsm-border-box-radius) var(--dsm-border-box-radius) var(--dsm-border-box-radius) var(--dsm-border-box-radius);
    padding-left:var(--dsm-padding-left-side-box);
    padding-right:var(--dsm-padding-left-side-box);
    padding-top:var(--dsm-padding-top-side-box);
    padding-bottom:var(--dsm-padding-top-side-box);
    background-color:	#fff;
}

.row.content-container{
    margin-left:0px;
    margin-right:0px;
}

.content-container h4{
    font-weight: 800;
    font-size: var(--dsm-h4-font-size);
    display: inline-block;
    color: var(--font-dark-gray-color);
}

.content-container h3{
    font-weight: 800;
    font-size: var(--dsm-h2-font-size);
    display: inline-block;
    color: var(--font-dark-gray-color);
}

.content-container p{
    font-size: var(--dsm-font-size-content); /*14px; */
    margin-bottom:0px;
}

#sidebar-right .dropdown-toggle.not-bold ,.line-content-container .dropdown-toggle.not-bold{
    font-weight:normal !important;
}

#sidebar-right .dropdown-menu.show ,.line-content-container .dropdown-menu.show{
    z-index:9999;
}

.sub-heading{
    font-size: var(--dsm-h2-font-size);
    font-weight: 800;
    margin-bottom:0px;
    text-align: left;
}

.dropdown-toggle::after {
    top: 43%;
    right: 0px;
}

.dropdown-toggle{
    font-weight: 500;
}

.dropdown-options div > .dropdown-toggle{
    font-weight: 600;
    padding-left:0px;
    padding-right:22px;
    color:var(--font-dark-gray-color);
    font-size: 14px; /*var(--dsm-font-size-content); */
}

.dropdown-options div > .dropdown-toggle{
    font-weight: 600;
    padding-left:0px;
    padding-right:22px;
    color:var(--font-dark-gray-color);
    font-size: 14px; /*var(--dsm-font-size-content); */
}


.input-group-prepend{
    position:relative;
}



.switch-toggle {
    font-size: var(--dsm-small-font-size-16);
    position: relative;
}

.switch-toggle input {
    position: absolute;
    height: 1px;
    width: 1px;
    background: none;
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    overflow: hidden;
    padding: 0;
}

.switch-toggle input + label {
    position: relative;
    min-width: 40px;
    border-radius: 25px;
    height: 16px;
    display: inline-block;
    cursor: pointer;
    outline: none;
    user-select: none;
    vertical-align: middle;
}
.switch-toggle input + label::before,
.switch-toggle input + label::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 38px;
    bottom: 0;
    display: block;
    outline: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.switch-toggle input + label::before {
    right: 0;
    border-radius: 25px;
    transition: 0.2s all;
    border: 1px solid #dedede;
}



.switch-toggle input + label::after {
    top: 2px;
    left: 3px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #d6d6d6;
    transition: 0.2s all;
}
.switch-toggle input:checked + label::before {
    background-color: var(--dsm-green-color);
}
.switch-toggle input:checked + label::after {
    margin-left: 20px;
}
.switch-toggle input:focus + label::before {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 136, 221, 0.25);
}
.switch-toggle input:disabled + label {
    color: #868e96;
    cursor: not-allowed;
}
.switch-toggle input:disabled + label::before {
    background-color: #e9ecef;
}

.switch-toggle input:enabled + label::before {
    background-color: white;
}

.switch-toggle input:checked + label::after {
    background-color: #ffa423;
}



.switch-toggle.sys_user input:disabled + label::before {
    background-color: var(--dsm-green-color);
}

/* --------- Left bar ---------*/

#sidebar-left {
z-index:999;
}

/* --------- Right bar --------- */

#sidebar-right {
    overflow: hidden; /*niweluje wystajacy pasek u dolu */
    z-index:999;
}

#sidebar-right .sidebar-right-content, #sidebar-right .sidebar-right-content .row, #sidebar-right .sidebar-right-content .left-side-tab, #sidebar-right .sidebar-right-content .left-side-tab .tab-content {
		height:100%;	/*rozwija prawy sidebar do max wysokosci */
}

#sidebar-right .sidebar-right-header .header-buttons {
    line-height:initial;
    font-size:16px;
}

#sidebar-right .sidebar-right-header .header-buttons button {
    font-size: 10px; /*var(--dsm-small-font-size);*/
	padding:0px;
    margin:0px;
    margin: -1px;
}

.transparent-i-button{
    background-color: Transparent;
    background-repeat:no-repeat;
    border: none;
    cursor:pointer;
    /*overflow: hidden;*/
    outline:none;
    color: var(--font-dark-gray-color);
}

.transparent-i-button:focus{
    outline:none;
}

#sidebar-right .sidebar-right-header {
    padding: 12px;
    padding-top: 20px;
    padding-bottom: 0px;

}

#sidebar-right.active .sidebar-right-header .header-buttons button i{
		width:20px;
		height:20px;
}

#sidebar-right:not(.active) .sidebar-right-header div.header-buttons div:first-child button {
		float:right;
}

#sidebar-right:not(.active) .sidebar-right-header div.header-buttons div:last-child button {
		float:left;
}

#sidebar-right:not(.active) .sidebar-right-header .header-buttons button i {
		margin-top:8px !important;
}

#sidebar-right .right-side-tab .nav-link {
    padding-bottom: 0px;
    padding-top:0px;
    position: relative;
}


.sidebar-right-spacer{
		margin-bottom: 0px;
}

#sidebar-right.active hr.sidebar-right-spacer {
		margin-left:10px;
		margin-right:10px;
}
#sidebar-right:not(.active) .sidebar-right-content .row .left-side-tab {
    border: 0;
    border-right: 1px solid rgba(0,0,0,.1);
		display:initial;
}

#sidebar-right:not(.active) hr {
		margin-left:0px;
		margin-right:0px;
}

#sidebar-right:not(.active) #tasks-tab.active i, #sidebar-right:not(.active) #myTab li a.active i{
		filter: grayscale(0%);
		-webkit-filter: grayscale(0%);
}
/* gobalnie */
/* i.active {
		filter: grayscale(0%);
		-webkit-filter: grayscale(0%);
} */

#sidebar-right.active .sidebar-right-content .row .left-side-tab {
	display:none;
}

/* tasks */

#tasks{
    padding-right: 15px;
}

#sidebar-right .sidebar-right-content .nav-link, #sidebar-right .sidebar-right-content .nav-tabs{
	  border: 0 !important;
}

#sidebar-right.active #myTab{
    padding-left:0px !important;
}

#sidebar-right.active .sidebar-right-content .nav-tabs{
		margin-left: 0px;
}

#sidebar-right .tab-header  h4{
    font-weight: 800;
    font-size: var(--dsm-h4-font-size);
    display: inline-block;
}

#sidebar-right .sidebar-right-content  i.pin-icon{
    width:24px;
	height:24px;
}


button.transparent-icon-button-small{
    font-size:10px /*var(--dsm-small-font-size);*/;
    padding-left:0px;
    padding-right:0px;
    color:var(--font-light-gray-color);
    width: 77px;
    font-weight:600;
    text-align: right;
}

button.transparent-icon-button-small i{
    max-width: 11px;
    max-height: 11px;
    margin-top: 2px;
    margin-left: -20px;
    margin-right: 6px;
    position: absolute;
}

button.transparent-icon-button-medium{
    font-size: var(--dsm-font-size-content);
    padding-left: 0px;
    padding-right: 5px;
    color: var(--font-light-gray-color);
    width: 90px;
    font-weight: 600;
    text-align: right;
}

button.transparent-icon-button-medium i{
    max-width: 15px;
    max-height: 15px;
    margin-top: 2px;
    margin-left: -26px;
    margin-right: 6px;
    position: absolute;
}

#sidebar-right .toggle-tasks-size {
		height:13px;
   /* left:13px; */
}

#sidebar-right .toggle-tasks{
		padding:0px;
		height: 11px;
		width: 11px;
		border-radius: 50%;
		display: inline-block;
		border:#dbdbdb 1px solid;
    cursor:pointer;
    outline:none;
    background: #f6f6f6;
}

#sidebar-right  .toggle-tasks:after {
    display: none;
}



#sidebar-right span.tasks-content{
		font-size:10px /*var(--dsm-small-font-size);*/;
		padding-left:0px;
		padding-right:0px;
		color:var(--font-light-gray-color);
}



#sidebar-right  .tasks-spacer{
    width: 100%;
    padding-left: 45px;
    padding-right: 5px;
}



/* calendar */

.upcoming-content .upcoming-title{
	color: var(--dsm-green-color);
  font-weight:600;
}

.upcoming-content > *{
	font-size:var(--dsm-small-font-size-upcoming);
  font-weight: 500;
}

.pull-right i{
    margin-top: 8px;
    height: 12px;
    width: 12px;
    transform: rotate(270deg);
    background-size: 12px 12px;
}
.pull-left i{
    margin-top: 8px;
    height: 12px;
    width: 12px;
    transform: rotate(90deg);
    background-size: 12px 12px;
}

.pull-right:active i{
    opacity: 0.3;
}
.pull-left:active i{
    opacity: 0.3;
}
/* --------- Contacs --------- */

.search-form-button::after {
    display: none;
}

.search-form-button i{
    font-size:50px;
}

.yellow-filtr-button {
    background: var(--dsm-orange-color);
}

.selected-filter {
    font-weight: 500;
    color: var(--dsm-orange-color);
}
.all-selected-filter {
    font-weight: 500;
    color: var(--dsm-green-color);
}

input.search-form-control{
    padding-left: 45px;
    background-image: url(img/search.svg);
    background-size: 12px 12px;
    background-repeat: no-repeat;
    background-position: 19px;
}



.icon-left{
    line-height: 30px;
    padding-left: 60px;
    position: relative;
}

.icon-left i{
  /*  position: relative;
    top: 5px;
    right: 16px;
    filter: unset; */
    position: absolute;
    top: 12px;
    filter: unset;
    left: 20px;
}

.icon-left:hover i{
    filter: brightness(100);
}

.rounded-table{
    border-collapse: separate;
    border-spacing: 0 15px !important;
    padding-right: 15px;
    width:100% !important;
    font-size: var(--dsm-small-font-size-16);
}

.rounded-table thead tr th:first-child  {
    padding-left:var(--dsm-padding-left-side-box);
}

.rounded-table thead tr th {
    text-align: left;
    padding: 0px 5px;
    font-size: var(--dsm-font-size-small-headers);
}

.rounded-table .columnSorting.ascending::after {
    position: absolute;
    right: -15px;
}
.rounded-table .columnSorting.descending::after {
    position: absolute;
    right: -15px;
}

.rounded-table tbody tr td  {
    padding: 14px 5px 13px 5px;
    vertical-align: middle;
    text-align: left;
    max-width: 200px;
    background-color:	#fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rounded-table thead tr th  {
    max-width: 200px;
}

.rounded-table tbody tr td  span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rounded-table tbody tr td:first-child  {
    padding-left:var(--dsm-padding-left-side-box);
    border-radius: var(--dsm-border-box-radius) 0px 0px var(--dsm-border-box-radius);
    background-color:	#fff;
    padding-right:8px !important;
}

.rounded-table tbody tr td:last-child  {
    padding-right:var(--dsm-padding-left-side-box);
    border-radius: 0px var(--dsm-border-box-radius) var(--dsm-border-box-radius) 0px;
    background-color:	#fff;
    padding-right: var(--dsm-padding-left-side-box);
}

.rounded-table tbody tr td:only-child  {
    padding-right:var(--dsm-padding-left-side-box);
    border-radius: var(--dsm-border-box-radius) var(--dsm-border-box-radius) var(--dsm-border-box-radius) var(--dsm-border-box-radius);
    background-color:	#fff;
}

.rounded-table tbody tr  {
    border-radius: var(--dsm-border-box-radius) var(--dsm-border-box-radius) var(--dsm-border-box-radius) var(--dsm-border-box-radius);
 /*   box-shadow: 0 0 15px 0px var(--shadow-color);   */
}

.rounded-table h2{
    font-weight: 800;
    margin-bottom: 0px;
    font-size: var(--dsm-font-size-20);
    display: inline-block;
    color: var(--font-dark-gray-color);
    padding-top: 2px;
    padding-bottom: 2px;
}

.rounded-table td {
  border: 0px solid transparent;
  background-clip: padding-box;
}



div.DTS div.dataTables_scrollBody table{
    background-color: transparent;
}
div.DTS div.dataTables_scrollBody{
    background: transparent;
}

.dataTables_scrollBody thead tr[role="row"]{
    visibility: collapse !important;
}

.rounded-table tbody tr td span{
    display:block;
    font-size: var(--dsm-small-font-size-16);
}




table.dataTable tbody tr {
    cursor: pointer;
}

/* modyfikacja data tables */

table.dataTable thead .sorting:before, table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_desc_disabled:before,
table.dataTable thead .sorting_desc_disabled:after {
    position: absolute;
    bottom: 0.4em !important;
    display: block;
}
table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_desc_disabled:before {
    right: 3em !important;
    content: '' !important;
   /* height:12px;
    width:12px;
    background-image: url('img/arrow-up-gray.svg');
    background-size: 12px 12px;    */
}
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_desc_disabled:after {
    right: 2em !important;
    content: '' !important;
   /* height:12px;
    width:12px;
    transform: rotate(180deg);
    background-image: url('img/arrow-up-gray.svg');
    background-size: 12px 12px;   */
}

table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr > th.sorting, table.dataTable thead > tr > td.sorting_asc, table.dataTable thead > tr > td.sorting_desc, table.dataTable thead > tr > td.sorting {
    padding-right: 20px !important;
    white-space: nowrap;
}

.sorting_asc .arrow-icon.asc {
    opacity: 1;
    filter:unset;
}

.sorting_desc .arrow-icon.desc {
    opacity: 1;
    filter:unset;
}

.arrow-icon.asc{
    margin-left:10px;
    height:12px;
    width:12px;
    background-image: url('img/arrow-down.svg');
    transform: rotate(180deg);
    background-size: 12px 12px;
    opacity: .3;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
}

.arrow-icon.desc{
    height:12px;
    width:12px;
    background-image: url('img/arrow-down.svg');
    background-size: 12px 12px;
    opacity: .3;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
}


.dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_length {
    height: 0px !important;
}

table.dataTable {
    margin-top: 0px !important;
}



/* --------- Contact --------- */

#contact-table_wrapper .contact-lead-row-header{
    margin: 5px 0px;
    margin-top: 0px;
    font-weight: 600;
    color: var(--font-light-gray-color);
    font-size: var(--dsm-font-size-small-headers);
}

#contact-table_wrapper .contact-lead-row-value{
    font-size: var(--dsm-font-size-content);
    color: var(--font-dark-gray-color);
}

#contact-table_wrapper  .rounded-table tbody tr td{
    vertical-align: top !important;
}

#contact-table_wrapper  .rounded-table thead{
    display:none;
}


#contact-table_wrapper  .dataTables_scrollHead{
    display:none;
}

.contact-leads .contact-leads-header div{
    font-weight: 600;
    color: var(--font-light-gray-color);
    font-size: var(--dsm-font-size-small-headers);
    word-break: break-all;
}

.contact-leads .contact-leads-header div{
    font-weight: 600;
    color: var(--font-light-gray-color);
    font-size: var(--dsm-font-size-small-headers);
    word-break: break-all;
}

.contact-leads .contact-leads-content{
    font-size: var(--dsm-font-size-content);
}

.contact-leads .contact-leads-content span{
    display:block;
    text-align: initial;
}

.contact-leads .contact-leads-header > div:first-child {
    padding-left: 70px;
}

.contact-leads .contact-leads-content > div:first-child {
    padding-left: 70px;
}

.icon-left-medium{
    position:relative;
    padding-left: 60px;
}

.icon-left-medium i {
    position: absolute;
    top: 8px;
    left: 20px;
    filter: unset;
}

.filter-unset {
    filter: unset;
}

.icon-medium{
    width: 15px;
    height: 15px;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    background-repeat: no-repeat;
}

.icon-left-medium:hover i, .icon-left-page-button:hover i {
    filter: brightness(100);
}

.icon-left-page {
    position: absolute;
    top: 8px;
    left: 20px;
    filter: unset;
}

.icon-left-page-button {
    padding-left: 60px;
    padding-right: 20px;
}

.icon-left-normal{
    position:relative;
    padding-left: 45px;
}

.icon-left-normal i {
    position: absolute;
    top: 6px;
    left: 15px;
    filter: unset;
}
.icon-left-normal:hover i {
    filter: brightness(100);
}

.icon-medium-25 {
    min-width: 25px;
    min-height: 25px;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    background-repeat: no-repeat;
}

.overflow-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.line-down-box  .info-line  > div:first-child{
    padding-left:70px;
}

.line-down-box  .info-line  > div:last-child{
    padding-right:70px;
}

.line-down-box  .info-line > div{
    font-weight:600;
    color: var(--dsm-light-gray-color-dark-bg);
    font-size:var(--dsm-font-size-small-headers);
    word-break: break-all;
}

.line-down-box .line-content-container{
    box-shadow: 0 0 15px 0px var(--shadow-color);
}

.line-down-box .line-content-container div.content-container-col{
    padding:0px !important;
    margin:0px !important;
}

.line-down-box  .about-line  > div:first-child{
    padding-left:70px;
    font-weight: 800;
}

.line-down-box  .about-line  > div:last-child{
    padding-right:70px;
    margin-bottom: -30px;
    word-break: normal;
}

.line-down-box .about-line > div{
    font-size:var(--dsm-font-size-small-headers);
    word-break: break-all;
}

.line-down-box .about-line{
    padding-bottom:30px;
}

.line-down-box .about-line span{
    display:block;
}

.line-down-box .line-content-container{
    border-radius: var(--dsm-border-box-radius) var(--dsm-border-box-radius) var(--dsm-border-box-radius) var(--dsm-border-box-radius);
    background-color:	#fff;
    padding-top:30px;
}

.line-down-box .content-line > div{
    padding-top:20px;
    border-right: 1px solid rgba(0,0,0,.1);
    padding-bottom:30px;
}

.line-down-box .content-line .right-top-corner{
    top:0px;
}

.line-down-box .content-line{
  border-top: 1px solid rgba(0,0,0,.1);
  font-size:var(--dsm-font-size-content);
}

.line-down-box .content-line  h5{
  font-size:var(--dsm-font-size-content);
  font-weight:800;
}

.line-down-box .content-line .left-side-content span{
    color:var(--font-light-gray-color);
    font-weight:500;
}

.line-down-box .content-line .content-elips{
    overflow: hidden;
    text-overflow: ellipsis;
}

.line-down-box .content-line .right-side-content{
    text-align:right;
    max-height: 21px;
}

.line-down-box .content-line .right-side-content .input-group .input-group-prepend{
    display:initial;
}

.line-down-box .content-line .right-side-content .input-group {
    display:initial;
}

.line-down-box .content-line > div:last-child{
    border-right: 0px;
}

.content-container p{
    font-size: var(--dsm-font-size-content);
    margin-bottom:0px;
}

.content-container.box-shadow{
    box-shadow: 0 0 15px 0px var(--shadow-color);
}

.show-more{
    font-size: 10px;
    font-weight: 800;
    width: 70px;
    color:var(--font-light-gray-color);
    padding-right: 68px;
}

.show-more i{
    position: relative;
    right: -45px;
    top: -25px;
}

.line-down-box .display-none{
    display: none;
}

.line-down-box .switch-emails{
    text-align:right;
    color:var(--font-light-gray-color);
    font-weight:500;
}

.line-down-box .switch-emails span a{
    text-decoration: underline;
}

.short-desc span{
    color:var(--font-light-gray-color);
    font-weight:500;
}

.short-desc-content p{
    color:var(--font-dark-gray-color);
    font-size: var(--dsm-font-size-content);
    font-weight: 400;
    line-height: 1.5em;
    word-break: break-all;
}

.sub-section-contact .filters > div > div{
    display:inline-block;
}


.filter-name{
    font-size: var(--dsm-font-size-content);
    color: var(--dsm-light-gray-color-dark-bg);
    font-weight:500;
}

/* --------- Leads --------- */

.filter-big-btn{
    height: 80px;
    background-color: transparent;
    border: 0px;
    cursor:pointer;
    outline:none;
    padding:0px;
    margin:5px;
}

.filter-btn-diss{
    height:90px;
  }

.icon-big {
    position: absolute;
    top: 33px;
    left: 33px;
    width: 24px;
    height: 24px;
    background-size: 24px 24px;
	filter: grayscale(100%);
	-webkit-filter: grayscale(100%);
    background-repeat:no-repeat;
}

.round-bg-icon-big{
    width: 80px;
    height: 80px;
    background-repeat:no-repeat;
    border-radius: 50%;
    background-color:#f6f6f6;
}

@media (max-width: 1700px) {
    .icon-big {
        top: 36px;
        left: 26px;
        width: 18px;
        height: 18px;
        background-size: 18px 18px;
    }

    .round-bg-icon-big{
        margin-top:5px;
        width: 60px;
        height: 60px;
    }
}

.filter-content-diss button{
    padding-left: 2px;
    padding-right: 2px;
}


.content-container-filter-fx{

    padding-top:0px !important;
    padding-bottom:0px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    box-shadow: 0 0 15px 0px var(--shadow-color);
    min-height: 100px;
}

.content-container-filter-fx > .my-auto > .container > .row{
    max-width: 400px;
    margin:0 auto;
}



.lead-icon{
    background-image: url(img/leads_menu_icon.svg);
}

.quoted-icon{
    background-image: url(img/Qouted.svg);
}

.order-icon{
    background-image: url(img/orders.svg);
}

.lost-icon{
    background-image: url(img/lost.svg);
}

.closed-icon{
    background-image: url(img/closed.svg);
}


.milling-icon{
    background-image: url(img/icon_milling.svg);
}
.painting-icon{
    background-image: url(img/icon_painting.svg);
}

.delivery-icon{
    background-image: url(img/icon_delivery.svg);
}

.feedback-icon{
    background-image: url(img/feedback.svg);
}

.invoices-icon{
    background-image: url(img/invoices_menu_icon.svg);
}
.payment-not-paid-icon {
    background-image: url(img/icon_not_paid.svg);
}
.payment-first-payment-done-icon {
    background-image: url(img/icon_first_payment_done.svg);
}
.payment-partially-paid-icon {
    background-image: url(img/icon_partially_paid.svg);
}
.payment-fully-paid-icon {
    background-image: url(img/icon_payment_done.svg);
}
.payment-over-paid-icon {
    background-image: url(img/icon_over_paid.svg);
}
.payment-correction-icon {
    background-image: url(img/icon_correction.svg);
}
.payment-canceled-icon {
    background-image: url(img/icon_payment_canceled.svg);
}
.new-order-icon{
    background-image: url(img/add.svg);
}

.sent-icon{
    background-image: url(img/icon_sent.svg);
}
.in-packaging-icon {
    background-image: url(img/icon_packaging.svg);
}
.reorder-icon{
    background-image: url(img/icon_reorder.svg);
}

.in-montage-icon{
    background-image: url(img/icon_in_montage.svg);
}

.montage-done-icon{
    background-image: url(img/icon_montage_done.svg);
}

.waiting-for-feed-icon{
    background-image: url(img/icon_feedback.svg);
}

.waiting-for-3rd-icon {
    background-image: url(img/icon_waiting_for_3rd_party.svg);
}

.order-closed-icon {
    background-image: url(img/icon_closed.svg);
}

.round-filter-title{
    display:block;
    position: relative;
    bottom: 6px;
    font-weight: 800;
    color: var(--font-dark-gray-color);
    font-size: var(--dsm-rounded-filter-title);
    text-align: left;
}

.round-filter-count{
    font-weight: 800;
    font-size: var(--dsm-rounded-filter-count);
}

.round-filter-desc{
    position: relative;
    left: 15px;
    font-size: var(--dsm-rounded-filter-desc);
}

.filter-big-btn:focus {outline:0;}

.filter-big-btn.active .icon-big{
 		filter: brightness(100);
		-webkit-filter: brightness(100);
}

.filter-big-btn.active .round-bg-icon-big{
    background-color:#59716a;
}

.vertical-spacer{
    border-right: 1px solid rgba(0,0,0,.1);
    margin-top: 20px;
    margin-bottom: 20px;
    min-width: 2px;
    height: 70px !important;

}

.filter-count:last-child  .vertical-spacer{
  display:none;
}

/* lead */

.lead-nav li a{
  background-color: transparent !important;
  border: 0px !important;
  padding: .5rem 3rem !important;
  border-bottom: #e5e5e5 3px solid !important;
  font-size: var(--dsm-font-size-content);
  font-weight: 800;
}

.lead-nav li a.active{
  border-bottom: var(--dsm-green-color) 3px solid !important;
  color:var(--dsm-green-color)!important;
}

.lead-nav li .badge-lead{
    height: 17px;
    min-width: 17px;
    border-radius: 50%;
    display: inline-block;
    margin-left: 6px;
    position: relative;
    top: -1px;
    padding:0px 4px 0px 4px;
    text-align: center;
    line-height: 17px;
    color: white;
    font-size: 11px;
}

.lead-nav{
  border-bottom-color:#e5e5e5 !important;
}

@media (max-width: 1550px) {
  .lead-nav li a{
    padding: .5rem 2rem !important;
  }

}

.line-down-box .about-line .profile_letter_account_mini {
    float: left;
    max-width: 45px;
    max-height: 45px;
    font-size: 15px /*var(--dsm-font-size-small-headers); */;
    line-height: 45px;
}

.email-avatar .profile_letter_account_mini {
    float: left;
    max-width: 31px;
    max-height: 31px;
    font-size: 15px /*var(--dsm-font-size-small-headers); */;
    line-height: 31px;
}

.line-down-box .about-line .owner_name{
    margin-top: 13.2px;
    margin-left: 55px;
}

.line-down-box .about-line .profile_image_mini,
.email-avatar .profile_image_mini {
    float: left;
    max-width: 45px;
    max-height: 45px;
    border-radius: 45px;
    -webkit-border-radius: 45px;
    -moz-border-radius: 45px;
}


.lead-q-info .numb > div{
    border-right: 1px solid rgba(0,0,0,.1);
    padding-top: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(0,0,0,.1);
}

.lead-q-info .lead-q-info-desc {
    position: absolute;
    width: 100%;
    margin-left: -15px;
    bottom: 15px;
}

.lead-q-info .numb.lead-progress-bar > div{
    border-bottom: 0px !important;
}

.lead-q-info .numb > div:last-child, .orders-q-info .numb > div:last-child{
    border-right: 0px;

}

.content-container.lead-q-info {
    padding: 0px !important;
}


.lead-q-info .numb > div > span{
    display: block;
    text-align: center;
}

.lead-q-info .numb  .lead-q-info-type{
    font-weight: 600;
    color: var(--font-light-gray-color);
    font-size: var(--dsm-font-size-small-headers);
}


.breadcrumbs{
    font-size: var(--dsm-font-size-content);
}

.breadcrumbs a.active{
    font-weight: 800;
}


.lead-activity h3{
    display:block;
    margin-bottom:0px;
}

.lead-activity span{
    word-break:break-all;
}

.lead-activity span{
    font-size: var(--dsm-small-font-size-12);
    color: var(--font-light-gray-color);
    vertical-align: top;
}

.lead-activity .user-ico{
    vertical-align: middle;
    margin-top:-5px;
    margin-left: 4px;
}

.lead-activity .right-top-corner{
      top: 0px;
}

.lead-activity .activity{
    border-bottom: 1px solid rgba(0,0,0,.1);
}

.lead-activity .profile_letter_account{
    max-width: 18px;
    max-height: 18px;
    display: block;
    font-size: 8px;
    line-height: 18px;
    display: inline-block !important;
    margin-right: 5px;
}

.order-activity .profile_letter_account{
    width: 18px !important;
    height: 18px;
    display: block;
    font-size: 8px;
    line-height: 18px;
    display: inline-block !important;
    margin-right: 5px;
}

.lead-activity .profile_image_mini img{
    max-width: 18px;
    max-height: 18px;
    display: block;
    font-size: 10px;
    line-height: 20px;
    display: inline-block !important;
    margin-right: 5px;
}

.lead-activity .profile_image_mini {
    display: inline-block;
}

.lead-activity .activity-content .reason{
    font-size: var(--dsm-small-font-size) /*10px;*/;
    color: var(--font-light-gray-color);
    position: relative;
    top: -5px;
    font-weight: 500;
}

.lead-activity .activity-content .font-weight-bold{
    color: var(--font-dark-gray-color);
}

.lead-activity .activity-content span{
    color: var(--font-dark-gray-color);
    font-weight: 500;
}
.lead-activity .activity-content .act{
    color: var(--font-light-gray-color);
    font-weight: 500;
    text-align: left;
    display:block;
    margin-bottom:4px;
}

.lead-activity h5{
    font-size: var(--dsm-font-size-content);
    font-weight: 800;
    margin-bottom:0px;
}

.lead-activity .activity-title{
    text-align:left;
    font-size: var(--dsm-small-font-size-16);
}

.lead-note p{
    text-align: left;
    word-break: break-all;
}

.lead-note .right-top-corner{
    right: 15px;
    top:0px;
}

.lead-activity .activity:last-child {
    border-bottom: 0px;
}

/* --- progress bar --- */

/* Form Progress */
.progress {
    margin: 20px auto;
    text-align: center;
    overflow: hidden;
    height:auto;
    display:block;
    background: none;
}
.progress .circle,
.progress .bar {
    display: inline-block;
    background: #fff;
    width: 40px; height: 40px;
    border-radius: 40px;
    border: 1px solid #d5d5da;
}
.progress .bar {
    position: relative;
    width: 80px;
    height: 6px;
    top: -42px;
    margin-left: -5px;
    margin-right: -5px;
    border-left: none;
    border-right: none;
    border-radius: 0;
}
.progress .circle .label {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    border-radius: 32px;
    margin-top: 3px;
    color: #b5b5ba;
    font-size: 17px;
}
.progress .circle .title {
    color: #b5b5ba;
    font-size: 13px;
    line-height: 30px;
    margin-left: 0px;
    padding-top: 10px;
}

/* Done / Active */
.progress .bar.done,
.progress .circle.done {
    background: #eee;
}
.progress .bar.active {
    background: linear-gradient(to right, #EEE 40%, #FFF 60%);
}
.progress .circle.done .label {
    color: #FFF;
    background: var(--dsm-gray-color);
    box-shadow: inset 0 0 2px rgba(0,0,0,.2);
}
.progress .circle.done .title {
    color: #444;
}
.progress .circle.active .label {
    color: #FFF;
    background: var(--dsm-green-color);
    box-shadow: inset 0 0 2px rgba(0,0,0,.2);
}
.progress .circle.active .title {
    color: var(--dsm-green-color);
}

/* --- areas --- */
/*
.lead-q-info .dsm-bg-blue-color[aria-valuenow="6"] .one-1{
    background-color:   var(--dsm-blue-color);
}

.lead-q-info .dsm-bg-blue-color[aria-valuenow="13"] .two-1{
    background-color:   var(--dsm-blue-color);
}

.lead-q-info .dsm-bg-blue-color[aria-valuenow="19"] .three-1{
    background-color:   var(--dsm-blue-color);
}

.lead-q-info .dsm-bg-blue-color[aria-valuenow="26"] .four-1{
    background-color:   var(--dsm-blue-color);
} */



.dsm-bg-blue-color{
    background-color:var(--dsm-blue-color);
}
.dsm-font-blue-color{
    color:var(--dsm-blue-color);
}

.dsm-bg-yellow-color{
    background-color:var(--dsm-yellow-color);
}
.dsm-font-yellow-color{
    color:var(--dsm-yellow-color);
}

.dsm-bg-orange-color{
    background-color:var(--dsm-orange-color);
}

.dsm-bg-red-color{
    background-color:var(--dsm-red-color);
}

.dsm-font-orange-color{
    color:var(--dsm-orange-color);
}

.dsm-bg-bgreen-color{
    background-color:var(--dsm-bgreen-color);
}
.dsm-font-bgreen-color{
    color:var(--dsm-bgreen-color);
}

.dsm-bg-green-color{
    background-color:var(--dsm-green-color);
}
.dsm-font-green-color{
    color:var(--dsm-green-color);
}

.dsm-bg-default-color{
    background-color:var(--dsm-def-color);
}
.dsm-font-default-color{
    color:var(--dsm-def-color);
}

.dsm-font-light-gray-color {
    color:var(--font-light-gray-color);
}

.right-top-corner{
    position: absolute;
    top: 15px;
    right: 15px;
}


/* .email-left .e-left-side {
    border-bottom: 1px solid rgba(0,0,0,.1);
} */

.email-left .e-left-side i:first-child{
    position: absolute;
    top: 0px;
    left: 15px;
}

.email-left .e-left-side i:nth-child(2){
    position: absolute;
    top: 20px;
    left: 15px;
}

.email-left .e-left-side i:nth-child(3){
    position: absolute;
    top: 40px;
    left: 15px;
}

.email-left .e-left-side .margin{
    padding-left:10px;
}


.email-left .e-left-side .profile_letter_account, .email-left .e-left-side .profile_image{
    font-size: 15px;
    line-height: 35px;
    width: 35px;
    height: 35px;
}

.profile_img_chat{
    width: 20px;
    height: 20px;
    font-size: 10px !important;
    line-height: 22px !important;
    margin-top: 3px !important;
}

.profile_img_chat_fx{
    width: 20px;
    height: 20px;
    font-size: 13px !important;
    line-height: 35px !important;
    margin-top: 3px !important;
}

.profile-image-med {
    width: 29px;
    height: 29px;
    font-size: 15px;
    line-height: 30px;
    margin-top: 5px;
    object-fit: contain;
}

.email-left .e-left-side .col-auto span {
    margin-top:10px;
    font-size: var(--dsm-font-size-content);
    font-weight: 800;
}

.email-left .email-title {
    font-size: 12px /*var(--dsm-small-font-size-12); */;
    font-weight: 800;
    float: left;
    max-width: 195px;
}

.chat-menu .chat-title,
#tasks .chat-title {
    font-size: 11px /*var(--dsm-small-font-size-11);*/;
    font-weight: 600;
    float: left;
    color: var(--dsm-medium-gray-color);
    max-width: 120px;
}

.chat-menu .chat-date,
#tasks .chat-date {
    font-size: 11px /*var(--dsm-small-font-size-11);*/;
    font-weight: 200;
    float: right;
    color: var(--dsm-medium-gray-color);
}

.chat-menu .e-left-side .chat-content-menu,
#tasks .chat-content-menu {
    font-size: var(--dsm-small-font-size); /*10px;*/
    color: var(--dsm-medium-gray-color);
    font-weight: 500;
    margin-bottom:0px;
    word-break: break-all;
}

.chat-menu .chat-user-name {
    font-size: 12px /*var(--dsm-small-font-size-12); */;
    font-weight: 800;
    float: left;
    max-width: 240px;
}

.chat-menu .profile_letter_account{
    width: 29px;
    height: 29px;
    font-size: 12px !important;
    line-height: 29px !important;
    margin-top: 0px !important;
}

.chat-menu .profile_image{
    margin-top: 0px !important;
}

.chat-menu .row {
    height:unset !important;
}

.chat-menu .e-left-side {
    border-bottom: 1px solid rgba(0,0,0,.1);
}

.email-left .row {
    height:unset !important;
}

.email-left .e-left-side .email-date {
    font-size: var(--dsm-small-font-size-12);
    color: var(--font-light-gray-color);
    float:right;
}

.email-left .e-left-side .email-content {
    font-size: var(--dsm-small-font-size); /*10px;*/
    color: var(--font-light-gray-color);
    font-weight: 500;
    margin-bottom:0px;
    word-break: break-all;
}

.email-left .e-left-side .email-content.bold {
    font-weight: 800;
}

.email-left .e-right-side {
    /* border-bottom: 1px solid rgba(0,0,0,.1); */
    padding-bottom: 10px;
}

.email-left .e-right-side i:first-child{
    position: absolute;
    top: 0px;
    right: 15px;
}

.email-left .e-right-side i:nth-child(2){
    position: absolute;
    top: 20px;
    right: 15px;
}

.email-left .e-right-side i:nth-child(3){
    position: absolute;
    top: 40px;
    right: 15px;
}

.email-left .e-right-side .margin{
    padding-left:10px;
}


.email-left .e-right-side .profile_letter_account {
    max-width: 27px;
    max-height: 27px;
    font-size: 15px;
    line-height: 28px;
    margin-top:5px;
}

.email-left .e-right-side .col-auto span {
    margin-top:10px;
    font-size: var(--dsm-font-size-content);
    font-weight: 800;
}

.email-left .e-right-side .email-title {
    font-size: var(--dsm-small-font-size-12);
    font-weight: 800;
    float: right;
}

.email-left .e-right-side .email-date {
    font-size: var(--dsm-small-font-size-12);
    color: var(--font-light-gray-color);
    float:  left;
}

.email-left .e-right-side .email-content {
    font-size: var(--dsm-small-font-size) ;/*10px;*/
    color: var(--font-light-gray-color);
    font-weight: 500;
    text-align: right;
}

.email-left .e-right-side .email-content.bold {
    font-weight: 800;
}

.clear{clear: both;}

.email-tab .content-container{
  padding-left:0px;
  padding-right:0px;
  padding-top:15px;
}

.email-tab .email-avatar{
  width:50px;
}

.email-tab .email-avatar .transparent-i-button{
    padding: 0px !important;
    margin-top: 15px;
}

.email-tab .email-avatar .left-elem{
    margin-left: 5px;
}

.date-font{
    font-size: var(--dsm-small-font-size-12);
    color: var(--font-light-gray-color);
    vertical-align: top;
    font-weight: 600;
}

.download-button{
    border-radius: var(--dsm-border-box-radius) var(--dsm-border-box-radius) var(--dsm-border-box-radius) var(--dsm-border-box-radius);
    background-color: var(--dsm-green-color);
    border:0px;
    outline: none;
}

.download-button:focus {
    outline: none;
}

.download-button .type{
    font-size: var(--dsm-font-size-content);
    font-weight: 800;
    color: white;
    vertical-align: middle;
}

.download-button .type span{
    margin-top: 8px;
}

.download-button .details span{
    color: white;
    display: block;
    font-size: var(--dsm-small-font-size-12);
}

.download-button .details span:first-child{
    font-weight: 500;
}
.download-button .details span:last-child{
    font-weight: 100;
}

.scrollable-emails{
    max-height: calc(100vh - 285px);
    overflow-y: scroll;
}

/* chat */

#chat.tab-pane{
    min-height: calc(100vh - 360px);
}
#chat.tab-pane.order{
    min-height: calc(100vh - 408px);
}
#chat.tab-pane.order .scrollable-chat-lead{
    max-height: calc(100vh - 350px);
}

.chat-margin-right{
    margin-right: 150px;
}

.date-small {
    font-size: var(--dsm-small-font-size-11);
    font-weight: 200;
    color: var(--dsm-light-gray-color-dark-bg);
}

.container-radius {
    border-radius: 5px 5px 5px 5px;
    word-break: break-all;
}

.container-bg-gray {
    background-color:	var(--dsm-light-gray-color);
    color: var(--dsm-gray-color);
}

.container-bg-dark-gray {
    background-color:	var(--dsm-gray-color);
    color: var(--dsm-gray-color);
}

.container-bg-green {
    background-color:	var(--dsm-green-color);
    color: #fff;
}

.header-user-gray {
    font-size: var(--dsm-small-font-size-16);
    color: var(--font-light-gray-color);
    vertical-align: top;
}

.scrollable-chat-lead{
    max-height: calc(100vh - 205px);
    overflow-y: scroll;
}

.bottom-chat-containter{
    width: calc(100% + 58px);
    margin-left: -34px;
    margin-right: -40px;
    height: 135px;
    position: absolute;
    bottom: var(--bottom-chat-containter-val);
    left: 0px;
}

#chat .chat-col-avatar{
max-width: 59px;
}

.bottom-chat-containter .search-form-control{
    padding-left: 0px;
    background-size: 0px;
}
.icon-big-50 {
    width:50px;
    height:50px;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    background-repeat:no-repeat;
}

#chat .scrollable-chat-lead .row.justify-content-end > .col > .row > .container-radius {
    margin-left:60px;
}

#sidebar-right .active .badge{
    color: white;
    filter: grayscale(0%) !important;
    -webkit-filter: grayscale(0%)!important;
}

#sidebar-left .active .badge{
    color: white;
    filter: grayscale(0%) !important;
    -webkit-filter: grayscale(0%)!important;
}

#sidebar-left ul li {
    filter: grayscale(0%);
    -webkit-filter: grayscale(0%);
}

.badge {
    z-index: 5;
    position: absolute;
    height: 21px;
    min-width: 21px;
    border-radius: 50%;
    color: white;
    line-height: 17px;
    padding:0px 4px 0px 4px;
    border: 2px solid white;
    filter: grayscale(0%) !important;
    -webkit-filter: grayscale(0%)!important;
    font-size:10px;
}

#sidebar-left ul li .badge.left-badge {
    top: 18px;
    right: 36px;
}

#sidebar-right .badge.right-badge{
    top: -8px;
    right: 2px;

}
/* ---------------------------------------------------
    MEDIAQUERIES
-----------------------------------------------------

@media (max-width: 768px) {
    #sidebar-right {
        min-width: 80px;
        max-width: 80px;
        text-align: center;
        margin-left: -80px !important;
    }
    .dropdown-toggle::after {
        top: auto;
        bottom: 10px;
        right: 50%;
        -webkit-transform: translateX(50%);
        -ms-transform: translateX(50%);
        transform: translateX(50%);
    }
    #sidebar-right.active {
        margin-left: 0 !important;
    }
    #sidebar-right .sidebar-right-header h3,
    #sidebar-right .CTAs {
        display: none;
    }
    #sidebar-right .sidebar-right-header strong {
        display: block;
    }
    #sidebar ul li a {
        padding: 20px 10px;
    }
    #sidebar ul li a span {
        font-size: 0.85em;
    }

    #sidebar ul li a i {
        margin-right: 0;
        display: block;
    }
    #sidebar ul ul a {
        padding: 10px !important;
    }
    #sidebar ul li a i {
        font-size: 1.3em;
    }
    #sidebar {
        margin-left: 0;
    }
    #sidebarCollapse span {
        display: none;
    }
}
*/
/* width */
.dataTables_scrollBody::-webkit-scrollbar {
    width: 3px;
}

/* Track */
.dataTables_scrollBody::-webkit-scrollbar-track {
    background: transparent;
}

/* Handle */
.dataTables_scrollBody::-webkit-scrollbar-thumb {
    background: var(--font-dark-gray-top-color);
}

/* Handle on hover */
.dataTables_scrollBody::-webkit-scrollbar-thumb:hover {
    background: #888;
}
.dataTables_scrollBody {
    width: 100% + 18px;
}
.rounded-table.dataTable {
    top: -15px !important;
    font-size: var(--dsm-font-size-content); /*14px; */
}
.padding-scroll-right {
    padding-right: 18px;
}
.margin-scroll-right {
    padding-right: 18px;
}
.margin2-scroll-right {
    margin-right: 18px;
}
.minus-margin-scroll-right {
    margin-right: -18px !important;
}
table {
    border-collapse: inherit;
    border-spacing: 0 10px;
}

/* ---------------------------------------------------
    Tomasz Added
----------------------------------------------------- */
/*
#colBorder{
    position: absolute;
    width: 368px;
    border: 8px solid;
    border-color: var(--dsm-green-color);
    height: 837px;
    top: 285px;
    margin-left: 2px;
    z-index: 20;
    border-radius: 20px;
    cursor: pointer;
}
*/

.uppercase-firstletter:first-letter {
    text-transform: uppercase;
}


.modal-new-task {
    max-width: 800px;
}

.modal-new-task textarea {
    min-height: 130px;
}

.task-row {
    cursor: pointer;
}

.task-row-width {
    width: 95%;
}

.task-title {
    max-width: 92px;
}

.no-cursor-pointer {
    cursor: default !important;
}
.taskAdderActive, .lead-nav li a.taskAdderActive {
    border: 2px solid var(--dsm-orange-color) !important;

}

.bottom-chat-containter .msg-status-info{
    border-bottom: 1px solid var(--font-placeholder-gray-color);
    padding-top: 13px;
    color: #495057;
    height: 50px;
}
.col-width-200{
    width: 200%;
}
.menu-chat-profile-avatar {
    max-height: 20px !important;
    max-width: 20px !important;
    object-fit: contain;
}

.selected-border {
    /* text-decoration: underline solid var(--dsm-green-color); */
    border-bottom: 2px solid var(--dsm-green-color);
}

.md-pane-open {
    z-index: 9999;
}

#leads-table .profile_letter_account_mini {
    float: left;
    max-width: 31px;
    max-height: 31px;
    font-size: 10px;
    line-height: 31px;
}

#leads-table {
    min-height: calc(100vh - 317px);
}

.leads-table .profile_letter_account_mini {
    float: left;
    max-width: 31px;
    max-height: 31px;
    font-size: 10px;
    line-height: 31px;
}

#commission-table .profile_letter_account_mini {
    float: left;
    max-width: 40px;
    max-height: 40px;
}

#commission-table .user-name{
    padding-left: 10px;
    padding-top: 8px;
}

#commission-table .row .col:nth-child(1){
    max-width: 25%;
    padding-left: 15px;
}
#commission-table .row .col:nth-child(2){
    max-width: 13%;
    padding-left: 20px;
}
#commission-table .row .col:nth-child(3){
    max-width: 13%;
    padding-left: 20px;
}
#commission-table .row .col:nth-child(4){
    max-width: 14%;
    padding-left: 25px;
}
#commission-table .row .col:nth-child(5){
    max-width: 12%;
    padding-left: 25px;
}
#commission-table .row .col:nth-child(6){
    padding-left: 52px;
    max-width: 9%;
}
#commission-table .row .col:nth-child(7){
    max-width: 14%;
    padding-left: 30px;
}

#commission-container .row .col:nth-child(1){
    max-width: 25%;
}
#commission-container .row .col:nth-child(2){
    max-width: 13%;
}
#commission-container .row .col:nth-child(3){
    max-width: 13%;
}
#commission-container .row .col:nth-child(4){
    max-width: 14%;
}
#commission-container .row .col:nth-child(5){
    max-width: 12%;
}
#commission-container .row .col:nth-child(6){
    max-width: 9%;
}
#commission-container .row .col:nth-child(7){
    max-width: 14%;
}

#commission-container-details .content-container:nth-child(1) {
    padding: 2.8em;
}

.user-commission-cart {
    min-height: 560px;
    max-height: 561px;
}

.commission-col-user .sub-title {
    font-size: var(--dsm-small-font-size-13);
    font-weight: 400;
}

.commission-col-user .cash-info {
    font-size: var(--dsm-font-size-20);
    font-weight: 500;
}

.commission-col-user .separator {
    width: 100%;
    background-color: #000000;
    opacity: 0.1;
}

.commission-description {
    font-size: var(--dsm-font-size-content);
    font-weight: 700;
}

.commission-chart {
    height: 310px;
}

.commission-right-list .col {
    border-right: 1px solid rgba(0, 0, 0, .1);
    max-width: 31%;
    min-height: 30px;
}

.commission-right-list .col span {
    font-size: var(--dsm-font-size-small-headers);
}

.commission-latest-payments .col span{
    font-size: var(--dsm-font-size-small-headers);
}

.commission-right-list .col:nth-child(3) {
    border-right: none;
}

.commission-col-right .fade:not(.show) {
    display: none;
}

#contacts-table .profile_letter_account_mini {
    float: left;
    max-width: 31px;
    max-height: 31px;
    font-size: 10px;
    line-height: 31px;
}

#lead-files-table .profile_letter_account_mini {
  max-width: 31px;
  max-height: 31px;
  font-size: 10px;
  line-height: 31px;
}

#order-files-table .profile_letter_account_mini {
  max-width: 31px;
  max-height: 31px;
  font-size: 10px;
  line-height: 31px;
}

#leads-table .owner_name{
    margin-top: 4.2px;
    margin-left: 10px;
    margin-bottom: 6px;
}

.leads-table .owner_name{
    margin-top: 4.2px;
    margin-left: 10px;
    margin-bottom: 6px;
}

#contacts-table .owner_name{
    margin-top: 4.2px;
    margin-left: 10px;
    margin-bottom: 6px;
}

.profile_image_small {
    width: 48px !important;
    object-fit: contain;
}
.profile_image_smallx {
    width: 35px !important;
    height: 35px !important;
    max-width: 35px !important;
    max-height: 35px !important;
    line-height: 35px !important;
    object-fit: contain;
}

#leads-table .profile_image_mini {
    float: left;
    max-width: 31px;
    object-fit: contain;
}

.leads-table .profile_image_mini {
    float: left;
    max-width: 31px;
    object-fit: contain;
}

.profile_image_mini {
    max-width: 31px;
    object-fit: contain;
}

.profile_letter_account_mini {
    float: left;
    max-width: 31px;
    max-height: 31px;
    font-size: 10px;
    line-height: 31px;
}

#contacts-table .profile_image_mini {
    float: left;
    max-width: 31px;
    object-fit: contain;
}

.btn-cont-mr-opt {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #a2a2a2;
    box-shadow: 0px 6px 0px #a2a2a2, 0px 13px 0px #a2a2a2;
    margin-top: -15px;
}

.line-down-box .switch-emails span button{
    text-decoration: underline;
    background-color: transparent;
    border: none;
    color: var(--font-light-gray-color);
}

.line-down-box .switch-emails span button:focus{
    outline: none;
}

.dropdown-menu .hidden-button {
    width: 0px;
    height: 0px;
    visibility: hidden;
}

#leads-table .dropdown-menu.show {
    left: -20px !important;
}
.leads-table .dropdown-menu.show {
    left: -110px !important;
}

/*********************************/


.padding-left {
  padding-left: 35px
}

.padding-right {
  padding-right: 35px;
}


.dsm-green {
  color: var(--dsm-green-color) !important;
}

.dsm-orange {
  color: var(--dsm-orange-color) !important;
}
.dsm-blue {
  color: var(--dsm-blue-color) !important;
}
.dsm-red {
  color: var(--dsm-red-color) !important;
}

.dsm-dark-gray {
  color: var(--font-dark-gray-color) !important;
}

.dsm-black-text {
    color: var(--font-black-color) !important;
}

.border-bottom-lg {
  border-bottom: 1px solid;
  border-bottom-color: var(--dsm-light-gray-color);
}

.dsm-h4 {
  font-size: var(--dsm-h4-font-size) !important;
}


tgroup.narrow {
  display: none;
}

@media (max-width: 1580px) {
  tgroup.wide {
    display: none;
  }

  tgroup.narrow {
    display: inline-block;
  }
}


@media (max-width: 2300px) {
    .filter-content-diss.long-text button{
        max-width:100% !important;
    }
    .filter-content-diss button{
        max-width: 115px;
    }
}

@media (max-width: 1860px) {
    .filter-content-diss.long-text button{
        max-width:100% !important;
    }
    .filter-content-diss button{
        max-width: 110px;
    }
}

@media (max-width: 1960px) {
    .round-filter-desc {
         left: 0px;
   }
   .filter-content-diss{
     padding-left:0px;
     padding-right:0px;
   }
 }

@media (max-width: 1500px) {
   .filter-content-diss.long-text button{
    max-width:100% !important;
   }
  .filter-content-diss button {
    max-width: 120px;
    text-align: center !important;
  }

  .filter-btn-diss{
    display:none;
  }

  .icon-big {
    display: none;
  }

  .round-bg-icon-big {
    display:none;
  }

  .lead-icon {
    display:none;
  }
  .filter-content-diss button span{
    text-align: center !important;
  }
  .filter-content-diss{
    margin-top:0px !important;
    padding-right:0px !important;
  }

  .filter-content-diss .transparent-i-button .round-filter-title{
    border-bottom:2px solid transparent;
  }
  .filter-content-diss .transparent-i-button.active .round-filter-title{
    border-bottom:2px solid var(--dsm-green-color);
  }

  .show-more i{
    right: -35px;
  }

}

.scrollable-commission-base {
    overflow-y: scroll;
    height: 200px;
}

.scrollable-commission-base-narrow {
    overflow-y: scroll;
    height: 200px;
}

@media (max-width: 1900px) {
    .scrollable-commission-base {
        height: 220px;
    }
}

@media (max-width: 1635px) {
    .scrollable-commission-base-narrow {
        height: 203px;
    }
}

@media (max-width: 1569px) {
    .scrollable-commission-base-narrow {
        height: 184px;
    }
}

@media (max-width: 1500px) {
    .scrollable-commission-base {
        height: 175px;
    }
    .scrollable-commission-base-narrow {
        height: 159px;
    }
}

@media (max-width: 1443px) {
    .scrollable-commission-base-narrow {
        height: 131px;
    }
}

@media (max-width: 1400px) {
    .scrollable-commission-base {
        height: 183px;
    }
    .scrollable-commission-base-narrow {
        height: 168px;
    }
}

.dropdown-button {
  border:none;
  margin-left: 10px
}

.product-list {
  height: 400px; overflow-y: scroll; overflow-x: hidden
}

.attachments-list {
  min-height: 300px; overflow-y: auto; overflow-x: hidden;
}

.modal-content .attachment-list {
    margin: 0;
    display: block;
    max-height:35vh;
    margin-left: 38px;
}

.modal-content .attachment-list div:first-child {
    margin-top: 10px;
}

.modal-content .attachment-list li:before {
    content: none;
}

.product-icon {
  max-width:48px;
  max-height:48px
}

.quotation-list {
   border: none;
 }

.quotation-list-item {
  -moz-box-shadow: 0 0 15px 0px var(--shadow-color);
  -webkit-box-shadow: 0 0 15px 0px var(--shadow-color);
  box-shadow: 0 0 15px 0px var(--shadow-color);
  border: 0;
  border-radius: 15px;
  background-color: white;
  max-height: 304px;
  min-height: 304px;
  margin: 0;
  margin-bottom: 30px;
  width: calc(50% - 15px);
  float: left;
}

.quotation-list-item > div {
  min-height: 300px;
  max-height: 300px;
}

.quotation-list-item > div > div {
  border-radius: 15px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  min-height: 300px;
  max-height: 300px;
}

.col-25p {
  margin: 0;
  width: 25%;
  float: left;
}

.product-feature-list {
  border: none;
}

.product-feature-list-item {
  border: 0;
  margin: 0;
  margin-bottom: 5px;
  width: 25%;
  float: left
}

.product-list-item-selected {
  color: var(--dsm-green-color);
}

.product-list-item {
  -moz-box-shadow: 0 0 15px 0px var(--shadow-color);
  -webkit-box-shadow: 0 0 15px 0px var(--shadow-color);
  box-shadow: 0 0 15px 0px var(--shadow-color);
  border: 0;
  border-radius: 15px;
  background-color: white;
  margin: 0;
  margin-bottom: 24px;
  padding: 10px;
}

.dsm-font-gray {
  color: var(--dsm-gray-color);
}

.quotation-list-item-separator {
  width: 30px;
  height: 1px;
  float: left;
}

.table-headers{
  font-weight:600;
  color:var(--dsm-light-gray-color-dark-bg);
  font-size:var(--dsm-font-size-small-headers);
}

.table-headers-green{
  font-weight:600;
  color:var(--dsm-green-color);
  font-size:var(--dsm-font-size-small-headers);
}



.quotation-item-text {
  font-size: var(--dsm-small-font-size-12);
  color: var(--font-dark-gray-color);
}

.dsm-small-font-size {
    font-size: var(--dsm-small-font-size);
}



.quotation-item-text-strong {
  font-weight:600;
  color:var(--font-darg-gray-color);
  font-size:var(--dsm-font-size-small-headers);
  word-break: break-all;
}

.quotation-selected-product-labels {
  font-size: var(--dsm-small-font-size);
  color: black;
}

.full-width {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

#pdf_viewer_container {
  width: 100%;
  height: calc(100vh - var(--pdf-viewer-container-height));
}

#pdf_file_viewer_container {
  width: 100%;
  height: calc(100vh - var(--pdf-file-viewer-container-height));
}

.quotation-products-list {
    height: var(--quotation-products-list-height);
}

.dsm-font-smaller {
  font-size: var(--dsm-small-font-size-10);
}

.dsm-font-small {
  font-size: var(--dsm-small-font-size-11);
}

.dsm-font-normal {
  font-size: var(--dsm-small-font-size-12);
}
.dsm-font-13 {
  font-size: var(--dsm-small-font-size-13);
}

.dsm-font-16 {
  font-size: var(--dsm-small-font-size-16);
}

.dsm-font-20 {
  font-size: var(--dsm-font-size-20) !important;
}

.dsm-font-large {
  font-size: var(--dsm-font-size-small-headers);
}

.nav-link-disabled {
    color: #868e96 !important;
    cursor: default;
}

.loader {
  border: 4px solid; /* Light grey */
  border-color: var(--dsm-light-green-color);
  border-top: 4px solid ;
  border-top-color: var(--dsm-dark-green-color);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  animation: spin;
}

.place{
    position: absolute;
    top:0px;
    right:60px;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}



#canvas_scroll {
  overflow-x: hidden
}

.costs-header {
  margin: 0;
  padding: 15px;
}

.small-thumb {
  border-radius: 15px;
  max-width: 100px
}


/* --- forward fx ---*/
.fw-email label{
   display:block;
}

.fw-email input{
    width: calc(100% - 30px) !important;
    display: inline-block;
 }

 .fw-email select{
    padding: 0px;
    width: 21px;
    height: 32px;
    padding-bottom: 5px;
    color: #495057;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    display: inline-block;
    font-size: var(--dsm-font-size-content); /*14px; */
    vertical-align: middle;
 }

 .fw-email select:focus {
    outline: none;
}

.btn{
    cursor:pointer !important;
}

.font-weight-mid-bold{
    font-weight: 600 !important;
}

.scrollable-notes{
    overflow-y: scroll;
    /*height: calc(100vh - 761px); */

    max-height: calc(100vh - var(--scrollable-notes-height));
    min-height:150px;
}

.scrollable-emails-lead{
    overflow-y: scroll;
   /* height: calc(100vh - 761px); */
    max-height: calc(100vh - var(--scrollable-emails-lead));
    min-height:150px;
}
/*
.scrollable-activities{
    overflow-y: scroll;
    height: calc(100vh - 330px);
} */

.scrollable-activities{
    overflow-y: scroll;
    max-height: calc(100vh - var(--scrollable-activities-height));
}

.scrollable-versions {
    overflow-y: scroll;
    max-height: calc(100vh - var(--scrollable-version-height));
}

.commission-product-scroll {
    overflow-x: hidden;
    overflow-y: scroll;
    max-height: calc(100vh - 311px);
    min-height: calc(100vh - 311px);
}

.commission-product-scroll.draft {
    overflow-x: hidden;
    overflow-y: scroll;
    max-height: calc(100vh - 339px);
    min-height: calc(100vh - 339px);
}

.scrollable-latest-payments {
    overflow-y: scroll;
    max-height: calc(100vh - var(--scrollable-latest-payments-height));
}


.margin-top-filters{
padding-top:44px;
}

.lead-list-notification {
    max-width: 1%;
    border: 0;
    border-radius: .7rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    background: var(--dsm-green-color);
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
}

.lead-list-notification-merge {
    max-width: 1%;
    border: 0;
    border-radius: .7rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    background: var(--dsm-red-color);
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
}

.lead-list-notification-merge.notification {
    max-width: 0.5%;
    left: 0.5%;
    margin-left: 3px;
    border-radius: 0;
}

.lead-list-notification.notification {
    max-width: 0.5%;
}

.f-08 {
    font-size: 0.8em;
}

@media (min-width: 1900px) {
    .fixed-width-col-emails {
        -ms-flex: 0 0 120px;
        flex: 0 0 120px;
        padding-right:0px;
    }
}

@media (max-width: 1900px) {
    .fixed-width-col-emails {
        -ms-flex: 0 0 110px;
        flex: 0 0 110px;
        padding-right:0px;
    }
}

@media (max-width: 1400px) {
    .fixed-width-col-emails {
        -ms-flex: 0 0 100px;
        flex: 0 0 100px;
        padding-right:0px;
    }
}


#notificationTaskStatus {
    width: var(--notification-task-status-width);
    position: fixed;
    bottom: 20px;
    text-align: center;
    left: calc(var(--left-menu-width) + 20px);
    box-shadow: 0 0 15px 0px var(--shadow-color);
    background-color: var(--font-black-color);
    color: #ffffff;
}

.animate-show-hide.ng-hide {
    opacity: 0;
}

.animate-show-hide.ng-hide-add,
.animate-show-hide.ng-hide-remove {
    transition: all linear 0.5s;
}


.leads-top-menu {
    height: 225px;
}

.lead-top-menu {
    height: 80px;
}

.final-invoice-top-menu {
    height: 70px;
}

.final-invoice-button-menu {
    height: 90px;
}

.quotation-top-menu {
    height: 90px;
}

.quotation-tabs-list {
    height: 40px;
}

.quotation-action-button {
    height: 88px;
}

.commission-datepicker {
    margin-right: 45px;
}

.contacts-top-menu {
    height: 112px;
}

.scrollable-leads-list {
    max-height: calc(100vh - 317px);
    overflow-y: scroll;
    overflow-x: hidden;
}

.scrollable-email-list {
    max-height: calc(100vh - 299px);
    overflow-y: scroll;
}

.scrollable-email-thread {
    max-height: calc(100vh - 180px);
    overflow-y: scroll;
}

.scrollable-quotation-list-lead {
    max-height: calc(100vh - 262px);
    overflow-y: scroll;
}

.final-invoice-items {
    max-height: calc(100vh - 274px);
    overflow-y: scroll;
}

.quotation-products-list {
    max-height: calc(100vh - 313px);
    overflow-y: scroll;
}

.costs-quotation-table {
    max-height: calc(100vh - 282px);
    overflow-y: scroll;
}

.scrollable-contacts-list {
    max-height: calc(100vh - 112px - 86px);
    overflow-y: scroll;
}

.scrollable-commission-list {
    max-height: calc(100vh - 200px);
    overflow-y: scroll;
}

.scrollable-contact-leads {
    max-height: calc(100vh - 353px);
    overflow-y: scroll;
}

.scrollable-invoices-list {
    max-height: calc(100vh - 301px);
    overflow-y: scroll;
    min-height: calc(100vh - 311px);
}

.scrollable-orders-list {
  max-height: calc(100vh - 365px);
  overflow-y: scroll;
}

.scrollable-contacts {
    max-height: calc(100vh - 207px);
    overflow-y: scroll;
}

.scrollable-chat-menu {
    max-height: calc(100vh - 332px);
    overflow-y: scroll;
}

.scrollable-events {
    max-height: calc(100vh - 744px);
    overflow-y: scroll;
}

@media (max-width: 1900px) {
    .scrollable-contacts-list {
        max-height: calc(100vh - 112px - 82px);
        overflow-y: scroll;
    }

    .scrollable-contact-leads {
        max-height: calc(100vh - 335px);
        overflow-y: scroll;
    }

    .scrollable-invoices-list {
        max-height: calc(100vh - 293px);
        overflow-y: scroll;
        min-height: calc(100vh - 293px);;
    }

    .scrollable-contacts {
        max-height: calc(100vh - 175px);
        overflow-y: scroll;
    }

    .scrollable-chat-menu {
        max-height: calc(100vh - 332px);
        overflow-y: scroll;
    }

    .scrollable-events {
        max-height: calc(100vh - 735px);
        overflow-y: scroll;
    }
}

@media (max-width: 1400px) {
    .scrollable-contact-leads {
        max-height: calc(100vh - 325px);
        overflow-y: scroll;
    }

    .scrollable-invoices-list {
        max-height: calc(100vh - 288px);
        overflow-y: scroll;
        min-height: calc(100vh - 288px);
    }

    .scrollable-contacts {
        max-height: calc(100vh - 172px);
        overflow-y: scroll;
    }

    .scrollable-chat-menu {
        max-height: calc(100vh - 332px);
        overflow-y: scroll;
    }

    .scrollable-events {
        max-height: calc(100vh - 731px);
        overflow-y: scroll;
    }
}

span:focus, div:focus {
    outline: none;
}

.mw-85 {
    min-width: 85px;
    text-align: left;
}
.mw-100 {
    min-width: 100px;
    text-align: left;
}

.m-100 {
    width: 100%;
}

.commission-none {
    width: 100%;
}

.test_badge {
  font-size: xx-large;
  font-weight: bold;;
  color: red;
  /* FF3.5+ */
  -moz-transform: rotate(-90.0deg);
  /* Opera 10.5 */
  -o-transform: rotate(-90.0deg);
  /* Saf3.1+, Chrome */
  -webkit-transform: rotate(-90.0deg);
  /* IE6,IE7 */
  filter: progid: DXImageTransform.Microsoft.BasicImage(rotation=0.083);
  /* IE8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0.083)";
  /* Standard */
  transform: rotate(-90.0deg);
  position: absolute;
  top: 50%;
  left: -120px;
  display: none;
  z-index: 1000;
}

multiselect {
    display:block;
}

multiselect .btn {
    width: 100%;
    background-color: #FFF;
    padding: 0;
}

multiselect .btn.error{
    border: 1px solid #da4f49 !important;
}

multiselect .multiSelectMenu {
    max-height: calc(50vh - 100px);
    min-height: calc(50vh - 100px);
    overflow-y: auto;
    width: 100%;
    box-sizing: border-box;
    padding: 2px;
}

multiselect .multiSelectMenu .user-list {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 0;
}

multiselect .multiSelectMenu > li > a {
    padding: 3px 10px;
    cursor:pointer;
    display: block;
    clear: both;
    font-weight: normal;
    line-height: 20px;
    color: #333333;
    white-space: nowrap;
}

#messageModal .profile_image {
    max-width: 35px;
    max-height: 35px;
    min-width: 35px;
    min-height: 35px;
    margin: 0 10px;
    margin-left: 0;
    object-fit: contain;
}

#messageModal .profile_letter_account {
    margin: 0 10px;
    margin-left: 0;
    max-width: 35px;
    max-height: 50px;
    line-height: 35px;
    min-width: 35px;
    min-height: 35px;
}

#messageModal .icon-left-medium i {
    top: 1px;
}

#messageModal .modal-content .containerChat {
    min-height: 545px;
}

.leftBtn {
    position: absolute;
    left: 28px;
}

.modal-content .multiSelectMenu li:before {
    content: none;
}

multiselect .title-select {
    font-size: 0.8rem;
}

.overflow-auto {
    overflow: auto;
}

.m-w-320 {
    max-width: 320px;
}

.go-to-lead {
    position: absolute;
    right: 15px;
    top: -18px;
}

.pl-11 {
    padding-left: 11px;
}

.f-12 {
    font-size: var(--dsm-small-font-size-12);
}

.chat-attachment-icon {
  margin: 0 auto;
}

.chat-content {
  word-break: break-word;
    text-align: left;
}

.attachment-type-button {
  max-width: 40px;
}

.attachment-name-button {
  max-width: 200px;
}

.mw-50 {
    min-width: 50px;
}

.chat-modal-attachment {
  width: auto;
  display: block;
}

.chat-modal-attachment-description {
  font-weight: 700;
}

.chat-modal-attachment-icon {
  max-height: 85px;
  margin: 0 auto;
}

.h-25-custom {
    height: 25px;
    width: 30px;
}
.h-20-custom {
    height: 20px;
}

.message-container {
    max-width: calc(100% - 80px);
}

#chat .email-avatar .profile_image_mini {
    max-width: 50px;
    max-height: 50px;
    object-fit: contain;
}
.order-button-row {
  height: 51px;
  padding-right: 36px;
}

.quotation-product-info {
    position: absolute;
    width: calc(100% - 240px);
    z-index: 100;
    color: white;
    top: 35px;
}

.quotation-product-info .product-list-item {
    height: 250px;
    background-color: white;
    box-shadow: 0 0 11px rgba(33,33,33,.2);
    border: 1px solid var(--dsm-green-color);
}
.quotation-product-info .product-list-item .custom-button {
    color: black;
}
.quotation-product-info .product-list-item .dsm-font-normal {
    color: black;
    font-size: var(--dsm-small-font-size-12);
}
.quotation-product-info .product-list-item .dsm-font-small {
    color: black;
    font-size: var(--dsm-small-font-size-12);
}
.quotation-product-info .product-list-item .table-headers.dsm-font-small {
    color: #968a8a;
    font-size: var(--dsm-small-font-size-12);
}
.quotation-product-info .product-feature {
    overflow-y: scroll;
    overflow-x: hidden;
    max-height: 130px;
}

.quotation-product-info .product-list-item .custom-button.close {
    position: absolute;
    right: 5px;
    top: -10px;
}

.quotation-product-info .table-headers {
    color: white;
}

#admin-dashboard .img {
    background-color: var(--dsm-green-color);
    border-radius: 50%;
    max-width: 100px;
    max-height: 100px;
    min-height: 100px;
}

#admin-dashboard .img .menu-icon {
    max-width: 45px;
    max-height: 45px;
    -webkit-filter: brightness(100);
    filter: brightness(100);
}

#admin-dashboard .user-card {
    transition: 0.3s;
}

#admin-dashboard .user-card:hover {
    box-shadow: 0 0 11px rgba(33,33,33,.2);
}

#activity-table .icon {
    filter: unset;
    -webkit-filter: unset;
}

#activity-table .profile_letter_account {
    margin: 0;
}

.scrollable-activity-list {
    overflow-x: hidden;
    overflow-y: scroll;
    max-height: calc(100vh - 245px);
}

.overflow-hidden {
    overflow: hidden;
}

.relative {
    position: relative;
}

.auto-complete {
    position: absolute;
    z-index: 10;
    overflow-x: hidden;
    overflow-y: scroll;
    max-height: 100px;
    width: 100%;
    background-color: white;
    box-shadow: 0 0 11px rgba(33,33,33,.3);
    top: 45px;
    padding: 10px;
    padding-bottom: 0;
}

.auto-complete .color{
    display: block;
    width: 20px;
    height: 20px;
}

.auto-complete .item {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.auto-complete .item:hover {
    color: #53536c;
}

#main_orders {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 40px);
    overflow: hidden;
}

#orders-container {
    display: flex;
    overflow: hidden;
    flex-direction: column;
    max-height: 100%;
}

#orders-container .scrollable-leads-list {
    min-height: 35px;
}

#orders-container .scrollable-orders-list {
    max-height: 100%;
}

.removeBtnAttachment {
    position: absolute;
    right: 0px;
    top: calc(50% - 13px);
}

.leftBtn .icon-left-medium i {
    top: 2px;
}

.info-communicate {
    color: black;
    font-size: var(--dsm-small-font-size-12);
}

.product_icon {
    width: 50px;
    height: 50px;
}

.btn-small-product {
    line-height: 15px;
    font-size: 14px;
    font-weight: 600;
}

.btn-small-product .icon {
    width: 15px;
    height: 15px;
    top: 6px;
}

.box-container.card {
    padding: 35px 30px;
    box-shadow: 0 0 11px rgba(33,33,33,.2);
    border-radius: 15px;
}

.box-container select, .box-container input {
    width: 300px;
}

.box-container label {
    font-weight: 500;
}

.position-rigth {
    position: absolute;
    right: 5px;
    top: -20px;
}

.features {
    width: 30%;
    padding: 10px 10px;
    box-shadow: 0 0 11px rgba(33,33,33,.2);
    border-radius: 15px;
}

#product-container .show-more i {
    top: 4px;
    right: -10px;
    min-width: 20px;
    min-height: 20px;
}

.paginations {
    display: inline-block;
    margin: 0 auto;
}

.paginations a {
    font-size: var(--dsm-small-font-size-16);
    color: var(--font-dark-gray-color);
    float: left;
    padding: 8px 16px;
    text-decoration: none;
}

.paginations a.active {
    background: var(--dsm-green-color);
    color: white;
    border-radius: 5px;
}

.paginations a:hover:not(.active) {
    background-color: #ddd;
    border-radius: 5px;
}

.impactors-box {
    border: 1px solid var(--dsm-light-gray-color);
    border-bottom: 0;
    padding: 10px;
}

.impactors-box:last-child {
    border-bottom: 1px solid var(--dsm-light-gray-color);
}

.about-line-company {
    font-weight: normal;
}

.green-outline {
    border: 1px solid var(--dsm-green-color);
}

.download-button .details span.highlight {
    color: black;
    display: inline-block;
}

span.highlight {
    background-color: yellow;
    color: black;
}
.mh-19 {
    min-height: 19px;
}

.slow-connection-banner {
    position: fixed;
    bottom: 5px;
    right: 5px;
    background: black;
    opacity: 60%;
    width: 565px;
    height: 34px;
    color: white;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: .25rem;
}

.refreshBackground {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 120px;
    height: 30px;
    background-color: white;
}

.refreshBackground .md-dialog-backdrop.md-opaque{
    display: none;
}

.refreshBackground .modal-info {
    font-size: var(--dsm-small-font-size);
    color: black;
    overflow: hidden;
}

md-dialog.md-dialog-refresh-background {
    max-width:120px;
    min-width: 120px;
    box-shadow: none;
}

.active_user_mark {
  margin-top: 14px;
  margin-left: 20px;
  background: #20ca98;
  border: 1px solid #2da783;
  width: 20px;
  height: 20px;
  margin-bottom: -14px;
  border-radius: 14px;
  z-index: 1000;
}

.inactive_user_mark {
  margin-top: 14px;
  margin-left: 20px;
  background: #f3f4f4;
  border: 1px solid #d8d7dd;
  width: 20px;
  height: 20px;
  margin-bottom: -14px;
  border-radius: 14px;
  z-index: 1000;
}

/* no need to display empty elements */
.comma:empty {
  display: none;
}

.comma:not(:last-child):after {
  content: ",";
  padding-right: 5px;
}

.input-datepicker {
    text-align: left !important;
    font-size: small;
}

.dropdown-scrollable {
    max-height:150px;
    overflow-y: scroll;
}

.searchdropdown-item {
    padding-left: 10px;
    padding-top: 6px;
    background: var(--dsm-green-color);
    color: white;
}

.disabled {
    opacity: .65;
}
@keyframes marktab1Animate {
    0%   {box-shadow: 0 -4px 10px -9px var(--dsm-light-green-color);}
    40%  {box-shadow: 0 -4px 10px 0px var(--dsm-light-green-color);}
    100% {box-shadow: 0 -4px 10px -9px var(--dsm-light-green-color);}
}
.marktab1 {
    background: var(--dsm-very-light-green-color);
    border-radius: 20px 20px 0% 0%;
    animation-name: marktab1Animate;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}
@keyframes marktab2Animate {
    0%   {box-shadow: 0 0px 0px 5px var(--dsm-light-green-color);}
    50%  {box-shadow: 0 0px 0px 5px rgba( 0,0,0,0 );}
    100% {box-shadow: 0 0px 0px 5px var(--dsm-light-green-color);}
}
.marktab2 {
    animation-name: marktab2Animate;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}
.grid170px {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 35px;
}

.col-small {
    max-width: 40px !important;
    overflow: hidden !important;;
    text-overflow: ellipsis !important;;
    white-space: nowrap !important;;
}