/* Keep mouse/touch activation quiet while retaining a clear keyboard focus ring. */
.navbar a:focus,
.navbar button:focus {
    outline: 0 !important;
    box-shadow: none !important;
}

.navbar a:focus-visible,
.navbar button:focus-visible {
    outline: 3px solid #2c81ff !important;
    outline-offset: 3px;
    box-shadow: none !important;
}

.navbar .navbar-nav > li > a:active,
.navbar .navbar-nav > li > a:focus,
.navbar .navbar-nav > li.active > a,
.navbar .navbar-nav > li.active > a:hover,
.navbar .navbar-nav > li.active > a:active,
.navbar .navbar-nav > li.active > a:focus {
    background-color: transparent !important;
}

.navbar button:active,
.navbar button:focus {
	background-color: transparent !important;
}

@media (max-width: 767px) {
    .navbar .navbar-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 70px;
    }

    .navbar .navbar-header::before,
    .navbar .navbar-header::after {
        display: none;
    }

    .navbar .navbar-header .navbar-brand {
        order: 0;
        float: none;
        width: auto;
        height: auto;
        margin: 0;
        padding: 0 !important;
    }

    .navbar .navbar-header .img-logo {
        display: block;
        width: 190px;
        max-width: 100%;
        height: auto;
        margin: 0;
    }

    .navbar .navbar-header .navbar-toggle {
        order: 1;
        float: none;
        flex: 0 0 auto;
        margin: 0 0 0 12px;
    }

	.navbar .navbar-nav > li.active > a {
		background-color: transparent !important;
	}
}
