body {
  background-color: #f5f6fa;
  color: #414141;
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.8;
}

.login-bg {
  background-image: url("../../img/custom-bg.jpg");
  background-size: cover;
  background-position: 100% 80%;
}

::selection {
  background-color: #d40f14;
  color: #fff;
}

.main {
  padding: 2rem 1rem !important;
}

.related-outer {
  background-color: #fff;
  padding: 2rem 1rem !important;
}

/* Grid */

.row:before,
.row:after {
  display: inline-block;
}

/* Footer */
footer {
  background-color: #fff;
  padding: 2rem 1rem !important;
}

.footer-bottom:before {
  height: .5em;
  width: 50%;
  display: block;
  content: "";
  float: left;
  background-color: #d40f14;
}

.footer-bottom:after {
  height: .5em;
  width: 50%;
  display: block;
  content: "";
  float: right;
  background-color: #003a5d;
}

/* Navigation */
.navbar {
  font-size: 0.85rem;
}

.breadcrumb {
  background-color: transparent;
  margin-bottom: 0;
}

.breadcrumb-item.active {
  width: 250px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Typography */
h1 {
  color: #003a5d;
  font-family: "Vesper Libre";
  font-weight: 700;
  font-size: 2.5rem;
}

h2 {
  color: #003a5d;
  font-family: "Vesper Libre";
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 2rem;
}

h5 {
  color: #003a5d;
  font-family: "Vesper Libre";
  font-weight: 700;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 2rem;
}

.blockquote p {
  color: #99b0be;
  font-family: "Vesper Libre";
  font-size: 2em;
  font-weight: 700;
  line-height: 1.2em;
}

a {
  color: #003a5d;
}

a:hover {
  color: #32617d;
}

p>a {
  text-decoration: underline;
}

dl,
ol,
ul {
  margin-bottom: 2rem;
}

/* Container */
@media (min-width: 1200px) {
  .container {
    max-width: 960px;
  }
}

/* Images */
.img-fluid {
  width: 100%;
}

/* Cards */
.card {
  border: 1px solid rgba(0, 0, 0, .05);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* .card .related-video {
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  min-height: 100px;
  min-width: 130px;
  background-size: cover;
  overflow: hidden;
} */
/* Buttons */
.btn-primary {
  background-color: #d40f14;
  border-color: #d40f14;
}

.btn-primary:hover {
  background-color: #be0d12;
  border-color: #be0d12;
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show>.btn-primary.dropdown-toggle {
  color: #fff;
  background-color: #003a5d;
  border-color: #003a5d;
}

.btn-icon {
  background-color: #ddd;
  border-color: #ddd;
  border-radius: 50%;
  color: #414141;
  height: 48px;
  width: 48px;
}

/* Badges */
.badge-primary {
  color: #fff;
  background-color: #99b0be;
}

.badge-primary[href]:focus,
.badge-primary[href]:hover {
  background-color: #32617d;
}

/* Material Icons */
.material-icons {
  font-size: 18px !important;
  /* Preferred icon size */
}

/* Search */
input {
  outline: none;
}

input[type=search] {
  -webkit-appearance: textfield;
  -webkit-box-sizing: content-box;
  font-family: inherit;
  font-size: 100%;
  cursor: pointer;
}

input::-webkit-search-decoration,
input::-webkit-search-cancel-button {
  display: none;
}

input[type=search] {
  background: #f5f6fa url(../../img/baseline_search_black_18dp.png) no-repeat 9px center;
  border: solid 1px #f5f6fa;
  padding: 7px 8px 7px 32px;
  width: 55px;
  -webkit-border-radius: .25rem;
  -moz-border-radius: .25rem;
  border-radius: .25rem;
  -webkit-transition: all .5s;
  -moz-transition: all .5s;
  transition: all .5s;
}

input[type=search]:focus {
  width: 230px;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, .05);
  -webkit-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.05);
}

input:-moz-placeholder {
  color: #999;
}

input::-webkit-input-placeholder {
  color: #999;
}

input.form-control.search {
  font-size: 72px;
  font-family: "Vesper Libre";
  font-weight: 700;
  color: #003a5d;
  border: none;
  background-color: #f5f6fa;
  border-bottom: 1px solid rgba(0, 0, 0, .1);
  border-bottom-left-radius: 0;
}

.form-control:focus {
  box-shadow: none;
}

.search-result {
  border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.search-date:before {
  content: 'Last modified: ';
}

.search-relevance:before {
  content: 'Relevance: ';
}

/* Thumbnails */
.thumbnail {
  border-radius: 50% !important;
  position: relative;
  width: 48px;
  height: 48px;
  overflow: hidden;
}

.thumbnail-lg {
  border-radius: 50% !important;
  position: relative;
  width: 64px;
  height: 64px;
  overflow: hidden;
}

.thumbnail img,
.thumbnail-lg img {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 100%;
  width: auto;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

/* Two Column */
.col-two {
  column-gap: 30px;
  -webkit-column-gap: 30px;
  -moz-column-gap: 30px;
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
}

/* Audio */
/* Print styles */
@media print {

  .wpToolbarActionBar,
  .wpToolbarCommon,
  .related-outer,
  #print,
  #previous-next,
  blockquote {
    display: none;
  }

  main::before {
    content: "Printed from the Momentum Metroplitan Intranet";
  }
}

/* Favourite Heart */
.heart {
  width: 50px;
  height: 50px;
  background: url("https://inside.mmiholdings.co.za/theme/img/heart-sprite.png") no-repeat;
  background-position: 0 0;
  cursor: pointer;
  transition: background-position 1s steps(28);
  transition-duration: 0s;
  position: relative;
  top: -16px;
  right: -16px;
}

.heart.is-active {
  transition-duration: 1s;
  background-position: -1400px 0;
}

/* Dropdown */
.dropdown-menu {
  border: 1px solid rgba(0, 0, 0, .05);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.dropdown {
  padding-top: 5px;
}

#profile-popover:hover {
  cursor: pointer;
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: #f8f9fa;
}

/* Notification bar */
.notification-bar {
  background-color: #003a5d;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 5px 4px rgba(0, 0, 0, 0.1);
}

/* Lists */
.list-unstyled {
  line-height: 1.2rem;
}

/* Icon hover */
.material-icons.icon-hover {
  cursor: pointer;
}

.material-icons.icon-hover.active {
  padding: 8px;
  background-color: white;
}

.material-icons.icon-hover:active {
  padding: 8px;
  background-color: white;
}

/* Alerts */
.alert-notification {
  background-color: #003a5d;
  border-color: #003a5d;
  border-radius: 0;
  color: #fff;
}

.alert-marketing {
  background-color: #e9ecef;
  padding: 4rem 2rem;
}

.alert-dismissible .close {
  padding: 1.5rem 1.25rem;
}
