/*
Theme Name: House
Theme URI:  https://www.wpserveur.net
Author:     DM
Author URI: https://www.wpserveur.net
Template:   hello-elementor
Version:    1.0
License:    GNU General Public License v2 or later
*/

@media only screen and (max-width: 768px){
    html,
    body {
        width: 100%;
        overflow-x: hidden;
    }
}



.subheader{
	
	color: var(--e-global-color-4de8dbf);
}
.e-con.e-flex>.e-con-inner {
	padding: 0px 5%;
	width: 100% !important;
	max-width: 100% !important;
}
.promo-button{
	min-width: 200px;
}

a { text-decoration: none; }

.elementor-image-box-content{
	/*padding: 0px 20px;*/
}

.object-table-container{
	
}

.dm-form-text{
	display: flex;
    gap: 10px;
}
.dm-form-btn{
	display: flex;
}

.cky-btn {
   background-color: #E8B355 !important;
   border: 0px !important;
}
.object-table{
	
}
.object-table ol, 
.object-table ul{
	padding: 0px;
}

.object-table ul li,
.object-table ol li {
  list-style: none;
}

.object-table ol li {
  display: flex;
  justify-content: space-between;
}

.object-table li div:nth-child(2) {
  flex: 1 0;
  border-bottom: 1px dotted #000;
  height: 1em;
  margin: 0 .4em;
}

.descr-part{
	font-size: 14px;
	color: #333;
	font-weight: 500;
	display: block;
}

.descr-part-gold{
	font-size: 14px;
	color: var(--e-global-color-5e0ba6d);
	font-weight: 500;
	display: block;
}
.dm-title-decor-2,
.dm-title-decor{
	position: relative;
	z-index: 20;
}
.dm-title-decor::before,
.dm-title-decor-2::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 10px;
    width: 120px;
    height: 33px;
    background: var(--e-global-color-4de8dbf);
    transform: skewX(-32deg);
    z-index: -1;
    display: flex;
    align-items: center;
    white-space: nowrap;
}	

.dm-title-decor-2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: -10px;
    width: 120px;
    height: 33px;
    background: white;
    transform: skewX(-32deg);
    z-index: -1;
    display: flex;
    align-items: center;
    white-space: nowrap;
}	

.dm-title{
	font-family: "Montserrat", Sans-serif;
    font-size: 60px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--e-global-color-5e0ba6d);
}

p, a{
	font-family: "Montserrat", Sans-serif;
}


/* Стили для блока сортировки */
.dm-project-archive-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    gap: 20px;
}

.dm-project-archive-sort {
    background: #f5f5f5;
    padding: 10px 15px;
    border-radius: 5px;
}

.dm-project-archive-sort form {
    display: inline-block;
}

.dm-project-archive-sort label {
    margin-right: 10px;
    font-weight: 500;
}

.dm-project-archive-sort select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    font-size: 14px;
}

.dm-project-archive-sort select:hover {
    border-color: #aaa;
}

.dm-project-archive-sort select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .dm-project-archive-header {
        flex-direction: column;
        align-items: flex-start;
    }
}


@media (max-width: 575px) {
    .page-header .entry-title, .site-footer .footer-inner, .site-footer:not(.dynamic-footer), .site-header .header-inner, .site-header:not(.dynamic-header), body:not([class*=elementor-page-]) .site-main {
		padding: 0px 2% !important;
    }
}

@media (max-width: 768px) {
    .dm-title{
		font-size: 32px;
	}
	
	.dm-form-btn p,	
	.dm-form-text{
		display: flex;
        flex-direction: column;
        width: 100%;
	}

}	

/* popup */
#popmake-1618 .pum-container.pum-responsive {
	width: auto !important;
}

/*contact form 7*/

.dm-feedback-form{
	
}

.dm-feedback-form [type=submit]{
	background-color: var(--e-global-color-4de8dbf);
    border: none !important;
    border-radius: 5px !important;
    padding: 15px 40px;
	color: white;
}
.dm-feedback-form [type=submit]:hover{
	background-color: var(--e-global-color-accent);
}


.dm-feedback-form .wpcf7-not-valid-tip{
	color: var(--e-global-color-4de8dbf) !important;
}

.dm-feedback-form .captcha-image{
	width: 220px !important;
	border: 0px !important;
}

.dm-feedback-form label{
	margin: 10px 0px;
}

.dm-feedback-form .wpcf7-list-item {
	margin: 5px 0px !important;
}
.dm-feedback-form .wpcf7-list-item-label{
	font-size: 12px;
}

@media only screen and (min-width: 1024px) {
    .pum-container.pum-responsive.pum-responsive-small {
        margin-left: -20%;
        width: auto !important;
    }
}


.dm-copyright a{
	font-size: 12px;
	width: 100%;
	text-align: center;
	color: var(--e-global-color-d5a9901);
}
.dm-copyright a:hover{
	color: var(--e-global-color-d5a9901);
}

.dm-btn{
	
}

.dm-btn .elementor-button {
	width: 100% !important;
}

.dm-contact-form{
	width: 100%;
	margin-top: 20px;
    padding: 20px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.dm-contact-form textarea{
	height: 130px;
}

.dm-contact-form label{
	width: 100%;
}

.dm-contact-form [type=submit] {
    background-color: var(--e-global-color-4de8dbf);
    border: none !important;
    border-radius: 5px !important;
    padding: 15px 40px;
    color: white;
}
.dm-contact-form [type=submit]:hover {
    background-color: var(--e-global-color-accent);
    border: none !important;
    border-radius: 5px !important;
    padding: 15px 40px;
    color: white;
}


.dm-contact-form input[type=date],.dm-contact-form input[type=email],.dm-contact-form input[type=number], .dm-contact-form input[type=password], .dm-contact-form input[type=search], .dm-contact-form input[type=tel], .dm-contact-form input[type=text], .dm-contact-form input[type=url], .dm-contact-form select, .dm-contact-form textarea {
   border: 1px solid #d3d3d3;
}

/* dm-sticky.css 
Для настройки отступов снизу и сверху используйте CSS переменные прямо в HTML:
<div class="dm-sticky-item" style="--top-offset: 20px; --bottom-offset: 20px;">
*/
.dm-sticky-container {
  position: relative;
}

.dm-sticky-item {
  position: sticky;
  top: var(--top-offset, 0px);
}

.dm-gallery .gallery-item img {
    height: 400px;
	object-fit: cover;
}

.dm-link{
	color: var(--e-global-color-accent);
	font-weight: 600;
}