a {
    font-weight: 600 !important;
}
#page-header {
    background-color:#4f789f;
}
#header-logo {
    height:auto;
    max-width: 284px;
    width: 100%;
    margin-left: 20px;
}
#frontpage-search-container {
    background-color: #BBCCD3;
    padding: 20px;
    margin-bottom: 1em;
}
#frontpage-sitename {
    color: #315373;
    margin-bottom: 0.5em;
}
#include_frontpage {
    background-color: #4f789f;
    border-color: #4f789f;
    padding: .5em 1em; 
    font-size:1.25em;
    font-weight:normal !important;
}
#include_secondary {
    background-color: #4f789f;
    border-color: #4f789f;
    padding: .25em .75em; 
    font-size:1em;
    font-weight:normal !important;
}
#frontpage-search-form-container #keyword-search-submit, #interior-page-search-form-container #keyword-search-submit {
    background-color: #4f789f;
    border-radius: 0px 5px 5px 0px;
    border-color: #4f789f;
}
#frontpage-search-form-container #keyword-search-submit:hover, #include_secondary:hover, #include_frontpage:hover, #interior-page-search-form-container #keyword-search-submit:hover {
    background-color: #315373;
    border-color: #315373;
    text-decoration: none;
}
#homepage-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
#interior-page-search-container {
    overflow: hidden;
    padding: 1em;
    background: #BBCCD3;
}
#interior-page-search-container .sitename-link {
    color: #315373;
}

#frontpage-search-form-container #keyword-search-input, #interior-page-search-form-container #keyword-search-input {
    border-radius: 5px 0px 0px 5px;
    border-color: #4f789f;
    background-color: #fff;
}
.internal-dataset-badge {
    background-color: #4f789f;
    color: #fff;
}
#access-buttons-container a.btn {
    background-color: #4f789f !important;
    color: #fff !important;
    border-radius: 5px !important;
    border: 1px solid #4f789f !important;
    border-color: #4f789f;
    text-decoration: none !important;
    box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
}
#access-buttons-container a.btn:hover {
    background-color: #315373 !important;
    color: #fff !important;
    border-color: #315373 !important;
    text-decoration: none !important;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}
#maincontent a, .search-hint {
    color: #315373 !important;
    text-decoration: none !important;
    font-weight: 500;
}
#maincontent a:hover, .search-hint:hover {
    color: #4f789f !important;
    text-decoration: underline !important;
    font-weight: 500;
}
.subhead {
    color:#315373 !important;
    font-weight: 400;
}

footer a {
    color: #fff !important;
    text-decoration: none !important;
}
footer a:hover {
    color: #fff !important;
    text-decoration: underline !important;
}

nav.menu-bar .nav-link a {
    display: block;
    position: relative;
}
nav.menu-bar .nav-link a:after {
    position:absolute;
    content: '';
    width: 0;
    display:block;
    height: 2px;
    background: black;
    transition: all 0.3s ease-in-out;
}
nav.menu-bar .nav-link a:hover{
    color:black;   
}

nav.menu-bar .nav-link a:hover::after, nav.menu-bar .nav-link a:focus::after {
    width:100%;
    left:0; 
    background: black;
}
.menu-links>li>a {
    padding:0;
}
nav .menu-links {
    display: flex;
    justify-content: flex-end;
}
#maincontent a.btn-success, #maincontent a.btn-remove {
    color:#fff !important;
    text-decoration: none !important;
    padding: 0.5em 1em;
    font-size: .75em;;
}
#maincontent a.btn-remove {
    bottom:-10px;
}

legend {
    color: #4f789f !important;
    font-weight: 400;
    border-color: #4f789f !important;
}

.menu-bar {
    background: none;
    width:auto;
}

.menu-bar .menu-link {
    background: #aaa !important;
}

.menu-bar .menu-link:hover {
    background: #fff !important;
}
#maincontent .admin-nav-sidebar a:hover {
    text-decoration: none !important;
}
#frontpage-search-form-container {
    max-width: 550px !important;
    margin:0 !important;
    margin-bottom: auto !important;
}
#facets-pane {
    max-width: 100% !important;
}
.btn-info {
    background-color: #4f789f !important;
    color: #fff !important;
    border-radius: 5px !important;
    border: 1px solid #4f789f !important;
    border-color: #4f789f;
    text-decoration: none !important;
}
.btn-info:hover {
    background-color: #315373 !important;
    color: #fff !important;
    border-color: #315373 !important;
    text-decoration: none !important;
}
#sort-and-results .dropdown-label, #pager-wrapper  {
    font-size: 1em !important;
}
#numresults-wrapper{
    font-size: 1em !important;
}
.facet-pane-header {
    font-size: 1.5em !important;
}
#accesspanel-titlebox h3 {
    font-size: 1.5em !important;
    font-weight: 600 !important;
}
