html, body {
    margin: 0;
    height: 100%;
}
body {
    color: #2a2a2a;
}

#search-nav{
    display: block;
    padding: 1em;
    margin-bottom: 100px;
    margin-left: auto;
    margin-right: auto;
}


#search-btn{
    background: none;
    border: none;
}

.container {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-content: center;
    max-width: 960px;
}

.footer-line{
    background-color: rgba(35,35,35,0.8);
    color: #ffffff;
    font-size: 15px;
    position: fixed;
    width: 100%;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sidebar-sticky{
    height: 100%;
    width: 120px;
    position: fixed;
    top: 0;
    left: 0;
    padding: 15px;
    overflow-x: hidden;
}

.central-box{
    margin-left: 130px;
    margin-top: 80px;
}

.fa-search{
    font-size: 18px;
}

.results-box{
    max-width: 500px;
    padding: 10px;
}

.no-results-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.no-results-box{
    padding: 20px;
    color: #666;
    font-size: 15px;
}

.navbar-sticky{
    position: fixed;
    width: 60%;
    background-color: #fff;
    padding: 10px;
    top: 0;
}

.hero-container{
    margin: 15% 0 1% 0;
}

#cookie-box{
    font-size: 10px;
    background-color: aliceblue;
    position: absolute;
    padding: 7px;
    top: 0;
    text-align: center;
}

#search-form {
    display:flex;
    flex-direction:row;
    flex-basis: 100%;
    border: solid 1px #ddd;
    border-radius: 2px;
}

#search-input {
    flex-grow:2;
    border:none;
    font-size: 18px;
}
.form-control{
    border: none !important;
    box-shadow: none !important;
}
.form-control:disabled{
    background: none;
}
#search-input:focus {
    outline: none;
}

.result-heading{
    color: #213af3;
}

.result-link{
    font-size: 10px;
}

.result-desc{
    font-size: 12px;
}

.privacy-section{
    padding: 20px;
    background-color: #5a5a5a;
    color: #fff;
    border-radius: 2px;
}

.privacy-policy {
    font-size: 12px;
    line-height: 20px;
    color: #666;
    border: 1px solid #eee;
    background: #fff;
    padding: 10px 8px;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    display: none;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 20px;
}
.privacy-policy.visible {
    display: -ms-flexbox;
    display: inline-flex;
    width: 80%;
    margin: 0 auto;
}

.privacy-policy button {
    color: #505058;
    background-color: #fff;
    border: 1px solid #eee;
    cursor: pointer;
    padding: 4px 7px;
    margin-left: 15px;
    text-decoration: none;
    white-space: nowrap;
    display: inline-block;
    text-transform: uppercase;
}
.privacy-policy button,
.privacy-policy button:active,
.privacy-policy button:focus {
    outline: none;
}


.hero {
    width: 100%;
    height: 100%;

    /* Flexbox stuff */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background-image: url('/images/hills_90.png');
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.logo-hero{
    max-width: 700px;
}

.mobile-logo-search-box {
    display: none;
}

ul.articles {
    display: inline-flex;
    padding: 0;
}

.search {
    font-size: 10px;
    font-family: sans-serif;
    color: #8c8c8c;
    margin: 0 0 10px 0;
    line-height: 18px;
    word-wrap: break-word;
    text-transform: uppercase;
}

.articles img {
    width: 100%;
    height: 160px;
}

.articles li {
    box-shadow: 0 2px 4px 0 #bcbcbc;
    border-radius: 4px;
    overflow: hidden;
    width: 230px;
    margin-right: 10px;
    display: flex;
    justify-content: center;
    align-items: stretch;
    background-color: #fff;
}

.articles li a {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.articles .text {
    color: #555;
    padding: 1em;
    font-size: 14px;
    line-height: 1.4em;
}

.articles {
    margin-bottom: 35px;
}

.article-title {
    flex: 1;
}

.text.article-subtitle {
    color: #adadad;
}

.footer-link{
    margin: 10px;
    color: #fff;
    transition: 0.3s;
}
.footer-link:hover{
    color: #999;
}

.copyright-label{
    margin: 10px;
}


.serp-footer-line{
    display: flex;
    justify-content: center;
    align-items: center;
    color: #999;
    font-size: 13px;
    width: 100%;
    padding: 5px;
    position: fixed;
    bottom: 0;
}

.serp-footer-link{
    color: #999;
    margin: 15px;
    transition: 0.3s;
}
.serp-footer-link:hover{
    color: #333;
}


@media only screen and (max-width: 900px) {
    .logo-hero {
        width: 100%;
    }
}

@media only screen and (max-width: 600px) {
    .sidebar-sticky {
        display: none;
    }
    .navbar-sticky {
        position: static;
        display: flex;
        width: 100%;
        padding: 10px 0 10px 0;
    }
    .search-form {
        flex-basis: 100%;
    }
    .central-box {
        margin: 0;
    }
    .container.home {
        width: auto;
        max-width: none !important;
        align-items: center;
    }
    .hero {
        height: auto;
    }
    ul.articles {
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
    }
    .footer-line, .serp-footer-line {
        font-size: 7px;
    }
    .mobile-logo-search-box {
        display: block;
        width: 43px;
        height: 43px;
        margin-left: 5px;
    }
    .privacy-policy.visible {
        display: -ms-flexbox;
        display: flex;
        width: 100%;
    }
}