/*
Theme Name: OsTende Child
Template: ostende
Theme URI: http://ostende.themerex.net/
Description: OsTende - excellent WordPress theme with many different blog and header layouts
Author: ThemeREX
Author URI: http://themerex.net/
Version: 1.1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: flexible-header, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, full-width-template, microformats, post-formats, theme-options, threaded-comments, translation-ready
Text Domain: ostende
*/

/* Theme customization starts here
------------------------------------------------------------ */

/*ОБЩИЕ ПРОБЛЕМЫ*/

/*Слайдер - Вдублирование стрелок*/
.swiper-button-next:after, .swiper-button-prev:after{
	display: none !important;
}

/*ШРИФТЫ*/
h1, 
/*
h2, h3, 
h4, h5, h6, */

.tribe-events-calendar-month__calendar-event-tooltip-title.tribe-common-h7 a, 
.tribe-common--breakpoint-medium.tribe-common .tribe-common-h6--min-medium, 
.tribe-common .tribe-common-b3, .tribe-common--breakpoint-medium.tribe-common .tribe-common-b3 {
    font-family: "Times New Roman", sans-serif !important;
}

/*Заголовки*/
.footer_wrap .widget_title, .footer_wrap .widgettitle {
    font-family: "Times New Roman", sans-serif !important;
	font-size: 1.888em !important;
}

/*ПОЛЯ*/
.body_style_wide .page_content_wrap{
	padding-left: 15px !important;
	padding-right: 15px !important;
}
/*Поля Репертуара/ Идёт конфликт со страницей Наши актёры*/
.page_content_wrap .elementor-element-populated{
	/*padding-left: 0 !important;
	padding-right: 0 !important;*/
}
/*Афиша - Поля в списке мероприятий*/
@media all and (max-width: 767px) {
    .tribe-common .tribe-common-l-container {
        padding-left: 0 !important;
    }
}

/*ПАРТНЁРЫ*/
#partner-box figure.gallery-item{
    padding: 12px;
}
/*4 колонки ->768px->*/
@media all and (min-width:768px){
	#partner-box .gallery figure:nth-child(1), 
	#partner-box .gallery figure:nth-child(2), 
	#partner-box .gallery figure:nth-child(3){
		border-right: 1px solid #e5e5e5;
		border-bottom: 1px solid #e5e5e5;
	}
	#partner-box .gallery figure:nth-child(4){
		border-bottom: 1px solid #e5e5e5;
	}
	#partner-box .gallery figure:nth-child(5), 
	#partner-box .gallery figure:nth-child(6), 
	#partner-box .gallery figure:nth-child(7){
		border-right: 1px solid #e5e5e5;
	}
}
/*3 колонки ->480px-767px*/
@media all and (min-width:480px) and (max-width:767px){
	#partner-box .gallery figure:nth-child(1), 
	#partner-box .gallery figure:nth-child(2), 
	#partner-box .gallery figure:nth-child(4),
	#partner-box .gallery figure:nth-child(5){
		border-right: 1px solid #e5e5e5;
		border-bottom: 1px solid #e5e5e5;
	}
	#partner-box .gallery figure:nth-child(7), 
	#partner-box .gallery figure:nth-child(8) {
		border-right: 1px solid #e5e5e5;
	}
	#partner-box .gallery figure:nth-child(3), 
	#partner-box .gallery figure:nth-child(6) {
		border-bottom: 1px solid #e5e5e5;
	}
}
/*2 колонки ->479px*/
@media all and (max-width:479px){
	#partner-box .gallery figure:nth-child(1), 
	#partner-box .gallery figure:nth-child(2), 
	#partner-box .gallery figure:nth-child(3),
	#partner-box .gallery figure:nth-child(4),
	#partner-box .gallery figure:nth-child(5),
	#partner-box .gallery figure:nth-child(6){
		border-bottom: 1px solid #e5e5e5;
	}
	#partner-box .gallery figure:nth-child(1), 
	#partner-box .gallery figure:nth-child(3), 
	#partner-box .gallery figure:nth-child(5),
	#partner-box .gallery figure:nth-child(7){
		border-right: 1px solid #e5e5e5;
	}
}
/*ХЕДЕР*/
@media all and (max-width:767px){
	header .logo_image {
		height: 60px;
	}
}

/*ГЛАВНАЯ СТРАНИЦА*/
.sc_item_title{
    font-family: "Times New Roman", sans-serif !important;
}

/*НАШ ТЕАТР*/
#hudruk{
	position: relative;
	top: -8em;
}
.hudruk-text{
	text-align: center;
    line-height: normal;
	
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-orient: horizontal;
	

	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-flow: column wrap;
	flex-flow: column wrap;
}
.hudruk-text, 
.hudruk-text h4{
	color: #fff;
}
.hudruk-text h4{
	margin: 0;
}

/*ОТЗЫВЫ - МАКЕТ*/
.sc_testimonials_item_content p{
	line-height: 1.33em !important;
}
/* Стиль родительской темы
.sc_testimonials_simple [class*=column] .sc_testimonials_item_content, 
.sc_testimonials_simple [class*=column] .sc_testimonials_item_author
*/
.sc_testimonials [class*=column] .sc_testimonials_item_content, 
.sc_testimonials .sc_testimonials_item_content {
    text-align: center !important;
}

/*СЛАЙДЕР*/
/*Устраняем вылет кнопки в слайдере*/
@media all and (max-width: 479px) {
	.sr7-layer.rev_title {
        /*margin-left: 0 !important;**/
    }
    .sr7-layer.rev-link {
		/*top: inherit !important;
        margin-left: 0 !important;*/
    }
}

/**/

/*РЕПЕРТУАР*/
/*Сайдбар - Отключаем навигацию по постам*/
.widget_categories li.cat-item-99{
	display: none !important;
}

/*МЕРОПРИЯТИЯ*/
/*СПИСОК МЕРОПРИЯТИЙ*/
/*Выравниваем Цену*/
.tribe-common .tribe-common-b3, 
.tribe-common--breakpoint-medium.tribe-common .tribe-common-b3 {
    text-align: left !important;
}

/*СТРАНИЦА МЕРОПРИЯТИЯ*/
/*Уменьшаем отступ над обложкой*/
.single-tribe_events .page_content_wrap{
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
}
/*Скрываем Добавить в календарь Гугл*/
.tribe-events-c-subscribe-dropdown__container {
    display: none !important;
}
/*Блок с ДопИнформации о событии*/
.single-tribe_events .tribe-events-single-section {
    width: 100% !important;
}

/*Локация в макете Elementor*/
.tec-events-elementor-event-widget__venue .tec-events-elementor-event-widget__venue-header, 
.tec-events-elementor-event-widget__venue .tribe-events-content .tec-events-elementor-event-widget__venue-header {
    text-transform: none !important;
}
.tec-events-elementor-event-widget__venue .tec-events-elementor-event-widget__venue-header:after{
	position:relative;
	content:":";
}

.tec-events-elementor-event-widget__venue .tec-events-elementor-event-widget__venue-details, 
.tec-events-elementor-event-widget__venue .tribe-events-content .tec-events-elementor-event-widget__venue-details {
    padding: 0 !important;
}
.tec-events-elementor-event-widget__venue .tec-events-elementor-event-widget__venue-container, .tec-events-elementor-event-widget__venue .tribe-events-content .tec-events-elementor-event-widget__venue-container {
    border: none !important;
	margin: 0 !important;
}
.tec-events-elementor-event-widget__venue-details h3{
	margin: 0 !important;
	font-size: 17px !important;
}
.tec-events-elementor-event-widget__venue-header {
    margin-top: 0 !important;
	margin-bottom: 4px !important;
}
.tribe-address{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-flow: row wrap;
	flex-flow: row wrap;
	
	font-size: 17px !important;
}
/*Отключаем поле Страна*/
.tribe-region, 
.tribe-address .tribe-delimiter{
    display: none !important;
}

/**/
.tec-events-elementor-event-widget__venue .tec-events-elementor-event-widget__venue-container, 
.tec-events-elementor-event-widget__venue .tribe-events-content .tec-events-elementor-event-widget__venue-container {
	grid-template-columns: 1fr !important;
	grid-template-rows: 1fr !important;
}
@media only screen and (min-width: 767px) {
    .tec-events-elementor-event-widget__venue, .tec-events-elementor-event-widget__venue .tribe-events-content {
        flex-direction: column !important;
    }
	.tec-events-elementor-event-widget__venue .tec-events-elementor-event-widget__venue-container, 
	.tec-events-elementor-event-widget__venue .tribe-events-content .tec-events-elementor-event-widget__venue-container {
		margin: 0 !important;
	}
}
@media (max-width: 479px) {
    div.content_wrap, .content_container {
        width: 100% !important;
    }
}

/*БЛОГ*/
/*Страница поста - Расширяем обложку поста*/
.post_featured img {
    width: 100% !important;
    max-height: none !important;
}
/*Скрываем навигацию по постам*/
.nav-links-single{
	display: none !important;
}
/*Скрываем Посмотреть фото на обложке поста*/
.text-zoom{
	display: none !important;
}

/*КОМАНДА*/
/*Устраняем вылет подзаголовка в карточке членов команды*/
.sc_team_default .sc_team_item_subtitle {
    line-height: inherit !important;
}

/*КАЛЕНДАРЬ DATE PICKER*/
/*Отключаем вылет DatePicker если нет событий*/
.tribe-events-header__messages svg.tribe-common-c-svgicon--messages-not-found{
    display: none !important;
}
/*Стили календаря*/
.datepicker.dropdown-menu {
    border: 1px solid #e5e5e5;
    box-shadow: none !important;
    padding-top: 16px !important;
}
.datepicker-dropdown:before {
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid rgba(0, 0, 0, .1);
}
/*Контейнер*/
.tribe-events .tribe-events-c-top-bar__datepicker-container {
    width: 100% !important;
}
/*Кнопки даты*/
.datepicker td>button, .datepicker th>button {
    -moz-border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    border-radius: 0 !important;
}
.scheme_default .tribe-events .datepicker .next:after, 
.scheme_default .tribe-events .datepicker .prev:before {
    color: #fff;
}
.tribe-events .datepicker .day:hover, 
.tribe-events .datepicker .day:focus  {
    color: #999;
}
/*Стрелка*/
.datepicker-dropdown.datepicker-orient-bottom:after {
    top: -12px !important;
}
.datepicker-dropdown:before {
    border-bottom: 7px solid rgba(0, 0, 0, .1) !important;
}
/*Активная дата*/
.datepicker table tr td button.active, .datepicker table tr td button.active.disabled, .datepicker table tr td button.active.disabled:hover, .datepicker table tr td button.active:hover, .datepicker table tr td span.active, .datepicker table tr td span.active.disabled, .datepicker table tr td span.active.disabled:hover, .datepicker table tr td span.active:hover, .datepicker-grid>button.active, .datepicker-grid>button.active:hover {
    background-color: #151414 !important;
	
	background: -webkit-gradient(linear, left top, right top, color-stop(5%, rgb(21, 20, 20)), color-stop(95%, rgb(21, 20, 20))) !important;
	background: linear-gradient(90deg, rgb(21, 20, 20) 5%, rgb(21, 20, 20) 95%) !important;
}

	/*МОБИЛЬНЫЙ КАЛЕНДАРЬ*/
	@media all and (max-width: 1023px) {
		.tribe-events .tribe-events-c-top-bar__datepicker-container {
			width: 369px !important;
		}
		div.tribe-events-c-top-bar__datepicker-container button {
			background-color: #ce172d !important;
		}
		div.tribe-events-c-top-bar__datepicker-container button:hover, 
		div.tribe-events-c-top-bar__datepicker-container button:focus {
			background-color: #919191 !important;
		}
	}

/*КАЛЕНДАРЬ ВЫПАДАЮЩИЙ МЕСЯЦ*/
div.datepicker .datepicker-switch {
    width: 100% !important;
}
div.datepicker-grid {
    gap: 1.5px !important;
}
.datepicker-grid>button {
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    border-radius: 0 !important;
}
div.datepicker .datepicker-switch {
    padding: 14px 0 !important;
}
.tribe-events .datepicker .next, 
.tribe-events .datepicker .prev {
    padding: 13px 0 14px !important;
}
.datepicker-months thead{
    border-bottom: 1px solid #fff;
}

div.tribe-events .datepicker .month, 
div.tribe-events .datepicker .year {
    padding: 15px 4px !important;
}

div.datepicker-grid>button.focused{
    color: #777 !important;
}
.month.focused.active.current, 
.year.focused.active.current{
	color: #fff !important;
}

/*Переключатель видов/ Селектор*/
.tribe-events .tribe-events-c-view-selector__content {
    background: #fff !important;
}

/*КАЛЕНДАРЬ ЗАГОЛОВКИ МЕРОПРИЯТИЙ*/
a.tribe-events-calendar-month__calendar-event-title-link{
	color: #ce172d !important;
}

/*ТУЛТИП МЕСЯЦ - МОДАЛЬНОЕ ОКНО С АНОНСОМ*/
/*Контейнер события*/
.tooltipster-base.tribe-events-tooltip-theme {
}
.tooltipster-sidetip .tooltipster-content{}
/*Субконтейнерсобытия*/
.tooltipster-sidetip .tooltipster-box {
    border: 1px solid #000;
    border-radius: 0 !important;
}
/*Раздел события*/
.tribe-events-calendar-month__calendar-event-tooltip{
	background: #e5e5e5 !important;
	padding:12px !important;
	border: none !important;
}

/*Заголовок события*/
.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-title {}
/*Описание события*/
.tribe-events-calendar-month__calendar-event-tooltip-description.tribe-common-b3 p {
  line-height: 1.11em !important;
}
/*Цена события*/
.tribe-events-calendar-month__calendar-event-tooltip-cost.tribe-common-b3, 
.tribe-events-calendar-month__calendar-event-tooltip-cost.tribe-common-b3 span{	
	color: #606060 !important;
}


/*МОДАЛЬНОЕ ОКНО*/
.dialog-type-lightbox {
    z-index: 99999 !important;
}
/*Отключаем заголовок фотографий,
отключаем ссылку "Поделиться"*/
.elementor-slideshow__title, 
.elementor-slideshow__header .eicon-share-arrow{
    display: none !important; 
}
/*Устраняем вылет верхних иконок*/
.elementor-slideshow__footer, .elementor-slideshow__header {
    width: 80% !important; 
}

/*ПОДКЛЮЧАЕМ ИКОНКИ РУССКИХ СОЦСЕТЕЙ*/
/*Социконки*/
@font-face {
  font-family: 'RuIcons';
  src: url('fonts/ruicons/ruicons.woff2') format('woff2'),
       url('fonts/ruicons/ruicons.woff') format('woff'),
       url('fonts/ruicons/ruicons.ttf') format('ttf'),
       url('fonts/ruicons/ruicons.otf') format('otf');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Базовые стили иконок: */
.ruicon {
  font-family: 'RuIcons', sans-serif;
  font-size: 1em;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
  text-transform: none;
  letter-spacing: normal;
  speak: none; /* для скринридеров */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/*Рутуб*/
span.icon-youtube:before{
	content: '\f008' !important;
	font-family: "ruicons" !important;
}
/*Макс*/
span.icon-twitter:before {
    content: '\f004' !important;
	font-family: "ruicons" !important;
}