
/*Стили для компонента Ссылки на внешние системы*/
.link-to-system {
    text-decoration: none;
    min-width: 200px;
    max-width: 200px;
}

.link-to-system p {
    font-size: 11px;
}

.link-to-system p.primary {
    color: var(--primary-color);
}

.logo {
    min-width: 205px;
}

.logo div {
    padding-left: 8px;
}

.logo div p {
    font-weight: 700;
    font-size: var(--default-font-size);
    color: var(--primary-font-color);
}

.logo div span {
    font-weight: 900;
    color: var(--primary-color);
}
.label {
    padding: 5px 10px;
    color: white;
    border-radius: 30px;
}
.label-primary{
    background: var(--primary-color);
}
.label-secondary{
    background: var(--secondary-color);
}
.card, .card > * {
    transition: .5s all;
}
.card {
    flex: 1;
    background: #FFFFFF;
    border: 1px solid #F3F3F3;
    box-sizing: border-box;
    border-radius: 20px;
    padding: 20px;
}
.card[type=vertical] p{
    padding: 10px;
    text-align: center;
}
.card[type=vertical]{
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.card[type=horizontal]{
    justify-content: flex-start;
    align-items: center;
}
.card[type=horizontal] > *{
    margin: 5px;
}
.card[type=horizontal]:hover{
    cursor: pointer;
}
.card[type=horizontal]:hover p{
    font-weight: 900;
}
.card[type=vertical]:hover p{
    color: white;
}
.card[type=vertical]:hover div{
    border: 4px solid var(--border-color);
}
.card[type=vertical]:hover{
    background: var(--primary-color);
    cursor: pointer;
}
.card[type=vertical] > div {
    background: white;
    border-radius: 100px;
    padding: 15px;
    box-sizing: border-box;
    border: 4px solid white;
}
.uppercase{
    text-transform: uppercase;
}
.loader-card{
    background-color: var(--primary-color);
    flex-direction: column;
    flex: unset;
}
.auth-form-container {
    margin: 40px 120px;
}
.qr-form p{
    font-weight: 600;
    font-size: var(--default-description-font-size);
}
.qr-form ul {
    list-style: decimal;
    padding: 0;
}
.qr-form ul li{
    font-size: var(--default-font-size);
}
.qr-form ul li a{
    color: var(--primary-color);;
}
.login{
    margin-top: 15px;
}
.login *{
    margin-top: 8px;
}
.search-lawsuits{
    font-size: 18px;
    font-weight: 500;
    font-family: Roboto;
    color: black;
    text-transform: uppercase;
}
.search-case{
    padding: 30px 40px;
}
.login .input-login{
    padding-left: 10px;
    font-size: var(--default-description-font-size);
    border: 1px solid var(--border-input-color);
    border-radius: 5px;
    width: 100%;
    height: 32px;
    color: #B4B6D6;
}
.login>span {
    width: 100%;
}

.btn-primary, .button-primary{
    background: var(--primary-color);
}
.button-orange{
    background: #FD9D58;
}
.btn-danger, .button-error{
    background: var(--error-color);
}
.btn-default, .button-secondary{
    background: var(--secondary-button-color);
}
.tab-content>input.btn-margin{
    margin: 5px 0 90px ;
}
.reconciliation_photo{
    margin-right: 94px;
}
.side-block label{
    display: block;
    padding: 5px 10px;
    background: var(--secondary-color);
    color: white;
    border-radius: 20px;
    box-sizing: border-box;
}
.side-block div:first-child label{
    background: var(--primary-color);
}
.side-block>div {
    padding: 25px 30px;
    max-height: 160px;
}
.form-view-judical{
    height: 34px;
    border: 1px solid #D3DFE9;
    background: white;
    border-right: 1px solid #ccc;
    border-radius: 37px;
    overflow: hidden;
}
.rf-msgs-err{
    background: none;
    padding: 0 5px;
}
.rf-msgs-sum{
    color: var(--error-color);
    font-weight: 700;
}

/*SELECT ONE ITEM*/
.select-one-item-panel {
    display: block;
    flex: 1;
    width: 100%;
    margin-right: 20px;
    margin-top: 20px;
}
.select-one-item-panel *{
    width: 100% !important;
}

.select-one-item-panel label {
    min-height: 23px;
    font-size: 14px;
    color: var(--secondary-font-color);
}

.select-one-item-panel span {
    max-height: 30px;
    font-size: 12px;
    color: var(--error-color);
}
.needAddRedStar{
    position: relative;
}
.needAddRedStar::after{
    content: '*';
    position: absolute;
    top: 3px;
    color: var(--error-color);
}
.listPanelFooterGis {
    height: 100px;
    width: 100%;
    z-index: 9;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    background-color: white;
}
.iconsBlockPartGis {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
}

.gis-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.gis-icon > p {
    margin: 5px;
    text-align: center;
}
.hovered{
    cursor: pointer;
}

.hovered:hover{
    background-color: var(--primary-color);
}

.hovered:hover * {
    color: white;
}
.calendar-process-search>table>tbody>tr>td>input {margin-right: 8px;}
.calendar-process-search>table>tbody>tr>td {
    display: flex;
    align-items: center;
}
.calendar-panel {
    font-family: sans-serif;
}

.calendar-panel .btn {
    color:#808080;
    background-color: transparent;
    padding-left: 0;
}

.form-group > label{
    color: var(--primary-font-color);
    font-size: var(--default-font-size);
    position: relative;
}
.form-group > label.needAddRedStar:after{
    position: absolute;
    display: contents;
    content: '*';
    color: var(--error-color);
}
#month-calendar-container table tr th span {
    color: #336666;
    font-weight: normal;
    font-family: sans-serif;
    font-size: 13px !important;
}
#month-calendar-container table tr th {
    background-color: transparent;
    border: none;
    height: 30px;
    border-bottom: 1px solid #e9e9e9;
}

#month-calendar-container table tr td{
    border: none;
    border-left: 1px solid white;
}

#month-calendar-container .task-container .day {
    text-align: center;
    font-size: 18px;
    color: #4d4d4d;
    background-color: white;
    padding: 8px;
    padding-left: 30px;
}

#month-calendar-container .task-container {
    margin: 0;
    background-color: #f4f4f4;
}

#month-calendar-container .task-container a > img {
    padding: 10px;
}

#month-calendar-container .task-container .task-row, #week-calendar-container .task-column .task-row {
    background-color: #ffa061 !important;
    margin: 0;
    border: 0;
    padding: 10px;
    cursor: pointer;
}
#month-calendar-container .task-container .task-row .time-label, #week-calendar-container .task-column .task-row .time-label {
    position: relative;
}

#month-calendar-container .task-container .task-row .time-label a, #week-calendar-container .task-column .task-row .time-label a {
    position:absolute;
    top:0;
    right:0;
}
#month-calendar-container .task-container .task-row .time-label a > img, #week-calendar-container .task-column .task-row .time-label a > img {
    padding:0;
}

#month-calendar-container .task-container .task-row:hover, #week-calendar-container .task-column .task-row:hover {
    border:0;
    outline: 1px dotted;
}

#week-calendar-container table tr td.week-column {
    border: 0px solid #bfb7b7;
    border-top-width: 1px;
    border-bottom-width: 1px;
    background-color: white;
    padding: 15px 50px 15px 0;
    position: relative;
    font-weight: normal;
    min-width: 65px;
}

#week-calendar-container table tr td.task-column {
    border: 0px solid #bfb7b7;
    border-top-width: 1px;
    border-bottom-width: 1px;
    width: 100%;
}
#week-calendar-container table tr td.week-column a {
    color: #336666;
    font-size: 14px;
}
#week-calendar-container table tr td.week-column strong a {
    color: #494949;
}

/*   Search block Style     */

.search-block{
    background-color: #fff;
    width: 96%;
    margin-top: 24px;
    font-size: 14px;
    border-radius: 5px;
    box-shadow: 0 0 1px;
}
.search-block .container{
    margin: 2%;
}

.search-block .container .search-input{
    width: 90%;
    height: 25px;
    border: 1px solid #CCC;
    border-radius: 3px;
    margin-bottom: 10px;
}
.search-container{
    margin-left: 16px;
    margin-bottom: 10px;
}

.link-date {
    float: left;
    width: 140px;
    display: block;
    text-align: center;
}
.link-desc {
    margin-left: 140px;
    text-decoration: none;
    display: block;
    padding-bottom: 10px;
}
.modal-footer-search{padding:19px 20px 20px;margin-top:15px;text-align:right;}
.downloadCalendarBtn { width: 96%; margin-top: 25px; height: 40px; border-radius: 5px; box-shadow: 0 0 1px; }
.title{
    color: #6E839C;
    font-size: 14px;
}
.service-input-group{
    margin: 20px 0;
    height: 35px;
    padding: 5px 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-radius: 30px;
    border: 1px solid var(--border-bottom-color);
}
.service-input-group input{
    flex: 1;
    width: 100%;
    border: none;
    background: none;
    height: 25px;
    border-radius: 30px;
    min-width: auto !important;
}
.service-input-group > input[type=text], .service-input-group > input[type=date], .service-input-group > input[type=time], .service-input-group > input[type=number]{
    border: none;
    background: none;
    height: 25px;
    border-radius: 30px;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    border-right: 1px solid var(--border-bottom-color);

}
.service-input-group i{
    cursor: pointer;
    display: block;
    height: 25px;
    text-align: center;
    line-height: 22.5px;
    font-size: 30px;
    color: var(--secondary-color);
    width: 35px !important;
    flex: unset;

}
.table{
    width: 100%;
    display: inline-block;
}
.schedule-off-case-result-card{
    margin-top: 20px;
}
.table .row{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    width: 100%;
    min-height: 50px;
    height: auto;
    border-bottom: 1px solid var(--border-bottom-color);
    white-space: nowrap;
    overflow-x: scroll;
}
.table .row .cell{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    min-width: 100px;
    border-right: 1px solid var(--border-bottom-color);
    overflow: hidden;
    white-space: normal;
    text-align: center;
}
.table .bold .cell {
    font-weight: bold;
}
.table .row .cell div{
    display: flex;
    flex-direction: column;
}
.table .row .cell *{
    width: 100%;
    text-align: center;
}
.table .row .cell:last-child{
    border-right: none;
}
.table .civil .cell:nth-child(1){width: 5%}
.table .civil .cell:nth-child(2){width: 10%}
.table .civil .cell:nth-child(3){width: 30%}
.table .civil .cell:nth-child(5){width: 10%}
.table .civil .cell:nth-child(6){width: 10%}
.table .civil .cell:nth-child(6){width: 5%}

.table .admin .cell:nth-child(1){width: 5%}
.table .admin .cell:nth-child(2){width: 10%}
.table .admin .cell:nth-child(3){width: 70%}
.table .admin .cell:nth-child(4){width: 10%}
.table .admin .cell:nth-child(5){width: 5%}

.table .criminal .cell:nth-child(1){width: 5%}
.table .criminal .cell:nth-child(2){width: 10%}
.table .criminal .cell:nth-child(3){width: 60%}
.table .criminal .cell:nth-child(4){width: 10%}
.table .criminal .cell:nth-child(5){width: 10%}
.table .criminal .cell:nth-child(6){width: 5%}

.table .pow .cell:nth-child(1){width: 200px}
.table .pow .cell:nth-child(2){width: 160px}
.table .pow .cell:nth-child(4){width: 160px}
.table .pow .cell:nth-child(5){width: 30px}

.modal-open {
    overflow: hidden
}

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    display: none;
    overflow: hidden;
    overflow-y: scroll;
    outline: 0
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: .5rem;
    pointer-events: none
}

.modal.fade .modal-dialog {
    transition: transform .3s ease-out, -webkit-transform .3s ease-out;
    -webkit-transform: translate(0, -25%);
    transform: translate(0, -25%)
}

.modal.show .modal-dialog {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0)
}

.modal-dialog-centered {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - (.5rem * 2))
}

.modal-content {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border-radius: 20px;
    outline: 0;
    box-shadow: 0 0 15px rgba(0,0,0,.3);
}
.modal-backdrop.fade {
    opacity: 0
}

.modal-backdrop.show {
    opacity: .5
}

.modal-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    border-top-left-radius: .3rem;
    border-top-right-radius: .3rem
}

.modal-header .close {
    padding: 1rem;
    margin: -1rem -1rem -1rem auto
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5
}

.modal-body {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem
}

.modal-footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid #e9ecef
}

.modal-footer > :not(:first-child) {
    margin-left: .25rem
}

.modal-footer > :not(:last-child) {
    margin-right: .25rem
}

.modal-scrollbar-measure {
    position: absolute;
    top: -9999px;
    width: 50px;
    height: 50px;
    overflow: scroll
}
.shadow{
    box-shadow: 0 0 15px rgba(0,0,0,.3);
}
.rf-msg-err, .rf-msgs-err{
    background-image: none;
    padding-left: 10px !important;
}
.rf-msg-det{
    color: var(--error-color);
}
.tab-container{
    margin-top: 20px;
    padding-top: 40px;
    position: relative;
}
.tab-container > .tab-header{
    position: absolute;
    top: 0;
    height: 40px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: white;
    left: 0;
    box-shadow: 0 0 10px rgba(0,0,0,.3);
}
.tab-container > .tab-header::after{
    content: ' ';
    position: absolute;
    display: block;
    width: 100%;
    bottom: -10px;
    left: 0;
    background: white;
    height: 10px;
}
.tab-container > .tab-header > a{
    font-size: 14px;
    border-left: 1px solid white;
    justify-content: center;
    align-items: center;
    display: flex;
    line-height: 40px;
    background: #EDEEFF;
    padding: 0 30px;
    cursor: pointer;
}
.tab-container > .tab-header > a.active{
    color: white;
    font-weight: 900;
    background: var(--primary-color);
}
.tab-container > .tab-content{
    width: 100%;
    height: auto;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,.3);
    border-radius: 10px;
    border-top-left-radius: 0;
    background: white;
}
.tab-container > .tab-header > a:last-child{
    border-top-right-radius: 10px;
}
.tab-container > .tab-header > a:first-child{
    border-top-left-radius: 10px;
    border-left-color: white;
}

.form-managed-file{
    width: 100%;
}
.form-managed-file > .form-control{
    display: flex;
    width: 100%;
    min-height: 43px;
    justify-content: space-between;
    align-items: center;
}
table.zhandos>tbody>tr {
    display: table;
    width: 100%;
    height: auto;
    border-bottom: 1px solid var(--border-bottom-color);
    overflow-x: scroll;
}

.zhandos>tbody>tr>th {
    border-right: 1px solid var(--border-bottom-color);
    width: 25%;
    padding: 10px 0;
}
.zhandos>tbody>tr>td{
    border-right: 1px solid var(--border-bottom-color);
    width: 25%;
    text-align: center;
    padding: 10px 0;
}
.zhandos>tbody>tr>td:last-child,.zhandos>tbody>tr>th:last-child{
    border-right:none
}
table.zhandos {
    display: table;
}

table.zhandos>tbody {
    width: 100%;
}
@media (min-width: 576px) {
    .modal-dialog {
        max-width: 500px;
        margin: 5rem auto
    }

    .modal-dialog-centered {
        min-height: calc(100% - (1.75rem * 2))
    }

    .modal-sm {
        max-width: 300px
    }
}

@media (min-width: 992px) {
    .modal-lg {
        max-width: 800px
    }
}
@media screen and (max-width: 1024px){
    .service-card{
        flex-direction: column;
    }
    .table .civil .cell{
        min-width: 50px;
    }
    .table .civil .cell:nth-child(1){width: 5%}
    .table .civil .cell:nth-child(2){width: 15%}
    .table .civil .cell:nth-child(3){width: 22.5%}
    .table .civil .cell:nth-child(5){width: 15%}
    .table .civil .cell:nth-child(6){width: 15%}
    .table .civil .cell:nth-child(7){width: 5%}
}
@media screen and (max-width: 768px) {
    .logo {
        width: 100%;
        min-width: unset;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .side-block {
        justify-content:  center;
        align-items: center;
    }
    .select-one-item-panel {
        flex: unset;
    }
    .remove-in-mobile{
        display: none;
    }
    .auth-form-container{
        margin: 0;
        width: 100%;
    }
    .link-to-system{
        max-width: unset;
    }
    .header-content{
        justify-content: center;
    }
    .select-one-item-panel {
        margin-right: 0;
        flex-direction: column;
    }
    .schedule-off-case-result-card{
        background-color: unset !important;
    }
    .table .row{
        flex-direction: column;
        background-color: white;
        border-radius: var(--default-block-border-radius);
        margin-top: 5px;
        box-shadow: 0 0 10px rgba(0,0,0,.1);
        padding: 15px;
    }
    .table .row .cell{
        border: none;
        border-bottom: 1px solid #e7e7e7;
        padding: 15px;
        width: 100% !important;
        flex-direction: row;
    }
    .table .row .cell:last-child{
        border-bottom: none;
    }
    .table .row .cell label{
        width: 30%;
        font-weight: bold;
        text-align: start;
        padding: 8px;
    }
    .table .row .cell p, .table .row .cell div{
        width: 70%;
        text-align: start;
    }
    .lang{
        width: 100%;
    }
}
@media screen and (max-width: 425px) {
    .lang{
        width: 100%;
    }
    .card[type=horizontal] {
        min-width: 280px;
        max-width: 100%;
    }
    .authoriztion-card {
        width: 100%;
        height: 100%;
        padding: 30px 10px;
    }

    .login {
        width: 100%;
    }

    tr {
        display:  flex;
        flex-wrap:  wrap;
    }
    .buttons{
        flex-direction: column;
    }
    body section{
        padding: 40px 0;
    }
    .auth-form-container{
        border-radius: 0;
    }
    .table .row .cell label{
        width: 50%;
        padding: 8px;
    }
    .table .row .cell p, .table .row .cell div{
        width: 50%;
    }
}
@media screen and (max-width: 320px) {
    .card[type=horizontal] {
        min-width: 250px;
        max-width: 250px;
    }
}
