.site-header {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: stretch;
    color: #2d2d2d;
}

.site-nav ul {
    display: flex;
    flex-flow: row;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.site-header a {
    text-decoration: none;
}

.site-header .site-title {
    font-size: 2rem;
}

.site-header .brand {
    margin: 1rem;
    display: flex;
    justify-content: center;
}

.site-header .brand img {
    max-height: 150px;
}

.site-header .brand a {
    padding-top: 1rem;
}

.site-header .site-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}


.site-header .site-nav nav {
    border: solid 1px #dfdfdf;
    border-radius: 10px;
    overflow: hidden;
    margin: 0.5rem 1rem;
}

.site-header .site-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.site-header .site-nav li a {
    padding: 1rem;
    display: inline-block;
}


.site-search {
    display: flex;
    border: solid 1px #dfdfdf;
    border-radius: 10px;
    overflow: hidden;
    margin: 0.5rem 1rem;
}

.site-search form {
    display: flex;
    flex-flow: row;
}

.site-search input {
    border: none;
    margin: none;
    outline: none;
    padding: 1rem;
    font: inherit;
    letter-spacing: inherit;
    font-weight: inherit;
    display: inline-block;
    max-width: 200px;
}

.site-search form {
}

.site-search input[type=text] {
    border-color: #dfdfdf;
}
.site-search input[type=submit] {
    background-color: #efefef;
    border-color: #dfdfdf;
    color: #666666;
    transition: color 0.3s;
    transition: background-color 0.3s;
}

.site-search input[type=submit]:hover {
    cursor: pointer;
    background-color: #dfdfdf;
    color: #982733;
}

@media (max-width: 800px) {
    .site-nav nav, .site-search, .site-search form, .site-search input[type=text]{
        flex-grow: 1;
        max-width: none;
    }
}
