@import url('fonts.css');

* {
    margin: 0;
    padding: 0;
    outline: none;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --main-bg: #FFFFFF;
    --m-black: #262626;
    --m-blue: #2B93F4;
    --s-placeholder: #9C9C9C;
    --m-white: #FFFFFF;
    --m-red: #FC574C;

    --container-width: 1300px;

    --m-light-dark-footer: #888888;
    --m-darkest-footer: #404040;

    --m-input-bg: #F8F8F8;

    --m-green: #28B88F;
    --m-yello: #d79b0a;

    --s-stroke: #F0F0F0;

}

body {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    text-decoration: none;

    background-color: var(--main-bg);

    overflow-y: scroll;
}

.container {
    width: var(--container-width);
    margin: 0 auto;
}

.header-top {
    width: 100%;
    height: 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.btn {
    cursor: pointer;
    font-family: "Montserrat", sans-serif !important;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    min-height: 26px;
    padding: 5px 24px;
    gap: 8px;
    border-radius: 6px;
    border: 2px solid var(--m-blue);
    font-weight: 800;
    font-size: 14px;
    color: var(--m-blue);
    background-color: white;
    overflow: hidden;
    width: fit-content;
    text-transform: uppercase;
    box-sizing: content-box;
    text-align: center;
    justify-content: center;
}


.btn span {
    text-align: center;
}
.btn.btn-solid {
    border: 2px solid var(--m-white);
    background-color: var(--m-white);
}
.btn-shine {
    overflow: hidden;
}
.btn.btn-blue {
    font-weight: 700;
    border: 2px solid var(--m-blue);
    background: var(--m-blue);
    color: var(--m-white);
}
.btn.btn-green {
    font-weight: 700;
    border: 2px solid var(--m-green);;
    background: var(--m-green);;
    color: var(--m-white);
}
.btn.btn-red {
    font-weight: 700;
    border: 2px solid var(--m-red);
    background: var(--m-white);
    color: var(--m-red);
}
.btn.btn-open {
    font-weight: 700;
    border: 2px solid var(--f-button-active-bg);
    background: transparent;
    color: var(--m-light-dark-footer);
}
.btn.blinking {
    animation: blinking 0.9s infinite;
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgb(0 147 255 / 12%);
    transform: rotate(45deg);
    animation: shine 8s infinite;
}
.btn.send-org-request,
.btn.send-request {
    font-size: 12px;
    padding: 7px;
    font-weight: 700;
}
header {
    display: flex;
    height: 170px;
    width: 100%;
    justify-content: center;
}

header .container {
    position: fixed;
    background-color: white;
    padding-bottom: 10px;
    z-index: 100;
    box-shadow: 0 0 0 5px white;
}

.header-top .logo {
    width: 430px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    gap: 10px;
}

.header-top .logo a {
    width: 200px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-top .logo img {
    height: 40px;
    aspect-ratio: 1/1;
}

.header-top .logo span {
    font-weight: 800;
    font-size: 20px;
    line-height: 100%;
    color: var(--m-black);
    text-transform: uppercase;
}

.header-top .logo p {
    font-family: "Roboto", sans-serif;
    width: 190px;
    font-weight: 300;
    font-size: 14px;
}

.header-top .search {
    position: relative;
}

.header-top .search, .header-down-mobile .search {
    max-width: 527px;
    width: 100%;
}
.header-top .search form, .header-down-mobile .search form .main-input {
    display: flex;
    align-items: center;
    width: 100%;
}

.header-top .search input, .header-down-mobile .search input {
    font-family: "Roboto", sans-serif;
    border: 1px solid var(--m-blue);
    border-radius: 6px 0 0 6px;
    padding: 0 15px;
    width: calc(100% - 40px);
    height: 38px;
    font-weight: 400;
    font-size: 14px;
}

.header-top .search input::placeholder, .header-down-mobile .search input::placeholder {
    color: var(--s-placeholder);
}

.header-top .search select {
    box-sizing: content-box;
    border: 1px solid var(--m-blue);
    min-width: 120px;
    padding: 0 4px;
    height: 38px;
    background-color: var(--m-blue);
    color: var(--main-bg);
    cursor: pointer;
    outline: none;
}

.header-top .search button, .header-down-mobile .search button {
    box-sizing: content-box;
    border: 1px solid var(--m-blue);
    border-radius: 0 6px 6px 0;
    min-width: 38px;
    height: 38px;
    background-color: var(--m-blue);
    color: var(--main-bg);
    cursor: pointer;
    border-left: 1px solid #0084ff;
    outline: none;
}

.header-down-mobile .search.active {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #0000009e;
    width: 100%;
    height: 100vh;
    padding: 5px;
    box-sizing: border-box;
}
.header-down-mobile .search.active .live-search {
    width: calc(100% - 10px);
}

.header-down-mobile .search.active .live-search > p i {
    display: none;
}
.header-down-mobile .search .cat-input {
    display: none;
}
.header-down-mobile .search .cat-input select {
    box-sizing: content-box;
    border: 1px solid var(--m-blue);
    width: 100%;
    padding: 0 4px;
    height: 38px;
    background-color: var(--m-blue);
    color: var(--main-bg);
    cursor: pointer;
    outline: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.header-down-mobile .search .cat-input .close-live-search {
    height: 38px;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--m-blue);
    color: white;
    font-size: 17px;
}



.header-down-mobile .search.active form {
    margin-top: 55px;
}
.header-down-mobile .search.active .cat-input{
    display: flex;
    margin-top: 10px;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}


.live-search {
    display: none;
    position: absolute;
    width: 100%;
    min-height: 250px;
    background-color: #ffffff;
    box-shadow: 0 0 5px 0 #53a2eb85;
    border: 1px solid #2b93f4;
    margin-top: 10px;
    border-radius: 6px;
    transition: 0.3s;
    padding: 15px;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

.live-search-organizations,
.live-search-doctors {
    display: flex !important;
    position: relative;
    box-shadow: 0 0 2px 0 #9b9b9b;
    border: unset;
    height: 400px;
    overflow-y: scroll;
    flex-direction: column;
    gap: 10px;
}

.live-search.open {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.live-search > p {
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.live-search > p i {
    padding: 3px;
    color: var(--m-red);
    cursor: pointer;
}

.live-search .result-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.live-search .result-section .type a {
    color: black;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.live-search .result-section .type a:hover span {
    color: black;
    transition: 0.3s;
}
.live-search .result-section .type a span {
    font-size: 14px;
    color: var(--m-light-dark-footer);
    border-bottom: 1px solid #d3d3d3;
}
.live-search .result-section .all {
    text-align: center;
    text-decoration: underline;
}
.live-search .result-section .results {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.live-search .card {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 7px;
    border-radius: 4px;
    box-shadow: 0 0 2px 0 #9b9b9b;
    color: black;
}
.live-search .card:hover {
    box-shadow: 0 0 2px 0 #000000;
    transition: 0.3s;
}

.live-search .card > img {
    width: 47px;
    border-radius: 4px;
    background-color: #dbdbdb;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 1px solid var(--f-button-hover-bg);
    overflow: hidden;
}
.live-search .card > div {
    width: calc(100% - 50px);
}
.live-search .card > div p,
.live-search .card > div a{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
    color: black;
    text-decoration: none;
}
.live-search .card .order-success {
    font-size: 12px;
    text-align: center;
    padding-top: 10px;
}

.live-search .card .tags {
    margin-top: 5px;
    margin-bottom: 2px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}
.live-search .card .tags .tag {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 3px 5px;
    font-weight: 400;
    font-size: 13px;
    color: var(--f-button-color);
}
.live-search .card i {
    padding: 12px;
    color: var(--m-light-dark-footer);
}
.header-top .user-ui {

}

.header-top .user-ui .profile {
    min-width: 170px;
    max-width: 200px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.header-top .user-ui .profile .info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.header-top .user-ui .profile .info p {
    font-weight: 600;
    font-size: 14px;
    color: var(--m-black);
}
.header-top .user-ui .profile .info span {
    font-weight: 600;
    font-size: 12px;
    color: #535353;
}

.header-top .user-ui .profile .user {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 2px solid var(--m-blue);
    border-radius: 100%;
    color: var(--m-blue);
    font-size: 18px;
}

.header-top .user-ui .profile .user .notify {
    position: absolute;
    width: 9px;
    height: 9px;
    background: var(--m-red);
    top: -3px;
    right: -3px;
    border: 3px solid var(--m-white);
    border-radius: 100%;
}

.header-top .user-ui .buttons {
    display: flex;
    gap: 10px;
}

.header-down {
    box-sizing: border-box;
    padding: 0 25px;
    width: 100%;
    height: 70px;
    border-radius: 15px;
    background: var(--m-blue);

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-down nav {
    padding: 0 15px;
    display: flex;
    gap: 35px;
}
.header-down nav a {
    font-family: "Roboto", sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 400;
    font-size: 16px;
    color: var(--m-white);
}
.header-down nav a i, .header-down nav a .svg-inline--fa {
    font-weight: 300;
    font-size: 14px;
    width: 18px;
    height: 14px;
    text-align: center;
}
.header-down .btn {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
}

.header-down .btn .fa-circle-question {
    font-size: 19px;
}

.mobile-nav {
    position: fixed;
    z-index: 100;
    bottom: 0;
    left: 0;
    width: 100%;
    display: none;
    box-sizing: border-box;
    padding: 5px;
}

.mobile-nav nav {
    display: flex;
    justify-content: space-between;
    background-color: var(--m-blue);
    align-items: center;
    border-radius: 20px;
    box-shadow: 0 0 10px 0 #0000001f;
    padding: 0 7px;
}
.mobile-nav nav > div {
    width: 10px;
}

.mobile-nav nav a {
    width: calc(100% / 4);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--m-white);
    gap: 5px;
    padding: 15px 0 10px 0;
}

.mobile-nav nav a i, .mobile-nav nav a .svg-inline--fa {
    font-size: 18px;
    height: 19px;
}
.mobile-nav nav a span {
    font-size: 10px;
}

.mobile-nav nav a.add_quest {
    position: absolute;
    width: 60px;
    height: 60px;
    left: calc(50% - (60px / 2));
    border-radius: 100%;
    background: white;
    bottom: 40px;
    box-shadow: 0 0 10px 0 #0000001f;
    color: var(--m-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.mobile-nav nav a.add_quest i, .mobile-nav nav a.add_quest .svg-inline--fa {
    font-size: 28px;
    height: 28px;
}

.mobile-nav nav a.add_quest > i, .mobile-nav nav a.add_quest > .svg-inline--fa {
    padding: 17px;
    border-radius: 100%;
}

.mobile-nav nav a.add_quest > div {
    position: absolute;
    top: -80px;
    background-color: white;
    box-shadow: 0 0 2px 0 #00000052;
    padding: 10px 40px 10px 10px;
    color: #676767;
    width: 150px;
    font-size: 14px;
    border-radius: 10px;
}


.mobile-nav nav a.add_quest > div::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px;
    border-style: solid;
    border-color: #dddddd transparent transparent transparent;
}
.mobile-nav nav a.add_quest > div i, .mobile-nav nav a.add_quest > div .svg-inline--fa {
    color: var(--m-red);
    position: absolute;
    right: 10px;
    font-size: 22px;
    padding: 0 0 15px 10px;
}

.header-down-mobile {
    display: none;
    width: 100%;
    gap: 10px;
}

.header-down-mobile .open-menu {
    display: flex;
    font-size: 18px;
    padding: 5px;
    width: 30px;
    height: 30px;
    background-color: var(--m-blue);
    color: white;
    border-radius: 6px;
    align-items: center;
    justify-content: center;
}

.header-down-mobile nav {
    display: none;
    flex-direction: column;
    padding: 20px 10px 20px 10px;
    box-sizing: border-box;
    position: absolute;
    width: calc(100% - 20px);
    height: calc(100vh - 110px - 65px - 130px - 50px);
    background-color: var(--m-blue);
    margin-top: 10px;
    border-radius: 6px;
    gap: 10px;
    overflow-y: scroll;
}

.header-down-mobile nav.active {
    display: flex;
}

.header-down-mobile nav a {
    color: white;
    padding: 10px;
    border: 1px solid #ffffff61;
    border-radius: 4px;
    font-weight: 600;
}

footer {
    background: #2c2c2c;
}

footer .bottom {
    background: var(--m-black);
}

footer nav {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
    padding: 50px 0;
}

footer nav > div {
    width: calc(100% / 4 - 15px);
    display: flex;
    flex-direction: column;
}
footer nav > div h3 {
    font-weight: 600;
    font-size: 16px;
    color: var(--m-light-dark-footer);
    padding-bottom: 15px;
}

footer nav > div a {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: var(--m-light-dark-footer);
    padding-bottom: 6px;
}

footer .mid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
}

footer .mid p {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: var(--m-light-dark-footer);
}
footer .bottom {
    padding: 20px 0;

}
footer .bottom p {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: var(--m-light-dark-footer);
    max-width: 970px;
    width: 100%;
}




.modal {
    font-family: "Roboto", sans-serif;
    border-radius: 16px;
    background: var(--m-white);
    box-shadow: unset;
    -webkit-box-shadow: unset;
    padding: 30px 50px;
}
.modal#modal_registration {
    max-width: 550px;
}

.modal a.close-modal {
    position: absolute;
    display: flex;
    top: 20px;
    font-size: 27px;
    width: 20px;
    height: 20px;
    right: 20px;
    padding: 15px;
    color: var(--m-light-dark-footer);
    align-items: center;
    justify-content: center;
}

.modal h3 {
    padding-right: 30px;
    font-weight: 700;
    font-size: 24px;
    color: #414141;
    margin-bottom: 30px;
}
.modal .modal-content {
    margin-bottom: 20px;
}

.modal .inputs {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.modal .texts {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 20px;
}

.modal .inputs .row {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.modal .inputs .row input {
    width: unset;
}

.form-input, .form-check {
    font-family: "Roboto", sans-serif;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-check {
    gap: 12px;
}
.form-input label, .form-check label {
    font-weight: 400;
    font-size: 16px;
    color: var(--m-black);
}

.form-input span.info {
    font-size: 12px;
    color: var(--m-yello);
}

.form-check .boxes {
    display: flex;
    gap: 30px;
    padding: 10px 0 15px 10px;
}


.form-input label span, .form-check label span {
    color: var(--m-red);
}
.form-checkbox {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}
.form-checkbox label {
    font-weight: 400;
    font-size: 16px;
    color: var(--m-black);
    font-family: "Roboto", sans-serif;
}
.form-checkbox input[type=checkbox]{
    padding: 24px;
    margin: 0 10px 2px 0;
    min-width: 20px;
    min-height: 20px;
}
.form-input input, .form-input select, .form-input textarea  {
    -webkit-appearance: none;
    border-radius: 6px;
    padding: 12px 20px;
    width: 100%;
    box-sizing: border-box;
    background: var(--m-input-bg);
    border: 1px solid var(--m-input-bg);
    color: var(--m-black);
    font-weight: 400;
    font-size: 16px;
}
.form-input textarea {
    min-height: 120px;
    max-height: 500px;
}
.profile-edit .form-input textarea {
    min-height: unset;
}
#modal_query textarea {
    font-family: "Roboto", sans-serif;
    border-radius: 6px;
    padding: 12px 20px;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    box-sizing: border-box;
    background: var(--m-input-bg);
    border: 1px solid var(--m-input-bg);
    color: var(--m-black);
    font-weight: 400;
    font-size: 16px;
    min-height: 100px;
    max-height: 300px;
}
.inputs-horiz {
    display: flex;
    gap: 20px;
}
.form-input input::placeholder, .form-input textarea::placeholder {
    color: var(--s-placeholder);
}

.form-input input:focus {
    border: 1px solid var(--m-blue);
    background: var(--m-white);
}

.select2-container--default .select2-selection--single {
    -webkit-appearance: none;
    border-radius: 6px !important;
    padding: 12px 20px;
    width: 100%;
    box-sizing: border-box;
    background-color: var(--m-input-bg) !important;
    border: 1px solid var(--m-input-bg) !important;
    color: var(--m-black);
    font-weight: 400;
    font-size: 16px;
    height: unset !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: unset !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 10px !important;
    right: 5px !important;
}
.select2-container--default .select2-selection--single .select2-selection__clear {
    margin-right: 15px !important;
}
.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0 !important;
}
.select2-dropdown {
    top: -6px !important;
    padding: 10px 16px 16px 16px !important;
    background-color: var(--m-input-bg) !important;
    border: 1px solid var(--m-input-bg) !important;
}
.select2-search--dropdown .select2-search__field {
    padding: 6px 4px !important;
    border-radius: 4px;
}
.error-label-login, .error-label {
    display: block;
    color: var(--m-red);
    font-size: 14px;
    padding: 10px 0;
}

.VkIdSdk_oauth_container,
button.vkc__styles__SecondaryButton.vkc__styles__ButtonMedium,
.vkc__ButtonOneTapWidget__loginOptionsButtonContainer,
.vkc__SDKOAuthList__caption,
.vkuiSpacing,
.vkc__SDKOAuthList__itemContainer
{
    display: none !important;
}
.vkc__ButtonOneTapWidget__loginOptionsButtonContainer {
    display: none !important;
}
.vkc__SDKOAuthList__caption {
    display: none !important;
}
.vkuiSpacing {
    display: none !important;
}
.vkc__SDKOAuthList__itemContainer {
    display: none !important;
}
.modal .buttons {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    gap: 10px;
}

.modal .modal-bottom {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
}
.modal .modal-bottom a {
    font-weight: 400;
    font-size: 16px;
    text-align: center;
    color: var(--m-light-dark-footer);
}
.modal .check_reg {
    margin-bottom: 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
}

.modal .check_reg > div {
    width: 100%;
    text-align: center;
    border-bottom: 2px solid var(--m-light-dark-footer);
}

.modal .check_reg > div.active {
    border-bottom: 4px solid var(--m-blue);
}

.modal .check_reg > div input {
    display: none;
}
.modal .check_reg > div label {
    padding: 6px 0;
    display: block;
    width: 100%;
}

.modal .form-check {
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    gap: 10px;
}

.modal .form-check input {
    width: 50px;
    height: 30px;
}
.modal .form-check label {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #000;
}

.modal .form-check label a {
    color: #000;
    text-decoration: underline;
}

.modal #modal-question-type .modal-text {
    font-weight: 500;
    font-size: 16px;
    color: var(--m-black);
}
.modal #modal-question-type .inputs {
    margin-top: 20px;
}
.modal #modal-question-type .inputs .type {
    box-sizing: border-box;
    padding: 12px 16px;
    border: 1px solid var(--m-white);
    border-radius: 8px;
    width: 100%;
    box-shadow: 0 0 2px 0 #9b9b9b;
    background: var(--m-white);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
}

.modal #modal-question-type .inputs .type.active {
    border: 1px solid var(--m-blue);
    box-shadow: 0 0 5px 0 rgba(43, 147, 244, 0.4);
}

.modal #modal-question-type .inputs .type .check-box{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.modal #modal-question-type .inputs .type .check-box label {
    font-weight: 400;
    font-size: 13px;
}
.modal #modal-question-type .inputs .type .check-box label b {
    font-weight: 700;
    font-size: 16px;
    color: var(--m-black);
}

.modal #modal-question-type .inputs .type .type-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 400;
    font-size: 14px;
    color: #000;
}
.modal #modal-question-type .inputs .type .type-text p {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.modal #modal-question-type .inputs .type .type-text p i {
    color:  var(--m-green);
}
.modal #modal-question-type .inputs .type .type-text p i.red-check {
    color:  var(--m-red);
}
.modal #modal-question-type .inputs .type > p {
    font-weight: 400;
    font-size: 14px;
    color: var(--m-light-dark-footer);
}
.modal #modal-question-type .inputs .type > p b {
    font-weight: 700;
}

.modal .question-title {
    padding-right: 30px;
    font-weight: 500;
    font-size: 18px;
    color: #414141;
    margin-bottom: 10px;
}

.modal .amount {
    font-weight: 500;
}
.modal .discount {
    color: var(--m-green);
    font-weight: 500;
}

.modal .total {
    font-size: 18px;
    font-weight: 500;
    margin-top: 5px;
}


.smart-captcha {
    width: 100%;
    height: 102px;
    margin-bottom: 20px;
    border-radius: 12px;
    min-width: 100% !important;
}

.smart-captcha.error {
    border: 1px solid var(--m-red);
}

body > .main {
    min-height: calc(100vh - 170px - 374px);
}

.push-notifications {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 101;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.push-notifications .notification {
    position: relative;
    border-radius: 8px;
    width: 100%;
    min-width: 350px;
    max-width: 350px;
    padding: 20px;
    box-shadow: 0 0 2px 0 var(--m-green);
    background: #9cffe3;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    box-sizing: border-box;
    justify-content: space-between;
    gap: 15px;
    font-family: "Roboto", sans-serif;
    color: black;
}
.push-notifications .notification .icon {
    font-size: 20px;
    color: var(--m-green);
}
.push-notifications .notification .text {
    width: 100%;
}
.push-notifications .notification h3 {
    font-size: 16px;
}
.push-notifications .notification p {
    padding-top: 5px;
    font-size: 14px;
}
.push-notifications .notification a {
    color: black;
}
.push-notifications .notification .close {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 23px;
    font-size: 17px;
    height: 23px;
    display: flex;
    background-color: var(--m-red);
    color: var(--main-bg);
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pagination-section {
    display: flex;
    justify-content: center;
    padding: 20px;
    align-items: center;
    gap: 10px;
}

.pagination-section a {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--m-blue);
    border-radius: 6px;
    font-weight: 500;
    font-family: 'Roboto';
    color: var(--m-blue);
    font-size: 17px;
    cursor: pointer;
}

.pagination-section a.active {
    background-color: var(--m-blue);
    color: white;
}


.loader {
    background-image: url(/public/main/images/loader.gif);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 70%;
    background-color: #00000099;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
}



.chats {
    margin-top: 30px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 20px;
}
.chats .card-chat {
    border-radius: 8px;
    width: 100%;
    padding: 20px;
    box-shadow: 0 0 2px 0 #9b9b9b;
    background: var(--m-white);
    display: flex;
    flex-direction: row;
    align-items: center;
    box-sizing: border-box;
    justify-content: space-between;
    gap: 20px;
    font-family: "Roboto", sans-serif;
    color: black;
    position: relative;
}
.chats .card-chat .doctor > a {
    height: 62px;
}
.chats .card-chat .doctor img {
    width: 62px;
    height: 62px;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 100%;
    overflow: hidden;
}
.chats .card-chat .doctor {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    width: 50%;
}
.chats .card-chat .doctor > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-width: 300px;
}
.chats .card-chat .right-chat {
    display: flex;
    width: 50%;
    gap: 20px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.chats .card-chat .doctor h3 {
    font-family: "Roboto", sans-serif;
    font-size: 16px;
}

.chats .card-chat .doctor h3 a {
    color: black;
}

.chats .card-chat .right-chat .last-message p{
    max-width: 300px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    overflow-wrap: anywhere;
}
.chats .card-chat .right-chat .last-message p.active {
    font-weight: 500;
}
.chats .card-chat .right-chat .btn {
    min-width: 75px;
}
.chats .card-chat .doctor .online-date {
    font-size: 14px;
    color: var(--f-button-color);
    display: flex;
    align-items: center;
    gap: 5px;
}
.chats .card-chat .doctor .online {
    border: 2px solid var(--m-white);
    background: #4bde5a;
    border-radius: 66px;
    width: 10px;
    height: 10px;
}
.chats .card-chat .doctor .status {
    font-size: 14px;
    color: var(--f-button-color);
}
.chats .card-chat .badge-new-message {
    position: absolute;
    border-radius: 4px;
    padding: 4px 10px;
    background: var(--m-blue);
    font-weight: 400;
    font-size: 14px;
    color: var(--m-white);
    right: 14px;
    top: -9px;
}

.chats .card-chat .badge-new-message::before {
    content: '';
    position: absolute;
    bottom: -13px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 7px;
    border-style: solid;
    border-color: var(--m-blue) transparent transparent transparent;
}


.chat {
    border-radius: 8px;
    box-shadow: 0 0 2px 0 #9b9b9b;
    background: var(--m-white);
    padding: 20px;
}
.chat .profile {
    display: flex;
    justify-content: space-between;
}
.chat .profile .left {
    display: flex;
    align-items: center;
    gap: 5px;
}

.chat .profile .left > a.exit {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 20px;
    width: 13px;
    padding-right: 15px;
    padding-left: 10px;
    color: black;
}
.chat .profile .left > a,
.chat .profile .left > a img {
    width: 45px;
    height: 45px;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 100%;
    overflow: hidden;
}

.chat .profile .left .info {
    margin-left: 5px;
}
.chat .profile .left .info h3 {
    font-size: 18px;
}
.chat .profile .left .info h3 a {
    color: black;
}

.chat .profile .left .info .online-date {
    font-size: 14px;
    color: var(--f-button-color);
    display: flex;
    align-items: center;
    gap: 5px;
}
.chat .profile .left .info .online {
    border: 2px solid var(--m-white);
    background: #4bde5a;
    border-radius: 66px;
    width: 10px;
    height: 10px;
}

.chat .profile .right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat .profile .right > div > button {
    padding: 5px 7px;
    border-radius: 6px;
    border: 1px solid;
    cursor: pointer;
}

.chat .profile .right button.close-chat {
    border-color: var(--m-red);
    color: var(--m-red);
    background-color: white;
}

.chat .profile .right button.report-chat {
    border-color: var(--m-yello);
    color: var(--m-yello);
    background-color: white;
}
.chat .messages {
    max-height: calc(100vh - 170px - 30px - 40px - 220px);
    height: 100vh;
    overflow-y: scroll;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    padding: 20px 0;
}
.chat .start-chat {
    max-height: calc(100vh - 170px - 30px - 40px - 220px);
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.chat .start-chat div {
    max-width: 390px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.chat .start-chat div p {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #262626;
}

.chat .messages .card-message {
    display: inline-block;
    text-align: left;
    box-sizing: border-box;
}
.chat .messages .card-message div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 15px 25px;
    max-width: 55%;
}
.chat .messages .card-message div p {
    font-size: 15px;
    line-height: 22px;
    font-family: "Roboto", sans-serif;
    color: var(--m-black);
}
.chat .messages .card-message div time {
    font-weight: 400;
    font-size: 12px;
    color: var(--m-light-dark-footer);
    font-family: "Roboto", sans-serif;
}
.chat .messages .card-message.left div {
    float: left;
    border-radius: 10px 10px 10px 0;
    background: #ededed;
}
.chat .messages .card-message.right div {
    float: right;
    border-radius: 10px 10px 0 10px;
    background: #daedff;
}
.chat .messages .card-message.right div time {
    color: #80a6ca;
}

.chat .messages .card-message div img {
    width: 240px;
    height: 270px;
    border-radius: 3px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin-top: 4px;
    overflow: hidden;
}


.chat-input {
    display: flex;
    width: 100%;
    gap: 10px;
    margin-top: 10px;
}
.chat-input #message-input {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 2px solid var(--f-button-active-bg);
    font-size: 15px;
    line-height: 19px;
    font-family: "Roboto", sans-serif;
    color: var(--m-black);
}
.chat-input .buttons {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.chat-input .buttons > input {
    width: calc(100% - 52px);
}

.chat-input .buttons > button {
    width: calc(100% - 52px);
}

.chat-input .buttons > button .loader {
    background-size: contain !important;
}


.chat-input .input-file {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}
.chat-input .input-file .preview {
    width: 85px;
    height: 85px;
    border: 1px solid var(--f-button-active-bg);
    border-radius: 6px;
    background-size: cover;
    background-image: url(/public/main/images/no-foto.png);
}
.chat-input .input-file input {
    width: 0;
    height: 0;
}
.chat-input .chat-closed {
    font-family: "Roboto", sans-serif;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 0;
    font-weight: 500;
    color: var(--f-button-color);
    border: 1px solid var(--m-red);
    border-radius: 6px;
}


.payout-yookassa {
    display: flex;
    align-items: flex-start;
    flex-direction: row-reverse;
    justify-content: flex-end;
    min-height: 390px;
    gap: 40px;
}
.payout-yookassa > form{
    width: 40%;
}
.payout-yookassa .form-yookassa {
    width: 55%;
}
.payout-yookassa .form-input {
    width: 100% !important;
}
.payout-yookassa .buttons input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 24px;
}


.profile-page .organization h2 {
    padding-bottom: 5px;
    font-size: 20px;
}
.profile-page .organization .inn {
    padding-bottom: 15px;
}

.profile-page .organization .error {
    padding-bottom: 20px;
    color: var(--m-red);
    font-size: 14px;
}
.profile-page .organization .none-organization {
    padding-bottom: 15px;
}

.organization .my-requests {
    margin-bottom: 20px;
}

.organization-page-veterinarian-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.card-flex-column {
    display: flex;
    flex-direction: column;
}

.card-flex-row {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.live-search-organizations .card-flex-column{
    display: flex  ;
    flex-direction: column;
    border: 1px solid #e1e1e1;
    padding: 5px;
    border-radius: 8px;
}

.search-button-group {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
}

.organization-doctors {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.list-filials {
    margin: 30px 0 20px 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 20px;
}
.list-filials .card-filial {
    width: calc(100% / 2 - 10px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    border-radius: 8px;
    box-shadow: 0 0 2px 0 #9b9b9b;
    background: var(--m-white);
    padding: 20px;
    box-sizing: border-box;
    color: var(--m-black);
    gap: 15px;
}
.list-filials .card-filial .top {
    display: flex;
    gap: 13px;
    flex-direction: column;
}
.list-filials .card-filial .top .image {
    width: 100%;
    position: relative;
}
.list-filials .card-filial .top .image a {
    display: block;
    height: 100%;
    width: 100%;
}
.list-filials .card-filial .top .image a img {
    object-fit: cover;
    aspect-ratio: 16 / 8;
    width: 100%;
    border-radius: 5px;
    box-sizing: border-box;
    background-color: white;
    box-shadow: 0 0 2px 0 #9b9b9b;
}

.list-filials .card-filial .top .image .organization-logo {
    position: absolute;
    top: 18px;
    left: 18px;
    border-radius: 3px;
    width: 55px;
    box-shadow: 0 0 6px 0 #0000007a;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.list-filials .card-filial .top .profile {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.list-filials .card-filial .top h2 {
    line-height: 19px;
}

.list-filials .card-filial .top a {
    font-size: 18px;
    color: var(--m-black);
}
.list-filials .card-filial .top .profile p {
    font-weight: 400;
    font-size: 14px;
    color: var(--f-button-color);
}

.list-filials .card-filial .stats {
    display: flex;
    padding: 5px 0;
}
.list-filials .card-filial .stats .stars-href {
    color: var(--f-button-active-bg);
    font-size: 14px;
    width: 115px;
}
.list-filials .card-filial .content .list {
    display: flex;
    flex-direction: column;
    gap: 7px;
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid var(--f-button-hover-bg);
    box-sizing: border-box;
}
.list-filials .card-filial .content p {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: var(--f-button-color);
}
.list-filials .card-filial .content b {
    font-weight: 500;
}
.list-filials .card-filial .content a {
    color: var(--m-blue);
}
.content-profile .filial-content {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 20px;
}
.filial-content > .profile {
    min-width: 590px;
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: 0 0 2px 0 #9b9b9b;
    background: var(--m-white);
    box-sizing: border-box;
    border-radius: 8px;
}
.filial-content > .profile .images {
    position: relative;
}
.filial-content > .profile .main-image {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    border-radius: 5px;
}

.filial-content > .profile .organization-logo {
    position: absolute;
    top: 12px;
    left: 12px;
    border-radius: 3px;
    width: 55px;
    box-shadow: 0 0 6px 0 #0000007a;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.filial-content .profile-data {
    max-width: 540px;
}
.filial-name {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 0 2px 0 #9b9b9b;
    background: var(--m-white);
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    gap: 30px;
    margin-bottom: 20px;
}
.filial-name .address {
    padding-top: 5px;
    color: var(--m-black);
    font-family: "Roboto", sans-serif;
}

.filial-content .swiper img {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 0 3px 0 #0000008c;
}

.filial-content .social {
    display: flex;
    width: 100%;
    gap: 15px;
    align-items: center;
    margin-top: 15px;
    margin-left: 5px;
}
.filial-content  .social svg {
    width: 32px;
}

.filial-content .profile-data .data-box {
    height: 100%;
    justify-content: space-between;
    padding: 30px 20px !important;
}

.filial-content .swiper {
    width: 100%;
    position: absolute;
    bottom: 10px;
    box-sizing: border-box;
    padding: 5px 10px 0;
}

@media (max-width: 1330px) {
    :root {
        --container-width: 100%;
    }

    .container {
        padding: 0 30px;
        box-sizing: border-box;
    }
    .header-top {
        height: 80px;
    }

    header {
        height: 150px;
    }
    .header-down {
        padding: 0 10px;
        height: 60px;
    }

    .header-down nav {
        padding: 0 10px;
        gap: 20px;
    }
    body > .main {
        min-height: calc(100vh - 150px - 374px);
    }
}

@media (max-width: 1150px) {
    .header-top .logo p {
        display: none;
    }
    .header-down a[data-name=job] {
        display: none;
    }
}

@media (max-width: 1000px) {
    .mobile-nav {
        display: block;
    }
    .container {
        padding: 0 10px;
    }
    header {
        height: 110px;
    }
    .header-top .logo p {
        display: none;
    }
    .header-top .search {
        display: none;
    }
    .header-down {
        display: none;
    }
    .header-top .user-ui .buttons .btn:nth-child(1) {
        display: none;
    }
    .btn.btn-admin {
        display: block !important;
    }
    .header-top .logo span {
        font-size: 14px;
    }
    .header-top .logo img {
        width: 35px;
        height: 35px;
    }
    .header-top .logo a {
        gap: 5px;
        width: 145px;
    }
    .header-top .logo {
        width: unset;
    }
    .header-top {
        height: 60px;
    }

    .header-top .user-ui .profile .user {
        height: 31px;
        width: 31px;
    }
    .header-top .user-ui .profile {
        gap: 5px;
        min-width: 160px;
    }

    .header-down-mobile {
        display: flex;
    }

    .header-down-mobile .search {
        max-width: unset;
    }

    footer {
        padding-top: 50px;
        padding-bottom: 110px;
        background: unset;
    }
    footer.mobile-d-none {
        display: none;
    }
    footer nav {
        display: none;
    }
    footer .mid {
        display: none;
    }

    footer .bottom {
        padding: 15px 0;
        background: #ffffff;
        border-top: 1px solid var(--f-button-active-bg);
    }
    footer .bottom p {
        color: var(--m-darkest-footer);
    }

    .modal {
        padding: 25px;
    }

    .blocker {
        padding: 0px;
    }
    .modal h3 {
        margin-bottom: 20px;
        font-size: 20px;
    }
    .modal .check_reg {
        margin-bottom: 20px;
        gap: 2px;
    }
    .modal .check_reg > div label {
        padding: 6px 6px;
        box-sizing: border-box;
    }
    .inputs-horiz {
        gap: 10px;
    }
    .modal a.close-modal {
        top: 15px;
        right: 15px;
    }
    .modal .modal-bottom a {
        font-size: 14px;
    }
    .modal .inputs {
        gap: 15px;
        margin-bottom: 20px;
    }
    .btn {
        min-height: 20px;
        padding: 5px 20px;
        font-size: 13px;
    }
    body > .main {
        min-height: calc(100vh - 10px - 100px);
    }


    .header-top .search .live-search {
        display: none !important;
    }

    .header-down-mobile .search.active .live-search {
        height: calc(100vh - 245px);
        overflow-y: scroll;
    }

    .pagination-section {
        padding: 20px 0;
        gap: 3px;
    }

    .chats .card-chat {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .chats .card-chat .doctor {
        width: 100%;
        gap: 10px;
    }
    .chats .card-chat .right-chat {
        width: 100%;
        flex-direction: column;
        justify-content: space-between;
        align-items: stretch;
        gap: 10px;
    }
    .chats .card-chat .right-chat .last-message p {
        max-width: unset;
        width: 100%;
    }
    .chats .card-chat .right-chat .btn {
        width: calc(100% - 44px);
    }
    .chats .card-chat .badge-new-message {
        font-size: 12px;
        right: -1px;
        top: -14px;
    }
    .chat {
        padding: 10px;
    }

    .chat .profile {
        flex-direction: column;
        gap: 10px;
    }
    .chat .profile .left {
        width: 100%;
    }
    .chat .profile .left > a.exit {
        font-size: 16px;
        width: 11px;
        padding-right: 11px;
        padding-left: 8px;
    }
    .chat .profile .left > a, .chat .profile .left > a img {
        width: 40px;
        height: 40px;
    }
    .chat .profile .left .info h3 {
        font-size: 14px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        overflow-wrap: anywhere;
    }
    .chat .profile .right {
        justify-content: space-between;
        flex-direction: row-reverse;
    }
    .chat .messages {
        max-height: calc(100vh - 110px - 60px - 70px - 160px);
    }

    .chat .messages .card-message div {
        padding: 6px 10px;
        max-width: 70%;
    }

    .chat .messages .card-message div img {
        width: 100%;
        height: unset;
    }
    .chat-input {
        flex-direction: column;
    }
    .chat-input #message-input {
        box-sizing: border-box;
    }
    .chat-input .buttons > button {
        width: calc(100% - 43px);
    }
    .chat-input .buttons > input {
        width: calc(100% - 43px);
    }
    .chat-input .input-file {
        justify-content: space-between;
    }
    .chat-input .input-file .preview {
        width: 58px;
        height: 58px;
    }

    .payout-yookassa {
        flex-direction: column;
    }
    .payout-yookassa .form-yookassa {
        width: 100%;
    }
    .payout-yookassa > form {
        width: 100%;
    }
    .list-filials {
        flex-direction: column;
    }
    .list-filials .card-filial {
        width: 100%;
        padding: 15px;
    }
    .list-filials .card-filial .top .image .organization-logo {
        width: 15%;
        top: 12px;
        left: 12px;
    }
    .list-filials .card-filial .top h2 {
        line-height: 17px;
    }
    .list-filials .card-filial .top a {
        font-size: 16px;
    }
    .list-filials .card-filial .top {
        gap: 10px;
    }
    .list-filials .card-filial .content p {
        font-size: 14px;
    }
    .list-filials .card-filial .stats {
        padding: 0;
    }

    .content-profile .filial-content {
        flex-direction: column;
    }
    .filial-content > .profile .images {
        width: 100%;
    }
    .filial-content .profile-data {
        max-width: unset;
    }
    .filial-name {
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
        padding: 15px;
        gap: 15px;
    }
    .filial-name h1 {
        font-size: 19px;
    }
    .filial-name .address {
        font-weight: 400;
        font-size: 14px;
    }
    .filial-content > .profile {
        padding: 10px;
        min-width: unset;
    }
    .filial-content .profile-data .data-box {
        padding: 20px 15px !important;
    }
    .filial-content .swiper {
        bottom: 5px;
    }
}

@media (hover: hover) {
    .pagination-section a:hover {
        background-color: var(--m-blue);
        color: white;
    }
    .catalog-page .catalog .list-veterinarians .card-veterinarian .top .profile .stars-href:hover {
        color: var(--m-blue);
    }
    .pets .card-pet.create-new-pets:hover span {
        transition: 0.1s;
        font-size: 20px;
    }
    .profile-edit .certificate-box .image-container .delete-certificate:hover {
        background-color: red;
    }
}


@keyframes shine {
    0% {
        top: -50%;
        left: -150%;
    }
    35% {
        top: -50%;
        left: -150%;
    }
    55% {
        top: 150%;
        left: 150%;
    }
    100% {
        top: 150%;
        left: 150%;
    }
}
@keyframes blinking {
    0% { opacity: 0.8; }
    50% { opacity: 0.5; }
    100% { opacity: 0.8; }
}

.debuginfo {
    position: fixed;
    display: flex;
    gap: 5px;
    max-width: 280px;
    width: 100%;
    height: unset;
    bottom: 200px;
    right: -290px;
    background-color: black;
    padding: 10px 10px 15px 136px;
    padding-left: 50px;
    color: #0ecd0e;
    flex-direction: column;
    align-items: flex-start;
    font-size: 13px;
    transition: 0.3s;
    z-index: 999;
}

.debuginfo:hover {
    right: 0px;
}