/*
 * Layouts
 */
body{
  font-size: 13px;
  font-family: Tahoma;
  padding: 0;
  margin: 0;
  background: #f1ebe4 url(img/img_header.jpg) center top no-repeat;;
}
body.cke_show_borders,
body#video_filter {
	background: #fff;
}
a, a.active, li a.active {
  color: #009;
}
@font-face {
    font-family: 'aGildiaExpRegular';
    src: url('fonts/11841-webfont.eot');
    src: url('fonts/11841-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/11841-webfont.woff') format('woff'),
         url('fonts/11841-webfont.ttf') format('truetype'),
         url('fonts/11841-webfont.svg#aGildiaExpRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}
#header{
  height: 253px;
}

#wrapper{
	min-width: 960px;
  max-width: 1480px;
  padding: 0 10px 0 10px;
  margin: auto;
}

#left,
#right
{
  float: left;
}

#header,
#footer,
#left .wrapper,
#right .wrapper
{
}

#left{
  width: 227px;
  margin-right: 33px;
  padding-left: 20px;
  position: relative;
}

#right{
  width: 100%;
  margin-left: -280px;
}
h1, h2 {
	margin: 0 0 18px 0;
	color: #500B88;
}

#right #squeeze{
  margin-left: 280px;
}

/*LOGIN FORM*/
#login a {
	color: #fff;
}
#login table,
#login table tbody {
	margin: 0;
	border: 0;
}
#login table td {
  margin:0;
  padding: 0;
}
#login {
	width: 225px;
	height: 40px;
	margin-right: 20px;
	padding: 8px 15px 10px 20px;
	background: url(img/bg_authorization.png);
	float: right;
}
#login input {
	width: 77px;
	height: 13px;
	background: url(img/input_authorization.png);
	border: 0;
	outline: 0;
}
#login input.form-submit {
	width: 31px;
	height:23px;
	padding: 0;
}

/* HEADER */
#header .logo {
	margin: 50px 0 0 19%;
	float: left;
}
#header .logo img {
	display: block;
}
/* SEARCH FORM */
#top {
	padding-right: 250px;
	height: 58px;
/*	margin-bottom: 36px;  */
}
#top label {
	display: none;
}
#top .search-form {
	height: 100%;
	max-width: 1000px;
}
#top .search-form table,
#top .search-form table td,
#top .search-form table tbody {
	border:0;
	margin: 0;
	padding: 0;
	height: 100%;
}
#top .search-left {
	width: 20px;
	background: transparent url(img/bg_search_left.png);
}
#top .search-center {
  background: transparent url(img/bg_search_centr.png) repeat-x;
}
#top .search-right {
	width: 22px;
  background: transparent url(img/bg_search_right.png);
}
#top .search-form .container-inline {
}
#top .search-form input.form-text {
	margin: 0;
	padding: 0;
	background: url(img/input_search_centr.png) repeat-x;
	border: 0;
	height: 25px;
	width: 100%;
}
#top .search-form input.form-text:focus {
	outline: 0;
}
#top .search-form form>div {
	padding-left: 8px;
	height: 25px;
	background: transparent url(img/input_search_left.png) left center no-repeat;
}
#top .search-form .form-item {
	display: block;
	float:left;
	margin: 0 20px 0 0;
	padding-right: 8px;
	width: 80%;
	background: transparent url(img/input_search_right.png) right center no-repeat;
}
#top .search-form .form-submit {
	margin: 0;
	padding: 0;
	width: 95px;
	height: 25px;
	background: transparent url(img/btn_search.png);
	border: 0;
	cursor: pointer;
	color: #fff;
}

/* LEFT MENU*/
#left #block-menu-primary-links a {
	font-family: Arial;
	font-size: 18px;
	font-weight: bold;
	text-decoration: none;
}
#left #block-menu-primary-links ul li {
	list-style-image: url(img/star.png);
}
#left #block-menu-primary-links li ul a {
	font-weight: normal;
}
.pushkin_card {
	text-align: center;
}
#block-block-87,
.pushkin_card_mobile {
	display:none;
}
/*MAINBLOCKS*/
#mainblocks table tbody,
#mainblocks table,
#mainblocks table td{
	border: 0;
	padding: 0;
	margin: 0;
}
#mainblocks table .td-content {
	vertical-align: top;
}
#mainblocks .top_left {
	width: 19px;
	height: 71px;
	background: url(img/block/bg_head_left_left.png) no-repeat;
}
#mainblocks .top_left_center {
  background: url(img/block/bg_head_left_centr.png) repeat-x;
}
#mainblocks .top_center {
  width: 36px;
  background: url(img/block/bg_head_centr.png) no-repeat;
}
#mainblocks .top_right_center {
  background: url(img/block/bg_head_right_centr.png) repeat-x;
  vertical-align: bottom;
}
#mainblocks .top_right {
  width: 19px;
  background: url(img/block/bg_head_right_right.png) no-repeat;
}

#mainblocks .middle_left {
	background: #f3f2f0 url(img/block/bg_boarder_left.png) left top repeat-y;
	vertical-align: top;
}
#mainblocks .middle_left_inner {
  background: url(img/block/bg_boarder_left_gradient.png);
  height: 143px;
}
#mainblocks .middle_left_center {
  background: #f3f2f0 url(img/block/bg_left.png) repeat-x;
  min-height: 143px;
  width: 48%;
}
#mainblocks .middle_center {
	vertical-align: top;
}
#mainblocks .middle_center_inner {
  background: url(img/block/bg_centr_shadow.png) left top no-repeat;
  height: 163px;
}
#mainblocks .middle_center {
  background: url(img/block/bg_centr_1px.png) repeat-y;
  width: 36px;
}
#mainblocks .middle_right_center {
  background: #f3f2f0 url(img/block/bg_right.png) repeat-x;
  min-height: 143px;
  padding-top: 10px;
}
#mainblocks .middle_right {
  background: #f3f2f0 url(img/block/bg_boarder_right.png) right top repeat-y;
  vertical-align: top;
}
#mainblocks .middle_right_inner {
  background: url(img/block/bg_boarder_right_gradient.png);
  height: 143px;
}
#mainblocks .bottom_left {
	height: 38px;
  background: url(img/block/bg_corner_left.png) no-repeat;
}
#mainblocks .bottom_left_center {
  background: url(img/block/bg_left_down_centr.png) repeat-x;
}
#mainblocks .bottom_center {
  background: url(img/block/bg_centr_down.png) no-repeat;
}
#mainblocks .bottom_right_center {
  background: url(img/block/bg_right_down_centr.png) repeat-x;
}
#mainblocks .bottom_right {
  height: 38px;
  background: url(img/block/bg_right_down_right.png) no-repeat;
}
.main_header {
	font-family: 'aGildiaExpRegular', 'Arial';
	color: #500b88;
	font-size: 27px;
	font-weight: bold;
}
#firstline .block {
	float: left;
	width: 50%;
}
#firstline {
	background: #fff url(img/bg_corner.png) right top no-repeat;
}
#firstline h2 {
	font-family: 'aGildiaExpRegular', 'Arial';
  color: #500b88;
  font-size: 27px;
  font-weight: bold;
  margin: 10px 20px 0 20px;
  padding: 0 0 10px 0;
  background: transparent url(img/dots_horizontal.png) left bottom repeat-x;
}
#firstline .content {
	padding: 18px;
}
#block-menu-menu-virtual h2 {
	margin-right: 18px;
}
#block-menu-menu-virtual li {
	list-style-image: url(img/arrow_li.png);
}
#firstline #block-block-74 {
	background: url(img/bg_shadow_dots.png) left top repeat-y;
}
#firstline #block-block-74 h2 {
	margin-left: 30px;
}
#firstline .poll .vote-form {
	text-align: left;
}
#firstline .poll .vote-form .choices {
	margin: 0 0 18px 10px;
}
#firstline .poll .form-submit {
	width: 114px;
	height: 38px;
	border: 0;
	background: transparent url(img/btn_vote.png) no-repeat;
	padding: 0 0 12px 0;
	color: #fff;
	margin-left: 10px;
	cursor: pointer;
}
.first_shadow {
	height: 6px;
	background: transparent url(img/shadow_poll_virtual_services.png) center top no-repeat;
}
#block-views-news-block_1 .content {
	padding: 18px;
	margin-bottom: 18px;
	background: #fff;
	border: 1px solid #dbdbdb;
	border-radius: 8px;
	-moz-border-radius: 8px;
}
#secondline .block-theme {
	margin: 18px 0 0 10px;
}
#secondline h2 {
	width: 101px;
	height: 31px;
	background: transparent url(img/btn_news.png);
	font-family: Georgia, Arial;
	font-size: 22px;
	margin: 0;
	font-weight: normal;
	color: #fff;
	padding-left: 5px;
	float: left;
}
#block-views-news-block_1 .views-field-field-preview-fid {
	float: left;
	margin-right: 15px;
	margin-bottom: 15px;
}
#block-views-news-block_1 .views-field-field-preview-fid img {
	display: block;
	border: 1px solid #dbdbdb;
	border-radius: 8px;
	-moz-border-radius: 8px;
}
#block-views-news-block_1 .views-row {
	min-height: 90px;
	margin-bottom: 18px;
}
#block-views-news-block_1 .views-field-title a,
#block-views-news-block_1 .views-field-created {
	font-family: Georgia;
}
#block-views-news-block_1 .views-field-created {
	color: #999;
}
.allnews {
	display: block;
	width: 101px;
	line-height: 25px;
	background: transparent url(img/btn_all_news.png);
	font-family: Georgia;
	font-size: 12px;
	font-weight: normal;
	color: #fff;
	text-decoration: none;
	text-align: center;
	float: left;
	margin-top: 5px;
}
.allphoto {
  background: transparent url(img/btn_all_photo.png);
	float: right;
  width: 122px;
}
/*FOOTER*/
#footer {
	height: 137px;
	margin-top: 18px;
	background: url(img/bg_foote_1px.png) repeat-x;
}
.footer_inner {
	background: url(img/bg_footer.png) center top no-repeat;
	height: 100%;
	min-width: 960px;
  max-width: 1480px;
  padding: 0 10px 0 10px;
  margin: auto;

}
/* LITERATURE CALENDAR */
.block-thisdayinhistory {
	width: 185px;
	height: 234px;
	margin-top: 18px;
	padding: 18px;
	color: #fff;
	text-align: center;
	background: url(img/bg_literary_calendar.png);
}
.block-thisdayinhistory h2 {
	font-family: Georgia;
	font-size: 14px;
	font-weight: normal;
	margin: 0 0 15px 0;
}
.lit_name {
	margin: 10px 0 10px 0;
}
.block-thisdayinhistory a {
	color: #fff;
}
.block-thisdayinhistory a:hover {
	text-decoration: none;
}
.lit_image {
	margin: 10px 0;
}
.lit_image img {
	border: 1px solid #fff;
	display: block;
	margin: 0 auto;
}
.lit_teaser {
  font-size: 16px;
  font-weight: bold;
}
.lit_month {
	border: 1px solid #999;
}
.lit_month th {
	background: #999;
	color: #fff;
	border: 0;
}
.lit_month td {
	border: 1px solid #999;
}
.lit_month td.today {
	font-weight: bold;
	background: #aef2e9;
}
.lit_month td a {
	display:block;
}
.lit_month td a:hover {
	text-decoration: none;
}
.lit_month td,
.lit_month th {
	text-align: center;
}
.lit_calendar tbody {
	border: 0;
}

.nt-thisdayinhistory .field-field-preview {
	float: left;
	margin: 0 18px 18px 0;
}
/* News Archive */
.news-archive .views-field-field-preview-fid {
	float: left;
	margin: 0 18px 18px 0;

}
.news-archive .views-field-field-preview-fid img {
	border-radius: 8px;
  border: 1px solid #dbdbdb;
}
/*Proba Pera */
.view-proba-pera .views-row div {
	display: inline;
}
a.subscribe,
a.archive {
	display: block;
  float: right;
  line-height: 25px;
  color: #fff;
  font-family: Georgia;
  font-size: 12px;
  text-decoration: none;
  font-weight: normal;
}
a.archive {
	width: 40px;
	padding: 0 10px 0 15px;
	background: transparent url(img/arhiv.png);
}
a.subscribe {
	width: 78px;
  padding-left: 8px;
  background: transparent url(img/podpiska.png);
}
/* Book newtips block*/
.book-newtips-block .views-row {
	float: left;
	width: 46%;
	padding: 2%;
	height: 100%;
	text-align: center;
}
#block-views-new_books-block_2 .content {
	background: transparent url(img/dots_vertical.png) center top repeat-y;
	padding: 0 20px;
	position: relative;
}
.book-newtips-block .views-field-title {
	font-family: Georgia;
	color: #009;
	height: 50px;
	margin-bottom: 10px;
}
.book-newtips-block .views-field-field-preview-fid {
	margin-bottom: 18px;
}
.book-newtips-block .views-field-teaser {
	text-align: left;
}
.book-newtips-block .pager {

}
.book-newtips-block .pager li.pager-current {
	display: none;

}
.book-newtips-block .pager li.pager-next {
  top: 50%;
  right: 0;
  margin: 0;
  position: absolute;
  padding: 0;
}
.book-newtips-block .pager li.pager-next a,
.book-newtips-block .pager li.pager-previous a {
	font-size: 24px;
	font-weight: bold;
	text-decoration: none;
}
.book-newtips-block .pager li.pager-previous {
  top: 50%;
  left: 0;
  position: absolute;
  margin: 0;
  padding: 0;
}
#block-views-new_books-block_2 .left_control {
	background: transparent url(img/left_arrow.png) center center no-repeat;
	width: 30px;
	height: 100%;
}
/* PHOTO GALLERY */
.view-gallery-album .views-row,
.field-field-gallery-images .field-item,
.view-lit-calendar-gallery  .views-row {
	float: left;
	margin: 10px;
}
.view-gallery-album .views-row:hover,
.field-field-gallery-images .field-item:hover,
.view-lit-calendar-gallery  .views-row:hover {
	outline: 2px solid #9f6a03;
}
/*.field-field-gallery-images .field-items:after {
	content: ".";
	visibility: hidden;
	clear: both;
}*/
.newchild {
	clear: both;
}
.view-gallery-album .views-row img,
.field-field-gallery-images .field-item img,
.view-lit-calendar-gallery img {
  display: block;
}
.view-gallery-block .view-content {
  padding: 0 30px;
  text-align: center;
}
.view-gallery-block .views-row {
  display: inline-block;
/*	float: left;*/
	margin: 3px;
}
.view-faq .views-field-title {
	font-weight: bold;
	margin-top: 16px;
}
.view-faq .views-field-body label{
	font-style: italic;
}
.view-faq .views-field-body {
  background: #eee;
  padding: 10px;
  border-top: #999;
}
.view-faq .views-field-field-answer-value {
  background: #fff;
  border-top: #999;
  padding: 10px;
}
.comment {
	background: #fff;
	padding: 10px;
	margin-bottom: 10px;
}
.poll .vote-form {
	text-align: left;
}
.poll .vote-form .choices {
	margin: 0;
}
.poll .bar .foreground {
  background-color: #87bae7;
}
.view-nodehierarchy-children-teasers .views-field-title {
  clear: both;
}
#block-preset_seo-1 {
  float: left;
  margin-top: 10px;
}
.help-button a {
  display: block;
  text-align: center;
	width: 114px;
	height: 38px;
	background: transparent url(img/btn_vote.png) no-repeat;
	line-height: 20px;
	color: #fff;
	margin-top: 18px;
	margin-left: 18px;
	cursor: pointer;
}
.help-button a:focus {
  outline: 0;
}
#block-preset_seo-0 {
  float: right;
  margin-top: 10px;
}
.advpoll-vote .form-item label {
  line-height: 100px;
  height: 100px;
  display: block;
  clear: both;
  position: relative;
  padding-left: 25px;
}
.advpoll-vote .form-item .form-radio {
 position: absolute;
 top: 43px;
 left: 0;
}
.advpoll-vote .form-item img {
  margin-right: 20px;
  height: 100px !important;
}
.advpoll-vote .form-submit {
  padding: 5px 10px;
}
.nt-advpoll_binary .poll .text {
  height: 100px;
}

.ya-site-form__input-text {
  padding: 3px 5px;
}
.ya-site-form tbody {
  border: none;
}

#block-block-11 a {
  color: #000;
}

/* Responsive Version  01/2023 */
/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

#my-slider{
	width: 100% !important;
}
.left-right-wrapper{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}
#login{
	margin-right: 40px;
}
.left-right-wrapper #right{
	margin: 0px;
	padding-right: 40px;
}
#top{
	padding-left: 40px;
}
.main-content{
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}
.main-content *{
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}
.main-content-item{
	-webkit-box-flex: 1;
	    -ms-flex: 1;
	        flex: 1;
	min-width: 550px;
	border: 1px solid #ccc;
	border-radius: 10px;
	overflow: hidden;
}
.main-content-item:nth-child(n+3){
	margin-top: 20px;
}
.main-content-item:nth-child(2n){
	margin-left: 20px;
}
.main-content-item-header{
	background: url(img/block/bg_head_left_centr.png) repeat-x;
	padding: 15px 18px;
}
.main-content-item-header a{
	-webkit-box-sizing: content-box;
	        box-sizing: content-box;
			background: -webkit-linear-gradient(180deg, #939393,#7a7a7a,#616161);/* Chrome 10-25, Safari 5.1-6 */
			background: linear-gradient(180deg, #939393,#7a7a7a,#616161);/* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
			display: inline-block;
			padding: 0 10px;
			border-radius: 5px;
}
.main-content-item-header a.border-radius-left{
			border-radius: 5px 0 0 5px;
}
.main-content-item-header a.border-radius-right{
	border-radius: 0 5px 5px 0px;
}
.main-content-item-body{
	padding: 10px 18px;
	background: #fff;
	height: 100%;
}
.main-content-item-body p:first-child{
	margin-top: 0;
}
.main-content-item-body p{
	font-size: 16px;

}
.main-content-item-header span{
	font-family: 'aGildiaExpRegular', 'Arial';
    color: #500b88;
    font-size: 27px;
    font-weight: bold;
}
/* Login PopUp Btn */
.open-login-popup-btn{
    width: 26px;
    height: 26px;
    cursor: pointer;
    position: absolute;
    top: 22px;
    right: 58px;
    padding: 8px;
	display: none;
}
.open-login-popup-btn svg{
	fill: #500b88;
}
.popup-login-form-wrapper{
	display: none;
	width: 100%;
	height: 100vh;
	top: 0;
	left: 0;
	position: fixed;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 100000;
	background: rgba(0, 0, 0, 0.2);;
}
.popup-login-form-inner{
	position: relative;
	padding: 20px 10px;
	border-radius: 10px;
	background: #fff;
}
.close-login-form{
	position: absolute;
	width: 15px;
	right: 10px;
	top: 10px;
}
/* Burger Menu Btn  */

.open-modal-menu-btn {
	  width: 46px;
	  height: 46px;
	  cursor: pointer;
	  display: -webkit-box;
	  display: -ms-flexbox;
	  display: flex;
	  -webkit-box-align: center;
	      -ms-flex-align: center;
	          align-items: center;
	  position: absolute;
	  top: 20px;
	  right: 0px;
	  z-index: 1000;
}
.open-modal-menu-btn-open .btn__line {
	-webkit-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	        transform: rotate(45deg);
	-webkit-transition: -webkit-transform 200ms 150ms ease;
	transition: -webkit-transform 200ms 150ms ease;
	-o-transition: transform 200ms 150ms ease;
	transition: transform 200ms 150ms ease;
	transition: transform 200ms 150ms ease, -webkit-transform 200ms 150ms ease;
}
.open-modal-menu-btn-open .btn__line:after, .open-modal-menu-btn-open .btn__line:before {
	top: 0;
	-webkit-transition: top 200ms ease;
	-o-transition: top 200ms ease;
	transition: top 200ms ease;
}
.open-modal-menu-btn-open .btn__line:after {
	-webkit-transform: rotate(90deg);
	    -ms-transform: rotate(90deg);
	        transform: rotate(90deg);
	-webkit-transition: -webkit-transform 200ms 150ms ease;
	transition: -webkit-transform 200ms 150ms ease;
	-o-transition: transform 200ms 150ms ease;
	transition: transform 200ms 150ms ease;
	transition: transform 200ms 150ms ease, -webkit-transform 200ms 150ms ease;
}
.btn__line {
	width: 32px;
	height: 4px;
	background:	#500b88;;
	margin: 0 auto;
	display: block;
	position: relative;
	-webkit-transform: rotate(0);
	    -ms-transform: rotate(0);
	        transform: rotate(0);
	-webkit-transition: -webkit-transform 200ms ease;
	transition: -webkit-transform 200ms ease;
	-o-transition: transform 200ms ease;
	transition: transform 200ms ease;
	transition: transform 200ms ease, -webkit-transform 200ms ease;
}
.btn__line:after, .btn__line:before {
	content: '';
	width: 32px;
	height: 4px;
	background: #500b88;
	position: absolute;
	display: block;
}
.btn__line:before {
	top: -8px;
	-webkit-transition: top 200ms 150ms ease;
	-o-transition: top 200ms 150ms ease;
	transition: top 200ms 150ms ease;
}
.btn__line:after {
	top: 8px;
	-webkit-transform: rotate(0deg);
	    -ms-transform: rotate(0deg);
	        transform: rotate(0deg);
	-webkit-transition: top 200ms 150ms ease, -webkit-transform 200ms ease;
	transition: top 200ms 150ms ease, -webkit-transform 200ms ease;
	-o-transition: transform 200ms ease, top 200ms 150ms ease;
	transition: transform 200ms ease, top 200ms 150ms ease;
	transition: transform 200ms ease, top 200ms 150ms ease, -webkit-transform 200ms ease;
}
.modal-menu{
	background: #fff;
	position: absolute;
	top: 20px;
	width: 100%;
	-webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
	        box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
	border-radius: 5px;
}
.modal-menu .menu{
	padding: 0 30px;
}
.menu li a{
	text-decoration: none;
}
.menu li{
	list-style-image: url(img/arrow_li.png);
	text-decoration: none;
	font-size: 16px;
	color: #009;
}
.modal-menu-hide{
	display: none !important;
}
.open-modal-menu-btn{
	display: none;
}
.menu-title{
	font-family: 'aGildiaExpRegular', 'Arial';
    color: #500b88;
    font-size: 27px;
    font-weight: bold;
    margin: 10px 20px 0 20px;
    padding: 0 0 10px 0;
    background: transparent url(img/dots_horizontal.png) left bottom repeat-x;
}
.site-logo{
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 150px;
}
.site-logo img{
	width: 100%;
}
.mobile-welcome-img{
	display: none;
}
#footer{
	height: -webkit-fit-content;
	height: -moz-fit-content;
	height: fit-content;
	background: #4160B0;
}
.footer_inner{
	padding: 20px 20px;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	width: 100%;
	background-size: cover;
	background: transparent;
	height: auto;
}
.footer_inner * {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}
#footer *{
	color: #fff !important;
}

/* ----------------------------------- Gallery*/
.my-gallery ul:not(.pager, .links){
	display: flex;
    flex-wrap: wrap;

    justify-content: space-between;
}
.my-gallery ul:not(.pager, .links) li{
	list-style-type: none;
	flex: 1;
	min-width: 260px;
	max-width: 270px;
	padding: 0.3em 0.5em;
	margin: 0;
}
/* --------------------------------- Proba Pera */
.my-proba-pera ul:not(.pager,.links){
	display: flex;
    flex-wrap: wrap;
    justify-content: start;
}
.my-proba-pera ul:not(.pager,.links) li{
	list-style-type: none;
	flex: 1;
	min-width: 260px;
	max-width: 270px;
	padding: 0.3em 0.5em;
	margin: 0;
	min-height: 110px;
	display: flex;
	flex-direction: column;
	justify-content: end;
}
#right{
	overflow: hidden;
}


@media screen and (max-width: 1450px ) {
	.my-gallery ul:not(.pager,.links){
		display: flex;
		flex-wrap: wrap;
		justify-content: space-evenly;
	}
	.my-proba-pera ul:not(.pager, .links){
		justify-content: space-evenly;
	}
	.my-proba-pera ul:not(.pager,.links) li{
		align-items: center;
		min-width: 150px;
		max-width: 160px;
	}

	.main-content-item{
		-webkit-box-flex: 1;
		    -ms-flex: 1;
		        flex: 1;
		min-width: 400px;
	}
	#footer{
		background: #4160B0;
		min-width: 550px;
	}
	.main-content-item{
		-webkit-box-flex: 1;
		    -ms-flex: 1;
		        flex: 1;
		min-width: 100%;
	}
	.main-content-item:nth-child(n+2){
		margin-top: 20px;
	}
	.main-content-item:nth-child(2n){
		margin-left: 0px;
	}
	#top{
		padding-right: 40px;
	}
	#top .search-form{
		width: 100%;
	}
	#mainblocks #firstline{
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
	}
	#firstline #block-block-74{
		background: #fff;
	}
	#firstline .block{
		width: 100%;
	}
	#wrapper{
		min-width: 500px;
		width: 100%;
		overflow: hidden;
		-webkit-box-sizing: border-box;
		        box-sizing: border-box;
	}
	.footer_inner{
		min-width: 500px;
	}
	.footer_inner{
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-align: start;
		    -ms-flex-align: start;
		        align-items: start;
		-webkit-box-pack: justify;
		    -ms-flex-pack: justify;
		        justify-content: space-between;
	}
	.footer_inner #block-preset_seo-1{
		-webkit-box-ordinal-group: 2;
		    -ms-flex-order: 1;
		        order: 1;
	}
	.footer_inner #block-preset_seo-1-clear{
		-webkit-box-ordinal-group: 3;
		    -ms-flex-order: 2;
		        order: 2;
	}
	.footer_inner #block-block-11{
		-webkit-box-ordinal-group: 4;
		    -ms-flex-order: 3;
		        order: 3;
		width: 700px
	}
	.footer_inner #block-preset_seo-0-clear{
		-webkit-box-ordinal-group: 5;
		    -ms-flex-order: 4;
		        order: 4;
	}
	.footer_inner #block-preset_seo-0{
		-webkit-box-ordinal-group: 6;
		    -ms-flex-order: 5;
		        order: 5;
	}
	.responsive-table{

	}
}
@media screen and (max-width: 1200px ) {
	.my-gallery ul:not(.pager, .links){
		justify-content: space-evenly;
	}
	.my-gallery ul:not(.pager, .links) li{
		padding-bottom: 15px;
	}
	.my-gallery ul:not(.pager, .links) li img{
		width: 60%;
		height: auto;
	}
	.my-proba-pera ul:not(.pager, .links){
		justify-content: space-evenly;
	}
	.my-proba-pera ul:not(.pager, .links) li{
		padding-bottom: 15px;
	}
	.my-proba-pera ul:not(.pager,.links) li{
		min-width: 150px;
		max-width: 160px;
	}
	.responsive-big-table{
		width: 100% !important;
	}
}
@media screen and (max-width: 950px ) {
	.footer_inner #block-block-11{
		-webkit-box-ordinal-group: 4;
		    -ms-flex-order: 3;
		        order: 3;
		width: 500px
	}
	.my-gallery ul:not(.pager) li{
		min-width: 220px;
		max-width: 230px;
		box-sizing: border-box;
	}
}
@media screen and (max-width: 800px ) {
	body{
		background: #f1ebe4 url(img/header_background.jpg) center top no-repeat;
	}
	.open-login-popup-btn{
		display: block;
	}
	#header{
		margin: 0 40px;
		position: relative;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-pack: center;
		    -ms-flex-pack: center;
		        justify-content: center;
		-webkit-box-align: center;
		    -ms-flex-align: center;
		        align-items: center;
	}
	#header #login{
		display: none;
	}
	.pushkin_card {
		display:none;
	}
	#block-block-87,
	.pushkin_card_mobile {
		text-align: center;
		display:block;
	}
	#firstline #block-block-87 .content {
		padding: 20px 0;
	}
	.left-right-wrapper{
		-webkit-box-orient: vertical;
		-webkit-box-direction: reverse;
		    -ms-flex-direction: column-reverse;
		        flex-direction: column-reverse;
	}
	.left-right-wrapper #right{
		padding: 0 40px;
		-webkit-box-sizing: border-box;
		        box-sizing: border-box;
	}
	.mobile-login-form{
		background: #fff;
		padding: 10px 20px;
		display: block;
	}
	.popup-login-form-wrapper{
		display: flex;
	}
	.mobile-login-form .form-item label {
		display: block;
		font-weight: bold;
		text-align: left;
	}
	#firstline{
		background: transparent;
	}
	#firstline #block-menu-menu-virtual{
		background: #fff;
	}
	#firstline #block-block-74{
		background: #fff url(img/bg_corner.png) right top no-repeat;
		margin-top: 20px;
	}
	.mobile-login-form form .form-item{
		display: inline-block;
		margin: 0
	}
	.mobile-login-form form .form-submit{
		display: inline-block;
	}
	.mobile-login-form form .item-list{
		margin-top: 10px;
	}
	.mobile-login-form form .item-list ul{
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		list-style: none;
		-webkit-box-pack: center;
		    -ms-flex-pack: center;
		        justify-content: center;
	}
	.mobile-login-form form .item-list li::marker{
		content: '';
	}
	.search-form .container-inline{
		-webkit-box-sizing: border-box;
		        box-sizing: border-box;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient: horizontal;
		-webkit-box-direction: reverse;
		    -ms-flex-direction: row-reverse;
		        flex-direction: row-reverse;
	}
	.search-form	.form-item{
		-webkit-box-flex: 1;
		    -ms-flex: 1;
		        flex: 1;
	}
	#left{
		width: 100%;
		-webkit-box-sizing: border-box;
		        box-sizing: border-box;
		padding-right: 0px;
		padding: 0 40px;
		margin-right: 0px;
	}
	#left .wrapper{
		margin: 0 auto;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-align: center;
		    -ms-flex-align: center;
		        align-items: center;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
		width: 227px;
	}
	#left #block-menu-primary-links{
		display: none;
	}
	#left #block-thisdayinhistory-1{
		margin: 10px auto;
	}
	.open-modal-menu-btn{
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
	}
	.site-logo{
		display: block;
	}
	.mobile-welcome-img{
		display: block;
	}
	#footer{
		min-width: 300px;
	}
	.footer_inner{
		-webkit-box-align: center;
		    -ms-flex-align: center;
		        align-items: center;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
		min-width: 300px;
	}
	.footer_inner #block-preset_seo-1{
		-webkit-box-ordinal-group: 6;
		    -ms-flex-order: 5;
		        order: 5;
	}
	.footer_inner #block-preset_seo-1-clear{
		-webkit-box-ordinal-group: 5;
		    -ms-flex-order: 4;
		        order: 4;
	}
	.footer_inner #block-block-11{
		-webkit-box-ordinal-group: 4;
		    -ms-flex-order: 3;
		        order: 3;
		width: 100%;
	}
	.footer_inner #block-preset_seo-0-clear{
		-webkit-box-ordinal-group: 3;
		    -ms-flex-order: 2;
		        order: 2;
	}
	.footer_inner #block-preset_seo-0{
		-webkit-box-ordinal-group: 2;
		    -ms-flex-order: 1;
		        order: 1;
		display: none;
	}
	#block-views-news-block_1 {
		display: none;
	}
	.responsive-small-table{
		width: 100% !important;
	}
}
@media screen and (max-width: 900px){
	.responsive-small-table{
		width: 100% !important;
	}
}

@media screen and (max-width: 550px){
	#wrapper {
		min-width: 300px;
		width: 100%;
		overflow: hidden;
		-webkit-box-sizing: border-box;
		        box-sizing: border-box;
	}
	#top {
		padding:0 15px;
	}
	#header{
		margin: 0 15px;
	}
	.left-right-wrapper #right{
		padding: 0 15px;
	}
	.footer_inner{
		min-width: 300px;
	}
	.my-gallery ul:not(.pager) li{
		min-width: 70%;
		background-color: #FFF;
		border-radius: 10px;
		padding: 15px 20px;
		margin-bottom: 20px;
	}
	.responsive-big-table{
		display: block;
		overflow: hidden;
	}

	.responsive-big-table td,.responsive-big-table th{
		padding: 0 10px;
	}
	.responsive-big-table *{
		box-sizing: border-box;
	}
	/* .responsive-big-table tr{
		display: block;
	}
	.responsive-big-table tr:not(:first-child) td:first-child{
		width: 130px;
	}
	.responsive-big-table tr td:not(:first-child){
		width: 100%;
	} */
	.responsive-big-table{
		overflow-x: scroll;
	}
}
@media screen and (max-width: 450px){
	.mobile-login-form form .form-item{
		display: block;
	}
	.mobile-login-form form .form-item:not(:first-child){
		margin-top: 15px;
	}
	.mobile-login-form form .form-item input{
		width: 100%;
		margin-top: 10px;
	}
	.mobile-login-form form .form-submit{
		width: 100%;
		margin-top: 20px;
		padding: 10px 0;
	}
	.main-content-item-header span{
		font-size: 22px;
	}
	.main-content-item-header {
		background: url(img/block/bg_head_left_centr.png) center center repeat-x;
		padding: 15px 18px;
		background-size: contain;
		padding-top: 5px;
		max-height: 80px;
		overflow: hidden;
	}
	.responsive-small-table{
		display: block;
		overflow: hidden;
	}
	.responsive-small-table td,.responsive-small-table th,.responsive-big-table td,.responsive-big-table th{
		padding: 10px 10px;
	}
	.responsive-small-table *{
		box-sizing: border-box;
	}
	.responsive-small-table{
		overflow-x: scroll;
	}
	.responsive-small-table tbody{
		display: block;
		width: 550px;
	}
	.responsive-big-table{
		display: flex;
		flex-direction: column;
	}
	.responsive-big-table tr:not(:first-child){
		display: flex;
		flex-direction: column;
		flex-wrap: wrap;
	}
	.responsive-big-table tr:not(:first-child) td{
	}
	.responsive-big-table tr:not(:first-child):nth-child(odd) {
		background-color: #fff;
	}
	.responsive-big-table tr:first-child {
		background-color: #fff;
	}
	.responsive-big-table tr:not(:first-child):nth-child(even) {
		background-color: rgb(231, 231, 231);
	}
	.responsive-small-table{
		height: fit-content !important;
	}
	.responsive-small-table{
		display: flex;
	}
	.responsive-small-table tbody{
		width: 100%;
	}
	.responsive-small-table tr:first-child{
		display: flex
	}
	.responsive-small-table tr:not(:first-child){
		display: flex;
		flex-direction: column;
		flex-wrap: wrap;
	}
	.responsive-small-table tbody{
		display: flex;
		flex-direction: column;
	}
	.responsive-small-table tr:not(:first-child):nth-child(odd) {
		background-color: #fff;
	}
	.responsive-small-table tr:first-child {
		background-color: #fff;
	}
	.responsive-small-table tr:not(:first-child):nth-child(even) {
		background-color: rgb(231, 231, 231);
	}
}