.gallery__view{
  height: 70vh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.gallery__thumbs-wrapper{
  position:relative;
  /*background: rgb(0,0,0);
  background: rgba(0,0,0,0.5);*/
}

.gallery__thumbs{
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  padding: 15px 0;
}

.gallery__thumbs-img img {
  width: 100%;
}

.thumb{
  width: 13%;
  padding: 0;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  height:15vh;
}

.thumb__link{
  display: block;
  border: none;
  margin-bottom: 0;
  padding: 0;
}

.thumb__img{
  border:solid 1px #999 !important;
  width:100%;
  position: relative;
  -webkit-transition: all 200ms ease-in;
  -o-transition: all 200ms ease-in;
  -webkit-transform: scale(0.9); 
  -o-transform: scale(0.9); 
  -ms-transition: all 200ms ease-in;
  -ms-transform: scale(0.9); 
  -moz-transition: all 200ms ease-in;
  -moz-transform: scale(0.9);
  transition: all 200ms ease-in;
  transform: scale(0.9);   
  height:15vh;
}

.thumb__img:hover{
  box-shadow: 0 0 30px #222;
  z-index: 2;
  -webkit-transition: all 200ms ease-in;
  -webkit-transform: scale(1.1);
  -o-transition: all 200ms ease-in;
  -o-transform: scale(1.1);
  -ms-transition: all 200ms ease-in;
  -ms-transform: scale(1.1);   
  -moz-transition: all 200ms ease-in;
  -moz-transform: scale(1.1);
  transition: all 200ms ease-in;
  transform: scale(1.1);
  height:15vh;
  border:0;
}

.scroll__btn {
  position: absolute;
  z-index:3;
  border: none;
  background-color: #333;
  display:none;
  opacity: 0.5;
  width: 3%;
  cursor: pointer;
}

.scroll__btn img{
  width: 15px; 
}

.left__btn{
  left: 0
}

.right__btn{
  right: 0
}

.slide {
  position: relative;
  /*margin: 100px auto;*/
  /*width: 80%;*/
  /*height: 450px;*/
  background-color: #ccc;
}

.slide ul li {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
  list-style: none;
}

.slide .dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  width: 100%;
  z-index: 3;
  text-align: center;
}

.slide .dots li {
  display: inline-block;
  margin: 0 10px;
	width: 10px;
	height: 10px;
	border: 2px solid #fff;
	border-radius: 50%;
  opacity: 0.4;
	cursor: pointer;
	transition: background .5s, opacity .5s;
  list-style: none;
}

.slide .dots li.active {
  background: #fff;
	opacity: 1;
}

.slide .arrow {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 35px;
  width: 100%;
  height: 100%;
  transition: background .5s, opacity .5s;
}

.slide .arrow .arrow-left,
.slide .arrow .arrow-right {
  position: absolute;
  top: 50%;
  margin-top: -25px;
  display: block;
  width: 50px;
  height: 50px;
  cursor: pointer;
  opacity: 0.5;
  transition: background .5s, opacity .5s;
}

.slide .arrow  .arrow-left:hover,
.slide .arrow  .arrow-right:hover {
  opacity: 1;
}

.slide .arrow .arrow-left {
  left: 20px;
  background: url("../img/arrow-left.png");
}

.slide .arrow .arrow-right {
  right: 20px;
  background: url("../img/arrow-right.png");
}

/*
.spinner{
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #111;
  z-index: 10;
}

.spinner img{
  width: 70px;
  left: 50%;
  top: 50%;
  position: absolute;
  -o-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  
}

.container{
  width: 100%;
  height: 100vh;
  opacity: 0;
}

button:focus{
  outline:0;
}

.gallery__view{
  height: 100vh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.gallery__thumbs-wrapper{
  position: fixed;
  bottom: 0;
  background: rgb(0,0,0);
  background: rgba(0,0,0,0.5);
}

.gallery__thumbs{
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  padding: 15px 0;
}

.gallery__thumbs-img img {
  width: 100%;
}

.thumb{
  width: 16%;
  padding: 0;
  display: inline-block;
  position: relative;
  vertical-align: middle;
}

.thumb__link{
  display: block;
  border: none;
  margin-bottom: 0;
  padding: 0;
}

.thumb__img{
  border:0;
  width:100%;
  position: relative;
  -webkit-transition: all 200ms ease-in;
  -o-transition: all 200ms ease-in;
  -webkit-transform: scale(0.9); 
  -o-transform: scale(0.9); 
  -ms-transition: all 200ms ease-in;
  -ms-transform: scale(0.9); 
  -moz-transition: all 200ms ease-in;
  -moz-transform: scale(0.9);
  transition: all 200ms ease-in;
  transform: scale(0.9);   
}

.thumb__img:hover{
  box-shadow: 0 0 30px #222;
  z-index: 2;
  -webkit-transition: all 200ms ease-in;
  -webkit-transform: scale(1.1);
  -o-transition: all 200ms ease-in;
  -o-transform: scale(1.1);
  -ms-transition: all 200ms ease-in;
  -ms-transform: scale(1.1);   
  -moz-transition: all 200ms ease-in;
  -moz-transform: scale(1.1);
  transition: all 200ms ease-in;
  transform: scale(1.1);
}

.scroll__btn {
  position: fixed;
  z-index:3;
  border: none;
  background: #000;
  display:none;
  opacity: 0.6;
  width: 3%;
  cursor: pointer;
}

.scroll__btn img{
  width: 15px; 
}

.left__btn{
  left: 0
}

.right__btn{
  right: 0
}

@media (max-width: 1200px){
  .scroll__btn {
    width: 4%;
  }
}

@media (max-width: 768px){
  .thumb{
    width: 25%;
  }
  .scroll__btn {
    width: 7%;
  }
}

@media (max-width: 390px){
  .thumb{
    width: 40%;
  }
  .scroll__btn {
    width: 10%;
  }
}
*/


@media (max-width: 768px){
  .thumb{
    width: 25%;
  }
  
  .scroll__btn {
	opacity:1;
	background:none;
  }
  
  .slide ul li{
	  background-size:cover !important;
  }
}

