﻿.d-body {
    transition: width 0.5s;
}

.d-left-menu {
    transition: width 0.5s;
    padding-top: 30px;
}

.d-app {
    position: relative;
}

.page-title {
    padding: 30px 20px;
    font-size: 20px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: -0.5px;
}

.number-items {
    font-size: 18px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 28px;
    letter-spacing: -0.45px;
}

/*--------------------------------------------------
    Scroll
  --------------------------------------------------*/
/* width */
::-webkit-scrollbar {
    width: 6px;
}

/* Track */
::-webkit-scrollbar-track {
    /*box-shadow: inset 0 0 5px grey;*/
    border-radius: 5.5px;
    background-color: #efefef;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #d3d5ef;
    border-radius: 5.5px;
}

/*--------------------------------------------------*/

/*--------------------------------------------------*/
/*--------------------------------------------------
    Forms
  --------------------------------------------------*/
.form-region {
    margin-bottom: 30px;
}

    .form-region .region-title {
        font-size: 14px;
        font-weight: bold;
        line-height: 2.29;
        margin-bottom: 10px;
        display: block;
        height: 32px;
    }

    .form-region .row {
        margin-bottom: 17px;
    }


.base-form-container {
    display: flex;
    flex-direction: column;
    width: 800px;
}

.form-container {
    display: flex;
    flex-wrap: wrap;
}

.entry {
    width: 100%;
    display: flex;
    flex-flow: column;
    /*padding: 0px 10px;*/
    position: relative;
    min-height: 65px;
    margin-bottom: 15px;
}

    .entry.entry-checkbox {
        height: 30px !important;
    }

.entry-title {
    height: 20px;
}

.two-columns {
    display: flex;
}

    .two-columns > div {
        width: 50%;
    }

.entry > div {
    width: 100% !important;
}

.entry label {
    font-size: 14px;
    font-weight: 500;
}

.entry input {
    /*    height: 36px;
    border: 1px solid;*/
    padding-left: 10px;
    /*    font-size: 13px;
    font-weight: 500;
    width: 100%;*/
}

    .entry input:focus {
        outline: 0px !important;
    }

    .entry input.input-validation-error {
        border: 1px solid red;
    }

.entry .text-danger {
    position: absolute;
    bottom: -17px;
}

.form-initiere-comanda .form-region {
    max-width: 500px;
}

/*.form-conditii-transport-data {
    max-width: 1000px;
}*/

/*--------------------------------------------------*/
/*--------------------------------------------------
    Buttons
  --------------------------------------------------*/
.region-buttons {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.primary-button {
    height: 36px;
    border-radius: 2px;
    font-weight: bold;
    letter-spacing: -0.4px;
    padding: 0 42px;
    border: 0px;
    outline: 0px;
}

.secondary-button {
    height: 36px;
    border-radius: 4px;
    font-weight: bold;
    letter-spacing: -0.4px;
    padding: 0 42px;
    border: 2px solid;
    outline: 0px;
    background-color: transparent;
}

/*--------------------------------------------------*/



/*--------------------------------------------------
    Checkbox
  --------------------------------------------------*/

.primary-checkbox-container {
    margin-bottom: 10px;
    position: relative;
    clear: left;
}

    .primary-checkbox-container label {
        margin-bottom: 0px;
        display: flex;
    }

    .primary-checkbox-container > label > input[type=checkbox] {
        margin-right: 10px;
        height: 16px;
        width: 16px;
        cursor: pointer;
    }

/*--------------------------------------------------*/


/*--------------------------------------------------
    Header Grid
  --------------------------------------------------*/

/*.header-grid {
    width: 100%;
    padding: 0px 15px 0 15px;
    min-height: 40px;
}*/

.header-grid {
    width: 100%;
    padding: 0px 15px 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px; /* DevExtreme DataGrid*/
}

    .header-grid .h-g-right-side {
        float: right;
        display: flex;
    }

    .header-grid .h-g-left-side {
        float: left;
    }

@media(max-width: 768px) {
    .header-grid, .header-grid .h-g-right-side, .header-grid .h-g-left-side {
        flex-flow: column;
        align-items: center;
    }

        .header-grid .dx-button {
            margin-bottom: 5px;
        }
}
/*--------------------------------------------------*/

/*--------------------------------------------------
    Grid Box
  --------------------------------------------------*/

.grid-box {
    width: 100%;
}

.grid-box-header {
    width: 100%;
    padding: 10px;
}

.grid-box-body {
    width: 100%;
    padding: 0px 2px;
}

/*--------------------------------------------------*/

/*--------------------------------------------------
    Header Grid Filters
  --------------------------------------------------*/

.grid-filters {
    display: flex;
    margin-bottom: 26px;
}

    .grid-filters > div {
        margin-left: 10px;
    }

    .grid-filters label {
        font-weight: bold;
    }

    .grid-filters > div:first-child {
        margin-left: 0px;
    }

    .grid-filters .grid-filter-actions {
        display: flex;
        align-items: flex-end;
    }

.date-filter {
    width: 200px;
}

.grid-title {
    margin-top: 2rem;
    margin-left: 1rem;
    margin-bottom: 0px;
    font-size: 15px;
    font-weight: 500
}

/*--------------------------------------------------*/

/*--------------------------------------------------
    Icons
  --------------------------------------------------*/

.map_plus {
    background-image: url("../../img/icons/map_plus.png");
    background-repeat: no-repeat;
    background-size: 20px;
    height: 20px;
    width: 20px;
}

.truck_minus {
    background-image: url("../../img/icons/truck_minus.png");
    background-repeat: no-repeat;
    background-size: 20px;
    height: 20px;
    width: 20px;
}

.truck_plus {
    background-image: url("../../img/icons/truck_plus.png");
    background-repeat: no-repeat;
    background-size: 20px;
    height: 20px;
    width: 20px;
}

/*--------------------------------------------------*/

/*.dx-icon-filter {
    padding-top: 9px;
    cursor: pointer;
}

    .dx-icon-filter:before {
        font-size: 18px;
    }*/

/*--------------------------------------------------
    Add Actions
  --------------------------------------------------*/
.add_actions,
.add_actions div {
    display: flex;
    height: 22px;
    color: white;
}

    .add_actions > div {
        margin-left: 10px;
    }

    .add_actions div:nth-child(1) {
        margin-left: 0px;
    }

.add_actions {
    height: 20px;
}

    .add_actions .add_address,
    .add_actions .add_localitate {
        cursor: pointer;
    }

        .add_actions .add_address label,
        .add_actions .add_localitate label {
            margin-left: 5px;
            cursor: pointer;
        }

/*--------------------------------------------------*/

/*--------- Themes Ovveride Padding Issue --------------*/

/*.dx-texteditor-input-container input, .dx-texteditor-input-container .dx-placeholder {
    padding-left: 10px !important;
}*/

/*--------------------------------------------------*/

/*--------- Color Legend --------------*/

.color-legend-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 15px;
    flex-wrap: wrap;
}

    .color-legend-container .color-entry {
        margin: 5px;
        padding: 5px 15px;
        min-width: 155px;
        text-align: center;
        font-weight: 600;
        color: black;
    }

.STATUS_COLOR_Orange {
    background-color: #f9a317;
}

.STATUS_COLOR_Pink {
    background-color: #e8c1d0;
}

.STATUS_COLOR_Silver {
    background-color: #bfbfc3;
}

.STATUS_COLOR_Red {
    background-color: #e50b0e;
}

.STATUS_COLOR_LightCoral {
    background-color: #e47f86;
}

.STATUS_COLOR_LightGreen {
    background-color: #93ec94;
}

.STATUS_COLOR_LightYellow {
    background-color: #fffbe4;
}

.STATUS_COLOR_LightBlue {
    background-color: #add8e6;
}

.STATUS_COLOR_Orchid {
    background-color: #db6fd8;
}

.STATUS_COLOR_Green {
    background-color: #018102;
}

.STATUS_COLOR_Yellow {
    background-color: #fbd704;
}
/*--------- Color Legend --------------*/

/*--------- START classes --------------*/

.custom-padding .dx-checkbox-container {
    padding: 7px 0;
}

/*--------- END classes --------------*/

/*--------- START MARGINS --------------*/

.margin-left-10 {
    margin-left: 10px;
}

.margin-right-10 {
    margin-right: 10px;
}

.margin-top-20 {
    margin-top: 20px;
}

.margin-bottom-10 {
    margin-bottom: 10px;
}

.margin-top-10 {
    margin-top: 10px;
}

/*--------- END MARGINS --------------*/


.dx-icon-edit, .dx-icon-trash {
    text-decoration: none !important;
}

#fromToDateFrm .dx-item-content .dx-box-item:last-child {
    align-items: flex-end;
}

    #fromToDateFrm .dx-item-content .dx-box-item:last-child .dx-first-row {
        text-align: left !important;
    }

.modal-body {
    padding: 0rem !important;
    margin-top: 68px;
}

/*CUSTOM BUTTONS*/

.custom-button .dx-button-content img {
    height: 32px;
    width: 32px;
    margin: auto;
    margin-top: 0px;
}

.custom-button .dx-button {
    max-width: 105px;
}

.custom-button .dx-button-content .dx-button-text {
    text-wrap: unset !important;
    white-space: unset !important;
    text-align: center;
    margin-top: 7px;
    font-size: 0.8em;
}

.custom-button .dx-button-content {
    white-space: unset !important;
    text-align: center !important;
    padding: 7px 10px 8px !important;
    display: flex;
    flex-direction: column;
}

/*CUSTOM BUTTONS*/