:root {
  --cassiopeia-color-primary: #37003C;
  --cassiopeia-color-hover: #600a49;
  --cassiopeia-color-link: #7B0D53;
}
a.light {
	color: #BE95BE !important;
}
main a, h2 a, h3 a, .mod-breadcrumbs a, .bg1 a, a.page-link, .block_links_text a {
	color: #7B0D53 !important;
}
main a:hover, main a:focus, .mod-breadcrumbs a:hover, .mod-breadcrumbs a:focus, .bg1 a:hover, .bg1 a:focus {
	text-decoration: none; 
}
h3.title {
	color: #fff;
}

header {
	margin-bottom: 0;
}

.page-link.active, .active > .page-link {
	background-color: #37003C;
	border-color: #37003C;
}

.container-header {
	background: #37003c !important;
	background-image: none;
}
.container-topbar,
.breadcrumb {
	margin-left: auto;
	margin-right: auto;
	max-width: 1320px;
	width: 100%;
}

.container-header .container-nav {
	padding-bottom: 0 !important;
}
.container-header .grid-child {
	padding: 0 10px !important;
}
.container-below-top {
	padding: .8em 0 .5em 0 !important;
}

.card-header {
	border-bottom: none;
	background-color: #EFEFEF;
}

.bg-body-secondar {
	background-color: #EFEFEF !important;
}

h2.item-title,
.page-header h2,
h3.page-header.item-title {
	font-size: 24px !important;
}
h2.item-title a,
.page-header h2 a,
h3.page-header.item-title a {
	text-decoration: none !important;
}
h2.item-title a:hover,
h2.item-title a:focus,
.page-header h2 a:hover,
.page-header h2 a:focus,
h3.page-header.item-title a:hover,
h3.page-header.item-title a:focus {
	text-decoration: underline !important;
}
.article-info dd {
	display: inline-block;
}

dd.create time {
	background: #37003c;
	padding: 0 5px;
	color: #FFF;
}

a.light {
	color: #be95be;
	text-decoration: underline;
}
a.light:hover,
a.light:focus {
	color: #37003C;
	text-decoration: none;
}

table.tab th {
	background: #C0C0C0;
}
table.tab td {
	background: #F5F5F5;
}
table.tab th, table.tab td  {
	padding: 10px;
}
table.tab tr.t1 td {
	background: #EFEFEF;
}

.style18, .style17 {
	background: #DDD !important;
}

.blog-item .item-image {
	margin-bottom: 8px !important;
}
.blog-items .blog-item {
	padding: 0 0 15px 0;
}
dl, ol, ul {
	margin-bottom: 2px !important;
}
div.blog-item div.item-content ul.tags.list-inline {
	padding: 0 0 10px 0;
}
div.com-content-article.item-page ul.tags.list-inline
{
	padding: 20px 0;
}

.tags .list-inline-item {
	margin: 0 0 4px 0 !important;
}
ul.tags a.btn {
	font-weight: 400;
	color: #8c8c8c !important;
	text-decoration: none;
}
ul.tags a.btn-info {
	background: #EFEFEF;
	border: none;
}
ul.tags a.btn-info:hover,
ul.tags a.btn-info:focus {
	background: #F7F7F7;
	color: #c2c2c2;
	border: none;
}
ul.tags a.btn-info:active {
	border: none;
}

a.btn.btn-sm.label.label-info {
	padding: 2px;
}
.left.item-image {
	width: 100%;
	margin: 0 0 20px 0;
}
.left.item-image img{
	width: 100%;
}
.dj-megamenu-clean li a.dj-up_a {
	padding: 0 10px !important;
	color: #fff !important;
	font-weight: 500 !important;
	font-size: 1.1rem !important;
}
.dj-megamenu-clean.dj-fa-no .arrow::before {
	content: '' !important;
	border: solid #fff !important;
	border-top-width: medium !important;
	border-right-width: medium !important;
	border-bottom-width: medium !important;
	border-left-width: medium !important;
	border-width: 0 2px 2px 0 !important;
	display: inline-block !important;
	padding: 2px !important;
	transform: rotate(45deg) !important;
	-webkit-transform: rotate(45deg) !important;
	position: relative !important;
	top: -2px !important;
}
.dj-megamenu-clean li ul.dj-submenu > li:hover > a, .dj-megamenu-clean li ul.dj-submenu > li.active > a {
	color: #000;
	background: #7b0d53 !important;
}
.dj-megamenu-clean li div.dj-subwrap .dj-subwrap-in {
	background-color: #003366 !important;
}
.dj-megamenu-clean li ul.dj-submenu > li > a {
	color: #FFF !important;
}
.dj-subcol {
	background: #600a49 !important;
	color: #FFF !important;
}
.dj-megamenu-clean li.dj-up:hover {
	background: #600a49 !important;	
}
.dj-megamenu-select-dark .dj-mobile-open-btn, .dj-megamenu-offcanvas-dark .dj-mobile-open-btn, 
.dj-megamenu-accordion-dark .dj-mobile-open-btn {
	background: #37003C !important;
	color: #FFF !important;
	margin: 10px !important;
	width: 40px !important;
	height: 40px !important;
	justify-content: left !important;
}
.dj-megamenu-clean li a.dj-up_a > span span.name + span,
.dj-megamenu-clean li ul.dj-submenu > li > a span.name + span {
	margin-left: 0 !important;
}
.dj-offcanvas-dark .dj-offcanvas-top {
	background: #36003B !important;

}
ul.dj-mobile-dark li.dj-mobileitem > a, ul.dj-mobile-dark li.dj-mobileitem.active > a {
	background: #36003B !important;
}
ul.dj-mobile-dark li.dj-mobileitem:hover > a, ul.dj-mobile-dark li.dj-mobileitem.active > a {
	background: #600a49 !important;
}
ul.dj-mobile-dark li.dj-mobileitem > a {
	border-top: none !important;
}
ul.dj-mobile-nav-child {
	margin-bottom: 0 !important;
}
.dj-offcanvas-dark {
	background: #36003B !important;
}



.flex-container {
    display: flex;
	align-items: center;
    /* flex-flow: wrap; */  
    flex-wrap: wrap; 
    height: 100%;
    gap: 5px;
	padding: 15px 0 10px 0;
}
.flex-container > div{
    padding: 0 19px;
}
.top-1,
.bottom-1 {
    /* flex:1 1 auto; */
    flex-grow:1;
    flex-shrink:1;
    align-self:auto;
	font-size: 14px;
}
.bottom-1 img {
	padding: 0 0 12px 0;
}
.top-2,
.bottom-2 {
    /* flex:0 1 auto; */
    order:0;
    flex-grow:0;
    flex-shrink:1;
    align-self:auto;
}
.top-3,
.bottom-3 { 
    /* flex:0 1 auto; */
    flex-grow:0;
  }
.bottom-3 {
	font-size: 14px;
	max-width: 400px;
}


.top-2 a {
	font-size: 1.4rem !important;
	text-decoration: none !important;
	font-weight: 600;
}
@media (max-width: 450px) {
	.top-2 a {
		font-size: 1.1rem !important;
		text-decoration: none !important;
		font-weight: 600;
	}
}


.top-3 {
	font-size: 1.6rem !important;
	text-decoration: none !important;
	font-weight: 600;
}

.bg1 div.card-body {
	padding: 0;
}
.bg2 {
	background: #F7F7F7;
}
.bg3 {
	background: #7b0d53;
	color: #FFF;
}
.bg4 {
	background: #EFEFEF;
}


.blog-featured .article-info,
.mod-articles-category-date,
.breadcrumb,
.article-info {
	font-size: .8rem !important;	
}
.create {
	margin: 0 5px 0 0;
}

#mod-custom106 h3 {
	padding-bottom: 10px;
	border-bottom: 2px solid #FFF; 
	margin-bottom: 15px;
}
.card {
	border: none;
	border-radius: 0;
}
#mod-finder-searchword210.form-control {
	border: none;
}

.sst-title {
	border: none !important;
	border-radius: 0 !important;
	background: #F7F7F7 !important;
	padding: 1rem 1rem .7rem !important;
	font-size: 15px;
	font-weight: 600;
}
.sst-title.active {
	background: #EFEFEF !important;
}
.sst-content {
	display: none;
	background: #EFEFEF !important;
	border: none !important;
	margin: 0 !important;
	padding: .6rem 1rem !important;
}
.sst-content li {
	border-bottom: 1px solid #DFE3E7 !important;
	padding: .6rem 0;
}

.mod-list li a {
	text-decoration: underline;
}
.mod-list li a:hover,
.tagspopular a:hover {
	text-decoration: none;
}

.container-bottom-a > *, .container-bottom-b > *, .container-top-a > *, .container-top-b > * {
	flex: 1;
}

.top-b.card.usl div.card-body,
.main-top.card.slid div.card-body {
	padding: 0;
}
.mslider-wrapper-inner.mslider_horizontal_padding {
	padding: 0 ;
}
.mslider_main .mslider-item {
	margin-right: 15px !important;
}
.mslider-description {
	display: none;
}
.mslider-s-desc, .mslider-desc {
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
}
.mslider-s-desc, .mslider-desc {
  padding: 0;
}
.mslider-detail-box {
  padding: 10px 15px 15px 15px;
}
#mslider_1 .mslider-detail-box {
  flex-basis: 55% !important;
}
#mslider_1 .mslider-cover.with_detail_box {
  flex-basis: 45% !important;
}

.items-more {
	padding: 10px 0 20px;
	margin: 30px 0;
}
.items-more ol li {
	list-style-type: none;
}

.swiper-pagination {
	position: inherit;
	padding-bottom: 20px;	
}
.swiper-horizontal > .swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
	bottom: 0;
}
.swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
	margin: 0 8px;
}
.swiper-pagination-bullet-active {
	background: #4D0543 !important;
}
.swiper-pagination-bullet {
	border-radius: 0;
	width: 10px;
	height: 10px;
	background: #4D0543;
}
.swiper-wrapper {
	padding-bottom: 20px;
}

h4.title.my-2 {
	font-size: 2rem;
	color: #fff;
}
@media (max-width: 768px) {
	h4.title.my-2 {
	font-size: 1.5rem;
	}
}


.modbpslider-padding.px-4.py-3 {
	background-color: #37003C;
	background: rgba(55, 0, 60, 0.5);
}
a.btn.btn-outline-light.my-2 {
	border: 4px solid #fff;
	font-weight: 600;
	border-radius: .4rem;
}

#mod-custom145 {
	width: 100%;
}
#mod-custom145.mod-custom.custom ul li {
	display: inline-block;
}

.footer .grid-child {
	padding: 1rem 0;
}
.footer a {
	color: #be95be;
	text-decoration: underline;	
}
.footer a:hover,
.footer a:focus {
	color: #fff;
	text-decoration: none;	
}

.uk-background-muted {
	background: #EFEFEF;
}

.uk-padding {
	padding: 15px;
}

.category-desc {
}

li.dj-up.itemid101017 a.dj-up_a span span.title span.name,
li.itemid96 a span.title span.name,
li.itemid87 a span.title span.name,
li.itemid117 a span.title span.name,
li.itemid122 a span.title span.name,
li.itemid111 a span.title span.name,
li.itemid105 a span.title span.name,
li.itemid100034 a span.title span.name,
li.itemid100065 a span.title span.name,
li.itemid100122 a span.title span.name,
li.itemid100057 a span.title span.name,
li.itemid100058 a span.title span.name,
li.itemid100106 a span.title span.name,
li.itemid100119 a span.title span.name {
	color: #be95be;
}

.com-content-article__body blockquote {
    border-left: 6px solid #BE95BE;
    font-size: 16px;
    font-style: italic;
    margin: 16px;
    padding: 16px 24px;
    position: relative;
}
.com-content-article__body blockquote:before {
    content: "";
    position: absolute;
    top: 50%;
    left: -6px;
    height: 40px;
    background-color: #fff;
    width: 6px;
    margin-top: -1em;
}
.com-content-article__body blockquote:after {
    content: "”";
    position: absolute;
    top: 50%;
    left: -20px;
    color: #7B0D53;
    font-size: 50px;
    font-family: Times, sans-serif;
    font-weight: bold;
    line-height: 30px;    
}

blockquote.text-muted {
	background: #EFEFEF;
}

.container-component > * + *, .container-component > :first-child, .container-sidebar-left > * + *, .container-sidebar-left > :first-child, .container-sidebar-right > * + *, .container-sidebar-right > :first-child {
	margin-top: 0;
}
.container-sidebar-right .sidebar-right:first-child {
	margin-top: 0;
	margin-bottom: 20px;
}

/* SAPE */

#mod-custom175 {
}
.block_links {
	padding: 15px 15px 0 15px;
	font-size: 0.8rem;
	color: #666;
	background: #F7F7F7;
	border-bottom: 5px #F7F7F7 solid;
	margin-bottom: 25px;
}
.block_links:after { 
	content: "Реклама";
	float: right;
	color: #999;
}
.block_links_icnt {
	vertical-align: top;
	width: 48% !important;
}

p.block_links_header {
	padding-right: 5px;
}

p.block_links_header, p.block_links_text {
	margin-bottom: 0;
	display:inline;
	float:left;
}
p.block_links_url {
	margin-bottom: 0;
	clear: both;
}
p.block_links_text a:hover,
p.block_links_text a:focus {
	text-decoration: none;
}
p.ad {
	text-align: right;
	color: #999;
	margin-bottom: 0;
}
main {
	padding: 0 0 25px 0;
}

.notice_div_ribbin {
	opacity: 0.9;
}

.nspList h4 {
	font-size: 1.1rem;
}

.nspArtPage {
	background: #F7F7F7;
}

dd.create time {
	background: #37003c;
	padding: 0 5px 2px 5px;
	color: #FFF;
}

@media (max-width: 800px) {
	.nspPrev, .nspNext {
		position: static !static;
	}
	.nspArts, .nspLinksWrap {
	padding-left: 0 !important;
	padding-right: 0 !important;
	}
}
@media (max-width: 800px) {
    #nsp-custom-module .nspCol2 {
    }
}
    
@media (max-width: 799px) {
    #nsp-custom-module .nspArts.right {
        width: 100% !important;
    }
    #nsp-custom-module .nspLinksWrap.right {
        width: 100% !important;
    }
}

/* Модуль Top News */

div.rectangle_12 {
	padding: 15px !important;
	background: #F7F7F7;
	margin-bottom: 25px;
}

div.rectangle_12 > h6 {
	margin-top:25px; 
}

img.rectangle_12 {
	width: 100%;
	object-fit: cover;
	margin-bottom: 10px;
}
.rectangle_12 .mod-articles-category-introtext {
	width: 100%;
	word-break: break-word;
}
.col-md-12.actualites-title-0, div.col-md-12.actualites-title-3 > hr {
	display: none;
}
h4.actualites-title > a {
	font-size: 20px; 
	text-decoration: none;
}
h3 a.mod-articles-category-title {
	text-decoration: none;	
}

h3 a.mod-articles-category-title:hover,
h3 a.mod-articles-category-title:focus,
h4.actualites-title > a:hover,
h4.actualites-title > a:focus {
	text-decoration: underline;
}

.col-md-6.rectangle_12 hr {
	display:none;
}
.actualities-side {
	padding-left:20px;
}
.text-start {
	margin: 25px 0;	
}
@media (max-width: 768px) {
	.actualities-side {
	padding-left:10px;
	}
}


/* Модуль Magazine */

.a-la-une-text {
    position: absolute;
    z-index: 999;
    display: block;
    margin-top: -190px;
    top:inherit!important;
}

.a-la-une img {
	height: 430px !important; 
	background: rgba(53, 53, 53, 0.35); 
	filter: brightness(0.8); 
	overflow: hidden; 
	z-index:-2 !important;
}

.a-la-une-text {
  	max-width: 410px;
	padding-top: 20px;
    padding-right: 50px;
    padding-bottom: 23px;
    padding-left: 40px;
}

.una-col {
	position: relative;
	margin: 0 0 20px 0;
}

.text-white, .text-white a {
	color: #fff !important;
}

.una-col-flex ul {
	display: flex;
	flex-wrap: wrap;
	padding-left:0px;
}

.una-col-flex li {
	height: 59vh;
	flex-grow: 1;
	list-style: none;
	padding: 10px;
	position: relative;
}

.una-col-flex img {
	max-height: 100%;
	min-width: 100%;
	object-fit: cover;
	vertical-align: bottom;
	height: 430px;
	filter: brightness(70%);
}

.video-container {
	position: relative;
	overflow: hidden;
}
.video-iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.mfp_default_title a {
	color: #7B0D53;
	line-height:1.4;
	
}
.mfp_default_title a:hover,
.mfp_default_title a:focus {
	color: #600a49;
	text-decoration: none;
}
.mfp_default_skin_card .mfp_default_item div {
	padding: .6rem 1rem !important;
}

.mod-articles-category-date {
	color: #666;
}

.container-breadcrumbs {
	background: #F7F7F7;
	margin-bottom: 20px;
}

.mod-breadcrumbs {
    display: block !important;
	padding: .9rem 1rem .8rem 1rem !important;
}
.mod-breadcrumbs * {
    display: inline !important;
    position: relative !important;
}
.mod-breadcrumbs *:before {
    position: absolute !important; 
    left: 0 !important;
}
.breadcrumbs {
	background-color: #F7F7F7;
	margin: -15px 0 15px 0;
}
.breadcrumb {
	--breadcrumb-item-padding-x: 0;
	background: none !important; 
}
.breadcrumb-item + .breadcrumb-item::before {
	content: var(--breadcrumb-divider,"");
}

.container-top-a > *, .container-top-b > *, .container-bottom-a > *, .container-bottom-b > * {
	margin: 0;
}

ol.com-content-blog__links li {
	list-style-type: square;
}
.page-link {
	padding: 6px 8px;
	font-size: 14px;
}

#mxcpr {display:none !important;}

.table thead th {
  white-space: normal;
}

.mfp_default_skin_card .mfp_default_item div {
  border: none!important;
  box-shadow: none!important;
}
.mfp_default_skin_card .mfp_default_item .mfp_date {
  font-size: .8rem !important;
}
.mfp_date {
  background: #37003c;
  padding: 0 5px 2px 5px !important;
  color: #FFF !important;
  font-size: .8rem !important;
}
#tns1 > .tns-item {
  font-size: 6px;
}
.mfp_carousel_title {
  margin-top: 8px !important;	
}
.mfp_carousel_title a {
  color: #7B0D53;
  font-size: 1rem;
  line-height: 1.3rem;
}

/* ==========================================================
   Regular Labs Tabs & Accordions
   Для Cassiopeia Joomla 6
   ========================================================== */

/* Общий контейнер */
[data-rlta-element="container"] {
    margin: 0;
    width: 100%;
}

/* ----------------------------------------------------------
   Заголовки вкладок
   ---------------------------------------------------------- */
   
[data-rlta-element="container"][data-rlta-state="ready"][data-rlta-theme="neutral"][data-rlta-type="tabs"] > [data-rlta-element="button-list"] > [data-rlta-element="button"] {
	background-color: #EFEFEF !important;
	border: 0;
	border-radius: 0;
	padding: .3rem;
}    

[data-rlta-element="button"] {
    display: inline-block;
    margin-right: 2px;
    padding: 12px 15px !important;
    background: #f1f1f1;
    cursor: pointer;
    transition: none;
	font-weight: 600;
}

/* Наведение */
[data-rlta-element="button"]:hover {
    background: #e5e5e5;
}

/* Текущая открытая вкладка */
[data-rlta-element="button"][data-rlta-state="open"] {
    background: #EFEFEF;
    position: relative;
    z-index: 2;
}
[data-rlta-element="button"][data-rlta-state="closed"] {
    background: #F7F7F7;
    position: relative;
    z-index: 2;
}


/* ----------------------------------------------------------
   Панель с содержимым
   ---------------------------------------------------------- */

[data-rlta-state="ready"][data-rlta-theme="neutral"][data-rlta-type="tabs"] > [data-rlta-element="panels"] > [data-rlta-element="panel"] {
	border-radius: 0 !important;
}

[data-rlta-element="panel"] {
	background: #EFEFEF !important;
	border: none !important;
	margin: 0 !important;
	padding: .6rem 1rem !important;
}

/* Внутренний контейнер */
[data-rlta-element="panel-content"] {
    padding: 0 !important;
}


/* ----------------------------------------------------------
   Список статей внутри вкладок
   ---------------------------------------------------------- */

[data-rlta-element="panel"] ul.mod-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

[data-rlta-element="panel"] ul.mod-list li {
	border-bottom: 1px solid #DFE3E7 !important;
	padding: .6rem 0 !important;
}

[data-rlta-element="panel"] ul.mod-list li:last-child {
    border-bottom: none;
}

/* Ссылки статей */
[data-rlta-element="panel"] .mod-articles-category-title {
    text-decoration: underline;
}

[data-rlta-element="panel"] .mod-articles-category-title:hover {
    text-decoration: none;
}

/* Дата */
[data-rlta-element="panel"] .mod-articles-category-date {
    white-space: nowrap;
    font-size: 13px;
    color: #666;
}

/* ----------------------------------------------------------
   Мобильные устройства
   ---------------------------------------------------------- */

@media (max-width: 767.98px) {

    [data-rlta-element="button"] {
        padding: 9px 12px !important;
    }

    [data-rlta-element="button"] h3 {
        font-size: 15px !important;
    }

    [data-rlta-element="panel-content"] {
        padding: 12px !important;
    }

    [data-rlta-element="panel"] ul.mod-list li {
        padding: 8px 0;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .blog-items {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .blog-items .blog-item {
        width: auto;
    }
}