/* ЦВЕТА */

.color-vk {
	color: #2787F5;
}

.color-fb {
	color: #1778f2;
}

.color-yt, .color-youtube {
	color: #FF0000;
}

.color-ok {
	color: #EE8208;
}

.color-mailru {
	color: #ff9e00;
}

.color-tg {
	color: #2ca5e0;
}

.color-ig {
	color: #dd2a7b;
}

.color-excel {
	color: #1d7041;
}

.color-word {
	color: #285192;
}

.color-powerpoint {
	color: #c54830;
}

.color-pdf {
	color: #f72015
}


.bg-vk {
	background-color: #2787F5;
}

.bg-fb {
	background-color: #1778f2;
}

.bg-yt, .bg-youtube {
	background-color: #FF0000;
}

.bg-ok {
	background-color: #EE8208;
}

.bg-mailru {
	background-color: #005ff9;
}

.bg-tg {
	background-color: #2ca5e0;
}

.bg-ig {
	background-color: #dd2a7b;
}


.color-prim {
	color: var(--color-prim, #444) !important;
}

.color-sec {
	color: var(--color-sec, #ddd) !important;
}

.color-alt {
	color: var(--color-alt, #777) !important;
}

.color-white {
	color: #fff;
}

.color-gray {
	color: #888;
}

.bg-prim, .label-prim {
	background-color: var(--color-prim, #444) !important;
}

.bg-sec, .label-sec {
	background-color: var(--color-sec, #ddd) !important;
}

.bg-alt, .label-alt {
	background-color: var(--color-alt, #777) !important;
}

.bg-white {
	background-color: #fff;
}

.bg-gray {
	background-color: #888;
}


/* FLEXBOX */

.flex-row {
	display: flex;
	flex-wrap: wrap;
}

.flex-row > [class*='col-'] {
	display: flex;
	flex-direction: column;
}

.gap-xs {
	gap: 5px;
}

.gap-sm {
	gap: 10px;
}

.gap {
	gap: 15px;
}

.gap-lg {
	gap: 20px;
}

.gap-xl {
	gap: 30px;
}

.row-gap-l {
	gap: 5%;
  flex-wrap: nowrap;
}

.row-gap-xl {
	gap: 10%;
  flex-wrap: nowrap;
}

.row-gap-l > [class*='col-'], .row-gap-xl > [class*='col-'] {
	flex-shrink: 1;
}


/* ДОП. СТИЛИ */

img.right
{
	border: 1px solid #ccc;
	float: right;
	margin-left: 15px;
	padding: 5px;
	max-width: 100%;
}

img.left
{
	border: 1px solid #ccc;
	float: left;
	margin-right: 15px;
	padding: 5px;
	max-width: 100%;
}

.margins {
	margin-top: 20px;
	margin-bottom: 20px;
}

.margins-l {
	margin-top: 30px;
	margin-bottom: 30px;
}

.margins-xl {
	margin-top: 50px;
	margin-bottom: 50px;
}

.margin-bottom {
	margin-bottom: 30px;
}

.margin-top {
	margin-top: 30px;
}

.paddings {
	padding-top: 20px !important;
	padding-bottom: 20px !important;
}

.paddings-l {
	padding-top: 30px !important;
	padding-bottom: 30px !important;
}

.paddings-xl {
	padding-top: 50px !important;
	padding-bottom: 50px !important;
}

.border-top {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid rgba(0,0,0,0.15);
}

.ya-share2 {
	display: inline-block;
	vertical-align: middle;
}

summary {
	cursor: pointer;
	user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
  display: list-item;
}

summary:hover {
	opacity: 0.8;
	text-decoration: underline;
}

summary.h1, summary.h2, summary.h3, summary.h4, summary.h5 {
	margin: 3px 0;
}

hr, .table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
	border-color: rgba(0,0,0,0.1);
}

.form-control-sm {
	width: 6em;
	max-width: 100%;
}

.form-control-date {
	width: 9em;
	max-width: 100%;
}

.badge-white {
  background-color: #fff;
	color: #333;
	border: 1px solid #333;
}

.form.is-offline .btn {
	filter: grayscale(100%);
}

.table.table-classic td, .table.table-classic th {
  border: 1px solid #000 !important;	
}

.border-radius {
	border-radius: var(--radius);
}

.pageblock-editor img {
  max-width: 100%;
  height: auto !important;
}

.embed-responsive {
  position: relative;
  display: block;
  height: 0;
  padding: 0;
  overflow: hidden;
}

.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  border: 0;
}

.embed-responsive-16by9 {
  padding-bottom: 56.25%;

}

.embed-responsive-4by3 {
  padding-bottom: 75%;
}

.embed-video {
  aspect-ratio: 16 / 9; 
  width: 100%; 
}

.form .email {
	display: none;
}

blockquote {
	padding: 10px 20px;
	margin: 0 0 20px;
	border-left: 5px solid var(--color-sec);
	font-style: italic;
}

.btgrid .col {
	max-width: 100%;
}

.maxlines {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.maxlines-1 {
  -webkit-line-clamp: 1;
}

.maxlines-2 {
  -webkit-line-clamp: 2;
}

.maxlines-3 {
  -webkit-line-clamp: 3;
}

.maxlines-20 {
  height: 2.2em;
}

.fullwidth {
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
}

.blockmaxwidth-1200 {
	max-width: 1200px;
}

.blockmaxwidth-1000 {
	max-width: 1000px;
}

.blockmaxwidth-800 {
	max-width: 800px;
}

.blockmaxwidth-600 {
	max-width: 600px;
}

.blockalign-center {
	margin-left: auto;
	margin-right: auto;
}

.blockalign-right {
	margin-left: auto;
}

.tabulator-edit-select-list {
	background-color: #fff !important;
}
.tabulator-edit-select-list .tabulator-edit-select-list-item:hover {
  color: #fff !important;
}

/* БЛОК "ФАЙЛЫ И ССЫЛКИ" */

.attachments {
	list-style: none;
	padding-left: 0;
}

.attachments ul {
	list-style: none;
	padding-left: 20px;
}

.attachments-l ul {
	padding-left: 30px;
}

.attachments-xl ul {
	padding-left: 40px;
}

.attachments img {
	width: 24px;
}

.attachments-l img {
	width: 36px;
	margin-right: 2px;
}

.attachments-xl img {
	width: 48px;
	margin-right: 4px;
}

.att-icon .fa-lg {
	line-height: 1em;
}

.attachments:not(.row) li {
	padding: 3px 0;
	position: relative;
}

.attachments li {
	padding-top: 3px;
	padding-bottom: 3px;
}

.attachments h4 {
	color: #666;
	margin-bottom: 3px;
}

.att-highlight .att-name {
	font-weight: bolder;
}

.popover-audio {
	display: block !important;
	max-width: 400px !important;
	width:auto;
}

.popover-audio .popover-content {
	padding: 5px 5px 0;
}

.att-li:not(.at-header) {
	display: flex;
	gap: 5px;
}

.att-text {
	vertical-align: middle;
	flex: 1;
}

.att-cards > li {
	border: 1px solid rgba(0,0,0,0.1);
	border-radius: var(--radius);
	padding: 10px 15px !important;
	margin: 8px 0;
}

.att-hr > li {
	padding: 10px 0 !important;
}

.att-hr > li:not(:last-child) {
	border-bottom: 1px solid rgba(0,0,0,0.1);
}

.att-hr > li:last-child {
	padding-bottom: 2px !important;
}

.att-center li {
	align-items: center;
}

.att-extraspacing > li {
	margin: 8px 0;
}

.attachments-xl.att-extraspacing > li {
	margin: 12px 0;
}

.attachments-xl.att-extraspacing > li > ul > li {
	margin: 8px 0;
}

.att-icon-above .att-icon, .att-icon-above .att-text {
	display: block;
	padding-left: 0;
}

.attachments .collapser i {
	display: inline-block;
  margin-right: 10px;
}

.att-icon i {
	padding-right: 5px;
	padding-top: 2px;
}

.att-text {
	line-height: 1.2;
}

.att-date {
	line-height: 1.4;
}

.att-date-inline {
	display: inline-block;
	font-family: Monospace;
	margin-right: 8px;
	font-size: 90%;
	font-weight: 600;
}

.att-date.att-date-sm{
	line-height: 1.2;
	font-size: 85%;
	opacity: 0.85;
}

.att-date.att-date-lg{
	font-weight: bold;
}

.icon-bg .att-icon i {
	border-radius: 50%;
	background-color: #EEE;
	width: 2em;
	min-width: 2em;
	height: 2em;
	text-align:center;
	vertical-align:middle;
	padding: 0;
	display: table-cell;
}

.icon-bg .media-body {
	vertical-align:middle;
	padding-left: 5px;
	width: auto;
}

.icon-bg a, .att-description a {
	font-weight: bold;
}

.table p {
	margin-bottom: 0;
}

.news-archive .news-item {
  display: flex;
}

.timeline-text {
  border-left: 4px solid var(--color-prim);
  margin-left: 3px;
  padding: 2px 0 25px 18px;  
  position: relative;
}

.timeline-date {
  min-width: 64px;
  margin-right: 14px;
  align-self: start;
  height: auto;
  text-align: center;
  color: #fff;
  background-color: var(--color-prim);
  position: relative;
  padding: 2px 5px;
  border-radius: var(--radius-sm, 0);
}

.att-timeline {
  border-left: 0;
  margin-left: 11px;
  margin-right: 25px;
}

.att-timeline::after {
  content: '';
  display: block;
  width: 100%;
  height: 30px;
  margin-top: -30px;
  background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 100%);
  z-index: 2;
  position: relative;
}

.timeline-text::before {
  content: '';
  background-color: var(--color-prim);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  position: absolute;
  left: -8px;
  top: 6px;
}

.at-timeline {
  margin-bottom: 0;  
  padding: 0 !important;
}

.timeline-date::before {
  content:"";
  border-style: solid;
  border-width:  6px 0 6px 7px;
  border-color: transparent transparent transparent var(--color-prim);
  position: absolute;
  top: 50%;
  right: -5px;
  left: auto;
  transform: translateY(-50%);

}

.at-timeline::before {
  display: none;
}


.faq summary {
  font-weight: bold;
  cursor: pointer;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.faq summary:hover {
	text-decoration: underline;
}

.faq-panels details {
  padding: 0 1.5rem;
  position: relative;
  background-color: var(--color-sec);
  color: #263238;
  display: block;
}

.faq-panels details > :last-child {
  margin-bottom: 1rem;
}

.faq-panels details::before {
  width: 100%;
  height: 100%;
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  border-radius: inherit;
  opacity: .15;
  pointer-events: none;
  transition: opacity .2s;
  z-index: -1;
}

.faq-panels details[open]::before {
  opacity: .6;
}

.faq-panels summary, .faq-panels2 summary  {
  padding: 1rem 2em 1rem 0;
  display: block;
  position: relative;
  font-size: 1.25em;
}

.faq-panels summary::before, .faq-panels summary::after {
  width: .75em;
  height: 2px;
  position: absolute;
  top: 50%;
  right: 0;
  content: '';
  background-color: currentColor;
  text-align: right;
	transform: translateY(-50%);
  transition: transform .2s ease-in-out;
}

.faq-panels summary::after {
	transform: translateY(-50%) rotate(90deg);
}

.faq-panels [open] summary::after {
	transform: translateY(-50%) rotate(180deg);
}

.faq-panels summary::-webkit-details-marker, .faq-panels2 summary::-webkit-details-marker, .faq-alt details summary::-webkit-details-marker {
  display: none;
}

.faq > div, .faq details > div {
	padding-bottom: 1rem;
}

.faq-light summary {
	margin-bottom: 5px;
	display: list-item;
}

.faq-light details > div {
	padding-left: 15px;
}

.faq-alt details > summary {
  list-style: none;
	text-decoration: none !important;
}

.faq-alt details summary:before {
  content: '\f0fe';
  font-family: "FontAwesome";
  margin-right: 7px;
}

.faq-alt details[open] summary:before {
  content: '\f146';
}

.faq-panels2 details {
	border: var(--border) solid var(--color-sec);
	border-radius: var(--radius);
	margin-bottom: 0.5rem;
}

.faq-panels2 summary {
	position: relative;
  padding: 0.8rem 2rem;
}

.faq-panels2 summary:before {  
  top: .4em;
  right: .3em;
  color: transparent;
  background: url("data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjM0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIzNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNOC41OSAxNi4zNGw0LjU4LTQuNTktNC41OC00LjU5TDEwIDUuNzVsNiA2LTYgNnoiLz48L3N2Zz4=") no-repeat 50% 50% / 1.5em 1.5em;
  width: 1.5em;
  height: 1.5em;  
  content: "";
  position: absolute;
  transition: transform .4s;
}

.faq-panels2 details[open] > summary:before {
  transform: rotateZ(90deg);
}

.faq-panels2 details > div {
  padding: 1rem 2rem 0.2rem;
	border-top: var(--border) solid var(--color-sec);
}

.faq-panels2 details[open] summary ~ *{ 
  animation: sweep .4s ease-in-out;
}

.highlight {
	background-color: #ff9;
}


@keyframes sweep {
  0%    {opacity: 0;}
  100%  {opacity: 1;}
}

.dl-horizontal dt {
	font-size: 100%;
}

dt {
	font-size: 120%;
	line-height: 1.3;
}

dd {
	margin-bottom: 0.6em;
	line-height: 1.3;
}


/* БЛОК "ГАЛЕРЕЯ" */

.gallery:not(.tiles-justified) > img, .gallery:not(.tiles-justified) > a img {
	padding: 2px;
	max-height: 120px;
}

.gallery:not(.cardsgrid) figure {
	margin-bottom: 15px;
}

.gallery .img-responsive {
	max-height: 100vh;
	display: inline-block;
}

.lazyload,
.lazyloading {
	opacity: 0;
}

.lazyloaded {
	opacity: 1;
	transition: opacity 600ms;
}

.picsrow {
	display: flex;
}

.picsrow img {
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.picsrow > div:not(:last-child) {
  margin-right: 5px;
}

.lightslider > img {
	max-height: 100% !important;
}

.lightSlider > img {
	padding: 0;
	border: 0;
	margin: 0;
}

.gallery.cardsgrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	grid-gap: 15px;
}

.gallery.cardsgrid.grid-mini {
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	grid-gap: 20px;
}

.gallery.cardsgrid.grid-maxi {
	grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
}

.gridimg {
	position: relative;
	width: 100%;
	background-color: var(--color-sec);
	transition: opacity 0.3s;
}

.gridimg-fit {
	background-color: var(--color-sec);
}

.gridimg0, .cards-square .card-placeholder:before, .cards-round .card-placeholder:before {
	padding-bottom: 100%;
  aspect-ratio: 1;
}

.img-cards-square, .img-cards-round {
  aspect-ratio: 1;
}

.img-cards-rect {
  aspect-ratio: 4 / 3;
}

.img-cards-32 {
  aspect-ratio: 3 / 2;
}

.img-cards-wide {
  aspect-ratio: 16 / 9;
}

.gridimg34 {
	padding-bottom: 133.3%;
  aspect-ratio: 3 / 4;
}

.gridimg43, .cards-rect .card-placeholder:before {
	padding-bottom: 75%;
  aspect-ratio: 4 / 3;
}

.gridimg32 {
	padding-bottom: 66.67%;
  aspect-ratio: 3 / 2;
}

.gridimg169, .cards-wide .card-placeholder:before {
	padding-bottom: 56.25%;
  aspect-ratio: 16 / 9;
}

.gridimg img {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	width: 100%;
  height: 100%;
	object-fit: cover;
	max-height: none !important;
	padding: 0 !important;
	z-index: 3;
}

.gridimg-fit img {
	object-fit: contain;
	padding: 10px !important;
}

.dateauthor {
	font-size: 75%;
	font-style: italic;
	opacity: 0.75;
	padding: 1px 0 3px;
}

.gridcaption {
	text-align: center;
	padding: 9px 0;
	line-height: 1.25;
}

.gallery a {
	text-decoration: none;	
	overflow: hidden;
}

.gallery-passepartout {
  padding: 8px;
}

.gallery-passepartout .gridcaption {
  margin-bottom: 0;
}

.gallery .panel {
	margin-bottom: 0;
}

.faded {
	opacity: 0;
}

.cardsgrid a {
	max-width: 600px;
	min-width: 300px;
}

.cardsgrid.grid-mini a {
	max-width: 400px;
	min-width: 200px;
}

.cardsgrid.grid-maxi a {
	max-width: 800px;
	min-width: 400px;
}

.transition {
	transition: all 0.3s;
}

.cS-hidden {
	opacity: 0;
	overflow: hidden;
}

.lightslider.cS-hidden {
  position: absolute;
	z-index: 2;
}

.lightcarousel.cS-hidden {
	height: 1px;
}

.overlay-play {
	background:url('/admin/images/overlay-play.webp') center center no-repeat;
	bottom:0;
	content:"";
	display:block;
	left:0;
	position:absolute;
	right:0;
	top:0;
	background-size:contain;
	z-index: 777;
	transition: all 0.3s;
}

.overlay-play:hover {
	transform: scale(1.1);
}

.overlay-play-light {
	background-image:url('/admin/images/overlay-play-light.webp');
}

.overlay-play-alt {
	background-image:url('/admin/images/overlay-play-alt.webp');
}

.plyr-youtube {
  position: relative;
  cursor: pointer;
}

.tiles-justified.textshow .caption {
	display: block;
	opacity: 0.7;
}

.tiles-justified.textpanel-center .caption {
	text-align: center;
}

.tiles-justified.textpanel-right .caption {
	text-align: right;
}

.gallery.feed img {
	display: block;
	width: 100%;
	max-height: none;
}

.lightcarousel.lightcarousel0 img { 
	max-height: 150px;
	margin: 0 5px;
}

.lightcarousel-1 img { 
	max-height: 200px;
	margin: 0 6px;
}

.lightcarousel-2 img { 
	max-height: 120px;
	margin: 0 4px;
}

.lightcarousel4 img, .lightcarousel5 img{ 
	max-width: 100%;
	height: auto;
	margin: 0 5px;
}

.splide .splide__pagination {
	bottom: -1.5em;
}

.pageblock .splide {
	margin-bottom: 40px;
}

.splide .splide__pagination__page {
	transition: all 0.2s;
}

.splide .splide__pagination .is-active {
	background-color: var(--color-prim);
	opacity: 1;
}

.lightslider .splide__slide img {
	width : 100%;
	height: auto;
}

.imgplaceholder {
	background-color: rgba(0,0,0,0.1);
}

@media (max-width:767px) {
	.picsrow {
		display: block;
		text-align: center;
	}

	.picsrow > div {
		display: inline-block;
	}
	
	.picsrow img {
	  height: 200px;
  	width: auto;
	  margin-bottom: 5px;
	}
}



/* БЛОК "КАРТОЧКИ" */

.cards-grid {
  display: flex;
  align-items: center;
}

.cards-grid > div {
  flex: 1;
	align-self: stretch;
  max-width: 100%;
}

.cards-grid {
	display: grid;
	grid-gap: 30px;
}

.cards-max-4 {
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.cards-max-5 {
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.cards-max-6 {
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.card {
	position: relative;
	height: 100%;
}

.card-wrap {
	margin-bottom: 25px;
}

.flex-row .card {
	flex-grow: 1;
	margin-bottom: 0px;
}

.cards-grid .card {
	margin-bottom: 0;
}

.cards-v .card {
	height: 100%;
}

.cards-v .panel .row {
	margin: 0;
}

.card-caption {
	flex-direction: column;
	display: flex;
	flex: 1 0 auto;
	height: 100%;
	justify-content: flex-start;
}

.card-overlay .card-text {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	color: #fff;
	background-image: linear-gradient(-180deg, rgba(0,0,0,0.5) 5%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.15) 75%, rgba(0,0,0,0.1) 100%);
	height: 100%;
	overflow: hidden;
	transition: all 0.3s;
}

.card-overlay.card-noshade .card-text {
	background-image: none;
}

.card-overlay.card-hover .card-text {
	opacity: 0;
}

.card-overlay.card-hover .card-text:hover {
	opacity: 1;
}

.card-overlay .card-caption {
	padding-bottom: 0;
}

.card-description {
	color: #333;
	padding: 0 0 10px;
}

.card-description.maxlines {
	padding-bottom: 0;
	margin-bottom: 10px;
}

.card-overlay .card-description, .card-overlay .card-date {
	color: #fff;
}

.card-overlay h4 {
	text-shadow: 0 2px 2px rgba(0,0,0,0.5);
}

.card-overlay.card-noshade h4 {
	background-color: rgba(0,0,0,0.5);
}

.card-overlay .card-description {
	text-shadow: 0 1px 2px rgba(0,0,0,0.5);
	font-weight: 400;
}

.card-overlay.card-noshade .card-description {
	background-color: rgba(0,0,0,0.5);
}

.card-overlay .card-date {
	text-shadow: 0 1px 1px rgba(0,0,0,0.5);
}

.panel .card-caption .card-description, .panel .card-caption h4, .panel .card-caption h5, .panel .card-caption h3, .panel .card-caption .card-btn, .panel .card-caption .card-header,
.card-overlay .card-caption .card-description, .card-overlay .card-caption h4, .card-overlay .card-caption .card-btn, .card-overlay .card-caption .card-header, .panel .card-caption .card-category, .panel .card-value {
	padding-left: 15px;
	padding-right: 15px;
}

.card-placeholder {
	width: 100%;
	position: relative;
	background-size: cover;
}

.card-placeholder:before {
	content:"";
	display: block;
	padding-bottom: 62.5%;
}

.card-placeholder img {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
}

.card.cards-round .card-placeholder:before {
	padding-bottom: 80%;
}

.card.cards-round .card-placeholder {
	margin-bottom: 20px;
}

.card-overlay h4 {
	margin: 0;
	padding: 10px 15px;
}

.number-overlay {
	position: absolute;
	top: 10px;
	right: 10px;
}

.card-flag {
	position: absolute;
	right: 10px;
	background-color: var(--color-prim);
	color: #fff;
	padding: 10px 3px 3px;
}

.card-flag-inverted {
	background-color: var(--color-sec);
	color: var(--color-alt);
}

.card-flag-circle {
	border-radius: 99px;
	top: 10px;
	width: 30px;
	height: 30px;
	text-align: center;
	line-height: 30px;
	vertical-align: middle;
	padding: 1px 0 0;
}

.card-category {
	margin-top: 4px;
	margin-bottom: -4px;
}

.category-overlay {
	position: absolute;
	top: 7px;
	left: 10px;
}

.category-center {
	margin: -12px auto 0;
	text-align: center;
	z-index: 2;
}

.z-index {
	z-index: 2;
}

.card.panel {
	overflow: hidden;
}

.card-date {
	color: rgba(0,0,0,0.5);
	font-size: smaller;
	margin-top: 5px;
}

.card-image {
	background-size: cover;
}

.card-img {
	padding-right: 0;
}

.card img {
	min-width: 0;
	max-width: 100%;
}

.card.cards-round img {
	border-radius: 50%;
	max-width: 80%;
	margin: 10px auto;
}

.cardfooter:not(.card-overlay) {
	padding-bottom: 40px;
}

.card-btn {
	margin-top: auto;
	margin-bottom: 10px;
}

.card-overlay .card-btn .btn-card {
	border: 0px;
	background-color: #fff;
	color: #444;
}

.card-btn .btn-card {
	display: block;
}

.card-btn .btn-card.btn-inline {
	display: inline-block;
}

.cards-v .card.cardfooter {
	padding-bottom: 50px;
}

.cards-v .card-footer {
	margin: 0;
}

.card-footer {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	border-top: 1px solid rgba(0,0,0,0.1);
	padding: 5px 0 10px;
	max-height: 40px;
	overflow: hidden;
	display: flex;
	justify-content: space-between;
}

.card-overlay .card-footer {
	border-top: 0;
}

.card-footer .card-tags {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.card-footer .card-tags.pull-right {
  margin-left: auto;
  order: 2;
	padding-left: 3px;
}

.panel .card-footer, .card-overlay .card-footer {
	margin: 0 15px;
}

.flex-row .cards-padding-s {
	padding: 0 2px;
}

.flex-row .cards-padding-0 {
	padding: 0;
}

.flex-row .cards-padding-s .card {
	margin-bottom: 4px;
}

.flex-row .cards-padding-0 .card {
	margin-bottom: 0;
}

.cards-grid .cards-padding-0 {
	grid-gap: 0;
}

.cards-grid .cards-padding-s {
	grid-gap: 4px;
}

.cards-grid.gaps-xs {
	grid-gap: 10px;
}

.cards-grid.gaps-sm {
	grid-gap: 20px;
}

.cards-grid.gaps-lg {
	grid-gap: 40px;
}

.cards-h .card-header {
	margin-top: 10px;
}

.cards-v .card-header .card-date {
	margin-top: 0;
}

.card.panel:not(.cardfooter):not(.card-overlay)  {
	padding-bottom: 8px;
}

.flex-row .card > a:hover, .flex-row .card > a:focus {
	opacity: 0.8;
	text-decoration: none;
}

.card.card-overlay > a:hover {
	opacity: 1;
}

.card-overlay > a:hover .card-text {
	background-color: rgba(0, 0, 0, 0.2);
}

.card-nocaption .card-caption {
	display: none;
}

.cards-start {
  justify-content: flex-start;
  text-align: start;
}

.cards-center {
  justify-content: center;
  text-align: center;
}

.cards-end {
  justify-content: flex-end;
  text-align: end;
}

.cards-around {
  justify-content: space-around;
}

.cards-between {
  justify-content: space-between;
}

.navdots {
	text-align: center;
}

.navdot {
	background-color: rgba(0,0,0,0.5);
	width: 12px;
	height: 12px;
	border-radius: 50%;
	display: inline-block;
	margin: 5px 8px;
	vertical-align: middle;
	transition: all 0.5s;
	position: relative;
}

.navdot.active {
	background-color: rgba(0,0,0,0.3);
	width: 16px;
	height: 16px;
	margin: 5px 6px;
}

.navdot:hover:not(.active) {
	background-color: rgba(0,0,0,0.3);
}

.cardsnav {
	flex: 1 100%;
	padding-top: 15px;
	max-width: 100%;
}

.btn-card {
	margin-top: 5px;
}

.cards-v h4 {
	margin-top: 0;
}

.img-article {
	margin: 0 20px 5px 0;
	float: left;
	max-width: 40%;
	border: 1px solid #ddd;
	padding: 3px;
}

.article-description {
	font-weight: bold;
}

.svg {
	width: 100%;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	height: 0;
	padding-bottom: 100%;
}

.svg-s, .svg-r {
	padding-bottom: 100%;
}

.card-tags .label {
	padding-bottom: .2em;
}

.label-bordered {
	color: rgba(0, 0, 0, 0.5);
	border: 1px solid rgba(0, 0, 0, 0.5);
}

.card-overlay .label:not(.label-bordered):not(.label-transparent):not(.label-alt) {
	background-color: #fff;
	color: #777;
}

.card-overlay .label-bordered {
	color: #fff;
	border: 1px solid #fff;
}

.card-overlay .category-center {
	margin-top: 10px;
}

.label-alt {
	color: #333;
	background-color: rgba(0, 0, 0, 0.15);
}

.card-overlay .label-alt {
	color: #fff;
	background-color: rgba(0, 0, 0, 0.4);
}

.label-transparent {
	color: rgba(0, 0, 0, 0.5);
	padding-left: 0;
	padding-right: 0;
	text-transform: uppercase;
}

.card-overlay .label-transparent {
	color: #fff;
}

.card-overlay .number-overlay {
	z-index: 2;
}

.label-transparent:after { 
	content: "\00a0\00a0\00b7\00a0"; 
}

.label-transparent:last-child:after { 
	content: none; 
}

.card-passepartout:not(.card-overlay) img {
	margin: 15px 15px 0 15px;
}

.card-passepartout:not(.card-overlay) img.card-img-sm {
	margin: 15px auto 0 auto;
}

.card-passepartout .number-overlay {
	margin: 15px 15px 0 0;
}

.card-passepartout .category-overlay {
	padding:  15px 0 15px 0;
}

.card-divider {
  flex-basis: 100%;
	padding: 0 15px;
	max-width: 100% !important;
}

.card-icon {
	text-align: center;
	padding: 5px;
	display: flex;
	justify-content: center;
	flex-direction: column;
}

.card-img-sm {
  width: 50%;
	margin: 0 auto;
	display: block;
}

.card-img-xs {
  width: 30%;
	margin: 0 auto;
	display: block;
}

.svg.card-img-sm {
  width: 50%;
  padding-bottom: 50%;
  min-width: 100px;
}

.svg.card-img-xs {
  width: 30%;
  padding-bottom: 30%;
  min-width: 60px;
}

.cards-img-left img, .cards-img-left .svg {
	margin: 0;
}

.card-transparent {
	opacity: 0.75;
}

.card-grayscale {
	filter: grayscale(100%);
}

.card-scaled {
	transform: scale(1.1);
}

.card-bordered {
	border: solid var(--border,1px) var(--color-prim);
}
.pager {
  padding-left: 0;
  margin: 20px 0;
  list-style: none;
  text-align: center;
}
.pager li {
  display: inline;
}
.pager li > a,
.pager li > span {
  display: inline-block;
  padding: 5px 14px;
  background-color: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 15px;
}
.pager li > a:hover,
.pager li > a:focus {
  text-decoration: none;
  background-color: #eeeeee;
}
.pager .next > a,
.pager .next > span {
  float: right;
}
.pager .previous > a,
.pager .previous > span {
  float: left;
}
.pager .disabled > a,
.pager .disabled > a:hover,
.pager .disabled > a:focus,
.pager .disabled > span {
  color: #777777;
  background-color: #ffffff;
  cursor: not-allowed;
}


/* КАРТЫ */

.leaflet_div {
  background: #eee;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  box-shadow: 0 1px 1px #fff inset, 0 -1px 0px #ccc inset;
  line-height: 0;
  margin-right: 1em;
  margin-bottom: 1em;
}

.leaflet_div.align-left {
  float: left;
}

.leaflet_div.align-right {
  float: right;
}

.leaflet_div.align-center {
  display: table;
  margin-left: auto;
  margin-right: auto;
}

.responsive-map {
  height: 0;
  padding-bottom: 56.25%;
  padding-top: 25px;
  position: relative;
  width:100%;
  aspect-ratio: 16 / 9;
}

.responsive-map-iframe {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}


/* ADMINPANEL */

#adminpanel {
	position: fixed;
	right: 10px;
	bottom: 10px;
	opacity: 0.8;
	color: #000;
}

#adminpanel:hover {
	opacity: 1;
}

#adminpanel a {
	color: #000;
}

.btn-admin {
	display: none !important;
	color: #000 !important;
	background-color: #eee;
	border: 1px solid #ccc;
	padding: 1px 4px 0;
	border-radius: var(--radius);
	margin-left: 5px;
	position: absolute;
	right: 0;
}

.card .btn-admin {
	right: 5px;
	top: 5px;
}

.attachments li:hover > .btn-admin, .card:hover .btn-admin {
	display: block !important;
}

.survey-result {
	width: 40px;
}



/* ДИАГРАММЫ */

.chart-container > .title {
	margin-top: 0 !important;
	padding-top: 25px;
	font-size: 14px !important;
}


/* HR */

.hr-dots {
	display: block;
	border: 0;
	text-align: center;
}

.hr-dots::before {
	font-family: Georgia,Cambria,"Times New Roman",Times,serif;
	display: inline-block;
	position: relative;
	letter-spacing: 1em;
	content: '\2219 \2219 \2219';
	margin-left: 1em;
	top: -23px;
	font-size: 28px;
}

.blocksearch {
	color: #333;
}


/* ФОРМЫ */

.limitwidth .form-control {
	max-width: 500px;
}

.g-recaptcha {
	float: right;
}

.checkbox-primary input[type="checkbox"]:checked + label::before {
  background-color: var(--color-prim);
  border-color: var(--color-prim);
}
.checkbox-primary input[type="checkbox"]:checked + label::after {
  color: #fff;
}

input[type="checkbox"].styled:checked + label:after {
  font-family: 'FontAwesome';
  content: "\f00c";
}
input[type="checkbox"] .styled:checked + label::before,
input[type="checkbox"] .styled:checked + label::after {
  color: #fff;
}

.cards-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	align-items: center;
}
.selectize-control {
  display: inline-block;
	vertical-align: middle;
}
.selectize-input {
  border-radius: var(--radius) !important;
}
.form-floating {
    position: relative;
}
.form-floating > label {
  position: absolute;
  top: 0;
  left: 0;
  padding-top: .25rem;
  padding-left: calc(var(--border) + 0.75rem);
  pointer-events: none;
  opacity: .6;
  font-size: 85%;
  font-weight: normal;
}
.form-floating > .form-control {
  padding-top: 1.625rem;
  padding-bottom: .625rem;
}
.social-icon-1x {
	display: inline-block;
	margin: 0 2px;
}
.social-icon-lg {
	display: inline-block;
	margin: 0 4px;
}
.social-icon-2x {
	display: inline-block;
	margin: 0 6px;
}
.social-icon-3x {
	display: inline-block;
	margin: 0 8px;
}


/* АДАПТИВНЫЙ ДИЗАЙН */

@media (min-width:1200px) {
	.cards.flex-row > .col-lg-1 {
		width: 12.5%;
	}
}

@media (max-width:420px) {
	.flex-row > .col-xxs-12 {
		width: 100%
	}
	.flex-row > .col-xxs-6 {
		width: 50%
	}
  .img-article {
    max-width: 100%;
    float: none;
    margin: 0 0 10px 0;
  }
  .flex-wrap-xxs {
  	flex-wrap: wrap;
  }
  .flex-wrap-xxs figure {
		flex: 0 1 auto !important;
  }
  .att-timeline {
    margin-left: 0;
    margin-right: 0;
  }
}


@media (max-width:767px) {
	.flex-reverse-xs {
		flex-direction: column-reverse !important;
	}
	
	.pageblock-row .row div:last-child {
		margin-top: 10px;
	}
	
	.cardsgrid a {
		max-width: 100%;
	}
}