@media (max-width:767px) {
	.carousel-caption {
		left:5%;
		right:5%;
		top:0px;
		padding-top:10px;
	}
	.carousel-caption h3 {
		margin-top:5px;
		font-size:20px;
		font-weight: 700;
	}
	
	.threeBoxes .container, .fourBoxes .container {
		padding-left:0;
		padding-right:0;
	}
	.threeBoxes .row, .fourBoxes .row, .sponsors .row {
		margin-left:0;
		margin-right:0;
	}

	.box1, .box2, .box3 {
		margin-bottom:10px;
	}
	
	.mission .col-sm-4 {
		padding-bottom:10px;
	}
	.mission .btn-primary {
		width:90%;
		white-space: normal;
	}
	
	.findpartner {
		padding-top:25px;
		padding-bottom:25px;
	}
	
	
	.fourBoxes .col-md-3 {
		padding-right:0;
	}
		
	.box1 .overlay, .box2 .overlay, .box3 .overlay {
		top: 40%;
		bottom:0;
	}
	
	.box1 img, .box2 img, .box3 img {
		display: inline;
		width:100%;
	}
	
	.box1 h4 a, .box2 h4 a, .box3 h4 a {
		font-weight:bold;
	}
	
}

@media (min-width:768px) {
	.carousel-caption {
		left:10%; 
	}
		
	.findpartner {
		padding-top:70px;
		padding-bottom:70px;
	}	
		
	.findpartner .navbar-form .input-group>.form-control {
		width:500px;
	}
	
	.box1 .overlay, .box2 .overlay, .box3 .overlay {
		top: 0;
	}

	.box1 img, .box2 img, .box3 img {
		display: block;
	}
	
	h2, h3, h4, h5 {
		text-transform:uppercase;
		font-weight: 700;
	}
	h3 { font-size: 35px; }
	
}

@media (min-width:768px ) and (max-width:991px) {
	.fourBox {
		height:625px;
	}
	.carousel-caption { 
		top:0px;
		padding-top:0px;
	}
		
	.box1 .overlay, .box2 .overlay, .box3 .overlay {
		padding-top:2em;	
	}
	.box3 .overlay {
		padding-top:1em;	
	}
}

@media (min-width:992px) and (max-width:1199px) {
	.fourBox {
		height:625px;
	}		
	.box1 .overlay, .box2 .overlay, .box3 .overlay {
		padding-top:4em;	
	}
	.box3 .overlay {
		padding-top:3em;	
	}
}

@media (min-width:992px) {
	.carousel-caption {
		right: 30%;
		top:20px;
	}	 
}
@media (min-width:1200px) {
	.carousel-caption {
		right: 40%;
	}
	.fourBox {
		height:625px;
	}
		
	.box1 .overlay, .box2 .overlay, .box3 .overlay {
		padding-top:6em;	
	} 
}
 
h2, h3, h4, h5 {
	text-transform:uppercase; 
	letter-spacing: 3px;
}

h4 { font-size: 28px; }
h5 { font-size: 17px; }

body {
	color:#000000;
}

.threeBoxes {
	margin-top:24px;
	margin-bottom:24px;
	padding-top:20px;
	padding-bottom:20px;
	background:#f0f0f0;
}

.box1, .box2, .box3 {
	/*height:250px;*/
	border:6px solid #fff;
	width:100%;
	/*padding-top:75px;*/
	color:#fff;
	text-align:center;
	text-transform:uppercase;
}
.box1 h4 a, .box2 h4 a, .box3 h4 a {
	color:#fff;  
}
.box1 h4 a:hover, .box2 h4 a:hover, .box3 h4 a:hover {
	text-decoration:none;  
}

.box1 h4, .box2 h4, .box3 h4 {
	margin-bottom:0;
}

.box1 h5, .box2 h5, .box3 h5 {
	text-transform:uppercase;
	color:#fff;
}

/* hover effect */

.box1, .box2, .box3 {
  overflow: hidden;
  position: relative;
  text-align: center;
  cursor: default;
}

.box1 .overlay, .box2 .overlay, .box3 .overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  left: 0; 
}

.box1 img, .box2 img, .box3 img { 
  position: relative;
  -webkit-transition: all 0.4s ease-in;
  transition: all 0.4s ease-in;
}
.box1:hover img, .box2:hover img, .box3: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);
}



.mission {
	background:url('/NAPBS/assets/Image/membership-bkd.jpg') no-repeat;
	padding-top:30px;
	padding-bottom:30px;
	text-align:center;
	color:#fff;
	background-size: cover;
    background-position: center;
}
.mission h4 {
	color:#fff;
}

.findpartner {
	text-align:center;
    background: #fff;
}
.findpartner .btn {
	white-space:normal;
}

.fourBoxes {
	background:#f0f0f0;
	padding-top:35px;
	padding-bottom:35px;
}
.fourBoxes .col-md-3 {
	padding-left:0;
}
.fourBox {
	background:#fff;
}
.fourBox h5 {
	padding:12px 10px 5px;
	font-weight:normal;
	font-size:15px;
	letter-spacing:2px;
}
.fourBox-img {
	text-align:center;
}
.fourBox-img .img-responsive {
	display:inline;
}
.fourBox-text {
	padding:15px 10px;
}
.fourBox-text p {
	padding-top:5px;
	padding-bottom:15px;
	border-bottom:solid 1px #dcdcdc;
	font-size:12px;
}
.fourBox-text p:last-child {
	border-bottom:none;
}

.sponsors {
	background:#fff;
	padding-top:20px !important;
	padding-bottom:20px !important;
}


.btn.btn-primary {
	border-radius:0;
	text-transform:uppercase;
}

.btn-larg.btn-primary {
	padding:12px 40px;
}


/*** CAROUSEL STYLES ***/

.carousel-control {
	width:5%;
	top: 40%;
}
.carousel-control.right {
	background-image:none;
}
.carousel-control.left {
	background-image:none;
}

.carousel-caption { 
	text-align:left;
	color:#fff;
	text-shadow:none;
}
.carousel-caption h3 {
	color:#fff;
	letter-spacing:normal;
}

.carousel-caption a {
	color:#fff;
}