/*
Theme Name: ck
Author: dmweb
*/

.menu-item a {
	padding: 1.563vw 0;
    position: relative;
}

.menu-item a:hover {
	color: #fbd542;
}

img {
	align-self: center;
}

.sub-menu {
    display: none;
    width: 10vw;
    position: absolute;
    left: -.781vw;
    top: 2.083vw;
    background: #ffff;
    border-radius: 0 0 .781vw .781vw;
    padding: .781vw;
}

.nav__inner li:hover .sub-menu {
	display: block;
}

.sub-menu .menu-item {
    display: block;
    padding: 0;
    margin-bottom: 1.042vw;
}

.menu-item-has-children > a:hover {
    color: #282828;
}

.menu-item-has-children::after {
    content: '';
    width: .729vw;
    height: .417vw;
    position: absolute;
    top: 35%;
    right: -25%;
    background-image: url(img/nav/arrow-down.png);
    background-size: 100% 100%;
}

.btn.error__btn {
	background-color: transparent;
	margin: 0 auto;
}

.quiz__right {
	background-color: #ffffff;
	background-position: top right;
	background-repeat: no-repeat;
}

.quiz__right-final {
	padding-bottom: 4vw;
}

.quiz__right--final {
	background-color: #fbd542;
}

.repair-hero__wrapper {
	display: flex;
	align-items: center;
}

.repair-hero__link {
	background: none;
	border: 0;
	cursor: pointer;
}

.contacts__item-list .menu-item a {
	padding: 0;
	display: block;
    max-width: 15vw;
    margin-bottom: .521vw;
    color: #747474;
    font-size: .833vw;
}

.contacts__item-list .menu-item a:hover {
	    color: #fbd542;
}

.modal.modal-politics {
	background: #ffffff;
	padding: 2vw;
	border-radius: 2vw;
	top: 2vw;
}

.modal__close.politics__close {
	top: 2%;
}

.footer__link {
	background: none;
	border: 0;
	cursor: pointer;
}

.services__btn,
.works__block-btn,
.pservices-hero__btn,
.portfolio__btn {
	margin-left: auto;
	margin-right: auto;
}

.repair-hero__btn {
	margin-left: 0;
}

.services__item:hover {
	z-index: 999;
}

span.hero__form-check {
	background-color: transparent;
	border: 1px solid #fbd542;
}

.hero__form-check img {	
		display: none;
}

.rhide:checked ~ span.hero__form-check {
	background-color: #fbd542;
}

.rhide:checked ~ span.hero__form-check img {
	display: block;
}

.hero__form-label {
	border: 0;
    background: 0;
    padding: 0;
    text-align: left;
	cursor: pointer;
}

.nav__phone.header__phone {
	align-self: flex-start;
    padding-left: 4rem;
	display: none;
}

.hero__form-socials.nav__socials {
	display: none;
}
.reviews__slider-item {
	margin-left: 1rem;
	margin-right: 1rem;
}

.works__slider .slick-slide img {
	border-radius: 1.6rem;
}

@media (max-width: 900px) {
	.nav__phone.header__phone {
		display: flex;
	}
	
	.hero__form-socials.nav__socials {
		display: flex;
		padding-left: 4rem;
		margin-bottom: 4rem;
	}
	.contacts__item-list .menu-item a {
		max-width: 25rem;
		margin-bottom: .5rem;
		font-size: 1rem;
	}
	.nav__inner-wrap {
		width: 100%;
		height: 100%;
		display: flex;
		padding-top: 5rem;
		flex-direction: column;
		overflow: scroll;
	}
	
	.menu-item a {
		padding: 1.4rem 0;
		display: block;
	}

	.menu-item-has-children::after {
		width: 1.3rem;
		height: .8rem;
		top: 40%;
	}
	
	.menu-item-has-children {
		margin-bottom: 11rem;
	}

	.sub-menu {
		display: block;
		width: 19rem;
		left: 50%;
		transform: translateX(-50%);
		top: 4rem;
		text-align: center;
	}
}

@media (max-width: 567px) {
	.repair-hero__title {
		text-align: center;
	}
	
	.repair-hero__btn.btn {
		margin-right: 0;
	}
	
	.header__inner .header__wrapper-right {
		display: flex;
		margin: 0;
	}
	
	.header__inner .header__btn {
		display: none;
	}
	
	.header__inner {
		flex-direction: column;
	}
	
	.header__wrapper {
		    align-self: flex-start;
	}
}
