/* Slider styles */

.sim-slider {
	width: 70vw;
	height: 90vh;
	padding: 10px 40px 30px 40px;
	border: 10px solid #ccd;
	border-radius: 3em;
	background: rgba(130,130,130,0.7);
	background-size: cover;
	position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
	z-index: -1;
	opacity: 0;
	transition: opacity 0.5s ease-in;
}

.sim-slider img {
	width: 100%;
	height: 100%;
    max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.sim-slider-list {
  margin: 0;
  padding: 0;
  list-style-type: none;
  position: relative;
top:0;
width: 100%;  
height: 100%;
}

.sim-slider-element {
  width: 100%;
  height: 100%;
  transition: opacity 0.5s ease-in;
  opacity: 0;
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* Navigation item styles */
div.sim-slider-arrow-close {
  width: 22px;
 height: 22px; 
  position: absolute;
  cursor: pointer;
  opacity: 0.6;
  z-index: 4;
}


div.sim-slider-arrow-left,
div.sim-slider-arrow-right {
  width: 22px;
  height: 40px;
  position: absolute;
  cursor: pointer;
  opacity: 0.6;
  z-index: 4;
}

div.sim-slider-arrow-close {
  right: 2%;
  top: 3%;
  display: block;
  background: url("/static/images/vistavka/sim-arrow-close.png") no-repeat;
  background-size: 100% auto;
}

div.sim-slider-arrow-left {
  left: 10px;
  top: 40%;
  display: block;
  background: url("/static/images/vistavka/sim-arrow-left.png") no-repeat;
}

div.sim-slider-arrow-right {
  right: 10px;
  top: 40%;
  display: block;
  background: url("/static/images/vistavka/sim-arrow-right.png") no-repeat;
}

div.sim-slider-arrow-close:hover {
  opacity: 1.0;
}

div.sim-slider-arrow-left:hover {
  opacity: 1.0;
}

div.sim-slider-arrow-right:hover {
  opacity: 1.0;
}

div.sim-slider-dots {
  width: 100%;
  height: auto;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  text-align: center;
}

span.sim-dot {
  width: 10px;
  height: 10px;
  margin: 5px 7px;
  padding: 0;
  display: inline-block;
  background-color: #ce2d2d;
  border-radius: 5px;
  cursor: pointer;
}

div.sim-slider-caption{
	display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


div.sim-slider-caption div{
  display: inline-block;
font-style: oblique;
    font-size: x-large;
	width: auto;
	height: auto;
	position: absolute;
	bottom: 30px;
	z-index: 3;
	text-align: center;
	background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
	padding: 2px 10px 5px 10px;
  opacity: 1;
  transition: opacity 0.2s ease-in;
}

div.sim-slider-caption div:hover {
  transition: opacity 0.2s ease-out;
  opacity: 0;
}

