/*
Theme Name: Offset
Template: Goodini
Theme URI: https://degorov.ru/
Description: Дочерняя тема для Goodini
Author: D.E.
Author URI: https://degorov.ru/
Version: 1.0
*/

.slider {
	position: relative
}
.slider__container {
	overflow: hidden
}
.slider__items {
	display: flex;
	transition: transform .5s ease
}
.slider_disable-transition {
	transition: none
}
.slider__item {
	flex: 0 0 100%;
	max-width: 100%;
	user-select: none
}
.slider__control {
	position: absolute;
	top: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	color: #fff;
	text-align: center;
	height: 50px;
	transform: translateY(-50%);
	background: rgba(0, 0, 0, .2)
}
.slider__control_hide {
	display: none
}
.slider__control[data-slide=prev] {
	left: 0
}
.slider__control[data-slide=next] {
	right: 0
}
.slider__control:focus, .slider__control:hover {
	color: #fff;
	text-decoration: none;
	outline: 0;
	background: rgba(0, 0, 0, .3)
}
.slider__control::before {
	content: '';
	display: inline-block;
	width: 20px;
	height: 20px;
	background: transparent no-repeat center center;
	background-size: 100% 100%
}
.slider__control[data-slide=prev]::before {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E")
}
.slider__control[data-slide=next]::before {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E")
}
.slider__indicators {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 15;
	display: flex;
	justify-content: center;
	padding-left: 0;
	margin-right: 15%;
	margin-left: 15%;
	list-style: none;
	margin-top: 0;
	margin-bottom: 0
}
.slider__indicators li {
	box-sizing: content-box;
	flex: 0 1 auto;
	width: 30px;
	height: 5px;
	margin-right: 3px;
	margin-left: 3px;
	text-indent: -999px;
	cursor: pointer;
	background-color: rgba(255, 255, 255, .5);
	background-clip: padding-box;
	border-top: 15px solid transparent;
	border-bottom: 15px solid transparent
}
.slider__indicators li.active {
	background-color: rgba(255, 255, 255, .9)
}

section {
	position: relative;
	padding: 2rem 0;
}
a:hover {
	color: var(--color2);
}
code, kbd, samp {
	font-size: inherit;
	background: var(--accent);
	color: var(--dark);
	padding: 2px 6px;
	line-height: 1;
	white-space: nowrap;
	border: 1px solid #edd762;
	border-radius: 4px;
}
.container-fluid {
	max-width: 1288px;
}
.row {
	margin: 0 -0.5rem;
}
.col-1, .col-2, .col-25, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col, .col-auto, .col-sm-1, .col-sm-2, .col-sm-25, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm, .col-sm-auto, .col-md-1, .col-md-2, .col-md-25, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md, .col-md-auto, .col-ml-1, .col-ml-2, .col-ml-25, .col-ml-3, .col-ml-4, .col-ml-5, .col-ml-6, .col-ml-7, .col-ml-8, .col-ml-9, .col-ml-10, .col-ml-11, .col-ml-12, .col-md, .col-ml-auto, .col-lg-1, .col-lg-2, .col-lg-25, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg, .col-lg-auto, .col-xl-1, .col-xl-2.col-xl-25, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl, .col-xl-auto, .col-s, .col-m {
	padding: 0 0.5rem;
}
.table {
	text-align: center;
}
.table.alignleft {
	text-align: left;
}
.table.alignright {
	text-align: right;
}

.button {
	margin-top: 1.5rem;
}
.btn, .btn:visited, .btn:focus, .btn:active {
	font-size: 1rem;
}
.btn span {
	padding: 1rem 2rem;
}
.wa-btn {
	margin: 3rem 0;
}

.menu-item.menu-item-has-children a::before {
	right: 0.8rem;
}

.linker {
	background: transparent;
	border: 0;
	border-bottom: 1px solid;
	padding: 0;
	color: var(--color2);
	cursor: pointer;
}
.linker:hover {
	border-bottom: transparent;
}


.fancybox__container {
	z-index: 10050;
}
.fancybox__content :focus:not(.carousel__button.is-close) {
	outline: none;
}

h1 {
	font-size: 2rem;
}
#modules h2, #not_modules h2, #carts h2 {
	position: relative;
	font-size: 1.5rem;
	margin: 0 0 2rem;
	text-transform: uppercase;
	padding-top: 1rem;
	color: #000;
}
#modules h2::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 2rem;
	height: 2px;
	background: var(--color2);
	content: '';
}
h3 {
	font-size: 1.35rem;
}
#modules section:nth-of-type(1) {
	padding-top: 0rem;
}


.bullets .header {
	text-align: left;
}
.bullets .item {
	margin-bottom: 1.5rem;
	padding: 1.5rem;
}
.bullets-image .item .image {
	margin-bottom: 1rem;
}
.bullets.bg-color .item {
	margin-bottom: 1.5rem;
}
.bullets a.image {
	overflow: hidden;
}
.bullets a.image img {
	transition: all .3s ease;
}
.bullets a.image:hover img {
	transform: scale(1.15);
}

.content .order2 .lazy-image {
	margin: 0;
}
.content p {
	font-size: 1rem;
}
.content h2 {
	margin: 2rem 0 !important;
}

.ya-share2__container_size_m .ya-share2__badge .ya-share2__icon {
	height: 2rem !important;
	width: 2rem !important;
	background-size: 26px !important;
}


#header-wrapper.main_menu.type-header {
	margin-bottom: 0;
}
#header {
	padding: 1.5rem 0;
	background: #fff;
}
#header .logo a {
	width: 9rem;
}
#header .contacts svg {
	display: none;
}
#header .content .contacts {
	flex: 0 0 12rem;
}
#header .content .messengers {
	flex: 0;
	display: flex;
	justify-content: flex-end;
}
.social .soc:last-child {
	margin-right: 0rem;
}

.search {}
.search-form {
	position: relative;
}
.search-field {
	background: var(--light);
	border: 1px solid #ddd;
	color: var(--dark);
	display: block;
	padding: 0.75rem 5rem 0.75rem 1rem;
	width: 100%;
	border-radius: 5px;
}
.search-submit {
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	background: var(--color2);
	border-radius: 5px;
	border: 0;
	color: #fff;
	font-size: 0.8rem;
	padding: 0.5rem 1.75rem;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
}
.search-submit:hover {
	background: #2c364a;
	box-shadow: none;
}


.menu .menu-item a {
	padding: 1rem 1.5rem;
}
.menu-home-li {}
.menu-home-li a {
	text-indent: -99999px;
	background: url(assets/i/icon-home.svg) no-repeat center;
	background-size: 1.25rem;
}
.menu .menu-item .sub-menu {
	display: block;
	column-count: 2;
}
.menu .menu-item:nth-child(2) .sub-menu {
	column-count: 3;
}
.menu .menu-item .sub-menu .menu-item {
	width: 300px;
	display: inline-block;
}
#menu .menu .menu-item .sub-menu .menu-item a {
	white-space: normal;
}


#hero {
	background-color: #fff;
}
#hero .header ul li {
	margin: 0.5rem 0;
	font-size: 1rem;
}



#no-manager {
	background: var(--color_bg_1);
}
#no-manager .header h2~p {
	font-size: 1.125rem;
}
#no-manager .header a {
	color: #fff;
	border-bottom: 1px solid #fff;
}
#no-manager .header a:hover {
	border-color: transparent;
}



#footer .footer-head {
	letter-spacing: 2px;
	position: relative;
	padding-top: 1rem;
}
#footer .footer-head::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 2rem;
	height: 2px;
	background: var(--color2);
	content: '';
}
#footer .social {
	margin: 0.75rem 0;
}


#contacts .left {
	max-width: 580px;
}


.hero-slider {
	margin-bottom: 2rem;
}
.hero-slider .slider-wrap {
	position: relative;
}
.hero-slider .slider__indicators li {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: #fff;
}
.hero-slider .slider__indicators li.active {
	background-color: var(--color);
}
.hero-slider .slick-next {
	right: 0;
}
.hero-slider .slick-dots {
	position: absolute;
	bottom: 1.5rem;
}
.hero-slider .slick-dots li button {
	width: 6px;
	background: #fff;
}
.hero-slider .slick-dots li.slick-active button {
	width: 6px;
	background: var(--color);
}



#offset-wrap {
	margin: 2rem 0;
}
#offset-wrap .offset-row {
	display: flex;
	width: 100%;
}
#offset-sidebar {
	flex: 1 0 30%;
	max-width: 30%;
}
#offset-modules {
	flex: 1 0 70%;
	max-width: 70%;
}
#offset-modules .container-fluid {
	padding-right: 0rem;
}
#offset-modules p img:not(.wa-img) {
	width: 100%;
}

#offset-sidebar #order {
	background: var(--color_bg_2);
	margin-bottom: 2rem;
	padding: 2rem;
}

#offset-sidebar #contacts .left-wrap {
	padding-left: 0rem;
	padding: 0;
	max-width: 100%;
	flex: 1;
}
#offset-sidebar #contacts .left {
	margin: 0;
	padding: 2rem;
	background: var(--light);
}
#offset-sidebar #contacts .left .main-list>li {
	flex: 100%;
	width: 100%;
}
#offset-sidebar #contacts .header {
	font-size: 1.5rem;
	margin-bottom: 2rem;
	display: none;
}
#offset-sidebar #contacts .note {
	font-size: 0.9rem;
}

#offset-gallery {
	position: relative;
	margin: -0.5rem -0.5rem 1rem 2.5rem;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: repeat(2, 1fr);
}
#offset-gallery .image {
	position: relative;
	margin: 0.5rem;
	overflow: hidden;
}
#offset-gallery .image:first-child {
	grid-area: 1/2/3/4;
}
#offset-gallery .image img {
	object-fit: cover;
	height: 100%;
	width: 100%;
	transition: all .3s ease;
}
#offset-gallery .image:hover img {
	transform: scale(1.05);
}
.js-offset-gallery-nav {
	margin-bottom: 1rem;
}
.js-offset-gallery-nav .image {
	padding: 0.5rem 0.25rem;
}
.js-offset-gallery .slick-next {
	right: 0;
}


.mode-time {
	position: sticky;
	top: calc(var(--header_height) + 2rem);
	margin-top: 1rem;
	padding: 2rem;
	background: var(--light);
	font-size: 0.9rem;
}
.mode-time .mode-time-head {
	font-size: 1.25rem;
	font-weight: var(--f1wb);
	margin-bottom: 1rem;
}
.mode-time li {
	margin: 0.25rem 0;
}
.mode-time li .weekday {
	width: 110px;
	display: inline-block;
}
.mode-time li .time {}


#contacts .left .main-list li.soc-block {
	max-width: 100%;
}


#reviews-wrap {}
#reviews-wrap .item {
	margin-bottom: 1rem;
	background: var(--light);
	padding: 2rem;
	border-radius: 0.5rem;
}
#reviews-wrap .item .blockquote {}
#reviews-wrap .item .text {}
#reviews-wrap .item .name-block {
	display: flex;
	justify-content: space-between;
	margin-bottom: 1.5rem;
}
#reviews-wrap .item .name-detail {
	display: flex;
	align-items: center;
}
#reviews-wrap .item .name {
	font-weight: var(--f1ws);
	margin-right: 1.5rem;
}
#reviews-wrap .item .detail {
	font-size: 0.9rem;
	color: var(--gray);
}
#reviews-wrap .item .date-wrap {
	display: flex;
}
#reviews-wrap .item .date {
	font-size: 0.9rem;
	color: var(--gray);
}
#reviews-wrap .item .body-wrap {
	display: flex;
	justify-content: space-between;
}
#reviews-wrap .item .text-wrap {}
#reviews-wrap .item .image-wrap {
	position: relative;
	flex: 0 0 100px;
	max-width: 100px;
	border-radius: 0.5rem;
	margin-left: 2rem;
	height: fit-content;
}
#reviews-wrap .item .image-wrap .image {
	position: relative;
	display: none;
}
#reviews-wrap .item .image-wrap .image:first-child {
	display: block;
}
#reviews-wrap .item .image-wrap .image-dots {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 5px;
	margin-top: 1rem;
}
#reviews-wrap .item .image-wrap .image-dots li {
	width: 5px;
	height: 5px;
	background: var(--gray);
	border-radius: 50%;
}
#reviews-wrap .item .image-wrap .image::before {
	content: '';
	position: absolute;
	background: var(--dark);
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	opacity: 0;
	pointer-events: none;
}
#reviews-wrap .item .image-wrap .image:hover::before {
	opacity: 0.5;
}a
#reviews-wrap .item .image-wrap .slick-arrow {
	width: 2rem;
	height: 2rem;
	background: var(--btn_color_1);
}
#reviews-wrap .item .image-wrap .slick-arrow:hover {
	background: var(--color);
}
#reviews-wrap .item .image-wrap .slick-arrow svg {
	width: 100%;
	height: 100%;
}
#reviews-wrap .item .image-wrap .slick-prev {
	left: -1rem;
}
#reviews-wrap .item .image-wrap .slick-next {
	right: -1rem;
}
#reviews-wrap .item .image-wrap .slick-dots {
	bottom: -1rem;
}
#reviews-wrap .item .image-wrap .slick-dots li button {
	width: 6px;
	height: 6px;
}
#reviews-wrap .item .image-wrap .slick-dots li.slick-active button {
	width: 6px;
}
#reviews-wrap .item .pages-block {
	margin-top: 0.5rem;
}
#reviews-wrap .item .pages-block a {
	color: #fff;
	background: var(--btn_color_1);
	line-height: 1;
	white-space: nowrap;
	border-radius: 50px;
	padding: 0.4rem 1rem 0.5rem;
	font-size: 0.9rem;
}
#reviews-wrap .item .pages-block a:hover {
	background: var(--color);
}
.ratings-reviews {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 2rem;
	flex-wrap: wrap;
}
.ratings-wrap {
	position: relative;
	width: 180px;
	text-align: right;
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: var(--color);
}
.ratings-wrap.ratings-main {
	width: 320px;
}
.ratings {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.ratings-stars {
	position: relative;
	background: url(assets/i/rating_off.svg) repeat-x left;
	background-size: auto 100%;
	width: 94px;
	height: 18px;
}
.ratings-stars-active {
	background: url(assets/i/rating_on.svg) repeat-x left;
	background-size: auto 100%;
	height: 100%;
}
.ratings-stars-inputs {
	position: absolute;
	top: 0;
	height: 100%;
	width: 100%;
	display: flex;
	flex-direction: row-reverse;
	justify-content: space-around;
}
.rating__input ,
.rating__label--hidden ,
.rating__label::before ,
.rating__label::after {
	display: none;
}
.rating__star {
	position: absolute;
	left: -100vw;
	font-size: 1px
}
.rating__label {
	width: 20%;
	height: 100%;
	margin: 0;
	padding: 0;
	background-repeat: repeat-x;
	background-position: left;
	background-size: auto 100%;
	cursor: pointer;
}
.ratings-stars.js-vote_accepted .rating__label ,
.ratings-stars-inputs:hover .rating__label {
	background-image: url(assets/i/rating_off.svg);
}
.ratings-stars-inputs .rating__label:hover,
.ratings-stars-inputs .rating__label:hover~.rating__label ,
.ratings-stars-inputs .rating__input:checked~.rating__label {
	background-image: url(assets/i/rating_on.svg);
}
.ratings-stars-mess:not(.js-mess_active) {
	opacity: 0;
}








.offset-reviews-button-more.hidden,
.offset-gallery-button-more.hidden {
	display: none;
}
.offset-reviews-button-more,
.offset-gallery-button-more {
	background: transparent;
	border: 0;
	border-bottom: 1px dashed;
	padding: 0;
	color: var(--color2);
	cursor: pointer;
	margin-bottom: 2rem;
}
.offset-reviews-button-more {
	margin-bottom: 0rem;
	margin-right: 2rem;
}
.offset-reviews-button-more:hover,
.offset-gallery-button-more:hover {
	border-bottom: transparent;
}



#porfolio-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	opacity: 0;
	transition: all .8s cubic-bezier(.215, .61, .355, 1);
}
#porfolio-wrap.anim-init {
	opacity: 1;
}
.page-modules #porfolio-wrap {
	padding-bottom: 2rem;
}
#porfolio-wrap .item {
	flex: 1 0 calc(100%/4 - 1.5rem);
	max-width: calc(100%/4 - 1.5rem);
	aspect-ratio: 0.936;
}
#porfolio-wrap .item.porfolio-item.anim {
	opacity: 0;
	transform: translateY(1.5rem);
	transition: all .8s cubic-bezier(.215, .61, .355, 1);
}
#porfolio-wrap .item.porfolio-item.anim-init {
	opacity: 1;
	transform: translateY(0%);
}
#porfolio-wrap .item.porfolio-item.anim-init:nth-child(4n + 1) {
	transition-delay: 0s;
}
#porfolio-wrap .item.porfolio-item.anim-init:nth-child(4n + 2) {
	transition-delay: 0.2s;
}
#porfolio-wrap .item.porfolio-item.anim-init:nth-child(4n + 3) {
	transition-delay: 0.4s;
}
#porfolio-wrap .item.porfolio-item.anim-init:nth-child(4n + 4) {
	transition-delay: 0.6s;
}
#porfolio-wrap .item a {
	display: none;
}
#porfolio-wrap .item a.visible {
	display: block;
	height: 100%;
}
#porfolio-wrap .item a .image {
	overflow: hidden;
}
#porfolio-wrap .item a .image img {
	transition: all .3s ease;
}
#porfolio-wrap .item a:hover .image img {
	transform: scale(1.15);
}

#porfolio-wrap .name {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	height: 100%;
	background: #dee1e6;
}
#porfolio-wrap .name span {
	text-transform: uppercase;
	font-size: 14px;
	color: #fff;
	background: #7daa0f;
	display: flex;
	width: 100%;
	font-weight: bold;
	padding: 5px 2rem;
	line-height: 1.15;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	text-align: center;
}


.rating-area {
	margin-bottom: 1rem;
}
.rating-area>label::after {
	display: none;
}
.rating-area>label>input {
	width: 1.5rem;
	height: 1.5rem;
	display: none;
}
.rating-area>label {
	width: 1.5rem;
	height: 1.5rem;
	cursor: pointer;
	filter: grayscale(0);
}
.rating-area>label:before {
	content: '';
	opacity: 1;
	border: 0;
	background: url(assets/i/rating_on.svg) no-repeat center;
	background-size: contain;
	height: 100%;
	width: 100%;
	border-radius: 0;
	position: absolute;
	z-index: 1;
}
.rating-area>label.checked~label {
	filter: grayscale(1);
}
.rating-area>label:hover~label {
	filter: grayscale(1);
}




/*
============================================================
============================================================
============================================================
Ширины экранов
-- xs	320-499		Смартфоны
-- sm	500-767		Фаблеты
-- md	768-1023	Планшеты
-- ml	1024-1180	Нетбуки
-- lg	1181-1299	Ноутбуки
-- xl	1400		Декстопы
============================================================
============================================================
============================================================
*/

/*
==============================
	xl 1699 - Декстопы	(1600)
==============================
*/
@media (max-width: 1699px) {}

/*
==============================
	xl 1599 - Декстопы	(1440)
==============================
*/
@media (max-width: 1599px) {}


/*
==============================
	lg 1399 - Ноутбуки	(1360)
==============================
*/
@media (max-width: 1399px) {}


/*
==============================
	lg 1299 - Ноутбуки	(1280)
==============================
*/
@media (max-width: 1299px) {}


/*
==============================
	ml 1180 - Нетбуки	(1024)
==============================
*/
@media (max-width: 1180px) {
	#header .contacts {
		flex: 0 0 11rem;
		margin-right: 0;
	}
	.menu .menu-item a {
		padding: 1rem 1.25rem;
		font-size: 0.7rem;
	}
}


/*
==============================
	md 1023 - Планшеты	(768)
==============================
*/
@media (max-width: 1023px) {
	#header .search-col {
		display: none;
	}
	.menu .menu-item .sub-menu {
		column-count: 1;
	}
	.menu .menu-item .sub-menu .menu-item {
		width: 100%;
		display: inline-block;
	}
	#offset-wrap .offset-row {
		flex-direction: column-reverse;
	}
	#offset-sidebar {
		flex: 1 0 100%;
		max-width: 100%;
	}
	#offset-sidebar #contacts .left-wrap {
		padding: 0 0rem;
	}
	#offset-sidebar #contacts .left {
		max-width: none;
	}
	#offset-modules {
		flex: 1 0 100%;
		max-width: 100%;
	}
	#offset-modules section:not(.bg-color) .container-fluid {
		padding: 0 0rem;
	}
	#offset-gallery {
		margin: 1rem -0.5rem;
	}
	#offset-modules .container-fluid {
		padding: 0;
	}
	#no-manager .wrap {
		display: block;
	}
	#no-manager .header {
		max-width: none;
	}
	#no-manager .wrap .button {
		margin-top: 1rem;
	}
	.share-bottom {
		padding: 0 0rem;
	}
	.ya-share2, .ya-share2 * {
		text-align: center;
	}
	#ya-share-top {
		display: none;
	}
	#ya-share-bottom {
		margin-bottom: 2rem;
	}
}

/*
==============================
	sm 767 - Фаблеты	(500)
==============================
*/
@media (max-width: 767px) {
	h2 {
		font-size: 1.5rem;
	}
	#header .contacts-mini {
		display: none;
	}
	#no-manager .header h2~p {
		font-size: 1rem;
	}
	.ratings-reviews button {
		margin-top: 1rem;
	}
	#reviews-wrap .item .name-detail {
		display: block;
	}
	#reviews-wrap .item .image-wrap {
		flex: 1 0 80px;
		max-width: 80%;
		margin-left: 1rem;
	}
	#porfolio-wrap {
		gap: 1rem;
	}
	#porfolio-wrap .item {
		flex: 1 0 calc(100%/3 - 1rem);
		max-width: calc(100%/3 - 0.5rem);
	}
}


/*
==============================
	xs 499 - Смартфоны	(360, 414)
==============================
*/
@media (max-width: 499px) {
	section {
		position: relative;
		padding: 1rem 0;
	}
	#header {
		padding: 1rem 0;
	}
	#header .logo a {
		width: 8rem;
	}
	#header .content .contacts {
		flex: 0 0 9rem;
	}
	#footer .col:nth-child(1) {
		order: 1;
	}
	#footer .col:nth-child(2) {
		order: 2;
	}
	#footer .col:nth-child(3) {
		order: 3;
	}
	#footer .col:nth-child(4) {
		order: 4;
	}
	#offset-gallery {
		margin: 0rem 0rem 1rem;
		grid-template-columns: repeat(3, 1fr);
	}
	#offset-gallery .image {
		margin: 0.25rem;
	}
	#offset-gallery .image:first-child {
		grid-area: 1/1/3/3;
	}
	#porfolio-wrap .item {
		flex: 1 0 calc(100%/2 - 1rem);
		max-width: calc(100%/2 - 0.5rem);
	}
	#reviews-wrap .item {
		position: relative;
		padding: 1.5rem;
	}
	#reviews-wrap .item .name-block {
		display: block;
		justify-content: space-between;
		margin-bottom: 1.5rem;
	}
	#reviews-wrap .item .date {
		margin: 0.25rem 0 0.5rem;
	}
	#reviews-wrap .item .image-wrap {
		position: absolute;
		top: 1.5rem;
		right: 1.5rem;
		width: 70px;
		height: 70px;
	}
}


/*
==============================
	xs 359 - Смартфоны	(320)
==============================
*/
@media (max-width: 359px) {}