@media screen and (max-width: 1520px) {
	header.main_header .tags {
		margin-left: 68px;
	}

	nav .comment:before {
		left: -31px;
		top: 23px;
	}

	header.main_header .location select {
		background-color: #4c4c4c;
		width: 59px;
		height: 26px;
		font-size: 14px;
		margin-left: 8px;
	}

	header.main_header .location {
		margin-right: 20px;
	}

	header.main_header {
		padding-bottom: 22px;
	}

	nav .url ul li {
		width: 153px;
	}

	nav .comment .text {
		max-width: 230px;
	}

	nav .comment {
		padding-top: 20px;
	}

	nav .comment .text {
		line-height: 17px;
	}

	#main .crubms .page {
		padding-top: 6px;
	}

	#main .formCost {
		padding-top: 4px;
	}

	/*#main .tags .tag {
		margin-top: -2px;
	}*/

	#main .tags .more {
		margin-left: 11px;
	}

	#main .elems {
		padding-top: 27px;
	}

	.content {
		padding-top: 21px;
		padding-left: 3px;
		padding-right: 3px;
	}

	.content .head {
		font-weight: 900;
		letter-spacing: .5px;
		font-size: 21px;
		padding-bottom: 24px;
	}

	.content .header {
		font-weight: 900;
		letter-spacing: .5;
		padding-top: 15px;
		padding-bottom: 18px;
	}

	#main {
		/*padding-bottom: 17px;*/
	}
}

@media screen and (max-width: 1279px) {
	header.main_header .location {
		float: left;
		margin: 0;
		padding: 0;
	}

	header.main_header .location select {
		margin-top: 0;
	}

	header.main_header .logo {
		display: inline-block;
		width: 50%;
		text-align: center;
		position: absolute;
		margin-left: auto;
		margin-right: auto;
		left: 0;
		right: 0;
	}

	header.main_header .heart, header.main_header .people {
		display: inline-block;
	}

	header.main_header {
		background: #000;
		padding-top: 15px;
		padding-bottom: 13px;
	}

	header.main_header .location select {
		background: #000;
	}

	header.main_header .logo img {
		width: 140px;
	}

	header.main_header .location select {
		font-size: 11px;
		height: auto;
		width: auto;
		margin-left: 9px;
	}

	.main_header .mobile_top_heart {
		height: 20px;
		display: flex !important;
		align-items: center;
		position: relative;
	}

	header.main_header .people {
		padding-left: 16px;
		border-left: 1px solid #fff;
		margin-left: 10px;
	}

	header.main_header .pull-right.visible-xs {
		margin-top: -1px;
		z-index: 9;
	}

	#main .h1 {
		text-transform: uppercase;
		line-height: 38.48px;
		font-weight: 700;
		font-size: 36px;
		color: #131313;
	}

	#location_mobile {
		background-color: #e3e3e3;
		padding-top: 9px;
		padding-bottom: 4px;
	}

	#location_mobile select {
		border: none;
		width: 100%;
		background-color: #e3e3e3;
		font-size: 13px;
		color: #000000;
	}

	#location_mobile .div {
		position: relative;
		padding-left: 10px;
	}

	#location_mobile .div:before {
		position: absolute;
		left: 0;
		top: 1px;
		content: url(/themes/newd2/img/location.png);
	}

	#main .container {
		max-width: 620px;
		width: 100%;
	}

	#main {
        padding-top: 30px;
    }

	#main .right-bar {
		margin-top: 55px;
	}

	#main .tags {
		/*margin-top: -95px;*/
		position: relative;
		z-index: 2;
	}

	#main .tags .tag {
		margin-left: 0;
	}

	#main .forminCost {
		display: block;
		margin-bottom: 9px;
	}

	#main .tags.dop_tags {
		/*margin-top: -65px;*/
		text-align: left;
	}

	#main .tags .tag {
		margin-bottom: 6px;
	}

	#main .in_slider {
		margin-left: 0;
	}

	#main .in_slider #maxCost, #main .in_slider #minCost {
		text-align: left;
	}

	.sliderCont {
		margin-left: -31px;
		margin-right: 17px;
	}
	/*
	#main .elems {
		padding-top: 134px;
	}
	 */

	#more .elems {
		padding-top: 31px;
	}

	.pagination {
		margin-top: 16px;
		padding: 20px 22px;
		padding-bottom: 13px;
	}

	.pagination a.current {
		border-radius: 0;
		width: 48px;
		height: 44px;
	}

	.pagination a {
        line-height: 43px;
        width: 57px;
        border-radius: 6px;
    }

	.pagination a.next {
		margin-left: 37px;
	}

	.pagination a.next img {
		margin-right: 9px;
	}

	.content .head {
		padding-bottom: 7px;
	}

	.content .desc p {
		line-height: 18px;
	}

	footer .link, footer ul li {
		display: block;
	}

	footer .pull-right {
		width: 100%;
		padding-left: 8px;
		margin-top: -15px;
	}

	footer .pull-right .src {
		float: right;
	}

	#main {
		/*padding-bottom: 48px;*/
	}

	footer {
		/*padding-bottom: 11px;*/
		padding-bottom: 0px;
		/*padding-left: 28px;*/
	}

	footer .link {
		padding-top: 19px;
		padding-left: 10px;
	}

	footer ul li {
		margin-bottom: 2px;
	}

	#copyright .container {
		padding-left: 38px;
		padding-top: 3px;
	}

	#main .right-bar {
		position: relative;
	}

	.profile_info {
		padding-bottom: 30px;
	}

	.nav-tabs>li.active>a, .nav-tabs>li.active>a:hover, .nav-tabs>li.active>a:focus {
		font-weight: 400;
		font-size: 14px;
		color: #000000;
		background-color: #ffffff;
		border-radius: 10px;
		border: none;
	}

	.nav-tabs {
		border: none;
	}

	.nav-tabs>li {
		margin-right: 10px;
	}

	.nav-tabs>li>a {
		letter-spacing: 0.56px;
		line-height: 12px;
		font-size: 14px;
		font-weight: 400;
		color: #333333;
		background-color: #c8c8c8;
		border-radius: 10px;
		height: 32px;
	}

	#profile .profile_block .descs {
		border-radius: 0;
	}

	#profile .another_block {
		border: none;
		border-top: 1px solid #dbd8d8;
		border-radius: 0;
	}

	.profile_info {
		padding-bottom: 0;
	}

	.profile_block.visible-xs {
		padding-top: 0;
	}

	#profile .profile_block .descs .date, #profile .profile_block .descs .name {
		display: none;
	}

	#profile .profile_block .descs {
		padding: 27px 47px;
	}

	#profile .profile_block .tab-pane {
		padding-top: 25px;
		padding-left: 7px;
		padding-right: 7px;
	}

	.profile_info .favorite {
		float: none;
		margin-top: 15px;
		margin-left: 0;
	}

	#like .img img {
		margin-bottom: 10px;
	}
}

@media screen and (max-width: 767px) {
	#profile .profile_block.visible-xs.visible-sm {
		padding-top: 20px;
	}

	.was-online {
		font-size: 13px;
	}

	.header_info {
		flex-wrap: wrap;
		padding-right: 10px;
		padding-left: 10px;
	}

	.header_info h1 {
		width: 100%;
		white-space: normal;
		padding-top: 35px;
	}

	.header_info h1 img {
		display: inline-block;
		margin-bottom: 6px;
	}

	#main .h1 {
		font-size: 20px;
		line-height: 25.48px;
	}

	body {
		max-width: 100%;
		overflow-x: hidden;
	}

	.navig {
		top: 40px;
	}

	header.main_header {
		padding-top: 14px;
		position: fixed !important;
		width: 100%;
		z-index: 999;
	}

	#location_mobile {
		padding-top: 49px;
	}

	#nav-icon1 span {
		height: 2px;
	}

	header.main_header .location select {
		margin-left: 8px;
		margin-top: 0;
	}

	header.main_header .people {
		padding-left: 10px;
		margin-left: 13px;
	}

	header.main_header .people a {
		margin-left: 3px;
	}

	#main .h1 {
		margin-top: 50px;
	}

	#main .right-bar {
		/*margin-top: 32px;*/
		margin-top: 0px;
	}

	#main .tags .tag {
		padding: 3px 14px;
		margin-bottom: 8px;
	}

	#main .tags .more {
		padding-top: 3px;
	}

	#slider {
		width: 160px;
	}

	#main .tags {
		/*margin-top: -118px;*/
		margin-top:20px;
		text-align: left;
	}

	#main .right-bar {
		/*margin-top: 75px;*/
		text-align: left;
	}

	#main .in_slider_maxCost {
		margin-right: 0;
	}

	#main .formCost {
		margin-right: 0;
	}

	#main .tags.dop_tags {
		/*margin-top: -50px;*/
		margin-top:auto;
	}

	/*
	#main .elems {
		padding-top: 147px;
	}
	 */
	#main .elems.row .col-lg-5ths {
		padding-right: 3px;
		padding-left: 3px;
	}

	.col-lg-5ths {
		padding-right: 3px;
		padding-left: 3px;
	}

	#main .elems {
		padding-left: 10px;
		padding-right: 10px;
	}

	#main .elems .item .img .name {
		left: 7px;
		bottom: 17px;
	}

	#main .elems .item .img .tag {
		left: 7px;
		bottom: 39px;
	}

	#main .elems .item .img .price {
		font-size: 13px;
		color: #b0b0b0;
		position:static;
		right: auto;
		bottom:auto;
		left:auto;
	}

	.form-check-inline label {
		display: block;
	}

	#main .elems .item .desc {
		padding: 6px 13px;
	}

    #main .elems .item .desc .city {
        padding-top: 10px;
        padding-left: 15px;
    }

    #main .elems .item .desc .phone {
        float: none;
        padding-top: 3px;
        padding-left: 16px;
        font-size: 13px;
        display: flex;
        align-items: center;
    }

    #main .elems .item .desc .phone svg {
        position: absolute;
        display: inline-block;
        left: 2px;
    }

    #more #main .crubms .page {
        font-size: 20px;
        font-weight: 700;
        line-height: 23.48px;
        padding-top: 0;
    }

    #more .elems {
		padding-top: 14px;
	}

	.pagination a.next {
		margin-left: 10px;
	}

	footer .logo img {
		max-width: 100%;
	}

	footer {
		padding-left: 0;
	}

	#main .elems .item .desc .phone:before {
		top: 4px;
		left: 0;
		display: block;
	}

	#main .elems .item .desc .city:before {
		left: 0;
		top: 11px;
	}

	.navig {
		padding-top: 7px;
		height: auto;
	}

	.navig .prev {
		margin-left: 0;
	}

	.navig {
		min-height: 33px;
		padding-left: 5px;
		padding-right: 5px;
		padding-bottom: 5px;
		margin-bottom: 35px;
		padding-top: 10px;
    }

    .navig .container {
        padding: 0;
    }

    .navig .prev, .navig .next {
        height: 25px;
        padding-top: 3px;
    }

    .navig .favorite, .profile_info .favorite {
        display: flex;
        justify-content: center;
        align-items: center;
        height: auto;
    }

    .navig .favorite svg, .profile_info .favorite svg {
        margin-right: 4px;
    }

    .navig .favorite .favorite-icon-select, .profile_info .favorite .favorite-icon-select {
        fill: #D73A94;
    }

	.navig .favorite .favorite-icon-no-select {
		fill: #C6C6C6;
	}

	.photo_info_no {
		color:#202020;
	}
	.photo_info_no svg {
		fill: #202020;
	}

    #profile .profile_block {
        padding-top: 6px;
    }

    div.wide-gallery {
        margin-left: -15px;
        margin-right: -15px;
        border-radius: 0;
    }

	div.wide-gallery > ul {
		height: 520px;
	}

	#profile .profile_info .photo_info {
		margin-left: -6px;
		margin-top: 0px;
		margin-right: -6px;
	}

    #profile .profile_info .location {
        margin-top: -10px;
        padding-bottom: 21px;
    }

    #profile .profile_info .phone {
        /*padding-top: 21px;*/
		padding-top: 0px;
        padding-left: 1px;
        padding-bottom: 16px;
    }

    div.phone-row {
        margin-left: -8px;
    }

    #profile .profile_info .sms {
		padding-bottom: 5px;
		padding-top: 11px;
	}

    #profile .profile_info .call {
        padding-top: 21px;
    }

    #profile .profile_info .call .desc, #profile .profile_info .services .desc {
		padding-bottom: 0;
		padding-left: 0px;
	}
	#profile .profile_info .services .desc:before {
		content: none;
	}
	#custom-services-mobile, #group-custom-services-mobile {
		margin-top: 20px;
	}

	#profile .another_block {
		padding: 15px 0px;
	}

	#profile .another_block .first .ing {
		margin-left: 25px;
		margin-top: 9px;
	}

	#profile .profile_block .descs {
		padding: 26px 11px;
		margin-left: -15px;
		margin-right: -15px;
	}

	#profile .profile_block .tab-pane {
		padding-top: 15px;
	}

	.nav-tabs>li>a {
		padding: 10px;
	}

	.head_comments, .head_questions {
		padding-left: 0;
	}

    .comments-container, .question-container {
        padding-left: 0;
    }

	.like_row {
		margin: 0 5px;
	}

	.like_row .previously-item-block {
		padding: 5px;
    }

    #like .img img {
        margin: 0;
    }

    #profile .container .profile_block #gallery_mobile .main-carousel {
        margin-left: -15px;
        margin-right: -15px;
    }

    .video_title {
        margin-bottom: 17px;
    }

    .flickity-viewport {
        border-radius: 0px;
    }

    .navigationQ {
        margin-top: 9px;
        margin-bottom: 10px;
    }

    div.alert.alert-block.alert-error.custom-error {
        min-width: auto;
    }
}

/** For table BEGIN **/
@media screen and (min-width: 425px) and (max-width: 1024px) {
	#profile .profile_info .phone {
		padding-top: 0px;
		padding-bottom: 16px;
	}
	#profile .profile_info .sms {
		padding-bottom: 5px;
		padding-top: 11px;
	}
	#profile .profile_block .descs {
		border-radius: 10px;
	}
}
/** For table END **/

@media screen and (max-width: 1279px) {
	#main .pull-right.right-bar.tags.dop_tags {
		margin-top: -12px;
	}

	.h1.visible-xs.visible-sm {
		margin-top: 0px;
	}
}

@media (min-width: 1280px) {
	#main .elems .item .photo video {
		height: 497px;
	}
}

@media screen and (max-width: 1180px) {
	body #main {
		/*min-height:73vh;*/
	}
}

.password_recovery_head {
	padding-top: 20px;
}

.password_recovery .form-actions input, .password_recovery .form-actions button {
	background-color: #E9E9ED;
	margin-top: 15px;
	font-weight: bold;
}
.descs ul.nav.nav-tabs li a {
	border: none;
	font-size: 14px;
	color: #292929;
	font-family: Bold;
}
.descs ul.nav.nav-tabs {
	border-bottom: none;
}

/*
	#main .tags.dop_tags.ajax_filter.pull-right {
		display:flex;
		width:100%;
		flex-wrap: wrap;
		align-items: center;
	}
*/
