
@font-face{
	font-family: "DIN PT";
	font-style: normal;
	font-weight: 400;
	src: url("../fonts/DIN-PT_Regular.otf");
	font-display: swap;
}

@font-face{
	font-family: "DIN PT";
	font-style: normal;
	font-weight: 600;
	src: url("../fonts/DIN-PT_Medium.otf");
	font-display: swap;
}

@font-face{
	font-family: "DIN PT";
	font-style: normal;
	font-weight: 800;
	src: url("../fonts/DIN-PT_Bold.otf");
	font-display: swap;
}

:root{
	--bg-color: #e3e5ea;/*rgb(227, 229, 234);*/
	--main-color: #353735;
	--a-color: #1F4F62;
	--a-hover-color: red;
	--second-color: #768B9D;
	--dark-blue: #1F4F62;
	--gray-blue: #768B9D;
	--grey: #949D9E;
	--grey1: #353735;
	--white-grey: #F5F6F9;
	--soft-grey: #C2CEDA;
	--red: #E21A1A;
	--red-hover: #FF2424;
	--dark-red: #c20000;
	--white: #ffffff;
	--black: #000000;
	--light-gray: #E3E5EA;
	--dark-bg: rgba(16, 31, 53, 0.7)
	/*--gray1: rgb(230, 230, 230);
	--gray2: rgb(200, 200, 200);
	--gray3: rgb(128, 128, 128);
	--menu-bg: rgb(235, 242, 255);*/
}

*{
	margin: 0;
	padding: 0;
	font-size: 16px;
	color: var(--main-color);
	font-family: "DIN PT";
	font-weight: 400;
	/*overflow: auto;*/
}
body{
	width: 100%;
    outline: 0;
    background-color: var(--bg-color);
	min-width: 360px;
}
a{
	color: var(--dark-blue);
	text-decoration: none;
}
a:hover{
	text-decoration: underline;
}
a:visited{
	color: var(--grey1);
}
.wrap{
    width: 960px;
    margin: auto;
    padding: 0 16px;
}
h1{
	font-size: 36px;
}
h1.main{
	font-weight: 400;
}
#fond_search{
	display: grid;
	grid-template-columns: 325px 1fr;
	align-items: center;
	grid-gap: 16px;

	margin-top: 40px;
	position: relative;
}
#total_digitized{
	margin-top: 30px;
	color: var(--second-color);
	font-size: 24px;
}
#total_digitized span{
	font-size: 24px;
	font-weight: 600;
	color: var(--second-color);
}
#last_update{
	margin: 10px 0 50px 0;
	color: var(--grey);
	font-size: 12px;
}
h2{
	font-size: 36px;
	font-weight: 600;
}


.header{
	display: grid;
	grid-template-columns: 75px 1fr 75px;
	justify-items: center;
	align-items: center;
	grid-gap: 0;
	/*padding-top: 7px;*/
	height: 30px;
}


.top_fixed{
	/*background-color: var(--bg-color);*/
	height: 30px;
	z-index: 3;
}

.top_fixed .fixed{
	padding: 0 calc((100% - 960px) / 2);
	/*padding-top: 10px;
	/*top:-69px;*/
}

.header.app{
	padding: 7px 0 50px 0;
	position: relative;
}

.header.app .back{
}

.header.app .back img{
	position: absolute;
	left: -16px;
	top: -4px;
}

.header.black{
	background-color: var(--black);
	padding-bottom: 15px;
}

.header .title{
	font-size: 22px;
	font-weight: 700;
	text-align: center;
}

.header.black .title{
	background-color: var(--black);
	color: var(--white-grey);
}

ul{
	list-style: none;
}
#logo{
	margin-bottom: 30px;
	display: flex;
	align-items: center;
	/*justify-items: center;
	flex-wrap: wrap;*/
	justify-content: space-between;
}

#fonds{
/*
	display: grid;
	/*grid-template-columns: 1fr 1fr 1fr;*/
	/*grid-template-columns: 320px 320px 320px;*/
/*	justify-items: stretch;
	align-items: stretch;
*/
	/*gap: 50px;*/
	margin: 20px 0 50px 0;
	gap: 30px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

#fonds a{
	text-decoration: none;
}

#fonds a:hover{
	filter: drop-shadow(0px 0px 11px rgba(32, 40, 82, 0.05)) drop-shadow(0px -4px 24px rgba(32, 40, 82, 0.1));
}
.fond_item{
	width: 300px;
	margin-bottom: 30px;
}
.fond_item .img{
	border-radius: 24px 24px 0 0;
	width: 300px;
	height: 240px;
}
.fond_item img{
	border-radius: 24px 24px 0 0;
	width: 300px;
	height: 240px;
}
.fond_item .title{
	display: flex;
	gap: 20px;
	justify-content: space-between;
	align-items: center;
	border-radius: 0 0 24px 24px;
	height: 60px;
	background-color: #F5F6F9;
}
.fond_item .name{
	margin-left: 23px;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--dark-blue);
}
.fond_item .num{
	margin-right: 23px;
	color: var(--gray-blue);
	text-align: right;
}

#search{
	width: 100%;
	position: relative;
}

#search input{
	width: calc(100% - 20px);
	padding-left: 20px;
	margin: 7px 0 0 0;
	height: 48px;
	cursor: pointer;
	text-align: left;
	outline: none;
	border: 0;
	border-radius: 24px;
	background-color: var(--white-grey);
}

#search button:hover{
	background-color: var(--red-hover);
}

#search button{
	z-index: 1;
	font-size: 16px;
	position: absolute;
	right: 0;
	top: 7px;
	width: 130px;
	height: 48px;
	cursor: pointer;
	text-align: center;
	outline: none;
	border: 0;
	border-radius: 24px;
	background-color: var(--red);
	color: var(--white-grey);
	line-height: 48px;
}

/*
#rubric_search{
	width: 100%;
	display: flex;
	justify-content: left;
	align-items: center;
	flex-wrap: wrap;
	margin-top: 25px;
	gap: 10px;
}

#rubric_search button{
	float: left;
	font-size: 16px;
	height: 40px;
	cursor: pointer;
	text-align: center;
	outline: none;
	border: 0;
	border-radius: 20px;
	background-color: var(--white-grey);
	color: var(--second-color);
	text-decoration: none;
	margin: 0 0 10px 0;
	padding: 0 10px;
	line-height: 40px;
}

#rubric_search button:hover{
	background-color: var(--white-grey);
}

#rubric_search button.selected{
	background-color: var(--dark-blue);
	color: var(--white);
}
*/

#rubric_area{
	display: grid;
	grid-template-columns: 1fr 34px;
	align-items: center;
	gap: 20px;
	margin-top: 25px;
	align-items: flex-start;
	/*height: auto;*/
	overflow: hidden;
}

#rubric_area.collapsed{
	height: 42px;
	/*max-height: 42px;
	transition: max-height 0.5s;*/

	/*min-height: 400px;

/*
	height: 42px;
	overflow: hidden;
	transition-property: height;
	transition-duration: 5s;
*/
}

#rubric_btn{
	width: 32px;
	height: 32px;
	background: var(--soft-grey);
	border: 1px solid var(--soft-grey);
	border-radius: 32px;

	display: flex;
	align-items: center;
	align-content: center;
	justify-content: center;
	cursor: pointer;
}

#rubric_area:not(.collapsed) #rubric_btn img{
	transform: rotate(180deg);
}

/*#rubric_btn.active{*/
#rubric_area.collapsed #rubric_btn{
	background: var(--white-grey);
}

/*
#rubric_area.collapsed #rubric_btn img{
	transform: rotate(180deg);
	transition-duration: .1s;
}

#rubric_area #rubric_btn:hover img, #rubric_area.collapse #rubric_btn:hover img{
	transform: rotate(180deg);
	transition-duration: .1s;
}
*/
#rubric_btn:hover img{
	/*transform: rotate(180deg);
	transition-duration: 1s;*/
}

#rubric_search{
	width: 100%;
	display: flex;
	align-items: center;
	align-content: center;
	flex-wrap: wrap;
	gap: 10px;
}

#rubric_search input{
	display: none;
}

#rubric_search li.rubric_item{

	background: #f5f6f9;
	border: 1px solid #c2ceda;
	border-radius: 20px;
	padding: 5px 15px 8px;
	font-size: 16px;
	line-height: 1.1875;
	color: var(--color-blue);
	/*margin-right: 8px;
	margin-bottom: 12px;*/

	/*float: left;*/
	/*font-size: 16px;*/
	/*min-height: 28px;*/
	/*text-align: center;*/
	/*outline: none;*/
	/*border: solid 1px var(--soft-grey);*/
	/*border-radius: 20px;*/
	/*background-color: var(--white-grey);*/
	/*color: var(--dark-blue);*/
	/*text-decoration: none;*/
	/*padding: 0 10px 2px 10px;*/
	/*overflow: hidden;*/
/*
	cursor: pointer;
    height: 27px;
    border: 1px solid var(--soft-grey);
    border-radius: 20px;
    padding: 0 15px 4px 15px;
    text-decoration: none;
    display: flex;
    justify-items: center;
    align-items: center;
    justify-content: center;
*/
}

#rubric_search li.rubric_item:hover{
	cursor: pointer;
    background-color: var(--white);
}

#rubric_search li.rubric_item.selected{
	cursor: pointer;
    background-color: var(--dark-blue);
    color: var(--white);
}

.rubric_item! > input[type=checkbox]:checked{
	cursor: pointer;
    background-color: var(--dark-blue);
    color: var(--white);
}




#spec_data .rubric{
	margin-top: 30px;
	width: 100%;
	display: flex;
	align-items: center;
	align-content: center;
	flex-wrap: wrap;
	gap: 10px;
}

#spec_data .rubric .rubric_item{
    height: 26px;
    font-size: 16px;
    cursor: pointer;
    border: 1px solid var(--soft-grey);
    background-color: var(--white-grey);
    border-radius: 20px;
    padding: 0 15px 4px 15px;
    text-decoration: none;
    display: flex;
    justify-items: center;
    align-items: center;
    justify-content: center;
}

#spec_data .rubric a:hover{
    color: var(--red);
    background-color: var(--white);
}

#spec_data .rubric{

}










#exhibits{
	margin: 20px 0 50px 0;
	gap: 30px;
	display: flex;
	justify-content: space-around;
	/*align-items: center;*/
	flex-wrap: wrap;

	position: relative;
	margin: 0 auto;
}
#exhibits a{
	text-decoration: none;
	float: left;
}
#exhibits a:hover{
	filter: drop-shadow(0px 0px 11px rgba(32, 40, 82, 0.05)) drop-shadow(0px -4px 24px rgba(32, 40, 82, 0.1));
}
#exhibits .exhibits_item{
	width: 300px;
	margin-bottom: 30px;
	overflow: hidden;
}
#exhibits.list .exhibits_item{
	padding-bottom: 16px;
}
#exhibits .exhibits_item .img{
	border-radius: 24px;
	width: 300px;
	/*height: 240px;*/
}
#exhibits .exhibits_item img{
	border-radius: 24px;
	width: 300px;
	/*height: 240px;*/
}
#exhibits .exhibits_item .title{
	/*max-height: 60px;*/
	margin: 8px 24px 0 24px;
	color: var(--dark-blue);
	/*line-height: 15px;*/
}
#exhibits_block{
	margin: 30px 16px;
}

#exhibits.list{
	/*margin: 20px 0 50px 0;*/
	gap: 8px;
	display: grid;
	grid-template-columns: 1fr;
	align-items: center;
	width: 960px;
	margin: auto;
}

#exhibits.list .exhibits_item{
	margin-bottom: 0;
	display: grid;
	grid-template-columns: 60px 1fr;
	/*align-items: center;*/
	width: 100%;
}
#exhibits.list .exhibits_item .img{
	border-radius: 12px;
	width: 58px;
	height: 58px;
}
#exhibits.list .exhibits_item img{
	border-radius: 12px;
	width: 58px;
	height: 58px;
	object-fit: cover;
}
#exhibits.list .exhibits_item .title{
	/*height: 58px;*/
	margin: 0 0 0 16px;
	color: var(--dark-blue);
	/*align-items: center;*/
	/*display: flex;*/
}






#row{
	background-color: var(--black);
	padding-bottom: 35px;
}

.gallery{
	padding-top: 35px;
}

.gallery .one{
	display: flex;
	justify-content: space-around;
	align-items: center;
	gap: 0;
	height: 537px;
}

.gallery .one div{
	height: 537px;
}

.gallery .main{
	/*display: grid;
	grid-template-columns: 1fr 900px 1fr;
	justify-content: space-around;
	align-items: center;
	gap: 0;
	height: 537px;*/
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
	align-items: center;
	gap: 0;
	height: 537px;
}

.gallery .main img, .gallery .thumbs .img img{
	object-fit: contain;
	width: 100%;
	height: 100%;
}

.gallery .main div, .gallery .one div{
	max-width: 900px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.gallery .thumbs .img img{
	height: 64px;
}

.gallery .thumbs{
	display: grid;
	grid-template-columns: 1fr 900px 1fr;
	justify-content: space-around;
	align-items: center;
	gap: 0;
	overflow: hidden;
}

.gallery .thumbs .img{
	cursor: pointer;
	border: solid 1px transparent;
}

.gallery .thumb{
	display: grid;
	grid-template-columns: 32px 1fr 32px;
	justify-content: space-around;
	align-items: center;
	gap: 0;
	overflow: hidden;
}

.gallery .img.slick-current img{
	border: solid 1px var(--white);
}

.gallery .slick-slide{
	margin: 0 16px;
}

.gallery .main .slick-list{
	height: 537px;
}

.gallery .slick-arrow{
	width: 32px;
	height: 32px;
	color: transparent;
	border: 0;
	outline: 0;
	cursor: pointer;
	/*text-align: center;
	position: relative;
	left: 50%;
	margin-left: -16px;*/
}

.gallery .main .slick-prev{
    background: url(/i/btn_prev_small.svg);
}

.gallery .main .slick-prev.inactive{
    background: url(/i/ibtn_prev_small.svg);
}

.gallery .main .slick-next{
    background: url(/i/btn_next_small.svg);
}

.gallery .main .slick-next.inactive{
    background: url(/i/ibtn_next_small.svg);
}

.gallery .thumbs .slick-prev{
    background: url(/i/btn_prev.svg);
}

.gallery .thumbs .slick-prev.inactive{
    background: url(/i/ibtn_prev.svg);
}

.gallery .thumbs .slick-next{
    background: url(/i/btn_next.svg);
}

.gallery .thumbs .slick-next.inactive{
    background: url(/i/ibtn_next.svg);
}

.gallery .nums{
	display: flex;
	align-items: center;
	justify-content: center;
}

.gallery .num{
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--main-color);
	background: var(--white-grey);
	height: 32px;
	border-radius: 32px;
	padding: 0 10px;
}



.xzoom-thumbs ul{
	height: 116px;
}

.xzoom-thumbs ul li{
	float: left;
}

.xzoom-thumbs ul li img{
	max-width: 192px;
	max-height: 114px;
}

.gallery #xzoom{
    width: 100%;
    max-width: 900px !important;
    max-height: 537px !important;
}




#spec_title{
	height: 46px;
	background-color: var(--black);
}

#spec_title #spec_title-header{
	/*max-width: 856px;*/
	width: 856px;
	height: 46px;
	border-radius: 24px 24px 0 0;
	background-color: var(--white-grey);
    margin: auto;
}

#spec_data .description{
    padding: 0px 0px 20px 0px;
    font-size: 14px;
    font-family: "DIN PT";
    font-weight: 600;

}

#spec_data{
	width: 756px;
	border-radius: 0 0 24px 24px;
	background-color: var(--white-grey);
    margin: auto;
	padding: 0 50px 40px 50px;
	margin-bottom: 30px;
}


#total_found{
	margin-top: 30px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 10px;
}
#total_found #found{
	color: var(--second-color);
	font-size: 24px;
}
#total_found #found span{
	font-size: 24px;
	font-weight: 600;
	color: var(--second-color);
}
#total_found #list{
	justify-items: right;
	text-align: right;
}

#total_found #list{
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}

#total_found #list label{
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 2px;
	cursor: pointer;
	flex-direction: row-reverse;
}

#total_found #list label input{
	display: none;
}

#total_found #list label span{
	width: 8px;
	height: 8px;
	background-color: var(--white);
	border: solid 4px var(--white);
	border-radius: 8px;
}

#total_found #list input:checked ~ span{
	width: 8px;
	height: 8px;
	background-color: var(--red);
	border: solid 4px var(--white);
	border-radius: 8px;
}




.dropdown-el {
	z-index: 2;
	max-width: 325px;
	min-width: 325px;
	position: absolute;
	display: inline-block;
	margin-right: 1em;
	min-height: 48px;
	max-height: 48px;
	overflow: hidden;
	top: .5em;
	cursor: pointer;
	text-align: left;
	white-space: nowrap;
	outline: none;
	border: 0;
	border-radius: 24px;
	background-color: var(--white-grey);
	transition: 0.3s all ease-in-out;
}
.dropdown-el input {
	display: none;
}
.dropdown-el label {
	border-top: .06em solid #d9d9d9;
	display: block;
	height: 48px;
	line-height: 48px;
	padding-left: 1em;
	padding-right: 3em;
	cursor: pointer;
	position: relative;
	transition: 0.3s color ease-in-out;
	/*font-size: 18px;*/
	color: var(--grey1);
}
.dropdown-el label:nth-child(2) {
	margin-top: 48px;
	border-top: .06em solid var(--light-gray);
}
.dropdown-el input:checked + label {
	display: block;
	border-top: none;
	position: absolute;
	top: -2px;
}
.dropdown-el input:checked + label:nth-child(2) {
	margin-top: 0;
	position: relative;
}
.dropdown-el::after{
	position: absolute;
	right: 8px;
	top: 11px;

	width: 24px;
	height: 24px;
	background-image: url("/i/icon_dropdown.svg");
	background-position: center center;
	background-repeat: no-repeat;
	content: ""
}

.dropdown-el.expanded {
	background: var(--white-grey);
	border-radius: 20px;
	padding: 0;
	box-shadow: rgba(0, 0, 0, 0.1) 3px 3px 5px 0px;
	max-height: 1500px;
}
.dropdown-el.expanded label{
}
.dropdown-el.expanded label {
	border-top: .06em solid var(--light-gray);
}
.dropdown-el.expanded label:hover {
	color: var(--grey1);
	background-color: var(--white);
	width: 100%;
}
.dropdown-el.expanded input:checked + label {
	color: var(--grey1);
}
.dropdown-el.expanded::after {
	transform: rotate(-180deg);
	top: 14px;
}





.block{

}

.bgwhite{
	background-color: var(--white-grey);
}

.block .block_header{
	padding: 83px 0 32px 0;
}

.block.collection {
	height: 100vh;
}

.block.collection .block_header{
	display: grid;
	grid-template-columns: 220px 1fr;
	justify-items: center;
	align-items: center;
	grid-gap: 118px;
}

.collection .line-col{
	width: 100%;
	height: 4px;
	border-radius: 2px;
	background-color: var(--light-gray);
}

.collection .line-col .line-nav{
	width: 200px;
	height: 4px;
	border-radius: 2px;
	background-color: var(--red);
	cursor: pointer;
}


.hcenter{
	width: 100%;
	height: 100%;
	display: flex;
	align-content: center;
	flex-wrap: wrap;
}


#wrap_collection{
	background-color: var(--white-grey);
	padding-bottom: 40px;
}

#collections{
	overflow: hidden;
	height: 500px;
}

#collections li{
	float: left;
}

.collection_item{
	width: 300px;
	margin-right: 30px;
	float: left;
	height: 500px;
}
.collection_item .img{
	border-radius: 28px;
	width: 300px;
}
.collection_item img{
	border-radius: 28px;
	width: 300px;
}

.collection_item .title{
	margin-top: 20px;
	text-transform: uppercase;
	font-size: 24px;
	font-weight: 600;
	color: var(--dark-blue);
}

.collection_item .name{
	margin-bottom: 10px;
	text-transform: uppercase;
	font-size: 24px;
	font-weight: 600;
	color: var(--dark-blue);
}

.collection_item .num{
	font-size: 16px;
	font-weight: 400;
	color: var(--gray-blue);
}

.rubric{
	background-color: var(--white-grey);
}

#rubric_block{
	overflow: hidden;
}

#rubric_block{
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
	justify-content: space-between;
	padding-bottom: 78px;
	justify-items: center;
	align-items: center;
}

#rubric_block .rubric_item {
	height: 26px;
	font-size: 16px;
    cursor: pointer;
	border: 1px solid var(--soft-grey);
	border-radius: 20px;
	padding: 0 15px 4px 15px;
	text-decoration: none;

	display: flex;
	justify-items: center;
	align-items: center;
	justify-content: center;
}

#rubric_block .rubric_item.all, #rubric_block .rubric_item:hover{
	background-color: var(--white);
	color: var(--red);
}







.block.personaly {
	height: 100vh;
}

#personalities_block1, #personalities_block2{
	height: 550px;
	overflow: hidden;
}

#personalities_block1{
	display: block;
}

#personalities1 .double{
	height: 230px;
}

#personalities_block2{
	display: none;
}

.personaly_item{
	float: left;
	display: grid;
	grid-template-columns: 165px 275px;
	/*justify-items: center;*/
	justify-content: flex-start;
	align-items: center;
	grid-gap: 30px;
	height: 165px;
	width: 470px;
	margin: 15px 0;
}

.personaly_item:hover{
	text-decoration: none;
}

.personaly_item .img{
	border-radius: 82.5px;
	width: 165px;
	height: 165px;
}

.personaly_item img{
	border-radius: 82.5px;
	width: 165px;
	height: 165px;
}

.personaly_item .title{
	margin-bottom: 30px;
	display: flex;
	flex-direction: column;
	align-items: left;
	justify-content: space-between;
	gap: 10px;
}

.personaly_item .name{
	text-transform: uppercase;
	font-size: 18px;
	font-weight: 500;
	color: var(--dark-blue);
}

.personaly_item .description{
	font-size: 16px;
	font-weight: 400;
	color: var(--gray-blue);
}

.personaly_item .num{
	font-size: 16px;
	font-weight: 400;
	color: var(--gray-blue);
}






.wordlist{
	background-color: var(--white-grey);
	border-radius: 24px;
	position: absolute;
	width: 80%;
	z-index: 1;
}

.wordlist .line{
	height: 48px;
	padding-left: 24px;
	line-height: 48px;
	border-top: solid 1px var(--bg-color);
	font-size: 16px;
}
.wordlist .line span.equal {
    font-size: inherit;
    font-family: inherit;
    font-weight: bold;
}

.wordlist .line:hover{
	background-color: var(--white);
	cursor: pointer;
}

.wordlist .line:hover:first-child{
	border-radius: 24px 24px 0 0;
}

.wordlist .line:hover:last-child{
	border-radius: 0 0 24px 24px;
}

.fixed{
	/*position: fixed;*/
	top: 0;
	width: 960px;
	z-index: 3;
	/*background-color: var(--white-grey);*/
	background-color: var(--bg-color);
}







#spec_data .field_list{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

#spec_data .field_list .box .field{
    color: var(--gray-blue);
}

#spec_data .field_list .box .value{
    font-weight: 700;
}





/* The Modal (background) */
.modal {
    display: flex; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: var(--dark-bg);
    justify-content: center;
    align-items: center;
}

/* Modal Content/Box */
.modal-content {
    width: 960px;
    height: 60%;
    position: relative;
    background-color: var(--white);
    /*margin: 15% auto; !* 15% from the top and centered *!*/
    margin: 16px;

    border: var(--soft-grey) solid 1px;
    border-radius: 24px;
}
/* The Close Button */
.close {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 24px;
    height: 24px;
    background-image: url("/i/close.svg");
    background-repeat: no-repeat;
    background-position: center center;
    cursor: pointer;
}

.modal-content .header{
    padding: 40px 0;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    grid-template-columns: none;
    text-transform: uppercase;
    background-color: var(--white-grey);
}
.modal-content .header h2{
    font-size: 36px;
    margin-bottom: 24px;
}
.modal-content #alphabet{
    margin: 0 25px;
    display: flex;
    justify-items: center;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px 0;
}
.modal-content #alphabet span{
    cursor: pointer;
    color: var(--dark-blue);
    font-family: DIN PT;
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    height: 24px;
    width: 24px;
    display: grid;
    justify-items: center;
    align-items: center;
    justify-content: center;
    float: left;
}
.modal-content #alphabet span.selected{
    color: var(--second-color);
}
.modal-content #alphabet span.selected i{
    width: 100%;
    height: 4px;
    border-radius: 4px;
    background: var(--red);
}
.modal-content .body{
    padding: 30px 40px;
    margin: 2px 0 0 0;
    overflow: auto;
    height: calc(100% - 270px);
}
.modal-content .body{

}

.modal-content .rubric_list{
    display: grid;
    row-gap: 20px;
    grid-template-columns: 1fr 1fr;
    column-gap: 60px;
    justify-items: left;
    align-items: center;
}

.modal-content .rubric_item{
    min-height: 26px;
    font-size: 16px;
    cursor: pointer;
    border: 1px solid transparent;
    padding: 0 15px 4px 15px;
    text-decoration: none;
    display: flex;
    justify-items: center;
    align-items: center;
    justify-content: center;
}

.modal-content .rubric_item:hover{
    border: 1px solid var(--soft-grey);
    border-radius: 20px;
    background-color: var(--white);
}


@media screen and (max-width: 1010px) {
	.wrap, #exhibits.list, #wrap_collection{
		width: auto;
	}
	#fonds{
		justify-content: space-around;
	}
    .modal-content {
        margin: 16px;
    }

	.fixed{
		width: 100%;
	}
}

@media screen and (max-width: 750px) {
	.dropdown-el{
		min-width: 100%;
		max-width: 100%;
	}
	#search{
		margin-top: 40px;
	}
	#fond_search{
		grid-template-columns: 1fr;
		grid-template-rows: 1fr;
	}
}

@media screen and (max-width: 480px) {

	#exhibits .exhibits_item{
		width: 100%;
	}

	#exhibits{
		width: 100% !important;
	}

	#exhibits .exhibits_item .img{
		width: 100%;
		height: 100%;
	}

	#exhibits .exhibits_item img{
		width: 100%;
		height: 90%;
		object-fit: cover;
	}

}

@media screen and (max-width: 930px) {
	#spec_title #spec_title-header, #spec_data{
		width: auto;
		margin: 0 16px 30px 16px;
	}

	#spec_data .field_list{
		grid-template-columns: 1fr 1fr;
	}

	.block.collection .block_header{
		display: grid;
		grid-template-columns: unset;
		justify-items: unset;
		grid-template-rows: 1fr 1fr;
		grid-gap: 1px;
	}

	.gallery .one{
		padding: 0 15px;
		height: auto;
	}

	.gallery .main{
		display: flex;
		padding: 0 15px;
	}
}

@media screen and (max-width: 1016px) {

	.gallery .main, .gallery .thumbs{
		grid-template-columns: 1fr;
		justify-items: center;
		align-items: center;
	}

	.gallery .main div{
		display: flex;
	}
}

@media screen and (max-width: 907px) {

	#personalities_block1{
		display: none;
	}

	#personalities_block2{
		display: block;
	}
}


@media screen and (max-width: 600px) {
	#spec_data .field_list{
		grid-template-columns: 1fr;
	}

	h2{
		font-size: 24px;
	}
    .modal-content {
        margin: 16px;
        height: calc(100% - 32px);
    }
    .modal-content .header h2{
        font-size: 24px;
        margin-bottom: 24px;
    }
    .modal-content .rubric_list{
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 450px) {
	#search button{
		width: 48px;
		background-image: url("/i/search_icon.svg");
		background-position: center center;
		background-repeat: no-repeat;
		/*content: ""*/
		text-indent: -9999em;
	}
	#rubric_block .rubric_item.all{
		width: 100%;
	}
    .modal-content .body{
        height: calc(100% - 290px);
    }

}

@media screen and (max-width: 400px) {

    .modal-content .header h2{
        font-size: 16px;
    }
}


.spinner {
  margin: 10px auto 10px;
  width: 70px;
  text-align: center;
}

.spinner > div {
  width: 18px;
  height: 18px;
  background-color: #fff;

  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
  0%, 80%, 100% { -webkit-transform: scale(1.0) }
  70% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bouncedelay {
  0%, 80%, 100% {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
  } 40% {
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
  }
}

input::placeholder {
    opacity: 1;
    -webkit-transition: opacity .3s ease;
    transition: opacity .3s ease;
    color: #c2ceda
}

@supports(padding:max(0px)) {
    body, header, footer {
        padding-left: min(0vmin, env(safe-area-inset-left));
        padding-right: min(0vmin, env(safe-area-inset-right));
    }
}
