/*
Theme Name: Fredsted Theme 2.0
Theme URI: http://simonfredsted.com
Description: simonfredsted.com theme
Version: 2.0
Author: Simon Fredsted
Author URI: http://simonfredsted.com
Tags: white
*/
/*************************
 * Globals
 *************************/
body {
    max-width: 650px;
    margin: 0 auto;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, arial, ui-sans-serif;
    font-size: 14px;
    color: #222;
    background-color: #FAFAFA;
}

.translation {
    color: red;
}

#top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #232526 10%, #414345 90%) #1D323F;
    z-index: -999;
    height: 110px;
}

::-moz-selection {
    background: orange;
    color: #fff;
    text-shadow: none;
}

::selection {
    background: orange;
    color: #fff;
    text-shadow: none;
}

@media only screen and (max-device-width: 480px) {
    body {
        font-size: 110%;
    }

    img {
        width: 100%;
    }
}

a {
    color: #045ee7;
    position: relative;
}

a:visited {
    color: #045ee7;
}

a:active {
    top: 1px;
}

/*************************
 * Header
 *************************/
#header {
    height: 90px;
    padding-top: 35px;
    width: 100%;
}

#header h1 {
    margin: 0;
}

#header h1 a, #header h1 a:visited {
    margin: 0;
    display: inline-block;
    float: left;
    color: #e5e5e5;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: -.04em;
    font-size: 35px;
    z-index: 4999;
}

#sidebar ul li a, #sidebar ul li a:visited {
    color: #c4c4c4;
}

#sidebar ul li a:hover {
    background: #4c4c4c;
    color: #e5e5e5;
}

#header h1 a:hover {
    color: #f8f8f8;
}

.description {
    float: left;
}

#sidebar {
    float: right;
    margin-top: 11px;
}

#sidebar ul, #sidebar li, #sidebar a {
    list-style: none;
    float: left;
    margin: 0;
    padding: 0;
    text-decoration: none;
    font-size: 12px;
    font-weight: 200;
    border-radius: 2px;
}

#sidebar a {
    padding: 5px 7px;
    margin-left: -8px;
}

#sidebar li {
    margin-left: 20px;
}

#sidebar ul.sub-menu li {
    display: none;
}

#sidebar ul.sub-menu li:hover > ul {
    display: block;
}

#spacer {
    background: url(spacer.png);
    width: 600px;
    height: 147px;
    display: block;
    clear: both;
}

#archives-3 {
    display: none;
}

#sidebar h2 {
    display: none;
}

hr {
    border: 0;
    border-top: 1px solid #e8e8e8;
    height: 0;
    margin: 50px 0;
}

/*************************
 * Content & Articles
 *************************/
#content {
    margin-bottom: 200px;
}

.postdata {
    opacity: 0.4;
}

.postdata, .commentmetadata {
    font-variant: small-caps;
    text-transform: uppercase;
    margin-bottom: 0;
    font-size: 14px;
    display: inline-block;
}

img.sbubble {
    width: 9px;
    height: 9px;
}

#content h2 {
    margin-top: 5px;
    margin-bottom: 25px;
    font-size: 27px;
}

#content h2 a {
    color: #333;
    text-decoration: none;
}

#content.index h2 a {
    text-decoration: underline;
    text-decoration-color: #CCC;
}

#content h2 a:hover {
    color: #666;
}

.entry, .commentlist p {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #111;
    font-family: "NonBreakingSpaceOverride", "Georgia", Garamond, "Times New Roman", serif;
    font-weight: 400;
    font-size: 17px;
    text-rendering: optimizeLegibility;
    line-height: 1.7em;
}

/* Smartphones (portrait) ----------- */
@media only screen and (max-width: 320px) {
    .entry, .commentlist p {
        font-size: 25px;
    }
}

.excerptlink {
    float: left;
    display: inline-block;
}

.entry p.postmetadata {
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, arial;
}

.postcomments {
    padding-right: 10px;
}

#content h3 {
    font-size: 23px;
    margin-top: 40px;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, arial;
    font-weight: 800;
}

#content.index .post {
    margin-bottom: 60px;
}

.post li {
    margin-top: .5em;
    margin-bottom: .5em;
    padding-left: .5em;
}

/*.post ul li:before {
	content: "–";
	margin-right: 15px;
	margin-left: -23px;
}*/
.entry .postmetadata {
    padding-top: 50px;
    font-size: 10px;
}

.postmetadata {
    color: #666;
}

.postmetadata a {
    color: #444;
}

.entry img {
    padding: 5px;
    border: 0;
}

.entry img.aligncenter {
    text-align: center !important;
    display: block;
    margin: 0 auto;
}

.entry blockquote {
    border-left: 5px solid #EEE;
    padding-left: 10px;
}

table td, table td * {
    vertical-align: top;
}

#content .navigation {
    font-size: 13px;
    margin: 10px 0;
    padding: 10px 0;
    display: inline-block;
    width: 100%;
}

#content .navigation div {
    overflow: hidden;
    max-width: 50%;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#page #content .navigation div.alignleft:before {
    content: '←';
}

#page #content .navigation div.alignright:after {
    content: '→';
}

#content .navigation div.alignleft:before {
    margin-right: 2px;
}

#content .navigation div.alignright:after {
    margin-left: 2px;
}

#content .navigation a {
    color: #444;
}

.hidden {
    display: none;
}

.alignleft {
    float: left;
}

.aligncenter {
    margin: 0 auto;
}

div.wp-caption.aligncenter {
    margin: 10px auto;
}

img.alignleft {
    padding: 0 10px 10px 0;
}

.alignright {
    float: right;
}

h3#comments {
    margin-top: 60px;
}

ol.commentlist {
    list-style-type: none;
    padding: 0;
}

ol.commentlist img.avatar {
    float: left;
    padding-right: 10px;
}

ol.commentlist li {
    padding: 20px 20px 15px 20px;
    border-bottom: 3px solid #CCC;
}

ol.commentlist li.alt {
    background: #f9f9f9;
}

ol.commentlist cite a, ol.commentlist cite a:visited {
    color: #222;
}

ol.commentlist .commentmetadata a, ol.commentlist .commentmetadata a:visited {
    color: #666;
    text-decoration: none;
    line-height: 20px;
}

#footer {
    margin: 100px 0;
    font-weight: 200;
    font-size: 80%;
    color: #999;
}

#footer a {
    color: #999;
}

span.muted-text {
    color: #CCC;
}

span.code-text, pre, span.console-command-text, span.shortcut-key-text {
    overflow-x: auto;
    overflow-y: hidden;
    font-family: "SF Mono", "SFMono-Regular", "Anonymous Pro", "Menlo", "Monaco", "Courier New", sans;
    font-size: 0.9rem;
    padding: 2px 4px;
}

span.code-text, span.console-command-text {
    word-break: break-all;
    background-color: #F1f1f1;
}

span.console-command-text::before {
    content: '$ ';
    color: #8b8b8b;
}

span.shortcut-key-text {
    background-color: #F1f1f1;
    border: 1px solid #d4d4d4;
    box-shadow: 2px 2px #dedede;
    padding: 2px 4px;
    font-size: 0.7em;
    margin-left: 3px;
    margin-right: 5px;
}

div.wp-caption {
    background-color: #f2f2f2;
    padding: 3px;
    margin-left: 10px;
    margin-bottom: 10px;
}

.wp-caption.alignleft {
    margin-left: 0;
    margin-right: 10px;
}

.wp-caption-text, .entry p.wp-caption-text {
    margin: 0 5px;
    font-size: 12px;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, arial;
}

.wp-caption.alignright .wp-caption-text {
    text-align: right;
}

.wp-caption.alignleft .wp-caption-text {
    text-align: left;
}

ol.commentlist li {
    color: #333;
}

ol.commentlist li cite {
    margin-top: -3px;
    font-weight: 600;
    font-style: normal;
}

ol.commentlist li cite a.url {
    text-decoration: none;
}

ol.commentlist li cite a.url:hover {
    color: #666;
}

#comment {
    width: 100%;
    height: 130px;
    font: inherit;
    font-size: 14px;
}

#comment, input[type="text"], input[type="email"], textarea {
    border: 1px solid #CCC;
    padding: 5px;
    margin: 2px;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, arial;
    font-size: 14px;
}

textarea {
    width: 100%;
}

form label {
    font-size: 14px;
}

form input[type="button"], form input[type="submit"], .indexnavnavigation a {
    border: none;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: #ebebeb;
    cursor: pointer;
    padding: 10px 35px;
    display: inline-block;
    outline: none;
    position: relative;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    transition: all .3s;
    text-decoration: none;
}

form input[type="button"]:after, form input[type="submit"]:after {
    content: '';
    position: absolute;
    z-index: -1;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    transition: all .3s;
}

.gist {
}

.gist-file
.gist-data {
    max-height: 500px;
}

abbr {
    border-bottom: 1px dashed #aaa;
    cursor: help;
}

/*************************
 * Contact form
 *************************/
div.wpcf7-response-output {
    margin: 0;
}

div.wpcf7-mail-sent-ok {
    border: 2px solid #398f14;
    background-color: #398f14;
    color: #fff;
}


/* Post Specific (ID 1622) 

#post-1622 .wp-image-1633:first-of-type {
  display:none;
}

*/


/*************************
 * Recaptcha badge
 *************************/

.grecaptcha-badge {
    visibility: hidden !important;
}

/*************************
 * Simple Lightbox Fixes
 *************************/

.gallery.gallery-columns-3 img.attachment-thumbnail.size-thumbnail {
	border: 0 !important;
    height: 200px; width: 200px;
}

.gallery dl.gallery-item {
    margin: 0;
}

.gallery.gallery-columns-3 dd.wp-caption-text.gallery-caption {
    display: none;
}

#slb_viewer_wrap .slb_theme_slb_default .slb_data_title, #slb_viewer_wrap .slb_theme_slb_default .slb_group_status {
    font-family: "NonBreakingSpaceOverride", "Georgia", Garamond, "Times New Roman", serif !important;
}

#slb_viewer_wrap .slb_theme_slb_default .slb_container {
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}

#slb_viewer_wrap .slb_theme_slb_baseline * {
    line-height: auto !important;
}

#slb_viewer_wrap .slb_data_content {
    padding: 5px !important;
    padding-top: 10px !important;
    padding-left: 10px !important;
    background: #000 !important;
    color: #CCC !important;
}

#slb_viewer_wrap .slb_theme_slb_default .slb_group_status {
    float: right !important;
    padding-top: 4px !important;
}