body{
	height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Tahoma', Open Sans, sans-serif;
    font-size: 14px;
    color: #191919;
    background: url(../images/body.png) repeat 0 0;
}
#toTop {
    width: 40px;
    border: 4px solid #696565;
    background: #ffffff;
    text-align: center;
    /* padding: 5px; */
    position: fixed;
    bottom: 10px;
    right: 10px;
    cursor: pointer;
    display: none;
    color: #696565;
    font-family: verdana;
    font-size: 37px;
    height: 40px;
	line-height: 1.11;
  }
.stopit{
    overflow: hidden!important;
}

.glyphicon , .mtextmenu{
    display:none;
}
header{
	text-align: center;
}
a{
	color: #000;
    text-decoration: underline;
}
a:hover {
    color: #249bcb;
}

aside{
	width:100%;
	background:#fff;
	min-height:100px;
    padding: 15px;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2);
}

h1, h2, h3 , .fh2{
	margin-top: 20px;
    font-size: 18px;
    margin-bottom: 10px;
    color: #191919;
}
ul {
    padding: 0px;
    margin: 0px;
}
ul li{
    list-style: none;
}
footer{
	    margin-top: 15px;
    display: inline-block;
    width: 100%;
}

.wrap{
	width:100%;
	display:inline-block;
}

.textBox{
	background: #fff;
    padding: 10px;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2);
	width:100%;
	display:inline-block;
}

.textBox.alertBox.false{
	margin-bottom:20px;
	background: #e85656;
    color: #fff;

}
.textBox.alertBox.true{
	margin-bottom:20px;
	background: #59b753;
    color: #fff;

}
.pagination span {
    float: left;
    display: block;
    padding: 5px 10px 0 0;
}

.pagination ul li a {
    display: block;
    padding: 5px 10px;
    text-decoration: none;
}
/*анкета список*/
.items .item{
	background:#fff;
	margin-bottom:20px;
	 border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2);
	display: inline-block;

}
.item-img a {
	border: 1px solid silver;
    box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.7);
    -moz-box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.7);
    -webkit-box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.7);
	display: block;
	height:100%;
}
.item-img {
	    height: 214px;
}
.item-img img{
    width:100%;
    height: 100%;
    object-fit: cover;
}
.item-title{
	display:inline-block;
	width:100%;
	padding: 5px 15px;
}
.item-title a, .item-title a:hover{
	color:#000;

}
.itemlocation {
    float: right;
	font-size: 16px;
    padding: 0px 0 0 22px;
    text-decoration: none;
    background: url(../images/metro_icon.png) no-repeat left center;
}
.itemName {
    float: left;
    display: block;
    font-size: 16px;
    text-decoration: none;
}
.item-body{
	display:inline-block;
	color:#000;
	height: 220px;
	 font-size: 14px;
	 width: 100%;
}
.item-body .label{
	color:#000;
	width: 83px;
    display: inline-block;
    text-align: left;
    font-size: 14px;
}
.item-body ul li{
	list-style:none;
}
.item-info{
	padding-left: 0px;
}
.price .value span{
    color: #000;
    font-size: 13px;
    font-weight: normal;

}
.price .value{
	color:#fe2a00;
	font-size:16px;
	font-weight:bold;
}
.parametr{
	border-bottom:1px solid #ccc;
	padding-bottom:5px;
}
.price{
	padding-top:5px;
}
.item-descr{
	padding: 5px 20px;
	position:relative;
	min-height: 115px;
}
.morelink{
	float: right;
    color: #00849c;
    margin: 10px;
    padding: 0 15px 0 0;
    text-decoration: none;
    background: url(../images/arrow.png) no-repeat right 4px;

}
.mouseoveropactity:hover{
	opacity:0.8;
}
.mouseoveropactity {
	margin: 10px;
    display: block;
    float: left;

}
.mouseoveropactity img{
	height: 20px;

}
.item-more{
	display: inline-block;
    width: 100%;
	height: 40px;
}

.paginate{
	border: 1px solid #ccc;
	border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
	    display: inline-block;
}
.paginate  li {
    width: 36px;
    text-align: center;
    float: left;
	list-style: none;
    border-left: 1px solid #ccc;
}
.curPage {
    background: #ECECEC;
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.4);
}
.paginate  li a {
    display: block;
    padding: 5px 10px;
    text-decoration: none;
}
.paginate  li:first-child {
    border: none;
    border-radius: 6px 0 0 6px;
    -moz-border-radius: 6px 0 0 6px;
    -webkit-border-radius: 6px 0 0 6px;
}
.paginate li:last-child {
    border-radius: 0 6px 6px 0;
    -moz-border-radius: 0 6px 6px 0;
    -webkit-border-radius: 0 6px 6px 0;
}
/* END анкета список*/
/*Анкета*/

.itemPage{
	background: #fff;
    padding: 10px;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2);
    width: 100%;
    display: inline-block;
}
img.thumb{
	width:100%;
	border: 1px solid silver;
    box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.7);
    -moz-box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.7);
    -webkit-box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.7);
	margin-bottom: 10px;
}
.info_line .lablel{
	width:50%;
	display:inline-block;
}
.info_line .value{
	width:48%;
	display:inline-block;
}
.info_line{
	padding: 5px;
    border-bottom: 1px solid grey;
    font-size: 16px;
}
.info_line h2, .info_line span.fh2, .info_line h3{
	color: #9b0f35;
    font-weight: bold;
    border-bottom: 1px solid;
    display: inline-block;
    padding: 0 18px 0 0px;
}
.cell {
    display: table-cell;
    padding: 5px;
	width: 28%;
}
.cell.h {
	min-width: 134px;
    display: table-cell;
	font-size: 15px;
}
.cell.l{
	font-weight:bold;
}
.cell.v span{
	color:initial;
	font-weight: normal;
}
.cell.v{
	color: #fe2a00;
	font-weight: bold;
}
.metrolocation{
	padding: 2px 0 0 22px;
    text-decoration: none;
    background: url(../images/metro_icon.png) no-repeat 0 5px;
}
li.double{
	width: 49%;
    display: inline-block;
    padding: 2px 0px;
    font-weight: bold;
    font-size: 14px;
}
.infoblock{
	padding:15px 0px;
}
.itemPage h1{
	font-size: 20px;
    padding-left: 15px;
    color: #9b0f35;
    font-weight: bold;
}
.info_line:first-child{
	padding-top:0px;
}

/*END Анкета*/

/*Список Метро*/
.metroList_item a{
	font-weight:bold;
}
.metroList_item{
	list-style:none;
	padding: 3px 0px 3px 20px;
}
/* END Список Метро*/

/*галерея*/
.item-img-gal{
	height: 214px;
    margin-bottom: 25px;
}
.item-img-gal img{
	width: 100%;
    height: 100%;
}

.item-img-gal a {
    border: 1px solid silver;
    box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.7);
    -moz-box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.7);
    -webkit-box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.7);
    display: block;
	    width: 100%;
    height: 100%;
    overflow: hidden;
}
/* END галерея*/
/*SEARCH*/
ul#service_list li  label{
    display: inline-block;
    width: calc(100% - 20px);
    cursor:pointer;
}
ul#service_list li  input{
    display: inline-block;
    vertical-align: top;
}
ul#service_list li{
    list-style: none;
    width: 32%;
    display: inline-block;
    font-size: 13px;

}
.form_block p{
    font-size: 16px;
    margin-top: 20px;
}
.form_line{
    padding: 4px 0px;
}
.form_line input:not([type=checkbox]){
    width:100px
}
.form_line span:first-child{
    width: 135px;
    display: inline-block;
}
input[type=submit]:not(.login_button){
    margin-top: 20px;
}
.form_line label{
    cursor:pointer;
}

/*END SEARCH*/


/*SIDEBAR*/
aside li, .metro_select{
    list-style: none;
    border-radius: 3px;
    background: #EAEAEA;
    margin-bottom: 5px;
}
.metro_select:before{
	content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    right: 41px;
    background: url(/source/images/control.png) center center;
    background-repeat: no-repeat;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
    background-size: 100%;

}
.metro_select{
	padding: 8px 16px;
	cursor:pointer;
}

aside a{
	font-size:15px;
	text-decoration:none;
	color:#000;
	width: 100%;
    display: block;
	padding: 5px 15px;
}
.metro_select_area li a{
	padding: 5px 10px;
}
.metro_select_area li{
	background:none;
}
.metro_select_area::-webkit-scrollbar{
	width:6px;
	border-radius:3px;
	/* background:#000; */
}
.metro_select_area::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius:3px;
}

.metro_select_area::-webkit-scrollbar-thumb {
	border-radius:3px;
  background-color: darkgrey;
  outline: 1px solid slategrey;
}

.metro_select_area{
	height: 400px;
    overflow-y: scroll;
}

aside h3 {
	color: #9b0f35;
    padding:0px 16px;
	text-align: center;

}
.menuactive, aside li a:hover {
	color: #fff;
}
.menuactive, aside li:not(.nohover):hover {
	background: #9b0f35;
	 border-radius: 3px;
}
.login_button {
    background:#B03457;
    padding: 5px 25px;
    border: none;
    cursor: pointer;
	border-radius:5px;
	color:#fff;
	font-weight: bold;
	display:inline-block;
}
.reg{
	display: inline-block;
    width: auto;
    padding-left: 5px;
	text-decoration:underline;
}
.login_input{
	width: 100%;
    margin-bottom: 5px;
    padding: 5px 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}


/*END SIDEBAR*/

/*Front Admin */
.admin_events{
    padding: 5px 20px;
}
.item_img{
    display: inline-block;
    width: 20%;
	position:relative;
}
.item_img img{
    width:100%;
}

input[type=checkbox]:checked + label img {
    -webkit-box-shadow: 0px 25px 21px -11px rgba(245,37,37,1);
    -moz-box-shadow: 0px 25px 21px -11px rgba(245,37,37,1);
    box-shadow: 0px 25px 21px -11px rgba(245,37,37,1);
}
.foto_int{
    display: none;
}
#anket .form_line select{
    padding: 3px 10px;
    min-width: 200px;
    border: 1px solid #cccccc;
}
#anket .form_line label{
    width:200px;
}
#anket .form_line textarea{
    width:calc(100% - 205px);
    min-height: 100px;
    resize: vertical;
    border: 1px solid #cccccc;
}
#anket .form_line input{
    padding: 3px 10px;
    width:auto;
    min-width: 200px;
    border: 1px solid #cccccc;
}
#service_list label,#service_list input ,input[name='main_img'], input[type=file]{
    width:auto!important;
    min-width: auto!important;
    border:none!important;
}

.ajaction{
    cursor:pointer;
}
.reg_form .form_line input{
    width:200px!important;
    display:inline-block;
    margin-left: 20px;
}
.reg_form .form_line input.alarm{
	border-color:red;
}
.reg_form .form_line input.alarm:focus{
	border-color: #ccc;
}

.regsmbtn{
    background:#B03457;
    padding:10px 20px;
    border-radius:10px;
    font-size:14px;
    color:#fff;
    text-align:center;
    border:0px;
    cursor:pointer;
}
/* END Front Admin */

.item_img label:hover:after{
	content: "Удалить";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    background: #00000091;
    color: #fff;
    display: flex;
    align-items: center;
    text-align: center;
    font-size: 28px;
    padding: 25px;
    cursor: pointer;

}
/*.main_logo, .mobile_logo {*/
/*    display: none;*/
/*}*/
.main_logo, .mobile_logo {
	width: 88%;
}
.mobile_logo{
    display:none;
}
header {
    height: 173px;
    margin-top: 1%;
    margin-bottom: 1%;
    width: 100%;
}

.main-col-wr .main-col .block-body {
    border-radius: 0 0 5px 5px;
    background-color: #fff;
    padding: 25px 15px;
    color: #1e2432;
    box-sizing: border-box;
}

.block-body .messages-list {
    display: flex;
    flex-direction: column-reverse;
    max-height: 600px;
    overflow-y: scroll;
    padding: 20px;
}

.block-body .messages-list .item {
    max-width: 70%;
    align-self: flex-start;
    background-color: #efefef;
    border-radius: 4px;
    padding: 10px 20px;
    margin-bottom: 10px;
    position: relative;
}

.block-body .messages-list .item.right {
    align-self: flex-end;
}

.block-body .messages-list .item .info {
    color: #7d7d7d;
    font-size: 12px;
}

.block-body .messages-list .item .message {
    margin-top: 3px;
    line-height: 140%;
}

.block-body .messages-list .item .list {
    font-size: 0;
    margin-top: 15px;
}

.block-body .messages-list .item .list .img-container {
    width: 120px;
    height: 120px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0 10px 10px 0;
    vertical-align: top;
    cursor: pointer;
}

.block-body .messages-list .item .list .image {
    width: 110%;
    min-height: 100%;
    height: auto;
}

.block-body .messages-list .item.right:after {
    left: auto;
    right: -3px;
    transform: rotate(46deg);
}

.block-body .messages-list .item:after {
    content: '';
    position: absolute;
    left: -3px;
    bottom: -10px;
    transform: rotate(-46deg);
    border: 10px solid transparent;
    border-top: 10px solid #efefef;
}

.block-body .chat-in {
    padding: 0 20px 20px;
}

.block-body .chat-in textarea {
    width: 100%;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    resize: none;
    padding: 10px;
    box-sizing: border-box;
    height: 130px;
    margin-bottom: 10px;
}

.block-body .btn-border {
    padding: 7px 10px;
    width: 175px;
    border-radius: 4px;
    border: 1px solid #1e2432;
    color: #1e2432;
    transition: all .2s ease-in-out;
    box-sizing: border-box;
    margin-right: 20px;
    cursor: pointer;
    background-color: #fff;
    font-size: 14px;
}

.messages-list .container {
    max-width: 100%;
    padding: 0;
}
