.entry-content img {
  margin: 0 0 1.5em 0;
}

div.alignleft,
img.alignleft {
  display: inline-block;
  float: left;
  margin-right: 1em;
  margin-bottom: 1em;
}
div.alignright,
img.alignright {
  display: inline-block;
  float: right;
  margin-left: 1em;
  margin-top: 1em;
}
div.aligncenter,
img.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.wp-caption {
  text-align: center;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
  font-size: 12px;
}
.wp-caption img {
  border: 0 none;
  margin: 0;
  padding: 0;
}
.wp-caption p.wp-caption-text {
  margin: 0;
  font-style: italic;
  opacity: 0.5;
  text-align: center;
  padding-bottom: 0 !important;
}
.wp-smiley {
  max-height: 1em;
  margin: 0 !important;
}
.gallery dl {
  margin: 0;
  border: 0;
  padding: 0;
}

blockquote.left {
  float: left;
  margin-left: 0;
  margin-right: 20px;
  text-align: right;
  width: 33%;
}
blockquote.right {
  float: right;
  margin-left: 20px;
  margin-right: 0;
  text-align: left;
  width: 33%;
}

.gallery-caption {
  font-size: 12px;
}

html {
  height: 100%;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
}
blockquote,
q {
  quotes: "" "";
}
a img {
  border: none;
}

p {
  padding-top: 0.1em;
  padding-bottom: 0.1em;
}

em {
  font-style: italic;
}

.size-auto,
.size-full,
.size-large,
.size-medium,
.size-thumbnail {
  max-width: 100%;
  height: auto;
}

.center {
  text-align: center;
}

#page_content_wrapper p,
.page_content_wrapper p {
  padding-top: 0.7em;
  padding-bottom: 0.7em;
}

#page_content_wrapper p:empty,
.page_content_wrapper p:empty {
  padding: 0 !important;
  margin: 0 !important;
}

#footer p {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}

html,
body {
  min-height: 100%;
}

img,
a img {
  image-rendering: optimizeQuality;
}

em {
  font-style: italic;
}

::selection {
  background: #efc337;
  color: #fff;
}

table {
  border-spacing: 0;
}

.sticky {
  background: #ffffe0;
  padding: 30px 20px 20px 20px;
  border: 1px solid #e6db55 !important;
  box-sizing: border-box;
}

.marginright {
  margin-right: 7px;
}

img.alignright {
  float: right;
  margin: 0 0 1em 2em;
}

img.alignleft {
  float: left;
  margin: 0 2em 1em 0;
}

img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

a img.alignright {
  float: right;
  margin: 0 0 1em 2em;
}

a img.alignleft {
  float: left;
  margin: 0 2em 1em 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.sticky,
.bypostauthor {
  font-weight: bold;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000; /* Above WP toolbar. */
}

.mb-5 {
  margin-bottom: 40px;
}

.images_wrapper-item {
  position: relative;
}

.image_comment_checkbox {
  position: absolute;
  z-index: 5000;
  top: 10px;
  right: 10px;
  padding: 5px;
}
.image_comment_checkbox input {
  width: 20px;
  height: 20px;
}

#max_images {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 25px;
}

#max_images .img-container {
  width: 33%;
}

@media screen and (max-width: 640px) {
  #max_images {
    flex-direction: column;
  }
  #max_images .img-container {
    width: 90%;
    margin: 10px auto;
  }
}

#max_images img {
  width: 100%;
  height: 300px !important;
  object-fit: cover;
  object-position: center;
}
#max_images img.selected {
  border: 6px solid #fff;
}
#max_images .form-submit {
  display: none;
}
.max_images_selection_button,
.max_images_selection,
.thanks,
.thanks h2 {
  color: #fff;
  text-align: center;
  font-weight: bold;
  margin-bottom: 25px;
}
.max_images_selection.hidden,
.max_images_selection_button.hidden,
.thanks.hidden {
  display: none;
}
.max_images_selection_button input {
  display: block;
  margin: 0 auto 20px;
}
.fancybox-slide--current .form {
  display: none;
}
.comment-form-author,
.comment-form-email,
.comment-form-url,
.comment-notes,
.comment-form-cookies-consent {
	display: none;
}
