
body, html {
    height: 100%;
}

/* The hero image */
.hero-image {
    /* The image used */
    background-image: url("img/hero.jpg");

    /* Set a specific height */
    height: 90%;

    /* Position and center the image to scale nicely on all screens */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

/* Place text in the middle of the image */
.hero-text {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-family: Verdana;}

h1 {
  font-family: 'Verdana';
  font-size: 50px;
  color: #fff;
    background:#10568a; /* Цвет фона */
    padding: 20px; /* Поля вокруг текста */
    opacity: 0.5; /* Полупрозрачный фон */
    filter: alpha(Opacity=70); /* Прозрачность в IE */
}

.btn {
    display: inline-block; /* Строчно-блочный элемент */
    background: #10568a; /* цвет фона */
    color: #fff; /* цвет текста */
    padding: 1rem 1.5rem; /* Поля вокруг текста */
    text-decoration: none;
    font-family: Verdana;
    border-radius: 3px; /* Скругляем уголки */
   }

.heading {
  padding: 20px 0;
  border-bottom: 2px solid rgba(0,0,0,.05); 
  text-align: center;
}

h3 {
  font-family: 'Verdana', serif;
  font-size: 40px;
  letter-spacing: 1px;
  max-width: 10000px;
  width: 100%;
  position: relative;
  display: inline-block;
  color: #404354;
}

h4 {
  font-family: 'Verdana', serif;
  font-size: 40px;
  letter-spacing: 1px;
  max-width: 10000px;
  width: 100%;
   text-align: center;
  position: relative;
  display: inline-block;
  color: #404354;
}

.text1
{
  font-family: 'Lora', serif;
  font-size: 20px;
  color: #000;
  padding-left: 5%;
  padding-right: 7px;
  padding-top: 7px;
  margin-right: 5%;
  text-align: left;
  }

.left {
  width:750px;
  height:auto;
  display: block;
  margin: 0 auto 1em;
}

h2 {
  font-family: 'Verdana', serif;
  color: #404354;
  font-weight: 300;
  clear: both; /* отменяем обтекание с обеих сторон */ 
  padding: 1em 0 0.25em;
  border-bottom: 2px solid;
  counter-increment: h2; /* задаем увеличение нумерации заголовков h2 на единицу */
}
/* .d1 h3 {
  display: table;
  width: auto;
  margin: 0 auto;
  padding: 15px;
  letter-spacing: 2px;
  border: 2px solid #15b4e4;
  color: #10568a;
}

.d1 h3:after {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  border: 2px solid #15b4e4;
}
*/

@import "https://fonts.googleapis.com/css?family=Russo+One";
h2.funny-title{border-top:5px solid #879ca6;border-bottom:5px solid #879ca6;font-size:70px;text-align:center;margin-top:60px;margin-bottom:5px;text-transform:uppercase;font-family:'Russo One',sans-serif;font-weight:900;letter-spacing:8px}
@-webkit-keyframes move-background {
0%{background-position:-300px 0}
100%{background-position:300px -300px}
}
@-moz-keyframes move-background {
0%{background-position:-300px 0}
100%{background-position:300px -300px}
}
@keyframes move-background {
0%{background-position:-300px 0}
100%{background-position:300px -300px}
}
.section-title{-webkit-animation-play-state:running;-moz-animation-play-state:running;animation-play-state:running;color:transparent;background:url("img/2.jpg") no-repeat #c6c8d4;background-size:cover;-webkit-text-fill-color:transparent;-moz-text-fill-color:transparent;-webkit-background-clip:text;-moz-background-clip:text;background-clip:text;-webkit-animation:move-background 20s infinite linear alternate;-moz-animation:move-background 20s infinite linear alternate;animation:move-background 20s infinite linear alternate}


.slideshow-container {
  position: relative;
  background: #fff;
}

/* Slides */
.mySlides {
  display: none;
  padding: 80px;
  text-align: center;
  font-family: 'Verdana';
  font-size: 20px;
  letter-spacing: 1px;
}
.mySlides.active {
  display: block;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -30px;
  padding: 16px;
  color: #888;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  position: absolute;
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
  color: white;
}

/* The dot/bullet/indicator container */
.dot-container {
  text-align: center;
  padding: 20px;
  background: #10568a;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #fff;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

/* background color to the active dot/circle */
.dot.active, .dot:hover {
  background-color: #717171;
}

/* font style to all quotes */
q {font-family: OpenSansLight}

.author {color: #10568a;
font-style: italic;
font-family: OpenSansLight}

@media only screen and (max-width: 574px){
  h1{
    font-size: 30px;
  }
  h4{
    font-size: 24px;
  }
  h2.funny-title{
    font-size: 30px;
  }
  h3{
    font-size: 24px;
  }
  .mySlides{
    padding: 30px 40px;
  }
}

.fb-posts__wrapper{
  position: relative;
  float: left;
  width: 100%;
}

.fb-posts__sidebar{
  position: sticky;
  top: 0;
  width: 300px;
  float: left;
  padding: 15px 0;
}

.fb-posts__tags{
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
  padding: 0;
}

.fb-posts__tag{
  cursor: pointer;
  margin-right: 15px;
  margin-bottom: 15px;
  min-width: 40px;
  padding: 5px 15px 5px 10px;
  text-align: center;
  color: #fff;
  border-radius: 0 15px 15px 0;
}

.fb-posts__tag.active{
  box-shadow: 2px 2px 10px rgba(15, 15, 17, 0.65);
}

.fb-posts{
  width: calc(100% - 300px);
  max-width: 100%;
  margin: 0 auto;
  padding-top: 15px;
  float: left;
}

.fb-post__wrapper{
  margin: 0 auto 20px;
  width: 500px;
  max-width: 100%;
  position: relative;
  left: -150px;
}

.fb-post__wrapper.show{
  display: block;
}

.fb-post__wrapper.hide{
  display: none;
}

.fb-post iframe{
  max-width: 100%;
}

.reviews-btn{
  margin: 20px auto 0;
}

@media only screen and (max-width: 1199px){
  .fb-posts__wrapper{
    float: none;
  }
  .fb-posts__sidebar{
    position: static;
    width: 100%;
    margin-bottom: 10px;
    float: none;
  }
  .fb-posts{
    width: 100%;
    float: none;
  }
  .fb-post__wrapper{
    position: static;
  }
}

@media only screen and (max-width: 529px){
  .fb-post{
    width: 100%;
  }
  .fb-post > span{
    width: 100% !important;
  }
}