body > *{
	width:100%;
	overflow: hidden;
	background-color: rgb(249, 248, 246);
	margin: 0 auto;
	box-sizing: border-box;
  }

#mainTableTdInfo{
	font-size: 1.2em;
}
.PShowObjectTel, .PShowObjectEmail, .CostShowObject {
	font-size: 1.2em;
}
.mainFotoShowObject{
	width:300px;
	max-width: 100%;
	float:left;
	margin:25px 25px 20px 10px;
	border-radius: 9px;
}

.nameShowObject{
	margin:20px 10px 0px 0px;
}

.divShowObjectText{
	clear:both;
	margin:10px;
	font-size: 1.1em;
}

#divForFotosId{
	text-align:center;
	/text-indent: 0px;
}

.inDivForFotos{
	display: inline-block;
	width:215px;
	height:90px;
	margin:15px 14px 10px 0px;
	text-align:center;
	cursor:pointer;
	border:1px solid rgb(200,200,200);
	overflow: hidden;
	background:url(/pic/bg/bg_showObj_img.jpg);
	background-size: 100%;
	position:relative;
	padding: 150px 0px 0px 0px
}

.inDivForFotos:hover{
	border:1px solid rgb(100,100,100);
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	background:rgb(230,240,230);
}

.fotosShowObject{
	position:absolute;
	top:0px;
	left:0px;
	right:0px;
	bottom:97px;
	margin:auto;
	max-height:143px;
	max-width:100%;
}

.bottomTextDiv{
	clear:both;
	margin:15px 0px 10px 0px;
	text-align:center;
	background-color:rgb(220,220,220);
	border:1px solid black;
	padding:15px 5px 25px 5px;
}
.bottomTextH4{
	margin:5px;
}
.bottomTextA{
	text-decoration:none;
	color:black;
}
.bottomTextA:hover{
	color:olive;
}

/*Рейтинг усреднённый*/
#viewRat{
	background-color: rgb(229, 252, 242);
	padding: 5px 20px 20px 20px;
	border: 1px solid black;
	border-radius: 4px;
	margin: 30px 12px;
	text-align: center;
	
}
#viewRat h3{
	margin: 0;
	text-align: center;
	color:rgb(42, 42, 42);
	border-bottom: 1px solid rgb(181, 183, 184);
	padding: 10px 0 17px 0;
}

.viewRatClass1{
	text-align: center;
	margin: 0 0 2px 0;
	padding: 22px 0 15px 0;
}
.viewRatClass{
	display: inline-block;
	margin: 5px;
}

.viewRatClass>img{
	width: 120px;
}
.viewRatClass1 > img{
	width: 150px;
}
.viewRatClass1 > .nameRating{
	font-size: 1.1em;
}
.viewRatClass1 > .countReviews{
	font-size: 0.8em;
}
.viewRatClass > .nameRating{
	font-size: 1em;
}
/*отзывы*/
#reviewsDiv{
	background-color: rgba(255, 255, 255, 0.739);
	padding: 0;
	border: 1px solid black;
	border-radius: 4px;
	margin: 30px 12px;
	text-align: center;
	max-height: 500px;
	overflow:scroll;
}
#reviewsDivEmpty{
	background-color: rgba(221, 240, 244, 0.739);
	padding: 0;
	border: 1px solid black;
	border-radius: 4px;
	margin: 40px 12px;
	min-height: 150px;
}
#reviewsDivEmpty > span{
	font-style: oblique;
	font-size: 0.8em;
	display: block;
	text-align: left;
	padding: 12px;
	
}
#reviewsDiv > h3, #reviewsDivEmpty > h3{
	margin:0;
	padding: 10px 0px;
	text-align: center;
	color:rgb(42, 42, 42);
	position: -webkit-sticky;
	position: sticky;
	top: 0px;
	background-color: rgba(238, 249, 249, 0.939);
	border-bottom: 1px solid black;
}

.reviewDiv{
	border: 1px solid rgb(174, 176, 176);
	border-radius: 2px;
	background-color: rgb(245, 246, 244);
	padding: 15px;
	margin-bottom: 20px;
	text-indent: 0px;
}

.reviewDivRatClass1{
	padding-bottom: 5px;
	font-size: large;
	font-weight: 700;
	text-align: left;
	border-bottom: 1px solid rgb(199, 218, 224);
}
.reviewDivRatClass1 > .loginAuthor{
	color: black;
}
.reviewDivRatClass1 > .dateReview{
	color: rgb(90, 89, 89);
	font-size: 0.7em;
	display: block;
	text-align: left;
	padding-left: 8px;
}
.reviewDivRatClass1 > img {
	width: 110px;
}
.reviewDivRatClass1 > span {
	font-size: large;
	font-weight: 400;
	color: rgb(97, 97, 97);
}
.reviewDivTextP{
	margin: 10px 0;
	text-align: justify;
	padding: 8px;
	font-size: 0.9em;
	text-indent: 18px;
}
.reviewDivRatClass{
	border-bottom: 0px solid black;
	display: inline-block;
	margin: 5px 20px;
}
.reviewDivRatClass > img{
	width: 100px;
}

/*Форма для отзывов*/
#formReview{
	background-color: azure;
	border: 1px solid black;
	border-radius: 4px;
	margin: 10px 12px;
	
}   
#formReview > h3{
	text-align: center;
	margin: 10px 0 20px 0;
	padding: 10px;
}
#formReview > div{
	margin-left: 20px;
}
#loginWriterIdDiv{
	font-size: 0.9em;
}
#loginWriterIdDiv > input{
	height: 28px;
	width: 240px;
	font-size: 0.7em;
	display: inline-block;
	padding: 8px;
	border-radius: 5px;
	border: 1px solid rgb(84, 83, 83);
}
.ratingBlockTable{
	padding: 5px 20px;
	display: table;
	height: 10px;
	font-size: 19px;
}
.ratingBlockTable2{
	padding: 5px 20px;
	display: table;
	font-size: 17px;
}
#infoForm{
	margin: 28px 7px 4px 7px;
	font-size: 0.9em;
	font-style: oblique;
}
.ratingBlockRow{
	display: table-row;
}
.ratingBlockText{
	display: table-cell;
	vertical-align: middle;
	border: 0px solid black;
}
.ratingArea {
	overflow: hidden;
	width: 150px;
	height: 100%;
	margin: 0 auto;
	border:0px solid black;
	display: table-cell;
	vertical-align: middle;
}
.ratingArea > input {
	display: none;
	margin: 0;
}

.ratingArea > label:before {
	content: "\2605"; 
}
.ratingArea > input:checked ~ label {
	color: gold;
}
.ratingArea > label:hover, .ratingArea > label:hover ~ label {
	color: gold;
}
.ratingArea > label {
	float: right;
	color: rgb(194, 239, 243);
	cursor: pointer;
	text-shadow: 0 0 1px rgb(192, 186, 96), 0 0 2px rgb(9, 83, 222);
}
.ratingBlockTable .ratingArea > label {
	font-size: 30px;     
	text-indent: 0;
}

.ratingBlockTable2 .ratingArea > label {
	font-size: 28px;       
	text-indent: 0; 
}

#reviewTextId{
	display: block;
	width: 80%;
	margin: 5px 20px;
	padding: 10px;
}


#sendBut{
	margin: 15px 9px 30px 100px;
	height: 40px;
	border-radius: 3px;
	border: 2px solid rgb(180, 181, 181);
}
#sendBut:hover{
	background-color: rgb(240, 206, 143);
	border: 2px solid orange;
	cursor: pointer;
}
/* --------- list aside objects*/
#asideObj > h2 {
	margin: 45px 5px 0 5px;
	color:rgb(9, 44, 108);
}
.showObjectsListDiv{
	margin: 25px 25px;
	padding:0px 50px 0px 0px;
	border:solid 1px;
	box-sizing: border-box;
	background: azure;
	opacity:0.9;
	max-width:1300px;
	border-radius: 4px 4px 4px 4px;
	box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
	font-size: 1.1em;
	position: relative;
	display: table;
}


.showObjectsListDiv:hover{
	opacity:1;
	box-shadow:0 1px 4px rgba(0, 0, 0, 0.4), 0 0 10px rgba(0, 0, 0, 0.1) inset;
}

.showObjectsListDiv:hover .mainFotoShowObjects{
	transform: scale(1.3, 1.3);
	transition-duration: 1.3s;
	animation: anim2 ease-in-out 1.05s forwards;
}

.mainFotoShowObjectsDiv{
	height: 230px;
	line-height: 230px;
	width: 300px;
	background: url(pic/main_bg_1.jpg);
	border: 0px;
	border-right:solid 1px rgb(136, 133, 133);
	border-bottom:solid 1px rgb(136, 133, 133);
	float:left;
	margin:0px 30px 0px 0px;
	overflow:hidden;
	border-radius: 0px 5px 5px 0px;
}

.mainFotoShowObjects{
	display: block;
	margin: 0 auto;
	height:100%;
	max-height: 130%;
	max-width: 100%;
}
.mainItemLink:visited{
	color: #551A8B !important;
}
.h3ListObjects{
	margin:0;
	padding:10px 0;
}

.descObj{
	margin: 0 5px;
	font-size:0.9em;
	color: rgb(2, 2, 110);
}

.costObj{
	padding:7px;
	color:green;
	margin-bottom:0px;
	font-size:0.9em;
}
.typeObj{
	text-align:right;
	margin-top:1px;
	color:black;
	font-size:0.8em;
	position: absolute;
	bottom: 0;
	right: 20px;
}
.addAddr{
	margin: 9px 5px 5px 5px;
	color: rgb(54, 44, 16);
	font-size: 17px;
}
/* ------------- */
/* ------------- */
.remarkObj{
	margin: 25px 2px 15px 12px;
	font-size: 0.9em;
}
#briefInfo{
	margin: 25px 10px;
	padding: 10px 20px;
	background-color: rgb(237, 240, 248);
	border-radius: 5px;
	border: 1px solid rgb(84, 83, 83);
}
#briefInfo > h4{
	margin: 10px 0;
}
#briefInfo > p{
	font-size: 0.9em;
	font-style: oblique;
}

#pubDate{
	text-align: right;
	margin: 15px;
}

#recYaLeft{
	max-width:300px;
	margin:15px auto;
	overflow: hidden;
}
#recYaLeft2{
	max-width:292px;
	margin:40px auto;
	overflow: hidden;
}

#reclYa{
	border-radius: 9px;
	max-width: 98%;
	max-height: 250px;
	margin: 30px auto;
	overflow: hidden;
	border: 1px solid rgb(100, 100, 100);
}

#reclYa2{
	border-radius: 9px;
	max-width: 98%;
	max-height: 250px;
	margin: 30px auto;
	overflow: hidden;
	border: 1px solid rgb(100, 100, 100);
}
/* --------------------------
--------------------------
--------------------------
-------------------------- */
@media all and (orientation:portrait) and (max-width: 1200px){
	* {
	box-sizing: border-box;
	}
	.ntHr{
		border: 0;
		border-bottom: 1px solid rgb(226, 229, 234);
		display: block;
		height:auto;
		max-height: none;
		width: 100%;
		margin: 0;
	}
	#mainTableCaption .navig{
		height:auto;
		padding: 0px 5px 2px 15px;
		position: static;
	}
	#mainTableTr {
		display: flex;
		flex-direction: column;
	}
	#mainTableTdMenu {
		order: 2;
	}
	#mainTableTdInfo {
		order: 1;
		margin: 0;
		padding: 2px;
		width: 100%;
	}
	.mainFotoShowObject{
		width:100%;
		max-width:550px;
		float:none;
		margin: 0 auto;
		margin-bottom:20px;
		display: block;
	}
	.nameShowObject, .PShowObjectTel, .PShowObjectEmail, .CostShowObject{
		margin-left: 7px;
	}


	/* --------- list aside objects*/
	.showObjectsListDiv{
		height: auto;
		margin: 25px 0;
		width:100%;
		max-width:100%;
		overflow: hidden;
		text-align:left;
		display:block;
		word-break: break-all;
		padding: 2px;
	}
	.mainFotoShowObjectsDiv{
		width: 100%;
		margin: 0;
		float: none;
		border: 0;
		height: auto;
		padding: 0;
	}
	.mainFotoShowObjectsDiv > img{
		position: relative;
		max-width: 100%;
	}
	.h3ListObjects{
		text-align: center;
	}
	.descObj, .costObj{
		margin: 5px 14px;
		line-height: 1.2;
		text-indent: 0;
	}
	.typeObj{
		margin: 15px;
		position: relative;
	}

}