body {
  font-family: 'IBM Plex Sans',Arial,sans-serif;
}
* { 
    border-radius: 0 !important; 
}
.form-control, .form-select {
    border:  1px solid #000;
    /* padding:  .75rem; */
}
.form-control {
    padding: 0.175rem 0.5rem;
    font-size: .75rem;
}
.form-check {
    font-size: .75rem;
}
.btn {
    padding: 0.175rem 0.5rem;
    font-size: .75rem;
}
.form-check-input {
    border:  1px solid #000;
}
.form-select, .form-select option {
    padding: 0.175rem 0.5rem;
    font-size: .75rem;
}
.form-label {
    font-weight: bold;
    font-size: .75rem;
    margin-bottom: .2rem;
}
.form-check-input[type="radio"] {
    border-radius: 50% !important;
}
.modal-backdrop {
    background-color: #fff;
}
.modal-backdrop.show {
    opacity: .9;
}
.table {
    font-size:  .75em;
}
.input-group .btn {
    border:  1px solid #000;
}
.code {
    color: #0d6efd;
    text-decoration: underline;
    cursor: pointer;
}
.req {
    color: red;
}
.form-helper {
    font-size: .7rem;
    margin-bottom: 1rem;
}

.ac-wrapper {
    flex-grow: 4;
}

.contacts {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    white-space: nowrap;
    clip-path: inset(100%);
    clip: rect(0 0 0 0);
    overflow: hidden;
}

.btn-primary {
    color: #ffffff;
    font-size: .85rem;
    font-family: 'IBM Plex Sans',Arial,sans-serif;
    line-height: 1.55;
    font-weight: 600;
    border-width: 2px;
    border-radius: 10px !important;
    background-color: #003d82;
    background-position: center center;
    border-color: #003d82;
    border-style: solid;
    padding: 9px 40px;
    transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out, border-color 0.5s ease-in-out;
}

.btn-primary:hover {
    background-color: #f54c4c;
    background-image: none;
    border-color: #f54c4c;
    color: #ffffff;
}

.btn-secondary {
    color: #ffffff;
    font-size: .85rem;
    font-family: 'IBM Plex Sans',Arial,sans-serif;
    line-height: 1.55;
    font-weight: 600;
    border-width: 2px;
    border-radius: 10px !important;
    background-color: #f54c4c;
    background-position: center center;
    border-color: #f54c4c;
    border-style: solid;
    padding: 9px 40px;
    transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out, border-color 0.5s ease-in-out;
}

.btn-secondary:hover {
    background-color: #003d82;
    background-image: none;
    border-color: #003d82;
    color: #ffffff;
}

.btn-outline-secondary {
    background-color: #e9ecef;
    color: #000;
}

.modal .btn-primary, .modal .btn-secondary {
    padding: 5px 20px;
    border-radius: 5px !important;
}

.btn-kt { 
    width:  25px;
}

/* .input-group>.form-control */
.input-group > input.in-kt {
    flex:  3 0 auto;
}

#id_ktk .input-group:not(:first-child) input,
#id_ktk .input-group:not(:first-child) select,
#id_ktk .input-group:not(:first-child) button {
    border-top: none;
}

.form-check-input:checked {
    background-color: #003d82;
    border-color: #003d82;
}

.tt {
    display: inline-block;
    background-color: #003d82;
    color: #fff;
    padding: 0 6px;
    border-radius: 100% !important;
}

.tooltip .tooltip-inner {
    background-color: #003d82;
    color: #fff;
    min-width: 350px;
    font-size: .75em;
    border-radius: 0.25rem !important;
    text-align: left;
}
.bs-tooltip-top .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before {
    border-top-color: #003d82;  
}
.bs-tooltip-end .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow::before {
    border-right-color: #003d82; 
}
.bs-tooltip-bottom .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow::before {
    border-bottom-color: #003d82;  
}
.bs-tooltip-start .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow::before {
    border-left-color: #003d82; 
}



.inline-flex {
    display: flex;
    align-items: center;
}
.inline-flex input[type="text"] {
    flex: 10 0 0;
}
.inline-flex label {
    white-space: nowrap;
    margin:  0 8px;
}
#id_ohr {
    min-width: 85px;
}

input[type=date], 
#id_container_owner_okpo,
#id_carriage_owner_okpo,
#id_special_marks_1_inn,
#id_special_marks_2_inn {
    max-width:  150px;
}

@media screen and (min-width: 992px) {
    .multicol {
        column-count:2;
    }
}

