/*
Theme Name: sorokavorona
Theme URI: http://soroka-vorona.info
Author: Soroka Vorona
Description: Soroka-Vorona site theme.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: soroka-vorona.info
*/

body {
/*	font-family: 'Inter', sans-serif;*/
	font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
	font-size: 16px;
	line-height: 1.5;
	color: #333333;
}
h1, h2, h3, h4, h5, h6 {
	color: #252525;
	font-weight: 600;
}
ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
a {
	color: #0071dc;
	text-decoration: none;
}

a:hover, a:focus {
	color: #0062bf;
	transition: 300ms ease;
}
.center__title {
	text-align: center;
	margin-bottom: 40px;
}
.descriprion__section {
	color: #696969;
}
.title__after, .title__after_left {
	position: relative;
}
.title__after:after {
	position: absolute;
	content: "";
	left: 0;
	right: 0;
	bottom: -10px;
    margin: 0 auto;
	width: 92px;
	height: 12px;
	background: url('img/title__after.svg')no-repeat;
	background-size: contain;
}

.title__after_left:after {
	position: absolute;
	content: "";
	left: 30px;
	right: 0;
	bottom: -10px;
	width: 92px;
	height: 12px;
	background: url('img/title__after.svg')no-repeat;
	background-size: contain;
}




/*====== HEADER ======*/
nav.navbar {
	display: flex;
	justify-content: space-between;
}
header.header {
	position: relative;
    background: #fff;
    z-index: 1;
}
.navbar-brand {
    padding-top: 10px;
    padding-bottom: 10px;
}
.navbar-brand img {
    height: 60px;
    width: auto;
}
nav.navbar .nav-link {
    display: block;
    padding: 0.5rem 1rem;
    color: #4c608f;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
}
nav.navbar .navbar-nav {
    column-gap: 20px;
}
:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) {
    border: 2px solid #0071dc;
    padding: 4px;
    border-radius: 6px;
}
button.wp-block-search__button.has-icon.wp-element-button {
    background: transparent;
    border: none;
    color: #515ada;
}
input#wp-block-search__input-1 {
    font-size: 14px;
}
.search__form {
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 50px;
}
.search__form form.search-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.search__form form.search-form label {
	flex: 0 0 calc(100% - 100px);
}


/* Hamburger */
/*.collapsing {
    transition: none;
}*/
.navbar-toggler {
    color: #000;
    border-color: transparent;
    padding: 0;
    fill: #24292e;
    position: absolute;
    right: 0;
}
button.navbar-toggler[aria-expanded="false"] svg rect {
  transition: 300ms;
}

button.navbar-toggler[aria-expanded="false"] svg rect:nth-child(1){
  top: 0px;
  transform-origin: left center;
}
button.navbar-toggler[aria-expanded="false"] svg rect:nth-child(3){
  top: 42px;
  transform-origin: left center;
}
button.navbar-toggler[aria-expanded="true"] svg rect:nth-child(1){
  transform: rotate(45deg) translateX(15px);
  transition: 300ms;
}
button.navbar-toggler[aria-expanded="true"] svg rect:nth-child(2){
  width: 0%;
  opacity: 0;
  transition: 300ms;
}
button.navbar-toggler[aria-expanded="true"] svg rect:nth-child(3){
  transform: rotate(-45deg) translateX(-52px);
  transition: 300ms;
}
.navbar-light .navbar-toggler {
    border-color: transparent;
}
button:focus {
    outline: none;
}
.navbar-toggler:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: none;
}
/* Hamburger */

.dropdown-menu {
    border: none;
}
.dropdown-item {
    display: block;
    width: 100%;
    padding: 7px 18px;
    font-size: 14px;
    clear: both;
    font-weight: 400;
    color: #555;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}
.btn-search {
    padding: 0 10px;
    height: 40px;
    background: transparent;
    border: none;
}
.btn-search .icon__search {
    display: block;
    width: 18px;
    height: 18px;
    background: #808080;
    -webkit-mask: url('img/icons/search.svg')no-repeat;
    mask: url('img/icons/search.svg')no-repeat;
}
.btn-search:hover .icon__search {
    background: #000;
}
.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: transparent;
    background-clip: padding-box;
    border: none;
    outline: 0;
}
.modal .modal-content {
	background: #fff;
}
.search__modal {
    background: #fff;
}
.btn-close {
    box-sizing: content-box;
    width: 20px;
    height: 20px;
    padding: 0.25em 0.25em;
    background: #fff;
    -webkit-mask: url('img/icons/close.svg')no-repeat;
    border: 0;
    border-radius: 0.25rem;
    opacity: 1;
    position: absolute;
    content: "";
    top: -40px;
    right: 0;
}
.wp-block-search__inside-wrapper {
    border-radius: 25px;
    padding: 0px 0px 0 15px;
}
.modal-header {
    border-bottom: none;
}


nav.main__menu_wrap {
	background: #fff;
	box-shadow: 0 0px 26px rgba(0,0,0,.1);
}
.top__navbar_flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.social__links {
	list-style-type: none;
	margin:0;
	padding: 0;
	display: flex;
	gap: 10px;
	align-items: center;
}
.social__icon {
	display: block;
	width: 24px;
	height: 24px;
	fill: #d5d4d4;
}
.header__links a {
	font-size: 12px;
	color: #777;
}


a.top_nav__btn {
    background: #ffc221;
    border-radius: 25px;
    color: #0071dc !important;
    padding: 8px 30px !important;
}
a.top_nav__btn:hover, a.top_nav__btn:focus {
    background: #0071dc;
    color: #ffc221 !important;
    transition: 300ms ease;
}
/*====== HEADER ======*/




.btn {
    display: inline-block;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1;
    color: #222;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 12px 16px;
    font-size: 14px;
    border-radius: 25px;
}
.btn-primary {
    color: #fff;
    background-color: #2390bf;
    border-color: #2390bf;
}
.btn-primary:hover {
    color: #fff;
    background-color: #17698d;
    border-color: #17698d;
}
.btn-yellow {
    color: #333;
    background-color: #ffbf13;
    border-color: #ffbf13;
    font-size: 15px;
    font-weight: 600;
}
.btn-yellow:hover, .btn-yellow:focus {
    background-color: #e3a80b;
    border-color: #e3a80b;
    color: #111;
}
.btn-check:focus+.btn, .btn:focus {
    outline: 0;
    box-shadow: none;
}






/*====== SECTIONS ======*/
.section__hero {
	padding: 40px 0;
	background: #f9f9fb;
}
.hero__title {
	font-size: 40px;
	color: #252525;
	font-weight: 500;
	margin-bottom: 15px;
	line-height: 1.2;
}
.hero__title span {
	display: block;
	font-size: 15px;
	color: #0071DC;
	margin: 30px 0 15px;
	text-transform: uppercase;
	font-weight: 500;
}
.hero__content {
	font-size: 18px;
	line-height: 1.7;
}
.blue__line {
	padding: 20px 0;
	font-size: 16px;
	background: #0071DC;
	color: #fff;
}
.blueline__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
section.section__breadcrumbs {
    padding: 15px 0;
    font-size: 14px;
    background: rgba(98,117,255,.1);
}
.breadcrumbs {
	color: #333;
	font-size: 11px;
}
.breadcrumbs a {
	color: #ababab;
}
.breadcrumbs a:hover {
	color: #333;
}
.section__publications {
	padding: 70px 0 50px;
}
a.block__post_item {
	display: block;
	position: relative;
	margin-bottom: 40px;
}
a.block__post_item:hover .block__post_title, a.block__post_item:focus .block__post_title {
	color: #0071DC;
}
.block__post_thumb {
	width: 100%;
	padding-top: 55%;
	position: relative;
}
.block__post_thumb .image__wrapper {
	position: absolute;
	content: "";
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}
.block__post_thumb .image__wrapper img {
	object-fit: cover;
	width: 100%;
	height: 100%;
	border-radius: 6px;
}
.block__post_title {
    font-weight: 500;
    margin: 10px 0;
    color: #252525;
    line-height: 1.3;
}
.block__post_category {
	position: absolute;
	content: "";
	left: 15px;
	bottom: 15px;
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	background: #252525;
	padding: 0 6px;
	border-radius: 3px;
}
section.section__main_categories {
    padding: 50px 0;
    background: #f8f8f8;
}
.sect__title {
	margin-bottom: 30px;
}

.categories__list_flex {
	display: flex;
	flex-wrap: wrap;
}
.categories__list_flex a.cat__item {
	display: block;
	border-radius: 8px;
	border: 2px solid #eee;
	padding: 15px 20px 15px 75px;
	position: relative;
	transition: 300ms ease-in-out;
}
.categories__list_flex a.cat__item:hover,
.categories__list_flex a.cat__item:focus {
	background: #fff;
	border: 2px solid #fff;
	box-shadow: 0 10px 20px rgba(0,0,0,.1);
	transition: 300ms ease-in-out;
}
.categories__list_flex a.cat__item:hover .cat__item_title,
.categories__list_flex a.cat__item:focus .cat__item_title,
.categories__list_flex a.cat__item:hover .cat__item_text,
.categories__list_flex a.cat__item:focus .cat__item_text {
	color: #0071dc;
	transition: 300ms ease-in-out;
}
.cat__item_title {
	color: #252525;
	font-weight: 600;
	transition: 300ms ease-in-out;
}
.cat__item_text {
	font-size: 14px;
	color: #696969;
	transition: 300ms ease-in-out;
}
.categories__list_flex a.cat__item .cat__item_icon {
	position: absolute;
	content: "";
	left: 20px;
	top: 50%;
	width: 40px;
	height: 40px;
	transform: translateY(-50%);
}
.cat__item_icon.art__icon {
	background: url('img/icons/art__icon.svg')no-repeat;
}
.cat__item_icon.learn__icon {
	background: url('img/icons/learn__icon.svg')no-repeat;
}
.cat__item_icon.audio__icon {
	background: url('img/icons/audio__icon.svg')no-repeat;
}
.cat__item_icon.base__icon {
	background: url('img/icons/base__icon.svg')no-repeat;
}
.cat__item_icon.dudu__icon {
	background: url('img/icons/dudu.svg')no-repeat;
}
blockquote {
    margin: 0 0 1rem;
    padding: 15px 15px 5px 20px;
    border-left: 4px solid #ffc221;
}
label.beautiful-taxonomy-filters-label,
button.beautiful-taxonomy-filters-button {
    display: none;
}
.beautiful__taxonomy_filter {
    padding: 15px;
    margin-bottom: 30px;
    background: #eef1ff;
    border-radius: 9px;
    display: flex;
    gap: 20px;
    align-items: center;
}
.taxonomy__filter_title {
	font-weight: 600;
}
.img404 {
    text-align: center;
}
.img404 img {
	max-width: 100%;
}
.search__404 {
	padding: 15px;
	border-radius: 4px;
	background: #f9f9f9;
	margin: 20px 0;
}
.feedback__contacts {
    background: #eff1ff;
    padding: 30px;
    border-radius: 4px;
}
.feedback__contacts input,
.feedback__contacts textarea {
	border: 1px solid transparent;
	width: 100%;
	border-radius: 6px;
    border: 1px solid #b8bee9;
    padding: 5px 12px;
}
input.wpcf7-form-control.wpcf7-submit.btn.btn-primary {
    padding: 12px 16px;
    border-color: #2390bf;
}
.wpcf7-spinner {
    position: absolute;
}
:focus-visible {
    outline: none;
}
.foto__pidpys {
    padding: 5px;
    font-size: 14px;
    color: #777;
}
h1.search__title {
	color: #777;
	font-size: 24px;
    margin-bottom: 30px;
}
h1.search__title span {
	color: #222;
}
section.section__nav {
    padding-top: 30px;
}

ul.subcategories {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 50px;
    gap: 3%;
}
/*====== SECTIONS ======*/



/*====== SIDEBAR ======*/
.widget-title {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.posts__list {
	margin-bottom: 40px;
}
.latest__posts {
    margin: 10px 0px 50px;
}
li.posts__item {
    padding-bottom: 0px;
    margin-bottom: 5px;
    border-bottom: 1px dashed #f2f2fb;
}
li.posts__item:last-child {
	border-bottom: none;
}
li.posts__item a {
	color: #252525;
    font-weight: 600;
    margin-bottom: 5px;
}
li.posts__item a:hover, li.posts__item a:focus {
	color: #0071DC;
}
.post__item_link {
	display: flex;
	gap: 15px;
	align-items: center;
}
.post__item_thumb {
	flex: 0 0 64px;
}
.post__item_thumb img {
	width: 100%;
	height: auto;
	border-radius: 5px;
}
.post__item_title {
    line-height: 1.2;
}
.categories__list {
    padding: 0;
    margin-bottom: 40px;
}
.categories__list ul,
.sidebar ul.menu {
    background: #f9f9fb;
    padding: 30px;
    border-radius: 5px;
    margin-bottom: 40px;
}
ul.children {
    margin: 10px 15px;
    padding: 0;
}
.categories__list a,
.sidebar ul.menu a {
	color: #696969;
}
.categories__list a:hover, .categories__list a:focus,
.sidebar ul.menu a:hover, .sidebar ul.menu a:focus {
	color: #252525;
}
.categories__list li,
.sidebar ul.menu li {
	margin-bottom: 10px;
}
.categories__list li.current-cat > a,
.sidebar ul.menu li.current-menu-item a {
	font-weight: 600;
	color: #333;
}
.widget.widget_block {
	margin-bottom: 20px;
}
.wp-block-tag-cloud a {
	color: #696969;
}
.wp-block-tag-cloud a:hover {
	color: #0071dc;
}
.wp-block-latest-posts li {
	padding-bottom: 10px;
	margin-bottom: 10px;
	border-bottom: 1px dashed #f2f2fb;
}
.wp-block-latest-posts a {
	color: #696969;
}
.wp-block-latest-posts a:hover {
	color: #333;
}
.send__material {
    background: #6430a2;
    padding: 15px 30px 30px;
    font-size: 14px;
    color: #fff;
    border-radius: 6px;
}
.send__material h4 {
	color: #fff;
	font-size: 18px;
	font-weight: 600;
}
/*====== SIDEBAR ======*/



/*====== posts ======*/
.post__tags {
	display: flex;
	flex-wrap: wrap;
    margin-bottom: 30px;
    gap: 15px;
}
.post__tags a {
	display: block;
    padding: 1px 15px;
    font-size: 15px;
    text-transform: capitalize;
    font-weight: 500;
    color: #fff;
    border-radius: 15px;
}
.post__tags a:nth-child(1) {
	background: #515ada;
}
.post__tags a:nth-child(2) {
	background: #8051da;
}
.post__tags a:nth-child(3) {
	background: #ea4c89;
}
.post__tags a:nth-child(4) {
	background: #2bb1fc;
}
.post__tags a:nth-child(5) {
	background: #eb5757;
}
.post__tags a:nth-child(6) {
	background: #27cc7d;
}
.post__tags a:nth-child(7) {
	background: #ffdb5a;
}
.post__tags a:nth-child(8) {
	background: #a7a4b3;
}
.post__tags a:nth-child(9) {
	background: #2bb1fc;
}
.post__tags a:nth-child(10) {
	background: #8051da;
}
.post__tags a:hover,
.post__tags a:focus {
	background: #333;
	color: #fff;
	text-decoration: none;
}

.audio__player {
    padding: 15px 15px 0;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fdfdfd;
}
.audio__player figcaption {
    margin-bottom: 20px;
}
.flex__masonry {
	display: grid;
	grid-template-rows: masonry;
	gap: 1rem;
 	counter-reset: grid;
}
.masonry__item {
/*	aspect-ratio: 4 / 3;*/
	padding: 1rem;
 	border-radius: 0.75rem;
 	border:1px solid #eee;
}
/*.masonry__item:nth-child(3n) {
	background: rgba(173,216,230,.3);
}
.masonry__item:nth-child(3n - 2) {
	background: rgba(255,226,117,.4);
}*/
.masonry__item .teaser__title {
	font-size: 20px;
}

.pagination {
    justify-content: center;
    margin: 30px 0;
}
.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 5px;
}
.pagination .nav-links a,
.pagination .nav-links span {
	color: #333;
	font-weight: 700;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 300ms ease;
}
.pagination .nav-links span {
	color: #fff;
	background: #0071dc;
	border-radius: 40px;
}
.pagination .nav-links a:hover,
.pagination .nav-links a:focus {
	background: rgba(0,113,220,.1);
	border-radius: 40px;
	transition: 300ms ease;
}
.post__content ul {
	margin: 0 0 20px 20px;
	list-style-type: square;
    padding-left: 20px;
}


.post__virshi {
	margin: 30px 0;
}
.post__author {
    padding-top: 10px;
    border-top: 1px dashed #eeeeee;
    margin-top: 30px;
    font-style: italic;
}
.post__author label {
	font-weight: 600;
}
.post__image img {
	width: 100%;
	height: auto;
	border-radius: 10px;
}
h1.page__title {
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 20px;
    line-height: 1.2;
}
.post__author_and_cat {
    font-size: 13px;
    color: #999;
    margin-bottom: 20px;
}
.post__author_and_cat a {
	color: #252525;
}
.post__content {
    margin: 0 0 50px;
    position: relative;
    min-height: 150px;
}
.post__content a {
	color: #333;
    text-decoration: underline;
    text-decoration-thickness: 0.125rem;
    text-decoration-color: #0071dc;
    text-underline-offset: 0.25rem;
}
.post__content a:hover {
	background: yellow;
}
.post__nav {
    margin: 30px 0 50px;
}
h1.category__title {
    color: #333333;
    font-size: 25px;
    margin: 0 0 30px;
    font-weight: 500;
    text-transform: uppercase;
    padding-bottom: 3px;
    padding-left: 14px;
    border-left: 10px solid #ffc221;
}

.teasers__flex {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.teaser__image img {
    width: 100%;
    height: auto;
}
.teasers__flex .teaser__item img {
	width: 100%;
	height: auto;
}
.teaser__img {
    width: 100%;
    padding-top: 65%;
    border-radius: 5px;
    background-size: cover !important;
    margin-bottom: 5px;
    position: relative;
}
.taxonomy__kazky .teaser__img,
.archive_kazky .teaser__img {
	width: 100%;
    padding-top: 145%;
    margin-bottom: 0;
}
.teaser__img:after {
	position: absolute;
	content: "";
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,.2);
	border-radius: 5px;
	opacity: 0;
	transition: 300ms ease;
}
.teaser__item .created {
	margin: 8px 0 0px;
    font-size: 12px;
    color: #ababab;
}
.teaser__title {
	color: #252525;
	font-weight: 500;
	line-height: 1.4;
	text-transform: uppercase;
	margin-bottom: 4px;
}
.teaser__link:hover .teaser__title {
	color: #0071DC;
}
.teaser__link:hover .teaser__img:after {
	opacity: 1;
	transition: 300ms ease;
}
.archive-description {
    font-size: 15px;
    color: #7e7e7e;
    margin: 50px 0;
    max-width: 650px;
    padding: 20px 0 10px 60px;
    border-left: 2px solid #f2f2f2;
}

.category__description {
	margin: 50px 0;
	/*padding: 20px 20px 10px 30px;
    border-left: 4px solid #e5e6e7;*/
}
.category__description h2 {
	text-transform: uppercase;
	font-size: 20px;
	color: #0071DC;
	font-weight: 700;
}
.post__gallery {
	list-style-type: none !important;
	margin: 30px 0 50px !important;
	padding: 0 !important;
	display: flex;
	flex-wrap: wrap;
	gap: 3%;
}
.post__gallery li {
	margin-bottom: 30px;
}
.post__gallery li a.post__gallery_link {
	display: block;
	width: 100%;
	padding-top: 100%;
	position: relative;
	transition: 300ms;
}
.post__gallery li a.post__gallery_link .gallery__img_wrap {
	position: absolute;
	content: "";
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	overflow: hidden;
}
.post__gallery li a.post__gallery_link .gallery__img_wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: 300ms;
}
.post__gallery li a.post__gallery_link:hover {
	box-shadow: 0 15px 15px rgba(0,0,0,.1);
	transition: 500ms;
	cursor: zoom-in;
}
.post__gallery li a.post__gallery_link:hover img {
	transform: scale(1.1);
	transition: 300ms;
}
.taxonomy__filter_form {
    width: 100%;
}
.select2-container {
    width: 100% !important;
}
.category__title {
    color: #555;
    font-size: 13px;
    line-height: 1;
}
/*====== posts ======*/




/*====== Coloring page =====*/
.post__start_flex {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}
.post__start_flex .post__image img {
	border: 1px solid #eee;
	background: #fff;
}
.gallery__flex {
	display: flex;
	flex-wrap: wrap;
	gap: 4%;
}
.gallery__item {
	flex: 22% 0 0;
	text-align: center;
	margin-bottom: 40px;
}
.gallery__image_square {
	display: block;
	width: 100%;
	padding-top: 100%;
	position: relative;
}
.gallery__image_wrap {
	position: absolute;
	content: "";
	display: block;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
}
.gallery__image_wrap img {
	width: 100%;
    height: 100%;
	object-fit: contain;
	padding: 6px;
	border-radius: 6px;
	border: 1px solid #eee;
}
.btn.btn-download {
    background: #4d8ebe;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 15px;
    margin: 5px auto;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}
.btn.btn-download:hover,
.btn.btn-download:focus {
    background: #ffbf13;
    color: #fff;
}
.btn-download span.dwn_icon {
	display: inline-block;
	width: 16px;
	height: 16px;
	background: #fff;
	-webkit-mask: url('img/icons/download.svg')no-repeat;
	mask: url('img/icons/download.svg')no-repeat;
	background-size: contain;
}
/*====== Coloring page =====*/



/*====== Kazky =====*/
.top__content_flex {
    display: flex;
    gap: 20px;
    margin: 30px 0 50px;
}
.post__image_vertical {
    flex: 0 0 30%;
}
.post__image_vertical img {
	width: 100%;
	height: auto;
	border-radius: 6px;
	border: 1px solid #f5f5f5;
}
.post__play_flex {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: space-between;
}
/*====== Kazky =====*/



/*====== Tasks =====*/
.grid__vertical.teasers__flex {
	display: flex;
	flex-wrap: wrap;
	gap: 3%;
}
.grid__vertical.teasers__flex .teaser__item {
	margin-bottom: 40px;
}
ul.sub-menu {
    padding-left: 15px;
    font-size: 14px;
    margin: 10px 0;
}
.grid__vertical.teasers__flex .teaser__item .teaser__item_img {
	position: relative;
	width: 100%;
	padding-top: 140%;
	margin-bottom: 20px;
}
.grid__vertical.teasers__flex .teaser__item .teaser__item_img .teaser__img_wrapper {
	position: absolute;
	content: "";
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	border: 1px solid #eee;
	border-radius: 6px;
}
.grid__vertical.teasers__flex .teaser__item .teaser__item_img .teaser__img_wrapper img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 6px;
}
.grid__vertical.teasers__flex .teaser__item .teaser__title {
    text-transform: initial;
}
/*====== Tasks =====*/




/*====== FOOTER ======*/
.footer {
	background: #f9f9fb;
	padding: 60px 0 0;
	font-size: 14px;
	color: #696969;
}
.footer__description {
	max-width: 280px;
	margin: 30px 0;
}
.footer .copyright {
	font-size: 13px;
    padding: 30px 0;
    color: #ababab;
    border-top: 1px solid rgba(0,0,0,.04);
}
.footer .copyright a {
	color: #ababab;
	text-decoration: underline;
}
.footer .copyright a:hover {
	color: #444;
}
.footer a.nav-link {
	padding: 0;
	color: #696969;
}
.footer a.nav-link:hover {
	color: #0062bf;
}
.footer li.menu-item {
	margin-bottom: 10px;
}
.footer .block__title {
	font-size: 16px;
	color: #252525;
	font-weight: 700;
	margin-bottom: 20px;
}
.footer__block {
	margin-bottom: 50px;
}
/*====== FOOTER ======*/




.new__grid.teasers__flex .teaser__item .teaser__link {
	display: flex;
	gap: 15px;
}
.new__grid.teasers__flex .teaser__item .teaser__link .teaser__item_img {
	flex: 0 0 25%;
	border: 1px solid #eee;
    border-radius: 7px;
}
.new__grid.teasers__flex .teaser__item .teaser__link .teaser__item_content {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 10px;
	justify-content: space-between;
}
.teaser__item_content .post__trim_text {
	color: #252525;
	font-size: 13px;
}
.audio__time {
	font-size: 13px;
	color: #696969;
	line-height: 1;
	display: flex;
	align-items: center;
	gap: 5px;
}
.audio__time .icon__clock {
	display: inline-block;
	width: 15px;
    height: 15px;
    background: #696969;
    -webkit-mask: url('img/icons/clock.svg')no-repeat;
    mask: url('img/icons/clock.svg')no-repeat;
    background-size: contain;
}





/* EVENTS */
.event__top_image img {
	width: 100%;
	height: auto;
}
.tribe-events-single {
	position: relative;
}
.tribe-events-single .position__absolute {
	position: absolute;
	content: "";
	top: -50px;
	left: 0;
}

.event__img_and_day {
	position: relative;
}

.event__img_and_day .event__day {
	position: absolute;
    content: "";
    top: 20%;
    left: 0px;
    background: #ffc221;
    padding: 15px 20px;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 700;
    color: #222222;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .3);
    border-left: 4px solid #d7a112;
}
.event__top_image img {
	border-radius: 10px;
}
h1.tribe-events-single-event-title {
	font-size: 2rem;
    font-weight: 600;
    margin: 0 0 20px;
    line-height: 1.2;
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
.event__block {
    background: lightblue;
    padding: 20px 30px;
    border-radius: 10px;
    margin-bottom: 20px;
}
.tribe-events-back a, .tribe-events-back a:visited {
    color: #0071dc;
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__event:before {
    display: none;
}
.tribe-events-widget .tribe-events-widget-events-list__event-datetime-wrapper {
    display: none;
}




@media	(max-width: 340px) {
	.header__blocks {
		display: none;
	}
}



@media	(max-width:419px) {
	.categories__list_flex {
    	row-gap: 15px;
	}
	.categories__list_flex a.cat__item {
		flex: 100% 0 0;
	}
	.flex__masonry {
	    grid-template-columns: repeat(1, 1fr);
	}
}





@media	(min-width:420px) {
	.categories__list_flex {
    	row-gap: 15px;
	}
	.categories__list_flex a.cat__item {
		flex: 80% 0 0;
	}
	.flex__masonry {
	    grid-template-columns: repeat(2, 1fr);
	}
}




@media	(max-width:575px) {
	.blueline__list {
		flex-direction: column;
		gap: 20px;
	}
	.blueline__text {
	    line-height: 1.3;
	}
	.header__blocks {
	    margin-right: 40px !important;
	}
	.navbar-brand {
		max-width: 70%;
		margin: 0;
	}
	.navbar-brand img {
		width: 100%;
		height: auto;
	}
	section > .container,
	header.header > .container,
	footer.footer > .container {
		padding-left: 30px;
		padding-right: 30px;
	}
	.header__menus {
	    left: -27px !important;
    	right: -30px !important;
	}
	.top__content_flex {
		flex-direction: column;
	}
	.categories__list_flex {
    	justify-content: center;
	}
	.post__start_flex {
		flex-wrap: wrap;
	}
	.teasers__flex .teaser__item {
		flex: 0 0 100%;
		margin-bottom: 30px;
	}
	.new__grid.teasers__flex .teaser__item {
		flex: 0 0 100%;
		margin-bottom: 30px;
	}
	.sfsi_shortcode_container {
	    float: none !important;
	}
	.norm_row {
	    float: none;
	    min-width: 25px;
	    display: flex;
	}
	.post__gallery li {
		flex: 0 0 47%;
	}
	.section__main {
		padding: 25px 0 50px;
	}
	.post__image {
	    margin-bottom: 30px;
	}
}




@media	(min-width:576px) {
	.post__image {
	    margin-bottom: 50px;
	    flex: 0 0 33%;
	}
	.section__main {
		padding: 50px 0;
	}
	.post__content {
	    padding: 0 0 0 100px;
	}
	.post__content .post__content__social {
		position: absolute;
		content: "";
		left: 20px;
		top: 0;
	}
	.categories__list_flex {
		gap: 2%;
    	row-gap: 15px;
    	justify-content: space-between;
	}
	.categories__list_flex a.cat__item {
		flex: 49% 0 0;
	}
	.teasers__flex .teaser__item {
		flex: 0 0 47%;
		margin-bottom: 30px;
	}
	.new__grid.teasers__flex .teaser__item {
		flex: 0 0 47%;
		margin-bottom: 30px;
	}
	.post__gallery li {
		flex: 0 0 30%;
	}
}





@media (max-width: 767px) {
	.grid__vertical.teasers__flex .teaser__item {
		flex: 0 0 48%;
	}
	.beautiful__taxonomy_filter {
		flex-direction: column;
	}
}




@media (min-width:768px) {
	.teasers__flex .teaser__item {
		flex: 0 0 30%;
		margin-bottom: 30px;
	}
	.new__grid.teasers__flex .teaser__item {
		flex: 0 0 47%;
		margin-bottom: 30px;
	}
	.grid__vertical.teasers__flex .teaser__item {
		flex: 0 0 30%;
	}
}






@media (max-width:991px) {
	section#primary.section__main > .container > .row aside#secondary {
		order: 2;
	}
	section#primary.section__main > .container > .row > div {
		order: 1;
	}
	.header__links, .social__links, .header__blocks {
		display: none;
	}
	.navbar {
        padding: 0;
        position: sticky;
        top: 60px;
    }
    .navbar>.container {
        padding: 0;
    }
    #bs-example-navbar-collapse-1, .primary__menu {
	    width: 100%;
	}
	.primary__menu {
		padding: 20px 0;
	}
}






@media	(min-width:992px) {
	button.navbar-toggler {
		display: none;
	}
	.categories__list_flex {
		gap: 2.2%;
		row-gap: 15px;
	}
	.categories__list_flex a.cat__item {
		flex: 23% 0 0;
	}
	.flex__masonry {
	    grid-template-columns: repeat(3, 1fr);
	}
	.h__search {
	    width: 250px;
	}
	nav.main__menu_wrap {
		border-top: 1px solid #eee;
	}
}







@media (max-width: 1199px) {
	.header__menus {
	    position: absolute;
	    content: "";
	    top: 91px;
	    left: 0;
	    right: 0;
	    background: #fff;
	    box-shadow: 0 30px 30px rgba(0,0,0,.1);
	    z-index: 9999;
	}
	.header__blocks {
	    margin-right: 50px;
	}
}



@media (min-width: 1200px) {
	.nav-item:hover .dropdown-menu {
		display: block !important;
	}
	.grid__vertical.teasers__flex .teaser__item {
		flex: 0 0 22%;
	}
	.h__search {
	    width: 300px;
	}
}