#logo { max-height: 65px; }
#top-menu-nav > ul > li > a:hover, #top-menu li.mega-menu > ul > li > a:hover { opacity: 1; color: #e10654; }

.et_primary_nav_dropdown_animation_fade #et-top-navigation ul li > ul {
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  transition: all 0.5s ease-in-out; }

.ae-title { border-bottom: 5px solid; display: table; }

hr.ae-hrline {
  border: 0;
  height: 1px;
  margin-top: 0px;
  background-image: -webkit-linear-gradient(left,#36b7b4,#f0f0f0);
  background-image: -moz-linear-gradient(left,#36b7b4,#f0f0f0);
  background-image: -ms-linear-gradient(left,#36b7b4,#f0f0f0);
  background-image: -o-linear-gradient(left,#36b7b4,#f0f0f0); }

.headerline {
  border: 0;
  height: 3px;
  margin: 0px;
  background-color: #36b7b4;
  width: 6%;
  margin-left: auto;
  margin-right: auto; }

/* Sub Menu CSS */
#top-menu li.mega-menu > ul > li > a { border-bottom: 1px solid rgba(0, 0, 0, 0) !important; }

.ft-bike, .c-bike, .c-bike-k, .e-skateboard, .i-helmet, .standup-pb, .adventure-boat, .mat-bag { 
  height: 160px; border-width: 0 1px 1px 0; border-style: solid; border-color: #ccc; }

.ft-bike:hover, .c-bike:hover, .c-bike-k:hover, .e-skateboard:hover, .i-helmet:hover, .standup-pb:hover, .adventure-boat:hover,
.mat-bag:hover {
  box-shadow: 0px 0 13px -6px rgba(0, 0, 0, 0.65) inset; -webkit-box-shadow: 0px 0 13px -4px rgba(0, 0, 0, 0.70) inset;
  -moz-box-shadow: 0px 0 13px -6px rgba(0, 0, 0, 0.65) inset; }

.ft-bike:hover a, .c-bike:hover a, .c-bike-k:hover a, .e-skateboard:hover a, .i-helmet:hover a, .standup-pb:hover a,
.adventure-boat:hover a, .mat-bag:hover a { color: #e10654 !important; }

.ft-bike a, .c-bike a, .c-bike-k a, .e-skateboard a, .i-helmet a, .standup-pb a, .adventure-boat a, .mat-bag a { 
  position: relative; padding: 0px !important; top: 1%; text-align: center; width: 100% !important; height: 100%; z-index: 999; }

.e-skateboard, .mat-bag { border-right: 0px ; }
.i-helmet, .standup-pb, .adventure-boat, .mat-bag { border-bottom: 0px; }

.ft-bike:after { background-image: url("http://ambiexercise.com/wp-content/uploads/2016/11/Fat-Tire-e-Bike.jpg"); }
.c-bike:after { background-image: url("http://ambiexercise.com/wp-content/uploads/2016/11/cruising-bike.jpg"); }
.c-bike-k:after { background-image: url("http://ambiexercise.com/wp-content/uploads/2016/11/e-bike-conversion-kit1.jpg"); }
.e-skateboard:after { background-image: url("http://ambiexercise.com/wp-content/uploads/2016/11/eSkateboard.jpg"); }
.i-helmet:after { background-image: url("http://ambiexercise.com/wp-content/uploads/2016/11/helmet.jpg"); }
.standup-pb:after { background-image: url("http://ambiexercise.com/wp-content/uploads/2016/11/E-Skateboard.jpg"); }
.adventure-boat:after { background-image: url("http://ambiexercise.com/wp-content/uploads/2016/11/ADVENTURER330.jpg"); }
.mat-bag:after { background-image: url("http://ambiexercise.com/wp-content/uploads/2016/11/mat-bag.jpg"); }

.ft-bike:after, .c-bike:after, .c-bike-k:after, .e-skateboard:after, .i-helmet:after, .standup-pb:after, .adventure-boat:after,
.mat-bag:after { 
  position: absolute; 
  top: 17%; 
  left: 0%; 
  width: 100%; 
  height: 1px; 
  content: ''; 
  opacity: 1; 
  height: 130px;
  background-size: 170px; 
  background-repeat: no-repeat; 
  background-position: center top; }


/* Blurb CSS */
.ae-hm-box .et_pb_column .et_pb_text { padding: 15px 10px; font-size: 17px; }

.ae-hm-box .et_pb_column .et_pb_text:before  { background-color: rgba(0, 0, 0,0);
  content: "";
  width: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  height: 185%; }

.ae-hm-box .et_pb_column .et_pb_text:hover:before  { background-color: rgba(0, 0, 0,0.4); }

.ae-hm-box .et_pb_column .et_pb_text:after { 
  border: 1px solid rgba(0, 0, 0,0.4);
  position: absolute;
  content: '';
  border: .5em solid transparent;
  left: 40px;
  top: 0%;
  -webkit-transition: all .3s ease-out;
  -moz-transition: all .3s ease-out;
  -ms-transition: all .3s ease-out;
  -o-transition: all .3s ease-out;
  transition: all .3s ease-out;
  transform: rotate(180deg) }

.ae-hm-box .et_pb_column .et_pb_text:hover:after { left: -16px; border-left-color: rgba(0, 0, 0,0.4); }

/* Left */
.ae-hm-box.hm-left .et_pb_column .et_pb_text:after  {  left: 90%; transform: rotate(0deg); z-index: 1; }
.ae-hm-box.hm-left .et_pb_column .et_pb_text:hover:after { left: 100%; border-left-color: rgba(0, 0, 0,0.4); }




/* Contact Us */
#ae-contact { width: 100%; }

#ae-contact input[type="text"], #ae-contact [type="email"], #ae-contact [type="tel"] {
  width: 26%; padding: 8px 15px; background: #fff !important; color: #000 !important; border-radius: 3px; float: left;
  border: 1px solid #bbb; margin-right: 10px; }

#ae-contact input[type="submit"] { 
  padding: 6px 20px;
  width: 19%;
background: #36b7b4;
color: #fff !important;
font-size: 18px;
font-weight: 600;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
border: 0px solid #ccc; }
#ae-contact input[type="submit"]:hover { background: #2f9d9b; }

#ae-contact input[type="text"]:focus, #ae-contact input[type="email"]:focus, #ae-contact [type="tel"]:focus {
  background: #f9f9f9 !important; }

/* Products */
#products-img { position: relative; }

#products-img img {
position: relative;
z-index: 2;
}

#products-img:after {
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  bottom: -6px;
  height: 2px;
  width: 7%;
  left: -4%;
  margin: 0 0 0 50%;
  -moz-transform: rotateX(45deg) scale(10, .75);
  -ms-transform: rotateX(45deg) scale(10, .75);
  -o-transform: rotateX(45deg) scale(10, .75);
  -webkit-transform: rotateX(45deg) scale(10, .75);
  transform: rotateX(45deg) scale(10, .75);
  background: #666;
  -moz-box-shadow: 
    0 0 1px #666, 0 0 2px #666, 0 0 3px #666, 0 0 5px #666, 0 0 5px #666, 0 0 5px #666, 0 0 7px #666, 0 0 12px #666;
  -o-box-shadow: 0 0 1px #666, 0 0 2px #666, 0 0 3px #666, 0 0 5px #666, 0 0 5px #666, 0 0 5px #666, 0 0 7px #666, 0 0 12px #666;
  -webkit-box-shadow: 
    0 0 1px #666, 0 0 2px #666, 0 0 3px #666, 0 0 5px #666, 0 0 5px #666, 0 0 5px #666, 0 0 7px #666, 0 0 12px #666;
  -ms-box-shadow: 
    0 0 1px #666, 0 0 2px #666, 0 0 3px #666, 0 0 5px #666, 0 0 5px #666, 0 0 5px #666, 0 0 7px #666, 0 0 12px #666;
  box-shadow: 0 0 1px #666, 0 0 2px #666, 0 0 3px #666, 0 0 5px #666, 0 0 5px #666, 0 0 5px #666, 0 0 7px #666, 0 0 12px #666;
  -moz-opacity: .65;
  filter: alpha(opacity=65);
  opacity: .65; }

/* ul linst */
.rectangle-list { list-style: none !important; padding-left: 0px !important; }

.rectangle-list a{
  position: relative;
  display: block;
  padding: .3em .3em .3em .3em;
  *padding: .4em;
  margin: .5em 0 .5em 2.5em;
  background: #ddd;
  color: #444;
  text-decoration: none;
  -webkit-transition: all .3s ease-out;
  -moz-transition: all .3s ease-out;
  -ms-transition: all .3s ease-out;
  -o-transition: all .3s ease-out;
  transition: all .3s ease-out;	}

.rectangle-list a:hover{
  background: rgba(54, 183, 180, 0.15); }	

.rectangle-list a:before{
  /*content: "49";
   counter-increment: li; 
  font-family: "ETmodules" !important; */
  position: absolute;	
  left: -2.5em;
  top: 50%;
  margin-top: -1em;
  background: #36b7b4;
  height: 2em;
  width: 2em;
  line-height: 2em;
  text-align: center;
  font-weight: bold; }
			
.rectangle-list a:after{
  position: absolute;	
  content: '';
  border: .5em solid transparent;
  left: -1em;
  top: 50%;
  margin-top: -.5em;
  -webkit-transition: all .3s ease-out;
  -moz-transition: all .3s ease-out;
  -ms-transition: all .3s ease-out;
  -o-transition: all .3s ease-out;
  transition: all .3s ease-out; }

.rectangle-list a:hover:after{
  left: -.5em; 
  border-left-color: #36b7b4; }

@media screen and (min-width: 320px) and (max-width: 768px) {
  .et_header_style_left #logo { max-width: 80%; }
  
  #et_top_search { display: none; }
  #et_mobile_nav_menu li.current-menu-item > a { color: #e10654; }
  
  .ft-bike, .c-bike, .c-bike-k, .e-skateboard, .i-helmet, .standup-pb, .adventure-boat, .mat-bag {
    height: unset; border: unset; }
  
  .ft-bike a, .c-bike a, .c-bike-k a, .e-skateboard a, .i-helmet a, .standup-pb a, .adventure-boat a, .mat-bag a { 
    padding: 10px 5% !important; text-align: left; }
  
  .ft-bike::after, .c-bike::after, .c-bike-k::after, .e-skateboard::after, .i-helmet::after, .standup-pb::after, 
  .adventure-boat::after, .mat-bag::after { display: none; }
  
  .ft-bike:hover, .c-bike:hover, .c-bike-k:hover, .e-skateboard:hover, .i-helmet:hover, .standup-pb:hover, .adventure-boat:hover, 
  .mat-bag:hover { box-shadow: unset; -webkit-box-shadow: unset; -moz-box-shadow: unset; }
  
  .home .et_pb_section_1::before { top: 0px; }
  .mo-paddingt { padding-top: 0px; }
  .mo-paddingb { padding-bottom: 0px; }
  
  .home .et_pb_text h3 { margin-top: 10px; }
  
  #ae-contact input[type="text"], #ae-contact [type="email"], #ae-contact [type="tel"], #ae-contact input[type="submit"] {
    width: 100%; margin-bottom: 5px; }
  
}
@media screen and (min-width: 770px) and (max-width: 1024px) {
  #top-menu li { padding-right: 5px; } 
  
  #ae-contact input[type="submit"] { width: 18%; }
}

@media screen and (min-width: 320px) and (max-width: 1400px) {
{
.ms_image_layer { width: 100% !important; height: 100% !important; top: 0px !important; } 
}