a {
    color: #222;
}

a:hover {
    color: #666668;
}

body {
    font-size: 1.8em;
    margin: 0 auto;
    padding: 25px 50px;
}

blockquote {
    background: lightgrey;
    font-size: 1.06em;
    border-radius: 10px;
    padding: 20px 50px;
}

tr td p:last-child {
    margin-bottom: 0;
}

.bold {
    font-weight: bold;
}

.italic {
    font-style: italic;
}

.center {
    text-align: center;
}

.entry-body {
    margin-bottom: 45px;
}

.line {
    border-bottom: 1px solid;
    margin-bottom: 25px;
}

.small {
    color: #666668;
    font-size: 0.5em;
    text-transform: uppercase;
}

.smallb {
    font-size: 0.4em;
    text-transform: uppercase;
}

.pag-icon {
    font-size: 1.3em;
}

.paginate-num {
    font-size: 1.2em;
    padding-left: 5px;
    padding-right: 5px;
}

.title-nav-left {
    padding-right: 5px;
}

.title-nav-right {
    padding-left: 5px;
}

.upper {
    text-transform: uppercase;
}

a.time-link {
    cursor: pointer;
    text-decoration: underline;
}

a.noul {
    text-decoration: none;
}

a.noul:hover {
    text-decoration: none;
    color: #222;
}

button {
    color: white;
    background-color: black;
    border-color: black;
}

button:hover, button:focus {
    color: black;
    background-color: white;
}

button#get-link {
    margin-top: 20px;
}

div.cfgs {
    margin: 0 auto;
    width: 60%;
}

div#banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: red;
    color: white;
    font-size: 0.8em;
    margin-bottom: 10px;
    z-index: 2;
}

div#banner a {
    color: white;
}

div#mod-detail {
    margin: 0 auto;
}

div#tags {
    font-size: 0.6em;
}

div#wip {
    color: #666668;
    font-size: 0.8em;
    padding-bottom: 10px;
    margin-top: -20px;
}

a#bottom {
    color: #666668;
    text-decoration: none;
}

a#settings {
    max-width: 100px;
}

p#ip {
    font-size: 4em;
}

div#content {
    margin: 20px;
}

div#copyright {
    font-size: 0.6em;
    color: #666668;
    padding-top: 20px;
}

div#license {
    font-size: 0.6em;
}

div#toc {
    width: 400px;
    margin: 0 auto;
}

iframe#dnt {
    border: 0;
    height: 120px;
    width: 100%;
}

video {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

video#list {
    height: 270px;
    width: 480px;
}

img {
    margin-left: auto;
    margin-right: auto;
}

div#content a img {
    display: block;
}

div#modlist-pagination {
    padding-bottom: 20px;
}

div#mod-list-grid div.listcount {
    border-left: 1px solid #e1e1e1;
    border-right: 1px solid #e1e1e1;
    padding-top: 10px;
}

div#mod-list-grid div.listdesc {
    border-left: 1px solid #e1e1e1;
    padding-left: 10px;
}

div#mod-list-grid div.listtitle {
    border-left: 1px solid #e1e1e1;
    padding-top: 15px;
    padding-left: 10px;
}

/* grid stuff */

div#mod-list-detail-grid {
    display: grid;
    grid-template-columns: 60px 3fr 1fr 3fr;
    grid-auto-rows: minmax(50px, auto);
}

div#mod-list-detail-grid div.modcount {
    border-left: 1px solid #e1e1e1;
    padding-left: 10px;
}

div#mod-list-detail-grid div.modname {
    border-left: 1px solid #e1e1e1;
    padding-left: 10px;
}

div#mod-list-detail-grid div.modauthor {
    border-left: 1px solid #e1e1e1;
    padding-left: 10px;
}

div#mod-list-detail-grid div.moddesc {
    border-left: 1px solid #e1e1e1;
    border-right: 1px solid #e1e1e1;
    padding-left: 10px;
}

div#mod-list-detail-grid div {
    padding-top: 10px;
    border-bottom: 1px solid #e1e1e1;
}

div#mod-list-grid {
    display: grid;
    grid-template-columns: 300px 1fr 100px;
    grid-auto-rows: minmax(50px, auto);
    margin-top: 20px;
    margin-bottom: 20px;
}

div#mod-list-grid div {
    border-bottom: 1px solid #e1e1e1;
}

div#mod-list-grid div:first-child, div#mod-list-grid div:nth-child(2) {
    font-weight: bold;
    text-align: center;
}

div#mod-list-grid div:nth-child(3n) {
    font-weight: bold;
    text-align: center;
}

div.mod-detail-grid {
    display: grid;
    grid-template-columns: 20% 80%;
    grid-auto-rows: minmax(50px, auto);
    margin-top: 20px;
    margin-bottom: 20px;
}

div.mod-detail-grid div {
    border-top: 1px solid #e1e1e1;
    padding-top: 10px;
}

div.mod-detail-grid div:last-child {
    border-bottom: 1px solid #e1e1e1;
}

div.mod-detail-grid div:nth-last-child(2) {
    border-bottom: 1px solid #e1e1e1;
}

div.mod-detail-grid .key {
    border-right: 1px solid #e1e1e1;
    border-left: 1px solid #e1e1e1;
    padding-right: 10px;
    text-align: right;
}

div.mod-detail-grid .val {
    border-right: 1px solid #e1e1e1;
    padding-bottom: 10px;
    padding-left: 10px;
}

div.mod-detail-grid .val p {
    margin-bottom: 15px;
}

div.mod-detail-grid .val p:last-of-type {
    margin-bottom: initial;
}

div.mod-detail-grid .val pre {
    margin-top: 5px;
    margin-bottom: 5px;
}

/* Skeleton overrides */
.button.button-primary, button.button-primary,
input[type="submit"].button-primary,
input[type="reset"].button-primary,
input[type="button"].button-primary {
    background-color: #222;
    border-color: #222;
    font-size: 11px;
    padding: 0;
    width: 180px;
}

.button.button-primary:focus, button.button-primary:focus,
input[type="submit"].button-primary:focus,
input[type="reset"].button-primary:focus,
input[type="button"].button-primary:focus,
.button.button-primary:hover, button.button-primary:hover,
input[type="submit"].button-primary:hover,
input[type="reset"].button-primary:hover,
input[type="button"].button-primary:hover {
    background-color: white;
    border-color: #666668;
    font-size: 11px;
    padding: 0;
    width: 180px;
    color: black;
}

button[disabled], html input[disabled] {
    font-size: 11px;
    padding: 0;
    width: 180px;
}

/* Larger than mobile */
@media (min-width: 400px) { }

/* Larger than phablet */
@media (min-width: 550px) { }

/* Larger than tablet */
@media (min-width: 750px) { }

/* Larger than desktop */
@media (min-width: 1000px) { }

/* Larger than Desktop HD */
@media (min-width: 1200px) { }

@media screen and (max-width: 800px) {
    p#ip {
        font-size: 2em;
    }

    a.step-num {
        padding-left: 2px;
    }

    div#mod-list-detail-grid div.modcount {
        padding-left: 2px;
    }

    div#mod-list-detail-grid {
        grid-template-columns: unset;
        grid-template-columns: 50px 1fr;
    }

    div#mod-list-grid {
        grid-template-columns: unset;
        grid-template-columns: 160px 1fr 50px;
    }

    div#mod-list-grid div:first-child, div#mod-list-grid div:nth-child(2) {
        text-align: initial;
    }

    div#mod-list-grid div.listcount {
        padding-top: 20px;
    }

    div.mod-detail-grid {
        grid-template-columns: unset;
        grid-template-columns: 1 1f;
    }

    div.mod-detail-grid .key, div.mod-detail-grid .val {
        overflow-x: auto;
    }

    div.mod-detail-grid .key {
        border-left: 1px solid #e1e1e1;
        font-weight: bold;
        padding-left: 10px;
        text-align: initial;
    }

    div.mod-detail-grid .val {
        border-left: 1px solid #e1e1e1;
    }

    div.mod-detail-grid .val {
        border-top: initial;
    }

    div.mod-detail-grid div:nth-last-child(2) {
        border-bottom: initial;
    }

    div#mod-list-detail-grid div.modname {
        border-right: 1px solid #e1e1e1;
    }

    .mobile-hide {
        display: none;
    }

    div#suggested-folder-paths {
        margin: 0 4% 0;
    }

    div.cfgs {
        margin: 0 auto;
        width: 95%;
    }

    .button.button-primary, button.button-primary,
    input[type="submit"].button-primary,
    input[type="reset"].button-primary,
    input[type="button"].button-primary  {
        background-color: #222;
        border-color: #222;
        font-size: 13px;
        padding: 0;
        width: 275px;
    }

    .button.button-primary:focus, button.button-primary:focus,
    input[type="submit"].button-primary:focus,
    input[type="reset"].button-primary:focus,
    input[type="button"].button-primary:focus,
    .button.button-primary:hover, button.button-primary:hover,
    input[type="submit"].button-primary:hover,
    input[type="reset"].button-primary:hover,
    input[type="button"].button-primary:hover {
        background-color: white;
        border-color: #666668;
        font-size: 13px;
        padding: 0;
        width: 275px;
        color: black;
    }

    button[disabled], html input[disabled] {
        font-size: 13px;
        padding: 0;
        width: 275px;
    }
}

@media screen and (max-width: 1000px) {
    div#mod-list-detail-grid {
        grid-template-columns: unset;
        grid-template-columns: 50px 1fr;
    }

    div#mod-list-grid {
        grid-template-columns: unset;
        grid-template-columns: 160px 1fr 50px;
    }

    div#mod-list-grid div:first-child, div#mod-list-grid div:nth-child(2) {
        text-align: initial;
    }

    div#mod-list-grid div.listcount {
        padding-top: 20px;
    }

    div.mod-detail-grid {
        grid-template-columns: unset;
        grid-template-columns: 1 1f;
    }

    div.mod-detail-grid .key, div.mod-detail-grid .val {
        overflow-x: auto;
    }

    div.mod-detail-grid .key {
        border-left: 1px solid #e1e1e1;
        font-weight: bold;
        padding-left: 10px;
        text-align: initial;
    }

    div.mod-detail-grid .val {
        border-left: 1px solid #e1e1e1;
    }

    div.mod-detail-grid .val {
        border-top: initial;
    }

    div.mod-detail-grid div:nth-last-child(2) {
        border-bottom: initial;
    }

    div#mod-list-detail-grid div.modname {
        border-right: 1px solid #e1e1e1;
    }

    .mobile-hide {
        display: none;
    }

    body {
        margin: 0 auto;
        padding: 3px;
    }

    div#content {
        margin: 0 auto;
    }

    iframe#dnt {
        height: 240px;
    }

    .step-num {
        padding-left: 10px;
    }
}

@media screen and (max-width: 1120px) {
    div#mod-list-detail-grid {
        grid-template-columns: unset;
        grid-template-columns: 50px 1fr;
    }

    div#mod-list-grid {
        grid-template-columns: unset;
        grid-template-columns: 160px 1fr 50px;
    }

    div#mod-list-grid div:first-child, div#mod-list-grid div:nth-child(2) {
        text-align: initial;
    }

    div#mod-list-grid div.listcount {
        padding-top: 20px;
    }

    div.mod-detail-grid {
        grid-template-columns: unset;
        grid-template-columns: 1 1f;
    }

    div.mod-detail-grid .key, div.mod-detail-grid .val {
        overflow-x: auto;
    }

    div.mod-detail-grid .key {
        border-left: 1px solid #e1e1e1;
        font-weight: bold;
        padding-left: 10px;
        text-align: initial;
    }

    div.mod-detail-grid .val {
        border-left: 1px solid #e1e1e1;
    }

    div.mod-detail-grid .val {
        border-top: initial;
    }

    div.mod-detail-grid div:nth-last-child(2) {
        border-bottom: initial;
    }

    div#mod-list-detail-grid div.modname {
        border-right: 1px solid #e1e1e1;
    }

    .mobile-hide {
        display: none;
    }

    .mobile-banner-pad {
        padding-top: 30px;
    }

    div.cfgs {
        margin: 0 auto;
        width: 70%;
    }
}

@media screen and (max-width: 1000px) {
    .mobile-hide {
        display: none;
    }

    .mobile-banner-pad {
        padding-top: 60px;
    }
}

@media screen and (max-width: 1045px) {
    .mobile-hide {
        display: none;
    }

    .mobile-banner-pad {
        padding-top: 20px;
    }
}

@media screen and (max-width: 1000px) {
    .mobile-hide {
        display: none;
    }

    .mobile-banner-pad {
        padding-top: 60px;
    }
}

@media screen and (max-width: 550px) {
    .mobile-hide {
        display: none;
    }

    .mobile-banner-pad {
        padding-top: 50px;
    }
}

@media screen and (max-width: 530px) {
    .mobile-hide {
        display: none;
    }

    .mobile-banner-pad {
        padding-top: 60px;
    }
}

@media screen and (max-width: 500px) {
    .mobile-hide {
        display: none;
    }

    .mobile-banner-pad {
        padding-top: 85px;
    }

    div.cfgs {
        margin: 0 auto;
        width: 100%;
    }
}
