﻿.modal_window {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999999;
    display: none;
}

    .modal_window .bg {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: #fff;
        opacity: 0.7;
    }

    .modal_window .loader {
        position: absolute;
        left: 0;
        top: 50px;
        right: 0;
        bottom: 0;
        background-color: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 2;
        opacity: 0.8;
        margin: 0;
    }

    .modal_window select {
        height: 28px;
    }

    .modal_window .lookup {
        position: relative;
    }

    .modal_window .content {
        background: #fff;
        border: initial;
        height: 100%;
        display: flex;
        flex-direction: column;
        float: right;
        position: relative;
        box-shadow: 0px 0px 16px #797979;
        width: 0;
        max-width: 1024px;
        transition: ease-in;
        transition-property: width;
        transition-duration: 0.3s;
    }

    .modal_window .header {
        border-bottom: 3px solid #c8c8c8;
        display: flex;
        flex: 0 0 50px;
        padding-left: 10px;
    }

        .modal_window .header .title {
            font-weight: 600;
            font-size: 1em;
            color: #46586f;
            margin-top: 12px;
        }

        .modal_window .header .close {
            margin-left: auto;
            text-shadow: none;
        }

    .modal_window .errors {
        background-color: #dc3545;
        color: #fff;
        padding: 11px 10px 10px 15px;
        display: none;
    }

        .modal_window .errors h2 {
            color: #fff;
            font-size: 16px;
            margin-bottom: 10px;
        }

        .modal_window .errors ul {
            list-style: circle;
            margin-left: 12px;
            font-size: 13px;
        }

    .modal_window .body {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        background-color: #fff;
        padding: 0;
        overflow: hidden;
    }

    .modal_window .nav-tabs .nav-item {
        flex: 1 1 33%;
        display: flex;
    }

        .modal_window .nav-tabs .nav-item a {
            padding: 15px 15px;
            margin: 20px;
            border: 1px solid #d9d9d9;
            border-radius: unset;
            display: flex;
            flex-direction: column;
            flex: 1;
            color: #7f9fd0;
        }

            .modal_window .nav-tabs .nav-item a .ni-t {
                font-weight: 600;
            }

            .modal_window .nav-tabs .nav-item a .ni-d {
                font-size: 14px;
            }

        .modal_window .nav-tabs .nav-item.active a {
            color: #4572b9;
            border: 1px solid #a8a7a7;
        }

        .modal_window .nav-tabs .nav-item:hover a {
            border: 1px solid #2d4e8a;
            color: #565656;
        }

    .modal_window .tab-content {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

        .modal_window .tab-content .tab-pane {
            position: relative;
            flex: 1 1 auto;
            overflow: auto;
        }

            .modal_window .tab-content .tab-pane .menu {
                padding: 5px 10px;
            }

                .modal_window .tab-content .tab-pane .menu > div {
                    display: inline-block;
                    cursor: pointer;
                    padding: 5px 10px;
                }

                    .modal_window .tab-content .tab-pane .menu > div .ico {
                        color: #4572b9;
                    }

                    .modal_window .tab-content .tab-pane .menu > div:hover {
                        background-color: var(--hover-grey);
                    }

    .modal_window .footer {
        border-top: 1px solid #ddd;
        padding: 10px;
        display: flex;
        /* #job_download {
       background-color: #6f238a;
       border-color: #6f238a;

       &:hover {
           background-color: #591670;
       }
   }*/
    }

        .modal_window .footer button {
            margin: 5px;
        }

    .modal_window h2 {
        font-size: 1.5em;
        color: #797979;
        font-weight: bold;
    }

    .modal_window th {
        color: #323130;
        font-size: 13px;
        font-weight: 600;
    }

    .modal_window .dialog {
        width: 900px;
        height: 590px;
    }

    .modal_window .tab-pane .items {
        margin: 11px 10px 10px 15px;
    }

    .modal_window #tab_sche {
        /*    tbody tr {
      &:hover {
          background-color: var(--hover-grey);
      }
  }*/
    }

        .modal_window #tab_sche th {
            border-top: none;
        }

        .modal_window #tab_sche .status .ico {
            margin-right: 10px;
        }

        .modal_window #tab_sche .opts {
            cursor: pointer;
        }

    .modal_window #tab_docs #nd {
        border: none;
        font-size: unset;
    }

    .modal_window .items ul {
        list-style: none;
        margin-right: 5px;
    }

    .modal_window .items .foi {
        display: flex;
        flex-direction: column;
    }

        .modal_window .items .foi .gr {
            border-bottom: 1px solid #727479;
            margin-bottom: 13px;
            font-weight: bold;
            font-size: 1.2em;
            color: #797979;
            margin-top: 10px;
        }

        .modal_window .items .foi:first-child .gr {
            margin-top: 0;
        }

        .modal_window .items .foi .prop-t {
            font-size: 0.7em;
            margin-bottom: 0;
        }

            .modal_window .items .foi .prop-t .req {
                color: #ce2222;
            }

        .modal_window .items .foi .check .prop-t {
            cursor: pointer;
        }

        .modal_window .items .foi .check input {
            float: left;
            width: inherit;
            margin-right: 7px;
            margin-top: 1px;
            cursor: pointer;
        }

        .modal_window .items .foi .lookup {
            position: relative;
        }

        .modal_window .items .foi .map {
            height: 300px;
            position: relative;
        }

            .modal_window .items .foi .map .pc {
                position: absolute;
                top: 10px;
                left: 220px;
                right: 70px;
                height: 40px;
                background-color: #fff;
                border: 1px solid #ddd;
                border-radius: 3px;
            }

                .modal_window .items .foi .map .pc input {
                    width: 100%;
                    height: 100%;
                    border: none;
                    padding: 5px;
                    font-size: 18px;
                    font-family: Roboto, Arial, sans-serif;
                }



    .modal_window .tab-types{
        margin: 16px;
        gap: 20px;
    }

    .modal_window .tab-modal-types{
        margin-bottom: 32px;
    }

        .modal_window .tab-types .tab-modal-types-title {
            border-bottom: 1px solid #d9d9d9;
            margin-bottom: 16px;
        }

    .modal_window .tab-modal-types-table {
        width: 100%;
        border-collapse: collapse;
        table-layout: fixed;
    }

        .modal_window .tab-modal-types-table .tab-modal-types-table-head-row {
            border-bottom: 1px solid #d9d9d9;
            width: 100%;
            display: flex;
            gap: 20px;
        }


            .modal_window .tab-modal-types-table .tab-modal-types-table-head-row .t {
                font-size: 16px;
            }

                .modal_window .tab-modal-types-table .tab-modal-types-table-head-row .t.n {
                    width: 100%;
                }

                .modal_window .tab-modal-types-table .tab-modal-types-table-head-row .t.c {
                    width: 100px !important;
                    min-width: 100px;
                    text-align: center;
                }

                .modal_window .tab-modal-types-table .tab-modal-types-table-head-row .t.r {
                    width: 100px !important;
                    min-width: 100px;
                    text-align: center;
                }

                .modal_window .tab-modal-types-table .tab-modal-types-table-head-row .t.p {
                    width: 50px;
                    min-width: 50px;
                }



        .modal_window .tab-modal-types-table .tab-modal-types-table-itm-row {
            border-bottom: 1px solid #d9d9d9;
            width: 100%;
            display: flex;
            gap: 20px;
        }


            .modal_window .tab-modal-types-table .tab-modal-types-table-itm-row .t {
                font-size: 16px;
               
            }

                .modal_window .tab-modal-types-table .tab-modal-types-table-itm-row .t.n {
                    width: 100%;
                }

                    .modal_window .tab-modal-types-table .tab-modal-types-table-itm-row .t.n input {
                       border: none;
                    }

                .modal_window .tab-modal-types-table .tab-modal-types-table-itm-row .t.c {
                    width: 100px !important;
                    min-width: 100px;
                    text-align: center;
                }

                .modal_window .tab-modal-types-table .tab-modal-types-table-itm-row .t.r {
                    width: 100px !important;
                    min-width: 100px;
                    text-align: center;
                }

                .modal_window .tab-modal-types-table .tab-modal-types-table-itm-row .t.p {
                    width: 50px;
                    min-width: 50px;
                }

    .modal_window .tab-modal-groups .tab-modal-groups-table-container {
        display: flex;
        margin: 16px 32px;
        gap: 32px;
    }

    .modal_window .tab-modal-groups-table {
        display: block;
        border: 1px solid black;
        padding: 16px 32px;
        min-height: 500px;
        flex: 1;
    }

    .modal_window .tab-modal-groups-title {
        border-bottom: 1px solid #d9d9d9;
        margin-left: 32px;
        margin-right: 32px;
        margin-top: 16px;
    }

    .modal_window .organisation-group-path-row {
        display: table;
        margin-bottom: 16px;
        background-color: #dbeafe;
        color: #000;
        padding: 5px 12px;
        border-radius: 9999px;
        font-family: sans-serif;
        font-size: 14px;
        border: 1px solid #94a3b8;
        height: 35px;
    }

        .modal_window .organisation-group-path-row .organisation-group-path-row-action {
            color: black;
            cursor: pointer;
            font-weight: bold;
            margin-left: 8px;
        }



    .foi .prop.err input[type=textbox],
    .foi .prop.err textarea {
        border: 1px solid #dc3545;
    }

.j-user .tippy-content {
    padding: 0;
    width: 100px;
    text-align: center;
}

    .j-user .tippy-content .ju-del {
        padding: 5px;
        background-color: var(--red);
        color: #fff;
    }

.foi .prop.err .val {
    display: block;
    background-color: #dc3545;
    color: #fff;
    padding-left: 3px;
    font-size: 0.7em;
}

.modal_window textarea {
    height: auto;
    font-size: 0.8em;
}

.modal_window #job_delete {
    margin-left: auto;
}

#clone_modal .modal-header {
    background-color: #f4f2f0;
}

#clone_modal .modal-dialog {
    width: 800px;
    height: 500px;
}

    #clone_modal .modal-dialog .modal-content {
        height: 500px;
    }

        #clone_modal .modal-dialog .modal-content .user-lookup {
            position: relative;
        }

        #clone_modal .modal-dialog .modal-content .content {
            padding: 20px 10px;
        }

        #clone_modal .modal-dialog .modal-content .status {
            display: none;
        }

        #clone_modal .modal-dialog .modal-content .addUser {
            cursor: pointer;
            padding: 5px 10px;
        }

            #clone_modal .modal-dialog .modal-content .addUser i {
                color: #4572b9;
            }

        #clone_modal .modal-dialog .modal-content .table {
            margin: 0;
        }

            #clone_modal .modal-dialog .modal-content .table td:nth-child(1), #clone_modal .modal-dialog .modal-content .table th:nth-child(1) {
                width: 350px;
            }

        #clone_modal .modal-dialog .modal-content .user-collection {
            display: flex;
            flex-direction: column;
        }

            #clone_modal .modal-dialog .modal-content .user-collection .scroll {
                height: 210px;
                overflow: auto;
            }
