/*
* Generate A Background Image Properties
* @param $size:    Background-size, default = 'cover'
* @param $pos:     Background-position, default = 'center'
* @param $repeat:  Background-repeat, default = 'no-repeat
*/
/*
* Generate A Squared Button
* @param $bg:    Background color
* @param $color: Text color
* @param $uppercase: Whether to transform text into all uppercase or not, default = 'none'
* @param $gray-60Color: Border color, default = background color
*/
#head-strip {
  margin-top: 6rem;
  color: #fff;
}
@media screen and (max-width: 991.98px) {
  #head-strip {
    margin-top: 3.5rem;
  }
}
#head-strip .bottom-sec {
  height: 450px;
}
@media screen and (max-width: 767.98px) {
  #head-strip .bottom-sec {
    height: 36rem;
  }
}
@media screen and (min-width: 768px) and (max-width: 991.98px) {
  #head-strip .bottom-sec {
    height: 450px;
  }
}
#head-strip .bottom-sec-inner {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
  height: 100% !important;
}
@media screen and (max-width: 991.98px) {
  #head-strip .bottom-sec-inner {
    display: block;
  }
}
#head-strip .bottom-sec-inner .stripe-line {
  display: none;
}
@media screen and (max-width: 991.98px) {
  #head-strip .bottom-sec-inner .stripe-line {
    position: absolute;
    bottom: 0;
    z-index: 20;
    width: 100%;
    display: block;
    height: 35px;
    background: linear-gradient(-90deg, #94393a 0%, #c05250 49%, #d17d51 57%);
  }
}
#head-strip .bottom-sec .black-square {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 991.98px) {
  #head-strip .bottom-sec .black-square {
    max-width: none;
    align-items: center;
    height: 9rem;
  }
}
#head-strip .bottom-sec .black-square .text-wrapper {
  z-index: 1;
  width: 65%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
@media screen and (max-width: 991.98px) {
  #head-strip .bottom-sec .black-square .text-wrapper {
    width: 85%;
  }
}
#head-strip .bottom-sec .black-square .text-wrapper h1 {
  margin-bottom: 0.5rem;
}
#head-strip .bottom-sec .black-square .square {
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  transform: skew(-15deg);
}
@media screen and (max-width: 991.98px) {
  #head-strip .bottom-sec .black-square .square {
    transform: skew(0deg);
  }
}
#head-strip .bottom-sec .black-square .square:nth-of-type(1) {
  background-color: #11606d;
  transform: translateX(100px);
}
@media screen and (max-width: 991.98px) {
  #head-strip .bottom-sec .black-square .square:nth-of-type(1) {
    display: none;
  }
}
#head-strip .bottom-sec .black-square .square:nth-of-type(2) {
  background: linear-gradient(-148deg, #94393a 0%, #c05250 22%, #b74647 74%, #d17d51 80%, #b64547 100%);
}
@media screen and (max-width: 991.98px) {
  #head-strip .bottom-sec .black-square .square:nth-of-type(2) {
    display: none;
  }
}
#head-strip .bottom-sec .black-square .square:nth-of-type(3) {
  background-color: #11606d;
  width: calc(100% - 50px);
  right: -10px;
}
@media screen and (max-width: 991.98px) {
  #head-strip .bottom-sec .black-square .square:nth-of-type(3) {
    width: calc(100%);
    right: 0px;
    min-height: 9rem;
  }
}
#head-strip .bottom-sec .black-square h1 {
  margin-top: 1rem;
}
#head-strip .bottom-sec .black-square > span {
  font-size: 21px;
  text-align: right;
}
#head-strip .bottom-sec .right-inner {
  height: 100%;
  background-size: cover !important;
  position: absolute;
  left: 0;
  z-index: -1;
}
@media screen and (max-width: 991.98px) {
  #head-strip .bottom-sec .right-inner {
    position: absolute;
    bottom: 35px;
    height: 72%;
  }
}
#head-strip .bottom-sec .right-inner .copy-right {
  position: absolute;
  left: 0;
  bottom: 5px;
  padding: 3px 16px;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}
#head-strip .bottom-sec .right-inner .copy-right .img-copy-right {
  color: #fff;
  opacity: 0.75;
  text-align: right;
}
#head-strip .bottom-sec .right-inner .bg-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  right: 0;
  top: 0;
  background: #171717;
  background: linear-gradient(to top, #171717 0%, #171717 6%, rgba(85, 85, 85, 0.5) 30%, rgba(100, 100, 100, 0) 100%);
  opacity: 0.85;
}

.blog-card {
  margin-bottom: 24px;
}
@media screen and (max-width: 375.98px) {
  .blog-card {
    padding-right: 20px !important;
    padding-left: 20px !important;
  }
}
.blog-card .blog-card-inner {
  height: 16rem;
  display: block;
  overflow: hidden;
  background-color: #fff;
}
.blog-card .blog-card-inner .blog-card-content {
  height: 100%;
  padding: 1.8rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.blog-card .blog-card-inner .blog-card-content small {
  color: #737373;
}
@media screen and (max-width: 575.98px) {
  .blog-card .blog-card-inner .blog-card-content {
    padding: 1.5rem;
  }
}
.blog-card .blog-card-inner .blog-card-content h2,
.blog-card .blog-card-inner .blog-card-content p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 10px;
  line-break: anywhere;
}
@media screen and (max-width: 767.98px) {
  .blog-card .blog-card-inner .blog-card-content h2,
.blog-card .blog-card-inner .blog-card-content p {
    margin-top: 8px;
  }
}
.blog-card .blog-card-inner .blog-card-content a {
  text-transform: none !important;
}
.blog-card .blog-card-inner .blog-card-content a h2 {
  color: #000;
  -webkit-line-clamp: 2;
  line-height: 1.5;
}
.blog-card .blog-card-inner .blog-card-content p {
  color: #707070;
  -webkit-line-clamp: 2;
  line-height: 1.5;
  text-transform: lowercase;
}
.blog-card .blog-card-inner .blog-card-content .card-stat {
  margin-top: 16px;
  color: #020202;
  text-align: right;
  position: absolute;
  bottom: 28px;
}

.emff-dropdown .btn {
  border-radius: 0;
  background-color: transparent !important;
  color: #737373 !important;
  border-color: #eae7e7 !important;
}
.emff-dropdown .btn:focus {
  outline: none;
  box-shadow: none;
}

.blog-nav {
  width: 100%;
  padding-top: 0px;
  padding-bottom: 0px;
  position: relative;
}
.blog-nav h4 {
  position: relative;
  right: 10%;
}
@media screen and (max-width: 767.98px) {
  .blog-nav h4 {
    position: relative;
    right: 0;
  }
}
.blog-nav .navbar-toggler {
  border: 0;
}
.blog-nav .navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}
.blog-nav .navbar-nav {
  height: 4rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 75%;
}
.blog-nav .navbar-nav .nav-item {
  margin-left: 24px;
}
.blog-nav .navbar-nav .nav-item:last-of-type {
  margin-left: 0;
}
@media screen and (max-width: 991.98px) {
  .blog-nav .navbar-nav .nav-item {
    margin-left: 0;
  }
}
@media screen and (max-width: 767.98px) {
  .blog-nav .navbar-nav {
    height: auto;
    width: 100%;
  }
}
.blog-nav .navbar-nav .nav-item {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  border-bottom: 5px solid transparent;
  height: 100%;
}
.blog-nav .navbar-nav .nav-item.active, .blog-nav .navbar-nav .nav-item:hover {
  border-bottom: 5px solid #a20000;
}
.blog-nav .navbar-nav .nav-item.active a, .blog-nav .navbar-nav .nav-item:hover a {
  color: #000;
  font-weight: 400;
}
.blog-nav .navbar-nav .nav-item a {
  color: #737373;
  font-weight: 300;
}
@media screen and (min-width: 992px) {
  .blog-nav .navbar-nav .nav-item a {
    padding-bottom: 0;
  }
}

.content-wrapper#blogs .blog-card-wrapper {
  padding-top: 0 !important;
  background-color: #f0eeee;
}
@media screen and (max-width: 375.98px) {
  .content-wrapper#blogs .blog-card-wrapper {
    padding: 0 0 2rem 0 !important;
  }
}
.content-wrapper#blogs .blog-card-wrapper .sort-container {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  width: 300px;
  margin-right: auto;
  margin: 2rem auto 3rem 0;
}
@media screen and (max-width: 767.98px) {
  .content-wrapper#blogs .blog-card-wrapper .sort-container {
    margin: 1rem;
    justify-content: flex-end;
    width: auto;
  }
}
.content-wrapper#blogs .blog-card-wrapper .sort-container .dropdown-item {
  text-align: right;
}
.content-wrapper#blogs .blog-card-wrapper .sort-container .dropdown-toggle {
  padding: 10px 16px !important;
  background-color: white !important;
}
@media screen and (max-width: 767.98px) {
  .content-wrapper#blogs .blog-card-wrapper .sort-container .dropdown-toggle {
    padding: 8px 12px !important;
  }
}
