
.login-modal-wrapper,
.confirm-modal-wrapper {
    display: none;
}
.login-modal-wrapper,
.confirm-modal-wrapper {
    background: #000000bb;
}
.login-modal,
.confirm-modal {
    background: #fff;
    padding: 30px 20px;
    border-radius: 3px;
    text-align: center;
}
.login-form  button,
.confirm-modal button {
    padding: .5em 1em;
    border-radius: 2px;
    min-width: 65px;
}
.login-form  button:hover,
.confirm-modal button:hover {
    background-color: #0095f611;
}
.login-form {
    margin-bottom: 0;
}
.login-form  input {
    width: 100%;
    margin-bottom: .5em;
    padding: 1em;
    box-sizing: border-box;
}
.confirm-text {
    margin-bottom: 1em;
    font-weight: bold;
}
body.login-modal-shown .login-modal-wrapper,
body.confirm-modal-opened .confirm-modal-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
}
.edit-dropdown {
    margin-left: auto;
    position: relative;
}
.dropdown-label {
    height: 27px;
    width: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dropdown-drawer {
    position: absolute;
    right: 0;
    top: 100%;
    display: none;
    z-index: 2;
    background: #fff;
    padding: 10px 20px;
    box-shadow: 1px 1px 2px;
}
.edit-dropdown .dropdown-drawer button {
    width: 100%;
    padding:2px 10px;
}
.edit-dropdown:hover .dropdown-drawer {
    display: block;
}
.comment .edit-dropdown {
    margin-left: auto;
    position: absolute;
    top: 0;
    right: 0;
}

.edit-question .files-list {
    padding: 8px;
    display: flex;
    flex-wrap: wrap;
}
.edit-photo {
    width: 100px;
    height: 100px;
    overflow: hidden;
    position: relative;
}
.edit-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.edit-photo button {
    background-color: #ffffffaa;
    padding: 2px 10px;
    border-radius: 2px;
}
.edit-photo button.remove-photo-from-question {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.edit-photo button.dont-remove-photo-from-question {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}
.edit-photo.delete img {
    opacity: .5;
}
.edit-photo.delete .dont-remove-photo-from-question {
    display: block;
}
.edit-photo.delete .remove-photo-from-question {
    display: none;
}
.edit-question form {
    flex-wrap: wrap;
    padding: 16px;
}
.edit-question form textarea {
    min-height: 18px;
    width: 100%;
    margin: 19px 0;
}
.edit-question form button {
    padding: 18px;
    margin-left: auto;
}
.edit-question, .message .comment form {
    background-color: #0095f60a;
    display: none;
}
.message.show-edit-question-form .photos-wrapper {
    display: none;
}
.message.show-edit-question-form .edit-question {
    display: block;
}
.message .comment.show-edit-answer-form form {
    display: flex;
}
.comment.show-edit-answer-form .comment-text,
.show-edit-question-form .question {
    display: none;
}
