/* calendar line 1365 */

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");
@import url("./common/custom-select.css");

:root {
  --primary-color: #ffffff;
  --primary-color-dark: #fafafa;
  --secondary-color: #475ffd;

  --bg-primary-color: var(--primary-color);
  --bg-primary-color-dark: var(--primary-color-dark);
  --bg-secondary-color: var(--secondary-color);

  --text-primary-color: #1f2148;
  --text-secondary-color: var(--primary-color);

  --placeholder-color: #a6a5ad;

  --btn-primary-color: var(--secondary-color);
  --btn-secondary-color: #a6a5ad;

  --input-primary-color: #f1f1f1;

  --border-primary-color: var(--btn-primary-color);
  --border-secondary-color: var(--btn-secondary-color);

  --transition: 0.3s cubic-bezier(0.6, 0.2, 0.55, 1);
}

body {
  font-family: Montserrat;
  font-style: normal;
  color: var(--text-primary-color);
  font-size: 14px;
}

/* typography */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 0;
}

h1 {
    font-size: 20px;
    font-weight: 600;
}

h2 {
    font-size: 18px;
}

p {
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
}

@media (min-width: 768px) {
  p {
    font-size: 16px;
  }
}

li {
  list-style-type: none;
}

a {
  text-decoration: none;
}

main {
  margin-bottom: 50px;
}

a:hover {
  color: inherit;
}

option {
  padding: 0;
}

/* buttons */

.btn {
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary-color);
  border: none;
}

.btn.btn-primary {
  background-color: var(--btn-primary-color);
}

.btn.btn-secondary {
  background-color: var(--btn-secondary-color);
}

@media (min-width: 768px) {
  .btn {
    font-size: 16px;
  }
}

button,
button:active,
button:focus {
  border: none;
}

.text-secondary {
  color: #a6a5ad !important;
}

:focus-visible {
  /* outline: -webkit-focus-ring-color 0; */
  outline: none;
}

.plus-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  position: fixed;
  bottom: 74px;
  right: 16px;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: var(--bg-secondary-color);
}

@media (min-width: 560px) {
  .plus-btn {
    right: 40px;
  }
}

@media (min-width: 768px) {
  .plus-btn {
    right: 70px;
  }
}

.plus-btn:hover {
  background: var(--bg-secondary-color);
}

.bottom-share {
  margin: auto;
}

.modal-title-contact {
  margin-bottom: 0!important;
  margin-top: 0!important;

}

.form-check-modal {
  padding-left: 9%!important;
}

.form-checkers-modal {
  margin-bottom: 4%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-check-share {
  padding: 0 0 4% 2%;
  font-weight: 600;
  font-size: 16px;
}

.modal-header-contact {
  padding: 0 0 0 2%;
}

.hidden-background {
  overflow: hidden;
}

/* @media (min-width: 900px) {
  .plus-btn {
    top: 87%;
  }
} */

/*
@media (max-width: 640px) {
  .plus-btn {
    right: 11%;
  }
}

@media (max-width: 400px) {
  .plus-btn {
    right: 7%;
  }
} */

.hide {
  display: none;
}

.list-group-letter {
  color: #a6a5ad;
  font-size: 14px;
  font-weight: 600;
  margin-top: 10px;
}

.collapse-menu {
  position: absolute;
  z-index: 999;
  right: 0;
  top: 50px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0px 1px 35px 0px rgba(0, 0, 0, 0.1);
  padding: 14px;
  display: flex;
  width: 210px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  flex-shrink: 0;
}

.navbar > .container {
  position: relative;
}

main > .container,
main > .container-fluid {
  padding: 15px 15px 20px;
}

.footer {
  background-color: #f5f5f5;
  font-size: 1em;
  height: 60px;
}

@media (min-width: 900px) {
  .footer-menu {
    display: none !important;
  }

  .navbar-item {
    flex-direction: row !important;
  }

  .navbar-item::before {
    content: none !important;
  }

  .cookie-modal {
    width: 800px;
  }
}

@media (max-width: 900px) {
  .menu-top {
    display: none !important;
  }

  .cookie-modal {
    bottom: 60px !important;
  }
}

@media (max-width: 520px) {

  .cookie-modal-button {
    display: block;
    margin-left: 0 !important;
    height: 35px !important;
    width: 80% !important;
    margin: 3%;
    max-width: 383px;
    padding: 0 !important;
  }

  .cookie-inner {
  flex-direction: column;
  align-items: center;
  }

  .cookie-inner>p>a {
    text-decoration: underline !important;
  }

  .cookie-inner>div {
    width: 100% !important;
  }
}

.navbar-item {
  display: flex;
  padding: 9px 14px 0px 15px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
  line-height: normal;
  opacity: 0.6;
  transition: 0.3s all;
}
@media (max-width: 450px) {
    .navbar-item {
        padding: 9px 0px 0px 0px;
    }
    .footer-navbar p {
        font-size: 12px !important;
    }
}

.navbar-item__active::before {
  content: "";
  display: block;
  width: 24%;
  height: 2px;
  background: #fff;
  position: absolute;
  bottom: 1px;
}

.navbar-item__active:last-child::before {
  content: "";
  display: block;
  width: 24%;
  height: 2px;
  background: #fff;
  position: absolute;
  right: 0;
  bottom: 1px;
}

.navbar-item__active {
  opacity: 1;
}

.navbar-item p {
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  position: relative;
}

.form-share {
  border-radius: 20px;
  border: 1px solid #f1f1f1;
  background: #fafafa;
  padding: 12px 21px;
  display: flex;
  align-items: center;
  max-height: 40px;
}

.btn-group > .btn,
.btn-group-vertical > .btn {
  position: static;
  flex: none;
}

.btn-back {
  background: url(../img/icons/btn-back.svg);
  box-sizing: content-box;
  width: 1em;
  height: 1em;
  padding: 0.25em 0.25em;
  color: #000;
  border: 0;
  border-radius: 0.375rem;
  opacity: 0.5;
}

.btn-save {
  border: 0;
  font-weight: 600;
  color: #1f2148;
}

/*CREATE==============================
==================================== */

.create-icon {
  width: 60px;
  height: 60px;
  background: #fafafa;
  border-radius: 50%;
  border: 1px solid #f1f1f1;
  margin: 0 auto 20px;
}

.create-icon__big {
  position: relative;
}

.create-icon__small {
  width: 20px;
  height: 20px;
  background: #fafafa;
  border-radius: 50%;
  border: 1px solid #f1f1f1;
  margin: 0 auto;
  position: relative;
  bottom: -38px;
  right: -21px;
}

.create-icon__small svg {
  cursor: pointer;
  position: absolute;
  top: 3px;
  left: 4px;
}

.create-icon__big img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-48%, 20%);
}

/*ADD ==============================
==================================== */

.add-title,
.add-subtitle {
  color: #1f2148;
  font-size: 14px;
  font-weight: 700;
}

.add-subtitle {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
}

@media (min-width: 768px) {
  .add-title,
  .add-subtitle {
    font-size: 18px;
  }
}

.add-select {
  border: 0;
}

.add-secondary {
  color: #a6a5ad;
  font-size: 14px;
  font-weight: 600;
}

.add-social {
  width: 280px;
  padding: 11px 24px !important;
  color: #a6a5ad;
}

.add-social__link {
  margin-left: 10px;
}

.add-social__link input {
  border: 0;
  background: #fafafa;
  font-size: 14px;
  font-weight: 500;
}

.add-forms {
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
  margin: 0 auto;
}

.add-forms > .form,
.add-forms > .form-group {
  width: 100%;
}

/*DROPDOWN==============================
==================================== */

.dropdown-menu {
  width: 100%;
  border: none;
  border-radius: 0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0px 1px 35px 0px rgba(0, 0, 0, 0.05);
  overflow: overlay;
  height: 250px;
}

.dropdown-title {
  color: #1f2148;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}

.dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #a6a5ad;
  border-radius: 20px;
  width: 100%;
  background-color: #fafafa;
  border: 1px solid #f1f1f1;
  padding: 12px 20px;
  font-size: 14px;
  margin-bottom: 20px;
}

.footer > .container,
.footer > .container-fluid {
  padding-right: 15px;
  padding-left: 15px;
}

.not-set {
  color: #c55;
  font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after {
  content: "";
  left: 3px;
  display: inline-block;
  width: 0;
  height: 0;
  border: solid 5px transparent;
  margin: 4px 4px 2px 4px;
  background: transparent;
}

a.asc:after {
  border-bottom: solid 7px #212529;
  border-top-width: 0;
}

a.desc:after {
  border-top: solid 7px #212529;
  border-bottom-width: 0;
}

.grid-view th,
.grid-view td:last-child {
  white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
  min-width: 50px;
}

.hint-block {
  display: block;
  margin-top: 5px;
  color: #999;
}

.error-summary {
  color: #a94442;
  background: #fdf7f7;
  border-left: 3px solid #eed3d7;
  padding: 10px 20px;
  margin: 0 0 15px 0;
}

.bg-blue {
  background-color: #475ffd;
}

/*CHECKBOX==============================
==================================== */

.checkbox-title {
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  margin-bottom: 12px;
  margin-top: 14px;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 0;
  height: 24px;
}

.form-check-label {
  color: #1f2148;
  font-size: 16px;
  font-weight: 500;
  line-height: 18px;
}
.share-contact .form-check .form-check-label {
  font-size: 15px;
}

@media (max-width: 768px) {
    .form-check-label, .form-check-share {
        font-size: 14px;
    }
}

.form-check::before {
  content: url(../img//icons/checked-open.svg);
  position: relative;
  top: 2px;
  padding: 3px;
}

.form-check__checked::before {
  content: url(../img//icons/checked-full.svg);
  position: relative;
  left: -1px;
  top: 0px;
  padding: 3px;
}

.check-icon {
  cursor: pointer;
  margin-right: 10px;
  width: 20px;
  height: 20px;
  display: inline-block;
  background-image: url(../img/icons/checked-open.svg);
  background-size: cover;
  transition: background-image 0.2s ease;
}

.form-check-task {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 0;
  height: 24px;
}

.form-check-task-label {
  color: #1f2148;
  font-size: 12px;
  font-weight: 500;
}

.form-check-task__checked .check-icon {
  background-image: url(../img/icons/checked-full.svg); /* Иконка при клике */
}

/* align the logout "link" (button in form) of the */
/*NAVBAR==============================
==================================== */

.navbar-toggler {
  border: 0;
}

.navbar-toggler-icon {
  background-image: url("../img/burger.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  width: 24px;
  height: 24px;
  color: #fff !important;
  border: 0;
}

.navbar-brand {
  padding: 16px 0;
  padding-left: 40px !important;
  position: absolute !important;
  z-index: 1000;
  font-weight: 500;
}

@media (max-width: 767px) {
  .navbar-brand {
    padding-left: 20px !important;
  }
}

.navbar-reg {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.navbar form > button.logout {
  padding-top: 7px;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 767px) {
  .navbar form > button.logout {
    display: block;
    text-align: left;
    width: 100%;
    /*padding: 10px 0;*/
  }
}

.navbar form > button.logout:focus,
.navbar form > button.logout:hover {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
}

.navbar form > button.logout:focus {
  outline: none;
}

/* style breadcrumb widget as in previous bootstrap versions */
.breadcrumb {
  background-color: var(--bs-gray-200);
  border-radius: 0.25rem;
  padding: 0.75rem 1rem;
}

.breadcrumb-item > a {
  text-decoration: none;
}

#loginform-email,
#loginform-password {
  padding-left: 12px;
}

/*FORM==============================
==================================== */

.form {
  width: 330px;
  margin: 0 auto;
  position: relative;
  color: #a6a5ad;
}

.form::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: 23px;
  margin: auto 0;
  width: 18px;
  height: 18px;
  background-size: cover;
  background-repeat: no-repeat;
}

.form-label {
  margin: 0 0 4px;
  font-weight: 500;
  font-size: 14px;
}

@media (min-width: 768px) {
  .form-label {
    font-size: 16px;
  }
}

/* .form-control:focus-visible {
  outline: -webkit-focus-ring-color 0;
} */

.form-control {
  border-radius: 20px;
  border: 1px solid #f1f1f1;
  background: #fafafa;
  position: relative;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 24px 12px 48px;
}

@media (min-width: 768px) {
  .form-control {
    font-size: 16px;
  }
}

.form-control:disabled {
  background-color: transparent;
}

.form-control.form-control_base {
  padding: 0;
  border-radius: 0;
  border: none;
}

.form-control.form-control_base:focus {
  border: none;
}

/* .form-control.form-control_date {
  color: var(--placeholder-color);
  appearance: unset;
  -webkit-appearance: unset;
  -moz-appearance: unset;
} */

.form-control::placeholder {
  color: #a6a5ad;
  font-size: 14px;
  font-weight: 500;
}

@media (min-width: 768px) {
  .form-control::placeholder {
    font-size: 16px;
  }
}

textarea.form-control {
  max-width: 100%;
}

textarea.form-control:focus::placeholder {
  color: #a6a5ad;
}

.form-phone__mob {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}

.form-dialog select {
  border: 0;
  background-color: inherit;
  color: #a6a5ad;
  font-size: 14px;
  font-weight: 500;
}

.form-dialog::before {
  background: url(../img/icons/tg.png);
}

.form-phone__mob input {
  height: 80px;
}

.form-phone__mob input::placeholder {
  position: absolute;
  bottom: 13px;
}

.form-phone__mob::before,
.form-phone__mob::after {
  top: -52px !important;
}

.form-phone__mob span::before {
  content: "Мобильный";
  color: #a6a5ad;
  font-size: 14px;
  font-weight: 500;
  position: absolute;
  z-index: 999;
  top: 7px;
  left: 48px;
}

.form-phone::before {
  background: url(../img/icons/phone.svg);
}

.form-name::before {
  background: url(../img/icons/name.svg);
}

/* .form-control:focus::placeholder {
  color: #1f2148;
} */

.form-control:focus {
  /* background-color: #fafafa; */
  /* border-color: #475ffd; */
  background-color: #fafafa;
  border: 1px solid #f1f1f1;
  outline: none;
  box-shadow: none;
}

.form-control__search {
  padding: 11px 48px;
  font-size: 14px;
  font-weight: 500;
  color: #a6a5ad;
}

.form-control__search::placeholder {
  color: #a6a5ad;
}

.form-search::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 23px;
  margin: auto 0;
  width: 18px;
  height: 18px;
  z-index: 3;
  background: url("../img/search.svg") no-repeat;
  background-size: cover;
}

.form-help {
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: #1f2148;
  position: absolute;
  right: 0;
}

.form-group {
  font-size: 14px;
  margin: 0 auto;
}

.invalid-feedback {
  font-size: 14px;
}

@media (min-width: 768px) {
  .invalid-feedback {
    font-size: 16px;
  }
}

#group-add {
  padding: 12px 20px;
  margin-bottom: 24px;
}

.form-group-signup {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group-signup p {
  font-weight: 500;
}

.form-group-signup a {
  color: #475ffd !important;
  font-weight: 600;
}

.form-group-agree {
  display: flex;
  justify-content: center;
  font-size: 14px;
  text-align: center;
}

.form-group-agree a {
  font-weight: 500;
  text-decoration: none;
  color: #475ffd !important;
}

.form-event::before {
  background: url(../img/icons/calendar.svg);
  top: -4px;
}

#event-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: -6px;
}

.form-group::before {
  background: url(../img/icons/group.svg);
  top: -4px;
}

/*SIGNUP, LOGIN==============================
==================================== */

.user-signup,
.signup-login {
  margin-top: 5px;
}

.user-signup h1,
.signup-login h1 {
  color: #1f2148;
  font-size: 16px;
  font-weight: 600;
}

.signup-login h1 {
  margin-bottom: 29px;
}

.login__via {
  margin-bottom: 25px;
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.login__vk {
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 991px) {
  .login__vk {
    justify-content: center;
    margin-left: 0;
  }

  .login__vk-border {
    justify-content: center;
  }
}

.login__vk img {
  width: 24px;
  height: 24px;
}

.login__vk h2 {
  font-size: 14px;
  font-weight: 600;
}

.login__vk-border {
  display: flex;
  font-size: 14px;
  text-align: center;
  font-weight: 600;
}

.login__vk-border::before {
  content: "";
  display: flex;
  width: 145px;
  height: 1px;
  position: relative;
  top: 10px;
  right: 16px;
  background: #f1f1f1;
}

.login__vk-border::after {
  content: "";
  display: flex;
  width: 145px;
  height: 1px;
  position: relative;
  top: 10px;
  left: 16px;
  background: #f1f1f1;
}

/*NAVBAR==============================
==================================== */

@media (min-width: 768px) {
  .navbar-expand-md .navbar-toggler {
    display: block;
  }

  .navbar-expand-md .navbar-nav {
    flex-direction: column;
  }

  .navbar-expand-md .navbar-collapse {
    display: block !important;
  }
}

.navbar form > button.logout {
  color: #ba0000;
}

.navbar form > button.logout:hover {
  color: #ba0000;
}

.navbar-collapse {
  width: 195px;
  border-radius: 16px;
  box-shadow: 0px 1px 35px 0px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  padding: 14px 4px;
  position: absolute;
  right: 25px;
  top: 60px;
}

.nav-link {
  color: #1f2148;
  font-weight: 500;
  padding: 14px 0 14px 10px;
  font-size: 16px;
  padding-right:50px;
}

.navbar-nav-autoriz > .nav-item > .nav-link {
  max-width: 232px;
  text-overflow: ellipsis;
  overflow: hidden;
}
@media (max-width: 768px) {
    .navbar-nav-autoriz > .nav-item > .nav-link {
        max-width: 250px;
    }
}

.nav-link__add,
.nav-link__event-add,
.nav-link__dialog,
.nav-link__dialog-add,
.nav-link__remove-event,
.nav-link__remove-dialog {
  padding: 0;
}

.nav-link:hover {
  color: #1f2148;
}

.navbar-nav .nav-link.active {
  color: inherit;
}

.navbar-nav {
  --bs-nav-link-hover-color: none;
}

.nav-menu {
  display: flex;
}

/*CONTACT==============================
==================================== */

.contact-title {
  font-weight: 700;
}

.contact-subtitle small {
  font-size: 14px;
  font-weight: 600;
  color: #a6a5ad;
}

.contact-inner {
  margin-top: 17px;
}

.contact-inner::-webkit-scrollbar {
  width: 10px;
  box-shadow: none !important;
}

.contact-inner::-webkit-scrollbar-thumb {
  background-color: #a6a5ad;
  border-radius: 5px;
}

.contact-inner::-webkit-scrollbar-thumb:hover {
  background-color: #aaa;
}

.contact-inner::-webkit-scrollbar-track {
  background-color: #f1f1f1;
  background-color: transparent !important;
  box-shadow: none !important;
}

.contact-choose {
  display: flex;
  padding: 4px 10px;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  border-radius: 20px;
  border: 1px solid #f1f1f1;
  position: relative;
  flex-basis: 48%;
}

.contact-choose__link {
  color: #000;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
}

#social-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: -6px;
}

#contact-menu,
#contact-socials {
  position: absolute;
  z-index: 1029;
  right: 16px;
  top: 80px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0px 1px 35px 0px rgba(0, 0, 0, 0.1);
  padding: 14px;
  display: flex;
  width: 210px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  flex-shrink: 0;
}

#contact-socials {
  left: -50px !important;
}

#contact-group {
  left: -2px !important;
}

/* #contact-socials {} */

#contact-menu div,
#contact-block div {
  width: 100%;
  color: #1f2148;
  font-size: 14px;
  font-weight: 500;
}

#contact-block {
  width: 195px;
  border-radius: 16px;
  box-shadow: 0px 1px 35px 0px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  padding: 14px 4px;
  position: absolute;
  right: 11px;
  top: 60px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  flex-shrink: 0;
}

.field-contact-note {
  position: relative;
}

.field-contact-note::before {
  content: "Заметки";
  display: block;
  margin-bottom: 5px;
  background: none;
  position: absolute;
  z-index: 3;
  top: 10px;
  left: 50px;
  font-size: 14px;
  font-weight: 500;
}

@media (min-width: 768px) {
  .field-contact-note::before {
    top: 8px;
    font-size: 16px;
  }
}

.field-contact-note label {
  display: none;
}

/*ACCORDION==============================
==================================== */

.accordion,
.accordion-item,
.list-group-item {
  border: 0;
}

.accordion-button {
  display: flex;
  align-items: center;
  max-height: 55px;
  border-bottom: 1px solid #fafafa;
  gap: 12px;
  padding: 0;
}

.accordion-button__group {
  padding-bottom: 10px;
  margin-top: 17px;
}

.accordion-button__group::before {
  content: url(../img/star.svg);
  transform: translateY(14%);
}

.accordion-button__check {
  padding-top: 0;
  color: #1f2148;
  font-size: 14px;
  font-weight: 500;
  border: 0 !important;
}

.accordion-body__check {
  padding-top: 0 !important;
  padding-left: 20px !important;
}

.group-title {
  color: #1f2148;
  font-size: 16px;
  font-weight: 600;
}

.accordion-button:focus {
  box-shadow: none;
  color: #1f2148;
}

.accordion-button:not(.collapsed) {
  background-color: #fff;
  box-shadow: none;
  color: #1f2148;
}

.accordion-button::after {
  background-image: url("../img/accordion-bottom.svg");
}

.accordion-button:not(.collapsed)::after {
  background-image: url("../img/accordion-bottom.svg");
}

accordion-button .accordion-header {
  position: relative;
}

.accordion-body {
  padding-top: 14px;
  padding-left: 60px;
}

/*LIST-GROUP==============================
==================================== */

.list-group-item {
  display: flex;
  align-items: center;
  gap: 12px;
  max-height: 55px;
  padding: 5px;
  color: #1f2148;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid #fafafa;
  cursor: pointer;
  height: auto;
}

.list-group-item:not(:first-child) {
  margin-top: 14px;
}

.list-group-item__img {
  border-radius: 50%;
  width: 46px;
  height: 46px;
  border: 1px solid #fafafa;

  box-shadow: 0px 1px 35px 0px rgba(0, 0, 0, 0.1);
}

.list-group-item__link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}

.list-group-item__link span {
  color: #1f2148;
  font-size: 16px;
  font-weight: 600;
}

/*MODAL==============================
==================================== */

.modal-dialog {
  margin: 122px auto;
  padding: 0 17px;
  max-width: 466px;
}

.modal-body {
  padding-top: 0;
  padding-bottom: 0;
}

.modal-header {
  border-bottom: none;
  padding-bottom: 0;
  padding-top: 0;
  margin-bottom: 20px;
}

.modal-title {
  color: #1f2148;
  font-size: 18px;
  font-weight: 600;
}

.modal-content {
  border-radius: 16px;
  background: #fff;
  box-shadow: 0px 1px 35px 0px rgba(0, 0, 0, 0.05);
  width: 327px;
  /*width: 360px;*/
}

.modal-bottom {
  width: 284px;
  height: 43px;
  border-radius: 12px;
  padding: 0;
}

/*INFO==============================
==================================== */

.info {
  margin-top: 20px;
}

.info-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 400px;
  margin: 0 auto;
}

.info-nav img,
.info-nav__icons img {
  cursor: pointer;
}

.info-nav__icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.info-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #475ffd;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  margin: 8px auto 14px;
  font-size: 32px;
  font-weight: 600;
}

.info-name {
  color: #1f2148;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 20px;
}

.info-note {
  position: relative;
}

.info-note::before {
  content: "Заметки";
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  background: none;
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 116px;
  color: #a6a5ad;
  font-size: 14px;
  font-weight: 500;
}

.info-button {
  border-radius: 20px;
  border: 1px solid #f1f1f1 !important;
  background: #fafafa;
  display: flex;
  align-items: center;
  position: relative;
  padding: 17px 24px;
  margin: 0 auto;
  width: 330px;
}

.info-button:not(:last-child) {
  margin-bottom: 14px;
}

.info-button__tel {
  /*margin-right: 38px;*/
  margin-right: 10px;
  text-align: left;
  overflow-y: auto;
  white-space: nowrap;
  user-select: text; 
  cursor: auto; 
}

.info-button__tel span {
  color: #1f2148;
  font-size: 16px;
  font-weight: 600;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  pointer-events: none;
}

.info-button__img {
  margin-right: 10px;
  height: 18px;
  width: 18px;
}

.info-button__icons {
  display: flex;
  gap: 16px;
  align-items: center;
  width: 90px;
  height: 40px;
}

.info-button__icon {
  border-radius: 8px;
  background: #475ffd;
  padding: 10px;
}

.info-button__number {
  justify-content: space-between;
}

.info-button__phone-wrapper {
  display: flex;
  align-items: center;
}

.info-button__tel p {
  color: #a6a5ad;
  font-size: 14px;
  font-weight: 600;
}

.info-button__tel a {
  color: #1f2148;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.info-button__important-events {
 justify-content: space-between;
}

.info-button__goto {
  color: #1f2148;
  font-size: 14px;
  font-weight: 500;
}

.info-button__note {
  /*background: url("../img/icons/dots-note.svg") 6.5% 8% no-repeat, #fafafa;*/
  border-radius: 20px;
  /*border: 1px solid #f1f1f1;*/
  resize: none;
  /*min-width: 330px;*/
  height: 144px;
  /*padding: 43px 24px;*/
  margin: 0 auto 14px;
  display: flex;
  justify-content: center;
  font-size: 14px;
  line-height: 14.63px;
  background-color: #fafafa;
  border-color: #fafafa;
  resize: none;
  overflow: hidden;
  box-sizing: border-box;
  border: none;
  outline: none;
}

.info-button__note:focus::placeholder {
  color: #1f2148;
}

.info-button__note::before {
  content: "Заметки";
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.info-button__note.readonly {
  border: none;
  outline: none;
}

.info-check::before {
  top: 5px;
}

.switcher {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 15px;
  border-radius: 10px;
}

.switcher--input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switcher--slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #8996a2;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  border-radius: 10px;
}

.switcher--slider::before {
  position: absolute;
  bottom: -40%;
  content: "";
  height: 26px;
  width: 26px;
  border-radius: 50%;
  background-color: #ffffff;
  transition: 0.5s;
  -webkit-transition: 0.5s;
}

.switcher--input:checked + .switcher--slider {
  background-color: #a9b4ff;
}

.switcher--input:checked + .switcher--slider::before {
  -webkit-transform: translateX(16px);
  -ms-transform: translateX(16px);
  transform: translateX(16px);
  background-color: #213be2;
}

.main-page-container-center {
  margin: 68px auto 0;
  position: relative;
}

.popup-box-shadow {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.invalid {
  border: 2px solid #e23f3f;
}

.flex-row {
  display: flex;
  -ms-flex-flow: row nowrap;
  flex-flow: row nowrap;
  align-items: center;
}

.flex-row-start {
  display: flex;
  flex-flow: row nowrap;
  -ms-flex-flow: row nowrap;
  align-items: flex-start;
}

@media screen and (min-width: 320px) {
  .flex-row {
    width: 300px;
  }
}

@media screen and (min-width: 560px) {
  .flex-row {
    width: 400px;
  }
}

@media screen and (min-width: 770px) {
  .flex-row {
    width: 600px;
  }

  .task-util-head-spacer {
    width: 120px;
  }
}
.no-style-btn {
  background: none;
  color: inherit;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  outline: inherit;
}

.no-style-input {
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.no-style-input--invalid {
  padding: 2px 10px 2px;
  background: none;
  border: 2px solid #e23f3f;
  border-radius: 1rem;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 250px;
  height: 30px;
}

/* select dropdown custom */

.select-color-dropdown {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.select-color-dropdown--button {
  cursor: pointer;
  display: flex;
  column-gap: 5px;
  padding: 8px 14px;
  border: 1px solid #A6A5AD;
  border-radius: 10px;
  background-color: transparent;
}

.select-color-dropdown--button:focus {
  border: 1px solid #A6A5AD;
}

.color-select__item {
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 4px;
}

.select-color-dropdown--list {
  display: flex;
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 0;
  overflow: auto;
  width: fit-content;
  opacity: 0;
  border-radius: 10px;
  pointer-events: none;
  transform-origin: left;
  transform: translateY(-10%);
  transition: all ease-in-out 0.3s;
  z-index: 2;
  padding-left: 0;
  margin-bottom: 0;
}

.select-color-dropdown--list.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  background-color: #f1f1f17d;
}

.select-color-dropdown--list__item {
  display: block;
  padding: 8px 10px;
  cursor: pointer;
  color: #616161;
  transition: all ease-in-out 0.3s;
  position: relative;
  height: 42px;
}

/* checkbox new */

.checkbox--container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.checkbox--container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
  border-radius: 10%;
}

/* On mouse-over, add a grey background color */
.checkbox--container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.checkbox--container input:checked ~ .checkmark {
  background-color: #1289eb;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.checkbox--container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.checkbox--container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

@media screen and (min-width: 320px) {
  .form-control--responsive,
  .form-property {
    width: 18rem;
  }

  .textarea--responsive {
    width: 300px !important;
  }
}

@media screen and (min-width: 768px) {
  .form-control--responsive,
  .form-property {
    width: 32rem;
  }

  .textarea--responsive {
    width: 32rem !important;
  }
}

.page-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 50%);
}

button.navbar-toggler {
  display: none;
  margin-right: 20px;
}

@media screen and (max-width: 768px) {
  button.navbar-toggler {
    margin-right: 10px;
  }
}

.navbar-nav .modal-contact {
  text-align: left;
}

.navbar-nav .modal-contact:last-child {
  color: red !important;
}

.remove-before::before {
  content: "";
  margin-left: 0;
  width: 1.2em;
  height: 1.2em;
}

#login-btn {
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 15px;
}

/*legal information==============================
==================================== */
.legal-title{
  font-size: 16px;
  font-weight: 600;
  line-height: 17.07px;
  text-align: left;
}

.legal-paragraph{
  color: #534e4e;
  font-size: 14px;
  padding: 1% 0 0 1%;
  text-align: justify;
}

.legal-paragraph p{
  color: #534e4e;
  font-size: 14px;
  padding: 1% 0 2% 2%;
  text-align: justify;
}

.legal-paragraph>ul>li{
  list-style-type: disc;
}

/* cookie==============================
==================================== */

.cookie-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  color: #333;
  padding: 10px;
  text-align: center;
  display: none;
  margin: 1%;
  border-radius: 10px;
  border: 1px solid #000;
  z-index: 999;
  justify-content: space-between;

}

.cookie-inner {
  display: flex;
  justify-content: space-between
}

.cookie-inner p {
  margin: 0;
  flex: 1;
  margin-right: 20px;
}

.cookie-inner > p > a{
  font-weight: 700;
  text-decoration: underline;
  color: black;
}

.cookie-inner>div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


.cookie-modal-button {
  border-radius: 10px;
  font-size: 16px;
  margin-left: 20px;
  background-color: #475FFD;
  color: #fff;
  padding: 10px;
  width: 62px;
  height: 50px;
}

.cookie-modal-button:hover {
  background-color: #5b71ff;
}

/**
 * Navbar
 */
.footer-navbar p {
    font-size: 14px;
}
.footer-menu {
    background-color: #475ffd;
    max-height: 60px;
}
.logo {
    height: 55px;
}
.btn-link.logout {
    font-family: Montserrat;
    font-size: 16px;
    padding: 14px 10px;
}
.select-dropdown--wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.select-dropdown--wrapper .select-dropdown {
  margin-bottom: 0;
}

.select-dropdown--wrapper .select-dropdown--button {
  font-size: 16px;
}

.select-dropdown--wrapper .select__item {
  margin-right: 10px;
}

.select-dropdown--wrapper .select__item {
  margin-right: 10px;
}

.select-dropdown--wrapper .select__item--disabled {
  color: gray;
  cursor: help;
}

.select-dropdown--wrapper .select-dropdown--list {
  left: auto;
  right: 0;
  top: 25px;
  width: fit-content;
  border-radius: 20px;
}

.select-dropdown--wrapper .select-dropdown--list__item {
  white-space: nowrap;
}

/**
 * Buttons
 */
.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    font-family: Montserrat;
    font-size: 14px;
    font-weight: 600;
    line-height: 17.07px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.button-container button {
    flex-grow: 1;
    margin-right: 10px;
}
.button-container button:last-child {
    margin-right: 0;
}

.delete-button {
    background-color: #A6A5AD;
    color: white;
    padding: 8px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}

.delete-button :hover {
    background-color: #c5c4cd !important;
}

.delete-button :active {
    background-color: #8a8a8d !important;
}

.save-button {
    background-color: #475FFD;
    color: white;
    padding: 8px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}

.save-button :hover {
    background-color: #7c8cf4 !important;
}

.save-button :active {
    background-color: #2a3790 !important;
}

/**
 * Contact view
 */
button.info-button .info-button__icons {
    min-width: 30px;
}

.app-container {
    max-width: 400px;
    margin: 0 auto;
}

.form-error {
    color: #DC3545;
}
