.slider {
  width: 300px;
  text-align: center;
  overflow: hidden;
  display:inline-block;
  max-width: 100%;
}

.slides {
  display: flex;
  
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  
 
 
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  
}
.slides::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
}
.slides::-webkit-scrollbar-thumb {
  /*border-radius: 10px;
    background-color: black;
 	box-shadow: 0 0 1px rgba(255,255,255,.5);*/
}
.slides::-webkit-scrollbar-track {
  background: transparent;
}
.slides > div {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 300px;
  height: 300px;
  max-width: 100%;
  margin-right: 50px;
  border-radius: 10px;
  background: #fff;
  transform-origin: center center;
  transform: scale(1);
  transition: transform 0.5s;
  position: relative;
  
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: large;
}
.slides > div:target {
   /*transform: scale(0.8);*/
}

.slider img {
  object-fit: fill;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.custom_slider_dot {
  display: inline-flex;
  width: 1.5rem;
  height: 1.5rem;
  background: #fff;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0.5em 1em 0.7em 0;
  position: relative;
  /*border: none;*/
  border: 1px solid #ccc;
}


.slider > span {
  display: inline-flex;
  width: 1.5em;
  height: 1.5em;
  background: #ccc;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0.5em 1em 0.7em 0;
  position: relative;
}

.slider > a {
  display: inline-flex;
  width: 1.5rem;
  height: 1.5rem;
  background: #ccc;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0.5em 0.5em 0.7em 0;
  position: relative;
}
.slider > a:visited {
  top: 1px;
  color:black;
  background: #ccc;
}

.slider > a:link {
  top: 1px;
  color:black;
  background: #ccc;
}

.slider > a:active {
  top: 1px;
  color:black;
  background: #f1f1f1;
}
.slider > a:focus {  
  background: #f1f1f1;
}

.active_custom_slider_dot {
	/*background-color: #fff!important;*/
	background-color: #9a9a9a!important;
	border: 1px solid #9a9a9a;
}

@media (min-width: 1366px) {
}

@media (max-width: 1365px) {
}

@media (min-width: 768px) and (max-width: 1023px) {
}

@media (min-width: 601px) and (max-width: 767px) {
}

@media (min-width: 480px) and (max-width:600px) {
}

@media (max-width: 479px) {
	.slider {
		width: 100%;
	}
	.slider img {
		transform: scale(0.9);
	}
}
