/**
Theme Name: Astra
Theme URI: https://wpastra.com/
Author: Brainstorm Force
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: The Astra WordPress theme is lightning-fast and highly customizable. It has over 1 million downloads and the only theme in the world with 5,700+ five-star reviews! It’s ideal for professional web designers, solopreneurs, small businesses, eCommerce, membership sites and any type of website. It offers special features and templates so it works perfectly with all page builders like Spectra, Elementor, Beaver Builder, etc. Fast performance, clean code, mobile-first design and schema markup are all built-in, making the theme exceptionally SEO-friendly. It’s fully compatible with WooCommerce, SureCart and other eCommerce plugins and comes with lots of store-friendly features and templates. Astra also provides expert support for free users. A dedicated team of fully trained WordPress experts are on hand to help with every aspect of the theme. Try the live demo of Astra: https://zipwp.org/themes/astra/
Version: 4.11.1
Requires at least: 5.3
WC requires at least: 3.0
WC tested up to: 9.6
Tested up to: 6.8
Requires PHP: 5.3
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra
Domain Path: /languages
Tags: custom-menu, custom-logo, entertainment, one-column, two-columns, left-sidebar, e-commerce, right-sidebar, custom-colors, editor-style, featured-images, full-width-template, microformats, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready, blog
AMP: true

Astra WordPress Theme, Copyright 2020 WPAstra.
Astra is distributed under the terms of the GNU GPL.

Astra is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of.
Nicolas Gallagher and Jonathan Neal https://necolas.github.com/normalize.css/

Astra icon font is based on IcoMoon-Free vector icon by Keyamoon.
IcoMoon-Free vector icon distributed under terms of CC BY 4.0 or GPL. (https://creativecommons.org/licenses/by/4.0/ or https://www.gnu.org/licenses/gpl.html)
Source: http://keyamoon.com/

Flexibility is a JavaScript polyfill for Flexbox By Jonathan Neal, 10up. (https://github.com/jonathantneal/flexibility)
Licensed under MIT ( https://github.com/jonathantneal/flexibility/blob/master/LICENSE.md )

Screenshot image is a collage of actual sites created using the Astra WordPress Theme.

Icons used in the Screenshot image are all licensed under Creative Commons ( CC BY 4.0 ) License ( https://fontawesome.com/license/free )
https://fontawesome.com/v5.15/icons/store?style=solid
https://fontawesome.com/v5.15/icons/shopping-cart?style=solid
https://fontawesome.com/v5.15/icons/pen-square?style=solid
https://fontawesome.com/v5.15/icons/user-tie?style=solid
https://fontawesome.com/v5.15/icons/user-tie?style=solid

Illustrations used in the Screenshot images are all licensed under Creative Commons ( CC0 ) License ( https://gumroad.com/l/humaaans )
https://websitedemos.net/web-design-agency-08/wp-content/uploads/sites/796/2021/05/standing-24.png
https://websitedemos.net/web-design-agency-08/wp-content/uploads/sites/796/2021/05/sitting-2.png

Hand-drawn illustrations used are created by Brainstorm Force and released under Creative Commons ( CC0 ) License.
https://websitedemos.net/web-design-agency-08/wp-content/uploads/sites/796/2021/05/girl-with-image-container.png
https://websitedemos.net/web-design-agency-08/wp-content/uploads/sites/796/2021/05/boy-with-code-container.png
https://websitedemos.net/web-design-agency-08/wp-content/uploads/sites/796/2021/05/web-browser.png

The same site as screenshot can be imported from here https://websitedemos.net/web-design-agency-08/.

For more information, refer to this document on how to create a page like in the screenshot - https://wpastra.com/docs/replicating-the-screenshot/.

Astra default breadcrumb is based on Breadcrumb Trail by Justin Tadlock. (https://github.com/justintadlock/breadcrumb-trail)
Breadcrumb Trail is distributed under the terms of the GNU GPL v2 or later.

Astra local fonts feature is based on Webfonts Loader by WordPress Themes Team (WPTT). (https://github.com/WPTT/webfont-loader)
Licensed under MIT ( https://github.com/WPTT/webfont-loader/blob/master/LICENSE )

/* Note: The CSS files are loaded from assets/css/ folder. */

@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');
body {font-family:"Open Sans", sans-serif;}

.button {
	transition: .2s linear;
}

.button:hover {
	background-color: #ff9700;
}

/* -------------------------- начало слайдера -------------------------- */

.slider {
	position: relative;
	width: 100%;
	height: 400px; /* фиксированная высота */
	overflow: hidden;
}

/* Обертка для изображений */
.slides {
	position: relative;
	width: 100%;
	height: 100%;
}

/* Каждое изображение */
.slide {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover; /* обрезка изображений под высоту и ширину */
	transition: opacity 0.8s ease-in-out;
	z-index: 1;
}

/* Активная инфорация в контейнере */

/* Активное изображение */
.slide.active {
	opacity: 1;
	z-index: 2;
}

/* Нижний блок для текста и кнопки */
.caption-container, .caption-container-aktiv {
	position: absolute;
	bottom: 0;
	width: 100%;
	background-color: rgba(0,0,0,0.6); /* темный прозрачный фон */
	padding: 20px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: left;

	/* Для адаптивности можно добавить max-width или другие стили */
}

/* Стиль для стрелочек навигации */
.nav-arrow {
	position: absolute;
	top: calc(50% - 20px);
	width: 40px;
	height: 40px;
	background-color: rgba(0,0,0,0.7);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: opacity 0.3s ease;

	/* Расположение стрелочек слева и справа */
	z-index:3; 
}

astra-theme-css-inline-css

.prev {
	left:0px; /* чуть за пределами слайдера слева */
}

.next {
	right:0px; /* чуть за пределами слайдера справа */
}

.slider-main {
	transition: opacity 0.3s linear;
	height: calc(100vh - 200px);
	position: relative;
}

@media (max-width: 1120px) {
	.slider-main {
	height: calc(100vh - 260px);
	}
}

@media (max-width: 500px) {
	.slider-main {
	height: 400px;
	}
}

.button-slider {
	transition: all .2s linear;
}

/* -------------------------- конец слайдера -------------------------- */

/* -------------------------- начало услуг -------------------------- */

/* Основной контейнер */
.services-container {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 20px; /* Расстояние между элементами */
	padding: 20px;
	background-color: #f7f7f7;
}

.description-services {
	text-align:center;
}

.description-services h2 {
	padding-bottom: 20px;
}

/* Элемент услуги */
.service-item {
	flex: 1 1 calc(25% - 20px);
	min-width: calc(25% - 20px);
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	background-color: #f5f5f5;
	padding: 10px;
	border-radius: 8px;
	position:relative
}

/* Изображение внутри блока */
.service-item img {
	max-width: 100%;
	height: auto;
	object-fit: cover;
	aspect-ratio: 16 / 9;
}

.cont-image-of-service {
	max-width: 100%;
	height: auto;
}

/* Заголовки и текст */
.service-item h2 {
	font-size: 1.2em;
	margin-bottom: 8px;
	text-align:left;
	margin-top: 20px;
	color: #206dba;
}

.service-item h3 {
	padding-top: 8px;
	font-size: 14px;
	margin-bottom:8px;
	text-align: left;
	font-weight: 600;
	color:#555;
}

.service-item p {
	padding-top: 8px;
	color: #585c5f;
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
	text-align:left;
	margin-bottom:60px
}

/* Кнопка */
.service-item a.button {
	display:inline-block;
	background-color: #206dba; /* Цвет кнопки */
	color:#fff;
	text-decoration:none;
	border-radius:3px;
	transition:bg-color .3s ease;
	position: absolute;
	left: 50%;
	bottom: 10px;
	transform: translateX(-50%);
	transition: all .2s linear;
}

.service-item a.button: hover {
	background-color: #ff9700;
}

/* Адаптивность для планшетов и мобильных устройств */

@media (max-width:1200px) {
	.service-item {
		flex-basis: calc(50% - 20px);
		min-width: calc(50% -20px);
	}
}

@media (max-width:800px) {
	.service-item {
		flex-basis:100%;
		min-width:auto; 
		width:100%; /* чтобы занять всю ширину контейнера */
		align-items:center; /* по желанию, для центрирования содержимого */
	}
}

/* -------------------------- конец услуг -------------------------- */

/* -------------------------- Начало почему мы -------------------------- */

.advantages-container {
	padding:70px;
	background-color: #f7f7f7;
	display: grid;
	place-items: center;
}

.advantages-title {
	font-size:24px;
	margin-bottom:20px;
	text-align:center;
}

.advantages-title p {
	margin-top: 20px
}

.advantages-list {
	display:flex;
	flex-wrap:wrap;
	gap:20px; 
	margin-bottom: 20px;
}

.advantage {
	flex: 1 1 calc(33.333% - 40px); /* Три в ряд с учетом отступов */
	box-sizing: border-box;
	display: flex;
	gap: 20px; /* Расстояние между номером и содержимым */
}

.number {
	width:48px;
	margin-top: 5px;
	height:48px;
	border-radius:50%; 
	border: 2px solid grey;
	border-color: #cecece;
	display:flex; 
	align-items:center; 
	justify-content:center; 
	font-size: 23px;
	font-weight: 400;
}

.advantage-content h4 {
	font-size: 18px;
    line-height: 24px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 8px
}

.advantage-content p {
	font-size: 15px;
	color: #585c5f;
	width: 90%
}

/* Адаптивность для планшета и телефона */

@media(max-width:1200px) {
	.advantage {
		flex-basis: 40%;
		min-width:40%;
	}
}

@media(max-width:800px) {
	.advantages-list {
		flex-direction:center;
		flex-direction:flex-start;
		flex-direction:none; 
		display:block;

	}
	.advantage {
		flex:none; 
		width:auto; 
		min-width:auto; 
		max-width:none; 
		margin-bottom:20px; /* Отступ между элементами */
	}
}

/* -------------------------- Конец почему мы -------------------------- */

/* -------------------------- Начало отзывов -------------------------- */

/* Общие стили */

.all-reviews-container {
	margin: 70px 20px;
	max-width: 1200px;
	margin: 0 auto;
}

.review-container {
	width: 100%;
	padding: 0px 20px;
	
}

/* Левый столбец с изображением */
.left-column {
	float: left;
	width: 50%;
	padding-right: 40px
}

.left-column img {
	max-width: 100%;
	height: auto;
	object-fit: cover;
	aspect-ratio: 16 / 9;
	margin-bottom: 40px;
	
	
}

/* Правый столбец с блоками */
.right-column {
	width: 50%;
	padding: 20px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

/* Верхний блок с изображением и информацией */
.top-block {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}

.profile-image {
	width: 75px;
	height: 75px;
	object-fit: cover;
	border-radius: 8px; /* Можно убрать или изменить по желанию */
	margin-right: 20px;
}

.name-and-city {
	display: flex;
	flex-direction: column;
}

.name {
	font-weight: bold;
	font-size: 1.2em;
	margin-bottom: 8px;
}

.city {
	font-size: small; /* Мелкий шрифт */
	color: #555; /* Немного серого цвета для меньшей заметности */
}

/* Нижний блок с отзывом */
.review-text {
	font-size: 1em;
	line-height:1.5em; 
}

.all-reviews-title {
	max-width: 1200px;
	padding: 40px 20px;
}

/* Адаптивные стили */

@media (max-width:1200px) {

	/* Уменьшаем ширину изображения в левом столбце до максимум в500px */
}

@media (max-width:800px) {
	/* Перестраиваем контейнер в колонку */
	.review-container {
		flex-direction: column; 
	}

	/* Левый и правый блок занимают всю ширину по отдельности */
	.left-column {
		padding-right: 0px;
		width:auto; 
	}
	.right-column {
		width:auto; 
	}

	/* Верхний блок - изображение и текст под ним (стакан) */
	.top-block {
		display:flex; 
		flex-direction:flex-start; 
		align-items:flex-start; 
		margin-bottom:20px; 
	}

	/* Изображение человека - поднимаем его под отзывом, делаем шириной максимум в контейнере или фиксированной (например,100%) */
	.profile-image {
		max-width:none; 
		margin-bottom:10px; 
	}
}

/* -------------------------- Конец отзывов -------------------------- */

/* -------------------------- Начало проектов -------------------------- */

.main-container-projects {
	margin: 20px 10px;
	max-width: 1200px;
	display: flex;
	gap: 20px;
}

.all-news-container {
	width: 70%;
}
	
.rignt-widget {
	width: 30%;
}

@media (max-width:900px) {
	.news-thumbnail img {
		height: auto;
		object-fit: cover;
		aspect-ratio: 16/10
	}
}

@media (max-width:700px) {
	.main-container-projects {
		display: block;
	}
	
	.all-news-container {
		width: 100%;
	}
	
	.rignt-widget {
		width: 100%;
	}
}

.news-excerpt {
	margin-bottom: 0px;
}

.title-page-right-widg {
	padding: 30px 20px;
	max-width: 1200px;
	margin-left: auto; margin-right: auto;
}

.news-container {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	padding: 15px;
}

@media (min-width:900px) {
	.news-thumbnail img {
		max-width: 300px;
		height: auto;
		object-fit: cover;
		aspect-ratio: 16/10
	}
}

.news-title {
	margin-top: 0;
	margin-bottom: 20px;
}
.read-more {
	color: blue;
	text-decoration: underline;
}
.news-container a {
	color: #206dba;
}

.news-container a: hover {
	color: #ff9700;
}

@media (max-width:900px) {
	/* Перестраиваем контейнер в колонку */
	.news-container {
		display: block;
	}
}
/* -------------------------- Конец проектов -------------------------- */

/* -------------------------- Начало бокового виджета -------------------------- */

.rignt-widget-menu {
	display: block;
	padding: 10px; 
	border: 1px solid #ccc; /
	border-radius: 8px;
	background-color: #f7f7f7; 
	margin: 0px;
}

/* Стиль для пунктов меню */
.rignt-widget-menu li {
	display: block;
}

/* Стиль для ссылок внутри пунктов меню */
.rignt-widget-menu a {
	display: inline-block;
	padding: 8px 12px;
	color: #206dba; 
	text-decoration: none;
	transition: background-color 0.3s, color 0.3s; 
	width: 100%;
}

/* При наведении и активной странице меняем фон и цвет текста */
.rignt-widget-menu a:hover,
.rignt-widget-menu a.current,
.rignt-widget-menu a.current_page_item {
	background-color: #206dba; 
	color: #ffffff;
}

.right-wignet-undermenu {
	padding-top: 36px;
	margin-top: 36px;
	border-top: 1px #eceeef solid;
}

.right-wignet-undermenu-title {
	margin-bottom: 20px;
	padding-bottom: 5px;
}

/* -------------------------- Конец бокового виджета -------------------------- */