
/*@import 'css/others/pe-icon-7-stroke.css';*/

body {
  
  font-family: 'Roboto', Arial, sans-serif;

}
h1 {
    font-size: 32px;
    font-family: 'Lobster', Arial, sans-serif;
    color: #4a312c;
    text-align: center;
    margin: 30px 0;

}
h2 {
    font-size: 28px;
    font-family: 'Lobster', Arial, sans-serif;
    color: #4a312c;
    text-align: center;
    margin: 30px 0;
}
h3 {
    font-size: 19px;
    font-family: 'Lobster', Arial, sans-serif;
    color: #8a5d4a;
    text-align: center;
    margin: 30px 0;
}
.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  /*border: 1px solid blue;*/
}



/*---------------КНОПКА ПРОКРУТКИ-------------*/

#scrollUp {   /* кнопка прокрутки вверх */
    bottom: 30px;    /* от нижнего края */
    font-size: 18px;
    right: 30px;
    width: 40px;
    background-color: #9a5943; /* цвет кнопки */
    /*background: transparent url(..img/icons/icon_up.png) no-repeat center;*/
    /*background-image: url("..img/icons/icon_up.png");*/
    color: #fff;
    text-align: center;
    height: 40px;
    line-height: 44px;
    border-radius: 3px;
    font-size: 36px;
}
#scrollUp:hover {
    background-color: #4a312c;
}
/*---------------КОНЕЦ КНОПКА ПРОКРУТКИ-------------*/

/*-------------LOADING----------------------*/

#preloader {
    overflow: hidden;
    background-color: #fff; /* цвет фона при загрузке значка*/
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99999;
}

#preloader .preload-icons {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    z-index: 8;
    background-color: transparent;
    margin-top: -25px;
    margin-left: -25px;
    text-align: center;
    line-height: 50px;
}

.preload-icons > img {
    position: absolute;
    top: 50%;
    margin-top: -16px;
    left: 50%;
    margin-left: -16px;
}

.noclegi-load {
    -webkit-animation: 6000ms linear 0s normal none infinite running noclegi-load;
    animation: 6000ms linear 0s normal none infinite running noclegi-load;
    background: transparent none repeat scroll 0 0;
    border-color: #ebebeb #ebebeb #c4a169;  /* цвет кружка при загрузке*/
    border-radius: 50%;
    border-style: solid;
    border-width: 2px;
    height: 70px;
    position: relative;
    width: 70px;
    z-index: 9;
    top: 50%;
    left: 50%;
    margin-top: -35px;
    margin-left: -35px;
}

@-webkit-keyframes noclegi-load {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes noclegi-load {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

#preloader .preload-icons .preload-1 {
    -webkit-animation: 6000ms linear 0s normal none infinite running load-1;
    animation: 6000ms linear 0s normal none infinite running load-1;
}

@-webkit-keyframes load-1 {
    0% {
        opacity: 1;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    }
    30% {
        opacity: 1;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"
    }
    33.333% {
        opacity: 0;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"
    }
    100% {
        opacity: 0;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"
    }
}

@keyframes load-1 {
    0% {
        opacity: 1;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    }
    30% {
        opacity: 1;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"
    }
    33.333% {
        opacity: 0;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"
    }
    100% {
        opacity: 0;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"
    }
}


#preloader .preload-icons .preload-2 {
    -webkit-animation: 6000ms linear 0s normal none infinite running load-2;
    animation: 6000ms linear 0s normal none infinite running load-2;
}

@-webkit-keyframes load-2 {
    0% {
        opacity: 0;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    }
    27% {
        opacity: 0;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"
    }
    33.333% {
        opacity: 1;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"
    }
    60% {
        opacity: 1;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"
    }
    66.666% {
        opacity: 0;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"
    }
    100% {
        opacity: 0;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"
    }
}

@keyframes load-2 {
    0% {
        opacity: 0;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    }
    27% {
        opacity: 0;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"
    }
    33.333% {
        opacity: 1;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"
    }
    60% {
        opacity: 1;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"
    }
    66.666% {
        opacity: 0;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"
    }
    100% {
        opacity: 0;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"
    }
}

/*------------КОНЕЦ LOADING----------------------*/



/*----------------HEADER--------------------*/
.header {
    padding: 10px 0;
    background-color: #E5C7AD;
    height: 198px;
    position: relative;
    /*border: 1px solid black;*/


}
.header h1 {
    font-size: 36px;
    font-family: 'Lobster', sans-serif;
    color: #4a312c;
    text-align: left;
    margin: 10px 0;
    padding: 0 30px;
    display: inline-block;
    /*position: relative;*/
    /*border: 1px solid black;*/
   
}

.header h2 {
    font-size: 24px;
    font-family: 'Lobster', sans-serif;
    color: #8a5d4a;
    text-align: left;
    margin: 10px 0;
    padding: 0 30px;
    /*border: 1px solid red;*/
}
 small {
    font-family: 'Lobster', sans-serif;
    color: #9A5943;
    text-align: left;
    margin: 10px 0;
    padding: 0 30px;

}
 .small {
    font-family: 'Lobster', sans-serif;
    color: #9A5943;
    text-align: left;
    margin: 10px 0;
    padding: 0 30px;

}

/*------------НОМЕРА ТЕЛЕФОНОВ НА ШАПКЕ-------------------*/
.number h2 {
    padding: 0;
    margin: 0 5px 0 5px;
    position: relative;
    clear: both;
    display: inline;
    float: right;
    top: -140px;
    left: -75px;
    /*border: 1px solid red;*/
 }
 .number a {
    text-decoration: none;
    color: #8a5d4a;
 }
.number a:hover {color: #4a312c;}


/*-------------MENU LANG-----------------------------------*/
/* Dropdown Button */
.dropbtn {

    background-color: #9a5943;
    color: white;
    padding: 16px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    outline: none;
}

/* Dropdown button on hover & focus */
.dropbtn:hover, .dropbtn:focus {
    background-color: #efb38f;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
    margin: 0 10px;
    top: -90px;
    float: right;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: transparent;
    text-align: center;
    width: 50px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 10px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #efb38f;}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {display:block;}





/*-------------КОНЕЦ MENU LANG------------------------------*/


/*--------------MENU НАВИГАЦИЯ-----------------------------*/


.menu-main { /*контейнер меню*/
  position: absolute;
  width: 100%;
  max-width: 960px;
  list-style: none;
  margin: 15px 0 5px;
  padding: 20px 0 5px;
  text-align: center;
  background: white;
 /* border: 1px solid red;*/
  
}
.menu-main li {display: inline-block;} /*разделители меню*/
.menu-main li:after {
  content: "|";
  color: #606060;
  display: inline-block;
  vertical-align:top;
  
}
.menu-main li:last-child:after {content: none;}
.menu-main a {
  text-decoration: none;
  font-family: 'Lobster', sans-serif;
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 20px;
  margin: 0 34px 0 30px;
  font-size: 24px;
  display: inline-block;
  transition: color .2s;
 
}
.menu-main a, .menu-main a:visited {color: #4a312c;} /*нижнее подчеркивание пунктов меню*/
.menu-main a.current, .menu-main a:hover{color: #feb386;}
.menu-main a:before,
.menu-main a:after {
  content: "";
  position: absolute;
  height: 4px;
  top: auto;
  right: 50%;
  bottom: -5px;
  left: 50%;
  background: #feb386;
  transition: .8s;
 
}
.menu-main a:hover:before, .menu-main .current:before {left: 0;}
.menu-main a:hover:after, .menu-main .current:after {right: 0;} 

/*--------------КОНЕЦ MENU НАВИГАЦИЯ-----------------------------*/



/*------------------СЛАЙДЕР----------------------------------------*/
.slider {
      position: relative;
      overflow: hidden;
      max-width: 960px;
     width: 99%;
 
      margin-left: auto;
      margin-right: auto;
    }

    /* стили для обёртки, в которой заключены слайды */
    .slider__wrapper {
      position: relative;
      overflow: hidden;
    }

    /* стили для контейнера слайдов */
    .slider__items {
      display: flex;
      transition: transform 0.6s ease;
    }

    /* стили для слайдов */
    .slider__item {
      flex: 0 0 100%;
      max-width: 100%;
    }

    /* стили для кнопок "вперед" и "назад" */
    .slider__control {
      position: absolute;
      top: 50%;
      display: none;
      align-items: center;
      justify-content: center;
      width: 40px;
      color: #fff;
      text-align: center;
      opacity: 0.5;
      height: 50px;
      transform: translateY(-50%);
      background: rgba(0, 0, 0, 0.5);
    }

    .slider__control_show {
      display: flex;
    }

    .slider__control:hover,
    .slider__control:focus {
      color: #fff;
      text-decoration: none;
      outline: 0;
      opacity: 0.9;
    }

    .slider__control_prev {
      left: 0;
    }

    .slider__control_next {
      right: 0;
    }

    .slider__control::before {
      content: '';
      display: inline-block;
      width: 20px;
      height: 20px;
      background: transparent no-repeat center center;
      background-size: 100% 100%;
    }

    .slider__control_prev::before {
      background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
    }

    .slider__control_next::before {
      background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
    }

    /* стили для индикаторов */
    .slider__indicators {
      position: absolute;
      right: 0;
      bottom: 10px;
      left: 0;
      z-index: 15;
      display: flex;
      justify-content: center;
      padding-left: 0;
      margin-right: 15%;
      margin-left: 15%;
      list-style: none;
      margin-top: 0;
      margin-bottom: 0;
    }

    .slider__indicators li {
      box-sizing: content-box;
      flex: 0 1 auto;
      width: 30px;
      height: 4px;
      margin-right: 3px;
      margin-left: 3px;
      text-indent: -999px;
      cursor: pointer;
      background-color: rgba(255, 255, 255, 0.5);
      background-clip: padding-box;
      border-top: 10px solid transparent;
      border-bottom: 10px solid transparent;
    }

    .slider__indicators li.active {
      background-color: #fff;
    }

    .img-fluid {
      display: inline-block;
      height: auto;
      max-width: 100%;
    }
/*----------------------КОНЕЦ СЛАЙДЕРА-------------------*/

/*-------------------ОСНОВНОЙ КОНТЕНТ--------------------*/

.boxes {
  display: flex;
  flex-flow: row wrap;
 
}
.boxes div {
  flex: 1 1 250px;
  margin: 10px;
  margin-bottom: 40px;
  border-radius: 2px;
  padding: 10px 10px 10px 10px;
  background-color: ivory;
  box-shadow: 5px 5px 5px #8a5d4a;
  display: flex;
  flex-flow: column;
}

.image img {
 -moz-transition: all 1s ease-out;
 -o-transition: all 1s ease-out;
 -webkit-transition: all 1s ease-out;
 }
 
.image img:hover{
  -webkit-transform: scale(1.1);
 -moz-transform: scale(1.1);
 -o-transform: scale(1.1);
 }
.cennik {
  text-align: center;
  line-height: 150%;

  
}
/*-----Выпадающее содержание-----*/
.collect-text p {
  height: 160px;
  text-indent: 20px;
  white-space: pre-wrap;
  overflow: hidden;
}
.collect-text button {
  outline: none;
  padding: 10px 10px;
  margin: 10px 80px 10px 80px;
  border: none;
  border-radius: 10px;
  background-image: linear-gradient(45deg, #8a5d4a 0%, #e5c7ad 50%, #4a312c 100%);
  background-position: 100% 0;
  background-size: 200% 200%;
  font-family: 'Lobster', sans-serif;
  font-size: 19px;
  font-weight: 60;
  color: white;
  box-shadow: 0 8px 24px 0 rgba(0,40,120,.35);
  transition: .5s;

}
.collect-text button:hover {
  box-shadow: 0 0 0 0 rgba(0,40,120,0);
  background-position: 0 0;
}
/*-------------------------------*/


.button a {
  text-decoration: none;
  text-align: center;
  outline: none;
  display: inline-block;
  padding: 12px 10px;
  margin: 10px 50px 10px 50px;
  border-radius: 10px;
  background-image: linear-gradient(45deg, #8a5d4a 0%, #e5c7ad 50%, #4a312c 100%);
  background-position: 100% 0;
  background-size: 200% 200%;
  font-family: 'Lobster', sans-serif;
  font-size: 19px;
  font-weight: 60;
  color: white;
  box-shadow: 0 8px 24px 0 rgba(0,40,120,.35);
  transition: .5s;
}
.button a:hover {
  box-shadow: 0 0 0 0 rgba(0,40,120,0);
  background-position: 0 0;
}
/*-------------------------КОНЕЦ ОСНОВНОГО КОНТЕНТА БОКСОВ---------------------*/




/*--------------------------GALLERY-------------------------------------------*/
.photo {
	float: left;
  width: 33.333333%;
	padding: 10px;
	box-sizing: border-box;
}
.photo img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 10px solid #fff3d3;
    box-sizing: border-box;
    box-shadow: 5px 5px 5px #8a5d4a;
}
.photo a:hover {
    opacity: 0.5;
}
.photo a {
    display: block;
    position: relative;
}
.photo a:after {
    content: '';
    background: transparent url(../img/icons/eye-icon.png) no-repeat center;
    width: 52px;
    height: 35px;
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    visibility: hidden;
}
.photo:hover> a:after {
    visibility: visible;
}
.photo figcaption {
    color: #999999;
    text-align: center;
    margin-top: 20px;
}

#gallery {
    margin-bottom: 60px;
}
#gallery:after { 
   content: '';
   display: block; 
   height: 0; 
   clear: both;
}
/*/GAllERY*/

#cennik img {
  display: block;

}

/*-----------------------------Контакты--------------------*/
.kontakt {

    font-size: 16px;
    text-align: center;
    line-height: 120%;
}
img.kontakt {

  text-align: center;
}
.kontakt h3 {
  margin-top: 0;
  margin-bottom: 5px;
}
.kontakt a {
  text-decoration: none;
  color: #4a312c;
}
.kontakt a:hover {
  color: #4a312c;
  font-weight: bold;
}
/*------------------------КОНЕЦ ГАЛЛЕРЕИ-----------------------*/

/*-------------------------КОНТАКТНАЯ ФОРМА-----------------------------------*/
.forma h3 {
  margin: 20px;
}
.forma select,
.forma .form-control {
  font-size: 14px;
  width: 100%;
  height: 35px;
  display: inline-block;
  line-height: 38px;
  border: 1px solid #8a5d4a;
  border-radius: 10px;
  margin: 0;
  margin-bottom: 10px;
}

.forma select:focus,
.forma .form-control:focus {
  box-shadow: 0 8px 24px 0 rgba(0,40,120,.35);
  border: 2px solid #9A5943;
  border-radius: 10px;
  outline: none;
}

.forma textarea {
  font-size: 14px;
  width: 100%;
  min-width: 100%;
  min-height: 120px;
  height: 120px;
  max-height: 180px;
  border: 1px solid #8a5d4a;
  border-radius: 10px;
  margin-bottom: 20px;
}

.forma textarea:focus {
  box-shadow: 0 8px 24px 0 rgba(0,40,120,.35);
  border: 2px solid #9A5943;
  border-radius: 10px;
  outline: none;
}

.forma button  {
  outline: none;
  padding: 10px 20px;
  margin: 10px 160px;
  border: none;
  border-radius: 10px;
  background-image: linear-gradient(45deg, #8a5d4a 0%, #e5c7ad 50%, #4a312c 100%);
  background-position: 100% 0;
  background-size: 200% 200%;
  font-family: 'Lobster', sans-serif;
  font-size: 19px;
  font-weight: 60;
  color: white;
  box-shadow: 0 8px 24px 0 rgba(0,40,120,.35);
  transition: .5s;

}
.forma button:hover {
  box-shadow: 0 0 0 0 rgba(0,40,120,0);
  background-position: 0 0;
}

/*----------------------КОНЕЦ КОНТАКТНОЙ ФОРМЫ--------------------------------------*/

/*-----------------------------------------------------------*/
/*css for alert messages*/

.alert-success{
  z-index: 1;
  background: #D4EDDA;
  font-size: 18px;
  padding: 20px 40px;
  min-width: 420px;
  position: fixed;
  right: 0;
  top: 10px;
  border-left: 8px solid #3AD66E;
  border-radius: 4px;
}

.alert-error{
  z-index: 1;
  background: #FFF3CD;
  font-size: 18px;
  padding: 20px 40px;
  min-width: 420px;
  position: fixed;
  right: 0;
  top: 10px;
  border-left: 8px solid #FFA502;
  border-radius: 4px;
}
/*------------------------------------
/*-------------------------FOOTER-------------------------------*/

.footer {
    background-color: #E5C7AD;
    color: #4a312c;
    font-family: 'Lobster', sans-serif;
    font-size: 24px;
    text-align: center;
    padding: 50px 0;
    margin-top: 30px;
    height: 30%; 
}
.footer small {
  font-size: 16px;
}
/*-----------------КОНЕЦ ФУТЕРА----------------------------*/

/*--------------------------------MEDIA------------------------------------*/
@media (max-width: 959px) {
.menu-main li, 
.menu-main a {
   position: relative;
   padding-bottom: 10px;
   margin: 0 10px 0 0; /*меняем расстояние слева справа слов меню*/
   font-size: 22px;
 }
 .dropdown-content a {padding: 10px;}
}

@media (max-width: 768px) {
.menu-main li,
.menu-main a {
   position: relative;
   padding-bottom: 10px;
   margin: 0 10px 0 0; /*меняем расстояние слева справа слов меню*/
   font-size: 19px;
 }
.dropdown-content a {padding: 10px;}
  /*уменьшение размера кнопки раскрывающегося бокса*/
.button a  { margin: 10px 80px 10px 80px;}
.forma button { font-size: 16px; margin: 10px 60px 10px 130px; }
}

@media (max-width: 720px) {
 .number h2 {display: none;}
 
 .button a, .forma button { font-size: 19px; margin: 20px 80px 10px 180px;}
 }



@media (max-width: 550px) {
header h2, small, .number { display: none; }
.header {height: 150px;}
.header h1 { font-size: 24px; padding-left: 5px; padding-right: 0; }
 h2 { font-size: 24px; } 
.slider { width: 100%; }
.menu-main { padding-top: 0; }
.menu-main li:after {content: "|" }
.menu-main a {
  padding: 5px 0 20px; 
  margin: 0 5px;
 }
.photo {width: 50%;}
 .boxes img { width: 100%;}
 .kontakt img {width: 16px;} /*размер иконок в контактах*/
 .dropdown {top: 0;}
 .dropbtn {padding: 14px;}
 .dropdown-content {width: 47px;}
 .dropdown-content a {padding: 10px;}
 .button a  { font-size: 16px; margin: 20px 80px 10px 100px;}
 .forma button {font-size: 16px; margin: 10px 60px 10px 120px; }
.collect-text button {font-size: 16px;}
.footer small {display: inline; font-size: 16px;}
}

@media (max-width: 425px) {
.button a { font-size: 16px; margin: 20px 60px 10px 110px;}
.forma button { font-size: 16px; margin: 10px 60px 10px 140px; }
.collect-text button {font-size: 16px};
}


@media (max-width: 360px) {
.header h1 { font-size: 21px; padding-left: 5px; }
 h2 { font-size: 21px; } 
.dropdown-content {width: 42px;}
.dropdown-content a {padding: 10px;}
.button a { font-size: 16px; margin: 20px 60px 10px 90px;}
.forma button { font-size: 16px; margin: 10px 60px 10px 120px; }
.collect-text button {font-size: 16px;}
.footer p {font-size: 21px;}
.footer small {display: inline; font-size: 16px;}

}


@media (max-width: 320px) {
  .menu-main a {font-size: 16px;}
  .dropbtn {padding: 12px;}
  .button a { font-size: 16px; margin: 10px 60px 10px 80px;}
  .forma button { font-size: 16px; margin: 10px 60px 10px 90px; }
  .collect-text button {font-size: 15px;}
 .footer small {display: inline;
  font-size: 16px;}
}
/*------------------------------------------------------------------------------*/