﻿.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000000b0;
    z-index: 99999999999999999999999;
    pointer-events: none;
    opacity: 0;
    transition: all .3s;
}

    .popup.show {
        opacity: 1;
        pointer-events: all;
    }

    .popup .grid.wide {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .popup .grid.wide {
    }

.popup-container {
    background-color: #fff;
    border-radius: 25px;
    max-width: 85%;
    width: 100%;
}

.popup-form-img {
    flex: 1;
    height: 336px;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    overflow: hidden;
}

    .popup-form-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.popup-form {
    position: relative;
    max-width: 100%;
    display: flex;
    width: 100%;
    align-items: center;
}

    .popup-form .form-base {
        padding: 35px;
    }

        .popup-form .form-base .title {
            margin: 0;
            text-transform: uppercase;
            font-family: interB;
            font-weight: 100;
            color: var(--default-color-1);
            font-size: 24px;
        }

        .popup-form .form-base .descript {
            color: #333;
            font-size: 14px;
            margin: 8px 0;
            display: block;
        }

    .popup-form .form-list {
        display: grid;
        grid-auto-rows: minmax(min-content,max-content);
        grid-template-columns: repeat(2,minmax(0,1fr));
        column-gap: 10px;
        row-gap: 10px;
        margin-top: 22px;
    }

    .popup-form .form-item {
        height: 40px;
        border-radius: 55px;
        border: 1px solid #33333330;
        position: relative;
        display: flex;
        align-items: center;
    }

    .popup-form .form-item-drops input {
        pointer-events: none;
        user-select: none;
    }

    .popup-form .form-item input {
        width: 100%;
        height: 100%;
        border-radius: 55px;
        outline: none;
        background-color: transparent;
        border: none;
        padding: 0 18px;
        font-size: 16px;
    }

    .popup-form .form-item .erolh {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 1px solid var(--default-color-2);
        color: transparent !important;
        border-radius: 55px;
        pointer-events: none;
        user-select: none;
    }

    .popup-form .form-item-drops {
        cursor: pointer;
    }

        .popup-form .form-item-drops input {
            padding-right: 32px;
        }

    .popup-form .form-item i {
        position: absolute;
        color: #333333bf;
        right: 10px;
        font-size: 14px;
        pointer-events: none;
    }

    .popup-form .form-item.active .drops {
        opacity: 1;
        pointer-events: all;
    }

    .popup-form .form-item .drops {
        position: absolute;
        top: 100%;
        position: absolute;
        z-index: 2;
        background-color: #fff;
        top: 100%;
        border-radius: 10px;
        padding: 2px;
        overflow: hidden;
        max-height: 240px;
        box-shadow: 0 0 10px 0 #33333329;
        overflow-x: hidden;
        overflow-y: overlay;
        pointer-events: all;
        opacity: 0;
        pointer-events: none;
    }
        /* width */
        .popup-form .form-item .drops::-webkit-scrollbar {
            width: 6px;
        }

        /* Track */
        .popup-form .form-item .drops::-webkit-scrollbar-track {
        }

        /* Handle */
        .popup-form .form-item .drops::-webkit-scrollbar-thumb {
            background: #888;
            border-radius: 5px
        }

            /* Handle on hover */
            .popup-form .form-item .drops::-webkit-scrollbar-thumb:hover {
            }

    .popup-form .form-item .drop-items:hover {
        background-color: #fafafa;
    }

    .popup-form .form-item .drop-items {
        font-size: 14px;
        color: #333;
        padding: 8px 10px;
        line-height: 152%;
        font-family: 'interM';
        user-select: none;
        cursor: pointer;
    }

    .popup-form .form-item a {
        height: 100%;
        width: 100%;
        background-color: var(--default-color-1);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 55px;
        transition: all .3s;
    }

        .popup-form .form-item a:hover {
            opacity: .7;
        }

.popup .form-base-btn:hover {
    opacity: .6;
}

.popup .form-base-btn {
    position: absolute;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--default-color-1);
    color: #fff;
    font-size: 11px;
    right: 15px;
    top: 15px;
    cursor: pointer;
    transition: all .3s;
}

@media(max-width:1023px) {
    .popup-form-img {
        display: none;
    }

    .popup-container {
        max-width: 100%;
    }

    .popup-form .form-base {
        width: 100%;
        padding: 21px 20px;
    }
}

@media(min-width:740px) and (max-width:1023px) {
}

@media(max-width:739px) {
    .popup-form .form-list {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        column-gap: 15px;
        row-gap: 15px;
        margin-top: 22px;
    }

    .popup-form .form-item {
        height: 49px;
    }

    .popup-form .form-base .title {
        font-size: 15px;
    }

    .popup .form-base-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
        right: 5px;
        top: 5px;
    }

    .popup-container {
        border-radius: 15px;
    }
}