/*
Theme Name: Interior Design
Theme URI: http://cmsmasters.net/interior-design/
Author: cmsmasters
Author URI: http://cmsmasters.net/
Description: Interior Design WordPress Theme is amazing. Unlimited design solutions can be created due to a great flexibility of settings and shortcode options. 99+ Custom Shortcodes are added through a Visual content composer with  drag'n'drop function. You can set a completely custom layout that stretches to any width, set your content in many columns and assign animation many parts of your content. Interior Design theme has a Portfolio that can be set to any sort of a grid or a Masonry puzzle with variable paddings for elements, while Blog can have several different layouts too. Custom Profiles and Projects post types offer an optimal way to present your content, while valid code, SEO-optimized structure and microformats guarantee this content is easily crawled and indexed by search engines. Interior Design comes with a Custom Mega Menu plugin, premium Revolution and Layer Slider plugins included for free. Multilanguage, RTL-ready, plugin-compatible and professionally-supported theme.
Version: 1.2.8
License:
License URI:
Text Domain: interior-design
Domain Path: /framework/languages
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
*/


/*-------------------------------------------------------------------------*/
/* Browser Reset
/*-------------------------------------------------------------------------*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
figure,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  background: transparent;
  border: 0;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  outline: none;
}
html {
  height: 100%;
  overflow-x: hidden;
  position: relative;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
body {
  overflow-x: hidden;
  position: relative;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.portfolio-custom_btn{
	position: absolute;
    right: 0;
    top: 20px;
    padding: 13px 20px;
    border: 1px solid #BDA87F;
	
	transition: all 0.3s ease;
	&:hover {
        background-color: #BDA87F;
        color: #FFFFFF !important;
    }
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
object,
video,
audio,
embed,
canvas,
iframe,
main,
summary {
  display: block;
}
video,
audio,
progress,
canvas {
  vertical-align: baseline;
}
video {
  background-color: #000000;
}
template,
[hidden],
audio:not([controls]) {
  display: none;
}
audio:not([controls]) {
  height: 0;
}
iframe {
  max-width: 100%;
}
abbr,
address,
progress {
  display: inline-block;
  text-decoration: none;
}
abbr:not([class]),
acronym {
  text-decoration: underline;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}
#middle ul:after,
#bottom ul:after,
#middle ol:after,
#bottom ol:after {
  content: '.';
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
  overflow: hidden;
}
dl {
  display: block;
  overflow: hidden;
}
dt {
  display: block;
  font-weight: bold;
  overflow: hidden;
}
dd {
  display: block;
  overflow: hidden;
}
q:before,
q:after {
  content: none;
}
del {
  text-decoration: line-through;
}
table {
  width: 100%;
}
img {
  display: inline-block;
  color: transparent;
  height: auto;
  font-size: 0;
  vertical-align: middle;
  max-width: 100%;
  image-rendering: -moz-crisp-edges;
  image-rendering: -o-crisp-edges;
  image-rendering: auto;
  image-rendering: auto;
  -ms-interpolation-mode: bicubic;
}
img.wp-smiley,
img.emoji {
  font-size: 1em;
}
a {
  background: transparent;
}
a:active,
a:hover {
  outline: 0;
}
img {
  border: 0;
}
figure {
  background-image: none !important;
}
fieldset {
  margin: 25px 2px 30px;
  padding: 1.5em 1em .5em;
  border-width: 0;
  border-style: solid;
}
fieldset legend {
  padding: 3px 10px;
  margin-top: -25px;
}
input {
  line-height: normal;
}
button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}
textarea {
  resize: vertical;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}
optgroup {
  font-weight: bold;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  height: auto;
}
input[type=search] {
  -webkit-appearance: textfield;
}
input[type=submit],
input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}
input[type="checkbox"],
input[type="radio"] {
  padding: 0;
}
button {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
select {
  cursor: pointer;
}
button[disabled],
html input[disabled] {
  cursor: default;
  pointer-events: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
input[type=text]::-ms-clear {
  display: none;
}
p:empty {
  display: none;
}
:focus {
  outline: 0;
}
pre,
code,
kbd,
samp {
  background-color: transparent;
  color: inherit;
  font-family: monospace;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  font-style: inherit;
  letter-spacing: 1px;
}
pre {
  white-space: pre-wrap;
}
pre a {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  font-style: inherit;
  letter-spacing: inherit;
}
code {
  display: inline-block;
}
code a {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  font-style: inherit;
  letter-spacing: inherit;
}
svg:not(:root) {
  overflow: hidden;
}
sub,
sup,
small {
  font-size: 75%;
}
sub,
sup {
  line-height: 0;
  position: relative;
}
sup {
  vertical-align: super;
}
sub {
  vertical-align: sub;
}
b,
strong {
  font-weight: bold;
}
th,
td,
caption {
  font-weight: normal;
}
dfn {
  font-style: italic;
}
hr {
  height: 0;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}
mark {
  color: #000000;
}
.sticky,
.bypostauthor,
.screen-reader-text {
  outline: none;
}

.projects-intro-wrapper {
    width: 100%;
    padding-inline: 50px;
	margin-block: 100px;
	
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}
.project-intro {
    display: flex;
    flex-direction: column;
    gap: 12px;
	
	p {
		margin-top: auto;
	}
}

.project-intro-image-wrapper {
    width: 100%;
    /* aspect-ratio: 10/11; */
    height: 450px;

    position: relative;
}
.project-intro-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}

.project-intro-texts {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.project-intro-title {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
}
.project-intro-subtitle {
    font-size: 16px;
    color: #828288;
    line-height: 1.5;
}

.project-intro-btn {
    width: 70%;
    margin-top: auto;

    padding: 13px 20px;
    font-size: 16px;
    font-weight: 500;
    color: #BDA87F;

    border: 1px solid #BDA87F;
}

/* 992px - 1200px */
@media screen and (max-width: 1200px) {
    .projects-intro-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
	.portfolio-custom_btn {
		position: unset;
		display: grid;
        place-items: center;
		width: 100%;
		margin-bottom: 10px;
	}
}

/* 576px - 768px */
@media screen and (max-width: 768px) {
	.project-intro-image-wrapper {
		height: 300px;
	}
/* 	.portfolio-custom_btn {
		position: unset;
		display: grid;
        place-items: center;
		width: 100%;
		margin-bottom: 10px;
	} */
    .projects-intro-wrapper {
        grid-template-columns: repeat(1, 1fr);
    }
}

.banners-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
	margin-top: 50px;
    margin-bottom: 100px;
}

.banner {
    min-height: 400px;
    background: linear-gradient(225deg, #fff 0%, #f4f4f4 25%, #f4f4f4 75%, #fff 100%);
    padding: 24px 54px;

    position: relative;
    overflow: hidden;
}
.banner-link {
    position: absolute;
    width: 100%;
    height: 100%;
}
.banner-title {
    font-size: 44px;
    font-weight: bold;
	line-height: 1.2;
    position: relative;
    z-index: 3;
	color: #000000;

    &::before {
        content: '';
        position: absolute;
        top: 12px;
        left: -26px;

        display: block;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background-color: #BDA87F;
    }
}
.banner-img {
    position: absolute;
    bottom: 30px;
    right: -15%;
    z-index: 2;
}

/* 768px - 992px */
@media screen and (max-width: 992px) {
	.banner-img {
        scale: 0.85;
        bottom: -5%;
    }
}

/* 576px - 768px */
@media screen and (max-width: 768px) {
    .banners-wrapper {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    .banner-img {
        scale: 0.75;
        bottom: 0;
        right: -30%;
    }
}

.footer-tel-link {
	font-size: 20px;
	font-weight: 700;
	color: #FFFFFF !important;
}
.footer-worktime {
	font-size: 16px !important;
	margin-top: 12px !important;
}

.footer-link-custom {
	color: #FFFFFF !important;
}

/*--------------- Custom blocks ---------------*/
.custom-container {
	max-width: 1146px;
	margin: 0 auto;
}
.custom-column {
    min-height: 400px !important;
    background: linear-gradient(225deg, #fff 0%, #f4f4f4 25%, #f4f4f4 75%, #fff 100%) !important;
    padding: 24px 54px !important;

    position: relative !important;
    overflow: hidden !important;
	
	&:not(:first-child) {
		margin-bottom: 100px !important;
	}
}
.custom-position-link, .custom-service-link, .card-form-full-link {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
	z-index: 5;
	
	p {
		padding: unset;
		width: 100%;
    	height: 100%;
	}
	a {
		position: relative;
		display: inline-block;
		width: 100%;
    	height: 100%;
	}
}

.custom-position-title {
    font-size: 44px !important;
    font-weight: bold !important;
    position: relative !important;
    z-index: 3 !important;
    color: #000000 !important;
	line-height: 1.1 !important;
	max-width: 50% !important;
    text-wrap: balance !important;

    &::before {
        content: '';
        position: absolute;
        top: 12px;
        left: -26px;

        display: block;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background-color: #BDA87F;
    }
}
.custom-position-photo {
    position: absolute !important;
    bottom: 10px !important;
    right: -15% !important;
    z-index: 2 !important;
	
	&.photo-1 {
		width: 70%;
	}
	&.photo-2 {
		width: 50%;
		bottom: 30px !important;
	}
}

/* 768px - 992px */
@media screen and (max-width: 992px) {
	.custom-position-photo {
        scale: 0.85 !important;
		
		&.photo-1 {
			width: 100% !important;
			bottom: -7% !important;
			right: -30% !important;
		}
		&.photo-2 {
			width: 65% !important;
			bottom: 0 !important;
			right: -20% !important;
		}
    }
}

/* 576px - 768px */
@media screen and (max-width: 576px) {
	.custom-position-title {
		max-width: 100% !important;
	}
    .custom-position-photo {
        scale: 0.75 !important;
		
        &.photo-1 {
			bottom: 0 !important;
			scale: 1 !important;
		}
		&.photo-2 {
			width: 80% !important;
			right: -25% !important;
		}
    }
}

.custom-cards-wrapper {
	margin-top: 50px;
}
.custom-card {
	min-height: 540px !important;
}
.custom-card .cmsms_heading_align_center {
	width: 100% !important;
	position: absolute !important;
	bottom: 0 !important;
	margin-bottom: 0 !important;
}
.custom-card-img {
	overflow: hidden;
}
.custom-card:hover .custom-card-img > img {
	transition: all 0.3s ease;
	scale: 1.05;
}

.custom-card-width {
	min-height: 530px !important;
}
.custom-card-btn {
	position: absolute;
	bottom: 0;
}
.custom-card-subtitle {
	margin-bottom: 40px !important;
}

.custom-advantage {
    /* height: 425px; */
}

.wpcf7-submit {
	background-color: #BDA87F !important;
	color: #fff !important;
	border: unset !important;
}
/* 320px - 576px */
@media screen and (max-width: 576px) {
	.wpcf7-submit {
		width: 100% !important;
	}
}



.custom-card-heading-btn {
    position: absolute;
	left: 0;
	bottom: 0;
	z-index: 10;
	text-wrap: nowrap;

    padding: 6px 20px;
    font-size: 16px;
    font-weight: 500;
    color: #BDA87F;

    border: 1px solid #BDA87F;
	cursor: pointer;

    transition: all 0.3s ease;

    &:hover {
        color: white;
        background-color: #BDA87F;
    }
}

/* @media screen and (min-width: 1300px) {
	.modal-window .cmsms_contact_form {
		max-width: 54%;
	}
	.modal-window .cmsms_icon_wrap {
		display: none !important;
	}
	.modal-close-btn {
		display: none;
	}
}
 */

.modal-window .wpcf7-spinner {
	display: none;
}

.modal-close-btn {
	cursor: pointer;
}

/* 320px - 576px */
@media screen and (max-width: 576px) {
	.modal-close-btn {
		top: -30px;
		right: -10px;
	}
}

.modal-window {
    display: none;

    &.visible {
        display: block;

        /* width: 600px;
        min-height: 300px;
        position: fixed;
        top: calc(50% - 150px);
        left: calc(50% - 300px); */
		
		max-width: 50%;
		position: fixed;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
        z-index: 50;

        background-color: white;
        box-shadow: 0 7px 15px 0 rgba(0, 0, 0, 0.25);
    }
}
.modal-window .cmsms_row_inner {
	width: auto !important;
}
.modal-bg {
    display: none;

    &.visible {
        display: block;

        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 40;

        background-color: rgba(0, 0, 0, 0.25);
    }
}

/* 576px - 768px */
@media screen and (max-width: 768px) {
	.custom-card {
		margin-bottom: 60px !important;
	}
	
	.modal-window {
		&.visible {
			max-width: 90%;
            top: 60%;
			left: 50%;
			transform: translate(-50%, -60%);
	   }
	}
}

/* 320px - 576px */
@media screen and (max-width: 576px) {
	.modal-title {
		display: none !important;
	}
}


/* Custom footer-template */
.bottom_bg {
	padding-inline: 100px !important;
	padding-top: 100px !important;
    padding-bottom: 100px !important;
    background: #252531 !important;
}
/* 320px - 576px */
@media screen and (max-width: 576px) {
	.bottom_bg {
		padding-inline: 20px !important;
	}
}
.bottom_inner .widgettitle {
	font-size: 16px !important;
	line-height: 1.5 !important;
    margin-bottom: 14px !important;
    position: static !important;
    color: white !important;
}
.textwidget > a {
	color: white;
}
.widget ul li a {
    color: white !important;
    font-size: 16px !important;
    line-height: auto !important;
}


.cmsms_project_content.entry-content {
	p, li {
		font-size: 16px !important;
		color: #202020 !important;
		font-weight: 400 !important;
	}
}
/* .cmsms_project_content.entry-content li {
	font-size: 16px !important;
	color: #202020 !important;
	font-weight: 400 !important;
} */
.custom-card-service {
	
}
.custom-card-img-height img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
.custom-card-subtitle-service {
	margin-bottom: 50px !important;
}
/* .card-link-btn-price {
	position: absolute;
	left: 0;
	bottom: 0;
	padding: 8px 14px;
	
	font-size: 16px;
	color: #BDA87F;
	border: 1px solid #BDA87F;
	
	user-select: none;
	cursor: pointer;
	
	transition: all 0.3s ease;
	
	&:hover {
		color: #FFF;
		background: #BDA87F;
	}
} */
.card-form-link {
	p {
		padding: 0;
	}
	
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 10;
	padding: 8px 14px;
	
	background: #BDA87F;
	border: 1px solid #BDA87F;
	
	user-select: none;
	cursor: pointer;
	
	transition: all 0.3s ease;
	
	a {
		color: #FFF;
		font-size: 16px;
		font-weight: 400;
	}
}
/* .card-link-btn-more {
	position: absolute;
	right: 0;
	bottom: 0;
	padding: 8px 14px;
	
	font-size: 16px;
	color: #BDA87F;
	border: 1px solid #BDA87F;
	
	user-select: none;
	cursor: pointer;
	
	transition: all 0.3s ease;
	
	&:hover {
		color: #FFF;
		background: #BDA87F;
	}
} */
.card-form-link-external {
	p {
		padding: 0;
	}
	
	position: absolute;
	left: 32%;
	bottom: 0;
	padding: 8px 14px;
	border: 1px solid #FFF;
	
	user-select: none;
	cursor: pointer;
	
	transition: all 0.3s ease;
	
	a {
		font-size: 16px;
		font-weight: 400;
	}
	
	&:hover {
		border: 1px solid #BDA87F;
	}
}

@media screen and (max-width: 1200px) {
	.card-form-link-external {
		left: 37%;
	}
}
@media screen and (max-width: 1050px) {
	.card-form-link-external {
		left: 42%;
	}
}
@media screen and (max-width: 950px) {
	.card-form-link-external {
		left: 48%;
	}
}
@media screen and (max-width: 850px) {
	.card-form-link-external {
		left: 55%;
	}
}

@media screen and (max-width: 768px) {
	.card-form-link-external {
		right: 0;
		left: unset;
	}
}


html {
	scroll-behavior: smooth !important;
}

.article-text-wrapper {
	p {
		font-size: 16px !important;
        color: #202020 !important;
        font-weight: 400 !important;
	}
}