    @media (max-width: 1000px) {
      .minimized { width: 452px; }
	  .minimized_no_photo { width: 452px; }
	  .minimized_pro { width:110px; }
    }

    @media (min-width:1000px) and (max-width:1320px) {
      .minimized { width: 452px; }
	  .minimized_no_photo { width: 452px; }
	  .minimized_pro { width:110px; }
    }

    @media (min-width:1320px) and (max-width:1640px) {
      .minimized { width: 616px; }
	  .minimized_no_photo { width: 616px; }
	  .minimized_pro { width:120px; }
    }
	
	@media (min-width: 1640px) {
      .minimized { width: 740px; }
	  .minimized_no_photo { width: 740px; }
	  .minimized_pro { width:120px; }
	  
    }

.minimized {  
  cursor: pointer;
  margin: 0px 2px 0px 2px;
}

.minimized_no_photo {  
  margin: 0px 2px 0px 2px;
}

.minimized:hover {
  border: 0px solid #FFF;
  box-shadow: 0 0 10px grey;
}

.minimized_work {
  width: 380px;
  cursor: pointer;
  border: 0px solid #FFF;
}
.minimized_work:hover {
  border: 0px solid #FFF;
  box-shadow: 0 0 10px grey;
}

.minimized_block {
  width: 405px;
  cursor: pointer;
  border: 0px solid #FFF;
}
.minimized_block:hover {
  border: 0px solid #FFF;
  box-shadow: 0 0 10px grey;
}

.minimized_lit {
  cursor: pointer;
  border: 0px solid #FFF;
}
.minimized_lit:hover {
  border: 0px solid #FFF;
  box-shadow: 0 0 10px grey;
}

.minimized_pro {
  margin: 0px 2px 0px 2px;
  cursor: pointer;
  border: 0px solid #FFF;
}
.minimized_pro:hover {
  border: 0px solid #FFF;
  box-shadow: 0 0 10px grey;
}

/* увеличенная картинка */
#magnify {
  display: none;
  /* position: absolute; */
  position: fixed;
  max-width: 1000px;
  height: auto;
  z-index: 9999;
/*  border: 3px solid #FFF; */
}
#magnify img {
  width: 100%;
}
/* затемняющий фон */
#overlay {
  display: none;
  background: #000;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 0.7;
  z-index: 9990;
}
/* кнопка закрытия */
#close-popup {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 15px;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 15px;
}
#close-popup i {
  width: 30px;
  height: 30px;
  background: url(../photos/button/cross.png) no-repeat center center;
  background-size: 16px 16px;
  display: block;
}

#close-popup:hover {
  animation: rota 4s infinite normal;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
  background: rgba(255, 255, 255, 1);
}

/* кнопка оригинал */
#original-popup {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 15px;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 50px;
}
#original-popup i {
  width: 30px;
  height: 30px;
  background: url(../photos/button/quadro.png) no-repeat center center;
  background-size: 16px 16px;
  display: block;
}

#original-popup:hover {
  animation: rota 4s infinite normal;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
  background: rgba(255, 255, 255, 1);
}

/* кнопка вправо */
#right-popup {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 15px;
  cursor: pointer;
  position: absolute;
  top: 50%;
  right: 15px;
}
#right-popup i {
  width: 30px;
  height: 30px;
  background: url(../photos/button/right.png) no-repeat center center;
  background-size: 20px 20px;
  display: block;
}

#right-popup:hover {
  animation: rota 4s infinite normal;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
  background: rgba(255, 255, 255, 1);
}

/* кнопка влево */
#left-popup {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 15px;
  cursor: pointer;
  position: absolute;
  top: 50%;
  left: 15px;
}
#left-popup i {
  width: 30px;
  height: 30px;
  background: url(../photos/button/left.png) no-repeat center center;
  background-size: 20px 20px;
  display: block;
}

#left-popup:hover {
  animation: rota 4s infinite normal;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
  background: rgba(255, 255, 255, 1);
}

/* количество */
#count-popup {
  width: 50px;
  height: 30px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 15px;
  position: absolute;
  left: 50%;
  bottom: 15px;
}