/*   
 * Original Template Name: Developer
 * Original Author: Xiaoying Riley
 * Twitter: @3rdwave_themes
 * Website: http://themes.3rdwavemedia.com/
 * Modified by: HTMLy Team + (separately) Noelle Bishop for Eleana, Inc.
*/

/* Primary typeface & font for titles or greater headings */
@font-face {
  font-family: "main";
  src: url("../fonts/CormorantSC-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

/* BOLDED Primary typeface & font for titles or greater headings */
@font-face {
  font-family: "main-bold";
  src: url("../fonts/CormorantSC-Bold.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}


/* Secondary typeface & font for body text or lesser headings */
@font-face {
  font-family: "secondary";
  src: url("../fonts//Barlow-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

/* ======= Base ======= */
body {
  font-family: "secondary", sans-serif;
  color: #666666;
  background: white;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Main headings rules */
h1 {
  font-family: "main", sans-serif;
  font-weight: 700;
  color: #006480;
}

h2,
h3,
h4,
h5,
h6 {
  font-family: "secondary", sans-serif;
  font-weight: 700;
  color: #006480;
}

h2.title {
  font-family: "main", sans-serif;
  font-weight: 700;
  color: #006480;
}

h2.heading {
  font-family: "main", sans-serif;
  font-weight: 700;
  color: #006480;
}

.h1, h1 {
  font-size: 24px;
}

.h2, h2 {
  font-size: 20px;
}

.h3, h3 {
  font-size: 18px;
}

.h4, h4 {
  font-size: 16px;
}

.h5, h5 {
  font-size: 14px;
}

.h6, h6 {
  font-size: 12px;
}

/* Body text and elements rules */
p {
  margin:1em 0;
}

.aside p, .related p {
  margin: 0 0 10px 0;
}

blockquote {
  margin:1em 0;
  font-size:20px;
  font-family: "Source Sans",sans-serif;
}

blockquote  p{
  margin: 0;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
  cursor: default;
}

a {
  color: #006480;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
}

a:hover {
  text-decoration: underline;
}

a:focus {
  text-decoration: none;
  color: unset;
}

.btn,
a.btn {
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  font-family: 'Montserrat', arial, sans-serif;
  padding: 5px 10px;
  font-size:12px;
}

.btn .fa,
a.btn .fa {
  margin-right: 5px;
}

.btn:focus,
a.btn:focus {
  color: #fff;
}

a.btn-cta-primary,
.btn-cta-primary {
  background: #54ba4e;
  border: 1px solid #54ba4e;
  color: #fff;
  text-transform: uppercase;
  font-size:12px;
}

a.btn-cta-primary:hover,
.btn-cta-primary:hover {
  background: #49ac43;
  border: 1px solid #49ac43;
  color: #fff;
}

a.btn-cta-secondary,
.btn-cta-secondary {
  background: #006480;
  border: 1px solid #006480;
  color: #fff;
  text-transform: uppercase;
  font-size:12px;
}

a.btn-cta-secondary:hover,
.btn-cta-secondary:hover {
  background: #006480;
  border: 1px solid #006480;
  color: #fff;
}

.text-highlight {
  color: #32383e;
}

.label-theme {
  background: #006480;
  font-size: 12px;
}

a.dotted-link {
  border-bottom: 1px dotted #778492;
  color: #778492;
}

a.dotted-link:hover {
  text-decoration: none;
  color: #49515a;
}

pre {
  margin:1em 0;
}

/* in-post tags rules */
.tags {
  margin-right:5px;
}

.tags a  {
  background-color: #666666;
  border-radius: 4px;
  color: white;
  padding: 2px 4px;
  text-decoration: none;
}

/*-------------------------
        Table
--------------------------*/
table {
  border: none;
  width: 100%;
  color: #333333;
  border: 1px solid #ddd;
  margin: 1em 0;
  white-space: pre-wrap;
  word-wrap: break-word;
}
th, td {
  padding: 5px 10px;
  border: none;
}
th {
  border-bottom: 1px solid #ddd;
  border-right: 1px solid #ddd;
  font-size: 16px;
}
td {
  border: 1px solid #ddd;
  border-top: none;
  border-left: none;
}

/*
iframe {

    .header {
        padding: 0;
    }
}

.iframe-wrapper {
    overflow: auto;
    -webkit-overflow-scrolling:touch;
}
*/

/* ======= Header ======= */
.header {
  padding: 30px 0;
  background: #f5f5f5;
  border-top: 10px solid #778492;
}

.header .btn {
  margin-top: 60px;
  font-weight: bold;
}

.header .logo {
  width:150px;
  height:150px;
  overflow:hidden;
  margin-right:20px;
  border-radius: 75px;
}

.header .logo-image {
  width:150px;
  height:150px;
}

.header .branding .name {
  color: #49515a;
  font-size: 34px;
  margin-bottom: 5px;
  margin-top: 15px;
}

.header .branding .name a {
  color: #49515a;
}

.header .branding .desc {
  color: #778492;
  font-family: "Lato", arial, sans-serif;
  font-weight: 400;
  font-size: 20px;
  margin-top: 0;
  margin-bottom: 10px;
}

.header .branding .social a {
  background: #b0b7bf;
  width: 36px;
  height: 36px;
  display: inline-block;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  border-radius: 50%;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  color: #fff;
  text-align: center;
}

.header .branding .social a:hover {
  background: #778492;
}

.header .branding .social a .fa {
  font-size: 20px;
  padding-top: 8px;
}

.header .menu .nav a {
  color: #778492;
}

.header .menu .nav li.active {
  background-color:#eee;
}

/*--------------------
 Menu and search
--------------------*/
.header .navbar-collapse {
  box-shadow: none;
}

.header .main-nav .navbar-toggle {
  margin-right: 0;
  margin-top: 8px;
  padding: 0;
}

.header .main-nav button {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0 padding-box;
  border-radius: 0;
  color: #ffffff;
}

.header .main-nav button:focus {
  outline: 0 none;
}

.header .main-nav button:hover {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
}

.header .main-nav button .icon-bar {
  background-color: #6f7581;
  height: 3px;
}

.dropdown-menu > .active > a, .dropdown-menu > .active > a:focus, .dropdown-menu > .active > a:hover {
  background-color: #eee;
  color: #434343;
  outline: 0 none;
  text-decoration: none;
}

.dropdown-menu.searchbox {
  position: absolute;
  right: 0;
  text-align: center;
  margin: auto;
}

.navbar-form {
  padding: 5px 25px;
  border: none;
  width: 250px;
}

.navbar-form.search .form-control {
  height: 35px;
  background: #fff;
  color: #666666;
  font-size: 11px;
}

.navbar-form.search .btn-submit {
  width: 35px;
  height: 35px;
  border: none;
  background: #A8BEE3;
  border-radius:0 4px 4px 0;
}

.navbar-form.search .btn-submit:hover {
  background: #006480;
}

.navbar-form.search .btn {
  font-weight: bold;
  margin-top: 0px;
}

.search-wrapper {
  padding-right:15px;
  padding-left:15px;
}

/* ======= Sections======= */
.sections-wrapper {
  padding-top: 30px;
  padding-bottom: 30px;
}

.section {
  margin-bottom: 30px;
}

.comment-wrapper.section {
  margin-bottom: 30px;
}

.section .section-inner {
  background: #f7f7f7;
  padding: 30px;
  border-radius: 1rem;
}

/* About the Author / Featured Posts = nth-of-type(1) - text alignment*/
.aside.section .section-inner:nth-of-type(1) {
  text-align: center;
}

/* Author (and Featured, but img !in Featured) - img styling */
.aside.section .section-inner:nth-of-type(1) img {
  display: block;
  width: 160px;
  height: 160px;

  margin: 0 auto 20px;

  border-radius: 50%;
  object-fit: cover;
}

.aside.section .section-inner hr {
  border: 1px solid #006480;
}

/* "Expert care" CTA = nth-of-type(3) - styling for hr within */
.aside.section .section-inner:nth-of-type(3) hr {
  border: none;
}

.aside.section .section-inner h2 {
  color: #006480;
}

/* CTA sidebar widget - main text */
.aside.section .section-inner:nth-of-type(3) h2 {
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 3.7rem);
  min-width: 0;
  word-break: keep-all;
}

/* CTA sidebar widget - bg img source and styling */
.aside.section .section-inner:nth-of-type(3) {
  background-image: url('../images/treelife_img1.webp');
  background-size: cover;
  background-position: center;

  display: flex;
  flex-direction: column;
  min-height: 300px;

  position: relative;
  overflow: hidden;
}

/* CTA sidebar widget - bg img dark overlay */
.aside.section .section-inner:nth-of-type(3)::before {
  content: "";
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.55);

  z-index: 0;
}

/* CTA sidebar widget - positioning of every element within (to be above img bg) */
.aside.section .section-inner:nth-of-type(3) > * {
  position: relative;
  z-index: 1;
}

/* CTA sidebar widget - positioning of elements inside */
.aside.section .section-inner:nth-of-type(3) .content {
  margin-top: auto;
  min-width: 0;
}

/* CTA sidebar widget - button styling */
.aside.section .section-inner:nth-of-type(3) button {
  border-radius: 1rem;
  border: none;

  color: #006480;
  background-color: #ffffff;

  padding: 8px 16px;

  transition: transform 0.2s ease;
}

/* CTA sidebar widget - button bg hover */
.aside.section .section-inner:nth-of-type(3) button:hover {
  transform: translateY(-2px);
  text-decoration: none;
  color: #006480;
}

/* CTA sidebar widget - button link hover */
.aside.section .section-inner:nth-of-type(3) a:hover {
 text-decoration: none;
}

.category-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.section .heading {
  margin-top: 0;
  margin-bottom: 20px;
  color: #5f6b77;
  font-size: 20px;
}
.section .content .more-link .fa {
  margin-right: 5px;
  font-size: 14px;
}
.breadcrumb {
  background-color: #fff;
  border-radius: 0px;
  list-style: outside none none;
  margin-bottom: 20px;
  padding: 10px 30px;
  font-family: "Source Sans",sans-serif;
}

/* About Section */
/* Latest Section */
.post .item {
  margin-bottom: 10px;
}
.post .item .title .label {
  margin-left: 5px;
  font-size: 12px;
}
.post .item .title a {
  color: #006480;
}
.post .item .title a:hover {
  opacity: 0.8;
  text-decoration: none;
}
.post .item .project-image:hover {
  -webkit-opacity: 0.8;
  -moz-opacity: 0.8;
  opacity: 0.8;
}
.post .item .title {
  margin-bottom: 10px;
  font-size: 24px;
  margin-top: 0;
}
.post .item .meta{
  color: #666666;
  font-family: "Source Sans",sans-serif;
  font-size: 16px;
  font-weight: 400;
  margin:0;
}
.post .item img {
  margin: 1em 0px;
}
.post .featured-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-top: 0;
}
.post .item .info, .post .item .desc {
  margin-bottom: 1em;
}
.inpost .post .item .desc {
  margin:0;
}
.post .featured {
  margin-bottom: 1em;
}
.post .featured-image {
  position: relative;
}
.item .quote .fa-quote-left {
  color: #006480;
  margin-right: 15px;
}
.item .quote .fa-quote-right {
  color: #006480;
  margin-left: 15px;
}
.featured-quote blockquote {
  font-size: 26px;
  margin:0;
  border:none;
}
.featured-link {
  font-size:26px;
  font-family: "Source Sans",sans-serif;
}
.featured-link .fa {
  margin-right:5px;
}
.tab {
  margin-bottom: 20px;
}
.pager {
  margin-top:0px;
  margin-bottom: 30px;
}
.in-profile .pager {
  margin-bottom:0px;
}

/* share section */
.share{
  padding-top:0;
}
.in-post .share {
  padding-top:0;
}
.share a{
  color: #006480;
  padding:4px;
  vertical-align: middle;
  display:inline-block;
  line-height: 1.42857;
  margin-bottom: 0
}

/* recent-posts Section */
.recent-posts .item {
  margin-bottom: 20px;
}
.recent-posts .item .title {
  font-size: 16px;
  line-height: 1.3;
}
.recent-posts .item .title a {
  color: #778492;
}
.recent-posts .item .title a:hover {
  color: #5f6b77;
}
.recent-posts .item:last-child {
  margin-bottom: 0;
}

.featured-posts {
  max-width: 1200px;
}

.featured-item {
  padding: 12px 0;
  border-bottom: 1px solid rgba(102, 102, 102, 0.2);
}

.featured-item:first-child {
  padding-top: 0;
}

.featured-item:last-child {
  border-bottom: none;
}

.featured-title {
  margin: 0 0 6px 0;

  font-size: 1.6rem;
  line-height: 1.3;
  font-weight: 600;
}

.featured-title a {
  color: #006480;
  text-decoration: none;
}

.featured-title a:hover {
  opacity: 0.8;
  text-decoration: none;
}

.featured-excerpt {
  margin: 0;

  color: #666666;
  font-size: 1.4rem;
  line-height: 1.2;
}

.about-extra-link {
  margin-top: 12px;
  color: #006480;
}

/* archive Section */
ul.archivegroup {
  margin: 0;
  padding: 0;
}
.archivegroup .expanded ul {
  display: block;
}
.archivegroup .collapsed ul {
  display: none;
}
.archivegroup li.expanded, .archivegroup li.collapsed {
  list-style: outside none none;
}
ul.month {
  list-style:none;
  padding:0;
  margin: 0.25em 0 0.25em 1.3em;
}

/* Category list section */

.category-list ul {
  padding-left:20px;
}

/* Tag section */
.tag-cloud a {
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 4px;
  font-size: 14px;
  line-height: 37px;
  padding: 5px 10px;
  margin-right:5px;
  color:#666;
}
.tag-cloud a:hover {
  opacity: 0.8;
}

/* Related section */
.related .item {
  margin-bottom: 0px;
}
.related .item .title {
  font-size: 16px;
  margin-top: 0;
}
.related .item .title .label {
  font-size: 12px;
  margin-left: 5px;
}
.related .item .title a {
  color: #778492;
}
.related .item .title a:hover {
    color: #5f6b77;
}
.related .item .project-image:hover {
  opacity: 0.8;
}
.related .divider {
  margin-bottom: 60px;
}

/* List section */
.list ul li {
  margin-bottom: 10px;
}
.list ul li .fa {
  margin-right: 5px;
}
.list ul li a {
  color: #778492;
}
.list ul li a:hover {
  color: #49515a;
}

/* footer base */
.footer {
  width: 100%;
  background: #006480;
  padding: 6rem 0 6rem 0;
}

/* footer floating card */
.footer-card {
  background: white;
  border-radius: 18px;
  padding: 40px;
  margin: 0 auto;

  width: min(1200px, 92%);
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}

.footer .container {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
}

.footer-row {
  width: 100%;
}

.footer-columns > div,
.footer-brand {
  min-width: 0;
}

.footer-columns a,
.footer-columns span,
.footer-columns sub,
.footer-brand p {
  overflow-wrap: break-word;
  word-break: normal;
}

/* footer row 1: brand + 4 cols */
.footer-row--top {
  display: grid;
  grid-template-columns: 1fr 4fr; /* reset to 1fr 4fr to add SEO section back in, 1fr to remove */
  gap: 40px;

  padding-bottom: 28px;
  border-bottom: 1px solid #e6e6e6;
}

.footer-brand img {
  width: clamp(160px, 20vw, 220px);
  height: auto;
  margin-bottom: 10px;
  display: block;
}

.footer-brand p {
  font-size: clamp(0.85rem, 1vw + 1rem, 1.5rem);
  line-height: 1.5;
  color: black;
  margin: 0;
}

/* REMOVE!!! and fix grid rule above to add SEO section back in
.footer-brand {
  display: none;
} */

/* 4-column section */
.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-columns h3 {
  color: #006480;
}

.footer-columns sub {
  color: black;
  font-size: 14px;
  line-height: 1.5;
}

.footer-columns span {
  color: black;
  font-size: 16px;
  line-height: 1.5;
}

/* footer row 2: CTAs + socials */
.footer-row--middle {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 22px 0;
  border-bottom: 1px solid #e6e6e6;
}

.footer-actions-left {
  display: flex;
  gap: 12px;
}

.footer-btn {
  padding: 10px 16px;
  border-radius: 4px;
  border: 2px solid #666666;
  font-weight: bold;

  min-width: 110px;

  background: #666666;
  color: #fff;

  cursor: pointer;
  transition: transform 0.2s ease;
}

.footer-btn:hover {
  background-color: white;
  color: #666666;
  -webkit-transition: background-color 200ms linear;
  -ms-transition: background-color 200ms linear;
  transition: background-color 200ms linear;
}

.footer-btn.footer-btn-contact:hover {
  background-color: #006480;
  color: white;
  -webkit-transition: background-color 200ms linear;
  -ms-transition: background-color 200ms linear;
  transition: background-color 200ms linear;
}

.footer-btn.footer-btn-contact {
  border: 2px solid #006480;
  background: #ffffff;
  color: #006480;
}

/* socials circles */
.footer-social {
  display: flex;
  gap: 10px;
  color: white;
}

.social-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #edefeb;
  border: none;
  cursor: pointer;
}

.social-icon:hover {
  opacity: 0.8;
}

/*.footer-input {
  padding: 10px 12px;
  border-radius: 4px;
  border: 1px solid #006480;

  background: transparent;
  color: #666666;
}

input:placeholder-shown {
  font-style: italic;
}
input:focus {
  outline: none;
  border-color: #006480;
}*/

/* footer row 3: meta */
.footer-row--bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  gap: 20px;

  padding-top: 18px;
  font-size: 1.25em;
  color: black;
}

.eleana-footer-note,
.eleana-footer-note a {
  font-size: calc(0.7476rem + 0.52vw);
}

.footer h3 {
  font-size: 16px;
  margin: 0 0 14px 0;
  letter-spacing: 0.03em;
}

.footer h4 {
  font-size: 14px;
  margin-bottom: 10px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 8px;
  font-size: 14px;
}

.footer a {
  color: black;
  text-decoration: none;
  font-size: 16px;
}

.footer-social a {
  color: #006480;
  font-size: 24px;
}

.eleana-footer-note a {
  text-decoration: none;
  font-size: calc(0.7476rem + 0.52vw);
}

.footer a:hover {
  text-decoration: underline;
}

.footer-social a:hover {
  text-decoration: none;
}

@media (max-width: 767px) {
  .header {
    text-align: center;
  }
  .header .logo {
    float: none !important;
    margin: 0 auto;
  }
  .header .branding {
    float: none !important;
    text-align: center;
  }
  .header .btn {
    margin-top: 30px;
    float: none !important;
  }
  .sections-wrapper {
    padding-top: 30px;
    padding-bottom: 0px;
  }
  .project-image {
    margin-bottom: 15px;
  }
  .main-nav .navbar-toggle, #navbar {
    float:none!important;
    text-align: center;
  }
}

@media (min-width: 1400px) {
  .container {
    width: 1360px;
  }
}

@media (max-width: 900px) {

  .footer-row--top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .footer-brand img {
    margin: 0 auto 16px;
  }

  .footer > .container:last-of-type {
    flex-direction: column;
    text-align: center;
  }

}

@media (max-width: 768px) {

  .footer-card {
    padding: 28px;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-row--middle {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .footer-actions-left {
    flex-direction: column;
  }

  .footer-btn {
    width: 100%;
  }

  .footer-social {
    justify-content: center;
    flex-wrap: wrap;
  }

  .social-icon {
    width: 56px;
    height: 56px;
  }

  .sections-wrapper .row {
    display: flex;
    flex-direction: column;
  }

  body.in-front .sections-wrapper .primary {
    order: 2;
  }

  body.in-front .sections-wrapper .secondary {
    order: 1;
  }

  /* Categories sidebar widget */
  .aside.section .section-inner:nth-of-type(2) {
    font-size: 1.7rem;
  }

  /* CTA sidebar widget - main text */
  .aside.section .section-inner:nth-of-type(3) h2 {
    font-size: 4rem;
  }

  /* CTA sidebar widget - button text */
  .aside.section .section-inner:nth-of-type(3) {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {

  .footer-card {
    padding: 20px;
  }

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

  .footer-brand img {
    margin: 0 auto 16px;
  }

  .footer h3 {
    font-size: 18px;
  }

  .footer a,
  .footer-columns span {
    font-size: 16px;
  }

  .footer-columns sub,
  .eleana-footer-note,
  .eleana-footer-note a {
    font-size: 14px;
  }
  
}

.pagination {
  margin-top:0;
  margin-bottom:15px;
}

.pagination > li > a, .pagination > li > span {
  color: #006480;
}

.pagination > .active > span {
  background-color: #006480;
  border-color: #006480;
}

.feed-link {
  display:inline;
  margin:0 0 0 10px;
  float:right;	
}

#more {
  display:block;
  height:1rem;
  margin-top:-1rem;
  box-shadow: none;
  border: none;
}

.social-logo a:before {
  padding-top:6px;
}
