@font-face {
	font-family: "Exo2Regular";
	src: url("../fonts/Exo2Regular/Exo2Regular.eot");
	src: url("../fonts/Exo2Regular/Exo2Regular.eot?#iefix")format("embedded-opentype"),
	url("../fonts/Exo2Regular/Exo2Regular.woff") format("woff"),
	url("../fonts/Exo2Regular/Exo2Regular.ttf") format("truetype");
	font-style: normal;
	font-weight: normal;
}
@font-face {
	font-family: "Exo2Bold";
	src: url("../fonts/Exo2Bold/Exo2Bold.eot");
	src: url("../fonts/Exo2Bold/Exo2Bold.eot?#iefix")format("embedded-opentype"),
	url("../fonts/Exo2Bold/Exo2Bold.woff") format("woff"),
	url("../fonts/Exo2Bold/Exo2Bold.ttf") format("truetype");
	font-style: normal;
	font-weight: normal;
}
.current-show-hide {display:block !important;}
.show-hide{display:none !important;}
html, body, .wrapper {
    min-width: 320px;
    font-size:14px;
}

.wrapper {
    background-color: #eee;
}

ul {
    padding: 0;
    margin:0;
}

li {
    list-style-type: none;
}

a:hover {
    text-decoration:none;
	color: #ef5350;
}

/*
header
*/
.addnews-but {
    position:absolute;
    top:7px;
    right:15px;
    padding: 8px 15px;
    display:inline-block;
    text-align: center;
    background:#4f5aa9;
    color:#fff;
    font-size: 15px;
	font-family: "Exo2Bold";
}


.addnews-but2 {
    right: 119px;
    text-align: center;
    background: #4f5aa9;
    color: #fff;
    font-size: 15px;
    font-family: "Exo2Bold";
    cursor: pointer;
    height: 37px;
    position: absolute;
    top: 101%;
    margin: -16px -3px 1px -2px;
    padding: 7px 15px;
}


.addnews-but:hover {
    color:#fff;
}
.addnews-but i {font-size:18px;}
.top-header-navigation {
    background-color: #4f5aa9;
    color: white;
    min-height: 100px;
    margin-bottom: 0;
}

.top-header-navigation > .container-fluid .navbar-brand {
    margin-top: 15px;
    margin-left: 0;
    min-width: 255px;
}

.top-header-navigation > .container-fluid .navbar-brand .logo-head{
    width: 90px;
    height:90px;
    border-radius: 100%;
    background:#fff;
    float:left;
    position:relative;
    margin-top:-25px;
    margin-right:10px;
    text-align:center;
}

.top-header-navigation .navbar-brand > .logo-head img {
    position: relative;
    top: 8px;
}

.top-header-navigation .navbar-brand > span {
    font-size: 1.8em;
}

.top-header-navigation .navbar-brand > small {
    font-size: .7em;
	line-height: 0;
}

.top-header-navigation .navbar-brand,
.top-header-navigation .navbar-brand:hover,
.top-header-navigation .navbar-brand:focus {
    color: white;
    outline: none;
}

.top-header-navigation .navbar-right {
    margin-right: 0;
}

.top-header-navigation .nav > li  {
    position:relative;
}

.menu-top-right {
    float:right;
    margin: 20px 0;
}

.menu-top-right li.border-link{
    display:inline-block;
    position:relative;
}

.menu-top-right li.border-link a{
    display:inline-block;
    color:#fff;
    border: 1px solid #fff;
    padding: 18px 25px;
    margin: 0 15px;
}

.nav-icon {
    margin-right: 5px;
}

.menu-button {
    width: auto;
    text-align: center;
    border: 1px solid white;
    height: 50px;
    border-radius: 0;
    margin-top: 24px;
    margin-bottom: 24px
}

.bottom-header-navigation {
    background-color: #fff;
    -webkit-box-shadow: 0px 0px 13px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 0px 13px 0px rgba(0,0,0,0.25);
    box-shadow: 0px 0px 13px 0px rgba(0,0,0,0.25);
}

.bottom-header-navigation .nav > li > a {
    color: #000;
    font-weight: bold;
    text-align: center;
    min-width: 100px;
    font-size:16px;
}

.bottom-header-navigation .nav > li > a:hover,
.bottom-header-navigation .nav > li > a:focus{
    background-color: rgba(255, 255, 255, .2);
    outline: none;
}



/*-------login--------*/
.prof-list li{
    display:inline-block;
    width:49%;
    padding:2px 0;
}

.prof-list a{
    color:#000;
}

.btn-kabinet{
    margin-bottom: 10px;
    margin-top: 20px;
    width: 250px;
}

.btn-rega {
    width:100%
}

.login-social {
    text-align:center;
}

.login-social a{
    margin: 0 3px;
}

.login-social img{
    width: 26px;
    height: 26px;
}

/*
end of header
*/

/*
main
*/
.navbar-default .navbar-nav>li>a {
 width: 200px;
 font-weight: bold;
}
.mega-dropdown {
 position: static !important;
}
.mega-dropdown-menu {
 padding: 20px 0px;
 width: 97.5%;
border-bottom:0;
border-top: 1px solid rgba(0,0,0,.15);
border-right:0;
border-left:0;
margin: 2px 15px 0;
}
.mega-dropdown-menu > li > ul {
 padding: 0;
 margin: 0;
}
.mega-dropdown-menu > li > ul > li {
 list-style: none;
}
.mega-dropdown-menu > li > ul > li > a {
 display: block;
 padding: 3px 10px;
 clear: both;
 font-weight: normal;
 line-height: 1.428571429;
 color: #333;
 white-space: normal;
}
.mega-dropdown-menu > li > ul > li > a > span {
 margin-left:10px;
}
.mega-dropdown-menu .dropdown-header {padding: 3px 10px !important;}
.mega-dropdown-menu > li ul > li > a:hover,
.mega-dropdown-menu > li ul > li > a:focus {
 text-decoration: none;
 color: #444;
 background-color: #f5f5f5;
}
.mega-dropdown-menu .dropdown-header, .mega-dropdown-menu .dropdown-header a {
    color: #428bca;
    font-size: 18px;
    font-weight: bold;
}
.mega-dropdown-menu .dropdown-header a {
    background: none !important;
    padding: 0;
}
.mega-dropdown-menu .dropdown-header a:hover {color:#428bca;}
.nav-navbar, .border-link, .page-header h1, .page-header h2, .page-header .ptitle, .navbar-header {font-family: "Exo2Bold";}
label {font-weight:normal;}
.page-header h1, .page-header h2, .page-header .ptitle{ font-size:25px; font-weight:700;}
.icon-r .fa {margin-left: 10px;}
.flex-row {display: flex; flex-flow: row wrap;justify-content: space-between;}
.grid-select {display:inline-block; color:#FFF;}
.grid-select:before {content:attr(data-label); vertical-align:middle;}
.grid-select div {display:inline-block; vertical-align:middle; height:40px; width:40px; text-align:center; 
margin-left:10px; font-size:18px; cursor:pointer; line-height:40px; color:#333; border: 1px solid #e3e3e3; }
.grid-select div:hover, .grid-select div.current {border:0; color: #fff; background-color: #ef5350;}
.grid-pages {margin:0;}
@media screen and (min-width: 700px) {
.grid-list .col-xs-12.col-sm-6 {width: 100% !important;}
.grid-list .col-xs-12.col-sm-6 .img-wrapper {width: 300px; float: left; height: 230px;}
.grid-list .col-xs-12.col-sm-6 .thumbnail .caption {padding: 9px 0 0 315px;}
.grid-list .col-xs-12.col-sm-6 .short-foot {height: 39px;}
.grid-list .col-xs-12.col-sm-6 .short-fav {left: 250px;}
.grid-list .col-xs-12.col-sm-6 .price {top: 175px;}
.grid-list .col-xs-12.col-sm-6 .price2 {top: 100px;}
.grid-list .col-xs-12.col-sm-6 .price2 {top: 130px;}
}
@media screen and (max-width: 699px) {
.grid-select {display:none;}
}
@media screen and (min-width: 768px) {
.navbar-nav {padding-right: 140px;}
}
.price {
    background-color: #4ADD31;
    color: #fff;
    font-size: 1.2em;
    font-weight: bold;
    height: 40px;
    padding:0 10px 0 16px;
    line-height: 40px;
    position: absolute;
    text-align: center;
    top: 200px;
    width: auto;
}
.price2 {
    background-color: #FF4500;
    color: #fff;
    font-size: 1.2em;
    font-weight: bold;
    height: 40px;
    padding:0 10px 0 16px;
    line-height: 40px;
    position: absolute;
    text-align: center;
    top: 100px;
    width: auto;
	border-radius:10px;

}

.blinking-text {
  animation: blink-animation 1s steps(10, start) infinite;
}

@keyframes blink-animation {
  to {
    visibility: hidden;
  }
}

.price3 {
    background-color: #4ADD31;
    color: #fff;
    font-size: 1.2em;
    font-weight: bold;
    height: 40px;
    padding:0 10px 0 16px;
    line-height: 40px;
    position: absolute;
    text-align: center;
    top: 50px;
    width: auto;
	border-radius:10px;

}

.price4 {
    background-color: rgb(183 28 28 / 74%);
    color: #fff;
    font-weight: 300;
    font-size: 18px;
    height: 149px;
    line-height: 144px;
    text-align: center;
    width: 96%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    margin: auto;
	border-radius:10px;
}
	
.whatsapp {
    background-color: #4682B4;
    color: #fff;
    font-size: 1.2em;
    font-weight: bold;
    height: 40px;
    padding:0 10px 0 16px;
    line-height: 40px;
    position: absolute;
    text-align: center;
    top: 5px;
    width: auto;
	border-radius:10px;


}

.price:after {
    content: "";
    border: 20px solid transparent;
    border-left-color: #4ADD31;
    border-right: 0;
    height: 0;
    position: absolute;
    right: -20px;
    width: 0;
}
.speedbar {
    background: #FFF;
    padding: 10px 15px;
    box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.1);
    margin-top: 20px;
}
span.counts {
    color: #9b9b9b;
}
.content {
    background-color: white;
    margin-top: 0px;
    padding: 15px;
	box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.1);
}
.filter-wrap {
    display: none;
}
.content.full-content {padding: 15px 0;}
.top_block, .full_block{width: 100%; overflow: hidden;text-align: center;}
.top_block img, .full_block img, .side_block img{ max-width:100%;}
.full_block {margin-bottom:15px;}
.side_block {text-align: center;}
.additional-content {
    margin-right: -15px;
}

.additional-content-header {
    border-bottom: 1px solid #eee;
    height: 50px;
    margin-bottom: 20px;
    padding-left: 5px;
}

.aditional-img-wrapper {
    max-height: 250px;
    overflow: hidden;
    position: relative;
}

.aditional-img-wrapper a > img {
    max-height: 250px;
}

.aditional-price {
    background-color: #4add31;
    color: white;
    font-weight: bold;
    height: 24px;
    line-height: 24px;
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
    position: absolute;
    bottom: 10px;
}

.aditional-price:after {
    content: "";
    border: 12px solid transparent;
    border-left-color: #4add31;
    border-right: 0;
    position: absolute;
    right: -12px;
    top: 0;
}

.additional-content h4 {
    font-weight: bold;
}

.additional-description {
    max-height: 100px;
    overflow: hidden;
}

main > section:last-child {
    padding-bottom: 20px;
}
/* TOOLTIP
----------------------------------------------- */
#tooltip{text-align:center;color:#ffffff;background-color:#000000;background-color:rgba(0, 0, 0, 0.65);position:absolute;z-index:10000;padding:.5em;font-size:.85em;line-height:1.2em;border-radius:3px;}
#tooltip:after{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:3px solid #000000;border-top-color:rgba(0, 0, 0, 0.65);content:'';position:absolute;left:50%;bottom:-3px;margin-left:-5px;}
#tooltip.top:after{border-top-color:transparent;border-bottom:10px solid #111;top:-20px;bottom:auto;}
#tooltip.left:after{left:10px;margin:0;}
#tooltip.right:after{right:10px;left:auto;margin:0;}
.masha_index {display:none !important;}
.filter-wrapper {
    font-size: 1.2em;
    padding-bottom: 9px;
    margin: 40px 0 20px;
    border-bottom: 1px solid #eee;
}

.filter {
    height: 33px;
    overflow: visible;
}

.offer {
    border-radius: 0;
    height: auto;
    position: relative;
}

.short-fav {
    position: absolute;
    top: 4px;
    right: 15px;
    font-size: 20px;
    font-weight: 700;
    width: 40px;
    display: block;
    padding:10px 0;
    text-align: center;
    background: #FCE99D;
    color: #555;
	cursor:pointer;
}

.short-fav::after {
    content: ''; 
    position: absolute;
    left: 0;
    bottom: -20px;
    border: 10px solid transparent;	
    border-top: 10px solid #FCE99D; 
    border-left: 10px solid #FCE99D;
}

.short-fav::before {
    content: ''; 
    position: absolute;
    right: 0;
    bottom: -20px;
    border: 10px solid transparent;	
    border-top: 10px solid #FCE99D; 
    border-right: 10px solid #FCE99D;
}

.centr {text-align:center;}

.img-wrapper {
    height: 260px;
    overflow: hidden;
}

.img-wrapper.rand-img {
    height: 140px;
}

.img-wrapper img {
    width: 100%;
	min-height:100%;
}
@media (min-width: 768px){
.relnews .img-wrapper, .grid-thumb-3col .col-sm-6 .img-wrapper {height:160px;}
.grid-thumb-3col .col-sm-6 { width: 33.33333333%;}
}
.grid-thumb-3col .col-sm-6  .description, .grid-thumb-3col .col-sm-6  .short-foot, .grid-thumb-3col .col-sm-6 .btn, .grid-thumb-3col .col-sm-6 .none-adres{ display:none;}
.grid-thumb-3col .col-sm-6 .icon-l, .relnews .icon-l {margin:0;}
.grid-thumb-3col .clr {
    display: none;
}
@media (max-width: 470px){.relnews .img-wrapper, .grid-thumb-3col .col-sm-6 .img-wrapper {height:160px;}}
.relnews .price, .grid-thumb-3col .col-sm-6 .price {top:120px; font-size: 1em; height: 30px; line-height: 30px;}
.relnews .price2, .grid-thumb-3col .col-sm-6 .price2 {top:35px; font-size: 1em; height: 30px; line-height: 30px;}
.relnews .price3, .grid-thumb-3col .col-sm-6 .price3 {top:70px; font-size: 1em; height: 30px; line-height: 30px;}
.relnews .whatsapp, .grid-thumb-3col .col-sm-6 .whatsapp {top:5px; font-size: 1em; height: 30px; line-height: 30px;}
.relnews .price:after, .grid-thumb-3col .col-sm-6 .price:after {
    content: "";
    border: 15px solid transparent;
    border-left-color: #4ADD31;
    border-right: 0;
    height: 0;
    position: absolute;
    right: -15px;
    width: 0;
}
.relnews .offer > .caption > a h2, .grid-thumb-3col .col-sm-6 .offer > .caption > a h2 {
    font-size: 15px;
    line-height: 18px;
	margin-bottom: 5px;
	height: 36px;
	overflow:hidden;
}
.relnews .sdate, .grid-thumb-3col .col-sm-6 .sdate {line-height: inherit;}
.grid-thumb-3col .col-sm-6 .short-fav {
    top: 4px;
    right: 15px;
    font-size: 15px;
    width: 30px;
    padding: 5px 0;
}
.grid-thumb-3col .col-sm-6 .short-fav::before, .grid-thumb-3col .col-sm-6 .short-fav::after {bottom: -15px;}

.offer > .caption > a h3, .offer > .caption > a h2{
    font-size:19px;
    line-height: 25px;
    color:#000;
	font-weight: 700;
}
.caption .reltitle  a{
    color:#000;
}
.caption a h4, .caption .reltitle  {
    font-size:18px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color:#000;
}
.ftags {margin-bottom:0px; line-height:30px; margin-top:20px;}
.ftags a {display:inline-block; padding:0 10px; background-color:#f2f2f2; margin:0 0 10px 5px;}

.short-foot {
    font-size:15px;
    color:#7D7D7D;
    background:#fafafa;
    border-radius:3px;
    padding:5px 15px;
    margin:15px 0;
}

.short-foot2 {
	line-height: 26px;
}
.page-header.full-title {
    padding-left: 58px;
	position: relative;
}
.page-header.full-title .full-fav {
    position: absolute;
    left: 0;
	cursor:pointer;
}
.page-header.full-title span {
    color: #8c8c8c;
}
.page-header.full-title span a {
    color: #8c8c8c;
}
.page-header.full-title span a:hover {
    color: #039ad3;
}
#map {width: 100%; height: 500px;display:none;margin-top: 15px;}
@media (max-width: 700px) {
#map {height:300px;}
}
@media (max-width: 400px) {
#map {height:250px;}
}
.full-info {margin:25px 0;}
@media (max-width: 600px) {
.soc-block div, .full-info .pull-left, .full-info .rate-box {display:block; text-align:center;width:100%;}
.full-info .rate-box .full-rating {display:block; height:auto; margin:5px 0;}
.complaint {margin:10px 0 15px;}
}
#saler {display:none;}
.complaint  a {color:#ef5350;}
.complaint  a:hover {color:#ef8281;}
.full-foot-info {
    margin-top:10px;
}
.sdate{line-height: 31px; color: #929292;}
.short-foot .short-foot-info li{
    position:relative;
    display:inline-block;
}
.short-foot-info li a {color:#7d7d7d;text-decoration:none;}
.short-foot-info li a:hover {color:#ef5350;}
.short-foot .short-foot-info li:after{
    content:"|";
    padding:0 10px;
}

.short-foot .short-foot-info li:last-child:after{
    content:"";
}

.rate-box {float:right;}

.news-img{
    display:block;
    margin:0 auto;
    max-width: 100%;
    padding:5px;
    border:1px solid #eee;
}
@media (min-width: 992px) {
.full-left {width:72%;}
.full-right {width:28%;}
.sticky {
  position: fixed;
  z-index: 101;
  top:10px !important;
}
.stop {
  position: relative;
  z-index: 101;
}
}
.r-adres {
    margin-top: 10px;
}
#phone1{
    display: block;
    font-size:20px;
    padding:8px 15px;
    background:#039ad3;
    color:#fff;
	clear: both;
    margin:15px 0;
	text-align:center;
	line-height: 22px;
	border: 1px solid #038abd;
}
#phone1 span, .pm-author {font-size:17px !important;}
#phone1:hover {
    background: #08aeec;
}

#phone2, .pm-author{
    display: block;
    font-size:20px;
    padding:8px 15px;
    background:#fff;
    color:#039ad3;
	clear: both;
    margin:15px 0;
	text-align:center;
	border: 1px solid #039ad3;
}

#phone3, .pm-author{
    display: block;
    font-size:20px;
    padding:18px 115px;
    background:#fff;
    color:#039ad3;
	clear: both;
    margin:115px 0;
	text-align:center;
	border: 1px solid #039ad3;
}


.pm-author:hover {background-color: #f2f9fc;color:#039ad3;}

.full-fav {
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    padding: 10px 15px;
    background: rgba(250, 221, 105, 0.65);
    color: #555;
    float: left;
    margin: 4px 10px 0 0;
}

.block-price {
    color: #333;
    display: inline-block;
    font-size: 2em;
    font-family: "Exo2Bold";
    height: 26px;
    line-height: 26px;
    position: relative;
	width:100%;
}

.title-header {
    text-align: right;
font-family: "Exo2Bold";
}
.full-screens {display:none !important}
.user-simple {
    margin: 25px 0 5px;
    clear: both;
}		
.user-simple .user_image{
    margin: 0 24px 0 0;
    width: 60px;
    height: 60px;
	    padding-right: 18px;
    border-radius: 0;
    float: none!important;
    display: table-cell;
    vertical-align: top;
    background: transparent;
    font-size: 0;
    line-height: 0;
}
.user-simple .user_image a {
    display: block;
    border-radius: 100px;
}
.user_image img {
    border-radius: 100px;
    font-size: 0;
}
.user_info {
    display: table-cell;
    vertical-align: middle;
}
.user-simple .user__name {
    color: #2a2a2a;
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 2px;
}
.status_label {
    width: 8px;
    height: 8px;
    background: #45ae24;
    display: inline-block;
    vertical-align: middle;
    border-radius: 100px;
    position: relative;
    top: -2px;
    margin: 0 5px;
}
.user_type {
    display: block;
    margin-top: 4px;
    margin-bottom: 10px;
}
.user_label, .user_type {
    color: gray;
    font-size: 14px;
}
.block-author {
    position: relative;
    width: 25%;
    height: 50px;
    padding: 0 4px;
    overflow: hidden;
}
.block-author>a:hover:after {
    background: rgba(0,0,0,.16);
}
.block-author-image, .block-author-image img {width: 100%; height: 100%;}
.block-author-image:after {
    content: "";
    position: absolute;
    width: 89%;
    height: 100%;
    top: 0;
    left: 5px;
    background: transparent;
    transition: background .3s ease;
}
@media (max-width: 1199px) {
.btn-pm, .btn-fav {display:none !important}
.block-a {display:none;}
}
.block-a { margin-bottom: 10px;}
.view-all {display:block; font-size: 15px;}
.item-view-block {
    padding: 20px 0;
	font-size: 16px;
    border-top: 0px solid #e1e1e1;
}
.item-params {
    font-size: 16px;
    line-height: 25px;
}
.item-params-list {
    margin-bottom: -8px;
    line-height: 20px;
}
@media (min-width: 767px) {
.item-params-list {
    -webkit-column-count: 2;
    column-count: 2;
    column-gap: 15px;
    -webkit-column-gap: 15px;
    -moz-column-gap: 15px;
}
}
@media (max-width: 991px) {
    .full-right {margin-bottom: 20px;}
}
.item-params-list-item {
    min-width: 260px;
    padding-bottom: 8px;
    font-size: 16px;
    page-break-inside: avoid;
    overflow: hidden;
    text-overflow: ellipsis;
}
#show-map {
    display: inline-block;
    color: #039ad3;
    cursor: pointer;
    font-size: 15px;
}
.rate-comm {
    float:right;
    margin-top: 5px;
}
.short-foot2 .full-rating {padding:0; height:auto;}
.slice{overflow:hidden;position:relative;transition:height .2s;}
.slice-btn{margin:0px 0 0 0;}
.slice-btn span{display:inline-block;cursor:pointer;color:#039ad3;}
.full-rating {
    display:table;
    height:36px;
    background:#fafafa; 
    padding: 6px 6px;
}

.full-rating > a {
    display:inline-block;
    vertical-align: top;
    margin-left:3px;
}

.full-rating i {
    display:inline-block; 
    color:#fff; 
    font-size: 16px; 
    width:26px; 
    text-align:center; 
    border:1px solid #9cce43;
    background-color:#9cce43; 
    line-height:26px;
}

.full-rating a:nth-child(3) i {
    color:#fff; 
    font-size: 14px;
    border:1px solid #ed6037; 
    background-color:#ed6037;
}

.full-rating > span {
    display:inline-block; 
    position:relative; 
    background-color:#FFF; 
    padding:0 12px; 
    margin-right:4px;
    line-height:28px;
}

.full-rating > span > span {color:#94bee6;}
.full-rating > span > span.ratingzero {color: #444444;}
.full-rating > span > span.ratingtypeplus {color: #06b601;}
.full-rating > span > span.ratingplus {color: green;}
.full-rating > span > span.ratingminus {color: red;}
.full-rating a:nth-child(3) i:hover {background-color: #D83809;}
.full-rating i:hover {background-color: #88B33B;}

@media (max-width: 767px) {
    .title-header {
        text-align: left;
    }
}

.info {
    padding: 30px 20px;
}

.info h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    padding-top: 10px;
    text-align: center;
}

.white h3 {
    border-bottom: 1px solid #EF5350;
    border-top: 1px solid #EF5350;
    color: #EF5350;
}

.red {
    color: white;
    background-color: #E57373;
}

.red h3 {
    border-bottom: 1px solid white;
    border-top: 1px solid white;
}

.info-img {
    height: 200px;
    width: 200px;
}

.white .info-img {
    border: 4px solid #EF5350;
}

.worker p,
.stat-info p {
    padding-top: 20px;
}

.stat-info h4 {
    border-bottom: 1px solid #eee;
    font-weight: bold;
    padding-bottom: 10px;
    padding-top: 30px;
}

.info .row {
    padding-top: 20px
}

.contact-title {
    color: #E57373;
    font-weight: bold;
}

.contact-icon {
    display: inline-block;
    width: 30px;
    text-align: center;
    margin-right: 15px;
}

/*
coments
*/

.coments-wrapper {
    padding-left: 30px;
    padding-right: 30px;
}

.dialog {
    border-left: 1px solid #EF5350;
    margin-top: 25px;
    margin-bottom: 25px;
    width: 90%; 
}

.message {
    border: 1px solid #eee;
    margin-bottom: 20px;
    padding: 5px;
}

.comment-actions {
    margin-left:10px;
}

.comment-actions li {
    background:#fafafa;
    border-radius:3px;
    display:inline-block;
    padding:3px 7px;
    margin: 2px 2px;
}

.comment-actions a {
    color:#000;
    font-size:13px;
}

.comment-actions li:hover {
    background:#EF5350;
}

.comment-actions a li:hover {
    color:#fff;
}

.message.answer {
    margin-left: 10%;
    position: relative;
}

.message.answer:before {
    content: "\f064";
    color: #bdbdbd;
    font-family: FontAwesome;
    font-size: 2em;
    position: absolute;
    top: -40px;
    left: -10px;
    transform: rotate(270deg);
}

.message-header {
    padding: 0 10px 5px 20px;
    border-bottom: 1px solid #eee;
}

.message-header img {
    width: 50px;
    height: 50px;
}

.message-header strong {
    margin-top: 15px;
    margin-left: 10px;
}

.message-content {
    padding: 10px;
}

.message-footer {
    color: #BDBDBD;
    padding: 5px 15px;
}

.mes-box {
    margin-left: 5%;
    max-width: 80%;
}

.mes-info {
    display:inline;
    margin: 15px 0;
}

.mes-info li {
    display:inline-block;
    color: #BDBDBD;
    padding: 5px 15px;
}

.signature {
    border-top: 1px dashed #777;
    color:#777;
    margin-top:10px;
    padding-top:10px;
    font-size:12px;
}

.date {
    font-size: .9em;
}

.answer-btn {
    border: 0;
    background-color: transparent;
    outline: none!important;
    color: #757575;
}

.answer-btn:hover {
    color: #EF5350;
    box-shadow: none;
}

.load-comm {
    border: 0 none;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    height: 32px;
    border-radius: 3px;
    line-height: 17px;
    margin: 3px 0;
    outline: none;
    background-color: #40E342;
    color: #fff;
    border: 0 none;
    padding: 7px 15px;
    text-decoration: none !important;
    -webkit-transition: all ease .1s;
    transition: all ease .1s;
}

.load-comm:hover {
    color: #fff;
}

/*
end of coments
*/

/*---------------------------------------Карусель-------------------------------------*/

.owl-carousel {
    padding: 0px 10px;
    transition:0.5s;
    z-index:1;
}

.owl-carousel li{
    margin:0 10px;
    height: 200px;
    overflow:hidden;
}	

.owl-carousel li img {
    max-width:100%;
    float: left;
    margin-right: 5px;
}	

.owl-item {
    overflow:hidden;
}

.owl-carousel .owl-buttons i.icon-white {
    font-size: 50px;
    color: #EF5350;
    text-align:center;
    line-height:26px;
}

.owl-carousel .owl-controls .owl-buttons div {
    position: absolute;
    top: 50%;
    margin-top:-15px;
}

.owl-carousel .owl-controls .owl-buttons .owl-prev{
    left: -5px;
}

.owl-carousel .owl-controls .owl-buttons .owl-next{
    right: -15px;
}

.pagination > li:first-child > a,
.pagination > li:first-child > span,
.pagination > li:last-child > a,
.pagination > li:last-child > span {
    border-radius: 0;
}

.pagination > li > a,
.pagination > li > span,
.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
    color: #EF5350;
}

.pagination > li > a,
.pagination > li > span,
.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus,
.pagination > li.active > a,
.pagination > li.active > span,
.pagination > li.active > a:hover,
.pagination > li.active > span:hover,
.pagination > li.active > a:focus,
.pagination > li.active > span:focus,
.pagination > li.disabled > a,
.pagination > li.disabled > span,
.pagination > li.disabled > a:hover,
.pagination > li.disabled > span:hover {
    border: 1px solid #EF5350;
}

.pagination > li.active > a,
.pagination > li.active > span,
.pagination > li.active > a:hover,
.pagination > li.active > span:hover,
.pagination > li.active > a:focus,
.pagination > li.active > span:focus {
    background-color: #EF5350;
}

/*
end of main
*/

/*
forms and buttons
*/
#modalSearch .form-control .btn {
    background: transparent; 
    color:#000;
}

.btn {
    border: 0;
    border-radius: 3px;
    outline: none!important;
    box-shadow: none;
    color: #fff;
    background: #4f5aa9;
}

.btn:hover {
    color: #fff;
}

.btn-submit,
.btn-submit:hover,
.btn-submit:focus,
.btn-submit:active,
.btn-submit:active:focus {
    background-color: #EF5350;
    color: white;
    min-width: 150px;
}

.btn-more,
.btn-more:hover,
.btn-more:focus,
.btn-more:active,
.btn-more:active:focus {
    background-color: #EF5350;
    color: white;
}

.btn-clarify {
    color: #616161;
    border-bottom: 1px dotted #616161;
    padding: 0 5px;
    display: inline-block;
    margin-right: 20px;
    font-size: 1em;
}

.btn-clarify:hover {
    border-bottom-style: solid;
}

.btn-exit {
    border: 1px solid transparent;
    font-weight: bold;
    margin-top: 10px;
}

.btn-exit:hover {
    border-color: #EF5350;
}

.btn-exit,
.btn-exit:hover,
.btn-exit:focus,
.btn-exit:active,
.btn-exit:active:focus {
    color: #EF5350;
    background-color: transparent;
}

.form-group a {
    display: inline-block;
}

.bootstrap-select .btn-default {
    border: 0;
    border-bottom: 1px solid #616161;
    border-radius: 0;
    transition: border-bottom-color 0.4s ease 0.1s;
}

.bootstrap-select .btn-default:focus,
.bootstrap-select .btn-default:active,
.bootstrap-select .btn-default:focus:active {
    outline: none!important;
}


.bootstrap-select .btn-default:active,
.bootstrap-select .btn-default:hover {
    border-bottom: 1px solid #E14E4B;
}


.bootstrap-select .btn-default:active,
.bootstrap-select .btn-default:hover {
    border-bottom: 1px solid #E14E4B;
}

.bootstrap-select.open .btn-default,
.bootstrap-select.open .btn-default:focus,
.bootstrap-select.open .btn-default:hover {
    border-bottom: 1px solid #E14E4B;
}

.form-control {
    border: 0;
    border-bottom: 1px solid #616161;
    border-radius: 0;
    box-shadow: none;
    transition: border-bottom-color 0.4s ease 0.1s;
}

.form-control:active,
.form-control:focus,
.form-control:active:focus {
    outline: none;
    box-shadow: none;
}

.form-control:active,
.form-control:focus{
    background-color: #eee;
    border-bottom: 1px solid #E14E4B;
}

.form-group.in-put span {
    display: inline-block;
    padding-top: 6px;
}

input.radio-awesome {
    display: none;
}

.radio {
    display: inline;
    margin-right: 5px;
    color: #EF5350;
}

.radio:before {
    content: "\f10c";
}

input.radio-awesome:checked + .radio:before {
    content: "\f111";
}

.check-awesome {
    display: none;
}

.check-awesome + i:before {
    content: "\f096";
    display: inline-block;
    width: 20px;
    color: #EF5350;
}

.check-awesome:checked + i:before {
    content: "\f046";
}

.dropdown-menu {
    border-radius: 0;
}

/*
end of forms and buttons
*/

/*-------------------------------------------Профиль--------------------------------------------------*/

.modal-content{
    border-radius: 2px;
    box-shadow: 0 8px 40px -10px rgba(0,0,0,0.3);
    background: #fff;
    background-clip: padding-box;
    border: 8px solid rgba(0,0,0,0.2)
}

.modal-content a {border-bottom:0}

.user-profile-heading {
    background: #eee;
    padding: 10px 15px;
    color: #000;
}

.user-left {
    padding-right: 20px;
    display: table-cell;
    vertical-align: top;
}

.user-left img{
    width: 60px;
    border-radius: 100%;
    border: 2px solid #fff;
}

.user-body {
    display: table-cell;
    vertical-align: middle;
}

.user-profile-heading a {
    color: #000;
}

.user-profile-heading h5 {
    font-size:16px;
    margin-bottom: 0;
    margin-top: 3px;
    font-weight: 700;
}

.prof-list i {
    color: #000;
    width: 20px;
    text-align:center;
}

.prof-list > li{
    width: 100%;
    padding: 0;
    font-size:16px;
}

.prof-list > li > a {
    display:block;
    width: 100%;
    font-weight:400;
    padding: 5px 15px;
    border-bottom:0;
    color: #000 !important;
}

.prof-list > li:hover a{
    border-bottom:0;
}

.prof-list > li:nth-child(odd) {
    background:#fafafa;
}

.prof-list > li:hover {
    background: #eee;
}

.mod-log .modal-header {
    background: #4f5aa9;
    color:#fff;
    padding: 15px 15px;
    border:0;
}

.mod-log .modal-header p{
    margin:0;
    padding:0;
    line-height: 16px;
}

.mod-log .modal-header h4{
    font-size: 18px;
}

.mod-log .modal-header .close {
    float: right;
    font-size: 26px;
    line-height: 1;
    color: #fff;
    background: transparent;
    border:0;
}

.login-panel {
    padding:15px 10px;
}

.login-panel a {
    color:#F26739;
}

.mod-log {
    color:#000;
}

.mod-log .fc{
    background:#f7f7f7;
    width:100% !important;
    border:0;
    border-bottom: 1px solid #f2f2f2;
    color:#000;
	box-shadow: inherit;
    color: #000;
    height: 32px;
}

.mod-log .fc:focus {
    outline: 0;
    -webkit-box-shadow: 0;
    box-shadow: 0;
}

.input-group-lg {
    position:relative;
}

.mod-log a.lost-pass {
    position:absolute;
    right:10px;
    top:5px;
}

.btn-in {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4285;
    text-align: center;
    border:0;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background: #0696F3;
    color:#fff;
    border-radius: 4px;
}

.login_check { position: relative; }

.btn-pm {
    position: absolute !important;
    display: block;
    top: 14px;
    left: -20px;
    width: 40px !important;
    padding: 3px 0 !important;
    border: 0 !important;
    text-align: center;
    color: #fff;
    background: #88B650 !important;
}

.btn-fav {
    position: absolute !important;
    display: block;
    top: 14px;
    right: -20px;
    width: 40px !important;
    padding: 3px 0 !important;
    border: 0 !important;
    text-align: center;
    color: #000 !important;
    background: #FCE99D !important;
}

/*---------------Поиск---------------*/

#search {
    font-size: 24px;
    padding: 2px 20px;
    color: #fff;
    margin-top: 10px;
    font-weight: 700;
}

#search:hover {
    color: #F25D35;
}

.search_box {
    max-width:584px;
    margin:0 auto;
}

#search-block {
    display:block;
    position: relative;
    background: #fafafa;
    height: 48px;
    padding: 2px;
    padding-right: 129px;
    border-radius: 5px;
}

#search-block input[type="search"],
#search-block button[type="submit"] {
    font-size: 14px;
    border-radius:5px;
}

#search-block input[type="search"] {
    transition: 0.2s;
    background: transparent;
    color: #fff;
    border: 0;
    margin: 2px 0 0 2px;
    width: 100%;
    height: 30px;
    padding: 5px 15px;
}

#search-block input[type="search"]:focus {
    background: #fff;
    color: #000;
}

#search-block button[type="submit"] {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #EF5350;
    border: 0;
    color: #fff;
    margin-left: 1px;
    padding: 10px 15px;
}

#search-block button[type="submit"]:hover {
    background: #F21916;
}

#search-block input[type="search"]::-webkit-input-placeholder { color: #000; }
#search-block input[type="search"]:-moz-placeholder { color: #000; }
#search-block input[type="search"]:-ms-input-placeholder { color: #000; }

/*
footer
*/

.footer {
    background-color: #EF5350;
    color: white;
    padding-top: 25px;
    padding-bottom: 10px
}

.footer a {
    color: white;
    outline: none;
    text-decoration: underline;
}

.footer a:hover {
    color: #FFCDD2;
}

.social-icons {
    font-size: 1.2em;
    margin-right: 5px;
}

.copy address {
    margin-top: 15px;
}

.footer-menu {
    list-style-type: none;
    padding: 0;
    font-weight: bold;
}

.footer-menu a {
    border-bottom: 1px dotted white;
    text-decoration: none;
}

/*
end of footer
*/

/*
modals
*/

.modal-content {
    border-radius: 0;
    color:#000;
}

.modal-content .dropdown-menu {
    border-radius: 0;
}

.modal-content .tab-content {
    padding-top: 20px;
}

.modal-content .nav-tabs > li > a {
    border-color: transparent;
    border-bottom-color: #ddd;
    border-radius: 0;
    margin-right: 0;
    text-align: center;
    width: 150px;
}

.modal-content .nav-tabs > li.active > a {
    border-color: transparent;
    border-bottom-color: #EF5350;
    border-bottom-width: 2px;
    margin-bottom: -1px;
}

#modalUser .login-avatar {
    border: 3px solid #EF5350;
}

#modalUser .avatar-img {
    height: 75px;
}

.second-name {
    overflow: hidden;
    text-overflow: ellipsis;
}

#userEdit {
    margin-left: -15px;
    margin-right: -15px
}

.collapse .well {
    background-color: transparent;
    border: 0;
    box-shadow: none;
}


/*
end of modals
*/

/*
#btn-to-top
*/

#btnToTop {
    background-color: #616161;
    border: 0;
    border-radius: 50%;
    color: white;
    display: none;
    height: 50px;
    line-height: 30px;
    margin: 0;
    opacity: 0.5;
    outline: none;
    padding: 0;
    position: fixed;
    bottom: 30%;
    right: 5px;
    text-align: center;
    width: 50px;
    z-index: 1100;
}

#btnToTop:hover {
    opacity: 1;
}

/*
end #btn-to-top
*/

.topnes-link {
    color:#000;
}

.topnews {
    margin: 20px 0;
    background: #fff;
    box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.1);
    padding: 13px 15px 15px;
}
.topnews-box {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.topnews-box .topnews-avatar{
    position: relative;
    float: left;
    width: 60px;
    overflow: hidden;
    border: 3px solid #4f5aa9;
    border-radius: 4px;

}

.topnews-box  .topnews-avatar img{
    display:block;
    height:100%;
	width: 100%;
}

.topnews-box .topnews-avatar-text{
    margin-left:75px;
    font-weight:700;
}

.topnews-box span{
    color:#999;
    font-weight:300;
    font-size:13px;
	display:block;
}
.topn-price {
    color: #fff;
    background: #4add31;
    padding: 1px 3px;
    display: inline-block;
	font-size: 12px;
}
.topn-price i {font-style: normal;}
.row30 {margin: 0 -30px; position: relative;}

#vk_groups, #vk_groups iframe {
    width: 100% !important;
}
@media (max-width: 800px) {
    .row30 {
        margin-left:-15px;
        margin-right:-15px;
    }
}
@media (max-width: 767px) {
    .addnews-but {
        top:10px;
        left: inherit;
        right:15px;
    }

    .icon-menu{
        border:2px solid #4f5aa9;
        padding:7px 15px 8px;
    }

    .bottom-header-navigation .nav > li > a {
        text-align: left;
    }
}

@media (max-width: 767px) {
    .navbar-header {
    display: inline-block;
}
.menu-top-right li.border-link a {
    border: 0;
    padding: 18px 0;
}
}
@media (max-width: 670px) {
    .menu-top-right  {
        display: block;
        width: 100%;
        margin: 20px 0 0;
    }

	.navbar-header {
        float: none !important;
		display:block
	}

}
@media (max-width: 460px) {

    .menu-top-right {
        margin: 35px 0 0;
    }
	.menu-top-right li a{
       padding: 0 !important;
       margin-bottom: 10px !important;
    }
	.footer .row {
       margin: 0 !important;
	}

}
@media (max-width: 400px) {
    .img-wrapper {height:200px;}
	.price {top: 150px;}
}

.kartin {
    position: relative;
}

.img-wrapper {
    position: relative;
    display: inline-block;
}

.img-overlay {
    position: absolute;
	font-size: 1.2em;
    top: 96px;
    left: -59px;
    width: 133%;
    height: 17%;
	margin-left: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(183, 28, 28, 0.8);
    color: white;
    transform: rotate(36deg);
    pointer-events: none;
    z-index: 1;
}

.kartin2 {
    position: relative;
}

.img-wrapper {
    position: relative;
    display: inline-block;
}

.img-overlay {
    position: absolute;
	font-size: 1.2em;
    top: 96px;
    left: -59px;
    width: 133%;
    height: 17%;
	margin-left: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(183, 28, 28, 0.8);
    color: white;
    transform: rotate(36deg);
    pointer-events: none;
    z-index: 1;
}

.kartin3 {
    position: relative;
}

.img-wrapper {
    position: relative;
    display: inline-block;
}

.img-overlay {
    position: absolute;
	font-size: 1.2em;
    top: 96px;
    left: -59px;
    width: 133%;
    height: 17%;
	margin-left: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(183, 28, 28, 0.8);
    color: white;
    transform: rotate(36deg);
    pointer-events: none;
    z-index: 1;
}

#block {
	background: red;
	height:100%;
	width:100%;
	border:6px solid silver;
}

.filtr:link {
  color: #ffffff;
}

.element {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.caption a:link {
  color: black;
}

.caption a:hover {
  color: #4f5aa9;
}

.caption h2 {
  color: red;
}

.buttontg {
 display: inline-block;
            padding: 10px 20px;
margin-top: 20px;
			width:100%;
            background-color: #000; /* Чёрный цвет фона */
            color: #fff; /* Белый цвет текста */
            text-align: center;
            text-decoration: none;
            font-size: 14px;
            border: none;
            border-radius: 20px;
            transition: background-color 0.3s ease;
        }

  .buttontg:hover {
            background-color: #00f; /* Голубой цвет фона при наведении */
        }

.obv {
font-size:30px;
color:#ffffff!important;
text-shadow: 1px 0 1px black, 
0 1px 1px #000, 
-1px 0 1px #000, 
0 -1px 1px #000;
}


/* ===== SAFE header polish (не трогает body/content/offer) ===== */

/* чуть мягче кнопки сверху */
.menu-top-right li.border-link a{
  border-radius: 10px;
  transition: .15s ease;
}
.menu-top-right li.border-link a:hover{
  background: rgba(255,255,255,.12);
}

/* “Добавить анкету” заметнее */
.menu-top-right a.addn{
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.55);
}

/* кнопки чат/фильтр аккуратнее */
.addnews-but,
.addnews-but2{
  border-radius: 12px;
  transition: .15s ease;
}
.addnews-but:hover,
.addnews-but2:hover{
  filter: brightness(1.05);
}

/* нижнее меню — чуть приятнее */
.bottom-header-navigation .nav > li > a{
  border-radius: 10px;
  transition: .15s ease;
}
.bottom-header-navigation .nav > li > a:hover{
  background-color: rgba(79, 90, 169, .08);
}

/* логотип — чуть меньше “раздутый”, но без смены концепции */
.top-header-navigation > .container-fluid .navbar-brand .logo-head{
  box-shadow: 0 10px 20px rgba(0,0,0,.15);
}

.phone-card {
    margin-top: 15px;
}

.phone-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2f80ed, #1c64d1);
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(47, 128, 237, 0.25);
    transition: 0.2s ease;
}

.phone-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(47, 128, 237, 0.35);
    color: #fff !important;
}

.phone-btn i {
    font-size: 22px;
    width: 24px;
    text-align: center;
}

.phone-btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.phone-btn-text strong {
    font-size: 16px;
    font-weight: 700;
}

.phone-btn-text span {
    font-size: 13px;
    opacity: 0.9;
    margin-top: 3px;
}

.phone-box {
    margin-top: 12px;
    padding: 14px;
    border: 1px solid #e9e9e9;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.phone-number {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.phone-number i {
    color: #2f80ed;
    font-size: 22px;
}

.phone-number a {
    color: #222 !important;
    text-decoration: none;
}

.phone-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    padding: 0 14px;
    border-radius: 10px;
    text-decoration: none !important;
    font-weight: 600;
    color: #fff !important;
    transition: 0.2s ease;
}

.contact-btn:hover {
    opacity: 0.92;
    color: #fff !important;
}

.whatsapp-btn {
    background: #25d366;
}

.telegram-btn {
    background: #229ed9;
}

.phone-note {
    margin-top: 12px;
    font-size: 12px;
    color: #d93025;
    line-height: 1.4;
}


.modern-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.side-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

.side-price {
    background: linear-gradient(135deg, #fff8f0, #fff);
    border-color: #f3e4d4;
}

.side-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #8d8d8d;
    margin-bottom: 8px;
}

.side-value {
    font-size: 28px;
    font-weight: 800;
    color: #222;
    line-height: 1.1;
}

.side-value i {
    font-size: 22px;
}

.empty-price .side-value {
    font-size: 18px;
    font-weight: 600;
    color: #777;
}

.side-meta .meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.side-meta .meta-row i {
    color: #e74c3c;
    font-size: 18px;
    width: 16px;
    text-align: center;
}

.meta-badge {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    margin: 0 8px 8px 0;
}

.online-badge {
    background: #e8fff0;
    color: #198754;
}

.verified-badge {
    background: #eef6ff;
    color: #1d6fe9;
}

.whatsapp-badge {
    background: #eafbf1;
    color: #159947;
}

.inactive-badge {
    background: #fff0f0;
    color: #d33c3c;
}

.phone-card {
    padding: 0;
    overflow: hidden;
}

.phone-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, #2f80ed, #1c64d1);
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(47, 128, 237, 0.25);
    transition: .2s ease;
}

.phone-btn:hover {
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(47, 128, 237, 0.35);
}

.phone-btn i {
    font-size: 22px;
    width: 24px;
    text-align: center;
}

.phone-btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.phone-btn-text strong {
    font-size: 16px;
    font-weight: 700;
}

.phone-btn-text span {
    font-size: 13px;
    opacity: .9;
    margin-top: 4px;
}

.phone-box {
    padding: 16px;
    background: #fff;
}

.phone-number {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}

.phone-number i {
    color: #2f80ed;
    font-size: 22px;
}

.phone-number a {
    color: #222 !important;
    text-decoration: none;
}

.phone-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none !important;
    font-weight: 700;
    color: #fff !important;
    transition: .2s ease;
}

.contact-btn:hover {
    opacity: .93;
    color: #fff !important;
}

.whatsapp-btn {
    background: #25d366;
}

.telegram-btn {
    background: #229ed9;
}

.phone-note {
    margin-top: 12px;
    font-size: 12px;
    color: #d93025;
    line-height: 1.4;
}

.tg-card {
    padding: 12px;
}

.tg-post-form {
    margin: 0;
}

.tg-post-btn {
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #27a7e7, #1677b8);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
}

.tg-post-btn:hover {
    opacity: .95;
}

@media (max-width: 991px) {
    .modern-side {
        margin-top: 20px;
    }

    .side-value {
        font-size: 24px;
    }

    .phone-number {
        font-size: 20px;
    }
}

.full-title {
    padding-left: 0 !important;
}

.full-title h1 {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 6px 0;
    background: linear-gradient(90deg, #2f80ed, #27ae60);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.phone-number {
    margin-bottom: 10px;
}

.phone-call {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f7fbff;
    border: 2px solid #2f80ed;
    text-decoration: none !important;
    transition: 0.2s ease;
}

.phone-call:hover {
    background: #2f80ed;
    color: #fff !important;
}

.phone-call i {
    font-size: 20px;
    color: #2f80ed;
}

.phone-call:hover i {
    color: #fff;
}

.phone-text {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #222;
}

.phone-call:hover .phone-text {
    color: #fff;
}

.phone-note {
    font-size: 12px;
    color: #d93025;
    text-align: center;
    margin-top: 6px;
}




.fixed-call {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 10px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(6px);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    z-index: 9999;
}

.fixed-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2f80ed, #27ae60);
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none !important;
    transition: 0.2s ease;
}

.fixed-call-btn i {
    font-size: 18px;
}

.fixed-call-btn:active {
    transform: scale(0.98);
}


.li-counter {
    position: fixed;
    right: 8px;
    bottom: 8px;
    z-index: 1000;

    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(6px);

    border-radius: 10px;
    padding: 4px 6px;

    box-shadow: 0 2px 10px rgba(0,0,0,0.1);

    transition: 0.2s ease;
}

.li-counter img {
    display: block;
    width: 70px;
    height: auto;
}

/* лёгкий hover */
.li-counter:hover {
    transform: scale(1.05);
}

.tg-post-btn {
    margin-top: 10px;
}

.tg-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #229ED9, #1c7ed6);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tg-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.tg-btn:active {
    transform: scale(0.98);
}

.users-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.user-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.user-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.user-card a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.user-card__image {
    width: 100%;
    aspect-ratio: 1 / 1.15;
    background: #f3f3f3;
    overflow: hidden;
}

.user-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.user-card__body {
    padding: 10px;
}

.user-name {
    font-size: 15px;
    font-weight: 600;
    color: #222;
    line-height: 1.3;
    word-break: break-word;
}

@media (max-width: 480px) {
    .users-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .user-card__body {
        padding: 8px;
    }

    .user-name {
        font-size: 14px;
    }
}

.user-card__image {
    position: relative;
}

.online-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 10px;
    height: 10px;
    background: #28a745;
    border-radius: 50%;
    border: 2px solid #fff;
}

.online-hint {
    margin-top: 6px;
    font-size: 12px;
    color: #28a745;
}

<style>
.custom-file-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.custom-file-btn {
    display: inline-block;
    width: max-content;
    padding: 6px 12px;
    background: #eee;
    border: 1px solid #bbb;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.2;
    margin: 0;
}

.custom-file-btn:hover {
    background: #e3e3e3;
}
</style>
/* ======================================================================
   DARK THEME V2 — ONLY VISUAL OVERRIDES
   ВАЖНО: меняются только цвета/фон/границы/тени. Разметка и логика не трогаются.
   ====================================================================== */

:root{
  --v2-bg:#17191f;
  --v2-bg-soft:#1d2027;
  --v2-panel:#232730;
  --v2-panel-2:#292e38;
  --v2-card:#2b303a;
  --v2-border:#3b414d;
  --v2-text:#e8ebef;
  --v2-muted:#aeb5bf;
  --v2-title:#ff6a5c;
  --v2-purple:#4f5aa9;
}

html,
body,
.wrapper{
  background:#17191f !important;
  color:#e8ebef !important;
}

/* Шапка */
.top-header-navigation{
  background:#20242c !important;
  color:#f5f6f8 !important;
}
.top-header-navigation .navbar-brand,
.top-header-navigation .navbar-brand:hover,
.top-header-navigation .navbar-brand:focus,
.top-header-navigation .navbar-brand > span,
.top-header-navigation .navbar-brand > small{
  color:#f5f6f8 !important;
}
.top-header-navigation > .container-fluid .navbar-brand .logo-head{
  background:#2c313b !important;
  box-shadow:0 8px 20px rgba(0,0,0,.28) !important;
}
.menu-top-right li.border-link a{
  color:#f3f4f6 !important;
  border-color:#59606d !important;
  background:#252a33 !important;
}
.menu-top-right li.border-link a:hover{
  background:#313743 !important;
  border-color:#737c8c !important;
}

.bottom-header-navigation{
  background:#272b34 !important;
  box-shadow:0 5px 15px rgba(0,0,0,.28) !important;
}
.bottom-header-navigation .nav > li > a,
.navbar-default .navbar-nav > li > a{
  color:#e4e7eb !important;
}
.bottom-header-navigation .nav > li > a:hover,
.bottom-header-navigation .nav > li > a:focus{
  background:#343945 !important;
  color:#fff !important;
}

/* Основной фон и контейнеры */
.main,
.new-offers,
.about{
  background:#17191f !important;
}
.content,
.about .content,
.speedbar{
  background:#232730 !important;
  color:#e8ebef !important;
  box-shadow:0 5px 18px rgba(0,0,0,.22) !important;
}
.page-header{
  border-bottom-color:#3b414d !important;
}
.page-header h1,
.page-header h2,
.page-header .ptitle,
.ptitle,
.main-title,
.cat-title{
  color:#f0f2f5 !important;
}
.site-desc{
  background:#232730 !important;
  color:#c8cdd5 !important;
  border-color:#3b414d !important;
}
.site-desc p,
.about,
.about p{
  color:#c8cdd5 !important;
}

/* Карточки — только окраска, размеры и сетка не меняются */
.thumbnail.offer,
.offer.thumbnail{
  background:#2b303a !important;
  border-color:#454c59 !important;
  color:#e8ebef !important;
  box-shadow:0 3px 12px rgba(0,0,0,.22) !important;
}
.thumbnail.offer:hover,
.offer.thumbnail:hover{
  border-color:#596170 !important;
}
.offer .caption,
.thumbnail .caption{
  color:#e8ebef !important;
}
.offer > .caption > a h2,
.offer > .caption > a h3,
.caption h2,
.caption h3,
.caption .reltitle,
.caption .reltitle a{
  color:#ff6a5c !important;
}
.caption a:link,
.offer .caption a,
.offer .caption a:link{
  color:#d9dde4 !important;
}
.caption a:hover,
.offer .caption a:hover{
  color:#ff7669 !important;
}
.offer .caption > a > b,
.offer .caption b{
  color:#e8ebef !important;
}
.offer .description,
.description{
  color:#bfc5ce !important;
}
.icon-l,
.none-adres,
.sdate{
  color:#aeb5bf !important;
}
.short-foot,
.short-foot2{
  background:#242932 !important;
  color:#b9c0c9 !important;
  border-color:#3b414d !important;
}
.short-foot-info,
.short-foot-info li,
.short-foot-info li a{
  color:#c8cdd4 !important;
}
.short-foot-info li a:hover{
  color:#ff7669 !important;
}

/* Ценники и статусы оставляем узнаваемыми */
.price{
  background:#34223a !important;
  color:#fff !important;
}
.price2,
.price3,
.whatsapp{
  color:#fff !important;
}

/* Правая колонка */
.side_block{
  color:#e8ebef !important;
}
.topnews{
  background:#232730 !important;
  color:#e8ebef !important;
  box-shadow:0 5px 18px rgba(0,0,0,.22) !important;
}
.topnews .page-header,
.topnews-box{
  border-color:#3b414d !important;
}
.topnews .ptitle,
.topnews h1,
.topnews h2,
.topnews h3,
.topnews h4{
  color:#f0f2f5 !important;
}
.topnews-box .topnews-avatar-text,
.topnews-box .topnews-avatar-text a,
.topnews-box a{
  color:#e2e5e9 !important;
}
.topnews-box span{
  color:#aab1bb !important;
}

/* Фильтр — не меняем механику, только окраску */
.filter-wrapper,
.filter-wrap,
.filter,
.filter-box,
.filt-col,
.fb-sect,
.fb-sel{
  color:#e8ebef !important;
  border-color:#3b414d !important;
}
.filter-wrapper{
  border-bottom-color:#3b414d !important;
}
.filter-box label,
.fb-sect-name,
.containerchek,
.fb-check label{
  color:#d6dae0 !important;
}
.filter input,
.filter select,
.filter textarea,
.bootstrap-select > .dropdown-toggle,
.form-control{
  background:#1d2128 !important;
  color:#e8ebef !important;
  border-color:#444b57 !important;
  box-shadow:none !important;
}
.dropdown-menu,
.bootstrap-select .dropdown-menu,
.chosen-container .chosen-drop,
.chosen-container-single .chosen-single,
.chosen-container-multi .chosen-choices{
  background:#242932 !important;
  color:#e8ebef !important;
  border-color:#444b57 !important;
}
.dropdown-menu > li > a,
.bootstrap-select .dropdown-menu li a,
.chosen-container .chosen-results li{
  color:#d7dbe1 !important;
}
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus,
.bootstrap-select .dropdown-menu li a:hover,
.chosen-container .chosen-results li.highlighted{
  background:#363c47 !important;
  color:#fff !important;
}

/* Модальные окна / формы DLE */
.modal-content,
.panel,
.well,
.list-group-item{
  background:#252a33 !important;
  color:#e8ebef !important;
  border-color:#414854 !important;
}
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="search"],
textarea,
select{
  background:#1d2128;
  color:#e8ebef;
  border-color:#444b57;
}

/* Пагинация */
.pagination > li > a,
.pagination > li > span,
.navigation a,
.navigation span{
  background:#252a33 !important;
  color:#d9dde3 !important;
  border-color:#414854 !important;
}
.pagination > .active > a,
.pagination > .active > span,
.pagination > li > a:hover,
.pagination > li > span:hover{
  background:#4f5aa9 !important;
  color:#fff !important;
  border-color:#4f5aa9 !important;
}

/* Ссылки вне карточек */
.content > a,
.about a,
.site-desc a{
  color:#ff6a5c !important;
}

/* Чтобы не получить белый текст на белом фоне у встроенного мини-чата:
   НЕ задаём глобальный color для его внутренних элементов. */
.topnews input,
.topnews textarea,
.topnews select{
  color:#222;
  background:#fff;
}

@media (max-width:767px){
  .content,
  .topnews{
    box-shadow:none !important;
  }
}

/* =========================================================
   DARK THEME V3 — точечные исправления светлых элементов
   Только оформление. Скрипты и разметка не затрагиваются.
   ========================================================= */

/* Основные поверхности */
html,
body {
    background: #15181e !important;
    color: #d9dde3;
}

.content,
.content-center,
.content-wrap,
.main-content,
.center-content {
    background-color: #1c2027 !important;
}

/* Типовые белые блоки DLE/Bootstrap, но не внутренности мини-чата */
.content .panel,
.content .well,
.content .jumbotron,
.content .list-group-item,
.content .table,
.content .table td,
.content .table th,
.content .modal-content,
.content .dropdown-menu {
    background-color: #222731 !important;
    color: #dce0e6 !important;
    border-color: #3c434e !important;
}

/* Поля форм вне мини-чата */
.content input[type="text"],
.content input[type="password"],
.content input[type="email"],
.content input[type="tel"],
.content input[type="number"],
.content input[type="search"],
.content textarea,
.content select {
    background: #181b21 !important;
    color: #edf0f4 !important;
    border-color: #414753 !important;
}

.content input::placeholder,
.content textarea::placeholder {
    color: #8e96a1 !important;
    opacity: 1;
}

/* Светлые линии и разделители */
.content hr,
.content .hr,
.content .separator {
    border-color: #363c46 !important;
    background-color: #363c46 !important;
}

/* Кнопки общего интерфейса */
.content .btn-default,
.content button.btn-default,
.content input.btn-default {
    background: #2a3039 !important;
    color: #e7eaee !important;
    border-color: #454c58 !important;
}

.content .btn-default:hover,
.content button.btn-default:hover,
.content input.btn-default:hover {
    background: #343b46 !important;
    color: #fff !important;
}

/* Не красим встроенный мини-чат: он использует собственные светлые стили */
.topnews,
.topnews *,
#KIDE_div,
#KIDE_div * {
    color-scheme: light;
}

/* =========================================================
   DARK THEME V4 — исправление белых блоков анкеты и рейтинга
   Только оформление. Разметка/JS/PHP не меняются.
   ========================================================= */

/* Правая колонка полной анкеты: цена, город, телефон и прочие карточки */
.modern-side .side-card,
.full-right .side-card,
.side_block .side-card {
    background: #252a33 !important;
    border-color: #414854 !important;
    color: #e8ebef !important;
    box-shadow: 0 4px 18px rgba(0,0,0,.22) !important;
}

.modern-side .side-price,
.full-right .side-price,
.side_block .side-price {
    background: #252a33 !important;
    border-color: #414854 !important;
}

.modern-side .side-label,
.full-right .side-label {
    color: #9fa7b2 !important;
}

.modern-side .side-value,
.full-right .side-value,
.modern-side .side-meta .meta-row,
.full-right .side-meta .meta-row {
    color: #edf0f4 !important;
}

.modern-side .empty-price .side-value,
.full-right .empty-price .side-value {
    color: #aeb5bf !important;
}

/* Контейнер телефона был белым */
.modern-side .phone-card,
.full-right .phone-card,
.side-card.phone-card {
    background: #252a33 !important;
    border-color: #414854 !important;
}

.modern-side .phone-box,
.full-right .phone-box,
.side-card .phone-box {
    background: #20242c !important;
    color: #e8ebef !important;
    border-color: #414854 !important;
}

.modern-side .phone-number a,
.full-right .phone-number a {
    color: #f0f2f5 !important;
}

/* Рейтинг внизу карточки: убираем белый фон у значения +2/+4 */
.short-foot .full-rating,
.short-foot2 .full-rating,
.offer .full-rating,
.full-rating {
    background: #242932 !important;
}

.short-foot .full-rating > span,
.short-foot2 .full-rating > span,
.offer .full-rating > span,
.full-rating > span {
    background: #2f3540 !important;
    color: #d9dde4 !important;
    border: 1px solid #414854 !important;
}

.full-rating > span > span.ratingzero {
    color: #b8bec7 !important;
}

.full-rating > span > span.ratingtypeplus,
.full-rating > span > span.ratingplus {
    color: #8fd35f !important;
}

.full-rating > span > span.ratingminus {
    color: #ff7669 !important;
}

/* =========================================================
   DARK THEME V5 — карточки блока «Топ страниц» / пользователей
   Только оформление. Разметка и скрипты не затрагиваются.
   ========================================================= */

.users-grid .user-card,
.user-card {
    background: #252a33 !important;
    border: 1px solid #3e4551 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.24) !important;
}

.users-grid .user-card:hover,
.user-card:hover {
    background: #2a303a !important;
    box-shadow: 0 5px 16px rgba(0,0,0,.32) !important;
}

.users-grid .user-card__image,
.user-card__image {
    background: #1d2128 !important;
}

.users-grid .user-card__body,
.user-card__body {
    background: #252a33 !important;
    color: #e8ebef !important;
}

.users-grid .user-name,
.user-card .user-name,
.user-card__body .user-name,
.user-card__body a {
    color: #eef1f4 !important;
}

/* =========================================================
   DARK THEME V6 — badges, user profile, fullstory sidebar
   Только оформление. Разметка/JS/PHP не меняются.
   ========================================================= */

/* ---------- 1. Карточки списка: аккуратные бейджи на фото ---------- */
.offer .kartin .price,
.offer .kartin .price2,
.offer .kartin .price3,
.offer .kartin .whatsapp {
    left: 12px !important;
    right: auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: 30px !important;
    line-height: 30px !important;
    padding: 0 11px !important;
    border-radius: 7px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-shadow: none !important;
    box-shadow: 0 4px 12px rgba(0,0,0,.28) !important;
    z-index: 5 !important;
}

/* Цена отдельно внизу, без старой стрелки */
.offer .kartin .price {
    top: auto !important;
    bottom: 12px !important;
    background: rgba(36, 29, 43, .94) !important;
    color: #fff !important;
    font-size: 15px !important;
    padding: 0 13px !important;
    border: 1px solid rgba(255,255,255,.10) !important;
}
.offer .kartin .price:after {
    display: none !important;
}

/* Статусы сверху: спокойные, но различимые */
.offer .kartin .price2 {
    top: 12px !important;
    bottom: auto !important;
    background: rgba(232, 83, 66, .94) !important;
    border: 1px solid rgba(255,255,255,.12) !important;
}
.offer .kartin .price3 {
    top: 48px !important;
    bottom: auto !important;
    background: rgba(67, 163, 102, .95) !important;
    border: 1px solid rgba(255,255,255,.12) !important;
}
.offer .kartin .whatsapp {
    top: 84px !important;
    bottom: auto !important;
    background: rgba(39, 130, 94, .95) !important;
    border: 1px solid rgba(255,255,255,.12) !important;
}

/* Убираем мигание — на тёмной теме оно выглядит слишком резко */
.offer .blinking-text {
    animation: none !important;
}

/* ---------- 2. Страница пользователя: убрать белую «простыню» ---------- */
.us-prof,
.us-prof .fx-row,
.us-prof .left-log,
.us-prof .userinfo_top,
.us-prof .box_log,
.us-prof .col-md-4,
.us-prof .col-md-8 {
    background: #20252d !important;
    color: #d9dde4 !important;
}

.us-prof {
    border: 1px solid #343b46 !important;
    border-radius: 4px !important;
    overflow: hidden !important;
}

.us-prof .left-log {
    background: #242a33 !important;
    border-right: 1px solid #363d48 !important;
}

.us-prof .userinfo_top {
    padding: 18px !important;
}

.us-prof .avatar img {
    border: 1px solid #454d59 !important;
    background: #171a20 !important;
}

.us-prof .u-online,
.us-prof .u-online.u-offline {
    color: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
}

.us-prof .u-online {
    background: #3f9d68 !important;
}
.us-prof .u-online.u-offline {
    background: #bc5b52 !important;
}

.us-prof .u-stat,
.us-prof .u-stat > div,
.us-prof .u-stat .col-xs-6 {
    background: #1c2027 !important;
    color: #c7ccd3 !important;
    border-color: #363d48 !important;
}
.us-prof .u-s-title,
.us-prof .u-s-next,
.us-prof .u-stat span {
    color: #cbd0d7 !important;
}

.us-prof .box_log {
    padding: 18px 20px !important;
}

.us-prof .usinf,
.us-prof .usinf li {
    background: transparent !important;
}

.us-prof .usinf li {
    display: flex !important;
    gap: 18px !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #363d48 !important;
    color: #d8dde4 !important;
}
.us-prof .usinf li:last-child {
    border-bottom: 0 !important;
}

.us-prof .ui-c1 {
    flex: 0 0 34% !important;
    color: #929aa6 !important;
}
.us-prof .ui-c2 {
    flex: 1 1 auto !important;
    color: #e1e5ea !important;
}
.us-prof .ui-c2 a {
    color: #78aef0 !important;
}

/* Настройки профиля, если владелец откроет их */
.us-prof .addform,
.us-prof .ui-form,
.us-prof .ui-form li,
.us-prof table.xfields,
.us-prof table.xfields td,
.us-prof td.xprofile {
    background: transparent !important;
    color: #d9dde4 !important;
    border-color: #3a414c !important;
}
.us-prof input,
.us-prof textarea,
.us-prof select {
    background: #181c22 !important;
    color: #e5e8ec !important;
    border-color: #454d59 !important;
}

/* Правый светлый счётчик/виджеты рядом с профилем — затемняем стандартные контейнеры */
.side_block .statistic,
.side_block .statistics,
.side_block .stats,
.side_block .panel,
.side_block .well {
    background: #222730 !important;
    color: #d9dde4 !important;
    border-color: #3b424d !important;
}

/* ---------- 3. Правая колонка полной анкеты ---------- */
.modern-side {
    background: transparent !important;
    padding: 0 !important;
}

.modern-side .side-card {
    background: #242932 !important;
    border: 1px solid #3a414c !important;
    border-radius: 14px !important;
    box-shadow: 0 6px 18px rgba(0,0,0,.18) !important;
    margin-bottom: 14px !important;
    padding: 16px !important;
}

.modern-side .side-price {
    background: #252b35 !important;
}
.modern-side .side-label {
    color: #8f98a5 !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: .8px !important;
    margin-bottom: 8px !important;
}
.modern-side .side-value {
    color: #f1f3f6 !important;
    font-size: 28px !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
}

.modern-side .side-meta {
    padding: 15px 16px !important;
}
.modern-side .side-meta .meta-row {
    margin: 0 0 13px !important;
    padding: 0 !important;
    color: #dbe0e6 !important;
}
.modern-side .side-meta .meta-row i {
    color: #ef655c !important;
}

.modern-side .meta-badge {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 28px !important;
    margin: 4px 5px 0 0 !important;
    padding: 5px 10px !important;
    border-radius: 999px !important;
    border: 1px solid #424a56 !important;
    background: #2d333d !important;
    color: #dce1e7 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}
.modern-side .online-badge {
    background: rgba(63,157,104,.15) !important;
    border-color: rgba(63,157,104,.38) !important;
    color: #82d7a4 !important;
}
.modern-side .verified-badge {
    background: rgba(83,133,196,.15) !important;
    border-color: rgba(83,133,196,.38) !important;
    color: #8ab7ed !important;
}
.modern-side .whatsapp-badge {
    background: rgba(48,166,105,.15) !important;
    border-color: rgba(48,166,105,.38) !important;
    color: #7fd6a5 !important;
}
.modern-side .inactive-badge {
    background: rgba(210,83,75,.14) !important;
    border-color: rgba(210,83,75,.35) !important;
    color: #ef8a83 !important;
}

/* Телефон: убираем эффект «карточка внутри карточки» */
.modern-side .phone-card {
    padding: 14px !important;
}
.modern-side .phone-box {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}
.modern-side .phone-number {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 0 10px !important;
}
.modern-side .phone-call {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    min-height: 48px !important;
    background: #1b2027 !important;
    color: #eef1f4 !important;
    border: 1px solid #4e5967 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
}
.modern-side .phone-call:hover {
    background: #202731 !important;
    border-color: #647284 !important;
}

.modern-side .phone-actions {
    display: grid !important;
    gap: 9px !important;
}
.modern-side .contact-btn {
    min-height: 44px !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    font-weight: 700 !important;
}
.modern-side .whatsapp-btn {
    background: #2aa764 !important;
}
.modern-side .telegram-btn {
    background: #2b93c5 !important;
}
.modern-side .phone-note {
    margin-top: 10px !important;
    color: #8e96a1 !important;
    font-size: 11px !important;
    text-align: center !important;
}

/* Кнопка «Показать телефон» в том же стиле */
.modern-side .phone-btn {
    min-height: 52px !important;
    border-radius: 10px !important;
    background: #2b93c5 !important;
    border: 0 !important;
    box-shadow: none !important;
}
.modern-side .phone-btn:hover {
    background: #2584b1 !important;
}

@media (max-width: 767px) {
    .us-prof .left-log {
        border-right: 0 !important;
        border-bottom: 1px solid #363d48 !important;
    }
    .us-prof .usinf li {
        display: block !important;
    }
    .us-prof .ui-c1,
    .us-prof .ui-c2 {
        width: 100% !important;
        flex: none !important;
    }
    .us-prof .ui-c1 {
        margin-bottom: 4px !important;
    }
}


/* =========================================================
   DARK THEME V7 — корректировка цены и статуса online
   Только CSS. Разметка/JS/PHP не изменяются.
   ========================================================= */

/* Цена снова прижата к самому низу изображения */
.offer .kartin {
    position: relative !important;
}
.offer .kartin .price {
    top: auto !important;
    bottom: 0 !important;
    left: 12px !important;
    right: auto !important;
    margin: 0 !important;
    transform: none !important;
    z-index: 8 !important;
}

/* Возвращаем мигание только элементам, которым шаблон уже даёт
   класс blinking-text (логика DLE не меняется). */
.offer .blinking-text {
    animation: dark-online-blink 1.15s ease-in-out infinite !important;
}

@keyframes dark-online-blink {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 4px 12px rgba(0,0,0,.28), 0 0 0 rgba(255,69,0,0);
    }
    50% {
        opacity: .42;
        box-shadow: 0 4px 12px rgba(0,0,0,.28), 0 0 12px rgba(255,69,0,.45);
    }
}


/* =========================================================
   DARK THEME V8 — цена строго внутри изображения
   Мигание online оставлено без изменений.
   ========================================================= */

/* Плашка цены не касается нижней границы и не выходит за карточку */
.offer .kartin .price {
    top: auto !important;
    bottom: 14px !important;
    left: 12px !important;
    right: auto !important;
    margin: 0 !important;
    transform: none !important;
    box-sizing: border-box !important;
}

/* На узких экранах тоже держим цену внутри фото */
@media (max-width: 767px) {
    .offer .kartin .price {
        top: auto !important;
        bottom: 10px !important;
        left: 10px !important;
    }
}


/* =========================================================
   DARK THEME V9
   Desktop: цена переносится с фотографии в нижнюю полосу
   правой части карточки.
   Mobile: цена остаётся на фотографии.
   Только CSS.
   ========================================================= */

@media screen and (min-width: 700px) {

    /* offer становится опорным контейнером для абсолютных элементов */
    .grid-list .col-xs-12.col-sm-6 .offer {
        position: relative !important;
    }

    /*
       Убираем .kartin как опорный контейнер.
       Поэтому price/status теперь считаются от всей карточки.
       Сами изображения и HTML не меняются.
    */
    .grid-list .col-xs-12.col-sm-6 .offer .kartin {
        position: static !important;
    }

    /* Цена — полоса внизу справа, как отмечено на скриншоте */
    .grid-list .col-xs-12.col-sm-6 .offer .price {
        position: absolute !important;
        top: auto !important;
        bottom: 4px !important;
        left: 315px !important;
        right: 5px !important;

        width: auto !important;
        min-width: 0 !important;
        height: 29px !important;
        line-height: 29px !important;

        margin: 0 !important;
        padding: 0 14px !important;
        transform: none !important;

        border: 1px solid #46505e !important;
        border-radius: 2px !important;

        background: #202630 !important;
        color: #f4f5f7 !important;

        text-align: right !important;
        font-size: 15px !important;
        font-weight: 700 !important;

        box-shadow: inset 0 0 0 1px rgba(255,255,255,.02) !important;
        z-index: 7 !important;
    }

    .grid-list .col-xs-12.col-sm-6 .offer .price:after {
        display: none !important;
    }

    /* Статусы по-прежнему остаются поверх фотографии */
    .grid-list .col-xs-12.col-sm-6 .offer .price2 {
        position: absolute !important;
        left: 12px !important;
        right: auto !important;
        top: 12px !important;
        bottom: auto !important;
    }

    .grid-list .col-xs-12.col-sm-6 .offer .price3 {
        position: absolute !important;
        left: 12px !important;
        right: auto !important;
        top: 48px !important;
        bottom: auto !important;
    }

    .grid-list .col-xs-12.col-sm-6 .offer .whatsapp {
        position: absolute !important;
        left: 12px !important;
        right: auto !important;
        top: 84px !important;
        bottom: auto !important;
    }
}

/* На телефоне оставляем цену поверх фото */
@media screen and (max-width: 699px) {
    .offer .kartin {
        position: relative !important;
    }

    .offer .kartin .price {
        position: absolute !important;
        top: auto !important;
        bottom: 10px !important;
        left: 10px !important;
        right: auto !important;

        width: auto !important;
        height: 30px !important;
        line-height: 30px !important;

        padding: 0 12px !important;
        border-radius: 7px !important;
        text-align: center !important;
    }
}


/* =========================================================
   DARK THEME V10
   Цена: тёмно-карбоновая полоса, текст по центру
   Одинаковая идея для desktop и mobile
   ========================================================= */

/* ПК */
@media screen and (min-width: 700px) {
    .grid-list .col-xs-12.col-sm-6 .offer .price {
        background:
            linear-gradient(180deg, #2b2f36 0%, #1c2026 100%) !important;
        border: 1px solid #4b515b !important;
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,.04),
            0 1px 2px rgba(0,0,0,.35) !important;

        color: #ffffff !important;
        text-align: center !important;
        font-size: 16px !important;
        font-weight: 800 !important;
        letter-spacing: .2px !important;

        border-radius: 3px !important;
        height: 31px !important;
        line-height: 31px !important;
        padding: 0 12px !important;
    }
}

/* Мобильная версия — такая же карбоновая плашка */
@media screen and (max-width: 699px) {
    .offer .kartin .price,
    .offer .price {
        background:
            linear-gradient(180deg, #2b2f36 0%, #1c2026 100%) !important;
        border: 1px solid #4b515b !important;
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,.04),
            0 1px 2px rgba(0,0,0,.35) !important;

        color: #ffffff !important;
        text-align: center !important;
        font-size: 15px !important;
        font-weight: 800 !important;
        letter-spacing: .2px !important;

        border-radius: 6px !important;
        height: 31px !important;
        line-height: 31px !important;
        padding: 0 12px !important;
    }
}


/* =========================================================
   DARK THEME V11 — MOBILE CARD
   1) Фото вплотную к рамке карточки
   2) Цена отдельной карбоновой полосой на всю ширину под фото
   3) Статусы остаются поверх фотографии
   Только CSS — HTML/JS/PHP не меняются
   ========================================================= */

@media screen and (max-width: 699px) {

    /* Убираем стандартный внутренний отступ thumbnail только у карточек анкет */
    .grid-list .col-xs-12.col-sm-6 .thumbnail.offer {
        padding: 0 !important;
        overflow: hidden !important;
        border-radius: 0 !important;
    }

    /*
       Внутри kartin:
       1 строка = фотография
       2 строка = цена
       Благодаря этому price больше не висит поверх фото.
    */
    .grid-list .col-xs-12.col-sm-6 .offer .kartin {
        position: relative !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-rows: auto auto !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .grid-list .col-xs-12.col-sm-6 .offer .img-wrapper {
        grid-column: 1 !important;
        grid-row: 1 !important;
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .grid-list .col-xs-12.col-sm-6 .offer .img-wrapper > a {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Фотография заполняет всю ширину до самой рамки */
    .grid-list .col-xs-12.col-sm-6 .offer .img-wrapper img {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }

    /* Цена — отдельная полноширинная полоса сразу под фотографией */
    .grid-list .col-xs-12.col-sm-6 .offer .price {
        grid-column: 1 !important;
        grid-row: 2 !important;

        position: static !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;

        display: block !important;
        width: 100% !important;
        min-width: 100% !important;
        height: 38px !important;
        line-height: 38px !important;

        margin: 0 !important;
        padding: 0 12px !important;
        transform: none !important;
        box-sizing: border-box !important;

        background:
            linear-gradient(180deg, #2d3138 0%, #1b1f25 100%) !important;
        border: 0 !important;
        border-top: 1px solid #4b515b !important;
        border-bottom: 1px solid #111419 !important;
        border-radius: 0 !important;

        color: #ffffff !important;
        text-align: center !important;
        font-size: 17px !important;
        font-weight: 800 !important;
        letter-spacing: .25px !important;

        box-shadow:
            inset 0 1px 0 rgba(255,255,255,.04),
            inset 0 -1px 0 rgba(0,0,0,.35) !important;
        z-index: 5 !important;
    }

    .grid-list .col-xs-12.col-sm-6 .offer .price:after {
        display: none !important;
        content: none !important;
    }

    /*
       После удаления padding у thumbnail возвращаем
       нормальный отступ только текстовой части.
    */
    .grid-list .col-xs-12.col-sm-6 .offer > .caption {
        padding: 13px 13px 10px !important;
        margin: 0 !important;
    }

    /* Статусы остаются поверх фото и не участвуют в grid-потоке */
    .grid-list .col-xs-12.col-sm-6 .offer .price2,
    .grid-list .col-xs-12.col-sm-6 .offer .price3,
    .grid-list .col-xs-12.col-sm-6 .offer .whatsapp {
        position: absolute !important;
        left: 12px !important;
        right: auto !important;
        width: auto !important;
        min-width: 0 !important;
        z-index: 10 !important;
    }

    .grid-list .col-xs-12.col-sm-6 .offer .price2 {
        top: 12px !important;
        bottom: auto !important;
    }

    .grid-list .col-xs-12.col-sm-6 .offer .price3 {
        top: 50px !important;
        bottom: auto !important;
    }

    .grid-list .col-xs-12.col-sm-6 .offer .whatsapp {
        top: 88px !important;
        bottom: auto !important;
    }
}


/* =========================================================
   DARK THEME V12 — fullstory polish
   1) Читаемый номер телефона
   2) Тёмный фон вокруг фото в Fotorama
   3) Более спокойные статусы поверх фото
   Только CSS.
   ========================================================= */

/* ---------- Телефон в полной анкете ---------- */
.modern-side .phone-call,
.full-right .phone-call {
    color: #f3f6f9 !important;
}

.modern-side .phone-call .phone-text,
.modern-side .phone-number a,
.full-right .phone-call .phone-text,
.full-right .phone-number a {
    color: #f3f6f9 !important;
    -webkit-text-fill-color: #f3f6f9 !important;
    opacity: 1 !important;
}

.modern-side .phone-call i,
.full-right .phone-call i {
    color: #4aa3ff !important;
}

.modern-side .phone-call:hover .phone-text,
.modern-side .phone-call:hover span,
.modern-side .phone-call:hover i,
.full-right .phone-call:hover .phone-text,
.full-right .phone-call:hover span,
.full-right .phone-call:hover i {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

/* ---------- Fotorama: никаких белых/серых полей вокруг фото ---------- */
.full-left .fotorama,
.full-left .fotorama__wrap,
.full-left .fotorama__stage,
.full-left .fotorama__stage__shaft,
.full-left .fotorama__stage__frame,
.full-left .fotorama__html {
    background: #171b21 !important;
}

.full-left .fotorama__stage {
    border: 1px solid #343b46 !important;
    box-sizing: border-box !important;
}

/* Полноэкранный режим оставляем чёрным */
.fotorama--fullscreen .fotorama__stage,
.fotorama--fullscreen .fotorama__stage__shaft,
.fotorama--fullscreen .fotorama__stage__frame {
    background: #000 !important;
}

/* Миниатюры тоже под тёмную тему */
.full-left .fotorama__nav {
    background: #171b21 !important;
}

.full-left .fotorama__thumb {
    background: #242a33 !important;
}

.full-left .fotorama__thumb-border {
    border-color: #5865b8 !important;
    background-image: none !important;
}

/* ---------- Статусы поверх фотографии в полной анкете ---------- */
/* В fullstory они являются прямыми дочерними элементами .full-left */
.full-left > .price,
.full-left > .price2,
.full-left > .price3,
.full-left > .whatsapp {
    height: 34px !important;
    line-height: 32px !important;
    padding: 0 13px !important;
    border-radius: 7px !important;
    border: 1px solid rgba(255,255,255,.13) !important;
    box-shadow: 0 5px 14px rgba(0,0,0,.35) !important;
    text-shadow: none !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    font-size: 13px !important;
    font-weight: 700 !important;
}

/* Цена: карбоновая */
.full-left > .price {
    background: rgba(29, 34, 42, .94) !important;
    color: #f5f6f8 !important;
    border-color: #49515d !important;
}

/* Убираем старую зелёную стрелку у цены */
.full-left > .price:after {
    display: none !important;
    content: none !important;
}

/* Сейчас свободна: тёмная основа + оранжево-красный акцент */
.full-left > .price2 {
    background: rgba(42, 35, 35, .94) !important;
    color: #ff8a73 !important;
    border-color: rgba(255, 111, 82, .48) !important;
}

/* Проверенная: не кислотно-зелёная */
.full-left > .price3 {
    background: rgba(31, 44, 39, .94) !important;
    color: #8bd2a4 !important;
    border-color: rgba(89, 181, 122, .48) !important;
}

/* WhatsApp: сдержанный зелёный */
.full-left > .whatsapp {
    background: rgba(29, 43, 38, .94) !important;
    color: #83d5a4 !important;
    border-color: rgba(61, 180, 112, .45) !important;
}

/* Мигание "Сейчас свободна" сохраняем */
.full-left > .price2.blinking-text,
.full-left > .price2 .blinking-text {
    animation: dark-online-blink 1.15s ease-in-out infinite !important;
}

/* Мобильная версия: чуть меньше, чтобы не закрывать фото */
@media screen and (max-width: 699px) {
    .full-left > .price,
    .full-left > .price2,
    .full-left > .price3,
    .full-left > .whatsapp {
        height: 32px !important;
        line-height: 30px !important;
        padding: 0 11px !important;
        border-radius: 6px !important;
        font-size: 12px !important;
    }

    /* Сам блок галереи без светлого фона/внешнего зазора */
    .full-left .fotorama,
    .full-left .fotorama__wrap,
    .full-left .fotorama__stage {
        margin: 0 !important;
        padding: 0 !important;
    }
}


/* =========================================================
   DARK THEME V13 — правая колонка fullstory
   Цена + телефон в одном спокойном тёмном стиле
   Только CSS
   ========================================================= */

/* ---------- Цена ---------- */
.modern-side .side-price {
    position: relative !important;
    overflow: hidden !important;
    padding: 15px 17px 16px !important;
    background:
        linear-gradient(145deg, #252b34 0%, #20252d 100%) !important;
    border: 1px solid #39414d !important;
    border-radius: 13px !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.035),
        0 8px 20px rgba(0,0,0,.16) !important;
}

/* Небольшой акцент вместо огромной цветной кнопки */
.modern-side .side-price:before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 12px !important;
    bottom: 12px !important;
    width: 3px !important;
    border-radius: 0 3px 3px 0 !important;
    background: linear-gradient(180deg, #5d6ac8, #348fc3) !important;
}

.modern-side .side-price .side-label {
    margin: 0 0 5px !important;
    padding-left: 2px !important;
    color: #8f98a5 !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    letter-spacing: 1px !important;
}

.modern-side .side-price .side-value {
    padding-left: 2px !important;
    color: #f7f8fa !important;
    font-size: 27px !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    letter-spacing: -.3px !important;
    text-shadow: 0 1px 0 rgba(0,0,0,.4) !important;
}

/* ---------- Карточка телефона ---------- */
.modern-side .phone-card {
    padding: 13px !important;
    background:
        linear-gradient(145deg, #232932 0%, #1f242c 100%) !important;
    border-color: #39414d !important;
    border-radius: 13px !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.025),
        0 8px 20px rgba(0,0,0,.14) !important;
}

.modern-side .phone-box {
    background: transparent !important;
}

/* Кнопка "Показать телефон" — не ярко-голубая, а тёмная */
.modern-side .phone-btn {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    min-height: 66px !important;
    padding: 10px 14px !important;

    background:
        linear-gradient(180deg, #29313b 0%, #20262e 100%) !important;
    border: 1px solid #465260 !important;
    border-radius: 11px !important;

    color: #f3f6f8 !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.04),
        0 3px 10px rgba(0,0,0,.2) !important;

    transition:
        background .18s ease,
        border-color .18s ease,
        transform .18s ease !important;
}

.modern-side .phone-btn:hover {
    background:
        linear-gradient(180deg, #303946 0%, #252c35 100%) !important;
    border-color: #5682a8 !important;
    transform: translateY(-1px) !important;
}

.modern-side .phone-btn i {
    margin: 0 0 4px !important;
    color: #55a8e8 !important;
    font-size: 17px !important;
}

.modern-side .phone-btn strong,
.modern-side .phone-btn .phone-btn-text strong {
    color: #f5f7f9 !important;
    -webkit-text-fill-color: #f5f7f9 !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    font-weight: 750 !important;
}

.modern-side .phone-btn span,
.modern-side .phone-btn .phone-btn-text span {
    color: #9ba7b4 !important;
    -webkit-text-fill-color: #9ba7b4 !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
}

/* После открытия номер выглядит как полноценная контактная кнопка */
.modern-side .phone-call {
    min-height: 52px !important;
    background:
        linear-gradient(180deg, #282f38 0%, #20262d 100%) !important;
    border: 1px solid #465260 !important;
    border-radius: 10px !important;
    color: #f5f7f9 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.035) !important;
}

.modern-side .phone-call i {
    color: #55a8e8 !important;
}

/* Telegram/WhatsApp чуть приглушённее */
.modern-side .contact-btn {
    min-height: 43px !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    border-radius: 9px !important;
    box-shadow: none !important;
}

.modern-side .telegram-btn {
    background: #287fa9 !important;
}
.modern-side .telegram-btn:hover {
    background: #2d8dbb !important;
}

.modern-side .whatsapp-btn {
    background: #248a55 !important;
}
.modern-side .whatsapp-btn:hover {
    background: #299b61 !important;
}

.modern-side .phone-note {
    margin: 9px 0 0 !important;
    color: #777f8b !important;
    font-size: 10px !important;
}

/* ---------- Мобильная версия ---------- */
@media screen and (max-width: 699px) {
    .modern-side .side-card {
        margin-bottom: 12px !important;
    }

    .modern-side .side-price {
        padding: 14px 16px 15px !important;
    }

    .modern-side .side-price .side-value {
        font-size: 26px !important;
    }

    .modern-side .phone-card {
        padding: 12px !important;
    }

    .modern-side .phone-btn {
        min-height: 62px !important;
        border-radius: 10px !important;
    }

    .modern-side .phone-call {
        min-height: 50px !important;
    }
}


/* =========================================================
   DARK THEME V14 — карбоновая цена по центру
   Только CSS
   ========================================================= */

.modern-side .side-price {
    padding: 14px 16px 16px !important;

    background:
        linear-gradient(135deg,
            #2b2f35 0%,
            #20242a 24%,
            #2a2e34 49%,
            #1d2126 74%,
            #292d33 100%) !important;

    border: 1px solid #434a54 !important;
    border-radius: 12px !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.04),
        inset 0 -1px 0 rgba(0,0,0,.35),
        0 8px 18px rgba(0,0,0,.18) !important;

    text-align: center !important;
}

/* убираем синюю вертикальную полоску */
.modern-side .side-price:before {
    display: none !important;
    content: none !important;
}

.modern-side .side-price .side-label {
    margin: 0 0 5px !important;
    padding: 0 !important;

    color: #9098a3 !important;
    text-align: center !important;

    font-size: 10px !important;
    line-height: 1.2 !important;
    letter-spacing: 1.2px !important;
}

.modern-side .side-price .side-value {
    padding: 0 !important;

    color: #ffffff !important;
    text-align: center !important;

    font-size: 28px !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    letter-spacing: -.3px !important;

    text-shadow:
        0 1px 0 rgba(0,0,0,.7),
        0 0 8px rgba(255,255,255,.03) !important;
}

@media screen and (max-width: 699px) {
    .modern-side .side-price {
        padding: 13px 14px 15px !important;
    }

    .modern-side .side-price .side-value {
        font-size: 27px !important;
    }
}


/* =========================================================
   DARK THEME V15
   Fullstory: порядок в данных после фото + акцентная кнопка звонка
   Только CSS. TPL / JS / PHP не меняются.
   ========================================================= */

/* ---------- Правая колонка: город + статусы ---------- */
.modern-side .side-meta {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;

    padding: 14px !important;
    background:
        linear-gradient(145deg, #232932 0%, #1e242c 100%) !important;
    border: 1px solid #39414d !important;
    border-radius: 13px !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.025),
        0 8px 20px rgba(0,0,0,.14) !important;
}

/* Город всегда отдельной строкой */
.modern-side .side-meta .meta-row {
    grid-column: 1 / -1 !important;

    display: flex !important;
    align-items: center !important;
    gap: 9px !important;

    min-height: 42px !important;
    padding: 0 3px 10px !important;
    margin: 0 0 1px !important;

    border-bottom: 1px solid #353c47 !important;
    color: #e7eaf0 !important;
}

.modern-side .side-meta .meta-row i {
    flex: 0 0 auto !important;
    color: #ef625b !important;
    font-size: 16px !important;
}

.modern-side .side-meta .meta-row span {
    color: #e7eaf0 !important;
    font-size: 13px !important;
    font-weight: 650 !important;
}

/* Статусы — одинаковые компактные кнопки */
.modern-side .side-meta .meta-badge {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 34px !important;
    margin: 0 !important;
    padding: 6px 9px !important;

    border-radius: 9px !important;
    background: #252c35 !important;
    border: 1px solid #414a57 !important;

    color: #cbd1d9 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    text-align: center !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.025) !important;
}

.modern-side .side-meta .verified-badge {
    color: #8fc5ef !important;
    border-color: rgba(73, 137, 190, .46) !important;
    background: rgba(40, 61, 79, .55) !important;
}

.modern-side .side-meta .whatsapp-badge {
    color: #8ed9ad !important;
    border-color: rgba(70, 156, 107, .45) !important;
    background: rgba(37, 70, 52, .55) !important;
}

.modern-side .side-meta .online-badge {
    color: #ff9a82 !important;
    border-color: rgba(232, 100, 73, .48) !important;
    background: rgba(77, 43, 38, .55) !important;
    animation: dark-online-blink 1.15s ease-in-out infinite !important;
}

.modern-side .side-meta .inactive-badge {
    grid-column: 1 / -1 !important;
    color: #e99a9a !important;
    border-color: rgba(190, 76, 76, .5) !important;
    background: rgba(73, 37, 40, .62) !important;
}


/* =========================================================
   Блоки "Услуги / Параметры / Варианты встреч"
   Выводятся только существующие <li>, т.е. только заполненные поля.
   ========================================================= */

.full-left .item-view-block {
    padding: 15px 16px !important;
    margin: 0 0 14px !important;

    background:
        linear-gradient(145deg, #1e242b 0%, #1a2026 100%) !important;
    border: 1px solid #303945 !important;
    border-radius: 12px !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.02),
        0 6px 18px rgba(0,0,0,.10) !important;
}

/* Заголовки секций */
.full-left .item-view-block > .title-header,
.full-left .item-view-block .title-header {
    color: #f1f3f6 !important;
}

.full-left .item-view-block > .title-header {
    display: block !important;
    margin: 2px 0 9px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
}

/* Сетка заполненных параметров */
.full-left .item-params-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px 9px !important;

    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.full-left .item-params-list .item-params-list-item {
    display: flex !important;
    align-items: center !important;

    min-height: 37px !important;
    margin: 0 !important;
    padding: 8px 10px !important;

    background: #232a33 !important;
    border: 1px solid #353e49 !important;
    border-radius: 8px !important;

    color: #d7dbe1 !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
}

/* Ссылки услуг не ярко-голубые */
.full-left .item-params-list .item-params-list-item a {
    color: #63a8cf !important;
    text-decoration: none !important;
    font-weight: 650 !important;
}

.full-left .item-params-list .item-params-list-item a:hover {
    color: #83c2e7 !important;
}

/* Вложенные подписи вроде "Возраст:" */
.full-left .item-params-list .item-params-list-item .title-header {
    margin-right: 4px !important;
    color: #9ba5b2 !important;
    font-size: inherit !important;
    font-weight: 650 !important;
}


/* ---------- Адрес и описание ---------- */
.full-left .item-view-block .flex-row {
    color: #d7dbe1 !important;
}

.full-left .item-view-block .flex-row .title-header {
    color: #9ba5b2 !important;
    font-weight: 700 !important;
}


/* =========================================================
   ГЛАВНЫЙ АКЦЕНТ: фиксированная кнопка "Позвонить"
   ========================================================= */

.fixed-call {
    padding: 9px 10px 10px !important;
    background: rgba(19, 23, 29, .96) !important;
    border-top: 1px solid #343d49 !important;
    box-shadow: 0 -8px 22px rgba(0,0,0,.28) !important;
    backdrop-filter: blur(9px) !important;
    -webkit-backdrop-filter: blur(9px) !important;
}

.fixed-call .fixed-call-btn {
    position: relative !important;
    overflow: hidden !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;

    width: 100% !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 0 18px !important;

    background:
        linear-gradient(180deg, #292f38 0%, #1e242b 100%) !important;
    border: 1px solid #5a7791 !important;
    border-radius: 11px !important;

    color: #f6f8fa !important;
    text-decoration: none !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.05),
        0 0 0 1px rgba(67, 151, 207, .08),
        0 7px 18px rgba(0,0,0,.28) !important;

    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease,
        background .18s ease !important;
}

/* Тонкая акцентная линия сверху */
.fixed-call .fixed-call-btn:before {
    content: "" !important;
    position: absolute !important;
    left: 18% !important;
    right: 18% !important;
    top: 0 !important;
    height: 2px !important;
    border-radius: 0 0 4px 4px !important;
    background: linear-gradient(90deg, transparent, #56b5e8, transparent) !important;
    opacity: .95 !important;
}

.fixed-call .fixed-call-btn i {
    color: #5ab7e8 !important;
    font-size: 18px !important;
    text-shadow: 0 0 9px rgba(79, 174, 226, .28) !important;
}

.fixed-call .fixed-call-btn span {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: .2px !important;
}

.fixed-call .fixed-call-btn:hover {
    background:
        linear-gradient(180deg, #303843 0%, #222932 100%) !important;
    border-color: #6aa9ce !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.055),
        0 0 0 1px rgba(78, 169, 221, .13),
        0 0 18px rgba(60, 151, 205, .14),
        0 8px 20px rgba(0,0,0,.3) !important;
    transform: translateY(-1px) !important;
}

.fixed-call .fixed-call-btn:active {
    transform: translateY(0) scale(.992) !important;
}


/* ---------- Мобильная адаптация ---------- */
@media screen and (max-width: 699px) {

    /* После фото: один аккуратный поток */
    .modern-side .side-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        padding: 12px !important;
    }

    .modern-side .side-meta .meta-row {
        min-height: 40px !important;
        padding-bottom: 9px !important;
    }

    /* Параметры на мобильном тоже в 2 колонки там, где помещается */
    .full-left .item-params-list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 7px !important;
    }

    .full-left .item-params-list .item-params-list-item {
        min-height: 36px !important;
        padding: 7px 8px !important;
        font-size: 11.5px !important;
    }

    .full-left .item-view-block {
        padding: 13px !important;
        border-radius: 11px !important;
    }

    .fixed-call {
        padding: 8px 9px 9px !important;
    }

    .fixed-call .fixed-call-btn {
        min-height: 50px !important;
        border-radius: 10px !important;
    }
}

/* Совсем узкие экраны: поля в одну колонку, чтобы текст не ломался */
@media screen and (max-width: 390px) {
    .full-left .item-params-list {
        grid-template-columns: 1fr !important;
    }
}


/* =========================================================
   DARK THEME V16 — FIX MOBILE PARAM GRID OVERFLOW
   Исправляет уход рамок вправо.
   Только CSS.
   ========================================================= */

@media screen and (max-width: 699px) {

    /* Все внутренние блоки не могут быть шире родителя */
    .full-left,
    .full-left .item-view-block,
    .full-left .item-params-list,
    .full-left .item-params-list .item-params-list-item,
    .full-left .item-view-block .flex-row {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Сетка действительно занимает только доступную ширину */
    .full-left .item-params-list {
        width: 100% !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        overflow: hidden !important;
    }

    /*
       В старом CSS у элементов списка могут оставаться float/width.
       Они и растягивают правую колонку за экран.
    */
    .full-left .item-params-list .item-params-list-item {
        float: none !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;

        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }

    /* Адрес также не выходит за границы */
    .full-left .item-view-block .flex-row {
        width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow-wrap: anywhere !important;
    }
}

/* На совсем узких телефонах одна колонка надёжнее и чище */
@media screen and (max-width: 390px) {
    .full-left .item-params-list {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}


/* =========================================================
   DARK THEME V17 — ФОТО В КАРТОЧКАХ БЕЗ ОБРЕЗКИ
   Показываем исходное фото целиком, пропорционально уменьшая.
   Разметка и скрипты не меняются.
   ========================================================= */

/* Основные карточки на ПК */
@media screen and (min-width: 700px) {
    .grid-list .col-xs-12.col-sm-6 .offer .img-wrapper {
        width: 300px !important;
        height: 230px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
        background: #171b21 !important;
    }

    .grid-list .col-xs-12.col-sm-6 .offer .img-wrapper > a {
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #171b21 !important;
    }

    .grid-list .col-xs-12.col-sm-6 .offer .img-wrapper img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
        object-position: center center !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #171b21 !important;
    }
}

/* Мобильные карточки: фото тоже всегда целиком */
@media screen and (max-width: 699px) {
    .grid-list .col-xs-12.col-sm-6 .offer .img-wrapper {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: hidden !important;
        background: #171b21 !important;
    }

    .grid-list .col-xs-12.col-sm-6 .offer .img-wrapper > a {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        background: #171b21 !important;
    }

    .grid-list .col-xs-12.col-sm-6 .offer .img-wrapper img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-width: 100% !important;
        object-fit: contain !important;
        object-position: center center !important;
        margin: 0 auto !important;
        background: #171b21 !important;
    }
}

/* Маленькие карточки/похожие анкеты — также без обрезки */
.relnews .img-wrapper,
.grid-thumb-3col .col-sm-6 .img-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #171b21 !important;
}

.relnews .img-wrapper img,
.grid-thumb-3col .col-sm-6 .img-wrapper img {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    background: #171b21 !important;
}
