/**
Theme Name: astra-child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.6.72
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/
/* скрыть второй <div> внутри определенного родителя */
.eu-cookies-bar-cookies-bar-message div> a:nth-of-type(2) {
  display: none;
}
/* ftvi */
.vi-close {position: absolute;
    right: 0;
    width: 400px;padding: 20px;}
/* news for template tpl_spec_cats */
.newspost {padding:0 50px!important;}
.newspost .meta a {pointer-events: none;
    color: #a82421;
    border: 1px solid;
    padding: 0 3px;}
.newspost span{display: block; }
.newspost .data {font-size: 20px;}
.flex-control-thumbs img{
 width:130px !important;
 padding:5px;
}
.flex-control-thumbs li {
 width:auto !important;
}
.newspost .attachment {width:100%;}
.newspost  .row {padding-bottom:20px;}

p {margin-bottom:0}
ol, ul {
    margin: 0 17px;
}
/* карусель */
.flexslider {margin:0}
#primary {margin:1em;}
#faces {
    color: #fff;}
#faces h5 {color: #fff;
    margin: 0;
    /* padding: 0; */
    font-size: 100%;
    padding: 10px 20px; color: #fff;border-bottom:1px solid #fff;}
#faces ul li{list-style: none;
    text-transform: uppercase;
    border-bottom: 1px solid;
    padding: 5px 20px;}
#faces ul {padding: 0;
    margin: 0;}
#faces ul li a {}
.faces  .obfx-grid-meta {padding: 10px 0 0 0;}
.faces .obfx-grid-title {border-bottom:1px solid #aaa;}
.faces .obfx-grid-col-content {padding-bottom: 10px;}
.faces .obfx-grid-meta .obfx-grid-tags-item {border: none;
    display: block;
    text-align: center;}
.faces .obfx-grid-meta .obfx-grid-tags-item:after {content:"";}
.faces .obfx-grid-meta {min-height: 70px;}
.faces .obfx-grid-meta .obfx-grid-tags-item a{color:#333; font-weight:normal; pointer-events:none;}
.obfx-grid .entry-title.obfx-grid-title {text-align:center;padding:10px}
.obfx-grid .obfx-grid-col-image {margin:0!important;}
.obfx-grid .obfx-grid-col-image img {height:100%!important; width:auto!important;}
/* информация на банере */

.metaslider.ms-theme-simply-dark .flexslider ul.slides .caption-wrap .caption, .metaslider.ms-theme-simply-dark .rslides .caption-wrap .caption {
	padding:20px !important;
	
}
.metaslider.ms-theme-simply-dark .rslides .caption-wrap .caption {
	font-family:system-ui
}
.metaslider.ms-theme-simply-dark .rslides .caption-wrap {
	background: #a82421de!important;
	left:auto;
    opacity: 1;
   width: auto;
	margin: 0 0 1rem!important
}
.metaslider .caption-wrap{
	position: absolute;
    bottom: 0;
    right: 0;
    color: white;
    opacity: 0.7;
    margin: 0;
    display: block;
    width: 100%;
    line-height: 1.4em;
	
}

.metaslider .caption-wrap .caption h2, .metaslider .caption-wrap .caption h3 {color:#fff;line-height:1em;text-align:center;
}
.metaslider .caption-wrap .caption p {text-align:center;}
.rslides img {
    display: block;
    height: auto;
    float: left;
    width: 100%;
    border: 0;
}
.metaslider.ms-theme-simply-dark ul.rslides_tabs {
    justify-content: flex-start !important;
    bottom: 50px;
    top: auto !important;
    left: 20px;
    z-index: 999;
}
.metaslider.ms-theme-simply-dark ul.rslides_tabs li.rslides_here a {
	background:#E31E24 !important;
	
}
.metaslider.ms-theme-simply-dark ul.rslides_tabs li a {
	background:#B2B3B3!important;
}
/* лица */
.faces .jet-title-fields__item-value {
	border-bottom: 1px solid;
    padding: 0;
    margin: 15px;
}
.faces h4 {margin:0!important;}
.faces .jet-content-fields {
	padding: 0 10px 10px; 
}
.htmega-tab-menu-style-5 a {    padding: 0 0 0 20px;
    text-align: left;}
.htmega-tab-style-5 {align-items: flex-start;}
/* меню */
.htmega-accourdion-title h2, .entry-content p  {
	    margin-bottom: 0;
}
/* карусель мероприятий new */


.carusel h5 {text-align:center; font-size:0.9rem; font-weight:bold;}
.carusel .time {
    text-align: center; background:#9d0808; color:#fff;}
.carusel .jet-carousel__item-text {font-size: 0.7rem;
    text-align: center; }
/* карусель мероприятий */
.htmega-postslider-layout-1 .content .post-inner {
	background:none !important;
}
.post-carousel-wrapper.htmega-postcarousel-layout-3 button.htmega-carosul-prev.slick-arrow {
	right:auto;
	top: 40%;
	left:-50px
	
}
.post-carousel-wrapper.htmega-postcarousel-layout-3 button.htmega-carosul-next.slick-arrow{
	left:auto;
	top:40%;
	right:-50px;
	
}
.post-carousel-wrapper .slick-slide{
	margin: 0 5px;
}
.htmega-single-post-slide{
	height:222px
}
.htmega-single-post-slide ul.meta li {
width: 100%;
    height: 30px;
    background: #bc0000;
    margin: 0 !important;
    padding: 4px !important;
    color: #fff;
}
/* описание */
.links a {text-decoration:underline;color:#a50000;}
.htmega-single-post-slide .content .post-inner p {
	width: 100%;
    height: 30px;
      order: 3;
  text-align: center;
}
.htmega-postslider-layout-1 .content .post-inner {
	padding:0px;
	
}
.htmega-postslider-layout-1 .content {
	width:100%;
}
/* название 1 */
.htmega-single-post-slide .content .post-inner h2 {
	padding:0 !important;
	margin: 0 !important;
	width:100%;
	text-align:center;
	order: 2;
}
/* название 2 */
.htmega-single-post-slide .content .post-inner h2 a {
height:auto;	
    background: #fff;
	padding:5px 0;
	
}
/* дата */
.htmega-single-post-slide ul.meta {
	order: 1;
    display: block;
    margin: 0;
flex-basis: 78%;
}
/* общий блок */
.post-carousel-wrapper .htmega-postslider-layout-1 .content .post-inner {
	background:none;
	flex-wrap:nowrap;
}
.htmega-single-post-slide a {
	    height: 160px;
    display: block;
    overflow: hidden;
}
/* календарь */

#calenda .ecwd-events-day-details .events li .event-details-container {
	border:20px solid #eee ;
	padding:10px;
	margin:0 0 10px;
	
}
/* Legacy EventON calendar (#calenda) — без привязки к Elementor */
#calenda .ecwd_theme_calendar table.cal_blue.ecwd_calendar_container .current-day .day-number,
#calenda .ecwd_theme_calendar table.cal_blue.mini .current-day {
	background: #a50000 !important;
}
#calenda .elementor-widget-container .ecwd_theme_calendar .calendar-head {
background:#fff !important;
}

table.cal_blue.mini .previous span, table.cal_blue.mini .next span,#calenda  .calendar_main .ecwd_calendar .previous span, .calendar_main .ecwd_calendar .next span {
	font-size:13px;
	text-transform:uppercase;
}
#calenda  .elementor-widget-container .ecwd_theme_calendar .calendar-head .current-month div {
	font-size:13px !important;
	text-transform:uppercase;
}
#calenda  .elementor-widget-container .ecwd_theme_calendar .calendar-head .previous, .elementor-widget-container .ecwd_theme_calendar .calendar-head .current-month, .elementor-widget-container  .ecwd_theme_calendar .calendar-head .next, .elementor-widget-container .ecwd_theme_calendar .calendar-head {
	border:none !important;
}
 #calenda .calendar_main .ecwd_calendar .filter-container {
	display:none
}
#calenda .ecwd_calendar_view_tabs {display: none;}
#calenda  .ecwd_calendar_container tbody {display:flex;     justify-content: center;}
#calenda  .ecwd_calendar_container tbody tr {display:flex;} 
#calenda .ecwd_theme_calendar 
.elementor-widget-container .ecwd_theme_calendar .calendar-head .previous a,.elementor-widget-container .ecwd_theme_calendar .calendar-head .current-month, #calenda  .elementor-widget-container .ecwd_theme_calendar .current-month a, #calenda  .elementor-widget-container .ecwd_theme_calendar .calendar-head .current-month div, #calenda .elementor-widget-container .ecwd_theme_calendar .calendar-head .next a  {
	color:#333 !important;
	
}
table.cal_blue.mini .previous span, table.cal_blue.mini .next span, #calenda  .calendar_main .ecwd_calendar .previous span, .calendar_main .ecwd_calendar .next span {
	color: #333;
}
#calenda .ecwd_theme_calendar table.cal_blue.ecwd_calendar_container .normal-day-heading {
	display:none;
}
#calenda .ecwd_theme_calendar table.cal_blue.ecwd_calendar_container .day-with-date {font-size: 14px !important;
    display: block;
    width: 36px;
    height: 36px;
    line-height: 30px;}
#calenda .ecwd_theme_calendar table.cal_blue.ecwd_calendar_container .day-without-date{
display:none;
}
#calenda .calendar_main .ecwd_calendar div.event-details {width:100%}
.calendar_main .ecwd_calendar img {
	float: left;
    padding: 10px;
}
.nav-links {display:none!important;}

/**/
/* мобильная */
@media screen and (max-width: 480px) {
	
	.obfx-grid-col-image {
	/*	height:400px!important; */
	}	
	.hentry {padding:0 20px;}
	.metaslider.ms-theme-simply-dark .rslides .caption-wrap {
		position: initial;
    display: table;
    width: 100% !important;
  	
	}	
	.metaslider.ms-theme-simply-dark ul.rslides_tabs {
		bottom: -20px;
		display: inline-block !important;
   position: relative;
    background: transparent;
    margin: 0 auto;
    padding: 0 !important;
   left: 0;
	}
#calenda 	.ecwd_calendar_container tbody tr {
		display: block;
	}
#calenda 	.ecwd_theme_calendar table.cal_blue.ecwd_calendar_container .day-without-date {
	display: block;
    width: 36px;
    height: 36px;	
	}
}
/*footer*/
.footer ul {padding:0;margin:0}
.footer ul li {list-style:none; line-height:18px}
.footer ul li a {color:#fff;}
/*breadcrumbs*/
.breadcrumbs {font-size: 18px;}
.breadcrumbs span {color:#666!important;}
/* news */
.news .obfx-grid-container.obfx-grid-style-list .obfx-grid-col-image {width:100%;}
.obfx-grid-col-content {
width:100%!important;
	text-align:justify!important;
}
.obfx-grid-tags-item {border:1px solid; padding:0 3px;}
.obfx-grid-footer a {font-size:14px!important;color:#000!important; border: 1px solid #333;padding:4px;}

/* новости */
@media screen and (min-width: 768px) {

	.obfx-grid-container.obfx-grid-style-list .obfx-grid-col-content {width: 85%!important;}
.obfx-grid-container.obfx-grid-style-list .obfx-grid-col-image {width:13%!important;}
.news .obfx-grid .obfx-grid-col-image {height:auto!important;}
.news .obfx-grid .entry-title.obfx-grid-title {text-align:left;padding:0;}
.news .obfx-grid-meta a {
	pointer-events:none;
}

.obfx-grid .obfx-grid-col-image.obfx-fit-height img {
/*	
width:auto!important; height:100%!important;
*/	
	}	
} 
/* анкета */
.wpcf7 textarea {}
.wpcf7 h4,.wpcf7 p {padding:0!important;margin:3px!important;}
/* videotube */
.videotube {
    color: #fff !important;
    text-align: center;
    font-size: 18px !important;
    font-weight: bold;
    cursor: pointer;
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(to bottom, #e31e24, #c41e24, #a82421);
    border: 1px solid #8b1a1a;
    border-radius: 8px;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    margin: 10px 0;
}
.videotube:hover {
    background: linear-gradient(to bottom, #f02e35, #d42e35, #b82e2a);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}
.videotube:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.videotube i {
    color: #fff !important;
    margin-right: 8px;
}
.videotube p {
    margin: 0;
    padding: 0;
}
.elementor hr {background:#ddd;padding:0;margin:5px;}
#dc-day-show .dc-item-title {display:none;}
@media screen and (max-width:1025px){
		.jet-banner.jet-effect-marley .jet-banner__title {top:0px;font-size: 10px!important;}
}

/* UserWay Accessibility Widget - позиционирование в правом нижнем углу */
#userway-widget,
#userway-widget-container,
.userway-widget,
[data-userway],
[data-userway-widget],
div[id*="userway"],
div[class*="userway"] {
    position: fixed !important;
    top: auto !important;
    bottom: 20px !important;
    right: 20px !important;
    left: auto !important;
    z-index: 999999 !important;
}

/* Дополнительные стили для контейнера виджета */
#userway-widget iframe,
#userway-widget-container iframe,
.userway-widget iframe {
    position: relative !important;
}

/* Мобильная версия - уменьшаем отступы */
@media screen and (max-width: 768px) {
    #userway-widget,
    #userway-widget-container,
    .userway-widget,
    [data-userway],
    [data-userway-widget],
    div[id*="userway"],
    div[class*="userway"] {
        bottom: 15px !important;
        right: 15px !important;
    }
}