/*
Theme Name: PROkras
Author: ctr99.ru
Author URI: https://ctr99.ru/
Description: Разработана в январе 2022 года специально для проекта по покраске пиломатериалов.
Version: 1.0
*/

/* Цвета сайта */
body {
	--main-green: 50,116,49;
}

h1, h2, h3, h4, h5, h6, body, button, input, textarea {
	hyphens: auto;
	word-break: unset;
	-webkit-hyphens: auto;
}

/* базовый стиль для ссылок */
main a {
	color: rgb(var(--main-green));
}

main a:hover {
	color: rgba(var(--main-green), 0.8);
	text-decoration: none;
}

.main-green {
	color: rgb(var(--main-green));
}

.main-green-bg {
	background-color: rgb(var(--main-green));
}

.faded-green-bg {
	background-color: rgba(var(--main-green), 0.08);
}

.faded-green-bg a {
	color: rgb(var(--main-green));
}

.faded-green-bg a:hover {
	color: rgba(var(--main-green), 0.8);
	text-decoration: none;
}

footer a {
	color: white;
	text-decoration: none;
}

footer div {
	color: white;
}

footer a:hover {
	color: white;
	text-decoration: underline;
}

@media (max-width: 575px) {
	footer .logo {
		background-position-x: center;
	}
}


.img-services {
	width: 500px;
}

.img-size {
	width: 300px;
	height: 200px;
}


/*Выделение текста*/
::selection {
	background: rgb(var(--main-green));
	color: rgb(255,255,255);
}

/* Стилизация формы */

.form-wrapper {
	background: rgba(var(--main-green), 0.1);
	border: 5px solid;
	border-color: rgba(var(--main-green), 0.2);
	border-radius: 5px;
}

@media screen and (max-width: 992px) {
	.form-wrapper {
		width: 100%;
	}
}

.wpcf7 form .wpcf7-response-output {
	margin-left: 0;
	margin-right: 0;
}


/* основная кнопка */
a.button-main {
	background-color: rgb(var(--main-green));
	color: white;
	font-size: 20px;
	font-weight: 700;
	line-height: 24px;
	padding: 16px 23px;
	text-decoration: none;
}

a.button-main:hover {
	background-color: rgba(var(--main-green), 0.8);
	cursor: pointer;
	color: white;
}

/* Цитата */

blockquote.blockquote {
	border-left: 8px solid rgb(var(--main-green));
	padding: 1rem;
	background-color: rgba(var(--main-green), 0.08);
	font-size: 1rem;
}

blockquote.blockquote footer {
	margin-top: 1rem;
}


/*Липкий хэдер*/

.sticky-header {
	background: #ffffff;
	z-index: 1000;
	width: 100%;
	-webkit-box-shadow: 0 5px 18px rgb(0 0 0 / 24%);
	box-shadow: 0 5px 18px rgb(0 0 0 / 24%);
	position: fixed;
}

/*Кнопки*/
@media screen and (min-width: 992px) {
	nav.navbar-light .navbar-nav .nav-link.active {
		background: rgb(var(--main-green));
		border-radius: 5px;
		color: #fff;
	}
}

@media screen and (max-width: 991px) {
	nav.navbar-light .navbar-nav .nav-link.active {
		background: #EFF4EF;
		color: rgb(var(--main-green));
	}

	nav.navbar-light .navbar-nav .nav-link {
		color: rgb(var(--main-green));
		padding-right: 0.3rem;
		padding-left: 0.3rem;
	}

}

/*Как работаем*/

.circle-green {
	background-color: rgb(var(--main-green));
	border-radius:50%;
	font-size:30px;
	color: #fff;
	padding:10px 25px;
}

.step-circle {
	position: relative;
	z-index: 2;
	padding: 0;
	border-radius: 100%;
	width: 60px;
	height: 60px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	line-height: 1;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.step-circle.soft-primary {
	background-color: hsla(104, 100%, 25%, .15);
	color: hsla(104, 100%, 25%, 1);
}

/*404*/
.img-404 {
	width: 580px;
}

@media screen and (max-width: 768px) {
	.img-404  {
		width: 350px;
	}
}

@media screen and (max-width: 576px) {
	.img-404  {
		width: 200px;
	}
}


/*Для блока пояснения и цены нестандартных услуг*/
.price-title-abs {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
}

@media screen and (max-width: 575px) {
	.price-title-abs {
		position: inherit;
		top: 0;
		right: 0;
		bottom: 0;
		margin-top: 10px;
	}
}

/*Доставка*/
.delivery-car p {
	margin: 0;
}

.table-delivery thead {
	background-color: rgb(var(--main-green));
	color: #fff;
}

.search-title {
	margin-top: 40px;
	margin-bottom: 25px;
}

/*Авторы сайта*/
.wrapper-author-site {
	margin-top: 20px;
	font-size: 12px;
	text-align: center;
}

.wrapper-author-site p {
	margin-bottom: 0;
}

/*+/- могут использоваться на всем сайте*/
.painting-comparison {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  font-family: sans-serif;
}

.pros, .cons {
  flex: 1;
}

.pros p.title {
  color: #2e7d32;
  border-bottom: 1px solid #cce5cc;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.cons p.title {
  color: #c62828;
  border-bottom: 1px solid #f4cccc;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

div.painting-comparison ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

div.painting-comparison li {
  margin-bottom: 10px;
  line-height: 1.5;
  position: relative;
  padding-left: 24px;
}

.painting-comparison ul,
div.pros ul,
div.cons ul 
{
    padding: 0;
  }

.pros li::before,
.cons li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  font-size: 18px;
  width: 20px;
  text-align: center;
}

.pros li::before {
  content: "+";
  color: #2e7d32;
}

.cons li::before {
  content: "−";
  color: #c62828;
}

.note {
  display: block;
  font-size: 0.9em;
  color: #666;
  margin-left: 20px;
}

@media (max-width: 768px) {
  .painting-comparison {
    flex-direction: column;
  }
}