/*NOTE: This file is intended for programmers. Aspro technical support is not advised to work with him.*/

/* Examples (uncomment to use):*/

/* Expand site width */
/* body .wrapper { max-width: 1400px !important;  } */

/* Set site background image */
/* body {  background: url(image_source) top no-repeat; }

/* Hide compare button */
/* a.compare_item { display: none !important;  }*/

.logo-row .head_address{
	display: flex;
	justify-content: right;
}
.logo_and_menu-row .inner-table-block.address .address-block{
	display: table-cell;
	vertical-align: middle;
}
.price-page .news-list-item{
	margin-bottom: 40px;
}
.sl_item{
	padding: 15px;
	min-height: 78px;
}
.sl_item a{
	font-size: 1.2em;
	line-height: 24px;
	color: #222;
	font-weight: 500;
}
.sl_item a:hover{
	color: #b41818;
}

.docs-item{
	position: relative;
	padding: 0px 0px 0px 50px;
	margin-bottom: 20px;
	line-height: 24px;
	overflow: hidden;
	height: 50px;
	font-size: 1em;
}
.docs-item:before {
	content: "";
	position: absolute;
	display: block;
	width: 36px;
	height: 35px;
	background: url(/bitrix/templates/aspro-allcorp2/images/svg/docs_types.svg) 0px 0px no-repeat;
	top: 0px;
	left: 0px;
}
.item-views .docs-block .item{
	padding: 15px;
}
.pre-element {
  width: 49%;
  margin-right: 7px;
  float: left;
}
.next-element {
  text-align: right;
  width: 49%;
  float: right;
}
.item-views.mo_block.sections .item {
	padding: 10px;
	margin-bottom: 0;
}
.doc_detail_hd{
	position: relative;
	padding: 0px 0px 0px 50px;
	margin-bottom: 30px;
}
.doc_detail_hd:before {
	content: "";
	position: absolute;
	display: block;
	width: 36px;
	height: 35px;
	background: url(/bitrix/templates/aspro-allcorp2/images/svg/docs_types.svg) 0px 0px no-repeat;
	top: 0px;
	left: 0px;
}
.doc_detail_hd b{
	font-size: 20px;
	line-height: 25px;
}
.regions{
	display: flex;
	width: 100%;
	flex-wrap: wrap;
}
.regions .item{
	width: 100%;
	margin-right: 0;
}
body.all_title_2 .item-views.sections.mo_block .item .title a{
	font-weight: normal;
	font-size: 1em;
}

.item-views.list.reviews_inner .item .image img {
	object-fit: cover;
	width: 100%;
	height: 100%;
	border-radius: 60px;
}





@media (max-width: 630px) {

	.list-type-block.item-views .item.review > .image + .body-info {
		padding: 0px 0px 0px 0px;
	}

	.list-type-block.item-views .item.review {
		display: flex;
		flex-direction: column;
	}

	h1 {
		margin-top: 30px !important;
	}

	body .list-type-block.item-views .item > .body-info {
		padding-top: 20px;
		padding-bottom: 20px;
	}
}




@media (max-width: 470px) {

}

@media (min-width: 1000px){
	.item-views.mo_block.sections .regions .item{
		width: 32%;
		margin-right: 1.33%;
		box-shadow: none;
	}
}

@media (min-width: 530px){
	body table.table thead+tbody tr:not(.nomobile) td {
		width: 100%;
	}

	table.table thead + tbody td .th-mobile {
		display: none;
	}


}

/* Tizers */
.drag-block.container.tizers{
	border-top:0px solid #f2f2f2;margin-bottom: -1px;position:relative;
	border-bottom:1px solid #f2f2f2;margin-bottom: -1px;position:relative;
}

.drag-block.container.tizers .row .maxwidth-theme {
	padding: 0!important;
}

.body:not(.index) .tizers_block2.vertical .item {
    flex-direction: row;
}

@media (min-width: 510px) {
	body table.table thead+tbody tr:not(.nomobile) td {
		width: 90%;
	}
}

.items.row.row_block.regions {
    margin: 0;
}

.item-views.mo_block.sections .regions .item {
	padding-left: 0;
}

@media (max-width: 510px) {
	.item-views.mo_block.sections .regions .item {
		padding-left: 10px;
	}
}
h2 {
    font-size: 1.866em!important;
    line-height: 28px!important;
    margin: 30px 0 25px!important;
}

@media screen and (max-width: 640px) {
	/*.contacts.maxwidth-theme .row.margin0.border {
		display: flex;
		flex-direction: column;
	} 
	.contacts.maxwidth-theme .row.margin0.border .col-md-4 {
		order: 0;
	}
	.contacts.maxwidth-theme .row.margin0.border .col-md-8 {
		order: 1;
	}*/
}
@media screen and (max-width: 881px) {
	a .btn.btn-default[data-toggle="tooltip"] {
		width: calc(50% - 10px);
	}
}
@media screen and (min-width: 882px) {
	a .btn.btn-default[data-toggle="tooltip"] {
		width: calc(50% - 10px);
	}
}

@media (max-width: 530px) {
	table.table thead + tbody td .th-mobile {
		display: none;

	}
}

@media (max-width: 530px) {
  body table.table.table-bordered thead + tbody
  tr:not(.nomobile) > td {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 10px 12px !important;
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  body table.table.table-bordered thead + tbody td .th-mobile {
    display: block !important;
    position: static;
    width: auto;
    padding: 0;
    margin-bottom: 5px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    font-weight: normal;
    color: #777;
  }
}

.item-views .item .section_name {
    display: none;
}

.detail .wraps hr {
    margin: 35px 0px 20px;
}

.detail .reviews.list-type-block .item.review > .image > img {
    display: block;
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
}

@media (max-width: 530px) {
    body table.table.table-bordered
    thead + tbody tr:not(.nomobile) > td {
        width: 100%;
        box-sizing: border-box;
        padding: 6px 6px 6px 50% !important;
        position: relative;
        min-height: 32px;
        text-align: left !important;
        white-space: normal;
        word-break: normal;
        overflow-wrap: break-word;
    }

    body table.table.table-bordered
    thead + tbody td .th-mobile {
        display: block !important;
        position: absolute;
        top: 6px;
        left: 6px;
        width: 45%;
        padding: 0 10px 0 0;
        margin: 0;
        box-sizing: border-box;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: inherit;
        color: inherit;
    }

    /* Заголовки разделов на всю ширину */
    body table.table.table-bordered
    thead + tbody tr:not(.nomobile) > td[colspan] {
        padding-left: 6px !important;
    }

    body table.table.table-bordered
    thead + tbody td[colspan] .th-mobile {
        display: none !important;
    }
}