﻿
.popup{
  max-width: 900px;
  z-index: 20;
  position: absolute;
  
  /*
  -moz-box-shadow: 4px 4px 30px #130507;
  -webkit-box-shadow: 4px 4px 30px #130507;
  box-shadow: 4px 4px 30px #130507;
  */

  left: auto;
  right: auto;
  display: table;
}

.popup-left-arrow{
  float: left;
  width: 23px;
  height: 42px;
  cursor: pointer;
  position: absolute;
  background: transparent url(../img/popup-prev.png) center no-repeat;
}

.popup-right-arrow{
  float: left;
  width: 23px;
  height: 42px;
  margin-left: 5px;
  position: relative;
  cursor: pointer;
  background: transparent url(../img/popup-next.png) center no-repeat;  
}

.p_content{
  width: 100%; 
  text-align: center; 
  font-size: 23px; 
  padding: 110px 0 0; 
}

.p_anch{
  float: left; 
  position: relative; 
  z-index: 1; 
  width: 100%;
  margin: 80px 0 0 0; 
  text-align: center; 
  font-size: 18px;
}

.p_anch a{
  color: #000;
}
.p_anch a:hover{
  text-decoration: none;
}
.p_anch_bottom{
  margin: 1500px 0 0 0;
  padding: 0 0 50px 0; 
}

.p_body {
  z-index: 20;
  background:#000;
  left:0;
  top:0;
  position:fixed;
  width:100%; 
  height:100%; 
  opacity:0.7;
  
  /*
  -moz-transition:opacity 800ms;
  -o-transition:opacity 800ms;
  -webkit-transition:opacity 800ms;
  transition:opacity 800ms;
  */
}

/* js стили — декларативно */
.js__popup {}
.js__p_start {}
.js__p_close {}
.js__p_body {}
.js__slide_top{
  height: 0;
  overflow: hidden;
  top: 0; 
  display: none;
}

.js__fadeout{
  height: 0;
  overflow: hidden;
  opacity: 0;
}

.tile-images{
  max-width: 844px;
  clear: both;
  display: block;
  float: left;
  margin-left: 28px;
}

@media (max-width: 979px){
  .popup{
    max-width: 640px;  
  }

  .tile-images{
    max-width: 584px;  
  }

}

@media (max-width: 767px){
  .popup{
    max-width: 300px;  
  }

  .tile-images{
    max-width: 244px;  
  }

}



.popup{
  max-width: 900px;
  z-index: 20;
  position: absolute;

  /*
  -moz-box-shadow: 4px 4px 30px #130507;
  -webkit-box-shadow: 4px 4px 30px #130507;
  box-shadow: 4px 4px 30px #130507;
  */

  left: auto;
  right: auto;
  display: table;
}

.popup-left-arrow{
  float: left;
  width: 23px;
  height: 42px;
  cursor: pointer;
  position: absolute;
  background: transparent url(../img/popup-prev.png) center no-repeat;
}

.popup-right-arrow{
  float: left;
  width: 23px;
  height: 42px;
  margin-left: 5px;
  position: relative;
  cursor: pointer;
  background: transparent url(../img/popup-next.png) center no-repeat;
}

.p_content{
  width: 100%;
  text-align: center;
  font-size: 23px;
  padding: 110px 0 0;
}

.p_anch{
  float: left;
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 80px 0 0 0;
  text-align: center;
  font-size: 18px;
}

.p_anch a{
  color: #000;
}
.p_anch a:hover{
  text-decoration: none;
}
.p_anch_bottom{
  margin: 1500px 0 0 0;
  padding: 0 0 50px 0;
}

.p_body {
  z-index: 20;
  background:#000;
  left:0;
  top:0;
  position:fixed;
  width:100%;
  height:100%;
  opacity:0.7;

  /*
  -moz-transition:opacity 800ms;
  -o-transition:opacity 800ms;
  -webkit-transition:opacity 800ms;
  transition:opacity 800ms;
  */
}

/* js стили — декларативно */
.js__popup {}
.js__p_start {}
.js__p_close {}
.js__p_body {}
.js__slide_top{
  height: 0;
  overflow: hidden;
  top: 0;
  display: none;
}

.js__fadeout{
  height: 0;
  overflow: hidden;
  opacity: 0;
}

.tile-images{
  max-width: 844px;
  clear: both;
  display: block;
  float: left;
  margin-left: 28px;
}

@media (max-width: 979px){
  .popup{
    max-width: 640px;
  }

  .tile-images{
    max-width: 584px;
  }

}

@media (max-width: 767px){
  .popup{
    max-width: 300px;
  }

  .tile-images{
    max-width: 244px;
  }

}
