
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
   scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Общее ---------- */

.button {
  background: #a12a22;
  color: white;
  padding: 12px 30px;
  border-radius: 2px;
  text-align: center;
  transition: 0.4s;
  border: 0;
}

a:hover.button, .button:hover {
  background: #a52a2a;
  color: white;
}

#contact input.webform-button--submit{
  width: auto;
}

.webform-submission-form .container {
  justify-content: center;
  display: flex;
}

/* ---------- Шапка ---------- */

#top {
  height: 100vh;
  background: url(../images/hotel.jpg);
  background-position: center;
}

#top .top-container {
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 0 15px;
}

#top .top-logo {
  margin-bottom: 30px;
}

#top img {
  filter: invert(1);
}

#top h1 {
  color: cornsilk;
  margin: 0 0 30px 0;
  font-size: 42px;
  filter: drop-shadow(2px 2px 3px black);
}

#top h2 {
  color: cornsilk;
  margin-bottom: 30px;
  font-size: 15px;
  text-transform: uppercase;
  filter: drop-shadow(2px 2px 3px black);
}

@media (min-width: 1024px) {
  #top {
    background-attachment: fixed;
  }
}

@media (max-width: 768px) {
  #top h1 {
    font-size: 28px;
    line-height: 36px;
  }
  #top h2 {
    line-height: 22px;
  }
}
#block-topcontact a {
  color: whitesmoke;
  font-size: 26px;
  filter: drop-shadow(2px 2px 3px black);
}

#block-topcontact a:hover {
  color: whitesmoke;
}

#block-topcontact .con {
  margin: 10px 0;
}

/* ---------- Навигация ---------- */

#header {
  height: 90px;
  transition: all 0.5s;
  z-index: 997;
  transition: all 0.5s;
  background: #fff;
  box-shadow: 0 4px 10px -3px rgba(191, 191, 191, 0.5);
  /*  эксперимент
  background: url(../images/wine.png);
  background-repeat: no-repeat;
  background-position-x: 11%;
  */
}

#header .container{
  
}

#header .logo h1 {
  font-size: 28px;
  margin: 0;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
}

#header .logo h1 a, #header .logo h1 a:hover {
  color: #fff;
  text-decoration: none;
}

#header .logo img {
  padding: 0;
  margin: 0;
  max-height: 40px;
}

@media (max-width: 992px) {
  #header {
    height: 70px;
  }
}

.scrolled-offset {
  margin-top: 90px;
}

@media (max-width: 992px) {
  .scrolled-offset {
    margin-top: 90px;
  }
}

.navbar {
  padding: 0;
  color: #7f180d; /* Цвет обычной ссылки */
  cursor: pointer;
  text-decoration: none; /* Убираем подчеркивание */
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
  margin: 14px;
}

.navbar a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  font-size: 15px;
  color: #151515;
  text-transform: uppercase;
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover, .navbar .active, .navbar li:hover > a {
  color: #a12a22;
}

.navbar .nav-link:after {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  bottom: -3px;
  width: 0;
  height: 2px; /* Высота линии */
  background-color: black; /* Цвет подчеркивания при исчезании линии*/
  transition: width 0.5s; /* Время эффекта */
}

.navbar .nav-link:hover:after {
  content: "";
  width: 100%;
  display: block;
  position: absolute;
  left: 0;
  bottom: -3px;
  height: 2px; /* Высота линии */
  background-color: #800000; /* Цвет подчеркивания при появлении линии*/
  transition: width 0.5s;  /* Время эффекта */
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 15px;
  text-transform: none;
  font-weight: 600;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover, .navbar .dropdown ul .active:hover, .navbar .dropdown ul li:hover > a {
  color: #7cc576;
}

.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }
  .navbar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
}

/* ---------- Крошки ---------- */

.breadcrumbs {
  padding: 20px 0;
  background-color: #f8fbfd;
}

.breadcrumbs h2 {
  font-size: 26px;
  font-weight: 300;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
}

.breadcrumbs ol li + li {
  padding-left: 10px;
}

.breadcrumbs ol li + li::before {
  display: inline-block;
  padding-right: 10px;
  color: #2f2f2f;
  content: "/";
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }
  .breadcrumbs ol {
    display: block;
  }
  .breadcrumbs ol li {
    display: inline-block;
  }
}

/* ---------- Контент ---------- */

.about {
  background-color: #f8fbfd;
}

.about .image, .event .image, .str .image {
  padding: 20px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.about .content h3 {
  font-weight: 600;
  font-size: 26px;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.about .content ul i {
  font-size: 24px;
  padding: 2px 6px 0 0;
  color: #7cc576;
}

.about .content p {
  text-indent: 15px;
  text-align: justify;
}

.about .content p:last-child {
  margin-bottom: 0;
}

#block-vntg-content {padding: 20px 0;}

/* ---------- Номера ---------- */

.room {
  padding-top: 20px;
}
.room .room-details-slider img {
  width: 100%;
  height: auto;
}
.room .room-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}
.room .room-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #a12a22;
}
.room .room-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #a12a22;
}
.room .room-info {
  padding: 20px;
  box-shadow: 0px 0 30px rgba(47, 77, 90, 0.08);
}
.room .room-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
  text-transform: uppercase;
  color:#a12a22;
}
.room .room-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}
.room .room-info ul li + li {
  margin-top: 10px;
}
.room .room-description {
  padding-top: 30px;
}
.room .room-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}
.room .room-description p {
  padding: 0;
}

.nom img {
  width: 100%;
  height: auto;
}
  
.nom h2 {
  margin: 20px;
  text-align: center;
}  

.nom .img {
  padding: 20px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.nom .bottom{
  margin-bottom: 30px;
}

/* ---------- Новости и акции ---------- */

.event h2 {margin: 10px 0;}
.events .section-title h2 {margin: 10px 0; font-size: 24px;}
.events h3 {margin: 10px 0; font-size: 20px;}


/* ---------- Формы ---------- */

#block-kontakty > div {height: 100%;}

#contact input, #contact textarea{width:100%;}

.form-text, .form-tel, .form-textarea {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.form-tel {    
	margin-top: 4px;
	
}

#block-yandekskarta {margin-top: 20px;}

#block-contact h2 {
	text-align: center;
    font-size: 24px;
}

#block-contact p {
	text-align: center;
}
.bron li {margin-bottom: 30px;}
.bron li {list-style-type: none;}

.bron a, #block-bronirovanie a {
	background: #a12a22;
    color: white;
    padding: 12px 30px;
    border-radius: 2px;
    text-align: center;
    transition: 0.4s;
    border: 0;}

/* ---------- Фото ---------- */

.photo img {
  width: 100%;
  height: auto;
}

.foto {
  padding-bottom: 20px;
}

.topfoto {
  padding-bottom: 20px;
  background-color: #1a1a1a;
}

.topfoto .section-title h2 {
  color: white;
}

.topfoto-white {
  padding-bottom: 20px;
}

.topfoto-white .section-title h2 {
  color: #1a1a1a;
}

/* ---------- Футер ---------- */

#footer {
  background: url("../images/bottom.jpg") center center no-repeat;
  color: #fff;
  font-size: 14px;
  position: relative;
}

#footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

#footer .footer-top {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 0;
}

#footer .footer-top .top-logo img {
  filter: invert(1);
}

#footer .footer-top h3 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  position: relative;
  font-family: "Poppins", sans-serif;
  padding: 30px 0 0 0;
  margin-bottom: 0;
}

#footer .footer-top p {
  font-size: 15;
  font-style: italic;
  margin: 30px 0 0 0;
  padding: 0;
}

#footer .footer-top .footer-newsletter {
  text-align: center;
  font-size: 15px;
  margin-top: 30px;
}

#footer .footer-top .footer-newsletter form {
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 50px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
}

#footer .footer-top .footer-newsletter form input[type="email"] {
  border: 0;
  padding: 4px 8px;
  width: calc(100% - 100px);
}

#footer .footer-top .footer-newsletter form input[type="submit"] {
  position: absolute;
  top: 0;
  right: -1px;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: #7cc576;
  color: #fff;
  transition: 0.3s;
  border-radius: 50px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#footer .footer-top .footer-newsletter form input[type="submit"]:hover {
  background: #5ab652;
}

#footer .footer-top .social-links {
  margin-top: 30px;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #7cc576;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: #5ab652;
  color: #fff;
  text-decoration: none;
}

#footer .footer-bottom {
  border-top: 1px solid #222222;
  z-index: 2;
  position: relative;
  padding-top: 40px;
  padding-bottom: 40px;
}

#footer .copyright {
  text-align: center;
}

#footer .credits {
  text-align: center;
  font-size: 13px;
  padding-top: 5px;
}

#block-contactpopup {
  text-align: center;
  padding-bottom: 60px;
}

#bxslider-field-photo img {height: auto;}

#BookOnline {margin: 30px 0;}