/* any styles that are only for the home page go in here */
 

/* BS3 carousel all-width fix */
.heroCarousel .carousel-inner>.item>img { width: 100%; /*max-height: 390px;*/ }
.heroCarousel .carousel-inner>.item>a>img { min-width: 100%; }

.carousel-control.left, .carousel-control.right {
	background-image:none;
}

.heroCarousel .carousel-caption { 
    font-size: 14px;
    line-height: 1.33;
    padding: 10px 20px;
    text-align: left; 
    top: 30px; 
    color: #fff;
    text-shadow: 2px 2px 5px #000; 
}
.heroCarousel .carousel-caption h1 {
    font-size: 60pt;
    line-height: 50pt;
    color: #fff;
}
.heroCarousel .carousel-caption h3 {
    font-size: 20pt;
    color: #fff;
}
.heroCarousel .carousel-caption h4 {
    font-size: 16pt;
    margin-top: 5px;
    color: #fff;
}
.heroCarousel .carousel-caption .btn-captionlink {
	border-radius:0;
    background-color: rgba(0, 0, 0, 0.5);
    font-size: 12pt;
    border: 1px solid;
    padding: 10px 30px;
    width: 200px;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    text-shadow: none;
	color:#fff;	
	margin-top: 40px;
}
.heroCarousel .carousel-caption .btn-captionlink:hover {
    text-decoration: underline;
}
 
.heroCarousel .glyphicon {
     box-shadow: 1px 2px 3px 2px rgba(0,0,0,0.2);
    color: #1585FE !important;
    background: #fff;
    opacity: 1;
    line-height: 40px;
    text-align: center;
    font-size: 20px;
    margin-top: -20px;
    width: 40px;
    height: 40px;
}

.carousel-caption .glyphicon:hover {
    background: #5b87da;
}

.homeBoxes {
	margin-top:30px;
}

.homeBoxes .col-md-4 {
	padding-bottom:20px;
}	

.homeBoxes-header {
	background:#492e8e;
	color:#fff;
	text-transform:uppercase;
	font-size:20px;
	font-family: "Oswald",Helvetica,sans-serif;
	padding:20px;
	width:100%;
	font-weight: 400;
	letter-spacing: .7px;
}

.homeBoxes-body {
	width:100%;
	margin-top:20px;
	background:#F2F2F2;
	color:#000;
	padding:5px 20px 20px;
	font-size:15px;
}

.homeBoxes-body h3 {
	padding-top:0px;
	padding-bottom:0px;
	color:#492e8e;
}

.homeBoxes-body p {
	margin:0px;
}

div#newsHomeFeed div.date {
	font-style: italic;
}

.heroMemberStories {
	background-image:url('/apf/assets/Image/member_stories_bg.jpg');
	background-position:center;
	background-repeat:no-repeat;
	background-size:cover;
	padding-bottom: 20px;
}

.memberCarousel .carousel-caption {
    top: 10px;
	text-shadow: none;
	text-align:left;
}
.memberCarousel h2 {
    font-size: 26pt;
    line-height: 20pt;
    color: #fff;
    margin-top: 0;
    margin-bottom: 0;
}
.memberCarousel h1 {
    color: #fff;
    font-size: 40pt;
    line-height: 40pt;
    margin-top: 0;
    text-transform: uppercase;
}
.memberCarousel h3 {
    color: #fff;
}

.memberCarousel .carousel-caption .btn-captionlink {
	margin-top: 0;
}

.memberCarousel .carousel-control {
	width:auto;
}

.memberCarousel .glyphicon {
     box-shadow: 1px 2px 3px 2px rgba(0,0,0,0.2);
    color: #1585FE !important;
    background: #fff;
    opacity: 1;
    line-height: 40px;
    text-align: center;
    font-size: 20px;
    margin-top: -20px;
    width: 40px;
    height: 40px;
}

.memberCarousel .carousel-indicators li {
    background-color: #D6D6D6;
    border-color: #D6D6D6;
}

.memberCarousel .carousel-indicators .active {
    background-color: #869791;
    border-color: #869791;
}

.memberCarousel .btn-captionlink {
    padding: 10px;
    text-align: center;
    text-transform: uppercase;
    background-color: #797979;
    color: #fff !important;
    text-transform: uppercase;
    padding: 8px 8px;
    font-size: 12pt;
    font-family: "Oswald",Helvetica,sans-serif !important;
	border:0;
}

.footerTop {
	margin-top:0 !important;
}

.homeapfBox {
	background-image:url('/apf/assets/Image/box1-bkd.jpg');
	background-position:center;
	background-repeat:no-repeat;
	background-size:cover;
	padding:50px 30px;
	margin-top: 50px;
    margin-bottom: 50px;
	
	-webkit-box-shadow: -5px 0px 15px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: -5px 0px 15px 0px rgba(0,0,0,0.2);
	box-shadow: -5px 0px 15px 0px rgba(0,0,0,0.2);
}

.homewhatBox {
	background-image:url('/apf/assets/Image/box2-bkd.jpg');
	background-position:center;
	background-repeat:no-repeat;
	background-size:cover;
	padding:50px 30px;
    margin-bottom: 30px;
	-webkit-box-shadow: 6px 0px 15px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: 6px 0px 15px 0px rgba(0,0,0,0.2);
	box-shadow: 6px 0px 15px 0px rgba(0,0,0,0.2);
}

.homeapfBox h2, .homewhatBox h2 {
    font-size: 25px;
    text-transform: uppercase;
	margin-top:5px;
} 
.headerBoxesContent .col-md-3 {   
    padding-top: 5px;
    padding-bottom: 5px;
	text-align:left !important;
	position: relative;
}
.headerBoxesContent img {   
    padding-left: 15px;
    padding-right: 10px;
	float:left;
}
.headerBoxesContent h3 {
 	color: #fff;
    font-size: 20px;
    text-transform: uppercase;
    font-family: "Oswald",Helvetica,sans-serif !important;
    letter-spacing: 1px;
	font-weight: 400; 
	margin-top:0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 115px;
	right: 20px;
}

@media (max-width: 767px) {	
	/*.heroCarousel .carousel-inner > .item {
		height: 300px;
	}*/
	.heroCarousel .carousel-caption {
		top:0;
	}
	.heroCarousel .carousel-caption h1 {
		font-size: 25pt;
    	line-height: normal;
		margin-top: 0;
	}
	.heroCarousel .carousel-caption h3 {
		font-size: 12pt;
	}
	.heroCarousel .carousel-caption h4 {
		font-size: 10pt;
	}
	.heroCarousel .carousel-caption .btn-captionlink {
	    position: absolute;
		right: 0;
		bottom: -15px; 
		width: initial;
		font-size: 8pt;
		padding: 5px 10px;
	}

	.homeapfBox {
		background-image:none;
		padding: 30px;
		-webkit-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.2);
		-moz-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.2);
		box-shadow: -0px 0px 15px 0px rgba(0,0,0,0.2);
	}
	
	.homewhatBox {
		background-image:none;
		padding: 30px;
		-webkit-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.2);
		-moz-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.2);
		box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.2);
	}


	.memberCarousel .carousel-inner>.item>img {
		float:none;
		margin-bottom: 30px;
		width:100%;
		margin-bottom:20px;
	}
	.memberCarousel .carousel-caption {
		position:unset;
		/*padding:40px;*/
	}
	.memberCarousel .carousel-indicators {
		display:none;
	}	
	.memberCarousel .carousel-control { 
		top: 30%; 
		bottom: auto;
	}
	.headerBoxesContent .col-md-3 { 
		height: 90px; 
	}	
}

@media (min-width:768px) {
	.heroCarousel .carousel-caption { 
		right: 10%;
	}
	.memberCarousel .carousel-caption {
    	left: 420px;
		right: 5%;
	}
	.memberCarousel .carousel-indicators {
		bottom: -20px;
	} 
}

@media (min-width:768px) and (max-width:991px) {
	.heroCarousel .carousel-caption {
		top: 0;
	}
	.heroCarousel .carousel-caption h1 {
		margin-top: 0;
	}
	.heroCarousel .carousel-caption .btn-captionlink {
	    margin-top: 30px;	
	}
	.memberCarousel .carousel-inner .item {
		height:415px;
	}
	.memberCarousel .carousel-inner>.item>img {
		width:35%;
	}
	.memberCarousel .carousel-caption {
		left: 260px;
		right: 5%;
	}
	.headerBoxesContent .col-md-3 { 
		height: 90px; 
	}	
	.headerBoxesContent img {
		padding-left: 0;
		padding-right: 10px;
	}
	.headerBoxesContent h3 {
	    left: 90px;
	}
}
 
@media (min-width:992px) and (max-width:1199px) {
	.homeBoxes-body {
		min-height: 640px;
	}
	.headerBoxesContent .col-md-3 { 
		height: 110px; 
	}	
}

@media (min-width:1200px) {
	.heroCarousel .carousel-inner>.item { 
		height: 390px; 
	}
	.homeBoxes-body {
		min-height: 550px;
	}
	.headerBoxesContent .col-md-3 { 
		height: 90px; 
	}	
}
