header:first-of-type a{
   margin-right:1em;
   text-transform:uppercase;
   text-decoration:none;
}

header:first-of-type a:hover{
   text-decoration:underline;
}

/* Translate ------------- */
.swh-translate{
   position:relative;
}
.swh-translate-box{
	 display:none;
    position:absolute;
   background:#fff;
   border:1px solid #ccc;
   padding:1em;
   z-index:2;
}

.swh-translate-box.open{
	 display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-wrap:wrap;
}

.swh-translate-box button.swh-toggle-translate{
   margin:0 0 0 auto!important;
   justify-self:flex-end;
   order:1;	

}

.swh-translate-box button.swh-toggle-translate:hover{
	color:#e30613;
}


.swh-translate-box #google_translate_element{
   order:2;
}

body {
    top: 0px !important; 
}

.goog-te-banner-frame.skiptranslate {
    display: none !important;
} 

/* Snabblänkar ------------- */
header:first-of-type .quick-links{
   display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
   flex-wrap:wrap;
}

header:first-of-type .quick-links ul{
   display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
   flex-wrap:wrap;
}

header:first-of-type .quick-links button{
   margin-right:1em;
   text-transform:uppercase;
   text-decoration:none;
   background:none;
   border:0;
font-size:.8rem;
}

header:first-of-type .quick-links button:hover{
   text-decoration:underline;
}

header:first-of-type .quick-links a{
   font-size:.8rem;
}


header .intranet-link a.selected{
   color:#075436;
   font-weight:600;
}


header .intranet-link a.selected:hover{
   
}

/* Logo ------------- */
header:first-of-type .logo{
   display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
   justify-content:center;
   align-items:center;
}

header:first-of-type .logo img{
 

}


/* Drift ------------- */
header:first-of-type .drift{
   position:relative;
   font-size:.8rem;
}

header:first-of-type .drift span.count-index{
  background:#075436;
   color:#fff;
   position:absolute;
   right:-1.8em;
   top:-.8em;
   border-radius:500px;
   min-width:1.4em;
   height:1.4em;
   justify-content:center;
   align-items:center;
   align-content:center;
   font-size:.65rem;
   font-weight:bold;
}

header:first-of-type .drift .icon{
  color:#075436;
}

header:first-of-type .drift.state-2 .icon{
  color:#9e3109;
}

header:first-of-type .drift.state-2 span{
  background:#9e3109;
}

/* Huvudnavigation  ------------- */

header:first-of-type nav.main-nav ul{
      display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-wrap:wrap;
   margin:0;
}

header:first-of-type nav.main-nav ul li{
   margin:0;
}
header:first-of-type nav.main-nav a{
   padding:1.5em;
   position:relative;
   font-size:1rem;
   margin:0;
}

header:first-of-type nav.main-nav a:after{
   transition:.5s;
   height:3px;
   width:0;
   display:block;
   content:"";
   position:absolute;
   left:0;
   bottom:0;
   background:#f2f2f2;
}

header:first-of-type nav.main-nav a:hover:after, header:first-of-type nav.main-nav a.sv-font-highlight:after{
   width:100%;
   background:#075436;
}

header:first-of-type nav.main-nav a:hover{
   text-decoration:none;
}

@media only screen and (min-width : 0rem) and (max-width : 1080px) {  
   
    header:first-of-type .quick-links,  header:first-of-type .search-column{
      width:50%!important;
       margin-top: -1em!Important;
       padding:0;
   }
   
       header:first-of-type .quick-links .quick-links{
          width:100%!important;
          margin-top:0!important;
       }
   
   header:first-of-type .quick-links div, header:first-of-type .search-column div{
      width:100%;
      margin:0;
   }
   
    header:first-of-type .quick-links .open-translate,  header:first-of-type .search-column a{
      width:100%;
       padding:.85em .8em;
       height:3em;
       display:block;
       text-align:center;
       height: 3em;
   }
   
   header:first-of-type .quick-links .open-translate {
   padding:1em .8em;
}
   
   header:first-of-type .search-column a {
      display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
      justify-content:center;
      align-items:center;
}
     header:first-of-type .search-column a .icon{
     margin-right:.3em;
}
   
      header:first-of-type .drift span.count-index {
    position: relative;
    right: unset;
    top: unset;
         margin-left:.3em;

}
   
   header:first-of-type .quick-links .open-translate{
      background:#cfd5e9;
         color:#000;
   }
   
   
   header:first-of-type .search-column a{
      background:#ecd2c3;
   }

    header .logo{
      margin-top:.5em!important;
       margin-bottom:.5em!important;
       padding:0 .5em;
   }
   
   /* Mobilnavigation ---------*/
   body.open-menu{
      position:fixed!important;
      width:100vw!important;
      height:100vh!important;
      overflow:hidden!important;
      top:0!important;
      left:0!important;
   }
   
   body.open-menu .blanket{
      position:fixed;
      width:100%;
      height:100%;
      background:rgba(3,83,146,.8);
      top:0;
      left:0;
         z-index:100000;
   }
   
   header:first-of-type #MobileMenuIcon, header:first-of-type #CloseMenu{
		display: -webkit-box;
		display: -moz-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
      align-items:center;
      align-content:center;
      justify-content:center;
      flex-wrap:wrap;
      background:#f2f2f2;
      padding:1em;
      position:relative;
      border:0;
      box-shadow:none;
      color:#000;
   }
   

   
   header:first-of-type #MobileMenuIcon:after, header:first-of-type #CloseMenu:after{
       transition: .5s;
       height: 3px;
       width: 0;
       display: block;
       content: "";
       position: absolute;
       left: 0;
       bottom: 0;
       background: #f2f2f2;
	}
   
   header:first-of-type #CloseMenu:hover:after, header:first-of-type #MobileMenuIcon:hover:after {
       width: 100%;
       background: #075436;
	}
   
   header:first-of-type #CloseMenu{
      padding:.7em;
   position: absolute;
    top: 0;
   right: -5.2em;
      flex-direction:column;
        min-width: 5.2em;
   }
   
   header:first-of-type #MobileMenuIcon:hover, header:first-of-type #CloseMenu:hover{
		text-decoration:none;
   }
   
   header:first-of-type #MobileMenuIcon .icon, header:first-of-type #CloseMenu span .icon{
		font-size:1.5rem;
   }
   
   header:first-of-type #MobileMenuIcon span, header:first-of-type #CloseMenu span{
		width:100%;
      display:block;
      font-size:.6rem;
      text-align:center;
      font-weight:500;
      margin-top:.5em;
      text-transform:uppercase;
   }
   
   header:first-of-type #CloseMenu span{
		max-width:40px;
   }
   
   
   header:first-of-type nav.main-nav{
      position:fixed;
      z-index:1000000;
      background:#fff;
      height:100vh;
      width:500px;
      max-width:70%;
      min-width:250px;
      left:-600px;
      top:0;
  		padding:0 0 0 0;
      align-items:flex-start;
      align-content:flex-start;
      flex-wrap:wrap;

   }
   
      header:first-of-type nav.main-nav .inner{
      height:100vh;
         width:100%;
         overflow-y:auto;
              align-items:flex-start;
      align-content:flex-start;
             padding:1em 1.5em 10em 1.5em;
   }
   
         header:first-of-type nav.main-nav .inner:after{
            display:block;
            width:100%;
            height:100px;
            content:"";

   		}
   
   header:first-of-type nav.main-nav .search, header:first-of-type nav.main-nav .search form, header:first-of-type nav.main-nav .search form input{
		width:100%;
   }
   
    body.open-menu  header:first-of-type nav.main-nav{
      left:0;
    

   }
   
     body header:first-of-type nav.main-nav ul{
    
   }
   
    header:first-of-type nav.main-nav ul li, header:first-of-type nav.main-nav ul li a{
      width:100%;
   }
   
    header:first-of-type nav.main-nav a{
		display: -webkit-box;
       display: -moz-box;
       display: -ms-flexbox;
       display: -webkit-flex;
       display: flex!important;
   }
   
       header:first-of-type nav.main-nav a.selected{
	color:#075436;
   }
   
     header:first-of-type nav.main-nav a:before{
      display:block;
      font-family:'Font Awesome 5 Pro';
      content:"\f0a9";
      font-weight:bold;
      font-size:.9rem;
		order:2;
		margin-left:auto;
		justify-self:flex-end;
   }
   
   header:first-of-type nav.main-nav ul li a:after{
        order:3;
   }
   
   header:first-of-type nav.main-nav a:after {
   	width:100%; 
	}
   
   header:first-of-type nav.main-nav .sv-related-portlet{
     width:100%;
      flex-wrap:wrap;
   }
   
      header:first-of-type nav.main-nav .sv-related-portlet a{
     width:100%;
   }
   
       header:first-of-type nav.main-nav .sv-layout, header:first-of-type nav.main-nav .sv-layout div, header:first-of-type nav.main-nav .sv-layout a{
     width:100%;
   }
   
   header:first-of-type nav.main-nav .sv-layout a{
      display:block;
   }
   
   header:first-of-type nav.main-nav a.selected:after {
    background: #075436!important;
}

}

@media only screen and (min-width : 0rem) and (max-width : 40rem) { 
  /* header .sv-layout{
        display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-wrap:wrap;
   }
   header .sv-html-portlet{
      width:33.33%;
   }
   
     header .sv-html-portlet:first-of-type{
      width:100%;
   }
   
   header .sv-related-portlet{
       display:none;
   }*/
   

   header:first-of-type .swh-translate-box.open{
      width:100%;
      position:fixed;
   }
   
}
