#slides {
  position: relative;
}
#slides .slides-container, .slides-navigation {
  display: none;
}
#slides .scrollable {
  *zoom: 1;
  position: relative;
  top: 0;
  left: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  height: 100%;
}
#slides .scrollable:after {
  content: "";
  display: table;
  clear: both;
}

.slides-navigation {
  margin: 0 auto;
  position: absolute;
  z-index: 3;
  top: 40%;
  width: 100%;
}
.slides-navigation a {
  position: absolute;
  display: block;
}
.slides-navigation a.prev {
  left: 0;
}
.slides-navigation a.next {
  right: 0;
}

.slides-pagination {
  position: absolute;
  z-index: 3;
  bottom: 0;
  text-align: center;
  width: 100%;
  top:90%;
  
}
.slides-pagination a {
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 15px;
  width: 20px;
  height: 20px;
  display: -moz-inline-stack;
  display: inline-block;
  vertical-align: middle;
  *vertical-align: auto;
  zoom: 1;
  *display: inline;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR4nGP6zwAAAgcBApocMXEAAAAASUVORK5CYII=");
  margin: 2px;
  overflow: hidden;
  text-indent: -300%;
}
.slides-pagination a.current {
  background: rgba(255, 255, 255, 0.5);
}


	@media only screen and (max-width: 600px){
		#slides{
   max-height:300px!important;
}
}

@media only screen and (min-width: 601px)and (max-width: 700px){	
		

	#slides{
   max-height:330px!important;
}
	
	}

@media only screen and (max-width: 700px){
#main-slideshow {
    width: 90% !important;
    margin: 4em auto 0em auto!important;
    overflow: hidden;
	    padding-top: 7em;
}
			#slides img{
    width: 90% !important;
    height: auto !important;
			  top:0px !important;
			  left: 0 !important;
}
		.slides-navigation {
    padding-top: 0% !important
   
}
	
}



@media only screen and (min-width: 160px)and (max-width: 499px){	
		
#main-slideshow {
     max-height: 350px;
}
	
	}

	
@media only screen and (min-width: 501px)and (max-width: 550px){	
		
#main-slideshow {
    max-height: 580px;
}
	
	}


@media only screen and (min-width: 551px)and (max-width: 600px){	
#main-slideshow {
    max-height: 600px;
}
		
	
	}






@media only screen and (min-width: 701px)and (max-width: 850px){
	

	#slides{
   max-height:900px!important;

}
	}
	


@media only screen and ( max-width: 599px )  {
	
			.slides-paginationy, .slides-pagination {
display:none
  
}
}


#slides li {
    margin: 0px;
}



@media only screen and (min-width: 700px){
	.slides-navigation {
    display:block;
z-index:9999999999999999999 !important
}
	#main-slideshow{

	}


	#slides{
   max-height:630px!important;
}


}

#slides  .imagerubrik img {
    width: auto !important;
    height: 25px !important;
    }