@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('http://fonts.googleapis.com/css?family=Oleo+Script');

/* 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: #02003e;
  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: #149dad;
}

.text-grey {
  color: #d2d2d2;
}

.text-overflow-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
}

.uppercase {
  text-transform: uppercase !important;
}

.border-none {
  border: none !important;
  outline: 0;
}

html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: 'Roboto', 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 {
  position: relative;
  color: #fff;
  margin: 0 0 24px;
  padding: 12px;
  font-weight: 500;
}

.section-heading::before {
  content: '';
  border-top: 4px solid #0fa0b2;
  margin: 0 auto;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: -1;
}

.mobile-bg {
  background-color: #2597b1;
}

.heading {
  color: #2597b1;
  background-color: #fff;
  font-size: 1.75rem;
}

.side-heading {
  background: #2597b1;
  margin: 0 0 24px;
  padding: 12px;
  font-weight: 500;
  color: #fff;
}

.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;
}

/* SEARCH */

.form-inline {
  background-color: white;
  border-radius: 50px;
}

.btn-search {
  border-radius: 0 !important;
  padding-left: 1.5rem !important;
  border-left: 1px solid #808080 !important;
}

.form-control {
  border: none;
}

/* NAVIGATION BAR */
.header-date {
  cursor: default !important;
  font-weight: bold;
}

.header-date,
nav a {
  color: #fff !important;
  text-decoration: none;
  cursor: pointer;
}

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

.navbar .nav-item.active a.nav-link:after {
  transition: none !important;
  width: 100% !important;
  left: 0 !important;
}

.navbar .nav-item a.nav-link {
  color: #fff;
  text-decoration: none;
  display: inline-block;
  position: relative;
}

.navbar .nav-item a.nav-link:after {
  background: none repeat scroll 0 0 transparent;
  bottom: 0;
  content: '';
  display: block;
  height: 2px;
  left: 50%;
  position: absolute;
  background: #fff;
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
  width: 0;
}

.navbar .nav-item a.nav-link:hover:after {
  width: 100%;
  left: 0;
}

/* NEWS LISTING */

/* FEATURED */

/* SIDE LISTING */
.post-desc {
  /* border-left: 1px solid rgba(0, 0, 0, 0.25); */
}

.sidebar img {
  height: 280px !important;
}

.headline {
  color: #111;
}

.headline:hover {
  color: #149dad !important;
  transition: 0.3s;
}

.white-space-break {
  white-space: break-spaces !important;
}

/* SIGN UP */

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

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

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

/* RESPONSIVE */
@media (max-width: 995px) {
  body {
    font-size: 15px !important;
  }
  .navbar-toggler {
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.25);
    background-color: #149dad !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;
  }
}

@media (max-width: 1229px) {
  .search-bar {
    display: none !important;
  }
}
