/*
* 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
*/
#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%;
  }
}

.bold {
  font-weight: 700;
}

.meduim {
  font-weight: 500;
}

.pre-meduim {
  font-weight: 400;
}

.light {
  font-weight: 300;
}

.regular {
  font-weight: 400;
}

.x-padding {
  padding: 0 3rem;
}

.font-xlg {
  font-size: 35px;
}
@media screen and (max-width: 767.98px) {
  .font-xlg {
    font-size: 22px !important;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024.98px) {
  .font-xlg {
    font-size: 28px !important;
  }
}
@media screen and (min-width: 1025px) and (max-width: 1199.98px) {
  .font-xlg {
    font-size: 32px !important;
  }
}
@media screen and (min-width: 2000px) {
  .font-xlg {
    font-size: 42px !important;
  }
}
.font-xlg:lang(ar) {
  font-size: 32px;
}

.font-postlg {
  font-size: 28px;
}
.font-postlg:lang(ar) {
  font-size: 25px;
}
@media screen and (max-width: 991.98px) {
  .font-postlg {
    font-size: 20px !important;
  }
}
@media screen and (min-width: 992px) and (max-width: 1199.98px) {
  .font-postlg {
    font-size: 24px !important;
  }
}
@media screen and (min-width: 2000px) {
  .font-postlg {
    font-size: 32px !important;
  }
}

.font-lg {
  font-size: 24px;
}
.font-lg:lang(ar) {
  font-size: 22px;
}
@media screen and (max-width: 767.98px) {
  .font-lg {
    font-size: 16px !important;
  }
}
@media screen and (min-width: 768px) and (max-width: 1199.98px) {
  .font-lg {
    font-size: 18px !important;
  }
}
@media screen and (min-width: 2000px) {
  .font-lg {
    font-size: 26px !important;
  }
}

.font-md {
  font-size: 20px;
}
.font-md:lang(ar) {
  font-size: 18px;
}
@media screen and (max-width: 767.98px) {
  .font-md {
    font-size: 14px !important;
  }
}
@media screen and (min-width: 768px) and (max-width: 991.98px) {
  .font-md {
    font-size: 16px !important;
  }
}
@media screen and (min-width: 992px) and (max-width: 1199.98px) {
  .font-md {
    font-size: 17px !important;
  }
}
@media screen and (min-width: 2000px) {
  .font-md {
    font-size: 24px !important;
  }
}

.font-sm {
  font-size: 17px;
}
@media screen and (max-width: 1199.98px) {
  .font-sm {
    font-size: 15px;
  }
}
@media screen and (min-width: 2000px) {
  .font-sm {
    font-size: 20px;
  }
}

.font-xs {
  font-size: 14px;
}
@media screen and (max-width: 767.98px) {
  .font-xs {
    font-size: 13px;
  }
}
@media screen and (min-width: 2000px) {
  .font-xs {
    font-size: 16px;
  }
}

.font-head {
  font-family: "Frank Ruhl Libre", serif;
}

.font-basic {
  font-family: "Roboto", sans-serif;
}

.font-sub {
  font-family: Helvetica Neue;
}

#section-cover {
  background-image: linear-gradient(-105deg, #a20003 0%, #f19b27 40%, #397b7d 80%, #657474);
}
#section-cover .adjustment-over-lay {
  width: 100%;
  background: rgba(0, 0, 0, 0.25);
}
#section-cover .colored-square {
  color: #ffffff;
  padding: 5rem 8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
@media screen and (max-width: 767.98px) {
  #section-cover .colored-square {
    padding: 2rem;
  }
}
#section-cover .colored-square--with-img {
  background-image: linear-gradient(-105deg, #a20003 0%, #f19b27 40%, #397b7d 80%, #657474);
}
@media screen and (max-width: 767.98px) {
  #section-cover .colored-square {
    height: 200px;
    padding-top: 1rem;
    padding-bottom: 1rem;
    min-width: 278px;
    min-height: 300px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1199.98px) {
  #section-cover .colored-square {
    padding: 5rem 4rem;
  }
}
#section-cover .colored-square .tags {
  margin-bottom: 2rem;
}
#section-cover .colored-square .tags .tag {
  background-color: #e8e8e8;
  color: black;
  padding: 0.35rem 1rem;
  margin-left: 0.5rem;
}
#section-cover .colored-square .title {
  margin-bottom: 2rem;
}
#section-cover .colored-square .author img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  margin-left: 5px;
}
#section-cover .colored-square .author span {
  text-transform: capitalize;
}
#section-cover .colored-square .interaction {
  margin-bottom: -1.6rem;
}

.more {
  margin-right: 1rem;text-align: right;
}
.more a {
  color: #a20000 !important;
}
.more a:hover {
  text-decoration: underline;
}
.more a:hover img {
  -webkit-animation-name: translateIcon;
          animation-name: translateIcon;
  -webkit-animation-duration: 0.4s;
          animation-duration: 0.4s;
  -webkit-animation-timing-function: ease-in-out;
          animation-timing-function: ease-in-out;
  -webkit-animation-delay: 0.4s;
          animation-delay: 0.4s;
  -webkit-animation-iteration-count: 4;
          animation-iteration-count: 4;
  -webkit-animation-direction: alternate;
          animation-direction: alternate;
}
.more a img {
  width: 15px;
  margin-left: 0.5rem;
  position: relative;
}
.more a span {
  color: #a20003;
  text-transform: uppercase;
}
.more a span:hover {
  color: #820202f7;
}

.more {
    text-align: right;
}
aside {
  height: 7rem;
  min-width: 168px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 30%;
}
@media screen and (max-width: 991.98px) {
  aside {
    width: 100%;
    height: auto;
    margin-top: 1rem;
  }
}
@media screen and (min-width: 768px) and (max-width: 991.98px) {
  aside {
    flex-direction: row;
  }
}
aside .publish-info,
aside .social-media-wrapper {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: flex-start;
  padding: 1.9rem;
  padding-bottom: 1rem;
}
@media screen and (min-width: 768px) and (max-width: 991.98px) {
  aside .publish-info,
aside .social-media-wrapper {
    height: 100%;
  }
}
aside .publish-info .title,
aside .social-media-wrapper .title {
  color: #c6c6c6;
}
aside .date {
  border-right: 1px solid #707070;
  border-left: 1px solid #707070;
  margin-left: .3rem;
  padding-left: .3rem;
}
aside .social-media-wrapper {
  background-color: #f1f1f1;
  align-items: center;
}
aside .social-media-wrapper svg path {
  fill: #333333;
}
aside .social-media-wrapper .social-media-icons {
  width: inherit;
}
aside .social-media-wrapper .social-media-icons .jssocials-shares {
  display: flex;
  justify-content: center;
}
aside .social-media-wrapper .social-media-icons .jssocials-shares .jssocials-share {
  margin: 0px;
}
aside .social-media-wrapper .social-media-icons .jssocials-shares .jssocials-share .jssocials-share-link {
  background-color: transparent !important;
}
aside .social-media-wrapper .social-media-icons .jssocials-shares .jssocials-share .jssocials-share-link .jssocials-share-logo {
  color: #333333;
}
aside .social-media-wrapper .social-media-icons .jssocials-shares .jssocials-share .jssocials-share-link .jssocials-share-logo:hover {
  color: #737373;
}

.comment {
  display: flex;
  margin-bottom: 3rem;
}
.comment img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin-left: 2rem;
}
@media screen and (max-width: 991.98px) {
  .comment img {
    width: 70px;
    height: 70px;
    margin-left: 1rem;
  }
}
.comment .data {
  display: flex;
  flex-flow: column;
  padding-left: 9rem;
  align-items: flex-start;
  overflow: hidden;
  width: calc(100% - 90px);
}
@media screen and (max-width: 566px) {
  .comment .data {
    padding-left: 0;
  }
}
@media screen and (max-width: 991.98px) {
  .comment .data {
    width: calc(100% - 70px);
  }
}
.comment .data .name {
  text-transform: capitalize;
}
.comment .data .date {
  color: #525252;
}
.comment .data .content {
  color: #272727;
}
.comment .data .name,
.comment .data .content {
  width: 100%;
  word-break: break-all;
  text-align: right;
}

@media screen and (max-width: 991.98px) {
  .bg-wrapper {
    display: none;
  }
}

.wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 400px;
}
@media screen and (max-width: 991.98px) {
  .wrapper {
    flex-direction: column;
  }
}
.wrapper .blog-body {
  width: 68%;
  padding-top: 1rem;
  margin-left: 4rem;
  text-align: justify;
  word-break: break-all;
}
@media screen and (max-width: 991.98px) {
  .wrapper .blog-body {
    width: 100%;
  }
}
.wrapper .blog-body p {
  line-break: anywhere;
}

.comments-wrapper {
  background-color: #f1f1f1;
}
.comments-wrapper h2 {
  margin-bottom: 2rem;
}
.comments-wrapper .form {
  display: flex;
  flex-flow: wrap;
  margin-bottom: 4rem;
  position: relative;
  width: 70%;
}
@media screen and (max-width: 575.98px) {
  .comments-wrapper .form {
    width: 99%;
  }
}
@media screen and (min-width: 576px) and (max-width: 767.98px) {
  .comments-wrapper .form {
    width: 95%;
  }
}
@media screen and (min-width: 768px) and (max-width: 991.98px) {
  .comments-wrapper .form {
    width: 80%;
  }
}
.comments-wrapper .form .error-msg {
  color: #a20000;
}
.comments-wrapper .form .form-row div input {
  height: 50px;
}
.comments-wrapper .form .form-row div input::-moz-placeholder {
  font-size: 18px;
  color: #c6c6c6;
  font-weight: 300;
}
.comments-wrapper .form .form-row div input:-ms-input-placeholder {
  font-size: 18px;
  color: #c6c6c6;
  font-weight: 300;
}
.comments-wrapper .form .form-row div input::placeholder {
  font-size: 18px;
  color: #c6c6c6;
  font-weight: 300;
}
@media screen and (max-width: 767.98px) {
  .comments-wrapper .form .form-row div input::-moz-placeholder {
    font-size: 16px;
  }
  .comments-wrapper .form .form-row div input:-ms-input-placeholder {
    font-size: 16px;
  }
  .comments-wrapper .form .form-row div input::placeholder {
    font-size: 16px;
  }
}
.comments-wrapper .form .form-row div:last-of-type {
  padding-left: 0;
}
.comments-wrapper .form .form-row.comment-wrapper {
  background-color: #fff;
}
.comments-wrapper .form .form-row.comment-wrapper .submit-wrapper {
  height: 70px;
}
.comments-wrapper .form .form-control {
  border: 0;
  box-shadow: 0 0.1rem 0.5rem rgba(0, 0, 0, 0.15);
  border-radius: 0;
}
.comments-wrapper .form .comment-field {
  resize: none;
  padding: 1.5rem 1.5rem 1rem;
  box-shadow: none;
}
.comments-wrapper .form .comment-field::-moz-placeholder {
  font-size: 18px;
  color: #c6c6c6;
  font-weight: 300;
}
.comments-wrapper .form .comment-field:-ms-input-placeholder {
  font-size: 18px;
  color: #c6c6c6;
  font-weight: 300;
}
.comments-wrapper .form .comment-field::placeholder {
  font-size: 18px;
  color: #c6c6c6;
  font-weight: 300;
}
@media screen and (max-width: 767.98px) {
  .comments-wrapper .form .comment-field::-moz-placeholder {
    font-size: 16px;
  }
  .comments-wrapper .form .comment-field:-ms-input-placeholder {
    font-size: 16px;
  }
  .comments-wrapper .form .comment-field::placeholder {
    font-size: 16px;
  }
}
.comments-wrapper .form .comment-field:focus {
  outline: none;
  box-shadow: none;
}
.comments-wrapper .form .submit {
  background: #a21400;
  color: #ffffff;
  border-radius: 0;
  position: absolute;
  left: 2rem;
  bottom: 12px;
}
@media screen and (max-width: 320px) {
  .comments-wrapper .form .submit {
    left: 1rem;
    max-width: 10rem;
  }
}
.comments-wrapper .form .submit:focus {
  border: 0;
}
.comments-wrapper .form .submit:hover {
  transition: all 0.5s ease-in-out;
  background: #820202f7;
}

@media screen and (max-width: 577px) {
  .comments-wrapper .form .form-row div:last-of-type {
    padding-left: 5px;
  }

  .input {
    margin-bottom: 1rem;
  }
}
.blog-body {
    text-align: right;
}
