﻿/**********************************
Responsive navbar-brand image CSS
- Remove navbar-brand padding for firefox bug workaround
- add 100% height and width auto ... similar to how bootstrap img-responsive class works
***********************************/

.navbar-brand {
    padding: 0px;
}

    .navbar-brand > img {
        height: 100%;
        padding: 7px;
        width: auto;
    }


/*************************
EXAMPLES 2-7 BELOW 
**************************/


/* EXAMPLE 2 (larger logo) - simply adjust top bottom padding to make logo larger */

.example2 .navbar-brand > img {
    padding: 6px 7px;
}

.example2 .navbar-brand {
    height: 70px !important;
}

/*#HeaderMenuUL > li {
    height: 70px !important;
}*/

.example2 .nav > li > a {
    font-size: 18px !important;
    padding-top: 25px !important;
    /*padding-bottom: -100px !important;*/
}

.example2 .navbar-toggle {
    padding: 10px;
    margin: 25px 15px 25px 0;
}

/* CSS Transform Align Navbar Brand Text ... This could also be achieved with table / table-cells */
.navbar-alignit .navbar-header {
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    height: 50px;
}

.navbar-alignit .navbar-brand {
    top: 50%;
    display: block;
    position: relative;
    height: auto;
    transform: translate(0,-50%);
    margin-right: 15px;
    margin-left: 15px;
}

.navbar-nav > li > .dropdown-menu {
    z-index: 9999;
}

@media only screen and (max-width: 600px) {
    .example2 .navbar-brand {
        height: 50px !important;
        max-width: 50% !important;
    }

    .example2 .navbar-toggle {
        padding: 10px !important;
        margin: 7px 10px 0px 0px !important;
    }

    .navbar-brand > img {
        max-width: 100% !important;
    }

    .example2 .navbar-brand > img {
        padding: 5px 6px;
    }

    /*#HeaderMenuUL > li {
        height: 50px !important;
    }*/
}
