/*
.new-year {
	
    background: url(https://rusoc.com/wp-content/uploads/2025/12/rusoc-novogodniaia-elka-2026-right@2x.png) no-repeat;
	
    background-size: contain;
	background-position: right;
margin: 0 !important;
    padding: 4em 1em;
	color: white;
}
.new-year-wrapper {
	
    background: url(https://rusoc.com/wp-content/uploads/2025/12/rusoc-novogodniaia-elka-website-bg-1x.jpg) repeat-x;
	margin: 0 !important;
	background-size: contain;
	
	
//     background: linear-gradient(180deg, #47aad9 0%, #1b8972 100%);
}
.new-year-wrapper > div {
	
	
    background: url(https://rusoc.com/wp-content/uploads/2025/12/rusoc-novogodniaia-elka@2x.jpg) no-repeat;
	
  background-size: contain;
	background-position: left;	
	
}
.new-year h2 {
    margin: 0.2em 0;
    font-size: 9rem;
    background: -webkit-linear-gradient(#e4f9ff, #0656bb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow:0 0 14px rgb(240 237 216 / 40%);
	line-height: 100%;
}
.new-year .emphasis {
	font-weight: bold;
	color: #263BA0;	
}
.new-year a {
	color: white !important;	
}
.new-year .prihodite{
	color: #263BA0;
}
.new-year .prihodite a:link, .new-year .prihodite a:visited {
	color: #263BA0 !important;
}

@media (max-width: 699px) {
	.new-year{
    background: url(https://rusoc.com/wp-content/uploads/2022/12/elka_2022_left-1.png) no-repeat left;
	background-size: cover;
		background-position: 60%;
	}
	
	.new-year-wrapper {
		background: linear-gradient(180deg, #07a7f1 0%, #088e88 100%);
}
	.new-year-wrapper > div {
		background: none;
	}
	.new-year h2 {
		font-size: 7rem;
    line-height: 90%;
	}
}
@media only screen and (max-width: 1200px) and (min-width: 700px)  {
	.new-year-wrapper > div {
		background-size: contain;
    	background-position: -100%;
	}
	.new-year{
		background: none;
	}
}
*/




div[data-carousel-extra]{
	cursor: default;
}

amp-fit-text h2{
	padding-left: 1rem;
	padding-right: 1rem;	
}

/* main red button */
a.wp-block-button__link:hover {
    background: linear-gradient(#d1320e, #af2809);
    box-shadow: 0 5px 5px #af280955;
    text-decoration: none !important;
}

.header-inner {
	padding: 1rem 0;
	position: relative;
	margin-top: 40px;
}
.site-description {
	position: absolute;
	top: -40px;
	font-size: 1.4rem;
	width: 100%;
	text-align: center;
	left: 0;
	margin-left: 0 !important;
	margin-top: 0 !important;
	display:flex;
	align-content: center;
	justify-content: center;
	height: 40px;
	align-items: center;
	line-height: 1;
}

@media (min-width: 700px){
	.header-inner {
		padding: 0.5rem 0;
	}
	.site-logo img {
		max-height: 12rem;
	}

}
@media (max-width: 699px) {
	.header-inner {
		margin-top: 60px;
	}	
	.site-description {
		top: -60px;
		height: 60px;		
		margin-top: 0 !important;
	}
}

header button.toggle > .toggle-inner > .toggle-text {
    display: none;
}

#site-content {
    border-top: 1px solid #F5F4DD;
}

h2 + figure.wp-block-gallery.alignwide, 
h3 + figure.wp-block-gallery.alignwide,
h4 + figure.wp-block-gallery.alignwide,
h2 + figure.wp-block-gallery.alignfull, 
h3 + figure.wp-block-gallery.alignfull,
h4 + figure.wp-block-gallery.alignfull {
	margin-top: 0;
}

.wp-block-jetpack-layout-grid .wp-block-jetpack-layout-grid-column * {
	word-break: normal !important;
  word-wrap: normal !important;
}

.singular .featured-media {
	margin-bottom: 3rem;
}

img#wpstats {
    width: 0.1px;
}

.wpnbha article {
	margin-bottom: 2.5em !important;
}

@media (min-width: 1220px) {
h1, .heading-size-1 {
    font-size: 6.4rem !important;
},
.orange-section {
	padding: 4rem;
}
.blue-section	{
	padding: 6rem 4rem;
}
}

@media (min-width: 700px) {
.orange-section,
.blue-section	{
	padding: 4rem 2rem;
}
}

@media (max-width: 699px) {
	.orange-section .wp-block-jetpack-layout-grid.wp-block-jetpack-layout-gutter__huge,	
	.blue-section .wp-block-jetpack-layout-grid.wp-block-jetpack-layout-gutter__huge {
		padding: 0;
	}
}

.orange-section,
.blue-section,
.green-section {
	margin: 0 !important;
	padding: 4rem 2rem;
}

.orange-section{
	background: #F7BD4E;	
}
.blue-section{
	background-color: #14A5C5;
	color: #F5F4DD;
}
.blue-section	a{
	color: #F7BD4E;
}

.green-section{
	background-color: #07A764;
	color: #F5F4DD;
}
.green-section	a{
	color: #F7BD4E;
}

.footer-menu li a {
	font-size: 1.8rem;
	font-weight: normal;
}

.sub-navigation {
    margin: 0px !important;
    background: rgba(0 0 0 /5%);
}
.sub-navigation > ul > li > a {
	color: #d1320e;
	font-size: 1.6rem;
	font-weight: 500;
	font-family: sans-serif;
	padding: 10px 16px;
}
.sub-navigation > ul > li > a:hover {
    background: rgba(0 0 0 /5%);
}
.sub-navigation > ul > li > a > span {
    border-bottom: 1px solid rgb(209 50 14 / 0.3);
}
.sub-navigation > ul > li > a:hover > span{
    border-bottom: 1px solid rgb(209 50 14 / 0.9);
}
.sub-navigation > ul > li.selected {
    background-color: rgba(0 0 0 /5%);
}
.sub-navigation > ul > li.selected > a {
    color: black;
}
.sub-navigation > ul > li.selected > a > span {
    border: none;
}

@media (max-width: 699px) {
.sub-navigation {
    padding: 5px !important;
}	
.sub-navigation > ul > li > a {
    font-size: 1.5rem;
	padding: 2px 12px;
}
}

.home-header:before {
	background: linear-gradient(0deg, rgba(0 0 0 /100%), transparent 60%), radial-gradient(circle at 100%, rgb(246 190 78 / 20%), transparent) !important;
	opacity: 0.6 !important;	
	transition: opacity 0.3s linear;
}
.home-header {
	transition: background-position 1s linear;
}
@media (max-width: 699px) {
	.home-header {
		background-position-x: 100%;
		animation: pulse 10s infinite;
	}	
}
@keyframes pulse {
  0% {
    background-position-x: 0%;
  }
  30% {
    background-position-x: 0%;
  }
  33% {
    background-position-x: 50%;
  }
  63% {
    background-position-x: 50%;
  }
  66% {
    background-position-x: 100%;
  }
	96% {
    background-position-x: 100%;
  }
	100% {
    background-position-x: 0%;
  }
}
.home-header h1 {
	text-shadow:	0 10px 16px rgba(0 0 0 /50%);
}
p.home-header-callout {
position: absolute;
    font-style: italic;
    text-align: center;
    top: 70px;
    right: 0;
    background: radial-gradient(circle at 100%, #f6be4e, #e83601);
    box-shadow: 0 10px 30px -10px #ff5500;
    padding: 0 21px 12px;
    border-radius: 70px;
    transform: rotate(-12deg) scale(1.5);
    font-size: 15px;
    z-index: 10000;
    transition: all 0.3s ease-in-out;
}
p.home-header-callout > a {
	text-decoration: none !important;
	color: white;
}
p.home-header-callout > a > .count {
    display: block;
    font-size: 70px;
    line-height: 79%;
    letter-spacing: -3px;
}
p.home-header-callout > a > .label {
    display: block;
    width: 68px;
    line-height: 100%;
    letter-spacing: 0.4px;
}
p.home-header-callout:hover {
    transform: scale(1.6);
}
@media (max-width: 699px) {
	p.home-header-callout {
		top: -100px;
	}
	
}
.home.page.hide-homepage-title .hentry:not(.has-post-thumbnail) .entry-content>.alignfull:first-child {
	margin-bottom: 0;
}

.home .home-news.wpnbha article {
    margin-bottom: 0 !important;
}
.home .home-news.wpnbha article .entry-title > a{
	text-decoration: underline;
}
.home .more-news {
    margin: 0;
}
.home .more-news > .wp-block-button {
    margin: 0 1em 0 0;
    padding: 0;
}
.home .more-news > .wp-block-button:last-child {
    margin: 0;
}

.wp-block-jetpack-layout-grid-column.excursion-column{
	background-color: #376241 !important;
	color: #f5f4dd !important;
}

.wp-block-image.figure-rotate-round-shadow > figure {
	  margin-left: 5px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 25px -3px rgba(0,0,0,0.2);
}


.primary-menu li.current-menu-item>a, 
.primary-menu li.current-menu-item>.link-icon-wrapper>a {
	color: #41280B !important;
	text-decoration: none !important;
}

.primary-menu .sub-menu li.current-menu-item>a, 
.primary-menu .sub-menu li.current-menu-item>.link-icon-wrapper>a {
	color: #E73700 !important;
}

.learn-with-us {
		padding: 3rem;
    background: #F7BD4E;
    border-radius: 3px;
    text-align: center;
}

/* Styles for a Hentry Theme (Layout) used for Classes pages */ 
article.hentry > header {
    /* display: none; */
}
article.hentry > header + .post-inner.thin {
    padding-top: 0;
}
article.hentry .wp-block-cover {
    text-align: center;
}


/* Styles for schedule table */
.table-container{
	width: 100%;
	overflow-x: visible !important;
	padding: 0 1rem;
}
.table 
.table > table{
	border-collapse: collapse;
	border: 1px solid #D7D49B;
	margin: 0 !important;
}
.table th, 
.table td {
	padding: 5px 10px;
	font-size: 1.4rem;
	vertical-align: top;
	text-align: left;
}
.table th.center {
	text-align: center;
} 
.table th {
	background-color: #E8E7CD;
} 
.table tr > th:first-child{
	white-space: nowrap;
}
.table tr.in-between > th > span {
    position: absolute;
}
.table tr.in-between > th {
	height: 33px;
	border-top-width: 3px;
	border-bottom: none;
}
.table.schedule {
	max-width: none;
	width: auto;
}
.table.schedule table > tbody > tr> td:first-child {
	white-space: nowrap;
	background-color: #E8E7CD;
}
.schedule a
{
    background: white;
    border-radius: 15px;
    padding-left: 0.5em;
    padding-right: 0.5em;
    white-space: nowrap;
    text-decoration: none;
	margin-bottom: 2px;
}

.schedule tr > td > div:not(:last-child) {
	margin-bottom: 5px;
}
.schedule{
	margin-top: 1rem;
	margin-bottom: 1rem;
	min-width: 350px;	
}
.schedule-dates{
	margin-left: 1rem !important;
}
.schedule-dates p{
	margin-bottom: 0;
	font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
}
.class-filter{
	font-size: 2rem;
	padding: 2px 6px;
	border: none;
	border-radius: 4px;
}

/* Styles Sponsors */
.sponsors > .wp-block-group__inner-container > .wp-block-columns{
	margin-top: 8rem;
	margin-bottom: 8rem;	
}
.sponsors .sponsor {
	padding: 20px 20px 40px;
	background: white;
	position: relative;
	box-sizing: border-box;
}
.sponsors .sponsor:after {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	background: #e5ecb1;
	z-index: -2;
	transform: rotate(-3deg);
	top: 0;
	right: 0;
}

.become-sponsor{
	padding: 3rem;
	background: #F7BD4E;
	border-radius: 3px;
	text-align: center;
	max-width: 350px !important;
}

h2.fun-title, 
h3.fun-title {
    background: white;
    width: auto;
    display: inline-block;
    padding: 1rem 4rem;
    transform: skew(0deg, -10deg);
    position: relative;
    left: -4rem;
    margin-bottom: 4rem;
    margin-top: 4rem;
	color: #41280B;
}
h2.fun-title.pull-up{
	margin-bottom: -1.5rem;
}

.logo-bg {
	background: url(/wp-content/uploads/2020/08/cropped-rusoc-icon-1-2.png) no-repeat;
    /* border-left: 3px solid #41280B; */
	background-position-x: calc(0% - 40px);
	background-position-y: bottom;
	background-size: 90%;
	position: relative;
	left: -16px;
}
@media (max-width: 1000px) {
.logo-bg	{
display: none;
}
}


.show-category .cat-links a {
    display: inline-block;
    padding: 0px 7px;
    background: #E73700;
    color: white;
    font-family: sans-serif;
    font-weight: normal;
    position: relative;
    transform: skewX(-10deg);
    border-radius: 2px;
}
.show-category .cat-links a:after {
    content: "";
    position: absolute;
    width: calc(100% - 14px);
    border-bottom: 1px solid rgba(255,255,255,0.3);
    bottom: 3px;
    height: 2px;
    left: 7px;
}
.show-category .cat-links a:hover {
    text-decoration: none !important;
    background: #B52C02;
    transition: all 0.1s linear;
    box-shadow: 0 2px 10px #E73700;
}


#site-content .archive-header .archive-title:before {
    content: "Тема";
    background: #e23008;
    padding: 5px 0.5em;
    transform: skewX(-10deg);
    color: white;
    border-radius: 4px;
    font-size: 0.5em;
    position: relative;
    margin-right: 15px;
}
#site-content .archive-header .archive-title span.color-accent {
    display: none;
}
#site-content .archive-header .archive-title {
    display: flex;
    align-items: center;
	justify-content: center;
}
#site-content article.page header.entry-header{
	padding: 0 !important;
}

#site-content article.page header.entry-header h1.entry-title{
	padding: 4rem 0 !important;
}

.breadcrumbs{
	font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
	font-size: 13px;
	opacity: 0.8;
	padding-top: 10px;
}
.breadcrumbs em{
	/* dividers */
	color: rgba(0,0,0, 0.3);
	margin-right: 0.5em;
	margin-left: 0.5em;
}
.breadcrumbs strong{
	/* last item - current page */
	color: rgba(0,0,0, 0.6);
}

.classes-section {
    background: rgba(0,0,0,0.05);
    padding: 3em;
    border-radius: 5px;
	font-family: sans-serif; 
}
.classes-section > div > * {
    max-width: none !important;
}
.classes-section p > a,
.classes-section ul > li > a,
.classes-section p > a[href]:hover,
.classes-section ul > li > a[href]:hover,
.schedule a[href]:hover
{
	color: #d1320e;
	background-color: white;
	border-radius: 14px;
	text-decoration-thickness: 1px;
	padding: 2px 8px;
}
.classes-section p,
.classes-section ul{
	color: rgba(0,0,0,0.5);
	padding-left: 0 !important;
	padding-right: 0 !important;
	list-style: none;
}
.classes-section ul > li {
	margin-left: 0; 
}

h4 > span.class-age {
    color: white;
    background-color: #e73601;
    padding: 0 0.5em;
    border-radius: 2px;
    display: inline-block;
    transform: skewX(-10deg);
}
h4 > span.class-comma {
	display: none;
}
h4 > span.class-range {
	transform: skewX(-10deg);
	margin-left: 0.1em;
	margin-right: 0.1em;
	display: inline-block;
}

@media (max-width: 699px) {
	.classes-section {
		padding: 3rem 2rem;
    margin-left: -24px;
    margin-right: -24px;
    width: auto;
	}
}

h2.no-margin,
h3.no-margin,
h4.no-margin,
h5.no-margin {
	margin: 0 !important;
}

.disclamer {
	font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
	font-size: 13px;
}

.no-side-padding {
	padding-right: 0 !important;
	padding-left: 0 !important;
}

.flickity-button {
	background: rgb(232 54 1);
}
.flickity-button:hover {
	background: rgb(232 54 1 / 50%);
}

.testimonials .testimonial {
	padding: 0 50px 5px 0;
	font-style: italic;
	margin-bottom: 0 !important;
	margin-top: 20px !important;
	color: #41280c;
	font-size: 0.9em;
}
.testimonials .testimonial p{
	margin: 0;
	margin-bottom: 0.5em;
}
.testimonials h5 {
	margin: 21px 0 10px;
}
.testimonials .testimonial .author {
	font-style: normal;
	font-size: 0.9em;
	opacity: 0.5;
	margin-top: -10px;
}

@media (max-width: 699px) {
	.testimonials .testimonial {
		padding-right: 0;
	}
}

/* contact forms using Contact-form-7 */
.wpcf7-form label{
	font-size: 1em;
}
.wpcf7-form input[type="Submit"][disabled]{
	background-color: #BBBBBB;
}
.wpcf7-form-control-wrap {
    padding: 4px;
    display: block;
    background: #ffe72d61;
}
.accept-agreement .wpcf7-acceptance, .accept-agreement .wpcf7-list-item {
    display: block;
}
.accept-agreement label {
    cursor: pointer;
}

/* payment form */
input#payAmountInput {
	width: 150px;
	display: inline-block;
	padding: 0.5rem; 0.8rem;
}
#payment-amount-container label {
	font-family: inherit;
	font-size: 1em;
}
div#payment-error {
	margin: 1em 0;
	color: red;
	background: white;
	border-radius: 15px;
	padding-left: 10px;
	padding-right: 10px;
	text-align: center;
}

div#payment-error {
	margin: 1em 0;
	color: #05b12b;
	background: white;
	border-radius: 15px;
	padding-left: 10px;
	padding-right: 10px;
	text-align: center;
}

/* events calendar */

.calendar-events article {
    margin-bottom: 1.5em !important;
}
.calendar-events .entry-wrapper .cat-links{
	  margin-right: 0.7em;
    float: left;
    transform: translate(0px, 3px);
}
.calendar-events .entry-wrapper h2.entry-title{
		font-size: 1em;
    letter-spacing: -0.5px;
}
.calendar-events .entry-wrapper h2.entry-title a{
	color: #d1320e;
}
.calendar-events .entry-wrapper .entry-meta{
    font-size: 0.7em;
    font-family: sans-serif;
    opacity: 0.5;
	margin-top: 0;
	display: inline;
	white-space: nowrap;
}
.calendar-events .entry-wrapper p{
	margin: 0.3em 0;
	font-size: 0.9em;
	line-height: 1.3;
	display: inline;
}

.calendar-events.wpnbha .entry-meta .updated.published,
.calendar-events.wpnbha .entry-meta .published{
	display: inherit;
}
.calendar-events .entry-wrapper a.more-link {
    font-family: sans-serif;
    font-size: 1.4rem;
    margin-right: 0.5em;
}

.wp-block-coblocks-posts.calendar-events .wp-block-coblocks-posts__excerpt{
		font-size:0.9em;
}
.wp-block-group.calendar-container {
	margin-top: 5rem;
}
.wp-block-coblocks-post-carousel.calendar-events {
}
.wp-block-coblocks-post-carousel.calendar-events > .slick-slider > button.slick-arrow {
	z-index: 100;
	border-radius: 50%;
	background-color: #FFFFFF;
}
.wp-block-coblocks-post-carousel.calendar-events > .slick-slider > button.slick-prev {
	left: -3em;
}
.wp-block-coblocks-post-carousel.calendar-events > .slick-slider > button.slick-next {
	right: -3em;
}
.wp-block-coblocks-post-carousel.calendar-events > .swiper-container > .swiper-wrapper {
	align-items: flex-start;
}
.wp-block-coblocks-post-carousel.calendar-events > .swiper-container > .swiper-wrapper > .swiper-slide {
	flex-direction: column;
}



.wp-block-coblocks-post-carousel__image a {
	padding-top: 60%;
	background-position: bottom;
}

.tribe-block.tribe-block__event-website a {
	border-radius: 10px;
	font-size: 1em;
	background-color: #e73800;
	border: none;
	transition: all 0.2s ease;
}
.tribe-block.tribe-block__event-website a:hover{
	transform: scale(1.1);
}

.tribe-theme-twentytwenty .tribe-common * {
	letter-spacing: normal;
}

.tribe-events .tribe-events-calendar-month__calendar-event-datetime,
.tribe-common .tribe-common-h8,
.tribe-common .tribe-common-b3{
	font-size: 14.3px;
	line-height: 1.2;
}
.tribe-common a{
	color: #cd2653;
}
.tribe-events .tribe-events-calendar-month__day--past .tribe-events-calendar-month__calendar-event{
	opacity: 0.5;
}