

.logo {
  display: inline-block;
  grid-column: 1 / 3;
  max-width: 270px;
}
.logo svg {
  width: 100%;
  height: auto;
}
.logo svg path{
  transition: fill 0.1s;
}
.logo-href {
  pointer-events: auto;
}

.logo-top {
  position: fixed;
  left: 30px;
  top: 30px;
  width: 15vw;
  z-index: 10;
}

.logo.fixed {
  position: fixed;
  width: 14vw;
  left: 30px;
  top:30px;
  z-index: 99;
  mix-blend-mode: difference;
  pointer-events: none;
  transition: filter 0.1s;
}

.logo:hover {
  /* mix-blend-mode: normal; */
}
.logo:hover svg path {
  /* fill: #00FFC7; */
}

.hide-logo-part {
  position: absolute;
  left: calc(30px + 4.75vw);
  top: 100vh;
  z-index: 100;
  background: white;
  height: 100px;
  width: 200px;
}


.top-front {
  width: 100%;
  height: 100vh;
  z-index: -1;
  position: relative;
  overflow: hidden;
}

.top-front h2 {
  align-self: end;
  grid-column: 2 / 8;
  font-size: 54px;
  line-height: 60px;
  /* font-size: 2.5vw;
  line-height: 3.7vw; */
  margin: 0 0 7vh;
  width: 48rem;
  mix-blend-mode: difference;
  z-index: 1;
}

.top-front video {
  position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 0;
      animation: fade 0.75s;
      object-position: center;
}


.nanar-front {
  padding-bottom: 20px;
}
.nanar-front h3 {
  grid-column: 2 / 7;
}

.bullet-points .num {
  grid-column: 1;
  font-size: 48px;
  font-weight: bold;
  line-height: 56px;
}
.bullet-points .text {
  grid-column: 2 / 6;
  display: inline-block;
  font-size: 18px;
  line-height: 32px;
  letter-spacing: -0.25px;
  margin-bottom: 40px;
}

.side-img {
  grid-column: 7 / 13;
  grid-row: 3 / 6;
  width: 100%;
  height: auto;
  margin-top: -9vw;
}

.bullet-points {
  display: grid;
  grid-column: 2 / 7;
  /* grid-template-columns: repeat(6, 1fr); */
  grid-template-columns: minmax(6.125rem, max-content);
  grid-gap: 20px
}

.thjonustan-front h3 {
  /* margin-bottom: 40px; */
}

.thjonusta-last {
  grid-column: 3 / 7;
}

.items {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 20px
}
.items.one {
  grid-column: 2 / 7;
}
.items.two {
  grid-column: 7 / 12;
}

.item {
  display: grid;
  grid-column: 1 / 6;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 20px;
  margin: 0 0 100px;
}

.item-imgbox {
  grid-column: 1 / 3;
  width: 100%;
  height: auto;
  max-width: 15rem;
  position: relative;
  transition: transform 0.75s , opacity 0.75s;
  transform: translate3d(0,8%,0);
  opacity: 0;
}
.item-img {
  width: 100%;
  transition: opacity 0.4s;
  opacity: 0;
}
video.extra {
  position: absolute;
  top: 0;
  left:0;
  /* opacity: 0; */
  width: 100%;
  transition: opacity 0.4s;
}

/* .item:hover .item-img {
  opacity: 0;
}
.item:hover video {
  opacity: 1;
} */
.item:hover .item-text-cont p {
  color: white;
}

.item-text-cont {
  grid-column: 3 / 5;
  max-width: 23rem;
  transition: transform 0.75s 0.25s , opacity 0.75s 0.25s;
  transform: translate3d(0,8%,0);
  opacity: 0;
}

.items h4 {
  margin: 4vw 0 20px;
}
.items p {
  color: #757475;
  margin: 0;
  min-width: 16rem;
  transition: color 0.4s;
}

.case-studies-front {
  position: relative;
}

.case-studies-slider {
  grid-column: 1 / 13;
  width: calc(100% + 40px);
  margin-left: -20px;
}

.swiper-wrapper {
  margin-left: calc((100%/-4.65) + 20px);
}
.case-studies-slider::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,1));
  height: 100%;
  width: 7vw;
  z-index: 10;
}
.case-studies-slider::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(to left, rgba(255,255,255,0), rgba(255,255,255,1));
  height: 100%;
  width: 9vw;
  z-index: 10;
}

.swiper-slide {
  text-align: left;
  width: 40.2%;
  /* margin-right: 1.5vw; */
  background: none;
  /* cursor: pointer; */
  transition: opacity 0.2s, filter 0.2s;;

}

.swiper-slide:hover h4, .swiper-slide:hover h3 {
  /* color: #757475; */
}
.swiper-slide a.active {
  filter: none;
}
.swiper-slide a {
  color: #000;
  text-decoration: none;
  filter: grayscale(1);
    transition: filter 0.2s;
}
.swiper-slide a:hover {
  opacity: 0.975;
  filter: none;
}
.swiper-slide a:hover .sja-meira {
  background: black;
  color: white;
}

.slider-img {
  width: 100%;
  /* max-height: 75vh; */
  object-fit: cover;
}

.swiper-title {
  display: inline-block;
  width: 100%;
  margin: 22px 0 0;
}
.swiper-slide h4 {
  margin: 12px 0 0;
  float: right;
  transition: color 0.2s;
}
.swiper-slide h3 {
  font-size: 38px;
  line-height: 46px;
  float: left;
  width: 85%;
  max-width: 48rem;
  transition: color 0.2s;
}
.swiper-slide p {
  transition: color 0.2s;
  width: 85%;
  margin: 0 0 20px;
}

.swiper-num {
  grid-column: 10 / 12;
  align-self: center;
  /* margin-right: 9%; */
  z-index: 9;
}

.vinir-container {
  grid-column: 2/12;
  display: grid;
  grid-template-columns: repeat(5, 2fr);
  grid-gap: 20px;
  margin: 10px 0 ;
}

.vinir-img {
  width: 100%;
}

.starfsmenn-container {
  position: relative;
  display: grid;
  grid-column: 2/12;
  margin: 10px 0 80px;
  grid-template-columns: repeat(4, 1fr);
  grid-column-gap: 25px;
  grid-row-gap: 45px;
  grid-auto-rows: 1fr
}

.starfsmenn-img {
  width: 100%;
  margin-bottom: 20px;
}

.staff-container {
  max-width: 24rem;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
}
.staff-container-text {
  display: grid;
}
.staff-title {
}
.staff-contact{
  align-self: end;
}
.staff-title p {
  font-size: 1rem;
  line-height: 1.35;
  margin: 0;
}

.staff-contact p {
  font-size: 1rem;
  line-height: 1.35;
  align-self: end;
  margin: 1rem 0 0 0;
}


.person-marker {
  position: absolute;
  background: #00FFC7;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 100%;
  cursor: pointer;
  transition: transform 0.2s;
}
.person-marker:hover {
  transform: scale(1.3);
}
.person-marker.one {
  top: 12%;
  left: 30%;
}
.person-marker.two {
  top: 9%;
  left: 52%;
}
.person-marker.three {
  top: 14%;
  left: 72%;
}

footer {
  background: black;
  min-height: 100vh;
  box-sizing: border-box;
}
.footer-front {
  padding-bottom: 0;
}

}
.footer-sogur {
  padding-bottom: 0;
}

footer .logo {
  margin-top: 20px;
}

footer h3 {
  margin: 0 0 40px;
}

.footer-text {
  margin-bottom: 2vh;
      max-width: 36rem;
}

.footer-box-1 {
  grid-column: 2/4;

  align-self: end;

}

.footer-box-2 {
  grid-column: 4/7;
}

.footer-box-3 {
  grid-column: 10/12;
}

.footer-box-2 p {
  position: relative;
}

.phone-btn {
  color: white;
  text-decoration: none;
  display: inline-block;
}
.email-btn, .phone-btn {
  cursor: pointer;
}
.email-btn:hover, .phone-btn:hover {
  color: #00FFC7;
}

.hafdu-samband {
  grid-column: 2/4;
  border: 1px solid white;
    background: none;
    color: white;

  font-size: 12px;
  line-height: 15px;
  padding: 1rem 2rem;
  text-align: center;
  letter-spacing: 2.5px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
  transition: background 0.2s, color 0.2s;
  margin-bottom: 8vh;
  width: 9.65rem;
}

.hafdu-samband:hover {
  background: white;
  color: black;
}

.hafdu-samband.in-article {
  grid-column: 4/6;
  border: 1px solid black;
  background: none;
  color: black;
  margin-bottom: 0vh;
}
.hafdu-samband.in-article:hover {
  background: black;
  color: white;
}

.sja-meira {
  display: inline-block;
  margin: 0 0 40px;
  border: 1px solid black;
  background: none;
  color: black;
  font-size: 12px;
  line-height: 15px;
  padding: 1rem 2rem;
    text-transform: uppercase;
  text-align: center;
  letter-spacing: 2.5px;
  font-weight: bold;
  transition: background 0.2s, color 0.2s;
}

.sja-meira:hover {
  background: black;
  color: white;
}


/* Tooltip text */
.tooltiptext {
  background-color: #00FFC7;
  color: black;
  padding: 0.35rem 0.75rem;
  border-radius: 5px;
  font-size: 18px;
  position: absolute;
  z-index: 99;
  opacity: 0;
  transition: opacity 0.2s;
  top: 1.75rem;
  left: 8.5rem;
}

/* Tooltip arrow */
.tooltiptext::after {
    content: "";
    position: absolute;
    top: 35%;
    left: 0;
    margin-left: -10px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent #00FFC7 transparent transparent ;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltiptext.active {
    opacity: 1;
}


.ani {
  transition: transform 0.7s , opacity 0.7s;
}
.ani.sd-1 { transition-delay: 0.15s; }
.ani.sd-2 { transition-delay: 0.3s; }
.ani.sd-3 { transition-delay: 0.45s; }
.ani.sd-4 { transition-delay: 0.6s; }


.start-down {
  transform: translate3d(0,4%,0);
  opacity: 0;

}

.slideUp {
    transform: translate3d(0, -8%, 0);
    opacity: 0;
}

.slideUpToPos  {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}



.fade-in {
  transform: translate3d(0, -8%, 0);
  opacity: 0;
  animation: fadeIn 1s 0.35s forwards;
}
.left-in {
  transform: translate3d(-110%, 0, 0);
  animation: leftIn 0.75s forwards;
}

.sitenotfound {

}
.sitenotfound img {
  width: 100%;
  grid-column: 5 / 9;
  margin-top: 45%;
}
.sitenotfound h3, .sitenotfound p {
  grid-column: 4 / 10;
  text-align: center;
}

.sitenotfound img.fade-in {
  transform: translate3d(0, -8%, 0);
  opacity: 0;
  animation: fadeIn 1s 0s forwards;
}

@keyframes fadeIn {
    0% {
        transform: translate3d(0, -8%, 0);
        opacity: 0;
    }
    100% {
      transform: translate3d(0, 0, 0);
      opacity: 1;
    }
}

@keyframes leftIn {
    0% {
        transform: translate3d(-110%, 0, 0);
        opacity: 0;
    }
    100% {
      transform: translate3d(0, 0, 0);
      opacity: 1;
    }
}

@keyframes fade {
    0% {
        opacity: 0;
    }
    100% {
      opacity: 1;
    }
}


@media only screen and (min-width: 1860px) {
  .item-text-cont {
    margin-left: -3vw;
  }
  .items h4 {
    margin: 3vw 0 20px;
  }
  .hide-logo-part {
    left: 120px;
  }
/*
  .swiper-wrapper {
    margin-left: calc((100%/-10.25) + 10px);
  }
  .swiper-slide {
    width: 55%;
  }
  .swiper-slide a {
    color: #000;
    text-decoration: none;
  }
  */
  .swiper-slide h3 {
    font-size: 48px;
    line-height: 58px;
  }
  .swiper-num {
    margin-right: 0.5vw;
  }
  .swiper-button-prev, .swiper-button-next {
    width: 25px;
    height: 25px;
  }


}
@media only screen and (min-width: 2240px) {
  .items h4 {
    margin: 2.2vw 0 20px;
  }
  .item-text-cont {
    margin-left: -5.5vw;
  }
}



/* MIN HEIGHT */

@media only screen and (min-height: 900px) {

  footer {
    padding-bottom: 20px;
  }
  /* .footer-front {
    padding-bottom: 80px;
  } */
  .hafdu-samband {
    margin-bottom: 15vh;
  }
  hr {
    margin-bottom: 15vh;
  }
  hr.footer-sogur-hr {
  margin-bottom: 8vh;
}


}

@media only screen and (min-height: 1100px) {


  .hafdu-samband {
    margin-bottom: 21vh;
  }
  hr {
    margin-bottom: 21vh;
  }

}

a#CybotCookiebotDialogPoweredbyCybot {
    display: none !important;
    margin-left: 100% !important;
    visibility: hidden !important;
}
.CookieDeclarationTable {
  font-size: 0.8em !important;
  line-height: 1.5em !important;
}
.CookieDeclarationType {
  border-top: 2px solid #00FFC7 !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: none !important;
  padding: 30px 0 12px 0 !important;
  margin: 0 !important;
}

.CookieDeclarationTableHeader {
  border-bottom: none !important;
  padding: 10px 4px !important;
}

.CookieDeclarationTableCell {
  border-bottom: none !important;
  border-top: 1px solid #d3d3d3 !important;
  padding: 10px 4px 6px 4px !important;
}

#CookieDeclarationChangeConsentChange {
  display: inline-block !important;
  margin: 10px 10px 0 0 !important;
  border: 1px solid black !important;
  background: none !important;
  color: black !important;
  font-size: 12px !important;
  line-height: 15px !important;
  padding: 1rem 2rem !important;
  text-transform: uppercase !important;
  text-align: center !important;
  letter-spacing: 2.5px !important;
  font-weight: bold !important;
  transition: background 0.2s, color 0.2s !important;
  text-decoration: none !important;
}
a:hover#CookieDeclarationChangeConsentChange {
  background: black !important;
  color: white !important;
  }

#CookieDeclarationChangeConsentWithdraw { display:none !important; }
#CookieDeclarationUserStatusLabelWithdraw { display:none !important; }
