@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 */
:host {
  font-family: 'Roboto';
  font-size: 16px;
}

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: #29b8d4;
  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: #eaf2f8;
  color: #000;
}

.text-grey {
  color: #d2d2d2;
}

.uppercase {
  text-transform: uppercase;
}

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

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

a:hover {
  color: #29b8d4 !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 {
  display: block;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.28em;
}

.section-heading .text {
  border-left: 8px solid #29b8d4;
  font-size: 1.3em;
  padding-left: 8px;
}

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

/* .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: #29b8d4 !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;
}

hr {
  border-top: 1px solid black !important;
}
/* SEARCH */

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

.header-date,
nav a {
  text-decoration: none;
  cursor: pointer;
}

.navbar {
  background: #eaf2f8;
}

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

.navbar .nav-item a.nav-link:hover,
.nav-item.active a {
  font-weight: bold;
  color: #29b8d4 !important;
}

.navbar .dropdown-menu {
}

a.dropdown-item:hover {
  background: unset !important;
  color: #29b8d4 !important;
}
/* FOOTER */

.footer-logo {
  padding: 10px;
}

.footer-bg {
  color: black !important;
  background-color: #eaf2f8;
}
.footer-section-2 {
  background: #29b8d4;
}

/* NEWS LISTING */

/* FEATURED */

/* SIDE LISTING */

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

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

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

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

.fa-0-5x {
  font-size: 0.6rem;
}

.fa-0-6x {
  font-size: 0.8rem;
}

.text-blue {
  color: blue !important;
}

.article-link {
  color: #227cd9 !important;
}

.article-link:hover {
  color: #29b8d4 !important;
}

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