/* X-Large devices (large desktops, less than 1400px) */
@media (max-width: 1399.98px) {
	.main-menu li a {
		padding: 25px 10px;
	}

	.sale-material-img img {
		height: 100%;
	}

	.just-work-items-list h5 {
		margin-left: 30px;
		margin-right: 15px;
	}

	.just-work-items-list p {
		font-size: 15px;
		line-height: 1.25;
	}

	.take-away-img:before {
		width: 70%;
	}

	.footer-contacts-items span {
		font-size: 16px;
	}
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
	.main-menu li a,
	.main-contacts li a {
		font-size: 14px;
	}

	.main-menu li a {
		padding: 20px 8px;
	}

	.vp3 .quiz-items label span {
		width: auto;
		font-size: 13px;
	}

	.policai input[type='checkbox'] + label, .policai input[type='radio'] + label {
		font-size: 15px;
	}

	.photo-work-form form h5 {
		font-size: 26px;
	}

	.photo-work-form form p {
		font-size: 16px;
		margin: 1rem 0;
	}

	.photo-work-form form input {
		height: 55px;
	}

	.master-house-item h5 {
		font-size: 38px;
		margin-bottom: 1rem;
	}

	.men-master-items:before {
		width: 350px;
		height: 517px;
	}

	.sale-material-items h5 {
		font-size: 33px;
	}

	.sale-material-items p {
		font-size: 18px;
	}

	.installment-plan-items h5 {
		font-size: 30px;
	}

	.installment-plan-items {
		padding: 50px 1.5rem;
	}

	.gift-mattress-items {
		padding-left: 0;
	}

	.gift-mattress-items p {
		font-size: 1rem;
	}

	.discount-for-pensioners-items h5 {
		font-size: 30px;
		margin-bottom: 1rem;
	}

	.discount-for-pensioners-items p {
		font-size: 16px;
	}

	.discount-for-pensioners-items h6 {
		font-size: 26px;
	}

	.take-away-items h5 {
		font-size: 45px;
	}

	.take-away-items h4 {
		font-size: 84px;
	}

	.take-away-items-btn p {
		font-size: 18px;
	}

	.footer-contacts {
		padding: 40px;
	}

	.footer-contacts h2 {
		font-size: 40px;
		margin-bottom: 1.25rem;
	}

	.footer-contacts p {
		font-size: 18px;
		letter-spacing: .07em;
	}

	.header-top {
		padding: 5px 0;
	}

	.services_item .btnModal {
		width: calc(100% - 30px)
	}

	.wrap_imgMaster {
		max-width: 400px;
		width: 100%;
	}
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) { 
	.header-top {
		padding: .5rem 0;
		position: fixed;
		top: 0px;
		/* z-index: 999999999 !important; */
	}

	.new-year-style .b-head-decor{
		position: fixed;
	}

	.slider-home{
		margin-top: 10rem;
	}

	.main-contacts {
		display: flex;
		justify-content: flex-end;
		align-items: center;
	}

	.mmenuBars {
		font-size: 25px;
	}

	.photo-work-form form h5 {
		font-size: 21px;
	}

	.photo-work-form form input {
		width: calc(100% - 30px)
	}

	.photo-work-form form .btnModal {
		max-width: calc(100% - 30px)
	}

	.photo-work-form form p {
		margin: .5rem 0;
	}

	.photo-work-form form i {
		font-size: 25px;
		top: 5px;
		right: 15px;
	}

	.photo-work-form form {
		width: auto;
	}

	.pillow-prize-items {
		text-align: center;
	}

	.men-master-items:before {
		display: none;
	}

	.guarantee-items p {
		font-size: 16px;
	}

	.guarantee-items h5 {
		font-size: 25px;
		margin-bottom: 1.5rem;
	}

	.guarantee-items {
		height: auto;
		padding: 3rem 0;
	}

	.discount-for-pensioners-items {
		padding: 25px;
	}

	.discount-for-pensioners .row:before {
		display: none;
	}

	.just-work-item img {
		margin-top: 0;
	}

	.just-work-items-list {
		padding: 1.5rem 0;
	}

	.just-work {
		margin: 0;
		padding-top: 3rem;
		padding-bottom: 2rem;
		background: #ddb270
	}

	.discount-for-pensioners {
		background: linear-gradient(270deg, #659D51 50.99%, #379D35 98.87%);
	}

	.just-work .title {
		color: #fff;
	}

	.just-work-items-list {
		padding-right: 1rem;
	}

	.take-away-img:before {
		top: auto;
		width: 74%;
	}

	.take-away-items h5 {
		font-size: 35px;
	}

	.take-away-items h4 {
		font-size: 65px;
	}

	.footer-contacts-items {
		margin-left: 0;
		margin-bottom: 2rem;
	}

	.footer-contacts .btnModal {
		margin-bottom: 2rem;
	}

	.linkOneFooter {
		margin: .75rem 0;
		flex-direction: unset;
		justify-content: space-between;
	}

	.linkOneFooter a {
		font-size: 18px
	}

	.linkOneFooter a span {
		font-size: 25px;
	}

	.footer-contacts h2 {
		font-size: 30px;
	}

	.footer-contacts p {
		font-size: 16px
	}

	.footer-contacts-items a {
		font-size: 18px;
	}

	.reviews-items {
		padding: 23px;
		padding-bottom: 40px;
		margin: 0;
	}

	.reviews-items p {
		text-align: left;
		font-size: 13px;
	}

	.reviews-items h5,
	.reviews-items h6 {
		font-size: 18px;
		text-align: left;
	}

	.reviews-items video {
		height: 395px;
	}

	.reviews-item-slider .slick-dots {
		bottom: 10px;
		text-align: left;
	}

	.reviews-slider .slick-dotted.slick-slider {
		margin-bottom: 0;
	}

	.services_item {
		padding: 0 7px 30px 7px;
	}

	.services_item .btnModal {
		width: 100%;
		height: 42px;
	}

	.read-more__services {
		font-size: 18px;
	}

	.services_item__title h5 {
		font-size: 16px;
	}

	.faq img {
		height: 250px;
		width: 100%;
	}

	.faq-tabs h5 {
		font-size: 26px;
		margin: 20px 0;
	}

	.accordion-button:not(.collapsed),
	.accordion-button.collapsed, .accordion-collapse {
		font-size: 20px;
	}

	.accordion-body p {
		font-size: 14px;
	}

	.faq {
		margin: 30px 0;
	}

	.wrap_imgMaster{
		display: none;
	}

	.master-house-item{
		padding-left: 0;
	}

	.wrap_masterHouse {
		justify-content: center;
	}
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
	.col-lg-6__zaberem {
		width: 100%;
	}

	.slider-item h1 {
		text-align: center;
		font-size: 30px;
	}

	.slider-item li {
		font-size: 18px;
		text-align: center;
	}

	.slider-item li:before {
		content: ''
	}

	.slider-item {
		text-align: center;
	}

	.slider-item .btnModal {
		margin-top: 0;
	}

	.btnModal {
		position: relative;
		text-transform: none;
		max-width: 320px;
		z-index: 99;
	}

	.slider-img {
		position: relative;
		top: -50px;
	}

	.slider-img:before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: linear-gradient(180deg, #FFFFFF 6.08%, rgba(255, 255, 255, 0) 100%);
	}

	.quiz-item h2 {
		margin-bottom: 2rem;
		font-size: 25px;
	}

	.vp5 .quiz-item .quiz-end input[name="name"], .vp5 .quiz-item .quiz-end input[name="phone"] {
		height: 55px;
		font-size: 16px;
	}

	.master-house-item {
		text-align: center;
		padding-left: 0
	}

	.master-house-item form {
		max-width: 100%;
	}

	.guarantee-items {
		padding: 2rem 0;
	}

	.guarantee-items h5 {
		margin-bottom: 1rem;
	}

	.gift-mattress-items form p {
		margin-top: 1rem;
		text-align: center;
	}

	.take-away-img:before {
		display: none;
	}

	.take-away-items {
		text-align: center;
	}

	.take-away-items-btn p {
		font-size: 15px;
		margin-left: 1rem;
	}

	.take-away {
		padding: 1.5rem 0;
	}

	.reviews-items {
		padding: 20px 5px;
		padding-bottom: 40px;
		margin-bottom: 1rem !important
	}

	.reviews-items video {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
	}
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) { 
	.main-contacts li:last-child {
		display: none;
	}

	.mmenuBars {
		margin-left: 1rem;
	}

	.main-contacts li a {
		font-size: 14px;
		font-family: 'OswaldL'
	}

	.main-contacts li a span {
		font-size: 16px;
		font-family: 'OswaldR';
		display: inline-block;
		margin-left: 3px;
	}

	.slider-img {
		left: -15px;
		width: calc(100% + 30px)
	}

	.slider-item li {
		font-size: 16px;
	}

	.slider-item h1 {
		font-size: 24px;
		font-family: 'OswaldR'
	}

	.slider-home {
		/* margin-top: 5rem; */
	}

	.slider-item .btnModal {
		max-width: 100%;
	}

	.quiz-item h2 {
		font-size: 18px;
	}

	.quiz-items-span {
		margin-left: 15px;
	}

	.vp2 .quiz-items label span {
		width: auto;
	}

	.quiz-items-span img {
		max-width: 100%;
		border-radius: 15px;
	}

	.quiz {
		background: rgba(249, 234, 213, 0.55);
	}

	.vp5 .quiz-item .quiz-end input[name="name"], .vp5 .quiz-item .quiz-end input[name="phone"] {
		border: 1px solid #DED3C5;
	}

	.vp5 .quiz-item .quiz-end {
		width: 100%;
	}

	.policai input[type='checkbox'] + label, .policai input[type='radio'] + label {
		font-size: 13px;
	}

	.policai {
		margin-top: 0;
	}

	.vp5 .quiz-item .quiz-end .btnModal {
		text-transform: uppercase;
		margin-top: 0;
	}

	.quiz {
		padding: 20px 0;
	}

	.vp3 .quiz-items-span img {
		height: 40px;
		margin-top: 7px;
	}

	.quiz-item-btn {
		justify-content: space-between;
	}

	.quiz-item-btn .btnModal {
		margin-right: 0;
	}

	.quiz-item-btn {
		margin-top: 2rem;
	}

	.title {
		font-size: 24px;
		margin-bottom: 1rem;
	}

	.slick-next, .slick-prev {
		width: 35px;
		height: 35px;
		top: -30px;
		z-index: 1
	}

	.slick-prev:hover {
		right: 65px;
	}

	.slick-prev {
		right: 60px;
	}

	.quiz {
		margin: 0;
		margin-top: -50px;
	}

	.pillow-prize-items h5 {
		font-size: 28px;
		line-height: 1;
		margin-bottom: 1rem;
	}

	.pillow-prize-items .pillow-prize-items h5 {
		margin-bottom: 0;
	}

	.pillow-prize-items p {
		line-height: 1;
		font-size: 25px;
	}

	.pillow-prize-items h5 span {
		font-size: 38px;
	}

	.pillow-prize-item {
		padding: 25px 15px;
	}

	.services-items {
		margin-left: 0;
	}

	.services ul li {
		font-size: 16px;
	}

	.services .price {
		font-size: 21px;
	}

	.services .btnModal {
		max-width: 100%;
	}

	.accordion-button {
		font-size: 16px;
	}

	.pillow-prize, .photo-work, .sale-material, .reviews {
		margin-bottom: 2.5rem;
	}

	.accordion-button {
		text-align: left;
	}

	.master-house {
		margin: 2.5rem 0;
		padding: 1.5rem 0;
	}

	.master-house-item h5 {
		font-size: 28px;
		margin-bottom: .5rem;
	}

	.master-house-item form input {
		height: 55px;
	}

	.master-house-item p {
		margin-bottom: 1rem;
		line-height: 1.25;
	}

	.master-house-item p span {
		display: inline-block;
	}

	.quality-work-items {
		margin-bottom: 1rem;
	}

	.quality-guarantee {
		max-width: 100%;
	}

	.quality-guarantee-list h5 {
		font-size: 16px;
	}

	.quality-guarantee-list i {
		margin-right: 0;
		align-self: center;
		margin-bottom: 1.25rem;
	}

	.quality-guarantee-list {
		text-align: center;
		flex-direction: column;
		margin-bottom: .75rem;
	}

	.sale-material-items {
		padding: 20px 15px;
	}

	.sale-material-items h6 {
		font-size: 21px;
	}

	.sale-material-items h5 {
		font-size: 27px;
		margin-bottom: 0;
		line-height: 1.25;
	}

	.sale-material-items p {
		font-size: 20px;
	}

	.sale-material-items .btnModal {
		max-width: 100%;
	}

	.guarantee:after {
		display: none;
	}

	.guarantee:before {
		height: 100%;
	}

	.guarantee .title {
		margin-bottom: 1rem;
	}

	.guarantee {
		margin: 0;
		padding: 2.5rem 0;
	}

	.installment-plan-items h5 {
		font-size: 25px;
	}

	.installment-plan-items form {
		width: 100%;
	}

	.installment-plan-input label {
		font-size: 16px;
	}

	.installment-plan-input {
		margin-bottom: 1.25rem;
	}

	.installment-plan-items {
		padding: 30px 15px;
	}

	.installment-plan {
		background-attachment: local;
	}

	.discount-for-pensioners-items .btnModal {
		max-width: 100%;
	}

	.discount-for-pensioners-items h5 {
		font-size: 25px;
	}

	.discount-for-pensioners-items h6 {
		font-size: 22px;
	}

	.take-away-items h5 {
		font-size: 25px;
	}

	.take-away-items h4 {
		font-size: 46px;
	}

	.take-away {
		padding-top: 1.5rem;
		padding-bottom: 1rem;
	}

	.take-away-items-btn .btnModal {
		max-width: 100%;
	}

	.take-away-btn {
		padding: 1rem 0;
	}

	.take-away-items-btn p {
		margin-left: 0;
		margin-top: 1rem;
	}

	.footer-contacts {
		padding: 25px;
	}

	.footer-contacts h2 {
		font-size: 25px;
		margin-bottom: .75rem;
	}

	.linkOneFooter a {
		font-size: 15px;
	}

	.linkOneFooter a span {
		font-size: 17px
	}

	.footer-contacts-items h5 {
		font-size: 16px;
	}

	.footer-contacts-items span {
		font-size: 11px;
	}

	.footer-contacts-items a {
		font-size: 14px;
	}

	.footer-contacts-items {
		margin-bottom: 1rem;
	}

	footer .footer-bottom {
		padding: 1rem 0;
	}

	.footer-contacts .btnModal {
		margin-bottom: 1rem;
		height: 50px;
	}

	.copyright span {
		display: block;
		font-size: 11px;
	}

	.copyright p {
		font-size: 11px;
		line-height: 1.25;
		flex-direction: column;
		align-items: flex-end;
	}

	.copyright p img {
		margin-left: 0;
		max-width: 100px;
	}

	.copyright {
		padding: .75rem 0;
	}

	.quality-work {
		margin-bottom: 30px;
	}

	.best-fabrics-body h5 {
		font-size: 18px;
	}

	.best-fabrics-body span,
	.best-fabrics-body p {
		font-size: 13px;
	}

	.best-fabrics-items p {
		font-size: 13px;
	}

	.best-fabrics-slider {
		margin-bottom: 1.5rem;
	}

	.best-fabrics .title {
		width: 65%;
	}

	.best-fabrics-slider .slick-next, .best-fabrics-slider .slick-prev {
		top: -107px;
	}

	.guarantee-items p {
		font-size: 14px;
	}

	.guarantee-slider {
		margin-top: 1.25rem;
	}

	.modal-body {
		width: 100%;
	}

	.modal-body p {
		font-size: 16px;
	}

	.modal-body form input {
		height: 50px;
	}

	.modal-sotka-content form input {
		width: 100%;
	}

	.modal-sotka-content form .btnModal {
		max-width: 100%;
	}

	.modal-sotka-content h4 {
		width: auto;
		font-size: 22px;
	}

	.modal-sotka-content .modal-body {
		padding-bottom: 1.5rem;
	}

	.instagram {
		width: 55px;
		height: 55px;
		font-size: 25px;
	}

	.instagram {
		bottom: 75px;
	}

	.services_item__title h5 {
		font-size: 16px;
	}

	.services_item__img h5{
		max-width: 95px;
	}

	.services_item__img h5 span {
		font-size: 10px;
		width: 95px;
	}

	.services .desc-services ul li {
		font-size: 16px;
	}

	.services .desc-services ul li:before {
		width: 8px;
		height: 8px;
		top: 9px;
	}

	.services_item__img {
		height: 182px;
	}

	.home-slider h2 {
		font-size: 20px;
		margin-top: 1rem;
	}

	.home-slider p {
		font-size: 18px;
		margin: 15px 0 45px 0;
	}

	.home-slider .swiper-button-next {
		height: 50px;
		width: 185px;
	}

	.quiz:before {
		background-position: right -150px bottom -100px;
		background-size: contain;
	}

	.best-fabrics-body img {
		height: 175px;
	}
}

@media (max-width: 399.98px) {
	.main-contacts {
		justify-content: space-between;
	}

	.mmenuBars {
		margin-left: 0;
	}
} 

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 375.98px) { 
	
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) { 

}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) { 
	.mm-wrapper__blocker.mm-slideout, 
	.mm-menu_offcanvas:not(.mm-menu_opened),
	div#mobile-menu {
		display: none;
	}
	.mm-wrapper_opening .mm-menu_fx-menu-slide.mm-menu_position-right {
		display: none;
	}

	.mm-wrapper_opening .mm-menu_position-right.mm-menu_opened~.mm-slideout,
	.mm-wrapper_opening .mm-menu_offcanvas~.mm-slideout
	 {
		-webkit-transform: translate3d(0,0,0);
		transform: translate3d(0,0,0);
	}

	.mm-wrapper_blocking {
		overflow: auto;
	}
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { 
	
}