/*
Theme Name: uBella - Child theme
Theme URI: http://webdesign-finder.com/ubella/
Author: MWTemplates
Author URI: http://modernwebtemplates.com
Description: uBella – Modelling Agency WordPress Theme
Version: 1.6.0
Template: ubella
Tags: custom-header, left-sidebar, right-sidebar, post-formats, full-width-template
*/
* {
  font-family: 'Montserrat', sans-serif !important;
}

.about,
.contact-item span.title {
  margin-bottom: 20px;
}

.single-post .contacts-list .contact-item {
  flex-direction: column;
}

.single-post .price-table {
  background-color: transparent !important;
}

.services-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.services-two-columns li {
  display: flex;
  align-items: center;
}

.rel_title {
  font-size: 24px;
  margin-bottom: 20px;
}

.related_wrap {
  margin-bottom: 20px;
}

.related_wrap .vertical-item {
  margin: 0 5px;
}

.related_wrap .owl-nav {
  text-align: center;
  margin-top: 10px;
}

.related_wrap .owl-nav button {
  font-size: 24px;
  margin: 0 10px;
}


.related-model .item-content .model-parameters>ul,
.isotope-item .item-content .model-parameters>ul {
  overflow: hidden;
}

.related-model .item-content .model-parameters>ul .parameter,
.isotope-item .item-content .model-parameters>ul .parameter {
  width: 50% !important;
}

.page_desc {
  clear: both;
}

.model-item {
  height: 400px;
  /* Можно изменить под свой дизайн */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.item-media,
.gallery-string {
  position: relative;
  width: 100%;
  height: 400px;
  /* Высота области под изображение */
  overflow: hidden;
  border-radius: 10px;
  /* по желанию */
}

.model-image,
.gallery-string img {
  width: 100% !important;
  height: 100%;
  object-fit: cover;
  /* Главное правило для правильного отображения */
  display: block;
}

.razmesh {
  text-align: center;
}

.balans-m {
  font-size: 24px;
}

.addi {
  list-style: none;
  margin: 20px 0;
  padding: 6px 12px;
}

.addi li {
  display: inline-block;
  vertical-align: top;
  margin-right: 10px;
  margin-bottom: 10px;
}

.addi li a {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  font-family: "Vidaloka", serif;
  text-align: center;
  border: 0;
  background-color: var(--accent_color_1);
  color: #fff !important;
  font-size: 14px;
  font-weight: 400;
  margin-left: 0;
  width: auto;
  height: 60px;
  border-color: var(--accent_color_1);
  border-radius: 5px;
  text-transform: uppercase;
  transition: all .3s ease-in-out 0s;
}

.razmesh.noraz .isotope-item .wrap {
  background-color: #e64e7a59;
  border-radius: 5px;
}

.razmesh.noraz .vertical-item {
  background-color: transparent;
}

.razmesh.noraz [class*=col-] {
  padding-right: 5px;
  padding-left: 5px;
}

.razmesh .prosto {
  max-width: 96%;
  white-space: normal;
  word-break: break-word;
}

.tooltip {
  position: absolute !important;
  margin-top: -15px;
  width: 19px;
  display: inline-block !important;
  opacity: 1 !important;
}

.tooltip span {
  display: none;
  position: absolute;
  width: 230px;
  top: -15px;
  left: 25px;
  padding: 10px;
  background: #fff;
  color: #000;
  border: 1px solid;
  font-size: 15px;
  border-radius: 5px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.tooltip:hover span {
  display: block !important;
}

.h2_tooltip {
  font-size: 29px;
  margin: 10px 0 20px;
  position: relative;
  font-weight: 400;
  display: inline-block;
  background-color: transparent !important;
}

.h2_tooltip p {
  display: inline-block;
}

.gallets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.pagination-gallery {
  margin: 0;
  display: block;
  line-height: 0;
}

.pagination-gallery>* {
  display: inline-block;
  margin-right: 10px;
  margin-top: 10px;
}

.pagination-gallery .page-numbers.prev,
.pagination-gallery .page-numbers.next {
  font-size: 0;
}

.pagination-gallery .page-numbers.prev::before,
.pagination-gallery .page-numbers.next::before {
  font-size: 14px;
  font-family: FontAwesome;
  position: relative;
  top: 0;
  line-height: 58px;
}

.pagination-gallery .page-numbers.prev::before {
  content: "ï„„";
  /* FontAwesome "previous" icon */
}

.pagination-gallery .page-numbers.next::before {
  content: "ï„…";
  /* FontAwesome "next" icon */
}

.pagination-gallery>*:last-child {
  margin-right: 0;
}

.pagination-gallery .page-numbers {
  font-family: "Vidaloka", serif;
  text-align: center;
  padding: 0;
  color: var(--font_color_4);
  border: 0;
  background-color: var(--backgroundColor_3);
  font-size: 12px;
  font-weight: 400;
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 5px;
  text-transform: uppercase;
  transition: all .3s ease-in-out 0s;
  text-decoration: none;
  /* Удаляем подчеркивание у ссылок */
}

.city {
  color: #fff;
  font-size: 18px
}

.light-version .pagination-gallery .page-numbers {
  background-color: var(--backgroundColor_2);
}

.pagination-gallery .page-numbers.current,
.pagination-gallery .page-numbers:hover,
.pagination-gallery .page-numbers:focus {
  background-color: var(--accent_color_1);
  color: #fff !important;
}

.pagination-gallery .page-numbers.dots {
  background-color: var(--backgroundColor_3);
  color: var(--font_color_4);
  cursor: default;
}

.pagination-gallery .page-numbers.dots:hover,
.pagination-gallery .page-numbers.dots:focus {
  background-color: var(--backgroundColor_3);
  color: var(--font_color_4);
}

/* Стили для "Вперёд" и "Назад", если они есть */
.pagination-gallery .page-numbers.next {
  width: auto;
  /* Для текста "Вперёд »" */
  padding: 0 15px;
}

.pagination-gallery .page-numbers.prev {
  width: auto;
  /* Для текста "« Назад" (если будет добавлен) */
  padding: 0 15px;
}

.service_wrap {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  height: 1200px;
  text-align: left;
}

.service_wrap .service_block {
  width: 48%;
}

.service_wrap .service_block li {
  border-bottom: none !important;
}

.service_block .widget-title {
  display: block;
  width: 100%;
  padding: 5px 0;
  text-align: center;
}


.middle5 {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 30px;
  padding: 20px 0 20px 20px;
  width: 100%;
  border-radius: 12px;
}

.middle5 .service {
  padding: 2px;
  margin-bottom: 20px;
  margin-right: 0;
  flex-basis: calc(100% / 4 - 20px) !important;
}

.middle5 .service div {
  text-transform: capitalize;
  margin-bottom: 4px;
}

.middle5 .service .adv2:hover {
  text-decoration: underline;
  cursor: pointer;
}

.model-item .item-content .model-parameters {
  padding: 35px 15px 30px !important;
}

.model-parameters .phone {
  margin-bottom: 10px;
}

.model-parameters .mobile_phone {
  color: #000;
  font-size: 18px;
}

.preim-item {
  text-align: center;
}

.llv {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 250px;
  /* Фиксированная высота, настройте под ваши нужды */
  overflow: hidden;
}

.preim-item img {
  max-height: 100%;
  width: auto !important;
  object-fit: cover;
  display: block;
  height: 250px;
}


.preim.owl-carousel .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
}

.premiums .container {
  position: relative;
  margin-bottom: 30px;
}

.premiums .container:before {
  content: 'VIP';
  position: absolute;
  width: 80px;
  bottom: 20px;
  left: -40px;
  height: 40px;
  font-size: 30px;
  text-align: center;
  font-weight: 700;
  text-shadow: 1px 1px 2px var(--accent_color_1);
  ;
  transform: rotate(-90deg);
  color: var(--accent_color_1);
  ;
}

.premiums .container:after {
  top: 5px;
  right: -40px;
  transform: rotate(90deg);
  content: 'VIP';
  position: absolute;
  width: 80px;
  height: 40px;
  font-size: 30px;
  text-align: center;
  font-weight: 700;
  text-shadow: 1px 1px 2px var(--accent_color_1);
  ;
  color: var(--accent_color_1);
  ;
}

.name_h1 {
  margin: 0 0 15px 0;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
}

.wait_call {
  position: absolute;
  left: 5px;
  border-radius: 5px;
  top: 5px;
  color: #fff;
  background-color: var(--accent_color_1);
  padding: 2px 4px;
  font-size: 14px;
  font-family: 'Roboto Condensed', sans-serif;
  box-shadow: 0 0 0 rgba(255, 0, 0, 0.4);
  animation: pulse2 2s infinite;
}

.wait_call:hover {
  animation: none;
}

@-webkit-keyframes pulse2 {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.4);
  }

  70% {
    -webkit-box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
  }

  100% {
    -webkit-box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
}

@keyframes pulse2 {
  0% {
    -moz-box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.4);
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.4);
  }

  70% {
    -moz-box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
    box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
  }

  100% {
    -moz-box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
}



.master-phone {
  display: flex;
  gap: 10px;
}

.site-phone .viber,
.site-phone .whatsapp,
.site-phone .telegram,
.single_menu .viber,
.single_menu .whatsapp,
.single_menu .telegram,
.call_me .call_me_icon,
.write_me .write_me_icon {
  display: inline-block;
  width: 30px;
  height: 30px;
  position: relative;
  margin-right: 5px !important;
  background-size: 100%;
}

.site-phone .viber,
.single_menu .viber {
  background: url(./img/viber.png) no-repeat;
}

.site-phone .whatsapp,
.single_menu .whatsapp {
  background: url(./img/whatsapp.png) no-repeat;
  background-size: 100%;
  margin: 0 3px;
}

.site-phone .telegram,
.single_menu .telegram {
  background: url(./img/telegram.png) no-repeat;
}

.call_me .call_me_icon {
  background: url(./img/phone.png) no-repeat;
  top: 10px;
  height: 32px;
  margin-right: 10px;
}

.write_me .write_me_icon {
  background: url(./img/mail.png) no-repeat;
  margin-right: 10px;
  top: 3px;
}

.call_me a {
  margin-top: -15px;
  color: #fff;
}


@media (max-width: 991px) {
  .sidebar {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .tooltip span {
    left: unset;
    right: 25px;
  }

  .about {
    text-align: center;
  }

  .master-phone {
    justify-content: center;
  }

  .contact-item span.title {
    text-align: center;
  }

  .rel_title {
    text-align: center;
  }

  .page-template-page-lk table td,
  .page-template-page-lk table th {
    padding: 5px 5px;
    font-size: 13px;
  }

  .middle5 .service {
    flex-basis: calc(33% - 20px) !important;
  }



}

@media screen and (max-width: 480px) {
  .premiums .container {
    margin: 0 30px;
  }
}

@media screen and (max-width: 390px) {
  .tooltip span {
    left: unset;
    right: -50px;
  }

  .page-template-page-lk table td,
  .page-template-page-lk table th {
    padding: 5px 5px;
    font-size: 10px;
  }
}

.model-parameters .parameter-icon {
  display: inline-flex;
  align-items: center;
  margin-right: 8px;
}

.model-parameters .parameter-icon svg {
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

.model-parameters .phone .parameter-icon {
  margin-right: 6px;
}

.icon {
  display: inline-block;
  line-height: 0;
}

/* чтобы убрать лишние белые полосы */

.parameter-value,
.parameter-title {
  font-size: 18px;
}

.parameter {
  align-items: center;
}

/* Мобильная иконка личного кабинета с текстом */
.mobile-account-icon {
  display: none;
  position: absolute;
  right: 30px;
  /* Отступ от бургер-меню */
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
}

@media (max-width: 991px) {
  .mobile-account-icon {
    display: flex;
    align-items: center;
    gap: 5px;
  }
}

.account-icon-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 5px;
}

.account-icon-link i {
  color: #ffffff;
  /* Белая иконка */
  font-size: 22px;
  transition: all 0.3s ease;
}

.account-icon-link .login-text {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
}

.account-icon-link:hover i {
  opacity: 0.8;
}

@media (max-width: 480px) {
  .breadcrumb {
    display: block !important;
  }
}

/* Исправление пагинации */
.loop-pagination .pagination {
  line-height: 1.5;
  display: inline-block;
  margin: 20px 0;
}

.header_type_2 .page_header_side.vertical_menu_header.affix::before,
.header_type_3 .page_header_side.vertical_menu_header.affix::before {
  display: none !important;
}

.models-shortcode.owl-carousel.show_nav .owl-nav .owl-next,
.models-shortcode.owl-carousel.show_nav .owl-nav .owl-prev {
  -webkit-transform: translateY(-50%) rotate(0deg) !important;
  transform: translateY(-50%) rotate(0deg) !important;
}

.acf-repeater .acf-row-handle.order,
.acf-repeater .acf-row-handle.remove,
.acf-table>tbody>tr>th, .acf-table>tbody>tr>td, .acf-table>thead>tr>th, .acf-table>thead>tr>td{
  background: #313131 !important;
}
a.acf-icon{
   color: #fff !important;
    border-color: #BBB;
    background-color: #e64e7a !important;
}
.page-template-page-add_anket select{
      color: #ffffff !important;
    background-color: #313131 !important;
}

.subcategories {
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
  width: 100%;
	border-top: 1px solid #efefef;
	border-bottom: 1px solid #efefef;
	position: relative;
	margin-top: 25px;
	margin-bottom: 25px;
}

.sub-links {
	font-size: 14px;
	font-weight: 500;
	padding: 0;
	list-style: none;
	padding: 0 !important;
	margin: 10px auto 10px auto !important;
	width: auto;
	position: relative;
	height: auto;
	min-height: 32px !important;
	overflow: hidden;
	display: block !important;
}

.sub-links li {
	margin: 0 5px 7px 5px;
	display: inline-block;
}

.sub-links a {
	color: #fff;
	border: #e64e7a solid 1px;
	padding: 0 7px;
	border-radius: 5px;
	display: inline-block;
}