/* --------------table---- */

.rwd-table {
    margin: 1em 0;
    width: 100% !important;
}

.rwd-table tr {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.rwd-table th {
    display: none;
}

.rwd-table td {
    display: block;
}

.rwd-table td:first-child {
    padding-top: 0.5em;
}

.rwd-table td:last-child {
    padding-bottom: 0.5em;
}

.rwd-table td:before {
    content: attr(data-th) ": ";
    font-weight: bold;
    width: fit-content;
    display: inline-block;
    padding: 5px;
}

@media (min-width: 600px) {
    .rwd-table td:before {
        display: none;
    }
}

.rwd-table th,
.rwd-table td {
    text-align: right;
}

@media (min-width: 600px) {
    .rwd-table th,
    .rwd-table td {
        display: table-cell;
        padding: 0.25em 0.5em;
    }

    .rwd-table th:first-child,
    .rwd-table td:first-child {
        padding-left: 0;
    }

    .rwd-table th:last-child,
    .rwd-table td:last-child {
        padding-right: 0;
    }
}

h1 {
    font-weight: normal;
    letter-spacing: -1px;
    color: #1b1e52;
}

.rwd-table {
    background: #ffffff;
    color: #fff;
    border-radius: 0.4em;
    overflow: hidden;
    text-align: center;
    font-size: 14px;
}

.rwd-table caption {
    color: #1b1e52;
    font-weight: 700;
    border-bottom: 3px solid #f1af00;
    margin-bottom: 5px;
    text-align: center;
}

/*
.rwd-table tr {
    border-color: #1b1e52;
} */

.rwd-table th,
.rwd-table td {
    margin: 0.5em 1em;
}

@media (min-width: 600px) {
    .rwd-table th,
    .rwd-table td {
        /* padding: 1em !important; */
    }
}

.rwd-table th,
.rwd-table td:before {
    color: #1b1e52;
}

a.border {
    border: 1px solid;
    margin: 3px;
    padding: 3px;
    border-radius: 7px;
}

@media (min-width: 600px) {
    .mobile {
        display: none;
    }

    a.border {
        border: none;
    }

    .rwd-table th,
    .rwd-table td {
        text-align: center;
    }

    .rwd-table th,
    .rwd-table td:before {
        /* color: #fff; */
    }
}

th {
    background-color: #99dbfb;
    text-align: center;
}

th.success {
    background-color: #0b6820;
}

th.two {
    background-color: #ee6b00 !important;
}

tr:nth-child(even) {
    background: rgb(228, 228, 228);
}

tr:nth-child(odd) {
    background: #fff;
}

td {
    color: #000;
    font-weight: 500;
}

/* ------------------ */

ul#error {
    line-height: 25px !important;
}

/* ------ color -------- */

.blue {
    color: #007bff;
}

.indigo {
    color: #6610f2;
}

.purple {
    color: #6f42c1;
}

.pink {
    color: #e83e8c;
}

.red {
    color: #dc3545;
}

.orange {
    color: #fd7e14;
}

.color-red {
    color: #dc3545;
    font-weight: 400;
    margin: 3px;
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 6px;
}

.bg-blue {
    background-color: #1b1e52 !important;
    color: #fdfdfd;
    font-weight: 400;
    margin: 3px;
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 6px;
}

.yellow {
    color: #dea804;
}

.green {
    color: #28a745;
}

.teal {
    color: #20c997;
}

.cyan {
    color: #17a2b8;
}

.white {
    color: #fff;
}

.gray {
    color: #6c757d;
}

.gray-dark {
    color: #343a40;
}

.primary {
    color: #007bff;
}

.secondary {
    color: #6c757d;
}

.success {
    color: #28a745;
}

.info {
    color: #17a2b8;
}

.warning {
    color: #ffc107;
}

.danger {
    color: #dc3545;
}

.light {
    color: #f8f9fa;
}

.dark {
    color: #343a40;
}

/* ------------------- */

@keyframes loading {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(22.5deg);
    }

    100% {
        transform: rotate(45deg);
    }
}

.loading > div {
    transform-origin: 50px 50px;
    animation: loading 0.2s infinite linear;
}

.loading > div div {
    position: absolute;
    width: 11px;
    height: 76px;
    background: #1b1e52;
    left: 50px;
    top: 50px;
    transform: translate(-50%, -50%);
}

.loading > div div:nth-child(1) {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.loading > div div:nth-child(6) {
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 50%;
}

.loading > div div:nth-child(3) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.loading > div div:nth-child(4) {
    transform: translate(-50%, -50%) rotate(90deg);
}

.loading > div div:nth-child(5) {
    transform: translate(-50%, -50%) rotate(135deg);
}

.loading-spinner {
    width: 70px;
    height: 70px;
    display: inline-block;
    overflow: hidden;
    background: #ffffff;
}

.loading {
    width: 100%;
    height: 100%;
    position: relative;
    transform: translateZ(0) scale(0.7);
    backface-visibility: hidden;
    transform-origin: 0 0;
    /* see note above */
}

.loading div {
    box-sizing: content-box;
}

/* ----------------- */

.services-contractor-style {
    font-weight: 500;
    line-height: 30px;
}

.caption {
    color: #1b1e52;
    /* background-color: white; */
    font-weight: 700;
    border-bottom: 3px solid #f1af00;
    margin-bottom: 10px;
    text-align: center;
    padding: 10px;
}

.caption-right {
    color: #1b1e52;
    font-weight: 700;
    border-bottom: 1px solid #f1af00;
    margin-bottom: 10px;
    padding: 10px;
}

/* ---------------------- */

ul.timeline {
    list-style-type: none;
    position: relative;
    z-index: 1;
}

ul.timeline:before {
    content: " ";
    background: #d4d9df;
    display: inline-block;
    position: absolute;
    right: 29px;
    width: 2px;
    height: 100%;
    z-index: 400;
}

ul.timeline > li {
    margin: 5px;
    padding: 20px;
    border: 1px solid #1b1e523b;
}

ul.timeline > li:before {
    content: " ";
    background: white;
    display: inline-block;
    position: absolute;
    border-radius: 50%;
    border: 3px solid #f1af00;
    right: 20px;
    width: 20px;
    height: 20px;
    z-index: 400;
}

.uuid {
    background: #adaca7;
    color: #1b1e52;
    padding: 3px;
    border-radius: 5px;
    font-size: 12px;
}

/* -------------- */

.border-reminder {
    margin: 8px;
    padding: 10px;
    border: 1px dashed #1b1e52;
}

/* ------------- */

.btn-form {
    width: -webkit-fill-available;
    height: 45px;
}

.btn-form:hover {
    background: #ee6b01;
    color: #fff;
}

a.btn.btn-form {
    -webkit-appearance: button;
    text-rendering: auto;
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    text-align: center;
    align-items: flex-start;
    cursor: default;
    box-sizing: border-box;
    margin: 0em;
    font: 400 13.3333px;
    padding: 1px 6px;
    border-width: 2px;
    border-style: outset;
    border-image: initial;
}

/* ---------------- */

input:focus,
textarea:focus {
    outline: none;
    border-bottom: 2px solid #1b1e52 !important;
}

/* ------------- */

a,
a:hover,
a:focus {
    /*font-weight: 700 !important;*/
    text-decoration: none !important;
}

/* ---------- */

td.text-right {
    text-align: right;
}

span#unitRawMaterials,
span#editProduct,
span#unitProduct {
    position: absolute;
    margin-right: -140px;
    margin-top: 5px;
    width: 150;
}

/* --------multi file upload------- */

.it .btn-orange {
    background-color: blue;
    border-color: #777 !important;
    color: #777;
    text-align: right;
    width: 100%;
}

.it input.form-control {
    border: none;
    margin-bottom: 0px;
    border-radius: 0px;
    border-bottom: 1px solid #ddd;
    box-shadow: none;
}

.it .form-control:focus {
    border-color: #ff4d0d;
    box-shadow: none;
    outline: none;
}

.fileUpload {
    position: relative;
    overflow: hidden;
}

.fileUpload input.upload {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
}

/* -------------- */
.label-chat {
    background-color:lightcoral;
    /*color: orange;
    //border: 1px solid lightblue;*/
}
/* -------------- */

input.form-control.text-upload {
    margin-right: 10px;
}

/* -------------- */

/* ------------------ */

fieldset.scheduler-border {
    border: 1px groove #1b1e52 !important;
    margin: 0 0 0.5em 0 !important;
    text-align: right;
}

legend.scheduler-border {
    font-size: 13px !important;
    font-weight: bold !important;
    text-align: right !important;
    width: auto;
    padding: 0 10px;
    border-bottom: none;
    margin-bottom: 3px;
    color: #1b1e52;
}

label.scheduler-border {
    color: #000;
    padding-right: 5px;
    padding-top: 2px;
    padding-bottom: 2px;
}

input.scheduler-border {
    color: #000;

    padding-right: 5px;
    padding-top: 2px;
    padding-bottom: 2px;

    margin-top: 0px !important;
    margin-bottom: 5px !important;

    border-radius: 2px;
    border-style: solid;
    border-color: lightblue lightblue lightblue lightblue;
    border-width: 1px;

    width: 95%;
}

select.scheduler-border {
    color: #000;
    padding-right: 5px;
    padding-top: 2px;
    padding-bottom: 2px;

    margin-top: 0px !important;
    margin-bottom: 5px !important;

    border-radius: 2px;
    border-style: solid;
    border-color: lightblue lightblue lightblue lightblue;
    border-width: 1px;

    background-color: white;
    width: 95%;
}

/* td.scheduler-border {
    font-size: 13px !important;
    font-weight: bold !important;
} */

/* -------------- */

.border {
    border: 1px dashed #0000003d;
    padding: 12px;
}

/* ----------- */

span.counter-form {
    background-color: #fb483a;
    padding: 2px 6px;
    border-radius: 8px;
    color: #fff;
}

/* ----------- */

span.align-self-center.animated.infinite.flash.ml-1.m-notifications {
    margin: auto;
    background-color: #fb483a;
    padding: 2px 6px;
    border-radius: 8px;
    color: #fff;
}

.m-notifications {
    margin: auto;
    background-color: #fb483a;
    padding: 2px 6px;
    border-radius: 8px;
    color: #fff;
}

.m-notifications-success {
    margin: auto;
    background-color: #28a745;
    padding: 2px 6px;
    border-radius: 8px;
    color: #fff;
}

/* ------------- */

hr.hr-70 {
    width: 70%;
    height: 0px;
    color: #a5a5a5;
    background: #a5a5a5;
    border: 1px solid;
}

/* ----------------- */

ul > li.report:nth-child(even) {
    background: #a7a7a785;
}

/* ----------------- */

.sidebar .menu .list .header-time {
    background: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 16px;
    text-align: center;
}

/* --------------------- */

.customer-frf01-border {
    border-right: 9px solid #ff9600;
    border-bottom: 2px solid #ff9600;
}

.contractor-report-border {
    border-right: 9px solid #ff9600;
    border-left: 9px solid #ff9600;
    border-bottom: 2px solid #ff9600;
    padding: 10px;
}

ul.dropdown-menu.live-search-customer {
    margin-top: -35px !important;
}

/* -------------------- */

.ul-store-list {
    background-color: #fff;
    margin-top: 0px;
    padding: 5px 0 5px;
    border-radius: 3px;
}

.li-store-list {
    font-size: 15px;
    color: #424242;
    border-bottom: 1px solid #ededed;
    padding: 7px;
    margin: 0 20px;
    line-height: 21px;
    -webkit-transition: background-color 0.1s ease-in;
    transition: background-color 0.1s ease-in;
    position: relative;
    cursor: pointer;
}

li.li-store-list.b-yellow {
    background: beige;
}

small.text-muted {
    color: forestgreen !important;
}

.bootstrap-select .dropdown-menu li.active small {
    color: forestgreen !important;
}

span#infoProduct {
    text-align: right !important;
}

.modal {
    overflow: auto !important;
}

/* --------------- */

.gb_Ia {
    -webkit-background-size: 32px 32px;
    background-size: 32px 32px;
    border: 0;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    margin: 0;
    position: relative;
    height: 55px;
    width: 55px;
    z-index: 0;
}

.sidebar .menu {
    position: relative;
    overflow: unset;
    height: 90vh;
}

/* ---------------- */

.text-success {
    color: #155724 !important;
}

/* ------------------  */

.btn-active {
    background: #ee6b01 !important;
    color: #fff !important;
}

/* section.content {
    margin: 100px 315px 0 15px !important;
    transition: 0.5s;
} */

.sidebar .user-info .info-container .user-helper-dropdown {
    padding: 15px;
}

/* ------- data table------------- */

.table-bordered thead tr th {
    padding: 10px;
    border: 1px solid #fff;
    color: #fff !important;
}

table.dataTable.dtr-inline.collapsed
    > tbody
    > tr[role="row"]
    > td.dtr-control:before,
table.dataTable.dtr-inline.collapsed
    > tbody
    > tr[role="row"]
    > th.dtr-control:before {
    right: 5px !important;
    color: white;
    background-color: #0275d8;
}

table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td.dtr-control,
table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th.dtr-control {
    padding-right: 30px !important;
}

.alert {
    display: inline-block !important;
    width: 100% !important;
}

table.dataTable > tbody > tr.child ul.dtr-details {
    width: 100% !important;
}

th {
    font-weight: 400 !important;
}

/* ------------------- */

.tooltip-inner {
    max-width: 300px;
    padding: 0.25rem 0.5rem;
    color: #1b1e52 !important;
    text-align: center;
    background-color: #ffffff;
    border-radius: 0.5rem !important;
    border: 1px #f1af00 solid;
    font-weight: bold;
}

/* -------------------- */

.cursor {
    cursor: pointer;
}
