html{
  height:100%;
  font:11px Tahoma,Verdana,sans-serif;
}

body{
  height:100%;
  color:#000;
  min-width:1004px;
  position:relative;
}

select {
   height: 20px;
}

#HabitPageSearch {
   margin-top: 20px;
}

input[type="text"] {
   height: 14px;
}

.frameVariant1 {
	border-top: 1px solid #a0a0a0;
	border-left: 1px solid #a0a0a0;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
	margin: 2px 22px 0px 0px;
}

.frameVariant1-inner {
	border-top: 1px solid #696969;
	border-left: 1px solid #696969;
	border-right: 1px solid #e3e3e3;
	border-bottom: 1px solid #e3e3e3;
	background: white;
	padding: 5px;
	height: 220px;
	overflow: auto;
}

.daysLeftInfo {
  display: inline-block;
  vertical-align: top;
  width: 260px;
  margin-top:18px;
  vertical-align: middle;
  text-align: center;
  float:left;
}

.search {
  float:left;
}

.search-inner {
  display: inline-block;
  padding-left: 10px;
  vertical-align: top;
}

.search .linkDropDownList {
  color: #0000ff;
  text-decoration: underline;
  cursor: pointer;
}

.search .search-part1 {
  display: inline-block;
  width: 300px;
  vertical-align: top;
}

.search .search-part1-cottage {
  display: inline-block;
  width: 327px;
  vertical-align: top;
}

.search .search-part1-table td {
  padding: 1px 10px 5px 0px;
}

.search .search-part1-table tr td:first-child {
  text-align: right;
  padding-right: 5px;
  width: 100px;
}

.search .search-part1-table .roomParte button {
  width: 34px;
  height: 22px;
  margin-right: 1px;
}

.search .search-part1-table .apartment button {
  width: 27px;
  height: 22px;
}

.divFlexButtons {
  display: flex;
  justify-content: space-between;
  width: 149px;
}

.search .search-part1-table tr.text td {
  padding-bottom: 1px;
  padding-top: 8px;
}

.search  .search-part3 {
  margin-top: 10px;
}

.search  .search-part3 .frame {
  border-top: 1px solid white;
  border-left: 1px solid white;
  border-bottom: 1px solid #696969;
  border-right: 1px solid #696969;
}

.search  .search-part3 .frame-inner {
  border-top: 1px solid ButtonFace;
  border-left: 1px solid ButtonFace;
  border-bottom: 1px solid #a0a0a0;
  border-right: 1px solid #a0a0a0;
  padding: 5px;
}

.search .search-part2 {
  display: inline-block;
  width: 235px;
  vertical-align: top;
}

.search .search-part2_garage {
  display: inline-block;
  width: 195px;
  vertical-align: top;
  margin-right: 0px;
}

#selectedPlace {
  min-height: 24px;
  margin-bottom: 7px;
  text-align: left;
  margin-left: 2px;
}

#selectedPlace b{
  color: #3e7823;
  font-weight: normal;
}

#selectedPlace img {
  margin: 3px 2px 0px 2px;
}

.checkbox2 {
  color: #0000ff;
  font-weight: bold;
  margin: 0px 0px 10px 20px;
}

.buttons {
  display: inline-block;
  vertical-align: top;
  margin-left: 30px;
}

.buttons button {
  width: 85px;
  min-height: 26px;
  white-space: nowrap;
  margin-bottom: 5px;
  display: block;
}

.buttons .view1, .buttons .view2 {
  color: white;
  border-radius: 3px;
  border: 1px solid white;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  width: 83px;
  position:relative;
}

.buttons .view1 {
  background: -moz-linear-gradient(center top , rgb(138, 187, 40), rgb(99, 160, 41)) repeat 0% 0% transparent;
}

.buttons .view2 {
  background: -moz-linear-gradient(center top , rgb(0, 187, 216), rgb(33, 135, 183)) repeat 0% 0% transparent;
  white-space: normal;
}

.buttons .view1:active, .buttons .view2:active {
  top: 1px;
  left: 1px;
}

button .space-img {
  width: 4px;
  display: inline-block;
}

#result_selected_count {
  display: none;
}

.noteSearch textarea{
	width: 100%;
	margin-left: -1px;
}

.additionalParametersSearch td{
	padding-left: 8px;
}

.additionalParametersSearch td:first-child{
	padding-left: 0px;
}

.phoneDiv {
  padding: 0px 8px 0px 8px;
  vertical-align: top;
}

.phoneDiv td {
  vertical-align: top;
}

.phoneTextarea {
  resize: none;
  height: '100%';
  margin: 2px 5px 0px 0px;
  width: 100%;
}

.selectDivSearch {
  width: 157px;
  margin: 2px 5px;
}

.selectDivIsApartment {
  width: 152px;
  margin-top: -5px;
}

.additionalParametersSearch {
  border-collapse: separate;
  width: 100%;
}

/* HabitPageMapTab */
#HabitPageMapTab .note td
{
  padding: 3px;
  vertical-align: top;
}


#HabitPageMapTab .note td:first-child {
  color: gray;
}

#HabitPageMapTab .noteText {
  height: 40px;
  overflow: auto;
}

#gmapFrame {
  width: 100%;
  border: 1px solid #808080;
  -moz-box-sizing: border-box;
  margin-left: -1px;
}

.saveOrder {
  position: absolute;
  background: #ddd;
  padding: 10px;
  border: 1px solid #aaa;
  z-index: 5;
  top: 223px;
  left: 520px;
}
.saveOrder  input[type="text"] {
  width: 200px;
  margin: 4px 0px;
}

.saveOrder  button{
  height: 22px!important;
  margin: 0px;
  padding: 0px 0px 2px 0px;
}

.saveView {
  position: absolute;
  background: #ddd;
  padding: 10px;
  order: 1px solid #aaa;
  z-index: 50000;
  margin:auto;
  top: 100px;
  left: 320px;
}
.saveView  input[type="text"] {
  width: 200px;
  margin: 4px 0px;
}

.saveView  button{
  height: 22px!important;
  margin: 0px;
  padding: 0px 0px 2px 0px;
}

.field {
  margin-bottom: 5px;
}

.field select{
  margin-top: 1px;
}

.disabled {
  color: #a0a0a0;
}

#historyInputWrap, #phonesInputWrap {
  display: inline;
  margin-left: 5px;
  margin-right: 5px;
}

#historyInputWrap input {
  width: 250px;
  vertical-align: middle;
  margin-left: 5px;
  margin-right: 5px;
  padding: 2px;
  border: 1px inset #eee;
  border-radius: 1px;
  background: #fff url(../img/dropdown.gif) 242px 50% no-repeat;
}
#historyInputWrap .tableWrap {
  width: 254px;
  max-height: 260px;
  overflow-y: auto;
  background-color: #fff;
}
#historyInputWrap table {
  width: 100px;
}

#historyInputWrap table td {
  padding: 0 3px;
}
#historyInputWrap table td.dt {
  text-align: right;
  white-space: nowrap;
  padding-left: 10px;
}
#historyInputWrap table tr.collapsed td.dt {
  background: #fff url(../img/expand.gif) 3px 50% no-repeat;
}
#historyInputWrap table tr.expanded td.dt {
  background: #fff url(../img/collapse.gif) 1px 50% no-repeat;
}
#historyInputWrap table td.prc {
  text-align: right;
  white-space: nowrap;
}
#phonesInputWrap select {
  width: 150px;
}
#phonesInputWrap input {  width: 140px;  vertical-align: middle;}

.countMarkedSign{
  display: none;
  margin-top: 10px;
  margin-right: 2px;
  text-align: right;
  color: #000099;
}

#blockingLayer {
opacity: 0.4;
z-index: +1;
position: fixed;
display: none;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
background-color: #969696;
}

#loadingBox {
display: none;
position: fixed;
z-index: +1;
top: 50%;
left: 50%;
width: 200px;
margin-left: -100px;
height: 50px;
margin-top: -25px;
background-color: white;
text-align: center;
padding: 10px 10px 5px 10px;
border: 2px solid #99f;
/*-moz-border-radius: 10px;*/
border-radius: 10px;
}

#loadingBox img {
display: none;
margin: 5px auto;
}

div.brown_name {
  font-weight: bold;
  font-style: oblique;
  display: none;
}

.referCm {
  color: blue;
  cursor: pointer;
}

#addressInput{
  width: 216px;
  margin-right: 5px;
  margin-left: 1px;
}

.status_object{
  width: 142px;
}

.tariffNotification {
  width:253px;
  height:70px;
  padding: 10px;
  margin-top: 17px;
  border-style: solid;
  border-width: 1px;
  background-color: #B0C4DE;
}
.needToSignNotification {
  background-color: #FF3300;
  color: #FFFFFF;
  font-weight:bold;
  border: 1px solid black;
  border-radius: 3px;
  cursor: pointer;
}
.grayLabel {
  color: gray;
}
div.closeNewDataAvaliable {
  -moz-filter: grayscale(100%);
  position:absolute;
  top:2px;
  right:2px;
  width:12px;
  height:12px;
  background: url("../img/cross.png") top right no-repeat;
  background-size: 12px;
}
div.closeNewDataAvaliable:hover {
  border-radius:2px;
  border: 1px solid black;
  -moz-box-shadow: 0 0 10px rgba(0,0,0,0.5);
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.newDataAvaliable {
  padding: 25px;
  height: 10px;
  font: 11px Tahoma;
  position: fixed;
  bottom: 0px;
  left: 0px;
  width: 100%;
  color: #1b8004;
  z-index: 1000;
  -moz-box-sizing: border-box;
  background: #fdfbe0;
  border: 1px solid #555;
  text-align: center;
}
.black {
  color:black !important;
}

/* .mapBlock > ocenkaBlock {
  margin-top: 1px;
  display: block;
  float: right;
  height: 168px;
  width: 168px;
  cursor: pointer;
  background-color: url("../img/calculating.png") top center / 100px no-repeat;
} */

.ocenkaBlock {
  position: relative;
  margin-top: 1px;
  display: block;
  float: right;
  height: 168px;
  width: 168px;
  cursor: pointer;
  background: white url("../img/calculating.png") center 10% / 168px no-repeat;
  border-radius: 5px;
}

/* .ocenkaBlock > div {
  position: absolute;
  bottom: 8px;
  text-align: center;
  width: 100%;
  font-size: 13px;
} */

.mapBlockM {
  background: url("../img/map2.png") top right / 168px no-repeat;
}

.mapBlockMO {
  background: url("../img/map2MO.png") top right / 168px no-repeat;
}

.ui-dialog .ui-dialog-title
{
    display: block;
    text-align: center;
    width: 100%;
}

.iframe {
  width: 100%;
  height: 92vh;
  margin: 0;
  border: none;
}

.selectDealStatus {
  margin-top:5px;
  width: 100%;
}

.select_max {
  width: 100%;
}

.containerRenovation {
  margin-top:10px;
  display: flex;
}

.containerRenovation :first-child {
  flex-grow: 1;
  margin-right: 5px;
}

#in_renovation_tooltip {
  display: inline-block;
  vertical-align: middle;
  content: '';
  background: url("../img/help.png") center center/ 16px no-repeat;;
  width: 16px;
  height: 16px;
  position: relative;
  margin-left: 2px;
}

#in_renovation_tooltip span{
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 4px 4px 4px #878787;
  color: #000000;
  left: 47px;
  padding: 10px 15px;
  position: absolute;
  text-align: left;
  bottom: -15px;
  width: 244px;
  visibility: hidden;
}

#in_renovation_tooltip.active span {
  visibility: visible;
}

#in_renovation_tooltip span::before {
  content: '';
  position: absolute;
  bottom: 11px;
  right: 100%;
  margin-top: -10px;
  width: 0; height: 0;
  border-right: 17px solid #fff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  z-index: 1;
}

#in_renovation_tooltip span::after {
  z-index: -1;
  box-shadow: -6px 6px 4px #878787;
  border: 1px solid #ccc;
  transform: rotate(-24deg) skewX(45deg);
  content: '';
  position: absolute;
  background: #fff;
  left: -10px;
  bottom: 5px;
  width: 30px; height: 30px;
}

.span_only_first_pub {
  width: -moz-max-content
}

.flex-container {
  display: flex;
  align-items: center;
}

.flex-text-min {
  margin-right: 3px;
  flex-basis: 55px;
}

.flex-select-max {
  flex-grow: 1;
}

.selectBox {
  position: relative;
  padding: 0px;
}

.selectBox select {
  width: calc(100% + 2px);
  height: 21px;
}

.selectBox option {
  display: hidden;
}

/*.overSelect {*/
  /*position: absolute;*/
  /*left: 0;*/
  /*right: 0;*/
  /*top: 0;*/
  /*bottom: 0;*/
/*}*/

#div-total-rooms {
  z-index: 1;
  position: absolute;
  display: none;
  background-color: white;
  border: 1px #dadada solid;
  width: inherit;
}

#div-total-rooms label {
  display: block;
  padding-left: 8px;
}

#div-total-rooms label:first-child {
  margin-top: 10px;
}

#div-total-rooms label:last-child {
  margin-bottom: 10px;
}

#div-total-rooms label:hover {
  background-color: #1e90ff;
}

.otherParamsDiv {
  display:inline-block;
  width:49%;
  vertical-align: top;
}

.otherParamsDivRight {
  display:inline-block;
  vertical-align: top;
  margin-left: 20px;
}

.button_ocenka {
  background-color: #199ad4;
  color: white;
  padding: 4px 18px;
  text-align: center;
  font-size: 13px;
  font-weight: bold;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.button_ocenka:hover {
  background-color: #028fd1;
}

.short-select {
  display: inline-block;
  width: 70px;
}
.cottage-long-select {
  width: 152px;
}

.geo-town-access-select-garage {
  width: 137px;
}

.geo-town-access-select-commre {
  width: 176px;
}

.margin-top-bottom {
  margin-top: 5px;
  margin-bottom: 5px;
}