* {box-sizing: border-box;}

.img-comp-container {
  position: relative;
  height: 420px; /*should be the same height as the images*/
}

.img-comp-container img {
    max-width: inherit;
	width: 520px;
}

.img-comp-img {
  position: absolute;
  width: auto;
  height: auto;
  overflow:hidden;
}

.img-comp-container .img-comp-img {
	border: 8px solid #fff;
}

.img-comp-container .img-comp-img:last-child {
	border-right: none;
}

.img-comp-img img {
  display:block;
  vertical-align:middle;
}

.img-comp-slider {
  	position: absolute;
    z-index: 9;
    cursor: ew-resize;
    width: 40px;
    height: 40px;
    background-color: #f1cf61;
    /*opacity: 0.9;*/
    border-radius: 50%;
    color: #333;
    text-align: center;
    line-height: 44px;
    font-weight: bold;
    font-size: 20px;
	
	box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.2), 0 0 10px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.mb_40 {
	margin-bottom: 40px;
}

@media only screen and (max-width: 991px) {
	.img-comp-container {
	  height: 270px;
	}
	
	.img-comp-container img {
		width: 320px;
	}
}

@media only screen and (max-width: 768px) {
	.img-comp-container {
	  height: 200px;
	}
	
	.img-comp-container img {
		width: 240px;
	}
}

@media only screen and (max-width: 560px) {
	.img-comp-container {
	  height: 320px;
	}
	
	.img-comp-container img {
		width: 400px;
	}
}

@media only screen and (max-width: 420px) {
	.img-comp-container {
	  height: 260px;
	}
	
	.img-comp-container img {
		width: 320px;
	}
}