/* Общие счета */

.dasboard-content .dashboard-family-account__header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 97px;
    background-color: #fff;
    padding: 0 36px;
}

.dasboard-content .dashboard-family-account__header .info-container {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.dasboard-content .dashboard-family-account__header .main-card-container {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.dasboard-content .dashboard-family-account__header .main-card-container span {
    padding-left: 16px;
    font: 14px/16px 'MuseoSansCyrl-500', sans-serif;
    color: #262333;
}

.dasboard-content .dashboard-family-account__header h1 {
    margin-top: 0;
    margin-bottom: 0;
    font: normal 24px/28px 'MuseoCyrl-700', sans-serif;
    color: #262333;
}

.dasboard-content .dashboard-family-account__header span.open-modal {
    margin-left: 16px;
    margin-top: 5px;
    font: normal 15px/20px 'MuseoSansCyrl-500', sans-serif;
    color: #e82031;
    cursor: pointer;
}

.dasboard-content .dashboard-family-account__header span.open-modal:after {
    content: '';
    width: 100%;
    height: 1px;
    background-color: #e82031;
    display: block;
}

.dasboard-content .dashboard-family-account__content {
    min-height: 564px;
}

.dasboard-content .dashboard-family-account__content .not-created-family-account-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: inherit;
    padding: 15px;
}

.dashboard-family-account__content .not-created-family-account-block p {
    margin: 0;
    font: normal 16px/19px 'MuseoSansCyrl-500', sans-serif;
    color: #000000;
    text-align: center;
    padding-left: 15px;
    padding-right: 15px;
}

.dashboard-family-account__content .not-created-family-account-block .text {
    margin-top: 40px;
}

.dashboard-family-account__content .not-created-family-account-block button {
    -webkit-border-radius: 21px;
    -moz-border-radius: 21px;
    border-radius: 21px;
    background-color: #6ACA4D;
    margin-top: 20px;
    height: 42px;
    line-height: 42px;
    padding: 0;
    width: 219px;
}

.dashboard-family-account__content .created-family-account-block {
    display: flex;
    flex-direction: column;
    padding: 26px 20px 40px 20px;
}

.dashboard-family-account__content .created-family-account-block a {
    text-decoration: none;
}

.dashboard-family-account__content .created-family-account-block .table-overflow {
    overflow: auto;
}

.dashboard-family-account__content .created-family-account-block .table td {
    vertical-align: middle;
    padding: 15px 20px;
}

.dashboard-family-account__content .created-family-account-block .table tr td {
    border-top: 1px solid #e2e2e2;
}

.dashboard-family-account__content .created-family-account-block .participants-block .table tr td {
    min-width: 150px;
}

.dashboard-family-account__content .created-family-account-block .invitation-sent-block .table tr td:nth-child(1) {
    min-width: 150px;
}

.dashboard-family-account__content .created-family-account-block .invitation-sent-block .table tr td:nth-child(2) {
    min-width: 250px;
}

.dashboard-family-account__content .created-family-account-block .table tr:first-child td {
    border-top: none;
}

.dashboard-family-account__content .created-family-account-block .action-status,
.dashboard-family-account__content .actual-notification-status .action-status {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #4C6C91;
    width: 17px;
    height: 17px;
    cursor: pointer;
    margin-left: 10px;
}

.dashboard-family-account__content .participants-block .table-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
}

.dashboard-family-account__content .participants-block .table-info button {
    height: 42px;
    width: 219px;
    background-color: #6ACA4D;
    padding: 0;
    line-height: 42px;
}

.dashboard-family-account__content .participants-block .info-participants {
    display: flex;
    flex-direction: row;
    padding-left: 20px;
}

.dashboard-family-account__content .created-family-account-block span.table-title {
    font: 20px/14px 'MuseoSansCyrl-500', sans-serif;
}

.dashboard-family-account__content .participants-block .info-participants span.count {
    font: 16px/19px 'MuseoSansCyrl-500', sans-serif;
    color: #8e8e93;
    padding-left: 16px;
}

/* Таблицы */

.dashboard-family-account__content .created-family-account-block .table {
    background-color: #ffffff;
    margin-top: 16px;
    border-radius: 4px;
}

.dashboard-family-account__content .table-participants .icon-card {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.dashboard-family-account__content .table-participants .my-card .icon-card__text {
    margin-left: 10px;
}

.dashboard-family-account__content .table-participants td {
    font: 14px/16px 'MuseoSansCyrl-500', sans-serif;
    color: #868686
}

.dashboard-family-account__content .table-participants td:first-child {
    font: 14px/16px 'MuseoSansCyrl-700', sans-serif;
}

.dashboard-family-account__content .table-participants td.icon-card {
    color: #262333;
}

.dashboard-family-account__content .created-family-account-block .table td.blue-color {
    color: #4C6C91;
}

.dashboard-family-account__content .created-family-account-block .table td.green-color {
    color: #43B420;
}

.dashboard-family-account__content .table-participants td.main-card {
    text-align: right;
}

.dashboard-family-account__content .invitation-sent-block {
    margin-top: 41px;
}

.dashboard-family-account__content .invitation-sent-block .info-invitations {
    padding-left: 20px;
}

.dashboard-family-account__content .created-family-account-block .table-invites td {
    font-size: 14px;
    line-height: 16px;
    font-family: 'MuseoSansCyrl-500', sans-serif;
}

.dashboard-family-account__content .created-family-account-block .invite-time {
    padding-left: 10px;
    color: #B7B6BB;
}

.dashboard-family-account__content .created-family-account-block .invite-description__text {
    font-family: 'MuseoSansCyrl-700', sans-serif;
}

.dashboard-family-account__content .created-family-account-block .invite-description {
    display: flex;
    flex-direction: column;
}

.dashboard-family-account__content .created-family-account-block .invite-description__number {
    color: #868686;
    padding-top: 4px;
}

.dashboard-family-account__content .created-family-account-block .invite-burned {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.dashboard-family-account__content .created-family-account-block .icon-burned {
    display: block;
    margin-left: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid #4C6C91;
    text-align: center;
    cursor: pointer;
}

.dashboard-family-account__content .created-family-account-block .invite-action {
    text-align: right;
}

/* Показать детали чека */

.dashboard-family-account__content .created-family-account-block .check-details-block {
    min-height: 84px;
    background-color: #fff;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.dashboard-family-account__content .created-family-account-block .check-details-block .control-label {
    font: 20px/14px 'MuseoSansCyrl-500', sans-serif;
    cursor: pointer;
    margin-bottom: 0;
}

.dashboard-family-account__content .created-family-account-block input[type="checkbox"] {
    visibility: hidden;
}

.dashboard-family-account__content .created-family-account-block span.check-cr {
    position: relative;
    top: 1px;
    display: inline-block;
    content: "";
    width: 19px;
    height: 19px;
    border: 1px solid #cdcdcd;
    background: #fff;
    margin-right: 15px;
    padding-top: 1px;
    text-align: center;
}

.dashboard-family-account__content .created-family-account-block span.check-cr span{
    background: url(../images/tehImg/tick.svg) no-repeat center;
    display: inline-block;
    content: "";
    width: 19px;
    height: 14px;
    border-radius: 100%;
    left: 5px;
    position: relative;
    top: -2px;
    opacity: 0;
}

.dashboard-family-account__content .created-family-account-block input[type="checkbox"]:checked + span.check-cr span {
    opacity: 1;
}

.dashboard-family-account__content .created-family-account-block .invite-action button {
    height: 32px;
    line-height: 32px;
    padding: 0 15px;
}

.dashboard-family-account__content .created-family-account-block .delete-family-account {
    margin-top: 40px;
    margin-left: 20px;
    cursor: pointer;
}

.modal-default-family-account .modal-header h2 {
    text-align: center;
    font: 32px/34px 'MuseoCyrl-700', sans-serif;
    margin: 0;
}

.modal-default-family-account .modal-header p {
    font: 16px/22px 'MuseoSansCyrl-500', sans-serif;
    margin: 0;
    text-align: center;
}

.modal-default-family-account .modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal-default-family-account .modal-body button {
    height: 42px;
    line-height: 42px;
    width: 219px;
}

.modal-default-family-account .modal-body button.btn-success {
    background-color: #6ACA4D;
}

#modal-about-family-account .modal-dialog {
    width: 1068px;
}

#modal-about-family-account .modal-header {
    min-height: 176px;
    background-color: #6ACA4D;
    text-align: center;
    padding: 17px 244px 30px 244px;
}

#modal-about-family-account .modal-header h2 {
    font: 24px/51px 'MuseoCyrl-700', sans-serif;
    color: #ffffff;
    margin: 0 0 10px 0;
}

#modal-about-family-account .modal-header p {
    font: 15px/22px 'MuseoSansCyrl-500', sans-serif;
    color: #ffffff;
    margin: 0;
}

#modal-about-family-account .modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    padding: 55px 80px 40px 80px;
}

#modal-about-family-account .modal-body .flex-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

#modal-about-family-account .modal-body .family-account-about-info-block {
    display: flex;
    flex-direction: column;
    max-width: 434px;
}

#modal-about-family-account .modal-body .family-account-about-info-block:nth-child(1) {
    padding-right: 20px;
}

#modal-about-family-account .modal-body .family-account-about-info-block:nth-child(2) {
    padding-left: 20px;
}

#modal-about-family-account .modal-body .title-block {
    display: flex;
    flex-direction: row;
    align-items: center;
}

#modal-about-family-account .modal-body h4 {
    font: 24px/24px 'MuseoCyrl-700', sans-serif;
    color: #262333;
    padding-left: 16px;
}

#modal-about-family-account .modal-body p {
    font: 16px/19px 'MuseoSansCyrl-500', sans-serif;
    margin: 0 0 15px;
    padding-top: 16px;
}

#modal-about-family-account .modal-body span {
    font: 16px/19px 'MuseoSansCyrl-500', sans-serif;
    color: #24191B;
}

#modal-about-family-account .modal-footer {
    background-color: #ffffff;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-bottom: 20px;
}

#modal-about-family-account .modal-footer button {
    width: 214px;
}

#modal-invite-to-family-account .modal-dialog {
    width: 531px;
}

#modal-invite-to-family-account .modal-header {
    text-align: center;
    padding: 34px 80px 20px 80px;
}

#modal-invite-to-family-account .modal-header h2 {
    font: 32px/34px 'MuseoCyrl-700', sans-serif;
    color: #262333;
    margin: 0;
}

#modal-invite-to-family-account .modal-header p {
    font: 16px/22px 'MuseoSansCyrl-500', sans-serif;
    color: #262333;
    margin-top: 12px;
}

#modal-invite-to-family-account .modal-body {
    padding: 0 15px 40px 15px;
}


#modal-invite-to-family-account .modal-body .nav-tabs {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    list-style: none;
    padding: 0;
    border-bottom: none;
    margin: 0;
}

#modal-invite-to-family-account .modal-body li {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 170px;
    height: 34px;
    border: 2px solid #6ACA4D;
    color: #262333;
    font: 12px/14px 'MuseoSansCyrl-700', sans-serif;
    cursor: pointer;
    transition: all 0.3s;
}

#modal-invite-to-family-account .modal-body li:first-child {
    border-bottom-left-radius: 17px;
    border-top-left-radius: 17px;
}

#modal-invite-to-family-account .modal-body li:last-child {
    border-bottom-right-radius: 17px;
    border-top-right-radius: 17px;
}

#modal-invite-to-family-account .modal-body li.active {
    color: #ffffff;
    background-color: #6ACA4D;
}

#modal-invite-to-family-account .modal-body .input-container {
    width: 274px;
    overflow: hidden;
    margin: 40px auto 0 auto;
}

#modal-invite-to-family-account .modal-body .input-container-slider {
    display: flex;
    flex-direction: row;
    width: 548px;
    transition: all 0.3s;
}

#modal-invite-to-family-account .modal-body .input-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#modal-invite-to-family-account .modal-body input {
    width: 274px;
    height: 44px;
    padding: 14px 20px 14px 20px;
    font: 14px/17px 'MuseoSansCyrl-500', sans-serif;
    letter-spacing: 0.56px;
    color: #262333;
    border: 1px solid #cbcbcb;
    border-radius: 4px;
    background-color: #ffffff;
    outline: none;
}

#modal-invite-to-family-account .modal-body input::-webkit-input-placeholder { color: #CBCBCB; }
#modal-invite-to-family-account .modal-body input:-ms-input-placeholder { color: #CBCBCB; }
#modal-invite-to-family-account .modal-body input::-ms-input-placeholder { color: #CBCBCB; }
#modal-invite-to-family-account .modal-body input::placeholder { color: #CBCBCB; }

#modal-invite-to-family-account .modal-body button {
    width: 219px;
    height: 42px;
    margin-top: 20px;
    border-radius: 21px;
    font: 12px/14px 'MuseoSansCyrl-700', sans-serif;
    line-height: 42px;
    color: #ffffff;
}
#modal-invite-to-family-account .modal-body button:not(.btn-disabled) {
    background-color: #6ACA4D;
}

#modal-invite-to-family-account .modal-footer {
    height: 0;
    background-color: #E82031;
    display: flex;
    flex-direction: row;
    align-items: center;
    transition: all 0.5s;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

#modal-invite-to-family-account .modal-footer p.error-text {
    color: #ffffff;
    font: 14px/22px 'MuseoSansCyrl-700', sans-serif;
    text-align: left;
    margin-bottom: 0;
    padding: 0 30px;
}

.modal-about-family-account-find-participant .modal-footer {
    height: 0;
    background-color: #E82031;
    display: flex;
    flex-direction: row;
    align-items: center;
    transition: all 0.5s;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.modal-about-family-account-find-participant .modal-footer p.error-text {
    color: #ffffff;
    font: 14px/22px 'MuseoSansCyrl-700', sans-serif;
    text-align: left;
    margin-bottom: 0;
    padding: 0 30px;
}

.modal-about-family-account-find-participant .modal-header,
.modal-about-family-account-find-participant .modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal-about-family-account-find-participant .modal-body {
    padding-bottom: 40px;
}

.modal-about-family-account-find-participant .modal-header p {
    font: 16px/22px 'MuseoSansCyrl-500', sans-serif;
    color: #262333;
    margin: 0;
}

.modal-about-family-account-find-participant .modal-header h2 {
    font: 32px/34px 'MuseoCyrl-700', sans-serif;
    color: #262333;
    margin: 6px 0 0 0;
}
.modal-about-family-account-find-participant .modal-header .text-number {
    margin-top: 36px;
}

.modal-about-family-account-find-participant .modal-header .text-find {
    margin-top: 12px;
}

.modal-about-family-account-find-participant .modal-body img {
    margin-top: 32px;
}

.modal-about-family-account-find-participant .modal-body button {
    background-color: #6ACA4D;
    margin-top: 40px;
    width: 219px;
    padding: 0;
    height: 42px;
    line-height: 42px;
}

.modal-about-family-account-default .modal-header,
.modal-about-family-account-default .modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal-about-family-account-default .modal-header p,
.modal-about-family-account-default .modal-body p {
    font: 16px/22px 'MuseoSansCyrl-500', sans-serif;
    color: #262333;
    text-align: center;
    margin: 0;
}

.modal-about-family-account-default .modal-header h2 {
    margin: 0;
    font: 32px/34px 'MuseoCyrl-700', sans-serif;
    color: #262333;
}

.modal-about-family-account-default .modal-body button {
    background-color: #6ACA4D;
    line-height: 42px;
    height: 42px;
    width: 219px;
}

#modal-about-family-account-invite-success .modal-header h2 {
    margin-top: 43px;
}

#modal-about-family-account-invite-success .modal-header .text-block {
    margin-top: 12px;
}

#modal-about-family-account-invite-success .modal-body button {
    margin-top: 30px;
}

#modal-about-family-account-invite-success .modal-body {
    padding-bottom: 40px;
}

#modal-delete-family-account .modal-dialog {
    width: 495px;
    margin-right: auto;
    margin-left: auto;
}

#modal-delete-family-account .modal-header {
    padding: 34px 32px 0 32px;
}

#modal-delete-family-account .modal-header p {
    padding-top: 12px;
}

#modal-delete-family-account .modal-body {
    padding: 30px 0 40px 0;
}

#modal-delete-family-account .modal-body .btn-success_nobg {
    margin-top: 12px;
}

#modal-delete-family-account_succes .modal-header {
    padding: 34px 75px 0 75px;
}

#modal-delete-family-account_succes .modal-header p {
    padding-top: 12px;
}

#modal-delete-family-account_succes .modal-body {
    padding: 30px 75px 40px 75px;
}

#modal-delete-family-account_error .modal-header {
    padding: 34px 75px 0 75px;
}

#modal-delete-family-account_error .modal-header p {
    padding-top: 12px;
}

#modal-delete-family-account_error .modal-body {
    padding: 30px 75px 40px 75px;
}

.modal-family-account-message .modal-header {
    padding: 34px 65px 0 65px;
}

.modal-family-account-message .modal-header p {
    padding-top: 12px;
}

.modal-family-account-message .modal-body {
    padding: 30px 0 40px 0;
}

#modal-burned-family-account .modal-header {
    padding: 34px 65px 0 65px;
}

#modal-burned-family-account .modal-header p {
    padding-top: 12px;
}

#modal-burned-family-account .modal-body {
    padding: 30px 0 40px 0;
}

#modal-accept-invite-to-family-account-with-sms .modal-header {
    /*padding: 20px 30px;*/
    background-color: #43B420;
    height: auto;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    transition: all 0.3s;
}

#modal-accept-invite-to-family-account-with-sms .modal-header p {
    font: 14px/22px 'MuseoSansCyrl-500', sans-serif;
    color: #ffffff;
    margin: 0;
}

#modal-accept-invite-to-family-account-with-sms .modal-body {
    display: flex;
    flex-direction: column;
    padding: 36px 57px 40px 57px;
    justify-content: center;
    align-items: center;
}

#modal-accept-invite-to-family-account-with-sms .modal-body h2 {
    font: 32px/34px 'MuseoCyrl-700', sans-serif;
    color: #262333;
    text-align: center;
    margin: 0;
}

#modal-accept-invite-to-family-account-with-sms .modal-body p {
    padding-top: 12px;
    font: 16px/22px 'MuseoSansCyrl-500', sans-serif;
    color: #262333;
    text-align: center;
    margin: 0;
}

#modal-accept-invite-to-family-account-with-sms .modal-body .input-block__sms-number {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#modal-accept-invite-to-family-account-with-sms .modal-body #invite-via-sms-code {
    margin-top: 40px;
    width: 274px;
    height: 44px;
    border-radius: 4px;
    border: 1px solid #cbcbcb;
    padding: 14px 19px 13px 19px;
    font: 14px/17px 'MuseoSansCyrl-500', sans-serif;
    color: #262333;
    outline: none;
}

#modal-accept-invite-to-family-account-with-sms .modal-body button {
    margin-top: 10px;
    line-height: 42px;
    height: 42px;
    width: 219px;
}

#modal-accept-invite-to-family-account-with-sms .modal-body button:not(.btn-disabled) {
    background-color: #6ACA4D;
}

#modal-accept-invite-to-family-account-with-sms .modal-body .error-container {
    margin-top: 4px;
    height: 40px;
    width: 274px;
}

#modal-accept-invite-to-family-account-with-sms .modal-body .error-container .error_text {
    color: #ED1B2E;
    font: 12px/14px 'MuseoSansCyrl-500', sans-serif;
    text-align: left;
    width: 274px;
}

#modal-accept-invite-to-family-account-with-sms .modal-body .error_input {
    border: 1px solid #ED1B2E;
}

#modal-accept-invite-to-family-account-with-sms .modal-body input::-webkit-input-placeholder { color: #CBCBCB; }
#modal-accept-invite-to-family-account-with-sms .modal-body input:-ms-input-placeholder { color: #CBCBCB; }
#modal-accept-invite-to-family-account-with-sms .modal-body input::-ms-input-placeholder { color: #CBCBCB; }
#modal-accept-invite-to-family-account-with-sms .modal-body input::placeholder { color: #CBCBCB; }

.modal-accept-invite-to-family-account .modal-header {
    display: flex;
    flex-direction: column;
    padding: 34px 60px 0 60px;
}

.modal-accept-invite-to-family-account .modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 30px;
    padding-bottom: 40px;
}

.modal-accept-invite-to-family-account .modal-body button {
    background-color: #6ACA4D;
    height: 42px;
    line-height: 42px;
    width: 219px;
}

.modal-accept-invite-to-family-account .modal-header h2 {
    font: 32px/34px 'MuseoCyrl-700', sans-serif;
    color: #262333;
    text-align: center;
}

.modal-accept-invite-to-family-account .modal-header p {
    font: 16px/22px 'MuseoSansCyrl-500', sans-serif;
    color: #262333;
    text-align: center;
}

@media (max-width: 1200px) {
    #modal-about-family-account .modal-dialog {
        width: 100%;
    }

    #modal-about-family-account .modal-header .close {
        top: 0;
        right: 0;
    }
}

@media (max-width: 1000px) {
    #modal-about-family-account .modal-body {
        flex-direction: column;
    }
    #modal-about-family-account .modal-body h3 {
        text-align: center;
    }
}

@media (max-width: 768px) {
    #modal-about-family-account .modal-dialog {
        margin: 0;
    }

    #modal-invite-to-family-account .modal-dialog {
        width: auto;
    }

    #modal-accept-invite-to-family-account-with-sms .modal-header p {
        padding-right: 15px;
    }

    #modal-about-family-account .modal-header {
        padding: 17px 20px 30px 20px;
    }

    #modal-about-family-account .modal-body {
        padding: 55px 30px 40px 30px;
    }

    #modal-about-family-account .modal-body .flex-row {
        flex-direction: column;
    }

    #modal-about-family-account .modal-body .family-account-about-info-block:nth-child(1) {
        padding: 0;
    }

    #modal-about-family-account .modal-body .family-account-about-info-block:nth-child(2) {
        padding: 0;
    }

    #modal-about-family-account .modal-body .family-account-about-info-block {
        max-width: none;
    }

    .dasboard-content .dashboard-family-account__header {
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-around;
    }

}

@media (max-width: 767px) {
    .dashboard-family-account__content .created-family-account-block .check-details-block .control-label {
        line-height: 26px;
        display: flex;
    }

    .dashboard-family-account__content .created-family-account-block .check-details-block .check-cr {
        float: none;
        margin-bottom: 0;
    }

    .dashboard-family-account__content .created-family-account-block span.check-cr span {
        top: -6px;
    }
}

@media (max-width: 480px) {

    .dasboard-content .dashboard-family-account__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .dasboard-content .dashboard-family-account__header h1 {
        margin-left: 0;
        margin-top: 10px;
    }

    .dasboard-content .dashboard-family-account__header span.open-modal {
        margin-left: 20px;
        margin-top: 15px;
    }

    .dashboard-family-account__content .not-created-family-account-block button {
        width: 100%;
    }
    #modal-about-family-account .modal-header {
        padding: 17px 15px 30px 15px;
    }

    #modal-about-family-account .modal-header h2 {
        line-height: 30px;
    }
    #modal-about-family-account .modal-body {
        padding: 20px 15px 24px 15px;
    }

    #modal-invite-to-family-account .modal-header {
        padding: 34px 15px 20px 15px;
    }

    #modal-delete-family-account .modal-dialog {
        width: 100%;
    }

    #modal-accept-invite-to-family-account-with-sms .modal-body {
        padding: 30px;
    }

    #modal-accept-invite-to-family-account-with-sms .modal-body h2 {
        font-size: 26px;
        line-height: 28px;
    }

    .dashboard-family-account__content .created-family-account-block .check-details-block .control-label {
        font-size: 14px;
    }

    .dashboard-family-account__content .created-family-account-block span.check-cr span {
        top: -4px;
    }

    .dashboard-family-account__content .participants-block .table-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-family-account__content .participants-block .table-info button {
        margin-top: 20px;
    }

    .dasboard-content .dashboard-family-account__header {
        height: 140px;
    }

    .dasboard-content .dashboard-family-account__header .info-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .dasboard-content .dashboard-family-account__header span.open-modal {
        margin-left: 0;
    }
}


/* Центр уведомлений */

.dashboard-family-account__content .not-notification-family-account-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: inherit;
    padding: 15px;
}

.dashboard-family-account__content .not-notification-family-account-block p {
    width: 263px;
    margin-top: 30px;
    text-align: center;
    font-size: 16px;
    line-height: 19px;
}
.dashboard-family-account__content .notification-exists-family-account-block {
    display: flex;
    flex-direction: column;
    padding: 40px 20px 40px 20px;
}

.dashboard-family-account__content .notification-exists-family-account-block .flex-column-container {
    display: flex;
    flex-direction: column;
}

.dashboard-family-account__content .notification-exists-family-account-block .table {
    background-color: #ffffff;
    margin-top: 12px;
    border-radius: 4px;
}

.dashboard-family-account__content .notification-exists-family-account-block .table-overflow {
    overflow: auto;
}

.dashboard-family-account__content .notification-exists-family-account-block .table td {
    vertical-align: middle;
    padding: 15px 10px;
}

.dashboard-family-account__content .notification-exists-family-account-block .table tr td {
    border-top: 1px solid #e2e2e2;
}

.dashboard-family-account__content .notification-exists-family-account-block .table tr td:nth-child(1) {
    min-width: 150px;
}

.dashboard-family-account__content .notification-exists-family-account-block .table tr td:nth-child(2) {
    min-width: 250px;
}

.dashboard-family-account__content .notification-exists-family-account-block .table tr:first-child td {
    border-top: none;
}

.dashboard-family-account__content .notification-exists-family-account-block .table td {
    font: 14px/16px 'MuseoSansCyrl-500', sans-serif;
}

.dashboard-family-account__content .notification-exists-family-account-block .table td.blue-color {
    color: #4C6C91;
}

.dashboard-family-account__content .notification-exists-family-account-block .table td.green-color {
    color: #43B420;
}

.dashboard-family-account__content .notification-exists-family-account-block .table .flex-row-container {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.dashboard-family-account__content .notification-exists-family-account-block .table td.actual-notification-sum {
    padding-left: 0;
    padding-right: 0;
    min-width: 100px;
    text-align: center;
}

.dashboard-family-account__content .notification-exists-family-account-block .table td.actual-notification-status .details {
    border: 1px solid #4C6C91;
    border-radius: 50%;
    text-align: center;
    padding: 0 4px;
    margin-left: 10px;
    cursor: pointer;
}

.dashboard-family-account__content .notification-exists-family-account-block .actual-notification-time,
.dashboard-family-account__content .notification-exists-family-account-block .not-actual-notification-time {
    padding-left: 10px;
    color: #B7B6BB;
}

.dashboard-family-account__content .notification-exists-family-account-block .actual-notification__text,
.dashboard-family-account__content .notification-exists-family-account-block .not-actual-notification-text {
    font-family: 'MuseoSansCyrl-700', sans-serif;
}

.dashboard-family-account__content .notification-exists-family-account-block .actual-notification__number,
.dashboard-family-account__content .notification-exists-family-account-block .not-actual-notification__number {
    color: #868686;
    padding-top: 4px;
}

.dashboard-family-account__content .notification-exists-family-account-block .table td.green-color {
    color: #43B420;
}

.dashboard-family-account__content .notification-exists-family-account-block .table td.delete-notification-block {
    opacity: 0;
    padding: 0;
    transition: all 0.3s ease;
}

.dashboard-family-account__content .notification-exists-family-account-block .table tr {
    transition: all 0.3s ease;
}

.dashboard-family-account__content .notification-exists-family-account-block .table tr:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dashboard-family-account__content .notification-exists-family-account-block .table tr:hover td.delete-notification-block {
    opacity: 1;
    transition: all 0.3s ease;
}

.dashboard-family-account__content .notification-exists-family-account-block .table tr .delete-notification-block__trash {
    cursor: pointer;
}

.dashboard-family-account__content .notification-exists-family-account-block .table tr .delete-notification-block__trash path {
    transition: all 0.3s ease;
}

.dashboard-family-account__content .notification-exists-family-account-block .table tr .delete-notification-block__trash:hover path  {
    fill: red;
}

.dashboard-family-account__content .notification-exists-family-account-block .actual-notification-action,
.dashboard-family-account__content .notification-exists-family-account-block .not-actual-notification-action {
    text-align: right;
}

.dashboard-family-account__content .notification-exists-family-account-block .actual-notification-action button,
.dashboard-family-account__content .notification-exists-family-account-block .not-actual-notification-action button,
.dashboard-family-account__content .notification-exists-family-account-block .actual-notification-action a {
    height: 32px;
    line-height: 32px;
    padding: 0 15px;
    text-transform: uppercase;
}

.dashboard-family-account__content .notification-exists-family-account-block .actual-notification-action button.loadingData,
.dashboard-family-account__content .notification-exists-family-account-block .not-actual-notification-action button.loadingData {
    border-top: 0;
}

.dashboard-family-account__content .notification-exists-family-account-block .actual-notification-action button i,
.dashboard-family-account__content .notification-exists-family-account-block .not-actual-notification-action button i {
    color: #fff;
}

.dashboard-family-account__content .notification-exists-family-account-block .table-info .table-title {
    padding-left: 20px;
    font: 12px/14px 'MuseoSansCyrl-500', sans-serif;
    color: #868686;
}

.dashboard-family-account__content .notification-exists-family-account-block .not-actual-notification-action {
    font: 12px/14px 'MuseoSansCyrl-500', sans-serif;
    color: #6ACA4D;
    cursor: pointer;
}

#modal-accept-invite-to-family-account .modal-header {
    padding: 36px 78px 0 78px;
}

#modal-accept-invite-to-family-account .modal-header h2 {
    padding-top: 4px;
}

#modal-accept-invite-to-family-account .modal-body {
    padding: 33px 78px 40px 78px;
}

#modal-accept-invite-to-family-account .modal-body p {
    color: #868686;
    text-align: center;
    padding-top: 40px;
}

#modal-accept-invite-to-family-account .modal-body button {
    margin-top: 20px;
    padding: 0;
}

#modal-accept-invite-to-family-account_success .modal-header {
    padding: 36px 61px 0 61px;
}

#modal-accept-invite-to-family-account_success .modal-header p {
    padding-top: 12px;
}

#modal-accept-invite-to-family-account_success .modal-body {
    padding: 24px 53px 40px 53px;
}

#modal-accept-invite-to-family-account_success .modal-body p {
    text-align: left;
    color: #868686;
}

#modal-accept-invite-to-family-account_success .modal-body img {
    width: 174px;
    height: 176px;
}

#modal-accept-invite-to-family-account_success .modal-body button {
    margin-top: 40px;
}


#modal-accept-invite-to-family-account_success .modal-body .control-label {
    display: flex;
    flex-direction: row;
    padding-top: 47px;
    font: 14px/20px 'MuseoSansCyrl-500', sans-serif;
    cursor: pointer;
    margin-bottom: 0;
}

#modal-accept-invite-to-family-account_success .modal-body p {
    font: 12px/14px 'MuseoSansCyrl-500', sans-serif;
    color: #868686;
    padding-left: 48px;
    padding-top: 4px;
}

#modal-accept-invite-to-family-account_success .modal-body input[type="checkbox"] {
    visibility: hidden;
}

#modal-accept-invite-to-family-account_success .modal-body span.check-cr {
    position: relative;
    top: 1px;
    display: inline-block;
    content: "";
    width: 19px;
    height: 19px;
    border: 1px solid #cdcdcd;
    background: #fff;
    margin-right: 15px;
    padding-top: 1px;
    text-align: center;
}

#modal-accept-invite-to-family-account_success .modal-body span.check-cr span{
    background: url(../images/tehImg/tick.svg) no-repeat center;
    display: inline-block;
    content: "";
    width: 19px;
    height: 14px;
    border-radius: 100%;
    left: 5px;
    position: relative;
    top: -2px;
    opacity: 0;
}

#modal-accept-invite-to-family-account_success .modal-body input[type="checkbox"]:checked + span.check-cr span {
    opacity: 1;
}

#modal-delete-family-account_success .modal-header {
    padding: 34px 62px 0 62px;
}

#modal-delete-family-account_success .modal-header p {
    padding-top: 12px;
}

#modal-delete-family-account_success .modal-body {
    padding-top: 30px;
    padding-bottom: 40px;
}

#modal-unaccepted-invitations .modal-dialog {
    width: 842px;
}

#modal-unaccepted-invitations .modal-header {
    padding: 34px 76px 19px 76px;
}

#modal-unaccepted-invitations .modal-header h2 {
    font: 32px/34px 'MuseoCyrl-700', sans-serif;
    text-align: center;
    margin: 0;
}

#modal-unaccepted-invitations .modal-header p {
    font: 16px/22px 'MuseoSansCyrl-500', sans-serif;
    padding-top: 12px;
    text-align: center;
    margin: 0;
}

#modal-unaccepted-invitations .modal-body {
    padding: 0 0 40px 0;
}

#modal-unaccepted-invitations .modal-body .table-overflow {
    overflow: auto;
}

#modal-unaccepted-invitations .modal-body span {
    font: 14px/16px 'MuseoSansCyrl-500', sans-serif;
}

#modal-unaccepted-invitations .modal-body .invite-description {
    display: flex;
    flex-direction: column;
}

#modal-unaccepted-invitations .modal-body .invite-time {
    padding-left: 13px;
    color: #B7B6BB;
}

#modal-unaccepted-invitations .modal-body .invite-description__number {
    color: #868686;
    padding-top: 4px;
}

#modal-unaccepted-invitations .modal-body .invite-date {
    min-width: 170px;
}

#modal-unaccepted-invitations .modal-body .invite-action {
    text-align: right;
}

#modal-unaccepted-invitations .modal-body .invite-action button {
    padding: 0 18px;
    height: 32px;
    line-height: 32px;
}

#modal-unaccepted-invitations .modal-body .invite-description {
    min-width: 300px;
}

#modal-unaccepted-invitations .modal-body .table-invites {
    width: 100%;
}

#modal-unaccepted-invitations .modal-body .table-invites tr {
    border-top: 1px solid #e2e2e2;
    border-bottom: 1px solid #e2e2e2;
}

#modal-unaccepted-invitations .modal-body .table-invites tr td {
    padding: 20px;
    text-transform: none;
    border-top: none;
}

#modal-unaccepted-invitations .modal-body #send-new-invite-to-family-account {
    background-color: #6ACA4D;
    height: 42px;
    line-height: 42px;
    margin: 10px auto 0 auto;
    width: 219px;
    display: flex;
}

.bottom_block_menu .notification_count {
    position: absolute;
    left: 47px;
    top: -5px;
    width: auto;
    height: auto;
    min-width: 20px;
    min-height: 20px;
    background-color: red;
    text-align: center;
    color: white;
    border-radius: 50%;
    border: 2px solid #fff;
    font: 12px/16px 'MuseoSansCyrl-500', sans-serif;
}

.dasboard-side-bar .dasboard_side_menu .panel-heading li.first {
    position: relative;
}

.dasboard-side-bar .dasboard_side_menu .panel-heading .notification_count {
    position: absolute;
    left: 38px;
    top: 10px;
    width: auto;
    height: auto;
    min-width: 20px;
    min-height: 20px;
    background-color: red;
    text-align: center;
    color: white;
    border-radius: 50%;
    border: 2px solid #fff;
    font: 12px/16px 'MuseoSansCyrl-500', sans-serif;
}

@media (max-width: 842px) {
    #modal-unaccepted-invitations .modal-dialog {
        width: auto;
    }

    #modal-unaccepted-invitations .modal-header {
        padding: 34px 15px 19px 15px;
    }
}


/* Страница семейного счёта */

header.page-header .navbar ul.nav li.active:not(.last) a {
    color: #6ACA4D;
}

#myModalCheck.modal-notification-transaction {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

#myModalCheck.modal-notification-transaction .check-info-container {
    padding: 30px 40px 20px 40px;
    flex-direction: column;
    border-bottom: 2px solid #F8F8FA;
}

#myModalCheck.modal-notification-transaction .check-info-container__title {
    margin-bottom: 4px;
    text-align: left;
    margin-top: 0;
}

#myModalCheck.modal-notification-transaction .check-info-container__description {
    display: flex;
    flex-direction: column;
}

#myModalCheck.modal-notification-transaction .check-info-container span {
    font: 14px/16px 'MuseoSansCyrl-500', sans-serif;
}

#myModalCheck.modal-notification-transaction .check-info-container__date {
    color: #868686;
}

#myModalCheck.modal-notification-transaction .check-info-container__link {
    color: #5BCA57;
    text-decoration: underline;
    cursor: pointer;
}

#myModalCheck.modal-notification-transaction .service-block {
    padding: 23px 40px 20px 40px;
}

#myModalCheck.modal-notification-transaction .service-block .flex-inner-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#myModalCheck.modal-notification-transaction .service-block .coupon-container .flex-column-container:nth-child(1) {
    padding-right: 20px;
}

#myModalCheck.modal-notification-transaction .service-block .shop-container .flex-column-container:nth-child(1) {
    padding-right: 65px;
}

#myModalCheck.modal-notification-transaction .service-block .shop-container .service-block__description {
    max-width: 250px;
}

#myModalCheck.modal-notification-transaction .service-block .coupon {
    width: 280px;
    height: 102px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: row;
}

#myModalCheck.modal-notification-transaction .service-block .coupon__detachable-part {
    position: relative;
    width: 50px;
    height: 102px;
}

#myModalCheck.modal-notification-transaction .service-block .coupon__date {
    display: block;
    transform: rotate(-90deg);
    width: 102px;
    position: absolute;
    top: 26px;
    left: -26px;
    font: 12px/14px 'MuseoCyrl-700', sans-serif;
}

#myModalCheck.modal-notification-transaction .service-block .coupon__ground {
    background-repeat: no-repeat;
    position: relative;
    width: 233px;
    height: 102px;
}

#myModalCheck.modal-notification-transaction .service-block .coupon__description-block {
    width: 192px;
    height: 78px;
    background-color: #ffffff;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    top: 12px;
    left: 18px;
}

#myModalCheck.modal-notification-transaction .service-block .coupon__description {
    font: 14px/17px 'MuseoSansCyrl-500', sans-serif;
    color: #24191B;
    text-align: center;
}

#myModalCheck.modal-notification-transaction .service-block .service-block__title {
    font: 16px/20px 'MuseoCyrl-700', sans-serif;
    color: #24191B;
    font-weight: normal;
}

#myModalCheck.modal-notification-transaction .service-block .service-block__description {
    font: 14px/16px 'MuseoSansCyrl-500', sans-serif;
    color: #24191B;
}

#myModalCheck.modal-notification-transaction .service-block .service-block__hint {
    padding-top: 10px;
    display: block;
    text-align: center;
    font: 12px/14px 'MuseoSansCyrl-500', sans-serif;
    color: #868686;
}

#myModalCheck.modal-notification-transaction .message-block {
    text-align: center;
    background-color: #F8F8FA;
}

#myModalCheck.modal-notification-transaction .message-block__message {
    color: #262333;
    font: 14px/36px 'MuseoSansCyrl-700', sans-serif;
}

#myModalCheck.modal-notification-transaction .table-check-details-container td:nth-child(2){
    text-align: right;
    padding-right: 40px;
}

#myModalCheck.modal-notification-transaction .modal-footer button {
    width: 219px;
    height: 42px;
    border-radius: 21px;
    background-color: #6ACA4D;
    line-height: 42px;
}

.mdt-message {
    color: #ffffff;
    font: 14px/20px 'MuseoSansCyrl-700', sans-serif;
}

.mdt-action {
    font: 15px/20px 'MuseoCyrl-700', sans-serif;
    color: #87b3f4 !important;
}

.table-actual-notification {
    margin: 0;
}

#modal-notification-information .modal-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px 80px 0 80px;
}

#modal-notification-information .modal-header h3 {
    font: 32px/34px 'MuseoCyrl-700', sans-serif;
    text-align: center;
}

#modal-notification-information .modal-header p {
    padding-top: 12px;
    font: 16px/22px 'MuseoSansCyrl-500', sans-serif;
    text-align: center;
}

#modal-notification-information .modal-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px 0 40px 0;
}

#modal-notification-information .modal-body a,
#modal-notification-information .modal-body button {
    margin-top: 40px;
    min-width: 219px;
    width: auto;
    height: 42px;
    line-height: 42px;
    background-color: #6ACA4D;
    border-radius: 21px;
    padding: 0;
    text-transform: uppercase;
}

.notification-pagination-block {
    height: 17px;
    margin-top: 30px;
}

.notification-pagination-block .flex-row-container {

}

.notification-pagination-block .notification-pagination {
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;
    padding: 0;
}

.notification-pagination-block .notification-pagination__item:not(:first-child),
.notification-pagination-block .notification-pagination__item:not(:last-child) {
    padding-left: 15px;
}

.notification-pagination-block .notification-pagination__item_cursor img:hover,
.notification-pagination-block .notification-pagination__item_cursor span:hover {
    cursor: pointer;
}

.notification-pagination-block .notification-pagination__item span {
    font: 14px/16px 'MuseoSansCyrl-500', sans-serif;
    color: #262333;
}

.notification-pagination-block .notification-pagination__item_active span {
    color: #43B420;
}

.notification-pagination-block .notification-pagination__item a {
    font: 14px/16px 'MuseoSansCyrl-500', sans-serif;
    color: #262333;
    text-decoration: none;
}

.notification-pagination-block img {
    height: 10px;
    width: 17px;
}

#modal-rules-to-use-coupons .modal-dialog {
    width: 1068px;
}

#modal-rules-to-use-coupons .modal-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #6ACA4D;
    height: 86px;
}

#modal-rules-to-use-coupons .modal-header h3 {
    font: 24px/51px 'MuseoCyrl-700', sans-serif;
    color: #ffffff;
    margin: 0;
    text-align: center;
}

#modal-rules-to-use-coupons .modal-body {
    padding: 55px 80px 40px 80px;
    display: flex;
    flex-direction: column;
}

#modal-rules-to-use-coupons .coupons-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#modal-rules-to-use-coupons .coupons-container__inner {
    display: flex;
    flex-direction: column;
}

#modal-rules-to-use-coupons .coupons-container__inner:nth-child(2) {
    padding-left: 40px;
}

#modal-rules-to-use-coupons .coupon-container__coupon-block {
    display: flex;
    flex-direction: column;
    max-width: 434px;
}

#modal-rules-to-use-coupons .coupon-container__coupon-block:not(:first-child) {
    margin-top: 30px;
}

#modal-rules-to-use-coupons .coupon-container__coupon-info {
    display: flex;
    flex-direction: row;
    align-items: center;
}

#modal-rules-to-use-coupons .coupon-container__coupon-info .coupon-info__name {
    font: 24px/24px 'MuseoSansCyrl-700', sans-serif;
    color: #24191B;
    padding-left: 16px;
}

#modal-rules-to-use-coupons .coupon-block__description {
    margin-top: 16px;
    font: 16px/19px 'MuseoSansCyrl-500', sans-serif;
    color: #24191B;
}

#modal-rules-to-use-coupons .modal-body button {
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
    width: 214px;
}

@media (max-width: 1200px) {
    #modal-rules-to-use-coupons .modal-dialog {
        width: auto;
    }

    #modal-rules-to-use-coupons .modal-header .close {
        right: 5px;
        top: 5px;
    }
}

@media (min-width: 1000px) and (max-width: 1200px) {
    .dashboard-family-account__content .notification-exists-family-account-block .table tr td:nth-child(2) {
        min-width: auto;
        max-width: 230px;
    }
}

@media (max-width: 999px) {
    .dashboard-family-account__content .notification-exists-family-account-block .table .actual-notification-status {
        min-width: 100px;
    }
}

@media(max-width: 768px) {
    .modal-family-account-message .modal-header {
        padding: 34px 20px 0 20px;
    }

    .modal-family-account-message .modal-header p {
        padding-top: 12px;
    }

    .modal-family-account-message .modal-body {
        padding: 30px 0 40px 0;
    }

    .modal-default-family-account {
        padding-right: 0 !important;
    }

    #modal-notification-information .modal-header {
        padding-left: 15px;
        padding-right: 15px;
    }

    #modal-rules-to-use-coupons .coupons-container {
        flex-direction: column;
    }

    #modal-rules-to-use-coupons .coupons-container__inner:nth-child(2) {
        padding-left: 0;
    }

    #modal-rules-to-use-coupons .coupon-container__coupon-block {
        max-width: none;
    }

    #modal-rules-to-use-coupons .coupons-container__inner:not(:nth-child(1)) .coupon-container__coupon-block {
        margin-top: 30px;
    }

}

@media (max-width: 600px) {
    #modal-rules-to-use-coupons .modal-header {
        height: auto;
        padding-left: 20px;
        padding-right: 20px;
    }

    #modal-rules-to-use-coupons .modal-body {
        padding-left: 15px;
        padding-right: 15px;
    }

    #myModalCheck.modal-notification-transaction .service-block .flex-inner-container {
        flex-direction: column;
        align-items: stretch;
    }

    #myModalCheck.modal-notification-transaction .service-block .flex-inner-container .flex-column-container:nth-child(2) {
        display: flex;
        justify-content: center;
    }

    #myModalCheck.modal-notification-transaction .service-block .shop-container .flex-column-container:nth-child(1) {
        padding-right: 0;
    }

    #myModalCheck.modal-notification-transaction .service-block .shop-container .flex-column-container:nth-child(1) {
        padding-top: 20px;
        display: flex;
        order: 2;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    #myModalCheck.modal-notification-transaction .service-block .shop-container .flex-column-container:nth-child(2) {
        padding-top: 20px;
    }
}

@media (max-width: 480px) {
    #myModalCheck.modal-notification-transaction .modal-body td {
        padding-left: 20px;
    }

    #myModalCheck.modal-notification-transaction .modal-body .table-check-details-container tr td:nth-child(2) {
        padding-right: 20px;
    }
}