.products-catalog__item:last-of-type .products-catalog-card__image:before {
    display: none;
}

@media screen and (max-width: 1200px) {
    #category .servicebutton {
        font-size: 16px;
    }
    .products-catalog-card__actions::before {
        width: calc(80/ 327 * 100%);
    }
}

@media screen and (max-width: 991px) {
    .products-catalog__item {
        flex: 0 0 calc(300/ 696 * 100%);
        width: calc(300/ 696 * 100%);
        margin-right: calc(96/ 696 * 100%);
    }
    
    .products-catalog-card__image:before {
        right: calc(48 / 300 * -100%);
    }
    
    .products-catalog__item:nth-of-type(3n) {
        margin-right: calc(96/ 696 * 100%);
    }
    
    .products-catalog__item:nth-of-type(3n) .products-catalog-card__image:before {
        display: block;
    }
    
    .products-catalog__item:nth-of-type(even) {
        margin-right: 0;
    }
    
    .products-catalog__item:nth-of-type(even) .products-catalog-card__image:before {
        display: none;
    }
}


@media screen and (max-width: 768px) {
    .products-catalog__item {
        flex: 0 0 100%;
        width: 100%;
        margin-right: 0;
    }
    
    .products-catalog-card__image:before {
        display: none;
    }
    
    .products-catalog__item:nth-of-type(3n) {
        margin-right: 0;;
    }
    
    .products-catalog__item:nth-of-type(3n) .products-catalog-card__image:before {
        display: none;
    }
    
    .products-catalog__item:nth-of-type(even) {
        margin-right: 0;
    }
    
    .products-catalog__item:nth-of-type(even) .products-catalog-card__image:before {
        display: none;
    }
}

/*
    HOUSES
*/

#houses .container {
    max-width: 100%;
}


.houses-catalog {
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
}

.houses-catalog__item {
	flex: 0 0 calc(426/ 1416 * 100%);
	width: calc(426/ 1416 * 100%);
	margin-right: calc(69/ 1416 * 100%);
	margin-bottom: 65px;
}

.houses-catalog__item:nth-of-type(3n) {
	margin-right: 0;
}

.houses-catalog-card {
    position: relative;
}

.houses-catalog-card:after {
	content: '';
	position: absolute;
	top: calc(100% + 25px);
	left: 0;
	display: inline-block;
	width: calc(150/ 426 * 100%);
	height: 1px;
	background-color:  #5A5A5A;
}

.houses-catalog__item:nth-last-of-type(1) .houses-catalog-card:after,
.houses-catalog__item:nth-last-of-type(2) .houses-catalog-card:after,
.houses-catalog__item:nth-last-of-type(3) .houses-catalog-card:after {
    display: none;    
}

.houses-catalog-card__title {
	font-family: 'Roboto', sans-serif;
	font-weight: 500;
	font-size: 20px;
	line-height: calc(24 / 20);
	letter-spacing: 0.05em;
	color: #0F1012;
	margin-bottom: 20px;
}

.houses-catalog-card__image-container {
    position: relative;
}

.houses-catalog-card__image {
	position: relative;
	margin-top: 15px;
	padding-bottom: calc(280 / 426 * 100%);
}

.houses-catalog-card__image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-position: center;
	object-fit: cover;
	display: block;
	width: 100%;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
	border-radius: 4px;
}

.houses-catalog-card__link.artbutton {
    position: absolute;
    bottom: calc(26 / 280 * 100%);
    right: calc(30 / 426 * 100%);
    
    background: transparent;
    border: 1px solid #fff;
    text-transform: uppercase;
    color: #fff;
    font-size: 12px;
}

.houses-catalog-card__link.artbutton:hover {
    background-color: #1882D7;
    border-color: #1882D7;
}



@media screen and (max-width: 991px) {
    .houses-catalog__item {
        flex: 0 0 calc(328/ 696 * 100%);
        width: calc(328/ 696 * 100%);
        margin-right: calc(40/ 696 * 100%);
    }
    
    .houses-catalog__item:nth-of-type(3n) {
        margin-right: calc(40/ 696 * 100%);
    }

    .houses-catalog__item:nth-of-type(even) {
        margin-right: 0;
    }

    .houses-catalog__item:nth-last-of-type(3) .houses-catalog-card:after  {
        display: inline-block;    
    }
    
    .houses-catalog-card__title {
        font-size: 16px;
    }
}


@media screen and (max-width: 768px) {
    .houses-catalog__item {
        flex: 0 0 100%;
        width: 100%;
        margin-right: 0;
    }
    
    
    .houses-catalog__item:nth-of-type(3n) {
        margin-right: 0;;
    }
    
    .houses-catalog__item:nth-of-type(even) {
        margin-right: 0;
    }

    .houses-catalog__item:nth-last-of-type(2) .houses-catalog-card:after  {
        display: inline-block;    
    }
}

/*
    onedom__hero
*/

.onedom__hero {
    position: relative;
    padding-bottom: calc(730 / 1920 * 100%);
    margin-bottom: 85px;
}

@media screen and (max-width: 768px) {
    .onedom__hero {
        padding-bottom: 240px;
    }
}

.onedom__hero-bg {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: cover;
}

.onedom__hero-title {
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 1;
    transform: translateY(-50%);
    width: 100%;
    font-family: 'Roboto';
    font-weight: 500;
    font-size: 48px;
    line-height: calc(62 / 48);
    text-align: center;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #FFFFFF;
    text-shadow: 10px 10px 4px rgba(0, 0, 0, 0.25);
}

@media screen and (max-width: 991px) {
    .onedom__hero-title {
        font-size: 36px;
    }
}

@media screen and (max-width: 768px) {
    .onedom__hero-title {
        font-size: 24px;
    }
}


/*
    ARTICLES CATALOG
*/
.articles-catalog {
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
}

.articles-catalog__item {
	flex: 0 0 calc(533/ 1736.58 * 100%);
	width: calc(533/ 1736.58 * 100%);
	margin-right: calc(61/ 1736.58 * 100%);
	margin-bottom: 95px;
}

.articles-catalog__item:nth-of-type(3n) {
	margin-right: 0;
}

.articles-catalog-card {
    position: relative;
    display: flex;
}

.articles-catalog-card__left {
	flex: 0 0 calc(330/ 533 * 100%);
	width: calc(330/ 533 * 100%);
	margin-right: calc(36/ 533 * 100%);
}

.articles-catalog-card__right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
	flex: 0 0 calc(167/ 533 * 100%);
	width: calc(167/ 533 * 100%);
	padding: 25px 0;
}

.articles-catalog-card__title {
	font-family: 'Roboto', sans-serif;
	font-weight: 500;
	font-size: 23px;
	line-height: calc(24 / 23);
	letter-spacing: 0.05em;
	color: #0F1012;
	margin-bottom: 28px;
}

.articles-catalog-card__description {
	font-family: 'Helvetica', sans-serif;
	font-weight: 300;
	font-size: 14px;
	line-height: calc(18 / 14);
	letter-spacing: 0.05em;
	color: #5A5A5A;
	margin-bottom: 28px;
}

.articles-catalog-card__image-container {
    position: relative;
	padding-bottom: calc(255 / 330 * 100%);
}


.articles-catalog-card__image-container:after {
	content: '';
	position: absolute;
	top: calc(100% + 49.5px);
	left: 0;
	display: inline-block;
	width: calc(150/ 533 * 100%);
	height: 1px;
	background-color:  #5A5A5A;
}

.articles-catalog__item:nth-last-of-type(1) .articles-catalog-card__image-container:after,
.articles-catalog__item:nth-last-of-type(2) .articles-catalog-card__image-container:after,
.articles-catalog__item:nth-last-of-type(3) .articles-catalog-card__image-container:after {
    display: none;    
}

.articles-catalog-card__image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-position: center;
	object-fit: cover;
	display: block;
	width: 100%;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
	border-radius: 4px;
}

.articles-catalog-card__actions button {
    font-family: 'Helvetica';
    background: transparent;
    border: 1px solid #000;
    text-transform: uppercase;
    color: #000;
    font-size: 12px;
}

.articles-catalog-card__link.artbutton:hover {
    background-color: #0F1012;
    border-color: #1882D7;
    color: #fff;
}



@media screen and (max-width: 1400px) {
    .articles-catalog__item {
        flex: 0 0 calc(328/ 696 * 100%);
        width: calc(328/ 696 * 100%);
        margin-right: calc(40/ 696 * 100%);
    }
    
    .articles-catalog__item:nth-of-type(3n) {
        margin-right: calc(40/ 696 * 100%);
    }

    .articles-catalog__item:nth-of-type(even) {
        margin-right: 0;
    }

    .articles-catalog__item:nth-last-of-type(3) .articles-catalog-card__image-container:after  {
        display: inline-block;    
    }
    
    .articles-catalog-card__title {
        font-size: 16px;
    }
}


@media screen and (max-width: 991px) {
    .articles-catalog__item {
        flex: 0 0 100%;
        width: 100%;
        margin-right: 0;
    }
    
    
    .articles-catalog__item:nth-of-type(3n) {
        margin-right: 0;;
    }
    
    .articles-catalog__item:nth-of-type(even) {
        margin-right: 0;
    }

    .articles-catalog__item:nth-last-of-type(2) .articles-catalog-card__image-container:after  {
        display: inline-block;    
    }
}


@media screen and (max-width: 640px) {
    .articles-catalog-card {
        display: block;
    }
    
    .articles-catalog-card__left,
    .articles-catalog-card__right {
        width: 100%;
        flex: 0 0 100%;
    }
    
    .articles-catalog-card__right {
        padding-bottom: 0;
    }
    
    .articles-catalog__item {
        position: relative;
        margin-bottom: 60px;
    }
    
    .articles-catalog__item:not(:last-of-type):after {
    	content: '';
    	position: absolute;
    	top: calc(100% + 30px);
    	left: 0;
    	display: inline-block;
    	width: calc(150/ 533 * 100%);
    	height: 1px;
    	background-color:  #5A5A5A;
    }
    
    .articles-catalog__item:nth-of-type(3n) {
        margin-right: 0;;
    }
    
    .articles-catalog__item:nth-of-type(even) {
        margin-right: 0;
    }

    .articles-catalog-card__image-container:after {
        display: none !important;
    }
}



/*
	PRODUCT CARD
*/

.product-card {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	padding: 0;
	margin-top: 41px;
}

.product-card__gallery {
	flex: 0 0 calc(525 / 1416 * 100%);
	width: calc(525 / 1416 * 100%);
	max-width: calc(525 / 1416 * 100%);
}

.product-card__info {
	flex: 0 0 calc(822 / 1416 * 100%);
	width: calc(822 / 1416 * 100%);
	max-width: calc(822 / 1416 * 100%);
}

.product-slider-main {
}

.product-slider-main__swiper {
    margin: -12px;
    padding: 12px;
}

.product-slider-main__img-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: calc(323 / 525 * 100%);
}

.product-slider-main__img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.product-slider-thumbs {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
}

.product-slider-thumbs__nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 calc(50 / 525 * 100%);
    width: calc(50 / 525 * 100%);
    max-width: calc(50 / 525 * 100%);
    cursor: pointer;
}

.product-slider-thumbs__nav-next {
    justify-content: flex-end;
}

.product-slider-thumbs__swiper {
    flex: 0 0 calc(425 / 525 * 100%);
    width: calc(425 / 525 * 100%);
    max-width: calc(425 / 525 * 100%);
}

.product-slider-thumbs__img-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: calc(144 / 198 * 100%);
}

.product-slider-thumbs__img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


.product-card__info-top {
    display: flex;
    align-items: center;
}

.product-card__price {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 30px;
}

.product-card__price-stock {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: calc(24 / 18);
    letter-spacing: 0.05em;
    color: #5A5A5A;
    margin-bottom: 16px;
}

.product-card__price-price {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-size: 36px;
    line-height: 1;
    letter-spacing: 0.05em;
    color: #0F1012;
}

.product-card__price-price span {
    font-size: 0.833333333em;
    line-height: 1;
    text-transform: uppercase;
}

.product-card__price-qty {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 1;
    margin-top: 2px;
    letter-spacing: 0.05em;
    color: #0F1012;
}

.proddetails .toptr span {
	font-family: Roboto;
	font-size: 2.5rem;
	font-weight: 500;
	line-height: 0.8;
	letter-spacing: 0.05em;
	text-align: left;
}
.proddetails .toptr .txt{
    font-size: 2rem;
}

.product-card__actions {
    flex: 1;
    text-align: right;
}

.tablechars {
    margin-top: 26px;
}

.tablechars table {
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0;
}

.tablechars table td,
.tablechars table th {
    box-shadow: none;
    width: 50%;
}

.tablechars table thead tr:nth-of-type(odd) td,
.tablechars table thead tr:nth-of-type(odd) th {
    background-color: #fff;
}

.tablechars table tbody tr:nth-of-type(even) td {
    background-color: #fff;
}

.product-description {
    margin-top: 82px;
    padding: 0 0 96px;
}

@media screen and (max-width: 1100px) {
    .ordernow {
        width: 200px;
    }
    
    .product-card__price {
        padding-left: 0;
    }
    
    .product-card__price-price {
        font-size: 30px;
    }
}

@media screen and (max-width: 768px) {
    .ordernow {
        width: 200px;
    }

	.product-card {
		display: block;
	}

	.product-card__gallery,
	.product-card__info {
		width: 100%;
		max-width: 100%;
	}
	
	.product-card__gallery {
		margin-bottom: 32px;	
	}
}


.footer-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}


#footer{
    background-color:#0F1012;
}
#footer, #footer a{
    tex-decoration:none;
    color:#fff;
}
.footermap{
    flex: 0 0 calc(662 / 1556 * 100%);
    width: calc(662 / 1556 * 100%);
}
.footerphoto{
    flex: 0 0 calc(465 / 1556 * 100%);
    width: calc(465 / 1556 * 100%);
}
.footerphoto img{
    display: block;
    width: 100%;
    border-radius: 4px;
}
.footercontacts {
    flex: 0 0 calc(383 / 1556 * 100%);
    width: calc(383 / 1556 * 100%);
}
.footercontacts table a{
    text-decoration: none;
}
#footer table tr td{
    padding-top: 1rem;
    padding-left: 1rem;
}
#footer table tr td:first-child{
    padding-left:0;
}
#footer .fonpreim{
    color: rgba(255,255,255,0.2);
    top: 0;
    left: 0;
    line-height: 1;
}
.footerphoto .position-absolute{
    bottom:0;
    right:0;
}

#btn-back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
}
.btn-check:focus + .btn, .btn:focus {
	outline: 0;
	box-shadow: none;
}
.social ul{
    padding-left: 0;
}
.social ul li{
    list-style-type:none;
    display: block;
    margin-right:2rem;
}
.social ul li a{
    width:100%;
}
.social ul li a img{
    border-radius: 4px;
}

@media screen and (max-width: 1200px) {
    .footercontacts {
        flex: 0 0 50%;
        width: 50%;
    }
    .footerphoto {
        flex: 0 0 50%;
        width: 50%;
    }
    
    .footermap {
        flex: 0 0 100%;
        width: 100%;
        margin-top: 20px;
    }
}

@media screen and (max-width: 768px) {
    .footercontacts {
        flex: 0 0 100%;
        width: 100%;
    }
    .footerphoto {
        flex: 0 0 100%;
        width: 100%;
        margin-top: 20px;
    }
    
    .footermap {
        flex: 0 0 100%;
        width: 100%;
        margin-top: 20px;
    }
}

@media screen and (max-width: 640px) {
    main {
        overflow: hidden;
    }
    
    .itemdescr {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .fonpreim {
        font-size: 2rem;
    }
    
    #catalog h1 {
        padding-left: 12px;
    }
    
    .leftmenu {
        padding-left: 12px;
    }
    .product-card__info-top {
        display: block;
    }
    .product-card__price {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        margin-bottom: 20px;
    }
    .ordernow {
        width: 100%;
    }
}