html {scroll-behavior: smooth; min-width: 350px;}
body {margin: 0; padding: 0; min-width: 350px; font-family: MyFont2,Verdana; font-size: 15px; /*letter-spacing: 0.05ex;*/ color: #585858; background: #f2f2f2;} 

body.mceContentBody { background-image: none; background: #fff;}
p { margin: 0 0 7px 0;}
img {display: block; border: none;}
a {color: #7e7f97; text-decoration: none; transition: 0.2s;}
a:hover { color:#777777; text-decoration: underline; opacity: .8;}
ul {margin: 0;}
table {border-collapse: collapse;}
hr {border: 1px solid #E3E7E8;}
#content hr {margin: 20px 0;}

/* ФОРМЫ и КНОПКИ */
button.button {margin: 10px 0 0 3px;}
input, textarea, div.cck_forms input.inputbox, div.cck_forms textarea.inputbox, div.cck_forms select.inputbox, div.cck_forms button.inputbox {border: solid 1px #a8a8a8 !important; border-radius: 4px; padding: 5px;}
.login-fields input#remember {margin-left: 0;}
input:hover, select:hover, textarea:hover { box-shadow: 0 0 12px #ebebeb inset;}
select {border: solid 1px #a8a8a8; border-radius: 4px; padding: 4px}
input.button {padding: 3px; margin-right: 5px;}
input.button:hover { box-shadow: 0px 0px 4px #a0a0a0;}
input.button:active { box-shadow: none;}
.login-fields label {display: inline-block; width: 130px;}
.login-fields input {margin-bottom: 10px;}
.plg_system_webauthn_login_button {display: none !important;}
fieldset {padding: 0; margin:0; border: none; text-align: left;}
label#jform_email-lbl {display: block; margin-bottom: 10px;}

.badge.bg-warning.text-light {padding: 5px 10px; background: #330066; font-size: 30px; color: #fff;}
/* /ФОРМЫ и КНОПКИ */

/* ТАБЛИЦЫ */
table {border-collapse: collapse; border-color: #e6d2ae;}
table thead tr td {background: #7c1b08; font: normal 16px MyFont; color: #fff; padding: 8px 12px; letter-spacing: 0.06ex; text-align: left; /*vertical-align: center;*/ border-color: #fff;}
table tr:nth-child(even) {background: #e6d2ae;}
table.no-zebra tr:nth-child(even) {background: none;}
table td {border-color: #e6d2ae; padding: 3px 5px;}
#content table td p {margin: 0;}

/* MAIN PAGE */
#top, #info, #footer, #info-top {margin: 0 auto 0; box-sizing: border-box; max-width: 1400px;}
#wrapper {position: relative; margin: 0 auto; max-width: 1920px;}

/* TOP */
#top-bgr {position: relative; background-image: url('/images/texture_dogs_full.png'); /*overflow: hidden;*/ }
#top-bgr::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;

    background: linear-gradient(
        to right,
        rgba(219,219,219,1) 0%,
        rgba(219,219,219,1) 50%,   /* 30% от 50% */
        rgba(219,219,219,0) 100%
    );

    pointer-events: none;
    z-index: 1;
}
#top {position: relative; display: flex; justify-content: space-between; align-items: center; margin-bottom: 0; padding: 0px 30px; font-size: 20px; z-index: 3;}
#top p {margin: 0; padding: 0;}
#top a:hover {text-decoration: none; opacity: .8;}

#top-left {
	position: relative; 
	display: flex; 
	align-items: center; 
	justify-content: start;
	box-sizing: border-box; 
	padding: 0; 
	height: 100%;
	width: 100%;
	min-width: 400px;
	color: #fff;
  z-index: 2;
}
#top-right {text-align: right; line-height: 1.6; z-index: 2;}
#top-right p {white-space: nowrap;}

.logo_top img {width: 190px; height: auto; opacity: .7;}
#top .chi_no_sh {margin: -10px 40px -10px 0; pointer-events: none; z-index: 4;}
#top .chi_no_sh img {width: 200px; height: auto; filter: drop-shadow(5px 5px 5px rgba(0,0,0,0.3));}
#top .logo_text {opacity: .50;}

.lang {margin-bottom: 30px;}
.lang p {display: none;}
/*
ul.lang-inline {margin: 0; padding: 0; font-size: 0; white-space: nowrap}
ul.lang-inline li {margin: 0; padding: 0;}
.lang a {display: block; font-size: 18px; background-color: #fff;}
div.mod-languages a {padding: 6px 15px;}
.lang li:first-child a {border-radius: 8px 0 0 8px;}
.lang li:last-child a {border-radius: 0 8px 8px 0;}
div.mod-languages ul li.lang-active {background-color: transparent;}
.lang li.lang-active a {background-color: #7e7f97; color: #fff;}
*/
div.mod-languages li {margin: 0; padding: 0;}
div.mod-languages a {padding: 6px 15px; background-color: #7e7f97; color: #fff; border-radius: 16px;}


#top .phone {line-height: 1.3;}
#top .phone a {font-size: 22px;font-family: MyFont2_B; color: #636363;}
#top .phone i {margin-right: 9px; font-size: 22px; color: #979797;}
#top .messengers i {margin-right: 9px;}
#top .messengers .phone_link {display: none; color: #468b35;}
#top .messengers i.bi-telegram {color: #70accb;}
#top .messengers i.bi-whatsapp {color: #53a65a;}
#top .messengers i.viber {margin-right: 0; color: #a77ac1;}
#top .soc_btns {margin-top: 10px;}
#top .soc_btns i {margin-right: 12px; font-size: 28px; color: #7e7f97; line-height: 1;}
#top .soc_btns a:last-child i {margin-right: 0;}
#top .soc_btns i.bi-facebook {color: #30629b;}
#top .soc_btns i.bi-instagram {color: #683c7c;}
#top .soc_btns i.bi-tiktok {color: #272727;}

@media screen and (max-width: 1120px) {
  #top .logo_text {display: none;}
}


/* MAIN MENU */
#menu {position: relative; display: flex; flex-direction: column; align-items: stretch; justify-content: center; background: #767676; z-index: 2;}
#menu .main_menu {display: flex; align-items: center; justify-content: center;}
#menu ul.nav {position: relative; display: flex; flex-wrap: wrap; column-gap: 0; row-gap: 15px; justify-content: center; margin: 0; padding: 0; text-align: center; z-index: 3;}
#menu ul.nav > li {position: relative; display: inline-block; list-style: none; margin: 0; padding: 0;}
#menu ul.nav > li.active > a, #menu ul.nav > li.active .nav-header, #menu .main_menu ul li ul li.active a {background-color: rgba(219, 219, 219, 0.5);}
#menu a, #menu .nav-header {display: inline-block; padding: 12px 18px; font-size: 17px; color: #fff; text-decoration: none;}
#menu .nav-header {cursor: default;}
#menu a:hover, #menu .nav-header:hover {background-color: rgba(219, 219, 219, 0.2); transition: 0.2s;}
/* DROPDOWN MENU */
#menu .main_menu ul li ul {
	position: absolute;
	left: 0;
	display: block;
	min-width: 145px;
	background: #767676;
	padding: 0;

  top: calc(100% - 5px); /* старт трохи вище */
	transform: translateY(0);
	opacity: 0;
	visibility: hidden;
	transition: 0.25s;

  border-radius: 0 0 10px 10px;
  box-shadow: inset 0 10px 15px -10px rgba(0,0,0,0.5);
  z-index: 1;
}
#menu .main_menu ul li ul li {display: block;}
#menu .main_menu ul li ul a {display: block; box-sizing: border-box; padding: 10px 0; width: 100%; font-size: 15px; color: #fff; white-space: nowrap;}
#menu .main_menu ul li ul li:last-child a {border-radius: 0 0 10px 10px;}
#menu .main_menu ul li:hover > ul {top: 100%; opacity: 1; visibility: visible;}
#menu .main_menu .item-144 a, #menu .main_menu .item-145 a {padding-bottom: 11px; font-family: MyFont2_b; color: #eac4e9; text-transform: uppercase;}
#menu .main_menu .item-144.active a, #menu .main_menu .item-145.active a {color: #f4e2f3;}

#menu .admin_menu {background: #e5e6f6; }
#menu .admin_menu a {color: #585b82;}

/* MENU MOBILE */
.btn_mobile_menu {display: none; position: fixed; top: 25px; right: 30px; padding: 12px 10px; background: #4c4c5c; cursor: pointer; transition: 0.2s; border-radius: 10px; z-index: 20; opacity: .7;}
.btn_mobile_menu:hover {opacity: .5;}
.hamburger {position: relative; width: 38px; height: 32px; z-index: 12;}
.hamburger span {display: block; width: 100%; height: 4px; background: #fff; margin: 10px 0; transition: all 0.3s;}
.hamburger span:first-child {margin-top: 0;}
.hamburger span:last-child {margin-bottom: 0;}
#menu_mobile {
    display: none;
    top: 0; left: 0; right: 0; bottom: 0;
    /*
    background: #fff;
    background-image: url(/images/logo_big_tr.png); background-repeat: no-repeat; background-position: bottom -50px right -38px; background-size: 320px;
    */
    background:
        url(/images/logo_big_tr.png) no-repeat bottom -50px right -38px / 320px,
        linear-gradient(45deg, rgb(255, 255, 255), rgb(235, 235, 235));
    z-index: 9999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 20px 30px 10px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* плавный скролл на iOS */
  }
#menu_mobile.is-open {opacity: 1; pointer-events: all;}
.menu-close-btn {position: fixed; top: 16px; right: 16px; background: none; border: none; cursor: pointer; font-size: 30px; color: #333; z-index: 10;line-height: 1;}
#menu_mobile ul, #menu_mobile li {margin: 0; padding: 0; list-style: none; text-align: center;}
#menu_mobile a {display: inline-block; font-size: 24px; text-decoration: none; text-transform: uppercase;}

#menu_mobile .admin_menu {margin-bottom: 22px; padding: 5px 25px; box-sizing: border-box; background: #f1ebf3; border-radius: 15px;}
#menu_mobile .admin_menu a {font-size: 19px;}

#menu_mobile ul.nav > li {padding: 6px 0;}
#menu_mobile ul li ul {display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; row-gap: 5px; padding: 3px 0; max-width: 180px;}
#menu_mobile ul li ul a {font-size: 19px; color: #b0b0bd; text-transform: lowercase;}
#menu_mobile .main_menu .item-144 a, #menu_mobile .main_menu .item-145 a {font-family: MyFont2_b; color: #a87ba7; text-transform: uppercase;}
.menu-overlay-logo {margin-top: 25px; margin-bottom: 0; width: 130px; opacity: .25;}
.menu-overlay-logo img {width: 100%; height: auto;}

@media screen and (max-width: 890px) {
  #top-bgr {background-color: #dbdbdb;}
  #top-bgr::after {
    background: linear-gradient(
        to right,
        rgba(219,219,219,1) 0%,
        rgba(219,219,219,1) 50%,   /* 30% от 50% */
        rgba(219,219,219,0) 100%
    );
  }
  #top-left {min-width: auto;}
  #menu {display: none;}
  #menu_mobile {position: fixed;}
  .btn_mobile_menu {display: block;}
  #menu_mobile {display: flex;}
  .lang {position: relative; top: 7px; margin-right: 80px;}
}
@media screen and (max-width: 710px) {
  #top {padding: 0 20px;}
  .logo_top img {width: 160px;}
  #top .chi_no_sh {margin: -10px 40px -10px 0;}
  #top .chi_no_sh img {width: 150px; filter: drop-shadow(3px 3px 5px rgba(0,0,0,0.5));}
  #top-right {align-self: flex-end; padding: 27px 0 14px;}
  .lang {position: relative; top: 0; margin-right: 0; margin-bottom: 24px; text-align: left;}
  ul.lang-inline li a {padding: 10px 14px; font-size: 20px;}
  .btn_mobile_menu {top: 14px; right: 20px;}
  #top .phone {display: none;}
  #top .messengers i {margin-right: 12px; font-size: 28px;}
  #top .messengers .phone_link {display: inline-block;}
  #top .soc_btns {margin-top: 0;}
}
@media screen and (max-width: 540px) {
  .logo_top img {width: 150px;}
  #top .chi_no_sh {display: none;}
}
@media screen and (max-width: 370px) {
  .logo_top img {width: 140px;}
}


/* SWIPER Slider */
.swiper {margin: 0;}
.swiper-slide {width: auto; display: flex; align-items: center;}
.swiper-slide img {height: 300px; width: auto; object-fit: contain; border-radius: 15px;}
.swiper-button-next, .swiper-button-prev {color: #fff; filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.4));}

.breadcrumbs .cck_module_breadcrumbs {display: flex; flex-wrap: wrap; column-gap: 4px; row-gap: 10px; font-size: 20px; color: #7e7e7e;}
.breadcrumbs a.pathway, span.pathway, span.pathway-last {padding: 8px 12px; font-size: 14px; color: #4a4b61; text-decoration: none; background: #e6e6e6; border-radius: 20px; white-space: nowrap;}
.breadcrumbs a.pathway {background-color: #dbd7e5;}

/* === CONTENT === */
#info-bgr {position: relative; padding: 25px 0 40px; min-height: 200px; /*background-image: url(/images/logo_big_tr.png); background-repeat: no-repeat; background-position: bottom -8% right -8%; background-size: 500px;*/}
#info-top, #info {position: relative; box-sizing: border-box; width: 100%; margin: 0 auto; padding: 0 35px;}
#info {position: relative; display: flex; justify-content: center;}
.blog-item {position: relative;}
#content .icons {display: none; position: absolute; top: 0; right: 20px; font-size: 20px; z-index: 3; color: #264791;}
#content .icons a {color: #264791;}
#content .icons div[role="tooltip"] {display: none;}
.item-page.contacts-page {position: relative;}
.mceDefaultSkin .mceLayout .mceBranding {display: none;}
@media screen and (max-width: 1100px) {
	#info {flex-direction: column;}
	#left {z-index: 3; position: sticky; top: 0; margin: 0 -35px; background: #f2f2f2; box-shadow: 0 10px 9px 0 rgba(38, 38, 37, 0.20);}
	#left .sticky_block {padding: 30px 0 10px;}
	#content {margin: 40px 0 0;}
}
@media screen and (max-width: 510px) {
  #info {padding: 0 15px 30px;}
}

#content {margin: 25px 0 0; width: 100%; vertical-align: top; line-height: 1.4; padding: 0;}
#content img {max-width: 100%;}
#content h1 {font: normal 24px MyFont2; margin: 0 0 22px 0; padding: 0 0 2px; letter-spacing: 0.06ex; color: #496311; text-decoration: none; border-bottom: 1px solid #949698; line-height: 1.6;}
#content h2, .mceContentBody h2 {margin: 0 0 20px 0; padding: 0; font: normal 29px MyFont2; color: #7f82a9; text-align: left; /*text-transform: uppercase; */letter-spacing: 0.06ex;}
#content h2 a, .mceContentBody h2 a {font-family: MyFont2_b; font-size: 26px; color: #919191; text-decoration: none; font-weight: normal; letter-spacing: 0.06ex;}
#content h2 a:hover, .mceContentBody h2 { text-decoration: underline; border: none;}
#content h3, .mceContentBody h3 {font: normal 23px MyFont2_b; margin: 0 0 8px; color: #919191;}
#content h4, .mceContentBody h4 {font: normal 18px MyFont2_B; margin: 14px 0 5px; color: #646464;}
#content h5, .mceContentBody h5 {font: normal 16px MyFont2_B; margin: 14px 0 5px; color: #646464;}
#content ul li, .mceContentBody ul li, #content ol li {margin-bottom: 4px;}
#content p { margin: 0 0 10px 0; line-height: 1.5;}
#content p.vezha_map {display: block; margin: 0; padding: 0; line-height: 1;}
#content p.vezha_map img {display: block; margin: 0; padding: 0;}
#content .blog-featured .clearfix {margin-bottom: 40px;}
#content .blog-featured .clearfix:last-child {margin-bottom: 0;}
#content .blog .items-leading > div {margin-bottom: 40px;}
#content .blog .items-leading > div:last-child {margin-bottom: 0;}

/* HOME PAGE */
.home-page #info-bgr {padding: 10px 0 35px;}
.h_logo_text {display: none; margin: 20px auto 0; max-width: 300px; opacity: .4;}
.h_logo_text img {width: 100%; height: auto;}
.n_item.home .edit_btn {position: absolute; top: 35px; right: 50px; font-size: 20px; z-index: 5; filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.5));}
.n_item.home .edit_btn a {color: #fff;}
.h_content {display: flex; align-items: stretch; gap: 30px;}
.h_text {width: 40%; display: flex; flex-direction: column; justify-content: space-between; gap: 20px}
#content .h_text p:last-child {margin: 0;}
.h_pict1.in-text {display: none;}
.h_pict1 {position: relative; width: 60%;}
.h_pict1::after {content: ""; position: absolute; inset: 0; background: url(/images/logo_white_w300.png) no-repeat top 20px right 20px / 230px; pointer-events: none; opacity: .7;}
.h_pict1 img {width: 100%; height: 100%; object-fit: cover; border-radius: 14px;}
a.btn {display: inline-block; padding: 15px 20px; background-color: #e5e6f6; font-family: MyFont2_b; font-size: 18px; text-decoration: none; color: #585b82; border: 1px solid #b3b5cd; border-radius: 28px;}
a.chi_hist.btn {padding-left: 60px; background: #e5e6f6 url(/images/bgr_1dog_violet.png) no-repeat left -40px top 5px / 80px auto;}
@media screen and (max-width: 940px) {
  .n_item.home {padding: 25px 30px;}
  .n_item.home .edit_btn {top: 20px; right: 30px;}
  .h_content {flex-direction: column;}
  .h_pict1 {display: none;}
  .h_pict1.in-text {display: block;}
  .h_text, .h_pict1 {width: 100%;}
  .h_pict1 {height: 450px;}
  .h_pict1::after {background-size: 180px;}
  .h_chi_hist {text-align: center;}
  .h_chi_hist a {text-align: left;}
}
@media screen and (max-width: 890px) {
  .home-page #content {margin-top: 10px;}
  .h_logo_text {display: block;}
}
@media screen and (max-width: 640px) {
  .h_logo_text {width: 75%;}
  .home-page #info-bgr {padding: 0 0 25px;}
  .n_item.home {padding: 15px 20px;}
  .h_pict1 {height: 320px;}
  .h_pict1::after {background-size: 150px;}
}
@media screen and (max-width: 450px) {
  .home-page #info-bgr {padding: 0 0 10px;}
  .home-page #content {margin-top: 10px;}
  .n_item.home {padding: 15px 15px;}
  .h_pict1 {height: 220px;}
  .h_pict1::after {background-size: 130px;}
}

.h_gallery {margin-top: 30px;}
.home_gallery {position: relative;}
.home_gallery .btn_edit {position: absolute; top: 10px; left: 15px; z-index: 2;}
.home_gallery .btn_edit a {color: #fff; font-size: 20px; filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.2));}

/*.blog-item {width: 100%;}*/
.blog-item {display: flex; flex-direction: column; align-items: stretch;}
.item-content:has(.about_us_cont) {align-self: center;}

/* DOG CARD FORM */
div.vertical div.cck_forms.cck_d_litter_letters, div.vertical div.cck_forms.cck_d_litter_num {width: auto;}
div.vertical div.cck_forms.cck_d_litter_letters {margin-right: 20px;}

/* DOG CARD */
.d_list {display: flex; flex-direction: column; gap: 30px;}
.d_item, 
.n_item {position: relative; overflow: hidden; padding: 25px 30px; border-radius: 17px; /*border: 1px solid #d9d9d9;*/ background-color: #fff; filter: drop-shadow(2px 2px 12px rgba(0,0,0,0.15));}
.d_item .btn_edit a, .d_item .btn_delete a,
.n_item .btn_edit a, .n_item .btn_delete a {position: relative; bottom: 3px; margin-left: 5px; font-size: 22px;}
.d_item .btn_edit a, .n_item .btn_edit a {color: #264791}
.d_item .btn_delete a, .n_item .btn_delete a {color: #a12b2b;}
.d_item .btn_edit div, .d_item .btn_delete div,
.n_item .btn_edit div, .n_item .btn_delete div {display: inline-block;}

.d_top {width: 100%;}
.d_title, 
.n_title {display: flex; justify-content: space-between; gap: 15px; margin: -25px -30px 14px; padding: 18px 30px; font-size: 28px; background: #f4efe6 url(/images/logo_big_tr.png) no-repeat top -100px right -38px / 220px;}
.male .d_title {background-color: #e3edf3;}
.female .d_title {background-color: #f1e9f1;}
.d_name {margin: 0; font-family: myFont2_b; color: #6e6e72;}
.d_name a {color: #797199}
.d_specs {display: flex; justify-content: flex-start; gap: 30px; margin-bottom: 25px;}
.d_specs span {display: block;}
.d_label {text-transform: lowercase; color: #a1a1a1;}
.d_value {font: normal 18px MyFont_B; color: #a4a4a4;}
.d_value a {color: #897698;}
.d_item.male .d_sex .d_value {color: #859fad;}
.d_item.female .d_sex .d_value {color: #b498b4;}

.d_content {display: flex; gap: 30px;}
.d_main_pict {width: 45%; height: 550px;}
.d_main_pict img {width: 100%; height: 100%; object-fit: cover; border-radius: 14px;}
.d_gal_descr {display: flex; flex-direction: column; gap: 30px; width: 55%;}
.d_item .swiper-slide img {height: 200px; width: auto; object-fit: contain; border-radius: 15px;}

.d_descr_wrapper {position: relative; box-sizing: border-box; padding: 15px; border-radius: 14px; background-color: #f3f3f3;}
.d_descr {position: relative; max-height: 241px; overflow: hidden; transition: max-height 0.35s ease;}
.item-page .d_descr {max-height: none;}
.d_descr::after { /* градієнт */
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 60px;
    pointer-events: none;
    background: linear-gradient(to bottom, transparent, #f3f3f3);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.d_descr.fade::after {opacity: 1;}
.d_descr.expanded::after {opacity: 0;}
#content .d_descr p {margin-bottom: 5px;}
.show_more_btn {display: none; margin-top: 10px; padding: 10px 14px; cursor: pointer; border: none; border-radius: 19px; background: #9a9bb4; font-family: MyFont2; font-size: 16px; color: #fff;}
.show_more_btn:hover {opacity: .7; transition: 0.2s;}

@media screen and (max-width: 900px) {
  #info-bgr {padding-bottom: 30px;}
  .d_specs {flex-wrap: wrap; row-gap: 9px;}
  .d_content {flex-direction: column;}
  .d_main_pict {width: 100%; height: 500px;}
  .d_gal_descr {width: 100%;}
}
@media screen and (max-width: 640px) {
  #info-bgr {padding-bottom: 20px;}
  #info-top, #info {padding: 0 20px;}
  .d_content {gap: 20px;}
  .d_item, 
  .n_item {padding: 15px 20px 15px;}
  .d_title,
  .n_title {margin: -15px -20px 14px; padding: 10px 20px; font-size: 23px;}
  .d_name, 
  .n_name {flex-grow: 1;}
  .d_btns, 
  .n_btns {width: 25px;}
  .d_specs {margin-bottom: 20px;}
  .d_main_pict {height: 400px;}
  .d_gal_descr {gap: 20px;}
  .d_item .swiper-slide img {height: 170px;}
}
@media screen and (max-width: 450px) {
  #info-top, #info {padding: 0 15px;}
  .d_item, 
  .n_item {padding: 15px 15px 15px;}
  .d_specs {row-gap: 5px;}
}

/* NEWS LIST */
.n_title {margin-bottom: 30px;}
.n_title .title {font-family: myFont2_b; color: #7e7f97;}
.n_content {position: relative; display: flex; align-items: stretch; gap: 30px;}
.n_left {width: 40%; display: flex; flex-direction: column; gap: 20px;}
.n_date span {padding: 5px 13px 5px; font-family: MyFont2; font-size: 14px; color: #9d9797; background: #f4efe6; border-radius: 15px;}
.n_text1 {flex: 1;}
.n_pict1 {position: relative; display: flex; width: 60%;}
.n_pict1 a {flex: 1; display: flex;}
.n_img1 {display: block; width: 100%; height: 100%; min-height: 450px; border-radius: 14px; background-repeat: no-repeat; background-size: cover; background-position: center;}
.n_pict2 img {display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 14px;}
.n_item .d_gallery {margin-top: 30px;}
.n_item .swiper-slide img {height: 250px; width: auto; object-fit: contain; border-radius: 15px;}
.n_item .btn.readmore {margin-top: 30px;}
.n_content2 {position: relative; display: flex; gap: 30px; margin-top: 40px;}
.n_text2 {flex: 1;}
.n_pict2 {float: right; margin: 0 0 30px 30px; width: 50%; height: 500px;}
@media screen and (max-width: 940px) {
  .n_title {margin-bottom: 20px;}
  .n_content {flex-direction: column; gap: 15px;}
  .n_pict2 {float: none; margin: 0 0 20px; width: 100%; height: 400px;}
  .n_left , .n_pict1 {width: 100%;}
  .n_item .swiper-slide img {height: 170px;}
}
@media screen and (max-width: 450px) {
  .n_title {margin-bottom: 15px;}
  .n_item .swiper-slide img {height: 140px;}
}

/* CONTACTS */
.contacts-page #content .item-page .icons {display: block; top: 15px;}
#content .c_content .logo_text {margin-bottom: 25px; width: 300px; max-width: 70%; opacity: .5;}
.c_content .logo_text img {width: 100%; height: auto;}

/* CATEGORIES */
.article-info {margin: -20px 0 15px; padding: 0;}
.article-info dd {margin: 0; padding: 0; font: normal 14px MyFont; color: #857d6b;}

.clear {clear: both;}

#footer-bgr {position: relative; width: 100%; background: #767676;}

#footer {position: relative; display: flex; justify-content: space-between; align-items: center; gap: 35px; margin: 0 auto; padding: 35px 50px; color: #e2e2e2}
#footer p {margin: 0;}
#footer a {color: #fff;}
#footer a:hover {text-decoration: none;}
.logo_footer img {width: 160px; height: auto; opacity: .8;}
.logo_text_footer img {opacity: .8;}
#footer i {margin-right: 8px; color: #fff; opacity: .5;}
#footer .phone_soc {line-height: 1.6;}
#footer .soc_btns i {margin-right: 10px; font-size: 26px; color: #fff; opacity: 1;}


@media screen and (max-width: 900px) {
  #footer {flex-wrap: wrap; justify-content: center; gap: 50px;}
  .logo_footer img {width: 140px;}
  #footer .logo_text img {width: 250px;}
  #footer .phone_soc {text-align: center;}
}

textarea.wfEditor, textarea.wfNoEditor { font-size: 1.6em !important; }

/* НОМЕРА СТРАНИЦ */
#content .pagination {margin-top: 35px; padding-bottom: 0; text-align: center;}
#content .pagination p.counter {margin-bottom: 15px; font-family: MyFont2; font-size: 15px; color: #939393;}
#content .pagination ul, #content .pagination li {position: relative; margin: 0; padding: 0; list-style: none;}
#content .pagination ul {display: flex; justify-content: center; gap: 8px;}
#content .pagination li span.page-link, #content .pagination li a {padding: 6px 10px; font-size: 18px; border-radius: 8px; text-decoration: none;}
#content .pagination li a, #content .pagination li.active span {font-family: MyFont2;}
#content .pagination li span.page-link {background-color: #dddddd; color: #9d9d9d;}
#content .pagination li a {background-color: #7e7f97; color: #eaeaea;}

/* /НОМЕРА СТРАНИЦ */

/* ПОИСК РЕЗУЛЬТАТЫ */
.search-results .result-title {font: normal 15px MyFont_Bold; border-bottom: 1px solid #949698; padding-bottom: 3px;}
.result-text {font-size: 13px;}
.result-url {margin-bottom: 20px; margin-top: 2px; font: italic 10px Verdana; color: #BBBBBB;}

#top-right [class^="icon-"], #top-right [class*=" icon-"] {margin-right: 8px; color: #153e5c;}
hr.footer-hr {border: 1px solid #689eb9; width: 400px;}


/* ============ SEBLOD ============= */
#seblod_form button {padding: 6px 10px; border: 1px solid #aaaaaa; background: #dddddd; color: #202020; font-size: 16px;}
#seblod_form button:hover {cursor: pointer; opacity: .8;}
#seblod_form .cck_forms {margin-bottom: 15px;}
#seblod_form .cck_forms .cck_upload_image {margin-bottom: 0;}
#seblod_form .cck_forms .cck_label {float: left; width: 180px;}
#seblod_form .cck_form {display: inline-block; position: relative;}
#seblod_form .s_buttons {clear: both; display: flex; gap: 20px;}
#seblod_form .s_buttons div.cck_forms {width: auto;}
#seblod_form .inputbox {max-width: 100%;}
aside.cck_cgx_button {width: 70px;}
div.cck_button {overflow: visible; }
div.cck_button.cck_button_add, div.cck_button.cck_button_drag {margin-left: 8px;}
#seblod_form .cck_group_x .cck_cgx_form {background: #f8f7f1; padding: 15px 10px 1px; margin-bottom: 10px; border-radius: 8px; float: none;}
.cck_forms .radios label {margin-right: 10px;}

.com-users-login {margin-top: 60px;}
.com-users-login form fieldset {display: flex; flex-direction: column; gap: 15px;}
.com-users-login .com-users-login__submit button {padding: 10px 15px; border: 1px solid #aaaaaa; background: #dddddd; color: #005c5d; font-size: 18px;}
.com-users-login .com-users-login__submit button:hover {cursor: pointer; opacity: .8;}
.com-users-login .com-users-login__options {display: none;}

.o-input {position: relative; display: inline-block;}

@font-face {
  font-display: swap;
  font-family: 'MyFont';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/montserrat-v26-cyrillic_cyrillic-ext_latin-regular.woff2') format('woff2'),
       url('../fonts/montserrat-v26-cyrillic_cyrillic-ext_latin-regular.ttf') format('truetype');
}

@font-face {
  font-display: swap;
  font-family: 'MyFont_B';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/montserrat-v26-cyrillic_cyrillic-ext_latin-700.woff2') format('woff2'),
       url('../fonts/montserrat-v26-cyrillic_cyrillic-ext_latin-700.ttf') format('truetype'); 
}

@font-face {
  font-display: swap;
  font-family: 'MyFont2';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/avantgardegothicc-webfont.woff') format('woff'),
       url('../fonts/avantgardegothicc-webfont.ttf') format('truetype');
}
@font-face {
  font-display: swap;
  font-family: 'MyFont2_B';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/avantgardegothicc-bold-webfont.woff') format('woff'),
       url('../fonts/avantgardegothicc-bold-webfont.ttf') format('truetype'); 
}
@font-face {
    font-family: 'MyFont3';
    src: url('../fonts/oswald-300.eot');
    src: url('../fonts/oswald-300.eot?#iefix') format('embedded-opentype'),
         url('../fonts/oswald-300.woff') format('woff'),
         url('../fonts/oswald-300.ttf') format('truetype'),
         url('../fonts/oswald-300.svg#oswald-300') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'MyFont3_B';
    src: url('../fonts/oswald-600.eot');
    src: url('../fonts/oswald-600.eot?#iefix') format('embedded-opentype'),
         url('../fonts/oswald-600.woff') format('woff'),
         url('../fonts/oswald-600.ttf') format('truetype'),
         url('../fonts/oswald-600.svg#oswald-600') format('svg');
    font-weight: normal;
    font-style: normal;
}