﻿

/*фильтры и навигация*/
.control {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 20px;
    row-gap: 20px;
    margin-bottom: 10px;
}

.wrap_finder {
    position: relative;
    margin-left: 5px;
}

.clear_button {
    position: absolute;
    color: gray;
    background: none;
    cursor: pointer;
    z-index: 1;
    top: 8px;
    left: 7px;
}

    .clear_button:hover {
        color: black;
    }

.navigationBlock {
}

    .navigationBlock span {
        margin: 10px;
        cursor: pointer;
        font-size: 16px;
        color: black;
        font-weight: 300;
    }

        .navigationBlock span.currentPage {
            font-weight: 700;
            font-size: 18px;
            color: black;
        }

.finder {
    width: 175px;
    height: 30px;
    padding-left: 22px;
    border-radius: 0px 50px 50px 0px;
    border: 1px solid #324b4e;
    background: #f1f1f1;
    font-size: 0.8em;
    outline: none;
    position: relative;
    transition: .3s linear;
}

    .finder:focus {
        width: 250px;
        background: #ffffff;
    }

    .finder::-webkit-input-placeholder {
        opacity: 1;
        transition: opacity 0.3s ease;
    }

    .finder::-moz-placeholder {
        opacity: 1;
        transition: opacity 0.3s ease;
    }

    .finder:-moz-placeholder {
        opacity: 1;
        transition: opacity 0.3s ease;
    }

    .finder:-ms-input-placeholder {
        opacity: 1;
        transition: opacity 0.3s ease;
    }

    .finder:focus::-webkit-input-placeholder {
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .finder:focus::-moz-placeholder {
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .finder:focus:-moz-placeholder {
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .finder:focus:-ms-input-placeholder {
        opacity: 0;
        transition: opacity 0.3s ease;
    }



.filter {
    display: none;
    position: absolute;
    left: 0;
    border: 1px solid gray;
    background-color: white;
    padding: 150px 5px 5px 5px;
    box-shadow: 0 0 10px gray;
    z-index: 9999;
    max-height: 300px;
    min-width: 200px;
    width: 97%;
    overflow: hidden;
    overflow-y: scroll;
    color: black;
}

    .filter label {
        border-bottom: 1px solid gray;
        display: block;
        text-align: left;
        font-weight: normal;
    }

    .filter hr {
        margin: 0;
        padding: 0;
    }

    .filter > div:first-child {
        position: absolute;
        top: 0;
        left: 5px;
        background-color: white;
        width: 100%;
    }

    .filter div .wrap_filter_input {
        position: relative;
        width: 90%;
        height: 20px;
        margin: 10px auto 15px auto;
        box-sizing: border-box;
        padding-right: 10px;
        padding-left: 10px;
    }

        .filter div .wrap_filter_input input[type='text'] {
            font-size: 14px;
            padding: 4px 20px 4px 5px;
            border: 1px solid #cecece;
            background: #F6F6f6;
            border-radius: 5px;
            width: 100%;
            box-sizing: border-box;
        }

    .filter div .clear_button {
        position: absolute;
        width: 20px;
        left: initial;
        right: 11px;
        background: none;
        top: 4px;
        color: gray;
        cursor: pointer;
    }

        .filter div .clear_button:hover {
            color: black;
        }

    .filter div input[type='button'] {
        margin: 5px auto 5px auto;
        display: block;
        width: auto;
        height: 30px;
        background: none;
        background-color: #ffffff;
        color: var(--color-black);
        font-size: 13px;
        border: 1PX solid var(--color-black);
        border-radius: 5px;
        outline: none;
    }

        .filter div input[type='button']:hover {
            box-shadow: 0px 0px 15px 0px var(--color-black);
            transition: 0.3s;
            background-color: #d1e231;
            cursor: pointer;
        }

        .filter div input[type='button']:last-child {
            margin-bottom: 5px;
        }


.filter_button {
    cursor: pointer;
    position: absolute;
    bottom: -5px;
    right: -2px;
    width: 20px;
    height: 25px;
    color: var(--color-ornage);
}

.filter a {
    pointer-events: none;
}

    .filter a:link {
        color: black;
        text-decoration: none;
    }

.fade_button {
    position: absolute;
    right: -2px;
    top: 0;
    cursor: pointer;
    width: 20px;
    height: 25px;
    color: var(--color-ornage);
}
/*.nextButton {
    width: 81px;
    height: 30px;
    background: none;
    background-color: #ffffff;
    color: var(--color-black);
    font-size: 14px;
    border: 1PX solid var(--color-black);
    border-radius: 5px;
    outline: none;
    margin: 5px;
}
    .nextButton:hover {
        box-shadow: 0px 0px 15px 0px var(--color-black);
        transition: 0.3s;
        background-color: #d1e231;
        cursor: pointer;
    }
.prewButton {
    width: 81px;
    height: 30px;
    background: none;
    background-color: #ffffff;
    color: var(--color-black);
    font-size: 14px;
    border: 1PX solid var(--color-black);
    border-radius: 5px;
    outline: none;
    margin: 5px;
}
.prewButton:hover {
    box-shadow: 0px 0px 15px 0px var(--color-black);
    transition: 0.3s;
    background-color: #d1e231;
    cursor: pointer;
}*/


.nextButton, .prewButton {
    display: inline-block;
    cursor: pointer;
}

.showColumns {
    width: auto;
    height: 30px;
    background: none;
    background-color: #ffffff;
    color: var(--color-black);
    font-size: 14px;
    border: 1PX solid var(--color-black);
    border-radius: 5px;
    outline: none;
    margin: 5px;
    display: none;
}

.showColumns:hover {
    box-shadow: 0px 0px 15px 0px var(--color-black);
    transition: 0.3s;
    background-color: #d1e231;
    cursor: pointer;
}

.fa-angle-double-left:hover, .fa-angle-double-right:hover {
    color: #3a75c4;
}

@media screen and (max-width: 425px) {
    .control {
        justify-content: center;
    }
}


@media all and (max-width:768px) {
    .control {
        width: 70%;
    }

    .btnZoomContainer {
        width: 30%;
        justify-content: end;
    }

    .control .wrap_finder {
        width: 100%;
    }
}


@media all and (max-width:425px) {
    .control {
        width: 100%;
        row-gap: 10px;
    }

    .control .wrap_finder {
        width: auto;
    }

    .navigationBlock {
        width: 100%;
        text-align: center;
    }

    .btnZoomContainer {
        width: 50%;
        justify-content: center;
    }
}
