/*
 * Rules overriding Bootstrap 5
 */
  body {
    font-size: 14px;
  }
  /* If a website is custom styled with LARGE headings, this causes very long
   * words to break onto new line, especially helpful to preserve styling
   * on smaller responsive screens.
   */
  h1, h2, h3 {
    overflow-wrap: break-word;
  }

  a {
    text-decoration: none;
  }

  .container-narrow {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    max-width: 870px;
  }

  .img-fluid {
    display: block; /* narrow images will be centered horizontally */
    margin: 0 auto;
  }

  .nav > li > a {
    padding: 10px 15px;
  }
  .nav > li, .nav > li > a {
    position: relative;
    display: block;
  }
  .nav-tabs .nav-item .nav-link {
    margin-right: 3px;
  }


/*
 * Blog post thumbnails in list view
 */
  @media (min-width: 768px) { /* Bootstrap md */
    .oc-post-thumbnail > a > img,
    .oc-post-thumbnail > a > div {
      float: left;
      margin: 3px 20px 10px 0;
    }
  }



/*
 * Responsive navigation
 */
  .nav {
    display: block;
  }
  .nav-pills > li {
    float: none;
  }
  @media (min-width: 576px) { /* Bootstrap sm */
    .nav {
      display: flex;
    }
    .nav-pills > li {
      float: left;
    }
  }


/*
 * SMOOTH SCROLL
 * Enable smooth scrolling when clicking on anchor links.
 */
  html {
    scroll-behavior: smooth;
  }


/*
 * JS LOADER
 * A CSS spinner to use anytime a loader is needed in HTML or in a JS app.
 */
  .oc-loader {
    animation: spin 600ms linear infinite;
    border: 5px solid #eee;
    border-top: 5px solid #333;
    border-radius: 50%;
    display: inline-block;
    height: 40px;
    width: 40px;
  }
  .oc-loader-small {
    border-width: 2px;
    height: 18px;
    width: 18px;
  }
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }


/*
 * STICKY FOOTERS
 * Some pages have very little content then the footer sits high up just below navigation. This is
 * visually not good, so we apply sticky footer to ensure that footers are at the bottom of the
 * screen on pages with little content.
 */
  body, html {
    height: 100%;
  }
  body {
    display: flex;
    flex-direction: column;
  }
  .oc-sticky-footer-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
  }
  .oc-grid-row-with-content-sticky-footer {
    flex: 1 0 auto;
  }


/*
 * MOBILE NAVIGATION
 * using react-burger-menu
 * These styles are provided on GitHub page, then we modified them.
 */
  /* Position and sizing of burger button */
  .oc-burger-button {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    top: 0px;
    right: 0px;
    padding: 16px 20px;
  }
  /* Color/shape of burger icon bars */
  .oc-burger-bars {
    background: #111;
    margin: 4px 0;
    width: 30px;
    height: 2px;
  }

  /* Color/shape of burger icon bars on hover*/
  .bm-burger-bars-hover {
    background: #a90000;
  }

  /* Position and sizing of clickable cross button */
  .bm-cross-button {
    top: 18px!important;
    right: 18px!important;
  }

  /* Color/shape of close button cross */
  .bm-cross {
    background: #111;
    width: 1px !important;
    height: 20px !important;
  }

  /*
  Sidebar wrapper styles
  Note: Beware of modifying this element as it can break the animations - you should not need to touch it in most cases
  */
  .bm-menu-wrap {
    position: fixed;
    height: 100%;
  }

  /* General sidebar styles */
  .bm-menu {
    background: #fff; /*#373a47;*/
    padding: 0 1em 0; /*2.5em 1em 0;*/
    font-size: 1.15em;
  }

  /* Morph shape necessary with bubble or elastic */
  .bm-morph-shape {
    fill: #373a47;
  }

  /* Wrapper for item list */
  .bm-item-list {
    color: #111; /* #b8b7ad;*/
    padding: 0.8em;
  }

  /* Individual item */
  .bm-item {
    display: block; /*inline-block;*/
    padding: .3em 0;
  }
  .bm-item a {
    color: #333;
  }
  .bm-menu a:hover,
  .bm-menu a:focus {
    color: #000;
  }
  .bm-item:focus {
    outline: none;
  }
  .bm-item-active {
    font-weight: bold;
  }
  .oc-mobilenav-item-level-1 {
    font-weight: bold;
  }
  .oc-mobilenav-item-level-2 {
    padding-left: 1em;
  }
  .oc-mobilenav-item-level-3 {
    padding-left: 2em;
  }

  /* Styling of overlay */
  .bm-overlay {
    background: rgba(0, 0, 0, 0.3);
  }


/*
 * HEADROOM
 */
  .headroom {
    will-change: transform;
    transition: transform 200ms linear;
  }
  .headroom--pinned {
    transform: translateY(0%);
  }
  .headroom--unpinned {
    transform: translateY(-100%);
  }
   /*.headroom is same element as .oc-gs-header */
  .headroom {
    background: #fff;
    position: fixed;
    z-index: 10;
    right: 0;
    left: 0;
    top: 0;
  }
  /*
  html, body {
    scroll-padding-top: 90px;
  }
  body {
    padding-top: 90px;
  }
  */


/*
 * medium-zoom
 */
  .medium-zoom-overlay,
  .medium-zoom-image--opened {
    z-index: 20; /* Bigger than headroom */
  }


/*
 * LOGO
 */
.oc-logo {
  display: none;
}
.oc-logo-responsive {
  padding-top: 10px;
  padding-bottom: 10px;
}
.oc-logo-responsive img {
  margin: 0; /* left align, cancels img-fluid margin: 0 auto for mobile */
  max-width: 240px;
}
@media (min-width: 321px) { /* Bigger than iPhone 5 */
  .oc-logo-responsive {
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .oc-logo-responsive img {
    max-width: 280px;
  }
}
@media (min-width: 768px) { /* Bootstrap md */
  .oc-logo {
    display: block;
  }
  .oc-logo-responsive {
    display: none;
  }
  .oc-logo img {
    margin: 0 auto; /* Return center alignment */
  }
}


/*
 * SOCIAL SHARING icons
 */
  .oc-share-on-icons ul {
    list-style: none;
    padding: 0;
  }
  .oc-share-on-icons li {
    float: left;
  }
  .oc-share-on-icons a:hover {
    opacity: 0.8;
  }
  .oc-share-on-icons a.oc-share-on-twitter .fa-circle {
    color: #03b3ee;
  }
  .oc-share-on-icons a.oc-share-on-facebook .fa-circle {
    color: #3067A3;
  }
  .oc-share-on-icons a.oc-share-on-googleplus .fa-circle {
    color: #E15440;
  }
  .oc-share-on-icons a.oc-share-on-linkedin .fa-circle {
    color: #0071a1;
  }
  .oc-share-on-icons a.oc-share-on-pinterest .fa-circle {
    color: #b9252c;
  }
  .oc-share-on-icons a.oc-share-on-email .fa-circle {
    color: #999;
  }

  .oc-share-on-pills .nav-pills a {
    color: #fff;
  }
  .oc-share-on-pills .nav-pills a:hover {
    color: #fff;
    opacity: 0.8;
  }
  .oc-share-on-pills a.oc-share-on-twitter {
    background-color: #03b3ee;
  }
  .oc-share-on-pills a.oc-share-on-facebook {
    background-color: #3067A3;
  }
  .oc-share-on-pills a.oc-share-on-googleplus {
    background-color: #E15440;
  }
  .oc-share-on-pills a.oc-share-on-linkedin {
    background-color: #0071a1;
  }
  .oc-share-on-pills a.oc-share-on-pinterest {
    background-color: #b9252c;
  }
  .oc-share-on-pills a.oc-share-on-email {
    background-color: #aaa;
  }

/*
 * SOCIAL URLS
 */
.oc-social a,
.oc-social a:hover {
  text-decoration: none;
}

/*
 * SOCIAL colors
 */
.oc-whatsapp {
  color: #25d366 !important;
}
.oc-twitter {
  color: #1c9cea;
}
.oc-facebook {
  color: #4063ac;
}
.oc-instagram {
  color: #cf2872;
}
.oc-youtube {
  color: #f30310;
}
.oc-linkedin {
  color: #0a66c2;
}
.oc-soundcloud {
  color: #26d0a1;
}
.oc-pinterest {
  color: #df1b22;
}

