/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating will be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/
/* ---------------------------------
  FONT LOADING (Replace with real URLs)
----------------------------------- */
/* Base body styles */
body {
  font-family: 'Rethink Sans', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #111;
  line-height: 1.6;
  margin: 0;
}

/* ---------------------------------
   HEADINGS — H1 to H6
----------------------------------- */

/* H1 — ExtraBold 80px */
h1 {
  font-family: 'Rethink Sans', sans-serif;
  font-weight: 800;
  font-size: 5rem;           /* 80px */
  line-height: 1;
  letter-spacing: -1.6px;
  text-transform: uppercase;
  margin: 0 0 .5em 0;
}

/* H2 — ExtraBold 60px */
h2 {
  font-family: 'Rethink Sans', sans-serif;
  font-weight: 800;
  font-size: 3.75rem;        /* 60px */
  line-height: 1.1;
  letter-spacing: -0.8px;
  margin: 0 0 .5em 0;
}

/* H3 — 32px */
h3 {
  font-family: 'Rethink Sans', sans-serif;
  font-weight: 800;
  font-size: 2rem;           /* 32px */
  line-height: 1.2;
  margin: 0 0 .5em 0;
}

/* H4 — 24px */
h4 {
  font-family: 'Rethink Sans', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;         /* 24px */
  line-height: 1.3;
  margin: 0 0 .5em 0;
}

/* H5 — 20px (balanced for hierarchy) */
h5 {
  font-family: 'Rethink Sans', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;        /* 20px */
  line-height: 1.4;
  margin: 0 0 .5em 0;
}

/* H6 — 18px */
h6 {
  font-family: 'Rethink Sans', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;       /* 18px */
  line-height: 1.4;
  margin: 0 0 .5em 0;
}

/* ---------------------------------
   Paragraphs & Links — 20px Medium
----------------------------------- */
p, a, li {
  font-family: 'Rethink Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;      /* 20px */
  line-height: 21px; 
  margin: 0 0 1em 0;
  text-decoration: none;
}

a {
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity .2s ease;
}
a:hover {
  opacity: .8;
}

/* ---------------------------------
   RESPONSIVE TYPOGRAPHY
----------------------------------- */

/* Tablets */
@media (max-width: 991px) {
  h1 { font-size: 3.5rem; line-height: 1.1; }   /* 56px */
   h2,.big-center-section h2 { font-size: 2.75rem !important; line-height: 1.1 !important; }  /* 44px */
  h3 { font-size: 1.75rem;  line-height: 1.1;}  /* 28px */
  h4 { font-size: 1.25rem; line-height: 1.1; }  /* 20px */
  h5 { font-size: 1.125rem; line-height: 1.1; } /* 18px */
  h6 { font-size: 1rem; line-height: 1.1; }     /* 16px */
  p, a, li { font-size: 1.125rem; line-height: 1.1; } /* 18px */
	.mobile-margin-adj .flex_column_table {
		margin-top: 0px !important;
	}
}
@media (min-width: 767px) and (max-width: 991px) {
.hero-video-cover .av-special-heading,.hero-video-cover  .av_textblock_section,.hero-video-cover  .avia-buttonrow-wrap {
    padding-left: 30px;
}
}

@media (min-width: 991px) {
.fs-60 h1{
  font-size: 60px !important;
}
}
@media (max-width: 991px) {
    .sticky-background {
        background-attachment: scroll !important;
        background-position: center top !important; /* start at top */
        transform: none !important;
        transition: background-position-y 1s ease, background-attachment 1s ease;
    }

    .sticky-background.stickstart {
        background-attachment: fixed !important;
        background-position: center 0px !important; /* start center top */
        transform: none !important;
		transition: none !important; /* disables animation to bottom */
    }

    .sticky-background.stickend {
        background-attachment: scroll !important;
        background-position: center calc(100% - 80px) !important; /* 80px from bottom */
        transform: none !important;
        transition: none !important; /* disables animation to bottom */
    }

    .sticky-background.no-transition {
        transition: none !important; /* can toggle this dynamically in JS */
    }

    .sticky-background > * {
        position: relative;
        z-index: 1;
    }
}
@media (max-width: 991px) {
#top .p-top50 .content {
    padding-top: 0px;
}
.listprop-row {
    display: block; 
}
.hr.height-100,.content-overlay .hr-invisible {
    height: 100px !important;
}
.mobile-bg-one {
    background-color: #59746d !important;
    background-image: url(https://www.relier.se/wp-content/uploads/2026/03/mobile-green.jpg) !important;
    background-repeat: no-repeat  !important;
    background-position: 50% 100%  !important;
    background-attachment: scroll  !important;
}
.avia-section-huge .content, .avia-section-huge .sidebar {
    padding-top: 80px;
    padding-bottom: 60px;
}
}
@media (min-width: 600px) and (max-width: 991px) {
.our-figures {
    width: 45% !important;
    float: left !important;
    height: 250px;
	 margin-bottom: 0px !important;
	margin-top: 25px !important;
    margin-right: 25px !important;
}
.bg-video .bg-video-wrapper {
    min-height: 250px;
}
.our-figures .av_textblock_section {
    position: absolute;
    bottom: 0;
}
.bg-video .content-overlay {
    display: block;
    height: 250px;
}
.cards-four .container.av-section-cont-open {
    padding-bottom: 20px;
}
.cards-four .av-flex-placeholder {
    display: none !important;
    display: inline-block;
    float: left;
}
}
@media (min-width: 1024px) {
.clickable-section .container {
    max-width: 100%;
    padding: 0;
}
.clickable-section  .flex_column {
    padding-left: calc(50% - 690px);
	padding-top: 30px;
	padding-bottom: 30px;
}
	.clickable-section .template-page.content{
		padding: 0 !important;
	}
}
.sticky-background {
    background-repeat: no-repeat;
    background-image: url('https://www.relier.se/wp-content/uploads/2025/12/Illustration-2.png');
    background-position: 50% 100px;
    background-attachment: inherit;
}
@media only screen and (max-width: 767px) {
    .responsive #top #wrap_all .clickable-section .container {
        width: 100% !important;
        padding: 0 25px !important;
        max-width: 100% !important;
		
    }
	.padd-35 {
		padding: 32px 0 !important;
	}
	.clickable-section  .flex_column {
    
	padding-top: 30px;
	padding-bottom: 30px;
}
	.clickable-section .template-page.content{
		padding: 0 !important;
	}
}
/* Mobile */
@media (max-width: 767px) {
  h1 { font-size: 2.25rem; }  /* 36px */
  h2,.big-center-section h2 { font-size: 1.75rem !important; line-height:initial !important; }  /* 28px */
  h3 { font-size: 1.25rem; }  /* 20px */
  h4 { font-size: 1.125rem; } /* 18px */
  h5 { font-size: 1rem; }     /* 16px */
  h6 { font-size: 0.9375rem; }/* 15px */
  p, a, li { font-size: 1rem; } /* 16px */
}

/* Small phones */
@media (max-width: 420px) {
  h1 { font-size: 2rem; } 
   h2,.big-center-section h2{ font-size: 32px !important; line-height:initial !important; }
}
span.logo.avia-svg-logo svg {
    width: 193px;
}
@media (min-width: 990px) and (max-width: 1200px) {
 span.logo.avia-svg-logo svg {
    width: 150px;
} 
}
@media (min-width: 990px) and (max-width: 1075px) {
    .av-main-nav>li>a {
      padding: 0 5px; 
	}
}
@media (min-width: 1075px) and (max-width: 1200px) {
     .av-main-nav>li>a {
      padding: 0 10px; 
	}
}
#top .av-section-video-bg {
   /*   max-width: 1375px; 
    margin: 10px auto 50px auto;
    border-radius: 16px;*/
	padding: 0;
	    width: 100%;
}
.hero-video-cover {
    margin-top: -2px !important;
}
.header_bg {
    background: transparent !important;
}
/* 
@media (max-width: 1024px) {
#top .av-section-video-bg {
    margin: 20px auto 50px auto;
    border-radius: 16px;
     width: 100%;
}
}
*/
.footer-logo img {
    width: 153px;
}
.news-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 22px;
    margin: 40px 0;
}
.our-figures .avia_textblock{
    min-height: 50px;
}
/* Card layout */
.news-card {
    display: flex;
    justify-content: space-between;
    padding: 24px;
    border-radius: 16px;
    min-height: 260px;
    text-decoration: none;
    overflow: hidden;
}

/* Text color rules */
.text-light { color: #fff; }
.text-dark { color: #000; }

/* Title Styles (per your spec) */
.news-card h3 {
    margin: 0 0 18px 0; /* spacing added above image */
    font-size: 24px;
    font-weight: 500;
    line-height: 1.25;
}
.card-left h3{
    padding-right: 20px;
}
/* Content Left (title + button) */
.card-left {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-left.fullwidth {
    width: 100%;
}
.generic-content h2 {
    font-size: 24px;
    color: #252527 !important;
    text-transform: none !important;
}
.generic-content h3 {
    font-size: 18px;
    font-weight: bold !important;
	 text-transform: none !important;
}
.main_color tr:nth-child(even), .main_color tr:nth-child(odd) {
    color: #252527;
    background: transparent;
}
table {
    background: transparent !important;
    border: none !important;
}

th,td {
    border: 0 !important;
    border-bottom: 1px solid #D0D0D1 !important;
}
/* Button */
.news-btn {
    display: inline-block;
    padding: 6px 14px;
    font-size: 14px;
    background: #fff;
    color: #000;
    border-radius: 6px;
    margin-top: auto;
	    width: fit-content;
}

/* Right side image full height */
.card-right {
    width: 40%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.card-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Blank layout slots */
.blank-card {
    background: transparent !important;
    pointer-events: none;
}
@media (max-width: 991px) {
	 .blank-card {
        display: none !important;
    }
}
/* Mobile */
@media (max-width: 768px) {
    .news-grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }


    .news-card {
        flex-direction: column;
        min-height: 220px;
        padding: 18px;
    }

    .card-left,
    .card-right {
        width: 100%;
    }

    .card-right img {
        height: 180px;
        margin-top: 12px;
        width: 100%;
    }
}
a.news-card:nth-child(1) h3, a.news-card:nth-child(3) h3 {
    color: #fff !important;
}

span.news-btn {
    background: transparent;
    border: 1px solid #252527;
    color: #252527;
}
a.news-card:nth-child(1) span.news-btn , a.news-card:nth-child(3) span.news-btn {
    border: 1px solid #fff;
    color: #fff;
}
#header_main.scrolled-header {
	transition: background 0.3s;
    background: rgba(93, 93, 93, 0.3);
    backdrop-filter: blur(7px) !important;
}

.image-overlay {
    display: none !important;
}
.big-center-section h2 {
    font-size: 80px!important; 
	line-height: 80px!important; 
    font-weight: 800 !important;
    color: #fff;
}
#top .big-center-section {
    max-width: 450px;
    background: #AB112C;
    padding: 16px;
	border-radius: 16px;
    margin: 0 auto !important;
    float: none !important;
}
#top .big-center-section a.avia-button {
    background: #FEA3A5 !important;
    position: relative;
    bottom: -27px;
    left: -16px;
    border-radius: 0px 16px 16px 15px !important;
}
.footer-logo {
    float: left;
}
.avia-button:hover {
    opacity: 1; 
}
@media only screen and (max-width: 767px) {
	.av-section-with-video-bg.home-banner {
		margin-top: -3px;
	}
	span.logo.avia-svg-logo svg {
		width: 155px;
	}
	
	.responsive #top #wrap_all .av-flex-cells.button-left-align .no_margin {
        overflow: visible !important;
    }
}
@media only screen and (max-width: 530px) {
	
	.floating-btn {
		position: absolute;
		bottom: 0px;
		left: -35px;
	}
}
@media only screen and (min-width: 530px) and (max-width: 767px) {
	
	.floating-btn {
		position: absolute;
		bottom: 0px;
		left: -50px;
	}
}
@media only screen and (min-width: 767px) and (max-width: 989px) {
    .responsive #top #wrap_all .av-flex-cells.button-left-align .no_margin {
        overflow: visible !important;
    }
	.floating-btn {
		position: absolute;
		bottom: 0px;
		left: 0px;
	}
}
/* ==============================
   Custom Accordion (Locations)
============================== */

.gomo-accordion {
    border-top: 1px solid #e5e5e5;
}

.gomo-acc-item {
    border-bottom: 1px solid #e5e5e5;
}

.gomo-acc-header {
    width: 100%;
    background: none;
    border: none;
    color: #000;
    padding: 18px 0;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.gomo-acc-icon {
    width: 10px;
    height: 10px;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.gomo-acc-item.open .gomo-acc-icon {
    transform: rotate(-135deg);
}

.gomo-acc-content {
    display: none;
    padding-bottom: 20px;
}

.gomo-acc-item.open .gomo-acc-content {
    display: block;
}

.gomo-acc-content p {
    margin: 0;
    line-height: 1.6;
    font-size: 15px;
}
.sub-menu span.avia-menu-text {
    color: #111 !important;
}
div#header_main {
    background: #5c5c5f;
}
footer .contact-details p, footer .contact-details p a {
    color: #fff;
}
h2 ,h1 {
    font-weight: 800 !important;
}
h2.av-special-heading-tag {
    color: #252527 !important;
}
.text-black span, .text-black svg {
    color: #252527 !important;
    fill: #252527 !important;
}
/* =========================================================
   RELIER – LEDIGA LOKALER (FINAL PRODUCTION LAYOUT)
========================================================= */

/* RESET LEGACY FLOATS */
.main_content,
.google-maps,
.properties_list,
.properties_map {
    float: none !important;
    width: auto !important;
}

/* MAIN GRID */
.relier-layout {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 32px;
    align-items: start;
}

/* MAP */
.relier-map {
    position: sticky;
    top: 120px;
    height: calc(100vh - 140px);
}

#map-canvas {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* LIST */
.relier-list {
    width: 100%;
}

/* OBJECT GRID */
#objects-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

/* CARD */
.object-card {
    max-width: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform .2s ease;
}

.object-card:hover {
    transform: translateY(-3px);
}

/* IMAGE */
.object-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* TEXT */
#objects-list .caption {
    font-size: 16px;
    padding: 16px;
    font-weight: 600;
    color: #333;
}

/* FILTER BAR */
#relier_filter-container {
    margin-bottom: 30px;
}

/* PAGINATION */
.cvf-universal-pagination {
    margin-top: 40px;
    text-align: center;
}

/* LOADING */
.loading {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.7);
    z-index: 9999;
}

/* MOBILE */
@media (max-width: 989px) {
    .relier-layout {
        grid-template-columns: 1fr;
    }

    .relier-map {
        position: relative;
        height: 400px;
        top: 0;
    }

    #objects-list {
        grid-template-columns: 1fr;
    }
}

/* =================================================
   RELIER – RESET
================================================== */
.relier-reset {
  margin: 0;
  padding: 0;
}

/* =================================================
   HERO LAYOUT
================================================== */
.relier-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: flex-start;
}

/* =================================================
   SLIDER (SPLIDE)
================================================== */
.relier-slider,
.relier-hero-slider {
  position: relative;
  width: 100%;
  height: 420px;
}

#primary-slider,
#primary-slider .splide__track,
#primary-slider .splide__list,
#primary-slider .splide__slide {
  height: 100%;
}

#primary-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

/* Slider arrows */
#primary-slider .splide__arrow {
  background: #ffffff;
  border: 1px solid #e1e1e1;
  width: 36px;
  height: 36px;
}

#primary-slider .splide__arrow svg {
  fill: #000;
}

/* Image counter */
.relier-counter {
    position: absolute;
    bottom: -60px;
    left: calc(50% - 22px);
    background: transparent !important;
    padding: 0;
    font-size: 14px;
    border-radius: 0;
}

/* =================================================
   SUMMARY (RIGHT SIDE)
================================================== */
.relier-summary h1 {
  font-size: 28px;
  line-height: 1.25;
  margin-bottom: 4px;
}

.relier-city,
.relier-location {
  color: #777;
  font-size: 15px;
  margin-bottom: 14px;
}

.relier-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  font-size: 14px;
  margin-bottom: 12px;
}

.relier-meta strong {
  font-weight: 600;
}

/* Tags */
.relier-tags {
  margin-bottom: 14px;
}

.relier-tags span {
  display: inline-block;
  background: #f3f3f3;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  margin-right: 6px;
}

/* Description */
.relier-desc,
.relier-intro {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  margin-top: 10px;
}

/* =================================================
   ACTION BUTTONS ROW
================================================== */
.relier-actions,
.relier-actions-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.relier-btn,
.relier-actions a {
  border: 1px solid #b11e2f;
  color: #b11e2f;
  padding: 10px;
  text-align: center;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.relier-btn:hover,
.relier-actions a:hover {
  background: #b11e2f;
  color: #ffffff;
}

/* =================================================
   CONTENT + CONTACT GRID
================================================== */
.relier-content,
.relier-content-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
}

/* Text side */
.relier-text h3 {
  margin-top: 0;
  margin-bottom: 6px;
}

.relier-text p {
  margin-bottom: 18px;
}

/* Contact card */
.relier-contact,
.relier-contact-card {
  background: #f7f7f7;
  padding: 20px;
  border-radius: 8px;
}

.relier-agent {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 15px;
}

.relier-agent img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

/* =================================================
   SNABBFAKTA
================================================== */
.relier-facts,
.relier-facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.relier-checklist {
  padding: 0;
  margin: 0;
}

.relier-checklist li {
  list-style: none;
  margin-bottom: 6px;
  font-size: 14px;
}

/* =================================================
   MOBILE
================================================== */
@media (max-width: 989px) {

  .relier-hero,
  .relier-content,
  .relier-content-grid,
  .relier-facts,
  .relier-facts-grid {
    grid-template-columns: 1fr;
  }

  .relier-slider,
  .relier-hero-slider {
    height: 260px;
  }

  .relier-meta {
    grid-template-columns: 1fr;
  }

  .relier-actions,
  .relier-actions-row {
    grid-template-columns: 1fr;
  }
}
#top .avia-post-nav {
    display: none;
}
.container {
    max-width: 1475px;
}
.br-16 img {
    border-radius: 16px;
}
.max-500 {
    max-width: 500px;
}
.footer-logo{
 max-width: 153px;
}
.our-figures.bg-video h2,.our-figures.bg-video p{
   color: #fff  !important;
}
.our-figures h2{
    font-weight: 800 !important;
}
.our-figures {
    border-radius: 16px;
    padding: 16px;
}
.our-figures p{
font-size: 16px;
color: #252527;
font-weight: 400;
}
#header_main {
    border-bottom-width: 0px;
}
.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6,
.text-white p,
.text-white a {
    color: #fff !important;
}
.services-list {
  display: flex;
  gap: 32px;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

.services-column {
  flex: 1;
}

.service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid #D0D0D1 !important;
  text-decoration: none;
  color: #252527;
  font-size: 18px;
  transition: color 0.2s ease;
}
.service-item span{
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.4;
}
.service-item span.number{
    color: #6D6E71 !important;
}

.avia-image-container.avia-align-center .avia-image-container-inner {
    width: 100%;
}
.custom-breadcrumbs {
    font-size: 14px;
    line-height: 140%;
    display: flex;
    align-items: center;
    gap: 4px;
}

.custom-breadcrumbs .crumb-home {
    font-weight: 700; /* Bold */
    color: #252527;
    text-decoration: none;
margin:0 ;
    line-height: 1;
}

.custom-breadcrumbs .crumb-current {
    font-weight: 400; /* Normal */
    color: #252527;
}

.custom-breadcrumbs .crumb-sep {
    color: #252527;
    font-weight: 400;
}

.br-13 img {
    border-radius: 13px;
}
.service-item .number {
  font-weight: 600;
  font-size: 14px;
  color: #111;
}

.service-item .text {
  flex: 1;
  padding-left: 10px;
	color: #252527 !important;
}

.service-item .arrow {
  /* font-size: 18px;
  opacity: 0.7; */
  transition: transform 0.25s ease, opacity 0.25s ease;
    font-size: 0 !important;
    background: url(https://www.relier.se/wp-content/uploads/2026/01/right-arrow.png);
    height: 20px;
    width: 20px;
    background-size: 20px;
    background-repeat: no-repeat;
}

/* Hover effects */
.service-item:hover {
  color: #000;
}

.service-item:hover .arrow {
  transform: translateX(4px);
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .services-list {
    flex-direction: column;
    gap: 20px;
  }
}
.text-light p {
    font-size: 16px !important;
    color: #5B5C5F !important;
    font-weight: 400 !important;
    line-height: 21px;
    max-width: 440px;
}
a.avia-button {
    background: #AB112C !important;
    border: none !important;
    border-radius: 16px !important;
    font-size: 16px !important;
	padding: 16px !important;
	font-weight: 600 !important;
}
.button-left-align a.avia-button {
    background: #252527 !important;
    border-bottom-left-radius: 0px !important;
	border-top-left-radius: 0px !important;
}
.title_container {
    display: none !important;
}
.avia-standard-logo img {
    width: 193px;
    padding: 28px 0;
}
.custom-cf-wrapper br {
    display: none;
}
li.menu-item span.avia-menu-text {
    font-size: 16px;
    color: #fff;
    font-weight: 600 !important;
}
.container_wrap {
    border-top-width: 0px;
}
.menu-button span.avia-menu-text {
    background: #AB112C;
    border-radius: 8px;
    padding: 11px 48px 11px 16px;
    border: none;
    font-size: 14px !important;
    text-align: center;
    text-decoration: none;
    color: #fff !important;
}
/* Wrapper spacing */
.custom-cf-wrapper {
  width: 100%;
  padding: 20px 0;
}

/* Two-column layout */
.row-2col {
  display: flex;
  gap: 40px;
  margin-bottom: 25px;
}

.row-2col .col {
  width: 50%;
}

/* Full-width row */
.row-full {
  width: 100%;
  margin-bottom: 25px;
}

/* Labels */
.custom-cf-wrapper label {
  display: block;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #ffffff; /* The screenshot text is white on red background */
  margin-bottom: 6px;
}

/* Inputs */
.custom-cf-wrapper input[type="text"],
.custom-cf-wrapper input[type="email"],
.custom-cf-wrapper input[type="tel"],
.custom-cf-wrapper textarea {
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.5) !important;
  padding: 8px 0 !important;
  color: #ffffff !important;
  font-size: 16px !important;
  outline: none !important;
}

/* Placeholder color */
.custom-cf-wrapper input::placeholder,
.custom-cf-wrapper textarea::placeholder {
  color: rgba(255,255,255,0.6);
}

/* Focus state */
.custom-cf-wrapper input:focus,
.custom-cf-wrapper textarea:focus {
  border-bottom-color: #ffffff;
}

/* Submit button */
.custom-cf-wrapper .submit-row {
  margin-top: 40px;
  text-align: center;
}

.custom-cf-wrapper input[type="submit"] {
  background: transparent;
  color: #ffffff;
width: 100%;
  border: 1px solid #ffffff;
  padding: 12px 40px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
}

/* Hover effect */
.custom-cf-wrapper input[type="submit"]:hover {
  background: #ab112c;
	border-color: #fff;
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
 	border-color: #000;
   border: 1px solid #000 !important;
}
footer .wpcf7 form.invalid .wpcf7-response-output,footer  .wpcf7 form.unaccepted .wpcf7-response-output,footer  .wpcf7 form.payment-required .wpcf7-response-output {
    border: 1px solid #fff !important;
	border-color: #ffffff;
    color: #fff;
    font-size: 14px;
    padding: 5px 10px;
	margin: 0;
}
/* Make layout responsive */
@media (max-width: 768px) {
  .row-2col {
    flex-direction: column;
    gap: 20px;
  }

  .row-2col .col {
    width: 100%;
  }
}
.footer-titles p {
    margin-top: 30px;
    color: #FD6F76;
    font-size: 12px !important;
    font-weight: 500 !important;
}
footer li.menu-item a {
    font-size: 14px !important;
    color: #fff !important;
    border: none !important;
    font-weight: 400 !important;
    line-height: 16px;
margin: 0px;
}
.contact-details p, .contact-details p a {
    font-size: 14px;
    font-weight: 400 !important;
}
footer li.menu-item {
    border: none !important;
}

/* ================================
   WRAPPER
================================ */
.relier-news-wrapper {
    width: 100%;
}

/* ================================
   CATEGORY TABS
================================ */
.relier-news-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.relier-news-tabs a {
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #ccc;
    text-decoration: none;
    color: #222;
    transition: all 0.3s ease;
}

.relier-news-tabs a.is-active,
.relier-news-tabs a:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* ================================
   GRID
================================ */
.relier-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

@media (max-width: 989px) {
    .relier-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .relier-news-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================
   CARD
================================ */
.relier-news-card {
    background: #eee;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: #000;
    position: relative;
    min-height: 220px;
    display: flex;
}

.relier-news-card.no-image {
    padding: 22px;
}

.relier-news-card.has-image {
    padding: 0;
}

/* ================================
   TEXT (LEFT)
================================ */
.relier-news-content {
    padding: 22px;
    width: 100%;
}

.relier-news-card.has-image .relier-news-content {
    width: 50%;
}

.relier-news-content h3 {
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
}

/* ================================
   IMAGE (RIGHT – 50%)
================================ */
.relier-news-image {
    width: 50%;
    height: 100%;
}

.relier-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================================
   CATEGORY BADGE
================================ */
.relier-news-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid #aaa;
    background: rgba(255,255,255,0.95);
}

/* ================================
   RELIER NEWS PAGINATION (FIXED)
================================ */
.relier-news-pagination {
    margin-top: 48px;
    display: flex;
    justify-content: center;
}

.relier-news-pagination .page-numbers {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Base */
.relier-news-pagination a,
.relier-news-pagination span {
    all: unset;
    cursor: pointer;
    font-size: 14px;
    color: #111;
    padding: 4px 2px;
    min-width: 20px;
    text-align: center;
    position: relative;
}

/* Page numbers */
.relier-news-pagination .page-numbers:not(.prev):not(.next) {
    font-weight: 400;
}

/* Active page underline */
.relier-news-pagination .current {
    font-weight: 600;
}

.relier-news-pagination .current::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background: #b1122b; /* Relier red */
    border-radius: 2px;
}

/* Arrows */
.relier-news-pagination .prev,
.relier-news-pagination .next {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #ddd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    color: #111;
    transition: all 0.25s ease;
}

/* Arrow hover */
.relier-news-pagination .prev:hover,
.relier-news-pagination .next:hover {
    background: #f3f3f3;
}

/* Disable arrows */
.relier-news-pagination .disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* Mobile spacing */
@media (max-width: 640px) {
    .relier-news-pagination .page-numbers {
        gap: 10px;
    }
}
/* ==============================
   Blog Single – Editorial Layout
============================== */

.single-blog-custom {
    padding-top: 40px;
}

.blog-breadcrumb {
    font-size: 13px;
    margin-bottom: 20px;
    color: #777;
}

.blog-breadcrumb a {
    color: #777;
    text-decoration: none;
}

.blog-header {
    margin-bottom: 24px;
}

.blog-title {
    font-size: 60px;
    line-height: 1;
    font-weight: 800;
    max-width: 900px;
}

.blog-meta {
    font-size: 14px;
    color: #777;
    margin-top: 8px;
}

.blog-featured-image img {
    width: 100%;
    border-radius: 6px;
    margin: 30px 0;
}

.blog-intro {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #333;
}

/* Layout */
.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr ;
    gap: 40px;
}

/* Content */
.blog-content p {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 10px;
    font-weight: 400;
    color: #5B5C5F;
}

/* Highlight Box */
.blog-highlight {
    background: #eef4f2;
    padding: 24px;
    border-radius: 6px;
    margin: 40px 0;
    font-style: italic;
}
/* ==============================
   Contact Person Card
============================== */

.blog-contact {
    position: sticky;
    top: 120px;
}

.contact-card {
    background: #f5f5f5;
    border-radius: 16px;
    padding: 24px;
    max-width: 430px;
}

.contact-label {
    font-size: 14px;
    color: #000;
    margin-bottom: 6px;
}

.contact-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-inner {
    display: flex;
    gap: 16px;
    align-items: center;
}
h4.contact-name {
    margin: 0 0 10px;
}
.contact-image img {
    width: 120px;
    height: 144px;
    border-radius: 12px;
    object-fit: cover;
}

.contact-details p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

.blog-layout .contact-details a {
    display: block;
    margin-top: 6px;
    font-size: 15px;
    color: #252527;
    text-decoration: underline;
}


/* Responsive */
@media (max-width: 991px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-contact {
        position: static;
        margin-top: 40px;
    }

    .blog-title {
        font-size: 32px;
		line-height: 1.1;
    }
}
.blog-highlight {
    background: #eef4f2;
    padding: 24px;
    border-radius: 6px;
    margin: 40px 0;
    font-style: italic;
}
.blog-highlight p {
    margin-bottom: 0px;
}
/* Filters */
.employee-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.employee-filters button {
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
}

.employee-filters button.active {
    background: #000;
    color: #fff;
}

/* Grid */
.employee-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Card */
.employee-card {
    background: #f7f7f7;
    border-radius: 16px;
    overflow: hidden;
}

.employee-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.employee-info {
    padding: 16px;
}

.employee-location {
	font-size: 12px;
    color: #000;
    font-weight: 500;
}

.employee-info h4 {
	margin: 6px 0 4px;
    color: #AB112C;
    font-size: 16px;
    font-weight: 400;
}

.employee-title {
    font-size: 14px;
    margin-bottom: 8px;
}

.employee-contact {
    font-size: 14px;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 1024px) {
    .employee-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .employee-grid { grid-template-columns: 1fr; }
}
#header .three.units {
    width: 1140px !important;
    padding: 40px 50px;
    left: calc(100% - 1140px);
    margin-top: 88px !important;
}
#header .menu-item-has-children:hover .avia_mega_div {
    margin-top: 88px !important;
}
.menu-item-has-children a {
    cursor: pointer !important;
}
/* =========================================
   Enfold Mega Menu – Smooth open / close
========================================= */

/* Prevent clipping */
.menu-item-mega-parent {
    overflow: visible !important;
    position: static !important;
}

/* BASE STATE (hidden above, but animatable) */
.menu-item-mega-parent .avia_mega_div {
    display: block !important;

    position: fixed;
    top: 88px;
    /* left: 50%; */
    width: 100vw;

    background: #fff;
    z-index: 9999;
    /* transform: translate(-50%, -200px); */

    /* transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1); */
/* 
    pointer-events: none; */

    opacity: 1;

    /* will-change: transform; */
}
/*
.menu-item-mega-parent:hover .avia_mega_div {
   
    transform: translate(-50%, 88px);

    pointer-events: auto;
} */
.dropdown_ul_available span.avia-menu-text::after {
    content: '';
    display: inline-block;
    position: relative;
    width: 24px;
    height: 24px;
    background-image: url(https://www.relier.se/wp-content/uploads/2026/01/square-chevron-down-2.png);
    margin-left: 8px;
    margin-bottom: -6px !important;
    background-size: contain;
    background-repeat: no-repeat;
}
p.wpml-ls-statics-post_translations.wpml-ls {
    display: none;
}
section.services-list.column-three {
    max-width: 100% !important;
	margin-top: 48px;
}
a.service-item:first-child {
    border-top: 1px solid #D0D0D1;
}

#top a.avia-size-x-large {
    border-radius: 8px !important;
    padding: 12px 16px !important;
    background: #fff !important;
    color: #AB112C !important;
    border: 1px solid #AB112C !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    min-width: auto !important;
}
#top a.avia-size-x-large span.avia_button_icon {
    display: none !important;
}
.av_one_half .avia_textblock {
    max-width: 600px;
}
section.services-list.column-3 {
    max-width: 100%;
}

/* ===========================
   Custom CF7 Contact Form Styles
=========================== */

/* Target the form with the custom class */
.custom-contact-form label[for="message"] {
    font-size: 12px;
    font-weight: 500;
    color: #252527;
    display: block;
    margin-bottom: 8px;
}

/* Style the textarea field in custom form */
.custom-contact-form textarea#message,#top .about-contacts textarea {
      width: 100%;
    padding: 12px;
    font-size: 14px;
    font-family: 'Rethink Sans';
    border: 1px solid #D8D8DA;
    border-radius: 5px;
    resize: none;
    height: 73px;
    box-sizing: border-box;
    background: #fff;
}

/* Style the submit button in custom form */
.custom-contact-form input[type="submit"] {
    font-size: 16px;
    font-weight: 600;
    padding: 16px 20px;
    border: none;
    font-family: 'Rethink Sans';
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    background: #AB112C;
    box-sizing: border-box;
    text-align: center;
}
.contact-card.about-contacts p.contact-label {
    margin-bottom: 10px;
}
span.label-small {
    font-weight: 400 !important;
}
.contact-card.about-contacts h4.contact-name { 
	 margin-bottom: 0px !important;
}
/* Hover effect on submit button in custom form */
.custom-contact-form input[type="submit"]:hover {
    background-color: #AB112C; /* Darker red */
}

/* Add padding and layout around the form */
.custom-contact-form .wpcf7 {
   width: 100%;
    max-width: 600px;
    margin: 15px auto 0px !important;
}
.custom-contact-form .contact-card {
    width: 100% !important;
    max-width: 100%;
    padding: 32px;
}
/* Add margin between label and input fields in custom form */
.custom-contact-form .wpcf7 p,#top .custom-contact-form form  {
    margin-bottom: 0px !important;
}
#top input[type=email]:focus, #top input[type=number]:focus, #top input[type=password]:focus, #top input[type=search]:focus, #top input[type=tel]:focus, #top input[type=text]:focus, #top input[type=url]:focus, #top textarea:focus {
    box-shadow: none; 
}
footer .avia-button.avia-icon_select-yes-right-icon span.avia_button_icon_right:after {
    position: absolute;
    background: url(https://www.relier.se/wp-content/uploads/2026/03/arrow-right.svg);
    height: 19px;
    width: 18px;
    content: '';
    left: 7px;
    background-size: 18px 13px;
    background-repeat: no-repeat;
    top: 5px;
}
#top footer .big-center-section a.avia-button {
    padding-right: 30px !important;
}
.about-contacts .wpcf7 {
   margin: 0 !important;
}
.contact-wrap {
    display: flex;
}
.contact-wrap  .wpcf7-response-output {
    margin: 0 !important;
    font-size: 12px;
    line-height: 16px;
}
.contact-wrap .contact-inner {
    width: 70%;
}
.contact-wrap .contact-details {
    margin-top: -30px;
}
.menu-button span.avia-menu-text:after {
    position: absolute;
    background: url(//gomostaging.com/relier/wp-content/uploads/2026/03/arrow-right-1.png);
    height: 18px;
    width: 24px;
    content: '';
    right: 25px;
    background-size: contain;
    background-repeat: no-repeat;
    top: 35px;
}

@media (min-width: 991px) {
.contact-wrap  .contact-inner > div {
    flex: 1; /* This makes each div take up 50% of the space */
    min-width: 0; /* Ensure the div doesn't overflow if content is large */
}
}
@media (max-width: 991px) {
.contact-wrap {
    display: block;
    margin-top: 20px;
}
.contact-wrap .contact-inner {
    width: 100%;
}
span.avia-menu-text {
    font-size: 18px !important;
    color: #252527 !important;
    opacity: 1 !important;
    font-weight: 700 !important;
}
span.avia-menu-text span {
    color: #D0D0D1 !important;
    margin-right: 10px !important;
}
li.menu-button .avia-menu-text {
    width: 100% !important;
    display: block;
    font-size: 14px !important;
    font-weight: 600 !important;
}
.html_av-overlay-side-classic #top #wrap_all .av-burger-overlay #av-burger-menu-ul li a {
    border: none;
}
li.menu-button .avia-menu-text {
    width: 100% !important;
    display: block;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.html_av-overlay-side-classic #top #wrap_all .av-burger-overlay #av-burger-menu-ul li a {
    border: none;
}

span.avia-menu-text {
    width: 100%;
    border-bottom: 1px solid #D0D0D1;
    display: block;
    padding-bottom: 25px;
}
#av-burger-menu-ul a {
    margin: 0;
}

	.menu-button span.avia-menu-text:after {
		position: absolute;
		background: url(//gomostaging.com/relier/wp-content/uploads/2026/03/arrow-right-1.png);
		height: 18px;
		width: 24px;
		content: '';
		right: calc(50% - 60px);
		background-size: contain;
		background-repeat: no-repeat;
		top: 28px;
	}
}
.html_av-overlay-side .av-burger-overlay-scroll {
    width: 100%;
}
span.av-hamburger.is-active {
    height: 38px;
    margin-top: 20px;
	background: url(https://www.relier.se/wp-content/uploads/2026/04/close-icon.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.is-active span.av-hamburger-box {
    margin-top: -39px;
    height: 45px;
}

span.av-hamburger-inner {
    width: 25px;
}

#top .av-burger-menu-main .av-hamburger.av-inserted-main-menu.is-active .av-hamburger-inner {
	display: none;
}
#top .text-20 p {
    font-size: 20px;
    font-weight: 500;
}
.fs-22 h3 {
    font-size: 22px;
    line-height: 1.4;
	color: #252527 !important;
}
.fs-18 p strong, .fs-18 p {
    font-size: 18px !important;
    color: #252527 !important;
}
.fs-18 p strong {
    font-weight: 700 !important;
}
.socket-container a {
    color: #6D6E71 !important;
    font-size: 12px;
}

.socket-container p {
    margin-bottom: 0px;
}
.socket-container.avia-section-small .content {
    padding-top: 10px;
    padding-bottom: 10px;
}
#top .av-video-slide .avia-slide-wrap, #top .av-video-slide iframe {
    background: none;
}
.bg-video .bg-video-wrapper {
    border-radius: 16px !important;
}
#top .content .flex_column .widget_nav_menu li a:hover, #top .content .flex_column .widget_nav_menu ul:first-child>.current-menu-item, #top .content .flex_column .widget_nav_menu ul:first-child>.current_page_item {
    background-color: transparent;
}
.gomo-acc-item .gomo-acc-icon {
    border-color: #252527 !important;
    opacity: 1 !important;
    fill: #000 !important;
    border-width: 1px;
	margin-right: 5px;
}