

/* {
    font-family: 'Open Sans', sans-serif;
}

html {
    font-size: 14px;
}

html, body {
    margin:0;
    padding:0;
}

input {
    font-size: 14px;
    box-sizing: border-box;
}
/*
input[type^='submit'],
button {
    border: 1px solid silver;
    background-color: #eeeeee;
    padding: 3px 10px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
}8/

input[type^='submit']:hover:not(:disabled),
button:hover:not(:disabled) {
    background-color: #f8f8f8;
}*/


.btn {
    border: 1px solid;
    /*border: 1px solid silver;
    background-color: #eeeeee;*/
    /*padding: 5px 10px;*/
    border-radius: 3px;
    font-size: 1rem;
    padding: 0.375rem 0.75rem;
    cursor: pointer;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.btn:hover:not(:disabled) {
    background-color: #f8f8f8;
}

.btn[disabled] {
    border: 1px solid #cccccc;
    color: #999999;
    cursor:default;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.25rem;
}

.btn-lg {
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    border-radius: 0.5rem;
}

.btn-outline-primary {
    background-color: unset;
    border-color: #0d6efd;
    color: #0d6efd;
}

.btn-outline-primary:hover:not(:disabled) {
    background-color: #0d6efd;
    color: #fff;
}

.btn-outline-danger {
    background-color: unset;
    border-color: #dc3545;
    color: #dc3545;
}

.btn-outline-danger:hover:not(:disabled) {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

.btn-outline-success {
    background-color: unset;
    border-color: #198754;
    color: #198754;
}

.btn-outline-success:hover:not(:disabled) {
    background-color: #198754;
    border-color: #198754;
    color: #fff;
}
/**/
.btn-primary {
    /*background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;*/
    /*background-color: #ffda94;
    border-color: #ffca67;
    color: #000;*/
    /*background-color: #ffc107;
    border-color: #ffc107;
    color: #000;*/
    
    background-color: #eeeeee;
    border-color: silver;
    color: #000;
}

.btn-primary:hover:not(:disabled) {
    /*background-color: #0b5ed7;
    border-color: #0a58ca;*/
    /*background-color: #ffca2c;
    border-color: #ffc720;*/

    background-color: #f8f8f8;
    border-color: silver;
    color: #000;
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
}

.btn-secondary:hover:not(:disabled) {
    background-color: #5c636a;
    border-color: #565e64;
}

.btn-danger{
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

.btn-danger:hover:not(:disabled) {
    background-color: #bb2d3b;
    border-color: #b02a37;
}

.btn-success {
    background-color: #198754;
    border-color: #198754;
    color: #fff;
}

.btn-success:hover:not(:disabled) {
    background-color: #157347;
    border-color: #146c43;
}

input,
select,
textarea {
    border: 1px solid silver;
    background-color: white;
    border-radius: 3px;
    /*font-size: 14px;*/
}

input {
    padding: 3px 5px;
}

select {
    padding: 2px 5px;
}



.form-control.form-control-inline, .form-select.form-select-inline {
    display: inline-block !important;
    width: unset !important;
}

.d-flex {
    display:flex;
}

/**/
.w-100 {
    width:100%;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.d-flex {
    display:flex;
}

.justify-content-center {
    justify-content: center;
}

.align-items-center {
    align-items: center;
}

/**/

abbr {
    cursor: pointer;
    vertical-align: middle;
}

abbr.icon {
    cursor: pointer;
    vertical-align: middle;
    text-decoration: none;
}
/*
abbr img {
    margin-top: 3px;
    margin-bottom: -2px;
}*/

td > table,
#idTableServices {
    margin-top: 3px;
    border-collapse: collapse;
}

main {
    text-align: center;
    margin: 0 auto;
    max-width: 1280px;
}
/*
.row {
    display: flex;
    flex-direction: row;
    max-width: 1000px;
    margin: 0 auto;
}

.col {
    flex: 1 0;
}

@media screen and (min-width: 800px) {
    .col {
        width: 50%;
        padding: 10px;
    }
}

@media screen and (max-width: 700px) {
    .row {
        flex-direction: column;
    }

    .col {
        width: 100%;
        padding: 10px;
    }
}*/
.page-content>table {
    margin: 0 auto;
}

.csMainMenu {
    border-collapse: separate;
}

/*input[type^='text'],
input[type^='number'],
select {
    box-sizing: border-box;
    width: 100%;
    font-size: 14px;
}*/

input[id^='iOwner_'],
input[id^='idName_'],
input[id^='idNumPark_'],
input[id^='idCurPrice_'],
input[id^='idContractNum_'],
input[id^='idContractNum_'],
input[id^='idTabelNum_'],
input[id^='idNextPrice_'],
input[id^='idContract_'],
input[id^='idArend_'],
select[id^='idBlock_'],
select[id^='idGroup_'],
select[id^='idArend_'],
select[id^='idState_'],
select[id^='idNum_'],
select[id^='idTablo_'],
select[id^='idMaxTicketNum_'],
select[id^='idTicketNum_'],
select[id^='idIPaddrMiniPK_'],
select[id^='idTermName_'],
select[id^='idState_'],
select[id^='idType_'],
select[id^='idAcceptType_'],
select[id^='idGroupControl_'],
select[id^='idFindNumIp_'] {
    box-sizing: border-box;
    width: 100%;
}

.kkm-data {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
}

.kkm-settings-window {
    display: flex;
    flex-direction: column;
}

.kkm-settings-window + button {
    margin-top: 5px;
}

.csUpMenu {
    background-color: #9999ff;
    border-style: none;
}
.csUpMenuSelected {
    background-color: #cccccc;
    cursor: pointer;
    font-style: normal;
    font-size: 12pt;
    text-align: center;
    border-style: solid;
    border-color: #ae2100;
}
.csUpMenuActive {
    cursor: pointer;
    font-style: normal;
    background-color: #eeeeee;
    font-size: 12pt;
    text-align: center;
    border-style: solid;
    border-color: #ae2100;
    border-width: thin;
}
a.csMenuLink {
    color: #000000;
    cursor: pointer;
    font-size: 10pt;
    font-weight: bold;
}

.csMainMenu {
    background-color: #9999ff;
    border-style: none;
}
.csMainMenuSelected {
    background-color: #ffa500;
    cursor: pointer;
    font-style: normal; /*font-size: 14pt;*/
    text-align: center;
    border-style: solid;
    border-color: #ae2100;
    border-width: thin;
    outline: 1px solid #ae2100;
}
.csMainMenuActive {
    cursor: pointer;
    font-style: normal;
    background-color: #ffe7ba;
    padding: 5px 0; /*font-size: 14pt;*/
    text-align: center;
    border-style: solid;
    border-color: #ae2100;
    border-width: thin;
    border-right: 0;
}
.csMainMenuActive:last-child {
    border-right: thin solid #ae2100;
}

.csLinkText {
    color: #0000ff;
    cursor: pointer;
    text-decoration: underline;
}

.csDateTable {
    border: 1px solid #b5b5b5;
    border-radius: 3px;
    padding: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    background-color: #eeeeee;
    /*box-shadow: rgb(34 60 80 / 20%) 0px 3px 5px 2px;
    width: 230px;*/
}

.csDateTable table {
    table-layout: unset;
}
.csDateHeader {
    background: linear-gradient(
        180deg,
        rgb(218 218 218) 0%,
        rgb(226 226 226) 50%,
        rgba(218, 218, 218, 1) 100%
    );

    border: 1px solid #b5b5b5;
    padding: 5px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border-bottom: 0;
    cursor: grab;
}
.csDateHeader > img {
    margin-top: 1px;
}
.csDateContent {
    border-collapse: collapse;
    /*width: 250px;*/
}

acronym, attr {
    cursor: pointer; /* Курсор мышми со знаком вопроса */
    border-bottom: 0px; /* Подчеркивание текста */
    color: #0074be; /* Цвет текста */
}

/*table*/

.csRequestsListHeaderCell/*, th*/ {
    text-align: center;
    border: 1px solid #bbbbbb;
    background-color: #dcdcdc;
    padding: 2px 5px 2px;
    font-size: 15px;
    font-weight: bold;
}
.csRequestsListHeaderCellRef {
    text-align: center;
    border: 1px solid #bbbbbb;
    background-color: #cccccc;
    padding: 2px 5px 2px;
    cursor: pointer;
    text-decoration: underline;
    font-style: oblique;
    font-size: 15px;
}
.csRequestsListCell {
    text-align: center;
    border: 1px solid #d1d1d1;
    padding: 2px 5px 2px;
    word-wrap: break-word;
    position: relative;
    height: 30px;
    font-size: 15px;
}
.csRequestsListCellLeft {
    text-align: left;
    border: 1px solid #d1d1d1;
    padding: 2px 5px 2px;
    word-wrap: break-word;
    position: relative;
    border-bottom: 1px solid #d1d1d1;
    height: 30px;
    font-size: 15px;
}

.csRequestsListCellRed {
    background-color: RGBA(220,53,69,1);
    color: white;
}

.csRequestsListCellDisabled {
    background-color: #ffffff;
    color: #999999;
}
.csRequestsListCellRef {
    text-align: center;
    border: 1px solid #d1d1d1;
    padding: 2px 5px 2px;
    word-wrap: break-word;
    cursor: pointer;
    font-style: oblique;
    text-decoration: underline;
}

.csRequestsListCellRefRed {
    text-align: center;
    cursor: pointer;
    text-decoration: underline;
    font-style: oblique;
    color: #ff0000;
}
.csRequestsListTable {
    background-color: #ffffff;
    border-style: solid;
    /*border-color: #000000;*/
    border-width: thin;
    padding: 0px;
    border-collapse: collapse;
    font-size: 15px;
    z-index: 1;
}

.csRequestsListTable > tbody > tr:first-child, .csRequestsListTable > thead > th {
    height: 30px;
}

table.sort-table tr td {
    background-color: gainsboro;
}

.csRequestsListTableNoBorder {
    background-color: #ffffff;
    border-style: none;
    padding: 0px;
}

.csRequestsListTable > tbody > tr:nth-child(even) {
    background-color: #f2f2f2;
}
/*endtable*/

/*Кислотный стиль для событий окончания бумаги*/
.csPrinterNeedYourAttention {
    text-align: center;
    padding: 1px;
    word-wrap: break-word;
    font-size: 45px;
    font-variant: small-caps;
}

.csInternalCellRef {
    text-align: center;
    background-color: #ffffff;
    cursor: pointer;
    text-decoration: underline;
    font-style: oblique;
}

.csRampTable {
    background-color: #ffffff;
    border-style: solid;
    border-color: #000000;
    border-width: thin;
    padding: 0px;
}
.csRampCell {
    text-align: center;
}

.csInternalTable {
    border-collapse: collapse;
    text-align: center;
    border: 0px;
    padding: 0px;
}

.csInternalTable2 {
    margin-top: 10px;
    border-collapse: collapse;
    text-align: center;
    padding: 0px;
}

.csInternalTable2 td {
    border: 1px solid black;
}

.csErrorText {
    font-style: normal;
    font-size: 14pt;
    color: #ae2100;
}
.csNameText {
    font-weight: bold;
    font-style: normal;
    color: #ae2100;
    padding: 20px;
}

TABLE {
    table-layout: fixed; /* Ячейки фиксированной ширины */
}

.csTextRef {
    cursor: pointer;
    text-decoration: underline;
    font-style: oblique;
}
textarea {
    font-size: 100%;
    padding: 0;
}

.add-overflow {
    max-height: 500px;
    overflow: auto;
}

/*.csPopUpWindow { 
    border: 1px solid #b5b5b5;
    border-radius: 3px;
    padding: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    background-color: #eeeeee;
}
.csHeaderPopUpWindow { 
    background: linear-gradient(180deg, rgb(218 218 218) 0%, rgb(226 226 226) 50%, rgba(218,218,218,1) 100%);

    border: 1px solid #b5b5b5;
    padding: 5px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border-bottom: 0;
    cursor: grab;
}*/
.csHeaderPopUpWindow > img {
    margin-top: 1px;
}

.csPopUpWrapper {
    display: block; 
    box-shadow: rgba(34, 60, 80, 0.2) 0px 3px 5px 2px; 
    border-radius: 3px;
}

.csPopUpWindow {
    border: 1px solid #b5b5b5;
    border-radius: 3px;
    padding: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    background-color: #eeeeee;
    border-top: 0;
}

.csHeaderPopUpWindow {
    background: linear-gradient(
        0deg,
        rgb(255 209 124) 0%,
        rgb(255 218 149) 100%
    );
    border: 1px solid #dbbf8c;
    padding: 5px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    cursor: grab;
    font-weight: bold;
}

.csHeader {
    border-spacing: 0px;
    width: 1100px;
    height: 118px;
    background-repeat: repeat;
}
.csBodyMain {
    border-spacing: 0px;
    width: 1250px;
    background-repeat: repeat;
}
.csBackground {
    background-color: #ffffff;
}
.csFooter {
    border-spacing: 0px;
    width: 1250px;
    font-size: 11px;
    height: 145px;
}
.csHiddenText {
    display: none;
}

.csImageUploadCardList > input {
    /*display: none;*/
    display: block;
    visibility: hidden;
    width: 0;
    height: 0;
}

.id-photo-info-frame {
    border: none; /* Убираем границу */
    background-color: red; /* Цвет линии */
    color: red; /* Цвет линии для IE6-7 */
    height: 2px; /* Толщина линии */
}
/* Таблица с выбором праздничных дней. #668*/
.csTableTimeTable {
    width: 100%;
}
.csSettingsSchedule {
    padding-left: 100px;
}
.csTableHolidays {
    padding-top: 10px;
    padding-bottom: 10px;
    width: 70%;
    align-content: center;
    border-collapse: collapse;
}
.csTdHolidays {
    border: 1px solid grey; /* Граница вокруг ячеек */
    align-content: center;
    font-weight: bold;
}
.csTdHolMonth {
    border: 1px solid grey; /* Граница вокруг ячеек */
    align-content: center;
    background-color: lightskyblue;
    text-align: center;
    font-weight: bold;
}
.btnDelHolDay {
    border: none;
    width: 25px;
    height: 25px;
}
.csTdIntervalsSchedule {
    /*border-top: 1px solid grey; !* Граница вокруг ячеек *!*/
    /*border-bottom: 1px solid grey; !* Граница вокруг ячеек *!*/
}

.csRequestsListCellAddService {
    text-align: center;
    border: 1px solid #333333;
    padding: 2px 5px 2px;
    word-wrap: break-word;
    background-color: #ffe2c1;
}

.pagination {
    border: 1;
    color: black;
    padding: 5px 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 2px 2px;
    cursor: pointer;
    font-size: 15px;
    margin-left: 20px;
}

.pagination :active {
    /*color: red;*/
}
.pagination :focus {
    /*color: red;*/
}

table.csTerminalSettings {
    border-collapse: collapse;
}

.csTerminalSettings > tbody > tr {
    border-bottom: 1px solid #8080805c;
    padding:5px;
}

.csTerminalSettings > tbody > tr > td {
    padding: 5px 0;
}

.csTerminalSettings > tbody > tr > td[colspan=2] {
    text-align: center;
}

.csTerminalSettings > tbody > tr > td:first-child {
    text-align: left;
}

.csTerminalSettings > tbody > tr >td:last-child {
    text-align: right;
}

.csTerminalSettingsSelects {
    width: 100px;
    margin-top: 2px;
    margin-bottom: 1px;
    text-align-last: center;
}

.csTerminalGrnzSelects {
    width: 80px;
    margin-top: 2px;
    margin-bottom: 1px;
    text-align-last: center;
}

.csTerminalPhotoSelects {
    width: 100%;
    /*width: 230px;*/
    margin-top: 2px;
    margin-bottom: 1px;
    text-align-last: center;
}
.csTerminalCameraPhotoSelect {
    width: 125px;
    margin-top: 2px;
    margin-bottom: 1px;
    text-align-last: center;
}

.csTerminalSettingsInputs {
    margin-top: 2px;
    margin-bottom: 1px;
    text-align: right;
    box-sizing: border-box;
}
.csTerminalGrnzInputs {
    margin-top: 2px;
    margin-bottom: 1px;
    text-align: center;
}
.csTerminalInfoInputs {
    margin-top: 3px;
    margin-bottom: 3px;
    text-align: center;
}

table.csCommonSettings {
    border-collapse: collapse;
}

tr.csCommonSettings {
    border-bottom: 1pt solid #8080805c;
}

table.borderless > tbody > tr > td {
    text-align: center;
    border: 0px;
    padding: 0px 0px 0px;
}

table.info-table {
    table-layout: fixed;
    border-collapse: collapse;
    background-color: #ffffff;
    border: 1px solid #000;
    padding: 0;
    margin: 0;
    width: 100%;
}

table.info-table > thead > tr > td {
    background-color: #ccc;
    border: 1px solid #333;
    padding: 2px 5px 2px;
    text-align: center;
    font-weight: bold;
}

table.info-table > tbody > tr > td {
    background-color: #fff;
    border: 1px solid #333;
    padding: 2px 5px 2px;
    text-align: center;
    word-wrap: break-word;
    position: relative;
}

table.info-table th {
    background-color: #ccc;
    border: 1px solid #333;
    padding: 2px 5px 2px;
    text-align: center;
    word-wrap: break-word;
    position: relative;
}

.info-table input.width-100,
.info-table select.width-100 {
    box-sizing: border-box;
    width: 100%;
}

.report-result {
    padding: 10px 0;
}

.report-message {
    font-weight: bold;
}

.success {
    color: green;
}
.warning {
    color: orange;
}
.danger {
    color: red;
}

.successbg {
    background-color: green;
}
.warningbg {
    background-color: orange;
}
.dangerbg {
    background-color: red;
}

.reports-generator-container span.result {
    font-weight: bold;
}
.reports-generator-container span.result.success {
    color: green;
}
.reports-generator-container span.result.danger {
    color: red;
}

.reports-generator-modes th {
    text-transform: uppercase;
}

.reports-generator-modes td {
    text-align: center;
}
.reports-generator-modes td img {
    vertical-align: middle;
}

.input-cell {
    box-sizing: border-box;
    width: 100%;
}

.auth-label {
    text-align: right;
    font-weight: bold;
}

/** **/


.btn-control {
    padding: 8px;
    line-height: 0;
    /*background-color: white;
    border: 1px solid silver;*/
}

.btn-control.attention {
    -webkit-animation: BLINKING-BTN-CONTROL 1s infinite; /* Safari 4+ */
    -moz-animation: BLINKING-BTN-CONTROL 1s infinite; /* Fx 5+ */
    -o-animation: BLINKING-BTN-CONTROL 1s infinite; /* Opera 12+ */
    animation: BLINKING-BTN-CONTROL 1s infinite; /* IE 10+, Fx 29+ */
}

.btn-control[disabled] {
    cursor: not-allowed;
}

@keyframes BLINKING-BTN-CONTROL {
    0%,
    49% {
        background-color: white;
        border: 1px solid silver;
    }
    50%,
    100% {
        background-color: #e50000;
        border: 1px solid black;
    }
}

.csSysMessageTable {
    background: linear-gradient(
        0deg,
        rgb(255 209 124) 0%,
        rgb(255 218 149) 100%
    );
    border: 1px solid #dbbf8c;
    padding: 3px;
    border-radius: 3px;
    font-weight: bold;
}

.csSysMessageTable tbody > tr:last-child,
.csSysMessageContent tbody > tr:last-child {
    display: none;
}

.csSysMessageContent {
    border: 1px solid #b5b5b5;
    border-radius: 3px;
    padding: 10px;
    background: linear-gradient(
        180deg,
        rgb(248 248 248) 0%,
        rgb(226 226 226) 50%,
        rgb(226 226 226) 100%
    );
}

.csPopUpWindow {
}

.csHeaderPopUpWindow {
}

/*indicator*/

.indicator {
    display: inline-block;
}

.indicator::before {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 25px;
    margin-right: 15px;
    content: '';
}

.indicator.green::before {
    background-image: radial-gradient(#ffffff 10%, #33ff4b 80%);
    /*background-image: radial-gradient(#95ff9d 10%, #33ff4b 80%);*/

    box-shadow: 0px 0px 10px 5px rgb(7, 235, 79);
}

.indicator.red::before {
    background-image: radial-gradient(#ffc8c8 10%, #ff7b7b 80%);
    box-shadow: 0px 0px 10px 5px rgb(255, 74, 74);
}

.indicator.yellow::before {
    background-image: radial-gradient(#ffffff 10%, #ffad47 80%);
    box-shadow: 0px 0px 10px 5px rgb(236, 162, 126);
}
/*endindicator*/

#card_photo_form {
    display: flex; 
    flex-direction: row; 
    justify-content: center;
}

#card_photo_form .file {
    margin-right: 5px; 
    font-size: 14px;
}

details {
    border: 1px solid #aaa;
    border-radius: 4px;
    padding: .5em .5em 0;
}

summary {
    font-weight: bold;
    margin: -.5em -.5em 0;
    padding: .5em;
    cursor:pointer;
}

details[open] {
    padding: .5em;
}

details[open] summary {
    border-bottom: 1px solid #aaa;
    margin-bottom: .5em;
}

.users-control {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.report-filters {
    display:flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    margin: 0 20px;
    padding-bottom: 20px;
}


div > .calendar:first-child {
    margin-right:5px;
}

div >.calendar:last-child {
    margin-left: 5px;
}

.calendar {
    cursor: default; 
    font-style: normal; 
    text-align: center; 
}

.calendar-top {
    padding: 5px 0;
}

.calendar-top > input[type="month"] {
    margin-right: 5px;
}
.calendar-top > input[type="time"] {
    margin-left: 5px;
}

.calendar-body {

}

table.calendar-datetable {
    margin: 0 auto;
    table-layout: fixed;
}

table.calendar-datetable td.date {
    cursor: pointer;
    margin:0;
    padding:0;
    /*font-style: italic;*/
    text-align: center;
    width:30px;
    height:30px;
    font-size: 14px;
}

.calendar-bottom {
    padding: 5px 0;
    text-align: center;
}


/* Style the tab */
.tabs {
    overflow: hidden;
    border: 1px solid #ccc;
    /*background-color: #f1f1f1;*/
}

.tabs-nav {
    display:flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    overflow-x: auto;

    border-bottom: 1px solid #ccc;
}

/* Style the buttons that are used to open the tab content */
.tabs .tabs-nav button.tab-link {
    background-color: inherit;
    border: none;
    border-radius:0;
    outline: none;
    cursor: pointer;
    padding: 10px 15px;
    transition: 0.2s;
}

/* Change background color of buttons on hover */
.tabs .tabs-nav button.tab-link:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
.tabs .tabs-nav button.tab-link.active {
    background-color: #ccc;
}

/* Style the tab content */
.tabs .tab-content {
    display: none;
    /*padding: 6px 2px;*/
    text-align:left;
    height: 380px;
}

.tab-terminals {
    border:0;
}
/*
.tab-terminals .tab-content {
    overflow-y: auto;
}
*/
.terminal-settings-table {
    border-collapse: collapse;
    width: 100%;
    text-align: center;
}

.terminal-settings-table > tbody > tr:not(:last-child) {
    border-bottom:1px solid #ccc;
}

.terminal-settings-table > tbody > tr > td:not(.status-cell) {
    padding: 5px 0;
}

.terminal-settings-table > tbody > tr.key-value > td:first-child {
    text-align: left;
}

.terminal-settings-table > tbody > tr.key-value > td:last-child {
    text-align: right;
}

.terminal-settings-table > tbody > tr > td[colspan="3"] {
    text-align: center;
    padding-bottom: 10px;
}

.terminal-settings-table > tbody > tr > td > input:not(input[type="checkbox"]):not(input[type="number"]),
.terminal-settings-table > tbody > tr > td > select {
    box-sizing: border-box;
    width: 100%;
}

.terminal-status-cell {
    padding: 6px 12px;
    font-size:14px;
}

.status-cell {
    vertical-align: middle;
    padding-bottom: 5px
}

.status-cell .terminal-name, 
.status-cell .terminal-status {
    text-transform: uppercase;
    text-align: center;
    padding:5px 0;
}

.terminal-name {
}

.terminal-status {
    font-weight: bold;
}

/*.terminal-status .indicator {
    text-transform: uppercase;
    
}
.terminal-status .indicator::after {
    content: 'работает корректно'
}
.terminal-status .indicator.num-conflict::after {
    content: 'конфликт номеров устройств'
}
.terminal-status .indicator.ip-conflict::after {
    content: 'конфликт IP адресов'
}
.terminal-status .indicator.loss-connection::after {
    content: 'нет связи'
}*/


table.time-sync-table {
    text-align: center;
    padding: 0px;
    margin:10px auto;
}

.time-sync-table td, .time-sync-table th {
    border: 1px solid #ccc;
}

.time-sync-table td {
    padding: 6px 12px;
}

.time-sync-table th {
    padding: 5px 0;
    font-weight: normal;
}

.time-sync-table td:first-child {
    text-align: left;
}

.access-levels {
    display: flex;
    justify-content: center;
}

.access-levels>div {
    display: inline-block;
    margin-right: 15px;
}

.access-levels>div:last-child {
    margin-right: 0;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

/*yoba-switch*/
.form-switch {
    display: inline-block;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .form-switch i {
    position: relative;
    display: inline-block;
    margin-right: .5rem;
    width: 46px;
    height: 26px;
    background-color: #c6c6c6;
    border-radius: 23px;
    vertical-align: text-bottom;
    transition: all 0.3s linear;
  }
  .form-switch i::before {
    content: "";
    position: absolute;
    left: 0;
    width: 42px;
    height: 22px;
    background-color: #fff;
    border-radius: 11px;
    transform: translate3d(2px, 2px, 0) scale3d(1, 1, 1);
    transition: all 0.25s linear;
  }
  .form-switch i::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 22px;
    background-color: #fff;
    border-radius: 11px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.24);
    transform: translate3d(2px, 2px, 0);
    transition: all 0.2s ease-in-out;
  }
  .form-switch:active i::after {
    width: 28px;
    transform: translate3d(2px, 2px, 0);
  }
  .form-switch:active input:checked + i::after { transform: translate3d(16px, 2px, 0); }
  .form-switch input { display: none; }
  .form-switch input:checked + i { background-color: #4BD763; }
  .form-switch input:checked + i::before { transform: translate3d(18px, 2px, 0) scale3d(0, 0, 0); }
  .form-switch input:checked + i::after { transform: translate3d(22px, 2px, 0); }
  /*yoba-switch*/

.sip-phone-wrapper {
    position:fixed;
    top:0;
    bottom:0;
    right:-300px;

    width: 300px;

    transition: right 0.2s;
    z-index: 2001;

    display:flex;
    align-items: center;
}

.sip-phone-wrapper .csPopUpWrapper {
    box-shadow: none;
}

.sip-phone-wrapper.visible .csPopUpWrapper {
    box-shadow: rgb(34 60 80 / 20%) 0px 3px 5px 2px;
}

.sip-window-wrapper {
    width:100%;
    
}

.sip-window {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    border: 1px solid #b5b5b5;
    
    border-right:0;
    padding: 0;
}

.sip-phone-wrapper.visible {
    right:0;
}

.sip-show-btn {
    position: absolute;
    font-size: 16px;
    left: -70px;
    top: 50%;
    transform: rotate(270deg) translateY(-50%);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    cursor:pointer;
}

.sip-phone-content {
    overflow-y: auto;
    word-break: break-all;
    max-height:600px;
}

.sip-phone-content .tab-content {
    padding: 10px;
    height: 446px;
    
}

#sip_contacts_select {
    font-size: 16px;
    padding: 4px 10px;
    width: 100%;
}

.camera-container {
    position: relative;
    width: 100%;
    height: 239px;
}

.camera-container #preview_container img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 239px;
}

.camera-container #video_container video {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 239px;
}

#sip_contacts_select {
    margin:5px 0;
}

.call-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top:4px;
}

.call-control > button {
    width:100%;
}

.call-control > button:first-child {
    margin-right:4px;
}

.call-control > button:last-child {
    margin-left:4px;
}

#call_timer {
    line-height: 25px;
    margin-top:9px;
}

.audio-control {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-grow: 0;
    flex-shrink: 1;
    margin-top: 9px;
}

.audio-control meter {
    width:100%;
    height:36px;
    padding:0;
    border-radius: 0;
    margin-left:9px;
}

.audio-control meter::-webkit-meter-bar {
    padding:0;
    border-radius: 0;
}

.audio-control meter::-webkit-meter-even-less-good-value {
    background: none;
    background-color: red;

}
/*
.audio-control meter::-webkit-meter-suboptimum-value {
    background: none;
    background-color: yellow;
}*/

img.loading {
    width: 60px;
}
img.loading.rotate {
    -webkit-animation: spin 3s linear infinite;
    -moz-animation: spin 3s linear infinite;
    animation: spin 3s linear infinite;
}
@-moz-keyframes spin {
    100% {
        -moz-transform: rotate(360deg);
    }
}
@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
    }
}
@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}


.terminal-version-help-btn {
    cursor:pointer;
    /*position: absolute;
    right: 17px;
    top: 88px;*/
    border-bottom: 1px dotted gray;
}

.tooltip {
    background: black;
    /*background-color: #333;*/
    color: white;
    padding: 10px;
    border-radius: 3px;
    /*font-size: 13px;*/
    display: none;
    z-index: 9;
}

.tooltip[data-show] {
    display: block;
}

.tooltip .arrow,
.tooltip .arrow::before {
  position: absolute;
  width: 8px;
  height: 8px;
  background: inherit;
  top: -2px;
}

.tooltip .arrow {
  visibility: hidden;
}

.tooltip .arrow::before {
  visibility: visible;
  content: '';
  transform: rotate(45deg);
}

.img-thumbnail {
    border: 1px solid rgb(204, 204, 204);
    border-radius: 3px;
}
.bg-dark {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important;
}
.text-warning {
    --bs-text-opacity: 1;
    color: rgba(var(--bs-warning-rgb),var(--bs-text-opacity))!important;
}
.text-danger {
    --bs-text-opacity: 1;
    color: rgba(var(--bs-danger-rgb),var(--bs-text-opacity))!important;
}

.alert {
    display: block;
    padding: 5px 10px;
    text-align: center;
    border-radius: 3px;
}

.alert-primary {
    color: #0a58ca;
    border: 1px solid #9ec5fe;
    background-color: #cfe2ff;
}

.alert-success {
    color: #155724;
    border: 1px solid #c3e6cb;
    background-color: #d4edda;
}

.alert-danger {
    color: #721c24;
    border: 1px solid #f5c6cb;
    background-color: #f8d7da;
}

.alert-warning {
    color: #856404;
    border: 1px solid #ffeeba;
    background-color: #fff3cd;
}

.alert-secondary {
    color: #383d41;
    background-color: #e2e3e5;
    border-color: #d6d8db;
}

.password-show-toggler {
    position: absolute;
    top: 11px;
    right: 4px;
}
.loading-overlay {
    position: absolute;
    inset: 0;
    background-color: #eeeeee;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: var(--bs-card-height);
    word-wrap: break-word;
    background-color: var(--bs-card-bg);
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.175);
    border-radius: 0.375rem;
}


[type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled), button:not(:disabled) {
    cursor: pointer;
}