.layer {
      position: absolute;
      top: 210px;
      left: 30px;
      /*transform: translateX(-50%);*/
      width: 300px;
      max-width: 300px;
      z-index: 100000;
      display: none;
    }
    .layer.active { display: block; }
    .slider {
      position: relative;
      overflow: hidden;
    }
    .slides {
      display: flex;
      transition: transform 0.5s ease-in-out;
    }
    .slide {
      min-width: 100%;
      height: 457px;
      display: flex;
      align-items: center;
      justify-content: center;
      background-size: cover;
      background-position: center;
    }
    .arrow {
      position: absolute;
      bottom: 15px;
      transform: translateY(-50%);
      background:none;
      color: white;
      border: none;
      border-radius: 50%;
      width: 30px;
      height: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer; z-index:111;
    }
    .arrow.left { right: 75px; }
    .arrow.right { right: 5px; }
    .controls {height:30px;
      display: flex;
      justify-content: space-between;
      padding: 0 10px;
      background: #bdbdbd;
    }
    .paging { 
      position: absolute; 
      bottom: 55px; 
      right: 0; 
      padding: 5px 40px; 
      border-radius: 30px 0 0 30px;
      font-size: 17px;
      font-weight: bold;
      color: #fff; 
      background: url(popbg.png);
    }
    .paging .total { font-size: 14px;
      color: #777; 
    }
	.slash { font-size: 14px;  color: #777;}

    .buttons {position: relative; width:100%; margin-top:-3px;}
    .buttons button { 
      margin:2px 0;
      background: none;
      border: none;
      cursor: pointer;
      color: #fff;
      font-size: 12px;
    }
    .buttons button:hover { text-decoration: underline; }
    .buttons button.right {float:right;}

    @media (max-width:1000px){  
      .layer {position:fixed !important; top: 115px !important; left: 50% !important; max-width: 250px; width:250px !important; margin-left:-125px !important; transform: translateX(0);}
	  .layer .slide img {max-width:100% !important;}
	   .slide {height: 381px;}
    }