
@import url("typography.css");

body{
     background: url( ../images/bg.jpg) no-repeat center center fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    height: 100%; 
    font-size: 1.4em; 
    line-height: 1.4em;
    font-family: "Trebuchet MS", Helvetica, Verdana, Sans-serif !important;
    
}
h1,h2,h3,h4,h5{
    color: #006633 !important;
}

#logo{
    padding: 5px;
    margin-bottom: 10px;
}

.wrapper{
    max-width: 960px;
    margin: auto;
}

.container{
    max-width: 960px;
}
 .nav{
         margin-top: 5px;
      }


.nav>li>a {
 color: black !important;
 font-weight: bold;
 padding: 0 6px ;
 padding-bottom: 0px;
 margin: 3px;

 margin-bottom: 0px;
}

.nav>li {
    margin-bottom: 0px;
}

nav ul li a:visited{
    
}

nav ul li a:hover{
    color: #006633 !important;
    text-decoration: underline !important;
    
}


.navbar-nav>li>a.current, .navbar-nav>li>a.section{
    color: #006633!important ;
    text-decoration: underline
    /*border-bottom: 2px solid #006633;*/
}


.mainPageImg{
 margin-top: 15px;
 padding: 5px;
 margin-left: 15px;
 display: inline-block;
 
} 

#startpageflashes{
    padding: 1px;
    margin-top: 50px;
}

#flashesborder{
    border-bottom: 1px solid #8ca196;
}

#startpageflashes img{
    padding: 2px;
    margin-top: 30px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)

}

.flashheading{
    margin-top: 30px;
}


.marginTop {
     
    margin-top: 35px;
   
}

/*#nav_SideBar ul li.nobullet{
    background: none repeat scroll 0 0 transparent !important;
    border-bottom: 1px solid #DDD;
    margin-bottom: 18px;
    padding-left: 0;
    width: 190px;
    background-color: red;
}*/

#nav_SideBar ul li a.nobullet{
    background: none repeat scroll 0 0 transparent !important;
    margin-left: 0px;
}

#nav_SideBar ul li.hasSummaryImage{
     background: none repeat scroll 0 0 transparent !important;
     border-bottom: none;
}

#nav_SideBar ul li .nodecor {font-size: 0.8em}

.nomenu .maincontent {width: 100%}
.nodecor {color:#343434!important;font-weight: normal}

.noMarginBottom{
    margin-bottom: 0px !important;
}

.borderBottom{
    border-bottom: 2px solid lightgray;
    margin: 5px;
}

.MarginTop{
    top: 10px;
}

.marginRight{
   margin-right: 20px; 
}

.shadow{
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}


footer{
    height: 50px;
    margin-top: 50px;
}

footer p{
   margin-bottom: 2px !important;
}

#fotogallery_thumb{
    padding-top: 10px;
    margin-bottom: 5px;
     
}



.insertMargin{
    margin-bottom: 30px;
   
}


    
#bluegreenmatters{
    padding-left: 5px;
    
 }
 
 #bannerTop{
     padding-right: 0px;
 }
 
 .navbar-default{
     background-color: transparent !important;
 }
 
 #SidebarUL li{
     border-bottom: 2px solid lightgrey;
     margin-bottom: 8px;
     padding: 2px;
 }
 
 #SidebarUL li a{
   font-size: 1.2em;
 }
 
 #SidebarUL li a.current{
    font-weight: bold;
    color: #006633;
    text-decoration: underline;
     
 }
 
 
 
 @media only screen and (max-width : 768px) {
     
     .mainPageImg{
       
       margin-left: 1px !important;
      }
      
      .fullWidthXS{
         
        display: block ;
        width: 100%;
         margin-left: auto;
         margin-right: auto;
        }
/*     
*/     .marginT{
         margin-top: 0px !important;
      } 
 }
 
 @media only screen and (max-width : 991px) {
    .nav{
          border-bottom: 1px solid lightgray;
          padding-bottom: 8px;
      }
      
      .marginT{
         margin-top: 35px;
      }

}
#startpagesidebar .marginTop {
    clear: both;
}

#startpagesidebar svg {
    display: block;
    width: 240px;
    height: 200px;
    max-width: 100%;
}


/* Språkväljare (EN | DE) i TopBar */
.language-picker-wrapper {
    margin: 6px 0 0 12px;
}
.language-picker-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
}
.language-picker-current,
.language-picker-link {
    display: inline-block;
    line-height: 0;
}
.language-picker-flag {
    display: inline-block;
    width: 24px;
    height: 16px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid #ccc;
    border-radius: 2px;
}
.language-picker-flag--en_US {
    background-image: url("../images/flags/flag-en.svg");
}
.language-picker-flag--de_DE {
    background-image: url("../images/flags/flag-de.svg");
}
/* Aktivt språk: full färg och grön ram. Övriga: något nedtonade. */
.language-picker-current .language-picker-flag {
    border-color: #006633;
    box-shadow: 0 0 0 1px #006633;
}
.language-picker-link .language-picker-flag {
    opacity: 0.6;
    transition: opacity 0.15s ease-in-out;
}
.language-picker-link:hover .language-picker-flag,
.language-picker-link:focus .language-picker-flag {
    opacity: 1;
}
/* Språknamnet döljs visuellt men finns kvar för skärmläsare */
.language-picker-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.cta-button-outer {
    margin: 15px 0;
}

/* ══════════════════════════════════════════════
   ADMIN-TOOLBAR (endast inloggade CMS-användare)
   Porterad från Mattedirekt. Mall: Includes/AdminBar.ss
   Referenskopia: C:\Users\mrgui\Code\AiAgentsRepo\MyUsefulSkillsForVariousProjects\silverstripe-admin-toolbar\references\fluent\adminbar.css
   – uppdatera den vid generella ändringar. Blocket slutar vid "END ADMIN-TOOLBAR".
   ══════════════════════════════════════════════ */
body.has-admin-toolbar { padding-top: 34px; }

.admin-toolbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 34px;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1rem;
  background: #23282d;
  color: #eee;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.4;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.admin-toolbar a,
.admin-toolbar a:hover,
.admin-toolbar a:focus { text-decoration: none; }

.admin-toolbar__group { display: flex; align-items: center; gap: 1.1rem; min-width: 0; }
.admin-toolbar__item {
  display: inline-flex; align-items: center; gap: .4rem;
  color: #eee; transition: color .15s;
}
.admin-toolbar__item:hover,
.admin-toolbar__item:focus { color: #72aee6; }
.admin-toolbar__item svg { width: 15px; height: 15px; flex-shrink: 0; }
.admin-toolbar__item--edit { font-weight: 700; }

/* Live/Draft-växling */
.admin-toolbar__stage {
  display: inline-flex;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 5px;
  overflow: hidden;
}
.admin-toolbar__stage a {
  padding: .18em .7em;
  color: rgba(255,255,255,.7);
  font-weight: 600;
  transition: background .15s, color .15s;
}
.admin-toolbar__stage a:hover { color: #fff; background: rgba(255,255,255,.08); }
.admin-toolbar__stage a.is-active { background: #72aee6; color: #10202e; }

.admin-toolbar__meta {
  display: flex; align-items: center; gap: .9rem;
  padding-left: 1rem; margin-left: .2rem;
  border-left: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.55);
}
.admin-toolbar__meta strong { color: #fff; font-weight: 600; }
.admin-toolbar__status { color: #a9d18e; }
/* Färg efter status: grön = publicerad, gul = ändrad ej publicerad, röd = ej publicerad */
.admin-toolbar__status--published { color: #a9d18e; }
.admin-toolbar__status--modified { color: #f0b849; }
.admin-toolbar__status--draft { color: #f08a80; }
.admin-toolbar__status--saved { color: rgba(255,255,255,.7); }
.admin-toolbar__user { color: rgba(255,255,255,.7); }
.admin-toolbar__user strong { color: #fff; }

/* Översättningsgrad (Fluent): sammanfattning + fältlista vid hover/fokus */
.admin-toolbar__translation { position: relative; cursor: default; outline: none; }
.admin-toolbar__translation-summary { padding: .1em .5em; border-radius: 4px; }
.admin-toolbar__translation--full .admin-toolbar__translation-summary { background: rgba(169,209,142,.18); color: #a9d18e; }
.admin-toolbar__translation--partial .admin-toolbar__translation-summary { background: rgba(240,184,73,.18); color: #f0b849; }
.admin-toolbar__translation--none .admin-toolbar__translation-summary { background: rgba(230,110,100,.2); color: #f08a80; }
.admin-toolbar__translation--full strong,
.admin-toolbar__translation--partial strong,
.admin-toolbar__translation--none strong { color: inherit; }

.admin-toolbar__translation-details {
  display: none;
  position: absolute;
  top: calc(100% + 8px); left: 0;
  min-width: 280px;
  padding: .5rem 0;
  background: #23282d;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 5px;
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
}
.admin-toolbar__translation:hover .admin-toolbar__translation-details,
.admin-toolbar__translation:focus .admin-toolbar__translation-details { display: block; }
.admin-toolbar__translation-row {
  display: flex; justify-content: space-between; gap: 1.5rem;
  padding: .2rem .8rem;
  white-space: nowrap;
}
.admin-toolbar__translation-field { color: #eee; }
.admin-toolbar__translation-row--translated .admin-toolbar__translation-state { color: #a9d18e; }
.admin-toolbar__translation-row--same .admin-toolbar__translation-state { color: #f0b849; }
.admin-toolbar__translation-row--missing .admin-toolbar__translation-state { color: #f08a80; }
.admin-toolbar__translation-row--empty { opacity: .5; }
.admin-toolbar__translation-row--empty .admin-toolbar__translation-state { color: rgba(255,255,255,.7); }

@media (max-width: 999px) {
  .admin-toolbar { display: none; }
  body.has-admin-toolbar { padding-top: 0; }
}
/* ═══ END ADMIN-TOOLBAR ═══ */
