/*
* 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
*/
.cardFooter {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.cardFooter .red-btn {
  text-transform: uppercase;
}
@media screen and (max-width: 991.98px) {
  .cardFooter .red-btn {
    height: 45px !important;
  }
}
.cardFooter .jssocials-share-link {
  background-color: transparent;
  color: #333333;
}
.cardFooter .jssocials-share-link:hover {
  background-color: transparent;
  color: #060606;
}
.cardFooter .jssocials-share-twitter .jssocials-share-link,
.cardFooter .jssocials-share-whatsapp .jssocials-share-link {
  pointer-events: none;
}

.news-card {
  height: 22rem;
  margin-bottom: 3rem;
  overflow: hidden;
  position: relative;
}
@media screen and (max-width: 767.98px) {
  .news-card {
    height: 19rem;
    margin-bottom: 1.5rem;
  }
}
.news-card .news-card-left {
  height: 100%;
}
@media screen and (max-width: 575.98px) {
  .news-card .news-card-left {
    height: 40%;
  }
}
.news-card .news-card-right {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
@media screen and (max-width: 575.98px) {
  .news-card .news-card-right {
    padding: 16px !important;
  }
}
.news-card .news-card-right .news-card-right-inner {
  padding-top: 1rem !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  height: calc(100% - 125px);
}
@media screen and (max-width: 767.98px) {
  .news-card .news-card-right .news-card-right-inner {
    height: calc(100% - 100px);
    padding-top: 10px !important;
  }
}
.news-card .news-card-right .news-card-right-inner small {
  color: #525252;
  margin-bottom: 1rem;
}
.news-card .news-card-right .news-card-right-inner .date {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
}
.news-card .news-card-right .news-card-right-inner h2,
.news-card .news-card-right .news-card-right-inner p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-card .news-card-right .news-card-right-inner h2 {
  -webkit-line-clamp: 2;
}
.news-card .news-card-right .news-card-right-inner p {
  margin: 1.3rem 0 1.5rem 0;
  -webkit-line-clamp: 2;
}
.news-card .news-card-right .news-card-right-inner svg path {
  fill: #333333;
}

#section-cover {
  margin-top: 6rem;
  position: relative;
}
#section-cover .section-cover-inner {
  height: 450px;
}
@media screen and (max-width: 991.98px) {
  #section-cover .section-cover-inner {
    flex-flow: column;
    height: 600px;
  }
}
@media screen and (max-width: 991.98px) {
  #section-cover {
    margin-top: 3.5rem;
  }
}
#section-cover .bg-wrapper {
  position: relative;
}
@media screen and (max-width: 767.98px) {
  #section-cover .bg-wrapper {
    height: 100%;
  }
}
@media screen and (max-width: 991.98px) {
  #section-cover .bg-wrapper {
    flex: auto;
    max-width: none;
    height: 100%;
  }
}
#section-cover .bg-wrapper .copy-right {
  position: absolute;
  left: 0;
  bottom: 5px;
  padding: 3px 16px;
  display: flex;
  justify-content: flex-end;
}
@media screen and (max-width: 991.98px) {
  #section-cover .bg-wrapper .copy-right {
    bottom: 45px;
  }
}
#section-cover .bg-wrapper .copy-right .img-copy-right {
  color: #fff;
  opacity: 0.75;
  text-align: right;
}
#section-cover .bg-wrapper .bg-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  right: 0;
  top: 0;
  background: #171717;
  background: linear-gradient(to top, #171717 0%, #171717 4%, rgba(85, 85, 85, 0.5) 25%, rgba(100, 100, 100, 0) 100%);
  opacity: 0.3;
}
#section-cover .black-square {
  background-color: #f0eeee;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 5rem;
}
@media screen and (max-width: 991.98px) {
  #section-cover .black-square {
    padding: 2rem;
  }
}
@media screen and (max-width: 991.98px) {
  #section-cover .black-square {
    flex: auto;
    max-width: none;
  }
}
#section-cover .black-square .text-wrapper {
  width: 85%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
}
@media screen and (max-width: 991.98px) {
  #section-cover .black-square .text-wrapper {
    width: 100%;
  }
}
#section-cover .black-square .text-wrapper h1 {
  margin-bottom: 1.5rem !important;
}
@media screen and (max-width: 991.98px) {
  #section-cover .black-square .text-wrapper h1 {
    margin-bottom: 0;
  }
}
@media screen and (max-width: 991.98px) {
  #section-cover .stripe-wrapper {
    width: 100%;
  }
}

.main-wrapper {
  overflow-x: hidden;
}
.main-wrapper #section-cover .bg-overlay {
  background-image: linear-gradient(to bottom, #171717 0%, #171717 5%, rgba(85, 85, 85, 0.5) 30%, rgba(100, 100, 100, 0) 100%);
}
.main-wrapper #section-cover .copy-right {
  bottom: 90%;
}
.main-wrapper #section-cover .stripe-wrapper {
  width: 100%;
}
.main-wrapper .content-wrapper small {
  color: #f1f1f1;
}
.main-wrapper .content-wrapper#latest-news {
  width: 75%;
  margin: 0 auto;
}
@media screen and (max-width: 575.98px) {
  .main-wrapper .content-wrapper#latest-news {
    margin: 3rem auto;
    width: 92%;
  }
}
@media screen and (min-width: 576px) and (max-width: 991.98px) {
  .main-wrapper .content-wrapper#latest-news {
    margin: 3rem auto;
    width: 90%;
  }
}
@media screen and (min-width: 992px) and (max-width: 1199.98px) {
  .main-wrapper .content-wrapper#latest-news {
    margin: 4rem auto;
  }
}
.main-wrapper .content-wrapper#latest-news h2 {
  width: 100%;
}
.main-wrapper .content-wrapper#latest-news .news-wrapper-container {
  width: 100%;
  min-height: 400px;
  background-color: white;
  margin-top: -80px;
  z-index: 10;
}
@media screen and (max-width: 991.98px) {
  .main-wrapper .content-wrapper#latest-news .news-wrapper-container {
    margin-top: 0;
  }
}
