/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/



/*Add your own styles here:*/

.avia-icon-circles-inner{
	border: none !important;
	background-image: url("/wp-content/themes/enfold-child/img/circlebg.png");
	background-position: center;
    background-repeat: no-repeat;
	border-radius: 0;
    background-size: 100%;
}
.avia-icon-circles-icon{
	border-color: #23232f !important;
    border-width: 5px;
    line-height: 53px;
}
.main_color .avia-icon-circles-icon-text{
	background: none;
}
.main_color .avia-icon-circles-icon.active{
	background: #000;
}
.avia-content-slider .slide-entry-wrap{
	display: flex;
    align-items: center;
}
/* [data-av_icon]:before{ */
	/* content: ''; */
	/* background-image: url("/wp-content/themes/enfold-child/img/circleitem.png"); */
/* } */
@media screen and (max-width: 640px) {
.avia-icon-circles-icon{
    border-width: 3px;
    line-height: 55px;
}
}
#full-width-html .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

@media only screen and (max-width: 767px) {
    .av-hide-video-on-mobile {
        display: block !important;
    }
	.av-fallback-message{
		display: none !important;
	}
}
@media only screen and (max-width: 767px) {
    /* 1. Ограничиваем высоту всей структуры слайдера */
    #top .avia-fullscreen-slider,
    #top .avia-fullscreen-slider .avia-slideshow,
    #top .avia-fullscreen-slider .avia-slideshow-inner,
    #top .avia-fullscreen-slider .avia-slideshow-inner li {
        height: 300px !important; /* Настройте желаемую высоту здесь */
        max-height: 300px !important;
        min-height: 0 !important;
    }

    /* 2. Центрируем видео/картинку и заставляем её заполнять блок */
    #top .avia-fullscreen-slider .avia-slideshow-inner li video,
    #top .avia-fullscreen-slider .avia-slideshow-inner li img {
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        min-width: 100% !important;
        min-height: 100% !important;
        width: 100%;
        height: auto !important;
        object-fit: cover !important;
		position: absolute;
    }
    }

    /* 3. Центрируем текст внутри слайдера (если есть) */
    #top .avia-fullscreen-slider .slideshow_caption {
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}
@media only screen and (max-width: 767px) {
    /* Сбрасываем минимальную высоту, заданную в настройках блока */
    #top #mobile-box {
        height: 180px !important;
        min-height: 180px !important; /* Это перекроет ваши 300px */
        max-height: 180px !important;
    }

    /* Убираем влияние внутреннего контейнера */
    #top #mobile-box .container {
        height: 180px !important;
        min-height: 180px !important;
        padding-top: 0 !important; 
        padding-bottom: 0 !important;
    }

    /* Исправляем высоту видео фона */
    #top #mobile-box .av-section-video-bg, 
    #top #mobile-box .av-section-video-bg video {
        height: 180px !important;
    }
}
#copyright .content{
	padding: 0;
}
#copyright{
	min-height: 0;
}
#top .fullsize .template-blog .post .entry-content-wrapper, 
#top .fullsize .template-blog .post .entry-content-wrapper > * {
    max-width: 100% !important;
}
#top .avia-fullwidth-slider .avia-slideshow-inner, 
#top .avia-fullwidth-slider .avia-slideshow-inner li {
    overflow: hidden !important;
}

#top .avia-slideshow-slide video {
    object-fit: cover !important; /* Убирает полосы, заполняя всё пространство */
    width: 102% !important;
    height: 102% !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
}

.avia-icon-circles-icon-text-inner .icon-title{
    font-family: 'oswald', Helvetica, Arial, sans-serif;
    font-size: 40px;
    font-weight: 600;
    text-transform: uppercase;
    max-width: 400px;
    margin: 0 auto;
}
.avia-icon-circles-icon-text-inner .icon-description a {
    color: #fff;
    text-transform: uppercase;
    background: #23232f;
    padding: 20px;
    display: block;
    width: 60%;
	min-width: 180px;
    margin: 0 auto;
    margin-top: 20px;
	 transition: background 0.3s; /* Плавная смена цвета при наведении */
}
.avia-icon-circles-icon-text-inner .icon-description a:hover {
  background-color: #2e2f38; /* Чуть более светлый оттенок при наведении */
}
@media only screen and (max-width: 767px) {
	.social-container{
		margin-bottom: 30px;
	}
	.contact-item .icon{
		display: none;
	}
	.top-bar{
		margin-top: 30px;
	}
	.copytext{
        font-size: 12px !important;
        text-align: center !important;
	}
	.avia-icon-circles-icon-text-inner .icon-title{
	font-size: 24px;
	width: 80%;
	}
	.avia-icon-circles-icon-text-inner .icon-description a {
	padding: 10px;
	}
	#footervideo{
		height: 140px !important;
	}
}

#nopaddingbottom{
	margin-bottom: -30px !important;
}

#header_main .container{
	max-width: 95%;
}


.btn-projects {
  /* Основные размеры и фон */
  display: inline-block;
  background-color: #1a1b22; /* Темно-синий/черный цвет как на фото */
  color: #ffffff !important;            /* Белый цвет текста */
  padding: 15px 40px;        /* Отступы внутри кнопки (вертикальные и горизонтальные) */
  
  /* Шрифты и текст */
  text-decoration: none;     /* Убираем подчеркивание, если это ссылка */
  font-family: sans-serif;   /* Можно заменить на Montserrat или другой строгий шрифт */
  font-size: 14px;           /* Размер шрифта */
  letter-spacing: 1px;       /* Небольшое расстояние между буквами */
  text-transform: uppercase; /* Все буквы заглавные */
  
  /* Границы и эффекты */
  border: none;              /* Убираем рамку */
  cursor: pointer;           /* Курсор при наведении */
  transition: background 0.3s; /* Плавная смена цвета при наведении */
  margin-top: 10px;
}

/* Эффект при наведении курсора */
.btn-projects:hover {
  background-color: #2e2f38; /* Чуть более светлый оттенок при наведении */
}
#after_section_2{
	border: none;
}

.social-container {
	display: flex;
    gap: 12px;
    height: 100%;
    align-items: center;
}

.social-item {

}

/* Размер иконки внутри */
.social-item img {
    width: 30px;
    height: 30px;
}

/* Эффект при наведении */
.social-item:hover {
    border-color: #ffffff;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
    transform: scale(1.05); /* Легкое увеличение */
}


/* Контейнер меню */
#footermenuline {
    margin: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center; /* Центрирование элементов */
}
#footermenuline .content {
	padding: 0;
}
/* Элементы списка */
#footermenuline .menu-item {
    margin: 0 15px;
    padding: 0;
    display: inline-block;
}

/* Ссылки */
#footermenuline .menu-item a {
    color: #ffffff; /* Белый цвет текста */
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    transition: opacity 0.3s ease;
    border: none !important;
}

/* Эффект при наведении */
#footermenuline .menu-item a:hover {
    color: #ffffff;
    opacity: 0.7;
}

/* Активный пункт меню */
#footermenuline .current-menu-item > a {
    color: #666666 !important; /* Серый цвет для "Главная", как на картинке */
}

/* Скрываем стандартные маркеры Enfold, если они появятся */
#footermenuline .menu-item:before {
    content: none !important;
}

/* Стили для выпадающего меню (если нужно) */
#footermenuline .sub-menu {
    display: none;
    position: absolute;
    background: #222;
    padding: 10px;
    z-index: 999;
}

#footermenuline .menu-item-has-children:hover > .sub-menu {
    display: block;
}

/* Адаптивность для мобильных */
@media only screen and (max-width: 767px) {
    #footermenuline {
        flex-direction: column;
        text-align: center;
    }
    #footermenuline .menu-item {
        margin: 10px 0;
    }
}
#footermenuline .container,
#copyright .container{
	max-width: 95%;
}
#footermenuline .menu{
	float: right;
}
#standblock .template-page{
	padding-bottom: 75px !important;
}


	.menu-container {
	width: 100%;
	display: flex;
	flex-direction: row;
	gap: 20px;
	justify-content: center;
	flex-wrap: wrap;
	}

	.buttonitem {
	background-color: #ffffff;
	padding: 20px;
	text-align: center;
	text-transform: uppercase;
	font-size: 16px;
	font-weight: 500;
	color: #333;
	letter-spacing: 0.5px;
	cursor: pointer;
	position: relative; /* Нужно для позиционирования стрелочки */
	transition: all 0.2s ease;
	border: none;
	text-decoration: none;
	}

	/* Эффект при наведении (Ховер) */
	.buttonitem:hover {
	background-color: #23232f; /* Тёмный цвет */
	color: #ffffff;            /* Белый текст */
	z-index: 2;                /* Чтобы кнопка была визуально выше соседей */
	}

.buttonitem:not(:last-child):hover::after {
    content: "";
    position: absolute;
    right: -8px; 
    top: 50%;
    transform: translateY(-50%);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 8px solid #23232f;
    z-index: 3;
}


.top-bar {
    color: #ffffff;
    display: flex;
justify-content: flex-start;
    align-items: center;
    padding: 10px 20px;
    gap: 40px; /* Расстояние между блоками контактов */
    font-family: sans-serif;
    font-size: 14px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0; /* Расстояние между иконкой и текстом */
}

.contact-item a {
    color: inherit;
    text-decoration: none;
}

.icon {
    opacity: 0.6; /* Иконки обычно чуть тусклее текста */
        min-width: 30px;
}

.icon img{
}
/* Адаптив: на мобилках блоки встанут друг под друга */
@media (max-width: 768px) {
	.buttonitem {
		width: 100%;
	}
	.buttonitem:not(:last-child):hover::after {
		display: none;
	}
	.btn-projects{
		margin-top: 40px;
	}
    .top-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
	.social-container{
	    justify-content: space-evenly;
	}
	#footermenuline .menu{
		display: flex;
		flex-direction: column;
		align-items: center;
        width: 100%;
	}
}
.av-horizontal-gallery{
	overflow: visible;
}
/* Прячем подписи у всех */
.custom-caption {
    display: none;
    text-align: center;
    padding: 10px;
}

/* Показываем только у активного слайда (.is-selected) */
.av-horizontal-gallery-wrap.av-active-gal-item .custom-caption {
    display: block;
    position: absolute;
    bottom: -60px;
    width: 100%;
}

.cap-title { 
    font-weight: bold;
    display: block;
    font-size: 1.4em !important;
    font-family: oswald;
    line-height: 1.7em;
}
.cap-desc {
    font-size: 0.9em !important;
    margin: 0;
}
/* 1. Добавляем затемнение для всех слайдов галереи */
.av-horizontal-gallery-wrap {
    transition: opacity 0.4s ease; /* Плавность перехода */
}

/* Эффект наложения на изображения */
.av-horizontal-gallery-wrap:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #242430; /* Цвет и степень затемнения (0.3 = 30%) */
	opacity: 0.5;
    transition: all 0.4s ease;
    pointer-events: none; /* Чтобы клик проходил сквозь слой */
    z-index: 2;
}

/* 2. Убираем затемнение у активного слайда */
.av-horizontal-gallery-wrap.av-active-gal-item:after {
    background: rgba(0, 0, 0, 0); /* Делаем прозрачным */
}
@media only screen and (max-width: 767px) {
    /* 1. Устанавливаем высоту контейнера (для пропорции 16:9 это ~177% от ширины слайда) */
    #top #portraitcarousel .av-horizontal-gallery {
        height: 480px !important; /* Настройте высоту под себя */
    }

    /* 2. Делаем слайд уже (например, 75% ширины экрана), чтобы были видны хвосты */
    #top #portraitcarousel .av-horizontal-gallery-wrap {
        height: 100% !important;
        padding-right: 10px !important; /* Отступ между слайдами */
    }

    /* 3. Центрируем активный слайд */
    #top #portraitcarousel .av-horizontal-gallery-inner {
        height: 100% !important;
    }

    /* 4. Настройка самой картинки внутри слайда */
    #top #portraitcarousel .av-horizontal-gallery-img {
        height: 100% !important;
        width: 100% !important;
    }

    #top #portraitcarousel .av-horizontal-gallery-img img {
        object-fit: cover !important; /* Заполняет 16:9, слегка подрезая края, если фото не в пропорции */
        height: 100% !important;
        width: 100% !important;
    }
	.av-horizontal-gallery-wrap.av-active-gal-item{
	overflow: visible;
	}
	.responsive .av-horizontal-gallery-img{
		max-height: 100%;
	}
	.avia-slideshow-dots{
		display: none;
	}
}
#half-image-section {
background-repeat: repeat-x;
    background-size: 80% 80% !important;
    background-position: top left !important;
}

@media only screen and (max-width: 767px) {
    .responsive .av-horizontal-gallery-img {
        height: 100% !important;
        width: auto !important;
        object-fit: contain !important;
    }
	.portfolio-template-default.single h1{
		max-width: 280px;
		margin: 0 auto;
	}
	#half-image-section {
background-repeat: repeat-x;
    background-size: 90% 90% !important;
    background-position: top left !important;
}

}

#header{
	border-bottom: 1px solid #96969629;
}

#portfoliogrid .grid-entry{
	    padding: 10px;
}
.grid-entry-title{
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}
.av-masonry-entry-title{
	text-align: center;
}
#portfoliogrid{
	margin-top: 0px;
}
.blog-categories.minor-meta, .blog-meta{
	display: none !important;
}
.post-title.entry-title{
	margin-top: 20px !important;
}

.post-entry .entry-content img{
    margin: 30px 0;
    display: block;
    width: 100% !important;
}
.av-masonry-load-more {
    visibility: hidden !important;
    height: 0;
}
#bloggrid .av-masonry-entry-title{
	font-size: 18px;
}
#bloggrid .av-masonry-entry-content{
	display: none;
}
#bloggrid .av-masonry-date{
    text-align: center;
    margin: 0 auto;
    display: block;
    margin-top: 5px;
}
.wp-block-post-date{
	display: none;
}
.post-meta-infos .text-sep{
	display: none;
}
.js_active .toggler, .avia-admin-preview-container .toggler{
	padding: 18px 10px 18px 35px;
}
.phoneicons{
    display: inline-block;
}
.phoneicons img{
	width: 20px;
    height: 20px;
}
.wpcf7-textarea{
	min-height: 240px !important; 
}
@media only screen and (max-width: 767px) {
    .responsive #scroll-top-link {
        display: block !important;
    }
}
@media only screen and (max-width: 767px) {
    /* Фиксируем основной контейнер хедера */
    .responsive #top #header {
        position: fixed !important;
    }

    /* Убираем лишние отступы для корректного отображения */
    .responsive #top #main {
        padding-top: 80px !important; /* Настройте высоту под ваш логотип */
    }
	.av-main-nav{
		height: 100%;
	}
	.av-burger-menu-main{
		height: 100%;
		display: flex;
		align-items: center;
	}
	.av-horizontal-gallery-wrap{
		margin: 5px !important;
	}	
	#portraitcarousel .av-horizontal-gallery-wrap{
		margin: 0 !important;
	}
}
@media only screen and (max-width: 767px) {
    .responsive .logo img, .responsive .logo svg {
        min-height: 80px;
    }
}
@media only screen and (max-width: 767px) {
    #top #portraitcarousel .av-horizontal-gallery-wrap {
        height: 100% !important;
        padding-right: 0 !important;
    }
}

.av-hotspot-image-container .av-hotspot-fallback-tooltip {
        display: none !important;
    }

.button-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 320px;
}

.btn {
  /* Стилизация ссылки под кнопку */
  display: block;
  text-decoration: none; /* Убираем подчеркивание ссылки */
  text-align: center;
  background-color: #ffffff;
  color: #333333;
  padding: 18px 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  border: none;
  cursor: pointer;
  
  /* Плавный переход */
  transition: all 0.3s ease;
}

/* Эффект при наведении (становится темной) */
.btn:hover {
  background-color: #242430;
  color: #ffffff !important;
  /* Дополнительно: легкая тень при наведении */
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.btn-active {
  background-color: #242430;
  color: #ffffff !important;
  cursor: default; /* Указываем, что она уже выбрана */
}

@media only screen and (max-width: 767px) {
    #centermobile h2{
		margin-top: 30px !important;
		text-align: center;
	}
	.button-container{
		margin: 0 auto;
	}
}


#masonrycell .avia-gallery-big{
	padding: 0 !important;
}
#masonrycell .avia_textblock p {
    background: #F8F8F8;
    padding: 0.85em 0;
	line-height: 1.3em;
    margin: 0;
    font-size: 15px;
	position: relative;
	    font-family: 'oswald', Helvetica, Arial, sans-serif;
}
#masonrycell .avia_textblock p:before {
	content: ' ';
    height: 10px;
    width: 10px;
    position: absolute;
    top: -6px;
    left: 50%;
    margin-left: -5px;
    transform: rotate(45deg);
    border-width: 1px;
    border-style: solid;
    visibility: hidden\9;
    color: #F8F8F8;
    background: #F8F8F8;
}
#masonrycell .image-overlay .image-overlay-inside:before{
    content: '\E869'; /* Код иконки лупы в шрифте Entypo-fontello */
    font-family: 'entypo-fontello';
}

.footersocsub{
    display: flex;
    gap: 10px;
    align-items: flex-end;
    flex-direction: column;
    padding: 15px;
}


/* @media only screen and (max-width: 1400px) { */
/* .noptin-form-fields{ */
	/* display: flex !important; */
    /* flex-direction: column !important; */
/* } */
/* .noptin-form-field-wrapper{ */
	/* min-height: 32px !important; */
	/* flex: auto !important; */
	/* width: 100% !important; */
/* } */
/* .noptin-form-submit{ */
	/* width: 100% !important; */
/* } */
/* } */
/* Настройки для мобильных */
@media only screen and (max-width: 767px) {
	.footersocsub{
		align-items: center;
	}
	.noptin-optin-form{
		align-items: center;
	}
    .mobile-toggle-content {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-out, opacity 0.3s ease;
    }

    .mobile-toggle-content.is-open {
        max-height: 2000px; /* С запасом для длинного текста */
        opacity: 1;
        transition: max-height 0.8s ease-in, opacity 0.5s ease;
    }

    /* Анимация иконки */
    .text-toggle-btn a .avia_button_icon {
        transition: transform 0.4s ease !important;
        display: inline-block;
    }

    /* Вращение при активации */
    .text-toggle-btn.is-active a .avia_button_icon {
        transform: rotate(180deg);
    }
}

/* Скрываем кнопку на десктопе */
@media only screen and (min-width: 768px) {
    .text-toggle-btn { display: none !important; }
    .mobile-toggle-content { max-height: none !important; opacity: 1 !important; }
}
.contact-item a{
	color: #fff !important;	
}

[data-wpr-lazyrender] footer, 
[data-wpr-lazyrender] .site-footer { 
    content-visibility: visible !important; 
}