@charset "UTF-8";

*, h1, h2, h3 {
    font-family: "Open Sans", sans-serif;
}

h1 {
    font-weight: bold;
    margin-bottom: 30px;
}

a {
    color: #FE7F39;
    text-decoration: underline;
}

a:hover,
a:focus{
    color: #FE7F39;
    text-decoration: none;
}

.family-tree-table {
    width: 100%;
    max-width: 1401px;
}

.family-tree-table td {
    border: 1px solid #2C3034;
    padding: 5px;
    text-align: center;
    font-size: 14px;
    vertical-align: top;
}

.line-vertical-generation-7 td {
    padding: 1px;
}

td.generation-cell {
    background: #EDEDEE;
    border: none;
    font-size: 20px;
    font-family: 'Times New Roman', sans-serif;
    width: 50px !important;
    min-width: 50px !important;
}

.td-w50 td {
    width: 50%;
}

.td-w25 td {
    width: 25%;
}

.td-w12-5 td {
    width: 12.5%;
}

.td-w6-25 td {
    min-width: calc((100% - 50px)/16);
}

tr.line-vertical-generation-7 td {
    width: 21px;
    min-width: 21px;
}

#feedback-118,
#feedback-124{
    display: none;
}

#registrationTable #cbfr_42 {
    display: none;
}

body.itemid-112 #cbfr_41,
body.itemid-113 #cbfr_41 {
    display: none;
}

.person_cell {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    padding: 5px 0;
}

.line-vertical .person_cell {
    writing-mode: vertical-lr;
    white-space: nowrap;
    transform: rotate(180deg);

    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    padding: 5px 0;
}

#feedback-131 {
    display: none;
}

.line-vertical .person_role_name {
    writing-mode: vertical-lr;
    white-space: nowrap;
    transform: rotate(180deg);
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 5px 0;
}

.person_number,
.add_person_link{
    border: 1px solid #ccc;
    border-radius: 50%;
    padding: 2px;
    line-height: 1;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #666868;
    text-decoration: none;
}

.line-vertical-generation-7 .person_number,
.line-vertical-generation-7 .add_person_link{
    width: 18px;
    height: 18px;
    font-size: 8px;
}

.line-vertical-generation-7 .person-number-cell {
    font-size: 10px;
}

a.add_person_gender_M {
    border-color: #F06664;
    transition: 0.5s;
}

a.add_person_gender_M:hover {
    background: #F06664;
    color: #fff;
}

a.add_person_gender_W {
    border-color: #683594;
    transition: 0.5s;
}

a.add_person_gender_W:hover {
    background: #683594;
    color: #fff;
}

.person_cell a {
    text-decoration: none;
    line-height: 1.4;
    transition: 0.5s;
}

.main_user_cell a {
    color: #000;
    font-size: 16px;
}

.person_cell.gender-M a,
.person-link-full-name.gender_M a,
.person-link-full-name.gender_M,
.pt-full-name.gender_M,
span.person_gender_M,
.event_second_person_name.gender_M{
    color: #F06664;
}

.person_cell.gender-W a,
.person-link-full-name.gender_W a,
.person-link-full-name.gender_W,
.pt-full-name.gender_W,
span.person_gender_W,
.event_second_person_name.gender_W{
    color: #683594;
}

.person_cell a:hover {
    color: #141414;
}

.site-block {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: content-box;
    display: flex;
    justify-content: space-between;
    width: 100%;
    /*gap: 40px;*/
    flex-wrap: wrap;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: content-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.fix-width-1400 .header-content,
.fix-width-1400 .site-block {
    width: 1400px;
    min-width: 1400px;
}

.fix-width-1400 header,
.fix-width-1400 .megamenu{
    min-width: 1440px;
}

.maincontent {
    width: 100%;
}

.has-sidebar-right .maincontent {
    width: 75%;
}

.pfp-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 50px;
}

.pfp-column.pfp-col1 {
    width: 25%;
}

.pfp-column.pfp-col2 {
    width: calc(48% - 100px);
}

.pfp-column.pfp-col3 {
    width: 27%;
}

.person-field-label,
.event-item .event-name,
.place-field-name,
.comment-field-name{
    font-weight: bold;
    color: #555;
}

.pfp-header {
    border-bottom: 1px solid #ddd;
    margin-bottom: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px 30px;
    flex-wrap: wrap;
    padding-bottom: 15px;
}

main {
    margin-top: 20px;
    margin-bottom: 50px;
}

.pfp-header h1 {
    margin: 0;
}

.pfp-header-buttons {
    display: flex;
    gap: 15px;
}

.pfp-header-buttons a {
    width: 30px;
    opacity: 1;
    transition: 0.5s;
}

.pfp-header-buttons a:hover {
    opacity: 0.6;
}

.person-field + .person-field,
.event-item + .event-item,
.event-item + .person-field,
.person-field + .event-item,
.place-field-name,
.comment-field-name{
    margin-top: 20px;
}

.pfp-full-line .person-field + .person-field {
    margin-top: 25px;
}

.mod-breadcrumbs__wrapper {
    margin-top: 30px;
    font-size: 14px;
}

.mod-breadcrumbs__wrapper .mod-breadcrumbs__divider {
    display: none;
}

.mod-breadcrumbs__wrapper ol {
    padding: 0 !important;
}

.breadcrumb {
    background: transparent !important;
}

.breadcrumb a:hover {
    text-decoration: none;
}

.breadcrumb-item + .breadcrumb-item:before {
    color: #ccc;
}

.rsform-dir-edit-container .js-editor-tinymce div[role="application"],
.submission .js-editor-tinymce div[role="application"],
.document-add-form .js-editor-tinymce div[role="application"]{
    width: 100% !important;
    height: 250px !important;
}

.person-field-value * {
    margin: 0;
}

joomla-alert {
    margin-top: 20px;
}

form.connect_person > h2 {
    display: none;
    font-size: 28px;
    margin-bottom: 25px;
    font-family: "Oranienbaum", serif;
}

form.question-form > h2 {
    font-size: 25px;
    margin-bottom: 25px;
    font-weight: bold;
}

#add_sync_event_form > h2 {
    font-size: 28px;
    margin-bottom: 25px;
    font-family: "Oranienbaum", serif;
}

select#person_possible_relatives_W,
select#person_possible_relatives_M{
    width: 100%;
    height: 50px;
    display: block;
    font-size: 16px;
    -webkit-appearance: none;
    padding: 0 20px;
    font-weight: bold;
}

*:focus {
    outline: none !important;
}

.rsform-block-to-gedid {
    margin-top: 40px;
}

.block-for-spouses {
    margin-top: 10px;
}

form.connect_person .rsform-block-submit {
    margin-top: 30px;
}

.directoryTable .directoryActions .directoryEdit,
.directoryTable .directoryActions .directoryPdf {
    display: none;
}

.directoryTable tbody tr {
    position: relative;
}

.directoryTable .directoryActions .directoryDetail {

}

.person-teaser-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.person-teaser {
    width: calc(25% - 15px);
}

.person-teaser > a {
    display: flex;
    text-decoration: none;
    color: #141414;
    border: 1px solid #e6e6e6;
    padding: 15px;
    flex-wrap: wrap;
    height: 100%;
    align-content: flex-start;
    width: 100%;
    transition: 0.5s;
}

.person-teaser > a:hover {
    border-color: #444;
}

.pt-full-name {
    font-weight: bold;
    font-size: 16px;
    line-height: 1.2;
}

.pt-date-place {
    line-height: 1.2;
    margin-top: 10px;
    font-size: 14px;
    color: #777;
}


.person-teaser .pt-date-place{
    text-align: center;
    width: 100%;
}

.rsform-block-bottom-comment {
    color: #777;
    margin-bottom: 20px;
    font-size: 14px;
}

.person-birth-year {
    line-height: 1.2;
}

.person-field-value {
    display: flex;
    gap: 0 5px;
    align-items: center;
    flex-wrap: wrap;
}

.add-block-parent {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.add_person_form > h2,
.tanay-popup-content > h2{
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 700;
    font-family: "Oranienbaum", serif;
}

.rsform-block-script-message.is_active {
    font-weight: bold;
    margin-top: -10px;
    margin-bottom: 20px;
    color: #29A8E1;
    font-size: 18px;
}

.rsform-block-familiya-first {
    display: none;
}

.rsform-block-familiya-first .formControlLabel {
    display: none;
}

.rsform-block-familiya-first-button {
    font-size: 14px;
    margin-top: -10px;
    margin-bottom: 15px;
}

form#directoryEditForm,
#yoo-zoo > .submission,
form.document-add-form{
    max-width: 1000px;
}

.rsform-block-alive .formControlLabel,
.rsform-block-visible .formControlLabel{
    display: none;
}

.container-header {
    background-color: #f2f2f2 !important;
}

.brand-logo img {
    width: 105px;
}

.logo-text {
    width: 800px;
}

.top-login-module {
    display: flex;
    gap: 5px;
    width: 237px;
    justify-content: flex-end;
}

main .top-login-module {
    display: none;
}

main form.mod-login {
    display: block !important;
    border: 2px solid rgba(254, 127, 57, 0.32);
    padding: 30px 40px;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 10px;
}

a.login-button {
    background: #fff;
    padding: 10px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    color: #FE7F39;
    transition: 0.1s;
}

a.login-button:hover,
a.login-button:focus {
    color: #fff;
    background: #FE7F39;
}

.user-fio-logout {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-logout-icon {
    border: none;
    background: url(/images/design/logout.png) no-repeat left;
    background-size: 22px;
    font-size: 0;
    width: 22px;
    min-width: 22px;
    height: 22px;
    margin-top: 2px;
    cursor: pointer;
    padding: 0;
    -webkit-appearance: none;
    opacity: 0.5;
    transition: 0.5s;
}

.btn-logout-icon:hover {
    opacity: 1;
}

.user-fio-logout .user-fio {
    font-weight: 500;
    max-width: 200px;
    line-height: 1.2;
    text-align: right;
}

main .user-main-buttons {
    display: none;
}

.user-main-buttons {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.user-main-buttons a,
.add-mini-button,
.search-buttons button,
.rodorad-buttons-block button{
    border: 1px solid #555;
    padding: 7px 15px;
    border-radius: 40px;
    display: inline-block;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    color: #555;
    transition: 0.1s;
    background: #fff;
    -webkit-appearance: none;
    max-width: 260px;
}

.user-main-buttons a:focus,
.user-main-buttons a:hover,
.add-mini-button:hover,
.add-mini-button:focus,
body.itemid-138 a.drevo-table-link,
body.itemid-140 a.my-persons-link,
.search-buttons button:hover,
.rodorad-buttons-block button:hover,
.rodorad-buttons-block button:focus{
    background: #FE7F39;
    color: #fff;
    border-color: #FE7F39;
}

.logo-main {
    width: 237px;
    min-width: 237px;
}

.slider-container {
    width: 100%;
    margin-top: 30px;
}

.slider-container .slider.card  {
    border: none;
    border-radius: 0;
}

.slider-container .card-body {
    padding: 0;
}

.slider-container .uk-slideshow-items img {
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
}

.title-container {
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

.title-container h1 {
    margin-bottom: 0px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 3px;
    /*font-size: 50px;*/
    font-size: calc(1.375rem + 1.2vw);
}

.slider-container + .block-child.maincontent {
    margin-top: 40px;
}

.rsform-dir-edit-container .js-editor-tinymce .tox-toolbar__primary button.tox-tbtn.tox-tbtn--select,
.submission .js-editor-tinymce .tox-toolbar__primary button.tox-tbtn.tox-tbtn--select{
    display: none;
}

.rsform-dir-edit-container .rsform-dir-caption-text {
    font-weight: bold;
    font-size: 14px;
}

.rsform-dir-edit-container .toggle-editor,
.submission .toggle-editor,
.document-add-form .toggle-editor{
    display: none;
}

.rsform-dir-edit-container .rsform-dir-row {
    margin-bottom: 25px;
}

.rsform-dir-edit-container strong.formRequired {
    display: none;
}

.hide-label .form-label {
    display: none;
}

.rsform-dir-edit-container .rsform-dir-row p {
    margin: 0;
}

.pfp-full-line {
    width: 100%;
}

.rsform-dir-edit-container .rsform-dir-row.field-nationality {
    border-top: 2px solid rgba(254, 127, 57, 0.5);
    padding-top: 40px;
    margin-top: 50px;
}

input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #aaa !important;
}
input::-moz-placeholder { /* Firefox 19+ */
    color: #aaa !important;
}
input:-ms-input-placeholder { /* IE 10+ */
    color: #aaa !important;
}
input::placeholder { /* Modern browsers */
    color: #aaa !important;
}

.change-first-tree-person input {
    background: url(/images/design/family-tree.png) no-repeat center;
    background-size: 30px;
    width: 30px;
    height: 30px;
    display: block;
    border: none;
    -webkit-appearance: none;
    font-size: 0;
    filter: grayscale(100%);
    transition: 0.5s;
}

.change-first-tree-person input:hover {
    filter: grayscale(0%);
}

.change-first-tree-person input.active {
    filter: grayscale(0%);
}

.ff-when select {
    width: 100%;
    height: 45px;
    display: block;
    font-size: 16px;
    -webkit-appearance: none;
    padding: 0 12px;
    font-weight: bold;
    border-color: #c4c4c4;
    background: url(/images/design/down-arrow.png) no-repeat 97% center;
    background-size: 20px;
}

.form-field input[type="number"],
.form-field input[type="text"],
.form-field input[type="email"],
.form-field textarea{
    display: block;
    padding: 6px 12px;
    border: 1px solid #c4c4c4;
    border-radius: 5px;
    transition: 0.5s;
    font-size: 16px;
}

.form-field textarea {
    font-size: 16px;
}

.form-field input[type="number"]:focus,
.form-field input[type="text"]:focus,
.form-field input[type="email"]:focus,
.form-field textarea:focus{
    border-color: #777;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field textarea {
    width: 100%;
}

.form-field.ff-date-1,
.form-field.ff-date-2,
.form-field.ff-datetime-1{
    display: flex;
    flex-wrap: wrap;
    gap: 5px 10px;
}

.form-field + .form-field {
    margin-top: 25px;
}

.add-sync-event-modal .rsform-simple-js-modal-content {
    width: 500px;
    max-width: 100%;
}

.form-field input[name="day_1"],
.form-field input[name="day_2"],
.form-field input[name="month_1"],
.form-field input[name="month_2"]{
    width: 25%;
}

.form-field input[name="year_1"],
.form-field input[name="year_2"] {
    width: calc(50% - 20px);
}

.form-field-error {
    font-size: 12px;
}

.form-field.ff-comment {
    font-size: 14px;
}

.dj-megamenu-default {
    display: flex;
    justify-content: center;
    background: #fff;
    box-shadow: 0 4px 40px 0 rgba(44,42,42,.15);
}

header {
    position: relative;
    z-index: 2;
}

.megamenu {
    position: relative;
    z-index: 1;
}

.dj-megamenu-default li a.dj-up_a {
    color: #141414;
    text-transform: none;
    font-size: 15px;
    padding: 0 30px;
    border-left: none;
    border-right-color: #eee;
}


.dj-megamenu-default li:hover a.dj-up_a,
.dj-megamenu-default li.active a.dj-up_a{
    background: #5FB7E4;
}

.person-number-cell {
    font-size: 12px;
    font-weight: bold;
    text-align: left;
}

.person_role_name {
    font-style: italic;
}

a.jmodedit {
    display: none;
}

.com-content-article > .icons {
    display: none;
}

.person-role-info.pri-type-1 {
    display: flex;
    gap: 7px;
    align-items: center;
    line-height: 1;
}

.person-cell-parent.gen5 .person_cell {
    flex-wrap: wrap;
    justify-content: space-between;
    width: 45px;
    align-content: space-between;
}

.person_role_name_5_gen {
    font-weight: 400;
    font-style: italic;
    height: 100%;
    line-height: 1.1;
    text-align: right;
}

.person-cell-parent.gen5 a {
    height: 100%;
    text-align: right;
}

.table-person-count-info {
    margin-bottom: 20px;
    font-size: 14px;
    text-align: right;
    margin-top: -41px;
}

.add-event {
    margin-top: 10px;
}


.form-field input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.form-field.ff-oldstyle {
    display: flex;
    gap: 5px;
    align-items: center;
    font-size: 15px;
}

.line-vertical-generation-7 .person_role_name {
    font-size: 12px;
}

.line-vertical-generation-7 .person_cell a {
    font-size: 12px;
}

.line-vertical-generation-5 .person_role_name {
    align-items: flex-end;
    line-height: 1.3;
}

.is_oldstyle {
    font-size: 14px;
    color: #999;
}

.person-teaser .pt-full-name {
    width: 100%;
    text-align: center;
}

form.add_event_to_db .event_second_person_name,
form.update_event_info .event_second_person_name{
    margin-top: -20px;
    font-weight: bold;
    margin-bottom: 20px;
}

.pfp-column .event-item {
    border-left: 2px solid #ddd;
    padding-left: 15px;
}

a.person-delete-button {
    margin-left: 30px;
}

.disconnect_person_button {
    width: 20px;
    height: 20px;
    background: url(/images/design/unlink.png) no-repeat center;
    background-size: 15px;
    font-size: 0 !important;
    opacity: 0.6;
    transition: 0.5s;
}

.disconnect_person_button:hover {
    opacity: 1;
}

.interest-facts-title-block,
.docs-title-block{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.person-field + .person-interest-facts,
.person-field + .person-docs-container {
    margin-top: 50px;
}

.submission .element-image .more-options,
.submission .element-image span.select,
.submission .element-image select,
.submission .element-image .button-grey.search{
    display: none;
}

p.error-message {
    color: red;
    margin-top: 5px;
}

.submission > p.message {
    color: red;
    font-weight: bold;
}

.submission > p.message + form#item-submission {
    margin-top: 30px;
}

#yoo-zoo div.submission fieldset {
    margin: 0;
    padding: 0 0 25px 0;
    border: none;
}

#yoo-zoo div.submission .element + .element {
    margin-top: 25px;
}

#yoo-zoo div.submission .element > strong {
    font-size: 14px;
    margin-bottom: .5rem;
    display: block;
}

#yoo-zoo div.submission .element.required > strong:after {
    content: ' *';
    color: red;
}

.submission-interest-fact-fio {
    font-weight: bold;
    margin-top: -15px;
    margin-bottom: 30px;
    color: #29A8E1;
    font-size: 20px;
    line-height: 1.2;
}

.submission .element-image .upload {
    display: flex;
    gap: 10px;
}

.submission .element-image .upload input[type="text"] {
    border: 1px solid #ddd;
}

.submission .element-image .upload input[type="file"] {
    font-size: 14px;
}

#mysubmissions .toolbar {
    display: none;
}

ul.submissions > li {
    list-style-type: none;
    padding: 10px 20px;
    background: #f2f2f2;
    position: relative;
    transition: 0.5s;
}

ul.submissions > li:hover {
    background: #ddd;
}

ul.submissions > li + li {
    margin-top: 15px;
}

ul.submissions {
    margin: 0;
    padding: 0;
}

ul.submissions > li h3 {
    font-size: 20px;
    margin: 0;
}

ul.submissions > li h3 span {
    font-size: 14px;
    color: #999;
}

ul.submissions > li a.delete-item {
    width: 35px;
    height: 35px;
    display: block;
    background: url(/images/design/delete2.png) no-repeat center;
    background-size: 25px;
    position: absolute;
    right: 5px;
    top: 5px;
    z-index: 9;
    opacity: 0.7;
    transition: 0.5s;
}

ul.submissions > li a.delete-item:hover {
    background-color: #fff;
    opacity: 1;
}

ul.submissions > li a.edit-item {
    position: absolute;
    inset: 0;
}

.submission-interest-fact-fio-list {
    color: #29A8E1;
    font-weight: bold;
}

.image-cancel.add-mini-button {
    margin-top: 5px;
    cursor: pointer;
}

.submission .image-preview {
    max-width: 500px;
}


/* начало - вывод материала zoo в ручном формате */
.one_zoo_item {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 5px;
}

.one_item_media img {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.zoo_items_custom,
.person-docs{
    margin-top: 20px;
}

.one_zoo_item + .one_zoo_item {
    margin-top: 20px;
}

.one_item_media {
    width: 120px;
    min-width: 120px;
}

.one_item_name {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;
    margin-bottom: 10px;
}

.one_item_name a {
    text-decoration: none;
    color: #222;
}

.one-item-content {
    width: calc(100% - 140px);
}

.one-item-gallery {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.one-item-gallery > * {
    transition: 0.5s;
    width: 255px;
}

.one-item-gallery > *:hover {
    opacity: 0.7;
}

/* конец - вывод материала zoo в ручном формате */

#yoo-zoo .row > * {
    padding: unset;
}

body.itemid-152 #yoo-zoo .items div.media-left {
    max-width: 400px;
}

.person_fio_zoo {
    font-weight: bold;
    margin-bottom: 10px;
    color: #29A8E1;
    font-size: 18px;
    line-height: 1.3;
}

.fieldset-title {
    font-weight: bold;
    font-size: 14px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    padding-bottom: 5px;
}

.creation-form.gallery .element-image > strong {
    display: none !important;
}

h1.pos-title + .person_fio_zoo {
    margin-top: -20px;
}

.item .one-item-gallery > * {
    width: 264px;
}

.item .one-item-gallery {
    padding-top: 20px;
}



/* Универсальное всплывающее окно */

.universal_popup{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
    z-index: 9999;
}

.universal_popup.show-popup {
    opacity: 1;
    visibility: visible;
    transform: scale(1.0);
    transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}

.universal_popup_content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 30px;
    width: 600px;
    max-height: 90%;
    overflow: auto;
    text-align: left;
    font-size: 16px;
}

.modal-close-button {
    float: right;
    width: 35px;
    line-height: 33px;
    text-align: center;
    cursor: pointer;
    border-radius: 50px;
    background-color: lightgray;
    font-size: 25px;
    font-weight: 300;
    margin-top: -10px;
    margin-right: -10px;
    height: 35px;
}

.modal-close-button:hover {
    background-color: darkgray;
}

@media only screen and (max-width: 700px) {
    .universal_popup_content {
        height: 85%;
        width: 85%;
    }
}

/* конец Универсальное всплывающее окно */



.generation-cell a.open-popup-link {
    font-family: 'Times New Roman', sans-serif;
    color: #22262a;
    text-decoration: none;
    border-bottom: 1px dashed;
    transition: 0.5s;
}

.generation-cell a.open-popup-link:hover {
    color: #FE7F39;
}

.popup-gen-title {
    font-weight: bold;
    font-size: 18px;
}

#yoo-zoo .items p.pos-links {
    text-align: right;
}

.view-item .yoo-zoo.business-default a.edit-item {
    display: none !important;
}

.header-content form.form-vertical {
    min-width: 200px;
}

.logo-text-part1 {
    background: -webkit-linear-gradient(left, #FE921F, #FF470C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text-part2 {
    background: -webkit-linear-gradient(left, #2AAAE3, #0171BC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text a {
    text-decoration: none;
}

.logo-text a span {
    letter-spacing: 3px;
    font-size: 50px;
    text-transform: uppercase;
    font-weight: bold;
}

.dj-offcanvas-light .dj-offcanvas-logo img {
    max-width: 90px;
}

#dj-megamenu127mobile {
    display: none;
}

.dj-offcanvas-light .dj-offcanvas-top {
    position: absolute;
    right: 0;
    background: transparent;
}

ul.dj-mobile-light li.dj-mobileitem>a {
    font-weight: bold;
}

.dj-offcanvas-close-icon {
    background: url(/images/design/close.png) no-repeat center;
    background-size: 20px;
    width: 20px;
    height: 20px;
    display: block;
    opacity: 0.5;
    transition: 0.5s;
}

button:hover .dj-offcanvas-close-icon{
    opacity: 1;
}

.dj-offcanvas-close-icon:before {
    display: none !important;
}

ul.dj-mobile-light li.dj-mobileitem>a {
    padding: 15px;
}

.dj-mobile-nav li:last-child {
    border-bottom: 1px solid #e4e4e4;
}

h3.interest-facts-title,
.docs-title-block h3{
    margin: 0;
}

.single-checkbox {
    flex-wrap: nowrap !important;
}

.cbRegistrationDiv .cbFieldIcons {
    display: none;
}

.single-checkbox .cb_field {
    order: -1;
    width: 30px;
    flex: 0 0 30px;
}

.single-checkbox .cbValidationMessage {
    display: none !important;
}

.single-checkbox > label {
    padding: 0 !important;
    width: calc(100% - 30px) !important;
}

.person-teaser .pt-photo {
    margin: 0 auto 20px;
    max-width: 220px;
    aspect-ratio: 1 / 1;
    width: 100%;
}

body.itemid-114 .profile-module-header form {
    display: none;
}

body.itemid-114 .top-login-module {
    visibility: hidden;
}

.login-popup .universal_popup_content {
    padding: 45px;
    width: 450px;
}

.login-popup span.modal-close-button {
    position: absolute;
    right: 10px;
    top: 10px;
    float: none;
    margin: 0;
}

.login-popup .mod-login__remember {
    display: none;
}

.popup-login-header {
    margin-bottom: 30px;
    width: 100%;
}

.login-form-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

.login-form-buttons > div {
    margin-bottom: 0 !important;
}

.popup-login-header img {
    display: block;
    margin-left: -5px;
}

.btn-blue {
    /*background: #0f8ad8;*/
    /*border-color: #0f8ad8;*/
}

.btn-blue:hover {
    background: #0074BE;
    border-color: #0074BE;
}

.login-popup .mod-login__options {
    display: none;
}

.cb_template_default.cbRegistration {
    max-width: 620px;
    margin: 40px auto 0;
    background: #fff;
    padding: 30px 50px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.cb_template_default.cbRegistration h3.cbRegistrationTitle {
    text-align: center;
    font-weight: bold;
    font-size: 30px;
    margin-bottom: 10px !important;
}

.cb_template_default.cbRegistration .cbRegistrationHeader {
    border-color: #eee !important;
    margin-bottom: 30px !important;
}

.cb_template_default.cbRegistration input[type="text"],
.cb_template_default.cbRegistration input[type="email"]{
    width: 100%;
}

.cb_template_default.cbRegistration input[type="password"] {
    /*width: 100%;*/
}

ul.submissions > li .header {
    padding-right: 20px;
}

#yoo-zoo .items .row {
    --gutter-x: 0
}

#yoo-zoo .items h2.pos-title {
    line-height: 1.2;
}

.generate_table_to_pdf_form {
    text-align: center;
    margin-top: 30px;
}

.family-tree-parent {
    /*overflow: hidden;*/
}

.pt-data-parent {
    width: 100%;
}

.question-thanks {
    font-size: 18px;
    font-weight: bold;
}

.trc-table td {
    border: 1px solid #ddd;
    padding: 5px;
}

.table-results-calculating {
    margin-top: 50px;
}

.trc-title {
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.trc-result {
    display: flex;
    gap: 20px;
    padding: 10px 20px;
    background: #eee;
    max-width: 1000px;
}

.trc-result + .trc-result {
    margin-top: 2px;
}

.trc-result-label {
    width: calc(100% - 80px);
    line-height: 1.3;
}

.trc-result-value {
    width: 60px;
    font-weight: bold;
    text-align: right;
    font-size: 18px;
}

.trc-result-procent-nasledovaniya-muzhskih-kachestv,
.trc-result-procent-nasledovaniya-by-father{
    background: #F06664;
    color: #fff;
}

.trc-result-procent-nasledovaniya-zenskih-kachestv,
.trc-result-procent-nasledovaniya-by-mother{
    background: #683594;
    color: #fff;
}

.mt10 {
    margin-top: 10px;
}

.mt20 {
    margin-top: 20px;
}

.event-item.wedding .update_event {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.event-item.divorce {
    display: none;
}

.event-item.event-added.divorce {
    display: block;
    margin-top: 0;
    padding-top: 20px;
}

.event-item.event-added.divorce > .event-name {
    border-top: 1px dashed #FE7F39;
    padding-top: 12px;
}

.divorced .add_divorce_btn {
    display: none;
}

a.universalBackBtn {
    text-decoration: none;
    font-size: 16px;
    color: #999;
    margin-bottom: 10px;
    display: inline-block;
    transition: 0.5s;
}

a.universalBackBtn:hover {
    color: #FE7F39;
}

.view-userprofile .cbProfile a.cbPMSMessages {
    display: none !important;
}

.view-userprofile .cbProfile .cbCanvasLayout {
    box-shadow: 0 4px 40px 0 rgba(44,42,42,.15);
    border-radius: 15px;
}

.view-userprofile .cbCanvasLayoutTop {
    border-radius: 15px 15px 0 0;
}

.view-userprofile .cbImgCanvas.cbFullCanvas {
    border-radius: 15px 15px 0 0 !important;
}

.view-userprofile .cbCanvasLayoutBottom {
    border-radius: 0 0 15px 15px !important;
}

.profile-edit-btn + main {
    margin-top: 0;
}

.profile-edit-btn {
    margin-bottom: -26px;
    position: relative;
    z-index: 9;
    margin-top: 20px;
    height: 26px;
    display: flex;
    justify-content: flex-end;
}

.profile-edit-btn a {
    display: block;
    font-size: 14px;
    padding: 0 13px;
    line-height: 26px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0 14px 0 5px;
    text-decoration: none;
    color: #444;
    transition: 0.5s;
}

.profile-edit-btn a:hover {
    color: #FE7F39;
}

h1.cb-m7-h1 {
    font-weight: bold;
    margin-bottom: 30px;
}

.cb_template .cbCanvasLayout .cbCanvasLayoutBottom .cbCanvasLayoutTitle .cbProfileTitle {
    padding-top: 5px !important;
}

.view-userprofile .cb_tab_html .cbProfileTitle h3{
    color: #141414;
}

.view-userprofile .cbPosCanvasMain.cbCanvasLayoutMain {
    display: none;
}

.view-userslist .cbUserListHead {
    display: none;
}

.view-userslist .cbUserListSearchTitle {
    display: none;
}

.cbUserListSearchFields {
    display: flex;
    align-items: center;
    gap: 10px 20px;
}

.cbUserListSearchFields label#cblabname {
    display: none;
}

.cbUserListSearchFields .form-group {
    margin: 0 !important;
}

.cbUserListSearchFields .form-control-plaintext {
    padding: 0 !important;
}

.cbUserListSearchFields .col-sm-9 {
    max-width: 100%;
}

.searchCriteriaTitleHtml {
    display: none;
}

.btn.cbUserlistSubmit {
    padding: 7px 20px;
}

.cb_template .cbUserListRowColumn {
    padding: 0 !important;
}

.itemid-117 .cbUserListRow {
    font-size: 18px;
    margin-bottom: 10px;
}

.list-bnt-div {
    padding: 0 !important;
}

.cb_template .cbUserListPagination {
    margin-top: 30px !important;
}

button.cbPasswordUnmaskShow,
button.cbPasswordUnmaskHide{
    padding: 6px 15px;
}

.cbEditProfile .cbFieldIcons {
    display: none;
}

.cbProfileEditButtons .btn {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.cbProfileEditButtons {
    margin-top: 20px;
}

.cbProfileEditButtons > div {
    display: flex;
    gap: 15px;
}

.btn-secondary {
    padding: 10px 30px;
}

.cb_template .cbValidationImageDataCrop {
    margin-top: 25px !important;
}

.cb_template .cbCanvasLayout .cbCanvasLayoutBottom .cbCanvasLayoutPhoto .cb_online {
    bottom: 0;
    left: 0;
}

.view-userprofile .cbCanvasLayoutMenu {
    margin-bottom: 20px;
}

.view-userprofile .cbCanvasLayoutMenu ul.cbMenuULlist {
    flex-direction: unset;
    gap: 15px 20px;
    flex-wrap: wrap;
}

.view-userprofile .cbCanvasLayoutMenu li.list-group-item.cbMenuItem {
    padding: 7px 15px;
    font-size: 13px;
    border: none;
    box-shadow: 0 4px 10px 0 rgba(44,42,42,.15);
    border-radius: 5px;
}

.view-userprofile .cbCanvasLayoutMenu li.list-group-item.cbMenuItem a {
    color: #333;
    text-decoration: none;
}

.view-userprofile .cbCanvasLayoutMenu li.list-group-item.cbMenuItem:hover {
    background: #5FB7E4;
}

.view-userprofile .cbCanvasLayoutMenu li.list-group-item.cbMenuItem:hover a {
    color: #fff;
}

.view-userprofile .cbCanvasLayoutMenu li.list-group-item.cbMenuItem a span.fa {
    margin-right: 5px;
}

.cbMenuULlist li.cbMenu_UE_PM_USER,
.cbMenuULlist li.cbMenu_UE_MENU_SENDUSEREMAIL{
    display: none;
}

.cb_template a.btn-primary {
    background: #FE7F39;
    color: #fff;
}

.cb_template a.btn-primary:hover {
    background: #ee6315;
    border-color: #ee6315;
    color: #fff;
}

.cb_template .cbMngConnButtons {
    display: flex;
    gap: 10px 20px;
    flex-wrap: wrap;
    margin-top: 30px !important;
}

.cbMngConnButtons .cbMngConnSubmit {
    display: none;
}

.conn_user_card textarea {
    display: none !important;
}

.text-large.conn_username {
    font-size: 16px;
    margin-left: 5px;
}

.qtip-content.popover-body {
    padding: 20px 30px 30px;
}

.qtip-content.popover-body textarea[name="message"] {
    max-height: 100px;
}

.qtip-titlebar.popover-header {
    padding: 15px 30px;
    font-weight: bold;
    height: auto;
    max-height: 100% !important;
}

.cb_template .qtip-titlebar .qtip-close {
    right: 10px;
    top: 10px;
}

.qtip-content.popover-body .cbConnReqButtons > div {
    gap: 10px 20px;
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
}

#qtip-2-content {
    font-size: 16px;
    font-weight: bold;
}

#qtip-2-content .cbTooltipButtons {
    display: flex;
    gap: 10px 15px;
    margin-top: 15px !important;
    justify-content: center;
}

.zoo-3-item-line .items {
    display: flex;
    flex-wrap: wrap;
    margin: 0 !important;
    gap: 30px;
}

.zoo-3-item-line .items .teaser-item {
    width: calc(33.333% - 20px);
    padding: 0 !important;
    --bs-gutter-x: 0;
}

.zoo-3-item-line #yoo-zoo .items div.teaser-item {
    padding: 0 !important;
}

.zoo-3-item-line #yoo-zoo .items div.media-left {
    margin: 0 !important;
    float: none;
}

.zoo-3-item-line .item .element-link a {
    text-decoration: none;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    display: inline-block;
    background: #FE7F39;
    color: #fff;
    padding: 10px 30px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.zoo-3-item-line .item .element-link a:hover{
    background: #ee6315;
    border-color: #ee6315;
    color: #fff;
}

.container-message-requests {
    width: 100%;
    margin: 30px 0 0;
}

.message-request {
    box-shadow: 0 4px 40px 0 rgba(44,42,42,.15);
    padding: 20px 20px 20px 110px;
    border-radius: 5px;
    background: url(/images/design/bell.png) no-repeat 25px center;
    background-size: 50px;
    line-height: 1.3;
}

.message-request-title {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: #5FB7E4;
}

.message-request-buttons {
    margin-top: 10px;
}

.message-request span.text-label {
    color: #777;
    font-size: 14px;
}

.message-request span.message-text {
    font-style: italic;
}

.message-request + .message-request {
    margin-top: 25px;
}

.message-request-text {
    margin-top: 5px;
}

.footer {
    color: #212529;
    background: #f2f2f2;
    margin-top: 50px;
}

body.itemid-101 .maincontent {
    display: none;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 20px;
    box-sizing: content-box;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 50px;
}

.footer-module-title {
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-menu ul {
    margin: 0;
    padding: 0;
}

.footer-menu ul li {
    list-style-type: none;
    margin-bottom: 5px;
}

.footer-menu ul li a:hover {
    color: #FE7F39 !important;
}

.terms-menu ul {
    font-size: 14px;
}

.copyright {
    margin-top: 25px;
    font-size: 14px;
    color: #555;
}

input#userSearchInput {
    width: 100%;
    border: 1px solid #000;
    padding: 10px;
    position: relative;
}

.sub-user {
    font-size: 13px;
    color: #777;
}

.search-user-result-item {
    padding: 5px 10px;
    cursor: pointer;
}

.search-user-result-item:hover {
    background: #eee !important;
}

.search-user-result-item + .search-user-result-item {
    border-top: 1px solid #ddd;
}

#suggestions {
    border: 1px solid #ccc;
    max-height: 217px;
    overflow-y: auto;
    margin-top: -1px;
}

.disconnect_person_button {
    display: none;
}

.search-user-result-item.connected-user-person {
    background: #f5f5f5;
}

.search-label {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 10px;
}

.lost-password-link {
    margin-top: 20px;
}

body.news .items,
.zoo-module-news-list{
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 0 !important;
}

body.news #yoo-zoo .items div.teaser-item,
.news-item-module{
    width: calc(33.333% - 20px);
    padding: 0;
    background: #eee;
    border-radius: 10px;
    position: relative;
    transition: 0.5s;
}

.news-item-module {
    width: calc(25% - 23px);
}

body.news #yoo-zoo .items .teaser-item:hover,
.news-item-module:hover{
    background: #ddd;
}

body.news #yoo-zoo .items .element-itemlink a,
.news-item-module .element-itemlink a {
    position: absolute;
    inset: 0;
    margin: 0 !important;
    text-decoration: none;
    font-size: 0;
}

body.news #yoo-zoo .items .teaser-item img,
.news-item-module img{
    -webkit-border-radius: 10px 10px 0 0;
    -moz-border-radius: 10px 10px 0 0;
    border-radius: 10px 10px 0 0;
}

body.news #yoo-zoo .items div.pos-description .element {
    margin: 0;
}

body.news .teaser-item .element-itemcreated,
.news-item-module .element-itemcreated{
    padding: 20px 20px 5px;
    font-size: 16px;
    color: #777;
    text-align: center;
    font-weight: bold;
}

.news-item-module .element-itemcreated {
    font-size: 14px;
}

body.news .teaser-item .element-itemname,
.news-item-module .element-itemname{
    padding: 0 20px 20px;
    font-size: 18px;
    text-align: center;
    font-weight: bold;
    line-height: 1.4;
}

.news-item-module .element-itemname {
    font-size: 16px;
}

#yoo-zoo .item p.pos-subtitle {
    display: flex;
    margin-bottom: 15px;
    font-weight: bold;
    font-size: 16px;
    font-style: normal;
    line-height: 1;
    color: #777;
}

body.news #yoo-zoo .item div.pos-sidebar {
    width: 400px;
}

.maincontent +.main-news {
    margin-top: 70px;
}

.main-news {
    width: 100%;
}

.zoo-item-module-header {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-direction: column;
    text-align: center;
}

.module-title {
    font-size: 40px;
    font-weight: bold;
    line-height: 1;
}

.zoo-item-module-link {
    text-align: center;
    margin-top: 30px;
    font-size: 18px;
}

.main_gender_M.main_my_person.person_is_direct .pfp-photo img,
.person-teaser.gender_M.teaser_my_person.person_is_direct .pt-photo img{
    border: 2px solid #F06664
}

.main_gender_W.main_my_person.person_is_direct .pfp-photo img,
.person-teaser.gender_W.teaser_my_person.person_is_direct .pt-photo img{
    border: 2px solid #683594
}

.person-teaser.gender_W .pt-photo img,
.person-full-page.main_gender_W .pfp-photo img{
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.person-teaser .pt-photo img,
.person-full-page .pfp-photo img{
    background: #EEECE8;
}

.person-rodstvo-teaser {
    text-align: center;
    font-size: 14px;
    font-style: italic;
}

.form-field-name {
    width: 100%;
    font-weight: bold;
}

.time-input-block {
    display: flex;
    align-items: center;
    gap: 7px;
}

.form-field.ff-datetime-1 {
    margin-top: 15px;
}

.time-name {
    font-size: 14px;
    color: #555;
}

.event-item.person-full-lifetime {
    border-color: red;
}

.young-dead-child-tag-full {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
}

.tag-blue {
    background: blue;
}

.tag-green {
    background: green;
}

.tag-orange {
    background: orange;
}

body.person_is_dead {
    background: #f2f2f2;
}

body.person_is_dead .footer {
    background: #eee;
    border-top: 1px solid #ddd;
}

.person-teaser.person_is_dead {
    background: #f2f2f2;
}

.search-param-field input[type="text"] {
    border: 1px solid #000;
    padding: 10px;
    position: relative;
}

.search-person-form,
.search-form-zoo{
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
    gap: 15px 30px;
    align-items: center;
}

input#searchKeyword {
    width: 300px;
    max-width: 100%;
    box-sizing: border-box;
}

.search-param-field.generation-checkboxes {
    display: flex;
    gap: 10px;
}

.search-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.person-full-page.person-was-not-born .person-field.person_spouse_cell,
.person-full-page.person-was-not-born .person-field.children_cell,
.person-full-page.person-was-not-born .person-interest-facts {
    display: none;
}

body.no-gedid-value-to-form .formContainer .rsform-block {
    display: none;
}

body.no-gedid-value-to-form .document-add-form:after {
    content: 'Что-то пошло не так. Пожалуйста, вернитесь на страницу персоны и нажмите на кнопку добавления документа';
    color: red;
}

.thx-docs {
    font-size: 30px;
    font-weight: bold;
    font-family: "Oranienbaum", serif;
}

.person_doc_item + .person_doc_item {
    margin-top: 25px;
}

.person_doc_item > a img {
    width: 40px;
    transition: 0.5s;
}

.person_doc_item > a {
    display: flex;
    gap: 10px;
    align-items: center;
    text-decoration: none;
    text-transform: uppercase;
    color: #000;
    font-weight: bold;
    font-size: 14px;
    transition: 0.5s;
}

.person_doc_item > a:hover {
    color: #AD001D;
}

/*.person_doc_item > a:hover img {*/
/*    opacity: 0.6;*/
/*}*/

.doc_comment {
    font-size: 14px;
    color: #555;
    margin-top: 5px;
    padding-left: 5px;
}

.remove-event-btn {
    background: url(/images/design/delete.png) no-repeat center;
    background-size: 20px;
    width: 20px;
    height: 20px;
    font-size: 0;
    cursor: pointer;
    transition: 0.5s;
}

.remove-event-btn:hover {
    opacity: 0.6;
}

.event-added .update_event {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.person-teaser.person_was_not_born .pt-photo img,
.person-full-page.person-was-not-born .pfp-photo img{
    display: none;
}

.person-teaser.person_was_not_born .pt-photo,
.person-full-page.person-was-not-born .pfp-photo{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.person-full-page.person-was-not-born .pfp-photo {
    aspect-ratio: 1 / 1;
    width: 100%;
}

.person-teaser.person_was_not_born .pt-photo::before,
.person-full-page.person-was-not-born .pfp-photo::before{
    content: "";
    position: absolute;
    width: 70%;
    height: 70%;
    background-color: #C4C3BC;
    transform: rotate(45deg);
    box-sizing: border-box;
}

.person-teaser.gender_W.teaser_my_person.person_is_direct.person_was_not_born .pt-photo::before,
.main_gender_W.main_my_person.person_is_direct.person-was-not-born .pfp-photo::before{
    border: 2px solid #683594;
}

.person-teaser.gender_M.teaser_my_person.person_is_direct.person_was_not_born .pt-photo::before,
.main_gender_M.main_my_person.person_is_direct.person-was-not-born .pfp-photo::before{
    border: 2px solid #F06664;
}

.search-h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

.person-teaser-list + .search-h3 {
    margin-top: 50px;
}

.person_was_not_born_edit_page .field-photo,
.person_was_not_born_edit_page .field-familiya-first,
.person_was_not_born_edit_page .field-rodstvo,
.person_was_not_born_edit_page .field-rodstvo + .hide-label,
.person_was_not_born_edit_page .field-nationality,
.person_was_not_born_edit_page .field-source,
.person_was_not_born_edit_page .field-education,
.person_was_not_born_edit_page .field-job,
.person_was_not_born_edit_page .field-military,
.person_was_not_born_edit_page .field-awards,
.person_was_not_born_edit_page .field-repressed{
    display: none;
}

.document_edit_buttons {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.delete-button {
    background: url(/images/design/delete.png) no-repeat center;
    background-size: 20px;
    width: 20px;
    height: 20px;
    font-size: 0;
    cursor: pointer;
    transition: 0.5s;
    display: block;
}

.delete-button:hover {
    opacity: 0.6;
}

.rsform-dir-input-value #field-docfile {
    margin-top: 10px;
}

.book-item {
    border: 1px solid #eee;
    padding: 10px 15px;
    margin-bottom: 20px;
    transition: 0.5s;
}

.teaser-item:last-child .book-item {
    margin-bottom: 0;
}

.book-name {
    font-weight: bold;
    line-height: 1.3;
}

.book-region {
    margin-top: 5px;
    font-size: 14px;
    color: #777;
}

a.book-link {

}

.userChangeBlock-container {
    margin-top: 50px;
    text-align: center;
}

.userChangeBlock-container a.open-popup-link {
    text-decoration: none;
    border-bottom: 1px dashed;
}

.userChangeBlock-container a.open-popup-link:hover {
    border-bottom: none;
}

.userChangeBlock-button {
    display: flex;
    width: 100%;
    justify-content: center;
}

.user-processing-result {
    margin-bottom: 20px;
    border: 2px solid;
    padding: 20px 30px;
    border-radius: 20px;
    line-height: 1.3;
}

.user-processing-result.upr-error {
    border-color: tomato;
}

.user-processing-result.upr-success,
.user-processing-result.upr-success .upr-message{
    border-color: green;
}

.upr-message {
    font-weight: bold;
    font-size: 18px;
}

.user-processing-result.upr-error .upr-message {
    color: red;
}

.upr-login-message {
    margin-top: 15px;
    margin-bottom: 10px;
    text-decoration: underline;
}

.upr-value {
    font-weight: bold;
}

.upr-login-item + .upr-login-item {
    margin-top: 5px;
}

.upr-go-to-my-family {
    margin-top: 25px;
}

.toggle-description {
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px dashed;
    color: #333;
}

.book-text {
    padding-top: 5px;
}

.submission .element-checkbox label.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.submission .element-checkbox label.checkbox input {
    width: 20px;
    height: 20px;
}

.grand-style .items {
    margin: 0 !important;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.grand-style .teaser-item {
    width: calc(25% - 23px);
    padding: 0 !important;
    overflow: unset !important;
}

.grand-style .IF_media {
    position: relative;
    width: 100%;
    padding-top: 100%; /* делаем квадрат */
    overflow: hidden;
    background-color: #f0f0f0;
}

.grand-style .IF_media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.grand-style .IF-item-teaser {
    padding: 20px;
    box-shadow: 0 4px 40px 0 rgba(44,42,42,.15);
    height: 100%;
    position: relative;
    transition: 0.2s;
}

.grand-style .IF_title {
    font-weight: bold;
    text-align: center;
    line-height: 1.3;
}

.grand-style .IF_media + .IF_title {
    margin-top: 15px;
}

.grand-style .IF-item-teaser .person_fio_zoo {
    font-size: 16px;
    margin-bottom: 15px;
    text-align: center;
}

.grand-style .IF-item-teaser > a {
    position: absolute;
    font-size: 0;
    inset: 0;
}

.grand-style .IF-item-teaser:hover {
    box-shadow: 0 4px 40px 0 rgba(44,42,42,.3);
}

.dj-megamenu-default li ul.dj-submenu>li>a {
    font-size: 16px;
    line-height: 1.3;
}

.pos-item-author-info {
    margin-top: 30px;
    font-weight: bold;
    font-size: 18px;
}

.pos-item-author-info h3 {
    font-size: 18px !important;
    margin: 0 0 3px !important;
    color: #777;
}

.tanay_popup-link a {
    display: none;
}

.popup-btns {
    display: flex;
    gap: 20px;
}

.pos-links-buttons .element a {
    font-size: 18px;
    background: #fff;
    padding: 20px 30px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    display: block;
    text-align: center;
    box-sizing: border-box;
    transition: 0.5s;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    width: calc(25% - 23px);
}

.pos-links-buttons .element a:hover {
    background: #f6f6f6;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.pos-links-buttons .element {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 30px;
}

#yoo-zoo .floatbox {
    overflow: unset;
}

.pos-description + .pos-links-buttons {
    margin-top: 30px;
}

body.itemid-174 .editor-xtd-buttons {
    display: none;
}

joomla-editor-codemirror > .small.float-end {
    display: none;
}

.simple-table {
    width: 100%;
}

.simple-table td,
.simple-table th{
    padding: 5px 10px;
    border: 1px solid #ddd;
}

.mt40 {
    margin-top: 40px;
}


.mb40 {
    margin-bottom: 40px;
}

.rodorad-buttons-block {
    position: relative;
    z-index: 9;
    padding: 5px 0;
    margin-top: 10px;
}

.rodorad-buttons-block form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.generate_table_to_pdf_form + .rodorad-buttons-block {
    margin-top: 30px;
}

.generate_table_to_pdf_form + .rodorad-buttons-block form {
    justify-content: center;
}

.submission .rodorad-textarea {
    visibility: hidden;
}

.submission .rodorad-textarea.show-lines {
    visibility: visible;
}

.megamenu li.itemid175 {
    display: none;
}

.person_BirthDeathPlace {
    display: none;
}

.dj-megamenu-default li.itemid176,
.dj-megamenu-default li.itemid177,
.dj-megamenu-default li.itemid178{
    display: none;
}

.dj-mobile-light .itemid-175 {
    display: none;
}

.btn.btn-secondary.input-password-toggle {
    padding: .375rem .75rem;
}


@media (min-width: 1001px) {
    .header-content form.form-vertical {
        display: block !important;
    }

}


@media (max-width: 1440px) {
    .adaptive-layout .site-block {
        box-sizing: border-box;
    }
}

@media (max-width: 1200px) {
    .adaptive-layout .person-teaser {
        width: calc(33.333% - 14px);
    }

    body.news .teaser-item .element-itemname{
        font-size: 16px;
    }

    .news-item-module .element-itemname {
        font-size: 14px;
    }

    .module-title {
        font-size: calc(1.375rem + 1.5vw);
    }

    .grand-style .teaser-item {
        width: calc(33.333% - 20px);
    }

}


@media (max-width: 1000px) {
    .adaptive-layout .header-content {
        flex-wrap: wrap;
        gap: 0 20px;
    }

    .adaptive-layout .logo-text {
        text-align: right;
        width: calc(100% - 125px);
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 20px;
    }

    .adaptive-layout .logo-text > a {
        width: 100%;
        padding-left: 25px;
    }

    .adaptive-layout .header-content form.form-vertical {
        width: calc(100% + 40px);
        display: none;
        position: absolute;
        background: #f2f2f2;
        padding: 20px;
        left: -20px;
        right: -20px;
        top: 20px;
        border-top: 1px solid #e8e8e8;
    }

    .adaptive-layout .profile-module-header {
        width: 100%;
        position: relative;
    }

    .adaptive-layout .logo-text > a img {
        max-width: 700px;
    }

    .adaptive-layout .logo-main {
        width: auto;
        min-width: unset;
    }

    .adaptive-layout .top-mobile-buttons {
        display: flex !important;
        gap: 15px;
    }

    .adaptive-layout .top-mobile-buttons > div {
        width: 41px;
        height: 41px;
        cursor: pointer;
        background: #fff;
        border-radius: 50%;
        padding: 10px;
        border: 1px solid #e8e8e8;
        box-sizing: border-box;
        transition: 0.5s;
    }

    .adaptive-layout .top-mobile-buttons > div:hover,
    .adaptive-layout .top-mobile-buttons > div.opened{
        border-color: #FE7F39;
    }

    .adaptive-layout .top-mobile-buttons > div img {
        max-width: 100%;
        display: block;
        opacity: 0.6;
    }

    .adaptive-layout .user-fio-logout,
    .adaptive-layout .user-main-buttons{
        justify-content: center;
    }

    .adaptive-layout .user-fio-logout .user-fio {
        max-width: unset;
    }

    /*.adaptive-layout .top-login-module {*/
    /*    display: none;*/
    /*}*/

    .adaptive-layout .pfp-content {
        justify-content: unset;
    }

    .adaptive-layout .pfp-column.pfp-col3 {
        width: 100%;
    }

    .adaptive-layout .pfp-column.pfp-col1 {
        width: 35%;
    }

    .adaptive-layout .pfp-column.pfp-col2 {
        width: calc(65% - 50px);
    }

    ul.submissions > li h3 span {
        display: block;
        padding: 5px 0;
    }

    body.itemid-152 #yoo-zoo .items div.media-left {
        max-width: 300px;
    }

    .tree-table-mobile-info {
        display: block !important;
        text-align: center;
        margin-bottom: 15px;
        font-weight: bold;
        font-size: 14px;
    }

    .footer-container {
        flex-wrap: wrap;
    }

    body.news #yoo-zoo .items div.teaser-item,
    .news-item-module {
        width: calc(50% - 15px);
    }

    .pos-links-buttons .element a {
        width: calc(33.333% - 20px);
    }

}

@media (max-width: 920px) {
    .adaptive-layout .person-teaser {
        width: calc(50% - 10px);
    }

    .grand-style .teaser-item {
        width: calc(50% - 15px);
    }

}

@media (max-width: 800px) {

    .one-item-content {
        width: calc(100% - 220px);
    }

    h3.interest-facts-title {
        width: 100%;
    }

    body.itemid-152 #yoo-zoo .items div.media-left {
        max-width: 200px;
    }

    .zoo-3-item-line .items .teaser-item {
        width: 100%;
        max-width: 500px;
        margin: 0 auto !important;
    }

    .footer-container > div {
        width: calc(50% - 25px);
    }

    body.news #yoo-zoo .item div.pos-sidebar {
        float: none;
        margin: 0 0 20px;
        width: 100%;
    }

    .pos-links-buttons .element a {
        width: calc(50% - 15px);
    }

}

@media (max-width: 700px) {
    .login-popup .universal_popup_content {
        height: 350px;
    }
}

@media (max-width: 650px) {
    .adaptive-layout .pfp-header-buttons {
        width: 100%;
        order: -1;
    }

    .adaptive-layout a.person-delete-button {
        margin-left: auto;
    }

    .adaptive-layout .pfp-full-line .person-field-value,
    .adaptive-layout .one_item_text{
        font-size: 14px;
    }

    #yoo-zoo .item div.sidebar-right {
        float: none;
        margin: 0 0 20px;
        width: 100%;
    }

    .one_item_name {
        font-size: 18px;
    }

    .one-item-gallery {
        justify-content: center;
    }

    ul.submissions > li h3 {
        font-size: 18px;
    }

    .submission-interest-fact-fio-list {
        font-size: 14px;
        line-height: 1.3;
    }

    ul.submissions > li h3 span {
        font-size: 12px;
    }

}


@media (max-width: 576px) {
    .view-userprofile .cb_tab_html .cbProfileTitle h3 {
        text-align: center;
    }

    .cbMngConnButtons .btn-primary {
        width: 100%;
    }

    .pos-links-buttons .element a {
        width: 100%;
    }

}


@media (max-width: 550px) {
    .adaptive-layout .one_item_media,
    .adaptive-layout .one-item-content{
        width: 100%;
    }

    .cbProfileEditButtons > div {
        flex-wrap: wrap;
    }

    .cbEditProfile .form-auto .form-control {
        width: 100%;
    }

    .zoo-3-item-line .items {
        gap: 20px;
    }

    .message-request {
        background-position-x: center;
        background-size: 30px;
        background-position-y: 15px;
        padding: 55px 20px 20px;
    }

    .message-request-title {
        text-align: center;
    }

    .message-request-author,
    .message-request-buttons,
    .message-request-text{
        font-size: 14px;
    }

    body.news .teaser-item .element-itemcreated,
    .news-item-module .element-itemcreated{
        font-size: 14px;
    }

    body.news .teaser-item .element-itemname,
    .news-item-module .element-itemname {
        font-size: 15px;
    }

    body.news .items,
    .zoo-module-news-list {
        gap: 20px;
    }

    body.news #yoo-zoo .items div.teaser-item,
    .zoo-module-news-list .news-item-module{
        width: calc(50% - 10px);
    }

    .grand-style .teaser-item {
        width: 100%;
    }

}



@media (max-width: 500px) {

    .adaptive-layout .brand-logo img {
        width: 70px;
    }

    .adaptive-layout .logo-text > a {
        display: none;
    }

    .adaptive-layout .logo-text-mobile {
        display: block !important;
        width: 100%;
        padding-bottom: 20px;
    }

    .adaptive-layout.simple-page .pos-description {
        font-size: 14px;
    }

    .adaptive-layout .mod-breadcrumbs__wrapper {
        font-size: 13px;
    }

    .rsform-simple-js-modal-content {
        width: 100%;
        height: calc(100% - 30px);
        bottom: 0;
        max-height: 100%;
        top: unset;
        transform: none;
        left: 0;
        padding: 20px;
    }

    .adaptive-layout .rsform-block label.formControlLabel {
        font-size: 14px;
    }

    .adaptive-layout .rsform-block input[type="file"] {
        font-size: 14px;
    }

    .adaptive-layout .pfp-column.pfp-col1,
    .adaptive-layout .pfp-column.pfp-col2 {
        width: 100%;
    }

    .adaptive-layout .rsform-dir-row input[type="file"] {
        font-size: 14px;
    }

    .cb_template_default.cbRegistration {
        padding: 0;
        box-shadow: none;
    }

    .one-item-gallery > * {
        width: 100%;
        text-align: center;
    }

    #item-submission .element-image input[type="text"] {
        display: none;
    }

    body.itemid-152 #yoo-zoo .items div.media-left {
        max-width: 100%;
        width: 100%;
        margin: 0 0 20px;
        float: none;
    }

    .person_fio_zoo {
        font-size: 16px;
    }

    .table-person-count-info {
        text-align: center;
        margin-top: 0;
    }

    .adaptive-layout .person-teaser {
        width: 100%;
    }

    .person-teaser .pt-photo {
        margin: 0 20px 0 0;
        max-width: 70px;
    }

    .person-teaser > a {
        padding: 10px;
    }

    .pt-data-parent {
        width: calc(100% - 90px);
    }

    .pt-data-parent > div {
        text-align: left !important;
    }

    .footer-container > div {
        width: 100%
    }

    .footer-logo {
        display: none;
    }

    .footer-container {
        padding-bottom: 20px;
        gap: 30px;
    }

    .copyright br {
        display: none;
    }

    body.news #yoo-zoo .items div.teaser-item,
    .zoo-module-news-list .news-item-module{
        width: 100%;
    }

    .maincontent +.main-news {
        margin-top: 50px;
    }

    .zoo-item-module-header {
        gap: 10px;
        margin-bottom: 25px;
    }

    .zoo-item-module-link {
        font-size: 16px;
        margin-top: 20px;
    }

    .upr-message {
        font-size: 16px;
    }

    .user-processing-result {
        font-size: 14px;
        padding: 15px 20px;
    }


}

@media (max-width: 450px) {

    .universal_popup_content {
        width: 100%;
        height: calc(100% - 30px);
        bottom: 0;
        max-height: 100%;
        top: unset;
        transform: none;
        left: 0;
        padding: 20px;
    }

    .login-popup .universal_popup_content {
        width: 85%;
        transform: translate(-50%, -50%);
        top: 50%;
        left: 50%;
        height: 350px;
        padding: 50px 30px 30px;
    }

    .login-form-buttons {
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 30px;
    }

    .login-form-buttons > div,
    .login-form-buttons > div button,
    .login-form-buttons > div a{
        width: 100%;
        margin: 0;
        font-size: 14px;
    }

    .login-popup input[type="text"],
    .login-popup input[type="password"]{
        font-size: 14px;
    }

    .single-checkbox {
        font-size: 14px;
    }

    .cbRegistrationDiv .form-group > label,
    .cbPasswordUnmaskShow,
    label[for="cb_sex__cbf0"],
    label[for="cb_sex__cbf1"]{
        font-size: 14px !important;
    }

    .cb_template_default.cbRegistration h3.cbRegistrationTitle {
        font-size: 25px;
    }

    .cb_template_default.cbRegistration input[type="password"] {
        max-width: calc(100% - 90px);
    }

    .nav.nav-tabs .nav-link {
        padding: 7px 10px;
    }

    .cb_template .dropdown-item {
        font-size: 14px;
    }


}

@media (max-width: 400px) {
    .cbUserListSearchFields {
        flex-wrap: wrap;
    }

    .view-userprofile .cbCanvasLayoutMenu li.list-group-item.cbMenuItem {
        width: 100%;
    }

    .search-param {
        width: 100%;
    }
}

@media (max-width: 380px) {
    .profile-edit-btn a {
        font-size: 12px;
    }

    .view-userprofile .cb_tab_html .cbProfileTitle h3 {
        font-size: 16px !important;
    }
}




