@supports (-moz-appearance:none) {
    .jconfirm-box {
        width: -moz-fit-content;
    }
}

.hidden_block {
    display: none !important;
}


.alert {
    border: 1px solid transparent;
    padding: 10px;
    border-radius: .25rem;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.box-success {
    transition: 500ms;
    -webkit-box-shadow: 0 6px 12px rgba(18, 177, 54, 0.76);
    box-shadow: 0 6px 12px rgba(18, 177, 54, 0.7);
}

.box-success-hover:hover {
    transition: 500ms;
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
    -webkit-box-shadow: 0 6px 12px rgba(18, 177, 54, 0.76);
    box-shadow: 0 6px 12px rgba(18, 177, 54, 0.7);
}

.success {
    color: #12b136;
}

.danger {
    color: #e01a2d;
}

.training_types_body {
    height: 42px;
    display: flex;
    align-items: center;
}

.jconfirm.jconfirm-modern .jconfirm-box div.jconfirm-content {
    text-align: unset !important;
}


input:read-only, input:disabled, select.input-tape:disabled ~ .input-tape,
textarea:disabled {
    border-color: #DDDDDD !important;
    color: black !important;
    background-color: rgba(221, 221, 221, 0.45) !important;
    /*background-color: none !important;*/
    cursor: default;
}

.form-checkbox > input:checked:disabled ~ .check, .form-radio > input:checked:disabled ~ .check {
    background-color: #DDDDDD !important;
    border-color: #DDDDDD !important;
}

#document_block .e-file__body {
    background-size: cover;
    max-width: 36px;
}

#document_block .e-file__body > div {
    margin-left: 20px;
}

.datepicker {
    z-index: 100000000;
}

.paginate {
    text-align: center;
}

.paginate button.active {
    color: #ffffff;
}

.paginate button:hover {
    color: #ffffff;
}

.t-a-s {
    text-align: start;
}

.sout_label {
    cursor: pointer;
}

#opo_harmful_factors_table,
#prof_harmful_factors_table,
#prof_work_progress_table,
#opo_work_progress_table,
#danger_factors_table,
#injured_table_315y,
#positions_table {
    width: 100% !important;
}

#opo_harmful_factors_table input[type="checkbox"],
#prof_harmful_factors_table input[type="checkbox"],
#prof_work_progress_table input[type="checkbox"],
#opo_work_progress_table input[type="checkbox"],
#work_place_table input[type="checkbox"],
#positions_table input[type="checkbox"] {
    -moz-appearance: auto !important;
    height: 15px;
    width: 15px;
    -webkit-appearance: auto !important;
}


i.arrow_down {
    content: '';
    color: #0578BE;
    width: 6px;
    height: 6px;
    border-width: 2px;
    -webkit-transform: rotateZ(
        45deg);
    -moz-transform: rotateZ(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotateZ(45deg);
    transform: rotateZ(
        45deg);
    border-color: currentColor;
    border-right-style: solid;
    border-bottom-style: solid;
    top: 18px;
    right: 20px;
}

button:hover i.arrow_down {
    color: white !important;
}

.w-100 {
    width: 100%;
}

.sout_block {
    transition: all .5s;
    height: 100%;
}

.tab_close {
    overflow: hidden;
    position: relative;
    max-height: 100px;
    -webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(white), to(rgba(0, 0, 0, 0)));
}


.tab_close:after {
    content: '';
    box-shadow: 0px -20px 25px white inset;
}

#upload_document_body {
    position: relative;
}

#upload_document_body input {
    position: absolute;
    border: none;
    cursor: pointer;
    width: 100%;
    height: 100%;
    z-index: 5;
    opacity: 0;
    display: inline-block;
}


.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent transparent transparent !important;
    border-width: 0 4px 5px 4px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent transparent transparent !important;
}


.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow:after {
    -webkit-transform: rotate(
        -135deg);
    -ms-transform: rotate(-135deg);
    transform: rotate(
        -135deg);
}


.select2-container--default .select2-selection--single .select2-selection__arrow:after {
    border-bottom: 2px solid #0578BE;
    border-right: 2px solid #0578BE;
    content: '';
    display: block;
    height: 5px;
    margin-top: -4px;
    pointer-events: none;
    position: absolute;
    right: 12px;
    top: 50%;
    -webkit-transform-origin: 66% 66%;
    -ms-transform-origin: 66% 66%;
    transform-origin: 66% 66%;
    -webkit-transform: rotate(
        45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(
        45deg);
    -webkit-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
    width: 5px;
}


.select2-container--default.select2-container--disabled .select2-selection__arrow:after {
    border-bottom: 2px solid #cccccc;
    border-right: 2px solid #cccccc;

}


.select2-container .select2-dropdown .select2-results ul .select2-results__option--highlighted[aria-selected] {
    background-color: #f6f6f6 !important;
    color: #000000;
}

.select2-container--default .select2-results__option--selected {
    background-color: #f6f6f6 !important;
    color: #000000;
    font-weight: bold;
}


.select2-container--default.select2-container--disabled .select2-selection--multiple {
    background-color: rgba(221, 221, 221, 0.45) !important;
    cursor: default;
}

.select2-container--default.select2-container--disabled .select2-selection--single {
    background-color: rgba(221, 221, 221, 0.45) !important;
    cursor: default;
}


.select2-container--default:hover.select2-container--disabled .select2-selection--multiple {
    border: 1px solid #DDDDDD !important;
}

.select2-container--default:hover.select2-container--disabled .select2-selection--single {
    border: 1px solid #DDDDDD !important;
}


.select2-container--default:hover .select2-selection {
    border: 1px solid #0578BE !important;
}

.select2-container--default:hover .select2-selection--multiple {
    border: 1px solid #0578BE !important;
}

#opo_harmful_factors_table_filter,
#prof_harmful_factors_table_filter,
#danger_factors_table_filter,
#positions_table_filter {
    width: 100%;
}


#opo_harmful_factors_table_wrapper #opo_harmful_factors_table_filter label,
#prof_harmful_factors_table_wrapper #prof_harmful_factors_table_filter label,
#danger_factors_table_wrapper #danger_factors_table_filter label,
#positions_table_wrapper #positions_table_filter label {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-top: 10px;
    align-items: flex-start;
}

#opo_harmful_factors_table_wrapper #opo_harmful_factors_table_filter label input,
#prof_harmful_factors_table_wrapper #prof_harmful_factors_table_filter label input,
#danger_factors_table_wrapper #danger_factors_table_filter label input,
#positions_table_wrapper #positions_table_filter label input {
    width: 100%;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: 1px solid #ccc !important;
}


.select2.select2-container {
    width: 100% !important;
    max-width: 100% !important;
    text-align: left;
}

.select2-selection__clear {
    position: absolute !important;
    right: 20px !important;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    cursor: pointer;
    float: right;
    font-weight: bold;
    height: 42px !important;
    margin-right: 20px;
    padding-right: 0;
}

.select2-container .select2-selection--single .select2-selection__clear {
    background-color: transparent;
    border: none;
    font-size: 2em !important;
    color: #0578BE;
}

.select2.select2-container .select2-selection {
    color: #000000;
    font-size: 15px;
    font-family: Montserrat, serif;
    font-weight: 400;
    line-height: 1.2;
    padding-left: 5px;
    padding-right: 15px;
    display: block;
    width: 100%;
    height: 42px;
    background: #FFFFFF;
    border: 1px solid #DDDDDD;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-shadow: inset 4px 4px 7px rgb(0 0 0 / 4%);
    -moz-box-shadow: inset 4px 4px 7px rgba(0, 0, 0, 0.04);
    box-shadow: inset 4px 4px 7px rgb(0 0 0 / 4%);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;

}

.select2-warning .select2.select2-container .select2-selection, .select-warning .form-control {
    border: 2px solid #fcd941 !important;
}

.select2-danger .select2.select2-container .select2-selection, .select-danger .form-control {
    border: 2px solid #ff0000 !important;
}

.select2.select2-container .select2-selection .select2-selection__arrow {
    -webkit-border-radius: 0 3px 3px 0;
    -moz-border-radius: 0 3px 3px 0;
    border-radius: 0 3px 3px 0;
    height: 40px;
    width: 33px;
}

.select2.select2-container .select2-selection.select2-selection--single .select2-selection__rendered {
    color: #000000;
    line-height: 42px;
    padding-right: 33px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(var(--vh, 1vh) * 80);
}


.select2.select2-container.select2-container--open .select2-selection.select2-selection--single {
    background: #f8f8f8;
}

.select2.select2-container.select2-container--open .select2-selection.select2-selection--single .select2-selection__arrow {
    -webkit-border-radius: 0 3px 0 0;
    -moz-border-radius: 0 3px 0 0;
    border-radius: 0 3px 0 0;
}


.select2.select2-container .select2-selection--multiple {
    height: auto;
    min-height: 40px;
}

.select2.select2-container .select2-selection--multiple .select2-search--inline .select2-search__field {
    margin-top: 20px;
    height: 42px;
}

.select2.select2-container .select2-selection--multiple .select2-selection__rendered {
    display: block;
    padding: 0 4px;
    line-height: 29px;
}

.select2.select2-container .select2-selection--multiple .select2-selection__choice {
    background-color: #f8f8f8;
    border: 1px solid #ccc;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    margin: 4px 4px 0 0;
    padding: 0 6px 0 22px;
    height: 24px;
    line-height: 24px;
    font-size: 16px;
    position: relative;
    max-width: 300px;
}

.select2.select2-container .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    margin: 0;
    text-align: center;
    color: #0578BE;
    font-weight: bold;
    font-size: 18px;
    border-right: 0;
}

.select2-container .select2-dropdown {
    background: transparent;
    border: none;
}

.select2-container .select2-dropdown .select2-search {
    padding: 0;
}

.select2-container .select2-dropdown .select2-search input {
    outline: none !important;
    border: 1px solid #929292 !important;
    border-bottom: none !important;
    padding: 4px 6px !important;

}

.select2-container .select2-dropdown {
    -webkit-box-shadow: 0px 7px 20px rgb(0 0 0 / 10%), inset 4px 4px 7px rgb(0 0 0 / 4%);
    -moz-box-shadow: 0px 7px 20px rgba(0, 0, 0, 0.1), inset 4px 4px 7px rgba(0, 0, 0, 0.04);
    box-shadow: 0px 7px 20px rgb(0 0 0 / 10%), inset 4px 4px 7px rgb(0 0 0 / 4%);

}

.select2-container .select2-dropdown .select2-results {
    padding: 0;
}

.select2-container .select2-dropdown .select2-results ul {

    background: #fff;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 0 0 5px 5px;
    margin-top: 0 !important;
    top: 0;
    border-bottom: 1px solid #929292;
    border-right: 1px solid #929292;
    border-left: 1px solid #929292;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
}

.div-date:after {
    content: url(../img/icons/input-date.svg);
    position: absolute;
    top: 12px;
    right: 12px;
}

.mh-200 {
    min-height: 200px;
}

.disabled_task {
    color: #bfbfbf;
    text-decoration: line-through;
}

.btn-hook[disabled] {
    background-color: #dddddd;
    border-color: #dddddd;
    pointer-events: none;
    color: white;
}

#document_block .e-file__body .e-file__name {
    position: absolute;
}


.append_button .input-tape {
    border-radius: 5px 0 0 5px !important;
    -webkit-border-radius: 5px 0 0 5px !important;
}

.append_button .btn-hook {
    border: 1px solid #DDDDDD;
    border-left: 0;
    border-radius: 0 5px 5px 0;
    -webkit-border-radius: 0 5px 5px 0;
}

.min-h-250 {
    min-height: 250px;
}

.min-h-200 {
    min-height: 200px;
}

.min-h-100 {
    min-height: 100px;
}

.min-h-150 {
    min-height: 150px;
}

.min-h-50 {
    min-height: 50px;
}

/* Dropdown Button */
.dropbtn {
    color: #0578BE;
    padding-right: 24px;
}

.min-w-400 {
    min-width: 400px;
}


table.dataTable tr.dtrg-group td {
    background-color: #ffffff !important;
}


table.dataTable.stripe tbody tr.odd, table.dataTable.display tbody tr.odd, table.dataTable.display tbody tr.odd td,
table.dataTable.stripe tbody tr.even, table.dataTable.display tbody tr.even, table.dataTable.display tbody tr.even td {
    background-color: #ffffff !important;
}

body .dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    color: #fff !important;
    background: #0578BE !important;
    font-size: 15px;
    font-family: Montserrat;
    font-weight: 400;
    line-height: 1.2;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #0578BE;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -moz-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-height: 42px;
    padding-left: 14px;
    padding-right: 14px;
}


.dropbtn:after {
    content: '';
    width: 6px;
    height: 6px;
    border-width: 2px;
    -webkit-transform: rotateZ(45deg);
    -moz-transform: rotateZ(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotateZ(45deg);
    transform: rotateZ(45deg);
    border-color: currentColor;
    border-right-style: solid;
    border-bottom-style: solid;
    position: absolute;
    top: 20px;
    right: 13px
}


.dropbtn_active.dropbtn:after {
    top: 25px !important;
    -webkit-transform: rotateZ(-135deg) !important;
    -moz-transform: rotateZ(-135deg) !important;
    -ms-transform: rotate(-135deg) !important;
    -o-transform: rotateZ(-135deg) !important;
    transform: rotateZ(-135deg) !important;
}


/* Dropdown button on hover & focus */
.dropbtn:hover, .dropbtn:focus {
    background-color: #0578BE;
    color: #ffffff;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    right: 0;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #ddd
}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {
    display: block;
}

.suggestions-content {
    position: relative;
    margin: 0;
    padding: 0;
    vertical-align: top;
    -webkit-text-size-adjust: 100%;
}

.suggestions-items {
    background: #fff;
    border: 1px solid #999;
    -ms-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    cursor: default;
    left: 0;
    min-width: 100%;
    position: absolute;
    z-index: 9999;
    -webkit-text-size-adjust: 100%;
    overflow: auto;
    max-height: 500px;

    display: none;
}

.suggestions-item {
    cursor: pointer;
    padding: 15px;
}


.suggestions-item:hover {
    cursor: pointer;
    background: #e7e7e7;

}


table.dataTable.row-border tbody tr:hover th,
table.dataTable.row-border tbody tr:hover td,
table.dataTable.display tbody tr:hover th,
table.dataTable.display tbody tr:hover td {
    background-color: #fafafa !important;

}


body table.dataTable.display tbody tr:hover {
    background-color: #fafafa !important;
}

body .dataTables_wrapper .dataTables_paginate .paginate_button:not(.current) {
    color: #0578BE;
    font-size: 15px;
    font-family: Montserrat;
    font-weight: 400;
    line-height: 1.2;
    background: white;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #0578BE;
    display: -webkit-inline-box;
    cursor: pointer !important;
    display: -webkit-inline-flex;
    display: -moz-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-height: 42px;
    padding-left: 14px;
    padding-right: 14px;
}

table.dataTable > tbody > tr > td {
    height: 42px;
    padding-left: 14px;
    padding-right: 14px;
}


#injured_table_315y tbody tr td:nth-child(4) {
    text-align: end;
}

textarea.none_resize {
    resize: none;
}


.photo_staff {
    width: 100%;
    height: 100%;
    max-height: 290px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
}


.privacy_policy {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;

}

/* Tooltip container */
.tooltip_button {
    position: relative;
    pointer-events: auto !important;
}


.tooltip:after {
    position: absolute;
    content: url("/img/icons/quest_min.png");

    width: 25px;
    height: 25px;
    padding-left: 5px;
    padding-right: 5px;
    bottom: -7px;
}

/* Tooltip text */
.tooltip_button .tooltiptext {
    right: -65px !important;
    bottom: 50px !important;
}

.tooltip .tooltiptext, .tooltip_button .tooltiptext {
    visibility: hidden;
    width: 250px;
    background-color: rgba(68, 68, 68, 0.92);
    color: #fff;
    text-align: center;
    padding: 5px 10px;
    border-radius: 6px;

    font-size: 16px;

    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1000;
    right: 10px;
    bottom: 14px;

    cursor: pointer;
    user-select: none;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
    gap: 1rem;

    animation-delay: 1s;
    animation-direction: normal;
    transition: all 200ms;
}

.tooltip .tooltiptext::after, .tooltip_button .tooltiptext::after {
    content: " ";
    position: absolute;
    top: 100%; /* At the bottom of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(68, 68, 68, 0.92) transparent transparent transparent;

}

.tooltip .tooltiptext.center {
    bottom: 100% !important;
    left: 50% !important;
    margin-left: -60px !important;
}

.tooltip .tooltiptext.top.center_quest {
    right: -90px !important;
    bottom: 20px !important;
}

/* Tooltip text */
.jconfirm-content .tooltip .tooltiptext {
    bottom: auto !important;
    top: 14px !important;
}

.jconfirm-content .tooltip .tooltiptext.right {
    right: -120px !important;
}

.jconfirm-content .tooltip .tooltiptext::after {
    bottom: 100% !important;
    top: auto !important;
    border-color: transparent transparent rgba(68, 68, 68, 0.92) transparent !important;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext, .tooltip .tooltiptext:hover, .tooltip_button:hover .tooltiptext, .tooltip_button .tooltiptext:hover {
    visibility: visible;

    animation-delay: 1s;
    animation-direction: normal;
    transition: all 200ms;
}


.vide_manual {
    width: 1200px !important;
    height: 500px !important;


    transition: width 0.3ms ease, height 0.3ms ease;
    -webkit-transition: width 0.3ms ease, height 0.3ms ease;
    -o-transition: width 0.3ms ease, height 0.3ms ease;
}

.input_search {
    width: 500px;
}

@media (max-width: 1200px) {
    .vide_manual {
        width: 1000px !important;
        height: 500px !important;
    }
}

@media (max-width: 1000px) {
    .vide_manual {
        width: 800px !important;
        height: 400px !important;
    }


}

@media (max-width: 800px) {
    .select2.select2-container .select2-selection--multiple .select2-selection__choice {
        max-width: 300px !important;
    }

    .vide_manual {
        width: 600px !important;
        height: 300px !important;
    }

    .input_search {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .vide_manual {
        width: 450px !important;
        height: 225px !important;
    }
}

@media (max-width: 560px) {
    .select2.select2-container {
        max-width: 320px !important;
    }
}


@media (max-width: 460px) {
    .vide_manual {
        width: 100% !important;
        height: 100% !important;
    }
}


