 @media only screen and (max-width: 664px) {
    .ephone { width: 100%; }
  }
	
  @media only screen and (min-width: 665px) {	  
  	.ephone { width: 80%; margin: auto; }
	/*.dropdown:hover .dropdown-menu  {display: block;}*/
	  
    .dropdown-menu1 { margin-left: 18px; margin-right: -18px}
    .dropdown-menu2 { margin-left: 32px; margin-right: -32px}
    .dropdown-menu3 { margin-left: 5px; margin-right: -5px}
  }

 
	@media only screen and (max-width: 664px) {
	.topbanner { font-weight: 600; text-align: center; margin: 30px auto; color: #fff; line-height: 30px }
	.topbanner2 { font-weight: 600; text-align: center; margin: 30px auto; color: #fff; line-height: 42px }
	.bmparts { margin: 0 auto}	
	.pms {padding: 0 10px}
	}

	@media only screen and (min-width: 665px) {	  
	.topbanner { font-weight: 600; text-align: center; margin: 35px auto; color: #fff; font-size: 55px; line-height: 60px }
	.topbanner2 { font-weight: 600; text-align: center; margin: 35px auto; color: #fff; font-size: 35px; line-height: 40px }
	.bmparts { margin: 100px auto}
	}
  
	#footer a {color: #fff;}
	#footer a:hover {color: red;}

   .ribbon {
	  width: 120px;
	  font-size: 12px;
	  padding: 4px;
	  position: absolute;
	  right: 0px;
	  top: 10px;
	  text-align: center;
	  border-radius: 25px;

	  background-color: #e73e13;
	  color: white;
	}

   .form-control{ height: 60px }
  
   h1 { font-weight: bold }
   h2 { font-weight: bold }
   h3 { font-weight: bold }
   h4 { font-weight: bold }
   h5 { font-weight: bold }

   table {
	  border-collapse: collapse;
	  width: 100%;
	}

	th, td {
	  
	  padding: 15px;text-align: left;
	}

	tr:nth-child(even) {background-color: #f2f2f2;}
  
	.classynav .search-container {
	  float: left; margin-bottom: 5px
	}

	.classynav input[type=text] {
	  padding: 6px;
	  margin-top: 4px;
	  font-size: 14px;
	  border: #ccc solid 1px; border-radius: 5px;
	}

	.classynav .search-container button {
	  float: right;
	  padding: 5px 10px;
	  margin-top: 4px; margin-left: 2px;
	  margin-right: 16px;
	  background: #ddd;
	  font-size: 16px;
	  border: none;
	  cursor: pointer; border-radius: 5px;
	}
	  
  .navbar {
    font-family: Helvetica;   
    background-color: #000;
    border: 0;
    font-size: 14px !important;
    letter-spacing: 0px;
    opacity: 1; font-weight: 600; text-align: center 
  }
  .navbar li a, .navbar .navbar-brand { 
    color: #fff !important;
  }
  .navbar-nav li a:hover {
    color: #fff !important;
	background-color: #29292c !important;
  }
  .navbar-nav li.active a {
    color: #fff !important;
    background-color: #29292c !important;
  }
  .navbar-default .navbar-toggle {
    border-color: transparent; 
  }
  .open .dropdown-toggle {
    color: #fff;
    background-color: #29292c !important; 
  }

  /*  */

  .dropdown-menu li a {
    color: #000 !important; text-align: center;
  }
  .dropdown-menu li a:hover {
    background-color: red !important;
  }
	  
  .panel .panel-heading{ background-color: #fff; border-bottom: #666 solid 2px; margin-bottom: 15px }	
  .panel { border: 0; }	
  .panel-title a { text-decoration: none}
  .panel-body ul li{line-height: 30px; border-bottom: #ccc solid 2px; margin-bottom: 15px;  font-size: 16px}
  	  
  /*.panel-title:after {
	  content: '\2BC6';
	  color: #000; 
	  float: right;
	  margin-left: 5px; 
  }

  .panel-title active:after {
	  content: "\2BC5";
  }	 */
	  
  footer {
    background-color: #000;
    color: #fff;
    padding: 32px;
  }
  footer a {
    color: #fff;
  }
  footer a:hover {
    color: #777;
    text-decoration: none;
  }
	  
  ul.nav-pills li a {
	background-color: #f5f5f5; color: #666; font-weight: 600; font-size: 14px; text-align: center; margin-bottom: 5px
  }	 
  
  ul.nav-pills  li.active a {
	background-color: #347ab6; color: #fff; font-weight: 600; font-size: 14px; text-align: center; margin-bottom: 5px
  }	 

.tab-content .tab-pane{ background-color: #fff; border: #e5e5e5 solid 1px; padding: 15px; border-radius: 5px}

.vid-container {
	  position: relative;
	  padding-bottom: 50%;
	  padding-top: 35px; height: 0; overflow: hidden;
  }
  
.vid-container iframe,
.vid-container object,
.vid-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.container2 {
  position: relative;
  text-align: center;
  color: white;
}

.bottom-left {
  position: absolute;
  bottom: 5px;
  left: 12px;
}

.top-left {
  position: absolute;
  top: 30%;
  left: 12%;
}

.top-right {
  position: absolute;
  top: 8px;
  right: 16px;
}

.bottom-right {
  position: absolute;
  bottom: 8px;
  right: 16px;
}
	
.bottom {
  position: absolute;
  bottom: 0px;
}

.centered {
  position: absolute;
  top: 30%;
  left: 8%;
  /*transform: translate(-50%, -50%);*/
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
}

.index_img:hover{
  transform: scale(1.1); transition: 1.5s ease; 
}

.index_img2:hover{
  transform: scale(1.1); transition: 1.5s ease; filter: brightness(80%);
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #000;
}

.container2:hover .overlay{
  opacity: 0.4; 
}

/* The actual timeline (the vertical ruler) */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: #e73e13;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

/* Container around content */
.timeline_container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

/* The circles on the timeline */
.timeline_container::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -12px;
  background-color: white;
  border: 4px solid #e73e13;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

/* Place the container to the left */
.timeline_left {
  left: 0;
}

/* Place the container to the right */
.timeline_right {
  left: 50.3%;
}

/* Add arrows to the left container (pointing right) */
.timeline_left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid white;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent white;
}

/* Add arrows to the right container (pointing left) */
.timeline_right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent white transparent transparent;
}

/* Fix the circle for containers on the right side */
.timeline_right::after {
  left: -16px;
}

/* The actual content */
.timeline_content {
  padding: 20px 30px;
  background-color: white;
  position: relative;
  border-radius: 6px; text-align: left; box-shadow: 0 0 20px #ccc; 
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
  /* Place the timelime to the left */
  .timeline::after {
  left: 31px;
  }
  
  /* Full-width containers */
  .timeline_container {
  width: 100%;
  padding-left: 70px;
  padding-right: 25px;
  }
  
  /* Make sure that all arrows are pointing leftwards */
  .timeline_container::before {
  left: 60px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent white transparent transparent;
  }

  /* Make sure all circles are at the same spot */
  .timeline_left::after, .timeline_right::after {
  left: 15px;
  }
  
  /* Make all right containers behave like the left ones */
  .timeline_right {
  left: 0%;
  }
}