﻿* {box-sizing:border-box}
body {font-family: Verdana,sans-serif;margin:0}

img {
    border: 1px solid #ddd; /* Gray border */
    border-radius: 4px;  /* Rounded border */
    padding: 5px; /* Some padding */
/*    width: 150px; /* Set a small width */
}

/* Add a hover effect (blue shadow) */
img:hover {
    box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5);
}


/* The Modal (background) */

#Modall_Insert
{
	position:relative;
/	visibility:hidden;
	width:100%;
	height:100%;
    left: 0;
    top: 0;
	
}

.Modall_Insert_1
{
    display: none; /* Hidden by default */
    z-index: 1; /* Sit on top */
    overflow: auto; /* Enable scroll if needed */
/*    background: hsla(350,50%,50%,0.3);*/
    background: rgba(0,0,0,0.5);
}


#myModal
{
	position:fixed;
	width:100%;
	height:100%;
    left: 0;
    top: 0;
}

.modal {
    display: none; /* Hidden by default */
    z-index: 1; /* Sit on top */
    overflow: auto; /* Enable scroll if needed */
/*    background: hsla(350,50%,50%,0.3);*/
    background: rgba(0,0,0,0.5);
}

/* Modal Content (image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    padding: 10px 0;
    height: 150px;
}


/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    color:white;
}

.close:hover,
.close:focus,
.prev:hover,
.prev:focus, 
.next:hover,
.next:focus
{
    text-decoration: none;
    cursor: pointer;
    background-color:transparent;
}


/* Slideshow container */
.slideshow-container {
/  max-width: 1000px;
  position: relative;
  padding-top: 50px;
  margin: auto;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 0;
/*  top: 50%;
  padding: 16px;
  width: auto;
  margin-top: -22px;*/
	width: 100px;
  color: white;
  height:100%;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  background: transparent;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
  background-color: transparent;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
/*  background-color: rgba(0,0,0,0.8);*/
  background-color: transparent;
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor:pointer;
  height: 13px;
  width: 13px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .slprev, .slnext,.text {font-size: 11px}
}


.prev,
.next {
  display: none; /* Hidden by default */
  cursor: pointer;
  position: absolute;
/*  position:relative;
  top: 50%;*/
  height: 100%;
  width: 20px;
  padding: 16px;
  margin-top: -50px;
  color: white;
  background:transparent;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
