html.white-background {
    background-color: #ffffff !important;
}
html.light-gray-background {
    background-color: #eee !important;
}
.body_wrapper {
    min-height: 100%;
    margin: 0 auto;
    position: relative;
    width: 100%;
}
hr {
    height: 0;
    border-top: 1px solid lightgray;
    margin: 5px 15px;
}
hr {
    background-color: lightgray;
    height: 1px;
}
.grayed-item {
    color: #a2a2a2;
}
.overflow-hidden {
    overflow: hidden !important;
}
.clear {clear: both !important; height: 1px !important; margin-bottom: -1px !important; font-size: 1px;}
.dashboard-content .columns {
    margin: 0;
    padding: 0;
}
.dashboard-content h2 {
    font-weight: bold;
    font-size: 20px;
    color: #26a;
}

.dashboard-content .columns.header-div {
    width: 100%;
    /*position: fixed;*/
    /*top: 0;*/
    z-index: 10;
    background: #028da4;
    margin: 0;
    padding: 0;
}
.dashboard-content .header-div > div {
    margin: 0;
    padding: 0;
}
.dashboard-content .header-elements {
    position: absolute;
    top: 15px;
    right: 20px;
    color: white;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.dashboard-content .header-elements .header-signature {
    color: white;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-weight: bold;
    text-align: right;
    margin-right: 30px;
}
.dashboard-content .header-logo-div {
    z-index: 1;
    min-height: 110px;
}
.dashboard-content .header-logo-div a {
    display: block;
}
.dashboard-content .logo-img {
    width: auto;
    height: 107px;
}


.dashboard-content .top-home-link > a {
    border-radius: 5px;
    display: block;
    padding: 0;
    width: 110px;
    border: 1px solid #6ec2d5;
    line-height: 30px;
    max-width: 150px;
    text-align: center;
    height: 30px;
    box-shadow: 0px 2px 2px #237081;
    margin: 10px 10px 10px 0;
    background-color: #4abfd9;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
}


.dashboard-content .dashboard-edition {
    background:#fafafa;
    padding: 15px;
}
.dashboard-content .dashboard-edition .row {
    margin-top:20px;
}

.dashboard-content #id_filters_values {
    display: inline-block;
    font-size: 17px;
    margin: 0 10px;
}
.dashboard-content #id_filters_values > label {
    font-weight: bold;
    font-size: 19px;
}
.dashboard-content #id_filters_values > span {
    font-size: 16px;
}
.dashboard-content #id_filters_values > span > span  {
    font-weight: normal;
}
.dashboard-content #id_filters_values > span > span > span {
    font-weight: bold;
    text-transform: uppercase;
}
.dashboard-content #id_filters_values input {
    min-width: 300px;
    line-height: 30px;
    font-size: 16px;
    padding: 0 5px;
}
.dashboard-content .filter-elem {
    border: 1px solid #4999a7;
    margin: 0 0px;
    padding: 3px 3px 3px 5px;
    white-space: nowrap;
}
.dashboard-content .filter-elem  a {
    margin: 0px 3px 0px 3px;
    line-height: 30px;
    /* height: 10px; */
    /* font-size: 14px; */
    font-weight: bold;
    padding: 0px 4px 5px 4px;
    color: #c95d5d;
}

.dashboard-content .dashboard-edition input,
.dashboard-content .dashboard-edition select,
.dashboard-content .dashboard-edition textarea {
    padding: 8px;
    border: 1px solid #00aeee;
    border-radius: 0;
}
.dashboard-content .dashboard-edition input[disabled],
.dashboard-content .dashboard-edition select[disabled],
.dashboard-content .dashboard-edition textarea[disabled] {
    border: 1px solid #a2a2a2;
    color: #a2a2a2;
}
.dashboard-content .dashboard-edition .disabled .select:not(.is-multiple):not(.is-loading)::after {
    border-color: #a2a2a2;
}


.dashboard-content .dashboard-edition .search-org-field {
    position: relative;
}
.dashboard-content .dashboard-edition .search-org-field .select2-hidden-accessible {
    width: 100% !important;
    height: 169px !important;
}
.dashboard-content .dashboard-edition .search-org-field span.select2.select2-container {
    width: 100% !important;
}
.dashboard-content .dashboard-edition .select2-container--default .select2-selection--single {
    border: 1px solid #00aeee;
}
.dashboard-content .dashboard-edition .disabled .select2-container--default .select2-selection--single {
    border: 1px solid #a2a2a2;
}
.dashboard-content .dashboard-edition .select2-hidden-accessible {
    width: 169px !important;
    height: 169px !important;
}
.dashboard-content .dashboard-edition span.select2.select2-container {
    width: 169px !important;
}
.dashboard-content .dashboard-edition .select2-container .select2-selection--single,
.dashboard-content .dashboard-edition .select2-container--default .select2-selection--single .select2-selection__rendered {
    height: 35px !important;
    border-radius: 0;
}
.dashboard-content .dashboard-edition .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 32px !important;
}
.dashboard-content .dashboard-edition .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 32px;
}
.dashboard-content .dashboard-edition .select2-results__message {
    display: none !important;
}
.dashboard-content .dashboard-edition .lead-datagrid .search-filter-block .datagrid-filter .filter-selector2 {
    font-size: 14px;
    margin-bottom: 10px;
}
.dashboard-content .dashboard-edition .pac-container, .pac-item {
    width: inherit !important;
}
.dashboard-content .dashboard-edition .select2-width-100-percent .control {
    position: relative;
}
.dashboard-content .dashboard-edition .select2-width-100-percent .select2-hidden-accessible,
.dashboard-content .dashboard-edition .select2-width-100-percent span.select2.select2-container {
    width: 100% !important;
}
.dashboard-content .dashboard-edition .select2-container .select2-selection--single .select2-selection__rendered {
    white-space: unset !important;
    word-break: break-all;
}
.dashboard-content .dashboard-edition .select2-container--default.select2-container--disabled .select2-selection--single {
    background-color: lightgray !important;
}
.dashboard-content .dashboard-edition .select2-dropdown.select2-dropdown--below.dropdown-is-400 {
    width: 400px !important;
}

/* Checkbox additional fields */
.dashboard-content .dashboard-edition .columns.line-inputs.checkboxes .column .add-dimention span {
    height: 34px;
}
.dashboard-content .dashboard-edition .columns.line-inputs.checkboxes .column .field-label {
    min-width: 100px;
    text-align: left;
}
.dashboard-content .dashboard-edition .columns.line-inputs .column .add-dimention input[type="text"] {
    width: 100%;
}
.dashboard-content .dashboard-edition .columns.line-inputs.checkboxes .column .add-dimention span i {
    cursor: pointer;
    pointer-events: visible;
}
.dashboard-content .dashboard-edition .other-fields .column {
    position: relative;
    padding: 0 !important;
}
.dashboard-content .dashboard-edition .other-fields .column input[type="text"] {
    width: 100%;
}
.dashboard-content .dashboard-edition .other-fields .column select {
    padding-left: 2px;
    padding-right: 2px;
}
.dashboard-content .dashboard-edition .multiple-options {
    width: 100%;
    overflow-x: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    border: 1px solid #499ebf;
}
.dashboard-content .dashboard-edition .multiple-options.disabled {
    border: 1px solid #a2a2a2;
}
.dashboard-content .dashboard-edition .multiple-options-name {
    white-space:nowrap;
    border: 1px solid #499ebf;
    padding: 0 0 0 5px;
    font-weight: bold;
    line-height:20px;
    margin: 2px 3px;
}
.dashboard-content .dashboard-edition .multiple-options-name > a {
    border: 1px solid #f00;
    padding: 0px 3px;
    color: #f00;
    margin: 0 0 0 5px;
    font-size: 17px;
    font-weight: bold;
    line-height: 23px;
}
.dashboard-content .dashboard-edition .multiple-options.disabled .multiple-options-name,
.dashboard-content .dashboard-edition .multiple-options.disabled .multiple-options-name > a {
    border: 1px solid #a2a2a2;
    color: #a2a2a2;
    cursor: default;
}

.dashboard-content .dashboard-edition input[type="text"] {
    width: 169px;
}
.dashboard-content .dashboard-edition input[type="text"].to-uppercase {
    text-transform: uppercase;
}
.dashboard-content .dashboard-edition input[type="text"] {
    width: 169px;
}
.dashboard-content .dashboard-edition input[type="text"].small-width,
.dashboard-content .dashboard-edition select.small-width {
    width: 110px;
}
.dashboard-content .dashboard-edition input[type="text"].medium-width,
.dashboard-content .dashboard-edition select.medium-width {
    width: 179px;
}
.dashboard-content .dashboard-edition input[type="text"].large-width,
.dashboard-content .dashboard-edition select.large-width {
    width: 210px;
}
.dashboard-content .dashboard-edition input[type="text"].extra-large-width,
.dashboard-content .dashboard-edition select.extra-large-width {
    width: 360px;
}
.dashboard-content .dashboard-edition input[type="text"].super-large-width,
.dashboard-content .dashboard-edition select.super-large-width {
    width: 470px;
}
.dashboard-content .dashboard-edition .input-width-100-percent .field-body .field .control input {
    width: 100%;
}
.dashboard-content .dashboard-edition .read-only label,
.dashboard-content .dashboard-edition .disabled label {
    color: #a2a2a2;
}
.dashboard-content .dashboard-edition input.long-field,
.dashboard-content .dashboard-edition .select2-long-field {
    width: 320px;
}
.dashboard-content .dashboard-edition input[type=radio] {
    margin-right: 10px;
}

.dashboard-content .f_required,
.dashboard-content .f_required > b {
    color: red;
}
.dashboard-content .dashboard-edition .columns {
    margin-bottom: 0px;
}
.dashboard-content .dashboard-edition .column {
    padding: 5px;
}


.dashboard-content .column {
    padding: 5px;
}
.dashboard-content .table_header th * {
    color: #fff;
}
.dashboard-content .table_block {
    background: #eee;
    padding: 5px;
    position: relative;
}
.dashboard-content .columns .table_block table td,
.dashboard-content .columns .table_block table th {
    border: 1px solid #8be1ef;
}
.dashboard-content .columns .table_block.white-border table td,
.dashboard-content .columns .table_block.white-border table th {
    border: 1px solid #ffffff !important;
}
.dashboard-content .columns .table_block.no-border table td,
.dashboard-content .columns .table_block.no-border table th {
    border: 0 !important;
}
.dashboard-content .columns .table_block table thead.table_header th {
    background-color: #24a5ba;
    min-width: 60px;
}
.dashboard-content .columns .table_block .filter_block .filter_list label {
    margin: 0px 0px 0px 0px;
}
.dashboard-content .columns .table_block .filter_block .filter_list {
    /*padding-bottom: 10px;*/
    margin-left: 15px;
}
.dashboard-content .columns .table_block .filter_block .filter_list label input[type="text"],
.dashboard-content .columns .table_block .filter_block .filter_list label select {
    height: 25px;
    margin-left: 0;
}
.dashboard-content .columns .table_block .filter_block .filter_list .find {
    background-color: #24a5ba;
}
.dashboard-content .filter-statuses > p {
    margin: 3px 10px;
    font-weight: bold;
}

.dashboard-content table.has-sticky-header {
    border-collapse: collapse;
}
.dashboard-content .columns .table_block table thead.table_header th.narrow-selection {
    min-width: 20px !important;
}
.dashboard-content .columns .table_block table thead.table_header th.max-width-60 {
    max-width: 60px !important;
}
.dashboard-content .columns .table_block table thead.table_header th.max-width-65 {
    max-width: 65px !important;
}
.dashboard-content .columns .table_block table thead.table_header th.min-width-70 {
    min-width: 70px !important;
}
.dashboard-content .columns .table_block table thead.table_header th.max-width-75 {
    max-width: 75px !important;
}
.dashboard-content .columns .table_block table thead.table_header th.just-width-160 {
    width: 160px !important;
}
.dashboard-content .columns .table_block table thead.table_header th.no-upper-case div {
    text-transform: unset !important;
}
.dashboard-content .columns .table_block table tbody td.equal-text h1,
.dashboard-content .columns .table_block table tbody td.equal-text h2,
.dashboard-content .columns .table_block table tbody td.equal-text h3,
.dashboard-content .columns .table_block table tbody td.equal-text p {
    font-size: 12px;
    color: black;
}

.dashboard-content .columns .table_block .table_box .pager > .links > span.link {
    background-color: #24a5ba;
}
.dashboard-content .columns .table_block table tbody.rows tr td {
    word-break: break-word;
    /*text-transform: uppercase;*/
}
.dashboard-content .columns .table_block table tbody.rows tr td .fn_box {
    word-break: normal !important;
    padding-top: 4px;
    padding-bottom: 4px;
}
.dashboard-content .display-none {
    display:none !important;
}
.dashboard-content .columns .table_block table tbody.rows tr td .editable {
    position: relative;
    height: 24px;
    display: flex;
}
.dashboard-content .columns .table_block table tbody.rows tr td .editable input[type="text"] {
    width: calc(100% - 48px);
}
.dashboard-content .columns .table_block table tbody.rows tr td .editable button {
    width: 48px;
    padding: 0;
    cursor: pointer;
}
.dashboard-content .columns .table_block table tbody.rows tr td .editable button[disabled] {
    cursor: default;
}
.dashboard-content .columns table tbody tr.border-bottom-lightgray-2 {
    border-bottom: 2px solid lightgray !important;
}
.dashboard-content .column .table_block .filter_block .filter_list .find {
    line-height: 20px;
    padding: 5px 15px;
    margin: 10px;
}
.dashboard-content .table_block .filter_block .filter_list > div.columns {
    padding: 0 0 5px 0;
}
.dashboard-content .table-top-buttons {
    /*float: left;*/
}
.dashboard-content table tbody tr.datagrid-row-status-neutral td,
.dashboard-content .filter-statuses .datagrid-row-status-neutral {
    background: #ffffff;
}
.dashboard-content table tbody tr.datagrid-row-status-closed td,
.dashboard-content .filter-statuses .datagrid-row-status-closed {
    background: #b3b3b3;
}
.dashboard-content table tbody tr.datagrid-row-status-colored td,
.dashboard-content .filter-statuses .datagrid-row-status-colored {
    background: #24a5ba !important;
}
.dashboard-content table tbody tr.datagrid-row-status-warning td,
.dashboard-content .filter-statuses .datagrid-row-status-warning {
    background: #ffefae;
}
.dashboard-content table tbody tr.datagrid-row-status-error td,
.dashboard-content .filter-statuses .datagrid-row-status-error {
    background: #ffaeae;
}
/*.dashboard-content .datagrid_func_class a.blue-button.small {
    display: inline;
    line-height: 16px !important;
}*/
.dashboard-content table tr td a.blue-button.small.item-action {
    display: inline-table;
    padding: 0 5px;
}
.dashboard-content .table_block.lead-datagrid .filter_block.visible.search-filter-block {
    width: 700px;
    position: absolute;
    background: #efefef;
    left: calc(50% - 350px);
    top: 30px;
    z-index: 10;
    border: 1px solid #aaa;
}
.dashboard-content .table_block.lead-datagrid .filter_block.visible.search-filter-block.small-width {
    width: 385px;
    left: calc(50% - 192px);
}
.dashboard-content .table_block.lead-datagrid .filter_block.visible.search-filter-block {
    width: 700px;
    position: absolute;
    background: #efefef;
    left: calc(50% - 350px);
    top: 30px;
    z-index: 10;
    border: 1px solid #aaa;
}
.dashboard-content .table_block.lead-datagrid .filter_block.visible.search-filter-block.small-width {
    width: 385px;
    left: calc(50% - 192px);
}
.dashboard-content .datagrid-filter-btns {
    width:350px;
}
.dashboard-content .datagrid-filter-btns .clear-filter {
    float: left !important;
}
.dashboard-content .search-filter-block > .filter-left-column {
    width: 250px;
    float: left;
}
.dashboard-content .search-filter-block > .filter-left-column .filter-checkboxes {
    padding: 10px;
}
.dashboard-content .search-filter-block > .filter-left-column .filter-checkboxes input[type=checkbox] {
    margin-right: 10px;
    cursor: pointer;
}
.dashboard-content .search-filter-block > .filter-left-column .filter-checkboxes label {
    cursor: pointer;
}
.dashboard-content .filter-statuses > a:hover {
    text-decoration: underline;
}
.dashboard-content .filter-statuses > a {
    display: block;
    width: 95%;
    border: 1px solid #9cd1e5;
    background: #41d2df;
    color: #fff;
    padding: 0px 0px 0px 10px;
    line-height: 25px;
    margin: 6px 10px;
    border-radius: 1px;
}
.dashboard-content .filter-statuses span {
    cursor: pointer;
    margin: 0px 2px;
    padding: 2px;
}
.dashboard-content .search-filter-block > .filter_list {
    width: 400px !important;
    float: left;
}
.dashboard-content .lead-datagrid .search-filter-block .datagrid-filter label {
    width:100% !important;
}
.dashboard-content .lead-datagrid .search-filter-block .datagrid-filter label span {
    width:100% !important;
}
.dashboard-content .lead-datagrid .search-filter-block .datagrid-filter label input:not([type="checkbox"]),
.dashboard-content .lead-datagrid .search-filter-block .datagrid-filter label select
{
    width: 350px !important;
}
.dashboard-content .lead-datagrid .search-filter-block .datagrid-filter label input:not([type="checkbox"]).half,
.dashboard-content .lead-datagrid .search-filter-block .datagrid-filter label select.half
{
    width: 175px !important;
}
.dashboard-content .lead-datagrid .search-filter-block .datagrid-filter label.half-5 input:not([type="checkbox"]),
.dashboard-content .lead-datagrid .search-filter-block .datagrid-filter label.half-5 select,
.dashboard-content .lead-datagrid .search-filter-block .datagrid-filter label.half-5 span.select2.select2-container
{
    width: 170px !important;
}
.dashboard-content .lead-datagrid .search-filter-block .datagrid-filter label input[type="checkbox"] {
    margin-left: 10px;
    cursor: pointer;
}
.dashboard-content .lead-datagrid .search-filter-block .datagrid-filter span.select2.select2-container {
    width: 350px !important;
}
.dashboard-content .lead-datagrid .search-filter-block .datagrid-filter .select2-container--default .select2-selection--single span.select2-selection__arrow {
    width: 20px !important;
}
.dashboard-content .lead-datagrid .search-filter-block .datagrid-filter .select2-container--default .select2-selection--single .select2-selection__rendered,
.dashboard-content .lead-datagrid .search-filter-block .datagrid-filter .select2-container .select2-selection--single {
    height: 25px !important;
    line-height: 24px !important;
}
.dashboard-content .lead-datagrid .search-filter-block .datagrid-filter .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 26px !important;
}


.dashboard-content .popup-overlay {
    z-index: 9000 !important;
}
.dashboard-content .popup-overlay > .simple-popup-content,
.dashboard-content .popup-overlay > .simple-popup {
    width: 860px !important;
    min-height: 120px;
    box-sizing: content-box;
    padding: 0 !important;
}

.dashboard-content .popup-overlay > .email-popup-content,
.dashboard-content .popup-overlay > .bulk-email-popup-content {
    width: 1200px !important;
    height: 720px !important;
}
.dashboard-content .email-popup-content .popup-body {
    /*max-height: 720px;*/
}
.dashboard-content .popup-overlay.simple-popup.email-popup-overlay {
    z-index: 1060 !important;
}
.dashboard-content .email-popup-content .btn-email-send > a,
.dashboard-content .bulk-sms-popup-content .btn-email-send > a
{
    margin: 0px 10px;
    line-height: 20px;
}

/*.popup-overlay > .success-popup-content{
	height: 120px;
}*/
.dashboard-content .top-corner-close-button {
    position: absolute;
    top: -27px;
    right: -1px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border: 1px solid #aaa;
    cursor: pointer;
}
.dashboard-content .success-popup-content .popup-body,
.dashboard-content .error-popup-content .popup-body {
    /*max-height: 120px;*/
    padding: 10px;
}
.dashboard-content .popup-overlay > .activity-list-content {
    width: 1400px !important;
    height: 700px !important;
}
.dashboard-content .accept-popup-overlay {
    z-index: 99999;
}
.dashboard-content .popup-overlay > .accept-popup-content {
    width: 650px !important;
    min-height: 150px;
    box-sizing: content-box;
    padding: 0 !important;
}
.dashboard-content .popup-overlay > .accept-popup-content .accept-popup-body {
    padding: 10px;
}
.dashboard-content .popup-overlay > .accept-popup-content .accept-popup-body .accept-popup-text {

}
.dashboard-content .popup-overlay > .accept-popup-content .accept-popup-body .accept-popup-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 50px;
    margin-top: 20px;
}
.dashboard-content .popup-overlay > .accept-popup-content .accept-popup-body .accept-popup-buttons button {
    margin: 0 10px;
}
.dashboard-content .popup-overlay > .damage-complaints-details-popup-content,
.dashboard-content .popup-overlay > .damage-complaints-photos-popup-content,
.dashboard-content .popup-overlay > .news-details-popup-content {
    width: 1200px !important;
    box-sizing: content-box;
    padding: 0 !important;
}
.dashboard-content .popup-overlay > .news-details-popup-content p:not(:last-child),
.dashboard-content .popup-overlay > .news-details-popup-content h1:not(:last-child),
.dashboard-content .popup-overlay > .news-details-popup-content h2:not(:last-child),
.dashboard-content .popup-overlay > .news-details-popup-content h3:not(:last-child) {
    margin-bottom: 15px;
}
.dashboard-content .popup-overlay > .service-popup-content .popup-body {
    max-height: 700px;
    overflow-y: scroll;
}
.dashboard-content .popup-overlay > .org-lead-rates-popup-content .popup-body,
.dashboard-content .popup-overlay > .mass-shipment-dimensions-content .popup-body {
    max-height: 800px;
    overflow-y: scroll;
}
.dashboard-content .popup-overlay > .stat-shipment-list-popup-content {
    width: 650px !important;
}
.dashboard-content .popup-overlay > .stat-shipment-list-popup-content .popup-body {
    max-height: 500px;
    overflow-y: scroll;
}


.dashboard-content .green-btn,
.dashboard-content .green-btn-2,
.dashboard-content .yellow-btn {
    display: inline-block;
    line-height: 30px;
    padding: 1px 27px;
    color: #fff;
    border-radius: 3px;
    text-align: center;
}
.dashboard-content .green-btn {
    font-weight: bold;
    margin: 5px;
    background: #24a5ba;
    border: 1px solid #3b8d91;
    box-shadow: 0px 2px 2px #727676;
}
.dashboard-content .green-btn-2 {
    background: #17a82b;
    border: 1px solid #168825;
}
.dashboard-content .yellow-btn {
    background: #e0b940;
    border: 1px solid #c59d21;
}
.dashboard-content .green-btn:hover,
.dashboard-content .green-btn-2:hover,
.dashboard-content .yellow-btn:hover {
    color: #fff;
    box-shadow: 0px 1px 2px #727676;
}
.dashboard-content .green-btn.light {
    background-color: #4abfd9;
}
.dashboard-content .white-btn {
    display: inline-block;
    line-height: 30px;
    padding: 1px 27px;
    background: white;
    color: #24a5ba;
    font-weight: bold;
    border-radius: 3px;
    border: 1px solid #3b8d91;
    box-shadow: 0px 2px 2px #727676;
    margin: 5px;
}
.dashboard-content .button.disabled {
    background-color: lightgray;
    color: gray;
}
.dashboard-content .blue-button {
    background-color: #4abfd9;
}
.dashboard-content .red-button {
    background-color: rgba(207, 20, 43);
}
.dashboard-content .blue-button.docs.pending {
    background-color: #e8c34b !important;
}
.dashboard-content .blue-button.docs.sent {
    background-color: #ec8989 !important;
}
.dashboard-content .blue-button.docs.signed {
    background-color: #43dc60 !important;
}
.dashboard-content .blue-button.disabled,
.dashboard-content .green-btn.disabled,
.dashboard-content .green-btn-2.disabled,
.dashboard-content .yellow-btn.disabled,
.dashboard-content .red-button.disabled,
.dashboard-content .blue-button[disabled],
.dashboard-content .green-btn[disabled],
.dashboard-content .green-btn-2[disabled],
.dashboard-content .yellow-btn[disabled],
.dashboard-content .red-button[disabled] {
    background-color: #c7c7c7 !important;
    cursor: default !important;
}
.dashboard-content .blue-button.service-button {
    background-color: #3399ee !important;
}
.dashboard-content .blue-button.stop-cw-emails {
    background-color: #d7b64d !important;
}
.dashboard-content .blue-button.stop-cw-emails.stopped {
    background-color: gray !important;
}
.dashboard-content .blue-button.stop-cw-emails.stopped:hover {
    color: white;
    text-decoration: unset;
    cursor: default;
}
.dashboard-content .blue-button.white-text,
.dashboard-content .red-button.white-text {
    color: white;
}
.dashboard-content .small {
    border-radius: 2px;
    border: 1px solid #6ec2d5;
    line-height: 22px;
    text-align: center;
    height: 22px;
    box-shadow: 0px 1px 2px #237081;
    margin: 4px 2px 4px 0;
    color: #fff;
    font-weight: bold;
    font-size: 13px;
    width: max-content;
    padding: 2px 5px;
}
.dashboard-content .small.button_close {
    height: 26px;
    line-height: 26px;
    display: inline-block;
    width: 100px;
    font-size: 15px;
}
.dashboard-content .dark-blue-button {
    background-color: #618ed3;
    border: 1px solid #618ed3;
    color: white;
}
.dashboard-content .white-button {
    background-color: white;
    color: #4abfd9;
}
.dashboard-content .white-button.selected {
    box-shadow: 0 2px 4px #237081;
}
.dashboard-content .purple-button {
    background-color: #945ad2;
    border: 1px solid #945ad2;
    color: white;
}

.dashboard-content .blue-button:hover,
.dashboard-content .red-button:hover,
.dashboard-content .green-btn-2:hover,
.dashboard-content .yellow-btn:hover {
    text-decoration: underline;
}
.dashboard-content .blue-button.disabled:hover,
.dashboard-content .green-btn.disabled:hover,
.dashboard-content .green-btn-2.disabled:hover,
.dashboard-content .yellow-btn.disabled:hover,
.dashboard-content .red-button.disabled:hover,
.dashboard-content .blue-button[disabled],
.dashboard-content .green-btn[disabled],
.dashboard-content .green-btn-2[disabled],
.dashboard-content .yellow-btn[disabled],
.dashboard-content .red-button[disabled] {
    text-decoration: none;
    color: #fff;
}


.dashboard-content .stats-table-block {
    position: relative;
    width: 100%;
    background: white;
}
.dashboard-content .stats-table-block table {
    width: 100%;
}
.dashboard-content .stats-table-block .filter-selector {
    padding: 3px;
    cursor: pointer;
}
.dashboard-content .stats-table-block .filter-selector.width-140 {
    width: 140px;
}
.dashboard-content .stats-table-block .filter-selector.width-200 {
    width: 200px;
}
.dashboard-content .stats-table-block .filter-selector.width-240 {
    width: 240px;
}
.dashboard-content .stats-table-block .filter-button {
    padding: 3px 18px;
    cursor: pointer;
}
.dashboard-content .stats-table-block .filter-button:disabled {
    cursor: default;
}
.dashboard-content .stats-table-block .table-container {
    overflow-y: auto;
    max-height: 600px;
    width: 100%;
}
.dashboard-content .stats-chart-block {
    position: relative;
    width: 100%;
}
.dashboard-content .stats-chart-block .top-filters-block {
    position: relative;
    width: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: left;
    padding: 3px;
}
.dashboard-content .stats-table-block table thead th div {
    position: relative;
    width: fit-content;
    height: 100%;
    padding-right: 20px;
    box-sizing: border-box;
    white-space: nowrap;
    text-transform: uppercase;
    user-select: none;
}
.dashboard-content .stats-table-block table thead th.sortable {
    cursor: pointer;
    user-select: none;
}
.dashboard-content .stats-table-block table thead th.sortable.asc div:after,
.dashboard-content .stats-table-block table thead th.sortable.desc div:after {
    display: block;
    position: absolute;
    right: 1px;
    top: -2px;
    font-weight: bold;
    font-size: 20px;
}
.dashboard-content .stats-table-block table thead th.sortable.asc div:after {
    content: '\21E7';
}
.dashboard-content .stats-table-block table thead th.sortable.desc div:after {
    content: '\21E9';
}
.dashboard-content .stats-table-block.blue-header table thead th {
    background-color: #24a5ba;
    color: white;
}
.dashboard-content .stats-table-block.compressed-table table thead th,
.dashboard-content .stats-table-block.compressed-table table tbody td {
    padding: 4px 5px;
    font-size: 14px;
    line-height: 16px;
}
.dashboard-content .stats-table-block .bg-dark,
.dashboard-content .stats-chart-block .bg-dark {
    background-color: #2e323a;
    color: #348c9a;
}


.dashboard-content .has-error, .dashboard-content .has-error-text {
    color: red;
}

.dashboard-content .has-error input, .dashboard-content .has-error select, .dashboard-content .has-error textarea {
    border: 1px solid #f00;
}

.dashboard-content input.error, .dashboard-content select.error {
    border: 1px solid #f00 !important;
}

.dashboard-content .tabs.projects-menu a {
    padding: 10px 15px;
}

/* Custom Collapsible */
.custom-collapsible-container {
    background-color: #f1f1f1;
    border: 1px solid lightgray;
    margin-bottom: 10px;
    border-radius: 3px;
}
.custom-collapsible-container .custom-collapsible-header {
    position: relative;
    font-weight: bold;
    padding: 10px 10px 10px 35px;
    background-color: lightgray;
    border-radius: 3px;
    cursor: pointer;
}
.custom-collapsible-container.small-version .custom-collapsible-header {
    padding: 3px 3px 3px 30px;
    font-size: 15px;
}
.custom-collapsible-container > .custom-collapsible-header::before {
    position: absolute;
    content: '';
    top: calc(50% - 4px);
    left: 14px;
    width: 8px;
    height: 8px;
    background: transparent;
    border: 2px solid #545454;
    border-width: 0 2px 2px 0;
    transform: rotate(-45deg);
}
.custom-collapsible-container.small-version > .custom-collapsible-header::before {
    top: calc(50% - 5px);
    left: 10px;
}
.custom-collapsible-container.is-active > .custom-collapsible-header::before {
    transform: rotate(45deg);
}
.custom-collapsible-container > .custom-collapsible-body {
    border-radius: 0 0 5px 5px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 250ms ease;
}
.custom-collapsible-container.is-active > .custom-collapsible-body {
    max-height: 2000px;
}


/* MAD style */
html.mad-style, html.mad-style .body_wrapper.dashboard-content {
    background-color: #ffffff !important;
}
html.mad-style .dashboard-content .table_block table thead.table_header th {
    background-color: #e86926 !important;
    min-width: 60px !important;
}
html.mad-style .dashboard-content .table_block table .blue-button {
    background-color: #b2b2b2 !important;
    border: 1px solid #909090 !important;
    box-shadow: 0px 1px 2px #b2b2b2 !important;
}
html.mad-style .dashboard-content .table-top-buttons .filter-elem {
    border: 1px solid #e86926 !important;
}
html.mad-style .dashboard-content .table_block .table_box .pager > .links > span.link {
    background-color: #e86926 !important;
}
html.mad-style .dashboard-content .table_block table tbody.rows tr.datagrid-row-status-error td {
    background-color: #eaa784 !important;
}
html.mad-style .dashboard-content .table_block table tbody.rows tr.datagrid-row-status-warning td {
    background-color: #ffefae !important;
}
html.mad-style .dashboard-content .table_block table th,
html.mad-style .dashboard-content .table_block table td {
    border: 1px solid white !important;
}
html.mad-style .dashboard-content .table_block table tbody.rows tr:hover,
html.mad-style .dashboard-content .table_block table tbody.rows tr:hover td
{
    background-color: #eaeaea !important;
}
html.mad-style .dashboard-content .table_block table tbody.rows tr.datagrid-row-status-colored td,
html.mad-style .dashboard-content .filter-statuses .datagrid-row-status-colored {
    background: #e86926 !important;
}


@media screen and (min-width: 1024px) {
    .dashboard-content .menu-logout-link,
    .dashboard-content .menu-profile-link {
        display: none !important;
    }
}

@media screen and (max-width: 1023px) {
    .dashboard-content .logo-img {
        width: auto;
        height: 90px !important;
    }
    .dashboard-content .header-logo-div {
        min-height: 90px;
    }
    .dashboard-content .header-elements {
        top: 0 !important;
    }
    .dashboard-content .header-elements .header-signature {
        display: none !important;
    }
}
@media screen and (max-width: 794px) {
    .table_block.lead-datagrid .filter_block.visible.search-filter-block {
        width: unset !important;
        left: 0 !important;
        right: 0 !important;
    }
}
