/*--------------------------------------------------------------------------------
# PixelEnemy Core Media Block
--------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------
TABLE OF CONTENTS:
----------------------------------------------------------------------------------
# General
# Common
--------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------
# General
--------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------
# Common
--------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------
## Common --> Image
--------------------------------------------------------------------------------*/
.img-fluid {
  max-width: 100%;
  height: auto;
}

img.pe-circle {
  border-radius: 50%;
}

/*--------------------------------------------------------------------------------
## Common --> Image Thumbnail
--------------------------------------------------------------------------------*/
.pe-img-thumbnail {
  padding: 0.25rem;
  background-color: #f2f5f5;
  border: 0.125rem solid #e4e4e4;
  display: inline-block;
  border-radius: 0;
  max-width: 100%;
  height: auto;
}

.pe-img-thumbnail.pe-img-thumbnail-sm {
  padding: 0.13rem;
  border-width: 0.0625rem;
}

.pe-img-thumbnail.pe-img-thumbnail-lg {
  padding: 0.5rem;
}

.pe-img-thumbnail.pe-circle {
  border-radius: 50%;
}

.pe-img-thumbnail.pe-circle img {
  border-radius: 50%;
}

a .pe-img-thumbnail,
.pe-thumbnail-hover .pe-img-thumbnail {
  -webkit-transition: all 0.2s ease-in;
  -o-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}

a:hover, a:focus, a:active,
.pe-thumbnail-hover:hover,
.pe-thumbnail-hover:focus,
.pe-thumbnail-hover:active {
  -webkit-transition: all 0.2s ease-out;
  -o-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}

a:hover .pe-img-thumbnail, a:focus .pe-img-thumbnail,
.pe-thumbnail-hover:hover .pe-img-thumbnail,
.pe-thumbnail-hover:focus .pe-img-thumbnail {
  background-color: #ff1b4d;
  border-color: #ff1b4d;
}

a:active .pe-img-thumbnail,
.pe-thumbnail-hover:active .pe-img-thumbnail {
  background-color: #ce002d;
  border-color: #ce002d;
}

.pe-thumbnail-hover {
  display: inline-block;
}

/*--------------------------------------------------------------------------------
## Common --> Image Transparent Thumbnail
--------------------------------------------------------------------------------*/
.pe-img-tp-thumbnail {
  position: relative;
  display: inline-block;
  max-width: 100%;
  height: auto;
}

.pe-img-tp-thumbnail:after {
  position: absolute;
  top: 12.5%;
  left: 12.5%;
  content: '';
  display: block;
  background: #f2f5f5;
  width: 75%;
  height: 75%;
  border: 0.125rem solid #e4e4e4;
  z-index: 1;
}

.pe-img-tp-thumbnail img {
  position: relative;
  z-index: 2;
}

.pe-img-tp-thumbnail.pe-circle:after {
  border-radius: 50%;
}

.pe-img-tp-thumbnail.pe-shadow-sm, .pe-img-tp-thumbnail.pe-shadow, .pe-img-tp-thumbnail.pe-shadow-lg {
  -webkit-box-shadow: none;
  box-shadow: none;
}

.pe-img-tp-thumbnail.pe-shadow-sm:after {
  -webkit-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.15);
}

.pe-img-tp-thumbnail.pe-shadow-lg:after {
  -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
}

.pe-img-tp-thumbnail.pe-shadow:after {
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
}

a .pe-img-tp-thumbnail:after,
.pe-thumbnail-hover .pe-img-tp-thumbnail:after {
  -webkit-transition: all 0.2s ease-in;
  -o-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}

a:hover, a:focus, a:active,
.pe-thumbnail-hover:hover,
.pe-thumbnail-hover:focus,
.pe-thumbnail-hover:active {
  -webkit-transition: all 0.2s ease-out;
  -o-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}

a:hover .pe-img-tp-thumbnail:after, a:focus .pe-img-tp-thumbnail:after,
.pe-thumbnail-hover:hover .pe-img-tp-thumbnail:after,
.pe-thumbnail-hover:focus .pe-img-tp-thumbnail:after {
  background-color: #ff1b4d;
  border-color: #ff1b4d;
}

a:active .pe-img-tp-thumbnail:after,
.pe-thumbnail-hover:active .pe-img-tp-thumbnail:after {
  background-color: #ce002d;
  border-color: #ce002d;
}

/*--------------------------------------------------------------------------------
## Common --> Image Thumbnail Variants
--------------------------------------------------------------------------------*/
a.pe-secondary:hover .pe-img-thumbnail,
a.pe-secondary:hover .pe-img-tp-thumbnail:after, a.pe-secondary:focus .pe-img-thumbnail,
a.pe-secondary:focus .pe-img-tp-thumbnail:after,
.pe-thumbnail-hover.pe-secondary:hover .pe-img-thumbnail,
.pe-thumbnail-hover.pe-secondary:hover .pe-img-tp-thumbnail:after,
.pe-thumbnail-hover.pe-secondary:focus .pe-img-thumbnail,
.pe-thumbnail-hover.pe-secondary:focus .pe-img-tp-thumbnail:after {
  background-color: #007bff;
  border-color: #007bff;
}

a.pe-secondary:active .pe-img-thumbnail,
a.pe-secondary:active .pe-img-tp-thumbnail:after,
.pe-thumbnail-hover.pe-secondary:active .pe-img-thumbnail,
.pe-thumbnail-hover.pe-secondary:active .pe-img-tp-thumbnail:after {
  background-color: #0056b3;
  border-color: #0056b3;
}

/*--------------------------------------------------------------------------------
## Common --> Figure
--------------------------------------------------------------------------------*/
.pe-figure {
  display: inline-block;
}

.pe-figure-img {
  margin-bottom: 0.46875rem;
  line-height: 1;
}

.pe-figure-caption {
  font-size: 90%;
  color: #cccccc;
}

/*--------------------------------------------------------------------------------
## Common --> Media
--------------------------------------------------------------------------------*/
.pe-media {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.pe-media .pe-img-thumbnail,
.pe-media .pe-img-tp-thumbnail,
.pe-media .pe-img-thumbnail-no-pad {
  margin-right: 1rem;
}

.pe-media .pe-img-thumbnail-right-aligned {
  margin-left: 1rem;
}

.pe-media .pe-media {
  margin-top: 1rem;
  margin-bottom: 0;
}

.pe-media h2,
.pe-media h3,
.pe-media h4,
.pe-media h5,
.pe-media h6 {
  margin-bottom: 1rem;
}

.pe-media-body {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

a.pe-media,
a .pe-media {
  color: inherit;
}

a.pe-media:hover,
a .pe-media:hover {
  color: #ff1b4d;
}

a.pe-media:focus,
a .pe-media:focus {
  color: #ce002d;
}

a.pe-media.pe-secondary:hover,
a.pe-secondary .pe-media:hover {
  color: #007bff;
}

a.pe-media.pe-secondary:focus,
a.pe-secondary .pe-media:focus {
  color: #0056b3;
}
