/** Index CSS **/

/** Main Banner **/
#main-home {
	margin-top: 150px;
	padding-bottom: 30px;
	color: #fff;
	background: #fff url("../images/AB-Hair-Designs-Home-Page-2.png") no-repeat top center;
	min-height: 900px;
	background-size: top center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-size: cover;
	-webkit-animation: fadein 3s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 3s; /* Firefox < 16 */
    -ms-animation: fadein 3s; /* Internet Explorer */
    -o-animation: fadein 3s; /* Opera < 12.1 */
    animation: fadein 3s;
	-webkit-transition: all 0.3s linear;
	-moz-transition: all 0.3s linear;
	-o-transition: all 0.3s linear;
	transition: all 0.3s linear;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/** End Main Banner **/

/** Animations **/

#main-home .welcome {
	margin-top: 240px;
	background-color: rgba(255, 255, 255, 0.7);
	padding: 30px 30px 40px;
	position: fixed;
	top: 100px;
	max-width: 500px;
	margin-right: 20px;
	z-index: 1;
}

#main-home h1 {
	font-size:  72px;
	color:  #000000;
	margin-bottom: 15px;
	font-family: 'Dancing Script', cursive !important;
	-webkit-transition: all 0.3s linear;
	-moz-transition: all 0.3s linear;
	-o-transition: all 0.3s linear;
	transition: all 0.3s linear;
}

#main-home p {
	margin-bottom: 25px;
}

#about {
	padding-top: 40px;
	padding-bottom: 30px;
	text-align: center;
	background-color: #ffffff;
	z-index: 200;
	border-top: 3px solid #000000;
	position: relative;
	-moz-box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1), 0px -10px 10px rgba(0, 0, 0, 0.1);
	-webkit-box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1), 0px -10px 10px rgba(0, 0, 0, 0.1);
	box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1), 0px -10px 10px rgba(0, 0, 0, 0.1);
}
/* 
  -moz-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.9), -5px -5px -5px rgba(0, 0, 0, 0.9);
  -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.9), -5px -5px -5px rgba(0, 0, 0, 0.9);
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.9), -5px -5px -5px rgba(0, 0, 0, 0.9); */

#about h2 {
	font-size: 36px;
	margin-bottom: 20px;
	color: #000;
}

#services {
	padding-top: 10px;
	padding-bottom: 10px;
	text-align: center;
	background-color: #ffffff;
	z-index: 200;
	position: relative;
}

#services .col-sm-4 {
	padding-left: 10px;
	padding-right: 10px;
}

.hovereffect {
  width: 100%;
  height: 100%;
  float: left;
  overflow: hidden;
  position: relative;
  text-align: center;
  cursor: default;
  background: #142129;
}

.hovereffect .overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  padding: 50px 40px;
}

.hovereffect img {
  display: block;
  position: relative;
  max-width: none;
  width: calc(100% + 20px);
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(-10px,0,0);
  transform: translate3d(-10px,0,0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.hovereffect:hover img {
  opacity: 0.2;
  filter: alpha(opacity=40);
}

.hovereffect h2 {
	color: #fff;
	text-align: center;
	position: relative;
	font-size: 60px;
	overflow: hidden;
	padding: 0.5em 0;
	background-color: transparent;
/* 	top: 35%; */
	padding-top: 30%;
	text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.7);
	-webkit-transition: all 0.3s linear;
	-moz-transition: all 0.3s linear;
	-o-transition: all 0.3s linear;
	transition: all 0.3s linear;
}

.hovereffect h2:after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  content: '';
  -webkit-transition: -webkit-transform 0.35s;
  transition: transform 0.35s;
  -webkit-transform: translate3d(-100%,0,0);
  transform: translate3d(-100%,0,0);
}

.hovereffect:hover h2:after {
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}

.hovereffect a, .hovereffect p {
  color: #FFF;
/*   opacity: 0; */
  filter: alpha(opacity=0);
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(100%,0,0);
  transform: translate3d(100%,0,0);
  text-decoration: none;
}

.hovereffect:hover a, .hovereffect:hover p {
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}

#come-visit {
	padding-top: 10px;
	padding-bottom: 40px;
	background-color: #ffffff;
	text-align: center;
	z-index: 199;
	position: relative;
}

#come-visit .col-sm-12 {
	padding-left: 10px;
	padding-right: 10px;
}

#come-visit .find-me-bg {
	padding: 40px;
	background: #ffffff url("../images/find-me-bg.jpg") no-repeat center center;
	background-size: center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

#come-visit h2 {
	font-size: 48px;
	margin-bottom: 40px;
	margin-top: 0px;
	text-align: center;
	color: #ffffff;
	text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.7);
}

#come-visit img {
	width: 100%;
	max-width: 400px;
	margin-top: 10px;
}

#come-visit .find-me-content {
	text-align: center;
}

#come-visit p {
	color: #ffffff;
	margin-bottom: 20px;
}

#come-visit .map {
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  height: 0;
  text-align: center;
  min-height: 400px;
  padding: 10px;
  border: 2px solid #ffffff;
}

#come-visit iframe {
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	position: absolute;
	padding: 5px;
}

#come-visit .facebook-icon {
    display: block;
    background-repeat: no-repeat;
    width: 40px;
    height: 40px;
    background-size: 40px 40px;
    background-image: url(../images/facebook.svg);
    opacity: 1;
    margin-right: 5px;
    margin-left: 5px;
    margin-bottom: 0px;
}

#come-visit .instagram-icon {
    display: block;
    background-repeat: no-repeat;
    width: 40px;
    height: 40px;
    background-size: 40px 40px;
    background-image: url(../images/instagram.svg);
    opacity: 1;
    margin-right: 5px;
    margin-left: 5px;
    margin-bottom: 0px;
}

#come-visit .facebook-icon:hover {
	opacity: 1;
}

#come-visit .instagram-icon:hover {
	opacity: 1;
}

#come-visit .social-position {

}

#come-visit .social-position .social {
	margin: 0 auto 20px;
	width: 100%;
	max-width: 100px;
}

#come-visit .social-position .social a {
	float: left;
}

#come-visit .ab-logo {
	margin-top: 20px;
	max-width: 480px;
	margin:  0 auto;
}

#come-visit .address p {
	font-size: 20px;
	margin-bottom: 0px;
	margin-top: 20px;
	text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.7);
}

#come-visit .phone {
	clear: both;
}

#come-visit .phone p {
	margin-top: 80px;
	font-size: 20px;
	text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.7);
	color:  #fff;
}

#come-visit .phone p a{
	color:  #fff;
}

#come-visit .find-me-btn {
	max-width: 220px;
}

@media (max-width: 1200px) {

}

@media (max-width: 992px) {
	.hovereffect h2 {
		padding-top: 26%;
	}
}

@media (max-width: 915px) {
	.hovereffect h2 {
		padding-top: 26%;
		font-size: 54px;
	}
}

@media (max-width: 855px) {
	.hovereffect h2 {
		font-size: 45px;
	}
}

@media (max-width: 850px) {
	#main-home {
		background-position: -450px;
	}
}

@media (max-width: 800px) {
	#main-home h1 {
		font-size:  68px;
	}
}

@media (max-width: 767px) {
	#main-home {
		margin-top: 0px;
		min-height: 800px;
		background-attachment: initial;
		background-position: -130px;
	}

	#main-home .welcome {
		margin-top: 430px;
	    padding: 10px 30px 20px;
	    max-width: 100%;
	    margin-right: 20px;
	    z-index: 1;
	    text-align: center;
	}

	#main-home .welcome h1 {
		font-size: 60px;
    	margin-bottom: 5px;
	}

	#main-home .welcome p {
    	margin-bottom: 15px;
	}

	#services {
		padding-top: 0px;
		padding-bottom: 0px;
	}

	#services .extensions {
		margin-bottom: 620px;
	    max-width: 500px;
	    margin: 0 auto 20px;
	    height: auto;
	}

	#services .services {
		margin-bottom: 620px;
	    max-width: 500px;
	    margin: 0 auto 20px;
	    height: auto;
	}

	#services .about {
		margin-bottom: 620px;
	    max-width: 500px;
	    margin: 0 auto 20px;
	    height: auto;
	}

	.hovereffect {
		margin-bottom: 20px;
	}

	.hovereffect h2 {
	  font-size: 60px;
	  padding-top: 30%
	}

	#come-visit {
		padding-left: 5px;
		padding-right: 5px;
	}

	#come-visit h2 {
		margin-bottom: 20px;
	}

	#come-visit .map {
		margin-top: 30px;
	}
}

@media (max-width: 1024px) {
	#main-home {
		background-position: -300px;
	}

@media (max-width: 764px) {
	#main-home {
		background-position: -100px;
	}

@media (max-width: 640px) {
	#main-home {
		background-position: -180px;
	}

	#come-visit .col-sm-6 {
		padding-left: 0px;
		padding-right: 0px;
	}
}

@media (max-width: 579px) {
	#main-home .welcome {
	    margin-top: 410px;
	}
}

@media (max-width: 440px) {
	#main-home  .welcome {
		margin-top: 410px;
		position: relative;
    	top: 120px;
    	margin-right: 0px;
	}
}

@media (max-width: 421px) {
	#main-home  .welcome {
		margin-top: 410px;
	}
}

@media (max-width: 360px) {
	#main-home .welcome {
		margin-top: 410px;
		position: relative;
    	top: 120px;
    	margin-right: 0px;
	}

	.hovereffect h2 {
	  font-size: 54px;
	  padding-top: 26%
	}
}

@media (max-width: 347px) {
	#main-home .welcome {
		margin-top: 380px;
	}
}

@media (max-width: 320px) {
	#main-home .welcome {
		margin-top: 380px;
	}
}
