* {
  box-sizing: border-box;
}


#header{
  z-index:2;
}

#app {
  margin-left: auto;
  margin-right: auto;
  background-color: #3F3F3F;
  width:97%;
  /*border-top:1px dashed #FAC002;*/
  border-left:1px dashed #FAC002;
  border-right:1px dashed #FAC002;
}
.post-list_hr {
margin-top: -1px;
  /*z-index: 100000;*/
  border:1px solid red;
  width:60%;
  margin-left: auto;
  margin-right: auto;
}
.apps {

}
.mejdu {
  height:50px;
}

.post {
  cursor: pointer;
  margin-bottom: 50px;
  text-align: center;
  padding: 0 40px;
}
@media screen and (max-width:499px){
  .post {
    margin-left:5px;
    margin-right:5px;
    padding: 0 1px;
    padding-top:3px;
    border-top:1px dotted #F8BF02;
    border-bottom:1px dotted #F8BF02;
  }
}

.post__date {
  display: block;
  width: 30%;
  margin-left: auto;
  margin-right: auto;
  font-size: .5em;
  margin-top: 10px;
  color: white;
  font-weight: normal;
  /*text-shadow: 1px 1px 1px black;*/
  /*border-bottom:1px dashed white;*/
}
.post__title {
  /*font-weight: 600;*/
  color:white;
  text-shadow: 1px 1px 1px #FAC402;
  /*font-family: 'Exo 2', sans-serif;
  color:#FAC002;
  text-shadow: 1px 1px 1px black;*/
  /*font-family: "Nunito", sans-serif;*/
  font-size: 2em;
  padding: 12px 30px;
  font-weight: bold;
  position: relative;
}
.post__title:after {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  z-index: -1;
  transition: width .4s ease 0s;
  content: "";
  background: rgba(250,196,2,0.4);
  border-top:1px dashed #FAC002;
  border-bottom:1px dashed #FAC002;
  transform: skew(-20deg);
}
.post__title:hover:after {
  width: 100%;
}
.post:last-child {
  margin-bottom: 0;
}

.post-list {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 30px 0;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: all .3s ease 0s;
  transform: translateY(0px);
  visibility: visible;
}

@media screen and (max-width:499px){
  .post-list {
    display: block;
  }
 
}

.post-list--hide {
  transform: translateY(-20px);
  opacity: 0;
  visibility: hidden;
}

.post-view {
  transition: .3s ease 0s;
  width: 100%;
  /*min-height: 100vh;*/
  height:50%;
  /*position: absolute;*/
  left: 0;
  top: 30px;
  display: flex;
  align-items: flex-end;
  /*align-items: center;*/
  justify-content: center;
}
.post-view__date {
  font-size: 2vw;
  color:#D5D5D5;
  text-shadow: 1px 1px 1px black;
  /*font-family: "Inconsolata", monospace;*/
  margin-bottom: 60px;
  transform: translateY(45px);
  transition: transform .4s ease 0s;
}
.post-view__image {
  display: none;
  position: fixed;
  transition: all .5s ease 0s;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  width: 800px;
  background-size: cover;
  background-position: top;
  overflow: hidden;
  height: 450px;
  top: 45%;
  margin-top: -225px;
}
@media screen and (max-width:820px){
  .post-view__image {
    width:600px;
    height: 350px;
  }
}
@media screen and (max-width:730px){
  .post-view__image {
    width:500px;
    height: 300px;
  }
}
@media screen and (max-width:630px){
  .post-view__image {
    width:400px;
    height: 250px;
  }
}
@media screen and (max-width:499px){
  .post-view__image {
    width:300px;
    height: 250px;
  }
}

.post-view__container {
  position: absolute;
  top: 100px;
  width: 100%;
  max-width: 1100px;
  z-index: 99;
  opacity: 0;
  transition: all .3s ease 0s;
}
.title_header_new {
  background-color: rgba(255,255,255,0.35);
  padding-left: 6px;
  border-right:1px dashed #FAC002;
  border-left:1px dashed #FAC002;
  border-top:1px dashed #FAC002;
}
.post-view__content {
  background: #fff;
  padding: 40px;
  margin-bottom: 80px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(85px);
  transition: transform .3s ease 0s;
}
.post-view__content p {
  font-size: 1.125em;
  margin-bottom: 30px;
  line-height: 25px;
}
.post-view__content p:last-child {
  margin-bottom: 0;
}

.post-view__content img{
  width:80%;
}


.post-view--active .post-view__image {
  background-position: top;
  transition: all .6s ease 0s;
  width: 100%;
  height: 520px;
  margin-top: 0;
  top: 0;
  z-index: 2;
}

.post-view__title {
  font-size: 2.875em;
  font-weight: bold;
  color:#FAC002;
  text-shadow: 1px 1px 1px black;
  /*font-family: "Nunito", sans-serif;*/
  margin: 30px 0 15px 0;
  transform: translateY(45px) scaleY(0);
  transition: transform .3s ease-out 0s;
}
@media screen and (max-width:499px){
  .post-view__title {
    font-size: 2.2em;
  }
}

.post-view--ready .post-view__container {
  opacity: 1;
}
.post-view--ready .post-view__date, .post-view--ready .post-view__content {
  transform: translateY(0px);
}
.post-view--ready .post-view__title {
  transform: translateY(0px) scaleY(1);
}

.post-controls {
  position: fixed;
  right: 20px;
  flex-direction: column;
  top: 56px;
  display: flex;
}

.post-control {
  cursor: pointer;
  font-size: 1.375em;
  background: #fbf9bd;
  margin-bottom: 15px;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 43px;
  transition: all .3s ease 0s;
}
.post-control:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}
.post-control--close {
  font-size: 2em;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
}
.post-control--close:hover {
  background: #000;
}

@media only screen and (max-width: 991px) {
  html {
    font-size: 13px;
  }

  .post-controls {
    /*bottom: 10px;*/
    z-index: 99;
    top: 10px;
    /*top: auto;*/
    background: rgba(0, 0, 0, 0.7);
    padding: 0 5px;
    justify-content: center;
    margin: auto;
    border-radius: 30px;
    height: 55px;
    align-items: center;
    flex-direction: row-reverse;
  }

  .post-control {
    margin: 0 5px;
  }
  .post-control--close {
    background: #000;
  }

  .post-view__container {
    padding: 0 30px;
  }
}


/* header logo */
.headerLogo{
  width:303px;
  background-color: rgba(255,255,255,0.5);
  border-radius: 5px;
}
.headerLogo img{
  width:300px;
}
@media screen and (max-width:414px){
  .headerLogo{
    width:200px;
  }
  .headerLogo img{
    width:200px;
  }
}
/* END header logo*/

/* header logo */
.title_con{
  margin-top: 50px;
  /*margin-left:25px;*/
  width:100%;

}
.title_con_box{
  width:30%;
}
.title_con h1 {
   font-size: 4vw;
   /*font-family: 'Comfortaa', cursive;*/
   font-family: 'Exo 2', sans-serif;
  /*text-align: left;*/
  padding: 0 0 6px 10px;
  border-left: 10px solid #FAC402;
  border-bottom: 2px solid #FAC402;
}
@media screen and (max-width:414px){
  .title_con h1 {
    font-size: 24px;
  }
  .title_con_box{
    width:55%;
  }
}
/* END header logo */






/* pagination start */

.pagination li {
  border-top-color: #3F3F3F;
  border-bottom-color:#3F3F3F;
}
.pagination li:before,
/*.pagination .active:after,
.pagination .active:before,*/
.pagination .active ~ li:before {
  border-left-color: #3F3F3F;
  border-right-color: #3F3F3F;
}

.pagination .active:after,
.pagination .active:before{
  border-left-color: #C7A40A;
  border-right-color: #C7A40A; 
}
ul .active {
  border-top-color: #C7A40A;
  border-bottom-color: #C7A40A; 
}

.pagination a {
  text-shadow: 1px 1px 1px #FAC002, 2px 2px 2px black;
  color: white;
  font-size: 22px;
  font-weight: bold;
  text-decoration: none;
}
.pagination .active a { color: black; font-weight: 700; }
.pagination .disabled a,
.pagination .disabled:hover a { color: #A6A6A6; cursor: default;  }
.pagination li:hover a { color: black; }

/*
 * Basic style
 */
.pagination {
  width:60%;
  margin-bottom: 0;
  text-align: center;
}

.pagination ul {
  display: inline-block;
  list-style-type: none;
  margin: 0;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  text-align: center;
}
.pagination li {
  border-right:10px solid transparent;
  border-bottom-width: 17px;
  border-top-width: 17px;
  border-style: solid;
 
  transform:rotate(360deg);
  border-left: 0;
  height: 0;
  float: left;
  margin-right: 3px;
  position: relative;
}
.pagination li:before {
  border-bottom-color: transparent;
  border-left-color: transparent;
  border-top-color: transparent;
  border-width: 17px 10px 17px 0;
  border-style: solid;
  position: absolute;
  content: '';
  left: -10px;
  height: 0px;
  top: -17px;
  width: 0px;
}
.pagination .active ~ li:before {
  border-bottom-color: transparent;
  border-top-color: transparent;
  border-width: 17px 0 17px 10px;
  right: -10px;
  left: auto;
}
.pagination .active ~ li {
  border-left:10px solid transparent;
  border-right: 0;
}
.pagination .active  {
  border-right: 0;
  border-left: 0;
}
.pagination .active:after,
.pagination .active:before {
  border-bottom-color: transparent;
  border-top-color: transparent;
  border-width: 17px 10px 17px 0;
  border-style: solid;
  position: absolute;
  content: '';
  height: 0px;
  width: 0px;
  top: -17px;
  left: -10px;
}
.pagination .active:after {
  border-bottom-color: transparent;
  border-right-color: transparent;
  border-top-color: transparent;
  border-width: 17px 0 17px 10px;
  left: 100%;
}
.pagination a {
  line-height: 36px;
  margin-top: -17px;
  display: block;
  height: 34px;
  width: 30px;
}
.pagination .prev {
  -webkit-border-radius: 20px 0 0 20px;
  -moz-border-radius: 20px 0 0 20px;
  border-radius: 20px 0 0 20px;
}
.pagination .next {
  -webkit-border-radius: 0 20px 20px 0;
  -moz-border-radius: 0 20px 20px 0;
  border-radius: 0 20px 20px 0;
  border-right: 0;
}
.pagination .prev a,
.pagination .next a {
  text-indent: -4px;
  line-height: 32px;
  font-size: 30px;
}
.pagination .prev a { text-indent: 4px; }
.pagination .prev:before,
.pagination .next:before { content: none; }

/*@media only screen and (max-width: 1370px) {
  
  .pagination a {
    margin-top: -15px;
    font-size: 38px;
  }
  
  .pagination .prev a,
  .pagination .next a {
    font-size: 46px;
  }
}*/

/*@media only screen and (min-width: 1100px) {

  .pagination a {
    line-height: 36px;
    margin-top: -34px;
    display: block;
    height: 68px;
    width: 60px;
  }
  .pagination .active:after,
  .pagination .active:before {
    border-width: 34px 10px 34px 0;
    height: 0px;
    width: 0px;
    top: -34px;
    left: -10px;
  }
  .pagination li:before {
    border-width: 34px 10px 34px 0;
    left: -10px;
    height: 0px;
    top: -34px;
    width: 0px;
  }
  .pagination li {
    border-bottom-width: 34px;
    border-top-width: 34px;
  }
  .pagination .active ~ li:before {
    border-bottom-color: transparent;
    border-top-color: transparent;
    border-width: 34px 0 34px 10px;
    right: -10px;
    left: auto;
  }
  .pagination .active:after {
    border-bottom-color: transparent;
    border-right-color: transparent;
    border-top-color: transparent;
    border-width: 34px 0 34px 10px;
    left: 100%;
  }
  .pagination a {
    margin-top: -15px;
    font-size: 37px;
  }
  .pagination .prev a,
  .pagination .next a {
    font-size: 45px;
  }
  
}*/



/*@media only screen and (min-width: 1370px) {

  .pagination a {
    line-height: 36px;
    margin-top: -34px;
    display: block;
    height: 68px;
    width: 60px;
  }
  .pagination .active:after,
  .pagination .active:before {
    border-width: 34px 10px 34px 0;
    height: 0px;
    width: 0px;
    top: -34px;
    left: -10px;
  }
  .pagination li:before {
    border-width: 34px 10px 34px 0;
    left: -10px;
    height: 0px;
    top: -34px;
    width: 0px;
  }
  .pagination li {
    border-bottom-width: 34px;
    border-top-width: 34px;
  }
  .pagination .active ~ li:before {
    border-bottom-color: transparent;
    border-top-color: transparent;
    border-width: 34px 0 34px 10px;
    right: -10px;
    left: auto;
  }
  .pagination .active:after {
    border-bottom-color: transparent;
    border-right-color: transparent;
    border-top-color: transparent;
    border-width: 34px 0 34px 10px;
    left: 100%;
  }
  .pagination a {
    margin-top: -17px;
    font-size: 50px;
  }
  .pagination .prev a,
  .pagination .next a {
    font-size: 55px;
  }
  
}*/


/* pagination END */

.main {
  border-bottom: 1px solid rgba(250,196,2,0.3);
}

.wrapp_background {
  display: none;
  /*border:1px solid red;*/
  width:100%;
  height: 100%;
  /*position: absolute;*/
  position: fixed;
  z-index: 3;
  background-color: rgba(63,63,63,0.8);
}

/* menu header */
.menuProduct {
  margin-top: 5px;
  cursor:pointer;
  border-left:1px dashed #FAC002;
  border-right:1px dashed #FAC002;
  text-align: center;
  text-shadow: 1px 1px 1px black;
  color:#FAC402;
  font-size: 2vw;
  width:97%;
  margin-left:auto;
  margin-right: auto;
  margin-bottom: 30px;
  right:3px;
}
.menuProduct_non  {
  text-align: center;
  display: inline-block;
  width:48%;
}
.menuProduct_non a {
  color:#FAC402;
  text-align: center;
  /*margin:15px;*/
  transition: 0.5s;
  /*padding:15px;*/
  }
.menuProduct_non a:hover {
  text-decoration: none;
  border-bottom: 1px dashed #FAC002;
  border-top: 1px dashed #FAC002;
  text-shadow: 1px 1px 1px black;
  background-color: rgba(255,255,255,0.3);
}
/*.golovnFilial span {
  line-height: 35px ;
  
}*/

@media screen and (max-width:700px){
  .menuProduct_non {
    font-size: 19px;
  }
 .menuProduct span {
    line-height: 20px;
  }
  .menuProduct_non {
    width:31%;
  }
}

.menuProduct_active {
  cursor: auto;
  padding:15px;
  font-weight: 400;
  color:#FAC402;
  border-bottom: 1px dashed #FAC402;
  border-top: 1px dashed #FAC402;
  /*text-shadow: 1px 1px 1px black;*/
  background-color: rgba(250,196,2,0.2);
}
/*.menuProduct_active a{
  cursor: auto;
}
.menuProduct_active a:hover{
  border: none;
  background-color: transparent;
}*/

@media screen and (max-width:320px) {
  .menuProduct_active {
    padding:3px;
  }
  .menuProduct_non a {
    padding:3px;  
  }
}
/* end menu header */

