/*
Theme Name: Mink Child
Author: WebGeniusLab
Author URI: http://webgeniuslab.net
Description: WebGeniusLab team presents absolutely fresh and powerful WordPress theme. It combines new technologies and functional design that helps to showcase your content in better way. This WordPress theme is developed with attention to details, so you can create effective presentation of a website easily. Enjoy building web pages with our product!
Version: 1.0
Template: mink
Text Domain: mink-child
*/

/**
 * ------------------------------------------------------------------------------------------------
 * Общее
 * ------------------------------------------------------------------------------------------------
 */
form label,
.label {
	font-size: 14px;
	margin-bottom: 2px;
}

.required {
	color: #dc3232;
}

p:last-child {
	margin-bottom: 0;
}

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

.wgl-button {
	cursor: pointer;
}

/* wgl карусель */
body .wgl-carousel_wrapper .swiper-pagination:not(.swiper-pagination-lock) {
	background-color: transparent;
	border: 0;
}

/* убрать фон для списков в мега меню в шапке */
.primary-nav ul li .wgl-mega-menu ul {
	background-color: transparent;
}

/* отключить прокрутку при открытии lightbox */
body:has(.dialog-lightbox-widget:not([style="display: none;"])) {
	overflow: hidden;
}

/* скрывать у кнопок пред/след стрелку на мобильных */
@media (max-width: 1024px) {
	.mink-post-navigation .prev-link_wrapper .info_wrapper a:hover .prev_title-info_wrap {
		padding-left: 18px;
	}

	.mink-post-navigation .prev-link_wrapper .info_wrapper a:hover .wgl-svg-icon {
		display: none;
	}
	
	.mink-post-navigation .next-link_wrapper .info_wrapper a:hover .next_title-info_wrap {
		padding-right: 18px;
	}

	.mink-post-navigation .next-link_wrapper .info_wrapper a:hover .wgl-svg-icon {
		display: none;
	}
}

/* хлебные крошки */
@media (max-width: 1200px) {
	.page-header_breadcrumbs {
		margin-top: 10px;
	}
}

/* плашка куки */
#cookie-notice {
	z-index: 10000000;
}

#cookie-notice :is(.cn-text-container, .cn-button) {
	font-family: var(--mink-content-font-family);
}

#cookie-notice .cookie-notice-container {
	display: flex;
    align-items: center;
    justify-content: space-between;
	text-align: start;
}

#cookie-notice .cookie-notice-container .cn-text-container {
	flex: 1 1 auto;
	margin-bottom: 0;
	font-size: calc(var(--mink-content-font-size) - 1px);
}

#cookie-notice .cookie-notice-container .cn-buttons-container {
	flex: 0 0 auto;
}

#cookie-notice .cn-button {
	font-size: 14px;
	padding: 9px 20px;
}

#cookie-notice .cn-button:is(:hover, :focus) {
	color: #fff;
}

#cookie-notice .cn-more-info {
	background-color: transparent;
	text-decoration: underline;
	border: 0;
}

#cookie-notice .cn-close-icon {
	display: none;
}

@media (max-width: 768px) {
	#cookie-notice .cookie-notice-container {
		flex-direction: column;
		gap: 25px;
	}
	
	#cookie-notice .cn-text-container {
		text-align: center;
	}
}

/**
 * ------------------------------------------------------------------------------------------------
 * Page Title
 * ------------------------------------------------------------------------------------------------
 */
@media (min-width: 768px) {
	.page-header_breadcrumbs .breadcrumbs .current {
		text-align: end;
	}
}

@media (max-width: 767.98px) {
	.page-header_breadcrumbs .breadcrumbs {
		 justify-content: center !important;
	}
}

/* скрыть категорию поста */
.post_featured_bg .meta_wrapper {
	display: none !important;
}

/* уменьшить размер шрифта на маленьких экранах политики конфиденциальности */
@media (max-width: 515px) {
    .privacy-policy .page-header_content .page-header_title {
        font-size: 26px !important;
        line-height: 32px !important;
    }
}

/**
 * ------------------------------------------------------------------------------------------------
 * Шапка
 * ------------------------------------------------------------------------------------------------
 */
.primary-nav ul li div.mega-menu-container {
	background-color: var(--body-background-color);
}

/* не скрывать sticky шапку */
@media (max-width: 1200px) {
	body .wgl-theme-header .wgl-sticky-header {
		display: block;
	}
}

/* убрать линии у подменю подменю */
.primary-nav .menu-item .sub-menu .sub-menu .item_wrapper_text {
	background: none;
}

/* исправление перепрыгивания наверх после открытия мобильного меню */
body.mobile_switch_on {
	position: static !important;
}

body.mobile_switch_on .wgl-sticky-header {
	display: none;
}

/* увеличить гамбургер */
.mobile-hamburger-toggle .hamburger-box {
	padding: 20px 0 20px 40px;
}

/* стили для стрелочки в мобильном меню */
.mobile_nav_wrapper .primary-nav ul.mobile_switch_on li.menu-item-has-children > a .button_switcher {
    width: 45px;
	border-left: 1px solid #FFFFFF33;
}

/* убрать текст трансформ у пунктов меню */
.wgl-mobile-header .mobile_nav_wrapper .primary-nav ul li a {
	text-transform: initial;
}

/**
 * ------------------------------------------------------------------------------------------------
 * Подвал
 * ------------------------------------------------------------------------------------------------
 */
.footer .footer_top-area .wpcf7-form :is(input, textarea) {
	color: var(--mink-header-font-color);
	border-color: rgba(var(--mink-header-rgb), 0.2);
}

.footer .footer_top-area .wpcf7-form p:not(:last-child) {
	margin: 0 0 16px 0;
}

/**
 * ------------------------------------------------------------------------------------------------
 * Contact form 7
 * ------------------------------------------------------------------------------------------------
 */
/* всплывающее окно */
body:has(.popup-overlay[style*="visibility: visible"]),
body:has(.popup-overlay[style*="visibility:visible"]) {
	overflow: hidden;
}

.popup-overlay .popup-content .popup-close {
	top: 0;
	right: 0 !important;
	background-color: transparent;
}

.elementor-widget-popup_widget .popup-overlay {
	padding: 15px;
	z-index: 1000000;
}

/* нижний отступ для сафари */
@media (max-width: 768px) {
	.elementor-widget-popup_widget .popup-overlay {
		padding-bottom: 70px;
	}
}

.elementor-widget-popup_widget .popup-content:has(video) {
	padding: 0;
}

/* элементы формы */
.wpcf7 .wpcf7-heading {
	font-size: 22px;
	font-weight: 500;
	color: var(--mink-header-font-color);
	letter-spacing: -0.96px;
	text-transform: uppercase;
	margin-bottom: 25px;
}

@media screen and (min-width: 768px) {
	.wpcf7 .wpcf7-heading {
		font-size: 26px;
	}
}

.wpcf7 .wpcf7-acceptance {
	display: block;
}

.wpcf7 .wpcf7-acceptance label {
	margin-bottom: 0;
}

.wpcf7 .wpcf7-form-control-wrap .wpcf7-acceptance .wpcf7-list-item label {
	align-items: start;
}

.wpcf7 .wpcf7-form-control-wrap .wpcf7-acceptance .wpcf7-list-item input {
	margin-top: 3px;
}

.wpcf7 .wpcf7-form-control-wrap .wpcf7-acceptance .wpcf7-list-item-label {
	font-size: 14px;
	padding-left: 0 !important;
}

.wpcf7-acceptance .wpcf7-list-item-label a {
	font-size: 14px;
	text-decoration: underline;
}

.wpcf7-acceptance .wpcf7-list-item-label a:hover {
	font-size: 14px;
	text-decoration: none;
}

.wpcf7 .wpcf7-form-control-wrap .wpcf7-not-valid-tip {
	font-size: 14px;
}

.wpcf7 .wpcf7-important-mark {
	font-size: 14px; 
	margin-bottom: 12px;
}

.wpcf7 form .wpcf7-response-output {
	font-size: 14px;
	padding: 12px 20px;
}

.wpcf7 form.invalid .wpcf7-response-output {
	background-color: #E0B252;
	border-color: #E0B252;
	color: #fff;
}

.wpcf7 form.sent .wpcf7-response-output {
	background-color: #46b450;
	color: #fff;
}

.wpcf7 .wpcf7-submit.width-full {
	width: 100%;
}

.wpcf7 .wpcf7-submit:disabled:is(:hover, :focus, :active) {
	background: var(--mink-button-bg-idle);
	color: var(--mink-button-color-idle);
	border-color: var(--mink-button-border-idle);
}
    
.wpcf7 .wpcf7-file {
	font-size: 15px;
}

.wpcf7 .wpcf7-file::file-selector-button {
	background-color: transparent;
	border: 2px solid var(--mink-primary-color);
	padding: 5px 12px;
	cursor: pointer;
	transition: color 0.25s ease-in-out, background 0.25s ease-in-out;
	font-family: Onest, system-ui;
}

.wpcf7 .wpcf7-file::file-selector-button:hover {
	background-color: var(--mink-primary-color);
	color: #fff;
}

.wpcf7 .file-title {
	font-size: 16px;
	cursor: pointer;
}

.wpcf7 .file-text {
	color: #A6A6A6;
	font-size: 14px;
}

.wpcf7 input[type="file"] + .wpcf7-not-valid-tip  {
	margin-top: 0;
}

.wpcf7 .wpcf7-form.submitting .wpcf7-submit,
.wpcf7 .wpcf7-form.submitting .wpcf7-submit:hover {
	color: transparent;
	pointer-events: none;
}

.wpcf7 p:has(.wpcf7-submit) {
	position: relative;
}

.wpcf7 .wgl-wpcf7-wrapper .wpcf7-spinner {
	display: block;
}

.wpcf7 .wgl-wpcf7-wrapper .wpcf7-spinner {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	margin: 0;
}

div.wpcf7 p:has(input[type="hidden"]) {
	margin-bottom: 0;
}