/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */

/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
}

/* Flip around the padding for proper display in narrow viewports */
.navbar-wrapper .container {
  padding-left: 0;
  padding-right: 0;
}
.navbar-wrapper .navbar {
  padding-left: 15px;
  padding-right: 15px;
}

#headerphone {
	font-size: larger;
}

.nav > li > a { 
	padding-left:  1px;
	padding-right: 1px;
	width:auto;
	font-size:23px;
}

#topnav {
	position: fixed;
}

.resize {
	padding-top: 30px;
	float: left;
	margin-left: 120px;
}

.head-logo {
	float:left;
	padding-bottom:10px;
}
.header-img {
	height:105px;
	padding-bottom:3px;
}	

.head-contact {
	float: Right !important;
}

.reach-out {
	padding:10px;
}

.fb-like-box, .fb-like-box span, .fb-like-box.fb_iframe_widget span iframe {
    width: 100% !important;

}

#resize-buttons{
	float: Right !important;
}

#jfontsize-m2{
	font-size: 18px;
	padding: 3px;
}

#jfontsize-d2{
	font-size: 22px;
	padding: 3px;
}

#jfontsize-p2{
	font-size: 26px;
	padding: 3px;
}

.jfontsize-button {
  font-weight: bold;
  padding-right: 33px;
  color: rgb(0, 53, 173);
  border: solid 1px #ccc;
}
 
.jfontsize-button:hover {
  text-decoration: none;
  color: #2a6496;
  border: solid 1px #333;
}
 
.jfontsize-disabled, .jfontsize-disabled:hover {
  color: #aaa;
  border: solid 1px #eee;
  background: #eee;
}

#sidebar {
	float:right;
	width:220px;
}

#sidebar2 {
	float:right;
	width:280px;
}

.services-section {
  width:77%; 
  float:left;
}

.footer {
  border-top: 1px solid #eee;
  margin-top: 40px;
  font-size: 22px;
  background-color: #D3D9E2;
  -webkit-border-radius: 10px;
  border-radius: 10px;
}

.copyright {
  padding-top: 20px;	
  text-align: center;	
}

.videobox_inner {  
	margin:0px 0px 0px 0px; 
	padding:0px 0px 0px 0px; 
	border-radius:10px; 
}
	
.video_ttl_inner { 
	margin:0px;  
	height:100%; 
	font-size:larger; 
	font-weight:normal; 
	vertical-align: middle;
	font-family: inherit; 
	color:#FFC; 
	background-color:#FFC726; 
	text-align:center; 
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
}

.videourl_inner { 
	margin:0px; 
	padding:0px;
}

.section-header{
	background-color:##eee;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	padding: 2px;
	background-image: -webkit-linear-gradient(top,#f5f5f5 0,#E1E1E4 100%);
	color: #0035ad;
	text-align: center;
	padding: 5px;
	font-weight: 400;
}

/* Main marketing message and sign up button */
.jumbotron {
  text-align: center;
  background-color: transparent;
}
.jumbotron .btn {
  font-size: 21px;
  padding: 14px 24px;
}

/* Customize the nav-justified links to be fill the entire space of the .navbar */

.nav-justified {
  border-radius: 5px;
  padding-bottom:10px;
  /*
  background-color: #eee;
  border: 1px solid #ccc;
  */
}
.nav-justified > li > a {
  margin-bottom: 0;
  color: rgba(0,53,173);
  font-weight: bold;
  text-align: center;
  border-bottom: 1px solid #d5d5d5;
  background-color: #FFC726; /* Old browsers */
  background-repeat: repeat-x; /* Repeat the gradient */
  background-image: -moz-linear-gradient(top, #f5f5f5 0%, #9192B1 100%); /* FF3.6+ */
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#FFC726)); /* Chrome,Safari4+ */
  background-image: -webkit-linear-gradient(top, #f5f5f5 0%,#9192B1 100%); /* Chrome 10+,Safari 5.1+ */
  background-image: -o-linear-gradient(top, #f5f5f5 0%,#FFC726 100%); /* Opera 11.10+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#FFC726',GradientType=0 ); /* IE6-9 */
  background-image: linear-gradient(top, #f5f5f5 0%,#FFC726 100%); /* W3C */
}
.nav-justified > .active > a,
.nav-justified > .active > a:hover,
.nav-justified > .active > a:focus {
  background-color: #ddd;
  background-image: none;
  box-shadow: inset 0 3px 7px rgba(0,0,0,.15);
}
.nav-justified > li:first-child > a {
  border-radius: 5px 5px 0 0;
}
.nav-justified > li:last-child > a {
  border-bottom: 0;
  border-radius: 0 0 5px 5px;
}

ul.nav li.dropdown:hover ul.dropdown-menu {
	 display: block; 
}

.nav-justified > li > a {
   border-left: 1px solid #fff;
   border-right: 1px solid #d5d5d5;
}
.nav-justified > li:first-child > a {
   border-left: 0;
   border-radius: 5px 0 0 5px;
}
.nav-justified > li:last-child > a {
   border-radius: 0 5px 5px 0;
   border-right: 0;
}
.navbar-brand {
 	float: inherit !important;
}
.header-img {
 	float: left !important;
 	padding-bottom: 15px;
 	
}


/* RESPONSIVE CSS
-------------------------------------------------- */
/* Desktops and laptops ----------- */
/* responsive text queries */
@media screen and (max-width: 1200px) {
body {
	  padding-top:104px;
  }	
.nav > li > a { 
	padding-left:  1px;
	padding-right: 1px;
	width:auto;
	font-size:20px;
}
}

@media only screen 
and (min-width : 992px) { 
body {
	  padding-top:104px;
  }	

}

/* responsive text queries */
@media screen and (max-width: 992px) {
body {
	  padding-top:131px;
	  font-size:20px;
  }	
	.nav > li > a { 
	padding-left:  1px;
	padding-right: 1px;
	width:auto;
	font-size:17px;
}  

.footer {
  font-size: 20px;
}

}

/* Desktops and laptops ----------- */
@media only screen 
and (min-width : 1224px) { 
body {
	  font-size:25px;
	  padding-top:104px;
  }	
  .navbar-brand {
  }	
  .header-img {
  }
  .nav > li > a { 
	font-size:25px;
  }
}

@media only screen 
and (max-width : 1224px) { 
	#resize-buttons {
		display: none !important;
	} 
}

/* Large screens ----------- */
@media only screen 
and (min-width : 1824px) {

}


@media only screen 
and (min-width : 768px) { 
  .navbar-header {
    position: relative;
  }

  #headerphone {
  	font-size:xx-large;
  }
    
  #header-phone-resize {
    position: absolute;
    top: 0;
    bottom: 0;
    right: -10px;
    height: 50%;
    margin: auto;
  }
}

/* TABLEST
-------------------------------------------------- */
/* iPads (portrait and landscape) ----------- */
/* iPads (portrait) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {

  /* Remove the padding we set earlier */
  .masthead,
  .marketing,
  .footer {
    padding-left: 0;
    padding-right: 0;
  }	
body {
	  font-size:20px;
	  padding-bottom:0;
	  padding-top: 84px;
	}	
.container {
	padding-left:  3px;
	padding-right: 3px;
	padding-bottom:0;
	width:100%;
}
.nav > li > a { 
	padding-left:  1px;
	padding-right: 1px;
	width:auto;
	font-size:18px;
}
.header-img {
	height:85px;
	float:left;
}	
.head-logo {
	padding-left:5px;
}
  .header-img {
	height:84px;
	width:372px;
	display:block;
}

}

/* iPads (landscape) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {

  /* Remove the padding we set earlier */
  .masthead,
  .marketing,
  .footer {
    padding-left: 0;
    padding-right: 0;
  }
body {
	  font-size:20px;
	  padding-top: 104px;
	}
.nav > li > a { 
	padding-left:  1px;
	padding-right: 1px;
	width:auto;
	font-size:17px;
}  
	
}

/* PHONES
-------------------------------------------------- */
/* Smartphones (portrait and landscape) ----------- */
/* iPhone 6 ----------- landscape */
@media only screen 
    and (min-device-width : 375px) 
    and (max-device-width : 667px) 
    and (orientation : landscape) 
    and (-webkit-min-device-pixel-ratio : 2)
{ 
	
}
/* iPhone 6 ----------- portrait */
@media only screen 
    and (min-device-width : 375px) 
    and (max-device-width : 667px) 
    and (orientation : portrait) 
    and (-webkit-min-device-pixel-ratio : 2)
{ 
	
}

/* iPhone 6+ ----------- landscape */
@media only screen 
    and (min-device-width : 414px) 
    and (max-device-width : 736px) 
    and (orientation : landscape) 
    and (-webkit-min-device-pixel-ratio : 3) 
{ 	
	.navbar-brand {
	  padding-top:10px;
	  padding-right:20px;	 
	  font-size:20px;
	}
	#headerphone {
		font-size: larger;
		float: right !important;
	}  
  	#mobilemenu {
  		float: right !important;
  		padding-left:40px;
  	}
}
/* iPhone 6+ ----------- portrait */
@media only screen 
    and (min-device-width : 414px) 
    and (max-device-width : 736px) 
    and (orientation : portrait) 
    and (-webkit-min-device-pixel-ratio : 3) 
{ 
	
}

/* iPhone 5 ----------- */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {
  

}

/* Smartphones (portrait) ----------- */
@media only screen 
and (max-width : 320px) {
    
}

/* Smartphones iPhone 5 & 5S (landscape) ----------- */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 568px) 
and (orientation : landscape) { 

}

/* iPhone 4 ----------- */
@media
only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5) {
	
	
}