@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto Condensed', sans-serif !important;
  background: #f0f0f0 !important;
}
.carousel {
    /*display: none;*/
    max-width: 100%;
    /*width: 90%;*/
    height: 60vh;
    /*margin: 40px auto;*/
    margin: 70px auto;
    box-shadow: 0 30px 40px -20px rgba(0,0,0,.5);
    position: relative;
    overflow: hidden

}
@media(orientation:portrait) {
    .carousel { height: 30vh }
}
.carousel div {
    width: 100%;
    height: 100%;
    position: absolute;
    background-position: center center;
    background-size: cover;
    opacity: 0
}
.no-webp .carousel div:nth-child(1) { background-image: url('../img/slider/image01.jpg') }
.no-webp .carousel div:nth-child(2) { background-image: url('../img/slider/image02.jpg'); animation-delay: 4s }
.no-webp .carousel div:nth-child(3) { background-image: url('../img/slider/image03.jpg'); animation-delay: 8s }
.no-webp .carousel div:nth-child(4) { background-image: url('../img/slider/image26.jpg'); animation-delay: 12s }
.no-webp .carousel div:nth-child(5) { background-image: url('../img/slider/image05.jpg'); animation-delay: 16s }
.no-webp .carousel div:nth-child(6) { background-image: url('../img/slider/image06.jpg'); animation-delay: 20s }
.no-webp .carousel div:nth-child(7) { background-image: url('../img/slider/image07.jpg'); animation-delay: 24s }
.no-webp .carousel div:nth-child(8) { background-image: url('../img/slider/image08.jpg'); animation-delay: 28s }
.no-webp .carousel div:nth-child(9) { background-image: url('../img/slider/image27.jpg'); animation-delay: 32s }
.no-webp .carousel div:nth-child(10) { background-image: url('../img/slider/image10.jpg'); animation-delay: 36s }
.no-webp .carousel div:nth-child(11) { background-image: url('../img/slider/image25.jpg'); animation-delay: 40s }
.no-webp .carousel div:nth-child(12) { background-image: url('../img/slider/image12.jpg'); animation-delay: 44s }
.no-webp .carousel div:nth-child(13) { background-image: url('../img/slider/image13.jpg'); animation-delay: 48s }
.no-webp .carousel div:nth-child(14) { background-image: url('../img/slider/image14.jpg'); animation-delay: 52s }
.no-webp .carousel div:nth-child(15) { background-image: url('../img/slider/image15.jpg'); animation-delay: 56s }
.no-webp .carousel div:nth-child(16) { background-image: url('../img/slider/image28.jpg'); animation-delay: 60s }
.no-webp .carousel div:nth-child(17) { background-image: url('../img/slider/image29.jpg'); animation-delay: 64s }
.no-webp .carousel div:nth-child(18) { background-image: url('../img/slider/image30.jpg'); animation-delay: 68s }
.no-webp .carousel div:nth-child(19) { background-image: url('../img/slider/image19.jpg'); animation-delay: 72s }
.no-webp .carousel div:nth-child(20) { background-image: url('../img/slider/image20.jpg'); animation-delay: 76s }
.no-webp .carousel div:nth-child(21) { background-image: url('../img/slider/image21.jpg'); animation-delay: 80s }
.no-webp .carousel div:nth-child(22) { background-image: url('../img/slider/image22.jpg'); animation-delay: 84s }
.no-webp .carousel div:nth-child(23) { background-image: url('../img/slider/image31.jpg'); animation-delay: 88s }
.no-webp .carousel div:nth-child(24) { background-image: url('../img/slider/image32.jpg'); animation-delay: 92s }

.webp .carousel div:nth-child(1) { background-image: url('../img/slider/webp/image01.webp') }
.webp .carousel div:nth-child(2) { background-image: url('../img/slider/webp/image02.webp'); animation-delay: 4s }
.webp .carousel div:nth-child(3) { background-image: url('../img/slider/webp/image03.webp'); animation-delay: 8s }
.webp .carousel div:nth-child(4) { background-image: url('../img/slider/webp/image26.webp'); animation-delay: 12s }
.webp .carousel div:nth-child(5) { background-image: url('../img/slider/webp/image05.webp'); animation-delay: 16s }
.webp .carousel div:nth-child(6) { background-image: url('../img/slider/webp/image06.webp'); animation-delay: 20s }
.webp .carousel div:nth-child(7) { background-image: url('../img/slider/webp/image07.webp'); animation-delay: 24s }
.webp .carousel div:nth-child(8) { background-image: url('../img/slider/webp/image08.webp'); animation-delay: 28s }
.webp .carousel div:nth-child(9) { background-image: url('../img/slider/webp/image27.webp'); animation-delay: 32s }
.webp .carousel div:nth-child(10) { background-image: url('../img/slider/webp/image10.webp'); animation-delay: 36s }
.webp .carousel div:nth-child(11) { background-image: url('../img/slider/webp/image25.webp'); animation-delay: 40s }
.webp .carousel div:nth-child(12) { background-image: url('../img/slider/webp/image12.webp'); animation-delay: 44s }
.webp .carousel div:nth-child(13) { background-image: url('../img/slider/webp/image13.webp'); animation-delay: 48s }
.webp .carousel div:nth-child(14) { background-image: url('../img/slider/webp/image14.webp'); animation-delay: 52s }
.webp .carousel div:nth-child(15) { background-image: url('../img/slider/webp/image15.webp'); animation-delay: 56s }
.webp .carousel div:nth-child(16) { background-image: url('../img/slider/webp/image28.webp'); animation-delay: 60s }
.webp .carousel div:nth-child(17) { background-image: url('../img/slider/webp/image29.webp'); animation-delay: 64s }
.webp .carousel div:nth-child(18) { background-image: url('../img/slider/webp/image30.webp'); animation-delay: 68s }
.webp .carousel div:nth-child(19) { background-image: url('../img/slider/webp/image19.webp'); animation-delay: 72s }
.webp .carousel div:nth-child(20) { background-image: url('../img/slider/webp/image20.webp'); animation-delay: 76s }
.webp .carousel div:nth-child(21) { background-image: url('../img/slider/webp/image21.webp'); animation-delay: 80s }
.webp .carousel div:nth-child(22) { background-image: url('../img/slider/webp/image22.webp'); animation-delay: 84s }
.webp .carousel div:nth-child(23) { background-image: url('../img/slider/webp/image31.webp'); animation-delay: 88s }
.webp .carousel div:nth-child(24) { background-image: url('../img/slider/webp/image32.webp'); animation-delay: 92s }




.fader div { animation: fade 96s infinite }
@keyframes fade {
    0%, 7% { opacity: 0 }
    0.5%, 5.7% { opacity: 1 }
}
header {
  position: relative;
  top: 0;
  left: 0;
  padding: 20px 0px;
  /*background: #262626;*/
  width: 100%;
  height: 120px;
  box-sizing: border-box;
  /*z-index: 1;*/
}
header .logo {
  background-image: url('../img/logo_baber_20.png');
  background-repeat: no-repeat;
  margin-left: 100px;
  color: white;
  line-height: 50px;
  font-size: 24px;
  float: left;
  font-weight: bold;
}
header .logo span {
  position: relative;
  color: #262626;
  font-size: 16px;
  font-style: italic;
  top: -10px;
  left: 190px;
}
#site-title {
  color: #cd834a;
  font-family: 'Roboto',sans-serif;
  font-size: 40px;
  font-weight: bold;
  font-style: italic;
  text-decoration: none;
  line-height: 1.2;
  text-align: start;
  text-shadow: 1px 3px 3px #030303;
  width: 495px;
  left: 0;
  position: relative;
  margin: 12px 0 0 197px;
  padding: 1.5px 0 1.5px 0;
}
header .autoskerekpar {
/*  position: relative; */
  background-image: url('../img/autoskerekpar.png');
  background-repeat: no-repeat;
  margin-left: 650px;
  color: white;
/*  line-height: 50px;
  font-size: 24px;
  float: left;
  font-weight: bold; */
  width: 207px;
  height: 100px;
}

.lang-container {
  float: right;
  margin: -100px 100px 0 10px;
}
header nav {
  /*float: right;*/
  /*position: relative;*/
/*  margin-left: -100px;
  margin-right: -100px;*/
  display: flex;
  flex-flow: row nowrap;
  width: 100%;
  background: #197951;
  border-bottom: 5px solid #d4be94;
  position: sticky;
  top: 0px;
  z-index: 1000;
}
header nav ul {
  margin: 0;
  padding: 0;
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
}
header nav ul li {
  list-style: none;
}
header nav ul li a {
  height: 50px;
  line-height: 50px;
  padding: 0 20px;
  color: #fff;
  font-family: "Roboto Condensed", sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  display: block;
  transition: 0.5s;
}
header nav ul li a:hover {
  color: #197951;
  background: #d4be94;
}
header nav ul li a:active {
  color: #197951;
  background: #d4be94;
}
.menu-toggle {
  color: #fff;
  float: right;
  line-height: 50px;
  font-size: 24px;
  cursor: pointer;
  display: none;
  background: #197951;
  padding: 0 20px;
}
.container-text-fluid {
  /*position: relative;*/
  max-width: 1200px;
  /*height: 600px;*/
  margin: 40px auto 0;
  /*background: #464646;*/
}
.container-text-fluid p, .container-text-fluid h2 {
  margin: 20px;
}
.container-text-fluid ul li {
  margin: 0 20px 10px 60px;
  font-size: 1.2em;
}

.container-text-fluid p {
  font-size: 1.2em;
}
.container-text-fluid p span, .container-text-fluid table td span {
  font-weight: bold;
  color: #197951;
}
.container-text-fluid ul li a,
.container-text-fluid p a,
.form_link {
  text-decoration: none;
  color: #197951;
}
.container-text-fluid ul li a:hover,
.container-text-fluid p a:hover,
.form_link:hover {
  color: #d4be94;
}
.text-center {
    text-align: center;
}

.container-flex {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  position: relative;
  max-width: 1200px;
  /*height: 600px; */
  margin: 80px auto 20px;
}

.container-fluid {
  position: relative;
  width: 1200px;
  height: 600px;
  margin: 80px auto 0;
  /*background: #464646;*/
}
.img-fluid {
  max-width: 100%;
  height: auto;
}
.card {
  position: relative;
  width: calc(400px - 30px);
  height: calc(400px - 30px);
  float: left;
  margin: 15px;
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: 0 5px 10px rgba(0,0,0,.8);
}
.card .post-image {
  height: 300px;
  overflow: hidden;
}
.card .post-image img {
  transition: .5s;
}
.card:hover .post-image img {
  transform: scale(1.2) translateY(-50px);
}
.card .news-content {
  position: absolute;
  bottom: -130px;
  padding: 20px;
  background: #fff;
  transition: .5s;
}
.card:hover .news-content {
  bottom: 0px;
}
.card .category {
  position: absolute;
  top: -30px;
  left: 0;
  height: 40px;
  line-height: 30px;
  /*background: #00b8f4;*/
  background: #197951;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  padding: 5px 20px;
  font-size: 16px;
  font-weight: bold;
  transition: .5s;
}
.card .news-content .post-meta a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  padding: 8px 20px;
  margin-top: 10px;
  float: right;
  /*background: #00b8f4;*/
  background: #197951;
  color: #fff;
  font-weight: bold;
  transition: .5s;
  border-radius: 15px;
}
.card .news-content .post-meta a:hover {
  /*background: #df084a;*/
    /*background: #007da6;*/
  background: #4ca480;

}
.card .news-content .post-header {
  margin: 0;
  padding: 10px 0;
  /*color: #007da6; */
  color: #197951;
  height: 100px;
  font-size: 1.3em;
  overflow: hidden;
}
.card .news-content p {
  font-size: 16px;
  margin: 10px 0 0;
  padding: 0;
  color: #262626;
  transition: .5s;
  opacity: 0;
}
.card:hover .news-content p {
  opacity: 1;
}

.footer {
  background: #197951;
  padding: 20px 0 20px 0;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  border-top: 5px solid #d4be94;
  /*justify-content: space-between;*/
  /*align-items: center;*/
}
.footer-content {
  max-width: 1200px;
  display: flex;
  flex-flow: row wrap;
}
.footer .ftrBx {
  min-height: 200px;
  min-width: 400px;
  flex: 1;
  width: 33vw;
  padding: 10px 20px 0;
  border-width: 1px;
  border-style: solid;
  border-image:
    linear-gradient(
      to bottom,
      white,
      rgba(0, 0, 0, 0)
    ) 1 100%;
}
.footer .ftrBx:first-child,
.footer .ftrBx:last-child
 {
  border-width: 0;
}
.footer .ftrBx h2 {
  color: #d4be94;
  margin-bottom: 10px;
  margin-left: 0;
}
.footer .ftrBx p {
  color: #f0f0f0;
  line-height: 20px;
  margin: 0 auto;
}
.footer .ftrBx a {
  color: #d4be94;
  text-decoration: none;
  transition: 0.5s
}
.footer .ftrBx a:hover {
  color: #ece2ce;
}
.footer ul {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer ul li {
  list-style: none;
}

.footer ul li a {
  text-decoration: none;
  display: inline-block;
  margin: 0 10px;
}

.footer ul li a img {
  filter: invert(1);
  max-width: 20px;
}
.copyrightText {
  width: 100%;
  background: #197951;
  color: #fff;
  padding: 8px 100px;
  text-align: center;
}
.copyrightText p a {
  text-decoration: none;
  color: #d4be94;
}
.copyrightText p a:hover {
  color: #ece2ce;
}
table {
  width: 95%;
/*  border: 1px solid #000;*/
  border-collapse: collapse;
  margin: 20px auto;

}
th {
  background: #197951;
  color: #fff;
  padding: 15px 5px;
}
td {
/*  border: 1px solid #000;*/
  border-collapse: collapse;
  text-align: center;
  padding: 5px;
}
tr:nth-child(even) {
  background: #ece2ce;
}
@media (max-width: 1200px)
{
  .container-fluid {
  /*  position relative;*/
    width: 800px;
    /*height: 600px;*/
    height: auto;
    margin: 80px auto 80px;
    /*background: #464646;*/
  }
  .footer-content {
    flex-flow: column wrap;
    align-items: center;
  }
  .footer .ftrBx {
    border: 0;
    text-align: center;
  }
}
@media (max-width: 1000px)
{
  header nav ul li {
    font-size: 0.7em;
  }
  header .autoskerekpar {
    display: none;
  }
  .lang-container {

  }

}
@media (max-width: 800px)
{
  header {
    padding: 0;
    height: 50px;
    border-bottom: 2px solid #d4be94;
  }
  header .logo {
    margin-left: 10px;
    background: none;
    background-size: contain;
  }
  #site-title {
    font-size: 1em;
    text-shadow: 1px 1px 1px #030303;
    width: 200px;
    margin-left: 0px;
    margin-top: 9px;
  }
  header .logo span {
    display: none;
  }
  .lang-container {
    float: right;
    margin: 15px 10px 0 10px;
  }
  header nav {
    /*display: none;*/
    position: absolute;
    width: 100%;
    height: calc(100vh - 50px);
    background: #197951;
    top: 50px;
    left: -100%;
    transition: 0.5s;
    z-index: 100;
  }
  header nav.active {
    left: 0px;
  }
  header nav ul {
    display: block;
    text-align: center;
  }
  header nav ul li {
    font-size: 1em;
  }
  header nav ul li a {
    border-bottom: 1px solid rgba(0,0,0,.2);
    color: #fff;
  }
  .menu-toggle {
    display: block;
  }
  .carousel {
    display: none;
  }
  .container-fluid {
  /*  position relative;*/
    width: 600px;
    /*height: 600px;*/
    height: auto;
    margin: 20px auto;
    /*background: #464646;*/
  }
  .card {
    margin: 15px auto;
    float: none;
  }
  /*.footer
  {
  /*  padding: 20px 50px;*/
  /*  flex-direction: column;
    text-align: center;
  } */
  .footer ul
  {
    margin-bottom: 20px;
  }

}
@media (max-width: 600px)
{
  .container-fluid { width: 400px; }

  .card {  width: calc(340px); margin: 15px auto; float: none; }
}

@media (max-width: 400px)
{
  .container-fluid {
  /*  position relative;*/
    width: 300px;
    /*height: 600px;*/
    height: auto;
    margin: 20px auto;
    /*background: #464646;*/
  }
  .container-flex { margin: 20px auto; }

  .card { width: calc(300px); margin: 15px auto; float: none; }

  .card .news-content { bottom: -160px; }

  .card .news-content .post-header { font-size: 1.0em;  height: 100px; }

  .footer .ftrBx { min-width: 330px; width: 100vw; }

  .copyrightText { padding: 8px 70px; }
}
