/* CMS page content */

/*.aimeos.cms-page {*/
/*	padding: 0;*/
/*}*/

/*.aimeos.cms-page .container-xl {*/
/*	padding-top: 2rem;*/
/*	padding-bottom: 2rem;*/
/*}*/

/*.aimeos.cms-page h1 {*/
/*	font-size: 200%;*/
/*	margin-bottom: 2rem;*/
/*}*/

/*.aimeos.cms-page h2 {*/
/*	font-size: 150%;*/
/*	margin-bottom: 1.5rem;*/
/*}*/

/*.aimeos.cms-page h3 {*/
/*	font-size: 125%;*/
/*	margin-bottom: 1rem;*/
/*}*/

/*.aimeos.cms-page h1,*/
/*.aimeos.cms-page h2 {*/
/*	position: relative;*/
/*	padding-bottom: 0.5rem;*/
/*	margin-top: 0.5rem;*/
/*	text-align: center;*/
/*}*/

/*.aimeos.cms-page h1:before,*/
/*.aimeos.cms-page h2:not([itemprop]):before,*/
/*.aimeos.cms-page h1:after,*/
/*.aimeos.cms-page h2:not([itemprop]):after {*/
/*	content: "";*/
/*	margin: 0 auto;*/
/*	position: absolute;*/
/*	bottom: 0;*/
/*	right: 0;*/
/*	left: 0;*/
/*}*/

/*.aimeos.cms-page h1:before,*/
/*.aimeos.cms-page h2:not([itemprop]):before {*/
/*	border-bottom: #CCCCCC;*/
/*	border-bottom: 1px solid var(--ai-primary-light, #CCCCCC);*/
/*	width: 12rem;*/
/*}*/

/*.aimeos.cms-page h1:after,*/
/*.aimeos.cms-page h2:not([itemprop]):after {*/
/*	border-bottom: #282828;*/
/*	border-bottom: 1px solid var(--ai-primary, #282828);*/
/*	width: 6rem;*/
/*}*/

/*.aimeos.cms-page .background {*/
/*	display: flex;*/
/*	flex-direction: column;*/
/*	justify-content: center;*/
/*	background-color: #F5F5F5;*/
/*	background-repeat: no-repeat;*/
/*	background-size: cover;*/
/*	text-align: center;*/
/*	color: #FFFFFF;*/
/*	padding: 2rem 0;*/
/*}*/

/*.aimeos.cms-page .background h1,*/
/*.aimeos.cms-page .background h2,*/
/*.aimeos.cms-page .background h3,*/
/*.aimeos.cms-page .background h4,*/
/*.aimeos.cms-page .background h5,*/
/*.aimeos.cms-page .background h6 {*/
/*    color: inherit;*/
/*}*/

/*!*.aimeos.cms-page .background[data-background] {*!*/
/*!*	font-size: 4vw;*!*/
/*!*}*!*/

/*.aimeos.cms-page .contact-pot {*/
/*	display: none;*/
/*}*/

/*.aimeos.cms-page .contact-form .btn {*/
/*	margin: auto;*/
/*	margin-top: 2rem;*/
/*	display: inherit;*/
/*}*/

/*.aimeos.cms-page .catalog-list .slider-nav::after,*/
/*.aimeos.cms-page .catalog-list .slider-nav-round .slider-nav::before,*/
/*.aimeos.cms-page .catalog-list .slider-nav-square .slider-nav::before {*/
/*	background-color: var(--ai-primary, #282828);*/
/*}*/

.aimeos.cms-page .container {
    position: relative;
}

.aimeos.cms-page  .cats-home__item a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}
.aimeos.cms-page .cats-home__item {
    position: relative;
    height: 480px;
}

@media (max-width: 1024px) {
    .aimeos.cms-page .cats-home__item {
        height: 320px;
    }
}

@media (max-width: 768px) {
    .aimeos.cms-page .cats-home__item {
        height: 240px;
    }
}

.aimeos.cms-page .cats-home__image {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aimeos.cms-page .cats-home__caption {
    background: var(--ai-bg, #fff);
    min-width: 264px;
    padding: 12px 24px;
    position: absolute;
    bottom: 0;
    left: 0;
    box-sizing: border-box;
}

.aimeos.cms-page .cats-home__name {
    line-height: 1.2;
    margin: 0;
    margin-bottom: 4px;
    font-weight: 500;
    font-size: 18px;
}
.aimeos.cms-page .cats-home__count {
    line-height: 1.2;
    margin: 0;
    font-weight: 700;
    color: var(--ai-secondary, #282828);
}
.aimeos.cms-page .info-home a{
    display: block;
    height: 100%;
}

.aimeos.cms-page .info-home__item {
    padding: 2rem 1rem;
    text-align: center;
    background-image: url(/images/back.jpg);
    background-size: 20px;
    background-repeat: repeat;
    border-radius: var(--ai-border-radius, 0.25rem);
    height: 100%;
}
.aimeos.cms-page .info-home__title {
    font-size: 18px;
    margin-bottom: .5rem;
    font-weight: 500;
}
.aimeos.cms-page .info-home__text {}
.aimeos.cms-page .info-home__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--ai-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    margin-bottom: 1rem;
}
.aimeos.cms-page .info-home__icon img {
    display: block;
    width: 56px;
}

.aimeos.cms-page .font-light {
    font-weight: 300;
    font-size: 14px;
}

.articleslist-grid .font-light {
    margin-bottom: 1rem;
}

.articleslist-item-media {
    margin-bottom: 24px;
    display: block;
}

.articleslist-item-media img {
    aspect-ratio: 632 / 300;
    object-fit: cover;
}

.articleslist-item-name {
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 0.5rem;
}
.articleslist-item-desc {
    margin-bottom: 2rem;
}
.articleslist-item-link {
    display: flex;
    align-items: center;
}
.articleslist-item-link svg {
    margin-left: 8px;
}
.articleslist-grid {
    margin-bottom: 40px;
}
.articleslist-grid .row {
    grid-gap: 40px 0;
}

.aimeos.cms-page .articleslist-sort {
	display: flex;
    align-items: center;
    position: absolute;
    right: 0;
    bottom: calc(100% + 25px);
}
@media (max-width: 768px) {
    .aimeos.cms-page .articleslist-sort {
        position: relative;
        margin-top: -24px;
        margin-bottom: 32px;
    }
}

.aimeos.cms-page .articleslist-sort a {
	font-weight: 500;
    margin-left: 8px;
    display: flex;
    align-items: center;
}

.aimeos.cms-page .articleslist-sort a svg {
    height: 1.8em;
    width: auto;
    margin-left: 4px;
    margin-bottom: -0.2em;
}

.article-head {
    margin-bottom: 3rem;
    padding-top: 1rem;
}

@media (min-width: 1024px) {
    .article-head {
        padding-top: 4rem;
    }
}


.cms-page-content>.container>h3 {
    font-size: 36px;
    padding-bottom: 12px;
    position: relative;
    margin: 48px 0;
    text-align: center;
}
.cms-page-content>.container>h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -120px;
    width: 240px;
    height: 2px;
    background-color: var(--ai-primary, #282828);
}



.header-type-underline {
    padding-bottom: 12px;
    position: relative;
    text-align: center;
}
.header-type-underline:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -120px;
    width: 240px;
    height: 2px;
    background-color: var(--ai-accent, #282828);
}
/* .cms-page-content>img, .cms-page-content figure {
    margin-top: 24px;
    margin-bottom: 32px;
} */

.cms-page-content h1 {
    margin-bottom: 24px;
}
/* .cms-page-content p {
    margin: 1em 0;
} */
.cms-page-content figure img {
    margin-bottom: 16px;
}
.cms-page-content figcaption {
    font-size: 14px;
    line-height: 1;
    color: #1C1C1E;
    display: flex;
    align-items: center;
}
.cms-page-content figcaption:before {
    content: '';
    display: inline-block;
    width: 2px;
    height: 18px;
    margin-right: 8px;
    background-color: #1C1C1E;
}
.cms-page-content p:last-child, .cms-page-content *:last-child {
    margin-bottom: 0;
}


.aimeos.cms-page .cms-page-content>h3 {
    font-weight: 500;
    font-size: 18px;
    margin: 1em 0;
}
.aimeos.cms-page h1.article-title {
    font-weight: 500;
    font-size: 2rem;
    margin-bottom: 48px;
}

.aimeos.cms-page .cms-title {
    font-weight: 500;
    font-size: 2rem;
    margin-bottom: 24px;
}

.aimeos.cms-page h1.article-title:last-child {
    margin-bottom: 0;
}
.aimeos.cms-page .flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Social section */
.aimeos.cms-page .article-social {
	margin: 0;
    display: flex;
    grid-gap: 0.5rem;
}

.aimeos.cms-page .article-social .social-button {
	font: normal normal normal 14px/1 bootstrap-icons;
	font-size: 175%;
	display: inline-block;
	text-decoration: none;
	background: none;
	border: none;
	margin: 0;
	padding: 0;
	color: var(--ai-secondary-dark);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: #EEF1F4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aimeos.cms-page .article-social .social-button:hover {
	color: var(--ai-primary-light);
}

.aimeos.cms-page .article-social .social-button:before {
	display: inline-block;
	padding: 0.625rem;
}

.aimeos.cms-page .article-social .social-button-facebook:before {
	content: "\f344";
}

.aimeos.cms-page .article-social .social-button-copy:before {
    content: "";
    background-image: url("/images/icons/link.svg");
    width: 1em;
    height: 1em;
    background-position: center;
    background-repeat: no-repeat;
}
.aimeos.cms-page .article-social .social-button-vk:before {
    content: "";
    background-image: url("/images/icons/vk.svg");
    width: 1em;
    height: 1em;
    background-position: center;
    background-repeat: no-repeat;
}

.aimeos.cms-page .article-social .social-button-ok:before {
	content: "";
    background-image: url("/images/icons/ok.svg");
    width: 1em;
    height: 1em;
    background-position: center;
    background-repeat: no-repeat;
}

.aimeos.cms-page .article-social .social-button-whatsapp:before {
	content: "\f618";
}

.aimeos.cms-page .article-social .social-button-twitter:before {
	content: "\f5ef";
}

.aimeos.cms-page .article-social .social-button-pinterest:before {
	content: "\f663";
}


.aimeos .breadcrumbs {
    margin-bottom: 24px;
    color: #7E7F80;
}
.aimeos .breadcrumbs a.breadcrumbs-link {
    color: #7E7F80;
}


.cms-page-content ul {
    list-style: disc;
    padding-left: 1em;
    margin-bottom: 1rem;
}

.cms-page-content ol {
    list-style: decimal;
    padding-left: 1em;
    margin-bottom: 1rem;
}


.cms-page-content ol.list--big {
    list-style: none;
    padding-left: 0;
    counter-reset: my-counter;
    margin-bottom: 1rem;
}
.cms-page-content ol.list--big li {
    margin-bottom: 2rem;
}
.cms-page-content ol.list--big li::before {
    display: inline-flex;
    counter-increment: my-counter;
    content: counter(my-counter);
    border: 1px solid var(--ai-accent, #282828);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--ai-accent);
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.article-title {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 24px;
}

.inner .article-title:first-child {
    margin-top: 0;
}
.article-text p {
    margin-bottom: 1em;
    white-space: pre-line;
}
.article-text p:last-child {
    margin-bottom: 0;
}
.article-title h2{
    margin: 0;
}
.article-image, .article-text {
    margin-bottom: 2rem;
    margin-top: 2rem;
}
.article-image:last-child, .article-text:last-child {
    margin-bottom: 0;
}
.article-image:first-child {
    margin-top: 0;
}
.article-image img {
    border-radius: 8px;
}





.page-success-message .btn-close {
    position: absolute;
    right: 0;
    top: 0;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}


@keyframes slideDown {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.page-success-message.fade-out {
    animation: fadeOut 0.1s ease-in forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Стили для поля загрузки файлов */
.file-upload-container {
    margin-top: 10px;
}

.file-upload-area {
    position: relative;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fff;
    margin-bottom: 15px;
    width: 497px;
    max-width: 100%;
}

.file-upload-area:hover {
    border-color: #007bff;
    background-color: #e7f3ff;
}

.file-upload-area.dragover {
    border-color: #007bff;
    background-color: #e7f3ff;
    transform: scale(1.02);
}

.file-upload-placeholder {
    pointer-events: none;
    display: flex;
    align-items: center;
    text-align: left;
}

.file-upload-placeholder svg {
    width: 44px;
    min-width: 44px;
    height: 44px;
}

.file-upload-placeholder i {
    font-size: 48px;
    color: #6c757d;
    margin-bottom: 15px;
    display: block;
}

.file-upload-placeholder p {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #495057;
}

.file-upload-placeholder small {
    color: #6c757d;
    font-size: 14px;
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-list {
    display: none;
}

.file-list.has-files {
    display: block;
}

.file-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}


.file-item-info {
    display: flex;
    align-items: center;
    min-width: 0;
}

.file-icon {
    margin-right: 12px;
    font-size: 20px;
    color: #6c757d;
}

.file-details {
    flex: 1;
    min-width: 0;
}

.file-name {
    font-weight: 500;
    color: #C01A70;
    margin-bottom: 2px;
    word-break: break-word;
}

.file-size {
    font-size: 12px;
    color: #6c757d;
}

.file-remove {
    background: none;
    border: none;
    color: #AAAAAA;
    font-size: 42px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    margin-left: 12px;
    flex-shrink: 0;
}


.file-upload-error {
    color: #dc3545;
    font-size: 14px;
    margin-top: 8px;
    display: none;
}

.file-upload-error.show {
    display: block;
}

/* Анимации для файлов */
.file-item {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.file-item.removing {
    animation: slideOut 0.3s ease-in forwards;
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.gallery-residents-wrapper {
    position: relative;
    z-index: 2;
}

.gallery-residents-wrapper .tns-outer{
    padding-top: 0;
}
.gallery-residents-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px;
    display: flex;
    gap: 5px;
}

.resident-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.resident-slide {
    position: relative;
    width: 100%;
    max-width: 100%;
}

.gallery-residents-nav button {
    margin: 0;
}

.empty-list {
    font-size: 40px;
    font-weight: 600;
    text-align: center;
    margin: 50px 16px;
    grid-column: 1 / -1;
}

.scroller-status {
    width: 100%;
    height: 100px;
}

.resident-prev {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    border-radius: 50%;
}
.resident-next {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    border-radius: 50%;
}

.resident-prev:hover, .resident-next:hover {
    background-color: rgba(255,255,255, 0.5);
    cursor: pointer;
}


.btn.active {
    background-color: #C01A70;
    border-color: #C01A70;
    color: #fff
}


.checkbox {
    display: flex;
    gap: 6px;
    align-items: center;
}

.checkbox input:checked, .checkbox input:checked:focus {
    background-color: #C01A70;
}

.tesident-tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.tag {
    font-size: 12px;
    background-color: #F3F3F3;
    padding: 0 3px;
    line-height: 1;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mark {
    background-color: #666666;
    font-size: 12px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 12px;
    left: 12px;
    height: 28px;
    z-index: 10;
    color: #fff;
}


.page-success-message {
    background-color: rgba(0, 0, 0, .4);
	position: fixed;
	height: 100vh;
	width: 100vw;
	bottom:0;
	right:0;
	left: 0;
	top:0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}
.success-message-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 362px;
    background-color: #fff;
    border-radius: 8px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #C01A70;
}


.air-datepicker {
    --adp-day-name-color: #C01A70;
    --adp-color-current-date: #C01A70;
    --adp-cell-background-color-selected: #C01A70;
    --adp-cell-background-color-selected-hover: #fff;
    --adp-cell-border-radius: 50%;
    --adp-font-family: "Acrom",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
    --adp-border-color: #1C1C1E;
    --adp-day-cell-width: 40px;
    --adp-day-cell-height: 40px;
    --adp-padding: 12px;
    --adp-width: 304px;
}

.air-datepicker-cell.-selected-,.air-datepicker-cell.-selected-.-current- {
    border: 1px solid var(--adp-cell-background-color-selected);
    background-color: #fff;
    color: #3C4045;
}

.air-datepicker--pointer {
    display: none;
}

.air-datepicker.-from-bottom- {
    margin-top: -12px;
}
.air-datepicker.-from-top- {
    margin-top: 12px;
}

.air-datepicker-cell.-day- {

}
