.form-control {
    border-radius: 0 !important;
    font-size: 14px !important;
}

.card-header,
.card-header h3 {
    font-size: 16px !important;
}

.btn-close {
    background: none;
}

.ml-1 {
    margin-left: 5px;
}

.ml-2 {
    margin-left: 10px;
}


.ml-3 {
    margin-left: 15px;
}

.ml-4 {
    margin-left: 20px;
}

.mr-1 {
    margin-right: 5px;
}

.mr-2 {
    margin-right: 10px;
}


.mr-3 {
    margin-right: 15px;
}

.mr-4 {
    margin-right: 20px;
}

select * {
    font-family: var(--bs-font-sans-serif);
}

.pointer {
    cursor: pointer !important;
}

.small {
    font-size: 12px;
}

.datagrid th {
    cursor: pointer;
}

.table caption {
    background-color: #212529 !important;
    color: white;
    text-align: center;
    border-bottom: 4px solid #198754;
}

.table .items {
    padding-left: 0;
    list-style: none;
    font-size: 11px;
}

/* .table .items li{

}

.column-active{

} */


.float-right {
    float: right;
}

.float-left {
    float: left;
}

.datagrid caption {
    border: 1px solid var(--bs-table-striped-bg);
    border-bottom: 0;
}

.datagrid th.action,
.datagrid td.action {
    text-align: center;
    vertical-align: center;
    max-width: 130px;
    min-width: 130px;
    width: 130px !important;
}

.sm {
    font-size: 14px !important;
}

.datagrid_end {
    padding: 10px;
    width: 100%;
    text-align: center;
}

.toast,
.toast-header {
    border-radius: 0;
}

.hidden {
    display: none;
}


#field_master_search:disabled {
    cursor: wait;
}

#loader_master_search {
    display: none;
    color: white !important;
}

.modal-full {
    max-width: 95% !important;
    width: 95% !important;
}

.format_success {
    border: 1px solid green !important;
}

.format_error {
    border: 1px solid red !important
}

.format_error_msg {
    color: red;
}

.field-edit {
    /* min-height: 50px;
    height:50px; */
    display: inline-block;
}

select.field-edit {
    text-align: left !important;
}

.input-group-text {
    border-radius: 0px;
    font-size: 13px !important;
}

.btn {
    font-size: 13px !important;
}

.sf-toolbar {
    display: none !important;
}

.input-state {
    height: 40px;
}

#area_controller .nav-item {
    font-size: 16px;
}

#area_controller .nav-item .nav-link {
    padding-left: 10px;
    padding-right: 10px;
    color: #7a7f84;
}

#area_controller {
    padding-bottom: 15px;
}


.field-price {
    min-width: 120px !important;
    max-width: 120px !important;
}

/* .draggable { } */
.droppable.hovered {
    background-color: gray !important;
}

.cell-datetime {
    font-size: 13px !important;
}

.store-ico img {
    width: 32px !important;
    border-radius: 100%;
}

/*
  _____ _      ______ __  __          _____ _      
 / ____| |    |  ____|  \/  |   /\   |_   _| |     
| |    | |    | |__  | \  / |  /  \    | | | |     
| |    | |    |  __| | |\/| | / /\ \   | | | |     
| |____| |____| |____| |  | |/ ____ \ _| |_| |____ 
 \_____|______|______|_|  |_/_/    \_\_____|______|
 L.Rosset : 2024-04
 */

[data-clemail="history-card-body"] {
    max-height: 300px;
    overflow-y: auto;
}

[data-clemail="order"] [data-clemail="information"],
[data-clemail="order"] [data-clemail="execution"],
[data-clemail="order"] [data-clemail="result"] {
    display: none;
}

[data-clemail="order"] [data-clemail="result"] td {
    font-style: italic;
}

[data-clemail="order"] [data-clemail="execution"] [data-clemail="run"],
[data-clemail="order"] [data-clemail="execution"] [data-clemail="cancel"] {
    width: 100%;
    float: left;
    margin: 2px;
}

[data-clemail="order"] [data-clemail="execution"] [data-clemail="run"] {
    background-color: red;
    color: white;
    border-color: red;
    border-radius: 3px;
    border-style: solid;
    -moz-transition: all .5s ease-in;
    -o-transition: all .5s ease-in;
    -webkit-transition: all .5s ease-in;
}

[data-clemail="order"] [data-clemail="execution"] [data-clemail="run"]:hover {
    background-color: darkred;
    color: yellow;
    border-color: red;
    border-radius: 3px;
    border-style: solid;
    -moz-transition: all .5s ease-in;
    -o-transition: all .5s ease-in;
    -webkit-transition: all .5s ease-in;
}

[data-clemail="order"] [data-clemail="execution"] [data-clemail="cancel"] {
    background-color: gray;
    color: white;
    border-top-color: lightgray;
    border-left-color: lightgray;
    border-right-color: grey;
    border-bottom-color: grey;
    border-style: solid;
}

/* Clemail History */

[data-clemail="history"] span.date {
    font-size: 14px;
    font-weight: 300;
    color: black;
    line-height: 14px;
}

[data-clemail="history"] span.time {
    font-size: 24px;
    font-weight: 200;
    color: grey;
    line-height: 24px;
}

[data-clemail="history"] span.op {
    font-size: 24px;
    color: grey;
    font-weight: 100;
}

[data-clemail="history"] span.meta {
    font-size: 11px;
    color: darkslategray;
    font-weight: 200;
}

[data-clemail="history"] span.timer {
    font-size: 11px;
    color: red;
    font-weight: 300;
}

[data-clemail="history"] span.meta bold {
    font-size: 11px;
    color: darkslategray;
    font-weight: 400;
}

[data-clemail="history"] span.status {
    font-size: 11px;
    color: darkslategray;
    font-weight: 400;
}

[data-clemail="history"] td.queue {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: white;
    background-color: orange;
    line-height: 14px;
    vertical-align: middle;
}

[data-clemail="history"] td button.cancel {
    cursor: pointer;
    text-align: center;
    width: 100%;
    font-size: 14px;
    font-weight: 600;
    font-style: bold;
    color: white;
    background-color: red !important;
    line-height: 14px;
    vertical-align: middle;
    border-style: solid;
    border-width: 0px;
    border-top-color: white;
    border-left-color: white;
    border-right-color: darkgray;
    border-bottom-color: darkgray;
    border-radius: 3px;
    padding: 5px;
}

[data-clemail="history"] td button.cancel:hover {
    color: yellow;
    background-color: red !important;
}


[data-clemail="history"] tr {
    border-style: solid;
    border-color: #EEEEEE;
    border-width: 1px;
}

[data-clemail="history"] tr.comment td {
    box-shadow: inset 0 10px 20px -20px rgba(0, 0, 0, 0.5);
}

[data-clemail="history"] tr td.loader {
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
}

[data-clemail="history"] tr.queued {
    /* background-color: #FEFEFE; */
    color: blue;
    border-left: 5px solid blue;
}

[data-clemail="history"] tr.canceled {
    /* background-color: #FEFEFE; */
    color: lightgray;
    border-left: 5px solid lightgray;
}

[data-clemail="history"] tr.processing {
    /* background-color: #FEFEFE; */
    color: purple;
    border-left: 5px solid purple;
}

[data-clemail="history"] tr.transmission {
    /* background-color: #FEFEFE; */
    color: orange;
    border-left: 5px solid orange;
}

[data-clemail="history"] tr.delivered {
    /* background-color: lightgreen; */
    color: green;
    border-left: 5px solid green;
}

[data-clemail="history"] tr.error {
    /* background-color: red; */
    color: red;
    border-left: 5px solid red;
}

[data-clemail="history"] tr.integration_ok {
    /* background-color: #FEFEFE; */
    color: green;
    border-left: 5px solid green;
}

[data-clemail="history"] tr.integration_ko,
[data-clemail="history"] tr.integration_ko td.comment {
    /* background-color: #FEFEFE; */
    color: red;
    border-left: 5px solid red;
}

[data-clemail="history"] tr.gap {
    padding: 0px;
    margin: 0px;
    background-color: transparent;
    line-height: 2px;
    white-space: nowrap;
}

.is-recall{
    color: rgba(0, 195, 255, 1) !important;
    font-weight: bold !important;
    font-size:14px;
}
.recall_incoming{
    border: 2px solid rgba(0, 195, 255, 1);
    border-left: 10px solid rgba(0, 195, 255, 1);
    background: linear-gradient(45deg, rgba(0, 195, 255, 0.3), rgba(0, 195, 255, 0.1));
    font-size:14px;
}
