/*!
 * Start Bootstrap - Simple Sidebar HTML Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

/*  JB styles */
/**
 * Resource: http://stackoverflow.com/questions/25200424/horizontal-scrollbar-only-appearing-at-bottom-of-page
 *
 * stretches document body to full height of viewport (html);
 * vh = viewport height; vw = viewport width
 */
html,body{
  height:100vh;
  width:100vw;
  margin-left: 0;
  padding: 0;
}

/* Toggle Styles */

#wrapper {
    padding-left: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#wrapper.toggled {
    padding-left: 250px;
}

#sidebar-wrapper {
    z-index: 1000;
    position: fixed;
    top: 0px;
    left: 250px;
    width: 0;
    height: 100%;
    margin-left: -250px;
    overflow-y: auto;
    background: #000;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#sidebar-wrapper h4 a {color: #fff; line-height: 24px;}
#sidebar-wrapper h4 a:hover{color: #fff; text-decoration: underline;}

#wrapper.toggled #sidebar-wrapper {
    width: 250px;
}

#page-content-wrapper {
    width: 100%;
    position: absolute;
    padding: 15px;
}

#wrapper.toggled #page-content-wrapper {
    position: absolute;
    margin-right: -250px;
}

/* Sidebar Styles */

.sidebar-nav {
    position: absolute;
    top: 140px;
    width: 250px;
    margin: 0;
    padding: 0;
    list-style: none;
    margin-top: 164px;
}

.sidebar-nav li {
    text-indent: 20px;
    line-height: 28px;  /*40px;*/
}

.sidebar-nav li a {
    display: block;
    text-decoration: none;
    color: #999999;
    padding-left:6px;
}

.sidebar-nav li a:hover {
    text-decoration: none;
    /*color: #fff;
    background: rgba(255,255,255,0.2);*/
    color: #000;
    background: #fff;
    font-weight: bold;
}

.sidebar-active {
    text-decoration: none !important;
    /*color: #fff;
    background: rgba(255,255,255,0.2);*/
    color: #000 !important;
    background: #fff !important;
    font-weight: bold !important;
}
.sidebar-active a {
    text-decoration: none !important;
    /*color: #fff;
    background: rgba(255,255,255,0.2);*/
    color: #000 !important;
    background: #fff !important;
    font-weight: bold !important;
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
    text-decoration: underline;
}


.sidebar-nav > .sidebar-brand {
    height: 65px;
    font-size: 18px;
    line-height: 60px;
}

.sidebar-nav > .sidebar-brand a {
    color: #999999;
}
/*
.sidebar-nav > .sidebar-brand a:hover {
    color: #fff;
    background: none;
}
*/
.admin-menu-bg-on-focus {
    background-color: rgba(255,255,255,0.2);
}

.active {
    display: block;
    background-color: rgba(255,255,255,0.2);
    color: #fff;
}



#sidebar-brand {
    font-weight: bold;
    color: #fff;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-left: 20px;
}



@media(min-width:768px) {
    #wrapper {
        padding-left: 250px;
    }

    #wrapper.toggled {
        padding-left: 0;
    }

    #sidebar-wrapper {
        width: 250px;
    }

    #wrapper.toggled #sidebar-wrapper {
        width: 0;
    }

    #page-content-wrapper {
        padding: 20px;
        position: relative;
    }

    #wrapper.toggled #page-content-wrapper {
        position: relative;
        margin-right: 0;
    }
}


/* JB additions */
#navbar-subheader-bar {
    min-width: 100%;
    color: #fff;
    line-height: 30px;
    font-size: 15px;
    margin-bottom: 15px;
    margin-right: -842px;
    background-color: #000; /*#337AB7;  #0073AA;*/
}

#navbar-subheader-bar h3, h4 {margin:0px;}

#navbar-subheader-bar p {
    padding: 6px 0px 0px 0px;
    color: #fff;
}



.form-wrapper {
  margin-top: 102px;
  margin-bottom: 87px;
  border-top: 1px solid #eee;
}

.form-wrapper2 {
  margin-top: 263px;
  margin-bottom: 87px;
  border-top: 1px solid #eee;
}


/* Sticky footer styles
-------------------------------------------------- */
/*
html {
  position: relative;
  min-height: 100%;
}
body {
*/
  /* Margin bottom by footer height */
/*
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  */
  /* Set the fixed height of the footer here */
  /*
  height: 60px;
  background-color: #f5f5f5;
}

*/


/* Sidebar styles */
.styled-select {
    margin-left: 0px;
    padding-left: 5px;
    width: 252px;
    height: 34px;
    overflow: hidden;
    /*background: url(new_arrow.png) no-repeat right #000;*/
    background-color: #000;
    /*border: 1px solid #ccc;*/
}
.styled-select select:hover {
    cursor: pointer;
    background: rgba(255,255,255,0.2);
    color: #fff;
    margin-left: -10px;
    padding-left: 22px;
}
.styled-select select {
   background: transparent;
   color: #999999;
   width: 268px;
   font-size: 14px;
   line-height: 26px;
   border: 0;
   border-radius: 0;
   height: 34px;
   -webkit-appearance: none;
}
.styled-select select option {
    padding-left: 15px;
    background-color: #222;
}
.styled-select select option:hover {
    cursor: pointer;
}

/* - - - - - - -  base-siteadmin - - - - - - - - -  */
#site-admin-buyers-network { margin-bottom: 20px; }
#buyers-network-manage,
#gyms-wanted { display: none; margin-bottom: 15px; }

#buyers-network-manage:hover,
#buyers-network-title:hover,
#gyms-wanted-manage:hover,
#gyms-wanted-title:hover { cursor: pointer; background-color: #fff; color: #000; }

#buyers-network-manage:hover > a,
#buyers-network-title:hover > span,
#gyms-wanted-manage:hover > a,
#gyms-wanted-title:hover > span { color: #000 !important; }
