/* Listing */
.archive .loop-container,
.blog .loop-container {
  padding-top: 5rem;
}

@media (min-width: 768px) {
  .archive .loop-container .row.main-row,
  .blog .loop-container .row.main-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }

  .archive .loop-container .blog-header,
  .blog .loop-container .blog-header {
    margin-bottom: 3rem;
  }
}

@media (min-width: 768px) and (max-width: 960px) {
  .loop-container .post {
    flex-basis: 100% !important;
  }
}

.archive .loop-container .row > div,
.blog .loop-container .row > div {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
}

.archive .loop-container .blog-header h1,
.blog .loop-container .blog-header h1 {
  max-width: 600px;
}

.archive .loop-container .post,
.blog .loop-container .post {
  border-bottom: 1px solid #dedede;
}

.archive .loop-container .post .post-wrap,
.blog .loop-container .post .post-wrap {
  border-bottom: unset;
}

.archive .loop-container .post .post-wrap .thumbnail-area,
.blog .loop-container .post .post-wrap .thumbnail-area {
  display: block;
  width: 100%;
  padding-bottom: 66%;
  border-radius: 10px;
  overflow: hidden;
}

.archive .loop-container .post .post-wrap .thumbnail-area img,
.blog .loop-container .post .post-wrap .thumbnail-area img {
  display: none;
}

.archive .loop-container .post .post-wrap .post-loop .post-details,
.blog .loop-container .post .post-wrap .post-loop .post-details,
.archive .loop-container .post .post-wrap .post-loop .post-details span a,
.blog .loop-container .post .post-wrap .post-loop .post-details span a,
.archive .loop-container .post .post-wrap .post-loop .post-details a,
.blog .loop-container .post .post-wrap .post-loop .post-details a {
  color: #717374;
  font-size: 14px;
}

.archive .loop-container .post .post-wrap .post-loop .post-details a:hover,
.blog .loop-container .post .post-wrap .post-loop .post-details a:hover {
  color: #007DB8;
}

.archive .loop-container .post .post-wrap .post-loop .post-details,
.blog .loop-container .post .post-wrap .post-loop .post-details {
  margin-bottom: 1.5rem;
}

.archive .loop-container .post .post-wrap .post-loop > a,
.blog .loop-container .post .post-wrap .post-loop > a {
  color: black;
}

.archive .loop-container .post .post-wrap .post-loop > a:hover,
.blog .loop-container .post .post-wrap .post-loop > a:hover {
  color: #007DB8;
}

.archive .loop-container .post .post-wrap .post-loop a h3,
.blog .loop-container .post .post-wrap .post-loop a h3 {
  font-size: 30px;
  line-height: 1.35;
  margin-top: 1.75rem;
}

.archive .loop-container .post .post-wrap .post-loop .excerpt-category::after,
.blog .loop-container .post .post-wrap .post-loop .excerpt-category::after {
  content: unset;
  display: none;
}

.archive .loop-container .post .post-wrap .post-loop .excerpt-category a,
.blog .loop-container .post .post-wrap .post-loop .excerpt-category a {
  color: #000;
  margin-right: 0;
}

.archive .loop-container .post .post-wrap .post-loop .excerpt-category a:hover,
.blog .loop-container .post .post-wrap .post-loop .excerpt-category a:hover {
  color: #007DB8;
}

.archive .loop-container .post .post-wrap .post-loop .post-excerpt,
.blog .loop-container .post .post-wrap .post-loop .post-excerpt {
  font-weight: 600;
  line-height: 24px;
}

@media (min-width: 768px) {
  .loop-container .post {
    margin-bottom: 4.5rem;
    flex-basis: calc(50% - 30px);
  }
}


/* Pagination */
.post-pagination {
  text-align: center;
  padding: 0 0 5rem 0;
}

@media (min-width: 768px) {
  .post-pagination {
    flex-basis: 100%;
    text-align: right;
    padding-right: 10%;
  }
}

@media (max-width: 767px) {
  .post-pagination {
    margin: 0 auto;
  }
}

.post-pagination .page-numbers:not(.prev):not(.next) {
  color: #000;
  padding: .2rem .05rem;
  font-size: 14px;
  letter-spacing: 0.5px;
  line-height: 22px;
  font-weight: 400;
  pointer-events: none;
}

.post-pagination .page-numbers.current .screen-reader-text {
  clip: unset;
  position: unset !important;
  height: unset;
  width: unset;
  overflow: unset;
}

.post-pagination .pagination .page-numbers.prev::before, .post-pagination .pagination .page-numbers.next::after {
  font-size: 27px;
  font-weight: 300;
  font-family: Fontawesome;
  line-height: 50px;
  position: absolute;
  top: -100%;
  -webkit-transition: all .3s;
  transition: all .3s;
  display: inline-block;
  margin: 0 -20px;
  height: 50px;
  width: 50px;
  border-radius: 50px;
  border: 2px solid;
  transform: translateY(10px);
  opacity: 0.3;
  text-align: center;
}

.post-pagination .pagination .page-numbers.next::after {
  content: '\f105';
  right: 0;
}

.post-pagination .pagination .next:hover::after {
  right: 0;
  opacity: 1;
}

.post-pagination .pagination .page-numbers.prev::before {
  content: '\f104';
  left: 0;
}

.post-pagination .pagination .prev:hover::before {
  left: 0;
  opacity: 1;
}

.post-pagination .pagination .page-numbers:nth-child(2):not(.current):not(.dots) {
  display: none;
}

.post-pagination .pagination .page-numbers:nth-child(2):not(.current):not(.dots) + .page-numbers.dots {
  display: none;
}

.post-pagination .pagination .nav-links {
  display: flex;
  align-items: center;
}

.post-pagination .pagination .nav-links .prev,
.post-pagination .pagination .nav-links .next  {
  padding: .2rem !important;
}

.post-pagination .pagination .page-numbers.prev::before,
.post-pagination .pagination .page-numbers.next::after {
  position: relative;
  top: unset;
  right: unset;
  left: unset;
  transform: unset;
  margin: 0;
}

/* Single Post */
@media (min-width: 768px) {
  .single-post .ct-main-body .post-body > .row {
    display: flex;
    justify-content: space-between;
  }
}

.archive .site-header,
.blog .site-header,
.single-post .site-header {
    box-shadow: 0 1rem 1rem rgba(42, 49, 57, 0.05) !important;
}

.single-post .excerpt-author {
  margin-top: 3em;
  display: flex;
  align-items: center;
}

.single-post .excerpt-author::after {
  content: unset;
}

.single-post .excerpt-author .author-thumbnail {
  flex-basis: 120px;
  margin-right: 20px;
}

.single-post .excerpt-author .author-thumbnail img {
  width: 100px;
}

.single-post .excerpt-author .author-name {
  flex-basis: calc(100% - 120px);
}

.single-post .excerpt-author .author-name span {
  display: block;
  color: #000000;
}

.single-post .excerpt-author .author-name span a {
  margin-right: 0;
  color: #000000;
}

.single-post .excerpt-author .author-name .author {
  font-weight: 800;
  color: #000000;
}

.single-post .featured-display {
  padding-top: 5em;
}

.single-post .post-body {
  margin-top: 2em;
  margin-bottom: 5em;
}

.single-post .featured-thumbnail .thumbnail-area {
  display: block;
  margin-bottom: 5em;
}

.single-post .featured-thumbnail .thumbnail-area img {
  border-radius: 10px;
  display: block;
}

.single-post .post-body .hentry .post-content p,
.single-post .post-body .hentry .post-content ul,
.single-post .post-body .hentry .post-content li  {
  font-size: 20px;
  line-height: 30px;
  font-weight: 500;
}

.single-post .post-body .hentry .post-content ul {
  padding: 0;
  list-style: none;
}

.single-post .post-body .hentry .post-content ul li {
  padding: 0 0 0 1em;
  margin-left: 0;
  position: relative;
  line-height: 30px;
}

.single-post .post-body .hentry .post-content ul li::before {
  content: '•';
  font-size: 43px;
  line-height: 20px;
  position: absolute;
  left: 0;
  top: 0;
  color: #fae600;
}

.single-post .post-body .hentry .post-content p:first-of-type  {
  font-size: 24px;
  line-height: 34px;
}

.single-post .post-body .hentry .post-content .wpb_single_image .vc_figure-caption {
  margin: 0.5em 0 3em;
  font-size: 14px;
  text-align: left;
  color: #a6a7a8;
}

/* Widget Sidebar - Global */
.sidebar-widgetarea {
  margin-bottom: 5rem;
}

.sidebar-widgetarea h1, .sidebar-widgetarea h2, .sidebar-widgetarea h3, .sidebar-widgetarea h4, .sidebar-widgetarea h5, .sidebar-widgetarea h6 {
  font-family: "Arima Madurai", cursive;
  letter-spacing: unset;
  font-weight: 600;
  color: #000000;
  text-transform: none;
}

.sidebar-widgetarea h3 {
  font-size: 30px;
  line-height: 40px;
  margin-bottom: 5px;
}

.sidebar-widgetarea h4 {
  font-size: 24px;
  line-height: 34px;
  margin-bottom: 5px;
}

.sidebar-widgetarea p {
  font-size: 16px;
  line-height: 24px;
}

.sidebar-widgetarea .menu-categories-container .menu .menu-item {
  margin-left: 0;
  padding: 15px 5px;
  border-bottom: 2px solid #f4f5f5;
}

.sidebar-widgetarea .menu-categories-container .menu .menu-item::before {
  content: unset;
}

.sidebar-widgetarea .menu-categories-container .menu .menu-item a {
  font-size: 20px;
  line-height: 24px;
  font-weight: 800;
}

@media (max-width: 767px) {
  .sidebar-widgetarea {
      display: none;
  }
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 3em 0 0;
  text-transform: uppercase;
  font-weight: 700;
  color: #007DB8;
  font-size: 14px;
  letter-spacing: 0.5px;
}
@media (max-width: 767px) {
  .single-post h1 {
    font-size: 35px;
    line-height: 45px;
  }

  .single-post .post-body .hentry .post-content p:first-of-type {
    font-size: 18px;
    line-height: 28px;
  }

  .single-post .post-body .hentry .post-content p,
  .single-post .post-body .hentry .post-content ul, .single-post .post-body .hentry .post-content li {
    font-size: 16px;
    line-height: 24px;
  }
}

/* Header */
.site-header .nine.columns #mega-menu-wrap-header_menu #mega-menu-header_menu > li.mega-menu-item.menu-item-mobile {
  display: none;
}

@media (max-width: 600px) {
  .site-header .three.columns {
    padding: 0;
    display: block;
    width: 100%;
  }

  .site-header .nine.columns {
    padding: 0;
    display: block;
    width: 100%;
  }

  .site-header .nine.columns #mega-menu-wrap-header_menu #mega-menu-header_menu > li.mega-menu-item {
    margin-right: 0 !important;
  }

  .site-header .nine.columns #mega-menu-wrap-header_menu #mega-menu-header_menu > li.mega-menu-item > .mega-sub-menu li.mega-menu-row ul.mega-sub-menu li.mega-menu-column#mega-menu-12-0-3 {
    float: none;
  }

  .site-header .site-branding {
    text-align: center;
  }
  
  .top-bar .seven.columns {
    display: none;
    margin: 0;
    padding: 0;
  }
  
  .top-bar .five.columns {
    text-align: center;
    padding: 0;
  }
  
  .top-bar {
    display: block;
    background-color: #007db8;
  }

  .top-bar .divider {
    display: none;
  }

  .top-bar #menu-eyebrow-nav-mobile {
    align-items: center;
    justify-content: space-between;
  }

  .top-bar #menu-eyebrow-nav-mobile li {
    margin: 0 5px;
  }

  .top-bar #menu-eyebrow-nav-mobile a {
    color: white;
  }

  #mega-menu-wrap-header_menu .mega-menu-toggle .mega-toggle-block-1:after {
    font-size: 30px;
    color: #717374 !important;
  }

  .site-header > .container {
    width: 100%;
  }

  .site-header .nine.columns #mega-menu-wrap-header_menu #mega-menu-header_menu {
    padding-top: 15px;
    padding-bottom: 0;
    margin-bottom: -16px;
  }

  .site-header #mega-menu-wrap-header_menu #mega-menu-header_menu li.mega-menu-item a.mega-menu-link .mega-indicator {
    display: block;
    color: #007db8;
  }

  .site-header .nine.columns #mega-menu-wrap-header_menu #mega-menu-header_menu > li.mega-menu-item a.mega-menu-link {
    font-size: 24px !important;
    font-weight: 400;
    height: unset;
    padding: 19px;
    border-top: 1px solid #dedede;
  }

  .site-header .nine.columns #mega-menu-wrap-header_menu #mega-menu-header_menu > li.mega-menu-item + li.mega-menu-item {
    margin-top: -1px !important;
  }

  .site-header .nine.columns #mega-menu-wrap-header_menu #mega-menu-header_menu > li.mega-menu-item > .mega-sub-menu {
    padding: 0;
    max-height: 588px;
    overflow: scroll;
  }

  .site-header .nine.columns #mega-menu-wrap-header_menu #mega-menu-header_menu > li.mega-menu-item > .mega-sub-menu li.mega-menu-row ul.mega-sub-menu li.mega-menu-column ul.mega-sub-menu li.mega-menu-item,
  .site-header .nine.columns #mega-menu-wrap-header_menu #mega-menu-header_menu > li.mega-menu-item > .mega-sub-menu li.mega-menu-row ul.mega-sub-menu li.mega-menu-column ul.mega-sub-menu li.mega-menu-item ul li {
    margin: 0 !important;
  }

  .site-header .nine.columns #mega-menu-wrap-header_menu #mega-menu-header_menu > li.mega-menu-item > .mega-sub-menu li.mega-menu-row ul.mega-sub-menu li.mega-menu-column ul.mega-sub-menu li.mega-menu-item ul li {
    font-weight: 400;
    height: unset;
    padding: 19px;
  }

  .site-header .nine.columns #mega-menu-wrap-header_menu #mega-menu-header_menu > li.mega-menu-item > .mega-sub-menu li.mega-menu-row ul.mega-sub-menu li.mega-menu-column ul.mega-sub-menu li.mega-menu-item ul li + li {
    border-top: 1px solid #dedede;
  }

  .site-header .nine.columns #mega-menu-wrap-header_menu #mega-menu-header_menu > li.mega-menu-item > .mega-sub-menu li.mega-menu-row ul.mega-sub-menu li.mega-menu-column + li.mega-menu-column {
    border-top: 1px solid #dedede;
  }

  .site-header .nine.columns #mega-menu-wrap-header_menu #mega-menu-header_menu > li.mega-menu-item > .mega-sub-menu li.mega-menu-row ul.mega-sub-menu li.mega-menu-column ul.mega-sub-menu li.mega-menu-item ul li a {
    font-size: 24px;
  }

  .site-header .nine.columns #mega-menu-wrap-header_menu #mega-menu-header_menu > li.mega-menu-item a.mega-menu-link::after {
    content: unset;
  }

  .site-header .nine.columns #mega-menu-wrap-header_menu #mega-menu-header_menu > li.mega-menu-item.menu-item-mobile {
    display: block;
  }

  .site-header .nine.columns #mega-menu-wrap-header_menu #mega-menu-header_menu > li.mega-menu-item.menu-item-mobile a.mega-menu-link {
    margin: 0 !important;
    padding: 10px 19px;
    font-size: 22px !important;
    color: #007db8;
    background-color: unset;
    line-height: 35px;
  }

  .site-header .nine.columns #mega-menu-wrap-header_menu #mega-menu-header_menu > li.mega-menu-item.menu-item-mobile.menu-item-icon a.mega-menu-link {
    padding: 15px 19px;
  }

  #mega-menu-wrap-header_menu #mega-menu-header_menu > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item {
    clear: both;
    margin: 0 !important;
  }

  .site-header .nine.columns #mega-menu-wrap-header_menu #mega-menu-header_menu > li.mega-menu-item.menu-item-mobile.menu-item-icon a.mega-menu-link {
    color: black;
    font-weight: bold;
    display: flex;
    align-items: center;
  }
  
  .site-header #mega-menu-wrap-header_menu #mega-menu-header_menu li.mega-menu-item > ul.mega-sub-menu li.mega-menu-row ul.mega-sub-menu li.mega-menu-column ul.mega-sub-menu li.mega-menu-item li > a::after {
    content: unset;
  }

  .site-header .nine.columns #mega-menu-wrap-header_menu #mega-menu-header_menu > li.mega-menu-item.menu-item-mobile.menu-item-icon a.mega-menu-link::before {
    content: '';
    width: 46px;
    height: 46px;
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
    margin-right: 10px;
  }

  .site-header .nine.columns #mega-menu-wrap-header_menu #mega-menu-header_menu > li.mega-menu-item.menu-item-mobile.menu-item-icon.find-doctor a.mega-menu-link::before {
    background-image: url('https://www.sunriver.org/wp-content/uploads/2020/09/find-doctor-sml.svg');
  }

  .site-header .nine.columns #mega-menu-wrap-header_menu #mega-menu-header_menu > li.mega-menu-item.menu-item-mobile.menu-item-icon.request-appointment a.mega-menu-link::before {
    background-image: url('https://www.sunriver.org/wp-content/uploads/2020/09/appointments-sml.svg');
  }

  .site-header .nine.columns #mega-menu-wrap-header_menu #mega-menu-header_menu > li.mega-menu-item.menu-item-mobile.menu-item-icon.pay-bill a.mega-menu-link::before {
    background-image: url('https://www.sunriver.org/wp-content/uploads/2020/09/bill-pay-sml.svg');
  }

  .site-header .nine.columns #mega-menu-wrap-header_menu #mega-menu-header_menu > li.mega-menu-item.menu-item-mobile.menu-item-icon.telemedicine a.mega-menu-link::before {
    background-image: url('https://www.sunriver.org/wp-content/uploads/2020/09/telemedicine-sml.svg');
  }

  a.mega-menu-link.extra-link {
    position: relative;
    padding: 14px 19px !important;
  }

  a.mega-menu-link.extra-link::before {
    content: 'Back';
    position: absolute !important;
    width: 100% !important;
    background-color: white !important;
    pointer-events: none !important;
    top: 0 !important;
    left: 0 !important;
    padding: 14px 19px 14px 38px;
    font-size: 22px !important;
    font-family: inherit !important;
    color: #007db8 !important;
  }

  .site-header #mega-menu-wrap-header_menu #mega-menu-header_menu li.mega-menu-item a.mega-menu-link.extra-link .mega-indicator {
    float: left;
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }

  .site-header #mega-menu-wrap-header_menu #mega-menu-header_menu li.mega-menu-item a.mega-menu-link.extra-link .mega-indicator::after  {
    content: '\f104';
    float: left;
    margin: 0;
    left: 19px;
    transform: unset;
    font-family: fontawesome;
  }

  a.mega-menu-link.extra-link .mega-indicator {
    transform: rotate(180deg);
  }
}

/* Footer */
@media (max-width: 600px) {
  .ct-footer .u-full-width {
    padding: 3em 0 !important;
  }

  .ct-footer > .u-full-width h2 {
    font-size: 30px;
    line-height: 40px;
    padding-bottom: 0;
    margin-bottom: 0.75em;
    border-bottom: 0;
  }

  .ct-footer .u-full-width .columns {
    padding: 0 !important;
  }

  .ct-footer > .u-full-width ul {
    -webkit-columns: 2;
    columns: 2;
    -webkit-column-gap: 6.5em;
    column-gap: 6.5em;
  }

  .ct-footer .ct-bottom-bar .footer-site-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }

  .ct-footer .ct-bottom-bar .footer-site-info > span .divider {
    display: none;
  }

  .ct-footer .ct-bottom-bar .footer-site-info > span a {
    display: block;
  }

  .ct-footer .ct-bottom-bar .footer-site-info > span {
    padding: 0;
    text-align: left;
    flex-basis: 50%;
  }
}

/* Category */
.tax-foundation_category .ct-main-body {
  background-color: #99d6ea;
}