body, html {
    height: 100%;
    padding: 0;
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

h1 {
    font-size: 22px;
    text-transform: uppercase;
    margin: 15px 0 30px 0;
}
h2 {text-transform: uppercase; font-size: 34px;}
p {
    line-height: 24px;
    margin: 25px 0;
}


.golden  {
    color: #000;

}
.golden:hover {
    color: #92723f;

}


.navigation {
    position: fixed;
    z-index: 16;
    left: 0;
    top: 0;
    box-sizing: border-box;
    padding: 20px;
    width: 100%;
    background: rgba(0,0,0,.2);
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}

.navigation_dark {
    background: rgba(0,0,0,.8);
}

.logo {
    display: block;
    width: 120px;
    height: 120px;
    background-image: url("../img/logo.png");
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: 120px 117.5px; 
    text-indent: -9999px;
    float: left;
    margin-left: 10px;
}

.nav {
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: right;
    float: right;
    margin-top: 42px;
}

.nav li {
    float: left;
    margin: 0 20px;
}

.nav li a {
    padding: 5px;
    display: inline-block;
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
}

.nav li a:hover {
    color: #a6b79f;
}

.nav li a.f, .nav li a.i {
    width: 18px;
    height: 18px;
    font-size: 18px;
    text-align: center;
    padding-top: 8px;
}

.nav li a.i {
    margin-right: 15px;
}

.m0 {
    margin: 0 !important;
}

.lang {
    margin: 0 !important;
}

.lang a {
   padding: 0;
}

.en {
    padding-right: 0 !important;
}

.current {
    color: #fff !important;
    padding-left: 0 !important;
}

.wrap {
    position: relative;
    z-index: 1;
    height: 100%;
}

.clearfix {
    clear: both;
    height: 1px;
    line-height: 1px;
}

.separator {
    width: 100%;
    height: 1px;
    line-height: 1px;
    background-color: #cecece;
}

.headline {width: 100%; height: 550px;}
.headline h1 {text-align: center; padding: 0; margin: 0; line-height: 550px; font-size: 52px; color: #fff; text-shadow: 1px 1px 15px rgba(0,0,0,.5); text-transform: uppercase;}
.headline.impresszum {
    background-image: url("../img/impresszum.jpg");
    background-position: center 0;
    background-repeat: no-repeat;
    background-size: cover;
}
.headline.gdpr {
    background-image: url("../img/gdpr.jpg");
    background-position: center 0;
    background-repeat: no-repeat;
    background-size: cover;
}
.headline.vendeghaz {
    background-image: url("../img/vendeghaz.jpg");
    background-position: center 0;
    background-repeat: no-repeat;
    background-size: cover;
}
.headline.galeria {
    background-image: url("../img/galeria.jpg");
    background-position: center 0;
    background-repeat: no-repeat;
    background-size: cover;
}
.headline.galeria_kert {
    background-image: url("../img/galeria_kert.jpg");
    background-position: center 0;
    background-repeat: no-repeat;
    background-size: cover;
}
.headline.galeria_istallo {
    background-image: url("../img/galeria_istallo.jpg");
    background-position: center 0;
    background-repeat: no-repeat;
    background-size: cover;
}
.headline.galeria_pajta {
    background-image: url("../img/galeria_pajta.jpg");
    background-position: center 0;
    background-repeat: no-repeat;
    background-size: cover;
}
.headline.galeria_haz {
    background-image: url("../img/galeria_haz.jpg");
    background-position: center 0;
    background-repeat: no-repeat;
    background-size: cover;
}
.headline.galeria_pecsely {
    background-image: url("../img/galeria_pecsely.jpg");
    background-position: center 0;
    background-repeat: no-repeat;
    background-size: cover;
}
.headline.elerhetoseg {
    background-image: url("../img/elerhetoseg.jpg");
    background-position: center 0;
    background-repeat: no-repeat;
    background-size: cover;
}

.map {
    display: block;
    width: 100%;
    height: 450px;
    background-image: url("../img/map.png");
    background-position: center 0;
    background-repeat: no-repeat;
    background-size: cover;
    border-bottom: 1px solid #eee;
}

.footer {
    font-size: 22px;
    padding: 25px 10px 10px 40px;
}

.footer a {
    text-decoration: none;
    color: #111;
}

.footer a:hover {
    color: #88774a;
}

.footer .footer_block {
    box-sizing: border-box;
    width: 25%;
    padding: 20px;
    float: left;
    line-height: 28px;
    position: relative;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}

.red_line {
    background-color: #88774a;
    width: 30px;
    height: 3px;
    margin: 25px 0;
}

.sepa {
    background-color: #88774a;
    width: 30px;
    height: 3px;
    margin: 25px auto;
}

.color {font-size: 26px; color: #88774a;}



.red_line.h {
    margin: 5px 0;
}

.parallax-window {
    min-height: 400px;
    background: transparent;
}

.footer .footer_block .red {
    background-color: #88774a;
    width: 30px;
    height: 3px;
    position: relative;
    left: 0;
    top: -8px;
}

.footer .footer_block strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
}

.up {
    text-align: right;
    font-size: 22px;
}

.to_top {
    position: relative;
    bottom: -30px;
}

.bottom {
    padding: 30px;
    font-size: 13px;
    color: #999;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.bottom a {
    text-decoration: none;
    color: #999;
}

.bottom a:hover {
    color: #88774a;
}

.inner_page {
    width: 980px;
    padding: 90px 15px 60px 15px;
    margin: auto;
    position: relative;
    font-size: 22px;
    line-height: 32px;
}

 .inner_page .first-block {
    padding: 0 15px;
}

.inner_page p {
    font-size: 22px;
    line-height: 32px;
}

.full_width {
    box-sizing: border-box;
    width: 100%;
    padding: 140px 30px 60px 30px;
}

.inner_page a {
    color: #111;
}

.inner_page a:hover {
    color: #88774a;
}

.inner_page .pagenotfound {
    font-size: 94px;
    line-height: 90px;
    margin: 30px 0 20px 0;
}

.contact {
    width: 300px;
    font-size: 20px;
    line-height: 36px;
    margin-bottom: 90px;
    margin-top: 60px;
}

.project {
    width: 78%;
}

.contact h1 {
    font-size: 32px !important;
}

.mt40 {
    margin-top: 40px;
}

.ul {
    list-style: square;
    line-height: 32px;
    font-size: 16px;
    margin-bottom: 40px;
}

.content {
    float: right;
    width: 80%;
    box-sizing: border-box;
    padding-left: 60px;
}

.sidebar {
    margin-top: 78px;
    float: left;
    width: 20%;
    text-align: right;
    font-size: 17px;
    box-sizing: border-box;
    padding-right: 40px;
    border-right: 1px solid #cecece;
}

.sidebar h2 {
    font-size: 20px;
    text-transform: uppercase;
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 30px;
    line-height: 26px !important;
}

.sidebar p {
    line-height: 42px !important;
    padding-bottom: 5px;
    margin-bottom: 0;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #88774a;
    color: #fff !important;
    font-size: 16px;
    border-radius: 2px;
    text-decoration: none;
    -webkit-transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
}

.btn:hover {
    background-color: #3b4d38;
}

.btn_big {
    padding: 15px 25px;
    font-size: 20px;
}

.btn_back {
    padding: 5px 9px;
    font-size: 14px;
    position: absolute;
    right: 25px;
    top: 158px;
}

.gallery {
    padding: 0;
    margin-bottom: 30px;
    margin-left: -1%;
}

.gallery a {
    display: block;
    width: 31.3333%;
    margin: 1%;
    float: left;
    overflow: hidden;
}

.gallery a img {
    display: block;
    width: 100%;
    -webkit-transition: all 0.9s ease-in;
    -moz-transition: all 0.9s ease-in;
    -o-transition: all 0.9s ease-in;
    transition: all 0.9s ease-in;
}

.gallery a:hover img {
  transform: scale(1.03);
}

.filter {
  text-align: center;
  margin: 15px auto 40px auto;
}

.filter a, .filter button {
  margin: 0 15px;
  font-size: 18px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  color: #111;
  text-transform: uppercase;
  display: inline-block;
  padding: 0;
  padding-bottom: 5px;
  -webkit-transition: all 0.3s ease-in;
  -moz-transition: all 0.3s ease-in;
  -o-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
  border: none;
  border-bottom: 3px solid #fff;
  outline: none;
  cursor: pointer;
  background: none;
  text-decoration: none;
}

.filter a:hover, .filter button:hover {
  color: #88774a;
}

.filter a.current, .filter button.current {
  border-bottom: 3px solid #88774a;
  color: #111 !important;
}

.filter a.current:hover, .filter button.current:hover {
  color: #88774a;
}

#lightgallery a {
  display: block;
  width: 31.3333%;
  margin: 1%;
  float: left;
  overflow: hidden;
}

#lightgallery a img {
  display: block;
  width: 100%;
  -webkit-transition: all 0.9s ease-in;
  -moz-transition: all 0.9s ease-in;
  -o-transition: all 0.9s ease-in;
  transition: all 0.9s ease-in;
}

#lightgallery a:hover img {
  transform: scale(1.03);
}

#lightgallery a.filtered {
  display: none;
}

#lightgallery a.show {
  display: block;
}

#lightgallery a.fullwidth {
  width: 100%;
  margin: 0;
}

/* cookie */
.cookieConsentContainer {
  z-index: 999;
  width: 350px;
  min-height: 20px;
  box-sizing: border-box;
  padding: 20px;
  background: #232323;
  overflow: hidden;
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
}

.cookieConsentContainer .cookieTitle a {
  font-family: OpenSans, arial, "sans-serif";
  color: #FFFFFF;
  font-size: 20px;
  line-height: 20px;
  display: block;
}

.cookieConsentContainer .cookieDesc p {
  margin: 0;
  padding: 0;
  font-family: OpenSans, arial, "sans-serif";
  color: #FFFFFF;
  font-size: 12px;
  line-height: 20px;
  display: block;
  margin-top: 10px;
}

.cookieConsentContainer .cookieDesc a {
  font-family: OpenSans, arial, "sans-serif";
  color: #FFFFFF;
  text-decoration: underline;
}

.cookieConsentContainer .cookieButton a {
  display: inline-block;
  font-family: OpenSans, arial, "sans-serif";
  color: #FFFFFF;
  font-size: 14px;
  font-weight: bold;
  margin-top: 14px;
  background: #000000;
  box-sizing: border-box;
  padding: 12px 20px;
  text-align: center;
  transition: background 0.3s;
}

.cookieConsentContainer .cookieButton a:hover {
  cursor: pointer;
  background: #F75940;
}

.page-content {}

.first-block {
    padding: 100px 15px;
    width: 950px;
    line-height: 34px;
    font-size: 26px;
    text-align: center;
    margin: auto;
}

.secound-block {
    box-sizing: border-box;
    padding: 100px 15px;
    width: 100%;
    line-height: 34px;
    font-size: 26px;
    text-align: center;
    margin: auto;
    background: #bac0b2;
}

.secound-block .text, .third-block .text {
    width: 950px;
    padding: 60px 15px;
    margin: auto;
}

.third-block .text h1 {
    font-size: 44px;
    margin-bottom: 70px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}

.third-block .text .left, .third-block .text .right {
    float: left;
    width: 50%;
    text-align: center;
    box-sizing: border-box;
    padding: 10px 30px;
    color: #92723f;
}

.third-block .text .left span, .third-block .text .right span {
    font-family: 'Montserrat', sans-serif;
    font-size: 58px;
    font-weight: 300;
    line-height: 90px;
    color: #111;
}

.third-block {box-sizing: border-box;}
   
.first-block .icons {
    width: 950px;
    padding: 15px 5%;
    margin: auto;
    margin-top: 40px;
}

.first-block .picons {
    width: 950px;
    padding: 15px;
    margin: 0 5% 40px 5%;
}

.icon {
    display: block;
    width: 15%;
    float: left;
    height: 40px;
    padding-top: 80px;
    text-align: center;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    line-height: 1.5em;
}

.picon {
    display: block;
    width: 15%;
    float: left;
    height: 40px;
    padding-top: 80px;
    text-align: center;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}

.icon1 {
    background-image: url("../img/home.png");
    background-position: center 0;
    background-repeat: no-repeat;
    background-size: 70px 70px; 
}

.icon2 {
    background-image: url("../img/bonfire.png");
    background-position: center 0;
    background-repeat: no-repeat;
    background-size: 70px 70px; 
}

.icon3 {
    background-image: url("../img/wifi-2.png");
    background-position: center 0;
    background-repeat: no-repeat;
    background-size: 70px 70px; 
}

.icon4 {
    background-image: url("../img/tv.png");
    background-position: center 0;
    background-repeat: no-repeat;
    background-size: 70px 70px; 
}

.icon5 {
    background-image: url("../img/fireplace.png");
    background-position: center 0;
    background-repeat: no-repeat;
    background-size: 70px 70px; 
}
.icon6 {
    background-image: url("../img/credit-card.png");
    background-position: center 0;
    background-repeat: no-repeat;
    background-size: 70px 70px; 
}

.picon1 {
    background-image: url("../img/tower.png");
    background-position: center 0;
    background-repeat: no-repeat;
    background-size: 70px 70px; 
}

.picon2 {
    background-image: url("../img/wine.png");
    background-position: center 0;
    background-repeat: no-repeat;
    background-size: 70px 70px; 
}

.picon3 {
    background-image: url("../img/beach.png");
    background-position: center 0;
    background-repeat: no-repeat;
    background-size: 70px 70px; 
}

.picon4 {
    background-image: url("../img/restaurant.png");
    background-position: center 0;
    background-repeat: no-repeat;
    background-size: 70px 70px; 
}

.picon5 {
    background-image: url("../img/market.png");
    background-position: center 0;
    background-repeat: no-repeat;
    background-size: 70px 70px; 
}

.picon6 {
    background-image: url("../img/horse.png");
    background-position: center 0;
    background-repeat: no-repeat;
    background-size: 70px 70px; 
}

.third-block {
    padding: 100px 15px;
    width: 100%;
    line-height: 34px;
    font-size: 26px;
    text-align: center;
    margin: auto;
    background: #eeeced;
}

.hamburger {
    display: none;
    color: #fff;
    position: absolute;
    right: 40px;
    top: 58px;
    font-size: 29px;
}

#menu {
    display: block;
}

.button_foglalas {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  background-color: #88774a;
  border-radius: 3px;
  border-style: none;
  box-sizing: border-box;
  padding: 10px 16px;
  text-align: center;
  text-decoration: none;
  transition: color 100ms;
  touch-action: manipulation;
}
.button_foglalas:hover,
.button_foglalas:focus {
  background-color: #68573a;
}

.just_on_mobile {display: none;}


p:has(> strong.color) { padding: 0.7em 0em 0em 0em; margin: 0em; }
p:has(> strong.color) + p { margin-top: 0.5em; }


@media (max-width: 980px) {
  .cookieConsentContainer {
    bottom: 0px !important;
    left: 0px !important;
    width: 100%  !important;
  }
}

@media (max-width: 992px) {
    .inner_page {
        box-sizing: border-box;
        width: 100%;
        padding: 60px 30px;
    }
    
    .inner_page .first-block {
        padding: 0 15px;
    }
    
    .headline {width: 100%; height: 350px;}
    .headline h1 {line-height:  390px; font-size: 40px; text-shadow: 1px 1px 15px rgba(0,0,0,.6);}
    
     .hamburger {
        display: block;
    }
    
    #menu {
        display: none;
    }
    
    .nav {
        padding: 4px;
        margin: 20px 0 0 0;
        list-style: none;
        text-align: left;
        float: none;
    }

    .nav li {
        float: none;
        display: block;
        margin: 20px 0;
    }

    .nav li a {
        font-size: 20px;
    }

    .nav li a.f, .nav li a.i, .nav li a.l {
        float: left;
        margin-right: 20px;
        font-size: 34px;
        width: 40px; 
        height: 40px;
        line-height: 40px;
    }
    
    .nav li a.f {
        font-size: 30px;
        width: 22px;
    }

    .en, .hu {
        float: left;
        margin-top: 20px;
    }
    
    .just_on_mobile {display: block;}
    
    .footer .footer_block {
        width: 100%;
        padding: 10px;
        margin-top: 30px;
        float: none;
        text-align: center;
    }

    .footer .footer_block.up {
        text-align: center;
        width: 100%;
        margin-bottom: 20px;
        margin-top: 0;
    }
    
    .footer .footer_block .red {
        left: 50%;
        margin-left: -15px;
    }
    
    .bottom {text-align: center; line-height: 36px;}
}

#category{display: none; margin-bottom: 30px;}
.filter {display: block;}
@media only screen and (min-width: 300px) and (max-width: 500px) {  
    .filter a, .filter button {margin-bottom: 10px;}
    #category{display: block; font-size: 15px; width: 100%;}
    .filter {display: none;}
}

@media only screen and (min-width: 300px) and (max-width: 414px) {
  .filter a, .filter button {
    margin: 0 10px;
    padding: 3px 7px;
  }
  .filter button {
    margin-bottom: 15px;
  }
}

@media only screen and (min-width: 300px) and (max-width: 400px) {
  .filter.long a, .filter.long button {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 8px;
  }
}

/* ken css */

.slideshow {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  left: 0;
  top: 0;
}

.slideshow-image {
  position: absolute;
  width: 100%;
  height: 100%;
  background: no-repeat 50% 50%;
  background-size: cover;
  -webkit-animation-name: kenburns;
  animation-name: kenburns;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-duration: 24s;
  animation-duration: 24s;
  opacity: 1;
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.slideshow-caption {
    position: absolute;
    font-size: 84px;
    font-weight: 300;
    text-shadow: 1px 1px 15px rgba(0,0,0,.5);
    width: 780px;
    height: 200px;
    line-height: 100px;
    left:50%;
    margin-left: -390px;
    margin-top: -50px;
    top: 50%;
    color: #fff;
    text-align: center;
    -webkit-animation-name: kenburnstext;
    animation-name: kenburnstext;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-duration: 24s;
    animation-duration: 24s;
    opacity: 1;
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.slideshow-image:nth-child(1) {
  -webkit-animation-name: kenburns-1;
  animation-name: kenburns-1;
  z-index: 8;
}
.slideshow-caption:nth-child(1) {
    -webkit-animation-name: kenburnstext-1;
    animation-name: kenburnstext-1;
    z-index: 9;
}

.slideshow-image:nth-child(2) {
  -webkit-animation-name: kenburns-2;
  animation-name: kenburns-2;
  z-index: 6;
}

.slideshow-caption:nth-child(2) {
    -webkit-animation-name: kenburnstext-2;
    animation-name: kenburnstext-2;
    z-index: 7;
}

.slideshow-image:nth-child(3) {
  -webkit-animation-name: kenburns-3;
  animation-name: kenburns-3;
  z-index: 4;
}

.slideshow-caption:nth-child(3) {
    -webkit-animation-name: kenburnstext-3;
    animation-name: kenburnstext-3;
    z-index: 5;
}

.slideshow-image:nth-child(4) {
  -webkit-animation-name: kenburns-4;
  animation-name: kenburns-4;
  z-index: 2;
}

.slideshow-caption:nth-child(4) {
    -webkit-animation-name: kenburnstext-4;
    animation-name: kenburnstext-4;
    z-index: 3;
}
 @-webkit-keyframes 
kenburns-1 {  0% {
 opacity: 1;
 -webkit-transform: scale(1.1);
 transform: scale(1.1);
}
 1.5625% {
 opacity: 1;
}
 23.4375% {
 opacity: 1;
}
 26.5625% {
 opacity: 0;
 -webkit-transform: scale(1);
 transform: scale(1);
}
 100% {
 opacity: 0;
 -webkit-transform: scale(1.1);
 transform: scale(1.2);
}
 98.4375% {
 opacity: 0;
 -webkit-transform: scale(1.1);
 transform: scale(1.1);
}
 100% {
 opacity: 1;
}
}
 @keyframes 
kenburns-1 {  0% {
 opacity: 1;
 -webkit-transform: scale(1.1);
 transform: scale(1.1);
}
 1.5625% {
 opacity: 1;
}
 23.4375% {
 opacity: 1;
}
 26.5625% {
 opacity: 0;
 -webkit-transform: scale(1);
 transform: scale(1);
}
 100% {
 opacity: 0;
 -webkit-transform: scale(1.1);
 transform: scale(1.1);
}
 98.4375% {
 opacity: 0;
 -webkit-transform: scale(1.1);
 transform: scale(1.1);
}
 100% {
 opacity: 1;
}
}
@-webkit-keyframes 
kenburns-2 {  23.4375% {
 opacity: 1;
 -webkit-transform: scale(1.1);
 transform: scale(1.1);
}
 26.5625% {
 opacity: 1;
}
 48.4375% {
 opacity: 1;
}
 51.5625% {
 opacity: 0;
 -webkit-transform: scale(1);
 transform: scale(1);
}
 100% {
 opacity: 0;
 -webkit-transform: scale(1.1);
 transform: scale(1.1);
}
}
@keyframes 
kenburns-2 {  23.4375% {
 opacity: 1;
 -webkit-transform: scale(1.1);
 transform: scale(1.1);
}
 26.5625% {
 opacity: 1;
}
 48.4375% {
 opacity: 1;
}
 51.5625% {
 opacity: 0;
 -webkit-transform: scale(1);
 transform: scale(1);
}
 100% {
 opacity: 0;
 -webkit-transform: scale(1.1);
 transform: scale(1.1);
}
}
@-webkit-keyframes 
kenburns-3 {  48.4375% {
 opacity: 1;
 -webkit-transform: scale(1.2);
 transform: scale(1.2);
}
 51.5625% {
 opacity: 1;
}
 73.4375% {
 opacity: 1;
}
 76.5625% {
 opacity: 0;
 -webkit-transform: scale(1);
 transform: scale(1);
}
 100% {
 opacity: 0;
 -webkit-transform: scale(1.1);
 transform: scale(1.1);
}
}
@keyframes 
kenburns-3 {  48.4375% {
 opacity: 1;
 -webkit-transform: scale(1.1);
 transform: scale(1.1);
}
 51.5625% {
 opacity: 1;
}
 73.4375% {
 opacity: 1;
}
 76.5625% {
 opacity: 0;
 -webkit-transform: scale(1);
 transform: scale(1);
}
 100% {
 opacity: 0;
 -webkit-transform: scale(1.1);
 transform: scale(1.1);
}
}
@-webkit-keyframes 
kenburns-4 {  73.4375% {
 opacity: 1;
 -webkit-transform: scale(1.1);
 transform: scale(1.1);
}
 76.5625% {
 opacity: 1;
}
 98.4375% {
 opacity: 1;
}
 100% {
 opacity: 0;
 -webkit-transform: scale(1);
 transform: scale(1);
}
}
@keyframes 
kenburns-4 {  73.4375% {
 opacity: 1;
 -webkit-transform: scale(1.1);
 transform: scale(1.1);
}
 76.5625% {
 opacity: 1;
}
 98.4375% {
 opacity: 1;
}
 100% {
 opacity: 0;
 -webkit-transform: scale(1);
 transform: scale(1);
}
}

 @-webkit-keyframes 
kenburnstext-1 {  0% {
 opacity: 1;
}
 1.5625% {
 opacity: 1;
}
 23.4375% {
 opacity: 1;
}
 26.5625% {
 opacity: 0;
}
 100% {
 opacity: 0;
}
 98.4375% {
 opacity: 0;
}
 100% {
 opacity: 1;
}
}
 @keyframes 
kenburnstext-1 {  0% {
 opacity: 1;
}
 1.5625% {
 opacity: 1;
}
 23.4375% {
 opacity: 1;
}
 26.5625% {
 opacity: 0;
}
 100% {
 opacity: 0;
}
 98.4375% {
 opacity: 0;
}
 100% {
 opacity: 1;
}
}
@-webkit-keyframes 
kenburnstext-2 {  23.4375% {
 opacity: 1;
}
 26.5625% {
 opacity: 1;
}
 48.4375% {
 opacity: 1;
}
 51.5625% {
 opacity: 0;
}
 100% {
 opacity: 0;
}
}
@keyframes 
kenburnstext-2 {  23.4375% {
 opacity: 1;
}
 26.5625% {
 opacity: 1;
}
 48.4375% {
 opacity: 1;
}
 51.5625% {
 opacity: 0;
}
 100% {
 opacity: 0;
}
}
@-webkit-keyframes 
kenburnstext-3 {  48.4375% {
 opacity: 1;
}
 51.5625% {
 opacity: 1;
}
 73.4375% {
 opacity: 1;
}
 76.5625% {
 opacity: 0;
}
 100% {
 opacity: 0;
}
}
@keyframes 
kenburnstext-3 {  48.4375% {
 opacity: 1;
}
 51.5625% {
 opacity: 1;
}
 73.4375% {
 opacity: 1;
}
 76.5625% {
 opacity: 0;
}
 100% {
 opacity: 0;
}
}
@-webkit-keyframes 
kenburnstext-4 {  73.4375% {
 opacity: 1;
}
 76.5625% {
 opacity: 1;
}
 98.4375% {
 opacity: 1;
}
 100% {
 opacity: 0;
}
}
@keyframes 
kenburnstext-4 {  73.4375% {
 opacity: 1;
}
 76.5625% {
 opacity: 1;
}
 98.4375% {
 opacity: 1;
}
 100% {
 opacity: 0;
}
}

@media only screen and (min-width: 300px) and (max-width: 600px) {  
    
    .inner_page.gallery_inner_page {padding: 60px 10px;}
    
    .footer {
        padding: 25px 10px 10px 10px;
    }
    
    .filter {
        line-height: 48px;
    }
    
    #lightgallery a {
      width: 98%;
      margin: 1%;
      margin-bottom: 20px;
      float: none;
    }
    
    .slideshow-caption {
        box-sizing: border-box;
        font-size: 36px; 
        line-height: 42px; 
        font-weight: 800; 
        text-shadow: 1px 1px 15px rgba(0,0,0,.6);
        width: 90%;
        left:0;
        margin-left: 5%;
        margin-top: -50px;
        top: 50%;
    }
    
    .first-block {
        box-sizing: border-box;
        padding: 50px 15px;
        width: 100%;
        line-height: 30px;
        font-size: 24px;
    }

    .secound-block {
        box-sizing: border-box;
        padding: 50px 15px;
        line-height: 30px;
        font-size: 24px;
    }

    .secound-block .text, .third-block .text {
        box-sizing: border-box;
        width: 100%;
        padding: 30px 15px;
    }

    .third-block .text h1 {
        font-size: 42px;
        margin-bottom: 40px;
    }

    .third-block .text .left, .third-block .text .right {
        box-sizing: border-box;
        float: none;
        width: 100%;
        text-align: center;
        padding: 15px;
    }

    .third-block .text .left span, .third-block .text .right span {
        font-size: 48px;
        line-height: 70px;
    }

    .first-block .icons {
        box-sizing: border-box;
        width: 100%;
        padding: 15px;
        margin-top: 80px;
    }
    
    .first-block .picons {
        box-sizing: border-box;
        width: 100%;
        padding: 15px;
        margin-top: 80px;
    }
    
     .first-block .picons {
        margin-top: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .icon, .picon {
        width: 300px;
        margin: auto;
        float: none;
        height: 80px;
        padding-top: 100px;
        text-align: center;
        font-size: 20px;
    }

    .picon {
        width: 200px;
    }

    .icon1, .icon2, .icon3, .icon4, .icon5, .picon1, .picon2, .picon3, .picon4, .picon5  {
        background-position: center top;
        background-size: 90px 90px; 
    }

    .third-block {
        padding: 50px 15px;
        line-height: 30px;
        font-size: 24px;
    }
}
