.carousel .carousel-control-prev-icon,
		.carousel .carousel-control-next-icon {
  			background-color: #0050a2; 
  		}
.pageimg {
	  max-height: 180px!important; 
        }
.carousel-item {
        height: 180px!important;
        }
.carousel-inner img {
  margin: auto;
        }
.carousel-caption h3 {
    font-size: 14px!important;
}
@media (min-width:20em) { /* smartphones, iPhone, portrait 480x320 phones */ 
    .pageimg {
	  max-height: 230px!important;
    }
    .carousel-item {
        height: 230px!important;
}
    .carousel-caption h3 {
    font-size: 16px!important;
}
}
@media only screen 
and (min-device-width : 375px) 
and (max-device-width : 667px) 
and (orientation : portrait) { /* iPhone6 portrait*/
    .pageimg {
	  max-height: 230px!important;
    }
    .carousel-item {
        height: 230px!important;
}
    .carousel-caption h3 {
    font-size: 16px!important;
}
}
@media only screen 
and (min-device-width : 414px) 
and (max-device-width : 736px) 
and (orientation : portrait) { /* iPhone 6Plus portrait*/ 
    .pageimg {
	  max-height: 240px!important;
    }
    .carousel-item {
        height:240px!important;
}
    .carousel-caption h3 {
    font-size: 16px!important;
}
}
@media (min-width:30.063em) { /* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. */ 
    .pageimg {
	  max-height: 300px!important;
    }
.carousel-item {
        height:300px!important;
}
    .carousel-caption h3 {
    font-size: 16px!important;
}
}
@media (min-width:40.063em) { /* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */ 
    .pageimg {
	  max-height: 350px!important;
    }
.carousel-item {
        height: 350px!important;
}
    .carousel-caption h3 {
    font-size: 18px!important;
}
}
@media (min-width:60.063em) { /* tablet, landscape iPad, lo-res laptops ands desktops */ 
    .pageimg {
	  max-height: 370px!important;
    }
    .carousel-item {
        height: 370px!important;
}
    .carousel-caption h3 {
    font-size: 20px!important;
}
}
@media (min-width:64.063em) { /* big landscape tablets, laptops, and desktops */ 
    .pageimg {
	  max-height: 700px!important;
    }
    .carousel-item {
        height: 700px!important;
}
    .carousel-caption h3 {
    font-size: 24px!important;
}
}

