/* Utils for adding Padding and Margin */
/* CSS Document */
.match-height {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  -webkit-align-items: stretch;
  -moz-align-items: stretch;
  align-items: stretch;
}

.match-height.center {
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  -moz-align-items: center;
  align-items: center;
}

.match-height .image {
  background-size: cover;
  background-position: 50%;
}

.match-height .image.top {
  background-position-y: top;
}

.match-height .image.bottom {
  background-position-y: bottom;
}

.match-height .image.left {
  background-position-x: left;
}

.match-height .image.right {
  background-position-x: right;
}

.match-height .image hr.x-gap {
  padding-bottom: 80%;
  padding-bottom: calc( 100% - 50px );
}

@media (max-width: 767px) {
  .match-height {
    display: block;
  }

  .match-height .image {
    padding-bottom: 50% !important;
  }
}
