/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Aug 20 2025 | 08:09:28 */
.entry-content-wrap{
	padding: 2em 0em;
}
.header_image{
	display:none;
}

h4{
	font-size:16px!important;
}

.header_image {
    width: 100%;
    height: 74vh;
    overflow: hidden;
    display: inline-block;
    position: absolute;
    text-align: center;
	
}

.site-branding a.brand img{
	background: #fff;
    border-radius: 50%;
    padding: 5px;
}

.site-branding a.brand{
	align-items: center;
	margin-top: 20px;
}

.text_align_justify{
	text-align:justify;
}

.text-indent{
	text-indent: 30px;
}

/* Градиент поверх изображения */
.header_image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 60%,           
    rgba(0, 0, 0, 0.3) 75%,         
    rgba(0, 0, 0, 0.8) 90%         
  );
  pointer-events: none; /* Чтобы не блокировал клики */
}

.header_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
	/*filter: grayscale(70%) contrast(130%) brightness(100%);*/
	filter: grayscale(25%) contrast(100%) brightness(95%);
}

@media screen and (min-width: 387px) and (max-width: 416px){
	.header_image {
		height: 100%!important;		
	}
	.entry-content-wrap{
		padding: 1.5em 2em!important;
	}
	#masthead{
		height:100vh!important;
	}
	.header_image img {
		height: 100%!important;		
	}
	.site-header-row{
		gap:4em;
	}
	.site-header-row-layout-contained {
		padding:20px 20px 20px 0!important;
	}
	.site-branding .site-title{
		padding-left:30px!important;
	}
	.site-branding a.brand{
		flex-direction: column;
    	align-items: flex-start;
	}
	.site-branding a.brand img {
		max-width: 75px;
	}
	.site-header-item{
		align-items: flex-start;
	}
	.site-branding a.brand img{
		margin: 0 0 0 30px;
	}
	.mobile-toggle-open-container{
		border: 1px solid var(--global-palette3);
		border-radius: 50%;
		height: 40px;
		width: 40px;
		display: flex;
		background:var(--global-palette3);
		margin-top:15px;
	}
	.mobile-toggle-open-container .menu-toggle-open{
		color:#fff;
	}
	.menu-toggle-open:focus {
		color: #fff;    
	}
	.popup-drawer .drawer-header{
		padding: 1.6em 1.5em 0 1.5em;
	}
	.popup-drawer .drawer-inner{
		background: var(--global-palette3)!important;
	}
	.menu li{
		max-width:100%!important;
		word-spacing:0px!important;
	}
	.mobile-navigation ul li.current-menu-item > a{
		color:var(--global-palette8)!important;
		 font-weight: bold;
	}
	.mobile-navigation ul{
		position:relative;
	}
	.mobile-navigation ul ul{
		padding-left:0em!important;
	}
	.mobile-navigation ul.has-collapse-sub-nav ul.sub-menu{
		z-index: 1;
    	background: var(--global-palette7);    	
	}
	.mobile-navigation ul.has-collapse-sub-nav ul.sub-menu li a{
		color:var(--global-palette3)!important;
		border-bottom: 1px solid var(--global-palette3)!important;
	}
	
	 .mobile-navigation ul li.current-menu-item.menu-item-has-children > .drawer-nav-drop-wrap{
		color:var(--global-palette8);
		 font-weight: bold;
	}
	.news .pt-cv-page .pt-cv-content-item:not(:first-child){
		height:auto!important;
		margin:0px!important;
	}
	.hist-rss-block{
		display:grid!important;
	}
	.hist-rss-header{
		padding: 0 5px;
	}
	.block_site_link .wp-block-kadence-column{
		max-width:100%!important;
	}
	.single-content p{
		margin-bottom:0px!important;
	}
	.single-content figure.wp-block-image {
		margin-bottom: 15px!important;
		margin-top: 15px;
	}
	.block_site_link .wp-block-image img{
		width:35%!important;
	}
	.abcfslMLRAuto{
		margin-left:0px!important;
	}
	.abcfslTxtColLst{
		margin-top:25px;
	}
	.kt-inside-inner-col{
		padding:0 10px;
	}
	.wpostahs-slider-wrp{
		margin-top:30px;
	}
	.wpostahs-slider{
		display:block!important;
	}
	.wpostahs-slider-design-2 .wpostahs-slider-nav{
		width: 0!important; 
		margin: 0!important;		
	}
	.wpostahs-slider-nav-1 .slick-list .slick-track{
		display:inline-flex!important;
	}
	.wpostahs-slider-nav-1 .slick-list .slick-track div{
		width:50px!important;
	}
	.wpostahs-slider-nav-content{
		flex-direction: column-reverse!important;
	}
	.wpostahs-slider-nav-title.slick-current::before, .wpostahs-slider-nav-title.slick-current::after{
		content:none!important;
	}
	.wpostahs-slider-for-1{
		width:100%!important;
	}
	.wpostahs-slider-design-2 .wpostahs-centent{
		padding: 0.5em 0 0!important;
	}
	.entry-header{
		margin-bottom:0!important;
	}
	.sp-horizontal .sp-previous-arrow{
		left: 20px!important;
	}
	.sp-horizontal .sp-next-arrow{
		right: 20px!important;
	}
	.wp-block-heading{
		text-align:center;
	}
	.time_slidaer_kaf .kt-inside-inner-col{
		padding:0px 10px!important;
	}
	.news .pt-cv-page .pt-cv-content-item {
		padding: 25px 0px!important;		
	}
	
	.news h2{
		font-size:1.5em!important;
	}
	
	.news .kt-row-column-wrap{
		display:flex!important;
		justify-content: space-between;
	}
	
	.all_anons{
		font-size:12px!important;
	}
	
	.news .pt-cv-page .pt-cv-content-item:first-child .pt-cv-title{
		bottom:125px!important;
	}
	
}

body.home .kadence-breadcrumbs {
    display: none !important;
}

.menu li{
	height:55px;
}

.sub-menu li {
    height: auto;
}


.header-navigation .header-menu-container ul ul.sub-menu{
	background: var(--global-palette2);
	
}


.header-navigation .header-menu-container ul ul li.menu-item > a:hover {
    color: #fff;
    background: var(--global-palette1);	
}


.news_block{
	margin-top:-85px;
}

#masthead{
	height: 75vh;
    display: flex;
    flex-direction: column;
}

.site-header-upper-wrap{
	height: 14vh;
}

.site-bottom-header-wrap{
	margin-top: auto;
    height: 60vh;
    display: flex;
    align-content: flex-end;
    flex-wrap: wrap;
}



.site-branding .site-title{
	background: var(--global-palette3);
    text-transform: uppercase;
	padding: 7px 5px;
}


.header-navigation .menu {
	display: contents;
}

.menu li{	
  word-spacing: 9999px; /* Принудительный перенос */
	min-width:120px;
	max-width:180px;
}

.sub-menu li{
	word-spacing: 0!important;	
	max-width:100%!important;
}

.abcfslFItemMLR10{
	display:none;
}

.anons{
	font-size:14px;
}

.anons .pt-cv-content-item{
	border-top:1px solid var(--global-palette1);
	border-bottom:1px solid var(--global-palette1);
}
.anons .pt-cv-page{
	    grid-gap: 24px!important;
}

.anons .pt-cv-content-item .pt-cv-colwrap{
	margin-top:10px;
}

.anons .pt-cv-colsys {
    margin-left: 0px; 
    margin-right: 0px; 
}

.anons .pt-cv-pagination-wrapper{
	display:none;
}

.all_anons a{
	text-decoration:none;
}
.all_anons a:hover{
	text-decoration:underline!important;
}
.all_anons a:after{
	content: "→";
  display: inline-block;
  transform: rotate(-45deg) scale(0.8);
  margin-left: 5px;
}
.content-area {
	margin-top: 0;
}

.entry-hero{
	display:none!important;
}
.sp-next-arrow:after, .sp-next-arrow:before, .sp-previous-arrow:after, .sp-previous-arrow:before{
	background-color: var(--global-palette3)!important;
}
.sp-horizontal .sp-previous-arrow{
	left: -35px;
}
.sp-horizontal .sp-next-arrow{
	right: -40px;
}
/* NEWS */


.news .pt-cv-page .pt-cv-content-item{	
	padding:15px;
}
.news .pt-cv-page .pt-cv-content-item:not(:first-child) img {
    display: none;
}

.news .pt-cv-page .pt-cv-content-item:not(:first-child){
	height: 166px;
	border-top:1px solid var(--global-palette1);
	margin: 0 0 0 20px;
}

.news .pt-cv-page .pt-cv-content-item:not(:first-child) .pt-cv-meta-fields{
	position:absolute;
	bottom:0px;
}

.news .pt-cv-page .pt-cv-content-item:last-child{
	border-bottom:1px solid var(--global-palette1);
}

.news .pt-cv-page .pt-cv-content-item:first-child {
    position: relative;
    overflow: hidden;
    height: 495px;
	padding:0;
}

.news .pt-cv-page .pt-cv-content-item:first-child img {
	position:absolute;
	width: 100%;
    height: 100%;
    object-fit: cover;
	z-index:-1;
	filter: grayscale(0%) contrast(100%) brightness(75%);
}

.news .pt-cv-page .pt-cv-content-item:first-child .pt-cv-meta-fields{
	display:none;
}

.news .pt-cv-page .pt-cv-content-item:first-child .pt-cv-content{
	position:absolute;
	bottom:0;
	left:20px;
	color:#fff;
	width:90%;
}

.news .pt-cv-page .pt-cv-content-item:first-child .pt-cv-title{
	position:absolute;
	bottom:100px;
	left:20px;
	color:#fff;
	width:90%;
}

.news .pt-cv-colsys {
    margin-left: 0px; 
    margin-right: 0px; 
}

@media (min-width: 992px){
	.news .pt-cv-content-item {
    width: 48.2%!important;
	}
}


/* Блок новостей с сайта института */

#hist-rss-container{
	margin: 25px 0 0 0;
}
.hist-rss-block {
    display: flex;
}
.hist-rss-image {
    margin-bottom: 15px;
	height:170px;
}
.hist-rss-image img {
    width: 100%;
    height: 100%;
    display: block;
	object-fit: cover;
}
.hist-rss-header {
    margin: 30px 0 10px 0;
    font-size: 14px;
    color: #535353;
	display: flex;
    width: 100%;
    justify-content: flex-end;
}
.hist-rss-header .hist-rss-header-full a{
	text-decoration:none;
}
.hist-rss-header .hist-rss-header-full:after {
    content: "→";
    display: inline-block;
    transform: rotate(-45deg) scale(0.8);
    margin-left: 5px;
}
h3.hist-rss-title {
    font-size: 14px;
}
.hist-rss-date {
    font-size: 0.7em;
}
.hist-rss-excerpt {
    font-size: 14px;
}
a.hist-rss-link {
    font-size: 12px;
    margin-top: 15px;
    display: block;
}
.hist-rss-first {
    margin-right: 10px;
    padding: 5px 10px;
    background: #f0f0f0;
    border-radius: 3px;
}
.hist-rss-first:hover {
    background: #e0e0e0;
}

.hist-rss-item {
    flex: 1 1 300px; /* Гибкие блоки, минимальная ширина 300px */
    min-width: 0; /* Важно для корректного переноса текста */
    box-sizing: border-box;
    padding: 15px;
    /*background: #fff;*/
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    /*box-shadow: 0 2px 5px rgba(0,0,0,0.05);*/
}

/* Для мобильных устройств можно изменить поведение */
@media (max-width: 768px) {
    .hist-rss-item {
        flex: 1 1 100%; /* На мобильных - полная ширина */
    }
}


.entry-taxonomies{
	display:none;
}
/* END Блок новостей с сайта института */

.display_none{
	display:none;
}

/* END NEWS*/



/* Блок ссылок на другие сайты*/

/* Основной контейнер с карточками */
.block_site_link {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 0;
}

/* Стили для каждой карточки */
.block_site_link .wp-block-kadence-column {
  width: 100%;  
	min-width: 180px;
	max-width: 220px;
  transition: all 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Эффекты при наведении */
.block_site_link div{
	width:100%;
}

.block_site_link .wp-block-kadence-column:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Внутренний контейнер (кликабельная область) */
.block_site_link .kt-inside-inner-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  /*height: 100%;*/
  text-decoration: none !important;
  padding: 15px;
}

/* Стилизация изображений */
.block_site_link .wp-block-image {
  width: 100%;
  margin-bottom: 5px;
  text-align: center;
}

.block_site_link .wp-block-image img {
  width: 55%;
  height: auto;
  max-height: 120px;
  object-fit: contain;
  transition: transform 0.3s ease;
	margin:0 auto;
}

/* Эффект увеличения при наведении */
.block_site_link .wp-block-kadence-column:hover .wp-block-image img {
  transform: scale(1.08);
}

/* Стили для подписей */
.block_site_link .has-text-align-center {
  margin: 0;
  padding: 8px 0;
  
  
  font-weight: 600;
  text-align: center;
  width: 100%;
  transition: color 0.3s ease;
}



/* Адаптивность */
@media (max-width: 1024px) {
  .block_site_link .wp-block-kadence-column {
    width: calc(33.333% - 20px);
  }
}

@media (max-width: 768px) {
  .block_site_link .wp-block-kadence-column {
    width: calc(50% - 20px);
  }
}

@media (max-width: 480px) {
  .block_site_link .wp-block-kadence-column {
    width: 100%;
    max-width: 280px;
  }
}

/* END Блок фильтров на другие сайты*/

/* SLIDER */
.slick-track:after, .slick-track:before{
	content: none;
}
.wpostahs-slider-design-2 .wpostahs-slider-nav .slick-list.draggable::before{
	content:none;
}
.wpostahs-slider-design-2 .wpostahs-slider-nav{
	width:100%!important;
	margin:0!important;
}
.wpostahs-slider-design-2 .wpostahs-slider-nav .slick-current{
	color: var(--global-palette1);
}
.wpostahs-slider-design-2 .wpostahs-slider-for .wpostahs-slider-nav-content img{
	border: 1px solid #912e33;
    box-shadow: 6px 7px 2px rgba(0, 0, 0, 0.1);
	border-radius:5px;
}
.wpostahs-slider-nav-1 .slick-list .slick-track{
	display:grid;
	justify-content: space-around;
    width: 100%;
}
.wpostahs-slider-nav-1 .slick-list .slick-track div{
	width:50px!important;
}
.wpostahs-slider-for{
	padding:0!important;
}
.wpostahs-slider-for-1{
	width: 80%;
    display: block;
}
.wpostahs-slider{
	display:flex;
	flex-direction: row-reverse;
	justify-content: flex-end;
}

.wpostahs-slider-nav-content{
	display:flex!important;
	flex-direction: row-reverse;
}

.wpostahs-slider-nav-content div:last-child{
	flex: 0 0 45%;
}

.wpostahs-centent-title, .slick-dots{
	display:none!important;
}

.wpostahs-slider-nav-title.slick-current {
    position: relative; /* Необходимо для позиционирования псевдоэлемента */
    padding-right: 20px; /* Место для стрелки */
}

.wpostahs-slider-nav-title.slick-current::before {
  content: "→";
    display: inline-block;
    transform: rotate(180deg) scale(1.2);
    margin-left: 43px;    
    font-size: 30px;
	position: absolute;
    top: -9px;
    left: 8px;
	color: var(--global-palette1);
}
.wpostahs-slider-nav-title.slick-current::after {
  content: "";
  display: block;
  width: 100%;
    height: 2px;
    background: var(--global-palette1);
    margin-right: 10px;
    position: absolute;
    top: 9px;
    left: 76px;
}


.slick-track div:fist-child{
	width:55px;
}
.full_text a{
	float:right;
	text-decoration:none;
}
.full_text a:hover{
	text-decoration:underline;
}
.full_text a:after {
    content: "→";
    display: inline-block;
    transform: rotate(-45deg) scale(0.8);
    margin-left: 5px;
}

/* END SLIDER */


/* Галерея*/

.sp-thumbnail-container{
	margin:0px!important;
}
.sp-thumbnail{
	width: 100%;
	height:100%;
    border-right: 1px solid var(--global-palette2);
    padding: 5px 15px;
}
.sp-thumbnails .sp-thumbnail-container:last-child .sp-thumbnail{
	border:0px;
}
.sp-selected-thumbnail:before{
	border-bottom: 5px solid var(--global-palette2)!important;
}
.sp-selected-thumbnail:after{
	border-bottom: 13px solid var(--global-palette2)!important;
}

/* END Галерея*/


.posted-by{
	display:none!important;
}
.wp-site-blocks .post-thumbnail{
	display:none!important;
}
/*.single-content p{
	margin-bottom:1em!important;
}*/
.entry-header{
	margin-bottom:3em;
}



/* Состав кафедры*/

.prepodavateli-kafedry .abcfslImgCntrGridA{	
	aspect-ratio: 1 / 1;
}

.prepodavateli-kafedry .abcfslImgCntrGridA div{
	width:100%;
	aspect-ratio: 1 / 1;
}
.abcfslPadLRPc1{
	padding-left:0!important;
	padding-right:2%!important;
}
.prepodavateli-kafedry .abcfslImgCntrGridA img{
	overflow: hidden;
    object-fit: cover;
	width:100%;
	height:100%;
	border-radius: 4px;
}
.abcfslImgCntrLst img{
	border-radius: 4px;
}

.prepodavateli-kafedry .abcfslTxtCntrGridA{
	margin-top:20px;
}
.MP-F1{
	font-weight:bold;
}
.T-F3:before, .T-F4:before, .T-F5:before{	 
	font-family: 'FontAwesome';
    font-feature-settings: normal;
    font-style: normal;
    font-synthesis: none;
    font-variant: normal;   
    line-height: 1;
    text-align: center;
    text-rendering: auto;
	margin-right: 10px;
	color:var(--global-palette2);
}
.T-F2{
	font-size:14px;
}
.T-F3:before{
	content: "\f041";	
}
.T-F4:before{
	content: "\f095";
}
.T-F5:before{
	content: "\f003";
}

.prepodavateli-kafedry .abcfslTxtColLst .abcfslPadLPc5{
	padding:0px!important;
}

/* END Состав кафедры*/



/* FOOTER*/

#colophon{
	background-image: url(../../../wp-content/uploads/2025/08/Futer.svg)!important;    
    background-size: cover;
}

.site-container{
	padding:0!important;
}

.footer_menu1{
	list-style:none!important;
	margin-left:-5px;
}

.footer_menu1 li a{
	color:#fff!important;
	text-decoration:none;
}
.footer_menu1 li a:hover{
	color:var(--global-palette2)!important;
	text-decoration:none!important;
}

.footer_right_block{
	overflow:hidden;
}
.footer_right_block .logo_footer{
	width:100px;
	float:right;
}
.footer_right_block .contact{
	text-align:right;
	float:right;
	color:#fff;
	margin-top:15px;
}

/* FOOTER */
