#masterPageTitleBar, #breadcrumb-color {
  display: none;
}

body {
  background: #fff;
}

#error {
  background: #e9eff1;
  padding: 100px 0 0 0;
  position: relative;
  margin-top: -30px;
}
#error.holding-up {
  padding: 0;
}
#error .image {
  background-repeat: no-repeat;
  height: 295px;
  width: 750px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
#error .image.server-unplugged {
  background-image: url(/CDN/Content/Images/errors/server-unplugged.svg);
  background-size: 750px;
  background-position-x: -20px;
}
#error .image.struggling-man {
  background-image: url(/CDN/Content/Images/errors/struggling-man.svg);
  background-size: 900px;
  background-position: center;
  height: 317px;
}

/*#message {
    background: #fff;
    padding: 50px 0;
    position: relative;
    margin-top: -30px;

    &.smaller {
        padding: 80px 0;

        .message {
            h1 {
                font-size: 80px;
            }

            p {
                font-size: 24px;
            }
        }
    }

    .message {
        text-align: center;
        position: relative;
        z-index: 1;

        h1 {
            color: #333;
            font-size: 110px;
            font-weight: 400;
            padding: 0;
            margin: 0;
        }

        p {
            color: #777;
            font-size: 30px;
            font-weight: 300;
            line-height: normal;
            padding: 20px 0;
            margin: 0;
        }

        a {
            &.btn {
                background: $blue;
                border-radius: 4px;
                color: #fff;
                display: inline-block;
                font-size: 20px;
                padding: 10px 20px;
                @extend %shadow;

                &:hover {
                    background: darken($blue,5%);
                }
            }
        }

        span {
            color: #777;
            display: block;

            a {
                color: $blue;
            }
        }

        .ref-number {
            margin: 0px 0px 15px 0px;           
        }
    }
}*/
#error-page.error-with-illustration #error-content, #error-page.error-with-full-background {
  background: #e9eff1;
}

#error-page {
  position: absolute;
  z-index: 1010;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
#error-page.error-with-full-background {
  padding: 0 20px;
}
#error-page.error-with-full-background #error-content {
  margin: 0 auto;
  max-width: 800px;
  position: relative;
  top: 100px;
}
#error-page.error-with-full-background #error-content h1 {
  color: #333;
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 10px;
}
#error-page.error-with-full-background #error-content p {
  font-color: #666;
  font-size: 20px;
  line-height: 24px;
}
#error-page.error-with-full-background #error-content h3 {
  color: #333;
  font-size: 20px;
  font-weight: 400;
}
#error-page.error-with-full-background #error-content .contact p {
  margin-bottom: 4px;
  font-size: 18px;
}
#error-page.error-with-illustration #error-content {
  padding: 100px 0 0 0;
  position: relative;
  margin-top: -100px;
  z-index: 1200;
}
#error-page.error-with-illustration #error-content #illustration {
  max-width: 810px;
  height: 360px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
#error-page.error-with-illustration #error-content #error-message {
  background: #fff;
  text-align: center;
  padding: 50px 20px;
}
#error-page.error-with-illustration #error-content #error-message h1 {
  color: #333;
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 10px;
}
#error-page.error-with-illustration #error-content #error-message p {
  font-color: #666;
  font-size: 20px;
  line-height: 24px;
}
#error-page.error-with-illustration #error-content #error-message h3 {
  color: #333;
  font-size: 20px;
  font-weight: 400;
}
#error-page.error-with-illustration #error-content #error-message .contact p {
  margin-bottom: 4px;
  font-size: 18px;
}
@keyframes cloudanimation {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 -500px;
  }
}
@keyframes oakanimation {
  0% {
    -webkit-transform: rotate(5deg);
    -moz-transform: rotate(5deg);
    -ms-transform: rotate(5deg);
    transform: rotate(5deg);
    left: -30px;
  }
  60% {
    -webkit-transform: rotate(-3deg);
    -moz-transform: rotate(-3deg);
    -ms-transform: rotate(-3deg);
    transform: rotate(-3deg);
    left: 20px;
  }
  100% {
    -webkit-transform: rotate(5deg);
    -moz-transform: rotate(5deg);
    -ms-transform: rotate(5deg);
    transform: rotate(5deg);
    left: -30px;
  }
}
#error-page.error-with-illustration #error-content #illustration {
  background-image: url(/CDN/Content/Images/errors/RestoringTenant/background-clouds.png);
  background-repeat: repeat-y;
  background-position: 0 0;
  height: 500px;
  text-align: center;
  -webkit-animation: cloudanimation 8s linear infinite;
  -moz-animation: cloudanimation 8s linear infinite;
  -ms-animation: cloudanimation 8s linear infinite;
  animation: cloudanimation 8s linear infinite;
}
#error-page.error-with-illustration #error-content #illustration #oak {
  background-image: url(/CDN/Content/Images/errors/RestoringTenant/oak.png);
  background-repeat: no-repeat;
  background-size: 278px auto;
  display: inline-block;
  position: relative;
  top: 80px;
  width: 288px;
  height: 278px;
  -webkit-animation: oakanimation 6s ease infinite;
  -moz-animation: oakanimation 6s ease infinite;
  -ms-animation: oakanimation 6s ease infinite;
  animation: oakanimation 6s ease infinite;
}
#error-page.error-with-illustration #error-content #illustration #foreground {
  background-image: url(/CDN/Content/Images/errors/RestoringTenant/foreground-clouds.png);
  background-repeat: repeat-y;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  -webkit-animation: cloudanimation 8s linear infinite;
  -moz-animation: cloudanimation 8s linear infinite;
  -ms-animation: cloudanimation 8s linear infinite;
  animation: cloudanimation 8s linear infinite;
}

@media (max-width: 768px) {
  #error {
    padding: 40px 0 0 0;
  }
  #error .image.server-unplugged {
    width: 100%;
    background-size: auto;
    height: 200px;
  }
  #error .image.struggling-man {
    background-size: 350px;
    height: 150px;
    width: 100%;
  }
  #message {
    background: #fff;
    padding: 50px 0;
    position: relative;
    margin-top: -30px;
  }
  #message.smaller {
    padding: 50px 0;
  }
  #message .message h1 {
    font-size: 30px !important;
  }
  #message .message p {
    font-size: 18px !important;
  }
}
.o-error-page {
  height: calc(100vh - 110px);
}
.o-error-page__container {
  position: absolute;
  left: 0;
  top: 80px;
  bottom: 0;
  right: 0;
  overflow-x: hidden;
  overflow-y: auto;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}
.o-error-page--no-header {
  top: 0;
}
.o-error-page__body {
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  -webkit-align-self: center;
  -moz-align-self: center;
  -ms-align-self: center;
  align-self: center;
}

.c-error-message {
  font-size: 26px;
  max-width: 768px;
}
.c-error-message--color-dark {
  color: #333;
}
.c-error-message__title {
  font-size: 2.308em;
  font-weight: 800;
  line-height: 1.2em;
  margin-bottom: 0.333em;
}
.c-error-message__body {
  font-size: 1em;
  line-height: 1.538em;
  /*margin-bottom: 1.615em; //42px*/
  font-weight: 400;
}
.c-error-message__body p {
  font-size: 1em;
  line-height: 1.4em;
}
.c-error-message__body p:last-child {
  margin-bottom: 0;
}
.c-error-message__ref {
  font-weight: 300;
  font-size: 18px;
  margin-bottom: 1.111em;
}
.c-error-message__navigate-button {
  margin-top: 1.615em;
}
@media (max-width: 767px) {
  .c-error-message\@xs {
    font-size: 20px;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .c-error-message\@sm {
    font-size: 24px;
  }
}

.c-background {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.c-background--overlay {
  opacity: 0.85;
}
