

input.edtr-blink,
textarea.edtr-blink,
select.edtr-blink,
input.edtr-blinkrep,
textarea.edtr-blinkrep,
select.edtr-blinkrep {
    color: #fff !important;
    background-color: #000 !important;
    transition: all 200ms linear 300ms;
    }

    input.edtr-blinkrep,
    textarea.edtr-blinkrep,
    select.edtr-blinkrep {
        color: #fff !important;
        background-color: rgb(var(--accent2-rgb)) !important;
        transition: all 200ms linear 300ms;
        }


.img-box.edtr-blink .thumb,
.card.edtr-blink {
    outline: 3px solid #fff;
    }


    #edtr-toggle {
        display: none;
        }

        .edtr-on #edtr-toggle {
            background: rgb(var(--dark-rgb));
            }


#edtr {
    position: fixed;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: var(--controler-height) 0 0;
    box-sizing: border-box;
    right: 0;
    bottom: 0;
    width: var(--editor-width);
    height: 100%;
    background: rgb(var(--dark-rgb));
    text-align: left;
    z-index: 20;
    opacity: 1;
    transition: all 160ms linear 100ms, width 0ms, height 0ms, padding 0ms, z-index 0ms;
    }

        #edtr > div {
            align-items: stretch;
            overflow: hidden;
            overflow-y: auto;
            padding: 8px 16px;
            }

            #edtr > div:last-child {
                flex: 1;
                padding-bottom: 0;
                }


            #edtr::after {
                display: block;
                content: '';
                position: absolute;
                bottom: 0;
                left: 0;
                pointer-events: none;
                width: 100%;
                height: 40px;
                background: linear-gradient(to bottom, rgba(var(--dark-rgb),0.0)  0%,  rgb(var(--dark-rgb)) 100%);
                }


        #filterform {
            display: block;
            }


            #edtr-result-info {
                display: none;
                font-size: 70%;
                }

                body.edtr-filter-on #edtr-result-info {display:inline-block;}

            .edtr-btn {
                background: #ffffff08;
                border-radius: 2px;
                color: rgb(var(--accent2-rgb));
                display: inline-block;
                font-size: 18px;
                height:  28px;
                line-height: 28px;
                opacity: 0.2;
                pointer-events: none;
                text-align: center;
                width: 28px;
                }

                .edtr-btn:hover {
                    background: #ffffff11;
                    }


                body.edtr-filter-on .edtr-btn#edtr-filtered-view-toggle,
                body.edtr-filter-on .edtr-btn#edtr-filtered-check {opacity: 1;pointer-events: auto;}

                body.edtr-filter-on.edtr-filtered-view .edtr-btn#edtr-filtered-view-toggle {color: white;}



        #edtr-replace-all {
            display: none;
            text-align: center;
            color: rgb(var(--accent2-rgb));
            border-radius: 2px;
            background: #ffffff08;
            padding: 0px 8px;
            line-height: 28px;
            margin: 6px 0 0 0;
            white-space: nowrap;
            float: right;
            }

            body.edtr-filter-on .edtr_rpl #edtr-replace-all {
                display: inline-block;
                }

                #edtr-replace-all::before {
                    display: inline-block;
                    padding: 0 6px 0 0;
                    }

                #edtr-replace-all:hover {
                    background: rgb(var(--accent2-rgb));
                    color:#fff;
                    }



        ul#edtr-result {
            display: block;
            margin: 0 -16px 0 0;
            padding: 0 16px 0 0;
            height: 100%;
            box-sizing: border-box;
            overflow: auto;
            list-style-type: none;
            }


            ul#edtr-result::after {
                display: block;
                content: '';
                pointer-events: none;
                width: 100%;
                height: 40px;
                }


            ul#edtr-result > li {
                margin: 0 0 4px;padding: 0;
                border-radius: 5px;
                background: #ffffff09;
                position: relative;
                box-shadow: 1px 1px 3px rgba(0,0,0,.2);
                }

                ul#edtr-result > li{
                    transition: all 60ms linear 20ms;
                    }

                ul#edtr-result.new > li{
                    transition: all 0ms;
                    transform: translateX(-10px);
                    opacity: 0;
                    }


                ul#edtr-result > li > a {
                    display: block;
                    padding: 4px 10px;
                    text-align: left;
                    font-size: 76%;
                    line-height: 120%;
                    }

                    ul#edtr-result > li > a:hover {
                        background: rgb(var(--dark-rgb));
                        }

                    ul#edtr-result ul {
                        list-style-type: none;
                        background: transparent;
                        margin: 0;
                        padding: 0;
                        height: auto;
                        border-radius: 0;
                        }
                        ul#edtr-result ul li{
                            position: relative;
                            padding: 0;
                            border-top: 1px solid rgb(var(--dark-rgb));
                            }


                            .edtr_rpl ul#edtr-result ul li{
                                padding-left: 30px;
                                }


                        ul#edtr-result a.button {
                            position: absolute;
                            left: 0px;
                            top: 0;
                            width: 30px;
                            height: 100%;
                            line-height: 32px;
                            text-align: center;
                            color: rgb(var(--accent2-rgb));
                            opacity: .2;
                            display: none;
                            border-radius: 2px;
                            }

                                body .edtr_rpl ul#edtr-result  a.button {
                                    display: block;
                                    }

                                body[data-touch="on"] .edtr_rpl ul#edtr-result ul > li a.button ,
                                .edtr_rpl ul#edtr-result ul > li:hover a.button {
                                    opacity: 1;
                                    }

                                    ul#edtr-result a.button:hover {
                                        background: rgb(var(--accent2-rgb));
                                        color:#fff;
                                        }


                                        body .edtr_rpl ul#edtr-result li.edtr-nochange a.button{
                                            opacity: .0;
                                            pointer-events: none;
                                            }



                        ul#edtr-result a.link {
                            display: block;
                            padding: 5px 10px 4px;
                            font-family: "Segoe UI", Segoe, Calibri, Tahoma, Geneva, sans-serif;
                            }

                            .edtr_rpl ul#edtr-result a.link {
                                padding-left: 6px;
                                }


                        ul#edtr-result a.link,
                        ul#edtr-result b,
                        ul#edtr-result i {
                            font-size: 12px;
                            min-height:15px;
                            line-height: 22px;
                            white-space: pre;
                            }


                            ul#edtr-result a.link:hover {
                                background: rgb(var(--dark-rgb));
                                }


                                ul#edtr-result ul a {
                                    color: #ffffff88;
                                    }


                                    ul#edtr-result .link > *  {
                                        position: relative;
                                        display: inline-block;
                                        color: #ffffffcc;
                                        }

                                    ul#edtr-result .link > i,
                                    ul#edtr-result .link > * > i  {
                                        font-style: italic;
                                        color: #ffffff22;
                                        }


                                    ul#edtr-result .link > * > *:not(.dot) {
                                        position: absolute;
                                        left: 0;
                                        top: -6px;
                                        font-size: 8px;
                                        line-height: 12px;
                                        text-decoration: none;
                                        font-weight: normal;
                                        font-style: normal;
                                        min-height: 1px;
                                        white-space: nowrap;
                                        }

                                        ul#edtr-result .link > * > s {
                                            color: rgb(var(--error-rgb));
                                            }
                                        ul#edtr-result .edtr-nochange .link > * > s {
                                            color: #444;
                                            }

                                        .dot {opacity: .2;font-family: monospace;}



            .edtr-flex {
                display: flex;
                flex-wrap: nowrap;
                justify-content: space-between;
                }

                .edtr-flex select,
                .edtr-flex input{
                    flex: 1 1 auto;
                    padding-top: 8px;
                    padding-bottom: 8px;
                    padding-right: 0px;
                    margin: 2px;
                    font-size: 16px;
                    color: #ffffffaa;
                    line-height: 14px;
                    min-width: 2%;
                    width: auto;
                    transition: all 100ms;
                    }

                    @media (max-height: 500px) {
                        .edtr-flex select,
                        .edtr-flex input{
                            padding-top: 4px;
                            padding-bottom: 4px;
                            }
                    }



                    .edtr-flex select {
                        font-size: 12px;
                        }

                    .edtr-flex input[name="repl[placeholder]"]{
                        max-width: 48px;
                        padding-left: 0px;
                        text-align: right;
                        border-color: transparent;
                        color: rgb(var(--accent2-rgb));
                        }


                        .edtr-flex select option:disabled{
                            display: block;
                            }




            .edtr-flex select[disabled],
            .edtr-flex input[disabled]{
                min-width: 0px;
                max-width: 0px;
                margin-left: 0px;
                margin-right: 0px;
                padding: 0px;
                height: 0px;
                }



body.edtr-filtered-view.edtr-filter-on li.card:not(.edtr-find):not(.selected) {
    opacity: .2 !important;
    pointer-events : none;
    }

body.edtr-filtered-view.edtr-filter-on li.card.selected:not(.edtr-find) {
    opacity: .3 !important;
    }
body.edtr-filtered-view.edtr-filter-on li.card.selected:not(.edtr-find):hover {
    opacity: 1 !important;
    }


@media (min-width: 1030px) {
    body.edtr-filtered-view.edtr-filter-on li.card:not(.edtr-find):not(.selected) {
        padding-left   : 0 !important;
        padding-right  : 0 !important;
        margin-left    : 0 !important;
        margin-right   : 0 !important;
        min-width      : 0 !important;
        max-width      : 0 !important;
        max-height     : 300px !important;
        }
}
@media (max-width: 1029px) {
    body.edtr-filtered-view.edtr-filter-on li.card:not(.edtr-find):not(.selected) {
        padding-top    : 0 !important;
        padding-bottom : 0 !important;
        margin-top     : 0 !important;
        margin-bottom  : 0 !important;
        min-height     : 0 !important;
        max-height     : 0 !important;
        }
}


@media (max-width: 1490px) {

    body {
        --editor-page-space: 0px
        }

    body.edtr-on {
        --editor-page-space: 300px
        }

    #controler_out {
        padding-right: 0;
        }


    body.edtr-on #page {
        max-width: calc(var(--app-width) - var(--editor-page-space));

        }



    #progress {
        width: 100%;
        }
    #edtr-toggle {
        display: block;
        }


    #edtr {
        width: 300px;
        opacity: 0;
        transform: translateX(200px);
        box-shadow: 0px 0px 14px #00000077;
        z-index: 8;
        pointer-events: none;
        }
    .edtr-on #edtr {
        transform: translateX(0px);
        opacity: 1;
        pointer-events: auto;
        }

}


@media (max-width: 680px) {

    body,
    body.edtr-on {
        --editor-page-space: 0px
        }

    #edtr {
        padding: 0;
        width: 100%;
        height: 400px;
        max-height: calc(100% - var(--controler-height) - 200px);
        min-height: 300px;
        transform: translateX(0px) translateY(120px);
        min-width: 260px;
        }
    .edtr-on #edtr {
        transform: translateY(0px);
        }



}

