.modal{
        top: 140px !important;
        height: 430px;
    }
.modal-content {
    background-color: #fefefe;
    margin: auto;
    /* padding: 20px; */
    border: 1px solid #888;
    width: 77%;
    height: 427px;
}
.notLoginclose, .close {
    color: #aaaaaa;
    
    font-size: 28px;
    font-weight: bold;
    margin-left: 97%;
}
.notLoginclose, .close:hover,
.notLoginclose, .close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
.slideshow {
	position: relative;
	text-align: center;
	line-height: 495px;
	padding-bottom: 30px;
}
.slideshow[data-transition="zoom"] {
	overflow: hidden;
}
.slideshow--item {
	line-height: 1.5;
	position: absolute;
	top: 0;
    left: 350px;
	visibility: hidden;
}
.slideshow--bullet:checked + .slideshow--item {
	visibility: visible;
}
					
.slideshow[data-transition="fade"] .slideshow--item {
	visibility: visible;
	opacity: 0;
	transition: .3s ease-out opacity;
}
.slideshow[data-transition="fade"] .slideshow--bullet:checked + .slideshow--item {
	opacity: 1;
}

.slideshow[data-transition="zoom"] .slideshow--item {
	visibility: visible;
	opacity: 1;
	transform: scale(0.000001);
	transition: .3s ease-out transform;
}
.slideshow[data-transition="zoom"] .slideshow--bullet:checked + .slideshow--item {
	opacity: 1;
	transform: scale(1);
}
.slideshow--nav{
	position: absolute;
	top: 0;
	bottom: 0;
	width: 50%;
	display: none;
	z-index: 88;
	cursor: pointer;
	color: transparent;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
					
.slideshow--nav:after {
	display: block;
	content: '\25B6';
	font-size: 2em;
	color: #fff;
	position: absolute;
	top: 50%;
	right: 10px;
	margin-top: -.5em;
}
                    
.slideshow--nav-previous {
	left: 0;
	display: block;
}
				
.slideshow--nav-previous:after {
	-webkit-transform: scaleX(-1);
	-moz-transform: scaleX(-1);
	transform: scaleX(-1);
	right: auto;
	left: 10px;
							}
.slideshow--nav-next {
	left: 50%;
	display: block;
						}
.slideshow--bullet {
	font-size: .75em;
	width: 1em;
	height: 1em;
	display: inline-block;
	position: relative;
	z-index: 99;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: #ccc;
	border-radius: 1em;
	transition: .3s ease-out background,
				.3s ease-out transform;
					}
				
.slideshow--bullet:checked {
	background: #999;
	outline: none;
	-webkit-transform: scale(1.3);
	-moz-transform: scale(1.3);
	transform: scale(1.3);
				}

.slideshow--item > img {
    /* width: 356px; */
    width: 100%;
    vertical-align: ce;
}
.slideshow--item > img {
    /* width: 356px; */
    width: 100%;
    min-height: auto;
    vertical-align: ce;
}

.slider{
	/*width: 640px; Same as width of the large image*/
	position: relative;
	padding-top: 320px; /*That helps bring the labels down*/
	margin: 20px auto;
	/*box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.75);*/
            }
/*Last thing remaining is to add transitions*/
.slider>img{
	position: absolute;
	left: 0; top: 0;
	transition: all 0.5s;
        }
.slider input[name='slide_switch'] {
	display: none;
    }
.slider label {
	margin: 18px 0 0 18px;
	border: 3px solid #999;

	float: left;
	cursor: pointer;
	transition: all 0.5s;
	opacity: 0.6;
    }
.slider label img{
	display: block;
}

/*Time to add the click effects*/
/*.slider input[name='slide_switch']:checked+label {
	border-color: #666;
	opacity: 1;
}*/
/*Clicking any thumbnail now should change its opacity(style)*/
/*Time to work on the main images*/
.slider input[name='slide_switch'] ~ img {
	opacity: 0;
	/*transform: scale(1.1);*/
}
.slider input[name='slide_switch']:checked+label+img {
	opacity: 1;
	transform: scale(1);
}




/*--------------popup-slider--------------*/
.thumbs {
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
}

.thumbs li, .thumbs li a {
  width: 98px;
  height: 55px;
}

.thumbs a {
  /*display: block;*/
  position: relative;
  font: bold 12px/25px Arial, sans-serif;
  color: #515151;
  text-decoration: none;
  text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.25), inset 1px 1px 0px rgba(0, 0, 0, 0.15);
}

.thumbs li a img {
  width: 90px;
  height: 45px;
  border: 4px solid #3498DB;
}

.thumbs li a:hover span {
  position: absolute;
  z-index: 101;
  bottom: -30px;
  display: block;
  width: 98px;
  height: 25px;
  text-align: center;
  border-radius: 3px;
  -webkit-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.4);
  -o-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.4);
  -ms-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.4);
  box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.4);
  background: #fff;
  background: -webkit-linear-gradient(top, #fff 0%, #bcbcbc 100%);
  background: -moz-linear-gradient(top, #fff 0%, #bcbcbc 100%);
  background: -o-linear-gradient(top, #fff 0%, #bcbcbc 100%);
  background: -ms-linear-gradient(top, #fff 0%, #bcbcbc 100%);
  background: linear-gradient(top, #fff 0%, #bcbcbc 100%);
}

.thumbs li a:hover span::before {
  width: 0;
  height: 0;
  border-bottom: 5px solid white;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  content: "";
  position: absolute;
  top: -5px;
  left: 44px;
}

.slide {
  overflow: hidden;
  /*border: 4px solid #E74C3C;*/
  border: 4px solid #3498DB;
}

.slide, .slide li, .slide img {
  width: 712px;
  height: 350px;
  position: relative;
}

.slide li {
  position: absolute;
  z-index: 50;
}

/*Animation For Slider*/
@-webkit-keyframes 
slider {  0% {
left: -500px;
}
 100% {
left: 0;
}
}

.slide li:target {
  z-index: 100;
  -webkit-animation: slider 1s 1;
}

/*Not Target*/
@-webkit-keyframes 
noTarget {  0% {
z-index: 75;
}
 100% {
z-index: 75;
}
}

.slide li:not(:target) { -webkit-animation: noTarget 1s 1; }
/*--------------popup-slider--------------*/
