:root {
    --color-main: #009879;
}

@font-face {
    font-family: 'GolosTextWebRegular';
    src: url('../assets/fonts/Golos-Text_Regular.woff2') format('woff2'),
    url('../assets/fonts/Golos-Text_Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'GolosTextWebRegular', serif;
    font-weight: normal;
    font-style: normal;
    background-color: #F5F7FA;
}

.container-main {
    width: 90%;
    margin: 0 auto;
}

.table-styled {
    background-color: #fff;
    font-size: 0.9em;
    table-layout: fixed;
    width: 100%;
}

.table-styled th,
.table-styled td {
    /*padding: 5px;*/
    padding: 8px 15px;

}

.table-styled tbody tr {
    border-bottom: 1px solid #dddddd;
}

.table-styled tr.row-filter {
    background-color: #f3f3f3;
    border-bottom: 1px solid #dddddd;
}

.table-styled tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.table-styled tbody tr:last-of-type {
    border-bottom: 2px solid #009879;
}


/*.table-styled tbody tr td:first-of-type {*/
/*    font-weight: bold;*/
/*    color: #009879;*/
/*}*/

/*Highlighted row*/
.table-styled tbody tr.row-selected {
    background-color: #009879 !important;
    color: white;
}

.table-styled tbody tr.row-selected td:first-of-type {
    color: white;
}


/* header*/
.table-styled th {
    background-color: #009879;
    color: white;
}

.table-styled_sticky th {
    position: sticky;
    top: -1px;
    z-index: 9;
}


/*Center text*/
.table-styled td, th {
    text-align: center; /*todo remove */
    cursor: default;
}

.card_shadow,
.table_shadow {
    box-shadow: 0 7px 14px 0 rgba(65, 69, 88, 0.1), 0 3px 6px 0 rgba(0, 0, 0, 0.07);
}

.table-styled_bordered td, .table-styled_bordered th {
    border-right: 1px solid #e8e4e4;
}

.table-styled_shadow {
    box-shadow: 0 7px 14px 0 rgba(65, 69, 88, 0.1), 0 3px 6px 0 rgba(0, 0, 0, 0.07);
}

.table-styled_numbered tbody tr td:first-of-type {
    font-weight: bold;
    color: var(--color-main);
}

.table-styled_numbered thead th:first-of-type {
    width: 105px;
}

.table-requests_accepted_vertical th:nth-of-type(8),
.table-requests_accepted_vertical th:nth-of-type(9),
.table-requests_accepted_vertical th:nth-of-type(10),
.table-requests_accepted_vertical th:nth-of-type(11),
.table-requests_accepted_vertical th:nth-of-type(12),
.table-requests_accepted_vertical th:nth-of-type(13),
.table-requests_accepted_vertical th:nth-of-type(14),
.table-requests_accepted_vertical th:nth-of-type(15),
.table-requests_accepted_vertical th:nth-of-type(16),
.table-requests_accepted_vertical th:nth-of-type(17) {
    writing-mode: vertical-rl !important;
    transform: rotate(180deg) !important;
    width: 40px !important;
}

.th-vertical {
    writing-mode: vertical-rl !important;
    transform: rotate(180deg) !important;
    width: 40px !important;
}

.row-green {
    background-color: #92D050 !important;
}

.row-yellow {
    background-color: #FFFF99 !important;
}

.row-red {
    background-color: #FF7C80 !important;
}

.row-blue {
    background-color: #00B0F0 !important;
}

.row-grey {
    background-color: #BFBFBF !important;
}

.row-pink {
    background-color: #F7C1F1 !important;
}
.row-purple {
    background-color: #f268f2 !important;
}
.row-orange {
    background-color: #ee631d !important;
}


/*.table-styled tbody tr td:first-of-type {*/
/*    font-weight: bold;*/
/*    color: #009879;*/
/*}*/

/*Scroll top btn*/
.scroll-top {
    bottom: 1%;
    position: fixed;
    right: 1%;
    cursor: pointer;
    display: none;
}

/*Scroll top btn*/
#scroll2top {
    bottom: 1%;
    position: fixed;
    right: 1%;
    cursor: pointer;
    display: none;
}

/*HEADER*/
.navbar {
    box-shadow: 0 0 12px 1px #dddddd;
    background-color: #ffffff;
}

.navbar .navbar-toggler {
    color: rgba(0, 0, 0, .5);
    border-color: rgba(0, 0, 0, .1);
}

.navbar .nav-item {
    padding: 0 10px;
    font-size: 18px;
}

.navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar .nav-item .dropdown-menu {
    display: none;
    margin-top: 0;
}

.navbar .nav-item:hover .dropdown-menu {
    display: block;
}

.navbar a.dropdown-item:hover {
    color: #fff !important;
    background-color: #007bff;
}

.td-overflow {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.td-overflow:hover {
    overflow: visible;
    white-space: unset;
}

.pagination__before-prev,
.pagination__prev {
    display: none;
}


/*PAGE calculator*/
.table_rounded {
    border-radius: 0.25rem;
    overflow: hidden;
}

.table-styled_rounded {
    border-radius: 0.25rem;
    overflow: hidden;
}

#result__table th,
#result__table td {
    padding: 12px 15px !important;
}

/*PAGE statistics*/
.td-calculate {
    font-size: 20px;
    color: var(--color-main);
    cursor: pointer !important;
}

.list-group__header {
    background-color: var(--color-main);
    color: white;
    cursor: default;
}

.ui-autocomplete {
    z-index: 9999 !important;
}

.modal__fieldset, .modal-empty__fieldset {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: inherit;
}

.text-main {
    color: var(--color-main);
}


/*Калькулятор*/
.form-group-material {
    position: relative;
}

.form-group-material .input-area {
    outline: none;
    border: 1px solid #cfd9e3;
    font-size: 13px;
    width: 270px;
    background-color: #fff;
    padding: 10px 15px 10px 40px;
    border-left: none;
    height: 42px;
}

.form-group-material:first-child .input-area {
    border-left: 1px solid #cfd9e3;
}

.form-group-material .label-area {
    font-size: 10px;
    top: -7px;
    padding: 0 5px;
    position: absolute;
    left: 12px;
    background: #ffffff;
}

.form-group-material img {
    position: absolute;
    left: 8px;
    top: 10px;
    width: 22px;
    height: 22px;
}

.form-group-material .input-area:focus {
    border: 1px solid #388e3c;
}

.form-group-material .input-area:focus + label {
    color: #388e3c;
}

.form-group-material .invalid + label,
input .invalid {
    color: red !important;
}

.form-group-material .invalid {
    border-left: 1px solid red;
}

#calculator__date::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    left: -17px;
    z-index: 10;
}

#calculator__date {
    padding-left: 40px;
}

#calc__date::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    left: -17px;
    z-index: 10;
}

#calc__date {
    padding-left: 40px;
}

.btn_services {
    border: 1px solid #ff6624;
    padding: 0 3px;
    white-space: nowrap;
    font-size: 13px;
    color: #ff6624;
    display: inline-flex;
    cursor: pointer;
}

.calculator .invalid {
    border-color: red !important;
}

.btn-orange {
    color: #fff;
    background-color: #ff6624;
    border-color: #ff6624;

    /*#007bff*/
    width: max-content;
}

.btn-orange:hover {
    color: #fff;
    background-color: #d9571e;
    border-color: #cc521d;
}

.btn-orange:focus {
    color: #fff;
    background-color: #d9571e;
    border-color: #cc521d;
    box-shadow: 0 0 0 0.2rem rgba(255, 128, 74, .5);
}

.custom-control-input:checked ~ .custom-control-label::before {
    border-color: #1565c0 !important;
    background-color: #1565c0 !important;
}

.fa-info-circle {
    color: #1565c0 !important;
}

.text-blue-dark {
    color: #1565c0;
}

.bg-blue-dark {
    background-color: #1565c0;
}

#result__currency option {
    color: #1565c0;
    background: white;
}

#result__block-analysis table {
    font-size: 14px;
}


.pulsing-red {
    animation-name: pulsing;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}

@keyframes pulsing {
    0% {
        background-color: #FFFFFF;
    }
    50% {
        background-color: rgba(255, 82, 82, 0.5);
        border: 1px solid red;
    }

    100% {
        background-color: #FFFFFF;
    }
}

/*
new
 */


/*
Car number, Order number
 */

.show_order {
    color: #1565c0;
    text-decoration: underline;
    cursor: pointer;
}

.show_car {
    color: #1565c0;
    text-decoration: underline;
    cursor: pointer;
    font-weight: bold;
}


/*
Datatable
*/
.datatable_order {
    font-size: 15px;
    color: #009879;
    vertical-align: middle;
}

.datatable_create_filter {
    font-size: 15px;
    color: #6c757d;
    vertical-align: middle;
}

.datatable_remove_filter {
    font-size: 20px;
    color: #dc3545;
    vertical-align: middle;
}

.datatable_filter { /*todo remove */
    font-size: 15px;
    color: #6c757d;
}

.datatable_reset {  /*todo remove */
    font-size: 20px;
    color: #dc3545;
}

.dataTables_wrapper div:first-child {
    align-items: center;
}

.dataTables_length > label {
    display: flex;
    align-items: center;
    margin: 0;
}

.dataTables_length select {
    margin: 0 5px;
}

.dataTables_paginate {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}

.btn-orange {
    color: #fff;
    background-color: #ff6624;
    border-color: #ff6624;
}

.btn-orange:hover {
    color: #fff;
    background-color: #e65a20;
    border-color: #cc4f1c;
}

.btn-orange:focus, .btn-orange.focus {
    color: #fff;
    background-color: #e65a20;
    border-color: #cc4f1c;
    box-shadow: 0 0 0 0.2rem rgba(255, 102, 36, 0.5);
}

.btn-orange:active, .btn-orange.active,
.show > .btn-orange.dropdown-toggle {
    color: #fff;
    background-color: #cc4f1c;
    border-color: #b24718;
}

.btn-orange:active:focus,
.btn-orange.active:focus,
.show > .btn-orange.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 102, 36, 0.5);
}

.btn-orange.disabled, .btn-orange:disabled {
    color: #fff;
    background-color: #ff6624;
    border-color: #ff6624;
    opacity: 0.65;
}
