/*
Theme Name: sh
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
::selection {
  background: var(--primary-color);
  color: white;
}

@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/


}

:root {
  /* --conic-start: 0;
      --conic-end: 100%; */
  --text-color: #1B0D0D;
}

@property --conic-start {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 0%;
}

@property --conic-end {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 100%;
}

h1 {
  font-family: "Bebas Neue";
  font-size: 6.5rem;
  font-style: normal;
  font-weight: 400;
  line-height: 6.375rem;
  /* 98.077% */
}

.hero h1 {
  color: #eee !important;
}

h2 {
  color: var(--text-color);
  font-family: "Bebas Neue";
  font-size: 3.5rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

h2.subpage-subheading {
  color: var(--primary-color);
  font-family: "Bebas Neue";
  font-size: 2.5rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

h1.subpage-heading {
  margin: 0;
}

.hero-subtitle {
  color: var(--primary-color);
  font-family: "Bebas Neue";
  font-size: 2.5rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.hero-img {
  margin-bottom: -30%;
}

.about-img {
  position: relative;
}

html {
  scroll-timeline: --gradientTimeline y;
  /* Firefox supports the older "vertical" syntax */
  scroll-timeline: --gradientTimeline vertical;
}

.about-img::before {
  --conic-start: 0;
  --conic-end: 100%;
  content: "";
  position: absolute;
  inset: -0.5rem;
  background-image: conic-gradient(from 180deg, #EC2727 var(--conic-start), rgba(0, 0, 0, 0) var(--conic-start), rgba(0, 0, 0, 0) var(--conic-end), #EC2727 var(--conic-end));
  border-radius: 50%;
  transition: --conic-start 7s ease-in-out;
  animation-name: gradientAnimation;
  animation-timeline: --gradientTimeline;

}

/* .col[data-animated="true"] .about-img::before{
  --conic-start: 75%;
} */
.button span {
  color: var(--text-color);
  text-align: center;
  font-family: "Bebas Neue";
  font-size: 2rem;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.0125rem;
  padding: .1rem;
}

.button.secondary.is-outline:hover span {
  color: white;
}

.button.header {
  background: white;
  margin: 0;
  padding: .6rem 1rem;
}

.afhverju-text li {
  color: var(--sh-light-grey, #EEE);
  font-family: "Rethink Sans";
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 700;
  line-height: 2.1875rem;
  /* 194.444% */
}

.afhverju-text .info-span {
  color: var(--sh-light-grey, #EEE);
  font-family: "Rethink Sans";
  font-size: 1.125rem;
  font-style: italic;
  font-weight: 400;
  line-height: 2.1875rem;
}

.afhverju-text p {
  color: var(--sh-light-grey, #EEE);
  font-family: "Rethink Sans";
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.4375rem;
  /* 127.778% */
}

.afhverju-text h2 {
  color: var(--sh-light-grey, #EEE);
  font-family: "Bebas Neue";
  font-size: 3.5rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.button.white span,
.button.white {
  color: white;
  border-color: white;
}

.button.white:hover span {
  color: var(--text-color);
}

.services-text li {
  list-style: none;
  color: var(--text-color);
  font-family: "Rethink Sans";
  font-size: 1.125rem;
  font-style: normal;
  line-height: 2.1875rem;
  display: flex;
  gap: 1ch;

}

strong.services-info {
  color: var(--text-color);
  font-family: "Rethink Sans";
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.4375rem;
  /* 127.778% */
}

.testimonial {
  display: flex;
  gap: 1rem;

}

.testimonial img {
  max-width: 20px;
}

.open-quote {
  place-self: baseline;
}

.close-quote {
  place-self: end;
}

.footer-text a {
  color: var(--sh-light-grey, #EEE);
  font-family: "Rethink Sans";
  font-size: 0.9375rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.1875rem;
}

#footer i {
  color: white;
}

a.nav-top-link.nav-top-link.nav-top-link {
  color: var(--sh-light-grey, #EEE);
  font-family: "Bebas Neue";
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}


.services-item-heading {
  display: flex;
  gap: 1rem;

}

.services-row h4 {
  color: var(--primary-color);
  font-family: "Rethink Sans";
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.4375rem;
  /* 127.778% */
}

.services-row h3 {
  font-family: "Bebas Neue";
  font-size: 3.5rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 0;
}

.services-row img {
  width: 3rem;
}

.services-row>.col>.col-inner {
  border: 1px solid black;
  border-radius: 1rem;
  padding: 5rem;
  /* 	min-height: 500px; */
  height: 100%;
}

.spurningar-col .col-inner {
  background: #D4D4D4;
}

.button:has(i) {
  display: flex;
  align-items: center;
  gap: 1ch;
  width: fit-content;
}

.button i {
  font-size: 2rem;
  margin-left: 0 !important;
}

ul.services li {
  list-style: none;
}

.afhverju-img {
  margin-top: -20%;
}

@media screen and (max-width: 800px) {
  ul.services li {
    display: grid;
    grid-template-columns: .2fr 1fr;
    grid-template-areas:
      "a b"
      "c c";
    align-items: center;
    padding: 1rem 0;
  }

  ul.services img {
    grid-area: a;
    width: 100%;
  }

  ul.services strong {
    grid-area: b;
  }

  ul.services span {
    grid-area: c;
  }

  ul.services .services-pipe {
    display: none;
  }

  .testimonial {
    max-width: 100%;
  }

  h1 {
    font-size: 4rem;
    line-height: 1;
  }

  .hero-subtitle {
    margin: 0;
  }

  .hero-img {
    margin-bottom: -50%;
  }

  .sidebar-menu .html.custom.html_topbar_left {
    justify-content: center;

  }

  .button.header {
    max-width: fit-content;
  }

  .about-img::before {
    animation-timeline: none;
    animation: gradientAnimation 3s ease-in-out forwards;
  }
	.blog-row {
		padding: 25px 50px 50px 50px !important; 
	}
}

@keyframes gradientAnimation {
  from {
    --conic-start: 0%;
  }

  100% {
    --conic-start: 100%;
  }
}

.header-logo-dark,
.logo {
  position: relative;
}

.header-logo-dark::before,
.logo::before {
  content: "";
  position: absolute;
  inset: -1rem;
  background-image: url(https://styrkurogheilsa.is/wp-content/uploads/2025/06/logo-bg.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.price {
  color: var(--sh-grey, #534B4B);
  text-align: right;
  font-family: "Rethink Sans";
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.4375rem;
  /* 127.778% */
  margin: 0;
}

#footer h2 {
  margin: 0;
}

.accordion-title.plain {
  color: var(--sh-light-grey, #EEE);
  font-family: "Rethink Sans";
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.4375rem;
  /* 127.778% */
  padding: 1rem;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
}

.accordion-title.plain .toggle {
  position: relative;
}

.accordion-inner {
  border-radius: 0rem 0rem 0.5rem 0.5rem;
  border: 1px solid var(--sh-grey, #D4D4D4);
  background: var(--sh-grey, #D4D4D4);
}

.accordion-inner p {
  color: var(--shtxt, #1B0D0D);
  font-family: "Rethink Sans";
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.4375rem;
  /* 127.778% */
}

body,
html {
  background: #1B0D0D;
}

.absolute-footer {
  display: none;
}

.blog-row {
  border-radius: 1rem;
  border: 1px solid var(--sh-grey, #534B4B);
  background: var(--sh-light-grey, #EEE);
  transform: translateY(-100px);
  padding: 50px 100px 100px 100px;
}

.single-post-hero {
  min-height: 60vh;
}

.blog-title-container {
  text-align: center;
  margin-bottom: 3rem;
}

h1.post-title {
  color: var(--shtxt, #1B0D0D);
  text-align: center;
  font-family: "Bebas Neue";
  font-size: 3.75rem;
  font-style: normal;
  font-weight: 400;
  line-height: 6.375rem;
  /* 170% */
  margin: 0;
}

.post-date {
  color: var(--sh-grey, #534B4B);
  text-align: center;
  font-family: "Rethink Sans";
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.4375rem;
  /* 127.778% */
}

.related-post-card {
  border-radius: 1rem;
  border: 1px solid #534B4B;
  overflow: hidden;
}

.related-post-card img {
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 1em;
}

h2.related-post-title {
  color: var(--shtxt, #1B0D0D);
  font-family: "Bebas Neue";
  font-size: 2.1875rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  padding-left: 20px;
  margin-bottom: 10px;

}

.related-post-date {
  color: var(--sh-grey, #534B4B);
  font-family: "Rethink Sans";
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.4375rem;
  /* 127.778% */
  padding-left: 20px;
}

.blog-title {
  color: var(--shtxt, #1B0D0D);
  font-family: "Bebas Neue";
  font-size: 6.5rem;
  font-style: normal;
  font-weight: 400;
  line-height: 6.375rem;
  /* 98.077% */
  margin: 0;
}

.blog-subtitle {
  color: var(--sh-raudur, #EC2727);
  font-family: "Bebas Neue";
  font-size: 2.5rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.fraedsla-archive img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

button#load-more {
  text-align: center;
  font-family: "Bebas Neue";
  font-size: 2rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.0125rem;
}