.hero {
	display: flex;
	position: relative;
	align-items: center;
	justify-content: center;
	width:100%;
	height: 100vh;
	max-height: 500px;
	margin: 0 auto;
	color: #fff;
	text-align: center;
}

.hero:after {
	z-index: 0;
	position: absolute;
	width: 100%;
	height: 100%;

	content: "";
}

.hero__image-wrapper {
	display: flex;
	position: absolute;
	width: 100%;
	height: 100%;
}

#hero__image {
	width: auto;
	min-width: 100%;
	height: auto;
	min-height: 100%;
	object-fit: cover;
}

.hero__text {
	z-index: 1;
	max-width: 100%;
	padding: 150px 0;
        


}

#text-overlay{
        max-height:500px;
}


.hero__text h1 {
	margin: 0 0 24px;
	font-family: "Montserrat", serif;
	font-size: 32px;
	line-height: 1.3;
}

.hero__text p {
	margin: 0px 0px 40px;
	font-family: "Montserrat", sans-serif;
	font-size: 20px;
	line-height: 1.3;
}





@media only screen and (max-width: 768px) {
        .hero{
                height:10%;
        }

	.hero__text h1 {
		margin: 0 0 16px;
	}

	.hero__text p {
		margin: 0px 0px 48px;
	}

	#hero__img-refresh {
		font-size: 18px;
	}

        #text-overlay {
               max-height:500px;
               width:100%;
           
        }

        #text-overlay h1{
        }

        #text-overlay p{
               font-size:20px;
        }
}

@media only screen and (max-width: 500px) {
        .hero{
                height:10%;
        }

	.hero__text h1 {
		margin: 0 0 16px;
	}

	.hero__text p {
		margin: 0px 0px 48px;
	}

	#hero__img-refresh {
		font-size: 18px;
	}

        #text-overlay {
               max-height:500px;
               width:100%;
           
        }

        #text-overlay h1{
               font-size:26px;
        }

        #text-overlay p{
               font-size:18px;
        }
}

a.btn.btn-primary {    padding: 16px 28px;    border-radius: 0;    background: #093d87;    border: none;   box-shadow: 0 4px 5px -3px #333;    transition: 0.5s;    font-weight: bold;transition: ease-out 0.4s;margin: 20px 0;}
a.btn.btn-primary:hover {    box-shadow: inset 0 0 0 50px #3a639f; }

.goBackArrow{
display: none !important;
}