body {
    max-width: 100vw;
    width: 100vw;
    overflow-x: hidden;
    background: #21232A;
    font-family: Tahoma;
    color: #fff;
}

img {
    -webkit-user-select: none;
    -webkit-user-drag: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
    user-select: none;
    user-drag: none;
}

a {
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
    text-decoration: none;
    font-size: inherit;
    color: #23a;
    border: 0;
}

a:active,
a:hover {
    outline-width: 0;
    color: #722;
    text-decoration: underline;
}

a img {
    vertical-align: middle;
}

#github {
    text-align: center;
}

#content {
    width: 100%;
    text-align: center;
}

#reddit-sub {
    font-style: italic;
    text-align: center;
}

#reddit-getter {
    width: 80%;
    margin: 32px;
}

#header {
    margin: auto;
    margin-top: 32px;
    width: 30%;
    min-width: 240px;
    text-align: center;
}

.inline {
    display: inline-block !important;
    vertical-align: middle;
    max-width: 100px;
}

.row {
    display: block;
    margin: auto;
    width: 80%;
    padding: 0;
    margin-bottom: 32px;
    padding: 0;
    text-align: left;
    background: #fff;
    color: #aaa;
    border-radius: 4px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

.row > .field {
    display: block;
    vertical-align: top;
    margin: 0;
    padding: 0;
    min-width: 128px;
    overflow: hidden;
}

.row-thumbnail {
    left: 0;
    top: 0;
    border-radius: 4px 0 0 4px;
}

.row-body > div {
    margin: 8px;
}

.row-body .title {
    position: relative;
    top: 0;
    font-size: 1.2em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #d11;
}

.spoiler {
    color: #353;
}

.spoiler-link {
    font-weight: bold;
    cursor: pointer;
}

.spoiler-body {
    display: none;
    max-width: 100%;
    word-wrap: break-word;
}

.spoiler-body img,
.spoiler-body video {
    max-width: 100%;
}

input[type="text"],
input[type="date"],
input[type="datetime"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="time"],
input[type="url"],
input[type="password"],
textarea,
select 
{
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 100%;
    display: block;
    outline: none;
    border: none;
    height: 25px;
    line-height: 25px;
    font-size: 1.2em;
    padding: 8px;
    font-family: Georgia, "Times New Roman", Times, serif;
}

input[type="text"]:focus,
input[type="date"]:focus,
input[type="datetime"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus 
{
}

input[type="submit"],
input[type="button"] {
    background: #2471FF;
    border: none;
    padding: 10px 20px 10px 20px;
    border-bottom: 3px solid #5994FF;
    border-radius: 3px;
    font-weight: bold;
    color: #D2E2FF;
}

input[type="submit"]:hover,
input[type="button"]:hover {
    background: #6B9FFF;
    color:#fff;
    cursor: pointer;
}


/* Loader */
#loader {
    display: none;
    margin: auto;
    margin-bottom: 32px;
    border: 12px solid #F3F3F3;
    border-top: 12px solid #3498DB;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* Resolutions */
@media all and (min-width : 960px)
{
    input[type="submit"],
    input[type="button"] {
        font-size: 1.3em;
    }
}

@media screen and (min-width: 1400px)
{
    input[type="submit"],
    input[type="button"] {
        font-size: 1.6em;
    }

    #loader {
        border: 16px solid #F3F3F3;
        border-top: 16px solid #3498DB;
        width: 80px;
        height: 80px;
    }
}

@media screen and (max-width: 960px)
{
    input[type="submit"],
    input[type="button"] {
        font-size: 1em;
    }

    #loader {
        border: 10px solid #F3F3F3;
        border-top: 10px solid #3498DB;
        width: 48px;
        height: 48px;
    }
}