section {
  position: relative;
  width: 100%;
  overflow: hidden;
}
#main{
  min-height: 100vh;
  background-position: center;
  background-size: cover;
  background-color: #2465A5;
  padding: 20px 16%;
}
.bg1{background-image: url(/img/back1.jpg);}
.bg2{background-image: url(/img/back2.jpg);}
.bg3{background-image: url(/img/back3.jpg);}
.bg4{background-image: url(/img/back4.jpg);}
.bg5{background-image: url(/img/back5.jpg);}
.bg6{background-image: url(/img/back6.jpg);}
.bg7{background-image: url(/img/back7.jpg);}
#main header {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  padding: 60px 0;
}
#main header .header_contact {
  flex: 1;
  display: flex;
}
#main header .header_contact .header_contact_map,
#main header .header_contact .header_contact_contacts {
  margin-right: 20px;
  white-space: nowrap;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#main header .header_contact .header_contact_map img,
#main header .header_contact .header_contact_contacts img {
  width: 37px;
  height: 49px;
  margin-right: 20px;
}
#main header .header_contact .header_contact_map span,
#main header .header_contact .header_contact_contacts span {
  color: #F2C84D;
  text-transform: uppercase;
  transition: 0.5s;
}
#main header .header_contact .header_contact_map span:hover,
#main header .header_contact .header_contact_contacts span:hover {
  color: #fff;
}
#main header .header_logo {
  flex: 1;
  text-align: center;
}
#main header .header_lang_soc {
  flex: 1;
  display: flex;
  align-content: space-between;
  flex-wrap: wrap;
}
#main header .header_lang_soc .lang_switch {
  width: 100%;
  text-align: right;
}
#main header .header_lang_soc .lang_switch a {
  color: #fff;
  font-size: 1.2em;
  margin-left: 10px;
  transition: 0.5s;
}
#main header .header_lang_soc .lang_switch a:hover {
  color: #F2C84D;
}
#main header .header_lang_soc .lang_switch a img {
  height: .9em;
}
#main header .header_lang_soc .social {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}
#main header .header_lang_soc .social a {
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
}
#main header .header_lang_soc .social a img {
  height: inherit;
}
#main nav.main_menu {
  width: 100%;
  display: flex;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
#main nav.main_menu::after {
  content: "";
  background: url(/img/booking_back.jpg);
  background-size: cover;
  opacity: 0.78;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: 0;
}
#main nav.main_menu a {
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
  padding: 20px 0;
  color: #000;
  transition: 0.5s;
}
#main nav.main_menu a:hover {
  background: #F6CD4A;
}
#main nav.main_menu a.nav_active {
  background: #F6CD4A;
}
#main .scroll_here {
  position: absolute;
  width: 30px;
  height: 55px;
  margin-left: -20px;
  bottom: 15%;
  left: 50%;
  margin-top: -35px;
  box-shadow: inset 0 0 0 1px #fff;
  border-radius: 25px;
}
#main .scroll_here::before {
  position: absolute;
  left: 50%;
  content: '';
  width: 8px;
  height: 8px;
  background: #fff;
  margin-left: -4px;
  top: 8px;
  border-radius: 4px;
  -webkit-animation-duration: 1.5s;
  animation-duration: 1.5s;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-name: scroll;
  animation-name: scroll;
}
@-webkit-keyframes scroll {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    -webkit-transform: translateY(46px);
    transform: translateY(46px);
  }
}
@keyframes scroll {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    -webkit-transform: translateY(46px);
    transform: translateY(46px);
  }
}
#booking {
  padding: 40px 16%;
  background: url(/img/booking_back.jpg);
  background-size: cover;
}
#booking form {
  display: flex;
  justify-content: space-between;
}
#booking form input {
  width: 23%;
  outline: none;
}
#booking form input[type="text"] {
  padding: 12px 15px;
  background-color: #FAE9B9;
  border: 1px solid #FAE9B9;
  border-radius: 10px;
  text-align: center;
}
#booking form input[type="submit"] {
  background-color: #4c71a8;
  border: 1px solid #000101;
  border-radius: 10px;
  padding: 12px 15px;
  color: #fff;
  text-transform: uppercase;
}
input[type="text"]::-webkit-input-placeholder {
  color: #353535;
}
input[type="text"]:-moz-placeholder {
  color: #353535;
}
input[type="text"]::-moz-placeholder {
  color: #353535;
}
input[type="text"]:-ms-input-placeholder {
  color: #353535;
}
#services {
  padding: 50px 16% 0;
  background: #E8E8E8;
}
#services h2 {
  font-size: 1.4em;
  font-weight: normal;
  text-transform: uppercase;
  padding-bottom: 50px;
  text-align: center;
}
#services .services_container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
#services .services_container .services_item {
  width: 19%;
  margin-left: 3%;
  margin-right: 3%;
  margin-bottom: 70px;
  text-align: center;
}
#services .services_container .services_item img {
  width: 50%;
}
#services .services_container .services_item span {
  display: block;
}
#preface {
  padding: 70px 16%;
  background: url(/img/preface.jpg);
  background-size: cover;
}
#preface h2 {
  font-size: 2em;
  text-align: center;
  text-transform: uppercase;
  padding-bottom: 50px;
}
#preface .preface_content p {
  font-size: 1.1em;
  margin-bottom: 30px;
  padding-left: 30px;
  position: relative;
  line-height: 1.5em;
}
#preface .preface_content p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 7px;
  height: 100%;
  background: #E6B95A;
}
#social {
  padding: 30px 16%;
  background: url(/img/booking_back.jpg);
  background-size: cover;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#social .social_header h2 {
  color: #fff;
  font-size: 1.4em;
  text-transform: uppercase;
}
#social .social_header p {
  color: #3172AB;
}
#social .social_links a {
  margin: 0 15px;
}
#social .social_links a img {
  height: 2em;
}
#gallery .container a {
  position: relative;
}
#gallery .container a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  transition: 0.5s;
}
#gallery .container a:hover::before {
  background: rgba(0, 0, 0, 0.3);
}
#stat {
  padding: 60px 16%;
  background: url(/img/booking_back.jpg);
  background-size: cover;
}
#stat .stat_container {
  display: flex;
  justify-content: space-around;
}
#stat .stat_container .stat_item {
  text-align: center;
}
#stat .stat_container .stat_item span {
  display: block;
  color: #3172AB;
  font-size: 4em;
}
#stat .stat_container .stat_item p {
  color: #fff;
  text-transform: uppercase;
}
#clients {
  padding: 60px 16%;
  background: #fff;
}
#clients img {
  width: 100%;
}
#map {
  height: 500px;
  overflow: hidden;
}
#footer_menu nav {
  width: 100%;
  padding: 0 16%;
  display: flex;
  overflow: hidden;
  position: relative;
  background: #3172AB;
}
#footer_menu nav a {
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
  padding: 20px 0;
  color: #fff;
}
#footer_menu nav a.lll {
  text-align: left;
}
#footer_menu nav a.rrr {
  text-align: right;
}
#footer {
  padding: 70px 16%;
  background: url(/img/footer_back.jpg);
  background-size: cover;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}
#footer .footer_logot {
  width: 30%;
}
#footer .footer_logot img {
  width: 80%;
  margin-bottom: 60px;
}
#footer .footer_logot span {
  display: block;
  text-transform: uppercase;
  font-size: .9em;
  color: #fff;
}
#footer .footer_teladr {
  width: 40%;
  display: flex;
  justify-content: space-between;
}
#footer .footer_teladr .adr_block h4,
#footer .footer_teladr .tel_block h4 {
  color: #fff;
  text-transform: uppercase;
  padding-bottom: 20px;
}
#footer .soc_stu {
  width: 30%;
  display: flex;
  align-content: space-between;
  flex-wrap: wrap;
  justify-content: flex-end;
}
#footer .soc_stu .social {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}
#footer .soc_stu .social a {
  padding: 10px;
  border-radius: 50%;
  border: 2px solid #fff;
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
}
#footer .soc_stu .social a img {
  height: 1.3em;
}
#footer .soc_stu .author {
  color: #fff;
  text-transform: uppercase;
  text-align: right;
}
/* new sections */
#blog {
  padding: 70px 16%;
  background: #E8E8E8;
}
#blog h2 {
  font-size: 1.8em;
  font-weight: bold;
  text-transform: uppercase;
  padding-bottom: 50px;
  text-align: center;
}
#blog .blog_container {
  margin-bottom: 40px;
}
#blog .blog_container .blog_item {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}
#blog .blog_container .blog_item::after {
  content: "";
  background: url(/img/bottom_border.png);
  background-repeat: repeat;
  width: 100%;
  height: 7px;
}
#blog .blog_container .blog_item .blog_item_text {
  width: 80%;
  padding-bottom: 24px;
}
#blog .blog_container .blog_item .blog_item_text h3 {
  font-size: 1.2em;
  padding-bottom: 14px;
}
#blog .blog_container .blog_item .blog_item_button {
  padding-bottom: 24px;
}
#blog .blog_container .blog_item .blog_item_button a {
  border-radius: 10px;
  background: url(/img/read_full.png);
  background-size: cover;
  text-transform: uppercase;
  color: #fff;
  padding: 10px 42px;
  background-color: #555555;
}
#blog .blog_more_container {
  width: 100%;
  text-align: center;
}
#blog .blog_more_container a {
  border-radius: 10px;
  background: url(/img/ns_yellow_back.png);
  background-size: cover;
  text-transform: uppercase;
  color: #000;
  padding: 10px 30px;
}
#contacts {
  padding: 70px 16% 50px;
  background: #E8E8E8;
}
#contacts h2 {
  font-size: 1.8em;
  font-weight: bold;
  text-transform: uppercase;
  padding-bottom: 50px;
  text-align: center;
}
#contacts .contacts_item {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 30px;
}
#contacts .contacts_item .contacts_item_img {
  width: 5em;
  margin-right: 30px;
}
#contacts .contacts_item .contacts_item_img img {
  width: inherit;
}
#rooms {
  padding: 70px 16% 0;
  background: #E8E8E8;
}
#rooms h2 {
  font-size: 1.8em;
  font-weight: bold;
  text-transform: uppercase;
  padding-bottom: 50px;
  text-align: center;
}
#rooms .rooms_item {
  margin-bottom: 35px;
}
#rooms .rooms_item h3 {
  font-size: 1.3em;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 10px;
}
#rooms .rooms_item p {
  margin-bottom: 15px;
}
#rooms .rooms_item .hr {
  width: 100%;
  height: 7px;
  background: url(/img/bottom_border.png);
  background-repeat: repeat;
  margin-bottom: 15px;
}
#composition {
  background: #D0D0D0;
  padding: 70px 16%;
}
#composition h2 {
  font-size: 1.8em;
  font-weight: bold;
  text-transform: uppercase;
  padding-bottom: 50px;
}
#composition ul {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
  list-style-position: inside;
}
.to_top_container {
  display: none;
}
.to_top_container .to_top {
  display: none;
  position: fixed;
  bottom: 5%;
  right: 5%;
  height: 3em;
  width: 3em;
}
.to_top_container .to_top img {
  height: inherit;
}
/* gallery grid styles */
.container:before,
.container:after {
  content: "";
  display: table;
}
.container:after {
  clear: both;
}
.item {
  float: left;
}
.item img {
  max-width: 100%;
  max-height: 100%;
  vertical-align: bottom;
}
.first-item {
  clear: both;
}
.last-row,
.last-row ~ .item {
  margin-bottom: 0;
}
/* mobile menu */
.mobile_menu {
  padding: 5% 10%;
}
.mobile_menu .punkts {
  margin-bottom: 30px;
}
.mobile_menu .punkts a {
  display: block;
  color: #fff;
  margin: 5px 0;
  padding: 3px 0;
  text-transform: uppercase;
}
.mobile_menu .header_contact {
  flex: 1;
  display: flex;
}
.mobile_menu .header_contact .header_contact_map,
.mobile_menu .header_contact .header_contact_contacts {
  margin-right: 20px;
  white-space: nowrap;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile_menu .header_contact .header_contact_map img,
.mobile_menu .header_contact .header_contact_contacts img {
  width: 37px;
  height: 49px;
  margin-right: 20px;
}
.mobile_menu .header_contact .header_contact_map span,
.mobile_menu .header_contact .header_contact_contacts span {
  color: #F2C84D;
  text-transform: uppercase;
}
.mobile_menu .header_contact .header_contact_contacts img {
  margin-left: -7px;
  margin-right: 27px;
}
.mobile_menu .lang_switch {
  margin-bottom: 30px;
  width: 100%;
}
.mobile_menu .lang_switch a {
  color: #fff;
  font-size: 1.2em;
  margin-left: 10px;
}
.mobile_menu .lang_switch a img {
  height: .9em;
}
/* full styles for mobile menu (hamburger + window)*/
.menu {
  transition: 0.1s -webkit-transform linear;
  transition: 0.1s transform linear;
  transition: 0.1s transform linear, 0.1s -webkit-transform linear;
  position: relative;
  background: 0;
  height: 1.9rem;
  width: 2.7rem;
  z-index: 11;
  outline: 0;
  padding: 0;
  border: 0;
}
.bar,
.bar::before,
.bar::after {
  transition: 0.2s background linear 0.1s, 0.2s top linear 0.2s, 0.2s -webkit-transform linear;
  transition: 0.2s background linear 0.1s, 0.2s top linear 0.2s, 0.2s transform linear;
  transition: 0.2s background linear 0.1s, 0.2s top linear 0.2s, 0.2s transform linear, 0.2s -webkit-transform linear;
  position: absolute;
  background: #fff;
  margin: auto;
  width: 100%;
  height: 0.3rem;
  content: '';
  top: 50%;
  left: 0;
}
.bar {
  margin-top: -0.2rem;
}
.bar::before {
  top: -0.8rem;
}
.bar::after {
  top: .8rem;
}
.bar::before,
.bar::after {
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
}
.active .bar {
  background: 0;
}
.active .bar::before {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.active .bar::after {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.active .bar::before,
.active .bar::after {
  top: 0;
}
.active .bar,
.active .bar::before,
.active .bar::after {
  transition: 0.2s background linear 0.1s, 0.2s top linear, 0.2s -webkit-transform linear 0.2s;
  transition: 0.2s background linear 0.1s, 0.2s top linear, 0.2s transform linear 0.2s;
  transition: 0.2s background linear 0.1s, 0.2s top linear, 0.2s transform linear 0.2s, 0.2s -webkit-transform linear 0.2s;
}
nav.mobile_menu {
  z-index: 10;
  width: 100%;
  height: 100%;
  background: #2465A5;
  position: fixed;
  top: 0;
  left: 0;
  transform: translateX(-200%);
  transition: -webkit-transform 0.6s cubic-bezier(0.56, 0.1, 0.34, 0.91);
  transition: transform 0.6s cubic-bezier(0.56, 0.1, 0.34, 0.91);
  transition: transform 0.6s cubic-bezier(0.56, 0.1, 0.34, 0.91), -webkit-transform 0.6s cubic-bezier(0.56, 0.1, 0.34, 0.91);
  padding-top: 6.2rem;
}
.menu-open nav.mobile_menu {
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
nav.mobile_menu ul {
  margin: 0;
  list-style: none;
  padding: 0;
}
nav.mobile_menu ul li {
  padding: 20px 5px;
  font-size: 2rem;
}
nav.mobile_menu ul li:hover {
  background: blue;
}
/* Popup thanks */
#thanks_container {
  display: none;
  padding: 60px 0;
}
.success_tick {
  max-height: 110px;
  margin-bottom: 20px;
}
.modal_form_success_text {
  font-size: 1.4em;
  font-weight: normal;
  text-align: center;
}
.call_thanks {
  display: none;
}
