/********products*********/
.products {display: block;width: 90%;max-width: 1200px;margin: auto}
.products .products-item {display: inline-block;width: calc(24.7% - (90px / 4));padding: 10px;margin: 0 30px 30px 0;border: 1px solid #efefef;background-color: #fff;box-shadow: 3px 3px 7px rgba(0,0,0,0.2)}
.products .products-item:hover {box-shadow: 8px 8px 10px rgba(0,0,0,0.22)}
.products .products-item:nth-child(4n) {margin: 0 0 0 0}
.products .products-item:nth-child(4n + 1) {clear: both}
.products .products-item-img {width: 100%;height: 300px;object-fit: contain;object-position: center}
.products .products-item-name a {color:#555}
.products .products-item-name a:hover {color:#333}
/********end products*****/
.wp-block.property.list {
	border: 1px solid #e0eded;
	margin-bottom: 15px !important;
}
.wp-block {
	margin: 0 0 15px 0;
	-webkit-transition: all .3s linear;
	transition: all .3s linear;
	position: relative;
	cursor: default;
	border-radius: 2px;
}
.wp-block.property.list {
	padding: 15px 15px 0 15px;
}
.wp-block.property.list {
	margin: 0;
	padding: 0;
	font-size: 16px;
	font-weight: 400;
}
.wp-block .wp-block-body {
	padding: 15px;
}
.wp-block.property.list .wp-block-img {
	display: table-cell;
	width: 250px;
}
.wp-block.property.list .wp-block-img img {
	width: 100%;
	height: 140px;
	object-fit: cover;
}
.wp-block.property.list .wp-block-content .content-title {
	font-size: 20px;
	color: #3498db;
	margin-bottom: 5px;
}
.wp-block.property.list .wp-block-body .wp-block-content {
	display: table-cell;
	vertical-align: top;
	padding-left: 15px;
}
.wp-block.property.list .wp-block-content .description {
	padding-bottom: 10px;
	border-bottom: 1px solid #e0eded;
}
.wp-block.property.list .wp-block-footer ul.aux-info {
	width: 100%;
	margin: 0;
	padding: 0;
	display: block;
	background: #fcfcfc;
	border-top: 1px solid #e0eded;
}
.wp-block.property.list .wp-block-footer ul.aux-info li {
	display: table-cell;
	padding: 10px 15px;
	vertical-align: middle;
	border-right: 1px solid #e0eded;
}
.ribbon.base {
	background: #3498db;
	color: #fff;
	border-right: 5px solid #8bc4ea;
}
.ribbon {
	position: absolute;
	top: 20px;
	right: -5px;
	padding: 15px;
}
.base {
	background: #3498db;
	color: #fff !important;
}
.ribbon:before, .ribbon:after {
	content: '';
	position: absolute;
	left: -9px;
	border-left: 10px solid transparent;
}
.ribbon:before {
	top: 0;
}
.ribbon.base:before {
	border-top: 27px solid #3498db;
}
.ribbon.base:after {
	border-bottom: 27px solid #3498db;
}
.ribbon:after {
	bottom: 0;
}
.img-thumbnail {
	width: 100%;
	height: 300px;
	object-fit: cover;
}

/***** gallery *****/
.gallery-wrap {
	width: 100%;
	padding: 15px 0;
	text-align: center;
}

.gallery-wrap .item {
	margin-bottom: 30px;
	position: relative;
}
.gallery-wrap .item .item-cnt {
	position: absolute;
	bottom: 2px;
	left: 20px;
	right: 20px;
	margin: auto;
	display: block;
	text-align: center;
	background: #fff;
	padding: 1em;
}
.gallery-wrap .item:nth-child(3n + 1) {
	clear: both;
}
/******* end gallery ******/
.text-content p,
.text-content li {
  color: #65677a;
 font: 400 18px var(--bd-ff-kanit-sans);
 line-height: 1.5;
}
.text-content h2,
.text-content h3,
.text-content h4 {
	margin-bottom: 25px;
}
.text-content ul, .text-content ol {
	margin-bottom: 25px;
}
.text-content ol li {
	margin-left: 20px;
	list-style-type: decimal;
	list-style-position: outside;
	padding-left: 1ch;
}
.text-content ul li {
	margin-left: 20px;
	list-style-type: "✓";
	list-style-position: outside;
	padding-left: 1ch;
}
@media (max-width: 767px) {
	.blog-details-title,
	.text-content h3 {
		font-size: 26px;
	}
}
div.process-ajax:before {
	content: "";
	position: absolute;
	background: url(../../img/ajax-loading2.gif) no-repeat center rgba(255, 255, 255, 0.6);
	width: 100%;
	height: 100%;
	z-index: 2;
	background-size: 63px;
	left: 0;
	top: 0;
}

div.process-ajax {
	position: relative;
}

.ajax-modal form .error-msg {
	color: red;
	font-size: 85%;
	font-weight: bold;
	margin-top: 3px;
}
.bootstrap-select.btn-group .dropdown-menu li a:before {
	content: '';
	position: absolute;
	width: 21px;
	height: 21px;
	border: 1px solid #ccc;
	right: 11px;
	border-radius: 2px;
	top: 50%;
	transform: translateY(-50%);
}

.ajax-modal form .error {
	border: 1px solid red;
}

.jd_form-to-mail.ajax-loading {
	position: relative;
}
.jd_form-to-mail.ajax-loading:before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	background: url(../img/ajax-loading2.gif) rgba(255, 255, 255, 0);
	top: 0;
	left: 0;
	z-index: 1;
	background-position: center center;
	background-repeat: no-repeat;
	filter: grayscale(100%);
	background-size: 3.5rem;
}
#infoModal .modal-content {
    padding: 20px;
    position: relative;
    background: #fbfbfb;
}
.modal.fade.show .modal-dialog {
	margin-top: calc(50vh - 100px);
}
#infoModal .modal-dialog {
	margin-top: calc(50vh - 55px);
}
#infoModal .modal {
	z-index: 999999 !important;
}
#infoModal .modal-content {
	min-width: 300px;
	max-width: 100%; 
}
#infoModal .infoModal__text {
	font-size: 22px;
}
#infoModal .modal-body {
	font-size: 1.7rem;
	line-height: 1.3;
	text-align: center;
	padding: 20px;
}
#request_call .modal-header .close {margin-top: -2px;position: absolute;right: 20px;}
.modal-body input.form-control {
  height: 45px;
  border-radius: 6px;
  background-color: transparent;
  border: 1px solid var(--bd-text-secondary);
  color: var(--bd-black);
  font: 400 16px var(--bd-ff-kanit-sans);
}
.modal-open{overflow:hidden}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;display:none;overflow:hidden;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transition:-webkit-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out;-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);-o-transform:translate(0,-25%);transform:translate(0,-25%)}
.modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);-o-transform:translate(0,0);transform:translate(0,0)}
.modal-open .modal{overflow-x:hidden;overflow-y:auto}
.modal-dialog{position:relative;width:auto;margin:10px}
.modal-content{position:relative;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5)}
.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}
.modal-backdrop.fade{filter:alpha(opacity=0);opacity:0}
.modal-backdrop.in{filter:alpha(opacity=50);opacity:.5}
.modal-header{padding:15px;border-bottom:1px solid #e5e5e5}
.modal-header .close{margin-top:-2px}
.modal-title{margin:0;line-height:1.42857143}
.modal-body{position:relative;padding:15px}
.modal-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}
.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}
.modal-footer .btn-group .btn+.btn{margin-left:-1px}
.modal-footer .btn-block+.btn-block{margin-left:0}
.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}
@media (min-width:768px){.modal-dialog{width:600px;margin:30px auto}
.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}
.modal-sm{width:300px}}
@media (min-width:992px){.modal-lg{width:900px}}
/***** reviews ****/
.jd-comments_form{
	width: 100%;
	padding: 5px 0;
	margin: 0;
	display: none;
}
.jd-open-comments{
	border: none;
	margin: 5px 0 0 0;
	cursor:pointer;
	line-height: 1.2;
	height: auto;
}
.jd-comments_form input, .jd-comments_form textarea{
	width: 100%;
		border: 1px solid #999;
}
.jd-comments_form textarea{
	height: 70px;
}
.jd-comments_form input[type="submit"]{
	width: 150px;
	border: none;
	cursor:pointer;
}
.jd-comments_wrap{
	padding: 10px 0 15px 0;
}
.jd-comments_wrap .jd-comments_item{
	padding: 10px 0;
	margin: 20px 0;
	color: #111;
	font-size: 15px;
	line-height: 1.46;
}
.jd-comments_wrap .jd-comments_item .jd-comments_info{
	color: #414b50;
	font-weight: 700;
	font-size: 14px;
	margin: 15px 0 10px 0;
}
.jd-comments_wrap .jd-comments_item p{
	margin-bottom: 3px;
}
.jd-comments_reply{
	margin-left: 15px;
	color: #1768ce;
	cursor: pointer;
	font-size: 11px;
}
.jd-comments_reply:hover{
	text-decoration: underline;
}
.jd-comments_date{
	margin-left: 15px;
	font-size: 12px;
}
.jd-comments_answer .jd-comments_answer-remove{
	margin-left: 15px;
	color: red;
	font-weight: 700;
	cursor: pointer;
}
.jd-comments_answer .jd-comments_answer-remove:hover{
	text-decoration: underline;
}
.jd-comments_remove, .jd-comments_public{
	margin-left: 15px;
	color: red;
	cursor: pointer;
	font-size: 11px;
}
.jd-comments_public{
	color: green;
}
.jd-comments_remove:hover, .jd-comments_public:hover{
	text-decoration: underline;
}
.jd-comments_wrap .jd-comments_item.jd-comments_item-new{
	border: 2px solid yellow;
	padding: 5px;
}
.jd-comments_wrap .jd-comments_item.jd-comments_item-level{
	border-left: 1px solid #999;
	padding-left: 10px;
	margin: 10px 0;
	margin-left:20px;
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
	display: flex;
	gap: 30px;
	margin-top: 20px;
}
/***** end reviews ****/
.header-right__phone{
  font-weight: 600;
  transition: 0.1s;
  font-size: 20px;
  padding-bottom: 3px;
}
.header-right__phone:hover {
  transform: scale(1.02);
}
@media (min-width: 576px) {
	.modal-dialog {
	    max-width: 500px;
	    margin: 1.75rem auto;
	    width: 500px;
	}
}
body.view_block_contacts .block_contacts {
	position:fixed; bottom:15px; right:15px; z-index:998; box-shadow:0px 1px 4px 0px rgba(5,65,135,0.3); width:210px; height:244px; border-radius:5px; background-color:#fff;
	-webkit-transition:left 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,width 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,bottom 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,height 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
	transition:left 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,width 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,bottom 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,height 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
	text-align: center;
	padding-top: 20px;
	overflow: hidden;
}
body.view_block_contacts .block_contacts:hover {
	box-shadow:0px 1px 20px 0px rgba(5,65,135,0.4); 
}
body:not(.view_block_contacts) .block_contacts {
	position:fixed; bottom:15px; right:15px; z-index:998; box-shadow:0px 1px 4px 0px rgba(5,65,135,0.3); width:64px; height:64px; border-radius:50%; background-color:#fff;
}
body:not(.view_block_contacts) .block_contacts .block_contacts_close,
body:not(.view_block_contacts) .block_contacts .contacts_info {
	display: none;
}
body:not(.view_block_contacts) .block_contacts .expert_photo {
	margin-top: 0px !important;
	animation: pulses 1.4s infinite ease-out;
}
@keyframes pulses {
  0% {
    box-shadow: 0 0 0 0 rgba(18, 115, 158, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(18, 115, 158, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(18, 115, 158, 0);
  }
}
.contacts_info {
	margin-top: 5px
}
.block_contacts .expert_name {
	font-size: 16px;
	font-weight: bold;
	color: #444;
}
.block_contacts p {
	font-size: 13px;
	line-height: 1.2;
	margin: 5px 0 10px;
}
.block_contacts_close {
	position: absolute; top: 7px; right: 7px; background: none; cursor: pointer; padding: 2px; border: 0; border-radius:50%; line-height:0;
}
.block_contacts_close:hover {
	background-color: rgb(230, 241, 254)
}
.block_contacts_close svg {
  width: 1em;
  height: 1em;
  display: inline-block;
  flex-shrink: 0;
  transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1);
  fill: #12739e;
  font-size: 1.5rem;
}
a.phone_number {
	display: block;
	font-size: 16px;
	font-weight: bold;
	margin-top: 10px;
	color: #12739e;
}
a.phone_number:hover {
	color: #444;
}
.block_messengers {
	
}
.bg-icon {
	display: inline-block;
	width:60px;
	height: 34px;
	border-radius: 5px;
	padding-top: 2px;
}
.bg-icon.bg-max {
	background:rgba(135, 46, 214, 1);
}
.bg-icon.bg-max svg path {
  fill: #fff !important;
}
.bg-icon.bg-telegram {
	background:rgba(40, 167, 232)
}
.bg-icon:hover {
	box-shadow:0px 1px 4px 0px rgba(5,64,137,0.7);
}

.expert_photo {
	width: 64px;
	height:64px;
	margin: 5px auto;
	background-color: #d2d9e8;
	border: 2px solid #12739e;
	border-radius: 50%;
	position: relative;
}
.expert_photo img {
	position: absolute;
	bottom: 0px;
	left: 0px;
	width: 64px;
	border-bottom-left-radius: 32px;
	border-bottom-right-radius: 32px;
}
.main-footer__social-list {
    display: none;
    width: 60px;
    padding: 0;
    margin: 0;
    list-style: none;
    transform: translate(0, -50%);
    z-index: 996;
    position: fixed;
    top: 50%;
    right: 10px;
}

.main-footer__social-item {
    position: relative;
    width: 40px;
    height: auto;
    margin-bottom: 20px;
}
.main-footer__social-item img {
    width: 40px;
    height: auto;
	transition: 0.1s;
}
.main-footer__social-item a:hover img {
  transform: scale(1.15);
}
.main-footer__social-item:not(.main-footer__close-item) {
    position: relative;
    width: 40px;
    height: auto;
    margin-bottom: 20px;
}

.main-footer__social-item .main-footer__social-link {
    line-height: 0
}
.main-footer__social-item:hover .main-footer__social-link {
    transition: transform .2s linear;
    transform: scale(1.2)
}
.main-footer__social-link {
    display: block;
    font-size: 0;
}
.main-footer__social-link svg {
    width: 22px;
    height: 22px;
    fill: rgba(141, 12, 201, 1);
}
.main-footer__social-close {
    display: block;
    margin: 0 auto;
    padding-top: 7px;
    color: #e57e44;
    text-decoration: none;
    font-size: 10px;
    text-transform: uppercase;
    text-align: center;
	white-space: nowrap;
}
.main-footer__social-close:hover {
    color: #000
}
body.istouch:not(.view_block_contacts) .main-footer__social-list {
	display: none !important;
}
	
body.istouch.view_block_contacts .main-footer__social-list {
	-webkit-transition:left 255ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,width 255ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,bottom 255ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,height 255ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
	transition:left 255ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,width 255ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,bottom 255ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,height 255ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;	
	position: fixed;
	bottom: 225px;
	right: -5px;
	top: auto;
	z-index: 995;
}
