.modal-feedback .modal .modal-lg {
    width: 750px;
}

.d-none {
    display: none!important;
}

.modal-feedback .modal .modal-lg .modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 10px;
    border: none;
}
.modal-feedback .modal .modal-lg .modal-content .close-modal-feedback, .modal-thanks .modal-content .close-modal-feedback {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 40px;
    font-weight: 300;
    line-height: 30px;
    color: white;
    text-shadow: none;
    opacity: 1;
}
.modal-feedback .modal .modal-lg .modal-content .close-modal-feedback:hover {
    opacity: 1;
}
.modal-feedback .modal .modal-lg .modal-content .modal-body {
    padding: 30px!important;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.modal-feedback .modal .modal-lg .modal-content .modal-body--title {
    font-weight: 500;
    font-size: 20px;
    line-height: 23px;
    color: #333333;
    padding-bottom: 30px;
}
.modal-body--input {
    width: 100%;
    margin-bottom: 20px;
}
.modal-body--input input {
    width: 100%;
    height: 42px;
    border-radius: 12px;
    padding: 0 12px;
    border: 1px solid #c7c7c7;
}
.modal-body--label::after {
    content: '*';
    color: red;
}
.modal-feedback .modal .modal-lg .modal-content .modal-body--textarea {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
    height: 290px;
    border: 1px solid #c7c7c7;
    border-radius: 12px;
    padding: 10px;
}
.modal-feedback .modal .modal-lg .modal-content .modal-body--textarea .form-control {
    overflow: hidden;
    overflow-wrap: break-word;
    height: 100%;
    box-shadow: none !important;
    padding: 0;
    resize: none;
    max-height: 150px!important;
    min-height: 130px!important;
    overflow-y: auto!important;
    margin-bottom: 10px;
    width: 100%;
    border: none;
    margin-top: 4px;
    font-weight: 400;
    line-height: 1.5;
    font-size: 14px !important;
    color: #495057;
    font-family: Roboto,sans-serif !important;
    font-style: normal;
}
.modal-feedback .modal .modal-lg .modal-content .modal-body--textarea .form-control:focus {
    box-shadow: none !important;
}
.modal-feedback .modal .modal-lg .modal-content .modal-body--textarea .attach-images {
    display: flex;
    gap: 5px;
    max-width: 550px;
}
.modal-feedback .modal .modal-lg .modal-content .modal-body--textarea .attach-images--item {
    width: 95px;
    height: 95px;
    position: relative;
    background-color: #E9EEF1;
    margin-right: 10px;
    margin-bottom: 10px;
    border-radius: 10px;
}
.modal-feedback .modal .modal-lg .modal-content .modal-body--textarea .attach-images--item a {
    width: 95px;
    height: 95px;
    min-width: 95px;
    min-height: 95px;
    display: block;
    border-radius: 10px;
}
.modal-feedback .modal .modal-lg .modal-content .modal-body--textarea .attach-images--item a img {
    border-radius: 10px;
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.modal-feedback .modal .modal-lg .modal-content .modal-body--textarea .attach-images--item .close-modal-feedback {
    position: absolute;
    top: 2px;
    right: 5px;
    transform: rotate(45deg);
    font-size: 20px;
    line-height: 20px;
    color: #ffffff;
    cursor: pointer;
}
.modal-feedback .modal .modal-lg .modal-content .modal-body--textarea .attach {
    position: absolute;
    bottom: 5px;
    right: 10px;
}
.modal-feedback .modal .modal-lg .modal-content .modal-body--textarea .attach label {
    width: 92px;
    font-weight: 500;
    font-size: 10px;
    line-height: 12px;
    letter-spacing: .05em;
    color: #999;
    position: relative;
    cursor: pointer;
}
.modal-feedback .modal .modal-lg .modal-content .modal-body--textarea .attach label:after {
    top: -4px;
    right: 0px;
    position: absolute;
    content: "";
    background-image: url("data:image/svg+xml,%0A%3Csvg width='17' height='18' viewBox='0 0 17 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M13.9713 2.20479C13.1442 1.37765 11.8031 1.37765 10.976 2.2048L2.12348 11.0573C0.788982 12.3918 0.788982 14.5554 2.12348 15.8899C3.45798 17.2244 5.62163 17.2244 6.95613 15.8899L15.8782 6.96785C16.0735 6.77259 16.3901 6.77259 16.5853 6.96785C16.7806 7.16311 16.7806 7.4797 16.5853 7.67496L7.66324 16.597C5.93822 18.3221 3.1414 18.3221 1.41637 16.597C-0.308649 14.872 -0.30865 12.0752 1.41637 10.3502L10.2689 1.49769C11.4865 0.280023 13.4607 0.280021 14.6784 1.49769C15.8961 2.71535 15.8961 4.68958 14.6784 5.90725L6.13215 14.4535C5.45259 15.1331 4.35081 15.1331 3.67125 14.4535C2.99169 13.7739 2.99169 12.6722 3.67125 11.9926L8.0279 7.63596C8.22316 7.4407 8.53974 7.4407 8.735 7.63596C8.93026 7.83122 8.93026 8.14781 8.735 8.34307L4.37836 12.6997C4.08932 12.9887 4.08932 13.4574 4.37836 13.7464C4.66739 14.0354 5.13601 14.0354 5.42504 13.7464L13.9713 5.20014C14.7984 4.373 14.7984 3.03194 13.9713 2.20479Z' fill='%23999999'/%3E%3C/svg%3E%0A");
    background-size: 17px 18px;
    width: 17px;
    height: 18px;
}
.modal-feedback .modal .modal-lg .modal-content .modal-body--textarea .attach label:hover {
    color: #6E6E6E;
}
.modal-feedback .modal .modal-lg .modal-content .modal-body--textarea .attach label:hover::after {
    background-image: url("data:image/svg+xml,%0A%3Csvg width='17' height='18' viewBox='0 0 17 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M13.9713 2.20479C13.1442 1.37765 11.8031 1.37765 10.976 2.2048L2.12348 11.0573C0.788982 12.3918 0.788982 14.5554 2.12348 15.8899C3.45798 17.2244 5.62163 17.2244 6.95613 15.8899L15.8782 6.96785C16.0735 6.77259 16.3901 6.77259 16.5853 6.96785C16.7806 7.16311 16.7806 7.4797 16.5853 7.67496L7.66324 16.597C5.93822 18.3221 3.1414 18.3221 1.41637 16.597C-0.308649 14.872 -0.30865 12.0752 1.41637 10.3502L10.2689 1.49769C11.4865 0.280023 13.4607 0.280021 14.6784 1.49769C15.8961 2.71535 15.8961 4.68958 14.6784 5.90725L6.13215 14.4535C5.45259 15.1331 4.35081 15.1331 3.67125 14.4535C2.99169 13.7739 2.99169 12.6722 3.67125 11.9926L8.0279 7.63596C8.22316 7.4407 8.53974 7.4407 8.735 7.63596C8.93026 7.83122 8.93026 8.14781 8.735 8.34307L4.37836 12.6997C4.08932 12.9887 4.08932 13.4574 4.37836 13.7464C4.66739 14.0354 5.13601 14.0354 5.42504 13.7464L13.9713 5.20014C14.7984 4.373 14.7984 3.03194 13.9713 2.20479Z' fill='%236E6E6E'/%3E%3C/svg%3E%0A");
}
.modal-feedback .modal .modal-lg .modal-content .modal-body--error {
    padding: 10px 0;
}
.modal-feedback .modal .modal-lg .modal-content .modal-body--error span {
    font-weight: 300;
    font-size: 12px;
    line-height: 16px;
    color: #CB5757;
}
.modal-feedback .modal .modal-lg .modal-content .modal-body--button {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}
.modal-feedback .modal .modal-lg .modal-content .modal-body--button .btn-send {
    width: auto;
    border-radius: 5px;
    padding: 10px 20px;
}

.modal-body--email-input-error {
    margin: -15px 0 0 10px;
}
.modal-body--email-input-error span {
    font-weight: 300;
    font-size: 12px;
    line-height: 16px;
    color: #CB5757;
}

.modal-thanks .modal-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 42px !important;
}
.modal-thanks .modal-content {
    position: relative;
}

.modal-thanks .modal-content .modal-body {
    padding: 40px !important;
}

.modal-thanks .modal-body p {
    font-weight: 500;
    font-size: 22px;
    margin-bottom: 28px;
}
.modal-thanks .modal-body a {
    width: fit-content;
}
.counter-review.negative {
    color: #d44;
}
.modal-feedback .modal .modal-lg .modal-content .modal-body--textarea .attach-images--item .close {
    position: absolute;
    top: -5px;
    right: -7px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    font-size: 23px;
    color: #fff;
    background-color: rgba(185,185,185);
    opacity: 1;
    cursor: pointer;
    -webkit-transition: .3s ease all;
    transition: .3s ease all;
}

@media (max-width: 767px) {
    .modal-feedback .modal .modal-lg .modal-content  {
        max-width: 100vw;
        height: 100vh;
        border-radius: 0;
    }
    .modal-feedback .modal .modal-lg .modal-content .modal-body--textarea {
        height: auto;
        min-height: 150px;
    }
    .modal-feedback .modal .modal-lg {
        max-width: 500px;
    }
    .modal-feedback .modal .modal-lg .modal-content .modal-body--button {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 94%;
    }
    .modal-feedback .modal .modal-lg .modal-content .modal-body--button .btn-send {
        width: 100%;
    }
    .modal-thanks .modal-body p {
        font-size: 20px;
        width: 100%;
    }
    .modal-thanks .modal-body {
        padding: 16px !important;
    }
    .modal-feedback .modal .modal-lg {
        width: 680px;
    }
    .modal-feedback .modal .modal-lg .modal-content .close-modal-feedback {
        position: absolute;
        right: 5px;
        top: 5px;
        font-size: 30px;
        font-weight: 300;
        line-height: 30px;
        color: white;
        text-shadow: none;
        opacity: 1;
    }
    .modal-feedback .modal .modal-lg .modal-content .modal-body {
        padding: 15px !important;
    }
    .modal-feedback .modal .modal-lg .modal-content .close-modal-feedback:hover {
        opacity: 1;
    }
    .modal-feedback .modal .modal-lg .modal-content .modal-body--textarea .form-control {
        min-height: 190px!important;
        font-size: 12px !important;
    }
}
