/*
	Theme Name: Bar Konyak
	Description: Тема для сайта Бара Конь&Як
	Author: Doxtur
	Author URI: https://doxtur.site
	Version: 1.0.0
	Requires PHP: 7.0+
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: konyak-bar
	Description: 
*/

:root {
	--content-background: rgba(0, 0, 0, 0.7);
	--content-width: 1280px;
	--tec-spacer-12: 0;
	
	--tec-spacer-13: 0;
	--tec-spacer-14: 0;
	
	--tec-color-icon-active: white;
	--tec-color-icon-events-bar-active: white;
	
	--tec-color-text-primary: #5c5c5c;
	--tec-color-text-primary-light: rgba(20, 24, 39, .2);
	
	--tec-color-background-month-grid: #a1a1a1;
	--tec-color-text-day-of-week-month: white;
	--tec-color-day-marker-month: #e5e5e5;

	--tec-font-family-sans-serif: "Unbounded", sans-serif;
}

* {
	box-sizing: border-box;
}

html,
body {
	padding: 0;
	margin: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	font-family: "Unbounded", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
	font-weight: 200;
	background: black;
}

a {
	transition: color 0.3s ease;
}

a:link,
a:visited,
a:hover,
a:active {
	text-decoration: none;
	color: inherit;
}

a:hover {
	color: #aa3a38;
}

h1,h2 {
	cursor: default;
}

/* WP Fixes */
img.alignright {
	float: right;
	margin: 0 0 1em 1em;
}

img.alignleft {
	float: left;
	margin: 0 1em 1em 0;
}

img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignright {
	float: right;
}

.alignleft {
	float: left;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.title h2 {
	margin: 0;
	margin-bottom: 10px;
	color: #ed7a7b;
}

/* Custom ScrollBar */

::-webkit-scrollbar {
	width: 15px;
}

::-webkit-scrollbar-track {
	background-color: transparent;
}

::-webkit-scrollbar-thumb {
	background-color: black;
	border-radius: 20px;
	border: 6px solid transparent;
	background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
	background-color: #a8bbbf;
}

/* Custom ScrollBar end */


section {
	width: 100%;
}

.section-top {
	position: relative;
	display: flex;
	align-items: center;
	height: 100%;
	transition: height 0.2s ease-out 0s;
}

.section-main {
	display: flex;
	height: 0%;
	overflow: hidden;
	transition: height 0.2s ease-out 0s;
}

.top-panel,
.main-content,
.section-bottom
{
	width: 100%;
	max-width: var(--content-width);
}

.section-bottom {
	opacity: 1;
	transition: opacity 0.2s ease-out 0s;
	padding: 0 var(--content-margins);
	flex-grow: 1;
	align-content: end;
}
	
.top-panel__wrapper {
	position: relative;
    display: flex;
    justify-content: center;
	padding: 0 10px;
    width: 100%;
    /*height: 80px;*/
	background: var(--content-background);
	backdrop-filter: blur(4px);
	transition: all 0.2s ease-out 100ms;
	z-index: 9998;
}

.top-panel {
	/*position: absolute;*/
    /*left: 10px;*/
}

.logo-container {
	position: absolute;
    display: flex;
    /* column-gap: 50px; */
    align-items: center;
    /* justify-content: center; */
	width: fit-content;
    height: 80px;
    margin-bottom: -60px;
	/*margin-left: 10px;*/
	z-index: 9999;
}

.top-menu {
	position: relative;
	right: 0;
	display: flex;
	width: 100%;
	min-height: 80px;
	align-items: center;
	/*margin-bottom: -70px;*/
	z-index: 9998;
}

.top-menu ul {
	display: flex;
	gap: 10px;
	list-style-type: none;
	margin: 0;
	margin-left: 200px;
	padding: 0;
	text-wrap: nowrap;
	transition: all 0.2s ease-out 100ms;
}

.top-menu li a {
	display: block;
	color: white;
	text-align: center;
	padding: 16px;
	text-decoration: none;
}

.top-menu li a:hover {
	color: #aa3a38;
}

body.expanded .top-menu ul {
	display: block;
	opacity: 1;
	min-height: 60px;
	height: 330px;
	padding-top: 60px;
}

.top-menu .submenu {
    position: absolute;
    visibility: hidden;
    flex-direction: column;
	align-items: start;
    margin: 0;
	opacity: 0;
	transition: all 0.2s ease-out 100ms;
}

.top-menu li:hover > .submenu {
	visibility: visible;
	opacity: 1;
	background: rgb(0, 0, 0, 0.7);
	transition: all 0.2s ease-out 100ms;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
	background-color: #fff;
}

.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after {
	background-color: #a8a8a8;
}

.burger-menu {
	display: none;
	/*position: absolute;*/
	z-index: 9998;
	right: 0;
}

.page-content {
	max-width: 700px;
	width: 100%;
}

.main-content {
	overflow: auto;
}

.main-content__wrapper {
	display: flex;
    justify-content: center;
	padding: 0 10px;
    width: 100%;
    background: var(--content-background);
}

.phone {
	text-wrap: nowrap;
	white-space: nowrap;
}

.booking-icon {
	display: none;
	width: 60px;
	height: 30px;
	mask-image: url(images/table.png);
	mask-position: center;
	mask-size: contain;
	mask-repeat: no-repeat;
	background-color: white;
}

.button-ticket {
	display: inline-block;
	background: yellow;
	color: black;
	border-radius: 5px;
	width: fit-content;
	padding: 5px 10px !important;
	font-weight: 600;
}

#videoPresentation {
	position: fixed;
	bottom: 0;
	right: 0;
	min-width: 100%;
	min-height: 100%;
	transform: translateX(calc((100% - 100vw) / 2));
}

.spa-content {
	position: fixed;
	display: flex;
	flex-direction: column;
	align-items: center;
	color: #f1f1f1;
	width: 100%;
	height: 100%;
	/*top: calc(50% - 70px);*/
	transition: all 0.2s ease-out 0s;
}

.img-zoom-container {
	cursor: grab;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	/*border: 2px solid green;*/
	overflow: hidden;
}

.img-zoom-container img {
	border-radius: 20px;
}

.modal-container {
	position: fixed;
	display: flex;
	flex-direction: column;
	visibility: hidden;
	opacity: 0;
	align-items: center;
	justify-content: center;
	top: 0;
	left: 0;
	z-index: 99999;
	width: 100dvw;
	height: 100dvh;
	background-color: black;
	background-color: rgba(0, 0, 0, .75);
	transition: opacity 0.2s ease-out 0ms;
}

.flipdown.flipdown__theme-light .rotor,
.flipdown.flipdown__theme-light .rotor-top,
.flipdown.flipdown__theme-light .rotor-leaf-front {
	color: #4e4e4e;
}

.flipdown.flipdown__theme-light .rotor-bottom,
.flipdown.flipdown__theme-light .rotor-leaf-rear {
	color: #8b8b8b;
}

.social-icons {
	/*position: absolute;*/
	display: flex;
	flex-wrap: nowrap;
	/*right: 0;*/
	/*margin-top: -30px;*/
}

.social-icons div {
	width: 40px;
	height: 40px;
	margin: 0 5px;
	float: left;
	background-color: #6b6b6b;
	-webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	mask-size: contain;
	mask-repeat: no-repeat;
	transition: background-color 0.2s ease-out 100ms;
}

.social-icons div:hover {
	background-color: #c0c0c0;
}

.social-tg {
	-webkit-mask-image: url(images/tg2.svg);
	mask-image: url(images/tg2.svg);
}

.social-vk {
	-webkit-mask-image: url(images/vk2.svg);
	mask-image: url(images/vk2.svg);
}

@media (max-width: 1400px) {
	.section-main {
		/*align-items: end;*/
	}
}

@media (max-width: 758px) {

	/* WP Fixes */
	img.alignright,
	.alignright { float: none; }

	img.alignleft,
	.alignleft { float: none; }

	.social-icons {
		top: 12px;
		right: 80px;
	}

	.top-panel {
		position: relative;
	}

	.top-menu ul {
		display: block;
		/*position: absolute;
		top: 0;
		left: 0;*/
		z-index: 9998;
		width: 100%;
		height: 0;
		opacity: 0;
		/*background: black;*/
		overflow: hidden;
		margin: 0;
	}
	body.expanded .top-menu ul {
		width: 100%;
	}

	body.expanded .section-top {
		height: 100%;
	}

	.burger-menu {
		display: block;
	}
	
	.afisha_item .entry-content p:first-child:has(img) {
		text-align: center;
	}
	
	.events .slider-btn {
		display: none;
	}
}

/* MEC styles */
.mec-container {
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.mec-month-divider span {
	color: white !important;
}



.tribe-events-header__events-bar {
	/*border-radius: 10px;
	overflow: hidden;*/
}

.tribe-events .tribe-events-l-container {
	padding: 0;
	overflow: hidden;
}


.tribe-events-pg-template {
	padding: 0 !important;
}

.tribe-events-pg-template,
.tribe-common-c-svgicon__svg-fill,
.tribe-events-c-top-bar__datepicker-button,
.tribe-events-calendar-list {
	--tec-color-text-primary: white;
	--tec-color-text-event-date: white;
	--tec-color-text-event-title: white;
}

.single-tribe_events .tribe-events-c-subscribe-dropdown__container,
.single-tribe_events .tribe-events-c-subscribe-dropdown__button {
	--tec-color-text-primary: black;
	width: 300px;
}

.tribe-events-single .tribe-events-sub-nav .tribe-events-nav-next a:focus:after,
.tribe-events-single .tribe-events-sub-nav .tribe-events-nav-next a:hover:after {
    mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M.084 2.159L2 .243l9.9 9.9L2 20.041.084 18.126l7.983-7.984z' fill='%23141827'/%3E%3C/svg%3E");
	background-color: white;
	background-image: none;
}

.tribe-common img {
	max-width: 170px;
}

.tribe-events-event-image img {
	width: 100%;
	max-width: 500px;
	height: auto;
}

.tribe-events-pg-template .tribe-events-event-image {
    display: flex;
    justify-content: center;
}

.tribe-events-calendar-list__event-featured-image-link {
	position: relative;
	display: flex !important;
    justify-content: center;
    overflow: hidden;
    border-radius: 15px;
}
.tribe-events-calendar-list__event-featured-image-link img {
	position: relative;
}
.blured {
	position: absolute;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-size: cover;
	-webkit-filter: blur(10px);
	-moz-filter: blur(10px);
	-o-filter: blur(10px);
	-ms-filter: blur(10px);
	filter: blur(10px);
	opacity: 0.8;
	z-index: 0;
}

/* Events widget */
.events {
	/*margin: 0 auto;*/
	padding: 15px 20px;
	background: rgba(0,0,0,.55);
	border-radius: 20px 20px 0 0;
	backdrop-filter: blur(4px);
	box-shadow: 0 0 10px rgb(255 128 128 / 40%), 0 0 30px rgba(255, 0, 0, .2);
	overflow: hidden;
}

.events-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
}

.events-header h2 {
	margin: 0;
	/*color: #ff4a4a;*/
	color: #FFF;
	font-size: 30px;
	/*text-shadow: 0 0 15px #ff3333;*/
	text-shadow: 1px 1px 2px red, 0 0 1em #ff0000, 0 0 0.2em #ff0000;
}

.events-track {
	display: flex;
	gap: 20px;
	overflow: hidden;
	padding: 8px;
    cursor: grab;
    user-select: none;
    touch-action: none;
}

.events-track.dragging {
    cursor: grabbing;
}

.events-track * {
    user-select: none;
    -webkit-user-drag: none;
}

.event-card {
	min-width: 300px;
	height: 280px;
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	opacity: 0.6;
	box-shadow: 0 0 10px rgb(255 128 128 / 40%), 0 0 30px rgba(255, 0, 0, .2);
	transition: opacity 0.3s ease;
}
/*:nth-child(1 of .event-card) {
  opacity: 1;
}*/	
.event-card:hover {
	opacity: 1;
}
	
.event-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.event-overlay {
	position: absolute;
	inset: 0;

	display: flex;
	flex-direction: column;
	justify-content: flex-end;

	padding: 20px;

	background:
		linear-gradient(
			transparent,
			rgba(0,0,0,.95)
		);
}

.event-date {
	color: #ff5555;
	font-weight: 700;
}

.event-overlay h3 {
	color: white;
	font-size: 38px;
	margin: 10px 0;
}

.event-overlay p {
	color: #ddd;
}

.slider-btn {
	background: rgba(255,0,0,.15);
	border: 1px solid rgba(255,0,0,.4);
	color: white;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	cursor: pointer;
}

/* End events widget */




.bar-menu {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.bar-menu .menu-change {
	display: flex;
	gap: 10px;
	justify-content: center;
	align-items: center;
	margin: 10px 0;
}
.bar-menu .menu-canvas {
	flex: 1;
	height: 500px;
	overflow: hidden;
}