.subpage-body{
  background-color: #FFFFFF;
  width: 100%;
  height: 100%;
  margin-bottom: 20px;
}

@supports not (grid-area: auto) {
  .subpage-body{
    max-width: 992px;
  }
  @media only screen and (min-width: 992px) {
    .subpage-body{
      border-radius: 5px;
    }
  }
}
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
  .subpage-body{
    max-width: 992px;
  }
  @media only screen and (min-width: 992px) {
    .subpage-body{
      border-radius: 5px;
    }
  }
}
.featured_image_container{
  border-bottom: none;
  padding: 0;
  display: block;
  position: relative;
  width: 100%;
}
.featured_image_container::before {
  display: block;
  content: "";
  width: 100%;
  padding-top: 56.25%;
  border-bottom: 1px solid #EBEBEB;
}
.featured_image_container img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 80%;
  margin:auto;
  border: 1px solid #E0E0E0;
  box-sizing: border-box;
  border-radius: 3px;
}
.featured_embed_container{
  border-bottom: none;
  padding: 0;
  display: block;
  position: relative;
  min-height: 320px !important;
  border-radius: 3px;
  overflow: hidden;
}
.featured_embed_container::before {
  display: block;
  content: "";
  width: 100%;
  padding-top: 56.25%;
  border-bottom: 1px solid #EBEBEB;
}
.featured_embed_container iframe {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  margin:auto;
  border-radius: 3px;
  background-color: #FFFFFF;
}

@media only screen and (max-width: 991px){
  .featured_image_container img{
    box-shadow: none;
  }
}

p {
  margin: 25px 0;
}
table {
  font-variant-numeric: tabular-nums;
  -moz-font-feature-settings: "tnum";
  -webkit-font-feature-settings: "tnum";
  font-feature-settings: "tnum";
}
a.align-image{
  display:flex;
  justify-content: center;
}
a.align-image img{
  margin: 0 5px;
}

.article .authors .desktop-author .button{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 5px 0;
  padding: 0 5px;
  background-color: #222222;
  color: #FFFFFF;
  font-size: 0.75rem;
  border-radius: 20px;
  font-weight: bold;
  text-align: center;
  width: 160px;
  height: 40px;
  cursor: pointer;
}
.article-body {
  color: #222222;
  font-size: 1.09rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}
.article-body img+p {
  margin-top: 0;
}
@media only screen and (max-width: 991px){
  .article-body{
    font-size: 1rem;
    line-height: 24px;
  }
}
.article-body a {
  color: #3E8CAE;
}
.article-body a:hover {
  text-decoration: underline;
}
.article-body a:visited {
  color: #98A3A3;
}
.article-body .links{
  display: flex;
  flex-direction: row;
  border-top: solid 1px rgba(191, 198, 198, 0.3) ;
  justify-content: flex-start;
  margin: 25px 0 ;
  text-indent: -9999px;

}
.article-body .links .link:hover {
  text-decoration: none;
}

.article-body .links .link {
  margin-top: 25px;
  width: 190px;
  height: 50px;
  border-radius: 6px;
  background-position: 25px 50%;
  cursor: pointer;
  text-indent: 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-content: center;
  padding-left: 27px;
  color: #FFFFFF;
}
.article-body .links .link:first-child {
  margin-right: 25px;
}
@media only screen and (max-width: 991px){
  .article-body .links{
    flex-direction: column;
  }
  .article-body .links .link {
    align-self: center
  }
  .article-body .links .link:first-child {
    margin-right: 0;
  }
}

.article {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
.article .article-body {
  padding: 0 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.article .authors {
  display: flex;
  padding-top: 40px;
}
.article .authors .authors-multiple {
  width: 100%;
  display: flex;
  justify-content: center;
  align-content: center;
  text-align: center;
}
.article .authors img{
  border-radius: 50%;
}
.article .authors img.icon {
  width: 20px;
  height: 20px;
  border-radius: 0;
}
@media only screen and (max-width: 991px){
  .article .authors img{
    width: 6.36rem;
    height: 6.36rem;
  }
}
@media only screen and (min-width: 992px){
  .article .authors .author-images{
    width:100%;
    box-sizing: border-box;
    padding: 25px;
  }
  .article .authors .image_container{
    flex:1;
  }
  .article .authors img{
    border-radius: 50%;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
  }
}
.seperation-line{
  display: block;
  border: 1px solid #EBEBEB;
  margin: 0;
  width: 100%;
  margin-bottom: 5px;
}

.author-image-container{
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
  padding-bottom: 40px;
}
.article .authors .desktop-author {
  display: none;
}
.article .authors .mobile-image-heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media only screen and (max-width: 991px){
  .article .authors {
    padding: 0 25px;
    padding-top: 25px;

  }
  .article .authors .mobile-image-heading .mobile-author {
    margin: 0;
    margin-left: 10px;
    color: #BFC6C6;
  }
  .article .authors .mobile-image-heading .author-name {
    margin: 0;
    margin-left: 10px;
  }
  .article .authors img{
    width: 5.36rem;
    height: 5.36rem;
  }
}
.article .authors .mobile-author h4{
  color: #3E8CAE;
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0;
  margin-top: 10px;
}
.article .authors .mobile-author h5{
  color: #BFC6C6;
  margin: 0;
  font-size: 0.9rem;
}
.article .authors h3 {
  color: #3E8CAE;
  font-size: 1rem;
  font-weight: bold;
}
.featured_image {
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.subpage-articles {
  display: none;
}

.subpage-banner h2{
  font-size: 16px;
  color: #909090;
  font-weight: normal;
  text-align: center;

}
.subpage-banner h1{
  font-size: 24px;
  font-weight: bold;
  text-align: center;
}
.subpage-banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
}
.subpage-banner div {
  display: none;
}


@media only screen and (min-width: 992px){
  .article-body{
    color: #222222;
    font-size: 0.85rem;
    line-height: 28px;
  }
  .article .authors h3 {
    font-size: 1rem;
  }
  @supports (grid-area: auto){
    h4.desktop-author{
      color: #3E8CAE;
      font-size: 22px;
      font-weight: bold;
    }
    a.underline {
      text-decoration: underline;
    }
    a.bold {
      font-weight: bold;
    }
    .article .authors .authors-multiple {
      width: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-content: center;
      align-items: center;
    }
    .article .authors .desktop-author {
      display: flex;
      flex-direction: column;
      text-align: center;
      align-items: center;
    }
    .article .authors .desktop-author a {
      color: #222222;
      font-size: 0.91rem;
      margin-bottom: 5px;
      display: flex;
      align-items: flex-end;
    }
    .article .authors  .mobile-author {
      display: none;
    }
    .subpage-body{
      background: none;
      display: grid;
      grid-template-columns: minmax(auto,3fr) minmax( 900px, 14fr) minmax(auto,3fr);
      grid-template-rows: min-content auto;
      grid-template-areas:
      " . newsheader ."
      " . article .";
      grid-column-gap: 25px;

    }
    @media only screen and (min-width: 2080px){
     .subpage-body{
       grid-template-columns: auto 1456px auto;
     }
    }
    .featured_image_container::before {
      border: none;
    }
    .featured_image_container img {
      width: 100%;
    }
    .subpage-header {
      grid-area: newsheader;
      display: grid;
      grid-template-columns: 65fr 30fr;
      grid-template-areas: "image newslist";
      margin: 25px 0;
      grid-column-gap: 25px;
      width: 100%;
    }
    .featured_image{
      grid-area: image;
    }
    .subpage-articles{
      grid-area: newslist;
      display: block;
      position: relative;
      background-color: #FFFFFF;
      border: 1px solid #E0E0E0;
      box-sizing: border-box;
      border-radius: 3px;
    }
    .relative-subpage-articles{
      position: absolute;
      max-height: 100%;
      display: flex;
      flex-direction: column;
    }
    .subpage-articles h3 {
      padding: 0 40px;
    }
    .subpage-articles .recent-news-articles{
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      flex-flow: column wrap;
      overflow: hidden;
    }
    .subpage-articles .recent-news-articles li{
      width: 100%;
      padding: 0 40px;
      box-sizing: border-box;
    }
    .subpage-articles .recent-news-articles h4 {
      font-size: 0.8rem;
      margin: 0;
      font-weight: 300;
    }
    .recent-news-articles .subpage_body {
      margin: 10px 0;
    }
    .recent-news-articles .date p {
      color: #98A3A3;
      font-size:  0.72rem;
      margin: 0;
    }
    .recent-news-articles .title {
      color: #4F86A0;
      font-size: 0.91rem;
    }
    .article {
      grid-area: article;
      background-color: #FFFFFF;
      box-shadow: 0 2px 10px 0 rgba(0,0,0,0.05);
      display: grid;
      border-radius: 3px;
      grid-template-columns: 65fr 30fr;
      grid-template-areas: "body authors";
      grid-column-gap: 25px;
      border: 1px solid #E0E0E0;
      box-sizing: border-box;

    }
    .author-name {
      margin-bottom: 0;
    }
    .jobTitle {
      margin: 0 0 40px 0;
      font-size: 0.91rem;
    }
    .speciality {
      font-size: 0.91rem;
      margin: -30px 0 40px;
      padding: 0 2rem;
      opacity: .8;
    }
    .article .article-body {
      grid-area: body;
    }
    .article .authors {
      display: flex;
      flex-direction: column;
      align-items: center;
      grid-area: authors;
      background-color: #F3F3F3;
      border-left: 1px solid #BFC6C6;
      border-top-right-radius: 3px;
      border-bottom-right-radius: 3px;
    }
    .article .authors > *{
      display: block;
    }
    .subpage-banner {
      display: grid;
      grid-template-columns: minmax(auto,3fr) minmax( 900px, 14fr) minmax(auto,3fr);
      grid-template-rows: auto auto auto;
      grid-template-areas: ".  date  ." ". title ." ". back ."
    }
    @media only screen and (min-width: 2080px){
      .subpage-banner{
        grid-template-columns: auto 1456px auto;
      }
    }
    .subpage-banner h2{
      font-size: 1rem;
      font-weight: normal;
      text-align: center;
      grid-area: date;
    }
    .subpage-banner h1{
      font-size: 1.6rem;
      margin: auto;
      font-weight: bold;
      text-align: center;
      grid-area: title;
    }
    .subpage-banner div {
      display: flex;
      justify-content: flex-start;
      align-content: flex-start;
      grid-area: back;
      font-size: 1rem;
      margin: 0 0 10px 0;
      width: fit-content;
    }
    .subpage-banner img{
      margin: 0 5px;
    }
  }
}

img.richtext-image.full-width {
  max-width: 100%;
  height: auto;
}
div.block-linked_image a {
  display: block;
  width: 100%;
}
div.block-linked_image img {
  display: block;
  margin: 0 auto;
  max-width: 100vw;
}

div.block-linked_button {
  display: flex;
  justify-content: center;
}

/*
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

click on author stuff

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*/

.authors-multiple.desktop-author div.active-hidden.button {
  display: none;
}

@media only screen and (max-width: 991px){
  .authors-multiple.desktop-author.active {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #FFFFFF;
    top: 0;
    left:0;
    width: 100vw;
    height: 100%;
    z-index: 9999;
  }
  .authors-multiple.desktop-author.active .desktop-author {
    display: initial;
  }

  .authors-multiple.desktop-author.active .desktop-author {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .authors-multiple.desktop-author.active .desktop-author a {
    color: #222222;
    font-size: 0.91rem;
    display: flex;
    align-items: flex-end;
    margin-bottom: 5px;
  }
  .jobTitle {
    margin: 0 0 40px 0;
    font-size: 0.91rem;
  }
  .authors-multiple.desktop-author.active h4.desktop-author{
    color: #3E8CAE;
    font-size: 22px;
    font-weight: bold;
  }
  .authors-multiple.desktop-author.active div.active-hidden.button {
    display: flex;
  }
}

@supports not (grid-area: auto){
  .authors-multiple.desktop-author.active {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #FFFFFF;
    top: 0;
    left:0;
    width: 100vw;
    height: 100%;
  }
  .authors-multiple.desktop-author.active .desktop-author {
    display: initial;
  }

  .authors-multiple.desktop-author.active .desktop-author {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .authors-multiple.desktop-author.active .desktop-author a {
    color: #222222;
    font-size: 0.91rem;
  }
  .authors-multiple.desktop-author.active h4.desktop-author{
    color: #3E8CAE;
    font-size: 22px;
    font-weight: bold;
  }
  .authors-multiple.desktop-author.active div.active-hidden.button {
    display: flex;
  }
}
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
  .authors-multiple.desktop-author.active {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #FFFFFF;
    top: 0;
    left:0;
    width: 100vw;
    height: 100%;
  }
  .authors-multiple.desktop-author.active .desktop-author {
    display: initial;
  }

  .authors-multiple.desktop-author.active .desktop-author {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .authors-multiple.desktop-author.active .desktop-author a {
    color: #222222;
    font-size: 0.91rem;
  }
  .authors-multiple.desktop-author.active h4.desktop-author{
    color: #3E8CAE;
    font-size: 22px;
    font-weight: bold;
  }
  .authors-multiple.desktop-author.active div.active-hidden.button {
    display: flex;
  }
}

/*
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

image alignment

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*/

.richtext-image.left-aligned{
  max-width: 50%;
  float: left;
  margin: 10px;
}
@media only screen and (max-width:425px){
  .richtext-image.left-aligned{
    max-width: 100%;
    float: initial;
  }
}

.richtext-image.right-aligned{
  max-width: 50%;
  float: right;
  margin: 10px;

}
@media only screen and (max-width: 425px){
  .richtext-image.right-aligned{
    max-width: 100%;
    float: initial;
  }
}

/*
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

looker embed

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*/

.looker_embed{
  height: 100%;
  width: 100%;
}
@media only screen and (max-width: 991px){
  .responsive-object.mobile_looker{
    padding-bottom: 0 !important;
  }
}
@media only screen and (min-width: 992px){
  .responsive-object.mobile_looker{
    min-height: 0 !important;
  }
}

/*
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Event details

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*/
#event-details {
  display: block;
  font-weight: bold;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
}
#event-details li {
  display: block;
}
#event-details li:first-child {
  font-size: 1.2rem;
}
#event-details li {
  font-size: 1rem;
}


@media only screen and (min-width: 991px){
  .subpage-body.simple-page .article {
    display: flex;
    align-items: center;
    background-color: #fff;
  }

  .simple-page .article .article-body {
    display: flex;
    align-items: center;
    height: 100%;
    background-color: #fff;
    max-width: 70ch;
    width: 70ch;
    hyphens: none;
    padding: 84px 168px;
  }
}


/*
Viðhorfskönnun
*/

.attitude-survey-form {
  width: 100%;
}

.attitude-survey-form input[type=text], .attitude-survey-form input[type=email] {
  width: 60%;
}

.attitude-survey-form-gdpr {
  font-size: 0.7rem;
  line-height:2em;
}
