header {margin-bottom:10px;}
header .strip-black {width:100%;height:25px;background-color: #000000;}
header .strip-grey {width:100%;height:40px;background-color:#4E5156;margin:-25px auto 20px auto;}
header .nav a {text-decoration:none;}
header .nav>li>a:focus, .nav>li>a:hover, .nav>li>a.active {background-color: #FECB2E;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;}
header .navbar-nav>li>a {color:dimgrey;}

.navbar {min-height:auto;}
.navbar-default {border:none;background-color: transparent;}

#partners1 {width:50%;float:left;}
#partners2 {width:50%;float:right;}
#partners1 div, #partners2 div {width:33%; float:left;text-align:center;padding:10px 0px;}
#partners1 div img, #partners2 div img {width:78%; max-width:400px;}

.bx-wrapper {margin-bottom:30px;}
.bx-controls-auto, .bx-pager {display:none;}
.bx-wrapper .bx-caption {background-color:#ffcc00;}
.bx-wrapper .bx-caption span {color:#111;font-family:open sans, arial;font-weight:normal;font-size:24px;text-align:center;}

.bx-wrapper .bx-controls-direction a {width:40px;height:40px;}
.bx-wrapper .bx-prev {background:url('/img/arrow-left.png');background-size:cover;}
.bx-wrapper .bx-next {background:url('/img/arrow-right.png');background-size:cover;}

.bx-wrapper .bx-next:hover, .bx-wrapper .bx-prev:hover {opacity: 0.9;filter: alpha(opacity=90);}
.bx-wrapper .bx-next:hover, .bx-wrapper .bx-next:focus, .bx-wrapper .bx-prev:hover, .bx-wrapper .bx-prev:focus {background-position: 0 0;}

h2 {font-size:25px;margin-top:0;}
address {margin:0;}

.nphoneschool {width:95px;height:173px;background-image: url('/img/nphone.png');background-size:cover;position: absolute;right:30px;top: 25px;}
.nphoneparent {width:95px;height:173px;background-image: url('/img/nphoneparent.png');background-size:cover;position: absolute;right:30px;top: 25px;}

.nphoneschool2 {width:139px;height:173px;background-image: url('/img/phoneh.png');background-size:cover;position: absolute;right:30px;top: 25px;}
.nphoneparent2 {width:139px;height:173px;background-image: url('/img/phoneh.png');background-size:cover;position: absolute;right:30px;top: 25px;}

.clear {clear:both;}

.shadow {}

.shadowold {
  -webkit-box-shadow: 0 8px 6px -6px black;  /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
  -moz-box-shadow:    0 8px 6px -6px black;  /* Firefox 3.5 - 3.6 */
  box-shadow: 0 8px 6px -6px black;
  }
.tranbutt a {display:inline-block; padding:5px 10px; border:3px solid #333; border-radius:6px; text-decoration:none; color:#333;}
.tranbutt a:hover {color:#4e5156;border:3px solid #4e5156;}

.ybutt a {display:inline-block; padding:5px 10px; background: #ffcd00; border-radius:6px; text-decoration:none; color:#333; text-decoration:none; font-weight:bold;}


.top-buffer { margin-top:20px; }
.grey {width:100%;background-color:#e5e5e6;padding: 20px 0 0 0;}
.grey ul {list-style-type: none;padding: 0;margin:20px 0 10px 0;}
.grey ul li {background: url('/img/icons/arrow-icon.png') no-repeat left top;min-height:60px;padding-left: 50px;}
.grey .phone-hand {width:229px;height:284px;background-image: url('/img/phone-hand.png');background-size:cover;margin:0 auto;}
.grey .grey-box{-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;color:#ffffff;background-color:#4e5156;padding:10px;text-align:center;}

.portal-box {width:95%;border:1px solid #55565a;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;margin:20px 0 50px 0;padding:10px 65px 10px 10px;}
.portal-box h2 {display:block;margin-left:60px;margin-top:-30px;border-bottom: 1px solid #55565a;line-height:40px;}
.portal-box .click-icon {width:50px;height:50px;background-image: url('/img/icons/click-icon.png');background-size:cover;margin-top:-25px;}
.portal-box .phone {width:87px;height:173px;background-image: url('/img/phone.png');background-size:cover;position: absolute;right:30px;top: 25px;}
.portal-box a.button {float:right;margin-right:30px;display: block;background-color:#FECB2E;width:46px;padding-left:5px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;}

.btn-default, .btn-default:hover, .input-group-addon {background-color: #FECB2E; color:dimgrey;}

.lmlink a {display:block;background:rgba(0, 0, 0, 0.5); padding:10px; color:#fff;transition-property: background;transition-duration:1s;text-decoration:none;font-size:12px;}
.lmlink a:hover {background:rgba(0, 0, 0, 1);text-decoration:none;}


footer {float:left;width:100%;background-color:#4E5156;color:#FFFFFF;font-size:12px;}
footer a {color:#FFFFFF;text-decoration:none;}
footer a:hover {color:#FFFFFF;}
footer .container {margin-top:20px;}
footer h2 {font-size:14px;}
footer ul {list-style-type:none;padding-left:0;}
footer div.mid {margin-top:40px;text-align:center;}
footer div.mid img {margin:0 5px;}

@media screen and (max-width:479px) {
  /* Target portrait smartphones */
 .wa {width:100% !important; float:none !important;} 
	#partners1 div, #partners2 div {border: none !important;}
	#partners2 div {margin-top:5px !important;}
	#partners1 div img, #partners2 div img {width:96% !important;}
	#partners1 div, #partners2 div {margin:0 !important;}
	.navbar-header {height:60px !important;}
	.logo a img {width:200px !important;}
	.nphoneschool, .nphoneparent {width:65px !important;height:122px !important;top: 95px !important;}
   #videoblock, #hpltops {margin-top:20px !important;}
   #sectext1 {margin:30px 0px 0px 0px !important; text-align:left !important;}
   #rotate div {font-size:11px !important;}
   #hdiw1box {top:2% !important; right:2% !important;}
   #hdiw2box {top:2% !important; left:2% !important;}
   #hdiw3box {top:2% !important; right:2% !important;}
   #sec_i1, #sec_i2, #sec_i3 {top: 5% !important; right: 5% !important; bottom: 5% !important; left:5% !important;font-size:11px;}
   #sectext1 {font-size:12px !important;}
   .show479 {display:block !important;}

}

@media screen and (min-width:768px) and (max-width:770px) {
	/* Target iffy ipads*/
	.navbar-collapse {float:right !important;}
	.logo a img {width:200px !important;}
	.nav>li>a {padding: 10px 5px !important;}
	#partners1 div, #partners2 div {margin:0 !important;}
}

@media (min-width: 770px){
    .desktop {display:inline;}
    .mobile {display:none;}
    header .navbar {float: right;margin-top:10px;}
    header .navbar-nav>li {margin-left:10px;}
    footer .right {text-align:right;}
}
@media (max-width: 770px){
    header .logo {margin:0 auto;}
    header .navbar {text-align: center;margin-top: -55px;}
	.navbar-header {height:60px !important;}
    h2 {font-size:21px;}
    .desktop {display:none;}
    .mobile {display:inline;}
    .bx-wrapper .bx-caption span {font-size:12px;}
    .bx-wrapper .bx-controls-direction a {width:30px;height:30px;}
    .portal-box {margin-bottom:50px;padding-right:90px;}
    .portal-box .phone {right:10px;}
    .contact-details {text-align:center;}
    footer {text-align:center;}
    footer div.mid {margin-top:20px;}
}