body.imd {
  background-color: #eff0f4 !important;
  min-width: 0;
  min-height: 100%;
  color: #4d4d4d;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  margin: 0;
}

.imd #header-logo {
  display: block;
  width: 117px;
  height: 92px;
  background: url("../images/IMD-Logo-Blue-0-RGB.svg") center center no-repeat, linear-gradient(transparent, transparent);
}

.imd #header.content {
  padding-top: 24px;
  padding-bottom: 14px;
}

#home-header {
  background-color: #fff !important;
}

#content404 #banner404 {
  background-position: center center;
  background-size: cover;
}

#content404 #text404 {
  text-align: center;
}

#content404 #text404 h1,
#content404 #text404 h2 {
  color: #233D7A;
  font-weight: inherit;
  margin: 0;
}

#content404 #text404 h1 {
  padding-top: 96px;
  font-size: 25px;
  color: #233d7a;
  font-weight: 600;
}

#content404 #text404 h2 {
  padding-top: 4px;
  font-size: 1.5em;
  font-weight: bold;
}

#content404 #text404 h1+h2 {
  padding-top: 50px;
}

#content404 #text404 p {
  font-size: 1rem;
  padding-top: 1rem;
  margin: 0;
  line-height: 1.45em;
}

#content404 #text404 ul {
  margin-bottom: 40px;
  padding: 0;
  list-style: none;
}

#content404 #text404 ul li {
  padding-top: 24px;
}

#content404 #text404 ul li a {
  color: #6b94ff;
  margin: 0;
  text-decoration: none;
}

#content404 #text404 ul li a:hover {
  color: #6b94ff;
  text-decoration: underline;
}

@media screen and (max-width: 375px) {
  #content404 #banner404 {
    background-image: url("../images/bg_404_mobile.png");
    height: 131px;
  }
  #content404 #text404 {
    padding: 0 10px;
    margin-top: -131px;
  }
}

@media screen and (max-width: 767px) {
  .imd #header.content {
    padding-top: 12px;
    padding-bottom: 7px;
  }
  #content404 #text404 h1 {
    font-size: 22px;
    max-width: 245px;
    margin: 0 auto;
  }
  #content404 #text404 h2 {
    font-size: 1.1rem;
  }
  .imd #header-logo {
    width: 61px;
    height: 41px;
    padding-right: 14px;
    background-image: url('../images/IMD-Logo-Blue-0-RGB.svg');
  }
  #content404 #text404 p {
    padding-top: 2.5rem;
  }
}

@media screen and (min-width: 376px) and (max-width: 767px) {
  #content404 #banner404 {
    background-image: url("../images/bg_404_tablet.png");
    height: 230px;
  }
  #content404 #text404 h1 {
    max-width: 280px;
    margin: 0 auto;
  }
  
  #content404 #text404 {
    padding: 0 30px;
    margin-top: -230px;
  }
}

@media screen and (min-width: 768px) {
  #content404 #banner404 {
    background-image: url("../images/bg_404_desktop.png");
    height: 297px;
  }
  #content404 #text404 {
    padding: 0;
    margin-top: -297px;
  }
  #content404 #text404 h1 {
    padding-top: 144px;
    font-size: 35px;
    max-width: 525px;
    margin: 0 auto;
  }
  #content404 #text404 h2 {
    padding-top: 19px;
  }
  #content404 #text404 p {
    font-size: 20px;
    padding-top: 3rem;
  }
  #content404 #text404 li {
    padding-top: 13px;
  }
  .imd #header.content {
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 24px;
  }
}

/* IE10+ specific styles go here */

@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {
  #content404 #text404 li a {
    text-decoration: none;
  }
  #content404 #text404 li a:hover {
    text-decoration: underline;
  }
  #content404 #text404 li a:before {
    text-decoration: underline;
    display: inline-block;
  }
  #content404 #text404 li a:before,
  #content404 #text404 li a:hover:before {
    text-decoration: none;
  }
  #content404 #text404 #search-container input {
    line-height: 1em;
  }
}

@media only screen and (min-width: 1200px) {
  .imd #header.content {
    padding-left: 0;
    padding-right: 0;
    width: 1145px;
    min-width: 1145px;
    max-width: 1145px;
    left: inherit !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}