@media screen and (max-width: 980px) {
	.template > .footer {
		height: 80px;
		margin-top: -80px;
		padding: 10px 0;
	}
	.template > .footer ul,
	.template > .footer li {
		display: block;
		float: none;
		margin: 0 !important;
		text-align: center;
	}
	.template > .footer .social,
	.template > .footer .appstore,
	.template > .footer .google-play {
		display: none;
	}
	.template > .footer li {
		line-height: 1.5em;
	}
	
	/* Список акций */
	.container .filter {
		display: none;
	}
	.container .shares {
		float: none;
		width: 100%;
		padding: 20px 0;
		margin: 0;
	}
	.container.cShares ul.list {
		margin: 0;
	}
	.container .shares .share-item {
		padding: 0;
		margin: 0 0 20px 0;
		width: 100%;
		position: relative;
	}
	.container .shares .share-item .image {
		height: 360px;
	}
	.container .shares .share-item:last-child {
		margin-bottom: 0;
	}
	.container .shares .share-item:hover .floating {
		height: 55px;
	}
	.shares .share-item .floating .autor,
	.shares .share-item .actions .btn.btn-sm,
	.shares .share-item .actions .share-buttons {
		display: none;
	}
	.shares .share-item .body {
		position: absolute;
		border: 0;
		bottom: 0;
		left: 0;
		right: 0;
		color: #ffffff;
	}
	.shares .share-item .floating .background {
		opacity: 0.7;
	}
	
	/* Просмотр акции */
	.container.shares-show {
		padding: 0;
	}
	.container.shares-show h1 {
		padding-left: 15px;
		padding-right: 15px;
	}
	.container.shares-show .media {
		width: 100%;
		height: 350px;
		padding-right: 0;
	}
	.container.shares-show .basis {
		display: none;
	}
	.container.shares-show .tab-content,
	.container.shares-show .nav.nav-tabs {
		padding-left: 20px;
		padding-right: 20px;
	}
	.container.shares-show .services .new .value {
		font-size: 18px;
	}
	.container.shares-show .services .currency {
		font-size: 13px;
	}
	
	/* Каталог */
	.companies-list .filter {
		display: none;
	}
	.companies-list .company.paid, .companies-list .company.favorite {
		background-color: transparent;
	}
	.companies-list .title-line::after {
		border-bottom: 0;
	}
	.companies-list .title-line {
		border-bottom: 1px solid #e5e5e5;
		padding-bottom: 5px;
		margin-bottom: 15px;
	}
	.companies-list .companies .company .contacts {
		display: none;
	}
	.companies-list .companies .company .actions .favorites .nowrap {
		width: auto;
	}
	
	/* Услуги компании */
	.template.item .item_services.container {
		padding: 0;
	}
	.template.item .item_services.container > ul {
		margin: 0;
	}
	.template.item .item_services.container .nav.nav-tabs.nav-stacked > li > a {
		padding: 20px;
	}
	.template.item .services-list .item {
		position: relative;
		height: 50px;
		padding: 10px 0;
	}
	.template.item .services-list .item > div {
		background: none;
		padding: 0;
	}
	.template.item .services-list .item:hover,
	.template.item .services-list .item:hover .bg,
	.template.item .services-list .item:hover .title .value {
		background: none;
		color: #000000;
	}
	.template.item .services-list .item .time .bg,
	.template.item .services-list .item .price .bg {
		position: absolute;
		bottom: 5px;
		left: 20px;
		color: #808080;
		font-style: italic;
		font-size: 90%;
	}
	.template.item .services-list .item .time,
	.template.item .services-list .item .price {
		width: 0%;
	}
	.template.item .services-list .item .title {
		vertical-align: top;
	}
	.template.item .services-list .item .time .bg {
		
	}
	.template.item .services-list .item .price .bg {
		left: 90px;
	}
	.template.item .services-list .item .btns {
		width: 122px;
		text-align: right;
		padding-right: 20px;
	}
	.template.item .services-list .item .btns a {
		color: #56ADFF;
	    border: 2px solid #3385D1;
	    border-radius: 20px;
	}
	
	.container.reviews {
		padding-bottom: 25px;
		padding-top: 25px;
	}
	.container.reviews .creation {
		margin: 0;
		padding: 0;
		background-color: transparent;
	}
	.container.reviews .creation .files {
		padding: 0;
	}
	.container.reviews .creation .files .file {
		width: 75px;
		height: 75px;
	}
	.container.reviews .list {
		margin: 0;
	}
	.container.reviews .list .more {
		margin-top: 10px;
	}
	.container.reviews .items .item {
		padding: 10px 0;
	}
	.container.reviews .items .item .username {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		display: block;
		float: left;
	}
	.container.reviews .items .item .review {
		margin-top: 10px;
	}
	.container.reviews .items .item .reply {
		margin-top: 10px;
	}
	.container.reviews .creation .form-group:last-child {
		margin-top: 0;
		margin-bottom: 15px;
		font-size: 13px;
	}
	.container.reviews .creation form > .form-group:last-child {
		text-align: center;
	}
	.container.reviews .list .item .autor {
		top: 8px;
		right: 5px;
	}
	
	/* Мои записи */
	.recording-list .clarification,
	.recording-list .not-filled .fixed > p:last-child {
		display: none;
	}
}

@media screen and (max-width: 991px) {
	/* Подвал */
	footer .col-md-3,
	footer .col-md-4,
	footer .col-md-5
	{
		padding-bottom: 10px;
	}
}

@media screen and (max-width: 640px) {
	.shares .share-item {
		width: 100%;
		margin: 0 0 20px 0;
	}
	.shares .share-item .image {
		height: 300px;
	}
	.shares-show .media {
		height: 280px;
	}
	
	/* Список акций */
	.container .shares .share-item .image {
		height: 300px;
	}
	
	/* Каталог */
	.companies-list .companies {
		width: 100%;
		min-height: auto;
		float: none;
		padding: 15px 0;
	}
	.companies-list .companies .sortby {
		display: none;
	}
	.companies-list .companies .company {
		padding: 0 0 15px 0;
		margin-bottom: 15px;
	}
	.companies-list .companies .company:last-child {
		border-bottom: 0;
	}
	
	/* Услуги компании */
	.services-list .item .title .value {
		max-width: 320px;
	}
	
	/* Просмотр акции */
	.container.shares-show .media {
		height: 300px;
	}
}
@media screen and (min-width: 351px) and (max-width: 480px) {
	html {
		-webkit-text-size-adjust: none;
	}
	.template > .header .authorization > a {
		padding-right: 0;
	}
	.template > .footer {
		font-size: 90%;
	}
	
	.shares .share-item {
		margin: 0 0 15px 0;
	}
	.shares .share-item .image {
		height: 210px;
	}
	
	.shares-show .media {
		height: 210px;
	}
	/* Каталог */
	.companies-list .companies .company .contacts {
		display: none;
	}
	.companies-list .companies .company .ico {
		margin-right: 15px;
	}
	.companies-list .companies .company .name {
		float: none;
		margin-left: 0;
		width: auto;
	}
	.companies-list .companies .company .actions {
		float: none;
		max-width: none;
		margin-top: 8px;
	}
	.companies-list .companies .company .actions .favorites {
		line-height: 28px;
		float: left;
	}
	.companies-list .companies .company .actions .favorites::before {
		top: 8px;
	}
	.companies-list .companies .company .actions .sw-btn {
		margin: 0;
		float: right;
	}
	.companies-list .companies .company.favorite {
		background-color: transparent;
	}
	.companies-list .paid > a {
		display: none;
	}
	
	/* Форма авторизации на избранном и мои записи */
	.favorites-list .container, .recording-list {
		padding-top: 30px;
		padding-bottom: 30px;
	}
	.login-block h3 {
		margin-top: 0;
		font-size: 175%;
		line-height: 1.3em;
		margin-bottom: 20px;
	}
	.login-block form {
		width: 100%;
	}
	.login-block .mobile-number .country-list {
		z-index: 9999;
	}
	
	/* Избранное */
	.favorites-list .favorites {
		
	}
	.favorites-list .favorites h2 {
		margin: 0;
	}
	.favorites-list .favorites .favorite:last-child {
		border-bottom: 0;
	}
	.favorites-list .favorites .favorite .ico {
		margin-right: 15px;
	}
	.favorites-list .favorites .favorite .info {
		float: none;
	}
	.favorites-list .favorites .favorite .company-name {
		margin-bottom: 5px;
		max-width: 210px;
	}
	.favorites-list .favorites .favorite .adres,
	.favorites-list .favorites .favorite .company {
		display: none;
	}
	.favorites-list .favorites .favorite .actions {
		width: auto;
		margin-top: 10px;
	}
	.favorites-list .favorites .favorite .actions > a {
		width: 102px;
		line-height: 32px;
		border-bottom: 0;
		margin-right: 15px;
		display: block;
	}
	.favorites-list .favorites .favorite .actions .sw-btn {
		font-size: 11px;
		padding: 5px 15px;
		margin: 0;
		float: right;
	}

	/* Отзывы о компании */
	.template.item .profile_reviews.container {
		padding-top: 15px;
		padding-bottom: 15px;
	}
	.template.item .profile_reviews.container .form_review {
		margin: 0;
		padding: 15px;
	}
	.template.item .profile_reviews.container .form_review textarea {
		width: 100%;
	}
	
	/* Услуги компании */
	.template.item .services-list .item .title .bg {
		max-width: 230px;
	}
	.template.item .services-list .item .time .bg {
		display: block;
	}
	.services-list .item .title .value {
		max-width: 200px;
	}
	
	/* Список акций */
	.container .shares .share-item .image {
		height: 240px;
	}
	
	/* Просмотр акции */
	.container.shares-show .media {
		height: 220px;
	}
}
@media screen and (max-width: 370px) {

	.header-second .slogan h1 {
		font-size: 160%;
	}
	
	.services-list .item .title .bg {
		max-width: 186px;
	}
	
	.container .text-block h1 {
		font-size: 20px;
	}
	
	/* Модальные окна */
	.modal .modal-body {
		padding: 30px 15px 15px 15px;
	}
	.modal .border {
		padding: 10px;
	}
	.modal .close {
		top: 7px;
		right: 7px;
	}
	.modal.widget .modal-body {
		padding: 20px;
	}
	.modal.widget .btns .sw-btn {
		padding: 4px 18px;
		line-height: 16px;
		font-weight: normal;
	}
	.modal.widget.authorization .btns .registration {
		margin: 0;
		line-height: 26px;
	}
	.modal.registration .phone .mobile-number {
		width: 170px;
	}
	.modal.registration .phone button {
		margin: 0;
		width: 80px;
		border-radius: 5px;
		overflow: hidden;
		text-overflow: ellipsis;
		padding: 0 5px;
	}
	.modal.confirm .text, .modal.modal-alert .text {
		font-size: 22px;
	}
	.modal.modal-alert .modal-body, .modal.confirm .modal-body {
		padding: 20px;
	}

	/* Каталог */
	.companies-list .companies .company .actions .favorites .nowrap {
		width: 50px;
	}
	.companies-list .paid > a {
		display: none;
	}
	.companies-list .company .ico {
		margin-right: 10px;
	}
	.companies-list .company .ico,
	.companies-list .company .ico .img-box {
		width: 72px;
		height: 72px;
	}
	.companies-list .company .name {
		float: none;
		margin: 0;
		width: auto;
	}
	.companies-list .company .name .rating {
		margin-left: 30px;
	}
	.companies-list .company .company-name {
		margin: 0;
	}
	.companies-list .company .actions {
		max-width: none;
	}
	.companies-list .company .actions .sw-btn {
		margin: 0 0 0 5px;
		float: right;
	}
	.companies-list .company .actions .favorites {
		top: 24px;
		display: block;
		width: 14px;
		height: 14px;
		position: absolute;
		left: 83px;
		padding: 0;
	}
	.companies-list .company .actions .favorites::after {
		content: "|";
		position: absolute;
		color: #808080;
		top: -1px;
		right: -10px;
		font-size: 12px;
	}
	.companies-list .company .actions .favorites > span {
		display: none;
	}
	
	/* Акции */
	.container .shares .share-item {
		margin: 0 0 15px 0;
	}
	.container .shares .share-item .image {
		height: 170px;
	}
	
	/* Просмотр акции */
	.container.shares-show .media {
		height: 180px;
	}
	.container.shares-show .services .abatement {
		display: none;
	}
	
	/* Избранное */
	.favorites-list .favorites .favorite .company {
		display: none;
	}
	.favorites-list .favorites .favorite .actions {
		width: auto;
		margin-top: 10px;
	}
	.favorites-list .favorites .favorite .actions > a {
		width: 68px;
		line-height: 28px;
		border-bottom: 0;
		margin-right: 16px;
	}
	
	/* Отзывы */
	.container.reviews .items .item .username {
		max-width: 100px;
	}
	
	/* Услуги компании */
	.services-list .item .title .value {
		max-width: 160px;
	}
	
	/* Кнопка "Записаться" */
	.companies-list .companies .company .actions .sw-btn,
	.favorites-list .favorites .favorite .actions .sw-btn {
		padding: 3px 12px;
	}
}