﻿.library-popout {
    position: absolute;
    z-index: 2;
    top: 60px;
    right: 0;
    max-width: 0;
    height: calc(100vh - 60px);
    flex: 0 0 auto;
    border: none;
    border-top-left-radius: 13px;
    border-bottom-left-radius: 13px;
    box-shadow: -3px 0 57px rgba(0, 16, 64, 0.45);
    background-color: #f5faff;
    flex-direction: column;
    flex-wrap: nowrap;
    transition: 0.3s;
}

    .library-popout.visible {
        display: flex;
        /*min-width: 425px;*/
        max-width: 850px;
    }

    .library-popout .library-popout-header {
        width: 100%;
        max-width: 100%;
        height: 60px;
        flex: 0 0 auto;
        border-top-left-radius: 13px;
        background-color: #001040;
        display: flex;
        flex-direction: row;
        overflow: hidden;
        flex-wrap: nowrap;
        align-items: center;
        font-family: roboto-light;
        color: #799dff;
    }

        .library-popout .library-popout-header .title-icon {
            margin-left: 13px;
            width: 35px;
            height: 35px;
            flex: 0 0 auto;
            margin-right: 20px;
        }

            .library-popout .library-popout-header .title-icon:last-child {
                margin-right: 0;
            }

        .library-popout .library-popout-header h4 {
            font-size: 18px;
        }

        .library-popout .library-popout-header .close-icon {
            width: 10px;
            height: 10px;
            flex: 0 0 auto;
            margin-left: auto;
            margin-right: 20px;
            cursor: pointer;
            display: flex;
            align-items: center;
        }

        .library-popout .library-popout-header .svg {
            filter: invert(60%) sepia(5%) saturate(4465%) hue-rotate(189deg) brightness(100%) contrast(105%);
        }

            .library-popout .library-popout-header .svg.replaced-svg {
                filter: none;
                fill: #799dff;
            }

    .library-popout .library-popout-body {
        flex: 1;
        height: calc(100vh - 120px);
        display: flex;
        flex-direction: row;
    }

    .library-popout .content-block {
        width: 0;
        max-width: 0;
        height: 100%;
        flex: 0 0 auto;
        box-shadow: -3px 0 6px rgba(0, 0, 0, 0.16);
        padding: 19px 0 35px 0;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        overflow-x: hidden;
        transition: 0.3s;
    }

        .library-popout .content-block.visible {
            width: 425px;
            max-width: 425px;
            padding: 19px 19px 35px 19px;
        }

        .library-popout .content-block:first-child {
            box-shadow: none;
        }

        .library-popout .content-block h4 {
            height: 17px;
            font-family: roboto-regular;
            font-size: 14px;
            color: #00207a;
            margin-top: 0;
            margin-bottom: 13px;
        }

        .library-popout .content-block .divide {
            width: 100%;
            border-top: 1px solid #c3d3ff;
            padding-top: 20px;
            flex: 0 0 auto;
        }

        .library-popout .content-block .content-block-header {
            width: 100%;
            min-height: 45px;
            display: flex;
            flex-direction: row;
            overflow-x: hidden;
            flex-wrap: nowrap;
            align-items: center;
            border-bottom: 1px solid #c3d3ff;
            margin-bottom: 20px;
        }

            .library-popout .content-block .content-block-header h4 {
                margin: 0;
            }

        .library-popout .content-block .content-items-container {
            width: 100%;
            flex: 1;
            overflow-y: scroll;
            padding-right: 20px;
        }

            .library-popout .content-block .content-items-container .content-item {
                width: 100%;
                height: 60px;
                border: 0.5px solid #b4b4b4;
                border-radius: 5px;
                background-color: #fff;
                padding: 13px;
                display: flex;
                flex-direction: row;
                align-items: center;
                box-shadow: 0 2px 3px rgba(0, 0, 0, 0.16);
                margin-bottom: 10px;
            }

                .library-popout .content-block .content-items-container .content-item .svg {
                    width: 35px;
                    height: 35px;
                    flex: 0 0 auto;
                    border-radius: 0;
                    background: none;
                    box-shadow: none;
                    filter: invert(10%) sepia(95%) saturate(4029%) hue-rotate(221deg) brightness(105%) contrast(114%);
                    transition: 0.3s;
                }

                    .library-popout .content-block .content-items-container .content-item .svg:not(:last-child) {
                        margin-right: 10px;
                    }

                    .library-popout .content-block .content-items-container .content-item .svg.replaced-svg {
                        fill: #002fb0;
                        filter: none;
                    }

                .library-popout .content-block .content-items-container .content-item img,
                .library-popout .content-block .content-items-container .content-item .svg-container {
                    width: 35px;
                    height: 35px;
                    flex: 0 0 auto;
                    border-radius: 50%;
                    box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.16);
                    background-color: #00207a;
                    object-fit: cover;
                }

                    .library-popout .content-block .content-items-container .content-item img:not(:last-child),
                    .library-popout .content-block .content-items-container .content-item .svg-container:not(:last-child) {
                        margin-right: 10px;
                    }

                .library-popout .content-block .content-items-container .content-item .svg-container {
                    display: flex;
                    align-content: center;
                    justify-content: center;
                }

                    .library-popout .content-block .content-items-container .content-item .svg-container .svg {
                        margin: auto;
                        width: 21px;
                        height: 21px;
                        flex: 0 0 auto;
                        object-fit: contain;
                        filter: invert(100%);
                    }

                        .library-popout .content-block .content-items-container .content-item .svg-container .svg.replaced-svg {
                            fill: #fff;
                            filter: none;
                        }

                .library-popout .content-block .content-items-container .content-item h4 {
                    font-family: roboto-light;
                    font-size: 14px;
                    color: #434343;
                    margin: 0;
                    transition: 0.3s;
                }

                .library-popout .content-block .content-items-container .content-item text {
                    font-family: roboto-light;
                    font-size: 12px;
                    color: #3b6fff;
                    transition: 0.3s;
                }

                .library-popout .content-block .content-items-container .content-item .close-icon-container {
                    margin-left: auto;
                    width: 35px;
                    height: 35px;
                    flex: 0 0 auto;
                    border-left: 1px solid #ddd;
                    display: flex;
                    align-items: center;
                    justify-content: flex-end;
                }

                    .library-popout .content-block .content-items-container .content-item .close-icon-container .close-icon {
                        width: 10px;
                        height: 10px;
                        flex: 0 0 auto;
                        margin-right: 7px;
                        cursor: pointer;
                    }

                        .library-popout .content-block .content-items-container .content-item .close-icon-container .close-icon.svg {
                            filter: invert(10%) sepia(89%) saturate(5389%) hue-rotate(358deg) brightness(100%) contrast(115%);
                        }

                            .library-popout .content-block .content-items-container .content-item .close-icon-container .close-icon.svg.replaced-svg {
                                fill: #d80000;
                                filter: none;
                            }

                .library-popout .content-block .content-items-container .content-item.select-item,
                .library-popout .content-block .content-items-container .content-item.add-item {
                    cursor: pointer;
                    transition: 0.3s;
                }

                    .library-popout .content-block .content-items-container .content-item.select-item .svg {
                        filter: none;
                    }

                    .library-popout .content-block .content-items-container .content-item.select-item h4,
                    .library-popout .content-block .content-items-container .content-item.select-item text {
                        color: #434343;
                    }

                    .library-popout .content-block .content-items-container .content-item.select-item:hover,
                    .library-popout .content-block .content-items-container .content-item.add-item:hover {
                        background: #edf6ff
                    }

                    .library-popout .content-block .content-items-container .content-item.add-item.selected {
                        background-color: #3b6fff;
                        cursor: pointer;
                    }

                        /*.library-popout .content-block .content-items-container .content-item.add-item:hover text,*/
                        .library-popout .content-block .content-items-container .content-item.add-item.selected text,
                        /*.library-popout .content-block .content-items-container .content-item.add-item:hover h4,*/
                        .library-popout .content-block .content-items-container .content-item.add-item.selected h4 {
                            color: #fff;
                        }

                        /*.library-popout .content-block .content-items-container .content-item.add-item:hover .svg:not(.close-icon),*/
                        .library-popout .content-block .content-items-container .content-item.add-item.selected .svg:not(.close-icon) {
                            filter: invert(100%);
                        }

                        /*.library-popout .content-block .content-items-container .content-item.add-item:hover .svg.replaced-svg:not(.close-icon),*/
                        .library-popout .content-block .content-items-container .content-item.add-item.selected .svg.replaced-svg:not(.close-icon) {
                            fill: #fff;
                            filter: none;
                        }

                    .library-popout .content-block .content-items-container .content-item.select-item.disabled {
                        background-color: #ececec;
                        cursor: auto;
                    }

                        .library-popout .content-block .content-items-container .content-item.select-item.disabled .svg-container {
                            background-color: #707070;
                            box-shadow: none;
                        }

                .library-popout .content-block .content-items-container .content-item.place-holder {
                    width: 100%;
                    height: 60px;
                    border: none;
                    background: none;
                    padding: 0;
                    display: block;
                    box-shadow: none;
                    margin-bottom: 10px;
                }

        .library-popout .content-block input[type=button] {
            margin-left: 8px;
            min-width: 45px;
            height: 30px;
            flex: 0 0 auto;
            border-radius: 3px;
            border: 0.5px solid #b4b4b4;
            box-shadow: 0 1px 1px rgba(0, 0, 0, 0.16);
            background-color: #ececec;
            font-family: roboto-light;
            font-size: 11px;
            color: #707070;
            transition: 0.3s;
        }

            .library-popout .content-block input[type=button].enabled {
                background-color: #fff;
                color: #00207a;
            }

                .library-popout .content-block input[type=button].enabled.button-blue {
                    background-color: #3b6fff;
                    color: #fff;
                }

        .library-popout .content-block form.content-items-container {
            overflow-y: auto;
            padding: 0;
        }

        .library-popout .content-block form .form-group {
            margin-bottom: 26px;
        }

            .library-popout .content-block form .form-group label {
                height: 17px;
                font-family: roboto-regular;
                font-size: 14px;
                font-weight: 500;
                color: #00207a;
                margin-bottom: 6px;
            }

            .library-popout .content-block form .form-group input[type=text],
            .library-popout .content-block form .form-group input[type=number] {
                width: 100%;
                height: 29px;
                border-radius: 2px;
                box-shadow: 0 1px 1px rgba(0, 0, 0, 0.16);
                border: 0.5px solid #b4b4b4;
                background: #fff;
                padding: 0 6px;
                display: flex;
                align-items: center;
                font-family: roboto-light;
                font-size: 12px;
                color: #003bdd;
            }

        .library-popout .content-block #setActionForm .dropdown {
            border: 0.5px solid #b4b4b4;
            background-color: #fff;
            padding: 0 6px;
            font-size: 12px;
            color: #003bdd;
            overflow: visible;
        }

            .library-popout .content-block #setActionForm .dropdown .dropdown-item-container {
                width: calc(100% + 1px);
                margin: 0 -6.5px;
            }
