/*---SKRIV SEKTION HÄR--- */
/*---------------------- */

@media screen and (min-width: 600px) and (max-width: 639px) {
    button.menu-toggle {
        display: none !important; 
    }
}

.widget.title {
	font-size: 2rem;
}

#masthead img {
    height: 77vh;
    width: 100%;
		object-fit: cover;
}

@media screen and (max-width: 768px) {
    #masthead img {
        height: 30vh; 
        width: 100%;
        object-fit: cover;
    }
}

@media screen and (max-width: 480px) {
    #masthead img {
        height: 20vh;
        width: 100%;
        object-fit: cover;
    }
}

/*---NAVBAREN--- */
#site-navigation {
  position: fixed; 
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: transparent !important;
  box-shadow: none;
  border: none;
  padding: 5px 0px;
  width: 100%;
	font-family: 'Guttaperka', sans-serif;
	transition: background-color 0.4s;
}

#site-navigation.scrolled {
	background-color: #fff !important;
}


#site-navigation a, 
#site-navigation span, 
#site-navigation li {
  color: #333; 
  opacity: 1; 
	font-size: 1.2rem !important;
}

#site-navigation.scrolled a {
    color: #393939 !important; 
}

#site-navigation.scrolled a:hover {
    color: #393939 !important; 
}

#site-navigation.scrolled .search-icon {
    background: #393939 !important; 
    color: #fff !important; 
}

#site-navigation.scrolled .search-icon:hover {
    background: #555 !important; 
}


@font-face {
    font-family: 'Guttaperka';
    src: url('<?php echo get_template_directory_uri(); ?>/fonts/Guttaperka-Bold.ttf') format('truetype'),
         url('<?php echo get_template_directory_uri(); ?>/fonts/Guttaperka-Semibold.otf') format('opentype'),
         url('<?php echo get_template_directory_uri(); ?>/fonts/Guttaperka-Medium.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Satoshi';
    src: url('<?php echo get_template_directory_uri(); ?>/fonts/Satoshi-Regular.otf') format('opentype'),
         url('<?php echo get_template_directory_uri(); ?>/fonts/Satoshi-Light.otf') format('opentype'),
         url('<?php echo get_template_directory_uri(); ?>/fonts/Satoshi-Bold.otf') format('opentype'),
         url('<?php echo get_template_directory_uri(); ?>/fonts/Satoshi-Medium.otf') format('opentype'),
         url('<?php echo get_template_directory_uri(); ?>/fonts/Satoshi-Italic.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}


/*---------------------- */

/*---SÖKRUTAN--- */
#search-container {
    position: relative;
}

#search-container .search-form {
    display: none;
    position: absolute;
    top: calc(100% + 5px); 
    left: -90%; 
    transform: translateX(-55%); 
    background: #f2e3b6;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    z-index: 1000;
		width: 200px;
}

.search-submit {
    background: #fff;
    padding: 5px;
		border-radius: 10px;
}

#search-container .search-form.active {
    display: block;
}

.search-icon {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
}

.search-icon img {
    width: 24px;
    height: auto;
    display: block;
}

.search-icon:hover img {
    opacity: 0.8;
}

.search-icon:hover {
    color: inherit;
}

/* Responsiv design */

@media screen and (max-width: 899px) {
    #search-container .search-form {
        top: calc(100% + 10px);
        left: -99%; 
        transform: translateX(-50%);
        width: 200px; 
        padding: 12px;
    }

    .search-submit {
        padding: 8px 12px;
        font-size: 14px;
    }

    .search-icon img {
        width: 22px;
        filter: invert(1) sepia(1) saturate(5) hue-rotate(90deg); 
    }
}


@media screen and (max-width: 480px) {
    #search-container .search-form {
        top: calc(100% + 15px);
        left: -30px; 
        transform: translateX(-50%);
        width: 150px; 
        padding: 10px;
    }

    .search-submit {
        padding: 8px 10px;
        font-size: 12px;
    }

    .search-icon img {
        width: 20px;
    }
}


/*---------------------- */

/*---FOOTER--- */
.site-footer {
    width: 100vw;
    position: relative;
    left: 50%; 
    right: 50%; 
    margin-left: -50vw; 
    margin-right: -50vw; 
background: #0a293a;
    color: #ffffff;
    padding: 2rem;
}

.site-footer p {
    color: #ffffff !important;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-info {
    flex: 1;
    text-align: left;
}

.footer-images {
    flex: 1;
    text-align: center;
}

.footer-images .footer-image {
    max-width: 400px;
    height: auto;
}

@media screen and (max-width: 768px) {
    .footer-content {
        flex-direction: column;

    }

    .site-info {
        margin-bottom: 10px;
    }

    .footer-images .footer-image {
        max-width: 320px;
    }
}

@media screen and (max-width: 480px) {
    .footer-images .footer-image {
        max-width: 150px;
    }
}

/*---------------------- */

/*---INLÄGGEN--- */
.so-panel.widget_siteorigin-panels-postloop {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 1.5rem;
    padding: 1rem;
}
.so-panel.widget_siteorigin-panels-postloop article.post {
    padding: 1rem;
    background: #FDFBF6;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.so-panel.widget_siteorigin-panels-postloop::before {
    content: none !important;
    display: none !important;
}
/* Titel i artiklar */
.so-panel.widget_siteorigin-panels-postloop article.post h2 {
    font-size: 25px; 
    color: #333; 
    font-weight: bold;
    margin: 10px 0;
}

/* Brödtext i artiklar */
.so-panel.widget_siteorigin-panels-postloop article.post p {
    font-size: 16px; 
    color: #666; 
    line-height: 1.6;
    display: -webkit-box; 
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical; 
    overflow: hidden; 
    text-overflow: ellipsis; 
}


/* Länkar i artiklar */
.so-panel.widget_siteorigin-panels-postloop article.post a {
    font-size: 18px;
    text-decoration: none;
    color: #0073aa; 
}

.so-panel.widget_siteorigin-panels-postloop article.post a:hover {
    color: #005177; 
}

/* Bilder i artiklar */
.so-panel.widget_siteorigin-panels-postloop article.post img {
    width: 100%; 
    height: 200px; 
    object-fit: cover; 
    display: block; 
}

@media screen and (max-width: 768px) {
    .so-panel.widget_siteorigin-panels-postloop article.post img {
        height: auto; 
    }
}

@media screen and (max-width: 480px) {
    .so-panel.widget_siteorigin-panels-postloop article.post img {
        height: 100px; 
    }
}

/* -------------------------- */


/* Gör bilderna lika stora i .post-box-inner */
.post-box-inner .entry-thumbnail img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
}

.post-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    align-items: center;
    padding: 0px;
    background: #fdfbf6;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

/* Responsiv design för skärmar mellan 481px och 768px */

@media screen and (max-width:1000px) and (min-width: 481px) {
    .large-4.columns {
        width: calc(33.33% - 10px); 
        margin: 5px; 
        float: left;
    }

    .post-box-inner .entry-thumbnail img {
        height: 100px; 
    }

    .post-box {
        padding: 1px; 
				height: 350px !important;
    }
	
	    .post-box h2 {
        font-size: 1.5rem; 
        line-height: 1.4; 
        margin: 5px 0; 		
    }
	
	    .entry-summary {
        font-size: 1rem; 
        line-height: 1.5; 
        color: #666;
        overflow-wrap: break-word; 
        word-break: break-word; 
    }
	
}

/* Mobile responsiv design för skärmar upp till 480px */
@media screen and (max-width: 480px) {
    .large-4.columns {
        width: 100%;
        margin: 0;
        float: none;
    }

    .post-box-inner .entry-thumbnail img {
        height: 120px;
    }

    .post-box {
        padding: 5px;
				height: auto !important;
    }
}



/*---PAGINATION--- */
.pagination {
    display: flex; 
    justify-content: center; 
    gap: 10px; 
    margin-top: 20px;
    list-style: none; 
    padding: 0;
    grid-column: 1 / -1; 
	padding-bottom: 1.5rem;
}

.pagination a, 
.pagination span {
    padding: 8px 12px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
}

.pagination a:hover, 
.pagination span:hover {
    background-color: #f7df7e;
    color: #fff;
}

.pagination .current {
    background-color: #f2e3b6;
    color: #fff;
    border-color: #fff;
}

@media screen and (max-width: 480px) {
    .pagination {
        display: flex;
        flex-wrap: wrap; 
        justify-content: center;
        gap: 5px; 
        margin: 0 auto; 
        padding: 10px; 
        width: 100%; 
        box-sizing: border-box; 
    }

    .pagination a,
    .pagination span {
        flex: 0 1 auto; 
        padding: 8px 10px; 
        font-size: 14px; 
        text-align: center;
        white-space: nowrap; 
    }
}


/*---------------------- */

/*---KONTAKTA-OSS-RUTAN--- */
div[id] .hbspt-form {
    padding: 1rem;
    background: #FDFBF6;
    border: 0px solid #ddd;
    border-radius: 5px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    margin: 0rem 0;
    text-align: center;
}

div[id] p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 1rem;
}


/*---------------------- */


/*---BOXAR FÖR STÄDER--- */
#kliniker-stockholm,
#kliniker-goteborg,
#kliniker-uppsala,
#kliniker-malmo,
#kliniker-norrkoping,
#kliniker-vasteras,
#kliniker-helsingborg,
#kliniker-karlstad,
#kliniker-are,
#kliniker-ostersund,
#kliniker-boras,
#kliniker-borlange,
#kliniker-falun,
#kliniker-kalmar,
#kliniker-enkoping,
#kliniker-linkoping,
#kliniker-orebro {
    border: 0px solid #ccc; 
    padding: 15px;               
    background-color: #FDFBF6; 
    border-radius: 5px;    
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
}
/*---------------------- */

/*--LAYOUT FÖR ARTIKLAR-- */
.post-box {
		margin-top: 3rem;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 15px;
    background-color: #fdfbf6;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
		height: 30rem;
}

.post-box-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
}

.post-box {
    margin-top: 3rem;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 15px;
    background-color: #fdfbf6;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    height: 27rem; 
}

.entry-thumbnail img {
    width: 100%;
    height: auto;
		margin-top: 10px;
	
}

.entry-content {
    padding: 15px;
}

.entry-title {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0 5px;
}

.entry-summary {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

@media screen and (max-width: 768px) and (min-width: 481px) {
    .entry-thumbnail img {
        width: 70%; 
        height: auto; 
        margin: 0 auto; 
        display: block; 
    }

    .entry-content {
        padding: 10px; 
    }

    .entry-title {
        font-size: 16px; 
        font-weight: bold;
        margin: 8px 0 4px; 
        text-align: left !important; 
    }

    .entry-summary {
        font-size: 12px; 
        color: #666; 
        line-height: 1.4; 
        text-align: justify; 
        padding: 0 5px; 
    }

}

@media screen and (max-width: 780px) {
    .so-panel.widget_siteorigin-panels-postloop {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important; 
        gap: 1rem !important; 
    }

    .so-panel.widget_siteorigin-panels-postloop article {
        width: 200px !important; 
        margin: 0 !important; 
    }
}

@media screen and (max-width: 480px) {
    .so-panel.widget_siteorigin-panels-postloop {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .so-panel.widget_siteorigin-panels-postloop article {
        width: 100% !important;
        margin: 0 auto !important;
    }
}

/*----------------------- */


/*---ORDLISTA-BOXAR--- */
#pg-1777-2 .so-widget-sow-editor {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    margin: 10px;
    background-color: #FDFBF6;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
/*---------------------- */


/*---BOKA ONLINE KNAPP--- */
.cta-header-boka {
    position: absolute !important;
    top: 85% !important;
    left: 7% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
    text-align: left !important;
}

.cta-button-boka {
    background-color: #F5CB53 !important; 
    color: #393939 !important; 
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px !important;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    margin-right: 20px;
}

.cta-button-boka:hover {
    background-color: #F2E3B6 !important;
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.3);
}

.cta-header-kontakta {
    position: absolute !important;
    top: 85% !important; 
    left: calc(7% + 200px) !important; 
    transform: translateY(-50%) !important;
    z-index: 10 !important;
    text-align: left !important;
}

.cta-button-kontakta {
    background-color: #fff !important; 
    color: #393939 !important; 
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px !important;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.cta-button-kontakta:hover {
    background-color: #F2E3B6 !important;
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 768px) {
    .cta-header-boka, .cta-header-kontakta {
        position: static !important;
        text-align: center !important;
        transform: none !important;
        margin: 10px 0;
    }

    .cta-button-boka, .cta-button-kontakta {
        width: 30%;
        padding: 10px 20px;
        font-size: 16px;
        margin: 10px auto;
        display: block;
    }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
    .cta-header-boka, .cta-header-kontakta {
        display: inline-block; 
        width: auto; 
        margin: 0 10px; 
        text-align: center; 
        vertical-align: middle; 
				padding-top: 15px;
    }

    .cta-button-boka, .cta-button-kontakta {
        display: inline-block; 
        padding: 10px 20px;
        font-size: 16px;
        width: auto;				
    }

    .cta-header-container {
        text-align: center; 
    }
}


@media screen and (max-width: 480px) {
    .cta-header-boka, .cta-header-kontakta {
        position: static;
        text-align: center;
        margin: 10px 0;
    }

    .cta-button-boka, .cta-button-kontakta {
        width: 60px; 
        height: 60px;
        padding: 0;
        border-radius: 50%;
        background-size: cover;
    }
}


/*---------------------- */

@media screen and (max-width: 768px) {
}

@media screen and (min-width: 769px) {
}

/* Body - Satoshi */
body {
    font-family: 'Satoshi', sans-serif; 
    font-weight: normal; 
    line-height: 1.6; 
	
		
}

p {
	font-family: "Satoshi", sans-serif;
	font-weight: normal;
	line-height: 1.;
	text-align: left;
	padding-bottom: 0px;
	
}

/* h1, h2, h3, h4, h5, h6 {
    font-family: 'Guttaperka', sans-serif; 
    font-weight: bold; 
	text-align:center;
} */

h1 {
    font-family: 'Guttaperka', sans-serif;
    font-weight: bold;
    text-align: left !important;
    font-size: 50px; 
    color: #333;
}

h2 {
    font-family: 'Guttaperka', sans-serif;
    font-weight: bold;
    text-align: left;
    font-size: 35px;
    color: #444;
}

h3 {
    font-family: 'Guttaperka', sans-serif;
    font-weight: bold;
    text-align: left !important; 
    font-size: 45px;
    color: #555;
		padding-top: 1rem;
}

h4 {
    font-family: 'Guttaperka', sans-serif;
    font-weight: bold;
    text-align: left;
    font-size: 20px;
    color: #666;
}

h5 {
    font-family: 'Guttaperka', sans-serif;
    font-weight: bold;
    text-align: left;
    font-size: 18px;
    color: #777;
}

h6 {
    font-family: 'Guttaperka', sans-serif;
    font-weight: bold;
    text-align: left;
    font-size: 23px;
    color: #0a293a;
}

button, input, select, textarea {
    font-family: 'Satoshi', sans-serif;
	
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 2rem;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
        max-width: 100%;
        white-space: normal;
        word-break: break-word;
    }

    h2 {
        font-size: 1.5rem;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
        max-width: 100%;
        white-space: normal;
        word-break: break-word;
    }

    h3 {
        font-size: 1.5rem;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
        max-width: 100%;
        white-space: normal;
        word-break: break-word;
    }
}

.widget {
    font-family: 'Satoshi', sans-serif;
}

.articles-heading {
    font-size: 50px;
    text-align: left !important;
    font-family: 'Guttaperka', sans-serif;
    color: #333;
		padding-top: 2rem;
}

.entry-header {
    text-align: left !important;
}

.entry-title {
    text-align: left !important;
}

.entry-summary {
    font-size: 14px; 
    color: #666; 
    line-height: 1.6; 
    display: -webkit-box; 
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;
    overflow: hidden; 
    text-overflow: ellipsis; 
}


.articleImage {
    width: 100% !important;
    height: auto;
    display: block;
    margin: 0 auto;
}

.entry-thumbnail {
	width: 100%;
}

.articleimage {
	width: 100%;
}

/* Tar bort texten  tandimplanatat innan varje artikel */
.categoryBadge {
    display: none;
}

/*-BAKGRUNDSFÄRG TILL CONTACTFORMS- */
#pg-1666-6 {
    background-color: #eeeeee; 
    padding: 40px; 
    border-radius: 10px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
    max-width: 100vw; 
    margin: 0 auto; 
}

#pg-84-2 {
    background-color: #eeeeee; 
    padding: 40px; 
    border-radius: 10px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
    max-width: 100vw; 
    margin: 0 auto; 
}

#pg-1340-2 {
    background-color: #eeeeee; 
    padding: 40px; 
    border-radius: 10px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
    max-width: 100vw; 
    margin: 0 auto; 
}


#pg-84-2 {
    background-color: #eeeeee; 
    padding: 40px; 
    border-radius: 10px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
    max-width: 100vw; 
    margin: 0 auto; 
}

#pg-2365-5 {
    background-color: #eeeeee; 
    padding: 40px; 
    border-radius: 10px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
    max-width: 100vw; 
    margin: 0 auto; 
}

#pg-1576-4 {
    background-color: #eeeeee; 
    padding: 40px; 
    border-radius: 10px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
    max-width: 100vw; 
    margin: 0 auto; 
}

#pg-1777-3 {
    background-color: #eeeeee; 
    padding: 40px; 
    border-radius: 10px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
    max-width: 100vw; 
    margin: 0 auto; 
}


#pg-1594-2 {
    background-color: #eeeeee; 
    padding: 40px; 
    border-radius: 10px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
    max-width: 100vw; 
    margin: 0 auto; 
}

@media screen and (max-width: 480px) {
    #pg-1666-6,
    #pg-1777-3,
		#pg-2365-5,
		#pg-1576-4,
		#pg-1594-3,
		#pg-84-2,
		#pg-1340-2,
		#pg-84-2 {
        background-color: transparent;
        box-shadow: none;
        padding: 0;
    }
}

/*-------------------------- */

/* KLICKFUNKTION FÖR STÄDERNA */
/* 
.city-clinics {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: Arial, sans-serif;
    margin-top: 20px;
}

.city-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    justify-content: center;
}

.city-list li {
    cursor: pointer;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f5f5f5;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.city-list li.active,
.city-list li:hover {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
    transform: scale(1.05);
}

.clinics-list {
    width: 100%;
    max-width: 800px;
    text-align: center;
}

.clinics-item {
    display: none;
    padding: 20px;
    background-color: #fdfbf6;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
}

.clinics-item.active {
    display: block;
}

*/

/*------------------------ */

.page-header {
    margin-top: 30px; 
}

/*------LÄNK-FÄRG------- */
strong a {
    color: #007b79;
    text-decoration: none;
}

strong a {
    color: #007b79;
    text-decoration: none;
}

strong a:hover {
    color: #0a293a;
    text-decoration: underline;
}

strong a:visited {
    color: #007b79;
	
}

strong a:active {
    color: #ff5722;
}
/*------------------------ */

/*---LÄNK-FÄRG ARTIKLAR--- */
a {
    color: #007b79;
    text-decoration: none;
}

a:hover {
    color: #0a293a;
    text-decoration: underline;
}

a:visited {
    color: #007b79;
}

a:active {
    color: #ff5722;
}
/*------------------------ */


/*Content under nav(mobile)*/
@media screen and (max-width: 480px) {
    body {
        padding-top: 50px; 
    }

    #masthead {
        margin-top: 50px; 
    }
}
/*------------------------*/
@media screen and (max-width: 480px) {
    button.menu-toggle {
        color: #393939 !important; 
        background-color: transparent !important; 
    }

    button.menu-toggle:hover {
        color: #393939 !important; 
        background-color: #f0f0f0 !important;
    }

    #search-container .search-icon {
        color: #393939 !important; 
        background-color: transparent !important; 
    }

    #search-container .search-icon img {
        filter: brightness(0) !important; 
    }
	

    #search-container .search-icon:hover {
        color: #007b79 !important; 
        background-color: #f0f0f0 !important; 
    }
	
	
}

@media screen and (max-width: 480px) {
    #site-navigation a, 
    #site-navigation span, 
    #site-navigation li {
        color: #393939 !important;
    }

    #site-navigation a:hover {
        color: #007b79 !important;
    }

    button.menu-toggle {
        color: #393939 !important;
    }

    button.menu-toggle:hover {
        color: #007b79 !important;
    }
}

@media screen and (max-width: 480px) {
    #site-navigation.scrolled .search-icon {
        background-color: #fff !important; 
        color: #393939 !important; 
    }

    #site-navigation.scrolled .search-icon:hover {
        background-color: #eee !important;
        color: #eee !important; 
    }
}

/* justerar ikoner i nav */


@media screen and (max-width: 480px) {
    #masthead {
        height: auto; 
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .site-header::before,
    .site-header::after {
        position: absolute;
        top: auto; 
    }
}
/*----------------------*/

/* Bilden på startsida */
@media screen and (max-width: 750px) {
  #pg-1576-2 {
    flex-direction: column; 
    align-items: center; 
  }

  #pgc-1576-2-0 {
    order: 2; 
    margin-top: 20px; 
  }

  #pgc-1666-4-1 {
    order: 1; 
    margin-bottom: 10px; 
  }
}

/*--------------------*/

.large-12.columns {
  position: relative;
}

button.menu-toggle {
  position: absolute;
  top: 0px;
}

.main-navigation.toggled .menu {
  margin-top: 50px; 
}

@media screen and (max-width: 480px) {
    #site-navigation {
        background-color: #ffffff !important; 
    }
}

/* För skärmar mellan 481px och 899px */
@media screen and (min-width: 481px) and (max-width: 890px) {
    #site-navigation.toggled {
        background-color: #ffffff !important;
        color: black !important; 
    }

    #site-navigation.toggled a, 
    #site-navigation.toggled li, 
    #site-navigation.toggled span, 
    #site-navigation.toggled button {
        color: black !important; 
    }

    #site-navigation.toggled a:hover {
        color: #007b79 !important; /* Valfri hoverfärg för länkar */
    }

    #site-navigation.toggled .menu-toggle {
        color: black !important; /* Svart färg för menytoggle */
    }

    #site-navigation.toggled .search-icon {
        color: black !important; /* Svart färg för sökikonen */
    }

    #site-navigation.toggled .search-icon:hover {
        color: #007b79 !important; /* Valfri hoverfärg för sökikonen */
    }
}


/*---------OM OSS VW---------*/
.post-84 {
	width: 60vw;
	justify-self: center;
}
@media screen and (max-width: 780px) {
	.post-84{
		width: 90vw;
	}
}
/*--------------------*/

/*------OM OSS KONTAKT--------*/
#pg-1594-3,
#pg-84-2 {
    max-width: 700px; 
    margin: 0 auto; 
    padding: 20px; 
}
/*--------------------*/

@media screen and (max-width: 480px) {
    #site-navigation .large-12.columns {
        display: flex;
        align-items: center; 
        justify-content: space-between;
    }
}

    button.menu-toggle, #search-container .search-icon {
        font-size: 1.5rem; 
        padding: 10px;
    }

#search-container {
    position: relative; 
    z-index: 1; 
    width: auto; 
    height: auto; 
    display: inline-block; 
}

@media screen and (min-width: 901px) {

    button.menu-toggle {
        display: none; 
    }


    #site-navigation .primary-menu {
        display: flex; 
        justify-content: flex-end; 
        align-items: center; 
    }
}



@media screen and (max-width: 900px) {
    #site-navigation .large-12.columns {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    button.menu-toggle {
        order: 1 !important;
        margin-right: 10px !important;
        font-size: 1.5rem !important;
    }

    #site-navigation .primary-menu {
        order: 2 !important;
        flex-grow: 1 !important;
        text-align: center !important;
        padding: 0 !important;
    }

    #search-container {
        order: 3 !important;
        margin-left: 10px !important;
        display: flex !important;
        position: relative !important;
        z-index: 1 !important;
        width: auto !important;
        height: auto !important;
    }

    #search-container .search-icon {
        font-size: 1.5rem !important;
        padding: 10px !important;
    }
}


@media screen and (max-width: 480px) {
    #masthead {
        margin: 0 !important;
        padding: 0 !important;
        height: auto !important;
    }

    .site-header {
        margin: 0 !important;
        padding: 0 !important;
        height: auto !important;
    }

    .site-header::before, 
    .site-header::after {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }
}


/* ---------------------- */

/* Ändringar till samtliga sajter */

.widget-title {
    color: #444 !important;
}

h1, h2, h3, h4, h5 {
    margin-top: 35px;
    margin-bottom: 10px;
}

h1, h2, h3, h5, h6 {
    line-height: 1; 
}

.post-box-inner a {
    color: #444;
    /* text-decoration: underline; */
}

.post-box-inner a:hover {
    color: #444;
    text-decoration: underline;
}

/* senaste artiklar */
article .entry-title a {
    color: #444 !important;
	  font-size: 25px !important;
   /* text-decoration: underline; */
}

article .entry-title a:hover {
    color: #444;
    text-decoration: underline !important;
}
