/*
Theme Name: GE Event Group
Text Domain: twentytwenty
Version: 1.0
Requires at least: 5.9
Requires PHP: 8.1
Description: Тема сайта geeventgroup.ru. Основа: Twenty Twenty 1.5 с доработками прежних разработчиков. С 2026-11-18 это отдельная тема, поэтому обновления Twenty Twenty её не затрагивают. Версия стилей и скриптов берётся из времени изменения файла, поднимать версию темы вручную не нужно.
Author: GE Event Group
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Based on Twenty Twenty by the WordPress team (https://wordpress.org/themes/twentytwenty/).
This theme, like WordPress, is licensed under the GPL version 2.0 or later.
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------

	0. 	CSS Reset
	1. 	Document Setup
	2. 	Element Base
	3. 	Helper Classes
	4. 	Site Header
	5. 	Menu Modal
	6. 	Search Modal
	7. 	Page Templates
		a. 	Template: Cover Template
		c. 	Template: Full Width
	8.  Post: Archive
	9.  Post: Single
	10. Blocks
	11. Entry Content
	12. Comments
	13. Site Pagination
	14. Error 404
	15. Widgets
	16. Site Footer
	17. Media Queries

	----------------------------------------------------------------------------- */


	/* -------------------------------------------------------------------------- */

/*	0. CSS Reset
/* -------------------------------------------------------------------------- */


#stars-rating-review .br-widget a {
	background: url(assets/img/icons/star-empty.svg) left center no-repeat;
	height: 32px;
	width: 34px;
	display: inline-block;
}
#stars-rating-review .br-widget a.br-selected,
#stars-rating-review .br-widget a.br-active {
	background: url(assets/img/icons/star-full.svg) left center no-repeat;
	height: 32px;
	width: 34px;
	display: inline-block;
}
#stars-rating-review .br-widget a:after {
	display: none !important;
}

.button_service-page:after,
.button_md-send:after,
.button_consultation:after {
	content: '';
	background: url('assets/img/icons/arrow-middle-black.svg') no-repeat;
	width: 23px;
	height: 17px;
	display: inline-block;
	margin-bottom: -3px;
	transition: .3s all;
	margin-left: 13px;
}
.button_service-page:hover:after,
.button_md-send:hover:after,
.button_consultation:hover:after {
	transform: translateX(5px);
}
.button_dark.button_consultation:after {
	background: url('assets/img/icons/arrow-button-dark.svg') no-repeat;
}

.service-other__carousel a span {
	max-width: 215px;
}
.wpcf7-acceptance label {
    cursor: pointer;
    margin-top: 50px;
    position: relative;
}
.wpcf7-acceptance label input[type="checkbox"] {
    position: absolute;
    z-index: -1;
    opacity: 0;
    display: block;
    width: 0;
    height: 0;
}
.wpcf7-acceptance label span {
    color: rgba(0,0,0,.5);
    font-size: 14px;
    line-height: 20px;
    position: relative;
    padding-left: 30px;
    display: inline-block;
    transition: .3s all;
}
.wpcf7-acceptance label span::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    position: absolute;
    left: 0;
    top: 0;
    background: url(assets/img/icons/checkbox.svg) 0 0 no-repeat;
}
.wpcf7-acceptance span.wpcf7-list-item {
	display: block;
	margin: 0;
}
.services__item {
    min-width: 175px;
}
.header .menu_dynamic .menu__items #menu-item-244,
.header .menu_dynamic .menu__items #menu-item-429,
.header .menu_dynamic .menu__items #menu-item-317,
.header .menu_dynamic .menu__items #menu-item-81 {
    display: none;
}

.btncont {
    position: relative;
    /* display: inline-block; */
}
div.wpcf7 .ajax-loader {
    display: block;
    position: absolute;
    left: 1px;
    top: 1px;
    background: none;
    width: auto;
    background: #000;
    height: auto;
    right: 1px;
    bottom: 1px;
    padding: 0;
    margin: 0;
}
div.wpcf7 .wwhiteform .ajax-loader {
    display: block;
    position: absolute;
    left: 1px;
    top: 1px;
    background: none;
    width: auto;
    background: #fff;
    height: auto;
    right: 1px;
    bottom: 1px;
    padding: 0;
    margin: 0;
}
div.wpcf7 .form_light .ajax-loader {
    display: block;
    position: absolute;
    left: 1px;
    top: 1px;
    background: none;
    width: auto;
    background: #fff;
    height: auto;
    right: 1px;
    bottom: 1px;
    padding: 0;
    margin: 0;
}
div.wpcf7 .ajax-loader:after {
    content:"";
    display:block;
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    width:40px;
    height:40px;
    transform-origin:left top;
    background:url(assets/img/icons/loader.svg) center center no-repeat;
    -webkit-animation:rotating 2s linear infinite;
    animation:rotating 2s linear infinite
}
.wpcf7 form .wpcf7-response-output {
    display: none !important;
}

.btncont.btncont_mg {
    margin-top: 48px;
}
.btncont.btncont_mg20 {
    margin-top: 20px;
}
.btncont.btncont_mg button,
.btncont.btncont_mg20 button {
    margin-top: 0 !important;
}

.portfolio-zoom:focus
{
    outline:0
}
.popup-image
{
    margin:0 auto;
    display:inline-block;
    position:relative
}
.mfp-content
{
    text-align: center !important;
}
.mfp-content>*
{
    text-align:left
}
#gallery-popup
{
    width:80vw
}
#gallery-popup .popup-image-main
{
    position:relative;
    border-left:#000 1px solid;
    border-right:#000 1px solid;
    overflow:hidden
}
#gallery-popup .popup-image-main .loading
{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.5) url("/assets/theme/img/loading.gif") center center no-repeat;
    background-size:32px
}
#gallery-popup .popup-image-main .blurimg
{
    position:absolute;
    left:-5%;
    top:-5%;
    display:block;
    background:grey;
    background-size:cover;
    background-position:center center;
    width:110%;
    height:110%;
    -webkit-filter:blur(5px);
    -moz-filter:blur(5px);
    -o-filter:blur(5px);
    -ms-filter:blur(5px);
    filter:blur(5px);
    z-index:-1
}
#gallery-popup .popup-image-main img
{
    margin:0 auto;
    max-height:70vh;
    display:block;
    min-height:100px
}
#gallery-popup .popup-image-main .next {
    position: absolute;
    content: "333";
    right: 0;
    width: 50px;
    top: 0;
    bottom: 0;
    cursor: pointer;
}
#gallery-popup .popup-image-main .prev {
    position: absolute;
    content: "333";
    left: 0;
    width: 50px;
    top: 0;
    bottom: 0;
    cursor: pointer;
}
.gallery-slider
{
    background:#000;
    padding:0 5px;
    height:74px;
    overflow:hidden
}
.gallery-slider ul
{
    margin:0;
    padding:0;
    list-style-type:none;
    position:relative;
    -webkit-transform-style:preserve-3d;
    -ms-transform-style:preserve-3d;
    transform-style:preserve-3d;
    height:86px;
    width:9999px;
    /* display: flex!important;
    justify-content: center; */
    display:none;
}
.gallery-slider ul li
{
    float:left;
    margin:5px;
    border-bottom:2px solid transparent
}
.gallery-slider ul li img
{
    height:64px;
    width:auto;
    max-width:none;
    opacity: 0.4;
}
.gallery-slider .itemslide-active img
{
    opacity: 1;
}
.popup-image-top
{
    position:absolute;
    bottom:100%;
    left:0;
    right:0;
    height:40px;
    background:#000;
    text-transform:uppercase;
    font-size:1.3rem;
    line-height:40px;
    color:white;
    padding:0 20px
}
.popup-image button.mfp-close
{
    display:block;
    color: #fff;
    width:auto;
    height:auto;
    line-height:normal;
    top:auto;
    bottom:100%;
    padding:0 25px;
    opacity:1
}
.en-class .popup-image button.mfp-close::before
{
    content:"CLOSE"
}

.button_md-send:disabled {
    opacity: .7;
    transition: .3s opacity;
}

.button_md-send:disabled:after {
    transform: unset;
}

.wp-block-quote {
    background: #f2f8fe;
    padding: 40px;
    margin: 78px 0;
    font-size: 20px;
    line-height: 32px;
}
.wp-block-quote > p {
    margin-bottom: 32px !important;
    font-weight: 300;
    font-size: 36px;
    line-height: 42px;
}
.wp-block-quote cite {
    font-style: normal;
    color: #000;
}
.htmlhidden, .htmlhidden body {
    overflow: hidden;
    position: relative;
    height: 100%;
}
div.wpcf7 .ajax-loader{
    border-radius: 7px;
}
/*div.wpcf7 .form_light .ajax-loader{
    max-width: calc(50% - 2px);
    border-radius: 7px;
}
div.wpcf7 .wwhiteform .ajax-loader{
    max-width: calc(43% - 3px);
    border-radius: 7px;
}*/
.input-flex{
    display: flex;
}
#md-brif .input-flex label{
    align-items: center !important;
}
#md-brif .input-flex .wpcf7-form-control.wpcf7-date{
    max-width: 177px
}
@media screen and (max-width: 992px) {
    #gallery-popup
    {
        width:100%;
    }
    .main-content__inner_gallery-event-page.sgal {
        padding: 40px 0 0;
    }
    #gallery {
        margin-bottom: 0;
    }
    #gallery-popup .popup-image-main img {
        width: 100%;
    }
}
@media screen and (max-width: 620px){
    .input-flex{
        font-size: 15px !important;
    }
}
/* GE 3.6 (2026-11-18): в CF7 5.3 после кнопок формы стоял абзац со скрытым полем Dynamic Text и давал этот отступ.
   Поле убрано вместе с плагином, отступ оставлен, чтобы формы выглядели как раньше. */
.wpcf7-form .btncont {
	margin-bottom: 16px;
}

/* GE 5.6 (2026-11-18): тексты ошибок форм от assets/js/ge-forms.js. Строка мелким красным сразу под блоком поля
   (.ge-field-msg после .input-new), а не внутри него: блок поля не меняет высоту, и значок темы в поле
   (.error ~ .input-alert::before) остаётся по центру. Пустая строка места не занимает. */
.ge-field-msg {
	margin: -6px 0 10px 2px;
	font-size: 13px;
	line-height: 18px;
	color: #d32f2f;
}
.ge-field-msg:empty {
	display: none;
}
.form_dark .ge-field-msg,
.form_dark .form-message {
	color: #ff8a80;
}
.wpcf7-form .wpcf7-submit[aria-busy="true"] {
	opacity: 0.7;
	cursor: progress;
}
