.modalid-wrap {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 164, 173, 0.8);
    position: absolute;
    z-index: 2222;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s all;
    opacity: 0;
    visibility: hidden;
}
.modalid-wrap.active {
    opacity: 1;
    visibility: visible;
}

.modalid-item {
    border-radius: 25px;
    background-color: rgb(255, 255, 255);
    position: absolute;
    z-index: 8;
    display: none;
    width: 585px;
    max-width: 92vw;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
    -webkit-text-size-adjust: none;
}
.modalid-item-wrap {
    padding: 50px 60px;
    overflow: auto;
    max-height: 95vh;
    width: 100%;
}
.modalid-item-wrap::-webkit-scrollbar {
    width: 8px;
    height: 5px;
}
.modalid-item-wrap::-webkit-scrollbar-track {
    background: rgb(255, 255, 255);
}
.modalid-item-wrap::-webkit-scrollbar-thumb {
    background-color: #2f383f;
}
.modalid-item.active {
    display: block;
}

.modalid-item-title {
    font-family: 'El Messiri', sans-serif;
    font-size: 22px;
    display: block;
    line-height: 1;
    padding: 0 20px 20px;
    border-bottom: 2px solid rgb(0, 170, 181);
    margin-bottom: 25px;
    font-weight: 700;
}
.modalid-item-label {
    display: block;
    margin-bottom: 30px;
}
.modalid-item-label:last-child {
    margin-bottom: 0 !important;
}
.modalid-item-label > span {
    font-size: 15px;
    line-height: 160%;
    padding-left: 20px;
    margin-bottom: 15px;
    display: block;
    font-weight: 500;
}
.modalid-item-label > span:last-child {
    margin-bottom: 0 !important;
}
.modalid-item-label button {
    padding: 15px 50px;
    background: none;
    cursor: pointer;
    outline: none;
    border: none;
}
.modalid-item-label button::after,
.modalid-item-label button::before {
    border-radius: 50px;
}
.modalid-item-label span.gray {
    font-size: 13px;
    line-height: 184%;
    color: rgb(136, 152, 152);
}
.modalid-item-label .input-wrap input {
    width: 100%;
    border-radius: 50px;
    border: 2px solid rgb(204, 204, 204);
    background: none;
    outline-color: rgb(0, 170, 181);
    font-size: 15px;
    line-height: 1;
    padding: 15px 25px;
    font-weight: 500;
}
.modalid-item-label.label-check {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
}
.modalid-item-label.label-check input {
    position: absolute;
    width: 28px;
    height: 28px;
    opacity: 0;
    pointer-events: none;
}
.modalid-item-label.label-check i {
    border: 2px solid rgb(204, 204, 204);
    border-radius: 100%;
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modalid-item-label.label-check.active i {
    border: 2px solid rgb(0, 170, 181);
}
.modalid-item-label.label-check.active i::before {
    content: '';
    background: rgb(0, 170, 181);
    width: 70%;
    height: 70%;
    border-radius: 100%;
}
.modalid-item-label .input-wrap {
    position: relative;
    width: 100%;
}
.modalid-item-label .input-wrap.short {
    max-width: 165px;
}
.modalid-item-label .error-text {
    margin-top: 25px;
    color: red;
}
.modalid-item-label.error .input-wrap::before {
    content: '';
    width: 25px;
    height: 23px;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAXCAYAAAD+4+QTAAAACXBIWXMAAAsTAAALEwEAmpwYAAABzUlEQVRIia2UsUtbYRTFf5ZHXISoVGhQQQf/AAcrpGsnl5IhHTtlEhc3hw4u7WKhgpuDU6dAxhYdArYZstWhHbQQrDgUkUgHpSjU49DT9vmZl7yYfHC53HPuPee7JN9DQMrIC74I5JxPO5vW4KGgaYPvzk3jfTPZsPCW6y3XG/0ymRFcCc4FOWM511fmezap+NarAb5qvNKryRML/RAMBdyQcbnvXiYDgrpFSjHsUaynZL5urmuT5xb4KoiMrRl74zoyL0GxW5OMoOHhhRi+a2w3hi0Ya3gutcmyB6sB/sH4+wCvGl9OazIsOBNcC2YDrmyxcoDPur/p+VuaD7h7XgIjwDtgL+Augvz37Ll/1PO3T+A6LbgU/BJMtthy3Zust+AmPXcpmGq3ySsgA7wFjltseR7k+Dn2XAZ4nbTJnG95Ksgm/CFW3LOSwGc9L+vd+eE/mVxKEEDwWPDZOalnyTofQ5NnJr7p/8O7b0TWkXX/gQcGCx0EioJ9tXndjoL19gURgkUDtRS33HTvZoremnsXERy5mE8xOCp44dypd966h+jPSz1TwnenhxgU/BQoAqrAU+AIOKF/ZwzIAlUEE4JtwW+v16+4FuwIxm8AL1B8ceOfz9YAAAAASUVORK5CYII=") center center/contain no-repeat;
}
.modalid-item-label.error .input-wrap input {
    border: 2px solid red;
    padding-right: 65px;
}

@media (max-width: 992px) {
    .modalid-item-wrap {
        padding: 30px;
    }
    .modalid-item-label {
        margin-bottom: 15px;
    }
    .modalid-item-label > span {
        margin-bottom: 10px;
        padding-left: 10px;
    }
    .modalid-item-label .error-text {
        margin-top: 10px;
    }
    .modalid-item-title {
        margin-bottom: 20px;
        padding: 0px 10px 10px;
    }
}
@media (max-width: 500px) {
    .modalid-item-wrap {
        padding: 20px 10px;
    }
    .modalid-item {
        border-radius: 15px
    }
    .modalid-item-title {
        font-size: 19px;
    }
    .modalid-item-label > span {
        font-size: 13px;
    }
    .modalid-item-label button {
        padding: 12px 50px;
    }
    .modalid-item-label span.gray {
        font-size: 11px;
    }
    .modalid-item-label.label-check i {
        width: 22px;
        height: 22px;
        min-width: 22px;
    }
    .modalid-item-label.label-check input {
        width: 22px;
        height: 22px;
    }
    .modalid-item-label .input-wrap input {
        padding: 10px 15px;
    }
    .modalid-item-label.error .input-wrap input {
        padding-right: 45px;
    }
}