/* this controls the text alignment of the main nav text (non-mobile) */
@media(min-width:768px){
.menu-main-menu-container{
    position: relative!important;
    text-align: center!important;
}
}

/* controls position of THS logo on mobile */
@media(max-width:768px){
#Top_bar #logo img {
float: left!important;
}
}

/* this controls the distance the hamburger icon is from the left side */
a.responsive-menu-toggle {
    left: 0px!important;
}

/* this controls the distance the hamburger icon is from the top */
.header-stack.header-center #Top_bar .menu_wrapper {
    position: relative!important;
}

/* this controls the mobile dropdown menu  */
@media(max-width:768px){
    .menu-main-menu-container{
    max-width: 200px;
    text-align: left!important;
    padding-left:40px;
    margin-top:10px!important;
    background-color:#555555!important;
    z-index: 10000!important;
}
/* controls z-index of mobile dropdown menu */
.secondary_menu_wrapper, .menu_wrapper{
    z-index: 5000!important;
}
}

/* this makes the background photo full width (with no padding) */
body:not(.template-slider) #Header_wrapper {
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover!important;
}

/* controls visibility of top Action_bar on mobile */
@media(max-width:768px){
#Action_bar{
    display:block!important;
    visibility: visible!important;
    top:100px!important;
    background-color:black!important;
    z-index: 1000!important;
}
}

/* this controls the height of the hamburger icon */
#Top_bar a.responsive-menu-toggle, .header-plain #Top_bar a.responsive-menu-toggle, .header-transparent #Top_bar a.responsive-menu-toggle {
    margin-top: -50px!important;
    z-index: 1000!important;
}

/* menu (NON-MOBILE) */
#Top_bar .menu > li > a span:not(.description) {
    display: block;
    font-weight: 600;
    line-height: 40px!important; /* line height of nav links */
    padding: 0 20px;
    white-space: nowrap;
    border-right-width: 1px;
    border-style: solid;
}

/* menu (MOBILE) */
@media(max-width:768px){
#Top_bar .menu > li > a span:not(.description) {
    display: block;
    font-weight: 600;
    line-height: 40px!important; /* line height of nav links */
    padding: 0 20px;
    white-space: nowrap;
    border-right-width: 1px;
    border-style: solid;
}
#google-link-for-mobile-nav-menu{ 
    font-weight: 600; /* controls only google link text */
}
}

/* Aligning paragraph text to center on mobile */
@media(max-width:576px){
p {
/*    text-align: center!important;*/
}
} 