/*
Theme name: Bobilkjeden
Description: Bobilkjeden Arve Opsahl 2020
Version: 1.0
*/

/*
Source SASS styles are located in resources/styles/.
The compiled bundles are in dist/styles/{xyz}-bundle.css.
The README.md file contains instructions on
how to get the build process up & running.

If you need to make a quick fix, feel free to add CSS
below this comment - it will override the bundled styles.
*/

.scroll_top {
  position: absolute;
  right: 20px;
  bottom: 320px;
  height: auto;
  margin: 0;
}
.scroll_top a {
  font-size: 40px;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 1;
  width: 40px;
  height: 40px;
}

.footer_stamp {
  position: absolute;
  right: 67px;
}

footer .logo {
  margin-top: 6px;
  margin-right: 67px;
  margin-left: 0;
}
.footer_menus {
  margin-right: 59px;
}
@media screen and (max-width: 1400px) {
  .footer_stamp {
    right: 10px;
  }
}
@media screen and (max-width: 1280px) {
  .footer_logo {
    margin-right: 30px;
  }
  .footer_car_in_stock {
    margin-right: 30px;
  }
  .footer_stamp img {
    width: 90px;
  }
}
@media screen and (max-width: 992px) {
  .footer_menus {
    margin-right: 0;
  }
  .footer_follow_us a {
    margin: 0 15px 10px;
  }

  .footer_stamp {
    position: relative;
    right: 0;
    margin-bottom: 24px;
  }
  footer .logo {
    margin-right: 0;
  }
}

/* default styles */

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex='-1']:focus {
  outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
}

.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
  content: '';
  display: table;
  table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
  clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
  margin: 0 0 1.5em;
  /* Make sure select elements fit in widgets. */
}

.widget select {
  max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
  display: block;
}

/* .post,
.page {
	margin: 0 0 1.5em;
} */

.updated:not(.published) {
  display: none;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  /* Theme Footer (when set to scrolling) */
  display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  /* IE10+ CSS styles go here */
  .article img {
    /* width: 100%; */
    -ms-interpolation-mode: bicubic;
  }
}


.post_cols .post_item .post_item_link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.search-results .article.post_item a {
  height: 100%;
}
.search-results .article.post_item a,
.search-results .article.post_item a:hover {
  color: #000;
  text-decoration: none;
}

.search-results .article {
  margin: 0;
}

.search-results .article .post_text {
  display: block;
}

body.search .cars_in_stock_item_photo .campaign_price {
  right: 15px;
}

.scroll_top a:hover {
  background-color: transparent;
}

.post_text {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media screen and (max-width: 1200px) {
  .post_text {
    padding: 15px;
  }
}

@media screen and (max-width: 992px) {
  .map {
    min-height: 650px;
  }
  .locations_wrapper {
  }
  .departments_adresses_wrapper {
    padding-top: 20px;
    display: flex;
    /* flex-direction: column; */
    justify-content: space-between;
    height: auto;
    width: 100%;
  }

  .departments_adresses_item {
  }
}


.brand-logo figure img {
  max-width: 150px;
}
.brand-logo-wide figure img {
  max-width: 180px;
  margin-bottom: 15px;
}

.editor-styles-wrapper #kalkulator {
  display: none;
}

.results p {
  font-size: 13.5px;
  line-height: 1.3;
}


.features-large {
  list-style: none;
  padding-left: 0; /* Remove default padding */
}

.features-large li {
  display: flex;
  align-items: center;
  margin-bottom: 20px; /* Space between items */
  font-size: 22px;
  color: #333;
}

.features-large li::before {
  content: url('data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\' width=\'35\' height=\'35\' viewBox=\'0 0 35 35\'><g id=\'Component_88_1\' data-name=\'Component 88 – 1\'><circle id=\'Ellipse_282\' data-name=\'Ellipse 282\' cx=\'17.5\' cy=\'17.5\' r=\'17.5\' fill=\'%23bb2031\'/></g><path id=\'Icon_awesome-check\' data-name=\'Icon awesome-check\' d=\'M5.9,17.286l-5.65-5.65a.869.869,0,0,1,0-1.229L1.484,9.178a.869.869,0,0,1,1.229,0l3.806,3.806,8.152-8.152a.869.869,0,0,1,1.229,0L17.13,6.061a.869.869,0,0,1,0,1.229l-10,10A.869.869,0,0,1,5.9,17.286Z\' transform=\'translate(8.594 6.228)\' fill=\'%23fff\'/></svg>');
  margin-right: 15px;
  display: inline-block;
  width: 35px; /* Adjust as needed */
  height: 35px; /* Adjust as needed */
  flex-shrink: 0;
}

.blurb {
  padding: 10px 50px;
}

.blurb-image {
  text-align: center;
}
.blurb-header {
  font-weight: 700;
}

.blurb-subheader {
  margin-top: 0;
}
p.blurb-copy {
  margin-top: 30px;
  font-size: 18px;
}

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

.post-list-clean li {
  border: 1px solid #e0e0e0; /* Light border around each job post */
  border-radius: 6px; /* Rounded corners */
  padding: 20px;
  margin-bottom: 20px; /* Space between each job listing */
  background-color: #fff; /* White background for the job listing */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-list-clean li:hover {
  transform: translateY(-5px); /* Hover effect */
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15); /* Stronger shadow on hover */
}

.wp-block-group {
  border: none;
}
.wp-block-group h2.wp-block-post-title {
  font-size: 22px; /* Adjusted font size for titles */
  font-weight: bold; /* Make the titles bold */
  margin-bottom: 10px; /* Space between title and excerpt */
  color: #000; /* Black color for titles */
}

p.wp-block-post-excerpt__excerpt {
  font-size: 16px !mportant; /* Regular font size for excerpts */
  color: #333; /* Slightly lighter color for text */
  margin-bottom: 20px; /* Space before button */
}

.wp-block-post-excerpt {
  margin-bottom: 0;

  p {
    font-size: 16px !mportant; /* Regular font size for excerpts */
  }
}
.wp-block-group p.wp-block-post-excerpt__excerpt {
  font-size: 18px;
}

.wp-element-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #bb2031; /* Match button to red color */
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 50px; /* Rounded button */
  transition: background-color 0.3s ease;
}

.wp-element-button:hover {
  background-color: #a51b28; /* Slightly darker red on hover */
  color: #fff !important;
}


.wp-block-button__link {
  font-size: 18px;
}


section.forhandlere {
  padding: 45px 70px;
  border-bottom: 6px solid #BB2031;
  margin-bottom: 60px;
}
section.forhandlere h2, section.forhandlere p {
  max-width: 600px;
margin-left: auto;
margin-right: auto;
}

section.forhandlere h2 {
font-weight: 700;
font-size: 35px;
margin-top: 45px;
}

section.forhandlere p {
  font-size: 18px;
  }

  section.forhandlere img.merker {
    margin-left: auto;
    margin-right: auto;    }

