/* глобальный класс, чтобы спрятать картинку в описании типов личности */
.float-display-none {display: none;} 

/* размер верхнего блока на мобиле, переписывает template.css  */
@media (max-width: 575px) {
    #sp-header {
        height: 50px;
    }
}

/****** Модуль знакомств под статьями ******/
        .mod_datico_rounded {
            border-radius: 20px;
            border-color: #379137;
            border-style: solid;
            border-width: 3px;
        }
        .mod_datico_bg {
            background-image: url(/sppb/img/icons_overlay.png);
            background-color: #20BF55;
            background-repeat: no-repeat;
            background-size: cover;
            background-attachment: fixed;
            background-position: 0 0;
            box-shadow: 0 0 0 0 #ffffff;
        }
        .mod_datico_extra_large {
            font-size: 4rem; /* or whatever size you deem appropriate */
        }
        .mod_datico_green {
            color: #379137;
        }

/****** Главный имидж статей меньше (если) контейнера, то увеличить ******/
.article-full-image img {
  max-width: 100%; /* Image can scale up to the container's width but not more than its intrinsic width */
  height: auto;    /* Maintain the aspect ratio */
  width: auto;     /* Default to the natural image width */
  min-height: 194px;
}

/****** sticky-header-placeholder вызывает проблемы с CLS ******/
/* включить Top Bar и сделать его невидимым, тогда меню не прыгает */
@media only screen and (max-width: 767px) {
  #sp-top-bar {
    height: 1px !important;
    padding: 0px !important;
    z-index: -1;
    opacity: 0;
  }
}


/****** Боковое меню в статьях ******/
.menu_module_articles .menu-child li a {
    font-style: italic !important; /* Makes the text italic */
    padding-left: 20px !important; /* Adds a gap to the right; adjust the value as needed */
    font-size: 0.8em; /* 20% smaller than the parent element's font size */
}
.menu_module_articles .menu .current a {
    color: green; /* Change to any color you prefer */
    font-weight: bold; /* Makes the text bold */
}


/****** Sticky menu после обновления ******/
.persons_mobile_menu .sp-module-content {
  overflow-x: auto; /* Allows horizontal scrolling */
  white-space: nowrap; /* Prevents items from wrapping and enforces a horizontal layout */
  -webkit-overflow-scrolling: touch; /* Enables momentum-based scrolling on iOS devices */
  -ms-overflow-style: none;  /* Internet Explorer and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Hide scrollbar for Webkit browsers */
.persons_mobile_menu .sp-module-content::-webkit-scrollbar {
  display: none;
}

.persons_mobile_menu ul {
  display: flex; /* Aligns the li elements in a row */
  flex-wrap: nowrap; /* Prevents wrapping onto multiple lines */
  list-style-type: none; /* Removes the default list styling */
  margin: 0; /* Resets default margin */
  padding: 0; /* Resets default padding */
}

.persons_mobile_menu .nav-item {
  margin-left: 10px; /* Adds spacing between items, except the first one */
}

.persons_mobile_menu .nav-item a {
  border-bottom: none; /* Removes underline from links */
  text-decoration: none; /* Removes underline from text */
}

.persons_mobile_menu .nav-item.current a {
  color: green; /* Sets the text color of the active menu item to green */
  font-weight: bold; /* Makes the active menu item text bold */
}


/* .persons_mobile_menu ul.nav.menu { 
    flex-wrap: nowrap !important;
}
.persons_mobile_menu ul.nav.own-sticky-menu.menu ul {
    border-bottom: none !important;
}
.persons_mobile_menu ul.nav.own-sticky-menu.menu ul > li + li {
    margin-left: 10px;
}
 */
.persons_desktop_menu ul.nav.menu {
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    align-content: flex-start;
    flex-direction: column;
}
/**** Sticky menu end ****/


/*записки в статьях*/
.article_note {
  text-align: left;
  direction: ltr;
  box-sizing: border-box;
  position: relative;
  min-height: 20px;
  width: 100%;
  color: #333; /* assuming --fd-gray-800 is a dark gray */
  background: #fff; /* assuming --fd-white is white */
  left: 0;
  top: 0;
  overflow-y: auto;
  padding-top: 20px;
  border: 1px solid #ccc; /* assuming --fd-gray-200 is a light gray */
}
.article_note:before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
background: #feccd1; /* This is a fixed hex color value */
}
.article_note:after {
  content: "";
  position: absolute;
  left: 40px;
  top: 16px;
  bottom: 0;
  width: calc(100% - 40px);
  background-image: repeating-linear-gradient(
    transparent 0,
    transparent 24px,
    rgba(212, 212, 212, 1) 25px
  );
}
.article_note__content {
  position: relative !important;
  z-index: 2 !important;
  top: 0;
  padding-left: 40px;
  padding-top: 16px;
  width: calc(100% - 20px) !important;
  min-height: 20px;
  left: 0;
  bottom: 0;
  line-height: 25px;
  font-size: 16px;
  outline: 0;
  cursor: text;
  margin-top: -18px;
}
.article_note__content ul {
  line-height: 25px !important;
  list-style: disc !important;
  padding: 0 0 0 20px !important;
  margin: 0 !important;
  position: relative;
  z-index: 2;
}
.article_note__content ul li {
  position: relative;
  margin: 0 !important;
  line-height: 25px !important;
}
.article_note__content ul li:before {
  content: "";
  width: 2px;
  height: 100%;
  left: -40px;
  display: block;
  position: absolute;
  -webkit-transition: all ease 0.5s;
  transition: all ease 0.5s;
}
.article_note__content ul li:hover:before {
  -webkit-transition: all ease 0.5s;
  transition: all ease 0.5s;
  background: rgba(194, 59, 34, 1);
}

/*фотки в статьях*/
.article_image_polaroid {
  display: inline-block;
  max-width: 100%;
  padding: 10px;
  border: 1px solid rgba(204, 204, 204, 1); /* Assuming --fd-gray-300 is a light gray */
  background: rgba(255, 255, 255, 1); /* Assuming --fd-white is white */
  box-shadow: 0 3px 3px rgba(204, 204, 204, 1); /* Assuming --fd-gray-300 is a light gray */
}
.article_image_figure {
  position: relative;
  text-align: center;
  margin: 0 auto;
  max-width: 100%;
  max-height: 100%;
}
/*рамки комментариев в статьях о знакомствах*/
.article_psy_comment {
    border-top-left-radius: 20px;
	border-bottom-right-radius: 20px;
	background-color: #ff7e7517;
	padding: 10px;
}
.article_psy_comment p {
    margin-bottom: 0;
}
/*цитаты в статьях*/
.article_quote {
  color: #555 !important;
  padding: 10px 20px !important;
  margin: 0 0 20px !important;
  border-left: 5px solid #eee !important;
  vertical-align: unset !important;
  border-radius: 0 !important;
}
.article_quote:before,
blockquote.eb-quote:after {
  display: none !important;
}
.article_quote p {
  font-size: 16px;
  line-height: 1.25;
  margin-bottom: 0.8em;
}
.article_quote p + cite {
  display: block;
  margin-top: 0;
}

/* blog cards */
[itemprop="blogPost"] {
  box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);
  padding: 1rem; /* This is equivalent to 16px if your base font-size is 16px */
  margin-bottom: 3rem; /* This is equivalent to 48px if your base font-size is 16px */
  background-color: #fff; /* Assuming bg-body is white; adjust the color as needed */
  border-radius: .25rem;
}
[itemprop="thumbnailUrl"] { /* This sets the aspect ratio */
  display: block;
  width: 100%; /* Full width of the container */
  height: auto;
  aspect-ratio: 16 / 9; /* Maintain a 16:9 aspect ratio */
  object-fit: cover; /* Cover will ensure the image is cut off rather than stretched or squished */
  object-position: center; /* Center the image within the element's box */
}
[itemprop="blogPost"] .readmore a {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #fff !important; /* Ensures font color is white */
    background-color: #5cb85c;
    border-color: #4cae4c;
    text-decoration: none; /* Removes underline from links */
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; /* Smooth transition for hover effects */
}
[itemprop="blogPost"] .readmore a:hover,
[itemprop="blogPost"] .readmore a:focus {
    color: #fff !important; /* Keeps text white on hover/focus */
    background-color: #449d44;
    border-color: #398439;
    text-decoration: none; /* Removes underline from links on hover/focus */
}


/* общий стиль для встраивания Iframe*/
.app_iframe {
  border: 0; 
  border-radius: 12px; 
  box-shadow:  0 0 30px -6px rgb(0 0 0 / 15%);
  background-color: transparent;
}

/*для главной страницы читалка*/
.homepage_tabs_nav  ul.sppb-nav.sppb-nav-custom li {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    margin-bottom: 0px !important;
}
.homepage_tabs_nav ul.sppb-nav.sppb-nav-custom a {
    padding-top: 6px !important;
    padding-bottom: 10px !important;
    margin-bottom: 10px !important;
    line-height: 100% !important;
}
.homepage_tabs_nav .sppb-nav {
    max-width: none;
    width: auto;
}

@media (max-width: 575.98px) {
    .homepage_tabs_nav .sppb-custom-tab {
        flex-direction: column;
    }
	#sppb-addon-1611729332723 .sppb-nav {
		width: 100% !important;
	}
	.homepage_tabs_nav  ul.sppb-nav.sppb-nav-custom li {
		padding-top: 0px !important;
		padding-bottom: 0px !important;
		margin-bottom: 0px !important;
	}
	.homepage_tabs_nav ul.sppb-nav.sppb-nav-custom a {
		padding-top: 4px !important;
		padding-bottom: 6px !important;
		//margin-bottom: 0px !important;
	}
}

/*рамки комментариев в статьях о знакомствах*/
.psy_comment {
    border-top-left-radius: 20px;
	border-bottom-right-radius: 20px;
	background-color: #ff7e7517;
	padding: 10px;
}

/*хлебные крошки*/
.breadcrumb {
    background-color: #FAFAFC;
    padding: 4px 0px 4px 0px;
    font-size: 14px;
    margin: 0;
}
.breadcrumb li.float-start{
  margin-right: 4px;
}

/*для Helix Ultimate, убираем смещение макета для Pagespeed*/
.logo-image {height: 44px !important; width: 119.050px}
/*.social-icons {height: 21px !important;}*/
@media (min-width: 320px) and (max-width: 480px) {
	ul.social-icons>li {font-size: 48px;}
	#sp-top2 > div {display:none;}
}

/*вставка видео Youtube*/
.youtube_container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0;
    height: 0;
    overflow: hidden;
}
.youtube_container iframe, .youtube_container object, .youtube_container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/*НАЧАЛО: локальные шрифты*/
@font-face {
    font-family: 'philosopher_local';
    src: url('/sppb/fonts/philosopher-regular-webfont.woff2') format('woff2'),
         url('/sppb/fonts/philosopher-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
  	color: #757575;
	font-display: swap;
}
@font-face {
    font-family: 'pt_sans_local';
    src: url('/sppb/fonts/pt_sans-web-regular-webfont.woff2') format('woff2'),
         url('/sppb/fonts/pt_sans-web-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
  	color: #757575;
	font-display: swap;
}
body { 
    font-family: 'pt_sans_local'; 
    /*color: #757575; /* Define text color here */
}
h1, h2, h3, h4, h5 {
    font-family: 'philosopher_local';
    /*color: #757575; /* Define text color here */
}
nav a, .navigation a, .menu a { /* Target the navigation menu items */
    font-family: 'philosopher_local', sans-serif;
}
/*КОНЕЦ: локальные шрифты*/

/*убрать пробел в мероприятиях и статьях*/
#sp-main-body {padding: 0px 0;}

/*поменять фон шапки на зеленый*/
#sp-top-bar {
  background-color: #379137; /* Green background */
}
#sp-top-bar * {
  color: white !important;
}

/*спрятать навигацию в меню Встречи. Находится в настройке Меню */
.t-mb--md {display: none;} 

/*custom settings EasySocial*/
body #es.popbox-navbar-signin.bottom-right .popbox-dropdown__meta {
     display: none;
}

/*виджет SmartSender, чтобы он был с левой стороны, не с правой*/
.messenger {left:10px !important; bottom:10px !important; }
.messenger__block {left:0px !important;}
.messenger_owner {display: none !important;}


/*класс для div, чтобы помещался по центру. В Personalities в таблице*/
.centering {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  align-items: center;
}
/*для навигации в описании типов личности*/
.persons_nav_header {
  font-size: 18pt;
  line-height: 18pt;
}
.persons_nav_pic {
  width="80";
  height="80";
  border-radius: 50%;
}
.persons_nav_table {
  border-top: 0.5px solid #eeeeee;
  text-align: center;
}
.persons_nav_table th, td {
  padding-top: 10px;
}

/*удаляет отступы SP Page Builder*/
.overrule_spppb_feature {
  border: 0px solid #ffff !important;
  padding: 0px 0px !important;
}

/*Раздел о типах личности*/
.persons_title_header {  /*заголовок Кличка типа личности*/
    /*font-family: Philosopher;*/
	/*font-family: 'philosopher_local', Helvetica, Arial, sans-serif;*/
    font-size: 40px;
    font-weight: normal;
    margin-top: 20px;
    margin-bottom: 10px;
}
.persons_title_name {
    margin-top: 0px !important;
    margin-bottom: 15px !important;
    font-size: 21px !important;
    font-weight: 200 !important;
    /*font-family: PT Sans, sans-serif !important;*/
	font-family: 'pt_sans_local', Helvetica, Arial, sans-serif !important;
}

@media (min-width: 600px)  {
   .persons_title_header {
       font-size: 63px;  
    }
}

.persons_test_button {  /*кнопка Пройти Тест в меню. Помечается в меню стилями btn btn-success btn-sm persons_test_button*/
  padding: 0px 5px !important;
}
.persons_test_button a {
    color: #ffff !important;
}

.layout-blog #sp-main-body, .view-article #sp-main-body { /*подымает на мобильном начало статьи. Важно для типов личности*/
    padding: 0px 0 70px !important;
}

/*Раздел о типах личности*/
.persons_test_button {  /*кнопка Пройти Тест в меню. Помечается в меню стилями btn btn-success btn-sm persons_test_button*/
    padding: 0px 5px !important;
}

.persons_header {
    /* background-size: cover !important; */
    clip-path: polygon(0 0, 100% 0, 100% 89%, 15% 100%, 0 90%);
    /* background-color: rgba(0,0,0,0.5); */
    padding-top: 30px;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.persons_title { /*надпись в header*/
    /*background-color: rgba(55, 145, 55, 0.8);*/
    background-color: rgba(138, 114, 152, 0.9);
    text-align: center;
    padding: 10px 10px 20px 10px !important;
    color: white;
    clip-path: polygon(2% 9%, 13% 3%, 55% 0, 98% 6%, 100% 42%, 99% 91%, 84% 100%, 54% 94%, 24% 100%, 4% 97%, 0 79%);
}

.persons_picture { /*фотография или картинка в тексте*/
    clip-path: polygon(2% 9%, 13% 3%, 55% 0, 98% 6%, 100% 42%, 99% 91%, 84% 100%, 54% 94%, 24% 100%, 4% 97%, 0 79%);
    width: 400px;
    height: 300px;
}

.persons_picture_types { /*фотография или картинка на лендинге Типы Личности*/
    clip-path: polygon(2% 9%, 13% 3%, 55% 0, 98% 6%, 100% 42%, 99% 91%, 84% 100%, 54% 94%, 24% 100%, 4% 97%, 0 79%);
    max-width: 400px;
    max-height: 300px;
    object-fit: cover;
    height: auto;
    width: 100%;
}


.persons_figcaption { /*надпись на картинке в тексте*/
	position: relative;
	display: inline-block;
	bottom: 1em;
	background-color: rgba(55, 145, 55, 0.6);
	padding: 1px 5px;
	left: 10px;
	bottom: 40px;
	color: #fff;
	clip-path: polygon(2% 9%, 13% 3%, 55% 0, 98% 6%, 100% 42%, 99% 91%, 84% 100%, 54% 94%, 24% 100%, 4% 97%, 0 79%)
}

.persons_quote { /*Цитата в тексте*/
    border: 1px solid #8a7298;
    padding: 35px 45px 45px 50px;
    clip-path: polygon(2% 9%, 13% 3%, 55% 0, 98% 6%, 100% 42%, 99% 91%, 84% 100%, 54% 94%, 24% 100%, 4% 97%, 0 79%);
    background: #8a7298;
    color: #fff;
}

.persons_textmarker { /*Выделенный текст*/
    background: #8a7298;
    color: #fff;
}

/*Конец раздела о типах личности*/

/* Виджет Zadarma Перезвони мне*/
#zcwMiniButton {
    background: #379137 !important;
    padding: 10px 10px !important;
    left: 0px !important;
    transform: translateX(0%) !important;
    border-radius: 0px 20px 0 0 !important;
}

/*разные шаблоны для лендингов совместимости*/
.dimi_accord .sppb-panel-heading {
    padding: 0px 0px 0px 0px;
}

.dimi_accord .sppb-panel-body {
    padding: 0px;
}

.dimi_accord .sppb-addon-accordion .sppb-panel-group > div {
    margin-bottom: 10px;
}

.dimi_accord .sppb-panel-heading {
    line-height: 120%;
}

.dimi_test_sovnestimost {
    font-size: 20px;
    color: #014A4C;
}

.dimi_test_centered {
    display: flex;
    justify-content: center;
}

/*для совместмости, закругленная форма*/
.dating_combi_form .freud-cmtblt .cmtblt-item-left {
    border-top-left-radius: 20px;
}

.dating_combi_form .freud-cmtblt .cmtblt-item-right {
    border-bottom-right-radius: 20px;
}

.dating_combi_form .freud-cmtblt h5 {
    /*font-family: Philosopher, sans-serif;*/
	/*font-family: 'philosopher_local', Helvetica, Arial, sans-serif;*/
    font-size: 25px;
    font-weight: normal;
}

.dating_combi_form .freud-cmtblt .freud-cmtblt-item {
    padding: 5px 20px 70px;
}

.dating_combi_form .freud-cmtblt button {
    bottom: 10px;
}

.dating_combi_form .freud-cmtblt button {
    /*font-family: 'Philosopher';*/
	/*font-family: 'philosopher_local', Helvetica, Arial, sans-serif;*/
    padding: 8px 15px !important;
    font-weight: bold;
    border-radius: 5px;
    font-size: 20px;
    border: none;
    cursor: pointer;
    border-radius: 20px;
    border-bottom-left-radius: 0px;
    border-top-right-radius: 0px;
}

.dating_combi_form .freud-cmtblt button:hover {
    transform: scale(1.1, 1.1);
    -webkit-transition: transform 0.5s ease-in-out;
    -moz-transition: transform 0.5s ease-in-out;
    -ms-transition: transform 0.5s ease-in-out;
}

@media (max-width: 600px) {
    .dating_combi_form .freud-cmtblt .freud-cmtblt-wrap {
        flex-direction: column;
        align-items: center;
    }

    .dating_combi_form .freud-cmtblt-item {
        width: 100%;
    }

    .dating_combi_form .freud-cmtblt .cmtblt-item-left {
        padding: 20px 20px 30px !important;
    }
}

/*красный текст заголовка из шаблона о стрельбе*/
.highlightredheader {
    background-image: linear-gradient(to right, #ff318a, #ff5b4a);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/*белый фон текста*/
.texthighlightwhite {
    background-color: #FEFEFE;
}

/*закругленная кнопка в знакомствах*/
.svm-rounded-button.sppb-btn-custom {
    border-radius: 20px;
    border-bottom-left-radius: 0px;
    border-top-right-radius: 0px;
}

/*блок особенностей в маленьком формате*/

.dimitri_feature_list {
    border: none !important;
    padding: 5px 5px !important;
}

/*SEO текст в списке мероприятий*/
.es-seo-events-headers {
    font-size: initial;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

/*line-height: 9pt;}*/

/*номера телефонов*/
.pw-block .pwb-flag {
    width: 20px;
    height: 20px
}

.d-flex {
    display: flex !important;
}

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

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

.align-items-center {
    align-items: center !important;
}

.color-white, .color-white-hover:hover {
    color: #930a00
}

.color-grey, .color-grey-hover:hover {
    color: #00932a
}

.m_right_8 {
    margin-right: 4px
}

.m_right_15 {
    margin-right: 5px
}

.d-inline-flex {
    display: inline-flex !important;
}

.uppercase {
    text-transform: uppercase;
}

.fs_16_combo {
    font-size: 12px;
    line-height: 14px;
}

@media (min-width: 1460px) {
    .fs_2xl_20_combo {
        font-size: 14px;
        line-height: 16px
    }
}

.d-inline-block {
    display: inline-block !important;
}

.m_bottom_25 {
    margin-bottom: 10px
}

@media (min-width: 768px) {
    .m_bottom_md_15 {
        margin-bottom: 5px
    }

;
    .order-md-2 {
        order: 1 !important;
    }
}

.p_left_15 {
    padding-left: 5px
}

.p_right_15 {
    padding-right: 15px
}

@media (min-width: 992px) {
    .p_right_lg_0 {
        padding-right: 0;
    }

;
    .p_left_lg_0 {
        padding-left: 0;
    }

;
    .flex-lg-nowrap {
        flex-wrap: nowrap !important;
    }
}

.flex-wrap {
    flex-wrap: wrap !important;
}

.flex-column {
    flex-direction: column !important;
}

.align-items-start {
    align-items: flex-start !important;
}

.m_bottom_3 {
    margin-bottom: 3px
}

/*для Историй Любви*/
.dating-stories .sppb-addon-image-layout-content {
    background: rgba(237, 206, 201, 0.9) !important;
    border-width: 3px !important;
    border-style: solid;
    border-color: #dac1c1 !important;
    border-radius: 20px !important;
    border-bottom-left-radius: 0px !important;
    border-top-right-radius: 0px !important;
}

.dating-stories .sppb-addon-image-layout-text {
    color: #1a4169 !important; /*#5b5656*/
}

.dating-stories .sppb-image-layout-title {
    color: #1a4169 !important; /*#5b5656*/
}

.dating-stories .sppb-addon-image-layout-content {
    padding: 20px 15px 30px 20px !important;
    margin: 40px 0px 0px -200px !important;
}

@media (min-width: 481px) and (max-width: 1280px) {
    /* Tablets, Ipads (portrait) Screen = B/w 768px to 1024px */
    .dating-stories .sppb-addon-image-layout-content {
        margin: 0px 0px 0px -10px !important;
    }
}

@media (min-width: 320px) and (max-width: 480px) {
    /* Most of the Smartphones Mobiles (Portrait) ##Screen = B/w 320px to 479px */
    .dating-stories .sppb-addon-image-layout-content {
        margin: 0px 0px 0px 0px !important;
    }
}

.dating-stories .sppb-btn-custom {
    background-color: #deb39c !important;
}

.dating-stories .sppb-btn-custom:hover {
    background-color: #de6906 !important;
    color: white !important;
}

.dating-stories .sppb-addon-image-layout-image .sppb-img-responsive, .dating-stories .sppb-image-layouts-inline-img .sppb-img-responsive, .dating-stories .sppb-addon-image-overlay {
    border-radius: 20px !important;
    border-bottom-left-radius: 0px !important;
    border-top-right-radius: 0px !important;
}

/*ранг браков*/
.dating-prio-1 .sppb-addon-image-layout-content {
    background: rgba(255, 249, 235, 0.9) !important;
    border-color: #ffe7b1 !important;
}

.dating-prio-1 .sppb-btn-custom {
    background-color: #ffe7b1 !important;
    color: #1a4169 !important;
}

.dating-prio-2 .sppb-addon-image-layout-content {
    background: rgba(231, 249, 249, 0.9) !important;
    border-color: #9fe5e7 !important;
}

.dating-prio-2 .sppb-btn-custom {
    background-color: #9fe5e7 !important;
    color: #1a4169 !important;
}

.dating-prio-3 .sppb-addon-image-layout-content {
    background: rgba(255, 242, 241, 0.9) !important;
    border-color: #ffbfba !important;
}

.dating-prio-3 .sppb-btn-custom {
    background-color: #ffbfba !important;
    color: #1a4169 !important;
}

.dating-prio-4 .sppb-addon-image-layout-content {
    background: rgba(239, 238, 253, 0.9) !important;
    border-color: #b0abf6 !important;
}

.dating-prio-4 .sppb-btn-custom {
    background-color: #b0abf6 !important;
    color: #1a4169 !important;
}

/*для Smart Sender*/
.button_ss_all { /*кнопки Smart Sender*/
    border: none;
    color: #fff;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    width: 80px;
    font-size: 12px;
    margin: 3px 0px 0px 0px !important;
    padding: 7px 0px 7px 0px;
    line-height: 75% !important;
    cursor: pointer;
    font-weight: 400;
    border-radius: 4px;
}

.button_ss_all .fab { /*значки соцсетей над Smart Sender*/
    font-size: 30px;
}

.button_ss_all:hover {
    color: #fff;
    text-decoration: none
}

.button_ss_telegram {
    background-color: #16A0E4;
}

.button_ss_telegram:hover {
    background-color: #20BDFF;
}

.button_ss_facebook {
    background-color: #0D89FE;
}

.button_ss_facebook:hover {
    background-color: #38ADFF;
}

.button_ss_viber {
    background-color: #5B267F;
}

.button_ss_viber:hover {
    background-color: #7A30AF;
}

.button_ss_vK {
    background-color: #4A6C8F;
}

.button_ss_vK:hover {
    background-color: #5C82A9;
}

/*высота полей контактов на лендингах*/
.dimitri-lending-height { /*на лединге Юртаевой*/
    display: block;
    height: 250px;
}

@media screen and (min-width: 320px) and (max-width: 767px) {
    .dimitri-lending-height {
        display: block;
        height: 170px;
    }
}

/*корриктировка шаблона в ценниках*/
.dima-pricing-form-table .sppb-pricing-box {
    padding: 10px 0px 10px 0px !important;
    border-radius: 5px;
}

.dima-pricing-form .sppb-addon-pricing-table .sppb-pricing-box .sppb-pricing-features li {
    color: #fff !important;
}

/*кнопки всплывающие на лендингах*/
.dima-button-bitrix {
    background-color: #379137;
    color: #fff !important;
    /*font-family: 'Philosopher';*/
	/*font-family: 'philosopher_local', Helvetica, Arial, sans-serif;*/
    padding: 8px 15px !important;
    font-weight: bold;
    border-radius: 5px;
    font-size: 20px;
    border: none;
    cursor: pointer;
}

.dima-button-bitrix:hover {
    background-color: #4CAF50; /* Green */
    color: white;
    transform: scale(1.1, 1.1);
    -webkit-transition: transform 0.5s ease-in-out;
    -moz-transition: transform 0.5s ease-in-out;
    -ms-transition: transform 0.5s ease-in-out;
}

.facebook-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}

.facebook-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

.button_pay_on_event {
    box-shadow: inset 0px 1px 0px 0px #a4e271;
    background: linear-gradient(to bottom, #89c403 5%, #379137 100%);
    background-color: #89c403;
    border-radius: 6px;
    border: 1px solid #74b807;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Trebuchet MS;
    font-size: 15px;
    font-weight: bold;
    padding: 5px 24px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #528009;
}

.button_pay_on_event:hover {
    background: linear-gradient(to bottom, #379137 5%, #89c403 100%);
    background-color: #379137;
}

.button_pay_on_event:active {
    position: relative;
    top: 1px;
}

.button_holeriker {
    background: linear-gradient(to bottom, #2caab6 5%, #08BFCF 100%) !important;
}

.button_holeriker:hover {
    background: linear-gradient(to bottom, #08BFCF 5%, #2caab6 100%) !important;
}

.button_melanholiker {
    background: linear-gradient(to bottom, #e5bd7d 5%, #febf58 100%) !important;
}

.button_melanholiker:hover {
    background: linear-gradient(to bottom, #febf58 5%, #e5bd7d 100%) !important;
}

.button_sangvinik {
    background: linear-gradient(to bottom, #e67c7c 5%, #ff5758 100%) !important;
}

.button_sangvinik:hover {
    background: linear-gradient(to bottom, #ff5758 5%, #e67c7c 100%) !important;
}

.button_flegmatik {
    background: linear-gradient(to bottom, #8cc173 5%, #80da56 100%) !important;
}

.button_flegmatik:hover {
    background: linear-gradient(to bottom, #80da56 5%, #8cc173 100%) !important;
}

.dimitri-lena-height {
    display: block;
    height: 290px;
}

@media screen and (min-width: 320px) and (max-width: 767px) {
    .dimitri-lena-height {
        display: block;
        height: 170px;
    }
}

.dimitri-features-list.sppb-addon-feature {
    padding: 15px 15px !important;
}

.sppb-addon-pricing-table .sppb-pricing-box .sppb-pricing-features li {
    color: #fff !important;
}

/*.dp-link{
    border:1px solid #000;
    margin: 5px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    color: #000;
}

*/
.mod-dpcalendar-upcoming-default .dp-figure .dp-image {
    object-fit: cover;
    height: 100% !important;
}

/*.dp-image{
  border:10px solid #00c926;
  box-sizing: border-box;
}
*/

.com-dpcalendar-calendar__list_hidden {
    display: flex !important;
}

.input-append .add-on, .input-append .btn, .input-append .btn-group > .dropdown-toggle, .input-prepend .add-on, .input-prepend .btn, .input-prepend .btn-group > .dropdown-toggle {
    position: relative;
}

.dp-tabs__tab-images .modal.btn {
    color: #757575;
}

.mod-dpcalendar-upcoming__capacity ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.dp-flatcalendar__month {
    color: #fff;
    display: inline-block;
    padding: 0 10px;
}

.container-fluid > .row {
    margin-bottom: 2rem;
}

.container-fluid > .row .mod-dpcalendar-upcoming-default__event {
    background: #fc0; /* Цвет фона */
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1); /* Параметры тени */
    padding: 10px;
    padding: 1rem 1rem 0;
    overflow: hidden;
    box-sizing: border-box;
    background: #fafafa;
}

.mod-dpcalendar-directions {
    /*border: 1px solid #333;*/
    margin-bottom: 10px;
    background: #fafafa;

}

/*
.sppb-row > .sppb-col-md-12 {
    background: #fafafc; 
}
*/
.mod-dpcalendar-directions ul {
    list-style-type: none;
    margin: 0;
    padding: 0 0 0 10px;
    display: none !important;
}

.mod-dpcalendar-directions ul li.active {
    text-decoration: underline;
}

.mod-dpcalendar-directions ul li {
    display: inline-block;
    margin-right: 20px;
}

#freud-calendars {
    padding: 5px 0 0 0;
}

.calendar-items.hidden2 {
    opacity: 0;
}

.calendar-items.visible2 {
    opacity: 1;
}

.dp-flatcalendar {
    display: inline-block;
    margin-right: .5rem;
}

.dp-flatcalendar .dp-flatcalendar__day {
    margin-right: .5rem;
}

.mod-dpcalendar-upcoming-default__date {
    float: left;
    width: 60%;
    overflow: hidden;
    margin-bottom: .5rem;
}

.mod-dpcalendar-upcoming__capacity {
    float: right;
    width: 40%;
    text-align: right;
    overflow: hidden;
    margin-bottom: .5rem;
}

.mod-dpcalendar-upcoming-default__image figure {
    width: 330px;
    height: 270px;
    overflow: hidden;
}

.mod-dpcalendar-upcoming-default__image img {
    -moz-transition: all .5s ease-out;
    -o-transition: all .5s ease-out;
    -webkit-transition: all .5s ease-out;
}

.mod-dpcalendar-upcoming-default__image img:hover {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
}

.calendar-items .readmore {
    margin-top: 0;
}

.com-dpcalendar-eventform textarea {
    width: 100%;
    height: 8rem;
}

#freud-calendars .dp-event-url.dp-link {
    display: block;
    width: 100%;
}

#freud-calendars .mod-dpcalendar-upcoming-default__url.dp-link {
    display: block;
    width: 100%;
}

#freud-login {
    display: none;
}

.reg {
    margin: 0 20% 0 20%;
}

.dimitri_animated_heading_spheres > .sppb-addon-title {
    font-size: 20px !important;

}

.edit.item-page .modal {
    position: initial;
    background: #5cb85c;
}

.redcustom {
    background-color: red !important;
}

.bluecustom {
    background-color: blue !important;
}

.greencustom {
    background-color: green !important;
}

.redcustom, .bluecustom, .greencustom {
    font-size: 14px;
    line-height: 1.42857143;
    font-weight: bolder;
    color: inherit;
    padding: 13px 15px 13px 15px;
    border-radius: 3px;
    color: inherit;
    position: relative;
    margin: -13px !important;
}

.redcustom:hover {
    background-color: #ccc !important;
    animation-duration: 1s;
}

.dp-holders {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
}

.dp-holders li {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.dp-holders li + li {
    margin-left: 1rem;
}

.dp-holders li span {
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    overflow: hidden;
}

.dp-holders li span img {
    display: block;
    width: 50px;
}

.slogin-default a {
    width: auto;
}

#sp-component #tabs {
    display: none;
}

#sp-component .current .tabs {
    border: 2px solid #379137;
    border-radius: 0 3rem 0 3rem;
    margin-bottom: 1rem;
    background: #FAFAFC;
    padding: 3rem;
}

#sp-component .current .tabs input, #sp-component .current .tabs select {
    margin-bottom: 2rem;
}

.sp-module ul > li > a:before {
    font-family: FontAwesome;
    /* content: "\f105"; */
    margin-right: 8px;
    display: none;
}

.mb-1 {
    margin-bottom: 10px !important;
}

.mb-3 {
    margin-bottom: 30px !important;
}

.noml {
    margin-left: 0 !important;
}

.noml::before {
    content: "" !important;
}

.spec > li {
    padding: 3px 0;
}

/****** Sticky menu ***** частично НЕ РАБОТАЕТ ПОСЛЕ ОБНОВЛЕНИЯ SPECTRUM */
#sp-page-builder .page-content .sppb-section.sppb-sticky-it, #sp-page-builder .sppb-section.sppb-sticky-it.own-sticky-section {
    top: 60px !important;
    background: #fff;
}

.sppb-link-list-wrap ul.own-sticky-menu {
    white-space: nowrap;
    overflow-x: auto;
}

.sp-module ul.own-sticky-menu > li {
    border-bottom: none;
}

.sp-module ul.own-sticky-menu > li + li {
    margin-left: 10px;
}

.sppb-link-list-wrap ul.own-sticky-menu li.current a, #sp-left .sp-module ul > li.current > a {
    color: #379137;
    font-weight: bold;
}
/*** Sticky menu end ****/

/**** Arrows next & prev ****/
.icon-chevron-right, .icon-chevron-left {
    width: 80px;
    height: 80px;
    background: linear-gradient(113deg, #576071 20%, #677185 50%, #576071 80%);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.icon-chevron-right:before, .icon-chevron-left:before {
    color: #fff !important;
    font-size: 1.7em;
}

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

.pagination li {
    display: flex;
    flex: 1 1 100%;
}

.pagination li.next {
    justify-content: flex-end;
}

.pagination li a {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pagination li.previous a {
    align-items: flex-start;
}

.pagination li.next a {
    align-items: flex-end;
}

/** Arrows next & prev end **/


/*из раздела custom code in Helix Spectrum*/
#sp-page-builder .sp-pagebuilder-addon .sp-pagebuilder-addon-tools  {
    top: 0px !important; z-index:9876; }
.freud-login{
margin: 0;
}
span.highlight {
    background: #ffff00;
}

#es, #pp, #eb, #ed, li.breadcrumb-item, div.eb-entry-meta.text-muted, form.mod-finder.js-finder-searchform.form-search {
/*font-family: Open Sans, sans-serif;*/
font-family: 'pt_sans_local', Helvetica, Arial, sans-serif;
}
h1, h2, h3, h4, h5, h6, ul.sp-megamenu-parent.menu-zoom.d-none.d-lg-block {
  /*font-family: Philosopher, sans-serif !important;*/
  font-family: 'philosopher_local', Helvetica, Arial, sans-serif !important;
}
#es button, .eb-toolbar .o-nav__item .eb-toolbar__link, #es .es-toolbar .o-nav__item .es-toolbar__link, #ed .ed-toolbar .o-nav__item .ed-toolbar__link, .es-profile-header__title a, .es-stream-embed__title, .es-card__title, .es-side-widget__title, .popbox-dropdown-nav__name, .o-control-label, .o-help-block, .pp-access-alert__title, .btn, .pp-toolbar__link, .pp-plan-card__title, .pp-plan-card__price, .es-dating-search-name, .o-form-group, .es-list-item__title, .es-profile-header-nav__link, .o-grid-sm, .profile-data-label, .ed-reply-form__title , .ed-editor-widget__title, .ed-post-reply-bar__title, #ed .ed-toolbar-dropdown-nav__name, #ed .ed-toolbar-dropdown-nav__post-user-name, .ed-dashboard__hd, #ed .ed-pie-chart-assigned__txt, #ed .o-tabs--ed .active .o-tabs__link, #ed .ed-statistic__item, #ed .ed-filter-bar__sort-action select, #ed .ed-board-stats__meta, #ed .ed-board-stats__bd-title, #eb .eb-blog-grid a, #eb .eb-blog-grid__meta--text, nav.sp-megamenu-wrapper.d-flex, span.persons_title_header, dating_combi_form freud-cmtblt, dating_combi_form freud-cmtblt h5, dating_combi_form freud-cmtblt button, a.dima-button-bitrix, ul.menu {
  /*font-family: Philosopher, sans-serif !important;*/
  font-family: 'philosopher_local', Helvetica, Arial, sans-serif !important;
}
#es .es-create-category-select .btn {
color: #333;
}
#es .es-create-category-select .btn:hover, #es .es-create-category-select .btn:focus {
    color: #1a661d;
}
.fancybox-outer, .fancybox-inner {
    position: relative;
}
.fancybox-image {
position: relative;
}

.mauto .ba-form .tool.ba-captcha{
    display: inline-block;
}

.mauto .ba-form .tool.ba-captcha + .ba-row{
    display: inline-block;
    margin-left: 15px;
    margin-bottom: 2px;
}

@media (max-width: 1024px){
.mauto .ba-form .tool.ba-captcha {
    display: block;
}
#recaptcha div{
margin: 0 auto;
}
.mauto .ba-form .tool.ba-captcha + .ba-row{
    display: block;
    margin-left: 0;
    margin-bottom: 0;
}
}

.fa-map-marker:before {
    content: "\f041" !important;
}

/* ============================================================
 * Footer (реплика live #sp-bottom / #sp-footer):
 * правила сняты с templates/shaper_helixultimate/css/template.css
 * + presets/default.css; грид bottom1-4 — замена bootstrap col-lg-3.
 * ============================================================ */
#sp-footer, #sp-bottom { background: #171717; color: #ffffff; }
#sp-footer a, #sp-bottom a { color: #a2a2a2; text-decoration: none; }
#sp-footer a:hover, #sp-footer a:active, #sp-footer a:focus,
#sp-bottom a:hover, #sp-bottom a:active, #sp-bottom a:focus { color: #ffffff; }
#sp-bottom { padding: 60px 0 30px; font-size: 14px; line-height: 1.6; }
#sp-bottom .container { max-width: 1140px; margin: 0 auto; padding: 0 15px; }
#sp-bottom .row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
#sp-bottom1, #sp-bottom2, #sp-bottom3, #sp-bottom4 {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 15px;
    box-sizing: border-box;
}
@media (max-width: 991.98px) {
    #sp-bottom1, #sp-bottom2, #sp-bottom3, #sp-bottom4 { flex: 0 0 50%; max-width: 50%; }
}
@media (max-width: 575.98px) {
    #sp-bottom1, #sp-bottom2, #sp-bottom3, #sp-bottom4 { flex: 0 0 100%; max-width: 100%; }
}
#sp-bottom .sp-module { margin-bottom: 30px; }
#sp-bottom .sp-module .sp-module-title { font-weight: 700; font-size: 18px; margin: 0 0 30px; color: #fff; }
#sp-bottom .sp-module ul { list-style: none; padding: 0; margin: 0; }
#sp-bottom .sp-module ul > li { display: block; margin-bottom: 15px; }
#sp-bottom .sp-module ul > li:last-child { margin-bottom: 0; }
#sp-bottom .sp-module ul > li > a { display: block; }
#sp-footer { font-size: 14px; padding: 0; }
#sp-footer .container-inner { padding: 30px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
/* галерея «Наши Фотки» (инлайн-стили аддона 1489384455041 на live) */
#sp-bottom4 .sppb-gallery { margin: -10px; display: flex; flex-wrap: wrap; list-style: none; padding: 0; }
#sp-bottom4 .sppb-gallery li { margin: 10px; }
#sp-bottom4 .sppb-gallery img { width: 77px; height: 75px; object-fit: cover; }