html * {
    font-family: 'Roboto', sans-serif;
}

body {
    padding: 8px;
    background-color: #f2f2f2;
}

.search-navbar {
    color: #FFFFFF;
    border-bottom: 1px solid #f2f2f2;
    margin-bottom: 7px;
}

#logo {
    margin-top: -10px;
    height: 100%;
    color: black;
    font-size: 12px;
}

.logo {
    width: 100%;
    height: 64px;
    padding: 16px;
    cursor: pointer;
    text-align: center;
}

.codepen {
    display: none;
}

.search-panel {
    background-color: #FFFFFF;
    text-align: left;
    font-size: 15px;
    box-shadow: 0 0 1px 0 rgba(50, 50, 50, 0.3);
}

.search-input {
    color: black;
    border: none;
    outline: none;
    font-size: 15px;
    height: 38px;
    width: 100%;
}

.search-button {
    background-color: #3F86F1;
    border-radius: 0;
    color: #FFFFFF;
    border: none;
    outline: none;
    width: 38px;
    height: 38px;
    padding: 10px 6px;
    display: block;
    position: absolute;
    font-size: 16px;
    right: 0;
    top: 0;
}

.search-modes {
    background-color: #f8f8f8;
    margin: 0 -15px;
    box-shadow: 0 1px 1px 0 rgba(50, 50, 50, 0.3);
}

.search-mode {
    color: #878787;
    display: inline-block;
    font-size: 14px;
    padding: 8px 15px;
    border: none;
    border-bottom: 2px solid transparent;
    background-color: transparent;
    outline: none;
}

.search-mode:hover {
    color: black;
}

.search-mode-active {
    color: #3F86F1;
    background-color: transparent;
    text-decoration: none;
    border-color: #3F86F1;
    font-weight: bold;
    outline: none;
}

.search-mode-active:hover {
    color: #3F86F1;
}

.search-result {
    margin: 0 -15px;
}

#last-update {
    color: #808080;
}

.ellipsis {
    text-overflow: ellipsis;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
}

.search-result .item {
    margin-top: 10px;
    background-color: white;
    box-shadow: 0 1px 1px 0 rgba(50, 50, 50, 0.3);
    padding-bottom: 10px;
}

.tweet-title {
    padding: 11px 16px 0;
}

.tweet-title, a, a:hover {
    font-size: 16px;
    color: #1A0DAB;
}

.tweet-title a:visited {
    color: #660099;
}

.tweet-url {
    color: #036920;
    padding: 0 16px 10px;
    border-bottom: 1px solid #ebebeb;
}

.tweet-text {
    color: #545454;
    padding: 11px 16px 0px;
    white-space: normal;
    height: 70px;
    overflow: hidden;
}

.step-inactive {
    visibility: hidden;
}

.pseudo-link {
    cursor: pointer;
    color: blue;
    text-decoration: underline;
}

.pseudo-link:hover {
    text-decoration: none;
}

#pagination {
    text-align: center;
    margin: 0 -20px;
}

@media (min-width: 992px) {
    body {
        padding: 0;
        background-color: white;
    }

    .container {
        width: 100%;
        margin: 0;
    }

    .search-navbar {
        padding-top: 20px;
        padding-left: 40px;
        background-color: #fafafa;
    }

    #logo {
        text-align: right;
        padding-right: 20px;
    }

    .logo {
        text-align: left;
        width: 180px;
        height: 64px;
        padding: 10px 0;
    }

    #announcement {
        text-align: center;
    }

    .codepen {
        width: 125px;
        height: 40px;
        padding: 10px 0;
        display: inline;
        float: right;
        position: relative;
        margin-top: -20px;
    }

    .search-panel {
        margin-top: 5px;
        border-radius: 3px 3px 3px 3px;
        box-shadow: 0 1px 3px 1px rgba(50, 50, 50, 0.3);
    }

    .search-input {
        height: 48px;
    }

    .search-button {
        background-color: #FFFFFF;
        color: #3F86F1;
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .search-modes {
        background-color: transparent;
        margin: 0;
        box-shadow: none;
        margin-left: 165px;
    }

    .search-mode {
        box-shadow: none;
        border-bottom-width: 3px;
        padding: 15px 20px;
    }

    .search-result {
        margin-left: 190px;
    }

    .search-result .item {
        box-shadow: none;
    }

    .tweet-title, .tweet-text, .tweet-url {
        padding: 0;
        border: none;
    }

    .tweet-text {
        height: 40px;
    }

    #last-update {
        margin-top: 10px;
    }

    #pagination {
        margin: 0;
    }
}