body {
    font: normal small Verdana, Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: small;
    /* padding: 3px; */
    margin: 0px;
}

a {
    color: #2952a3;
}

/* :TODO: Need passthru script for CSS that inserts $_SERVER['HTTP_HOST'] here */
a[href*="//"]:not([href*="shaunc.com"]) {
    background: url(../icons/link-offsite.png) right center no-repeat;
    padding-right: 13px;
}

code, pre {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
    font-size: 95%;
    line-height: 1.45;
    font-weight: normal;
    color: #222222;
    background: #ffffff;
    white-space: pre;
}

code {
    display: inline-block;
}

pre {
    padding: 2px;
}

.article {
    /*font-family: georgia,"times new roman",times,serif;*/
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-weight: 400;
    font-style: normal;
    font-size: 1.0rem;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    padding: 12px;
    border: 2px solid;
    border-color: #f2f2f2;
    color: black;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    background: #fdfdfd;
}

.article-summary {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    padding: 6px;
    border: none;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    background: #fafafa;
    -webkit-box-shadow: 1px 1px 1px 0 rgba(0,0,0,0.3) ;
    box-shadow: 1px 1px 1px 0 rgba(0,0,0,0.3) ;
}

.article-text {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-weight: 400;
    font-style: normal;
    font-size: 1.0rem;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}

.container-main {
    width: 50%;
    margin: auto;
}

.right-box {
    text-align: right;
    width: 100%;
    display: inline-block;
}

.muted-blue {
    font-stretch: condensed;
    color: #2952a3;
}

a.muted-blue:hover {
    color: red;
}

.red {
    color: red;
}

.bigly {
    font-size: 115%;
}

.italic {
    font-style: italic;
    font-stretch: condensed;
}

.center-text {
    text-align: center;
}

.left-text {
    text-align: left;
}

.right-text {
    text-align: right;
}

.smaller {
    font-size: 85%;
}

.nodec {
    text-decoration: none;
}

.blue-right {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    padding: 2px;
    text-align: right;
    width: 100%;
    display: inline-block;
    font-style: italic;
    font-stretch: condensed;
    color: #2952a3;
}

.notification {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    padding: 6px;
    border: 1px solid;
    color: black;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}

.success {
    background: #b4f7b5;
}

.soft-error {
    background: #fbfba3;
}

.hard-error {
    background: #f7f747;
}

.powder {
    background: #ddf3ff;
    border-color: #cbecff;
}

.right-float {
    float: right;
}

.search-box {
    white-space: nowrap;
    border: 1px lightgray solid;
    width: 200px;
    padding: 5px;
    vertical-align: middle;
}

.layout-row:after {
    content: "";
    display: table;
    clear: both;
}

.layout-column {
    float: left;
    box-sizing: border-box;
}

.layout-center {
    width: 50%;
}

.layout-left, .layout-right {
    width: 25%;
    padding: 40px;
    box-sizing: border-box;
}

/*
 * Highlight images where no alt tag is present, nifty suggestion from
 * <https://twitter.com/AllThingsSmitty/status/930617039085035520>
 */
img:not([alt]) {
    border: 5px #c00;
}

/*
 * Tag style from <https://cssglobe.com/pure-css3-post-tags/>
 */
.tags {
    float: right;
    margin: 0;
    padding: 0;
    list-style: none;
}
.tags li, .tags a {
    float: left;
    height: 24px;
    line-height: 24px;
    position: relative;
    font-size: 11px;
}
.tags a {
    margin-left: 20px;
    padding: 0 10px 0 12px;
    background: #8296bf;
    color: #fff;
    text-decoration: none;
    -moz-border-radius-bottomright: 4px;
    -webkit-border-bottom-right-radius: 4px;
    border-bottom-right-radius: 4px;
    -moz-border-radius-topright: 4px;
    -webkit-border-top-right-radius: 4px;
    border-top-right-radius: 4px;
}
.tags a:before {
    content: "";
    float: left;
    position: absolute;
    top: 0;
    left: -12px;
    width: 0;
    height: 0;
    border-color: transparent #8296bf transparent transparent;
    border-style: solid;
    border-width: 12px 12px 12px 0;
}
.tags a:after {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    float: left;
    width: 4px;
    height: 4px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    background: #fff;
    -moz-box-shadow: -1px -1px 2px #004977;
    -webkit-box-shadow: -1px -1px 2px #004977;
    box-shadow: -1px -1px 2px #004977;
}
.tags a:hover {
    background:#555;
}
.tags a:hover:before {
    border-color:transparent #555 transparent transparent;
}
