@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
.lato-thin {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.lato-light {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.lato-regular {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.lato-bold {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.lato-black {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.lato-thin-italic {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.lato-light-italic {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.lato-regular-italic {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.lato-bold-italic {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.lato-black-italic {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: italic;
}


.welcome-title-h1, .welcome-subtitle  {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
    font-weight: 700;
  font-style: normal;
}
html {
    color: #2e3134;
    font-size: 14px;
}
body {
  font-family: "Lato", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  position: relative;
  background-color: #fff;
    overflow-x: hidden;
}
#block-pereslavl-main-menu .menu-item {
text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;	
	margin-bottom: 30px;
}
code, pre {
  font-family: 'Fira Code', monospace !important;
  font-variant-ligatures: common-ligatures !important;
  -webkit-font-feature-settings: "liga", "calt" !important;
  font-feature-settings: "liga", "calt" !important;
  color: #565656 !important;
  overflow: hidden !important;
  white-space: pre-wrap; 
  word-break: break-word; 
  display: flex;
  align-items: center;
  min-height: 80px; 
}
pre {
  display: block  !important;
}
.uk-link, a {
    color: #585a5c !important;
}
header {
    position: absolute;
    top: 0;
	left: 0;
    right: 0;
	z-index: 300;
	display: block
}
.page-container {
    min-height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
}
.main-container, .footer-container { 
    display: block;
}
.region-primary-menu {
    font-family: "Fira Sans", sans-serif;
    z-index: 110;
}
.welcome-h1 {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    padding-top: 30vh;
    width: 100%;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    max-width: 1920px;
}
.welcome-title-h1 {
    margin: 0;
    padding: 0;
    text-align: left;
    color: #fff;
}
@media (min-width: 1200px) {
    html {
        font-size: 18px;
    }
.welcome-h1 {
        padding-left: 320px;
        padding-right: 110px;
    }	
    .h1, h1 {
        font-size: 80px !important;
        line-height: 90px;
    }
.welcome-h1 span {
        font-size: 70px;
        line-height: 90px;
}
.section, .block--system, .block--page-title, .menu--account {
        padding-top: 80px;
        padding-bottom: 80px;
        padding-left: 115px;
    }	
.field--name-field-pro-muzey, .field--name-field-adres, .field--name-field-adres-na-karte, .field--name-field-oficalnyy-sayt {
        padding-left: 250px;
        padding-right: 250px;
}	
} 
@media screen and (min-width: 1200px) and (max-height: 740px) and (min-width: 1200px) {
    .region-primary-menu {
        width: 70px;
    }
}
@media (min-width: 992px) {
.welcome-h1 {
        padding-top: 32vh;
        padding-left: 265px;
    }
}
@media (min-width: 768px) {
    .region-primary-menu {
        position: fixed;
        right: auto;
        top: 0;
        left: 0;
        bottom: 0;
        display: block;
        width: 115px;
        height: 100%;
        background-color: #373a42;
        -webkit-box-shadow: inset -2px 0 0 0 #30333a;
        box-shadow: inset -2px 0 0 0 #30333a;
        -webkit-transition: all .5s;
        transition: all .5s;
    }
	    .small {
        width: 50px;
    }
.welcome-h1 {
        padding-top: 36vh;
        padding-left: 145px;
        padding-right: 80px;
    }	
} 
/* Отключаем hover-эффекты на тач-устройствах */
@media (hover: hover) and (pointer: fine) {
    .uk-offcanvas-toggle:hover + [uk-offcanvas],
    .uk-offcanvas-toggle:hover ~ [uk-offcanvas] {
        transform: translateX(0);
    }

    /* Анимация открытия */
    [uk-offcanvas] {
        transition: transform 0.3s ease;
    }
}

.menu-item-icon {
  position: relative;
  padding-left: 0px !important;
}

.menu-item-icon::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-size: cover;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* Примеры отдельных иконок */
.icon-o-kompanii::before {
  background-image: url('/themes/custom/your_theme/icons/about.svg');
}
.icon-uslugi::before {
  background-image: url('/themes/custom/your_theme/icons/services.svg');
}
.icon-kontakty::before {
  background-image: url('/themes/custom/your_theme/icons/contact.svg');
}
[uk-toggle="target: #offcanvas-1"] .icones {
  background-image: url(../icons/sea.svg);
}
a[uk-toggle="target: #offcanvas-2"] .icones {
  background-image: url(../icons/hotel.svg);
}
a[uk-toggle="target: #offcanvas-3"] .icones {
  background-image: url(../icons/audio.svg); 
}
a[uk-toggle="target: #offcanvas-4"] .icones {
  background-image: url(../icons/365713.svg); 
}
.icones {
    background-repeat: no-repeat;
    background-position: top 10px center;
    background-size: 35px 35px;
    padding-top: 45px;
    text-align: center;
    height: auto;
    padding-left: 8px !important;
    color: #fff;
    line-height: 18px;
    background-position: top -1px center;
    margin-top: 20px;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    width: 25px;
    display: inline-block;
    height: auto;
}
.icones-text {
    display: block;	
}
.small .icones-text {
  display: none;  
}
.small .menu-item-icon {
width: 25px;
    height: 25px; 	
}
.small #block-pereslavl-main-menu .menu-item {
    margin-bottom: 60px;
}
.small .icones {
    background-size: 30px 30px;
}
.region-primary-menu a span {
  color: #fff;	
}
.uk-button-default {
    border: 1px solid #e5e5e500 !important;
}
.menu-item--expanded, .menu-item--expanded {
    list-style: none;
    padding-left: 0 !important;
}
.menu {
	padding-left: 0 !important;
}
.region-primary-menu .uk-button {
padding-right: 0 !important;
    text-transform: none !important;
	    font-size: 100%;
}
.uk-button-default:hover {
    color: #fff !important;
}
.region-primary-menu .uk-button {
    z-index: 200;
    position: relative;

}
.uk-open>.uk-offcanvas-bar {
    left: 115px !important;
}
.small .uk-open>.uk-offcanvas-bar {
    left: 50px !important;
}
.uk-offcanvas-bar {
    background: #373a42 !important;
}
.background-image-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    min-height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-left: 25px;
    padding-right: 25px;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: cover;
    background-color: #2e3134;
    color: #fff;
}
.background-image-wrapper:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    background-color: #000;
    opacity: .3;
}
.page-node-type-muzei .background-image-wrapper {
    min-height: 80vh; 
}
.uk-offcanvas-bar .menu-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 15px;
    text-decoration: none;
    color: #fff  !important;
	font-size: 16px;
	font-family: "Lato", sans-serif;
}
.uk-offcanvas-bar .menu-item  {
    display: flex   !important;
    align-items: center   !important;
    justify-content: left   !important;
    text-align: left  !important;
    padding: 10px 15px;
    text-decoration: none;
    color: #fff  !important;
	font-size: 16px;
	font-family: "Lato", sans-serif;
}
.uk-offcanvas-bar h5 {
    text-align: left;
    padding: 10px 30px;
    font-size: 24px;
    letter-spacing: .4px;	
}
@media (min-width: 768px) {
    body:not(.menu-opened) .left-menu .left-menu__section-sneaky {
        position: absolute;
        z-index: -2;
        top: 0;
        left: 100%;
        bottom: 0;
        display: none;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        width: 300px;
        padding-left: 70px;
        padding-right: 20px;
        background-color: #373a42;
        text-align: left;
        -webkit-transition: left .5s;
        transition: left .5s;
    }
}
.uk-offcanvas-bar .menu-item {
    margin-bottom: 0  !important;
}
footer {
    background-color: #373a42 !important;
    color: #fff !important;
    min-height: 180px;
    display: block;
}