header.scrolled {
  background-color: #168bd1;
  height: 60px;
  -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
          box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

.header__nav {
  margin-top: 0;
}

.header__logo a {
  display: block;
  max-width: 128px;
}

.header__logo img {
  width: 100%;
  height: 100%;
}

.header__logo svg {
  fill: #fff;
}

.header__nav ul li {
  float: left;
  margin: 0;
}

.header__nav ul li:not(:last-child) {
  margin-right: 10px;
}

.page-logo {
	max-width: 400px;
	display: block;
	position: relative;
  margin: 0 auto;
  padding: 10px 0 25px 0;
  text-decoration: none;
}

.page-logo svg .st0 {
  fill: #0C4265;
}

.page-logo svg .st1 {
  fill: #0288D1;
}

@media (max-width: 768px) {
  .page-logo {
    display: none;
  }
}

.text-center {
  text-align: center;
}

#ed-blog-single article img.aligncenter {
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

#main--nav ul.sub-menu li:not(:last-child) {
  margin-right: 0;
}

.full-post-sidebar .ebs-share {
  margin: 0;
  padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  font-size: 13px;
}

.full-post-sidebar .ebs-share .a2a_kit {
  margin-left: 10px;
}

.full-post-sidebar .ebs-share .a2a_kit a {
  width: 25px;
  height: 30px;
  background-size: 20px auto;
}

.full-post-sidebar .ebs-share #eb_social_counter {
  top: 4px;
}

.full-post-sidebar.at-top .ebs-date {
  margin: 10px 0;
}

.full-post-sidebar.at-top .ebs-share {
  margin-bottom: 25px;
}

.header__nav ul li a,
nav ul li.current-menu-ancestor > a,
.header__nav ul li.current-menu-item > a {
  text-transform: none;
  color: white;
  font-weight: 500;
  font-size: 14px;
  padding: 0 20px;
  height: 60px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.header__nav ul.sub-menu li {
  width: 100%;
}

.scrolled nav ul.sub-menu {
  box-shadow: none;
}

.header__nav ul.sub-menu li a,
.header__nav ul.sub-menu li.current-menu-item > a {
  height: 40px;
  font-weight: 400;
}

.header__nav .menu-item.is-active {
  background-color: #147ab8;
}

.header__nav ul li:hover > a {
  background-color: #147ab8;
  border: 0;
}

.header__nav ul li.current-menu-item > a:hover {
  border: 0;
}

.header__nav ul li a:hover {
  color: white;
  border-color: white;
  font-weight: 500;
}

.header__nav ul.sub-menu li a:hover {
  background-color: transparent;
  font-weight: 500;
}

nav ul li ul li a:before {
  display: none;
}

.scrolled nav li.menu-item-has-children {
  padding-bottom: 0;
}

#ebr-sidebar .ebr-sidebar-title {
  text-align: center;
}

#ebr-sidebar ul li {
  padding-left: 0;
  padding-right: 0;
}

#single-page {
  padding-top: 50px;
}

#searchsubmit {
  background-size: 28px;
}

#searchsubmit,
#searchsubmit.active {
  background-image: url('../../images/ic_search_white_24dp_2x.png');
}

#main--nav ul {
  margin-right: 0;
  margin-left: 30px;
}

#main--nav ul.sub-menu {
  top: 60px;
  left: 0;
  margin: 0;
  padding: 0;
  min-width: 230px;
  background-color: #147ab8;
  display: none;
}

#mobile--nav ul.sub-menu {
  display: none;
  padding-top: 10px;
}

#main-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 100%;
  padding: 0 20px;
}

#content_wrapper {
  padding-top: 80px;
}

#ed-blog-featured {
  margin-top: 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

#nav-search {
  right: 20px;
  top: 0;
  height: 60px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.ebr-title a {
  display: block;
  margin-top: 5px;
}

#edblog-archive-top {
  padding-top: 0;
}

#mobile--nav {
  position: fixed;
  top: 60px;
  overflow: auto;
  margin: 0;
  padding: 20px 10px;
}

#mobile--nav ul {
  margin: 0;
}

#mobile--nav ul li {
  margin-bottom: 10px;
}

#mobile--nav ul li:last-child {
  margin-bottom: 0;
}

.ebr-cats span {
  -webkit-transition: background-color 0.3s ease-in-out;
  transition: background-color 0.3s ease-in-out;
}

.ebr-cats span:hover {
  background-color: #0C426E;
}

#footer-bottom {
  padding-top: 45px;
  font-size: 14px;
}

#ebr-sidebar {
  margin-bottom: 45px;
  padding: 0;
}

#editorial-blog-page a {
  font-style: inherit;
}

.ebr-title p {
  margin-top: 10px;
}

#mobile-nav {
  background-color: transparent;
}

.ed-blog-featured {
  position: relative;
  min-height: 0;
  padding-bottom: 56.25%;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.tag-image {
  max-width: 150px;
  margin-bottom: 20px;
}

.ed-blog-featured > div {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

@media (min-width: 769px) {
  .header__logo {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }

  #main-nav {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
  }
}

@media (max-width: 768px) {
  .single-news .ebr-cats {
    display: block;
  }
  #main-header {
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }

  #mobile--nav ul li a {
    display: block;
  }

  .header__logo {
    margin: auto;
  }

  .header__logo a {
    margin: 0 65px;
  }


  #nav-search {
    position: absolute;
    left: auto;
    right: auto;
    top: auto;
  }

  #mobile-toggle {
    right: 0;
    top: auto;
  }

  .ebr-title {
    margin-bottom: 10px;
  }

  #ed-blog-roll article {
    margin-bottom: 20px;
  }

  .ebr-meta {
    padding-bottom: 20px;
  }

  .ed-blog-featured {
    margin-bottom: 20px;
  }

  #ebr-sidebar {
    margin-bottom: 0;
  }

  .ebs-twitter {
    margin-top: 10px;
    margin-bottom: 20px;
  }

  .ebs-share {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }

  .ebs-share .a2a_kit {
    margin-left: 10px;
  }
}

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

#wpadminbar {
  opacity: 1;
}

/* New Heading Sizes */
#ed-blog-single h1 { font-size: 44px; }
#ed-blog-single h2 { font-size: 37px; line-height: 1; }

.ebs-author__avatar {
  margin-bottom: 10px;
}

.ebs-author__avatar img {
  border-radius: 50% !important;
}

.dropcap {
  font-family: Georgia, serif;
  font-size: 75px;
  float: left;
  line-height: 62px;
  padding-right: 10px;
  padding-bottom: 10px;
}

.ebs-author span {
  display: inline;
}

.ebs-date {
  margin: 15px 0;
}

.post-subtitle {
  margin-bottom: 25px;
  font-size: 25px;
  text-align: center;
}

.pullquote {
  color: #0C426E;
  margin: 35px 0;
  font-style: italic;
  font-size: 25px;
}

.c-index {
  background-color: #f5f5f5;
  margin-bottom: 25px;
  padding: 20px;
}

.c-index ul {
  padding: 0;
  margin: 0 0 0 20px;
}

.c-index li {
  margin-bottom: 8px;
}

.c-index ul li ul {
  margin-top: 8px;
  margin-left: 20px;
}

.c-index a:hover {
  text-decoration: underline !important;
}

.c-pullout {
  background-color: #f5f5f5;
  padding: 20px;
  font-size: 14px;
}

@media (min-width: 601px) {
  .c-pullout {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .c-pullout--right {
    float: right;
    margin-left: 20px;
  }

  .c-pullout--left {
    float: left;
    margin-right: 20px;
  }
}

.c-pullout h4 {
  font-size: 16px;
  margin-bottom: 10px;
}

.c-pullout a:hover {
  text-decoration: underline !important;
}
