@charset "UTF-8";
/* CSS Document */
button {
	margin:10px 5px;
	background-color:  #81C8EF;
	color: white;
	font-family: 'Cooper Hewitt Medium', sans-serif;
	padding: 6px 10px;
	text-transform: uppercase;font-size: 10px;
	float:right;
	border-radius: 5px;
	border: none;

}



.modal, .modal2 {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transform: scale(1.1);
        transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
	z-index:10000;
    }
    .modal-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: white;
        padding: 1rem 1.5rem;
        width: 600px;
        border-radius: 0.5rem;
    }
    .close-button {
        float: right;
        width: 1.5rem;
        line-height: 1.5rem;
        text-align: center;
        cursor: pointer;
        border-radius: 0.25rem;
        background-color: lightgray;
    }
    .close-button:hover {
        background-color: darkgray;
    }
    .show-modal {
        opacity: 1;
        visibility: visible;
        transform: scale(1.0);
        transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
    }
/* slideshow*/
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: 30px auto 0 auto;
	
}

.slideshow-container img {
	margin: 0 auto;
	float:none;
}

.modal-content h1 {
	width: 100%;
	font-size:13px;
	margin-top:10px;
}
.modal-content p {
	width: 100%;
	font-size:9px;
	margin-top:-10px;
	color: #9D9D9D;
}

/* Hide the images by default */
.mySlides {
  display: none;
	height:350px;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin: -22px;
  padding: 10px;
  color: #81c8ef;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 20px;
  border-radius: 3px 3px 3px 3px;
}
.prev {
	left:20px;
	border-radius: 3px 3px 3px 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.4);border-radius: 3px 3px 3px 3px;
}

/* 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: 15px;
  width: 15px;
  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}
}

@media screen and (max-width: 800px){
	.slideshow-container {
  max-width: 500px;
  position: relative;
  margin: 30px auto 0 auto;
		max-height:150px;
	
}
	
	 .modal-content {
     
        width: 300px;
       
    }
	.mySlides {
  display: none;
	height:300px;
}
	.rented-property-box .mySlides img{
	height:150px;
	width:auto;
	}
.rented-property-box .modal-content h1 {
	width: 90%;
	font-size:10px;
	margin-top:20px;
}
	.rented-property-box .modal-content p {

	font-size:9px;
		margin: 5px 0 0 20px;

}
	button {
	margin:0px 20px 10px 20px;
	background-color:  #81C8EF;
	color: white;
	font-family: 'Cooper Hewitt Medium', sans-serif;
	padding: 6px 10px;
	text-transform: uppercase;font-size: 10px;
	float:left;
	border-radius: 5px;
	border: none;

}
}