/* Slideshow container and animations */
* {box-sizing: border-box}
.mySlides {
	display: none; 
	background-size: cover; 
	background-position: 50% 25%; 
	height: calc(100vh - 164px);
	min-height: 510px;
}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
	position: relative;
	margin: auto;
}
.slider-text {
    text-align: center;
    position: absolute;
	top: 25vh;
	top: 18vh;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    min-width: 815px;
} 
  
/* The dots/bullets/indicators */
.dots {
	position: absolute;
	bottom: 40px;
	bottom: 5px;
	text-align: center; 
	width: 100%;
}
.dot {
	cursor: pointer;
	height: 15px;
	width: 15px;
	margin: 0 8px;
	background-color: white;
	border-radius: 50%;
	display: inline-block;
	transition: background-color 0.6s ease;
}
.active, .dot:hover {
	background-color: #F67E41;
}
.slider-text h1 {
	font-weight: bold;
}
.slider-text h1, .p1HomeHero {
	font-size: 34px; 
	color: white; 
	font-family: "futura-pt" !important;
	line-height: 1.25;
}
.p1HomeHero {
	margin-bottom: 25px;
}
.p2HomeHero {
	font-size: 18px;
	max-width: 480px;
	margin: 0 auto 45px;
}

.btnWhiteBorderHover {
	background-color: #C75B28; 
	color: white; padding: 13px 18px; 
	border-radius: 4px; 
	font-weight: bold;
}
.btnWhiteBorderHover:hover { 
	background-color: #00016B; 
	color: white;
	border: 1px solid white;
}
.heroOverlay {
	background-image: none;
	height: calc(100vh - 164px);
	min-height: 510px;
	width: 100%;
}

/* Width based queries */
@media (max-width: 820px) {
	.slider-text {
		min-width: 90vw;
		max-width: calc(100vw - 60px);
	}
}

@media (max-width: 811px) {
	.slider-text {
		top: 21vh;
		top: 15vh;
	}
	.slider-text span {
		display: none;
	}
}

@media (max-width: 658px) {
	.wrap-1 {
		padding-top: 111px;
	}
	.slider-text {
		top: 50% !important;
		transform: translate(-50%, -46%);
	}
	.dots, .homeHeroBtn {
		display: none;
	}
	.mySlides, .heroOverlay {
		min-height: 745px;
	}
}

@media (max-width: 645px) {
  .slider-text {
	  width: 100%;
	  text-align: center;
  }
	.slider-text h1, .p1HomeHero {
		font-size: 27px;
	}
	.slider-text h1 {
		max-width: 325px;
		margin-bottom: 6px;
	}
	.p1HomeHero {
		max-width: 310px;
    	margin: auto;
	}
	.p2HomeHero {
		max-width: 315px;
    	margin-top: 35px;
	}
}

/* Height based queries */
@media (max-height: 890px) {
	.slider-text {
		top: 21vh;
	}
}

@media (max-height: 860px) {
	.slider-text {
		top: 18vh;
	}
}

@media (max-height: 820px) {
	.slider-text {
		top: 14vh;
	}
}

@media (max-height: 770px) {
	.slider-text {
		top: 7vh;
	}
	.dots {
		bottom: 20px;
	}
}

@media (max-height: 680px) {
	.slider-text {
		top: 3vh;
	}
}

/* Combined queries */
@media (max-width: 686px) and (max-height: 755px) {
	.dots {
		display: none;
	}
}