/*!
 * Theme Name: SemPress Child
 * Theme URI: https://github.com/pfefferle/SemPress
 * Author: Beko Pharm
 * Author URI: https://beko.famkos.net
 * Description: SemPress is an extremely lightweight, responsive theme designed to show off your posts, quotes, and images. SemPress supports multiple post formats, widgets, and the option to upload a custom header or background image. The theme is based on HTML5 mixed with microformats, microformats v2 and microdata (Schema.org).
 * Version: 0.3.4
 * License: GNU General Public License Version 3
 * License URI: http://www.gnu.org/licenses/gpl.html
 * Tags: custom-menu, custom-colors, custom-header, custom-background, custom-logo, sticky-post, microformats, rtl-language-support, translation-ready, full-width-template, post-formats, threaded-comments, right-sidebar, theme-options, two-columns, one-column, editor-style, featured-images, blog, news
 * Text Domain: sempress
 * Template: sempress
 * Tested up to: 5.5
 * Requires PHP: 5.6
 *
 * This theme is based on the toolbox theme (http://wordpress.org/themes/toolbox)
 * and, like WordPress, licensed under the GPL.
 *
 * Use it to make something cool, have fun, and share what you've learned with others.
 */

a,
.entry-title a,
.entry-summary a,
.entry-content a {
  color: #f26e3f;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

.hcard-display {
  text-align: right;
  font-size: 1em;
}

.hcard-display .p-name:hover {
  text-decoration: none !important;
}

.hcard-display .p-name {
  color: #555555 !important;
  text-decoration: none !important;
  font-weight: bold;
  font-size: 15px;
  margin-top: 0px;
}

.hcard-display .p-note,
.h-adr {
  line-height: 1.4;
  font-style: italic;
  color: #929292;
}

.hcard-display .p-locality::after {
  content: ' /';
}

.hcard-display .h-adr {
  margin-top: -10px;
  margin-bottom: 10px;
}

.widget {
  text-align: right;
  border-bottom: 0;
  box-shadow: none;
  margin: 0 0 2em 0;
  padding: 0;
}

.kind_post_widget {
  /* @see https://github.com/dshanske/indieweb-post-kinds/issues/289 */
  margin: 2em 0 2em 0;
}

.widget h3 {
  font-weight: bold;
}

.entry-meta>.sep,
.entry-meta>address {
  display: none;
  visibility: hidden;
}

article.format-video img.u-featured {
  visibility: hidden;
  display: none;
}

article>.entry-media>img {
  margin: 0 0 10px 0 !important;
  min-width: 100%;
}

article>.e-content {
  margin-bottom: 0;
}


span.syn-text {
  line-height: 20px;
}

span.syndication-link-icon {
  min-height: 20px;
  min-width: 20px;
}

span.syndication-link-icon svg {
  max-height: 20px;
  max-width: 20px;
}

a.syn-link:after {
  content: none;
}

.tag-links,
.comments-link {
  clear: both;
  display: block;
  margin: 9px 0px 0px 0px;
}

.tag-links a:before {
  content: '#';
}

.comments-link a:before {
  content: '\1f5ea  ';
  padding-right:2px;

}

.tag-links a,
.cat-links a,
.comments-link a {
  text-transform: lowercase;
  font-style: italic;
  font-weight: bold;
}

.cat-links a:before {
  content: '/c/';
}

.fp-excerpt,
.fp-col,
.widget_flex-posts-list h2 {
  text-align: left;
}

article.comment {
  border-top: 0 !important;
  box-shadow: none !important;
  padding: 15px 0px;
}

article.comment a {
  text-decoration: none;
}

article.comment time {
  color: gray;
}

article.comment img.avatar {
  float: left;
  margin: -5px 10px 0px 0px;
  background-image: url('/wp-content/plugins/webmention/assets/img/mm.jpg');
  background-size: contain;
}

article.comment .comment-content {
  background: whitesmoke;
  border-radius: 25px;
  border: 1px dashed grey;
  padding: 10px;
  margin: 0px 20px 0px 40px;
}

article.comment .comment-content p {
  margin: 10px;
}

article.comment .comment-content br {
  display: none;
}

article.comment .comment-content p>a:empty {
  display: none;
}

li.comment .comment-content::before {
  font-family: 'Genericons';
  content: '\f300';
  display: block;
  font-size: 35px;
  position: absolute;
  top: 59px;
  left: 30px;
  transform: scale(1, -1);
}

li.pingback .comment-content::before {
  font-family: 'Genericons';
  content: '\f442';
  display: block;
  font-size: 35px;
  position: absolute;
  top: 35px;
  left: 3px;
}

li.pingback footer {
  text-align: right;
}

ul.reaction-list li.comment {
  margin: 2px 0px;
}

ul.reaction-list li.comment+li.comment {
  margin-left: 2px;
}

ul.reaction-list {
  position: relative;
}

ul.reaction-list:empty {
  display: none;
}

ul.reaction-list img.avatar {
  background-image: url('/wp-content/plugins/webmention/assets/img/mm.jpg');
  background-size: contain;
  width: 32px;
  height: 32px;
  margin-right: 10px;
}

ul.reaction-like::before {
  font-family: 'Genericons';
  content: '\f461';
  display: block;
  font-size: 28px;
  position: absolute;
  top: 3px;
  left: 10px;
}

ul.reaction-repost::before {
  font-family: 'Genericons';
  content: '\f420';
  display: block;
  font-size: 28px;
  position: absolute;
  top: 3px;
  left: 10px;
}

ul.reaction-favorite::before {
  font-family: 'Genericons';
  content: '\f408';
  display: block;
  font-size: 28px;
  position: absolute;
  top: 3px;
  left: 10px;
}

ul.reaction-bookmark::before {
  font-family: 'Genericons';
  content: '\1F516';
  display: block;
  font-size: 28px;
  position: absolute;
  top: 3px;
  left: 10px;
}

ul.reaction-mention::before {
  font-family: 'Genericons';
  content: '\1F517';
  display: block;
  font-size: 28px;
  position: absolute;
  top: 3px;
  left: 10px;
}

ul.reaction-list .comment a.u-url:empty::before {
  content: '\1F517';
}

ul.reaction-list .comment a.u-url:empty {
  color: red;
  position: absolute;
  bottom: -9px;
  right: 0px;
}

.widget_search, form.search-form {
  margin: 0;
}

input[type="search"], input[type="url"] {
    margin: 0;
    width: 100%;
    height: initial;
}

input.original-of-submit, input.search-submit {
  width: 100%;
  display: block;
  visibility: visible;
}

#branding > div.logo {
  visibility: hidden;
  display: none;
}

@media only screen and (min-width: 959px) {
  #main {
    position: relative;
  }

  #main .widget-area {
    float: none;
  }

  #sidebar {
    float: none;
  }

  #site-description {
    margin:0;
  }

  #sidebar {
    position: unset;
    padding-top:220px;
  }

  #primary {
    float: none;
    position: absolute;
    top: -70px;
    left: 250px;
    width: 700px;
  }

  #branding {
    float: left;
    text-align: right;
    display: block;
    width: 220px;
    height: 50px;
    margin-top: 20px;
  }

  #access {
    border-bottom: 0;
    box-shadow: none;
    margin: 0 0 2em 0;
    padding: 0;
    float: unset;
  }

  #site-title {
    margin-left:13px;
    text-align: center;
  }

  #site-image {
    width: 220px;
    height: 220px;
    margin-left:12px;
    border:0!important;
    box-shadow: none!important;
    border-radius: 0!important;
    /*
    margin-bottom: 10px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    max-width: 100px;
    min-width: 100px;
    height: auto;
    float: right;
    margin-right: -8px;
    */
  }

  #secondary .hcard-header, #secondary .hcard-properties {
    /* site-image doubles doubles as author name here but since it's huge I only use this on wide screen. also leave microformats intact. */
    display: none;
    visibility: hidden;
  }

  #hcard_widget img {
    max-width: 100px;
    min-width: 100px;
    margin-bottom: 8px;
  }

  #content {
    margin: 0px 0px 0px 0px;
  }

  #content .entry-reaction {
    padding-top:5px;
    border-bottom:0px;
  }

  #content .entry-reaction a {
    color: #f26e3f;
  }

  #content .entry-reaction header a:after {
    content: ' \1f517';
  }

  #content .entry-reaction header {
    margin-right: 32px;
  }

  #content .entry-reaction .svg-icon  {
    left: initial;
    right: 36px;
    max-width: 32px;
    max-height: 32px;
  }

  #content .post,
  #content .page {
    margin-bottom: 30px;
  }

  #nav-below h1,
  #nav-below .nav-previous,
  #nav-below .nav-next {
    margin: 10px 0px;
  }

  .format-aside:before,
  .format-video:before,
  .format-audio:before,
  .format-image:before,
  .format-gallery:before,
  .format-link:before,
  .format-quote:before,
  .format-chat:before,
  .error404:before,
  .sticky:before,
  .format-status .entry-meta .avatar {
    left: -20px;
  }

  .format-aside:before {
    content: '';
    width: 40px;
    height: 40px;
    background: url("/wp-content/uploads/2022/07/beko_logo_square_transparent.png") center / contain no-repeat;
    background-clip: border-box;
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.2);
    border: 1px solid #ccc;
    border-radius: 50%;
    left: -20px;
  }

  #colophon {
    padding: 10px 0px;
  }

  #site-title,
  .custom-header #site-title {
    font-size: 1em;
    font-weight: bold;
    letter-spacing: normal;
  }

  section .response {
    background: #fff6a5;
    background: linear-gradient(to bottom, #fff6a5 0%, #ffeb57 100%);
    margin: 10px 0px 10px 10px;
    padding: 5px 15px 5px 10px;
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.2);
    border: 1px solid #ccc;
    border-radius: 3px;
  }

  section .response blockquote::before {
    top: 20px;
    left: -24px;
    font-size: 80px;
  }

  section .response span.h-card {
    display: block;
    margin-top: 10px;
    margin-bottom: -10px;
  }

  section .response span.h-card,
  section .response span.h-card+* {
    padding-left: 40px;
  }

  section .response a.h-card {
    display: block;
    margin-top: 10px;
    margin-bottom: -10px;
    min-height: 38px;
  }

  section .response a.h-card>img {
    border-radius: 50%;
    float: left;
    margin-right: 0.5rem;
    margin-top: -2px;
  }

  #tertiary .widget li {
    font-size: 0.8em;
  }

  #tertiary .widget a {
    font-size: 14px;
  }
}

#tertiary .widget span.svg-icon svg {
  max-height: 16px;
  width: 16px;
  margin-right: 4px;
}

/* 959 */
/* 1259 => 300 px*/
@media only screen and (min-width: 1259px) {
  #page {
    width: 1250px;
  }

  #primary {
    width: 730px;
  }

  #tertiary.widget-area {
    position: absolute;
    right: 0px;
    top: -50px;
    width: 250px;
  }

  #tertiary .widget {
    text-align: left;
  }

  #tertiary .kind_post_widget li {
    text-align: right;
  }

  #tertiary .kind_post_widget a {
    text-align: left;
  }

  #tertiary .kind_post_widget span.svg-icon {
    float: left;
    margin: 0;
  }
}

@media only screen and (max-width: 959px) {
  #site-image {
    visibility: hidden;
    display: none;
  }
}

#nav-above {
  display: none !important;
  visibility: hidden;
}

#site-title a {
  color: #333333;
}

#site-description {
  line-height: 1.4;
  font-style: italic;
  color: #929292;
  font-size: 0.9em;
}

.shariff .ShariffHeadline {
  font-weight: bold;
  font-size: 15px;
  margin: 0 0 1em 0;
  text-align: right;
}

.relme ul li svg {
  height: 22px;
  width: 22px;
}

#fediverse-source {
    width: 100%;
}