
/* 
======================================================
THEME FONTS
======================================================
*/
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,400;0,600;0,700;0,900;1,400&display=swap');
/*
font-family: 'Source Sans Pro', sans-serif;
font-weight: 400;
font-weight: 600;
font-weight: 700;
font-weight: 900;
*/

/* 
======================================================
THEME COLORS
======================================================
*/
/* --- Primary color --- */
/*background*/
.bg-primary     { background-color: #48726B!important; }
/*text*/
.txt-primary    { color: #48726B!important; }


/* --- Scales of grey --- */
/*background*/
.bg-light-grey  { background-color: #f2f3f4!important; }
.bg-mid-grey    { background-color: #a0a5a8!important; }
.bg-dark-grey   { background-color: #3d474d!important; }
/*text*/
.txt-light-grey { color: #f2f3f4!important; }
.txt-mid-grey   { color: #a0a5a8!important; }
.txt-dark-grey  { color: #3d474d!important; }

/* 
======================================================
BASE
======================================================
*/

body {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #444444;
    -webkit-font-smoothing: antialiased;
    /* Font rendering in Chrome on Mac */
    -moz-osx-font-smoothing: grayscale;
    /* Font rendering in Firefox on Mac */
}

a,
a:link,
a:active {
  color: #48726B;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
  color: #336180;
}

ul {
  padding-left: 1.25rem;
}

li {
  color: #3b454e;
  font-size: 1rem;
}

td {
  font-size: 1rem;
}


/* 
======================================================
TEXT AND TYPOGRAPHY
======================================================
*/

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
    color: #48726B;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: .5rem;
  text-transform: initial;
}

h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: .25rem;
  text-transform: uppercase;
}

h3 {
  color: #3d474d;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: .25rem;
  text-transform: uppercase;
}

h4 {
  color: #3d474d;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: .25rem;
}

h5 {
  font-size: 1rem;
  margin-bottom: .25rem;
}

h6 {
  font-size: .875rem;
  margin-bottom: .25rem;
}

h3+h4 {
  margin-top: .75em;
}

p {
  font-weight: 400;
  line-height: 1.5;
}

img+p,
video+p {
  margin-top: 1rem;
}

p+h2,
p+h3,
p+h4 {
  margin-top: 1.5em;
}

p.ingress {
  font-size: 1.125rem;
  font-weight: 600;
}


@media (min-width: 576px) {
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    -webkit-hyphens: manual;
    -ms-hyphens: manual;
    hyphens: manual;
    /*hyphen only at ‐ or ­ (if needed)*/
  }
}

@media (min-width: 992px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.25rem;
  }
  h4 {
    font-size: 1.125rem;
  }
  p.ingress {
    font-size: 1.25rem;
    line-height: 1.4;
  }
}

@media (min-width: 1200px) {
  h1 {
    font-size: 2.5rem;
  }
}

/* 
======================================================
LAYOUT UTILITIES
======================================================
*/

/* Spacing utilites X */

.padding-x-row {
  padding-left: 15px;
  padding-right: 15px;
  transition: .5s;
}

@media (min-width: 768px) {
  .padding-x-row {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1200px) {
  .padding-x-row {
    padding-left: 8vw;
    padding-right: 8vw;
  }
}


/* Spacing utilites y */

.padding-y-row {
  padding-top: 2rem;
  padding-bottom: 2rem;
  transition: .5s;
}

@media (min-width: 960px) {
  .padding-y-row {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}

@media (min-width: 1200px) {
  .padding-y-row {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}


/* 
======================================================
SITE COMPONENTS
======================================================
*/

/* ========= Site Header ========= */
#site-header {
      background-color: #fff;
      box-shadow: 0 2px 2px 0 rgba(0,0,0,0.10), 0 3px 1px -2px rgba(0,0,0,0.08), 0 1px 5px 0 rgba(0,0,0,0.2);
}

/* ____________  Navbar ____________ */
.navbar {
  padding: 0rem;
}
.navbar-expand-lg .navbar-collapse {
  flex-direction: column;
  align-items: flex-end;
}
.navbar-brand {
  padding: 1rem 0;
} 
.navbar-brand img {
  width: 140px;
  height: auto;
} 
#sidebar a.nav-link,
#main-nav a.nav-link,
#secondary-menu a.nav-link {
  color: #3d474d;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
}
#main-nav a.nav-link {
  font-size: 1.125rem;
}
#secondary-menu a.nav-link {
  font-size: .875rem;
}
    #sidebar a.nav-link:hover,
    #main-nav a.nav-link:hover,
    #secondary-menu a.nav-link:hover {
        color: #48726B;
    }
#main-nav .dropdown-menu {
  background-color: #f2f3f4;
  border-radius: 0;
  border:none;
  margin: 0;
  padding: 0;
}

#sidebar a.nav-link,
#main-nav .dropdown-menu a.nav-link  {
  color: #3d474d;
  font-size: .875rem;
  border-top: 1px solid #c8ced3;
  line-height: 1.1;
}
#main-nav .dropdown-menu a.nav-link {
  padding: 1rem 1rem;
}

@media (min-width: 992px) {
.navbar-brand img {
  width: 190px;
  height: auto;
}
#main-nav a.nav-link,
#secondary-menu a.nav-link {
  padding-right: .75rem;
  padding-left: .75rem;
}
}
/* Mobile menu button */
.navbar .navbar-toggler {
  width: 32px;
  height: 24px;
  position: relative;
  transform: rotate(0deg);
  transition: .5s ease-in-out;
  cursor: pointer;
  padding: 0;
  outline: none !important;
  box-shadow: none !important;
  border: none;
}
.navbar-toggler span {
  display: block;
  position: absolute;
  height: 3px;
  width: 32px;
  background: #000;
  opacity: 1;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}
.navbar-toggler span:nth-child(1) {
  top: 0;
  transform-origin: right center;
}
.navbar-toggler span:nth-child(2) {
  top: 12px;
}
.navbar-toggler span:nth-child(3) {
  top: 24px;
  transform-origin: right center;
}
.navbar-toggler:not(.collapsed) span:nth-child(1) {
  transform: rotate(-45deg);
  top: 0px;
  right: 0;
  background-color: #000;
}
.navbar-toggler:not(.collapsed) span:nth-child(2) {
  opacity: 0;
}
.navbar-toggler:not(.collapsed) span:nth-child(3) {
  transform: rotate(45deg);
  top: 23px;
  right: 0;
  background-color: #000;
}

/* ========= Hero Block ========= */
.hero-block {
  height: 80vh;
  background-color: #f2f3f4;
  background-image: url(images/hero-img-omab.jpg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-caption {
  max-width: 800px;
/*  margin: 0 auto;*/
  color:#fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.hero-caption h1 {
  color: #fff;
  font-size: 2.25rem;
  line-height: 1.1;
  text-transform: uppercase;
  font-weight: 900;
  text-align: center;
}
.hero-caption h1 strong {
  font-weight: 700;
}
.hero-caption p {
  font-size: 1.25rem;
  margin: 1rem 0;
  text-align: center;
}


@media (min-width: 576px) { 
  .hero-caption {
    align-items: initial;
  }
  .hero-caption h1 {
    font-size: 2.75rem;
  }
  .hero-caption h1, .hero-caption p {
    text-align: left;
  }
}
@media (min-width: 992px) {
  .hero-caption h1 {
    font-size: 3rem;
  }
  .hero-caption p {
  font-size: 1.375rem;
  }
}
@media (min-width: 1200px) {
  .hero-caption h1 {
    font-size: 3.75rem;
  }
  .hero-caption p {
  font-size: 1.5rem;
  }
}

/* ========= Subpage Header Image ========= */
#header-img {
  height: 26vw;
  min-height: 320px;
}
#header-img img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

/* ========= Breadcrumb ========= */
.sticky-bread {
  position: sticky;
  top: 73px;
  z-index: 99;
}
.breadcrumb {
  background-color: #fff;
  border-bottom: 1px solid #dee2e6;
}
.breadcrumb-item {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
}
.breadcrumb-item a {
  color: #828b94;
}
.breadcrumb .active {
  color: #336180;
}
@media (min-width: 992px) {
.sticky-bread {
top: 104px;
}
}

/* ========= Page Headings ========= */
.subpage-header {
  background-color: #f2f3f4;
}
.subpage-header h1 {
    color: #48726B;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    margin: 0;
}  
.section-header h2  {
  color: #3d474d;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

@media (min-width: 992px) {
.page-header h1  {
  font-size: 1.75rem;
} 
.section-header h2 {
  font-size: 1.5rem;
}
}

/* ========= Side Bar ========= */

#sidebar a.nav-link {
  padding: 1rem 0;
}
#sidebar .nav .nav {
  margin: -.5rem 0 1rem 1rem;
}
#sidebar .nav .nav a.nav-link {
  font-size: .75rem;
  border-top: none;
  padding: .5rem 0;
}


#sidebar .nav a::before {
  content: url(/images/chevron-right.svg);
  display: inline-block;
}
#sidebar .nav .nav a::before {
  content: none;
}

#sidebar i.fas.fa-chevron-right {
    font-size: 0.75rem;
}

/* ========= Buttons ========= */
a.theme-btn {
    display: inline-block;
    padding: .75rem 2rem;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #48726B;
    text-align: center;
    text-transform: uppercase;
    line-height: 1;
    border-radius: 3px;
    background-color: transparent;
    border: 1px solid #48726B;
    transition: 0.25s;
}

a.theme-btn:hover {
    background-color: #48726B;
    border: 1px solid #48726B;
    color: #fff;
}

    a.theme-btn.green-btn {
        background-color: #48726B;
        border: 1px solid #48726B;
        color: #fff;
    }

.hero-caption a.theme-btn {
    border: 1px solid #fff;
    color: #fff;
    background: transparent;
}

.hero-caption a.theme-btn:hover {
    border: 1px solid #48726B;
    background: #48726B;
}

a.theme-btn.btn-lg {
  padding: 1rem 2rem;
  min-width: 200px;
}


/* ========= Service Items ========= */
.service-item {
  position: relative;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.18);
  transition: 0.5s;
}
.service-item .item-img {
  position: relative;
  overflow: hidden;
}
.service-item:hover {
  box-shadow: none;
  box-shadow: 0 1px 1px rgba(0,0,0,0.12);
  cursor: pointer;
}
.service-item:hover .item-body h3 {
  color: #fff;
}
.service-item .item-img img {
  transition: transform .5s;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-item:hover .item-img img {
  transform: scale(1.1);
}

    .service-item .item-body {
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        /*height:100%;*/ /*FIX THIS WHY 100% not working?*/
    }
.service-section-startpage .item-body {
  padding: 1.5rem 1rem;
}
.service-section-subpage .item-body {
  padding: 0.5rem;
}
.service-item .item-body h3 {
  text-align: center;
  text-transform: uppercase;
  font-weight: 700; 
  color: #fff;
}
  
.service-section-startpage .item-body h3 {
    font-size: 2rem;
  }

@media (max-width: 1200px) {
  .service-section-startpage .item-body h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 992px) {
    .service-section-startpage .item-body h3 {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
    .service-section-startpage .item-body h3 {
    font-size: 1.5rem;
  }
}

.service-section-subpage .item-body h3 {
  font-size: 1.125rem
}





@media (min-width: 992px) {
  .service-item .item-body {
    position: relative;
  }
  .service-item .item-body h3 {
    color: #3d474d;
    font-size: 1rem;
  }
  .service-section-startpage .item-body h3 {
    font-size: 1.375rem;
  }
  .service-item:hover .item-body h3 {
    color: #48726B;
  }
}

@media (min-width: 1200px) {
  .service-section-subpage .item-body h3 {
    font-size: 1rem;
  }
}


/* ========= News Items ========= */
a.news-item {
  display: block;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.18);
  transition: 0.5s;
  height: 100%;
}

.news-item .item-img {
  position: relative;
  overflow: hidden;
}

.news-item .item-img img {
  transition: transform .5s;
}

.news-item:hover .item-img img {
  transform: scale(1.1);
}

.news-item .item-body {
  padding: 1rem;
}

.news-item .item-body p {
  color: #3d474d;
  margin-bottom: 0;
}

.news-item .item-body h3 {
  color: #3d474d;
  font-size: 1.375rem;
  text-transform: none;
  font-weight: 600;
}

.news-item:hover .item-body h3 {
  color: #48726B;
}

.news-item .item-body .tag {
  color: #828b94;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: .5rem;
  padding-bottom: .375rem;
  border-bottom: 1px solid;
  line-height: 1;
  text-transform: uppercase;
}


/* News list */
.news-list-item {
  position: relative;
  display: block;
  padding: .75rem 0;
  border: none;
  border-top: 1px solid #C8CED3;
}

a.news-list-item {
  color: #3d474d;
}

.news-list-item h3 {
  font-size: 1.125rem
}

a.news-list-item:hover h3 {
  color: #48726B;
}

.read-more {
  text-transform: uppercase;
  color: #336180;
  padding: 1rem 0;
  display: inline-block;
  font-weight: 700;
  float: right;
}

.read-more:hover {
  color: #cc0000;
}

/* ========= Contact cards ========= */

#contact-cards {
  background-color: #f2f3f4;
}

.contact-card {
  background-color: #fff;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.18);
  margin-bottom: 1.75rem;
  padding: 1rem;
}

.contact-card img {
  width: 100%;
  min-height: 120px;
  max-height: 100%;
  object-fit: cover;
}

.contact-card .fal {
  color: #48726B;
  margin-right: .5rem;
}

.contact-card p:first-child {
  margin-top: 0;
}

.contact-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0;
  text-transform: uppercase;
}

.contact-card ul {
  list-style-type: none;
  margin: 0.5rem 0;
  padding: 0;
}

.contact-card li {
  line-height: 1.2rem;
  margin: .125rem 0;
}

.contact-card li a:hover {
  color: #48726B;
}


/* ========= iFrame Map ========= */

.contact-map iframe {
  width: 100%;
  height: 320px;
}

@media (min-width: 992px) {
  .contact-map iframe {
    height: 100%;
  }
}


/* ========= Site Foot ========= */

#sidfot {
  color: rgba(255, 255, 255, 0.8);
}

#sidfot h3 {
  margin-bottom: .75rem;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.25rem;
}

#sidfot h4 {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 700;
}

#sidfot p {
  font-size: .875rem;
}

#sidfot p a {
    text-decoration: underline;
    color: rgba(255, 255, 255, 0.8);
}

#sidfot p a:hover {
    color: rgba(255, 255, 255);
}

#sidfot small {
  font-size: .75rem;
}

#sidfot img.world {
  opacity: .5;
  padding: 1rem;
}

#sidfot a[href^=tel] {
  text-decoration: inherit;
  color: inherit;
}

.sociala-ikoner img {
  width: 2rem;
  height: auto;
  filter: invert(100);
  opacity: .4;
  margin-right: .5rem;
}

#logo-footer img {
  filter: grayscale(100);
  opacity: .9;
  width: 100%;
  max-width: 180px;
  height: auto;
  align-self: center;
  padding: 1rem;
}

#logo-footer img:hover {
  filter: unset;
  cursor: pointer;
  opacity: unset;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8)
}

/* Enkel men inte optimal lösning för css fixed position paralax bakgrund på mobila enheter  */
@media only screen and (min-device-width: 320px) and (max-device-width: 1112px) and (-webkit-min-device-pixel-ratio: 2) {
    .hero-block {
        background-attachment: scroll;
    }
}
/* ========= accordion ========= */

#accordion .card {
  background-color: transparent;
  border: none;
  border-radius: 0;
  border: 1px solid #c8ced3;
  margin-top: 1.5rem;
  padding-bottom: 1.5rem;
}

#accordion .card-header {
  background-color: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
}


#accordion .card-header h2 {
  padding: 1rem 1rem 0 ;
}


#accordion p.ingress {
  font-weight: 400;
  font-style: italic;
  margin-top: 1rem;
  padding: 1rem;
}


#accordion .card-header p:last-child {
  padding: 8px 1rem;
  border-top: 1px solid #c8ced3;
  text-align: right;
  margin: 0;
  height: 0;
}

#accordion .card-body {
  padding: 0 1rem;
}

#accordion .card-body > p:first-child {
  padding-right: 1.5rem;
}

#accordion .read-more {
  padding: 0;
  float: none;
  position: absolute;
  right: 1rem;
}

#accordion .article-more {
  display: none;
}

#accordion .collapsed .article-more{
  display: inline;
}

#accordion .collapsed .article-less{
  display: none;
}

@media screen and (min-width: 576px) {

  #accordion .card-header h2 {
    padding: 1.5rem 1.75rem 0 ;
  }

  #accordion p.ingress {
    padding: 0 1.75rem 1rem;
  }


  #accordion .card-header p:last-child {
    padding: 12px 1.75rem;
  }

  #accordion .card-body {
    padding: 0.5rem 1.75rem 0;
  }

  #accordion .read-more {
    right: 1.75rem;
  }

}

.rte-container img {
    max-width: 100%;
}


/* ========= Umbraco forms ========= */

.umbraco-forms-navigation .btn {
    display: inline-block;
    padding: .75rem 2rem;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #48726B;
    text-align: center;
    text-transform: uppercase;
    line-height: 1;
    border-radius: 3px;
    background-color: transparent;
    border: 1px solid #48726B;
    transition: 0.25s;
}

    .umbraco-forms-navigation .btn:hover {
        background-color: #48726B;
        border: 1px solid #48726B;
        color: #fff;
    }

    .umbraco-forms-navigation .col-md-12 {
        padding-left: 0;
    }

 label.umbraco-forms-label {
    font-size: 1rem;
    font-weight: 600;
}


.umbraco-forms-container {
    padding-left: 0;
}


.umbraco-forms-ohl-custom-error-color .umbraco-forms-submitmessage {
    color: #bc000c;
}

.umbraco-forms-form input.text, .umbraco-forms-form select {
    padding: 5px;
    display: block;
    width: 95%
}

.umbraco-forms-form input.text, .umbraco-forms-form textarea {
    border-radius: 0.25rem;
}

.nav-item:last-child .nav-link {
    padding-right: 0 !important;
}