/* Здесь некоторые фиксы для стилей темы */

.select2-container--open {
    z-index: 3000;
}

.modal-xxl {
    max-width: 85%!important;
}

#pipelinerequest-deadline {
    background: white;
}

.filter-pills-panel button {
    display: block !important;
    margin: 5px 5px 5px 0;
    float: left;
}

.filter-pills-panel button .badge {
    margin: 0 0 0 10px;
    width: 16px;
    color: #6a7eb5;
}

.btn-set-responsible {
    margin: 10px 0;
}

.pill-responsible {
    background: #1dc944;
    color: white;
    padding: 0 6px;
    border-radius: 3px;
    display: inline-block;
}

.block_file_entity {
    display: inline-block;
    margin: 0 8px 8px 0 !important;
    background: #f0f8ff;
    padding: 2px 6px;
    border: 1px solid #d6dfe6;
    border-radius: 3px;
    color: #444;
}

.block_file_entity a.download-file, .block_file_entity a.delete_file, .block_file_entity a.confirm-file, .block_file_entity a.decline-file {
    margin: 0 5px;
}

.block_file_entity a.delete_file {
    text-decoration: underline !important;
    color: #e45656;
}

#comment_form_block .field-pipelinerequestlog-changes {
    margin-bottom: 1rem !important;
}

#comment_form_block #dz_uploaded_files,
#comment_form_block #attacher__selected_files {
    padding: 0 !important;
}

#comment_form_block #dz_uploaded_files li,
#comment_form_block #attacher__selected_files li {
    list-style: none;
    display: inline-block;
    margin: 0 10px 10px 0;
    background: #f0f8ff;
    padding: 2px 6px;
    border-radius: 3px;
    border: 1px solid #d6dfe6;
}

#section_logs {
    margin: 0 0 1rem 0 !important;
}

.icon-set-close-date {
    color: #6a7eb5;
    margin: 10px auto 0 auto;
    text-align: center;
    display: block;
}

.close_date_container {
    display: none;
}

.log-popup-thumbnail {
    margin: 0 auto;
    display: block;
    text-align: center;
}

.log-popup-thumbnail a {

}

.log-play-video {
    margin: 0 auto;
    display: block;
    width: 100%;
    height: 90px;
    text-align: center;
    padding: 12px 0 0 0;
}

.log-play-video:hover .fa-play-circle:before {
    color: #B4D0E6;
}

.fa-play-circle:before {
    font-family:'Font Awesome 5 Pro';
    color: #a2cae6;
}

.select2-container .select2-search--inline .select2-search__field {
    width: 100%!important;
}

.custom-file-input:lang(en)~.custom-file-label::after {
    content: "Выберите файл";
}

.act-photo-card {
    width: 12rem;
    height: 15rem;
}

.act-photo-card .control-block {
    position: absolute;
    top:10px;
    right:10px;
}

.act-photo-card .required-block {
    position: absolute; top:10px; left:10px;
}

.act-photo-card .card-title{
    font-weight: bold
}

.red {
    color: red
}

.act_image_file_div_image {
    width: 100%;
    cursor: pointer;
    /*margin: 0 33%;*/
    object-fit: contain;
}

.photo_act_files .card-body {
    height: 170px;
    display: flex;
}

.card-header .image-full-title {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#photo_large_modal img {
    max-width: 100%;
}

.colorDefault {
    color: #000;
}

.colorDecline {
    color: #e25858;
}

.colorConfirm {
    color: #3cab3c;
}

.required label:not(.custom-control-label)::after {
    content: ' *';
    color: red;
    margin-left: 4px;
}

label.required::after {
    content: ' *';
    color: red;
    margin-left: 4px;
}