/*--------------------------------------------------------------------------------
# PixelEnemy Core Titles Block
--------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------
TABLE OF CONTENTS:
----------------------------------------------------------------------------------
# General
# Title Boxes
# Title Border
# Title Separators
--------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------
# General
--------------------------------------------------------------------------------*/
.pe-title-box, .pe-title-box.pe-tb-tilted .pe-tb-title-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.pe-title-box.pe-tb-icon-bg .pe-tb-icon-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

/*--------------------------------------------------------------------------------
# Title Boxes
--------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------
## Title Boxes -> Base
--------------------------------------------------------------------------------*/
.pe-title-box {
  padding: 10px;
  min-height: 60px;
  margin-bottom: 2rem;
}

.pe-title-box:before, .pe-title-box:after {
  content: ' ';
  display: table;
}

.pe-title-box:after {
  clear: both;
}

.pe-title-box h1,
.pe-title-box h2,
.pe-title-box h3,
.pe-title-box h4,
.pe-title-box h5,
.pe-title-box h6,
.pe-title-box .h1,
.pe-title-box .h2,
.pe-title-box .h3,
.pe-title-box .h4,
.pe-title-box .h5,
.pe-title-box .h6 {
  margin: 0;
}

.pe-title-box .pe-tb-title-wrap {
  margin-left: 15px;
}

.pe-title-box .pe-tb-icon-wrap {
  line-height: 1;
}

.pe-title-box .pe-tb-icon-wrap i {
  font-size: 36px;
  color: #ff1b4d;
}

.pe-title-box.pe-tb-centered {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.pe-shadow-sm {
  -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-shadow {
  -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);
}

.pe-shadow-lg {
  -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-shadow-none {
  -webkit-box-shadow: none;
  box-shadow: none;
}

/*--------------------------------------------------------------------------------
## Title Boxes -> Icon BG
--------------------------------------------------------------------------------*/
.pe-title-box.pe-tb-icon-bg .pe-tb-icon-wrap {
  width: 40px;
  height: 40px;
  background: #ff1b4d;
}

.pe-title-box.pe-tb-icon-bg .pe-tb-icon-wrap i {
  font-size: 24px;
  color: #fff;
  text-align: center;
  display: inherit;
}

.pe-title-box.pe-tb-icon-bg.pe-tb-round-bg .pe-tb-icon-wrap {
  border-radius: 50%;
}

/*--------------------------------------------------------------------------------
## Title Boxes -> Boxed
--------------------------------------------------------------------------------*/
.pe-title-box.pe-tb-boxed {
  background: #f2f5f5;
  border: 0.125rem solid #dedede;
}

.pe-title-box.pe-tb-boxed.pe-tb-primary-bg {
  background: #ff1b4d;
  border-color: #ff1b4d;
}

.pe-title-box.pe-tb-boxed.pe-tb-primary-bg i {
  color: #fff;
}

.pe-title-box.pe-tb-boxed.pe-tb-primary-bg.pe-tb-icon-bg .pe-tb-icon-wrap {
  background: #fff;
}

.pe-title-box.pe-tb-boxed.pe-tb-primary-bg.pe-tb-icon-bg i {
  color: #ff1b4d;
}

.pe-title-box.pe-tb-boxed.pe-tb-primary-bg h1,
.pe-title-box.pe-tb-boxed.pe-tb-primary-bg h2,
.pe-title-box.pe-tb-boxed.pe-tb-primary-bg h3,
.pe-title-box.pe-tb-boxed.pe-tb-primary-bg h4,
.pe-title-box.pe-tb-boxed.pe-tb-primary-bg h5,
.pe-title-box.pe-tb-boxed.pe-tb-primary-bg h6,
.pe-title-box.pe-tb-boxed.pe-tb-primary-bg .h1,
.pe-title-box.pe-tb-boxed.pe-tb-primary-bg .h2,
.pe-title-box.pe-tb-boxed.pe-tb-primary-bg .h3,
.pe-title-box.pe-tb-boxed.pe-tb-primary-bg .h4,
.pe-title-box.pe-tb-boxed.pe-tb-primary-bg .h5,
.pe-title-box.pe-tb-boxed.pe-tb-primary-bg .h6 {
  color: #fff;
}

.pe-title-box.pe-tb-boxed.pe-tb-primary-bg a {
  color: #fff;
  opacity: 0.85;
}

.pe-title-box.pe-tb-boxed.pe-tb-primary-bg a:hover, .pe-title-box.pe-tb-boxed.pe-tb-primary-bg a:focus, .pe-title-box.pe-tb-boxed.pe-tb-primary-bg a:active {
  opacity: 1;
}

/*--------------------------------------------------------------------------------
## Title Boxes -> Tilted
--------------------------------------------------------------------------------*/
.pe-title-box.pe-tb-tilted {
  padding: 0;
  border: 0;
  background: #ff1b4d;
}

.pe-title-box.pe-tb-tilted:before, .pe-title-box.pe-tb-tilted:after {
  content: ' ';
  display: table;
}

.pe-title-box.pe-tb-tilted:after {
  clear: both;
}

.pe-title-box.pe-tb-tilted h1,
.pe-title-box.pe-tb-tilted h2,
.pe-title-box.pe-tb-tilted h3,
.pe-title-box.pe-tb-tilted h4,
.pe-title-box.pe-tb-tilted h5,
.pe-title-box.pe-tb-tilted h6,
.pe-title-box.pe-tb-tilted .h1,
.pe-title-box.pe-tb-tilted .h2,
.pe-title-box.pe-tb-tilted .h3,
.pe-title-box.pe-tb-tilted .h4,
.pe-title-box.pe-tb-tilted .h5,
.pe-title-box.pe-tb-tilted .h6 {
  color: #fff;
}

.pe-title-box.pe-tb-tilted .pe-tb-icon-wrap,
.pe-title-box.pe-tb-tilted .pe-tb-title-wrap {
  min-height: 60px;
}

.pe-title-box.pe-tb-tilted .pe-tb-icon-wrap {
  width: 60px;
  background: #f2f5f5;
  text-align: center;
  position: relative;
  padding: 0 10px;
}

.pe-title-box.pe-tb-tilted .pe-tb-icon-wrap i {
  color: #ff1b4d;
  line-height: 60px;
  top: 0.125rem;
  position: relative;
  display: inline-block;
  vertical-align: middle;
}

.pe-title-box.pe-tb-tilted .pe-tb-icon-wrap:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  right: -20px;
  background: url("../../images/triangle.svg") no-repeat;
  width: 20px;
  height: 60px;
}

.pe-title-box.pe-tb-tilted .pe-tb-title-wrap {
  width: calc(100% - 60px);
  margin: 0;
  padding: 11px;
  padding-left: 30px;
}

/*--------------------------------------------------------------------------------
# Title Border
--------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------
## Title Border -> Base
--------------------------------------------------------------------------------*/
.pe-title-border {
  border-bottom: 0.375rem solid #ff1b4d;
  margin-bottom: 1.875rem;
}

.pe-title-border h1,
.pe-title-border h2,
.pe-title-border h3,
.pe-title-border h4,
.pe-title-border h5,
.pe-title-border h6,
.pe-title-border .h1,
.pe-title-border .h2,
.pe-title-border .h3,
.pe-title-border .h4,
.pe-title-border .h5,
.pe-title-border .h6 {
  margin: 0;
  display: inline-block;
  position: relative;
  padding-right: 1.875rem;
}

.pe-title-border h1:after,
.pe-title-border h2:after,
.pe-title-border h3:after,
.pe-title-border h4:after,
.pe-title-border h5:after,
.pe-title-border h6:after,
.pe-title-border .h1:after,
.pe-title-border .h2:after,
.pe-title-border .h3:after,
.pe-title-border .h4:after,
.pe-title-border .h5:after,
.pe-title-border .h6:after {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  border-bottom: 0.25rem solid #fff;
  bottom: -0.25rem;
}

.pe-title-border.h1 {
  border-bottom-width: 0.625rem;
}

.pe-title-border.h1 h1:after,
.pe-title-border.h1 .h1:after {
  border-bottom-width: 0.4375rem;
  bottom: -0.4375rem;
}

.pe-title-border.h2 {
  border-bottom-width: 0.5rem;
}

.pe-title-border.h2 h2:after,
.pe-title-border.h2 .h2:after {
  border-bottom-width: 0.375rem;
  bottom: -0.375rem;
}

.pe-title-border.h6 {
  border-bottom-width: 0.25rem;
}

.pe-title-border.h6 h6:after,
.pe-title-border.h6 .h6:after {
  border-bottom-width: 0.125rem;
  bottom: -0.125rem;
}

/*--------------------------------------------------------------------------------
# Title Separators
--------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------
## Title Separators -> Title Base
--------------------------------------------------------------------------------*/
.pe-title-w-sep,
.pe-multiline-title-w-sep,
.pe-title-w-sep-icon,
.pe-title-w-sep-icon-wavy {
  text-align: center;
}

.pe-title-w-sep h2,
.pe-title-w-sep h3,
.pe-title-w-sep h4,
.pe-title-w-sep h5,
.pe-title-w-sep h6,
.pe-multiline-title-w-sep h2,
.pe-multiline-title-w-sep h3,
.pe-multiline-title-w-sep h4,
.pe-multiline-title-w-sep h5,
.pe-multiline-title-w-sep h6,
.pe-title-w-sep-icon h2,
.pe-title-w-sep-icon h3,
.pe-title-w-sep-icon h4,
.pe-title-w-sep-icon h5,
.pe-title-w-sep-icon h6,
.pe-title-w-sep-icon-wavy h2,
.pe-title-w-sep-icon-wavy h3,
.pe-title-w-sep-icon-wavy h4,
.pe-title-w-sep-icon-wavy h5,
.pe-title-w-sep-icon-wavy h6 {
  margin: 0;
}

.pe-title-w-sep .pe-separator:first-child,
.pe-multiline-title-w-sep .pe-separator:first-child,
.pe-title-w-sep-icon .pe-separator:first-child,
.pe-title-w-sep-icon-wavy .pe-separator:first-child {
  margin-bottom: 1rem;
}

.pe-title-w-sep .pe-separator:last-child,
.pe-multiline-title-w-sep .pe-separator:last-child,
.pe-title-w-sep-icon .pe-separator:last-child,
.pe-title-w-sep-icon-wavy .pe-separator:last-child {
  margin-top: 1rem;
}

.pe-title-w-sep .pe-separator-w-icon-no-bg,
.pe-multiline-title-w-sep .pe-separator-w-icon-no-bg,
.pe-title-w-sep-icon .pe-separator-w-icon-no-bg,
.pe-title-w-sep-icon-wavy .pe-separator-w-icon-no-bg {
  margin-bottom: 0.5rem;
}

.pe-multiline-title-w-sep .pe-mtws-line2 {
  margin-top: 0.5rem;
}
