@import url('https://use.fontawesome.com/releases/v5.8.1/css/all.css');

/* You can add global styles to this file, and also import other style files */
/* 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: #1f97a7;
  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%;
  }
}

/* GENERAL */
.primary-bg {
  background: #1f97a7;
}

.text-grey {
  color: #d2d2d2;
}

.uppercase {
  text-transform: uppercase;
}

.container a {
  color: black;
}

img {
  max-width: 100%;
  height: auto;
}

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

html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
}

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

.article-link {
  color: #1f97a7 !important;
  font-weight: 700;
}

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

.section-heading {
  position: relative;
  z-index: 1;
  padding: 8px 12px 20px;
  display: block;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 700;
  background: white;
  color: #18897b;
  font-size: 3em;
}

.section-heading:before {
  content: '';
  margin: 0 auto;
  position: absolute;
  top: calc(50% - 8px);
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: -1;
  border-top: 18px solid #2eeab6;
}

.section-heading .text {
  background: white;
  padding: 0px 5px 0px 5px;
}

.side-heading {
  margin-bottom: 8px;
}

/* .article-heading {
} */
.hearder_wrap {
  background-color: #fafafa !important;
}

/* 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: #18897b !important;
  color: #000 !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,
nav a {
  color: #fff !important;
  text-decoration: none;
  cursor: pointer;
}

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

.navbar .nav-item a.nav-link:hover,
.nav-item.active a {
  background: #2eeab6 !important;
  font-weight: bold;
}

/* FOOTER */

/* NEWS LISTING */

/* FEATURED */

/* SIDE LISTING */

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

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

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

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

.footer-list {
  list-style: none;
  padding: 0;
}

footer {
  background: #212529;
}

.footer-list a {
  color: white !important;
}

.text-decoration-underline {
  text-decoration: underline !important;
}
/* RESPONSIVE */
@media (max-width: 995px) {
  body {
    font-size: 15px !important;
  }
  .navbar-toggler {
    background-color: #cf4578 !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) {
}

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