@import url('https://use.fontawesome.com/releases/v5.8.1/css/all.css');
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik:400,400i,700,700i');

/* You can add global styles to this file, and also import other style files */
img {
  max-width: 100%;
  height: auto;
}

.full-height {
  min-height: 80vh;
}

/* LOADER */
.hidden {
  visibility: hidden;
}
.loader-overlay {
  position: fixed;
  width: 100%;
  z-index: 500000;
  top: 0;
}
.loader {
  height: 4px;
  width: 100%;
  position: relative;
  overflow: hidden;
  background-color: #fff;
}
.loader:before {
  display: block;
  position: absolute;
  content: '';
  left: -200px;
  width: 200px;
  height: 4px;
  background-color: #43a047;
  animation: loading 2s linear infinite;
}
@keyframes loading {
  from {
    left: -200px;
    width: 30%;
  }
  50% {
    width: 30%;
  }
  70% {
    width: 70%;
  }
  80% {
    left: 50%;
  }
  95% {
    left: 120%;
  }
  to {
    left: 100%;
  }
}

a {
  color: #000 !important;
}

.news-content a {
  color: #007bff !important;
}

/* GENERAL */
.primary-bg {
  background: #43a047 !important;
}

.primary-text {
  color: #43a047 !important;
}

.text-grey {
  color: #d2d2d2;
}

.uppercase {
  text-transform: uppercase;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
}

.full-height {
  min-height: 80vh;
}

a {
  color: unset;
  text-decoration: none !important;
  cursor: pointer !important;
}

.normal-img {
  width: 100%;
  height: inherit;
  object-fit: cover;
  cursor: pointer;
}
.error-img {
  width: 100%;
  height: auto;
  cursor: pointer;
  filter: grayscale(100%);
}

.section-heading {
  margin: 0 0 24px;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 5px;
  border-left: 10px solid green;
  padding-left: 10px;
}

.side-heading {
  margin: 0 0 24px;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 5px;
  text-align: center;
}

.section-heading > h4,
.side-heading > h4 {
  font-weight: bold !important;
  font-size: 1.8em !important;
}

.dark-grey-text {
  color: #000000cb;
}

/* .article-heading {
} */

/* CONTACT FORM */
.is-invalid,
.box-is-invalid > label > div.mat-checkbox-inner-container {
  border: 1px solid rgba(232, 0, 0, 0.72) !important;
}
.contact-input,
.contact-textarea {
  padding: 8px;
}
.contact-input {
  background: #f2f2f2;
  border: none;
}

.btn-contact,
.btn-search,
.btn-subscribe {
  background: #2e7031 !important;
  color: #fff !important;
  -webkit-transition: all 0.3 ease;
  transition: all 0.3 ease;
  cursor: pointer;
  font-weight: 700;
  box-shadow: -2px 2px 5px 0px #00000059;
}

/* SEARCH */

/* NAVIGATION BAR */
.header-date {
  margin-left: 120px;
  cursor: default !important;
}

.header-date,
nav a {
  color: #43a047 !important;
  border-bottom: 4px solid transparent;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  font-weight: 700;
}

.navbar .nav-item a.nav-link {
  font-weight: bold;
}

/* .navbar .nav-item a.nav-link:hover,
.nav-item.active a {
  font-weight: bold;
} */

.nav-item.active a.nav-link:after {
  border-bottom: solid 4px #43a047;
  font-weight: bold;
  display: block;
  transform: scaleX(1);
}

.nav-item a.nav-link:after {
  display: block;
  content: '';
  border-bottom: solid 4px #43a047;
  transform: scaleX(0);
  transition: transform 250ms ease-in-out;
}
.nav-item a.nav-link:hover:after {
  transform: scaleX(1);
}
.nav-item a.nav-link.fromLeft:after {
  transform-origin: 0% 50%;
}

#header_4b .header-section {
  box-shadow: none !important;
}

.text-justify {
  text-align: justify;
}

header {
  box-shadow: 0 10px 6px -6px #d3d3d3 !important;
}

.home img {
  border-left: 8px solid #43a047;
}

.category-page ul > li a,
.home ul > li a {
  color: #000;
  font-size: 1.2em;
  letter-spacing: 2px;
  line-height: 32px;
  font-weight: 500;
}

/* FOOTER */

/* NEWS LISTING */
.listbreaker_6b {
  background-color: #323232 !important;
}

.listbreaker_6b a {
  color: #007bff !important;
}

.article-heading {
  border-left: 8px solid #43a047;
  padding-left: 16px;
}

/* FEATURED */

/* SIDE LISTING */
.col-4 {
  border-left: 1px solid #d2d2d2;
  border-right: 1px solid #d2d2d2;
}

.single-news > .col-4 {
  border: none;
}

/* SIGN UP */
.subscribe-box {
  padding: 0 1rem;
}

/* ARTICLE */
.font-weight-bold {
  font-weight: bold;
}

.grey.lighten-5 {
  background-color: #fafafa;
}

.category-title {
  text-transform: capitalize;
}

.article-link {
  color: #43a047 !important;
}

/* RESPONSIVE */
@media (max-width: 995px) {
  body {
    font-size: 15px !important;
  }
  .navbar-toggler {
    background-color: #2e7031 !important;
  }
}

@media (max-width: 770px) {
  .col-10,
  .col-8,
  .col-4 {
    -webkit-box-flex: 0;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 768px) {
}

@media (max-width: 535px) {
  body {
    font-size: 14px !important;
  }
}

@media (max-width: 400px) {
  .menus.d-flex {
    flex-direction: column;
    text-align: center;
  }

  footer .row {
    display: block;
  }

  footer.main-footer ul {
    margin: 0 !important;
  }
}

@media (max-width: 320px) {
  body {
    font-size: 13px !important;
  }
}
