/*  Homepage Custom Formatting */

header {
    position: absolute;
    background: rgb(0,0,0);
    background: linear-gradient(0deg, rgba(0,0,0,0) 32%, rgba(38,37,38,1) 99%);
}
#login {
    position: absolute;
    height: 0;
	top: 12rem; 
	left: 10%;
} 
#login #login-inner {
    width: 350px;
}
#login-button {
	display: inline-block;
} 
#login .showSingle:hover{cursor: all-scroll;}
#login .targetDiv {
    display: none;
}
#login #div1 {
    display: block;
}
.buttons button {
    color: white
}
#login .button, .buttons a.active, .buttons a:hover {
    background: #0062a8;
    background-image: linear-gradient(180deg, #0062a8 , #054872); 
    color: white
}    
#login .button:hover {background: #0062a8; color: white}

.close {font-size: .9rem;}

/*  Slideshow */

.carousel-item {
    background-color: #3D3D45;
	background-position: center; -webkit-background-size: cover; -moz-background-size: cover;  -o-background-size: cover; background-size: cover;
	height: 600px;
}

.first-slide {background-image:url(../images/slides/slide-1.jpg);}
.second-slide {background-image:url(../images/slides/slide-2.jpg);}
.third-slide {background-image:url(../images/slides/slide-3.jpg);}
.fourth-slide {background-image:url(../images/slides/slide-4.jpg);}
.carousel-caption {
	width: 50%;
	top: 50%;
    left: inherit;
    right: 10%;
	bottom: auto;
	transform: translateY(-50%);
}
.carousel-caption h1 {
	text-shadow: 3px 3px 3px #191919;
	font-size: 3rem;
}

.carousel-control-prev, .carousel-control-next {
    width: 5%;
	opacity: .8;
	z-index: 11;
}
.carousel-control-prev-icon, .carousel-control-next-icon {
	width: 40px;
	height: 40px;
}
.carousel-indicators li {
	border: 2px solid white;
	border-radius: 50%;
	width: 20px;
	height: 20px;
}

/* Homepage Marketing */

.hovereffect {
width:225px;
height:225px;
border-radius: 50%;
overflow:hidden;
position:relative;
text-align:center;
cursor:default;
}

.hovereffect .overlay {
width:225px;
height:225px;
position:absolute;
overflow:hidden;
top:0;
left:0;
opacity:0;
background-color:rgba(0,0,0,0.5);
-webkit-transition:all .4s ease-in-out;
transition:all .4s ease-in-out
}

.hovereffect img {
display:block;
position:relative;
-webkit-transition: all 0.4s ease-in;
transition: all 0.4s ease-in;
}

.hovereffect h2 {
text-transform:uppercase;
color:#fff;
text-align:center;
position:relative;
font-size:17px;
background:rgba(0,0,0,0.6);
-webkit-transform:translatey(-100px);
-ms-transform:translatey(-100px);
transform:translatey(-100px);
-webkit-transition:all .2s ease-in-out;
transition:all .2s ease-in-out;
padding:10px;
}

.hovereffect a.info {
text-decoration:none;
display:inline-block;
position: relative;
text-transform:uppercase;
color:#fff;
border:1px solid #fff;
background-color:transparent;
opacity:0;
filter:alpha(opacity=0);
-webkit-transition:all .2s ease-in-out;
transition:all .2s ease-in-out;
padding:7px 14px;
top: 40%;
bottom: auto;	
transform: translateY(-50%);	
}

.hovereffect a.info:hover {
box-shadow:0 0 5px #fff;
}

.hovereffect:hover img {
  filter: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="filter"><feColorMatrix type="matrix" color-interpolation-filters="sRGB" values="0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0 0 0 1 0" /><feGaussianBlur stdDeviation="3" /></filter></svg>#filter');
  filter: grayscale(1) blur(3px);
  -webkit-filter: grayscale(1) blur(3px);
  -webkit-transform: scale(1.2);
  -ms-transform: scale(1.2);
  transform: scale(1.2);
}

.hovereffect:hover .overlay {
opacity:1;
filter:alpha(opacity=100);
}

.hovereffect:hover h2,.hovereffect:hover a.info {
opacity:1;
filter:alpha(opacity=100);
-ms-transform:translatey(0);
-webkit-transform:translatey(0);
transform:translatey(0);
}

.hovereffect:hover a.info {
-webkit-transition-delay:.2s;
transition-delay:.2s;
}

@media only screen and (min-width: 768px) and  (max-width: 1099px) {
    .carousel-caption {
		font-size: 70%;
	}
}
@media (max-width: 991px) {
    header {
        position: relative;
        background: rgb(38,37,38);
        background: linear-gradient(0deg, rgba(38,37,38,1) 0%, rgba(61,61,69,1) 99%);
    }
}
@media (max-width: 767px) {
    #login {
        position: relative;
        height: auto;
        left: 0;
        top: 0;
        right: 0;
    }
    #login #login-inner {
      width: 100%;
    }
	.carousel-item {
		height: 300px;
	}
	.carousel-caption {
    	width: 90%;
        left: auto;
        right: auto;
	}
    .carousel-caption h1 {
        font-size: 2rem;
    }
	.carousel-control-next {
		right: 0;
	}
}