/*Extra small devices (portrait phones, less than 576px)
No media query since this is the default in Bootstrap*/

/*// Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) { 

  /*========== TYPOGRAPHY ==========*/

h1  {font-size: 4.5rem}
h2  {font-size: 2.5rem}
h3  {font-size: 1.35rem}
h4  {font-size: 1rem}
h5  {font-size: 1rem}

.mobile-nav li {
    list-style: none;
    width: 50%;
    display: block;
    float: left;
    padding: 0 0px 20px 0px;
}

.mobile-nav.show a {
    font-size: 2.5vw;
}
.menu-footer a[href^=tel], .menu-footer p {
    color: #fff;
    font-size: 1.75vw;
}
.mobile-nav .main-navigation {
    transform: translateY(70%);
}

.sub-navigation .menu {
    padding-top: 11px;
}


.intro .page-intro .header-content {
    height: 260px;
    position: relative;
}
.intro .page-intro .header-content2 {
    //height: 260px;
    position: relative;
}


 .sub-navigation .menu li {
    padding: 0 20px 0 20px;
}
.sub-navigation .menu {
    text-align: center;
}
.menu li .sub-menu li {
    width: auto;
    display: inline-block;
    float: none;
}

.kontakt .menu li .sub-menu li {
    width: 100%;
}

.sub-navigation .menu .current:after {
    content: '';
    display: block;
    height: 3px;
    /* background-color: #28569D; */
    background-color: #325028;
    width: 110%;
    margin-left: -5%;
    margin-top: 16px;
}



  /*========== STRUCTURE ==========*/

  .container {
    max-width: 100%;
}

  /*to hide fixed site-header - must be the same as .site-main*/
 /* header.site-header.nav-up {
    top:-230px;
  } */

/*  .site-main {
    padding-top: 65px;
  }*/





}

/*// Medium devices (tablets, 768px and up) - Bootstrap SM */
@media (min-width: 768px) { 
	
	img.ej-resp {
		width: 50%;
		float:right;
		padding-left:20px;
		
	}

  .intro .page-intro .header-content {
    transform: translate(-50%, -30%) !important;
}
  .intro .page-intro .header-content2 {
    transform: translate(-50%, -30%) !important;
    width: 75%;
    top: 50%;
    left: 50%;

    padding-bottom: 50px;
    
}

.home .text-part /*Nyheternas text på start sätts till minhöjd för att bilden inte ska klippas i höjd för snabbt om det finns liten text*/
{
	min-height: 400px;
}

  /*========== TYPOGRAPHY ==========*/
h1  {font-size: 2.5rem; color: #000;}
h2  {font-size: 1.5rem}
h3  {font-size: 1.25rem; color: #000;}
h4  {font-size: 1rem}
h5  {font-size: 1rem; color: #98AAC6; color:#9fbb95; color:#fff; margin-bottom: .25rem;}
	
	.topical h4 {
		font-size: 1.35rem;
	}
	.topical h3 {
		margin-bottom: .4rem;
		margin-top: 2rem;
	}

  /*========== STRUCTURE ==========*/

  .story .header-content h3 {
      font-size: 1.25rem;
}
.story .header-content2 h3 {
      font-size: 1.25rem;
}

.mobile-nav li {
    width: 100%;
}



.insta-item {
    /*height: 375px;*/
    height: auto;
}

.story.bl-rtib33 h3,
.bl-rstory h3 {
  font-size: 1.0rem;
}
.story.bl-rtib33 a,
.story.bl-rtib33 a:link,
.bl-rstory a,
.bl-rstory a:link {
  font-size: 0.8rem;
}
a:link.button, a.button {
  width: 340px !important;
}

.logotype-outer {
    display: none;
}

.menu-header a {
    font-size: 100% !important;
}
.menu-header {
    top: 40px;
}
.mobile-nav .main-navigation {
    transform: translateY(15%);
}
.mobile-nav.show a {
    font-size: 3vw;
}
.menu-footer a[href^=tel], .menu-footer p {
    color: #fff;
    font-size: 2.0vw;
}

.story .intro .page-intro .header-content h1 {
    font-size: 2.5rem;
}
.story .intro .page-intro .header-content2 h1 {
    font-size: 2.5rem;
}

blockquote {
    padding: 6% 10% 5%;
}
.advgb-columns-3 {
    padding: 0 4rem;
}


.wp-block-button, .wp-block-advgb-button {
    color: #000;
    border-radius: 0 !important;
    margin-bottom: 1.5em;
    position: absolute;
    right: 0;
    top: 50px;
}
.single-story .wp-block-button__link,
.single-story .wp-block-advgb-button_link {
    padding: 12px 0px 12px 24px;
}

.col-lg-3 .link-img {
    padding-top: 8px;
}
  
   header.site-header  {    
    height: 110px;
    
}
  /*to hide fixed site-header - must be the same as .site-main*/
  header.site-header.nav-up {
    top:-110px;
  } 

  .nav-up header.site-header .logotype img {
    width: 30%;
}

  .site-main {
    /*padding-top: 200px;*/
  }

    /*hide desktop navigation*/
  .site-header .menu {
    display: none !important;
  }
   /*show mobile navigation*/
  .site-header .mobile-nav,
  .site-header .mobile {
    display: flex !important;
  }

  .col-lg-3.px-3.even {
  padding-right: 1em !important;
}
.col-lg-3.px-3.odd {
  padding-left: 1em !important;
}

.mb-md-4, .my-md-4 {
    margin-bottom: 2rem!important;
}

.bgimg-exist .overlay .puff-rubrik {
    position: absolute;
    /*bottom: 30px;*/
    left: 1.5rem;
    width: calc(100% - 60px);
}



.bgimg-exist .overlay .puff-rubrik,
.block-svg .overlay .puff-rubrik {
  bottom: 25px;
  -webkit-transition: bottom .1s ease-out; /* For Safari 3.1 to 6.0 */
  transition: bottom .25s ease-in-out;
}

.bgimg-exist:hover .overlay .puff-rubrik,
.block-svg:hover .overlay .puff-rubrik {
  bottom: 30px;
}

.box-inner .overlay {
    height: calc(100% - 2rem);
    width: calc(100% - 2rem);
    top: 1rem;
    left: 1rem;
}

.bgimg-exist .overlay .puff-rubrik {
    position: absolute;
    bottom: 20px;
    left: 1.0rem;
    width: calc(100% - 40px);
}
.block-svg .overlay .puff-rubrik {
    left: 1.5rem;
}


.single .story h1,
.single .story h2,
.single .story h3 {
  /*padding-left: 0rem;
  padding-right: 0rem;*/
}
.story h1,
.story h2,
.story h3 {
  /*padding-left: 1.1rem;
  padding-right: 1.1rem;*/
}
/*.home .story h1,
.home .story h2,
.home .story h3,*/
.story .box-inner h2,
.story .box-inner h3 {
  /*padding-left: 1.1rem;
  padding-right: 1.1rem;*/
}

.home .story h1,
.home .story h2,
.home .story h3,
.home .story .box-inner h1,
.home .story .box-inner h2,
.home .story .box-inner h3  {
  padding-left: 0rem;
  padding-right: 0rem;
}

.iterator-3,
.iterator-4 {
  margin-bottom: 0rem !important;
}

.contact .puff-rubrik-center h2 {
    font-size: 4.0rem /*48px*/;
}

.bgimg-not-exist {height: auto;}

.bgimg-not-exist .link-img {
  margin-top: -28px;
}

.link-icon-container {
    right: 26px;
}
.col-12.col-md-6 .link-icon-container,
.col-6.col-md-6.col-lg-3 .link-icon-container   {
    bottom: 27px;
    right: 27px;
}

.contact.vaxjo .img-part .hero,
.contact.stockholm .img-part .hero   {
  height: 352px;
}


  

}

/*// Large devices (desktops, 992px and up) - Bootstrap MD */
@media (min-width: 992px) { 

 

  .story.bl-rtib33 h3, .bl-rstory h3 {
    font-size: 1.5rem;
}
.site-header .menu {
    display: none !important;
}
  .site-header .mobile-nav, .site-header .mobile {
    display: block !important;
}
.hamburger-menu {
    top: 33px;
}
.mobile-nav.show a {
    font-size: 20px;
}
.menu-footer a[href^=tel], .menu-footer p {
    color: #fff;
    font-size: 14px;
}

.show {
    left: 67%;
    opacity: 1;
    top: 0;
    width: 33vw;
    height: 100vh;
}
.mobile-nav .main-navigation {
    transform: translateY(50%);
}
.menu-header {
    top: 48px;
}

  .advgb-columns-3 {
    padding: 0 1.5rem;
}

  .story.bl-rtib33 h3 {
  font-size: 1.0rem;
}
.story.bl-rtib33 a,
.story.bl-rtib33 a:link {
  font-size: 0.8rem;
}


 .story .intro .page-intro .header-content h1 {
    font-size: 3.1rem;
    /* color: #f3efda; */
    /* color: #fff; */
    /* text-shadow: 4px 4px 10px rgba(50, 50, 50, 0.5); */
} 

.story .intro .page-intro .header-content2 h1 {
    font-size: 3.1rem;
    /* color: #f3efda; */
    /* color: #fff; */
    /* text-shadow: 4px 4px 10px rgba(50, 50, 50, 0.5); */
}
.home h1 {
    font-size: 3.5rem;
}

  .logotype-outer {display: block;}

  /*========== TYPOGRAPHY ==========*/
h1  {font-size: 3.5rem;}
h2  {font-size: 2.25rem}
h3  {font-size: 1.35rem;}
h4  {font-size: 1rem}
h5  {font-size: 1rem;}

.field-wrap input[type="button"], input[type="submit"], a:link.button, a.button {
    width: 376px !important;
}
.puff.topical {
    height: 240px;
}
section.bl-topical .bg-img {
  /*height: 290px;*/
  height: 370px;
}
section.bl-landingpage2 .bg-img,
section.bl-singlecontent .bg-img,
section.bl-story .bg-img {
    height: 400px;
}

.sub-navigation {
  /*position: absolute;*/
  width: 100%;
  height: 60px;
  bottom: 0;
  background: #E5E5E5;
}
.sub-navigation .menu  {
  justify-content: center;
  align-items: center;
  margin-bottom: 0;
  margin-top: 0px;
}

section.bl-story .bg-img {
    height: 300px;
}

.row.Stories {
    padding-left: calc(3rem - 15px);
    padding-right: calc(3rem - 15px);
}

.intro .page-intro .header-content {
  width: 75%;
  top: 50%;
  left: 50%;
  margin-top: 0;
  transform: translate(-50%, -40%) !important;
  position: absolute;
}

.intro .page-intro .header-content2 {
  width: 75%;
  top: 50%;
  left: 50%;
  margin-top: 0;
  transform: translate(-50%, -40%) !important;
  
}


.home .page-intro .bg-img {height: 400px !important;}
.home .intro .page-intro .header-content {
  transform: translate(-50%, -28%) !important;
}

.cookiealert.show {
    height: 80px;
}
.cookiealert {
  font-size:90%;
}


.advgb-columns-3 {
  padding: 0 0rem;
}

blockquote:before {
    top: 5%;
}

blockquote p {
  font-size: 1.75rem;
  line-height: 1.3;
}

header.site-header .menu-outer {
    /*border-bottom: solid 1px #d8d8d8;*/
    height: 110px;
}

.main-navigation ul {
  text-align: left; /*align main navigation left, right or center*/
  }



.menu-site-footer .menu {
    display: flex;
    justify-content: flex-start;
}





.nav-up header.site-header .logotype img {
  width: 45%;
}

.advgb-columns-2 > div:nth-child(1) {
    padding-right: 1rem;
}
.advgb-columns-2 > div:nth-child(2) {
    padding-left: 1rem;
}

  .link-icon-container {
    bottom: 36px;
    right: 30px;
    height: 44px;
}

.link-img {
    width: 28px;
    min-width: 28px;
    margin-left: 0px;
    margin: 0 8px;
    padding-top: 8px;
}

.single .advgb-column-inner, .single .wp-block-embed {
    padding: 0rem 0 2.75rem;
}

  /*========== STRUCTURE ==========*/



  .overlay {
    opacity: 1;
  }
   .box-inner:hover .overlay {
    opacity: 1;
   }
.contact .overlay {
  opacity: 0.80;
}

.contact:hover .overlay {
  opacity: 0.0;
}

  .insta-item img {
  max-height: 315px;
}



  /*to hide fixed site-header - must be the same as .site-main*/
 

.nav-up header.site-header  {
    top: -110px;
}
  .site-main {
    padding-top: 110px;
}

header.site-header .menu-outer,
header.site-header .logotype-outer {
    height: 110px;
}
header.site-header  {
    background: #fff;
}

 header.site-header {
    height: 110px;
}
.nav-up header.site-header {
    /*height: 110px;*/
}
/*.site-main {
    padding-top: 65px;
  }*/

.nav-up header.site-header .logotype img {
    width: 110%;
}

.logotype-outer,
.menu-outer {
  /*-webkit-transition: all 300ms ease 0ms;
  transition: all 300ms ease 0ms;*/
}
.nav-up .logotype-outer,
.nav-up .menu-outer {
  /*padding-top: 1.0rem;
  padding-bottom: 1.0rem;*/
}
  
  header.site-header .tagline h2 {
    font-size: 1.25rem;
  } 



/*satta höjder på RTIB100, RITB50, RTIB25 */

.single_page_layout_related_RTIB100,
.block-svg.col-md-12,
.block-svg.col-12,
.col-12.BLOCKSTANDARD {
    height: 640px;
    overflow: hidden;
}
.block-svg.col-12.col-md-6,
.col-12.col-md-6.BLOCKSTANDARD {
    height: 100%;
}


/*SLUT satta höjder på RTIB100, RITB50, RTIB25 */


}

/*// Extra large devices (large desktops, 1200px and up)  - Bootstrap LG */
@media (min-width: 1100px) { 

  .overlay {
    opacity: 0;
  }

  .story.bl-rtib33 h3 {
    font-size: 1.5rem;
}

.home .intro .page-intro .header-content {
    transform: translate(-50%, -20%) !important;
}


/*.container {
    max-width: 1250px;
}*/




}

@media (min-width: 1400px) { 


.site-header .mobile-nav, .site-header .mobile {
    display: none !important;
}
.site-header .menu {
    display: flex !important;
}



}


@media (min-width: 1500px) { 


.container {
    max-width: 1500px;
}



}

