/* GENERAL */

html {
    font-size: 14px;
}

body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

body,
p,
ul,
ol,
li {
    font-size: 1em;
    letter-spacing: .02em;
    font-family: Geneva, Tahoma, sans-serif;
    color: rgb(42, 50, 65);
}

h1 {
    font: lighter 2em 'PT Serif Caption', serif;
    color: rgb(42, 50, 65);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-left: .5em;
}

article {
    padding: 1em 2.6em 3em;
    text-align: justify;
}

article h1,
h2 {
    color: rgb(42, 50, 65);
    text-transform: uppercase;
    /* font-family: Georgia; */
    font-weight: lighter;
    letter-spacing: 1px;
    text-align: left;
    font-family:'PT Serif Caption', serif;
}

article h3 {
    color: rgb(42, 50, 65);
    text-transform: uppercase;
    font-family: Tahoma;
    font-weight: normal;
    font-size: 1.4em;
    letter-spacing: 1px;
    margin-top: 3em;
}

article h3:first-child {
    margin-top: 0;
}

article .field_info_body h3 {
    color:inherit;
    margin-top: .7em;
    margin-bottom: .7em;
}
article .field_info_body a {
    /* color:inherit; */color: #0b519d;
}
article .field_info_body em {
    color:inherit;
}
article .field_info_body p {
    color:inherit;
}
article .field_info_body ul {
    color:inherit;
}
article .field_info_body ol {
    color:inherit;
}

article h2 a {
    text-decoration: none;
    color: rgb(120, 130, 140);
}
article h3 a {
    text-decoration: none;
}

.body p img {
    margin: 5px;
}

article h2 a:hover {
    -moz-box-shadow: inset 0 -2px 0 white, inset 0 -3px 0 rgb(120, 130, 140);
    -webkit-box-shadow: inset 0 -2px 0 white, inset 0 -3px 0 rgb(120, 130, 140);
    box-shadow: inset 0 -2px 0 white, inset 0 -3px 0 rgb(120, 130, 140);
}

p a {
    color: #0b519d;
    text-decoration: none;
}
ul a {
    color: #0b519d;
    text-decoration: none;
}

p a:hover {
    text-decoration: underline;
}
ul a:hover {
    text-decoration: underline;
}

.views-element-container>h2 {
    margin-left: 2.4em;
}

.page-block .field_attaches {
    display: none;
}


/** HEADER */

.site-branding {
    text-align: center;
    padding: 1.8em 0;
}

.site-branding>div {
    display: inline-block;
}

.site-branding a[rel=home] {
    display: block;
    font-size: 1.2em;
    color: #ff9b39;
    text-transform: uppercase;
    text-decoration: none;
    margin: 1.1em 0;
}

.site-branding a[rel=home] img {
    border: 0;
}


/* highlighted */

.highlighted {
    flex: 1 1 100%;
    text-align: center;
}


/* page-breadcrumbs */

.page-breadcrumbs {
    flex: 1 1 100%;
}

.page-breadcrumbs a {
    text-decoration: none;
}

.page-breadcrumbs ol {
    list-style: none;
    padding: 0;
}

.page-breadcrumbs ol li {
    display: inline-block;
    margin-right: 1em;
}

.page-breadcrumbs ol li+li:before {
    content: '/';
    margin-right: 1em;
    color: rgb(120, 130, 140);
}

#block-tzar-theme-breadcrumbs ol {
    /*display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
	display: inline-flex;*/
    list-style-type: none;
    margin: 1.5em 0 2em;
}

#block-tzar-theme-breadcrumbs ol li {
    display: inline-block;
    margin-right: 0.3em;
}

#block-tzar-theme-breadcrumbs ol li:first-child {
    text-transform: uppercase;
}

#block-tzar-theme-breadcrumbs ol li+li:before {
    content: '/';
    margin-right: 0.1em;
}

#block-tzar-theme-breadcrumbs a {
    text-decoration: none;
    color: rgb(120, 130, 140);
}

a:visited {
    text-decoration: none;
}

#block-tzar-theme-breadcrumbs a:hover {
    border-bottom: solid 1px rgb(120, 130, 140);
}


/* Page */


/* #block-tzar-theme-page-title {
	position: relative;
	display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	height: 180px;
	overflow: hidden;
}

#block-tzar-theme-page-title .title-image {
	position: absolute;
	z-index: -1;
	width: 100%;
	overflow: hidden;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}

#block-tzar-theme-page-title .title-image img {
	max-width: 100%;
}

#block-tzar-theme-page-title h1 {
	margin: 0;
	background: rgba(0,0,0,.4);
	padding: 0 55px;
	color: #fff;
	font-family: Geneva, Tahoma, sans-serif;
	font-weight: 100;
	text-transform: uppercase;
	font-size: 16px;
	line-height: 36px;
	letter-spacing: 1px;
} */


/* PAGES TITLE */

.section-title {
    display: block;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background-size: cover;
    background-position: center top;
}

.section-title .title {
    margin: 0;
    background: #555;
    background: rgba(0, 0, 0, .4);
    padding: 0 55px;
    color: #fff;
    font-family: Geneva, Tahoma, sans-serif;
    font-weight: 100;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 36px;
    letter-spacing: 1px;
}

#block-tzar-theme-content .page-image {
    display: none;
}

#block-tzar-theme-page-title {
    padding: 0 2em;
}


/* BANNERS */

.section-title {
    background: url('../images/banner_all.jpg') center center no-repeat;
}

.section-title.section-title-objects {
    background-image: url('../images/banner_objects.jpg');
}

.section-title.section-title-visitors {
    background-image: url('../images/banner_visitors.jpg');
}

.section-title.section-title-science {
    background-image: url('../images/banner_science.jpg');
}

.section-title.section-title-restoration {
    background-image: url('../images/banner_restoration.jpg');
}

.section-title.section-title-support {
    background-image: url('../images/banner_support.jpg');
}

.section-title.section-title-children {
    background-image: url('../images/banner_children.jpg');
}

.section-title.section-title-services {
    background-image: url('../images/banner_services.jpg');
}

.section-title.section-title-news {
    background-image: url('../images/banner_news.jpg');
}

.section-title.section-title-concerts {
    background-image: url('../images/banner_concerts.jpg');
}


/* EVENT DATES */

.start-time,
.end-date {
    display: inline-block;
}

.end-date:before {
    content: "-";
}


/* PAGINATION */

ul.js-pager__items {
    margin-top: 4em;
    list-style-type: none;
    max-width: 400px;
    display: block;
}

ul.js-pager__items li {
    display: inline-block;
    border: 1px solid rgb(175, 180, 178);
    padding: .5em;
}

ul.js-pager__items li a {
    text-decoration: none;
    color: rgb(44, 52, 66);
}

ul.js-pager__items li:hover {
    background-color: rgb(175, 180, 178);
    color: #fff;
}

ul.js-pager__items li:hover a {
    color: #fff;
}


/* FOOTER */

footer {
    color: #e8e8e8;
    font-size: 1em;
}

.site-footer a {
    color: #e8e8e8;
    font-size: 0.9em;
}

footer a:hover {
    text-decoration: underline;
}


/* search */

footer .column-third .search-block-form input {
    border: none;
    height: 25px;
}

footer #search-block-form {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    margin: 2em 0;
    width: 100%;
}

footer .js-form-type-search {
    width: 60%;
}

footer .form-actions {
    width: 40%;
}

footer input.form-search {
    width: 100%;
}


/* social icons */

footer .social-icons {
    display: block;
    width: 100%;
    height: 100%;
    /*display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;*/
    margin-top: 1em;
    margin-bottom: 4em;
}

footer .social-icons a.social-icon {
    display: block;
    float: left;
    width: 30px;
    height: 30px;
    margin-right: 10px;
    margin-bottom: 5px;
}

footer .social-icons a.vk {
    background: url('../images/social/vk.png') no-repeat;
}

footer .social-icons a.ok {
    background: url('../images/social/ok.png') no-repeat;
}

footer .social-icons a.telegram {
    background: url('../images/social/telegram.png') no-repeat;
}

footer .social-icons a.rutube {
    background: url('../images/social/rutube.png') no-repeat;
}

footer .social-icons a.youtube {
    background: url('../images/social/youtube.png') no-repeat;
}

footer .social-icons a.facebook {
    background: url('../images/social/facebook.png') no-repeat;
}

footer .social-icons a.dzen {
    background: url('../images/social/dzen.png') no-repeat;
}

footer .social-icons a.tiktok {
    background: url('../images/social/tiktok.png') no-repeat;
}

footer .social-icons a.twitter {
    background: url('../images/social/twitter.png') no-repeat;
}

footer .social-icons a.culture {
    width: 150px;
    background: url('../images/social/culture.png') no-repeat;
}


/* NEWS AND EXHIRITIONS PAGE */

ul.news-list,
ul.exhibition-list {
    list-style-type: none;
    padding-left: 0;
    width: 100%;
}

ul.exhibition-list .quickedit-field {
    display: block;
}

ul.exhibition-list ul.links::after {
    content: '';
    clear: both;
}

ul.news-list .thumbnail {
    display: block;
    float: left;
    margin-right: 1em;
    width: 304px;
    height: 223px;
    overflow: hidden;
}

ul.exhibition-list .thumbnail {
    display: block;
    float: left;
    margin-right: 1em;
    width: 300px;
    height: 300px;
    overflow: hidden;
}

ul.news-list .thumbnail img {
    width: 100%;
    height: auto;
    border: 0;
}

ul.exhibition-list .thumbnail img {
    width: auto;
    height: 100%;
    border: 0;
}

ul.news-list h2,
ul.exhibition-list h2 {
    line-height: 0.9em;
    margin-top: 0;
}

.exhibition-item {
    display: block;
    height: 100%;
}

.news_item h2 a,
.exhibition-item h2 a {
    color: rgb(120, 130, 140);
}

.news_item h2 a:hover,
.exhibition-item h2 a:hover {
    /* border-bottom: solid 1px rgb(120, 130, 140); */
}

.row-1 article.news_item,
.row-1 article.exhibition-item {
    display: block;
    width: 100%;
    height: auto;
    padding-top: 1em;
    margin: 1% 0 1% 1.6%;
}

.exhibition-block article {
    position: relative;
}

.exhibition-block h2 a {
    font-family: Tahoma, sans-serif;
    /*position: absolute;
    left: 350px;*/
    position: static;
    top: 1em;
    ;
}

.exhibition-block article>div:last-child {
    min-height: 300px;
    position: relative;
}

.exhibition-block article>div>div:not(.thumbnail) {
    padding-top: 0;
    overflow: hidden;
    max-height: 12em;
}

.exhibition-block ul.links.inline {
    margin-top: 0;
    width: 100%;
    position: absolute;
    bottom: 23px;
    left: 315px;
}

.exhibition-block ul.links.inline li {
    display: inline-block;
    min-width: 8em;
}

ul.news-list {
    list-style-type: none;
    padding-left: 0;
}

ul.news-list article {
    position: relative;
    padding: 0;
    padding-bottom: 1.2em;
    padding-left: 300px;
    margin: 0 3em 5em;
}

ul.news-list .news-block {
    position: unset;
}

ul.news-list h2 {
    font-family: Tahoma, sans-serif;
    margin-left: .8em;
    margin-bottom: 0;
}

.news-item .publication-date {
    padding: .2em 1em 1em;
    margin: 0;
    font-size: 1.1em;
}

ul.news-list article>div:last-child {
    min-height: 9.3em;
    overflow: hidden;
}

ul.news-list article>div>div:not(.thumbnail) {
    padding: 0 1em 0.5em;
    min-height: 4.8em;
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 40px;
}

ul.news-list ul.links.inline {
    margin-top: 0;
    position: absolute;
    bottom: 1px;
    left: 315px;
}

ul.news-list .thumbnail {
    position: absolute;
    left: 0;
    top: 0;
    width: 300px;
    height: 200px;
    overflow: hidden;
}

ul.news-list .thumbnail img {
    width: 100%;
    border: 0;
}

#block-views-block-stranica-postoannyh-vystavok-block-1,
#block-views-block-detskie-centry-block-1 {
    margin-top: -5em;
}


/* RELATED NEWS */

.related-news-block.sidebar-news .views-row {
    padding: 0;
}

.related-news-block.sidebar-news article {
    padding: 1em;
}

.related-news-block.sidebar-news ul.links.inline {
    display: none;
}


/* EVENTS*/

.concert-item .thumbnail img {
    display: none;
}

.exhibition-archive li.schedule-link {
    display: none !important;
}


/* HIDE FIELD TITLES */

#block-tzar-theme-content .field_time_start_work,
#block-tzar-theme-content .field_time_stop_work,
#block-tzar-theme-content .field_location_x,
#block-tzar-theme-content .field_location_y,
#block-tzar-theme-content .field_top_in_days {
    display: none;
}


/* LISTINGS */

ul.pages-list {
    margin: 3em auto;
    list-style-type: none;
    padding-left: 0;
}

ul.pages-list article {
    position: relative;
    padding: 0;
    min-height: 300px;
    padding-left: 300px;
    margin: 0 3em 4em;
}

ul.pages-list .page-block {
    position: unset;
}

ul.pages-list h2 {
    font-family: Tahoma, sans-serif;
    margin-left: .8em;
}

ul.pages-list article>div:last-child {
    min-height: 230px;
}

ul.pages-list article>div>div:not(.thumbnail) {
    padding: 0 1em 0em;
    /* max-height: 6em; */
    overflow: hidden;
}

ul.pages-list ul.links.inline {
    margin-top: 0;
    position: absolute;
    bottom: 0;
    left: 315px;
    vertical-align: bottom;
}

ul.pages-list ul.links.inline li {
    display: inline-block;
    min-width: 8em;
    vertical-align: bottom;
}

ul.pages-list .thumbnail {
    position: absolute;
    left: 0;
    top: 0;
    width: 300px;
    height: 300px;
    overflow: hidden;
}

ul.pages-list .thumbnail img {
    min-width: 100%;
    border: 0;
}

.grid-list-block {
    margin: -4em auto 4em;
}

.grid-list-block.publications {
    margin: 0 3em 4em;
}

.grid-list-block.publications article {
    padding: 0 2em 0 0;
}

.grid-list-block.publications .grid-list-col .thumbnail {
    width: 100%;
    padding-top: 130%;
    overflow: hidden;
    position: relative;
}

.latest-pub ul.pages-list .thumbnail img {
    width: 100%;
    height: auto;
    border: 0;
}

.grid-list-block.publications .grid-list-col .thumbnail img {
    display: block;
    width: auto;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    border: 0;
}

.grid-list-block.publications h2 {
    height: auto !important;
}


/* IMPORTANT INFO BLOCK */

.important-info-block {}


/* UPPER INFO MONOBLOCK */

.upper-info-block {
    margin: 6em auto 0;
    padding: 1em 6em;
}


/* VIDEO */

#block-views-block-anonsy-video-block-1>h2 {
    font-family: Tahoma;
    margin-left: 1.7em;
}


/* BIG BLOCK LINKS */

.important-info-block {
    margin: 5em auto;
    padding: 1em 3em;
    ;
}

#block-views-block-vaznye-stati-block-1-2 {
    margin: 5em auto 0;
}

.huge-block-links {
    padding: 2em;
}

.important-info-block .row-1,
.huge-block-links .row-1 {
    padding-bottom: 0;
}

.important-info-block .row-1 {
    padding: 0 1em;
    margin: 0 auto;
}

.huge-block-links .cols-3 {
    width: 100%;
}

#block-views-block-nabor-ssylok-na-glavnoi-vtoroi-rad-block-1 {
    margin: 5em auto 0;
}


/*


.huge-block-links .views-col {
	margin: 0 auto;
  height: 100%;

}*/

.huge-block-links article {
    /*display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;*/
    width: 100%;
    min-width: 60%;
    margin: 0;
    padding: 0 2em;
    /*-webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;*/
    transition: opacity ease-in-out .5s;
    -webkit-transition: opacity .5s ease-in-out;
    -moz-transition: opacity .5s ease-in-out;
    -o-transition: opacity .5s ease-in-out;
}

.huge-block-links article:hover {
    opacity: .7;
}

.huge-block-links .thumbnail {
    width: 100%;
    overflow: hidden;
}

.huge-block-links .thumbnail img {
    width: 100%;
    min-width: 70%;
    height: auto;
    margin: 0 auto;
    border: 0;
}

.huge-block-links a:hover {
    border: 0;
}

.huge-block-links h2 {
    /*-webkit-box-ordinal-group: 2;
    -moz-box-ordinal-group: 2;
    -ms-flex-order: 2;
    -webkit-order: 2;
    order: 2;*/
    width: auto;
    margin-top: -5px;
    font-size: 1.3em;
    background-color: rgb(232, 232, 232);
}

.huge-block-links h2 a,
.huge-block-links h2 a:active {
    display: inline-block;
    width: 100%;
    font-size: 1.2em;
    padding: 1em 2em 3em;
    color: rgb(42, 50, 65);
    background-color: rgb(232, 232, 232);
    margin: 0;
}

.huge-block-links h2 a:hover {
    border: 0;
    box-shadow: none;
}

.three-blocks-row {
    margin: 3em auto;
    padding-bottom: 6em;
    border-bottom: solid 1px rgb(120, 130, 140);
}

.three-blocks-row .row-1 {
    padding: 0 1em;
}

.three-blocks-row article {
    padding: 0em 2.7em;
    margin: 0;
}

.four-blocks-row {
    padding: 0;
    height: 100%;
    margin: 4em auto;
    border: 0;
}

.four-blocks-row article {
    padding: 0 1em;
}

.four-blocks-row h2 a,
.four-blocks-row h2 a:active {
    font-size: .9em;
}

.huge-block-links.four-blocks-row .thumbnail img {
    width: 100%;
    min-width: 100%;
    height: auto;
    border: 0;
}

.huge-block-links.parks-bottom h2 a {}

.huge-block-links.parks-bottom h2 a:active {}


/* SIMPLE BANNER */

.banner-simple {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.banner-simple a {
    text-decoration: none;
    font-family: Tahoma, sans-serif;
    color: rgb(120, 130, 140);
    font-size: 1.6em;
    text-transform: uppercase;
}

.banner-simple .banner-title {
    padding-left: 2.7em;
    letter-spacing: 1px;
}

.banner-simple img {
    width: 100%;
    height: auto;
    border: 0;
}

.banner-block img {
    width: 100%;
    height: auto;
}


/* RELATED NEWS */

.related-news-block {}

#block-views-block-novosti-restavracii-block-1>h2,
#block-views-block-novosti-podderzki-block-1>h2 {
    display: inline-block;
    margin: 2em 3.8em auto;
    font-family: Georgia, serif;
}

.related-news-block h2 a {
    color: rgb(120, 130, 140);
}

.related-news-block h2 a:hover {
    /* border-bottom: solid 1px rgb(120, 130, 140); */
}

.related-news-block article.news_item {
    display: block;
    height: auto;
    padding-top: 1em;
    padding-right: 1em;
    margin: 1% 0;
}

.related-news-block .thumbnail {
    width: 100%;
    padding-top: 66%;
    overflow: hidden;
    position: relative;
}

.related-news-block .thumbnail img {
    display: block;
    width: 100%;
    height: auto;
    position: absolute;
    left: 0;
    top: 0;
}

.related-news-block .row-1 {
    padding: 0 3em 3em;
    margin: auto auto;
    clear: both;
}


/* VISIT RULES */

.visit-rules {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    background-color: rgb(232, 232, 232);
    margin: 10em 5.5em;
    height: auto;
    opacity: 1;
    transition: opacity ease-in-out .5s;
    -webkit-transition: opacity .5s ease-in-out;
    -moz-transition: opacity .5s ease-in-out;
    -ms-transition: opacity .5s ease-in-out;
    -o-transition: opacity .5s ease-in-out;
}

.visit-rules:hover {
    opacity: .7;
}

.visit-rules span {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.visit-rules-short {
    padding: 2em;
    flex: 1 2 auto;
}

.visit-rules-short h2 {
    margin-bottom: 1em;
}

.visit-rules-img {
    flex: 1 1 auto;
    max-width: 100%;
    overflow: hidden;
}

.visit-rules-img img {
    width: 100%;
    display: block;
    border: 0;
}


/* CHILDREN PAGE */

#block-novostiodetskihprogrammah {
    margin: 4em auto 8em;
}

#block-novostiodetskihprogrammah h2 {
    margin-left: 4em;
}

.children-programmes-news {
    /*display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-around;
  justify-content: space-around;*/
    display: table;
    padding: 1em 4em;
}

.children-programmes-news .column-progr {
    display: table-cell;
    padding: 0 2em;
    width: 33%;
    margin-right: 3em;
}

.children-programmes-news .column-progr img {
    width: 100%;
    border: 0;
}

.children-programmes-news .column-progr h3 {
    font-family: Tahoma, sans-serif;
    margin-bottom: 0;
}

.children-programmes-news .column-progr p:first-of-type {
    margin-top: 0;
}


/* SCIENCE PAGE */


/* PAGES INFO BLOCK */

.info-pages-block .page-block {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.info-pages-block h2 {
    vertical-align: bottom;
}

.info-pages-block h2 a:hover {
    border-color: rgb(120, 130, 140);
}

.info-pages-block .thumbnail {
    width: 100%;
    padding-top: 66%;
    overflow: hidden;
    position: relative;
    margin-bottom: 1em;
}

.info-pages-block.video .thumbnail {
    padding-top: 50%;
}

.info-pages-block.related-object .thumbnail {
    width: 100%;
    padding-top: 80%;
    margin-bottom: 1em;
    height: 300px;
}

.info-pages-block .thumbnail img {
    display: block;
    width: auto;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    border: 0;
}

.info-pages-block.parks-palaces .thumbnail img {
    width: 100%;
    height: auto;
}

.info-pages-block.related-object .schedule-link {
    display: none;
}


/* SIDEBAR */

.sidebarBlock {
    width: 100%;
    padding: 1em;
    border: solid 1px #eee;
    overflow: hidden;
    max-height: 40px;
    transition: all .5s ease-out;
}

.sidebarBlockHeader img {
    width: 20px;
    border: 0;
}

.sidebarBlock:hover {
    max-height: 400px;
}


/* LOGIN FORM */

.user-login-form {
    margin: 4em auto;
    width: 400px;
}

.user-login-form label {
    display: block;
}

.user-login-form input {
    width: 400px;
    height: 35px;
    margin: 0 auto;
    padding: 5px 10px;
}

.user-login-form>div {
    margin-bottom: 3em;
}

.user-login-form .description {
    display: none;
}

.user-login-form #edit-actions {
    margin: 0 auto;
    display: block;
    width: 100px;
}

.user-login-form input[value="Войти"] {
    width: 100px;
    height: 45px;
    padding: 0;
}


/* GALLERY */

.image-gallery .jcbx-glry-classic {
    width: 99% !important;
}

.jb-thm-thumb-image {
    top: 0 !important;
}


/* ARCHIVE */

.archive .exhibition-block article {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.archive ul.news-list h2,
ul.exhibition-list h2 {
    line-height: 0.9em;
    margin-top: 0;
    -webkit-box-ordinal-group: 2;
    -moz-box-ordinal-group: 2;
    -ms-flex-order: 2;
    -webkit-order: 2;
    order: 2;
}

.archive .exhibition-block article>div:last-child {
    min-height: 100%;
}

.archive ul.exhibition-list .thumbnail {
    display: none;
}

.archive .exhibition-block h2 a {
    font-family: Tahoma, sans-serif;
    position: static;
}

.archive .exhibition-block article>div>div:not(.event-dates) {
    display: none;
}

.archive .exhibition-block article>div>div:not(.thumbnail) {
    padding-top: 0;
    margin-bottom: 1em;
}

.archive .exhibition-block ul.links.inline {
    position: static;
    display: none;
}


/* CHRONOGRAPH */

ul.chronograph-list {
    list-style-type: none;
}

li.chronograph-item div.date {
    font-weight: bold;
    margin-bottom: 1em;
}

form.chronograph-choose-day:after {
    content: "В этом разделе вы можете выбрать дату и ознакомиться с событиями жизни Императорской резиденции Царского села, которые с ней связаны";
    display: block;
    margin-left: 3em;
    color: #afb4b2;
}


/* RESIZE 1280px */

@media all and (max-width: 1280px) {
    ul.c-menu-menu-s-kartinkami {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: space-between;
        justify-content: space-between;
    }
    .banner-full .banner-info-block {
        top: 70%;
    }
    .banner-title {
        margin: 1em;
    }
    .banner-simple a {
        font-size: 1.4em;
    }
    .important-info-block h2 {
        font-size: 1.3em;
    }
    .cols-3 article.news_item {
        width: 360px;
    }
    .news_item .thumbnail {
        height: 176px;
        overflow: hidden;
    }
    .huge-block-links h2 {
        font-size: 1.1em;
    }
    .huge-block-links article {
        padding: 0 2em;
        margin-bottom: 4em;
    }
    .three-blocks-row article {
        padding: 0em .7em;
    }
    .three-blocks-row h2 {
        font-size: 1em !important;
    }
    .four-blocks-row .row-1 {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -moz-flex-wrap: wrap;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .four-blocks-row .views-col {
        width: 50% !important;
    }
    .four-blocks-row h2 a,
    .four-blocks-row h2 a:active {
        font-size: 1.2em;
    }
    .grid-list-row {
        -moz-flex-wrap: wrap;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .mainpage-main-info article {
        padding: 1em 1em 3em;
    }
    .upper-info-block {
        padding: 1em 4em;
    }
}

@media all and (max-width: 1024px) {
    .cols-3 article.news_item {
        width: 310px;
    }
}

/* RESIZE 992px */

@media all and (max-width: 992px) {
    #block-pereklucatelversiidlaslabovidasih ul li a {
        margin: .7em -5em;
    }
    .upper-info-block {
        padding: 1em 4em !important;
    }
    .banner-full .banner-info-block {
        font-size: 1.6em;
        margin: 1em 0;
    }
    .banner-title {
        margin: 1em 1.8em 1em;
    }
    .banner-simple .banner-title {
        padding-left: 0;
    }
    .views_slideshow_controls_text_previous,
    .views_slideshow_controls_text_next {
        display: none;
    }
    .c-menu-menu-s-kartinkami .views-col {
        min-width: 50%;
        width: 50%;
    }
    .c-menu-menu-s-kartinkami article {
        min-width: 100%;
    }
    .c-menu-menu-s-kartinkami .thumbnail {
        -webkit-box-flex: 0;
        -webkit-flex: none;
        -ms-flex: none;
        flex: none;
    }
    .important-info-block {
        margin: 3em auto;
    }
    #block-views-block-vaznye-stati-block-1-2 {
        margin: 3em auto;
    }
    .important-info-block div.row-1 {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-orient: vertical;
        -moz-box-orient: vertical;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .important-info-block div.views-col {
        width: 100% !important;
        margin-bottom: 3em;
    }
    .mainpage-main-info div.row-1 {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: flex-start;
        justify-content: flex-start;
        -webkit-box-orient: vertical;
        -moz-box-orient: vertical;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .mainpage-main-info div.row-1 article {
        padding: 1em 3em;
    }
    .mainpage-main-info .col-1,
    .mainpage-main-info .col-2,
    .mainpage-main-info .col-3 {
        width: 100% !important;
    }
    #block-views-block-novosti-restavracii-block-1>h2,
    #block-views-block-novosti-podderzki-block-1>h2 {
        margin: 2em 4.4em auto !important;
    }
    #block-views-block-last-news-block-1 .row-1,
    .related-news-block .row-1 {
        display: block;
        width: 100%;
        height: 100%;
        /*display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: flex-start;
        justify-content: flex-start;
        -webkit-box-orient: vertical;
        -moz-box-orient: vertical;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;*/
        padding-bottom: 1em;
    }
    #block-views-block-last-news-block-1 .col-1,
    #block-views-block-last-news-block-1 .col-2,
    #block-views-block-last-news-block-1 .col-3,
    .related-news-block .col-1,
    .related-news-block .col-2,
    .related-news-block .col-3 {
        width: 100% !important;
        height: 100%;
    }
    #block-views-block-last-news-block-1 .thumbnail,
    .related-news-block .thumbnail {
        width: 30%;
        height: auto;
        float: left;
        margin: 1.4em 1em 1em 0;
    }
    .cols-3 .news_item .thumbnail,
    .related-news-block .cols-3 .thumbnail {
        width: 30%;
        padding-top: 0;
        position: static;
    }
    .cols-3 .news_item .thumbnail img,
    .related-news-block .thumbnail img {
        display: block;
        height: auto;
        width: 100%;
        position: static;
        border: 0;
    }
    .cols-3 article.news_item,
    .related-news-block article {
        width: 100%;
    }
    ul.news-list .thumbnail img {
        width: 100%;
        border: 0;
    }
    .cols-3 ul.news-list h2 {
        display: block;
    }
    .huge-block-links article {
        display: block;
        width: 100%;
        margin: 0 auto;
    }
    .three-blocks-row article {
        width: 100%;
    }
    .three-blocks-row h2 a,
    .three-blocks-row h2 a:active {
        font-size: 1em;
    }
    .three-blocks-row h2 {
        padding: 1em;
    }
    .huge-block-links article {
        padding: 0.5em;
        margin: 0 auto !important;
    }
    .huge-block-links h2 {
        padding: 0;
        font-size: .9em !important;
    }
    .three-blocks-row article {
        padding: .5em !important;
    }
    .visit-rules-img {
        width: 70% !important;
    }
    .visit-rules-img img {
        width: auto !important;
        height: 100%;
    }
    .visit-rules-short h2 {
        margin-top: 0;
    }
    .grid-list-col {
        width: 49%;
        display: inline-block;
        float: none;
        margin: 0;
        vertical-align: top;
    }
    /* CHILDREN PAGE */
    .children-programmes-news {
        display: block;
        padding: 1em 3em !important;
    }
    .children-programmes-news .column-progr {
        display: block;
        width: 100%;
        margin-bottom: 4em;
    }
    #block-novostiodetskihprogrammah h2 {
        margin-left: 2em;
    }
    /* EXHIBITION PAGE */
    ul.exhibition-list .thumbnail {
        margin: 0 1em 1em 0;
    }
    ul.news-list .thumbnail img {
        width: 100%;
        height: auto;
        border: 0;
    }
    .exhibition-block ul.links.inline {
        margin-top: 0;
        position: absolute;
        bottom: 31px;
        left: 315px;
    }
    .exhibition-block h2 {
        left: 250px !important;
        top: 3em;
    }
    .exhibition-block article>div>div:not(.thumbnail) {
        max-height: 169px;
        overflow: hidden;
    }
}


/* RESIZE 768px */

@media all and (max-width: 768px) {
    body {
        max-width: 100%;
        overflow-x: hidden;
    }
    article {
        padding: 1em 2em 3em;
    }
    p {
        margin: 0;
    }
    h1 {
        padding-left: 0;
    }
    #block-pereklucatelversiidlaslabovidasih-2 {
        display: block;
    }
    .site-branding a[rel=home] img {
        width: 50%;
    }
    #block-tzar-theme-breadcrumbs ol {
        margin: 1.5em 0 2em;
        padding-left: 2em;
    }
    .upper-info-block p {
        margin: 0;
    }
    .juicebox-parent.image-gallery {
        margin: 0 0 2em;
    }
    .views_slideshow_main {
        display: none;
    }
    ul.c-menu-main li i.link-trigger {
        /* display: none; */
    }
    #block-tzar-theme-page-title {
        padding: 0;
        margin: 1em 1.8em;
    }
    .language-switcher-language-url ul.links {
        margin-top: 2em !important;
    }
    .banner-full .banner-info-block {
        top: 65%;
        font-size: 1.1em;
    }
    .banner-block img {
        min-width: 100%;
        border: 0;
        height: 100%;
        width: auto;
    }
    .banner-block.banner-simple img {
        width: 100%;
        height: auto;
    }
    .welcome-slider {
        height: 200px;
    }
    .important-info-block {
        margin: 2em 2em;
        padding: 0;
    }
    .important-info-block article {
        padding: 0;
    }
    article.vaznaa_informacia {
        padding: 1em 2em;
    }
    .important-info-block article.vaznaa_informacia {
        padding: 1em 0;
    }
    #block-views-block-last-news-block-1>h2 {
        margin: 1em 2.1em auto;
    }
    #block-views-block-last-news-block-1 .col-1,
    #block-views-block-last-news-block-1 .col-2,
    #block-views-block-last-news-block-1 .col-3,
    .related-news-block .col-1,
    .related-news-block .col-2,
    .related-news-block .col-3 {
        float: none;
    }
    article.news_item,
    .related-news-block article {
        padding: 0;
    }
    .mainpage-main-info {
        padding: 0;
    }
    .mainpage-main-info .row-1 {
        padding: 0 0 3em;
    }
    .mainpage-main-info div.row-1 article {
        padding: 1em 2em;
    }
    #block-views-block-last-news-block-1 .thumbnail,
    .related-news-block .thumbnail {
        width: 100% !important;
        height: 300px !important;
        float: none;
        margin: 1em auto;
    }
    .cols-3 .news_item .thumbnail,
    .related-news-block .cols-3 .thumbnail {
        padding-top: 0 !important;
        height: 300px !important;
        width: 100% !important;
    }
    .cols-3 .news_item .thumbnail img,
    .related-news-block .thumbnail img {
        display: block;
        height: 100% !important;
        width: auto;
        position: static;
        border: 0;
    }
    article.news_item .page-block {
        padding: 0 2em;
    }
    #block-views-block-last-news-block-1 .row-1,
    .related-news-block .row-1 {
        padding: 0 7em;
    }
    .related-news-block .row-1 {
        padding: 0 2em;
        margin-bottom: 3em;
    }
    #block-views-block-nabor-ssylok-na-glavnoi-block-1 article,
    #block-views-block-nabor-ssylok-na-glavnoi-vtoroi-rad-block-1 article {
        width: 100%;
        padding: 0;
        margin: 0 auto;
    }
    .related-news-block article.news_item {
        padding-right: 0 !important;
        margin: 1% auto !important;
    }
    #block-views-block-last-news-block-1 footer a,
    #block-views-block-last-news-block-1 footer a:visited {
        font-size: 1.2em;
        margin: 1em;
    }
    .mainpaige-huge-blocks article {
        width: 80% !important;
    }
    #block-views-block-nabor-ssylok-na-glavnoi-block-1 .views-row,
    #block-views-block-nabor-ssylok-na-glavnoi-vtoroi-rad-block-1 .views-row {
        padding-bottom: 0;
    }
    #block-views-block-nabor-ssylok-na-glavnoi-vtoroi-rad-block-1 {
        margin-top: -4em;
    }
    .banner-full {
        display: block;
        width: 100% !important;
        height: 300px;
        overflow: hidden;
    }
    .welcome-banner .banner-full img {
        max-width: none;
        min-width: 100% !important;
        height: auto !important;
    }
    .banner-title {
        padding-left: 0 !important;
        font-size: 1.2em;
        margin: 1em 0;
    }
    .banner-simple .banner-title {
        padding-left: 1.7em !important;
        font-size: 1em;
    }
    .views-element-container>h2 {
        margin-left: 1.2em;
    }
    .huge-block-links {
        padding: 2em;
        margin-top: 0;
    }
    .huge-block-links.four-blocks-row .thumbnail img {
        width: 100%;
    }
    .three-blocks-row article {
        padding: 0 !important;
    }
    .huge-block-links h2 {
        font-size: 1.1em !important;
    }
    .contacts_address {
        padding: 3em;
        margin: auto;
    }
    .ca_col2,
    .ca_col1 {
        display: block;
        width: 100%;
        height: 100%;
        vertical-align: top;
        margin-bottom: 2em;
    }
    footer .footer-content {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: flex-start;
        justify-content: flex-start;
        -webkit-box-orient: vertical;
        -moz-box-orient: vertical;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    footer .footer-column {
        width: 100%;
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-orient: vertical;
        -moz-box-orient: vertical;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    footer .social-icons {
        margin-bottom: 4em;
    }
    footer .social-icons a.social-icon {
        margin-bottom: 1em;
    }
    footer .column-third {
        padding-left: 1em;
    }
    ul.c-menu-menu-s-kartinkami {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-orient: vertical;
        -moz-box-orient: vertical;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        margin: 0 auto !important;
    }
    .c-menu-menu-s-kartinkami .views-col {
        min-width: 100%;
        width: 100%;
    }
    .c-menu-menu-s-kartinkami .row-1 {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-orient: vertical;
        -moz-box-orient: vertical;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    .c-menu-menu-s-kartinkami article {
        margin: 0 auto !important;
    }
    ul.c-menu-menu-s-kartinkami li {
        display: block;
        width: 330px;
        height: auto;
        text-align: center;
        padding-top: 0.3em;
        background-size: contain;
        margin-bottom: 3em;
    }
    footer .column-first ul,
    .column-second ul {
        margin-left: 1em;
    }
    .site-footer {
        height: 100%;
    }
    div.row-1 {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: flex-start;
        justify-content: flex-start;
        -webkit-box-orient: vertical;
        -moz-box-orient: vertical;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .col-1,
    .col-2,
    .col-3 {
        width: 100% !important;
        padding-top: 1em !important;
    }
    .col-1 article {
        margin: 0;
    }
    .huge-block-links article {
        padding: 0;
    }
    .three-blocks-row .row-1 {
        display: block;
        padding: 0;
    }
    .three-blocks-row article {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-orient: vertical;
        -moz-box-orient: vertical;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0;
    }
    .four-blocks-row {
        padding: 0;
    }
    .four-blocks-row .views-col {
        width: 100% !important;
    }
    #block-views-block-last-news-block-1 .row-1 {
        padding: 0 2em;
    }
    #block-views-block-novosti-restavracii-block-1>h2,
    #block-views-block-novosti-podderzki-block-1>h2 {
        margin: 2em 1.2em auto !important;
    }
    .upper-info-block {
        padding: 1em 2em !important;
    }
    .views-view-grid.cols-4 {
        margin: 0 2em;
    }
    .related-bottom .wrapper {
        margin: 0 2em;
    }
    /* NEWS PAGE */
    ul.news-list article {
        padding: 1em 2em !important;
        margin: 0 auto 3em;
        /*display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-orient: vertical;
        -moz-box-orient: vertical;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;*/
        display: block;
        width: 100%;
        height: 100%;
        position: static;
    }
    ul.news-list h2 {
        margin: 1em 0;
    }
    ul.news-list article>div:last-child {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-orient: vertical;
        -moz-box-orient: vertical;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    ul.news-list .thumbnail {
        position: static;
        width: 100%;
        overflow: hidden;
        height: 300px;
        float: none;
        padding: 0 !important;
        margin: 0 !important;
    }
    ul.news-list .thumbnail img {
        /*height: 100%;*/
        max-width: 100%;
        width: auto;
        /* min-height: 300px; */
        width: auto;
        display: block;
        position: static;
    }
    ul.news-list article>div>div:not(.thumbnail) {
        width: 100%;
        padding: 0;
        height: auto;
    }
    ul.news-list ul.links.inline {
        position: static;
        display: block;
        margin: 2em auto;
        width: 8em;
    }
    .news-item .publication-date {
        padding: .2em 0 1em;
    }
    .cols-3 .news_item .thumbnail img {
        max-width: 100%;
        /* min-height: 300px; */
        width: auto;
        display: block;
        position: static;
        height: auto !important;
    }
    /*ul.news-list, ul.news-list li, ul.news-list article, ul.news-list .thumbnail {
      padding: 0 !important;
      margin: 0 !important;
    }*/
    /* CHILDREN */
    .children-programmes-news {
        -webkit-box-orient: vertical;
        -moz-box-orient: vertical;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-align-items: center;
        align-items: center;
        -webkit-justify-content: center;
        justify-content: center;
        width: 100%;
        padding: 0 !important;
    }
    .children-programmes-news .column-progr {
        width: 100% !important;
        margin: 2em auto !important;
    }
    /* INFO PAGE */
    .visit-rules {
        -webkit-box-orient: vertical;
        -moz-box-orient: vertical;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        margin: 8em 2em;
        height: auto;
    }
    .visit-rules-img {
        width: 100% !important;
    }
    .visit-rules-img img {
        width: 100% !important;
    }
    /* LOGIN FORM */
    .user-login-form {
        width: 300px !important;
    }
    .user-login-form input {
        width: 300px !important;
    }
    .user-login-form input[value="Войти"] {
        width: 100px !important;
    }
    /* EXHIBITION PAGE */
    .exhibition-block h2 a {
        position: static;
    }
    ul.exhibition-list .thumbnail {
        width: 100% !important;
        margin: 0 auto;
        ;
    }
    ul.exhibition-list h2 {
        line-height: 1.5em;
        margin-bottom: 0;
    }
    .exhibition-block ul.links.inline {
        width: 100%;
        position: static;
        margin: 1em auto;
        text-align: center;
    }
    .exhibition-block article>div>div:not(.thumbnail) {
        padding-top: 1em !important;
        max-height: none;
    }
    .exhibition-block article>div:last-child {
        min-height: 0;
    }
    /* LISTINGS */
    ul.pages-list article {
        padding: 1em 2em 1em .5em;
        margin: 0 auto 3em;
        /*display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-orient: vertical;
        -moz-box-orient: vertical;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;*/
        display: block;
        width: 100%;
        height: 100%;
    }
    ul.pages-list h2 {
        margin-left: 1em;
        height: 100%;
    }
    ul.pages-list article>div:last-child {
        /*display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-orient: vertical;
        -moz-box-orient: vertical;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;*/
        display: block;
        width: 100%;
        height: 100%;
    }
    ul.pages-list .thumbnail {
        position: relative;
        width: 100%;
        overflow: hidden;
        height: 300px;
        padding: 0 1.5em;
    }
    .latest-pub ul.pages-list .thumbnail img,
    ul.pages-list .thumbnail img {
        height: auto;
        min-width: unset;
    }
    ul.pages-list article>div>div:not(.thumbnail) {
        padding: 1em 0 3em 1.5em;
        max-height: unset;
    }
    ul.pages-list ul.links.inline {
        display: block;
        position: static;
        margin: 0 auto;
        padding: 1em;
        text-align: center;
    }
    .grid-list-col {
        width: 100% !important;
    }
    .grid-list-col .thumbnail {
        width: 100%;
        padding-top: 40%;
    }
    .grid-list-col article {
        width: 100%;
        height: 100%;
        display: block;
        padding: 0;
        margin: 2em 0;
    }
    /* COLLECTIONS */
    .collections-main {
        padding: 0 2em;
    }
    /* RELATED NEWS */
    .related-news-block.sidebar-news {
        border-top: solid 1px #ccc;
    }
    .related-news-block.sidebar-news .views-row {
        padding: 0;
    }
    .related-news-block.sidebar-news article {
        width: 100%;
        display: block;
        padding: 0;
        margin: 0 2em;
    }
    .related-news-block.sidebar-news ul.links.inline {
        display: none;
    }
    .related-news-block.sidebar-news .thumbnail {
        width: 100% !important;
        height: 300px !important;
        margin: 1em auto;
        padding: 0;
    }
    .related-news-block.sidebar-news .col-1 {
        padding: 0 1em;
    }
    .related-object article {
        padding: 1em 1em 3em;
    }
    #block-ssylkanakopirait {
        margin: 2em;
    }
    #block-ssylkanakopirait p,
    #block-ssylkanakopirait a {
        color: #eee;
        font-size: 1em;
        margin-bottom: 1em;
    }
    #block-ssylkanakopirait a {
        padding-left: 0;
    }
    .info-pages-block.related-object .thumbnail {
        padding-top: 50%;
    }
    /* CONCERTS */
    .concerts div.event-time {
        float: none;
        margin-bottom: 2em;
    }
    .concerts article {
        width: 100%;
        padding: 0 3em;
    }
    .concerts article div:last-child {
        width: 100%;
    }
    #block-formapoiska {
        display: none;
    }
}


/* BLIND */

body.high-contrast,
body.high-contrast p {
    font-size: 20px;
}

body.high-contrast img {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    /*-ms-filter: grayscale(100%);*/
    filter: grayscale(100%);
}

body.high-contrast .site-header {
    height: auto;
}

body.high-contrast #block-views-block-welcome-slider-block-1,
body.high-contrast .banner-block,
body.high-contrast .thumbnail,
body.high-contrast .section-title,
body.high-contrast .sidebar-link-icon,
body.high-contrast .juicebox-parent.image-gallery {
    display: none !important;
}

body.high-contrast ul.news-list article,
body.high-contrast ul.pages-list article {
    padding-left: 0;
    margin: 0 3em 4em;
}

body.high-contrast ul.news-list article>div:last-child {
    min-height: 10em;
}

body.high-contrast article {
    padding: 1em 1em 3em;
}

body.high-contrast .important-info-block .row-1 {
    padding: 0;
    margin: 0 auto;
}

body.high-contrast .important-info-block {
    margin: 2em 0 !important;
    padding: 0;
}

body.high-contrast .views-view-grid.cols-4 {
    margin: 0 .5em;
}

body.high-contrast .related-object article {
    padding: 1em 0 3em;
}

body.high-contrast ul.news-list ul.links.inline,
body.high-contrast ul.pages-list article ul.links.inline {
    margin-top: 0;
    position: static;
    padding-left: 1em;
}

body.high-contrast .exhibition-block ul.links.inline {
    margin-top: 0;
    position: static;
    padding-left: 0;
    padding-top: 2em;
}

body.high-contrast a.sidebar-link.row-link {
    height: 70px;
}

body.high-contrast #block-tzar-theme-page-title {
    padding: 0 .5em;
}

body.high-contrast #block-views-block-last-news-block-1 {
    border-top: solid #000;
}

body.high-contrast .c-menu-menu-s-kartinkami,
body.high-contrast #block-views-block-last-news-block-1 footer {
    border-bottom: solid #000 !important;
}

body.high-contrast .three-blocks-row article {
    margin: 0;
    padding: 0 1em;
}

body.high-contrast .huge-block-links h2 a,
body.high-contrast .huge-block-links h2 a:active {
    padding: 1em;
}

body.high-contrast .related-news-block article.news_item {
    padding-right: 1em;
    padding-left: 1em;
}

body.high-contrast ul.pages-list article>div>div:not(.thumbnail) {
    max-height: none;
    order: initial;
}

body.high-contrast .grid-list-col article h2 {
    background-color: #eee;
    padding: 1em;
}

body.high-contrast .exhibition-block h2 a {
    position: static;
}

body.high-contrast .cols-3 {
    padding: 0;
}

body.high-contrast .mainpage-main-info article {
    padding: 1em 1em 3em;
}

body.high-contrast .site-header {
    background-image: none;
    border-bottom: 5px #eee solid;
}

body.high-contrast .site-branding a[rel=home] {
    color: #eee;
}

body.high-contrast footer {
    color: #eee;
    font-size: 1.2em;
}

body.high-contrast footer ul li a,
footer ul li a:visited {
    color: #eee;
}

body.high-contrast .main-navigation nav h2 {
    font-size: 25px !important;
    color: #eee !important;
}

body.high-contrast .main-navigation nav>ul>li {
    line-height: 1.3 !important;
    font-size: 25px !important;
    letter-spacing: 2px;
}

@media all and (max-width: 998px) {
    body.high-contrast h1,
    body.high-contrast h2 {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    body.high-contrast #block-tzar-theme-page-title {
        padding: 0;
        margin: 1em;
    }
    body.high-contrast .related-news-block .row-1 {
        padding: 0;
    }
    body.high-contrast #block-views-block-novosti-restavracii-block-1>h2,
    body.high-contrast #block-views-block-novosti-podderzki-block-1>h2 {
        margin: 2em 2em auto !important;
    }
    body.high-contrast .mainpage-main-info div.row-1 article {
        padding: 1em;
    }
    body.high-contrast .important-info-block {
        margin: 2em 1em;
        padding: 0;
    }
    body.high-contrast article.news_item {
        padding: 1em;
    }
    body.high-contrast ul.news-list ul.links.inline,
    body.high-contrast ul.pages-list article ul.links.inline {
        margin-top: 1em;
        position: static;
        padding-top: 1em;
        padding-left: 1em;
        width: 9em;
    }
    body.high-contrast ul.news-list article>div>div:not(.thumbnail) {
        width: 100%;
        padding: 3em 0;
        height: 100%;
    }
    body.high-contrast #block-views-block-last-news-block-1 .row-1 {
        padding: 0;
    }
    body.high-contrast #block-views-block-last-news-block-1>h2 {
        margin: 1em 2em auto;
    }
}

@media all and (max-width: 768px) {
    body.high-contrast .main-navigation nav>h2 {
        color: rgba(15, 20, 32, 0) !important;
    }
}

.form-item-field-event-date-value-1-min,
.form-item-field-event-date-value-1-max {
    display: none;
}

.maintenance-page-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 40px;
    background: rgb(27, 34, 47);
    color: #b5b2b2;
}

.maintenance-page-wrapper h1 {
    color: #b5b2b2;
}

.maintenance-page-wrapper h1 a {
    font-family: Geneva, Tahoma, sans-serif;
    font-size: 1.2rem;
    color: #ff9b39;
    text-transform: uppercase;
    text-decoration: none;
}

.ui-datepicker .ui-datepicker-title {
    font-weight: normal;
    text-transform: uppercase;
}

.field_offdays {
    overflow: hidden;
    width: 0;
    height: 0;
    margin: -1px;
    position: absolute;
}
.simplenews-subscriber-page-form {
    margin:0 2em;
}
.simplenews-subscriber-page-form input {
    margin: .4em 0;
}
@import url('https://fonts.googleapis.com/css2?family=PT+Serif+Caption:ital,wght@0,400;0,700;1,400;1,700&display=swap');

.tzar-hotel-btncont {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 2rem;
  padding: 0 50px;
  z-index:1000;
}
.tzar-hotel-btnbox {
margin: 0 auto;
display: flex;
flex-direction: row;
justify-content: center;
width: 100%;
min-width: 360px;
max-width: 1600px;
text-align: right;
animation-name: slideDown;
animation-duration: 1s;
animation-timing-function: ease;
-webkit-animation-name: slideDown;
-webkit-animation-duration: 1s;
-webkit-animation-timing-function: ease;
}

.tzar-hotel-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    width: auto;
    padding: 15px 22px;
    background: #fff;
    border: 2px solid #afb4b2;
    border-radius: 100px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    position: relative;
    color: #000;
    font-size: 1rem;
    opacity: .73;
}
.tzar-hotel-btn:hover {
  background: #293140;
  color: #fff;
  opacity: 1;
}
.tzar-hotel-btnbox > label {
  position: relative;
  flex: 0 0 auto;
  right: 0;
  display: inline-block;
  display: none;
  border-radius: 1rem;
  padding: .2rem .4rem;
  height: 1.5rem;
  background-color: #afb4b2;
  cursor:pointer;
}
.tzar-hotel-btnbox > label:after{
  display: inline-block;
  content: "\00d7";
}

#tzar-hotel-close {
  display: none;
}

@media (max-width: 1100px) {
  .tzar-hotel-btnbox {
    justify-content: center;
  }
  .tzar-hotel-btn{
    justify-content: center;
    width: 100%;
    max-width: 370px;
    opacity: .9;
  }
  .tzar-hotel-btnbox > label {
    display: inline-block;
  }
  #tzar-hotel-close:checked ~ .tzar-hotel-btnbox {
    justify-content: end;
  }
  #tzar-hotel-close:checked ~ .tzar-hotel-btnbox > a {
    display: none;
  }
}

@keyframes slideDown {
  0% {
      transform: translateY(150%);
  }
  50%{
      transform: translateY(8%);
  }
  65%{
      transform: translateY(-4%);
  }
  80%{
      transform: translateY(4%);
  }
  95%{
      transform: translateY(-2%);
  }
  100% {
      transform: translateY(0%);
  }
}

@-webkit-keyframes slideDown {
  0% {
      -webkit-transform: translateY(100%);
  }
  50%{
      -webkit-transform: translateY(8%);
  }
  65%{
      -webkit-transform: translateY(-4%);
  }
  80%{
      -webkit-transform: translateY(4%);
  }
  95%{
      -webkit-transform: translateY(-2%);
  }
  100% {
      -webkit-transform: translateY(0%);
  }
}
