<style type="text/css">

h2 {
   margin-top:5px; /* bootstrap sets at 20px, but too much with ad above */
}

select, input[type=button] {
   font-size:14px;
   -moz-border-radius: 10px;
   -webkit-border-radius: 10px;
   -khtml-border-radius: 10px;
    border-radius: 10px;

    -webkit-box-shadow: 0 3px 0 #aaa, 0 -1px #fff inset;
    -moz-box-shadow: 0 3px 0 #aaa, 0 -1px #fff inset;
    box-shadow: 0 3px 0 #aaa, 0 -1px #fff inset;


    background: #f8f8f8;
    color:#00c;
    border:none;
    outline:none;
    display: inline-block;
/***
    -webkit-appearance:none;
    -moz-appearance:none;
    appearance:none;
***/
    cursor:pointer;
    margin:4px;

    width:inherit; /* bootstrap sets this as 220px? */

}

input[type=text], input[type=password, input[type=submit]]   {
    width:inherit; /* bootstrap sets this as 206px? */
}

form {
   margin:0; /* bootstrap has margin:0 0 20px */
}

table {
   border-spacing:inherit;
}

table#menu_left table tr {
   border:0px solid red;
}

table table table {
   max-width:600px;
   border:0px solid red;
   border-spacing:0px;
        /* following needed to fix bootstrap */
   /*background-color:#0cf;*/
   /*border-spacing:2px;*/
}

#date {
   font-style:italic;
   color:#888;
   text-align:right;
   margin-right:10px;
   margin-bottom:5px;
}

#amember_form {
/*
   margin:-10px 45px 5px 0;
   text-align:right;
*/
   /*margin-top:15px; */
   padding:10px 0; /* Need padding else #sa_main content overruns box */
}

#amember_login_form {
   display:inline-block;
   margin:-10px 0px;
   text-align:center;
    padding:5px;
    background: #eee;
    border:2px solid #009;
   -webkit-border-radius: 10px;
   -moz-border-radius: 10px;
   border-radius: 10px;
}

#amember_login_dropdown {
   border-top:1px solid #ccc;
   background:#fff;
   background: url('/px/box-bg.jpg');
   background-repeat: repeat-x;
   border-color:#f00
   -webkit-border-radius: 10px;
   -moz-border-radius: 10px;
   border-radius: 10px;
}


#amember_login_dropdown input {
   margin:5px 0;
}

.form-group {
   margin-bottom:0; /* bootstrap has margin:0 0 20px */
}

#mobile_desktop_button {
   border:1px solid #aaa;
}

/* restore bootstrap padding since removed in standard style.php */
/*  Also had to change margin-rigth from-15px to 0 since overrunning RHS */
.row {
   padding-left:15px;
   margin-right:0;
}
/* remove bootstrap padding and restore margin-left for row */
.menu {
   padding-left:0;
   margin-left:-15px;
   text-align:center; /* added to center menu in steamboatpowdercats.com */
}

.submenu {
   text-align:center; /* added to center buttons in steamboatpowdercats.com */
}

/* Remove bottom padding from menu */
.navbar .nav>li>a {
  padding-bottom:0;
}
.navbar .nav>li>a:hover {
   /*border:1px solid #ccc;*/
    background:#efefef; 
}

nav.navbar.navbar-default {
   /* top:-20px; */ /* moves menubar up and cuts off logo when menu moves to 2 lines - use media query below */
   border:0px;
   background:#fff;
}
@media (min-width:768px) {
   nav.navbar.navbar-default {
      /*  Use em so when make font smaller below, space below logo correct */
      margin-top:-1.5em;
   }
}
/* Reduce menu font and anchor padding  so menu stays on same line*/
@media (min-width:768px) and (max-width:930px) {
   .navbar {
      font-size:smaller;
   }
   .nav>li>a {
      padding:10px 10px;
   }
}
/*  This is the gradient on the main menu - only turn off for width>=768 so shading appears on pillbox menu items when width < 768*/
@media (min-width:768px) {
   .navbar-collapse {
      /* overwrites box shadow defined in style.php*/
      background:none;
      background-image:none;
      -webkit-box-shadow:none;
      -moz-box-shadow:none;
      box-shadow:none;
   }
}

/* Accordion */
.ui-accordion .ui-accordion-header {
   padding: 0.3em 0.3em 0.3em 0.5em;
}

/* move indent of 2nd level menus to left */ 
ul.dropdown-menu li li {
   margin-left:-30px;
   /*padding-left:20px; move to .dropdown-menu > li > ul > li > a below so border highlight looks good */
}

/* remove 2nd level of dropdown menu indents from 1st level */
ul.dropdown-menu li ul {
   margin-left:initial;
}

.dropdown-menu>li>a {
   padding:0px 20px; /* bootstrap had 3px 20px, but too much space between li */
}

.menu li {
    text-transform:uppercase;
    /*letter-spacing:2px;*/
    font-size:1.3rem;
}
.dropdown-menu > li > a, .dropdown-menu > li > ul > li > a {
    line-height:3rem;
}
.dropdown-menu > li > ul > li > a {
    display:block; /* Add same style as dropdowns.less for these 2nd level elements so anchor takes entire space allotted to it  */ 
    padding-left:20px;
}
ul.dropdown-menu {
    background:#efefef;  
}
.middle {
   vertical-align:middle;
}
.bottom {
   vertical-align:bottom;
}

</style>
