@font-face {
	font-family: 'Raleway';
	src: url('../fonts/Raleway-Light.eot');
	src: local('Raleway Light'), local('Raleway-Light'),
		url('../fonts/Raleway-Light.eot?#iefix') format('embedded-opentype'),
		url('../fonts/Raleway-Light.woff') format('woff'),
		url('../fonts/Raleway-Light.ttf') format('truetype');
	font-weight: 300;
	font-style: normal;
}

@font-face {
	font-family: 'Raleway';
	src: url('../fonts/Raleway-Regular.eot');
	src: local('Raleway'), local('Raleway-Regular'),
		url('../fonts/Raleway-Regular.eot?#iefix') format('embedded-opentype'),
		url('../fonts/Raleway-Regular.woff') format('woff'),
		url('../fonts/Raleway-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Raleway';
	src: url('../fonts/Raleway-Medium.eot');
	src: local('Raleway Medium'), local('Raleway-Medium'),
		url('../fonts/Raleway-Medium.eot?#iefix') format('embedded-opentype'),
		url('../fonts/Raleway-Medium.woff') format('woff'),
		url('../fonts/Raleway-Medium.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: 'Raleway';
	src: url('../fonts/Raleway-SemiBold.eot');
	src: local('Raleway SemiBold'), local('Raleway-SemiBold'),
		url('../fonts/Raleway-SemiBold.eot?#iefix') format('embedded-opentype'),
		url('../fonts/Raleway-SemiBold.woff') format('woff'),
		url('../fonts/Raleway-SemiBold.ttf') format('truetype');
	font-weight: 600;
	font-style: normal;
}

@font-face {
	font-family: 'Raleway';
	src: url('../fonts/Raleway-Bold.eot');
	src: local('Raleway Bold'), local('Raleway-Bold'),
		url('../fonts/Raleway-Bold.eot?#iefix') format('embedded-opentype'),
		url('../fonts/Raleway-Bold.woff') format('woff'),
		url('../fonts/Raleway-Bold.ttf') format('truetype');
	font-weight: bold;
	font-style: normal;
}

@font-face {
	font-family: 'Raleway';
	src: url('../fonts/Raleway-ExtraBold.eot');
	src: local('Raleway ExtraBold'), local('Raleway-ExtraBold'),
		url('../fonts/Raleway-ExtraBold.eot?#iefix') format('embedded-opentype'),
		url('../fonts/Raleway-ExtraBold.woff') format('woff'),
		url('../fonts/Raleway-ExtraBold.ttf') format('truetype');
	font-weight: 800;
	font-style: normal;
}

@font-face {
    font-family: 'Rubik';
    src: local('Rubik'), local('Rubik-Regular'), url('../fonts/Rubik.woff2') format('woff2'), url('../fonts/Rubik.woff') format('woff'), url('../fonts/Rubik.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Rubik';
    src: local('Rubik Medium'), local('Rubik-Medium'), url('../fonts/Rubikmedium.woff2') format('woff2'), url('../fonts/Rubikmedium.woff') format('woff'), url('../fonts/Rubikmedium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Rubik';
    src: local('Rubik Bold'), local('Rubik-Bold'), url('../fonts/Rubikbold.woff2') format('woff2'), url('../fonts/Rubikbold.woff') format('woff'), url('../fonts/Rubikbold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Merriweather';
    src: url('../fonts/Merriweather-BlackItalic.eot');
    src: local('Merriweather Black Italic'), local('Merriweather-BlackItalic'),
        url('../fonts/Merriweather-BlackItalic.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Merriweather-BlackItalic.woff') format('woff'),
        url('../fonts/Merriweather-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
}

@font-face {
	font-family: 'icomoon';
	src:  url('../fonts/icomoon.eot?2x7saa');
	src:  url('../fonts/icomoon.eot?2x7saa#iefix') format('embedded-opentype'),
	url('../fonts/icomoon.ttf?2x7saa') format('truetype'),
	url('../fonts/icomoon.woff?2x7saa') format('woff'),
	url('../fonts/icomoon.svg?2x7saa#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
	font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
	/* use !important to prevent issues with browser extensions that change fonts */
	font-family: 'icomoon' !important;
	speak: never;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;

	/* Better Font Rendering =========== */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.icon-arrow-right:before {
  content: "\e900";
}
.icon-phone:before {
  content: "\e901";
}
.icon-menu:before {
  content: "\e902";
}
.icon-close:before {
  content: "\e903";
}

:root {
	--bg-light-color: #f7f2c8;
	--btn-yellow: #DD9633;
	--btn-yellow-hover: #e2ba4e;
	--body-font-color: #3b3a2b;
	--bg-main-color: #5d5535;
	--mod-aside-gap: 40px;
	--border-color: #b5aa7b;
	--w-narrow: 360px;
	--w-wide: calc(100% - var(--w-narrow));
	--cont-width: 1140px;
	--col-width: 41.66666667;
	--big-vertical-gap: 80px;
}

body {
	font-family: 'Raleway';
	font-weight: normal;
	font-size: 0.9rem;
	color: var(--body-font-color);
    font-weight: 500;
	
}

.com-content-article__body {
	font-size: 1rem;
}

.com-content-article__body ul {
	color: var(--bg-main-color);
    font-weight: 600;
	list-style-type: none;
	padding-left: 0;
}

.com-content-article__body ul li {
	position: relative;
	padding-left: 60px;
}

.com-content-article__body ul li:before {
	content: "";
	display: block;
	width: 7px;
    height: 7px;
    background: var(--border-color);
    border-radius: 50%;
    position: absolute;
    left: 40px;
    top: 8px;
}

a {
	text-decoration: none;
	color: var(--bg-main-color);	
}

a
, div[class*="-img"].no-card img
, .j-footer-2 img 
, .bg-project a img
, .navbar-toggler {
	transition: all 400ms;
	-webkit-transition: all 400ms;
}

a:hover {
	color: var(--btn-yellow-hover);
	text-decoration: none;
}

div[class*="-img"].no-card {
	text-align: center;
}

div[class*="-img"].no-card img {}

div[class*="-img"].no-card a 
, .j-footer-2 a 
, .bg-project a {
	display: block;
	overflow: hidden;
}

div[class*="-img"].no-card a:hover img 
, .j-footer-2 a:hover img
, .bg-project a:hover img {
	transform: scale(1.05) rotate(-2deg);
	-webkit-transform: scale(1.05) rotate(-2deg);
}

h1 {
	font-weight: bold;
	font-size: 3.5rem;
    letter-spacing: 1px;
}

.component h1 {
	font-weight: 500;
    font-size: 1.5rem;
    color: var(--border-color);
}

h2 {
	text-transform: uppercase;
	font-weight: 500;
	font-size: 2.35rem;
}

img {
	max-width: 100%;
	height: auto;
}

section {
	overflow: hidden;
}

footer {
	background-color: var(--bg-main-color);
}
header {
	background-color: #847848;
}

header .nav {
	font-size: 1rem;
}

header .nav a {
	color: white;
	text-decoration: none;
}

header p {
	margin-bottom: 0;
}

.phone p {
	font-size: 1.2rem;
	font-family: 'Rubik';
	font-weight: 500;
}

.phone a {
	color: var(--bg-light-color);	
}

.phone p a:before {
	content: "\e901";
	font-family: 'icomoon';
	font-weight: normal;
    font-size: 0.85rem;
    margin-right: 10px;
    color: var(--border-color);
}
[itemprop="articleBody"] .phone a {
	color: var(--bg-main-color);	
}

.navbar-toggler {
	-webkit-appearance: none;
	padding: 0;
	border-radius: 0;
	box-shadow: none;
	color: var(--btn-yellow);
}

.navbar-toggler:hover {
	color: var(--btn-yellow-hover);
}

.navbar-toggler[aria-expanded="true"] span:before {
	content: "\e903";
	font-family: 'icomoon';
	font-size: 1.5rem;
}

.navbar-toggler[aria-expanded="false"] span:before {
	content: "\e902";
	font-family: 'icomoon';
	font-size: 1.5rem;
}

.navbar-toggler:focus {
	box-shadow: none;
}


.top-contact.callme a 
, .btn
, .btn-secondary 
, .readmore .btn {
	background: var(--btn-yellow);
	padding: 5px 15px;
	display: inline-block;
	white-space: nowrap;
	color: white;
	border-radius: 0;
	font-weight: 500;
	font-size: 0.9rem;
}

.btn-secondary {
	border-color: var(--btn-yellow);
}

.w-narrow {
	flex: 0 0 auto;
	padding-left: 0;
	padding-right: 0;
	position: relative;
	max-width: 100%;
}

.w-narrow .custom {
	position: relative;
}

.w-wide {
	flex: 0 0 auto;	
}

.w-narrow-padding-vertical {
	padding-top: 170px;
	padding-bottom: 100px;
}

.w-wide.align-left {
	padding-left: 0;
	padding-right: var(--mod-aside-gap);
}

.w-wide.align-right {
	padding-right: 0;
	padding-left: var(--mod-aside-gap);
}

.j-features.figures .custom >p {
	position: relative;
    padding-left: 50px;
}

.j-features.figures .custom >p:before {
	content: "";
	font-family: 'Rubik';
	font-weight: 300;
	color: var(--border-color);
	font-size: 50px;
    position: absolute;
    left: 0;
	top: 50%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
}

.j-features.figures .custom >p:first-child:before {
	content: "1";
}

.j-features.figures .custom >p:nth-child(2):before {
	content: "2";
}

.j-features.figures .custom >p:nth-child(3):before {
	content: "3";
}



.text-block .custom {
	background: var(--bg-light-color);
	padding: 50px var(--mod-aside-gap) var(--mod-aside-gap);
	border-radius: 30px;
}

.no-card.text-block {
	position: relative;
}

.text-block h2 {
	position: absolute;
	left: var(--mod-aside-gap);
}

.text-block +.btn-block {
	padding-left: var(--mod-aside-gap);
	margin-top: 40px;
}

.no-card.btn-block a 
, .btn-big-yellow {
	display: inline-block;
	line-height: 70px;
	min-width: 230px;
	text-align: center;
	white-space: nowrap;
	color: white;
	text-transform: uppercase;
	text-decoration: none;
	background: var(--btn-yellow);
	border: none;
	padding: 0;
	border-radius: 0;
	font-size: 1rem;
}

.no-card.btn-block a:hover 
, .btn-big-yellow:hover
, .btn:hover 
, .top-contact.callme a:hover 
, .btn-secondary:hover {
	background-color: var(--btn-yellow-hover);
	color: white;
	border-color: transparent;
}

/* .bg-project 
, .main-form 
, .portfolio 
, footer 
,  */.com-content-category-blog__items {
	padding-top: var(--big-vertical-gap);
	padding-bottom: var(--big-vertical-gap);
}

.pt-big {
	padding-top: var(--big-vertical-gap);
}

.pb-big {
	padding-bottom: var(--big-vertical-gap);
}

.bg-project {
	background: url(../images/bg-tree.jpg) no-repeat center var(--bg-main-color);
	color: var(--bg-light-color);
	background-attachment: fixed;
}

.bg-project a {
	color: var(--bg-light-color);
}

span.h3 {
	text-transform: uppercase;
	font-size: 1.1rem;
}

.footer-form .modal-header
, .footer-form .modal-body 
, .bg-main-light {
	background-color: var(--bg-light-color);
}

.footer-form .modal-header {
	padding: 2rem 2rem 1rem;
}

.footer-form .modal-body {
	padding: 0 2rem 2rem;
}

.section-form .modal-header
, .section-form .modal-body {
	padding-left: 0;
	padding-right: 0;
}

.modal-header {
	border-bottom: none;
	border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.modal-footer {
	border-top: none;
	border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

input[type="text"]
, input[type="email"]
, textarea 
, .form-control {
	border: 1px solid var(--border-color);
	border-radius: 3px;
	margin-bottom: 1rem;
	background: none;
}

textarea {
	padding: .375rem .75rem;
}

input[type="text"]
, input[type="email"]
, input[type="text"].form-control
, input[type="email"].form-control {
	height: 46px;
	
}

input[type="text"]:focus
, input[type="email"]:focus
, textarea:focus
, .form-control:focus {
	border-color: #727044;
	box-shadow: 0 0 0 0.25rem rgb(177 176 117 / 25%);
	background: none;
}

:focus-visible {
	outline: none;
	border-color: #727044;
}

.btn-check:focus+.btn
, .btn:focus 
, .top-contact.callme a:focus 
, .btn-secondary:focus {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgb(177 176 117 / 25%);
	border-color: transparent;
}

.text-right {
	text-align: right;
}

h4.form-title {
	font-size: 1.2rem;
}

.footer-form .btn-big-yellow {
	width: 100%;
}

.main-form {
	background: url(../images/bg-form-2-0.jpg) no-repeat var(--bg-main-color);
}

.slide {
	background: url(../images/bg-main-1-0.jpg) no-repeat;
	min-height: 700px;
}

.slide-text p:first-child {
	font-size: 3rem;
}

.logo {
	min-width: 320px;
}

.logo-font-1
, .logo-font-2
, .logo-font-3 {
	color: var(--bg-light-color);
}

.logo-font-2 {
	font-size: 0.75rem;
}

.logo-font-2 {
	font-weight: bold;
}
.logo-font-1
, .logo-font-3 {
	font-size: 0.65rem;
	
}

.logo-font-3 {
	opacity: 0.85;
}

.portfolio {
	background: url(../images/bg-portfolio.jpg) no-repeat center top #5f5531;
	padding-bottom: calc(80px + 110px);
	padding-bottom: -webkit-calc(80px + 110px);
}

.j-portfolio-img.no-card p {
	margin-bottom: 0;
}

.j-portfolio-img.no-card img {}

.j-portfolio .carousel__slide {
	width: 100%;
	padding: 0;
	background-size: auto 100%;
	background-repeat: no-repeat;
}

.j-portfolio .carousel__slide img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.j-portfolio .carousel__button.is-next {
    /* right: 68px; */
}

.j-portfolio .carousel__button.is-prev {
    /* left: 68px; */
}

.j-portfolio .carousel__dots {
	top: calc(100% + 65px);
}

.j-portfolio .carousel__dots .carousel__dot:after {
	background-color: var(--btn-yellow);
	opacity: 1;
}


.j-portfolio-img.btn-block a {
	/* position: absolute; */
	right: 0;
	bottom: -110px;
    width: 100%;
}

.modal-content {
	border-radius: 0;
}

.btn-close {
	right: -31px;
    top: 0;
	pointer-events: auto;
}

#WJCForm119 .modal-footer {
	bottom: -100px;
    left: 0;
    right: 0;	
}

#WJCForm119 .modal-footer .btn-big-yellow {

}

.modal-backdrop.show {
    opacity: .7;
}

#WJCForm119 .modal-header h4 {
	font-weight: 600;
}

input[type="checkbox"].tos-box {
	width: 0;
	height: 0;
	opacity: 0;
}

.fake-checkbox {
	display: inline-block;
    width: 15px;
    height: 15px;
    position: absolute;
    top: 4px;
    left: 0;
    background-color: var(--border-color);
    border: 3px solid var(--border-color);
}

input[type="checkbox"].tos-box:checked ~.fake-checkbox {
	background-color: var(--bg-main-color);
}

label.error {
	color: #d15858;
    font-weight: 600;
    display: block;
    position: relative;
    top: -15px;
	font-size: 0.8em;
}

footer a 
, .wjcallbackform a
, .footer-menus h4
, footer h4.form-title
, footer .informtext {
	color: var(--border-color);
}

footer a:hover 
, header .nav a:hover {
	color: #e1dab8;
}

.footer-menus h4 {
	font-weight: 600;
	line-height: 1.7rem;
	margin-bottom: 20px;
}

footer .nav li {
	flex: 0 0 auto;
	width: 100%;
	padding: 5px 0;
}
.footer-contact {
	margin-top: 47.19px;
}

.bg-flower-1 {
	background: url(../images/bg-flower-1.png) no-repeat;
	background-position: right bottom;
}

.bg-flower-2 {
	background: url(../images/bg-flower-2.png) no-repeat;
	background-position: left bottom;
}

.bg-flower-4-5 {
	background-image: url(../images/bg-flower-4.png), url(../images/bg-flower-5.png);
	background-repeat: no-repeat, no-repeat;
	background-position: right top, left bottom;
	background-color: var(--bg-main-color);
}

.bg-flower-3 {
	background: url(../images/bg-flower-3.png) no-repeat;
	background-position: left center;
}
.testimonials.bg-flower-3 {
}


.innerpage .bg-flower-6 {
	background: url(../images/bg-flower-6.png) no-repeat right top;
}

main 
, .com-content-article.item-page .page-header
, .com-content-article.item-page figure img 
, .mod-breadcrumbs__wrapper {
	position: relative;
}

.com-content-article.item-page .page-header 
, .mod-breadcrumbs__wrapper {
	z-index: 1;
}

.item-page h2 {
	margin-bottom: 2.5rem;
}

.com-content-article.item-page figure.item-image {
	text-align: center;
}

.mod-breadcrumbs {
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-bottom: 0;
}

.fancy-image-gallery a {
	/* padding-right: 1px; */
	margin-bottom: 8px;
}
.fancy-image-gallery a.active {
	font-weight: 700;
}

.fancybox__container .fancybox__thumbs .carousel__slide {
	padding: 1px;
}

.fancybox__container .fancybox__thumb {
	border-radius: 0;
}

.fancybox__container .fancybox__thumbs .carousel__slide .fancybox__thumb::after {
	border-radius: 0;
	border-width: 3px;
	border-color: var(--bg-light-color);
	
}

.mod-articlescategory.mod-list {
	list-style-type: none;
	padding-left: 0;
}

.mod-articlescategory.mod-list li {
	padding-left: var(--mod-aside-gap);
	padding-right: var(--mod-aside-gap);
	position: relative;
	padding-bottom: 0.5rem;
}

.mod-articlescategory.mod-list li >* {
	position: relative;
}

.mod-articlescategory.mod-list li:before {
	content: "";
	display: block;
	width: 100%;
	height: calc(100% - 33px);
	position: absolute;
	bottom: 0;
	left: 0;
	background-color: var(--bg-light-color);
}

.testimonial-items .item-content {
	position: relative;
}

.fields-container {
	list-style-type: none;
	padding-left: 0;
}

.testimonial-items .fields-container {
	position: absolute;
	width: 100%;
	text-align: right;
	bottom: 50px;
}

.testimonial-items .item-content .readmore {
	padding-top: 40px;
}

.j-gallery img {
	max-height: 100vh;
	
}
.mod-fancyimage {}
.img-filter.position-fixed {
	height: 100vh;
	top: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.img-filter ul {
	list-style-type: none;
	padding-left: 0;
	transition: all 400ms;
	background: var(--bg-light-color);
    padding: 20px;
    border-radius: 30px;
}
.j-gallery.left-fixed {
	/* margin-left: 16.66666667%; */
	transform: translateX(calc(16.66666667% + 1.5rem));
}

.h3-span h3 {
	color: var(--border-color);
}

.h3-span h3 span {
	width: 70px;
    height: 70px;
    display: inline-block;
    border-radius: 50%;
    background: var(--bg-light-color);
    color: var(--border-color);
    /* font-weight: 600; */
    text-align: center;
    line-height: 70px;
    /* position: absolute; */
    left: 0;
    margin-right: -25px;
	font-family: 'Rubik';
}

.gallery-name {
	background: var(--bg-light-color);
    padding: 5px 10px;
    right: 20px;
    top: 20px;
}

.promo-title {
	font-family: 'Merriweather';
	font-weight: 900;
	font-style: italic;
	font-size: 3rem;
	/* color: #8fa504; */
	color:#a7b103;
}
.promo-block {
	
}
.promo-block ol {
	list-style-type: none;
	padding-left: 0;
	counter-reset: myCounter;
	margin-left: -40px;
}

.promo-block ol li {
	min-height: 60px;
    padding-left: var(--mod-aside-gap);
    position: relative;
    margin-bottom: 10px;
    padding-left: 80px;
    /* font-weight: 700; */
    line-height: 1.2;
    /* color: #bdb202; */
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-weight: 600;
    padding: 25px 25px 25px 90px;
    /* color: #fff; */
    border-top-left-radius: 100px;
    border-bottom-left-radius: 100px;
    background: #eeed84;
    border-radius: 100px;
}

.promo-block ol li:before {
	counter-increment: myCounter;
    content: counter(myCounter);
    /* content: ""; */
    display: block;
    width: 100%;
    /* height: calc(100% - 33px); */
    position: absolute;
    bottom: 0;
    left: 10px;
    top: 0;
    background-color: #fff;
    /* background-color: #fccc73; */
    font-family: "Rubik";
    font-size: 3.5rem;
    height: 60px;
    width: 60px;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    color: #a7b103;
    text-indent: 25px;
    font-weight: 700;
    margin-top: auto;
    margin-bottom: auto;
}
.promo-block ol li >span {
	position: relative;
    /* display: inline-block;
    background-image: linear-gradient(to right,#dd9633, transparent);
	background-image: -webkit-linear-gradient(left,#dd9633, transparent);
	background-image: -moz-linear-gradient(to right,#dd9633, transparent);
	background-image: -o-linear-gradient(to right,#dd9633, transparent);
	background-image: -ms-linear-gradient(to right,#dd9633, transparent);
    padding: 10px 0 12px 20px;
    color: #fff;
    border-top-left-radius: 100px;
    border-bottom-left-radius: 100px; */
}
.promo-block .custom {
	/* background: #ecfa72; */
    padding: 0 var(--mod-aside-gap) var(--mod-aside-gap);
    /* border-radius: 30px;
	background-image: linear-gradient(-45deg, rgb(221 150 51 / 100%), rgb(255 251 182));
	background-image: -webkit-linear-gradient(135deg, rgb(221 150 51 / 100%), rgb(255 251 182));
	background-image: -moz-linear-gradient(-45deg, rgb(221 150 51 / 100%), rgb(255 251 182));
	background-image: -0-linear-gradient(-45deg, rgb(221 150 51 / 100%), rgb(255 251 182));
	background-image: -ms-linear-gradient(-45deg, rgb(221 150 51 / 100%), rgb(255 251 182)); */
}
.promo-block .custom >p:first-child {
	/* font-family: 'Merriweather'; */
    font-weight: 400;
    /* font-style: italic; */
    font-size: 2.7rem;
    color: var(--bg-main-color);
    text-align: center;
}

.no-card.btn-block.promo-btn a {
	background-color: #a7b103;
	margin-left: 40px;
	padding-left: 25px;
	padding-right: 25px;
}



@media (min-width: 576px) {
	#callback-form .modal-content {
		
	}
	
	#callback-form .modal-dialog {
		max-width: 400px;
	}
}

@media (min-width: 768px) {
	:root {
		--w-narrow: 250px;
		--w-wide: calc(100% - var(--w-narrow));
	}
	
	.w-wide.align-left {
		
		/* width: calc(100% - var(--w-narrow) + var(--mod-aside-gap));
		width: -webkit-calc(100% - var(--w-narrow) + var(--mod-aside-gap)); */
		
		/* width: calc(var(--w-wide) + var(--mod-aside-gap));
		margin-left: -40px; */
		
		width: var(--w-wide);		
		margin-left: 0;
	}
	
	.w-narrow-ml {	
		margin-left: var(--w-narrow);
	}
	
	.bg-aside .w-narrow:before {
		content: "";
		background: var(--bg-light-color);
		display: block;
		width: 150%;
		height: 100%;
		position: absolute;
		top: 0;
	}

	.bg-aside .w-narrow.align-left:before {
		left: -100%;
	}

	.bg-aside .w-narrow.align-right:before {
		right: -100%;
	}
	
	.ps-md-20 {
		padding-left: 20px !important;
	}

	.pe-md-20 {
		padding-right: 20px !important;
	}
	
	.j-portfolio.no-card
	, .j-portfolio.no-card div {
		height: 100%;
	}
	
	.img-filter ul {
		position: absolute;
		left: 0.75rem;
		right: 0.75rem;
	}
}

@media (min-width: 768px) and (max-width: 1199px) {
	.section-form h2
	, .j-portfolio-title h2
	, .j-tests-title h2 
	, .j-project h2 {
		/* padding-left: var(--mod-aside-gap); */
		/* padding-left: 40px; */
	}
}

@media (min-width: 992px) {
	:root {
		--w-narrow: 300px;
		--w-wide: calc(100% - var(--w-narrow));
	}
	
	.logo +.col-lg-9 {
		max-width: calc(100% - 320px);
		max-width: -webkit-calc(100% - 320px);
	}
	.promo-block ol li {
		font-size: 1.2rem;
	}
	
}

@media (min-width: 1200px) {
	
	:root {
		--w-narrow: 360px;
		--w-wide: calc(100% - var(--w-narrow));
		/* --cont-width: 1140;
		--col-width: 41.66666667; */
		
	}
	
	.w-wide.align-left {
		
		/* width: calc(100% - var(--w-narrow) + var(--mod-aside-gap));
		width: -webkit-calc(100% - var(--w-narrow) + var(--mod-aside-gap)); */
		
		width: calc(var(--w-wide) + var(--mod-aside-gap));
		margin-left: -40px;
		
		/* width: var(--w-wide);		
		margin-left: 0; */
	}
	
	.com-content-article.item-page {
		--cont-width: 1140px;
		--col-width: 41.66666667;
	}	
	
	.com-content-article.item-page figure.item-image:before {
		content: "";
		background: var(--bg-light-color);
		display: block;
		width: calc((100% - var(--cont-width)) / 2 + (var(--cont-width) * var(--col-width) / 100) / 2);
		/* width: var(--cont-width); */
		height: 100%;
		position: absolute;
		top: 0;
		left: 0;
		bottom: 0;
	}
	
	
}

@media (min-width: 1400px) {
	/* .container
	, .container-lg
	, .container-md
	, .container-sm
	, .container-xl
	, .container-xxl {
		max-width: 1200px;
	} */
	
	.com-content-article.item-page {
		--cont-width: 1320px;
		--col-width: 41.66666667;
	}
}

@media (max-width: 1399px) {
	.top-contact.callme a {
		margin-left: 10px;
	}
}

@media (max-width: 1199px) {
	footer {
		--w-wide: 50%;
		--w-narrow: 50%;
	}
}

@media (max-width: 991px) {
	.main-form
	, footer {
		--w-wide: 100%;
		--mod-aside-gap: 0px;
	}
	
	footer {
		--w-narrow: 100%;
	}
	
	.main-form .w-wide >*
	, footer .w-wide >*
	, footer .w-narrow >*
	/* , footer .w-narrow */ {
		max-width: 450px;
	}
}

@media (max-width: 767px) {
	:root {
		--w-wide: 100%;
	}
	
	.w-wide.align-left
	, .w-wide.align-right {
		/* width: 100%; */
		padding-left: 0;
		padding-right: 0;
		order: 0;
	}
	
	.w-narrow {
		order: 1;
	}
	
	.w-narrow-ml {
		margin-left: 0;
	}
	
	.w-wide.w-narrow-padding-vertical {
		padding-top: 120px;
		padding-bottom: 50px;
	}
	
	.w-narrow.w-narrow-padding-vertical {
		padding-top: 0;
		padding-bottom: 0;
	}
	
	.no-card.btn-block {
		padding-left: 0;
		margin-top: -35px;
		text-align: center;
		position: relative;
	}
	
	header .nav >li {
		flex: 0 0 100%;
		padding: 5px 0;
		text-align: center;
	}
	
	.navbar {
		/* align-items: flex-start;
		justify-content: flex-end; */
		min-height: calc(24px + 1rem);
	}
	
	.navbar-toggler {
		position: absolute;
		right: 0;
		top: 0.7rem;
	}
	
	.main-form .w-wide >*
	, footer .w-wide >*
	, footer .w-narrow >*
	/* , footer .w-narrow */ {
		margin-left: auto;
		margin-right: auto;
	}
	
	.bg-project {
		background-position: left -200px top;
	}
	
	.img-filter ul li {
		display: inline-block;
		margin-right: 20px;
	}
	.no-card.btn-block.promo-btn a {
		margin-left: 0;
	}
	.promo-title {
		font-size: 2.5rem;
	}

}

@media (max-width: 575px) {
	.text-block .custom {
		padding-left: 30px;
		padding-right: 30px;
	}
	
	h2 {
		font-size: 2rem;
	}
	
	.text-block h2 {
		left: 30px;
	}
	
	.btn-close {
		top: -31px;
		right: 0;
	}
	
	.j-features.figures .custom >p:first-child:before
	, .j-features.figures .custom >p:nth-child(2):before
	, .j-features.figures .custom >p:nth-child(3):before {
		content: none;
	}
	
	.j-features.figures .custom >p {
		padding-left: 0;
	}
}

@media (max-width: 479px) {
	.j-topcontact {
		flex: 0 0 100%;
	}
	
	.slide {
		background: url(../images/bg-main-1-1.jpg) no-repeat;
		min-height: 600px;
	}
	
	.slide h1 {
		font-weight: 800;
		font-size: 2.5rem;
	}
	
	.slide-text p:first-child {
		font-size: 2rem;
	}
}

/***** изменение ширины широкого и узкого блоков *****/

.w-narrow {		
	width: var(--w-narrow);
}

/* .w-narrow-ml {	
	margin-left: var(--w-narrow);
} */

.w-wide {	
	/* width: calc(100% - var(--w-narrow));
	width: -webkit-calc(100% - var(--w-narrow)); */
	
	width: var(--w-wide);
}

.portfolio
, .main-form  
, footer {
	/* --mod-aside-gap: ; */
}



.portfolio .w-wide.align-left
, .main-form .w-wide.align-left 
, footer .w-wide.align-left {
	
	/* width: calc(100% - var(--w-narrow));
	width: -webkit-calc(100% - var(--w-narrow)); */
	
	width: var(--w-wide);
	
	
	margin-left: 0;
}


