@import url('css/Poppins.css');
@import url('css/Montserrat.css');

@media (min-width: 1900px) {
  :root {
    --left-menu-width: 120px;
    --emails-menu-width: 490px;
    --right-menu-width: 400px;
    --right-menu-hidden-width: 72px;
    --main-background-color: #f7f7f7;
    --menu-background-color: #ffffff;
    --dsm-dark-green-color: rgb(34, 156, 122);
    --dsm-lighter-green-color: #daf5ed;
    --dsm-light-green-color: #20ca9a8f;
    --dsm-light-gray-color: #eaeaea;
    --dsm-light-gray-color-dark-bg: #747474;
    --dsm-def-color: #e5e5e5;
    --font-dark-gray-color: #535353;
    --font-dark-gray-top-color: #bfbfbf;
    --font-placeholder-gray-color: #bdbdbd;
    --font-light-gray-color: #c0c0c0;
    --font-black-color: #212529;
    --shadow-color: #f1f1f1;
    --dark-shadow-color: #eaeaea;
    --dsm-dark-orange-color: #ff4000;
    --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-14: 14px;
    --dsm-small-font-size-16: 16px;
    --dsm-font-size-20: 20px;
	--dsm-font-size-24: 24px;
    --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-right-scaled: 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-product-list-height: 305px;
    --scrollable-pdf-list-height: 230px;
    --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: 150px;
    --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 {
    --left-menu-width: 120px;
    --emails-menu-width: 490px;
    --right-menu-width: 400px;
    --right-menu-hidden-width: 72px;
    --main-background-color: #f7f7f7;
    --menu-background-color: #ffffff;
    --dsm-dark-green-color: rgb(34, 156, 122);
    --dsm-lighter-green-color: #daf5ed;
    --dsm-light-green-color: #20ca9a8f;
    --dsm-light-gray-color: #eaeaea;
    --dsm-light-gray-color-dark-bg: #747474;
    --dsm-def-color: #e5e5e5;
    --font-dark-gray-color: #535353;
    --font-dark-gray-top-color: #bfbfbf;
    --font-placeholder-gray-color: #bdbdbd;
    --font-light-gray-color: #c0c0c0;
    --shadow-color: #f1f1f1;
    --dark-shadow-color: #eaeaea;
	--dsm-red-logo-color: #EA3500;
    --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-14: 12px;
    --dsm-small-font-size-16: 14px;
    --dsm-font-size-20: 18px;
	--dsm-font-size-24: 22px;
    --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-right-scaled: 17px;
    --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-product-list-height: 305px;
    --scrollable-pdf-list-height: 230px;
    --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: 150px;
    --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 {
    --left-menu-width: 120px;
    --emails-menu-width: 490px;
    --right-menu-width: 400px;
    --right-menu-hidden-width: 72px;
    --main-background-color: #f7f7f7;
    --menu-background-color: #ffffff;
    --dsm-dark-green-color: rgb(34, 156, 122);
    --dsm-lighter-green-color: #daf5ed;
    --dsm-light-green-color: #20ca9a8f;
    --dsm-light-gray-color: #eaeaea;
    --dsm-light-gray-color-dark-bg: #747474;
    --dsm-medium-gray-color:  #495057;
    --dsm-def-color: #e5e5e5;
    --font-dark-gray-color: #535353;
    --font-dark-gray-top-color: #bfbfbf;
    --font-placeholder-gray-color: #bdbdbd;
    --font-light-gray-color: #c0c0c0;
    --shadow-color: #f1f1f1;
    --dark-shadow-color: #eaeaea;
	--dsm-red-logo-color: #EA3500;
    --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-14: 11px;
    --dsm-small-font-size-16: 13px;
    --dsm-font-size-20: 15px;
	--dsm-font-size-24: 18px;
    --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-right-scaled: 5px;
    --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-product-list-height: 285px;
    --scrollable-pdf-list-height: 230px;
    --scrollable-contacts-list-height: 182px;
        --scrollable-documents-list-height: 182px;
    --scrollable-contact-leads-height: 333px;
    --scrollable-contacts-height: 178px;
        --scrollable-documents-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: 150px;
    --bottom-chat-containter-val: -89px;
    }
    .text-truncate-widthsmall{
        max-width:70%;
    }
  }



:root {
    --dsm-grayscale-color: #999999;
    --dsm-rounded-filter-count:20px;
    --dsm-rounded-filter-title:16px;
    --dsm-rounded-filter-desc:10px;
	--dsm-red-logo-color: #EA3500;
    --dsm-red-color: #e84f4d;
    --dsm-orange-color: #ff9a48;
    --dsm-yellow-color: #fefa4a;
    --dsm-bgreen-color: #80ef8e;
    --dsm-blue-color: #7cc5fc;
    --dsm-purple-color: #7a2ed6;
    --dsm-gray-color: #a3a3a3;
    --dsm-std-purple: rgb(179, 119, 255);
    --main-color: #fff;
    --white: #fff;
    --main-background-color: #f7f7f7;
    --dsm-border-box-radius: .7rem;
}


html {
    overflow: -moz-scrollbars-vertical;
    overflow-y: scroll;
	background-color: var(--main-background-color);
}

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;
    margin: 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 {
	top: 0;
	position: absolute;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: stretch;
}

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

.dsm_dict_color_purple {
    color: var(--dsm-purple-color);
}

.dsm_dict_color_gray {
    color: var(--dsm-gray-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_purple{
    background-color: var(--dsm-purple-color);
}

.bg.dsm_dict_color_gray {
    background-color: var(--dsm-gray-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_purple{
    box-shadow: 0 0 5px 0px  var(--dsm-purple-color);
}

.shadowD.dsm_dict_color_gray {
    box-shadow: 0 0 5px 0px  var(--dsm-gray-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: 92px;
    }

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

    #sidebar-left .menu-icon {
        mask-repeat: no-repeat;
        height: 27px;
        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 i {
        background-color: var(--dsm-grayscale-color);
    }

    #sidebar-left ul a.active li i {
        background-color: var(--main-color);
    }

    #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(--main-color);
        border-left-style: solid;
        border-left-color: var(--main-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(--main-color);
        border-left-style: solid;
        border-left-color: var(--main-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;
    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-right.pined {
    width: unset;
    min-width: var(--right-menu-width);
    max-width: var(--right-menu-width);
    position: relative;
    top: unset;
    right: unset;
    background: var(--menu-background-color);
    transition: all 0.3s;
    /* -moz-box-shadow: unset;
    -webkit-box-shadow: unset;
    box-shadow: unset; */
}

#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 {
	min-width: 85px;
    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;
}
.checkbox-container2 {
	height: 22px;
	width: 22px;
    margin-bottom: unset;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.checkbox-container input,.checkbox-container2 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(--main-color);
    border-radius: 7px;
    background-color: #fff;
}
.checkbox-container2 .checkmark {
	position: relative;
	height: 100%;
    width: 100%;
}

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

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

.user-list .checkbox-container .checkmark.icon-ok,.user-list .checkbox-container2 .checkmark.icon-ok {
    background-color: var(--main-color);
    border-color: var(--main-color);
}

.user-list .checkbox-container .checkmark.icon-empty,.user-list .checkbox-container2 .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, .checkbox-container2 input:checked ~ .checkmark:after {
    display: block;
}

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

/* Style the checkmark/indicator */
.checkbox-container .checkmark:after, .checkbox-container2 .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);
}

.clip-icon{
    mask-image: url(img/clip.svg);
}
.print-icon{
    mask-image: url(img/print.svg);
}
.avatar-icon{
    background-image: url(img/profile-image.svg);
}
.active .avatar-icon{
    background-color: white;
    mask-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(--main-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(--main-color);
    color: #fff !important;
}

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

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

.email-item-unread {
    border: 1px solid var(--main-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(--main-color);
}

.inputfile {
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
}
.user-card {
    border: 0;
    height:inherit;
	min-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 {
	min-width: 130px;
    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: auto;
}
.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-documents-list {
    max-height: calc(100vh - var(--scrollable-documents-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-documents {
    max-height: calc(100vh - var(--scrollable-documents-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;
}

.product-item {
    cursor: pointer;
}

.active-product {
    background-color: var(--dsm-lighter-green-color);
}

.scrollable-transactionNotes {
    max-height: 260px;
    overflow-y: scroll;
}
.parentFill{
	display: flex;
	flex-flow: column;
	height: 100%;
}
.childFill{
	flex-basis: 0;
	flex-grow:1;
}

.lead-order-headers {
    font-weight: 800;
    font-size: var(--dsm-h2-font-size);
    display: inline-block;
    color: var(--font-dark-gray-color);
}

.supplier-info-order {
    height: 130px;
    width: 42%;
}

.lead-order-row {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.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{
	background-color: rgba(33,33,33,1.0);
    z-index: 1200 !important;
	opacity: unset !important;
}
md-backdrop.md-opaque.ng-enter {
    background-color: rgba(33,33,33,0);
	-webkit-transition: background-color .4s;
    transition: background-color .4s;
}
md-backdrop.md-opaque.ng-enter.md-opaque.ng-enter-active {
    background-color: rgba(33,33,33,0.48);
}
md-backdrop.md-opaque {
    background-color: rgba(33,33,33,0.48);
}
md-backdrop.md-opaque.ng-leave.md-opaque.ng-leave-active {
    background-color: rgba(33,33,33,0);
}

md-backdrop.md-opaque.ng-leave {
    background-color: rgba(33,33,33,0.48);
	-webkit-transition: background-color .4s;
	transition: background-color .4s;
}
#login-page .margin-top {
  margin-top: 15vh;
}
#login-page {
    position: fixed;
    top: 0;
    left: 0;
    background: var(--main-color);
    width: 100%;
    height: 100%;
    color: #fff;
}

#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(--main-color);
}

#login-page p {
    color: #fff;
    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;
}



#external-report-page .margin-top {
    margin-top: 15vh;
}
#external-report-page {
    position: fixed;
    top: 0;
    left: 0;
    background: var(--main-color);
    width: 100%;
    height: 100%;
    color: #fff;
}

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

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

#external-report-page p {
    color: #fff;
    font-size: 20px;
}

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

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

.h-captcha {
    display: flex;
    justify-content: center;
    width: 100% !important; /* Dopasowanie do szerokości kontenera */
    max-width: 400px; /* Możesz dostosować do swojej strony */
}


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


.modal-content .li-done:before {
    background: var(--main-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: 8px;
    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: 12%;
}

.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-product{
    border: 1px solid #ced4da !important;
    box-shadow: none;
}

.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(--main-color);
    padding-right: 35px;
    padding-left: 25px;
}
.import-table-header-costlistupload, .import-table-header-pricelistupload{
    padding-bottom: 10px;
    font-size: var(--dsm-small-font-size-14); 
    border-bottom: 1px solid slategray; 
}
.label-note-costlistupload {
    font-size: var(--dsm-small-font-size-14); 
}

.import-table-header {
    font-size: var(--dsm-small-font-size-12); /*12px;*/
    color: #fff;
    background: var(--main-color);
}

.import-table-data {
    font-size: var(--dsm-small-font-size-12); /*12px;*/
}

.import-table-data-change {
    font-size: var(--dsm-small-font-size-12); /*12px;*/
    background: var(--dsm-light-gray-color);
    padding-right: 10px;
    padding-left: 10px;
}
.import-table-data-add {
    font-size: var(--dsm-small-font-size-12); /*12px;*/
    background: var(--dsm-blue-color);
    padding-right: 10px;
    padding-left: 10px;
}
.import-table-data-delete {
    font-size: var(--dsm-small-font-size-12); /*12px;*/
    background: var(--dsm-orange-color);
    padding-right: 10px;
    padding-left: 10px;
}

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;
}

.form-group-file-name {
    max-width: 350px;
}

.file-list-ul, .file-list-li {
    max-width: 100%;
}

.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: unset;
    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;
}

.btn-medium-dsm-suppliers {
    font-weight: 600;
    line-height: 14px;
    font-size: var(--dsm-small-font-size-12)  ; /*12px;*/
    vertical-align: middle;
    height: 35px;
    padding-left: 40px !important;
    padding-right: 20px !important;
}

.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(--main-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(--main-color);
    border-color: var(--main-color);
    background: transparent;
    border-width:2px;
} */

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

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

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

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

.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(--main-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;
}

.btn-colored {
    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;
}

.btn-task-blue {
    color: color-mix(in srgb, var(--dsm-blue-color), black 20%);
    background: color-mix(in srgb, var(--dsm-blue-color) 20%, transparent);
    border-color: var(--dsm-blue-color);
}
.btn-task-blue:hover, .btn-task-blue:active, .btn-task-blue .actived {
    color: #fff !important;
    background: var(--dsm-blue-color);
}

.new-p-colored-blue .new-p-bulb,
.new-p-colored-blue:not(.new-p-colored-last)::after {
    background-color: var(--dsm-blue-color);
}

.btn-task-purple {
    color: color-mix(in srgb, var(--dsm-std-purple), black 20%);
    background: color-mix(in srgb, var(--dsm-std-purple) 20%, transparent);
    border-color: var(--dsm-std-purple);
}

.btn-task-purple:hover, .btn-task-purple:active, .btn-task-purple .actived {
    color: #fff !important;
    background: var(--dsm-std-purple);
}

.new-p-colored-purple .new-p-bulb,
.new-p-colored-purple:not(.new-p-colored-last)::after {
    background-color: var(--dsm-purple-color);
}

.btn-task-red {
    color: color-mix(in srgb, var(--dsm-red-color), black 20%);
    background: color-mix(in srgb, var(--dsm-red-color) 20%, transparent);
    border-color: var(--dsm-red-color);
}

.btn-task-red:hover, .btn-task-red:active, .btn-task-red .actived {
    color: #fff !important;
    background: var(--dsm-red-color);
}

.new-p-colored-red .new-p-bulb,
.new-p-colored-red:not(.new-p-colored-last)::after {
    background-color: var(--dsm-red-color);
}

.btn-task-orange {
    color: color-mix(in srgb, var(--dsm-orange-color), black 20%);
    background: color-mix(in srgb, var(--dsm-orange-color) 20%, transparent);
    border-color: var(--dsm-orange-color);
}

.btn-task-orange:hover, .btn-task-orange:active, .btn-task-orange .actived {
    color: #fff !important;
    background: var(--dsm-orange-color);
}

.new-p-colored-orange .new-p-bulb,
.new-p-colored-orange:not(.new-p-colored-last)::after {
    background-color: var(--dsm-orange-color);
}

.btn-task-yellow {
    color: color-mix(in srgb, var(--dsm-yellow-color), black 20%);
    background: color-mix(in srgb, var(--dsm-yellow-color) 20%, transparent);
    border-color: color-mix(in srgb, var(--dsm-yellow-color), black 20%);
}

.btn-task-yellow:hover, .btn-task-yellow:active, .btn-task-yellow .actived {
    color: #fff !important;
    background: color-mix(in srgb, var(--dsm-yellow-color), black 20%);
}

.new-p-colored-yellow .new-p-bulb,
.new-p-colored-yellow:not(.new-p-colored-last)::after {
    background-color: var(--dsm-yellow-color);
}

.btn-task-green {
    color: color-mix(in srgb, var(--dsm-bgreen-color), black 20%);
    background: color-mix(in srgb, var(--dsm-bgreen-color) 20%, transparent);
    border-color: var(--dsm-bgreen-color);
}

.btn-task-green:hover, .btn-task-green:active, .btn-task-green .actived {
    color: #fff !important;
    background: var(--dsm-bgreen-color);
}

.new-p-colored-green .new-p-bulb,
.new-p-colored-green:not(.new-p-colored-last)::after  {
    background-color: var(--dsm-bgreen-color);
}

.btn-task-gray {
    color: color-mix(in srgb, var(--dsm-gray-color), black 20%);
    background: color-mix(in srgb, var(--dsm-gray-color) 20%, transparent);
    border-color: var(--dsm-gray-color);
}

.btn-task-gray:hover, .btn-task-gray:active, .btn-task-gray .actived {
    color: #fff !important;
    background: var(--dsm-gray-color);
}

.new-p-colored-gray .new-p-bulb,
.new-p-colored-gray:not(.new-p-colored-last)::after  {
    background-color: var(--dsm-gray-color);
}

.active-time-group {
    color: var(--main-color) !important;
    border-color: var(--main-color) !important;
    border-width:2px !important;
    font-weight: 600 !important;
}

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

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

.arrow-lightgray-icon {
    mask-image: url(img/arrow-down-lightgray.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(--main-color);
    border-color: var(--main-color);
}
.btn-time-group:active, .btn-time-group .actived {
    color: #fff;
    background: var(--main-color);
    border-color: var(--main-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(--main-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;
}
.height-none {
    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(--main-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-outmonth .calendar-dot{
	background-color: var(--font-light-gray-color);
}
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;
}

.form-alert-modal {
    color: red;
}

.form-success {
    color: var(--main-color);
}

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

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

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

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

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

.fixed-height-50.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;
}
.text-normal-wrap {
    white-space: normal
}
.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(--main-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(--main-color) !important;
}

.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-medium{
    width: 15px;
    height: 15px;
    background-color: var(--dsm-grayscale-color);
    outline: none;
    mask-repeat:no-repeat;
    mask-size: contain;
}

.dark-icon{
	width: 22px;
    height: 22px;
    background-color: var(--font-dark-gray-color);
    outline: none;
    mask: url('img/dot.png');
    mask-repeat:no-repeat;
    mask-size: contain;
    mask-position: center;
}

.icon{
    width: 22px;
    height: 22px;
    background-color: var(--dsm-grayscale-color);
    outline: none;
    mask: url('img/dot.png');
    mask-repeat:no-repeat;
    mask-size: contain;
    mask-position: center;
}

.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;
}

.btn-no-line-height {
    line-height: 0;
}

.header-line-height {
    line-height: 1.2;
}

.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-bg-size-15{
    background-size: 15px 15px;
}

.icon-material {
  color: var(--main-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;
    background-color: var(--dsm-grayscale-color);
    background-repeat: no-repeat;
}

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

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

.transport-cost-icon {
    mask-image: url(img/transport_cost.svg);
    background-size: cover;
}
.info-icon{
    mask-image: url(img/lead-inv.svg);
}
.lead-users-icon{
    mask-image: url(img/lead.svg);
}
.work-cost-icon {
    mask-image: url(img/work_cost.svg);
    background-size: cover;
}

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

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

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

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

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

.import-icon {
    mask-image: url(img/import-icon.svg);
}
.icon-cover {
    background-size: cover;
}

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

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

.supplier-icon {
    mask-image: url(img/suppliers.svg);
}

.shapes-icon {
    mask-image: url(img/shapes.svg);
}

.recalc-icon {
    mask-image: url(img/activity_transaction.svg);
    width: 15px;
    height: 15px;
    margin-left: -2px;
    margin-top: 3px;
}

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

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

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

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


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

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

}

.arrow-search-down-icon {
    background-color: var(--dsm-grayscale-color);
}

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

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

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

.pdf-cost-icon {
    mask-image: url(img/pdf_green.svg);
}

.clear_icon{
    mask-image: url(img/clear_icon.svg);
    background-color: var(--main-color);
    opacity: 1 !important;
}

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

.dots-orange-icon{
    mask-image: url(img/three_dots_orange.svg);
    background-color: var(--main-color);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.leads-report-icon {
    mask-image: url(img/leads_report.svg);
}

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

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

.users-icon{
    mask-image: url(img/users.svg);
}

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

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

.activity-order-assignment-icon{
    mask-image: url(img/activity_order_assignment.svg);
}

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

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

#content.pined+#sidebar-right #myTabContent i.pin-icon{
    mask-image: url(img/pin.svg);
    background-color: var(--main-color);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.activity-draft-created-icon {
    mask-image: url(img/email_draft.svg);
}
.activity-quotation-set-to-ready-icon {
    mask-image: url(img/activity_order_forced_by_user.svg);
}
.activity-sent-chat-message {
    mask-image: url(img/activity_mail_was_sent.svg);
}
.activity-lead-ignored {
    mask-image: url(img/activity_lead_ignore.svg);
}
.activity-task-created {
    mask-image: url(img/activity_task_added.svg);
}
.activity-commission {
    mask-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(--main-color);
    border-color: var(--main-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(--main-color);
    border-color: var(--main-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;
    background-color: #ededed;
    border-radius: 25px;
    transition: 0.2s all;
}
.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(--main-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.sys_user input:disabled + label::before {
    background-color: var(--main-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 .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.active .sidebar-right-header .header-buttons{
		flex-direction: column;
}
#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) .header-buttons .active i, #sidebar-right:not(.active) #myTab li a.active i{
    background-color: var(--main-color);
}
/* 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(--main-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(--main-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: absolute;
    top: 12px;
    background-color: var(--main-color);
    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);
    min-height: 200px;
}

.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;
    mask-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);
    mask-image: url('img/arrow-up-gray.svg');
    background-size: 12px 12px;   */
}

table.dataTable:not(.costs-table-widths) thead > tr > th.sorting_asc, table.dataTable:not(.costs-table-widths) thead > tr > th.sorting_desc, table.dataTable:not(.costs-table-widths) thead > tr > th.sorting, table.dataTable:not(.costs-table-widths) thead > tr > td.sorting_asc, table.dataTable:not(.costs-table-widths) thead > tr > td.sorting_desc, table.dataTable:not(.costs-table-widths) 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-color: var(--main-color);
    transform: rotate(180deg);
    background-size: 12px 12px;
    opacity: .3;
    background-color: var(--dsm-grayscale-color);
    mask: url('img/arrow-down.svg');
    mask-repeat:no-repeat;
    mask-size: contain;
    mask-position: center;
}

.arrow-icon.desc{
    height:12px;
    width:12px;
    background-color: var(--main-color);
    background-size: 12px 12px;
    opacity: .3;
    background-color: var(--dsm-grayscale-color);
    mask: url('img/arrow-down.svg');
    mask-repeat:no-repeat;
    mask-size: contain;
    mask-position: center;
}


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

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

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


/* --------- 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;
    background-color: var(--main-color);
}

.filter-unset {
    filter: unset;
}

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

.icon-left-page {
    position: absolute;
    top: 8px;
    left: 20px;
    background-color: var(--main-color);
}

.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;
    background-color: var(--main-color);
}
.icon-left-normal:hover i {
    filter: brightness(100);
}

.icon-medium-25 {
    min-width: 25px;
    min-height: 25px;
    background-color: var(--dsm-grayscale-color);
    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;
    background-color: var(--dsm-grayscale-color);
    background-repeat:no-repeat;
}

img.icon-big {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    background-color: transparent;
}

.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{
    mask-image: url(img/leads_menu_icon.svg);
}

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

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

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

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


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

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

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

.invoices-icon{
    mask-image: url(img/invoices_menu_icon.svg);
}
.payment-not-paid-icon {
    mask-image: url(img/icon_not_paid.svg);
}
.payment-first-payment-done-icon {
    mask-image: url(img/icon_first_payment_done.svg);
}
.payment-partially-paid-icon {
    mask-image: url(img/icon_partially_paid.svg);
}
.payment-fully-paid-icon {
    mask-image: url(img/icon_payment_done.svg);
}
.payment-over-paid-icon {
    mask-image: url(img/icon_over_paid.svg);
}
.payment-correction-icon {
    mask-image: url(img/icon_correction.svg);
}
.payment-canceled-icon {
    mask-image: url(img/icon_payment_canceled.svg);
}
.payment-not-issued-icon {
    mask-image: url(img/icon_not_issued.svg);
}
.new-order-icon{
    mask-image: url(img/add.svg);
}
.question-icon{
    mask-image: url(img/question.svg);
}
.sent-icon{
    mask-image: url(img/icon_sent.svg);
}
.in-packaging-icon {
    mask-image: url(img/icon_packaging.svg);
}
.reorder-icon{
    mask-image: url(img/icon_reorder.svg);
}

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

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

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

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

.order-closed-icon {
    mask-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: var(--main-color);
}

.filter-big-btn.deactivated .round-bg-icon-big{
    background: var(--dsm-red-logo-color);
}
.filter-big-btn.deactivated .icon-big{
    filter: brightness(100);
    -webkit-filter: brightness(100);
}

.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{
  height: 100%;
  align-items: flex-end;
  background-color: transparent !important;
  border: 0px !important;
  padding: .5rem 2.5rem !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(--main-color) 3px solid !important;
  color:var(--main-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 1.5rem !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;
	min-width: 31px;
    max-width: 31px;
    max-height: 31px;
    font-size: 15px /*var(--dsm-font-size-small-headers); */;
    line-height: 31px;
}
#lead-files-table .profile_letter_account_mini{
	float:none;
}

.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;
}

.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);
}

.crumb-search {
    border-bottom: none !important;
    padding-bottom: 8px !important;
}

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

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

.lead-q-info .progress{
    height: 3px;
}

.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;
}

.svg-logo {
    height: 75px;
}

.login-logo-svg {
    height: 150px;
    filter: brightness(0) invert(1);
    max-width: 45%;
}

.login-logo-img {
    height: 150px;
    width: auto;
}

.lead-activity .user-ico{
    vertical-align: middle;
    margin-top: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{
	min-width:18px;
    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{
	min-width:18px;
    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 --- */

.lead-q-info .progress .position{
    position:absolute;
    z-index:1;
    border-radius:25px;
}
.lead-q-info .progress .big{
    margin-top: -1px;
    margin-left: -5px;
    height: 22px;
    width: 22px;
}

.lead-q-info .progress .small {
    margin-top: 0px;
    height: 13px;
    width: 13px;
  /*  margin-left: 9px; */
}

.lead-q-info .progress .def{
    background-color: #fff;
    height: 12px;
    width: 12px;
    margin-left: 5px;
    margin-top: -5px;
}
.lead-q-info .progress .def-r{
    background-color: #fff;
    height: 12px;
    width: 12px;
    margin-right: 5px;
    margin-top: -5px;
}

.lead-q-info .lead-progress-bar {
    padding: 0px 80px 40px 80px;
}

.lead-q-info .p-label{
    position: relative;
    width: 82px;
    top: 30px;
    left: -30px;
    font-weight: 600;
    text-align: center;
    color: var(--font-light-gray-color);
    font-size: var(--dsm-small-font-size);
}

/*-- big --*/

.lead-q-info .progress .one{
    left:0%;
}
.lead-q-info .progress .two{
    left:25%;
}
.lead-q-info .progress .three{
    left:50%;
}
.lead-q-info .progress .four{
    left: 75%;
}
.lead-q-info .progress .five{
    left: 100%;
}

/*-- small --*/

.lead-q-info .progress .one-1{
    left: 6.6%;
}
.lead-q-info .progress .two-1{
    left:13.2%;
}

.lead-q-info .progress .three-1{
    left:19.8%;
}
.lead-q-info .progress .four-1{
    left:26.4%;
}

.lead-q-info .progress .one-2{
    left: 38.8%;
}
.lead-q-info .progress .two-2{
    left:44.3%;
}
.lead-q-info .progress .three-2{
    left:49.8%;
}
.lead-q-info .progress .four-2{
    left:55.3%;
}
.lead-q-info .progress .five-2{
    left:60.8%;
}

.lead-q-info .progress .one-3{
    left: 70%;
}
.lead-q-info .progress .two-3{
    left:74%;
}
.lead-q-info .progress .three-3{
    left:78%;
}
.lead-q-info .progress .four-3{
    left:82%;
}
.lead-q-info .progress .five-3{
    left:86%;
}
.lead-q-info .progress .six-3{
    left:90%;
}
.lead-q-info .progress .seven-3{
    left:93.5%;
}

/* --- 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(--main-color);
}
.dsm-font-green-color{
    color:var(--main-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;
	min-width: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{
	min-width: 29px;
    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 {
	min-width: 27px;
    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(--main-color);
    border:0px;
    outline: none;
    max-width: 250px;

}

.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-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(--main-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;
    background-color: var(--dsm-grayscale-color);
    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;
    background-color: var(--main-color) !important;
}

#sidebar-left .active .badge{
    color: white;
    background-color: var(--main-color) !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;
    background-color: var(--main-color) !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(--main-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(--main-color); */
    border-bottom: 2px solid var(--main-color);
}

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

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

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

#commission-table .profile_letter_account_mini {
    float: left;
	min-width: 40px;
    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;
	min-width: 31px;
    max-width: 31px;
    max-height: 31px;
    font-size: 10px;
    line-height: 31px;
}

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

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

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

.max-line15{
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 15;
}

#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;
}

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

.profile_image_small {
    width: 48px !important;
	min-width: 48px !important;
    object-fit: contain;
}
.profile_image_smallx {
	font-size: 10px;
    width: 35px !important;
	min-width: 35px !important;
	border-radius: 35px;
    height: 35px !important;
    max-width: 35px !important;
    max-height: 35px !important;
    line-height: 35px !important;
    object-fit: contain;
}

.profile_image_smallx-4 {
    width: 31px !important;
	min-width: 31px !important;
    height: 31px !important;
    max-width: 31px !important;
    max-height: 31px !important;
    line-height: 31px !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_small {
    float: left;
	min-width: 35px;
    max-width: 35px;
    max-height: 35px;
    font-size: 13px;
    line-height: 35px;
}

.profile_letter_account_mini {
    float: left;
	min-width: 31px;
    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;
}

#documents-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;
}

.hidden {
    opacity: 0;
}

#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(--main-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(--main-color);
  }
  .filter-content-diss .transparent-i-button.deactivated .round-filter-title{
      border-bottom:2px solid var(--dsm-red-logo-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;
    min-height: 48px;
    min-width: 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(--main-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(--main-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);
}

.quotation-item-text-confirmed {
  color: var(--main-color);
  font-weight:600
}

.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(--main-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;
}

.documents-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-documents-list {
    max-height: calc(100vh - 112px - 86px);
    overflow-y: scroll;
}

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

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

.scrollable-pdf-list {
    max-height: calc(100vh - var(--scrollable-pdf-list-height));
    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-documents-list {
    max-height: calc(100vh - 207px);
    overflow-y: scroll;
}

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

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

.scrollable-documents {
    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-documents-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-documents {
        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-documents {
        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) translate(-50%,0);
  position: fixed;
  top: 50%;
  transform-origin: left top;
  left: 0px;
  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;
}

.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;
}

.mh-50 {
    min-height: 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(--main-color);
}
.quotation-product-info .product-list-item .custom-button {
    color: black;
}
.quotation-detail-textarea {
    width: 100%;
    height: 100px;
    border-color: var(--font-placeholder-gray-color);
    border-radius: 5px;
    padding: 10px;
}
.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(--main-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 {
    background-color: var(--main-color);
}

#activity-table .profile_letter_account {
    margin: 0;
}

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

.supplier-order-changed-activity-act {
    color: var(--font-light-gray-color) !important;
    font-weight: 500 !important;
    text-align: left !important;
    margin-bottom:4px !important;
}

.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);
}

#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-recalc {
    height: 35px;
    width: 35px;
}


.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: 45%;
    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(--main-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(--main-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: 1;
}

.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: 1;
}

/* no need to display empty elements */
.comma:empty {
  display: none;
}

.comma:not(:last-child):after {
  content: ",";
  padding-right: 5px;
}
.product-btn .icon {
    background-size: contain;
}

.scrollable-product-list .profile_image {
    max-height: 30px;
    border-radius: 0;
}

.icon-left.product-style {
    line-height: unset
}

.icon-left.product-style i {
    top: 5px;
}

.importBox {
    max-height: 500px;
    min-height: 500px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.noresize {
    resize: none;
}

.featuresBox {
    max-height: 300px;
    min-height: 300px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.featuresBox-400 {
    max-height: 400px;
    min-height: 400px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.modal-dialog-medium {
    min-width: 800px;
    max-width: 800px;
}

.new-email-template {
    height: calc(100vh - 160px);
}

.new-email-template-button-row {
    position: absolute;
    bottom: 0;
    right: 15px;
}

.btn-absolute {
    position: absolute;
    right: 20px;
    top: 45px;
}

.add-field {
    position: absolute;
    right: 15px;
    top: 0;
}

.add-field:hover .icon.icon-medium {
    background-color: var(--main-color);
}

#lead_main_content {
    opacity: 0;
}

.change-info {
    position: absolute;
    bottom: 20px;
    padding-right: 20px;
}

.radio_group {
    display: flex;
    justify-content: center;
}
.item-noborder {
    border: 0;
    font-size: 100%;
    width: 100px;
}

.item-radio.item-noborder {
    display: block;
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.item-radio.item-noborder input{
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.item-radio.item-noborder .ion-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 14px;
    width: 14px;
    background-color: #eee !important;
    border-radius: 50%;
}
.item-radio.item-noborder .ion-checkmark:hover {
    background-color: #ccc;
}
.item-radio .item-content {
    color: var(--dsm-medium-gray-color);
}

.item-radio input:checked + .radio-content .ion-checkmark {
    background-color: var(--main-color) !important;
}

.ion-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.item-radio input:checked + .radio-content .ion-checkmark:after {
    display: block;
}

/* Style the indicator (dot/circle) */
.item-radio.item-noborder .ion-checkmark:after {
    top: 5px;
    left: 5px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: white;
}

.bottom-right {
    position: absolute;
    bottom: 50px;
    display: flex;
    align-items: center;
}

.template-variables {
    box-shadow: 0 0 11px rgba(33,33,33,.2);
    border-radius: 15px;
    margin-left: 5px;
    margin-right: 5px;
    position: relative;
}

.template-variables .show-more {
    height: 40px;
    margin-top: 10px;
}

.template-variables .show-more i {
    width: 15px;
    height: 15px;
    top: -23px;
}

.template-variables .toggle-animation {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    padding-left: 10px;
    -webkit-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    transition: all 0.5s linear;
}

.template-variables .toggle-animation.active {
    max-height: 400px;
    overflow-y: scroll;
    overflow-x: hidden;
    opacity: 1;
    -webkit-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    transition: all 0.5s linear;
}

.variable-content {
    max-height: calc(100vh - 425px);
    height: 100%;
    min-height: calc(100vh - 425px);
    overflow-x: hidden;
    overflow-y: visible;
    margin-right: -20px;
    margin-left: -20px;
}

.variable-content.email {
    max-height: calc(100vh - 500px);
    min-height: calc(100vh - 500px);
}

.pdf-template-main {
    max-height: 100vh;
    overflow: hidden;
}

.variable-content .pdf-add-btn {
    position: absolute;
    top: 11px;
    right: 120px;
}
.variable-content .pdf-add-btn .btn {
    height: 27px;
}
.variable-content .pdf-add-btn .btn .icon {
    width: 15px;
    height: 15px;
    top: 4px;
}
.variable-content .btn.image {
    background-color: transparent;
    z-index: 100;
}
.variable-content .btn img{
    height: 35px;
    z-index: -100;
}
#height-container {
    height: calc(100vh - 270px);
}
.gu-mirror {
    position:fixed!important;
    margin:0!important;
    z-index:9999!important;
    opacity:.8;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
    filter:alpha(opacity=80)
}
.gu-hide {
    display:none!important
}
.gu-unselectable {
    -webkit-user-select:none!important;
    -moz-user-select:none!important;
    -ms-user-select:none!important;
    user-select:none!important
}
.gu-transit {
    opacity:.2;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
    filter:alpha(opacity=20)
}

.background_red {
    background: #ab2626;
    border-radius: 5px;
}
.standard-table{
	border-collapse: collapse;
}
.standard-table tbody:not(:last-child) tr{
	border-bottom: 1px solid #E0E0E0;
}
.last-border.last-border tbody tr{
	border-bottom: 1px solid #E0E0E0;
}
.standard-table thead td{
	font-weight: 500;
}
.standard-table tbody{
	font-weight: 300;
}
.standard-table tr td:not(:first-child){
	text-align:right;
}
.standard-table tr td:first-child{
	text-align:left;
}
.standard-table-right.standard-table-right tr td:nth-child(n+5){
	text-align:right;
}
.standard-table-right.standard-table-right tr td{
	text-align:left;
}
.zebra-table > tbody:nth-child(even) td{
	text-align:left;
	background: #FAFAFAFA;
}
.zebra-table > tbody:nth-child(odd) td{
	text-align:left;
	background: #FFF;
}
.no-border-bottom.no-border-bottom tbody td{
	border-bottom: none;
}
.no-border-bottom.no-border-bottom tbody tr{
	border-bottom: none;
}
.ng-invalid:not(form):not(.disableInvalidMarkings)  {
  border: 1px solid red;
}
.ng-invalid:not(form):not(.ng-invalid-required):not(.disableInvalidMarkings)  {
	background-color: #fff8f7;
	color:red;
}
.lightgreenbg{
	border-color:var(--dsm-light-green-color);
	background:var(--dsm-light-green-color);
}
.tr-padding-special > tbody:first-of-type > tr:first-child > td{
	padding-top: var(--dsm-font-size-24);
}
.tr-padding-special > tbody > tr:first-child > td{
	padding: 15.8px 0px;
}
.small-table >tbody >tr > td{
	font-size: var(--dsm-small-font-size-13);
	line-height: var(--dsm-small-font-size-13);
	font-weight: 400;
	padding: 1.9px 0px;
}
.small-table >tbody tbody >tr td{
	line-height: 11px;
	padding-top:0px;
}
.capitalize {
   text-transform: capitalize;
}
.PageWidthContents .parentFill{
	min-width:min-content;
}
.flex-table span, .flex-table div{
    white-space: nowrap;
}
.flex-table .tr:not(.notsorted){
		cursor: pointer;
}
.flex-table .td i{
		cursor: pointer;
}
.flex-table .tr{
	height:30px;
	display: flex;
    align-items: center;
	font-weight: bold;
	margin-bottom:18px;
	font-size: var(--dsm-font-size-small-headers);
}
.flex-table .td, .specialrow.td{
	margin-bottom: 12px;
	background-color: #fff;
	height:82px;
	display: flex;
	align-items: center;
	font-size: var(--dsm-small-font-size-13);
}
#finance-costs-table-prototype>div:nth-child(n+2):nth-last-child(n+5) .td:not(#finance-costs-table-prototype>div:nth-child(5) >span>span:last-child .td){
	padding-right: var(--dsm-padding-right-scaled) !important;
}
.specialrow.td{
	border-radius: var(--dsm-border-box-radius) var(--dsm-border-box-radius) var(--dsm-border-box-radius) var(--dsm-border-box-radius);
	display: flex;
    justify-content: center;
}
.flex-table>div{
	position: relative !important;
}
.flex-table>div:first-child>div:not(:first-child){
	border-radius: var(--dsm-border-box-radius) 0px 0px var(--dsm-border-box-radius);
}
.flex-table>div:last-child>div:not(:first-child){
	border-radius: 0px var(--dsm-border-box-radius) var(--dsm-border-box-radius) 0px;
}
.flex-table>div:not(:last-child):not(:first-child)>div:not(:first-child){
	flex:1 1 auto;
}
#finance-costs-table-prototype>div:nth-child(2),#finance-costs-table-prototype>div:nth-child(3),#finance-costs-table-prototype>div:nth-child(4),#finance-costs-table-prototype>div:nth-child(5),#finance-costs-table-prototype>div:nth-child(6),#finance-costs-table-prototype>div:nth-child(7),#finance-costs-table-prototype>div:nth-child(10),#finance-costs-table-prototype>div:nth-child(11){
	min-width:min-content;
}
#finance-costs-table-prototype>div:nth-child(5)>div:not(:first-child){
	justify-content: end;
}
.deattachedWidth{
	height:auto;
	position:absolute;
	width:100%;
}
.deattachedWidth>div>span{
	overflow-x: hidden;
	text-overflow: ellipsis;
}
#content.PageWidthContents{
	min-width:min-content;
}
.sortedAsc i.asc,.sortedDesc i.desc{
	opacity:1 !important;
	filter:none !important;
}
.unassignedLead{
	background-color:#fff2f2;
}
.unassignedDocument{
    background-color:#fff2f2;
}
.notIssuedInvoiceBackground{
    background-color:#fff2f2;
}
.leadScroll{
	overflow-x: hidden;
}
.split-table:not(.reverseFlexLeads)>div.leadScroll:first-child,.split-table.reverseFlexLeads>div.leadScroll:last-child{
    height: fit-content;
    flex: none;
    max-height: calc(50% - 20px);
}
.contactLeadScroll {
    overflow-x: hidden;
    height: fit-content;
    flex: none;
    max-height: calc(100% - 20px);
}
.dashedHr>hr{
	border:none;
	border-top:1px dashed var(--dsm-light-gray-color);
	margin:0;
}
.dashedHr{
	padding-bottom:var(--dsm-padding-top-side-box);
	margin:0;
}
.blended-image{
	background-color: #fff8;
    background-blend-mode: screen;
    background-size: 100%;
    border-radius: 16px !important;
    height: 100%;
    width: 100%;
}
.blended-image-base{
	background-size: 100%;
}
.blended-image-red{
	background-color: #f008;
    background-blend-mode: overlay;
    background-size: 100%;
}

.overflow4lines{
	overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    line-clamp: 2;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}
.ml-n3{
	margin-left: -1rem;
}
#SelectUsersLoading{
	display:none;
	height:100%;
    /*background-color: green;*/
    background-image: repeating-linear-gradient(225deg,var(--main-color),var(--main-color) 10px,var(--white) 15px,var(--white) 25px,var(--main-color) 30px);
    border-radius:10px;
	width:100%;
}
#SelectUsersLoading.run{
	display:block;
	animation: staticLoading 2s linear;
}

.progress-container {
    width: 100%;
    height: 30px;
    background-color: var(--white);
    border: 1px solid var(--dsm-gray-color);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background-color: var(--main-color);
    transition: width 0.3s ease;
}

.progress-text {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    color: var(--font-dark-gray-color);
}

@keyframes staticLoading{
  0% {
	  margin-left: -100%;
	  margin-right: 100%;
  }
  100% {
	  margin-left: 0%;
	  margin-right: 0%;
  }
}
a.hovercheckbox:hover span.checkmark{
	background-color: var(--dsm-light-gray-color);
}
a.hovercheckbox:hover input:checked + span.checkmark{
	background-color: var(--dsm-light-green-color);
}
input.fake-readonly.fake-readonly{
	background-color: #fff;
}
.ckeditorGrow .cke_reset{
	display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.flexnowrap{
	display:flex;
	flex-wrap: nowrap;
}
.flexcenter{
	display:flex;
	align-content: center;
    align-items: center;
	justify-content: center;
	text-align: center;
}
.triangle_down,.focusDisplayRoot:not(.focusOpen) .triangle_auto {
	position: relative;
	top: 3px;
	content: "";
	display: inline-block;
	width: 10px;
	height: 10px;
	border-right: 3px solid #777777;
	border-top: 3px solid #777777;
	transform: rotate(135deg);
	margin-right: 0.5em;
	margin-left: 1.0em;
}
.triangle_up, .focusDisplayRoot.focusOpen .triangle_auto {
	position: relative;
	top: 9px;
	content: "";
	display: inline-block;
	width: 10px;
	height: 10px;
	border-right: 3px solid #777777;
	border-top: 3px solid #777777;
	transform: rotate(-45deg);
	margin-right: 0.5em;
	margin-left: 1.0em;
}
.selectHover:hover{
	background-color: #DDD;
}
.focusDisplayRoot:not(.focusOpen) .focusDisplay{
	display:none !important;
}
input.italicPlaceholder:placeholder-shown {
   font-style: italic;
}
input.italicPlaceholder::placeholder{
   color: var(--dsm-gray-color);
}
.email-item-saved{
	background-color: #F4FDF2;
}
@keyframes highlight {
    0% {background: #ff9f;}
    100% {background: #ff90}
}

.highlight {
    animation: highlight 1s;
}
.bg-transparent2{
    background-color: transparent;
}
.tab-content>.active.parentFill{
	display: flex;
}
.bubble{
	height: 17px;
	min-width: 17px;
	border-radius: 50%;
	position: absolute;
	margin-left: 3px;
	top: -6px;
	padding: 0px 5px 0px 5px;
	color: white;
	font-size: 11px;
	text-align: center;
	display: inline-block;
    line-height: 17px;
}
#maintenance_messages{z-index: 100;
    font-weight: 700;
    position: fixed;
    top: 0;height: 34px;width: 100%;
    padding-left: var(--left-menu-width);
    background-color: deactivated
}
#maintenance_messages>div:nth-child(1){height: 100%;flex: 1 0 0;justify-content: space-between;align-items: center;}
#maintenance_messages>div:nth-child(2){width: var(--right-menu-hidden-width);height: 100%;}
#maintenance_messages>div>div:nth-child(1){flex: 1 1 0;}
#maintenance_messages>div>div:nth-child(2){flex: 1 0 0;white-space: nowrap;color:var(--light);}
#maintenance_messages>div>div:nth-child(3){flex: 1 0 0;justify-content: flex-end;color:var(--dsm-yellow-color);}
#maintenance_messages>div>div:nth-child(3)>span{white-space: nowrap;}
#maintenance_messages>div>div:nth-child(3)>span>div{padding: 0px 5px;}

.email-sending-status {
    color: var(--dsm-orange-color);
}

.email-sending-status-last-attempt {
    color: var(--dsm-red-color);

}

/* --- cost list ---*/
.costlist-producer-name, .pricelist-supplier-name {
  color:var(--font-light-gray-color);
}
#costlistupload_main_content tr td, #pricelistupload_main_content tr td{
  padding-bottom: 10px;
  border-bottom: 1px solid var(--dsm-light-gray-color);
}
#costlistupload_main_content tr td.change-category{
  border-bottom: 1px solid  slategray;
}
#costlistupload_main_content tr td.first-col, #costlistupload_main_content tr th.first-col{
  padding-left: 10px;
}

/*combobox*/

.list-container {
    position: relative;
}

.list-container ul {
    position: absolute;
    z-index: 1000;
    top: calc(100% );
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid var(--shadow-color);
    border-radius: .2rem;
    border-top: none;
    background-color: #fff;
    max-height: 200px;
    overflow-y: auto;
}

.list-container ul li {
    margin: 0;
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: none;
    font-size: var(--dsm-font-size-content); /*14px; */
    line-height: var(--dsm-font-size-content); /*14px; */
    vertical-align: middle;
    color: var(--font-dark-gray-color) ;
    font-weight: 400;
}

.list-container ul li::before {
    content: none;
}

.list-container ul li:hover {
    background-color: var(--shadow-color);
}

.current-property-nav {
    background-color: var(--white);
    border-top-left-radius: var(--dsm-border-box-radius);
    border-top-right-radius: var(--dsm-border-box-radius);

}

.new-progress {
    display: flex;
    justify-content: space-around;
    padding: 0 48px;
}

.new-p-bulb-label-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    position: relative;

}

.new-p-bulb-label-container::after {
    content: "";
    height: 2px;
    width: 100%;
    background-color: var(--font-light-gray-color);
    position: absolute;
    top: 14px;/*height/2*/
    right: 0;
    transform: translateX(50%);
    z-index: 1;
}

.last-new-p-bulb-label-container::after {
    content: none;
}

.new-p-bulb {
    width: 28px;
    height: 28px;
    border-radius: 100%;
    background-color: var(--font-light-gray-color);
    z-index: 100;
}

.new-p-label {
    font-weight: 600;
    text-align: center;
    color: var(--font-light-gray-color);
    font-size: var(--dsm-small-font-size);
}

.waiting-for-hearing {
    font-size: var(--dsm-small-font-size-12);
    color: var(--font-light-gray-color)
}

.capitalize-first-letter::first-letter{
    text-transform: capitalize;
}

.login-lock-icon {
    mask-image: url(img/lock.svg);
    background-color: var(--main-color);
    height: 48px;
    mask-repeat: no-repeat;
}
.w-0 {
    width:0px;
}
.leadTable1width{max-width: 21%;}
.leadTable2width{max-width: 31%;}
.leadTable3width{max-width: 11%;}
.leadTable4width{max-width: 11%;}
.leadTable5width{max-width: 14%;}
.leadTable6width{max-width: 14%;}
.leadTable7width{max-width: 14%;}
.leadTable8width{max-width: 6%;}

.alerttext{
    color: var(--dsm-red-color);
}
.warntext{
    color: var(--dsm-orange-color);
}
.equal-width{
    flex: 1 1 0px;
}

.reverse-column{
    display:flex;
    flex-direction:column-reverse;
}
.loader2 {
    position: absolute;
    top: calc(50% - 13px);
    left: calc(50% - 13px);
    width: 26px;
    padding: 8px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #777777;
    --_m:
            conic-gradient(#0000 10%,#000),
            linear-gradient(#000 0 0) content-box;
    -webkit-mask: var(--_m);
    mask: var(--_m);
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
    animation: l3 1s infinite linear;
}
@keyframes l3 {to{transform: rotate(1turn)}}
.info-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #007bff; /* niebieski */
    color: white;
    font-size: 12px;
    cursor: pointer;
}
.info-circle i{
    background-color: bisque;
}
.scroll{
    overflow: scroll;
}
.textarea-grow-wrap {
    display: grid;
}
.textarea-grow-wrap::after {
    content: attr(data-replicated-value) " ";
    white-space: pre-wrap;
    visibility: hidden;
}
.textarea-grow-wrap > textarea {
    resize: none;
    overflow: hidden;
}
.textarea-grow-wrap > textarea,
.textarea-grow-wrap::after {
    /* Identical styling required!! */
    padding: 0.5rem;
    font: inherit;
    /* Place on top of each other */
    grid-area: 1 / 1 / 2 / 2;
    overflow-wrap: anywhere;
}
.dragbar{
    height:100%;
    float: right;
    width: 6px;
    cursor: col-resize;
}
.dragbar div{
    height:100%;
    width: 2px;
    padding-left: 2px;
    background: var(--font-light-gray-color);
}
#ghostbar{
    width:3px;
    background-color:#000;
    opacity:0.5;
    position:absolute;
    cursor: col-resize;
    z-index:999
}

.wrap-anywhere {
    overflow-wrap: anywhere;   /* zawija w dowolnym miejscu gdy trzeba */
    word-break: break-word;    /* fallback dla starszych przeglądarek */
    hyphens: auto;             /* opcjonalnie: łączy z dzieleniem wyrazów */
    white-space: normal;       /* pewność, że zawijanie jest włączone */
}