/*
 Theme Name:   dresdenschluesseldienst child theme
 Description:  Дочерняя тема для dresdenschluesseldienst.de
 Author:       iizexii
 Template:     schluesseldienst-karl
 Version:      1.0.0
*/

.header-navigation__items {
	justify-content: space-between;
    margin-left: 0;
}

.header-navigation__item {
	position: relative;
}
.header-navigation__sublist {
	position: absolute;
    right: 0;
    top: 100%;
    z-index: 100;
    border: 1px solid transparent;
    background-color: #fff;
    max-height: 0;
    overflow: hidden;
    transition: all ease-in-out .3s;
}
.header-navigation__sublist a {
	padding: 15px 20px!important;
    color: #666!important;
}
.header-navigation__item:hover .header-navigation__sublist {
	max-height: 300px;
    border: 1px solid #666;
}
.header-navigation__item:hover .header-navigation__sublist a:hover {
    color: #f60!important;
}
@media(max-width: 767px){
	.header-navigation__sublist {
    	position: relative;
        border: unset!important;
        max-height: unset;
        margin-left: 0;
    }
    .header-navigation__sublist a {
		padding: 15px!important;
	}
}

.testim {
}
.testim__wrapper {
	height: 230px!important;
}
.testim__item {
	border-top-width: 2px;
	border-bottom-width: 2px;
	border-left-width: 2px;
	border-right-width: 2px;
	background-color: white;
	backdrop-filter: blur(0px);
	border-style: solid;
	border-color: #e5e5e5;
	background: #ffffff;
	background-color: rgb(255, 255, 255);
	border-radius: 4px;
	padding: 15px;
	margin: 0;
	font-size: 14px;
	line-height: 1.4em;
	height: 200px !important;
}
.testim__header {
	display: grid;
	grid-template-columns: 50px 1fr 30px;
}
.testim__img-wrapper {
	width: 40px;
	height: 40px;
	border-radius: 50%;
}
.testim__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}
.testim__info-wrapper {
	display: grid;
}
.testim__name {
	font-weight: bold;
	font-size: 15px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: #000000;
}
.testim__date {
	color: #000000;
	opacity: 0.5;
	font-size: 12px;
}
.testim__g-icon-wrapper {
	width: 20px;
	height: 20px;
	margin-left: auto;
}
.testim__g-icon-img {
	width: 100%;
	height: 100%;
}
.testim__body {
}
.testim__rating-wrapper {
	display: flex;
	gap: 5px;
	margin-bottom: 6px;
	margin-top: 15px;
}
.testim__rating-img {
	width: 16px;
	height: 16px;
	object-fit: contain;
}
.testim__text {
	height: 81px;
	line-height: 20px;
	font-size: 14px;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	text-align: left;
	-webkit-line-clamp: inherit;
	overflow-y: auto;
	overflow-x: hidden;
	padding-right: 10px;
	scrollbar-color: #8d8d8d #e0e0e0;
	scrollbar-width: thin;
}
.testim__pagination {
	bottom: -25px;
}
.testim__pagination .swiper-pagination-bullet-active {
	background: #f60!important;
}
.testimonails-form-btn {
    display: block;
    background-color: #F60;
    color: #fff !important;
    margin: 0 auto 55px;
    padding: 10px 38px;
    cursor: pointer;
    border-radius: 5px;
    width: max-content;
}
.comment-dialog {
    border: none;
    border-radius: 10px;
    padding: 20px;
    margin: auto;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.comment-dialog::backdrop {
    background: rgba(0, 0, 0, 0.5);
}
.comment-dialog__title {
    font-weight: bold;
    font-size: 1.25rem;
}
.comment-dialog__form {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    position: relative;
}
.comment-dialog__form label {
    margin-bottom: 5px;
}
.comment-dialog__form input,
.comment-dialog__form textarea {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    font-size: 1rem;
    resize: none;
    outline: none !important;
}
.comment-dialog__form button[type="submit"] {
    padding: 10px;
    background-color: #F60;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.comment-dialog__form button[type="submit"].sending::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    border: 3px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: spin 1s linear infinite;
}
@keyframes spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}
.comment-dialog__success {
    display: none;
    color: green;
    font-size: 1.2rem;
    text-align: center;
}
.comment-dialog__close {
    position: absolute;
    top: -40px;
    right: 0px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #F60;
}
.comment-dialog__close:hover {
    color: #d44;
}
.comment-dialog__form input.error,
.comment-dialog__form textarea.error {
    border-color: red;
}

.map iframe {
	border: 0;
	height: 450px;
	width: 100%;
}
.map:not(.active) * {
	pointer-events: none;
}

.breadcrumbs__list {
	margin: 0;
}
.breadcrumbs__list-link,
.breadcrumbs__list-link .breadcrumbs__list-link-text {
	color: #232832;
}
.footer-top__contacts {
	margin-left: 0;
}

.contacts-text__text.contacts-text__text--wide {
	width: 100%;
}
.callback {
	position: relative;
	isolation: isolate;
}
.callback:before {
	content: '';
	background-image: url('assets/images/through.webp');
  	background-size: 100%;
  	background-position: center;
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: -1;
	opacity: .25;
}
.text :is(h1, h2, h3, h4, h5, h6) {
	clear: unset;
}

.page-header.page-header--about {
	position: relative;
	isolation: isolate;
}
.page-header.page-header--about:before {
	content: '';
	background-image: url('assets/images/Uberuns1.webp');
  	background-size: 100%;
  	background-position: center;
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: -1;
	opacity: .25;
}
@media(max-width: 767px){
	.text ul {
		margin-left: 2ch;
	}
}
@media(max-width:610px){
	.text img {
		width: 100%;
	}
}
