[class*='__container'] {
	max-width: 1396px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 15px;
	padding-right: 15px;
}

[class*='__flex'] {
	display: flex;
    align-items: center;
	justify-content: space-between;
	width: 100%;
}

[class*='__base-flex'] {
	display: flex;
	justify-content: space-between;
	width: 100%;
	gap: 20px;
}

.main-title {
	font-size: 52px;
    margin: 0.67em 0;
    line-height: 52px;
    font-weight: 700;
}

body {
	background: url('../img/mostdefaultgrey.jpg'), #f8f8f8;
	background-repeat: no-repeat;
    background-position: top 60px right 0;
    background-size: contain;
    background-attachment: fixed;
    overflow-x: hidden;
}

.current-menu-item a {
	color: #910522;
}

.hide {
	display: none;
}

.show {
	display: inherit;
}

.header-wrapper {
	display: flex;
    align-items: center;
    flex-direction: column;
	background: #fff;
}

.top-wrapper {
	display: flex;
    align-items: center;
    justify-content: space-between;
	width: 100%;
    padding: 18px 0;
	position: fixed;
	transition-duration: 0.4s;
	z-index: 2;
	background-color: #910522;
}

.bottom-wrapper {
	display: flex;
    align-items: center;
    justify-content: space-between;
	width: 100%;
	border-bottom: 1px solid #eee;
    padding: 14px 0;
	margin-top: 95px;
}

.social-head {
	display: flex;
	gap: 10px;
}

.social-head svg {
	width: 25px;
	height: auto;
	object-fit: contain;
	cursor: pointer;
	transition: all 0.2s linear;
	fill: #fff;
}

.social-head svg:hover {
	transform: scale(1.1);
}

.custom-logo {
	max-height: 52px;
	width: 100%;
	object-fit: contain;
}

.btn-wrapper > div {
	display: flex;
    align-items: center;
    max-height: fit-content;
    width: 100%;
    padding: 7px 15px;
    border-radius: 4px;
	text-decoration: none;
	gap: 5px;
	color: #fff;
	cursor: pointer;
}

.btn-wrapper p {
	margin: 0;
}

.search-form form {
	display: flex;
    align-items: center;
    position: relative;
}

.search-form form .field {
	border-radius: 68px;
    border: none;
    background-color: #F6F6F6;
    padding: 10px 10px 10px 40px;
	outline: none;
}

.search-form form .field:focus {
	outline: none;
}

.search-form form .field::placeholder {
	color: #B0B0B0;
}

.search-form form .sim {
	border-radius: 68px 0 0 68px;
    border: none;
    position: absolute;
	height: 100%;
}

.search-form form .sim:before {
	content: '';
	width: 20px;
	height: 20px;
	object-fit: contain;
	background-repeat: no-repeat;
}

/* Main Content front page */
.site-main {
	padding-top: 50px;
}
.main-content-flex {
	display: flex;
	align-items: start;
	justify-content: space-between;
	gap: 32px;
}

.main-sidebar {
	flex: 0 1 27%;
	background: #fff;
    padding: 16px;
    border-radius: 12px;
}

.main-content {
	flex: 0 1 73%;
}

.timeline_news-title {
	font-size: 24px;
    font-weight: 600;
	margin: 0;
	display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.timeline_news-title span a {
	font-size: 15px;
    font-weight: 400;
    text-decoration: underline;
    color: #b6b6b6;
}

.blog-sidebar ul {
	margin: 0;
	padding-left: 0;
}

.blog-sidebar ul li {
	list-style-type: none;
	padding: 15px 0;
    border-bottom: 1px solid #EBEBEB;
}

.blog-sidebar ul li a {
	text-decoration: none;
	color: #020202;
	transition: all 0.4s linear;
}

.blog-sidebar ul li a:hover {
	color: #910522;
}

.timeline_item-title time {
	color: #707070;
	font-weight: 300;
    font-size: 15px;
}

.featered-post {
	position: relative;
}

.featered-post a .f-post-image {
	position: relative;
	width: 100%;
}

.featered-post a .f-post-image:before {
	content: '';
	display: block;
	padding-top: calc(420 / 929 * 100%);
}

.featered-post a .f-post-image img {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	object-fit: cover;
	border-radius: 12px;
}

.featered-post a .f-post-text {
	position: absolute;
    bottom: 0;
    width: 100%;
    margin: 0 auto;
    color: #fff;
    background: linear-gradient(0deg, rgba(20,20,20,0.850577731092437) 0%, rgba(20,20,20,0.7049194677871149) 50%, rgba(20,20,20,0) 100%);
    border-radius: 12px;
}

.up-arrow {
	position: fixed;
    right: 0;
    bottom: 0;
    z-index: 2;
    width: 80px;
    height: auto;
    cursor: pointer;
}

.up-arrow__hide {
	display: none;
}

.social-subscribe {
	display: flex;
    justify-content: space-between;
	gap: 20px;
    padding: 20px 0;
    border-top: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
}

.social-subscribe > * {
	width: calc(100% / 3);
	text-align: center;
	padding: 10px;
	border: 1px solid #e6e6e6;
    border-radius: 12px;
	transition: all .3s linear;
	background-color: #f7f7f7;
}

.social-subscribe > *:hover {
	background-color: #1881ff;
	cursor: pointer;
}

.social-subscribe > *:hover > a {
	color: #fff;
}

.social-subscribe a {
	text-decoration: none;
	color: #404040;
	text-transform: uppercase;
	display: flex;
    justify-content: center;
    align-items: center;
}

.social-subscribe a svg {
	margin-right: 10px;
	width: 20px;
	height: 20px;
	object-fit: contain;
}

.featered-post a .f-post-text .f-post-title .f-post-date {
	margin: 0;
}

.featered-post a .f-post-title {
	max-width: 90%;
    margin: 0 auto;
}

.featered-post a .f-post-title h1 {
	margin-top: 10px;
}

.secondary-posts-list {
	display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.secondary-posts-list .secondary-post {
	max-width: calc(100% / 3 - 14px);
	transition: all 0.4s linear;
}

.secondary-posts-list .secondary-post a {
	text-decoration: none;
	color: #020202;
}

.secondary-posts-list .secondary-post:hover {
	transform: translate(0px, -6px);
}

.secondary-posts-list .secondary-post:hover .s-entry-title {
	color: #910522;
}

.secondary-posts-list .secondary-post a .s-post-image {
	position: relative;
	width: 100%;
}

.secondary-posts-list .secondary-post a .s-post-image:before {
	content: '';
	display: block;
	padding-top: calc(171 / 304 * 100%);
}

.secondary-posts-list .secondary-post a .s-post-image img {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	object-fit: cover;
	border-radius: 12px;
}

.secondary-posts-list .s-post-text .s-post-title h3 {
	padding-top: 10px;
	padding-bottom: 20px;
	font-size: 20px;
    line-height: 21px;
	line-height: 1.1em;
}

.secondary-posts-list a .s-post-text .s-post-title .s-post-date {
	margin-bottom: 0;
	font-size: 14px;
    color: #707070;
    font-weight: 300;
    text-transform: uppercase;
}

.header-menu-mobile {
	display: block !important;
}

.menu-btn-mobile {
	max-width: 29px;
    max-height: 23px;
    object-fit: contain;
}

.nav-menu-mobile {
	position: fixed;
    width: calc(100vw / 3.5);
    height: 100vh;
    background-color: #fff;
    top: 0;
    left: 0;
    margin: 0 0 0 auto;
    z-index: 13;
    transform: translateX(calc(-100vw - 10px));
    transition-duration: 1s;
    text-align: center;
	box-shadow: 10px 0px 10px rgba(0, 0, 0, 0.4392156863);
    border-left: 3px solid #910522;
	    overflow-y: scroll;
}

.mobile-button-close {
	padding: 4px 11px;
    box-shadow: none;
    color: #33293C;
    background-color: transparent;
    border: 2px solid #33293C;
    position: absolute;
    right: 30px;
    top: 20px;
}

.non-default-list {
	padding: 0 30px;
    gap: 0;
    flex-direction: column;
    text-align: left;
    margin-left: 0;
    margin-top: 70px;
    margin-bottom: 70px;
    font-size: 18px;
    gap: 0 !important;
}

.non-default-list li {
	border-bottom: 1px dotted #b1b1b1;
    padding: 10px 0;
    list-style-type: none;
}

.non-default-list li a {
	color: #33293C;
	text-decoration: none;
}

.nav-menu-btn-popup {
	text-decoration: none;
    display: flex;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto;
    text-align: center;
    justify-content: center;
	cursor: pointer;
}

.search-content .secondary-posts-list {
	flex-direction: column;
	flex-wrap: nowrap;
}

.search-content .secondary-posts-list .secondary-post {
	max-width: calc(100% - 14px);
}

.search-content .secondary-posts-list .secondary-post a .s-post-image {
	flex: 0 1 40%;
}

.search-content .secondary-posts-list .secondary-post a .s-post-text {
	flex: 0 1 60%;
}

.search-content .secondary-posts-list .secondary-post a {
	display: flex;
    gap: 20px;
}

.default-button {
	color: #fff;
    background-color: #910522;
    padding: 10px 15px 10px 15px;
    box-shadow: 0px 3px 0 0 #910522;
    border-radius: 12px;
    font-size: 12px;
    display: flex;
    align-items: center;
}

.nav-menu-mobile-bg {
	position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5215686275);
    top: 0;
    left: 0;
    z-index: 12;
    opacity: 0;
    transform: translateX(0);
    transition-duration: 1s;
    text-align: center;
}

.nav-scroll {
    top: 0;
    border-radius: 0 0 10px 10px;
    box-shadow: 0px 13px 18px 5px rgba(0, 0, 0, 0.2117647059);
    background-color: #910522;
    z-index: 10 !important;
  }

.redtram {
	height: 350px;
	width: 100%;
	margin-top: 50px;
	background-color: #910522;
	color: #fff;
	font-size: 42px;
	text-align: center;
}

.video-foto-bg {
    background-clip: border-box, content-box !important;
    background-position: center !important;
    background-size: 170% !important;
	position: absolute;
	width: calc(100% + 20px);
	height: calc(100% + 20px);
	object-fit: cover;
	filter: blur(5px);
	left: -10px;
	top: -10px;
	right: -10px;
	bottom: -10px;
}

.foto-block {
	margin-top: 50px;
	position: relative;
	width: 100%;
    min-height: 750px;
    overflow: hidden;
}

.foto-block .__container {
	position: relative;
    z-index: 1;
}

.foto-content-main, .foto-content {
	flex: 0 1 50%;
}

.foto-block a {
	text-decoration: none;
}

.foto-block__flex {
	align-items: flex-start;
	margin-top: 50px;
	gap: 30px;
	padding-bottom: 50px;
}

.foto-block a .s-post-title {
	color: #fff;
}

.foto-content {
	display: flex;
    flex-wrap: wrap;
	gap: 20px;
}

.foto-content a {
	display: flex;
    align-items: center;
}

.foto-s-post-image {
	position: relative;
	min-width: 200px;
}

.foto-s-post-image::before {
	content: '';
	display: block;
	padding-top: calc(160 / 250 * 100%);
}

.foto-s-post-image img {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	object-fit: cover;
    border-radius: 12px;
}

.foto-s-post-text .foto-s-post-title {
	color: #fff;
	padding-left: 20px;
}

.foto-s-post-text .foto-s-post-title p {
	margin: 0;
}

.foto-s-post-text .foto-s-post-title h3 {
	font-size: 22px;
    line-height: 1.3;
}

.foto-content-main .s-post-image {
	position: relative;
	width: 100%;
}

.foto-content-main .s-post-image:before {
	content: '';
	display: block;
	padding: calc(180 / 640 * 100%);
}

.foto-content-main .s-post-image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 12px;
}


/* AJAX news */
.blog-sidebar ul {
	position: relative;
}
	#loadmore_gs{
		padding:5px 0;
		width: 100%;
		height: 150px;
		position: absolute;
		background: linear-gradient(0deg, rgb(255 255 255) 7%, rgb(255 255 255) 28%, rgb(255 255 255 / 0%) 100%);
		bottom: 0;
		align-items: end;
		display: flex;
		color: #000;
		justify-content: center;
		margin:0 auto;
		cursor:pointer;
	}


/* если вам необходим жирный шрифт для заголовка, то раскомментируйте строку font-weight:bold */
.breaking,
.exclusive,
.important,
.photo,
.video {
 font-weight:bold;
}

.default-menu-styles {
	height: 0;
}

.site-main-single {
	padding-top: 0;
}

.entry-header-single {
	position: relative;
}

.site-main-single .post-thumbnail {
max-height: auto;
overflow: hidden;
border-radius: 12px;
}

.site-main-single .post-thumbnail img {
	height: 100%;
	object-fit: cover;
	width: 100%;
	border-radius: 25px;
}
 
.site-main-single .single-title {
	border-radius: 12px;
    bottom: 0;
    padding-bottom: 10px;
    width: 100%;
    color: #404040;
}

.site-main-single .single-title h1 {
	margin-bottom: 0;
}

.s-post-date, .entry-meta {
	font-size: 14px;
}

.entry-content-single {
	padding-top: 50px;
}

.entry-content-single .wysiwyg-styles {
	flex: 0 1 73%;
}

.timeline_item-title {
	font-size: 18px;
	line-height: 1.2;
	display: flex;
    flex-direction: column;
}

.site-footer {
	padding-top: 90px;
	padding-bottom: 30px;
	display: flex;
}

.footer-counters {
	display: flex;
	gap: 20px;
}

.footer-contacts {
	width: 50%;
	text-align: end;
    display: flex;
    justify-content: end;
    flex-direction: column;
}

.site-footer .site-info {
	display: flex;
    flex-direction: column;
    align-items: baseline;
    gap: 30px;
	width: 50%;
}

.site-footer .site-info img {
    height: 60px;
    max-width: 100%;
	object-fit: cover;
}

.category-content {
	flex: 0 1 73%;
}

.site-footer .site-info a img {
	 height: 40px;
    width: 100%;
    object-fit: contain;
}

.mgbox {
	display: none;
}

.mgid-block .mghead {
	opacity: 0 !important;
}

.mgbox .mgheader div {
	opacity: 0 !important;
}

.mobile-show {
	display: none;
}

.post-views {
	display: flex;
    gap: 10px;
    align-items: center;
    justify-content: end;
    font-size: 16px;
    margin-bottom: 15px;
}

.post-views .entry-meta {
	font-size: 16px;
	margin-bottom: 0;
}

.r24135, .r24063 {
		display: none;
	}

.ads-google-block {
	margin: 20px 0;
}

.ads-google-block ins {
	background: transparent;
}

@media screen and (max-width: 1366px) {
	.site-main .main-content-flex .main-content {
		width: 60%;
	}
}


@media screen and (max-width: 1170px) {
	.hide-mobile {
		display: none;
	}
	.secondary-posts-list .secondary-post {
		max-width: calc(100% / 2 - 14px);
	}
	.post-content .secondary-posts-list .secondary-post:last-child {
		display: none;
	}
	.foto-block__flex {
		flex-direction: column;
	}
	.video-foto-bg {
		background-size: 350% !important;
	}
	.category-content {
		flex: 0 1 100%;
	}
	.main-sidebar {
		flex: 0 1 40%;
	}
	.site-main .main-content-flex .main-content {
		    width: 60%;
    		flex: 0 1 60%;
	}
	.site-main .main-content-flex .main-content .post-content .featered-post .mySwiper .swiper-slide .swiper-card .main-title {
		    font-size: 22px;
    	line-height: 30px;
	}
	.site-footer {
		flex-direction: column;
		gap: 50px;
		text-align: center;
		align-items: center;
	}
	.site-footer .site-info {
		align-items: center;
		width: 100%;
	}
	.footer-contacts {
		text-align: center;
		width: 100%;
	}
}

@media screen and (max-width: 767px) {
	body {
		background-attachment: scroll;
	}
	.mySwiper {
		display: none;
	}
	.home .site .site-main .featered-post .mySwiper {
		display: block;
		border-radius: 0;
	}
	.site-main .main-content-flex .main-content {
		    width: 100%;
    		flex: 0 1 100%;
	}
	iframe,
	object {
		max-width: 100%;
		width: fit-content;
		margin-top: 20px;
	}
	.site-main-single .post-thumbnail img {
		height: 100%;
		object-fit: cover;
		width: 100%;
		border-radius: 15px;
	}
	.main-title {
		font-size: 32px;
		line-height: 40px;
	}
	.search-form, .social-head {
		display: none;
	}
	.main-content-flex {
		flex-direction: column;
	}
	.featered-post a .f-post-image:before {
		padding-top: calc(630 / 929 * 100%);
	}
	.featered-post a .f-post-title h1 {
		font-size: 24px;
    	line-height: 1.1;
	}
	.bottom-wrapper {
		display: none;
	}
	.top-wrapper {
		background-color: #910522;
	}
	.site-main {
		padding-top: 72px;
	}
	.main-sidebar {
		margin-top: 30px;
	}
	.custom-logo {
		max-height: 30px;
	}
	.secondary-posts-list {
		flex-direction: column;
		flex-wrap: nowrap;
	}
	.secondary-posts-list .secondary-post {
		max-width: 100%;
	}
	.secondary-posts-list .secondary-post a {
		display: flex;
		align-items: center;
	}
	.secondary-posts-list .secondary-post a .s-post-image {
		flex: 0 1 40%;
	}
	.secondary-posts-list .s-post-text .s-post-title h3 {
		font-size: 14px;
		font-weight: 500;
		padding-top: 0;
	}
	.s-post-text {
		flex: 0 1 60%;
	}
	.secondary-posts-list .secondary-post a .s-post-image:before {
		padding-top: calc(210 / 304 * 100%);
	}
	.secondary-posts-list .s-post-title {
		padding-left: 12px;
	}
	.nav-menu-mobile {
		width: 80vw;
	}
	.foto-block__flex {
		flex-direction: column;
	}
	.foto-content-main .s-post-title .s-post-date {
		margin-bottom: 10px;
	}
	.foto-content-main .s-post-title .s-entry-title {
		font-size: 24px;
   		line-height: 1.2;
	}
	.foto-s-post-image {
		flex: 0 1 40%;
    	min-width: 150px;
	}
	.foto-s-post-image::before {
		padding-top: calc(210 / 304 * 100%);
	}
	.foto-s-post-text .foto-s-post-title h3 {
		font-size: 16px;
		font-weight: 500;
		padding-top: 0;
	}
	.foto-s-post-title .foto-s-post-date {
		color: #cdcdcd;
	}
	.video-foto-bg {
		background-size: 100% 100% !important;
	}
	.site-main-single .single-title h1 {
		font-size: 24px;
		line-height: 1.2;
	}
	.site-main-single .main-content-flex {
		flex-direction: column;
	}
	.site-main-single .post-thumbnail img {
		height: 100%;
	}
	.site-main-single {
		padding-top: 75px;
	}
	.timeline_item-title {
		font-size: 18px;
    	line-height: 1.2;
	}
	.site-footer {
		flex-direction: column;
		padding-top: 60px;
	}
	.site-footer .site-info img {
		height: 35px;
	}
	[class*='__base-flex'] {
		flex-wrap: wrap;
	}
	.search-content .main-sidebar {
		flex: 0 1 100%;
	}
	.search-content .page-title {
		font-size: 32px;
		line-height: 1.2;
	}
	.site-main-single .entry-header-single {
    	margin-left: -15px;
		margin-right: -15px;
	}
	.site-main-single .entry-content-single {
		padding-top: 0;
	}
	.site-main-single .post-thumbnail {
		border-radius: 0;
	}
	.site-main-single .single-title {
		border-radius: 0;
	}
	.social-subscribe {
		flex-direction: column;
		gap: 10px;
	}
	.social-subscribe > * {
		width: calc(100%);
	}
	.foto-block .foto-content .foto-secondary-post a {
		flex-direction: column;
	}
	.foto-block .foto-content .foto-secondary-post a .foto-s-post-image {
		width: 100%;
	}
	.foto-block .foto-content .foto-secondary-post a .foto-s-post-text .foto-s-post-title {
		padding-left: 0;
		margin-top: 15px;
	}
	.mgbox {
		display: flex !important;
	}
	.mobile-hide {
		display: none !important;
	}
}

@media screen and (max-width: 680px) {
	.r37210 .doxrk-informer-37210 .doxrk-list-37210 div:last-schild {
		display: none;
	}
	.mgid-block {
		position: relative;
	}
	.mgid-block .mgid-top {
		position: absolute;
    	width: 100%;
    	height: 30px;
    	background: url(https://kremen.today/wp-content/themes/kremen-today/assets/img/logo_tram.svg), #f8f8f8;
    	background-repeat: no-repeat;
    	background-origin: content-box;
		padding-bottom: 13px;
    	z-index: 1;
	}
	.mobile-show {
		display: inherit;
		margin-top: 10px;
	}
	.mobile-hide-logo {
		display: none !important;
	}
	.r37210>:first-child {
		display: none !important;
	}
	.r37210 .viewed:last-child {
		display: none !important;
	}
}

@media screen and (max-width: 575px) {
	.ads-cosmo-block .cosmo-block-link .cosmo-block-img {
		width: 100%;
	}
}

@media screen and (max-width: 500px) {
	.custom-logo {
		max-width: 160px;
	}
	.main-title {
		font-size: 26px;
		line-height: 34px;
	}
	.home .site .site-main .featered-post .mySwiper .main-title {
		line-height: 29px;
    	padding-bottom: 15px;
		font-size: 22px;
	}
	.r24135, .r24063 {
		display: block;
	}
}

@media screen and (max-width: 356px) {
	.mgid-block .mgid-top {
    	height: 50px;
		padding-top: 18px;
	}
}

@media screen and (max-width: 266px) {
	.mgid-block .mgid-top {
    	height: 64px;
		padding-top: 33px;
	}
}


/* Swiper Slider */
.swiper {
	max-width: 1000px;
	height: 100%;
	border-radius: 12px;
  }

  .swiper-wrapper {
	width: 100%;
	height: 100%;
  }

  .swiper-slide {
	text-align: left;
	background: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
  }

  .swiper-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
  }

  .swiper-button-prev:after {
	content: '\f101' !important;
    font-family: 'Font Awesome 5 Free' !important;
    font-size: 34px !important;
    font-weight: 600;
    color: #ffffff;
	transform: rotate(180deg);
  }

  .swiper-button-next:after {
	content: '\f101' !important;
    font-family: 'Font Awesome 5 Free' !important;
    font-size: 34px !important;
    font-weight: 600;
    color: #ffffff;
  }

  .news-bold {
	font-weight: 700;
  }

  .news-red .timeline_item-title {
	color: #910522;
  }

  .show-mobile {
	display: none;
  }

  .swiper-pagination-bullet {
	background: #ffffff !important;
    width: 30px !important;
    height: 4px !important;
    border-radius: 0 !important;
  }

  .swiper-pagination-bullet-active {
	background: #c80029 !important;
  }

  @media screen and (max-width: 767px) {
	.show-mobile {
		display: block;
	}
	.hide-mobile {
		display: none;
	}
	.show-mobile a .f-post-image img, .f-post-text {
		border-radius: 0 !important;
	}
	.main-content > .secondary-posts-list {
		display: none;
	}
  }