/*
Theme Name: Growwweb
Theme URI: Адрес сайта, посвященного данной теме
Description: Описание темы 
Version: 1.0
Author: Growwweb
Author URI: https://growwweb.com
*/

@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@300;400;700&display=swap');

* {
	font-weight: <weight>;
}
b, strong {
	font-weight:700;
}
html {
	height: 100%;
	font-size: 16px; /* Базовый размер (1rem) */
}
body {
	font-family: "Fira Sans", sans-serif;
	font-weight: 400;
	font-style: normal;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	font-optical-sizing: auto;
}
h1 {
	/*font-size: clamp(2rem, 5vw, 3rem);*/
	padding: 2rem 0 1rem;
}
h2 {
  font-size: clamp(1.5rem, 4vw, 2rem); /* Динамический рост */
  padding: 1rem 0;
}
p {
  font-size: 1rem; /* Фиксированный относительно html */
  padding: 1rem 0;
  line-height: 1.5em; /* Относительно текущего размера шрифта */
}
h2 + p {
	padding: 0 0 1rem 0;
}
a {
	color: #7452ac;
	transition: all 0.4s ease;
}
a:hover, a:focus, a:active {
	color: #6878e2;
	text-decoration: none;
}


header, footer {
	flex: 0 0 auto;
}
main {
	flex: 1 0 auto;
}
.container {
	padding: 0;
	max-width: 1320px;
	width: 100%;
	margin: auto;
	height: 100%;
}

.flex_block {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 100%;
}




/*ol {ounter-reset: num;}
ol li {	counter-increment: num;}
ol li::before {content: counter(num);}*/

article ul li {
	list-style: disc outside;
	margin: 0 20px 20px;
}
article ol li {
    list-style: decimal outside;
    margin: 0 20px 20px;
}



/* TOP */

header {
	background: #f9fafb;
	height: 70px;
	position: fixed;
	width: 100%;
	z-index: 1;
}






/* МЕНЮ */

/* UL с меню */
.navbar-nav {
    gap: 20px;              /* пространство между пунктами меню */
}

/* Пункты меню */
.navbar-nav > li > a, .navbar-nav > .nav-link {
	font-size: 16px;
	font-weight: 500;
	color: #222;
	padding: 25px 15px;
	text-decoration: none;
}

/* Активные и hover состояния */
.navbar-nav > li > a:hover,
.navbar-nav > .nav-link:hover,
.navbar-nav > .current-menu-item > a,
.navbar-nav > .current-menu-item > a:focus,
.navbar-nav > .current-menu-item > a:hover,
.navbar-nav > li.current-menu-ancestor > a,
.navbar-nav > li.current-menu-parent > a {
    background: transparent;
    color: #6878e2;
}

/* Убрать псевдоэлементы, если есть */
.navbar-nav::before,
.navbar-nav::after {
    display: none;
}




/* HEADER */

.logo_block img {
	width: 100px;
	height: auto;
}

.phone_block {
	display: flex;
	align-items: center;
	/*gap: 1em;*/
}
.phone_block > a {
	font-weight: 700;
	color: #111;
	font-size: 18px;
}
.social-links {
	display: flex;
	align-items: center;
	gap: 15px;
}
.soc-icon {
	color: #333;
	width: 25px;
	transition: 0.4s ease;
}
.wt .soc-icon {
	width: 22px;
}
.wt:hover .soc-icon  {color: #25D366; transform: scale(1.05);}
.tg:hover .soc-icon  {color: #0088cc; transform: scale(1.05);}





#about strong {
	color: #ffde00;
}



.eb-ah-title {
	display: flex;
	flex-direction: column;
}
.eb-row-y5562.eb-row-root-container {
	background-color: transparent;
	background-size: 100%;
}
.eb-advance-heading-wrapper.eb-advance-heading-lpo1o h4.eb-ah-title .first-title {
	background: #000;
	color: #ffde00;
	padding: 1em;
	line-height: 1.5rem;
	border-radius: 15px;
}






#service ul li {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960' width='32px' fill='%23000000'%3E%3Cpath d='m424-312 282-282-56-56-226 226-114-114-56 56 170 170ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm0-80h560v-560H200v560Zm0-560v560-560Z'/%3E%3C/svg%3E") no-repeat 0 -2px;
	padding: 0px 20px 20px 50px;
	font-size: 18px;
}




/* INSIDE */

.articles {
	display: flex;
	flex-flow: wrap;
}

.articles > article h2 {
    font-size: 18px;
    line-height: 24px;
    height: 60px;
    padding: 0 0 10px;
    font-weight: 600;
    align-items: flex-end;
    display: flex;
}
.articles > article .post_img {
	width: 100%;
	height: 250px;
	display: block;
}
.articles > article .post_img .thumb_img {
	width: 100%;
	height: 100%;
	display: block;
	overflow: hidden;
}
.articles > article .post_img img {
	object-fit: cover;
	width: 100%;
	height: 100%;
	object-position: 50% 30%;
}

article h1, .category h1 {
	padding: 0 0 30px;
	font-weight: 600;
}
article h3 {
	font-size: 25px;
	padding: 20px 0;
	font-weight: 600;
}
article h4 {
	font-size: 22px;
	padding: 20px 0;
	font-weight: 600;
}
article p {
	padding: 10px 0 15px;
	font-size: 16px;
}
article ul li {
	list-style: disc inside none;
	margin: 5px 10px 15px;
}
article ol li {
	list-style: decimal inside none;
	margin: 5px 10px 15px;
}

.type-post .post_image {
	float: left;
	margin: 0 50px 50px 0;
	width: 30%;
}
.type-post .post_image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.type-page .post_image {
	float: right;
	margin: 0 50px 50px 0;
	width: 30%;
}
.type-page .post_image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}









/* BREADCRUMBS */

.breadcrumbs {
	background: #fbfbfb;
	padding: 10px 20px;
	font-size: 13px;
	margin: 0 0 20px;
	font-weight: 300;
}






/* 404 */
.error-404 {text-align: center;	display: flex;}


.ff-message-success {
  border: 0;
  box-shadow: none;
}








/* FOOTER */

footer {
	background: #111;
	padding: 30px 0;
	color: #fff;
}
footer a {
	color: #f5f5f5;
}
.col-md-12.foot_line {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.footer_content {
	display: flex;
	justify-content: space-between;
	clear: both;
	padding: 15px;
	font-size: 13px;
	font-weight: 300;
}
.footer_content a {
	color: #fff;
}



/*.up {
	position: absolute;
	right: 0;
	bottom: 92px;
	background: #ffffff7a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48px' viewBox='0 -960 960 960' width='48px' fill='%23ffffff'%3E%3Cpath d='M480-554L283-357l-43-43 240-240 240 240-43 43-197-197Z'/%3E%3C/svg%3E") no-repeat center;
	height: 36px;
	width: 36px;
	cursor: pointer;
	font-size: 0;
	border-radius: 0;
	opacity: 0.4;
	float: right;
	transition: 0.5s;
}
.up:hover {
	opacity: 0.8;
}*/