* {
  box-sizing: border-box;
}

body{
	font-family: HelveticaNeueCyr;
	width: 100%;
	height: 100vh;
	margin: 0;
	padding: 0;
	background-color: #fff;
	font-size: 1.1em;
}

h1,
h2,
h3,
h4,
h5{
	font-family: 'HelveticaNeueCyr';
	margin: 0;
	padding: 0;
	font-weight: 700
}

h1,
h2,
h3 {
	font-weight: 700;
}

h4,
h5{
	font-weight: 700;
}

p{
	font-family: 'HelveticaNeueCyr';
	font-size: 1.1em; 
	padding: 1em 0 0 0;
  margin: 0;
}

li{
	padding-top: .8em;
}

.page{
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-wrap: wrap;
}

.main-container, .footer-container{
	display: flex;
	flex-wrap: wrap;
	flex:1 0 100%;
	align-content: flex-start;
	width: 100%;
}

header, footer, main{
	flex-basis: 100%;
}

.footer-container{
	align-self: flex-end;
}

.page section{
	display: flex;
	flex:1 0 100%;
}

.container{
	margin: 0;
	padding: 0;
	display: flex;
	width: 100%;
	justify-content: center;
}

.row{
	margin: 0;
	padding: 0;
	display: flex;
	width: 1200px;
}

.content{
	padding: 1em;
}

.content A{color: rgb(1, 141, 200);}

.main-content .content, .page-content .content{
	width: 100%;
	margin: 0 0 0px 0;
}


/*--------Шапка */

.header{
	background: #104B89;
	color: #fff;
	align-content: space-between
}

.header p,
.header a{
	color: #fff;
}

.header a:hover{
	color: #d5e9f7;
}

.logo{
	display: inline-flex;
	padding: 1%;
	align-items: center;
	justify-content: center;
}

.logo img{
	height: 8vh;
}

/*---------- Меню */

.header .row{
	display: inline-flex;
	flex-wrap: nowrap;
	align-items: center;
}

.header nav{
	margin: 0;
	padding: 0;
	display: flex;
	width: 100%;
	height: 100%;
}

.menu ul{
	display: inline-flex;
	list-style: none;
	margin: 0;
	height: 100%;
	align-items: stretch;
	padding-inline-start: 0;
	width: 95%;
	margin: 0 2.5%;
}

.menu li{
	display: inline-flex;
	position: relative;
	justify-content: center;
	align-items: flex-start;
	margin: 0;
	width: 14%;
	padding: 0.5%;
	padding-top: 1.5vw;
	cursor: pointer;
}

.menu li >  UL {display: none;}


.menu li:hover, .menu .active{
	background: #fff;
}

.menu li:after, .menu .active:after{
	content: '';
	position: absolute;
	width: 100%;
	height: 50%;
	top: 100%;
	left: 0;
	background: url('/library/_images/menu_marker.svg') no-repeat;
	display: none;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

.menu li:hover:after, .menu .active:after{
	display: block;
}

.menu li:hover a, .menu .active a{
	color: #104B89;

}

.menu a{
	margin: 0;
	display: flex;
	padding: 0;
	text-decoration: none;
	text-align: center;
	font-size: .9em;
	transition: .25s;
	width: 100%;
	height: 100%;
	justify-content: center;
}

.menu a:hover{

	color: #104B89;
}


.mobile-top{
	display: inline-flex;
	flex-wrap: nowrap;
	justify-content: space-between;
}

.menu-button{
	display: none;
	padding: 2.5%;
	cursor: pointer;
	justify-self: flex-end;
	align-items: center;
}

.menu-button img{
	height: 5vh;
	margin: 2%;
}

/*------- Главный заголовок*/

.top-container{
	background: url('/library/_images/library_bg.webp') no-repeat;
	background-size: 100%;
	min-height: 28vw;
}

.head-title{
	width: 75%;
	height: 75%;
	padding: 1vw 1vw 1vw 1vw;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.head-title h1{
	color: #fff;
	font-weight: 700;
	font-size: 2.25vw;
	text-shadow: 1px 1px 5px rgb(0 0 0 / 50%);
}

.main-content{
	margin-top: -4vw;
}

.page-content{
	margin-top: 1vw;
}

/*---------- Раздел - Информация */

.info-container{
	margin-top: 5vh;
	background: url('/library/_images/info_block_bg.svg');
	background-size: 100%;
	background-position: bottom;
	position: relative;
}

.info-container{
	display: flex;
	z-index: 10;
}

.info-container .content{
	display: flex;
	flex-basis: 100%;
	padding: 0;
	flex-wrap: nowrap;
}

.info-block{
	justify-content: center;
}

.info-left{
	width: 66.6%;
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
}

.info-person{
	display: inline-flex;
	flex-wrap: nowrap;
	align-items: center;
	flex-basis: 100%;
}

.info-description{
	padding: .5em .5em .5em 1em;
}

.info-name{
	width: 100%;
	font-size: 2.1em;
}

.perm-gerb{
	max-height: 200px;
	padding: 1%;
}

.info-arrow{
	display: block;
	position: relative;
	text-decoration: none;
	justify-self: flex-start;
	background: url('/library/_images/info_arrow.svg') no-repeat left center;
	background-size: contain;
	color: #fff;
	margin: 2% 0 2% -1px;
	padding: 1% 10% 1% 15%;
	font-size: 1.2vw;
}

.info-arrow p{
	padding-top: .5em;
}

.info-arrow img{
	max-width: 50px;
	position: absolute;
	top: 65%;
	left: 90%;
}

.info-site-link{
	font-size: 1.5em;
	font-weight: 700;
}

.info-arrow a, .info-arrow p{
	color: #fff;
}

.info-arrow a{
	text-decoration: none;
}

.info-right{
	width: 33.3%;
	display: flex;
	align-items: flex-end;
}
 
.info-right img{
	width: 96%;
	bottom: 0;
	max-height: 725px;
	padding: 0 4% 0 0;
	margin-top: -15%;
}

/*---------- Подвал */

.footer{
	background: #104B89;
	align-self: flex-end;
	position: relative;
	/*margin-bottom: 7.5%;*/
}

.footer, .footer a{
	color: #fff;
	text-decoration: none;
}

.footer-block{
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}

.footer-item{
	flex-basis: auto;
}

.footer-item UL UL {display: none;}


.footer-block hr{
	margin: 5% 0;
	padding: 0;
	color: #fff;
	width: 50%;
	position: relative;
	left: 0;
}

.left-side{
	width: 40%
}

.right-side{
	width: 60%;
	position: absolute;
	left: 40%;
	top: 10%;
	background: url('/library/_images/right_side_footer_bg.svg');
	background-size: cover;
}

.phone_ico {filter: invert(1); vertical-align: middle; display: inline-block; margin-right: 16px; width: 32px; height: 32px; background: center center / contain no-repeat url(/_images/new_style/telephone-call.svg);}
.globe_ico {filter: invert(1); vertical-align: middle; display: inline-block; margin-right:16px; width: 32px; height: 32px; background: center center / contain no-repeat url(/_images/new_style/globe.svg);}
.email_ico {filter: invert(1); vertical-align: middle; display: inline-block; margin-right: 16px; width: 32px; height:32px; background: center center / contain no-repeat url(/_images/new_style/email.svg);}
.address_ico {filter: invert(1); vertical-align: middle; display: inline-block; margin-right:16px; width: 32px; height:32px; background: center center / contain no-repeat url(/_images/new_style/address.svg);}

.footer-icons{
	display: inline-flex;
	justify-content: flex-start;
}

.footer-icons a{
	display: inline-flex;
}

.footer-icons img{
	width: 50%;
	padding: 2%
}

.library-block{
	padding: 3% 4%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-start;
	align-content: flex-start;
	background: #E8F0F9;
	box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
	text-decoration: none;
	color: #000;
	font-size: 0.9em;
}

.library-block span{
	font-weight: 700;
	color: #104B89;
}

.library-block strong{
	/*font-weight: 400;*/
	color: #104B89;
}

.library-block P {
	padding: 0px; font-size: 1em;
}

.file_tree {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-row-gap: 1em;
	grid-column-gap: 1em;
}

.file_tree .file_link {}
.file_tree .file_link .library-block {height: 100%;}
.file_tree .file_link .library-block .thumb {height: 260px; width: 100%; text-align: center;}
.file_tree .file_link .library-block .thumb IMG {height: 98%; max-width: 100%; object-fit: contain;}
.main-content .content H2, .page-content .content H2 {width: 100%; margin: 50px 0 50px 0;}

.adm_edit_row {position: fixed; background-color: rgba(255, 255, 255, 0.3); color: #000; bottom: 0; right: 0; padding: 25px 50px; z-index: 100;}
.adm_edit_page {position: fixed; background-color: rgba(255, 255, 255, 0.3); color: #000; bottom: 0; left: 0; padding: 25px 50px; z-index: 100;}

/*------- Адаптация <1200 */
@media (max-width: 1200px) { 
	.row{
		width: 100%;
		flex-wrap: wrap;
	}

	.footer-block{
		width: 100%;
	}

	.right-side{
		position: relative;
		top: 5%;
		left: 0%;
	}
	
	
	.file_tree {
		grid-template-columns: repeat(1, 1fr);
	}

}

@media (max-width: 992px) {
	.header .row{
		flex-wrap: wrap;
	}

	.mobile-top{
		width: 100%;
	}
	.logo{
		align-items: flex-start;
		height: 100%;
	}
	.menu{
		width: 96%;
		margin: 0 2%;
	}
	.menu ul{
		display: none;
		flex-direction: column;
	}

	.menu-button{
		display: inline-flex;
	}

	.menu li{
		padding: 5%;
		width: 100%;
		border-top: 1px solid rgba(255, 255, 255, .5);
	}

	.menu li:hover:after, .menu .active:after{
		display: none;
	}
	.info-arrow{
		font-size: 1.7vw;
	}
	.info-arrow img{
		max-width: 30px;
	}

	.info-arrow p {
		padding-top: 0.3em;
	}

	.head-title {
		width: 100%;
	}

	.head-title h1 {
		font-size: 4vw;
	}
}

@media (max-width: 750px) {
	.info-left{
		width: 100%;
	}
	.info-right{
		width: 100%;
	}

	.info-container .content{
		flex-wrap: wrap;
	}
	.info-right img{
		margin-top: 2%;
	}

	.info-arrow img{
		top: 55%;
		left: 85%;
	}

}

@media (max-width: 450px) {
	p, a, li{
		font-size: 4.5vw;
	}

	.info-site-link {
		font-size: 5vw;
	}

	.perm-gerb{
		width: 15%;
	}

	.info-name{
		font-size: 6vw;
	}

}