#image1, #layer1 #image1-5, #image1-8 { transform-origin: center center;  transition: ease-in-out 0.2s; z-index: 999; position: relative;}

.processing-line-wrapper image {
    opacity: 1; /* Alla bilder har 1 som standard */
    transition: opacity 0.3s ease; /* Lägger till en övergång för mjukare förändring */
}

.processing-line-wrapper .notActive {
    opacity: 0.6; /* Bilder som inte är aktiva */
}



.slider-item .readmore-btn { background-color: var(--accentColor);  padding: 10px 15px; font-family: var(--ffHead); font-weight: normal; color: var(--headColor); width: auto; width: max-content; margin: 0px;}


#content button a:hover, #content .readmore-btn:hover { color: var(--headColor); opacity: 0.7; }
ul li i { font-size: var(--paragraphSize); color: var(--greenAccentColor);}
#machine-solutions-wrapper .machine-solutions-cta { position: unset !important; transform: unset; font-size: var(--paragraphSize); margin: auto; }
#content button,#content .readmore-btn, .processing-lines-readmore, #content, ul li i, .cta, .cta-button, a.machine-solutions-cta, .more-info-cta-container ,.alt-button a  { transition-timing-function: ease-in-out; transition: 0.2s;}
#content button:hover,#machine-solutions-wrapper  a.machine-solutions-cta:hover, .processing-lines-readmore:hover, #latest-news a:hover,.cta-button:hover, #content .cta:hover,#content .readmore-btn:hover, ul li i:hover, .more-info-cta-container:hover, .alt-button a:hover, #content a.has-yellow-accent-background-color:hover, .wp-block-button__link:hover { transform:scale(1.1); }
#content a.has-yellow-accent-background-color:hover { color: var(--headColor); }
.machine-solutions-container a:hover { color: unset; }

.page-id-67 .hero-banner-top { background-position: center !important; }
#latest-news a:hover {}
.menu-machine-solutions { justify-content: flex-start}
.menu-processing-lines-title a { font-size: var(--h1Size);}

.menu-processing-lines-title, .menu-machine-solutions-title { margin-bottom: unset;}

button:hover { color: var(--headColor);}

#home-hero-section { background: url('https://emve.com/wp-content/uploads/2024/05/abstract.jpg');
background-size: cover; min-height: 720px; max-height: 65vh; height: 65vh; }
.slider-item { height: unset; }
#home-hero-section::after { top: unset;
min-height: 720px; max-height: 65vh; height: 65vh;
}
/* CUSTOM */
:root {
  --icon: "Font Awesome 6 Pro";
  --whiteColor: #F6F6F6;
  --subheadColor: #727272;
  --headColor: #292929;
--ffHead: 'Bebas Neue', sans-serif;
  --ffMain: 'Montserrat', sans-serif;
  --accentColor: #FFE747;
  --greenAccentColor: rgb(53, 57, 66);
  --megaSize: calc((var(--paragraphSize)*2.2));
  --subtitle: calc((var(--paragraphSize)*1.3));
  --h1Size: calc((var(--paragraphSize)*2));

  --responsiveFont: 0.3920625vw;
  --h1Font: 0.8920625vw;

	--padding: calc(2vw + 5px);


  --lineColorGreen: #FFE747;
--paragraphSize: clamp(14px, calc(13px + var(--responsiveFont)), 18px);


  --lineHeightO: calc((var(--paragraphSize)*1.6));

  --lineHeight1: calc((var(--paragraphSize)*2.5));
  }
#top-contact-center h1 { font-size: calc(var(--megaSize)*1.2);}


#intro-text .text h1, #machine-solutions-wrapper .col .text-container h1 {margin-bottom: 0.5em; line-height: var(--lineHeight1);}

.news-headline-slider h1 { position: unset; }

.news-headline-slider { margin: auto; position: relative; background-color: #f6f6f6;}

.slider-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1370px;
  margin: auto;
  padding: 0px 30px;
  overflow-y: visible;
  overflow-x: hidden;
}

#content button.slider-prev, #content button.slider-next { transition: unset; }
#content button.slider-prev:hover, #content button.slider-next:hover { transform: translateY(-50%);}
p, #processinglines .hero-section .desc , .text-more-info, #about-us-text-container, #sustainability .text-content, #about-us .text-about-us, #machine-solutions-wrapper .col .text-container .desc  { font-size: var(--paragraphSize); line-height: var(--lineHeightO);}

#machine-solutions-wrapper .col { background: unset; }
#machine-solutions-wrapper .col img { object-fit: contain; }
#machine-solutions-wrapper .col .text-container { min-height: unset; padding: var(--padding);}

.opacity{ opacity: 0.5;}

.machines-used h3 { background-color: var(--accentColor); padding: 10px; color: var(--headColor) }
.machines-used .row { margin: 10px 10px;}
.processing-description { display: none; }

#part-1-desc .inner-container, #part-2-desc .inner-container , #part-3-desc .inner-container  {
	 padding: 30px; position: relative; }
#part-1-desc {
  position: absolute;
  bottom: 40px;
  left: 470px;
  width: 800px;
  background-color: white;

  box-shadow: 0px 10px 20px #11111112;

}
.menu-item {
  position: relative;
  transition: transform 0.2s ease-in-out;
  will-change: transform;
}

.menu-item::before {
  content: ''; /* Obligatoriskt för att pseudo-elementet ska visas */
  position: absolute; /* Absolut positionerat inuti .menu-link */
  bottom: -3px; /* Placera linjen strax under texten */
  left: 50%; /* Centrera linjen horisontellt */
  width: 0; /* Börja med noll bredd */
  height: 3px; /* Höjden på linjen */
  background-color: var(--accentColor); /* Färg på linjen */
  transition: width 0.2s ease-in-out; /* Övergångseffekt för bredden */
  transform: translateX(-50%); /* Centrera linjen horisontellt */
  will-change: width; /* Förbättrar prestandan vid övergångar */
}

.menu-item:hover::before {
  width: calc(100% + 10px); /* Expandera linjen till max bredd */
}

.menu-item a:hover {
  color: unset;
}

.menu-item:hover {
  transform: scale(1.1);
}

.menu-container.expanded .menu-item:hover {
  transform: scale(1.1) translateX(15px);
}

.prev-next-buttons .prev { font-size: var(--paragraphSize) !important;  }
.processing-lines-container .more-info  { flex-direction: column;}
.processing-lines-container .more-info .text-more-info { background-color: unset; box-shadow: unset; text-align: center; font-weight: bold; color: var(--MainColor); padding: 0px 5px; font-size: 20px; }


@media only screen and (max-width: 768px) {

	#part-1-desc, #part-2-desc, #part-3-desc, .processing-lines-container .more-info  { display: none !important; }


}
.home #part-1-desc { bottom: 200px;}

.home #part-1-desc .inner-container, .home #part-2-desc .inner-container, .home #part-3-desc .inner-container { height: unset; position: unset; overflow: unset !Important; overflow: hidden;}

/*
#path1, #path34, #path35 { fill-opacity: 0; transition: 0.5s;}
#path1:hover, #path34:hover, #path35:hover {  fill: var(--accentColor);
fill-opacity: 0.5 !important;}
*/

#part-2-desc {
  position: absolute;
  top: 280px;
  left: -180px;
  width: 800px;
  background-color: white;
    box-shadow: 0px 10px 20px #11111112;
}

#part-3-desc {
  position: absolute;
  top: 179px;
  right: 670px;
  width: 800px;
  background-color: white;
  box-shadow: 0px 10px 20px #11111112;
}


/* Default header styles */
#header {
    background-color: transparent;
    transition: background-color 0.5s;
}
#header { position: fixed; z-index: 999;}
/* Shrunken header styles */
#header.shrunken {
    height: 60px; /* Adjust the desired height */
    background-color: white; /* Background color when shrunk */
}

.machine-listing { opacity: 0.5; transition: 0.5s;}

.is-layout-constrained { max-width: 1370px; margin: auto;}


.machine-listing.selected { opacity: 1;}

.machine-details-hidden { display: none;}

.style-svg  {max-width: 1370px; margin: auto; width: 100%; height: auto; }

.machine-listing.selected h2:after { content: 'Selected'; font-size: 16px; font-family: var(--ffMain); font-weight: bold; color: var(--greenAccentColor); text-align: center; display: block; line-height: 18px;height: 18px;}

.machine-listing h2:after {height: 18px; content: ' '; display: block;}

.machine-listings-container { display: grid;
grid-template-columns: auto auto auto auto;
    align-items: center;
    justify-content: center;
    height: 100%;}

.machine-slider {  width: 100%;
    max-width: 1370px;
    height: 450px;
    margin: 20px;
    text-align: center;
    border-radius: 20px;
    position: relative;}

.machine-slides {
    display: flex;
    overflow-x: scroll;
    position: relative;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
 gap: 40px;}

.machine-listing { display: flex;
    justify-content: center;
    align-items: center;

    flex-shrink: 0;
    width: 25%;
    height: 450px;
    margin-right: 0px;
    box-sizing: border-box;

    transform-origin: center center;
    transform: scale(1);
    scroll-snap-align: center; flex-grow: 1;}

.page-template-page-machine-solutions .machine-listing h2 { line-height: 25px; font-family: var(--ffMain); font-size: 20px; font-weight: 600; color: #444;}

svg path { transition: 0.3s; transition-timing-function: ease-in-out;
    display: inline;
    fill: #fff0 !Important;
	opacity: 0;
    stroke: gold !important;
    stroke-width: 2 !important;
    stroke-dasharray: none;
    paint-order: markers fill stroke;
	cursor: pointer;
}

path title#title4 { display: none;}

#intake-storage, #washing-grading, #pack-palletizing { transition: 0.3s;transition-timing-function: ease-in-out; transform-origin: center; }
#intake-storage.img-selected, #washing-grading.img-selected, #pack-palletizing.img-selected {opacity: 1;}

#tooltips {
  position: absolute;
  display: none;
  background-color: var(--accentColor);
  color: #222222;
  padding: 5px 8px;
  border-radius: 5px;
	font-family: var(--ffHead); font-size: 18px; padding: 10px 15px; z-index: 99999;
}


.up-arrow, .up-right-arrow {
  width: 0;
  height: 0;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-bottom: 25px solid white;
  position: absolute;
  top: -20px;
  left: 30px;
}


.up-arrow { left: -35px; transform: rotate(-90deg); top: 45px;}
.up-right-arrow { left: unset; right: 30px;}

.right-arrow { width: 0; height: 0; border-bottom: 25px solid transparent; border-top: 25px solid transparent; border-left: 30px solid white;
position: absolute; right: -23px; top: 50px; }

.title-for-step { position: absolute;  width: 100%; height: 400px; display: flex; flex-direction: column; justify-content:center; border: 2px solid #f6f6f6;  }

#stepbystep .step.test-active {  }
.title-for-step h2 { font-size: 1.3em; border-bottom: 3px solid var(--accentColor); width: fit-content; margin: 0px auto; text-align: center; padding: 0px 10px}

.title-for-step h1 { font-size: 2em; margin-top: 10px;}

.test-active .title-for-step, .test-active .title-for-step h1, .test-active .title-for-step h2 { color: white;}

.step-more-info h2 { font-size: 1.8em; border-bottom: 3px solid var(--accentColor); line-height: var(--lineHeightO); margin-bottom: 10px; }
.extra-content .machines-in-processingline .row { padding: 15px 10px; }
.extra-content .machines-in-processingline h3 { padding: 10px; font-size: var(--paragraphSize); background-color: var(--accentColor); }

#stepbystep .test-active { width: 100%; position: relative;}

#stepbystep .test-active .title-for-step { background-color: var(--greenAccentColor); width: 25%; left: 0;
}
.step-more-info { width: 75%; position: absolute; left: 25%; text-align: left; padding: 30px;}
#stepbystep { margin: 30px auto; background-color: transparent;}

.step-by-step-title-holder { max-width: 1370px; margin: auto; }
.step-by-step-title-holder h1 {text-align: center; font-size: 2.2em;}


.prev-next-buttons {
  display: flex;
  justify-content: space-between;
  margin: 30px auto;
}
#stepbystep .step { height: 400px;}
#stepbystep { height: 400px;}

.sub-menu li { border-bottom: 1px solid #f6f6f6; padding-top: 20px;}
.sub-menu a { font-family: var(--ffMain);}




.step-1 .step-description, .step-2 .step-description, .step-3 .step-description, .step-4 .step-description { line-height: 18px; font-size: 13px; }


#intro-text .image img { width: 100%;}

#about-us .about-us-text-container { grid-template-columns: 1fr; text-align: center; font-size: 23px; }

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Adjust the opacity (fourth parameter) as needed */
    z-index: 999; /* Ensure it's above other content */
    display: none; /* Initially hidden */
}

#header, .machine-solutions-container { z-index: 1024; }

.machine-solutions-container  { top: 90px !important;}


/* Ajax loader */
.loader {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-top: 4px solid var(--accentColor);
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -20px;
  margin-left: -20px;
  z-index: 9999;
  display: none;

}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
#intro-text .text h1 { width: 90%; }

#content a {
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: 0.2s;
}
#content a:hover {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--accentColor);
}

#footer .menu li a:hover { color: var(--accentColor);}

#content .more-info-cta-container a:hover, #content .cta-button-special a:hover, #content .cta a:hover, #content a.machine-solutions-cta, #content .cta-button a:hover, #content .text-wrapper  a:hover { color: var(--headColor);}

.cta span {font-family: var(--ffMain);}

#footer svg path { opacity: 1 !Important;}

.downloadables-container ul li span::after {content: unset; }

.downloadables-container ul li i { padding-left: 5px;}



.processing-lines-readmore a { background-color: var(--accentColor); padding: 10px 10px; }

.processing-description .row, .machines-in-processingline .row {
  display: flex;
  justify-content: space-between;
  font-family: var(--ffMain);
  font-size: 14px;
	padding: 10px 0px;
	border-bottom: 1px solid #f6f6f6
}#stepbystep .active-more-info { height: 400px; overflow: scroll; }

/* Machines Used */
#machinesused { background-color: white;}
#machinesused h1 { font-size: var(--h1Size); text-align: center; padding: 30px;  }

#machinesused .machinesused-container { max-width: 1370px; margin: auto;  padding: 60px; }
.machines-used h3 { font-size: var(--paragraphSize);}
.machines-used-type { display: grid; grid-template-columns: 1fr 1fr 1fr;}

.machines-used-type .machine-card { text-align: center; }

.step-more-info .description { font-size: 16px;}
.step-more-info.active-more-info .prev-next-buttons button { font-size: var(--paragraphSize);}
.machines-used .row .col a { font-size: 16px; }

#footer .footer-container {grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));}

.page-template-default .entry-content,
.single-post .entry-content { padding: 30px; }
#wrapper-machines { position: relative; }
#listing-machine {
  max-width: 1370px;
  margin: auto;
  position: relative;
  width: 100%;
}

#button-left, #button-right { position: absolute; top: 50%; transform: translateY(-50%); background-color: black; color: white;  padding: 10px;z-index: 999;
  height: 100%;
  align-content: center;
  align-items: center;
  display: flex;
  width: 5%;
  background-color: #00000030;
	justify-content: center;
	cursor: pointer;

}

#button-left { left: 0%; }
#button-right { right: 0%; }

#machine-collection-wrapper {  max-height: 450px; position: relative; max-width: 1370px; margin: auto; width: 100%; }

#machine-slider { box-shadow: unset; }

#taxonomy-buttons { justify-content:center;}

.wp-block-latest-posts__post-excerpt, .wp-block-latest-posts__post-date { font-family: var(--ffMain); line-height: var(--lineHeight0);}

.page-template-default .wp-block-post-title { line-height: 65px;
	margin: auto;
  margin-bottom: 1em;
  font-size: var(--megaSize);
  padding-bottom: 10px;
  border-bottom: 3px solid var(--accentColor);
	width: fit-content;
	text-align: center;

}

.wp-block-archives { background-color: white; padding: 15px; line-height: 1.4em;}

  .page-template-default #content h1 a { font-size: var(--megaSize) !important; font-style: normal !important; text-align: left;  }
.wp-block-post-excerpt__more-text a { background-color: var(--accentColor); padding: 7px 9px; margin-top: 2em;}

#content .wp-block-group time { font-size: var(--h1Size) !important; font-family: var(--ffMain); color: var(--greenAccentColor); font-weight: bold;  }
.wp-block-archives li { border-bottom: 2px solid lightgray; padding: 3px 4px;}

.page-template-default #content ul li { background-color: white;  padding: 0px 15px; margin-bottom: 20px;  }

.page-template-default #content ul li .wp-block-group { padding-top: 15px;}

.single #content { max-width: 1370px; width: 100%; display: flex; flex-wrap: wrap; gap: 30px; margin: auto;  }

.single-post #content {
  display: inherit;
  max-width: none;
}

.single #content img { width: 100%; }

.single #content .widget-container { width: 21%;}

.single #content article { width: 75%;}

@media only screen and (max-width: 1370px)  {
	.single #content article {
		width: auto;
	}
}

a { transition: 0.2s;}
a:hover {color: var(--accentColor);}

.machine-content-main-wrapper { box-shadow: inset 0px 0px 10px 0px #d9d9d9;}

.model-list-container { max-width: 1370px; margin: auto; width: 100%; display: flex; flex-direction: column;   padding: 30px;  }

.model-list-container .row { border-bottom: 2px solid #f6f6f6; display: flex; flex-direction: row; line-height: 42px; font-family: var(--ffMain);  justify-content: space-between; padding-bottom: 10px; padding: 20px 30px 20px 30px; background-color: white; }

.model-list-container .row .col:hover { color: var(--accentColor); transition: 0.2s;}

.model-list-container .row:hover  { border-bottom: 2px solid var(--accentColor); transition: 0.2s;}

.model-list-container .header .row { background-color: var(--accentColor);}
.model-list-container .header .row { border: unset; font-size: var(--paragraphSize);}


#anchor::before {
  content: '';
  display: block;
  height:      95px;
  margin-top: -95px;
  visibility: hidden;
}


div.wpforms-container-full { padding: 45px;}

.buttons-container-contact button { width: 100%;}
.buttons-container-contact { grid-template-columns: 1fr 1fr 1fr; width: 100%; }
#menu-main li .sub-menu a { font-size: 15px;}
#menu-main .sub-menu li { padding: 13px 0px;}
#menu-main .sub-menu {  margin-top: 10px;}

.model-list-container a  {
  border: 2px solid;
  padding: .567em 0.8em;
	font-size: calc(var(--paragraphSize)*0.83);
}

#inquiry-form { margin: auto; max-width: 1370px;}

#inquiry-form .form-field-container { display: flex; flex-direction: column; align-items: center; text-align:center;}
#inquiry-form .wpforms-container .wpforms-field select, #inquiry-form .wpforms-container .wpforms-field input, #inquiry-form .wpforms-container .wpforms-field fieldset .wpforms-field-row, #inquiry-form .wpforms-container .wpforms-field fieldset legend  { margin: 10px  auto; text-align:center;}


.model-list-hidden { display: none; }

.page-template-page-machine-solutions p { margin: 15px 0px; font-size: var(--paragraphSize)*0.9;}

#contact-center-quicklinks {
  display: flex;
	flex-direction: column;
  align-content: center;
  align-items: center;
	text-align: center;
	padding: 30px;
}


.page-template-page-machine-solutions .wp-block-columns .wp-block-column:last-child {
background-color: white;
	padding: 40px;
	border-radius: 5px;
	box-shadow: -1px 1px 5px 0px #e6e6e6;
}

a { cursor: pointer;}

.page-template-default h2 { margin: 10px 0px; }
.page-template-default h1.special { background-color: var(--greenAccentColor); width: fit-content; margin: auto; color: var(--whiteColor); padding: 10px 15px; }
.page-template-default p { font-size: calc(var(--paragraphSize)*0.83); margin: 15px 0px; }

.page-template-default,
.single-post { background-color: white;
}
.page-template-default .hero-banner-top,
.page-template-page-news .hero-banner-top,
.single-post .hero-banner-top {
  min-height: 50vh;
  max-height: 50vh;
  height: 100%;
  position: relative;
  background-position: top;

  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: unset;
}

@media only screen and (min-width: 768px) {
	.page-template-default .hero-banner-top,
  .page-template-page-news .hero-banner-top,
  .single-post .hero-banner-top { background-attachment: fixed; }

}

.page-template-page-news .wp-block-post-template {
  gap: 2em;
}


.page-template-page-news .wp-block-post-template .wp-block-group {
  padding: 1.875em;
}

.page-template-page-news .wp-block-post-template .wp-block-post {
  background-color: #fff;
}

@media only screen and (max-width: 1370px)  {
  .page-template-page-news .wp-block-post-template {
    gap: 1.25em;
  }
}

@media only screen and (max-width: 980px) {
  .page-template-page-news .wp-block-post-template {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.page-template-page-news .wp-block-query-pagination {
  gap: 15px;
  font-size: var(--paragraphSize);
  font-family: var(--ffHead);
  margin-top: 2em;
}

.page-template-page-news .wp-block-query-pagination-numbers {
  display: flex;
  gap: 15px;
}

.page-template-page-news .wp-block-query-pagination-numbers a {
  color: var(--subheadColor);
}

body.page-template-default  #footer .wp-block-columns .wp-block-column { padding: unset;}

@media only screen and (max-width: 479px) {
	#footer img { width: 100%;}
	#footer .wp-container-11 { flex-wrap: nowrap !important;}
#footer .wp-block-social-links { width: fit-content; }
	#copyright { padding: 8px; text-align: center;}
}

.uagb-tabs-list { padding: 10px 15px !important; border: 1px solid;}

.hero-banner-top .header-info {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--greenAccentColor);
  padding: 10px 20px;
  color: var(--whiteColor);
  font-size: var(--h1Size);
  text-align: center;
}
.hero-banner-top .header-info h1 { color: var(--whitreColor)}

#ez-toc-container.ez-toc-transparent { position: sticky; top: 80px; border: unset;}

.page-template-default strong { font-weight: bold; }

.page-template-default h3 { font-size: 2em;}

/* .uagb-inner-tab-1 #ez-toc-container */

.profilepic {
  width: 100%;
  max-height: 350px;
  object-fit: cover;
  object-position: center;
  margin-bottom: 10px;
  -webkit-filter: grayscale(100%);   filter: grayscale(100%);
}

.ez-toc-list a { font-size: 1.1em; font-weight: normal;}
.page-template-page-machine-solutions strong { font-weight: bold; }

#department-sales, #department-service, #department-financial, #department-spares, #department-management, #department-r-d, #department-service-technicians, #department-other, #department-production { display: flex;   grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin: 30px auto; text-align: center; justify-content:center; flex-flow: row wrap;}


#company-departments .department-container > h2  { font-size: var(--megaSize); text-align: center;}


#company-departments .department-container { max-width: 1370px; margin: 30px auto;}

 .department-container .personal-card {
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px; text-align: center;
	 max-width: 250px;
	 width: 100%;

  justify-content: flex-start;
}

.personal-card .sales-contact {padding: var(--padding); display: flex; flex-direction: column; background-color: white;}
.personal-card h1 { font-size: var(--h1Size);}

.department-container .personal-card .profilepic {width: 100%;
  max-height: 250px;
  object-fit: cover;
  object-position: center;
  margin-bottom: 10px; }

.department-container .personal-card:hover {
  box-shadow: 0 0 2px 1px var(--accentColor),0px 1px 2px rgba(0,0,0,0.15);
}

#taxonomy-buttons { display: flex; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); justify-content:center; margin: auto; width: 80%; flex-flow: row wrap; }
.step-1, .step-2, .step-3, .step-4 { width: unset; justify-content: center; }

#department-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: var(--h1Size);
	flex-wrap: wrap;
}

#department-buttons button {
  background-color: #d6d6d6;
}

#department-buttons button:hover {
  background-color: var(--accentColor);
}

#department-buttons button.active {
  background-color: var(--accentColor);
}

#department-buttons button { font-size: 18px; }

#main-company-details {
  display: grid;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  grid-template-columns: 1fr 1fr;
	text-align: left;
}

.page-template-page-contact-center main#content { max-width: 1370px; margin: auto; }

#top-contact-center { padding-bottom: 30px; min-height: unset; }

#contact-center-quicklinks .need { font-size: var(--h1Size); }

#company-departments { text-align: center;  margin-bottom: 90px; }
#company-departments h1 { font-size: var(--h1Size); margin-bottom: 30px;  }

#department-content { max-width: 1370px; margin: auto; }

#department-content .department-header { text-align: left; margin: 30px;}

#form-container  { width: 100%; text-align: left;  }

.wp-block-social-links .wp-block-social-link.wp-social-link { background-color: var(--accentColor) !important; border-radius: 5px !important; }

ul li a svg path { stroke: unset !important;  fill: #292929 !important;}

ul li a svg { width: 35px !Important; height: 35px !Important; }
.cta-button button, .cta-button a,
.alt-button a { border-radius: 5px; }

#breadcrumbs-container {
  font-size: var(--paragraphSize);
  font-family: var(--ffHead);
  text-align: center;
  margin: 30px;
  color: #292929;
}
#breadcrumbs-container span { color: var(--greenAccentColor);}
#breadcrumbs-container span:before { font-family: var(--icon); font-size: 13px; padding: var(--padding); content: "\f054"; }

#breadcrumbs-container span:first-child:before { content: unset;}

#template-container { grid-template-columns: repeat(6, 1fr);}

#template-container .personal-card {
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  justify-content: flex-start;
}

.profilepic {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  object-position: center;
  margin-bottom: 10px;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}

.personal-card h3.subtitle { margin-bottom: 0px; }

#processinglines .hero-section h1, #machine-solutions-wrapper .hero-section h1 { line-height: var(--lineHeight1);}

.machine-solutions-cta { position: relative; }
.news-headline-slider h1 { display: block; left: unset; transform: unset; width: fit-content; }


.swiper-container  { display: none;}

.page-template-page-machine-solutions #footer .wp-block-columns .wp-block-column:last-child { background-color: unset; box-shadow: unset; padding: unset; }

#header .inner-container-header { padding-left: var(--padding) padding-right: var(--padding);}


.secondhand-equipment .text,
.secondhand-equipment .image { width: 45%; text-align: left; }
.secondhand-equipment .image img { width: 100%;}
@media screen and (max-width: 479px) {
	#main-company-details .col { text-align: center; }
	#footer .footer-container {
  grid-template-columns:1fr;
}
	.secondhand-equipment { flex-direction: column; }
	.secondhand-equipment .image, .secondhand-equipment .text { width: 100%;}
	.secondhand-equipment .image img { width: 100%;}
	.responsive-iframe {

  width: 100%;
  }

	#main-company-details { grid-template-columns: 1fr; margin: auto;  }
	.buttons-container-contact { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));}
	#taxonomy-buttons { width: 60%; }
	#template-container { grid-template-columns: repeat(auto-fill); }
	.step-1, .step-2, .step-3, .step-4 { justify-content: normal; width: 100%}
	#breadcrumbs-container span { line-height: var(--lineHeightO);}
	#breadcrumbs-container span::before { padding: 5px; }

}
#main-company-details {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  grid-template-columns: 1fr;
  text-align: left;
  flex-wrap: wrap;
	padding: var(--padding);
}

#main-company-details .col { width: 50%; }
#header .inner-container-header { width: 95%; }
@media only screen and (max-width: 980px) {
  .page-template-default .entry-content,
  .page-template-page-news .entry-content {
    padding: 60px var(--padding);
  }

	#machine-solutions-wrapper a.machine-solutions-cta { font-size: 18px; }
	.cta-button-special .cta { width: 100%; justify-content:center; display: flex; flex-direction: row;   }
	.buttons-container-contact { grid-template-columns: auto;}
	.cta-button-special a { flex-direction: column; width: 100%; }

	#main-company-details .col { width: auto; margin: auto; }

	#template-container
	.cta-button-special a > div { width: 100%;}
	#wrapper-machines { width: 100%; }
	#listing-machine .machine-listing { width: 100% !Important;  }
	#listing-machine .machine-listing .image-container { max-height: 350px; height: auto; max-width: 90%; padding: var(--padding);}

	.processing-lines-container { display: none !important; }
	.swiper-container { display: block; margin: 10px; }
.swiper-slide img {
    width: 100%;
    height: auto;
	margin: auto;
}
	.news-headline-slider h1 { text-align: center; margin: 10px auto;}
	.hero-container .hero-buttons a, .cta a { font-size: var(--h2Size);}
	#home-hero-section .hero-container { padding-top: 150px;}
	#header.shrunken { background-color: unset; height: unset; }
		#header.shrunken .hamburger { top: 5px;  transform:scale(0.9);}
	.hamburger { transition: 0.5s; top: 30px; right: 10px; border-radius: 5%; }
	.downloadables-container ul li { display: flex; text-align: left; line-height: var(--lineHeightO);}

	.swiper-slide .description,
.swiper-slide-active .description { background-color: white; padding: 15px 15px; }

	.swiper-button-next, .swiper-button-prev { background-color: var(--accentColor); color: var(--greenAccentColor); padding: var(--padding); }

	.swiper-button-next:after, .swiper-button-prev:after { font-size: var(--paragraphSize) !important; font-weight: bold; color: var(--greenAccentColor); }

	.swiper-slide-active .description h2, .swiper-slide .description h2 {
  font-size: 1.5em;
  line-height: 1.5em;
  width: fit-content;
  border-bottom: 3px solid var(--accentColor);
  margin-bottom: 10px;
}

	.swiper-horizontal { overflow: hidden; position: relative;}

/*
	.swiper-slide { display: none !important;}

	.swiper-slide-active { display: block !important;}
*/	#branding { margin: auto; transition: 0.5s;}

	#header.shrunken #branding { opacity: 0;}

	.cta { display: flex; flex-direction: column; margin: auto; text-align: center; }

	#intro-text .intro-text-container, 	#intro-text .text, #processinglines, #processinglines .desc, #sustainability .text-content, #machine-solutions-wrapper .hero-section, .cta { padding: var(--padding); }
	#footer .footer-container .col h2 { font-size: var(--h1Size);}
	#sustainability .cta { margin: 20px auto}

	#intro-text .text h1, #footer .footer-container .col h2 { width: 100%; line-height: var(--lineHeight1); }


#template-container { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }

}

.wp-padding { padding: var(--padding) !important;}


/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 100vw;
}

.lightbox-close {
    position: absolute;
    top: 2em;
    right: 2em;
    color: #fff;
    font-size: 80px;
    font-weight: bold;
    transition: 0.3s;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

#lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

@media only screen and (max-width: 700px){
    .lightbox-content {
        width: 100%;
    }
}
#lightbox-image { transition-timing-function: ease-in-out; transition-duration: 0.2s;}
/* Zoom CSS */
.zoomed {
    transform: scale(2); /* Adjust the scale as needed */
}

.page-id-67 .hero-banner-top { }

.uagb-post__text, .uagb-post__excerpt { font-family: var(--ffMain); font-size: var(--paragraphSize);}

.uagb-post__title { font-size: var(--h1Size);}
.uagb-post__image a > img { transform: scale(1)}
#processinglines {
  position: relative;
  overflow: hidden; /* Detta hjälper till att hålla divarna inom sektionen */
  display: flex;
  flex-direction: column;
  align-items: center;
}
.processing-line-wrapper {
  position: relative;

}

.processing-description {
  position: absolute;
  width: auto;
  max-width: 450px; /* Maximal bredd för beskrivningsdivarna */
  background-color: white;
  box-shadow: 0px 10px 20px #11111112;
  padding: 20px; /* Lägger till lite padding för utseendets skull */
}

.dynamic-desc {

  position: absolute;
  z-index: 9999; /* För att säkerställa att den visas ovanpå andra element */
}



/* Lägg till responsiv design för mindre skärmar */
@media (max-width: 768px) {
  .processing-description {
    width: 90vw; /* Ökar bredden till 90% av viewport bredden på mindre skärmar */
    max-width: none; /* Tar bort maximal bredd begränsningen */
    padding: 10px; /* Minskar padding för att passa mindre skärmar */
  }
}

	#wrapper-machines { width: 100%; }

#taxonomy-buttons div, #listing-machine div  { cursor: pointer;}

#footer .menu-item:hover {transform: unset;}
#footer .menu-item::before { height: 1px; }
#footer .menu-item:hover::before {
  width: calc(100% + 1px);
}
.swiper-slide {
    position: relative;
}
article .entry-title { text-align: center;}
article .entry-title a  {
  font-size: var(--megaSize);
  background-color: var(--greenAccentColor);
  color: white;
  padding: 10px;
  line-height: 2em;
  text-align: center;
} article { width: 100%; margin: auto; }

article img { object-fit: cover;} /* max-height: 450px; */

article .wp-block-column { padding: var(--padding);}

article h2 { font-size: var(--h1Size); margin: 15px 0px;}

.more-info-cta-container a  { font-family: var(--ffHead); font-weight: normal; font-size: 1.2em; }
article .author { display: none;}
#sustainability .cta { border-radius: 5px; margin-top: 15px;}
#machine-solutions-wrapper a.machine-solutions-cta { margin-top: 15px; border-radius: 5px; }
article p { font-size: calc(var(--paragraphSize)*0.83);}

.single-post article .wp-block-column > * {
  margin-bottom: calc(var(--paragraphSize)*0.83);
}

.single-post article .wp-block-column > *:last-child {
  margin-bottom: 0px;
}

.feed-item  h3, .feed-item h3 a, .feed-item a {font-family: var(--ffMain) !important; font-weight: bold; }

h1.referral { display: none !important;}

.page-id-1957 .hero-banner-top { min-height: 10vh;  }
.secondhand-equipment{ padding: var(--padding); display: flex; justify-content: space-between; align-content: center; align-items: center; font-family: var(--ffMain); font-size: var(--paragraphSize); line-height: 30px;}
#latest-news { display: flex; flex-direction: column; justify-content: center; text-align: center;}
#latest-news h1 { background-color: var(--greenAccentColor); width: max-content; text-align: center; margin: auto; color: white; padding: 15px;}

.padding { padding: 10px 0px;}

.scroll-lock { overflow: hidden; }

.blurb-container { align-items: start; }
.blurbs-container .col { height: unset; }


.page-id-67 .entry-content { font-family: var(--ffMain); }

.justify-center {
	justify-content: center;
}
