/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/


html {
	overflow-x: hidden;
}
/* Меню */
#nav_menu-3 ul.menu {
	display: inline-flex;
	gap: 20px;
}
.main-header-menu .sub-menu .menu-link {
	padding: 0 1em;
}
.main-header-menu .sub-menu {
	width: auto;
}
/* Начальные позиции для блоков, сдвигающихся слева, справа и снизу */
.slide-in-left, .slide-in-right, .slide-in-bottom {
    opacity: 0; /* Блоки невидимы до анимации */
    transition: opacity 0.6s ease, transform 0.6s ease; /* Анимация */
}

/* Появление слева */
.slide-in-left {
    transform: translateX(-100px); /* Начальное смещение для блоков слева */
}

/* Появление справа */
.slide-in-right {
    transform: translateX(100px); /* Начальное смещение для блоков справа */
}

/* Появление снизу */
.slide-in-bottom {
    transform: translateY(100px); /* Начальное смещение для блоков снизу */
}

/* Видимое состояние блоков, когда они в зоне видимости */
.visible {
    opacity: 1;
    transform: translateX(0) translateY(0); /* Анимация появления */
}
/* Префикс, заголовки, ссылки, текст */
.pref {
	border: 1px solid var(--ast-global-color-6);
	border-radius: 100px;
	padding: 2px 10px;
}

h2.uagb-heading-text {
	display: inline-block;
  position: relative;
  overflow: hidden;
}
h2.uagb-heading-text::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: 100%;
  background-color: var(--ast-global-color-0);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s ease;
}
h2.uagb-heading-text.visible::after {
  transform: scaleX(1);
}
a {
	outline: none !important;
}
/* Кнопки */
.wp-block-button__link:hover {
animation-name: animation-push;
    animation-duration: .3s;
    animation-timing-function: linear;
    animation-iteration-count: 1;
}
@keyframes animation-push {
    50% {
        transform: scale(.8)
    }

    100% {
        transform: scale(1)
    }
}

/* Видео бэкграунд */
.video-overlay-container .wp-block-video {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; /* Видео уходит под текст */
}
.video-overlay-container .wp-block-video video {
  object-fit: cover;
	height: 100%;
}
.video-overlay-container {
    position: relative;
    z-index: 1;
}
.video-overlay-container .uagb-container-inner-blocks-wrap {
    position: relative;
    z-index: 2;
    color: white;
    padding: 45px 2% 25px 2%;
}
.video-overlay-container .wp-block-video video::-webkit-media-controls {
    display: none !important;
}
/* Попапы и модалки */
.uagb-popup-builder .uagb-popup-builder__wrapper .uagb-popup-builder__container::-webkit-scrollbar {
    width: 5px;
}
.uagb-popup-builder .uagb-popup-builder__wrapper .uagb-popup-builder__container::-webkit-scrollbar-thumb {
	  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 100px;
}
.uagb-modal-popup.active .uagb-modal-popup-close, .uagb-modal-popup.uagb-modal-type-right-off-canvas.active .uagb-modal-popup-close {
	right: 20px !important;
    top: 20px !important;
}
.uagb-modal-popup.active:not(.uagb-modal-popup.active:has(.book-popup-z)) {
    z-index: 99998 !important;
}
/* галлерея логотипов */
.logo-gallery {
	pointer-events: none;
}
.logo-gallery .spectra-image-gallery__media-thumbnail--carousel {
	height: 70px;
	object-fit: contain;
	padding-left: 80px;
}
/* Спойлер */
.otfm-sp__f5f5f5 .otfm-sp__title {
    background-color: transparent;
    color: #fff;
	display: inline-block;
    border: 1px solid #ffc20a;
    border-radius: 100px;
    width: 40px;
    height: 40px;
}
.otfm-sp__wrapper {
	border:unset;
}
.otfm-sp__title::after, .otfm-sp__title::before {
	left: 50%;
	background-color: #fff;
}
.otfm-sp__title:hover::after, .otfm-sp__title:hover::before {
    background-color: #fff;
	left: 50%;
}

.count .wp-block-uagb-counter__title {
	position: relative;
    bottom: 60px;
    left: 80px;
	padding: 0 10px;
    background: #0e1015;
    display: inline;
}

.faq-anim .wp-block-uagb-lottie .uagb-lottie__outer-wrap svg.uagb-lottie-inner-wrap g > g > g > g:first-child > path {
	fill: var(--ast-global-color-0);
}

/* Карточки услуг или другие */
.cards .wp-block-uagb-container > .wp-block-uagb-container, .cards-1st.wp-block-uagb-container .uagb-container-inner-blocks-wrap > .wp-block-uagb-container {
	transition: transform 0.3s ease;
}
.cards .wp-block-uagb-container > .wp-block-uagb-container:hover, .cards-1st.wp-block-uagb-container .uagb-container-inner-blocks-wrap > .wp-block-uagb-container:hover {
      transform: translateY(-5px);
    }
.customization:hover .uagb-iconbox-icon-wrap.uagb-infobox-shape-circle {
	background-color: var(--ast-global-color-7);
}
.customization:hover .uagb-ifb-content .uagb-ifb-icon-wrap svg {
	fill: var(--ast-global-color-0);
}
/* Страница поста в блоге */
.single .post-navigation {
	padding-left: 5%;
	padding-right: 5%;
}
fieldset {
	border-color: var(--ast-global-color-3);
	margin-bottom: 30px;
}

/* Contact form 7 */
.agree {
	display: none !important;
	height: 1px !important;
}
span[data-name="agree"] {
	height: 1px;
}
.wpcf7-spinner {
	height: 1px;
	display: block;
}
.wpcf7 input[type="submit"] {
	margin: 0 auto 8px auto;
	display: block;
}
.wpcf7 textarea {
	height: 140px;
}
.wpcf7 input.wpcf7-form-control:not([type=submit]), .wpcf7 textarea.wpcf7-form-control {
	border-radius: 20px;
    background: var(--ast-global-color-8);
	color: #fff;
}
.wpcf7 input.wpcf7-form-control:not([type=submit]):focus, .wpcf7 select.wpcf7-form-control:focus, .wpcf7 textarea.wpcf7-form-control:focus {
	color: #fff;
	border: 1px solid var(--ast-global-color-0);
}
.wpcf7 small {
	display: block;
	text-align: center;
}
.calculate .wpcf7-list-item {
    margin: 0 0 10px 1em;
}
.calculate .wpcf7-list-item-label {
    cursor: pointer;
}
.calculate label {
	  color: unset;
    font-size: unset;
    font-style: unset;
    font-weight: unset;
    line-height: unset;
}
.calculate {
    position: relative;
}
.itog-calc {
		position: absolute;
    left: 100%;
    width: 200px;
    right: auto;
    bottom: 0;
    padding: 15px;
    border: 1px solid var(--ast-global-color-3);
	border-radius: 4px;
	background-color: #00000075;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.itog-calc.fixed {
    position: fixed;
    bottom: 20px;
		left: unset;
    right: 8%;
    opacity: 1;
    visibility: visible;
	transform: translateY(0);
}
.itog-calc input[type=text] {
	background: #cbbd00d6;
  color: #fff;
  font-weight: 600;
}
.itog-calc h4 {
	color: #fff;
}
/* Футер */
.site-footer .footer-nav-wrap ul.ast-nav-menu {
	display: flex;
    flex-direction: column;
    align-content: center;
}

@media only screen and (max-width: 767px) {
	.itog-calc {
		left: unset;
		right: 0;
		bottom: -70px;
	}
	.menu-slide {
		display: inline-flex;
		flex-direction: row !important;
		overflow-x: auto;
		width: 100%;
}
}
@media (max-width: 544px) {
    .site-above-footer-wrap[data-section="section-above-footer-builder"].ast-footer-row-mobile-stack .site-footer-section {
        display: flex;
    }
	.single .post-navigation a p {
        display: block;
    }
}
